@skeletonlabs/skeleton 1.10.0-dev.b01c9082 → 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)}&nbsp;<span
147
- class="opacity-50">of {settings.size}</span
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.*/
@@ -26,9 +26,9 @@ export let regionBackdrop = "bg-surface-backdrop-token";
26
26
  export let regionHeader = "text-2xl font-bold";
27
27
  export let regionBody = "max-h-[200px] overflow-hidden";
28
28
  export let regionFooter = "flex justify-end space-x-2";
29
- const cBackdrop = "fixed top-0 left-0 right-0 bottom-0";
30
- const cTransitionLayer = "w-full h-full p-4 overflow-y-auto flex justify-center";
31
- const cModal = "block";
29
+ const cBackdrop = "fixed top-0 left-0 right-0 bottom-0 overflow-y-auto";
30
+ const cTransitionLayer = "w-full h-fit min-h-full p-4 overflow-y-auto flex justify-center";
31
+ const cModal = "block overflow-y-auto";
32
32
  const cModalImage = "w-full h-auto";
33
33
  let promptValue;
34
34
  const buttonTextDefaults = {
@@ -142,8 +142,8 @@ $:
142
142
  data-testid="modal-backdrop"
143
143
  on:mousedown={onBackdropInteractionBegin}
144
144
  on:mouseup={onBackdropInteractionEnd}
145
- on:touchstart
146
- on:touchend
145
+ on:touchstart|passive
146
+ on:touchend|passive
147
147
  transition:fade|global={{ duration }}
148
148
  use:focusTrap={true}
149
149
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton",
3
- "version": "1.10.0-dev.b01c9082",
3
+ "version": "1.10.0-dev.c362bb81",
4
4
  "description": "A SvelteKit component library.",
5
5
  "author": "endigo9740 <chris@skeletonlabs.dev>",
6
6
  "repository": {