@skeletonlabs/skeleton 1.6.1 → 1.6.2-dev.30c83e2a
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/Avatar/Avatar.svelte.d.ts +2 -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 +139 -41
- package/dist/components/Paginator/Paginator.svelte.d.ts +24 -10
- 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 +73 -0
- package/dist/tailwind/intellisense.cjs +1 -1
- 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 +8 -3
- 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,4 +1,5 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Action } from 'svelte/action';
|
|
2
3
|
declare const __propDef: {
|
|
3
4
|
props: {
|
|
4
5
|
[x: string]: any;
|
|
@@ -11,7 +12,7 @@ declare const __propDef: {
|
|
|
11
12
|
/** Provide the fallback image element source.*/
|
|
12
13
|
fallback?: string | undefined;
|
|
13
14
|
/** Image only. Provide an Svelte action reference, such as `filter`.*/
|
|
14
|
-
action?: any;
|
|
15
|
+
action?: Action<HTMLElement, any, Record<never, any>> | undefined;
|
|
15
16
|
/** Image only. Provide Svelte action params, such as Apollo.*/
|
|
16
17
|
actionParams?: string | undefined;
|
|
17
18
|
/** Provide classes to set background styles.*/
|
|
@@ -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;
|
|
@@ -2,38 +2,77 @@
|
|
|
2
2
|
const dispatch = createEventDispatcher();
|
|
3
3
|
export let settings = { offset: 0, limit: 5, size: 0, amounts: [1, 2, 5, 10] };
|
|
4
4
|
export let disabled = false;
|
|
5
|
-
export let
|
|
5
|
+
export let showPreviousNextButtons = true;
|
|
6
|
+
export let showFirstLastButtons = false;
|
|
7
|
+
export let showNumerals = false;
|
|
8
|
+
export let maxNumerals = 1;
|
|
6
9
|
export let justify = "justify-between";
|
|
7
|
-
export let
|
|
10
|
+
export let select = "select min-w-[150px]";
|
|
8
11
|
export let amountText = "Items";
|
|
9
|
-
export let
|
|
12
|
+
export let regionControl = "btn-group";
|
|
13
|
+
export let controlVariant = "variant-filled";
|
|
14
|
+
export let controlSeparator = "";
|
|
15
|
+
export let active = "variant-filled-primary";
|
|
16
|
+
export let buttonClasses = "!px-3 !py-1.5";
|
|
10
17
|
export let buttonTextPrevious = "←";
|
|
11
18
|
export let buttonTextNext = "→";
|
|
12
19
|
export let buttonTextFirst = "«";
|
|
13
20
|
export let buttonTextLast = "»";
|
|
14
21
|
const cBase = "flex flex-col md:flex-row items-center space-y-4 md:space-y-0 md:space-x-4";
|
|
15
22
|
const cLabel = "w-full md:w-auto";
|
|
16
|
-
|
|
23
|
+
let lastPage = Math.ceil(settings.size / settings.limit - 1);
|
|
24
|
+
let controlPages = getNumerals();
|
|
17
25
|
function onChangeLength() {
|
|
18
26
|
settings.offset = 0;
|
|
19
27
|
dispatch("amount", settings.limit);
|
|
28
|
+
lastPage = Math.ceil(settings.size / settings.limit - 1);
|
|
29
|
+
controlPages = getNumerals();
|
|
20
30
|
}
|
|
21
|
-
function
|
|
22
|
-
|
|
31
|
+
function gotoPage(page) {
|
|
32
|
+
if (page < 0)
|
|
33
|
+
return;
|
|
34
|
+
settings.offset = page;
|
|
23
35
|
dispatch("page", settings.offset);
|
|
36
|
+
controlPages = getNumerals();
|
|
24
37
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
|
|
38
|
+
function getFullNumerals() {
|
|
39
|
+
const pages = [];
|
|
40
|
+
for (let index = 0; index <= lastPage; index++) {
|
|
41
|
+
pages.push(index);
|
|
42
|
+
}
|
|
43
|
+
return pages;
|
|
28
44
|
}
|
|
29
|
-
function
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
45
|
+
function getNumerals() {
|
|
46
|
+
const pages = [];
|
|
47
|
+
const isWithinLeftSection = settings.offset < maxNumerals + 2;
|
|
48
|
+
const isWithinRightSection = settings.offset > lastPage - (maxNumerals + 2);
|
|
49
|
+
if (lastPage <= maxNumerals * 2 + 1)
|
|
50
|
+
return getFullNumerals();
|
|
51
|
+
pages.push(0);
|
|
52
|
+
if (!isWithinLeftSection)
|
|
53
|
+
pages.push(-1);
|
|
54
|
+
if (isWithinLeftSection || isWithinRightSection) {
|
|
55
|
+
const sectionStart = isWithinLeftSection ? 1 : lastPage - (maxNumerals + 2);
|
|
56
|
+
const sectionEnd = isWithinRightSection ? lastPage - 1 : maxNumerals + 2;
|
|
57
|
+
for (let i = sectionStart; i <= sectionEnd; i++) {
|
|
58
|
+
pages.push(i);
|
|
59
|
+
}
|
|
60
|
+
} else {
|
|
61
|
+
for (let i = settings.offset - maxNumerals; i <= settings.offset + maxNumerals; i++) {
|
|
62
|
+
pages.push(i);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if (!isWithinRightSection)
|
|
66
|
+
pages.push(-1);
|
|
67
|
+
pages.push(lastPage);
|
|
68
|
+
return pages;
|
|
36
69
|
}
|
|
70
|
+
$:
|
|
71
|
+
classesButtonActive = (page) => {
|
|
72
|
+
return page === settings.offset ? `${active} pointer-events-none` : "";
|
|
73
|
+
};
|
|
74
|
+
$:
|
|
75
|
+
maxNumerals, onChangeLength();
|
|
37
76
|
$:
|
|
38
77
|
classesBase = `${cBase} ${justify} ${$$props.class ?? ""}`;
|
|
39
78
|
$:
|
|
@@ -41,34 +80,93 @@ $:
|
|
|
41
80
|
$:
|
|
42
81
|
classesSelect = `${select}`;
|
|
43
82
|
$:
|
|
44
|
-
|
|
83
|
+
classesControls = `${regionControl} ${controlVariant} ${controlSeparator}`;
|
|
45
84
|
</script>
|
|
46
85
|
|
|
47
|
-
<!-- prettier-ignore -->
|
|
48
86
|
<div class="paginator {classesBase}" data-testid="paginator">
|
|
49
87
|
<!-- Select Amount -->
|
|
50
|
-
|
|
51
|
-
<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
88
|
+
{#if settings.amounts.length}
|
|
89
|
+
<label class="paginator-label {classesLabel}">
|
|
90
|
+
<select
|
|
91
|
+
bind:value={settings.limit}
|
|
92
|
+
on:change={onChangeLength}
|
|
93
|
+
class="paginator-select {classesSelect}"
|
|
94
|
+
{disabled}
|
|
95
|
+
aria-label="Select Amount"
|
|
96
|
+
>
|
|
97
|
+
{#each settings.amounts as amount}<option value={amount}>{amount} {amountText}</option>{/each}
|
|
98
|
+
</select>
|
|
99
|
+
</label>
|
|
100
|
+
{/if}
|
|
101
|
+
<!-- Controls -->
|
|
102
|
+
<div class="paginator-controls {classesControls}">
|
|
103
|
+
<!-- Button: First -->
|
|
104
|
+
{#if showFirstLastButtons}
|
|
105
|
+
<button
|
|
106
|
+
type="button"
|
|
107
|
+
class={buttonClasses}
|
|
108
|
+
on:click={() => {
|
|
109
|
+
gotoPage(0);
|
|
110
|
+
}}
|
|
111
|
+
disabled={disabled || settings.offset === 0}
|
|
112
|
+
>
|
|
113
|
+
{@html buttonTextFirst}
|
|
114
|
+
</button>
|
|
115
|
+
{/if}
|
|
116
|
+
<!-- Button: Back -->
|
|
117
|
+
{#if showPreviousNextButtons}
|
|
118
|
+
<button
|
|
119
|
+
type="button"
|
|
120
|
+
class={buttonClasses}
|
|
121
|
+
on:click={() => {
|
|
122
|
+
gotoPage(settings.offset - 1);
|
|
123
|
+
}}
|
|
124
|
+
disabled={disabled || settings.offset === 0}
|
|
125
|
+
>
|
|
126
|
+
{@html buttonTextPrevious}
|
|
127
|
+
</button>
|
|
128
|
+
{/if}
|
|
129
|
+
<!-- Center -->
|
|
130
|
+
{#if showNumerals === false}
|
|
131
|
+
<!-- Details -->
|
|
132
|
+
<button type="button" class="{buttonClasses} pointer-events-none !text-sm">
|
|
133
|
+
{settings.offset * settings.limit + 1}-{Math.min(settings.offset * settings.limit + settings.limit, settings.size)} <span
|
|
134
|
+
class="opacity-50">of {settings.size}</span
|
|
135
|
+
>
|
|
136
|
+
</button>
|
|
137
|
+
{:else}
|
|
138
|
+
<!-- Numeric Row -->
|
|
139
|
+
{#each controlPages as page}
|
|
140
|
+
<button type="button" class="{buttonClasses} {classesButtonActive(page)}" on:click={() => gotoPage(page)}>
|
|
141
|
+
{page >= 0 ? page + 1 : '...'}
|
|
142
|
+
</button>
|
|
143
|
+
{/each}
|
|
144
|
+
{/if}
|
|
145
|
+
<!-- Button: Next -->
|
|
146
|
+
{#if showPreviousNextButtons}
|
|
147
|
+
<button
|
|
148
|
+
type="button"
|
|
149
|
+
class={buttonClasses}
|
|
150
|
+
on:click={() => {
|
|
151
|
+
gotoPage(settings.offset + 1);
|
|
152
|
+
}}
|
|
153
|
+
disabled={disabled || (settings.offset + 1) * settings.limit >= settings.size}
|
|
154
|
+
>
|
|
155
|
+
{@html buttonTextNext}
|
|
156
|
+
</button>
|
|
157
|
+
{/if}
|
|
158
|
+
<!-- Button: last -->
|
|
159
|
+
{#if showFirstLastButtons}
|
|
160
|
+
<button
|
|
161
|
+
type="button"
|
|
162
|
+
class={buttonClasses}
|
|
163
|
+
on:click={() => {
|
|
164
|
+
gotoPage(lastPage);
|
|
165
|
+
}}
|
|
166
|
+
disabled={disabled || (settings.offset + 1) * settings.limit >= settings.size}
|
|
167
|
+
>
|
|
168
|
+
{@html buttonTextLast}
|
|
169
|
+
</button>
|
|
170
|
+
{/if}
|
|
73
171
|
</div>
|
|
74
172
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { PaginationSettings } from '
|
|
2
|
+
import type { PaginationSettings } from '../../index.js';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
@@ -7,23 +7,37 @@ declare const __propDef: {
|
|
|
7
7
|
settings?: PaginationSettings | undefined;
|
|
8
8
|
/** Sets selection and buttons to disabled state on-demand.*/
|
|
9
9
|
disabled?: boolean | undefined;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/** Show Previous and Next buttons.*/
|
|
11
|
+
showPreviousNextButtons?: boolean | undefined;
|
|
12
|
+
/** Show First and Last buttons.*/
|
|
13
|
+
showFirstLastButtons?: boolean | undefined;
|
|
14
|
+
/** Displays a numeric row of page buttons.*/
|
|
15
|
+
showNumerals?: boolean | undefined;
|
|
16
|
+
/** Maximum number of active page siblings in the numeric row.*/
|
|
17
|
+
maxNumerals?: number | undefined;
|
|
12
18
|
/** Provide classes to set flexbox justification.*/
|
|
13
19
|
justify?: string | undefined;
|
|
14
|
-
/** Provide classes to style
|
|
15
|
-
|
|
20
|
+
/** Provide classes to style the select input.*/
|
|
21
|
+
select?: string | undefined;
|
|
16
22
|
/** Set the text for the amount selection input.*/
|
|
17
23
|
amountText?: string | undefined;
|
|
18
|
-
/**
|
|
24
|
+
/** Set the base classes for the control element.*/
|
|
25
|
+
regionControl?: string | undefined;
|
|
26
|
+
/** Provide variant style for the control button group.*/
|
|
27
|
+
controlVariant?: string | undefined;
|
|
28
|
+
/** Provide separator style for the control button group.*/
|
|
29
|
+
controlSeparator?: string | undefined;
|
|
30
|
+
/** Provide arbitrary classes to the active page buttons.*/
|
|
31
|
+
active?: string | undefined;
|
|
32
|
+
/** * Set the base button classes.*/
|
|
19
33
|
buttonClasses?: string | undefined;
|
|
20
|
-
/** Set the
|
|
34
|
+
/** Set the label for the Previous button.*/
|
|
21
35
|
buttonTextPrevious?: string | undefined;
|
|
22
|
-
/** Set the
|
|
36
|
+
/** Set the label for the Next button.*/
|
|
23
37
|
buttonTextNext?: string | undefined;
|
|
24
|
-
/** Set the
|
|
38
|
+
/** Set the label for the First button.*/
|
|
25
39
|
buttonTextFirst?: string | undefined;
|
|
26
|
-
/** Set the
|
|
40
|
+
/** Set the label for the Last button.*/
|
|
27
41
|
buttonTextLast?: string | undefined;
|
|
28
42
|
};
|
|
29
43
|
events: {
|
|
@@ -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"},".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;
|
|
@@ -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;
|
|
@@ -17,7 +17,7 @@ export function popup(triggerNode, args) {
|
|
|
17
17
|
let elemArrow;
|
|
18
18
|
function setDomElements() {
|
|
19
19
|
elemPopup = document.querySelector(`[data-popup="${args.target}"]`) ?? document.createElement('div');
|
|
20
|
-
elemArrow = elemPopup
|
|
20
|
+
elemArrow = elemPopup.querySelector(`.arrow`) ?? document.createElement('div');
|
|
21
21
|
}
|
|
22
22
|
setDomElements(); // init
|
|
23
23
|
// Render Floating UI Popup
|
|
@@ -76,7 +76,7 @@ export function popup(triggerNode, args) {
|
|
|
76
76
|
// https://floating-ui.com/docs/arrow
|
|
77
77
|
if (elemArrow) {
|
|
78
78
|
const { x: arrowX, y: arrowY } = middlewareData.arrow;
|
|
79
|
-
// @ts-
|
|
79
|
+
// @ts-expect-error implicit any
|
|
80
80
|
const staticSide = {
|
|
81
81
|
top: 'bottom',
|
|
82
82
|
right: 'left',
|
|
@@ -173,9 +173,14 @@ 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
|
-
if (triggerMenuFocused &&
|
|
180
|
+
if (triggerMenuFocused &&
|
|
181
|
+
(key === 'ArrowDown' || key === 'Tab') &&
|
|
182
|
+
focusableAllowedList.length > 0 &&
|
|
183
|
+
focusablePopupElements.length > 0) {
|
|
179
184
|
event.preventDefault();
|
|
180
185
|
focusablePopupElements[0].focus();
|
|
181
186
|
}
|
|
@@ -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.
|
|
3
|
+
"version": "1.6.2-dev.30c83e2a",
|
|
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
|
}
|