@skeletonlabs/skeleton 1.9.0 → 1.10.0-dev.9d07e49d
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/components/AppRail/AppRail.svelte +14 -3
- package/dist/components/AppRail/AppRail.svelte.d.ts +5 -3
- package/dist/components/AppRail/AppRailAnchor.svelte +4 -3
- package/dist/components/AppRail/AppRailAnchor.svelte.d.ts +1 -0
- package/dist/components/AppRail/AppRailTile.svelte +5 -3
- package/dist/components/AppRail/AppRailTile.svelte.d.ts +2 -0
- package/dist/components/Autocomplete/Autocomplete.svelte +10 -15
- package/dist/components/ListBox/ListBox.svelte +6 -0
- package/dist/components/ListBox/ListBox.svelte.d.ts +6 -0
- package/dist/components/ListBox/ListBoxItem.svelte +15 -3
- package/dist/components/ListBox/ListBoxItem.svelte.d.ts +3 -0
- package/dist/components/Paginator/Paginator.svelte +8 -2
- package/dist/components/Ratings/Ratings.svelte +25 -15
- package/dist/components/TreeView/TreeView.svelte +31 -0
- package/dist/components/TreeView/TreeView.svelte.d.ts +43 -0
- package/dist/components/TreeView/TreeViewItem.svelte +76 -0
- package/dist/components/TreeView/TreeViewItem.svelte.d.ts +48 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/styles/elements/logo-clouds.css +1 -1
- package/dist/tailwind/generated/intellisense-classes.cjs +1 -1
- package/dist/tailwind/generated/intellisense-classes.d.cts +5 -1
- package/dist/utilities/Modal/Modal.svelte +5 -5
- package/dist/utilities/Popup/popup.js +4 -1
- package/package.json +1 -1
|
@@ -1005,7 +1005,11 @@ declare const _exports: {
|
|
|
1005
1005
|
borderRadius: string;
|
|
1006
1006
|
};
|
|
1007
1007
|
".logo-item": {
|
|
1008
|
-
|
|
1008
|
+
flex: string;
|
|
1009
|
+
textAlign: string;
|
|
1010
|
+
"--tw-shadow": string;
|
|
1011
|
+
"--tw-shadow-colored": string;
|
|
1012
|
+
boxShadow: string;
|
|
1009
1013
|
display: string;
|
|
1010
1014
|
alignItems: string;
|
|
1011
1015
|
justifyContent: string;
|
|
@@ -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
|
>
|
|
@@ -108,6 +108,8 @@ export function popup(triggerNode, args) {
|
|
|
108
108
|
elemPopup.style.display = 'block';
|
|
109
109
|
elemPopup.style.opacity = '1';
|
|
110
110
|
elemPopup.style.pointerEvents = 'auto';
|
|
111
|
+
// enable popup interactions
|
|
112
|
+
elemPopup.removeAttribute('inert');
|
|
111
113
|
// Trigger Floating UI autoUpdate (open only)
|
|
112
114
|
// https://floating-ui.com/docs/autoUpdate
|
|
113
115
|
popupState.autoUpdateCleanup = autoUpdate(triggerNode, elemPopup, render);
|
|
@@ -127,7 +129,8 @@ export function popup(triggerNode, args) {
|
|
|
127
129
|
args.state({ state: popupState.open });
|
|
128
130
|
// Update the DOM
|
|
129
131
|
elemPopup.style.opacity = '0';
|
|
130
|
-
|
|
132
|
+
// disable popup interactions
|
|
133
|
+
elemPopup.setAttribute('inert', '');
|
|
131
134
|
// Cleanup Floating UI autoUpdate (close only)
|
|
132
135
|
if (popupState.autoUpdateCleanup)
|
|
133
136
|
popupState.autoUpdateCleanup();
|