@skeletonlabs/skeleton 1.10.0-dev.9d07e49d → 1.10.0-dev.c362bb81
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.
|
@@ -19,6 +19,7 @@ export let buttonTextPrevious = leftArrow;
|
|
|
19
19
|
export let buttonTextNext = rightArrow;
|
|
20
20
|
export let buttonTextFirst = leftAngles;
|
|
21
21
|
export let buttonTextLast = rightAngles;
|
|
22
|
+
export let separatorText = "of";
|
|
22
23
|
export let labelFirst = "First page";
|
|
23
24
|
export let labelPrevious = "Previous page";
|
|
24
25
|
export let labelNext = "Next page";
|
|
@@ -144,7 +145,7 @@ $:
|
|
|
144
145
|
<!-- Details -->
|
|
145
146
|
<button type="button" class="{buttonClasses} pointer-events-none !text-sm">
|
|
146
147
|
{settings.offset * settings.limit + 1}-{Math.min(settings.offset * settings.limit + settings.limit, settings.size)} <span
|
|
147
|
-
class="opacity-50">
|
|
148
|
+
class="opacity-50">{separatorText} {settings.size}</span
|
|
148
149
|
>
|
|
149
150
|
</button>
|
|
150
151
|
{:else}
|
|
@@ -39,6 +39,8 @@ declare const __propDef: {
|
|
|
39
39
|
buttonTextFirst?: string | undefined;
|
|
40
40
|
/** Set the label for the Last button.*/
|
|
41
41
|
buttonTextLast?: string | undefined;
|
|
42
|
+
/** Set the label for the pages separator.*/
|
|
43
|
+
separatorText?: string | undefined;
|
|
42
44
|
/** Provide the ARIA label for the First page button.*/
|
|
43
45
|
labelFirst?: string | undefined;
|
|
44
46
|
/** Provide the ARIA label for the Previous page button.*/
|