mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
Removed white space
This commit is contained in:
parent
8f27c983a5
commit
c296ef271c
1 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@
|
||||||
export let pageText = page => `page ${page}`;
|
export let pageText = page => `page ${page}`;
|
||||||
export let style = undefined;
|
export let style = undefined;
|
||||||
export let totalItems = 0;
|
export let totalItems = 0;
|
||||||
|
|
||||||
import CaretLeft24 from 'carbon-icons-svelte/lib/CaretLeft24';
|
import CaretLeft24 from 'carbon-icons-svelte/lib/CaretLeft24';
|
||||||
import CaretRight24 from 'carbon-icons-svelte/lib/CaretRight24';
|
import CaretRight24 from 'carbon-icons-svelte/lib/CaretRight24';
|
||||||
import { cx, fillArray } from '../../lib';
|
import { cx, fillArray } from '../../lib';
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
class={cx('--select__page-number')}
|
class={cx('--select__page-number')}
|
||||||
labelText={`Page number, of ${totalPages} pages`}
|
labelText={`Page number, of ${totalPages} pages`}
|
||||||
inline
|
inline
|
||||||
hideLabel
|
hideLabel
|
||||||
bind:selected={page}>
|
bind:selected={page}>
|
||||||
{#each selectItems as size, i (size)}
|
{#each selectItems as size, i (size)}
|
||||||
<SelectItem value={size + 1} text={(size + 1).toString()} />
|
<SelectItem value={size + 1} text={(size + 1).toString()} />
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
type="button"
|
type="button"
|
||||||
class={cx('--pagination__button', '--pagination__button--backward', backButtonDisabled && '--pagination__button--no-index')}
|
class={cx('--pagination__button', '--pagination__button--backward', backButtonDisabled && '--pagination__button--no-index')}
|
||||||
on:click|capture={() => {
|
on:click|capture={() => {
|
||||||
page--;
|
page--;
|
||||||
}}
|
}}
|
||||||
aria-label={backwardText}
|
aria-label={backwardText}
|
||||||
disabled={backButtonDisabled}>
|
disabled={backButtonDisabled}>
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
class={cx('--pagination__button', '--pagination__button--forward', forwardButtonDisabled && '--pagination__button--no-index')}
|
class={cx('--pagination__button', '--pagination__button--forward', forwardButtonDisabled && '--pagination__button--no-index')}
|
||||||
aria-label={forwardText}
|
aria-label={forwardText}
|
||||||
on:click|capture={() => {
|
on:click|capture={() => {
|
||||||
page++;
|
page++;
|
||||||
}}
|
}}
|
||||||
disabled={forwardButtonDisabled}>
|
disabled={forwardButtonDisabled}>
|
||||||
<CaretRight24 />
|
<CaretRight24 />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue