@sentropic/design-system-svelte 0.34.51 → 0.34.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CopyButton.svelte +9 -3
- package/dist/CopyButton.svelte.d.ts +1 -0
- package/dist/CopyButton.svelte.d.ts.map +1 -1
- package/dist/Dropdown.svelte +7 -2
- package/dist/Dropdown.svelte.d.ts +1 -0
- package/dist/Dropdown.svelte.d.ts.map +1 -1
- package/dist/MultiSelect.svelte +20 -11
- package/dist/MultiSelect.svelte.d.ts +1 -0
- package/dist/MultiSelect.svelte.d.ts.map +1 -1
- package/dist/NavItem.svelte +6 -6
- package/dist/PaginationNav.svelte +10 -4
- package/dist/PaginationNav.svelte.d.ts +1 -0
- package/dist/PaginationNav.svelte.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/CopyButton.svelte
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
type CopyButtonProps = Omit<HTMLButtonAttributes, "class" | "type"> & {
|
|
6
6
|
value: string;
|
|
7
|
+
locale?: string;
|
|
7
8
|
label?: string;
|
|
8
9
|
copiedLabel?: string;
|
|
9
10
|
feedbackTimeoutMs?: number;
|
|
@@ -15,8 +16,9 @@
|
|
|
15
16
|
|
|
16
17
|
let {
|
|
17
18
|
value,
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
locale = "fr-FR",
|
|
20
|
+
label,
|
|
21
|
+
copiedLabel,
|
|
20
22
|
feedbackTimeoutMs = 1500,
|
|
21
23
|
size = "md",
|
|
22
24
|
onCopied,
|
|
@@ -26,6 +28,10 @@
|
|
|
26
28
|
...rest
|
|
27
29
|
}: CopyButtonProps = $props();
|
|
28
30
|
|
|
31
|
+
const isFr = $derived(locale.toLowerCase().startsWith("fr"));
|
|
32
|
+
const resolvedLabel = $derived(label ?? (isFr ? "Copier" : "Copy"));
|
|
33
|
+
const resolvedCopiedLabel = $derived(copiedLabel ?? (isFr ? "Copié" : "Copied"));
|
|
34
|
+
|
|
29
35
|
let copied = $state(false);
|
|
30
36
|
let timeoutId: ReturnType<typeof setTimeout> | undefined;
|
|
31
37
|
|
|
@@ -65,7 +71,7 @@
|
|
|
65
71
|
<Copy size={14} strokeWidth={2} aria-hidden="true" />
|
|
66
72
|
{/if}
|
|
67
73
|
</span>
|
|
68
|
-
<span class="st-copyButton__label">{copied ?
|
|
74
|
+
<span class="st-copyButton__label">{copied ? resolvedCopiedLabel : resolvedLabel}</span>
|
|
69
75
|
</button>
|
|
70
76
|
|
|
71
77
|
<style>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.svelte.d.ts","sourceRoot":"","sources":["../src/lib/CopyButton.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAI1D,KAAK,eAAe,GAAG,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,MAAM,CAAC,GAAG;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;
|
|
1
|
+
{"version":3,"file":"CopyButton.svelte.d.ts","sourceRoot":"","sources":["../src/lib/CopyButton.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAI1D,KAAK,eAAe,GAAG,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,MAAM,CAAC,GAAG;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AA+DJ,QAAA,MAAM,UAAU,qDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
|
package/dist/Dropdown.svelte
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
label: string;
|
|
13
13
|
options: DropdownOption[];
|
|
14
14
|
value?: string;
|
|
15
|
+
locale?: string;
|
|
15
16
|
placeholder?: string;
|
|
16
17
|
open?: boolean;
|
|
17
18
|
class?: string;
|
|
@@ -22,13 +23,17 @@
|
|
|
22
23
|
label,
|
|
23
24
|
options,
|
|
24
25
|
value,
|
|
25
|
-
|
|
26
|
+
locale = "fr-FR",
|
|
27
|
+
placeholder,
|
|
26
28
|
open = false,
|
|
27
29
|
class: className,
|
|
28
30
|
onselect,
|
|
29
31
|
...rest
|
|
30
32
|
}: DropdownProps = $props();
|
|
31
33
|
|
|
34
|
+
const isFr = $derived(locale.toLowerCase().startsWith("fr"));
|
|
35
|
+
const resolvedPlaceholder = $derived(placeholder ?? (isFr ? "Sélectionner" : "Select"));
|
|
36
|
+
|
|
32
37
|
let host: HTMLDivElement | undefined = $state();
|
|
33
38
|
let buttonEl: HTMLButtonElement | undefined = $state();
|
|
34
39
|
let expanded = $state(false);
|
|
@@ -38,7 +43,7 @@
|
|
|
38
43
|
let listPos = $state({ top: 0, left: 0, width: 0 });
|
|
39
44
|
|
|
40
45
|
const classes = () => ["st-dropdown", className].filter(Boolean).join(" ");
|
|
41
|
-
const selectedLabel = () => options.find((option) => option.value === currentValue)?.label ??
|
|
46
|
+
const selectedLabel = () => options.find((option) => option.value === currentValue)?.label ?? resolvedPlaceholder;
|
|
42
47
|
|
|
43
48
|
function updateListPos() {
|
|
44
49
|
if (!buttonEl) return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.svelte.d.ts","sourceRoot":"","sources":["../src/lib/Dropdown.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGpD,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;
|
|
1
|
+
{"version":3,"file":"Dropdown.svelte.d.ts","sourceRoot":"","sources":["../src/lib/Dropdown.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGpD,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAgHJ,QAAA,MAAM,QAAQ,mDAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
|
package/dist/MultiSelect.svelte
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
size?: "sm" | "md" | "lg";
|
|
19
19
|
options: MultiSelectOption[];
|
|
20
20
|
selected?: string[];
|
|
21
|
+
locale?: string;
|
|
21
22
|
placeholder?: string;
|
|
22
23
|
searchPlaceholder?: string;
|
|
23
24
|
noResultsLabel?: string;
|
|
@@ -37,11 +38,12 @@
|
|
|
37
38
|
size = "md",
|
|
38
39
|
options,
|
|
39
40
|
selected = $bindable([]),
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
locale = "fr-FR",
|
|
42
|
+
placeholder,
|
|
43
|
+
searchPlaceholder,
|
|
44
|
+
noResultsLabel,
|
|
45
|
+
toggleLabel,
|
|
46
|
+
removeLabel,
|
|
45
47
|
listLabel,
|
|
46
48
|
disabled = false,
|
|
47
49
|
class: className,
|
|
@@ -49,6 +51,13 @@
|
|
|
49
51
|
...rest
|
|
50
52
|
}: MultiSelectProps = $props();
|
|
51
53
|
|
|
54
|
+
const isFr = $derived(locale.toLowerCase().startsWith("fr"));
|
|
55
|
+
const resolvedPlaceholder = $derived(placeholder ?? (isFr ? "Sélectionner des éléments" : "Select items"));
|
|
56
|
+
const resolvedSearchPlaceholder = $derived(searchPlaceholder ?? (isFr ? "Filtrer" : "Filter"));
|
|
57
|
+
const resolvedNoResultsLabel = $derived(noResultsLabel ?? (isFr ? "Aucun résultat" : "No results"));
|
|
58
|
+
const resolvedToggleLabel = $derived(toggleLabel ?? (isFr ? "Afficher les options" : "Toggle options"));
|
|
59
|
+
const resolvedRemoveLabel = $derived(removeLabel ?? (isFr ? "Supprimer" : "Remove"));
|
|
60
|
+
|
|
52
61
|
let expanded = $state(false);
|
|
53
62
|
let query = $state("");
|
|
54
63
|
|
|
@@ -112,7 +121,7 @@
|
|
|
112
121
|
<button
|
|
113
122
|
type="button"
|
|
114
123
|
class="st-multiSelect__tagRemove"
|
|
115
|
-
aria-label={`${
|
|
124
|
+
aria-label={`${resolvedRemoveLabel} ${option.label}`}
|
|
116
125
|
{disabled}
|
|
117
126
|
onclick={() => removeOption(option.value)}
|
|
118
127
|
>
|
|
@@ -132,7 +141,7 @@
|
|
|
132
141
|
onclick={toggleOpen}
|
|
133
142
|
>
|
|
134
143
|
{#if selectedOptions.length === 0}
|
|
135
|
-
<span class="st-multiSelect__placeholder">{
|
|
144
|
+
<span class="st-multiSelect__placeholder">{resolvedPlaceholder}</span>
|
|
136
145
|
{:else}
|
|
137
146
|
<span class="st-multiSelect__count">{selectedOptions.length} selected</span>
|
|
138
147
|
{/if}
|
|
@@ -143,7 +152,7 @@
|
|
|
143
152
|
strokeWidth={2.25}
|
|
144
153
|
/>
|
|
145
154
|
</span>
|
|
146
|
-
<span class="st-visually-hidden">{
|
|
155
|
+
<span class="st-visually-hidden">{resolvedToggleLabel}</span>
|
|
147
156
|
</button>
|
|
148
157
|
</span>
|
|
149
158
|
{#if expanded}
|
|
@@ -151,13 +160,13 @@
|
|
|
151
160
|
<input
|
|
152
161
|
type="search"
|
|
153
162
|
class="st-multiSelect__search"
|
|
154
|
-
placeholder={
|
|
163
|
+
placeholder={resolvedSearchPlaceholder}
|
|
155
164
|
bind:value={query}
|
|
156
|
-
aria-label={
|
|
165
|
+
aria-label={resolvedSearchPlaceholder}
|
|
157
166
|
/>
|
|
158
167
|
<div class="st-multiSelect__list" role="listbox" aria-label={listLabel ?? label ?? "Options"} aria-multiselectable="true">
|
|
159
168
|
{#if filtered.length === 0}
|
|
160
|
-
<div class="st-multiSelect__empty">{
|
|
169
|
+
<div class="st-multiSelect__empty">{resolvedNoResultsLabel}</div>
|
|
161
170
|
{:else}
|
|
162
171
|
{#each filtered as option (option.value)}
|
|
163
172
|
{@const isSelected = selected.includes(option.value)}
|
|
@@ -12,6 +12,7 @@ type MultiSelectProps = Omit<HTMLAttributes<HTMLDivElement>, "class" | "onchange
|
|
|
12
12
|
size?: "sm" | "md" | "lg";
|
|
13
13
|
options: MultiSelectOption[];
|
|
14
14
|
selected?: string[];
|
|
15
|
+
locale?: string;
|
|
15
16
|
placeholder?: string;
|
|
16
17
|
searchPlaceholder?: string;
|
|
17
18
|
noResultsLabel?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelect.svelte.d.ts","sourceRoot":"","sources":["../src/lib/MultiSelect.svelte.ts"],"names":[],"mappings":"AAGE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGpD,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACzC,CAAC;
|
|
1
|
+
{"version":3,"file":"MultiSelect.svelte.d.ts","sourceRoot":"","sources":["../src/lib/MultiSelect.svelte.ts"],"names":[],"mappings":"AAGE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGpD,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACzC,CAAC;AA6IJ,QAAA,MAAM,WAAW,8DAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
package/dist/NavItem.svelte
CHANGED
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
selected = $bindable(false),
|
|
88
88
|
disabled = false,
|
|
89
89
|
href,
|
|
90
|
-
leading,
|
|
91
|
-
trailing,
|
|
90
|
+
leading: leadingProp,
|
|
91
|
+
trailing: trailingProp,
|
|
92
92
|
divider = false,
|
|
93
93
|
class: className
|
|
94
94
|
}: NavItemProps = $props();
|
|
@@ -150,8 +150,8 @@
|
|
|
150
150
|
caption={caption ? captionSnippet : undefined}
|
|
151
151
|
>
|
|
152
152
|
{#snippet leading()}
|
|
153
|
-
{#if
|
|
154
|
-
{@render
|
|
153
|
+
{#if leadingProp}
|
|
154
|
+
{@render leadingProp()}
|
|
155
155
|
{:else if swatch}
|
|
156
156
|
<!-- Tête : ColorSwatch pour une couleur arbitraire, sinon StatusDot pour
|
|
157
157
|
un ton sémantique. Décoratif → aria géré par la primitive. -->
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
{/snippet}
|
|
169
169
|
|
|
170
170
|
{#snippet trailing()}
|
|
171
|
-
{#if
|
|
172
|
-
{@render
|
|
171
|
+
{#if trailingProp}
|
|
172
|
+
{@render trailingProp()}
|
|
173
173
|
{:else if count != null}
|
|
174
174
|
<!-- Queue : bulle de compte. Badge shape="circle" size="sm" (tabular-nums),
|
|
175
175
|
ton sémantique aligné sur le `status` de la rangée. aria-label explicite. -->
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
page: number;
|
|
7
7
|
pageCount: number;
|
|
8
8
|
siblings?: number;
|
|
9
|
+
locale?: string;
|
|
9
10
|
label?: string;
|
|
10
11
|
previousLabel?: string;
|
|
11
12
|
nextLabel?: string;
|
|
@@ -17,14 +18,19 @@
|
|
|
17
18
|
page = $bindable(1),
|
|
18
19
|
pageCount,
|
|
19
20
|
siblings = 1,
|
|
21
|
+
locale = "fr-FR",
|
|
20
22
|
label = "Pagination",
|
|
21
|
-
previousLabel
|
|
22
|
-
nextLabel
|
|
23
|
+
previousLabel,
|
|
24
|
+
nextLabel,
|
|
23
25
|
class: className,
|
|
24
26
|
onPageChange,
|
|
25
27
|
...rest
|
|
26
28
|
}: PaginationNavProps = $props();
|
|
27
29
|
|
|
30
|
+
const isFr = $derived(locale.toLowerCase().startsWith("fr"));
|
|
31
|
+
const resolvedPreviousLabel = $derived(previousLabel ?? (isFr ? "Page précédente" : "Previous page"));
|
|
32
|
+
const resolvedNextLabel = $derived(nextLabel ?? (isFr ? "Page suivante" : "Next page"));
|
|
33
|
+
|
|
28
34
|
type Slot = number | "ellipsis-start" | "ellipsis-end";
|
|
29
35
|
|
|
30
36
|
const classes = () => ["st-paginationNav", className].filter(Boolean).join(" ");
|
|
@@ -86,7 +92,7 @@
|
|
|
86
92
|
<button
|
|
87
93
|
type="button"
|
|
88
94
|
class="st-paginationNav__nav"
|
|
89
|
-
aria-label={
|
|
95
|
+
aria-label={resolvedPreviousLabel}
|
|
90
96
|
disabled={page <= 1 || pageCount <= 0}
|
|
91
97
|
onclick={() => go(page - 1)}
|
|
92
98
|
>
|
|
@@ -117,7 +123,7 @@
|
|
|
117
123
|
<button
|
|
118
124
|
type="button"
|
|
119
125
|
class="st-paginationNav__nav"
|
|
120
|
-
aria-label={
|
|
126
|
+
aria-label={resolvedNextLabel}
|
|
121
127
|
disabled={page >= pageCount || pageCount <= 0}
|
|
122
128
|
onclick={() => go(page + 1)}
|
|
123
129
|
>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationNav.svelte.d.ts","sourceRoot":"","sources":["../src/lib/PaginationNav.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIpD,KAAK,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,GAAG;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;
|
|
1
|
+
{"version":3,"file":"PaginationNav.svelte.d.ts","sourceRoot":"","sources":["../src/lib/PaginationNav.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIpD,KAAK,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,GAAG;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AA+GJ,QAAA,MAAM,aAAa,4DAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
|