@skeletonlabs/skeleton 1.6.2 → 1.7.0

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.
Files changed (49) hide show
  1. package/dist/components/AppRail/AppRailAnchor.svelte +5 -1
  2. package/dist/components/AppRail/AppRailAnchor.svelte.d.ts +4 -0
  3. package/dist/components/AppRail/AppRailTile.svelte +2 -1
  4. package/dist/components/AppRail/AppRailTile.svelte.d.ts +6 -0
  5. package/dist/components/Autocomplete/Autocomplete.svelte +1 -1
  6. package/dist/components/Autocomplete/Autocomplete.svelte.d.ts +1 -1
  7. package/dist/components/Avatar/Avatar.svelte.d.ts +2 -1
  8. package/dist/components/ConicGradient/ConicGradient.svelte +3 -2
  9. package/dist/components/ConicGradient/ConicGradient.svelte.d.ts +3 -1
  10. package/dist/components/ListBox/ListBoxItem.svelte +18 -1
  11. package/dist/components/Paginator/Paginator.svelte +139 -45
  12. package/dist/components/Paginator/Paginator.svelte.d.ts +22 -10
  13. package/dist/components/Paginator/icons.d.ts +4 -0
  14. package/dist/components/Paginator/icons.js +4 -0
  15. package/dist/components/SlideToggle/SlideToggle.svelte +2 -1
  16. package/dist/components/SlideToggle/SlideToggle.svelte.d.ts +3 -1
  17. package/dist/components/Stepper/Step.svelte +13 -3
  18. package/dist/components/Stepper/Step.svelte.d.ts +4 -2
  19. package/dist/components/Stepper/Stepper.svelte.d.ts +5 -4
  20. package/dist/components/Stepper/types.d.ts +9 -0
  21. package/dist/components/Stepper/types.js +1 -0
  22. package/dist/components/Table/Table.svelte +1 -1
  23. package/dist/components/Table/Table.svelte.d.ts +1 -1
  24. package/dist/components/TableOfContents/TableOfContents.svelte +4 -3
  25. package/dist/index.d.ts +21 -21
  26. package/dist/index.js +13 -13
  27. package/dist/styles/all.css +1 -1
  28. package/dist/styles/skeleton.css +1 -1
  29. package/dist/tailwind/generated/intellisense-classes.cjs +1 -1
  30. package/dist/tailwind/generated/intellisense-classes.d.cts +73 -0
  31. package/dist/tailwind/intellisense.cjs +1 -1
  32. package/dist/tailwind/tokens/backgrounds.cjs +1 -0
  33. package/dist/utilities/CodeBlock/CodeBlock.svelte +2 -2
  34. package/dist/utilities/DataTable/DataTable.d.ts +3 -3
  35. package/dist/utilities/DataTable/DataTable.js +2 -2
  36. package/dist/utilities/DataTable/types.d.ts +1 -1
  37. package/dist/utilities/Drawer/Drawer.svelte +11 -7
  38. package/dist/utilities/Drawer/Drawer.svelte.d.ts +4 -0
  39. package/dist/utilities/Drawer/stores.d.ts +1 -1
  40. package/dist/utilities/LightSwitch/LightSwitch.svelte +3 -2
  41. package/dist/utilities/LightSwitch/lightswitch.js +1 -1
  42. package/dist/utilities/Modal/Modal.svelte +17 -5
  43. package/dist/utilities/Modal/Modal.svelte.d.ts +3 -1
  44. package/dist/utilities/Modal/stores.d.ts +1 -1
  45. package/dist/utilities/Popup/popup.d.ts +1 -1
  46. package/dist/utilities/Popup/popup.js +8 -3
  47. package/dist/utilities/Toast/Toast.svelte +2 -2
  48. package/dist/utilities/Toast/stores.d.ts +1 -1
  49. package/package.json +16 -13
package/dist/index.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- export type { AutocompleteOption } from './components/Autocomplete/types';
2
- export type { ConicStop } from './components/ConicGradient/types';
3
- export type { DrawerSettings } from './utilities/Drawer/types';
4
- export type { ModalSettings, ModalComponent } from './utilities/Modal/types';
5
- export type { ToastSettings } from './utilities/Toast/types';
6
- export type { TableSource } from './components/Table/types';
7
- export type { PaginationSettings } from './components/Paginator/types';
8
- export type { PopupSettings } from './utilities/Popup/types';
1
+ export type { AutocompleteOption } from './components/Autocomplete/types.js';
2
+ export type { ConicStop } from './components/ConicGradient/types.js';
3
+ export type { DrawerSettings } from './utilities/Drawer/types.js';
4
+ export type { ModalSettings, ModalComponent } from './utilities/Modal/types.js';
5
+ export type { ToastSettings } from './utilities/Toast/types.js';
6
+ export type { TableSource } from './components/Table/types.js';
7
+ export type { PaginationSettings } from './components/Paginator/types.js';
8
+ export type { PopupSettings } from './utilities/Popup/types.js';
9
9
  export type CssClasses = string;
10
- export { storeHighlightJs } from './utilities/CodeBlock/stores';
11
- export { storePopup } from './utilities/Popup/popup';
12
- export { drawerStore } from './utilities/Drawer/stores';
13
- export { modalStore } from './utilities/Modal/stores';
14
- export { toastStore } from './utilities/Toast/stores';
15
- export { type DataTableModel, type DataTableOptions, createDataTableStore, dataTableHandler, tableInteraction, tableA11y } from './utilities/DataTable/DataTable';
16
- export { modeOsPrefers, modeUserPrefers, modeCurrent, getModeOsPrefers, getModeUserPrefers, getModeAutoPrefers, setModeUserPrefers, setModeCurrent, setInitialClassState, autoModeWatcher } from './utilities/LightSwitch/lightswitch';
17
- export { localStorageStore } from './utilities/LocalStorageStore/LocalStorageStore';
18
- export { tableSourceMapper, tableSourceValues, tableMapperValues } from './components/Table/utils';
19
- export { clipboard } from './actions/Clipboard/clipboard';
20
- export { filter } from './actions/Filters/filter';
21
- export { focusTrap } from './actions/FocusTrap/focusTrap';
22
- export { popup } from './utilities/Popup/popup';
10
+ export { storeHighlightJs } from './utilities/CodeBlock/stores.js';
11
+ export { storePopup } from './utilities/Popup/popup.js';
12
+ export { drawerStore } from './utilities/Drawer/stores.js';
13
+ export { modalStore } from './utilities/Modal/stores.js';
14
+ export { toastStore } from './utilities/Toast/stores.js';
15
+ export { type DataTableModel, type DataTableOptions, createDataTableStore, dataTableHandler, tableInteraction, tableA11y } from './utilities/DataTable/DataTable.js';
16
+ export { modeOsPrefers, modeUserPrefers, modeCurrent, getModeOsPrefers, getModeUserPrefers, getModeAutoPrefers, setModeUserPrefers, setModeCurrent, setInitialClassState, autoModeWatcher } from './utilities/LightSwitch/lightswitch.js';
17
+ export { localStorageStore } from './utilities/LocalStorageStore/LocalStorageStore.js';
18
+ export { tableSourceMapper, tableSourceValues, tableMapperValues } from './components/Table/utils.js';
19
+ export { clipboard } from './actions/Clipboard/clipboard.js';
20
+ export { filter } from './actions/Filters/filter.js';
21
+ export { focusTrap } from './actions/FocusTrap/focusTrap.js';
22
+ export { popup } from './utilities/Popup/popup.js';
23
23
  export { default as Accordion } from './components/Accordion/Accordion.svelte';
24
24
  export { default as AccordionItem } from './components/Accordion/AccordionItem.svelte';
25
25
  export { default as AppBar } from './components/AppBar/AppBar.svelte';
package/dist/index.js CHANGED
@@ -1,33 +1,33 @@
1
1
  // This file defines the short path imports for the package (ex: @skeletonlabs/skeleton/*)
2
2
  // Stores ---
3
- export { storeHighlightJs } from './utilities/CodeBlock/stores';
4
- export { storePopup } from './utilities/Popup/popup';
5
- export { drawerStore } from './utilities/Drawer/stores';
6
- export { modalStore } from './utilities/Modal/stores';
7
- export { toastStore } from './utilities/Toast/stores';
3
+ export { storeHighlightJs } from './utilities/CodeBlock/stores.js';
4
+ export { storePopup } from './utilities/Popup/popup.js';
5
+ export { drawerStore } from './utilities/Drawer/stores.js';
6
+ export { modalStore } from './utilities/Modal/stores.js';
7
+ export { toastStore } from './utilities/Toast/stores.js';
8
8
  // Utilities ---
9
9
  // Data Table
10
10
  export {
11
11
  // Utilities
12
12
  createDataTableStore, dataTableHandler,
13
13
  // Svelte Actions
14
- tableInteraction, tableA11y } from './utilities/DataTable/DataTable';
14
+ tableInteraction, tableA11y } from './utilities/DataTable/DataTable.js';
15
15
  // Lightswitch
16
16
  export {
17
17
  // Stores
18
18
  modeOsPrefers, modeUserPrefers, modeCurrent,
19
19
  // Methods
20
- getModeOsPrefers, getModeUserPrefers, getModeAutoPrefers, setModeUserPrefers, setModeCurrent, setInitialClassState, autoModeWatcher } from './utilities/LightSwitch/lightswitch';
20
+ getModeOsPrefers, getModeUserPrefers, getModeAutoPrefers, setModeUserPrefers, setModeCurrent, setInitialClassState, autoModeWatcher } from './utilities/LightSwitch/lightswitch.js';
21
21
  // Local Storage Store
22
- export { localStorageStore } from './utilities/LocalStorageStore/LocalStorageStore';
22
+ export { localStorageStore } from './utilities/LocalStorageStore/LocalStorageStore.js';
23
23
  // Component Utilities
24
- export { tableSourceMapper, tableSourceValues, tableMapperValues } from './components/Table/utils';
24
+ export { tableSourceMapper, tableSourceValues, tableMapperValues } from './components/Table/utils.js';
25
25
  // Svelte Actions ---
26
- export { clipboard } from './actions/Clipboard/clipboard';
27
- export { filter } from './actions/Filters/filter';
28
- export { focusTrap } from './actions/FocusTrap/focusTrap';
26
+ export { clipboard } from './actions/Clipboard/clipboard.js';
27
+ export { filter } from './actions/Filters/filter.js';
28
+ export { focusTrap } from './actions/FocusTrap/focusTrap.js';
29
29
  // Utility Actions
30
- export { popup } from './utilities/Popup/popup';
30
+ export { popup } from './utilities/Popup/popup.js';
31
31
  // Svelte Components ---
32
32
  export { default as Accordion } from './components/Accordion/Accordion.svelte';
33
33
  export { default as AccordionItem } from './components/Accordion/AccordionItem.svelte';
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* Typography Settings */
21
21
  @import 'partials/typography.css';
22
- @import 'partials/typography-prose.css';
22
+ /* DEPRECATED: 'partials/typography-prose.css' must now be imported directly */
23
23
 
24
24
  /* === REQUIRED STYLESHEETS === */
25
25
 
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* Typography Settings */
21
21
  @import 'partials/typography-next.css';
22
- @import 'partials/typography-prose.css';
22
+ /* DEPRECATED: 'partials/typography-prose.css' must now be imported directly */
23
23
 
24
24
  /* === REQUIRED STYLESHEETS === */
25
25
 
@@ -1 +1 @@
1
- module.exports = {".hide-scrollbar::-webkit-scrollbar":{"display":"none"},".hide-scrollbar":{"msOverflowStyle":"none","scrollbarWidth":"none"},".h2":{"fontSize":"1.5rem","lineHeight":"2rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"2.25rem","lineHeight":"2.5rem"}]},".h3":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".anchor":{"--tw-text-opacity":"1","color":"rgb(var(--color-primary-700) / var(--tw-text-opacity))","textDecorationLine":"underline"},".anchor:hover":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".time":{"fontSize":"0.875rem","lineHeight":"1.25rem","--tw-text-opacity":"1","color":"rgb(var(--color-surface-500) / var(--tw-text-opacity))"},".pre":{"overflowX":"auto","whiteSpace":"pre-wrap","backgroundColor":"rgb(23 23 23 / 0.9)","padding":"1rem","fontFamily":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace","fontSize":"1rem","lineHeight":"1.5rem","--tw-text-opacity":"1","color":"rgb(255 255 255 / var(--tw-text-opacity))","borderRadius":"var(--theme-rounded-container)"},".code":{"whiteSpace":"nowrap","fontFamily":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace","fontSize":"0.75rem","lineHeight":"1rem","--tw-text-opacity":"1","color":"rgb(var(--color-primary-700) / var(--tw-text-opacity))","backgroundColor":"rgb(var(--color-primary-500) / 0.3)","borderRadius":"0.25rem","paddingTop":"0.125rem","paddingBottom":"0.125rem","paddingLeft":"0.25rem","paddingRight":"0.25rem"},".\\!legend":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".legend":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".label > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".\\!input":{"width":"100%","transitionProperty":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"200ms","backgroundColor":"rgb(var(--color-surface-200))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))","borderRadius":"var(--theme-rounded-base)"},".input,\n\t.textarea,\n\t.select,\n\t.input-group":{"width":"100%","transitionProperty":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"200ms","backgroundColor":"rgb(var(--color-surface-200))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))"},".dark .\\!input":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".\\!input:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".dark .input,.dark \n\t.textarea,.dark \n\t.select,.dark \n\t.input-group":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".input:hover,\n\t.textarea:hover,\n\t.select:hover,\n\t.input-group:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".input:focus,\n\t.textarea:focus,\n\t.select:focus,\n\t.input-group:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input:focus-within":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".input:focus-within,\n\t.textarea:focus-within,\n\t.select:focus-within,\n\t.input-group:focus-within":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".input,\n\t.input-group":{"borderRadius":"var(--theme-rounded-base)"},".textarea,\n\t.select":{"borderRadius":"var(--theme-rounded-container)"},".select > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".select":{"padding":"0.5rem","paddingRight":"2rem"},".select[size]":{"backgroundImage":"none"},".select optgroup > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".select optgroup":{"fontWeight":700},".select optgroup option":{"marginLeft":"0px","paddingLeft":"0px"},".select optgroup option:first-of-type":{"marginTop":"0.75rem"},".select optgroup option:last-child":{"marginBottom":"0.75rem !important"},".select option":{"cursor":"pointer","paddingLeft":"1rem","paddingRight":"1rem","paddingTop":"0.5rem","paddingBottom":"0.5rem","backgroundColor":"rgb(var(--color-surface-200))","borderRadius":"var(--theme-rounded-base)"},".dark .select option":{"backgroundColor":"rgb(var(--color-surface-700))"},".select option:checked":{"background":"rgb(var(--color-primary-500)) linear-gradient(0deg, rgb(var(--color-primary-500)) 0%, rgb(var(--color-primary-500)) 100%)","color":"rgb(var(--on-primary))"},".checkbox,\n\t.radio":{"height":"1.25rem","width":"1.25rem","cursor":"pointer","borderRadius":"0.25rem","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","backgroundColor":"rgb(var(--color-surface-200))","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))"},".dark .checkbox,.dark \n\t.radio":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".checkbox:hover,\n\t.radio:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".checkbox:focus,\n\t.radio:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)","--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".checkbox:checked,\n\t.radio:checked":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))"},".checkbox:checked:hover,\n\t.radio:checked:hover":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))"},".checkbox:checked:focus,\n\t.radio:checked:focus":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},".radio":{"borderRadius":"var(--theme-rounded-base)"},".\\!input[type='file']":{"padding":"0.25rem"},".input[type='file']":{"padding":"0.25rem"},".\\!input[type='color']":{"height":"2.5rem","width":"2.5rem","cursor":"pointer","overflow":"hidden","borderStyle":"none","borderRadius":"var(--theme-rounded-base)","WebkitAppearance":"none !important"},".input[type='color']":{"height":"2.5rem","width":"2.5rem","cursor":"pointer","overflow":"hidden","borderStyle":"none","borderRadius":"var(--theme-rounded-base)","WebkitAppearance":"none"},".\\!input[type='color']::-webkit-color-swatch-wrapper":{"padding":"0px"},".input[type='color']::-webkit-color-swatch-wrapper":{"padding":"0px"},".\\!input[type='color']::-webkit-color-swatch":{"borderStyle":"none"},".\\!input[type='color']:hover::-webkit-color-swatch":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".input[type='color']::-webkit-color-swatch":{"borderStyle":"none"},".input[type='color']:hover::-webkit-color-swatch":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input[type='color']::-moz-color-swatch":{"borderStyle":"none"},".input[type='color']::-moz-color-swatch":{"borderStyle":"none"},".\\!input:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".\\!input:disabled:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input:disabled,\n\t.textarea:disabled,\n\t.select:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".input:disabled:hover,\n\t.textarea:disabled:hover,\n\t.select:disabled:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".\\!input[readonly]":{"cursor":"not-allowed !important","borderWidth":"0px !important"},".\\!input[readonly]:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input[readonly],\n\t.textarea[readonly],\n\t.select[readonly]":{"cursor":"not-allowed !important","borderWidth":"0px !important"},".input[readonly]:hover,\n\t.textarea[readonly]:hover,\n\t.select[readonly]:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input-error":{"--tw-border-opacity":"1 !important","borderColor":"rgb(var(--color-error-500) / var(--tw-border-opacity)) !important","--tw-bg-opacity":"1 !important","backgroundColor":"rgb(var(--color-error-200) / var(--tw-bg-opacity)) !important","--tw-text-opacity":"1 !important","color":"rgb(var(--color-error-500) / var(--tw-text-opacity)) !important"},".input-error::-moz-placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".input-error:-ms-input-placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".input-error::placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".alert":{"display":"flex","flexDirection":"column","alignItems":"flex-start","padding":"1rem","color":"rgb(var(--color-surface-900))","borderRadius":"var(--theme-rounded-container)","@media (min-width: 1024px)":[{"flexDirection":"row","alignItems":"center"}]},".alert > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(1rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(1rem * var(--tw-space-y-reverse))","@media (min-width: 1024px)":[{"--tw-space-y-reverse":"0","marginTop":"calc(0px * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0px * var(--tw-space-y-reverse))","--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"}]},".dark .alert":{"color":"rgb(var(--color-surface-50))"},".badge":{"display":"inline-flex","alignItems":"center","justifyContent":"center","whiteSpace":"nowrap","fontSize":"0.75rem","lineHeight":"1rem","fontWeight":600,"paddingLeft":"0.5rem","paddingRight":"0.5rem","paddingTop":"0.25rem","paddingBottom":"0.25rem","borderRadius":"var(--theme-rounded-base)"},".badge > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn":{"fontSize":"1rem","lineHeight":"1.5rem","paddingLeft":"1.25rem","paddingRight":"1.25rem","paddingTop":"9px","paddingBottom":"9px","whiteSpace":"nowrap","textAlign":"center","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms","borderRadius":"var(--theme-rounded-base)"},".btn > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn:active":{"--tw-scale-x":"95%","--tw-scale-y":"95%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-brightness":"brightness(.9)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-sm":{"paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"0.375rem","paddingBottom":"0.375rem","fontSize":"0.875rem","lineHeight":"1.25rem"},".btn-icon":{"fontSize":"1rem","lineHeight":"1.5rem","paddingLeft":"1.25rem","paddingRight":"1.25rem","paddingTop":"9px","paddingBottom":"9px","whiteSpace":"nowrap","textAlign":"center","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms","padding":"0px","aspectRatio":"1 / 1","width":"43px","borderRadius":"9999px"},".btn-icon > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn-icon:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-icon:active":{"--tw-scale-x":"95%","--tw-scale-y":"95%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-brightness":"brightness(.9)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-icon-sm":{"aspectRatio":"1 / 1","width":"33px","fontSize":"0.875rem","lineHeight":"1.25rem"},".codeblock pre":{"counterReset":"line"},".codeblock code.lineNumbers > span.line":{"counterIncrement":"line"},".codeblock code.lineNumbers > span.line::before":{"content":"counter(line) ''","opacity":0.5},".chip":{"cursor":"pointer","whiteSpace":"nowrap","paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"0.375rem","paddingBottom":"0.375rem","textAlign":"center","fontSize":"0.75rem","lineHeight":"1rem","borderRadius":"0.25rem","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms"},".chip > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".chip:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".chip-disabled,\n\t.chip:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".chip-disabled:active,\n\t.chip:disabled:active":{"--tw-scale-x":"1","--tw-scale-y":"1","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".list,\n\t.list-dl,\n\t.list-nav ul":{"listStyleType":"none"},".list > :not([hidden]) ~ :not([hidden]),\n\t.list-dl > :not([hidden]) ~ :not([hidden]),\n\t.list-nav ul > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".list li":{"display":"flex","alignItems":"center","borderRadius":"var(--theme-rounded-base)","whiteSpace":"normal","overflowWrap":"break-word"},".list li > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"},".list-nav a,\n\t.list-nav button,\n\t.list-option":{"display":"flex","alignItems":"center","whiteSpace":"nowrap","paddingLeft":"1rem","paddingRight":"1rem","paddingTop":"0.5rem","paddingBottom":"0.5rem","outline":"2px solid transparent","outlineOffset":"2px","cursor":"pointer","borderRadius":"var(--theme-rounded-base)"},".list-nav a > :not([hidden]) ~ :not([hidden]),\n\t.list-nav button > :not([hidden]) ~ :not([hidden]),\n\t.list-option > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"},".list-nav a:hover,\n\t.list-nav button:hover,\n\t.list-option:hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".list-nav a:focus,\n\t.list-nav button:focus,\n\t.list-option:focus":{"backgroundColor":"rgb(var(--color-primary-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-primary-700))"},".dark .list-nav a:focus,.dark \n\t.list-nav button:focus,.dark \n\t.list-option:focus":{"color":"rgb(var(--color-primary-200))"},".placeholder":{"height":"1.25rem","backgroundColor":"rgb(var(--color-surface-300))","borderRadius":"var(--theme-rounded-base)"},".dark .placeholder":{"backgroundColor":"rgb(var(--color-surface-600))"},".table-container":{"width":"100%","overflowX":"auto","borderRadius":"var(--theme-rounded-container)"},".dark .table":{"backgroundColor":"rgb(var(--color-surface-800))"},".table-interactive tbody tr":{"cursor":"pointer"},".table-interactive tbody tr:hover:hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".table-interactive tbody tr:hover:nth-child(even):hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".table-sort-asc::after":{"opacity":0.5,"--tw-content":"'↑' !important","content":"var(--tw-content) !important"},".table-sort-dsc::after":{"opacity":0.5,"--tw-content":"'↓' !important","content":"var(--tw-content) !important"},".table thead":{"borderBottomWidth":"1px","borderColor":"rgb(var(--color-surface-500) / 0.2)","backgroundColor":"rgb(var(--color-surface-200))"},".dark .table thead":{"backgroundColor":"rgb(var(--color-surface-700))"},".table thead tr":{"textAlign":"left","textTransform":"capitalize"},".table thead th":{"padding":"1rem","fontWeight":700},".table tbody tr":{"borderBottomWidth":"1px","borderColor":"rgb(var(--color-surface-500) / 0.2)"},".table tbody tr:nth-child(even)":{"backgroundColor":"rgb(var(--color-surface-500) / 0.05)"},".table tbody td":{"whiteSpace":"nowrap","paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"1rem","paddingBottom":"1rem","verticalAlign":"top","fontSize":"0.875rem","lineHeight":"1.25rem","@media (min-width: 1024px)":[{"whiteSpace":"normal"}]},".table tfoot":{"backgroundColor":"rgb(var(--color-surface-100))"},".dark .table tfoot":{"backgroundColor":"rgb(var(--color-surface-800))"},".table tfoot tr":{"textAlign":"left","textTransform":"capitalize"},".table tfoot th,\n\t.table tfoot td":{"padding":"1rem"},".variant-filled":{"backgroundColor":"rgb(var(--color-surface-900))","color":"rgb(var(--color-surface-50))"},".dark .variant-filled":{"backgroundColor":"rgb(var(--color-surface-50))","color":"rgb(var(--color-surface-900))"},".variant-filled-primary":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))","color":"rgb(var(--on-primary))"},".variant-filled-secondary":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-secondary-500) / var(--tw-bg-opacity))","color":"rgb(var(--on-secondary))"},".variant-filled-surface":{"backgroundColor":"rgb(var(--color-surface-400))","color":"rgb(var(--on-surface))"},".dark .variant-filled-surface":{"backgroundColor":"rgb(var(--color-surface-500))"},".variant-ghost,\n\t.variant-ghost-surface":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-inset":"inset","--tw-ring-opacity":"1","--tw-ring-color":"rgb(var(--color-surface-500) / var(--tw-ring-opacity))","backgroundColor":"rgb(var(--color-surface-500) / 0.2)"},".variant-soft,\n\t.variant-soft-surface":{"backgroundColor":"rgb(var(--color-surface-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-surface-700))"},".dark .variant-soft,.dark \n\t.variant-soft-surface":{"color":"rgb(var(--color-surface-200))"},".z-\\[1\\]":{"zIndex":1},".z-\\[888\\]":{"zIndex":888},".z-\\[999\\]":{"zIndex":999},".-mt-\\[15px\\]":{"marginTop":"-15px"},".mt-\\[15px\\]":{"marginTop":"15px"},".h-\\[50\\%\\]":{"height":"50%"},".max-h-\\[200px\\]":{"maxHeight":"200px"},".w-\\[240px\\]":{"width":"240px"},".w-\\[50\\%\\]":{"width":"50%"},".w-\\[70\\%\\]":{"width":"70%"},".w-\\[90\\%\\]":{"width":"90%"},".min-w-\\[150px\\]":{"minWidth":"150px"},".max-w-\\[640px\\]":{"maxWidth":"640px"},".origin-\\[50\\%_50\\%\\]":{"transformOrigin":"50% 50%"},".translate-x-\\[100\\%\\]":{"--tw-translate-x":"100%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".scale-\\[0\\.8\\]":{"--tw-scale-x":"0.8","--tw-scale-y":"0.8","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".grid-cols-\\[auto_1fr_auto\\]":{"gridTemplateColumns":"auto 1fr auto"},".grid-rows-\\[auto_1fr_auto\\]":{"gridTemplateRows":"auto 1fr auto"},".border-primary-500":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".border-secondary-500":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-secondary-500) / var(--tw-border-opacity))"},".fill-primary-500":{"fill":"rgb(var(--color-primary-500) / 1)"},".fill-surface-50":{"fill":"rgb(var(--color-surface-50) / 1)"},".fill-surface-900":{"fill":"rgb(var(--color-surface-900) / 1)"},".stroke-surface-300":{"stroke":"rgb(var(--color-surface-300) / 1)"},".stroke-surface-500\\/30":{"stroke":"rgb(var(--color-surface-500) / 0.3)"},".stroke-surface-900":{"stroke":"rgb(var(--color-surface-900) / 1)"},".\\!text-white":{"--tw-text-opacity":"1 !important","color":"rgb(255 255 255 / var(--tw-text-opacity)) !important"},".text-primary-500":{"--tw-text-opacity":"1","color":"rgb(var(--color-primary-500) / var(--tw-text-opacity))"},".text-surface-50":{"--tw-text-opacity":"1","color":"rgb(var(--color-surface-50) / var(--tw-text-opacity))"},".accent-surface-900":{"accentColor":"rgb(var(--color-surface-900) / 1)"},".-outline-offset-\\[3px\\]":{"outlineOffset":"-3px"},".\\!ring-0":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important"},".ring-\\[1px\\]":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},".ring-surface-500\\/30":{"--tw-ring-color":"rgb(var(--color-surface-500) / 0.3)"},".transition-\\[stroke-dashoffset\\]":{"transitionProperty":"stroke-dashoffset","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms"},".duration-\\[200ms\\]":{"transitionDuration":"200ms"},".hover\\:variant-soft:hover":{"backgroundColor":"rgb(var(--color-surface-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-surface-700))"},".dark .hover\\:variant-soft:hover":{"color":"rgb(var(--color-surface-200))"},".hover\\:brightness-\\[105\\%\\]:hover":{"--tw-brightness":"brightness(105%)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".disabled\\:\\!opacity-0:disabled":{"opacity":"0 !important"},".w-modal-slim":{"width":"100%","maxWidth":"400px"},".w-modal":{"width":"100%","maxWidth":"640px"},".w-modal-wide":{"width":"100%","maxWidth":"80%"}}
1
+ module.exports = {".hide-scrollbar::-webkit-scrollbar":{"display":"none"},".hide-scrollbar":{"msOverflowStyle":"none","scrollbarWidth":"none"},".h2":{"fontSize":"1.5rem","lineHeight":"2rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"2.25rem","lineHeight":"2.5rem"}]},".h3":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".anchor":{"--tw-text-opacity":"1","color":"rgb(var(--color-primary-700) / var(--tw-text-opacity))","textDecorationLine":"underline"},".anchor:hover":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".time":{"fontSize":"0.875rem","lineHeight":"1.25rem","--tw-text-opacity":"1","color":"rgb(var(--color-surface-500) / var(--tw-text-opacity))"},".pre":{"overflowX":"auto","whiteSpace":"pre-wrap","backgroundColor":"rgb(23 23 23 / 0.9)","padding":"1rem","fontFamily":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace","fontSize":"1rem","lineHeight":"1.5rem","--tw-text-opacity":"1","color":"rgb(255 255 255 / var(--tw-text-opacity))","borderRadius":"var(--theme-rounded-container)"},".code":{"whiteSpace":"nowrap","fontFamily":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace","fontSize":"0.75rem","lineHeight":"1rem","--tw-text-opacity":"1","color":"rgb(var(--color-primary-700) / var(--tw-text-opacity))","backgroundColor":"rgb(var(--color-primary-500) / 0.3)","borderRadius":"0.25rem","paddingTop":"0.125rem","paddingBottom":"0.125rem","paddingLeft":"0.25rem","paddingRight":"0.25rem"},".\\!legend":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".legend":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".label > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".\\!input":{"width":"100%","transitionProperty":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"200ms","backgroundColor":"rgb(var(--color-surface-200))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))","borderRadius":"var(--theme-rounded-base)"},".input,\n\t.textarea,\n\t.select,\n\t.input-group":{"width":"100%","transitionProperty":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"200ms","backgroundColor":"rgb(var(--color-surface-200))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))"},".dark .\\!input":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".\\!input:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".dark .input,.dark \n\t.textarea,.dark \n\t.select,.dark \n\t.input-group":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".input:hover,\n\t.textarea:hover,\n\t.select:hover,\n\t.input-group:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".input:focus,\n\t.textarea:focus,\n\t.select:focus,\n\t.input-group:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input:focus-within":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".input:focus-within,\n\t.textarea:focus-within,\n\t.select:focus-within,\n\t.input-group:focus-within":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".input,\n\t.input-group":{"borderRadius":"var(--theme-rounded-base)"},".textarea,\n\t.select":{"borderRadius":"var(--theme-rounded-container)"},".select > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".select":{"padding":"0.5rem","paddingRight":"2rem"},".select[size]":{"backgroundImage":"none"},".select optgroup > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".select optgroup":{"fontWeight":700},".select optgroup option":{"marginLeft":"0px","paddingLeft":"0px"},".select optgroup option:first-of-type":{"marginTop":"0.75rem"},".select optgroup option:last-child":{"marginBottom":"0.75rem !important"},".select option":{"cursor":"pointer","paddingLeft":"1rem","paddingRight":"1rem","paddingTop":"0.5rem","paddingBottom":"0.5rem","backgroundColor":"rgb(var(--color-surface-200))","borderRadius":"var(--theme-rounded-base)"},".dark .select option":{"backgroundColor":"rgb(var(--color-surface-700))"},".select option:checked":{"background":"rgb(var(--color-primary-500)) linear-gradient(0deg, rgb(var(--color-primary-500)) 0%, rgb(var(--color-primary-500)) 100%)","color":"rgb(var(--on-primary))"},".checkbox,\n\t.radio":{"height":"1.25rem","width":"1.25rem","cursor":"pointer","borderRadius":"0.25rem","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","backgroundColor":"rgb(var(--color-surface-200))","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))"},".dark .checkbox,.dark \n\t.radio":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".checkbox:hover,\n\t.radio:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".checkbox:focus,\n\t.radio:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)","--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".checkbox:checked,\n\t.radio:checked":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))"},".checkbox:checked:hover,\n\t.radio:checked:hover":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))"},".checkbox:checked:focus,\n\t.radio:checked:focus":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},".radio":{"borderRadius":"var(--theme-rounded-base)"},".\\!input[type='file']":{"padding":"0.25rem"},".input[type='file']":{"padding":"0.25rem"},".\\!input[type='color']":{"height":"2.5rem","width":"2.5rem","cursor":"pointer","overflow":"hidden","borderStyle":"none","borderRadius":"var(--theme-rounded-base)","WebkitAppearance":"none !important"},".input[type='color']":{"height":"2.5rem","width":"2.5rem","cursor":"pointer","overflow":"hidden","borderStyle":"none","borderRadius":"var(--theme-rounded-base)","WebkitAppearance":"none"},".\\!input[type='color']::-webkit-color-swatch-wrapper":{"padding":"0px"},".input[type='color']::-webkit-color-swatch-wrapper":{"padding":"0px"},".\\!input[type='color']::-webkit-color-swatch":{"borderStyle":"none"},".\\!input[type='color']:hover::-webkit-color-swatch":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".input[type='color']::-webkit-color-swatch":{"borderStyle":"none"},".input[type='color']:hover::-webkit-color-swatch":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input[type='color']::-moz-color-swatch":{"borderStyle":"none"},".input[type='color']::-moz-color-swatch":{"borderStyle":"none"},".\\!input:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".\\!input:disabled:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input:disabled,\n\t.textarea:disabled,\n\t.select:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".input:disabled:hover,\n\t.textarea:disabled:hover,\n\t.select:disabled:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".\\!input[readonly]":{"cursor":"not-allowed !important","borderWidth":"0px !important"},".\\!input[readonly]:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input[readonly],\n\t.textarea[readonly],\n\t.select[readonly]":{"cursor":"not-allowed !important","borderWidth":"0px !important"},".input[readonly]:hover,\n\t.textarea[readonly]:hover,\n\t.select[readonly]:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input-error":{"--tw-border-opacity":"1 !important","borderColor":"rgb(var(--color-error-500) / var(--tw-border-opacity)) !important","--tw-bg-opacity":"1 !important","backgroundColor":"rgb(var(--color-error-200) / var(--tw-bg-opacity)) !important","--tw-text-opacity":"1 !important","color":"rgb(var(--color-error-500) / var(--tw-text-opacity)) !important"},".input-error::-moz-placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".input-error:-ms-input-placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".input-error::placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".alert":{"display":"flex","flexDirection":"column","alignItems":"flex-start","padding":"1rem","color":"rgb(var(--color-surface-900))","borderRadius":"var(--theme-rounded-container)","@media (min-width: 1024px)":[{"flexDirection":"row","alignItems":"center"}]},".alert > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(1rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(1rem * var(--tw-space-y-reverse))","@media (min-width: 1024px)":[{"--tw-space-y-reverse":"0","marginTop":"calc(0px * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0px * var(--tw-space-y-reverse))","--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"}]},".dark .alert":{"color":"rgb(var(--color-surface-50))"},".badge":{"display":"inline-flex","alignItems":"center","justifyContent":"center","whiteSpace":"nowrap","fontSize":"0.75rem","lineHeight":"1rem","fontWeight":600,"paddingLeft":"0.5rem","paddingRight":"0.5rem","paddingTop":"0.25rem","paddingBottom":"0.25rem","borderRadius":"var(--theme-rounded-base)"},".badge > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn":{"fontSize":"1rem","lineHeight":"1.5rem","paddingLeft":"1.25rem","paddingRight":"1.25rem","paddingTop":"9px","paddingBottom":"9px","whiteSpace":"nowrap","textAlign":"center","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms","borderRadius":"var(--theme-rounded-base)"},".btn > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn:active":{"--tw-scale-x":"95%","--tw-scale-y":"95%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-brightness":"brightness(.9)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-sm":{"paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"0.375rem","paddingBottom":"0.375rem","fontSize":"0.875rem","lineHeight":"1.25rem"},".btn-icon":{"fontSize":"1rem","lineHeight":"1.5rem","paddingLeft":"1.25rem","paddingRight":"1.25rem","paddingTop":"9px","paddingBottom":"9px","whiteSpace":"nowrap","textAlign":"center","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms","padding":"0px","aspectRatio":"1 / 1","width":"43px","borderRadius":"9999px"},".btn-icon > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn-icon:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-icon:active":{"--tw-scale-x":"95%","--tw-scale-y":"95%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-brightness":"brightness(.9)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-icon-sm":{"aspectRatio":"1 / 1","width":"33px","fontSize":"0.875rem","lineHeight":"1.25rem"},".btn-group":{"display":"inline-flex","flexDirection":"row","overflow":"hidden","borderRadius":"var(--theme-rounded-base)","isolation":"isolate"},".btn-group > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0px * var(--tw-space-x-reverse))","marginLeft":"calc(0px * calc(1 - var(--tw-space-x-reverse)))"},".btn-group button,\n\t.btn-group a,\n\t.btn-group-vertical button,\n\t.btn-group-vertical a":{"fontSize":"1rem","lineHeight":"1.5rem","paddingLeft":"1.25rem","paddingRight":"1.25rem","paddingTop":"9px","paddingBottom":"9px","whiteSpace":"nowrap","textAlign":"center","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms","color":"inherit !important","textDecorationLine":"none !important"},".btn-group button > :not([hidden]) ~ :not([hidden]),\n\t.btn-group a > :not([hidden]) ~ :not([hidden]),\n\t.btn-group-vertical button > :not([hidden]) ~ :not([hidden]),\n\t.btn-group-vertical a > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn-group button:hover,\n\t.btn-group a:hover,\n\t.btn-group-vertical button:hover,\n\t.btn-group-vertical a:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)","backgroundColor":"rgb(var(--color-surface-50) / 3%)"},".btn-group button:active,\n\t.btn-group a:active,\n\t.btn-group-vertical button:active,\n\t.btn-group-vertical a:active":{"backgroundColor":"rgb(var(--color-surface-900) / 3%)"},".btn-group * + *":{"borderTopWidth":"0px","borderLeftWidth":"1px","borderColor":"rgb(var(--color-surface-500) / 0.2)"},".codeblock pre":{"counterReset":"line"},".codeblock code.lineNumbers > span.line":{"counterIncrement":"line"},".codeblock code.lineNumbers > span.line::before":{"content":"counter(line) ''","opacity":0.5},".chip":{"cursor":"pointer","whiteSpace":"nowrap","paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"0.375rem","paddingBottom":"0.375rem","textAlign":"center","fontSize":"0.75rem","lineHeight":"1rem","borderRadius":"0.25rem","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms"},".chip > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".chip:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".chip-disabled,\n\t.chip:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".chip-disabled:active,\n\t.chip:disabled:active":{"--tw-scale-x":"1","--tw-scale-y":"1","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".list,\n\t.list-dl,\n\t.list-nav ul":{"listStyleType":"none"},".list > :not([hidden]) ~ :not([hidden]),\n\t.list-dl > :not([hidden]) ~ :not([hidden]),\n\t.list-nav ul > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".list li":{"display":"flex","alignItems":"center","borderRadius":"var(--theme-rounded-base)","whiteSpace":"normal","overflowWrap":"break-word"},".list li > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"},".list-nav a,\n\t.list-nav button,\n\t.list-option":{"display":"flex","alignItems":"center","whiteSpace":"nowrap","paddingLeft":"1rem","paddingRight":"1rem","paddingTop":"0.5rem","paddingBottom":"0.5rem","outline":"2px solid transparent","outlineOffset":"2px","cursor":"pointer","borderRadius":"var(--theme-rounded-base)"},".list-nav a > :not([hidden]) ~ :not([hidden]),\n\t.list-nav button > :not([hidden]) ~ :not([hidden]),\n\t.list-option > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"},".list-nav a:hover,\n\t.list-nav button:hover,\n\t.list-option:hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".dark .list-nav a:hover,.dark \n\t.list-nav button:hover,.dark \n\t.list-option:hover":{"backgroundColor":"rgb(var(--color-primary-200) / 0.1)"},".list-nav a:focus,\n\t.list-nav button:focus,\n\t.list-option:focus":{"backgroundColor":"rgb(var(--color-primary-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-primary-700))"},".dark .list-nav a:focus,.dark \n\t.list-nav button:focus,.dark \n\t.list-option:focus":{"color":"rgb(var(--color-primary-200))"},".placeholder":{"height":"1.25rem","backgroundColor":"rgb(var(--color-surface-300))","borderRadius":"var(--theme-rounded-base)"},".dark .placeholder":{"backgroundColor":"rgb(var(--color-surface-600))"},".table-container":{"width":"100%","overflowX":"auto","borderRadius":"var(--theme-rounded-container)"},".dark .table":{"backgroundColor":"rgb(var(--color-surface-800))"},".table-interactive tbody tr":{"cursor":"pointer"},".table-interactive tbody tr:hover:hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".dark .table-interactive tbody tr:hover:hover":{"backgroundColor":"rgb(var(--color-primary-200) / 0.1)"},".table-interactive tbody tr:hover:nth-child(even):hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".dark .table-interactive tbody tr:hover:nth-child(even):hover":{"backgroundColor":"rgb(var(--color-primary-200) / 0.1)"},".table-sort-asc::after":{"opacity":0.5,"--tw-content":"'↑' !important","content":"var(--tw-content) !important"},".table-sort-dsc::after":{"opacity":0.5,"--tw-content":"'↓' !important","content":"var(--tw-content) !important"},".table thead":{"borderBottomWidth":"1px","borderColor":"rgb(var(--color-surface-500) / 0.2)","backgroundColor":"rgb(var(--color-surface-200))"},".dark .table thead":{"backgroundColor":"rgb(var(--color-surface-700))"},".table thead tr":{"textAlign":"left","textTransform":"capitalize"},".table thead th":{"padding":"1rem","fontWeight":700},".table tbody tr":{"borderBottomWidth":"1px","borderColor":"rgb(var(--color-surface-500) / 0.2)"},".table tbody tr:nth-child(even)":{"backgroundColor":"rgb(var(--color-surface-500) / 0.05)"},".table tbody td":{"whiteSpace":"nowrap","paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"1rem","paddingBottom":"1rem","verticalAlign":"top","fontSize":"0.875rem","lineHeight":"1.25rem","@media (min-width: 1024px)":[{"whiteSpace":"normal"}]},".table tfoot":{"backgroundColor":"rgb(var(--color-surface-100))"},".dark .table tfoot":{"backgroundColor":"rgb(var(--color-surface-800))"},".table tfoot tr":{"textAlign":"left","textTransform":"capitalize"},".table tfoot th,\n\t.table tfoot td":{"padding":"1rem"},".variant-filled":{"backgroundColor":"rgb(var(--color-surface-900))","color":"rgb(var(--color-surface-50))"},".dark .variant-filled":{"backgroundColor":"rgb(var(--color-surface-50))","color":"rgb(var(--color-surface-900))"},".variant-filled-primary":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))","color":"rgb(var(--on-primary))"},".variant-filled-secondary":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-secondary-500) / var(--tw-bg-opacity))","color":"rgb(var(--on-secondary))"},".variant-filled-surface":{"backgroundColor":"rgb(var(--color-surface-400))","color":"rgb(var(--on-surface))"},".dark .variant-filled-surface":{"backgroundColor":"rgb(var(--color-surface-500))"},".variant-ghost,\n\t.variant-ghost-surface":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-inset":"inset","--tw-ring-opacity":"1","--tw-ring-color":"rgb(var(--color-surface-500) / var(--tw-ring-opacity))","backgroundColor":"rgb(var(--color-surface-500) / 0.2)"},".variant-soft,\n\t.variant-soft-surface":{"backgroundColor":"rgb(var(--color-surface-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-surface-700))"},".dark .variant-soft,.dark \n\t.variant-soft-surface":{"color":"rgb(var(--color-surface-200))"},".z-\\[1\\]":{"zIndex":1},".z-\\[888\\]":{"zIndex":888},".z-\\[999\\]":{"zIndex":999},".-mt-\\[15px\\]":{"marginTop":"-15px"},".mt-\\[15px\\]":{"marginTop":"15px"},".h-\\[50\\%\\]":{"height":"50%"},".max-h-\\[200px\\]":{"maxHeight":"200px"},".w-\\[240px\\]":{"width":"240px"},".w-\\[50\\%\\]":{"width":"50%"},".w-\\[70\\%\\]":{"width":"70%"},".w-\\[90\\%\\]":{"width":"90%"},".min-w-\\[150px\\]":{"minWidth":"150px"},".max-w-\\[640px\\]":{"maxWidth":"640px"},".origin-\\[50\\%_50\\%\\]":{"transformOrigin":"50% 50%"},".translate-x-\\[100\\%\\]":{"--tw-translate-x":"100%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".scale-\\[0\\.8\\]":{"--tw-scale-x":"0.8","--tw-scale-y":"0.8","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".grid-cols-\\[auto_1fr_auto\\]":{"gridTemplateColumns":"auto 1fr auto"},".grid-rows-\\[auto_1fr_auto\\]":{"gridTemplateRows":"auto 1fr auto"},".border-primary-500":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".border-secondary-500":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-secondary-500) / var(--tw-border-opacity))"},".fill-primary-500":{"fill":"rgb(var(--color-primary-500) / 1)"},".fill-surface-50":{"fill":"rgb(var(--color-surface-50) / 1)"},".fill-surface-900":{"fill":"rgb(var(--color-surface-900) / 1)"},".stroke-surface-300":{"stroke":"rgb(var(--color-surface-300) / 1)"},".stroke-surface-500\\/30":{"stroke":"rgb(var(--color-surface-500) / 0.3)"},".stroke-surface-900":{"stroke":"rgb(var(--color-surface-900) / 1)"},".\\!px-3":{"paddingLeft":"0.75rem !important","paddingRight":"0.75rem !important"},".\\!py-1":{"paddingTop":"0.25rem !important","paddingBottom":"0.25rem !important"},".\\!py-1\\.5":{"paddingTop":"0.375rem !important","paddingBottom":"0.375rem !important"},".\\!text-sm":{"fontSize":"0.875rem !important","lineHeight":"1.25rem !important"},".\\!text-white":{"--tw-text-opacity":"1 !important","color":"rgb(255 255 255 / var(--tw-text-opacity)) !important"},".text-primary-500":{"--tw-text-opacity":"1","color":"rgb(var(--color-primary-500) / var(--tw-text-opacity))"},".text-surface-50":{"--tw-text-opacity":"1","color":"rgb(var(--color-surface-50) / var(--tw-text-opacity))"},".accent-surface-900":{"accentColor":"rgb(var(--color-surface-900) / 1)"},".-outline-offset-\\[3px\\]":{"outlineOffset":"-3px"},".\\!ring-0":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important"},".ring-\\[1px\\]":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},".ring-surface-500\\/30":{"--tw-ring-color":"rgb(var(--color-surface-500) / 0.3)"},".transition-\\[stroke-dashoffset\\]":{"transitionProperty":"stroke-dashoffset","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms"},".duration-\\[200ms\\]":{"transitionDuration":"200ms"},".hover\\:variant-soft:hover":{"backgroundColor":"rgb(var(--color-surface-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-surface-700))"},".dark .hover\\:variant-soft:hover":{"color":"rgb(var(--color-surface-200))"},".hover\\:brightness-\\[105\\%\\]:hover":{"--tw-brightness":"brightness(105%)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".disabled\\:\\!opacity-0:disabled":{"opacity":"0 !important"},".w-modal-slim":{"width":"100%","maxWidth":"400px"},".w-modal":{"width":"100%","maxWidth":"640px"},".w-modal-wide":{"width":"100%","maxWidth":"80%"}}
@@ -473,6 +473,54 @@ declare const _exports: {
473
473
  fontSize: string;
474
474
  lineHeight: string;
475
475
  };
476
+ ".btn-group": {
477
+ display: string;
478
+ flexDirection: string;
479
+ overflow: string;
480
+ borderRadius: string;
481
+ isolation: string;
482
+ };
483
+ ".btn-group > :not([hidden]) ~ :not([hidden])": {
484
+ "--tw-space-x-reverse": string;
485
+ marginRight: string;
486
+ marginLeft: string;
487
+ };
488
+ ".btn-group button,\n\t.btn-group a,\n\t.btn-group-vertical button,\n\t.btn-group-vertical a": {
489
+ fontSize: string;
490
+ lineHeight: string;
491
+ paddingLeft: string;
492
+ paddingRight: string;
493
+ paddingTop: string;
494
+ paddingBottom: string;
495
+ whiteSpace: string;
496
+ textAlign: string;
497
+ display: string;
498
+ alignItems: string;
499
+ justifyContent: string;
500
+ transitionProperty: string;
501
+ transitionTimingFunction: string;
502
+ transitionDuration: string;
503
+ color: string;
504
+ textDecorationLine: string;
505
+ };
506
+ ".btn-group button > :not([hidden]) ~ :not([hidden]),\n\t.btn-group a > :not([hidden]) ~ :not([hidden]),\n\t.btn-group-vertical button > :not([hidden]) ~ :not([hidden]),\n\t.btn-group-vertical a > :not([hidden]) ~ :not([hidden])": {
507
+ "--tw-space-x-reverse": string;
508
+ marginRight: string;
509
+ marginLeft: string;
510
+ };
511
+ ".btn-group button:hover,\n\t.btn-group a:hover,\n\t.btn-group-vertical button:hover,\n\t.btn-group-vertical a:hover": {
512
+ "--tw-brightness": string;
513
+ filter: string;
514
+ backgroundColor: string;
515
+ };
516
+ ".btn-group button:active,\n\t.btn-group a:active,\n\t.btn-group-vertical button:active,\n\t.btn-group-vertical a:active": {
517
+ backgroundColor: string;
518
+ };
519
+ ".btn-group * + *": {
520
+ borderTopWidth: string;
521
+ borderLeftWidth: string;
522
+ borderColor: string;
523
+ };
476
524
  ".codeblock pre": {
477
525
  counterReset: string;
478
526
  };
@@ -560,6 +608,9 @@ declare const _exports: {
560
608
  ".list-nav a:hover,\n\t.list-nav button:hover,\n\t.list-option:hover": {
561
609
  backgroundColor: string;
562
610
  };
611
+ ".dark .list-nav a:hover,.dark \n\t.list-nav button:hover,.dark \n\t.list-option:hover": {
612
+ backgroundColor: string;
613
+ };
563
614
  ".list-nav a:focus,\n\t.list-nav button:focus,\n\t.list-option:focus": {
564
615
  backgroundColor: string;
565
616
  "--tw-ring-offset-shadow": string;
@@ -592,9 +643,15 @@ declare const _exports: {
592
643
  ".table-interactive tbody tr:hover:hover": {
593
644
  backgroundColor: string;
594
645
  };
646
+ ".dark .table-interactive tbody tr:hover:hover": {
647
+ backgroundColor: string;
648
+ };
595
649
  ".table-interactive tbody tr:hover:nth-child(even):hover": {
596
650
  backgroundColor: string;
597
651
  };
652
+ ".dark .table-interactive tbody tr:hover:nth-child(even):hover": {
653
+ backgroundColor: string;
654
+ };
598
655
  ".table-sort-asc::after": {
599
656
  opacity: number;
600
657
  "--tw-content": string;
@@ -781,6 +838,22 @@ declare const _exports: {
781
838
  ".stroke-surface-900": {
782
839
  stroke: string;
783
840
  };
841
+ ".\\!px-3": {
842
+ paddingLeft: string;
843
+ paddingRight: string;
844
+ };
845
+ ".\\!py-1": {
846
+ paddingTop: string;
847
+ paddingBottom: string;
848
+ };
849
+ ".\\!py-1\\.5": {
850
+ paddingTop: string;
851
+ paddingBottom: string;
852
+ };
853
+ ".\\!text-sm": {
854
+ fontSize: string;
855
+ lineHeight: string;
856
+ };
784
857
  ".\\!text-white": {
785
858
  "--tw-text-opacity": string;
786
859
  color: string;
@@ -16,6 +16,6 @@ module.exports = plugin(({ addComponents }) => {
16
16
  respectImportant: true,
17
17
  respectPrefix: true
18
18
  });
19
- } catch { }
19
+ } catch {}
20
20
  }
21
21
  });
@@ -18,6 +18,7 @@ module.exports = () => {
18
18
  // Hover
19
19
  // Example: .bg-primary-hover-token
20
20
  classes[`.bg-${n}-hover-token:hover`] = { 'background-color': `rgb(var(--color-${n}-500) / ${hoverAlpha})` };
21
+ classes[`.dark .bg-${n}-hover-token:hover`] = { 'background-color': `rgb(var(--color-${n}-200) / ${hoverAlpha})` };
21
22
 
22
23
  // Active
23
24
  // Example: .bg-primary-active-token
@@ -1,7 +1,7 @@
1
1
  <script>import { createEventDispatcher } from "svelte";
2
2
  const dispatch = createEventDispatcher();
3
- import { storeHighlightJs } from "./stores";
4
- import { clipboard } from "../../actions/Clipboard/clipboard";
3
+ import { storeHighlightJs } from "./stores.js";
4
+ import { clipboard } from "../../actions/Clipboard/clipboard.js";
5
5
  export let language = "plaintext";
6
6
  export let code = "";
7
7
  export let lineNumbers = false;
@@ -1,6 +1,6 @@
1
- import type { DataTableModel, DataTableOptions } from './types';
2
- export * from './types';
3
- export * from './actions';
1
+ import type { DataTableModel, DataTableOptions } from './types.js';
2
+ export * from './types.js';
3
+ export * from './actions.js';
4
4
  /** Creates the writeable store for the data table */
5
5
  export declare function createDataTableStore<T extends Record<PropertyKey, any>>(source: T[], options?: DataTableOptions<T>): {
6
6
  subscribe: (this: void, run: import("svelte/store").Subscriber<DataTableModel<T>>, invalidate?: ((value?: DataTableModel<T> | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
@@ -2,8 +2,8 @@
2
2
  // A set of utility features for local template-driven data tables.
3
3
  import { writable } from 'svelte/store';
4
4
  // Exports
5
- export * from './types';
6
- export * from './actions';
5
+ export * from './types.js';
6
+ export * from './actions.js';
7
7
  /** Creates the writeable store for the data table */
8
8
  export function createDataTableStore(source, options = {}) {
9
9
  // Creates a new source that also adds the `dataTableChecked` property to each row object
@@ -1,4 +1,4 @@
1
- import type { PaginationSettings } from '../..';
1
+ import type { PaginationSettings } from '../../index.js';
2
2
  export interface DataTableModel<T extends Record<PropertyKey, unknown>> {
3
3
  /** The original source data. */
4
4
  source: T[];
@@ -2,8 +2,8 @@
2
2
  import { createEventDispatcher } from "svelte";
3
3
  import { BROWSER } from "esm-env";
4
4
  const dispatch = createEventDispatcher();
5
- import { focusTrap } from "../../actions/FocusTrap/focusTrap";
6
- import { drawerStore } from "./stores";
5
+ import { focusTrap } from "../../actions/FocusTrap/focusTrap.js";
6
+ import { drawerStore } from "./stores.js";
7
7
  export let position = "left";
8
8
  export let duration = 150;
9
9
  export let bgBackdrop = "bg-surface-backdrop-token";
@@ -86,10 +86,13 @@ function applyAnimationSettings() {
86
86
  break;
87
87
  }
88
88
  }
89
- function onBackdropInteraction(event) {
90
- if (event.target === elemBackdrop)
89
+ function onDrawerInteraction(event) {
90
+ if (event.target === elemBackdrop) {
91
91
  drawerStore.close();
92
- dispatch("backdrop", event);
92
+ dispatch("backdrop", event);
93
+ } else {
94
+ dispatch("drawer", event);
95
+ }
93
96
  }
94
97
  function onKeydownWindow(event) {
95
98
  if (!$drawerStore)
@@ -125,8 +128,9 @@ $:
125
128
  bind:this={elemBackdrop}
126
129
  class="drawer-backdrop {classesBackdrop}"
127
130
  data-testid="drawer-backdrop"
128
- on:mousedown={onBackdropInteraction}
129
- on:touchstart={onBackdropInteraction}
131
+ on:mousedown={onDrawerInteraction}
132
+ on:touchstart
133
+ on:touchend
130
134
  on:keypress
131
135
  transition:fade|local={{ duration }}
132
136
  use:focusTrap={true}
@@ -36,9 +36,13 @@ declare const __propDef: {
36
36
  describedby?: string | undefined;
37
37
  };
38
38
  events: {
39
+ touchstart: TouchEvent;
40
+ touchend: TouchEvent;
39
41
  keypress: KeyboardEvent;
40
42
  /** {{ event }} backdrop - Fires on backdrop interaction.*/
41
43
  backdrop: CustomEvent<any>;
44
+ /** {{ event }} drawer - Fires on drawer interaction.*/
45
+ drawer: CustomEvent<any>;
42
46
  } & {
43
47
  [evt: string]: CustomEvent<any>;
44
48
  };
@@ -1,4 +1,4 @@
1
- import type { DrawerSettings } from './types';
1
+ import type { DrawerSettings } from './types.js';
2
2
  export declare const drawerStore: {
3
3
  subscribe: (this: void, run: import("svelte/store").Subscriber<DrawerSettings>, invalidate?: ((value?: DrawerSettings | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
4
4
  set: (this: void, value: DrawerSettings) => void;
@@ -1,5 +1,5 @@
1
1
  <script>import { onMount } from "svelte";
2
- import { modeCurrent, setModeUserPrefers, setModeCurrent, setInitialClassState, getModeOsPrefers } from "./lightswitch";
2
+ import { modeCurrent, setModeUserPrefers, setModeCurrent, setInitialClassState, getModeOsPrefers } from "./lightswitch.js";
3
3
  export let bgLight = "bg-surface-50";
4
4
  export let bgDark = "bg-surface-900";
5
5
  export let fillLight = "fill-surface-50";
@@ -49,7 +49,8 @@ $:
49
49
  </script>
50
50
 
51
51
  <svelte:head>
52
- {@html `<script nonce="%sveltekit.nonce%">(${setInitialClassState.toString()})();</script>`}
52
+ <!-- Workaround for a svelte parsing error: https://github.com/sveltejs/eslint-plugin-svelte/issues/492 -->
53
+ {@html `<\u{73}cript nonce="%sveltekit.nonce%">(${setInitialClassState.toString()})();</script>`}
53
54
  </svelte:head>
54
55
 
55
56
  <div
@@ -1,7 +1,7 @@
1
1
  // Lightswitch Service
2
2
  import { get } from 'svelte/store';
3
3
  // DO NOT replace this ⬇ import, it has to be imported directly
4
- import { localStorageStore } from '../LocalStorageStore/LocalStorageStore';
4
+ import { localStorageStore } from '../LocalStorageStore/LocalStorageStore.js';
5
5
  // Stores ---
6
6
  // TRUE: light, FALSE: dark
7
7
  /** Store: OS Preference Mode */
@@ -1,8 +1,8 @@
1
1
  <script>import { createEventDispatcher } from "svelte";
2
2
  import { fade, fly } from "svelte/transition";
3
3
  const dispatch = createEventDispatcher();
4
- import { modalStore } from "./stores";
5
- import { focusTrap } from "../../actions/FocusTrap/focusTrap";
4
+ import { modalStore } from "./stores.js";
5
+ import { focusTrap } from "../../actions/FocusTrap/focusTrap.js";
6
6
  export let position = "items-center";
7
7
  export let components = {};
8
8
  export let duration = 150;
@@ -37,6 +37,7 @@ const buttonTextDefaults = {
37
37
  buttonTextSubmit
38
38
  };
39
39
  let currentComponent;
40
+ let registeredInteractionWithBackdrop = false;
40
41
  modalStore.subscribe((modals) => {
41
42
  if (!modals.length)
42
43
  return;
@@ -47,16 +48,25 @@ modalStore.subscribe((modals) => {
47
48
  buttonTextSubmit = modals[0].buttonTextSubmit || buttonTextDefaults.buttonTextSubmit;
48
49
  currentComponent = typeof modals[0].component === "string" ? components[modals[0].component] : modals[0].component;
49
50
  });
50
- function onBackdropInteraction(event) {
51
+ function onBackdropInteractionBegin(event) {
51
52
  if (!(event.target instanceof Element))
52
53
  return;
53
54
  const classList = event.target.classList;
54
55
  if (classList.contains("modal-backdrop") || classList.contains("modal-transition")) {
56
+ registeredInteractionWithBackdrop = true;
57
+ }
58
+ }
59
+ function onBackdropInteractionEnd(event) {
60
+ if (!(event.target instanceof Element))
61
+ return;
62
+ const classList = event.target.classList;
63
+ if ((classList.contains("modal-backdrop") || classList.contains("modal-transition")) && registeredInteractionWithBackdrop) {
55
64
  if ($modalStore[0].response)
56
65
  $modalStore[0].response(void 0);
57
66
  modalStore.close();
58
67
  dispatch("backdrop", event);
59
68
  }
69
+ registeredInteractionWithBackdrop = false;
60
70
  }
61
71
  function onClose() {
62
72
  if ($modalStore[0].response)
@@ -128,8 +138,10 @@ $:
128
138
  <div
129
139
  class="modal-backdrop {classesBackdrop}"
130
140
  data-testid="modal-backdrop"
131
- on:mousedown={onBackdropInteraction}
132
- on:touchstart={onBackdropInteraction}
141
+ on:mousedown={onBackdropInteractionBegin}
142
+ on:mouseup={onBackdropInteractionEnd}
143
+ on:touchstart
144
+ on:touchend
133
145
  transition:fade={{ duration }}
134
146
  use:focusTrap={true}
135
147
  >