@skeletonlabs/skeleton 1.6.2-dev.a521d89f → 1.6.2-dev.b335917b
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/AppRailAnchor.svelte +1 -1
- package/dist/components/AppRail/AppRailTile.svelte +2 -1
- package/dist/components/AppRail/AppRailTile.svelte.d.ts +2 -0
- package/dist/components/Autocomplete/Autocomplete.svelte.d.ts +1 -1
- package/dist/components/ConicGradient/ConicGradient.svelte +1 -1
- package/dist/components/ConicGradient/ConicGradient.svelte.d.ts +1 -1
- package/dist/components/Paginator/Paginator.svelte.d.ts +1 -1
- package/dist/components/Stepper/Step.svelte.d.ts +3 -2
- package/dist/components/Stepper/Stepper.svelte.d.ts +5 -4
- package/dist/components/Stepper/types.d.ts +9 -0
- package/dist/components/Stepper/types.js +1 -0
- package/dist/components/Table/Table.svelte +1 -1
- package/dist/components/Table/Table.svelte.d.ts +1 -1
- package/dist/components/TableOfContents/TableOfContents.svelte +3 -2
- package/dist/index.d.ts +21 -21
- package/dist/index.js +13 -13
- package/dist/tailwind/generated/intellisense-classes.cjs +1 -1
- package/dist/tailwind/generated/intellisense-classes.d.cts +9 -0
- package/dist/tailwind/tokens/backgrounds.cjs +1 -0
- package/dist/utilities/CodeBlock/CodeBlock.svelte +2 -2
- package/dist/utilities/DataTable/DataTable.d.ts +3 -3
- package/dist/utilities/DataTable/DataTable.js +2 -2
- package/dist/utilities/DataTable/types.d.ts +1 -1
- package/dist/utilities/Drawer/Drawer.svelte +2 -2
- package/dist/utilities/Drawer/stores.d.ts +1 -1
- package/dist/utilities/LightSwitch/LightSwitch.svelte +1 -1
- package/dist/utilities/LightSwitch/lightswitch.js +1 -1
- package/dist/utilities/Modal/Modal.svelte +2 -2
- package/dist/utilities/Modal/Modal.svelte.d.ts +1 -1
- package/dist/utilities/Modal/stores.d.ts +1 -1
- package/dist/utilities/Popup/popup.d.ts +1 -1
- package/dist/utilities/Popup/popup.js +2 -0
- package/dist/utilities/Toast/Toast.svelte +2 -2
- package/dist/utilities/Toast/stores.d.ts +1 -1
- package/package.json +15 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { getContext } from "svelte";
|
|
2
2
|
export let selected = false;
|
|
3
|
-
export let regionLead = "";
|
|
3
|
+
export let regionLead = "flex justify-center items-center";
|
|
4
4
|
export let regionLabel = "";
|
|
5
5
|
export let hover = getContext("hover");
|
|
6
6
|
export let active = getContext("active");
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export let group;
|
|
3
3
|
export let name;
|
|
4
4
|
export let value;
|
|
5
|
+
export let title = "";
|
|
5
6
|
export let regionLead = "";
|
|
6
7
|
export let regionLabel = "";
|
|
7
8
|
export let hover = getContext("hover");
|
|
@@ -30,7 +31,7 @@ function prunedRestProps() {
|
|
|
30
31
|
}
|
|
31
32
|
</script>
|
|
32
33
|
|
|
33
|
-
<label class="app-rail-tile {classesBase}" data-testid="app-rail-tile">
|
|
34
|
+
<label class="app-rail-tile {classesBase}" data-testid="app-rail-tile" {title}>
|
|
34
35
|
<!-- A11y attributes are not allowed on <label> -->
|
|
35
36
|
<div class="app-rail-wrapper {classesWrapper}" on:keydown on:keyup on:keypress>
|
|
36
37
|
<!-- NOTE: Don't use `hidden` as it prevents `required` from operating -->
|
|
@@ -8,6 +8,8 @@ declare const __propDef: {
|
|
|
8
8
|
name: string;
|
|
9
9
|
/** Set the input's value.*/
|
|
10
10
|
value: any;
|
|
11
|
+
/** Provide a hoverable title attribute for the tile.*/
|
|
12
|
+
title?: string | undefined;
|
|
11
13
|
/** Provide arbitrary classes to style the lead region.*/
|
|
12
14
|
regionLead?: string | undefined;
|
|
13
15
|
/** Provide arbitrary classes to style the label region.*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { afterUpdate } from "svelte";
|
|
2
|
-
import { tailwindDefaultColors } from "./settings";
|
|
2
|
+
import { tailwindDefaultColors } from "./settings.js";
|
|
3
3
|
export let stops = [{ color: ["neutral", 500], start: 0, end: 100 }];
|
|
4
4
|
export let legend = false;
|
|
5
5
|
export let spin = false;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
import type { Writable } from 'svelte/store';
|
|
3
|
+
import type { StepperDispatchParent, StepperState } from './types.js';
|
|
3
4
|
declare const __propDef: {
|
|
4
5
|
props: {
|
|
5
6
|
[x: string]: any;
|
|
@@ -10,8 +11,8 @@ declare const __propDef: {
|
|
|
10
11
|
regionContent?: string | undefined;
|
|
11
12
|
/** Provide arbitrary classes to the step navigation region.*/
|
|
12
13
|
regionNavigation?: string | undefined;
|
|
13
|
-
state?: Writable<
|
|
14
|
-
dispatchParent?:
|
|
14
|
+
state?: Writable<StepperState> | undefined;
|
|
15
|
+
dispatchParent?: StepperDispatchParent | undefined;
|
|
15
16
|
stepTerm?: string | undefined;
|
|
16
17
|
gap?: string | undefined;
|
|
17
18
|
justify?: string | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { StepperButton } from './types.js';
|
|
2
3
|
declare const __propDef: {
|
|
3
4
|
props: {
|
|
4
5
|
[x: string]: any;
|
|
@@ -19,19 +20,19 @@ declare const __propDef: {
|
|
|
19
20
|
/** Provide arbitrary classes to style the back button.*/
|
|
20
21
|
buttonBack?: string | undefined;
|
|
21
22
|
/** Set the type of the back button.*/
|
|
22
|
-
buttonBackType?:
|
|
23
|
+
buttonBackType?: StepperButton | undefined;
|
|
23
24
|
/** Provide the HTML label content for the back button.*/
|
|
24
25
|
buttonBackLabel?: string | undefined;
|
|
25
26
|
/** Provide arbitrary classes to style the next button.*/
|
|
26
27
|
buttonNext?: string | undefined;
|
|
27
28
|
/** Set the type of the next button.*/
|
|
28
|
-
buttonNextType?:
|
|
29
|
+
buttonNextType?: StepperButton | undefined;
|
|
29
30
|
/** Provide the HTML label content for the next button.*/
|
|
30
31
|
buttonNextLabel?: string | undefined;
|
|
31
32
|
/** Provide arbitrary classes to style the complete button.*/
|
|
32
33
|
buttonComplete?: string | undefined;
|
|
33
34
|
/** Set the type of the complete button.*/
|
|
34
|
-
buttonCompleteType?:
|
|
35
|
+
buttonCompleteType?: StepperButton | undefined;
|
|
35
36
|
/** Provide the HTML label content for the complete button.*/
|
|
36
37
|
buttonCompleteLabel?: string | undefined;
|
|
37
38
|
/** Provide arbitrary classes to the stepper header region.*/
|
|
@@ -44,7 +45,7 @@ declare const __propDef: {
|
|
|
44
45
|
};
|
|
45
46
|
slots: {
|
|
46
47
|
default: {};
|
|
47
|
-
};
|
|
48
|
+
}; /** Provide the HTML label content for the complete button. */
|
|
48
49
|
};
|
|
49
50
|
export type StepperProps = typeof __propDef.props;
|
|
50
51
|
export type StepperEvents = typeof __propDef.events;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface StepperState {
|
|
2
|
+
current: number;
|
|
3
|
+
total: number;
|
|
4
|
+
}
|
|
5
|
+
export type StepperButton = 'submit' | 'reset' | 'button';
|
|
6
|
+
export type StepperDispatchParent = <EventKey extends string>(type: EventKey, detail: {
|
|
7
|
+
step: number;
|
|
8
|
+
state: StepperState;
|
|
9
|
+
}) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { createEventDispatcher } from "svelte";
|
|
2
|
-
import { tableA11y } from "../../utilities/DataTable/actions";
|
|
2
|
+
import { tableA11y } from "../../utilities/DataTable/actions.js";
|
|
3
3
|
const dispatch = createEventDispatcher();
|
|
4
4
|
export let source;
|
|
5
5
|
export let interactive = false;
|
|
@@ -16,7 +16,7 @@ const cLabel = "p-4 pt-0";
|
|
|
16
16
|
const cList = "list-none space-y-1";
|
|
17
17
|
const cListItem = "px-4 py-2 cursor-pointer";
|
|
18
18
|
let elemScrollParent;
|
|
19
|
-
let allowedHeadingsList
|
|
19
|
+
let allowedHeadingsList;
|
|
20
20
|
let filteredHeadingsList = [];
|
|
21
21
|
let activeHeaderId;
|
|
22
22
|
function queryAllowedHeadingsList() {
|
|
@@ -51,7 +51,8 @@ function setHeadingClasses(headingElem) {
|
|
|
51
51
|
}
|
|
52
52
|
function scrollToHeading(headingElem) {
|
|
53
53
|
const elemTarget = document.querySelector(`#${headingElem.id}`);
|
|
54
|
-
elemTarget
|
|
54
|
+
if (elemTarget)
|
|
55
|
+
elemTarget.scrollIntoView({ behavior: "smooth" });
|
|
55
56
|
}
|
|
56
57
|
function pageScrollHandler() {
|
|
57
58
|
const headingSizeThreshold = 40;
|
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';
|
|
@@ -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"},".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)"},".\\!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%"}}
|
|
@@ -560,6 +560,9 @@ declare const _exports: {
|
|
|
560
560
|
".list-nav a:hover,\n\t.list-nav button:hover,\n\t.list-option:hover": {
|
|
561
561
|
backgroundColor: string;
|
|
562
562
|
};
|
|
563
|
+
".dark .list-nav a:hover,.dark \n\t.list-nav button:hover,.dark \n\t.list-option:hover": {
|
|
564
|
+
backgroundColor: string;
|
|
565
|
+
};
|
|
563
566
|
".list-nav a:focus,\n\t.list-nav button:focus,\n\t.list-option:focus": {
|
|
564
567
|
backgroundColor: string;
|
|
565
568
|
"--tw-ring-offset-shadow": string;
|
|
@@ -592,9 +595,15 @@ declare const _exports: {
|
|
|
592
595
|
".table-interactive tbody tr:hover:hover": {
|
|
593
596
|
backgroundColor: string;
|
|
594
597
|
};
|
|
598
|
+
".dark .table-interactive tbody tr:hover:hover": {
|
|
599
|
+
backgroundColor: string;
|
|
600
|
+
};
|
|
595
601
|
".table-interactive tbody tr:hover:nth-child(even):hover": {
|
|
596
602
|
backgroundColor: string;
|
|
597
603
|
};
|
|
604
|
+
".dark .table-interactive tbody tr:hover:nth-child(even):hover": {
|
|
605
|
+
backgroundColor: string;
|
|
606
|
+
};
|
|
598
607
|
".table-sort-asc::after": {
|
|
599
608
|
opacity: number;
|
|
600
609
|
"--tw-content": string;
|
|
@@ -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
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ModalSettings } from './types';
|
|
1
|
+
import type { ModalSettings } from './types.js';
|
|
2
2
|
export declare const modalStore: {
|
|
3
3
|
subscribe: (this: void, run: import("svelte/store").Subscriber<ModalSettings[]>, invalidate?: ((value?: ModalSettings[] | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
|
|
4
4
|
set: (this: void, value: ModalSettings[]) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Writable } from 'svelte/store';
|
|
2
|
-
import type { PopupSettings } from './types';
|
|
2
|
+
import type { PopupSettings } from './types.js';
|
|
3
3
|
export declare const storePopup: Writable<any>;
|
|
4
4
|
export declare function popup(triggerNode: HTMLElement, args: PopupSettings): {
|
|
5
5
|
update(newArgs: PopupSettings): void;
|
|
@@ -173,6 +173,8 @@ export function popup(triggerNode, args) {
|
|
|
173
173
|
close();
|
|
174
174
|
return;
|
|
175
175
|
}
|
|
176
|
+
// Update focusable elements (important for Autocomplete)
|
|
177
|
+
focusablePopupElements = Array.from(elemPopup?.querySelectorAll(focusableAllowedList));
|
|
176
178
|
// On Tab or ArrowDown key
|
|
177
179
|
const triggerMenuFocused = popupState.open && document.activeElement === triggerNode;
|
|
178
180
|
if (triggerMenuFocused &&
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>import { crossfade } from "svelte/transition";
|
|
2
2
|
import { cubicInOut } from "svelte/easing";
|
|
3
3
|
import { flip } from "svelte/animate";
|
|
4
|
-
import { toastStore } from "./stores";
|
|
4
|
+
import { toastStore } from "./stores.js";
|
|
5
5
|
export let position = "b";
|
|
6
6
|
export let max = 3;
|
|
7
7
|
export let duration = 250;
|
|
@@ -17,7 +17,7 @@ export let buttonAction = "btn variant-filled";
|
|
|
17
17
|
export let buttonDismiss = "btn-icon btn-icon-sm variant-filled";
|
|
18
18
|
export let buttonDismissLabel = "\u2715";
|
|
19
19
|
const cWrapper = "flex fixed top-0 left-0 right-0 bottom-0 pointer-events-none";
|
|
20
|
-
const cSnackbar = "flex flex-col
|
|
20
|
+
const cSnackbar = "flex flex-col gap-y-2";
|
|
21
21
|
const cToast = "flex justify-between items-center pointer-events-auto";
|
|
22
22
|
const cToastActions = "flex items-center space-x-2";
|
|
23
23
|
let cPosition;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ToastSettings, Toast } from './types';
|
|
1
|
+
import type { ToastSettings, Toast } from './types.js';
|
|
2
2
|
export declare const toastStore: {
|
|
3
3
|
subscribe: (this: void, run: import("svelte/store").Subscriber<Toast[]>, invalidate?: ((value?: Toast[] | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
|
|
4
4
|
/** Add a new toast to the queue. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton",
|
|
3
|
-
"version": "1.6.2-dev.
|
|
3
|
+
"version": "1.6.2-dev.b335917b",
|
|
4
4
|
"description": "A SvelteKit component library.",
|
|
5
5
|
"author": "endigo9740 <chris@skeletonlabs.dev>",
|
|
6
6
|
"repository": {
|
|
@@ -70,7 +70,10 @@
|
|
|
70
70
|
},
|
|
71
71
|
"./styles/*": "./dist/styles/*",
|
|
72
72
|
"./themes/*": "./dist/themes/*",
|
|
73
|
-
"./tailwind/skeleton.cjs":
|
|
73
|
+
"./tailwind/skeleton.cjs": {
|
|
74
|
+
"types": "./dist/tailwind/skeleton.cts",
|
|
75
|
+
"default": "./dist/tailwind/skeleton.cjs"
|
|
76
|
+
}
|
|
74
77
|
},
|
|
75
78
|
"files": [
|
|
76
79
|
"./dist/**/*.svelte",
|
|
@@ -83,16 +86,6 @@
|
|
|
83
86
|
"./dist/themes/*",
|
|
84
87
|
"!./dist/**/*.test.*"
|
|
85
88
|
],
|
|
86
|
-
"typesVersions": {
|
|
87
|
-
">4.0": {
|
|
88
|
-
"index": [
|
|
89
|
-
"./dist/index.d.ts"
|
|
90
|
-
],
|
|
91
|
-
"tailwind/skeleton.cjs": [
|
|
92
|
-
"./dist/tailwind/skeleton.d.cts"
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
89
|
"scripts": {
|
|
97
90
|
"dev": "vite dev",
|
|
98
91
|
"build": "vite build",
|
|
@@ -106,5 +99,15 @@
|
|
|
106
99
|
"coverage": "vitest run --coverage",
|
|
107
100
|
"sync": "svelte-kit sync",
|
|
108
101
|
"build:jss": "node ./scripts/generate-jss.js --package"
|
|
102
|
+
},
|
|
103
|
+
"typesVersions": {
|
|
104
|
+
">4.0": {
|
|
105
|
+
"index.d.ts": [
|
|
106
|
+
"./dist/index.d.ts"
|
|
107
|
+
],
|
|
108
|
+
"tailwind/skeleton.cjs": [
|
|
109
|
+
"./dist/tailwind/skeleton.d.cts"
|
|
110
|
+
]
|
|
111
|
+
}
|
|
109
112
|
}
|
|
110
113
|
}
|