@skeletonlabs/skeleton 1.6.2-dev.b335917b → 1.6.2-dev.cec7571a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/components/AppRail/AppRailAnchor.svelte +4 -0
  2. package/dist/components/AppRail/AppRailAnchor.svelte.d.ts +4 -0
  3. package/dist/components/AppRail/AppRailTile.svelte +1 -1
  4. package/dist/components/AppRail/AppRailTile.svelte.d.ts +4 -0
  5. package/dist/components/Autocomplete/Autocomplete.svelte +1 -1
  6. package/dist/components/ConicGradient/ConicGradient.svelte +2 -1
  7. package/dist/components/ConicGradient/ConicGradient.svelte.d.ts +2 -0
  8. package/dist/components/ListBox/ListBoxItem.svelte +18 -1
  9. package/dist/components/Paginator/Paginator.svelte +139 -45
  10. package/dist/components/Paginator/Paginator.svelte.d.ts +21 -9
  11. package/dist/components/Paginator/icons.d.ts +4 -0
  12. package/dist/components/Paginator/icons.js +4 -0
  13. package/dist/components/SlideToggle/SlideToggle.svelte +2 -1
  14. package/dist/components/SlideToggle/SlideToggle.svelte.d.ts +3 -1
  15. package/dist/components/Stepper/Step.svelte +13 -3
  16. package/dist/components/Stepper/Step.svelte.d.ts +1 -0
  17. package/dist/components/TableOfContents/TableOfContents.svelte +1 -1
  18. package/dist/styles/all.css +1 -1
  19. package/dist/styles/skeleton.css +1 -1
  20. package/dist/tailwind/generated/intellisense-classes.cjs +1 -1
  21. package/dist/tailwind/generated/intellisense-classes.d.cts +64 -0
  22. package/dist/utilities/Drawer/Drawer.svelte +9 -5
  23. package/dist/utilities/Drawer/Drawer.svelte.d.ts +4 -0
  24. package/dist/utilities/LightSwitch/LightSwitch.svelte +2 -1
  25. package/dist/utilities/Modal/Modal.svelte +15 -3
  26. package/dist/utilities/Modal/Modal.svelte.d.ts +2 -0
  27. package/package.json +2 -2
@@ -32,6 +32,10 @@ function prunedRestProps() {
32
32
  on:keydown
33
33
  on:keyup
34
34
  on:keypress
35
+ on:mouseover
36
+ on:mouseleave
37
+ on:focus
38
+ on:blur
35
39
  data-testid="app-rail-anchor"
36
40
  >
37
41
  <div class="app-rail-wrapper {classesWrapper}">
@@ -17,6 +17,10 @@ declare const __propDef: {
17
17
  keydown: KeyboardEvent;
18
18
  keyup: KeyboardEvent;
19
19
  keypress: KeyboardEvent;
20
+ mouseover: MouseEvent;
21
+ mouseleave: MouseEvent;
22
+ focus: FocusEvent;
23
+ blur: FocusEvent;
20
24
  } & {
21
25
  [evt: string]: CustomEvent<any>;
22
26
  };
@@ -31,7 +31,7 @@ function prunedRestProps() {
31
31
  }
32
32
  </script>
33
33
 
34
- <label class="app-rail-tile {classesBase}" data-testid="app-rail-tile" {title}>
34
+ <label class="app-rail-tile {classesBase}" data-testid="app-rail-tile" {title} on:mouseover on:mouseleave on:focus on:blur>
35
35
  <!-- A11y attributes are not allowed on <label> -->
36
36
  <div class="app-rail-wrapper {classesWrapper}" on:keydown on:keyup on:keypress>
37
37
  <!-- NOTE: Don't use `hidden` as it prevents `required` from operating -->
@@ -19,6 +19,10 @@ declare const __propDef: {
19
19
  spacing?: string | undefined;
20
20
  };
21
21
  events: {
22
+ mouseover: MouseEvent;
23
+ mouseleave: MouseEvent;
24
+ focus: FocusEvent;
25
+ blur: FocusEvent;
22
26
  keydown: KeyboardEvent;
23
27
  keyup: KeyboardEvent;
24
28
  keypress: KeyboardEvent;
@@ -74,7 +74,7 @@ $:
74
74
  {#if optionsFiltered.length > 0}
75
75
  <nav class="autocomplete-nav {classesNav}">
76
76
  <ul class="autocomplete-list {classesList}">
77
- {#each optionsFiltered.slice(0, sliceLimit) as option, i (option)}
77
+ {#each optionsFiltered.slice(0, sliceLimit) as option (option)}
78
78
  <li class="autocomplete-item {classesItem}">
79
79
  <button class="autocomplete-button {classesButton}" type="button" on:click={() => onSelection(option)} on:click on:keypress>
80
80
  {@html option.label}
@@ -5,6 +5,7 @@ export let legend = false;
5
5
  export let spin = false;
6
6
  export let width = "w-24";
7
7
  export let hover = "bg-primary-hover-token";
8
+ export let digits = 0;
8
9
  export let regionCaption = "";
9
10
  export let regionCone = "";
10
11
  export let regionLegend = "";
@@ -32,7 +33,7 @@ function genLegend() {
32
33
  return {
33
34
  label: v.label,
34
35
  color: setColorValue(v.color),
35
- value: v.end - v.start
36
+ value: (v.end - v.start).toFixed(digits)
36
37
  };
37
38
  });
38
39
  }
@@ -13,6 +13,8 @@ declare const __propDef: {
13
13
  width?: string | undefined;
14
14
  /** Style the legend hover effect.*/
15
15
  hover?: string | undefined;
16
+ /** Set the number of digits on the legend values.*/
17
+ digits?: number | undefined;
16
18
  /** Style the caption region above the gradient.*/
17
19
  regionCaption?: string | undefined;
18
20
  /** Style the conic gradient region.*/
@@ -11,6 +11,23 @@ const cBase = "cursor-pointer -outline-offset-[3px]";
11
11
  const cLabel = "flex items-center space-x-4";
12
12
  let checked;
13
13
  let elemInput;
14
+ function areDeeplyEqual(param1, param2) {
15
+ if (param1 === param2)
16
+ return true;
17
+ if (!(param1 instanceof Object) || !(param2 instanceof Object))
18
+ return false;
19
+ const keys1 = Object.keys(param1);
20
+ const keys2 = Object.keys(param2);
21
+ if (keys1.length !== keys2.length)
22
+ return false;
23
+ for (const key of keys1) {
24
+ const value1 = param1[key];
25
+ const value2 = param2[key];
26
+ if (!areDeeplyEqual(value1, value2))
27
+ return false;
28
+ }
29
+ return true;
30
+ }
14
31
  $:
15
32
  if (multiple)
16
33
  updateCheckbox(group);
@@ -41,7 +58,7 @@ function onKeyDown(event) {
41
58
  }
42
59
  }
43
60
  $:
44
- selected = multiple ? group.includes(value) : group === value;
61
+ selected = multiple ? group.some((groupVal) => areDeeplyEqual(value, groupVal)) : areDeeplyEqual(group, value);
45
62
  $:
46
63
  classesActive = selected ? active : hover;
47
64
  $:
@@ -1,40 +1,79 @@
1
1
  <script>import { createEventDispatcher } from "svelte";
2
+ import { leftAngles, leftArrow, rightAngles, rightArrow } from "./icons.js";
2
3
  const dispatch = createEventDispatcher();
3
4
  export let settings = { offset: 0, limit: 5, size: 0, amounts: [1, 2, 5, 10] };
4
5
  export let disabled = false;
6
+ export let showPreviousNextButtons = true;
5
7
  export let showFirstLastButtons = false;
6
- export let select = "select min-w-[150px]";
8
+ export let showNumerals = false;
9
+ export let maxNumerals = 1;
7
10
  export let justify = "justify-between";
8
- export let text = "text-xs";
11
+ export let select = "select min-w-[150px]";
9
12
  export let amountText = "Items";
10
- export let buttonClasses = "btn-icon variant-filled";
11
- export let buttonTextPrevious = "&larr;";
12
- export let buttonTextNext = "&rarr;";
13
- export let buttonTextFirst = "&laquo;";
14
- export let buttonTextLast = "&raquo;";
13
+ export let regionControl = "btn-group";
14
+ export let controlVariant = "variant-filled";
15
+ export let controlSeparator = "";
16
+ export let active = "variant-filled-primary";
17
+ export let buttonClasses = "!px-3 !py-1.5 fill-current";
18
+ export let buttonTextPrevious = leftArrow;
19
+ export let buttonTextNext = rightArrow;
20
+ export let buttonTextFirst = leftAngles;
21
+ export let buttonTextLast = rightAngles;
15
22
  const cBase = "flex flex-col md:flex-row items-center space-y-4 md:space-y-0 md:space-x-4";
16
23
  const cLabel = "w-full md:w-auto";
17
- const cPageText = "whitespace-nowrap";
24
+ let lastPage = Math.ceil(settings.size / settings.limit - 1);
25
+ let controlPages = getNumerals();
18
26
  function onChangeLength() {
19
27
  settings.offset = 0;
20
28
  dispatch("amount", settings.limit);
29
+ lastPage = Math.ceil(settings.size / settings.limit - 1);
30
+ controlPages = getNumerals();
21
31
  }
22
- function onPrev() {
23
- settings.offset--;
24
- dispatch("page", settings.offset);
25
- }
26
- function onNext() {
27
- settings.offset++;
32
+ function gotoPage(page) {
33
+ if (page < 0)
34
+ return;
35
+ settings.offset = page;
28
36
  dispatch("page", settings.offset);
37
+ controlPages = getNumerals();
29
38
  }
30
- function onFirst() {
31
- settings.offset = 0;
32
- dispatch("page", settings.offset);
39
+ function getFullNumerals() {
40
+ const pages = [];
41
+ for (let index = 0; index <= lastPage; index++) {
42
+ pages.push(index);
43
+ }
44
+ return pages;
33
45
  }
34
- function onLast() {
35
- settings.offset = Math.ceil(settings.size / settings.limit - 1);
36
- dispatch("page", settings.offset);
46
+ function getNumerals() {
47
+ const pages = [];
48
+ const isWithinLeftSection = settings.offset < maxNumerals + 2;
49
+ const isWithinRightSection = settings.offset > lastPage - (maxNumerals + 2);
50
+ if (lastPage <= maxNumerals * 2 + 1)
51
+ return getFullNumerals();
52
+ pages.push(0);
53
+ if (!isWithinLeftSection)
54
+ pages.push(-1);
55
+ if (isWithinLeftSection || isWithinRightSection) {
56
+ const sectionStart = isWithinLeftSection ? 1 : lastPage - (maxNumerals + 2);
57
+ const sectionEnd = isWithinRightSection ? lastPage - 1 : maxNumerals + 2;
58
+ for (let i = sectionStart; i <= sectionEnd; i++) {
59
+ pages.push(i);
60
+ }
61
+ } else {
62
+ for (let i = settings.offset - maxNumerals; i <= settings.offset + maxNumerals; i++) {
63
+ pages.push(i);
64
+ }
65
+ }
66
+ if (!isWithinRightSection)
67
+ pages.push(-1);
68
+ pages.push(lastPage);
69
+ return pages;
37
70
  }
71
+ $:
72
+ classesButtonActive = (page) => {
73
+ return page === settings.offset ? `${active} pointer-events-none` : "";
74
+ };
75
+ $:
76
+ maxNumerals, onChangeLength();
38
77
  $:
39
78
  classesBase = `${cBase} ${justify} ${$$props.class ?? ""}`;
40
79
  $:
@@ -42,38 +81,93 @@ $:
42
81
  $:
43
82
  classesSelect = `${select}`;
44
83
  $:
45
- classesPageText = `${cPageText} ${text}`;
84
+ classesControls = `${regionControl} ${controlVariant} ${controlSeparator}`;
46
85
  </script>
47
86
 
48
- <!-- prettier-ignore -->
49
87
  <div class="paginator {classesBase}" data-testid="paginator">
50
88
  <!-- Select Amount -->
51
- <label class="paginator-label {classesLabel}">
52
- <select bind:value={settings.limit} on:change={() => { onChangeLength() }} class="paginator-select {classesSelect}" {disabled} aria-label="Select Amount">
53
- {#each settings.amounts as amount}<option value={amount}>{amount} {amountText}</option>{/each}
54
- </select>
55
- </label>
56
- <!-- Details -->
57
- <span class="paginator-details {classesPageText}">
58
- {settings.offset * settings.limit + 1} - {Math.min(settings.offset * settings.limit + settings.limit, settings.size)} <span class="opacity-50 px-2">/</span> <strong>{settings.size}</strong>
59
- </span>
60
- <!-- Arrows -->
61
- <div class="paginator-arrows space-x-2">
89
+ {#if settings.amounts.length}
90
+ <label class="paginator-label {classesLabel}">
91
+ <select
92
+ bind:value={settings.limit}
93
+ on:change={onChangeLength}
94
+ class="paginator-select {classesSelect}"
95
+ {disabled}
96
+ aria-label="Select Amount"
97
+ >
98
+ {#each settings.amounts as amount}<option value={amount}>{amount} {amountText}</option>{/each}
99
+ </select>
100
+ </label>
101
+ {/if}
102
+ <!-- Controls -->
103
+ <div class="paginator-controls {classesControls}">
104
+ <!-- Button: First -->
62
105
  {#if showFirstLastButtons}
63
- <button type="button" class="{buttonClasses}" on:click={() => { onFirst() }} disabled={disabled || settings.offset === 0}>
64
- {@html buttonTextFirst}
65
- </button>
106
+ <button
107
+ type="button"
108
+ class={buttonClasses}
109
+ on:click={() => {
110
+ gotoPage(0);
111
+ }}
112
+ disabled={disabled || settings.offset === 0}
113
+ >
114
+ {@html buttonTextFirst}
115
+ </button>
116
+ {/if}
117
+ <!-- Button: Back -->
118
+ {#if showPreviousNextButtons}
119
+ <button
120
+ type="button"
121
+ class={buttonClasses}
122
+ on:click={() => {
123
+ gotoPage(settings.offset - 1);
124
+ }}
125
+ disabled={disabled || settings.offset === 0}
126
+ >
127
+ {@html buttonTextPrevious}
128
+ </button>
129
+ {/if}
130
+ <!-- Center -->
131
+ {#if showNumerals === false}
132
+ <!-- Details -->
133
+ <button type="button" class="{buttonClasses} pointer-events-none !text-sm">
134
+ {settings.offset * settings.limit + 1}-{Math.min(settings.offset * settings.limit + settings.limit, settings.size)}&nbsp;<span
135
+ class="opacity-50">of {settings.size}</span
136
+ >
137
+ </button>
138
+ {:else}
139
+ <!-- Numeric Row -->
140
+ {#each controlPages as page}
141
+ <button type="button" class="{buttonClasses} {classesButtonActive(page)}" on:click={() => gotoPage(page)}>
142
+ {page >= 0 ? page + 1 : '...'}
143
+ </button>
144
+ {/each}
145
+ {/if}
146
+ <!-- Button: Next -->
147
+ {#if showPreviousNextButtons}
148
+ <button
149
+ type="button"
150
+ class={buttonClasses}
151
+ on:click={() => {
152
+ gotoPage(settings.offset + 1);
153
+ }}
154
+ disabled={disabled || (settings.offset + 1) * settings.limit >= settings.size}
155
+ >
156
+ {@html buttonTextNext}
157
+ </button>
66
158
  {/if}
67
- <button type="button" class="{buttonClasses}" on:click={() => { onPrev() }} disabled={disabled || settings.offset === 0}>
68
- {@html buttonTextPrevious}
69
- </button>
70
- <button type="button" class="{buttonClasses}" on:click={() => { onNext() }} disabled={disabled || (settings.offset + 1) * settings.limit >= settings.size}>
71
- {@html buttonTextNext}
72
- </button>
159
+ <!-- Button: last -->
73
160
  {#if showFirstLastButtons}
74
- <button type="button" class="{buttonClasses}" on:click={() => { onLast() }} disabled={disabled || (settings.offset + 1) * settings.limit >= settings.size}>
75
- {@html buttonTextLast}
76
- </button>
161
+ <button
162
+ type="button"
163
+ class={buttonClasses}
164
+ on:click={() => {
165
+ gotoPage(lastPage);
166
+ }}
167
+ disabled={disabled || (settings.offset + 1) * settings.limit >= settings.size}
168
+ >
169
+ {@html buttonTextLast}
170
+ </button>
77
171
  {/if}
78
172
  </div>
79
173
  </div>
@@ -7,25 +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
+ /** Show Previous and Next buttons.*/
11
+ showPreviousNextButtons?: boolean | undefined;
10
12
  /** Show First and Last buttons.*/
11
13
  showFirstLastButtons?: boolean | undefined;
12
- /** Provide classes to style the select input.*/
13
- select?: string | 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;
14
18
  /** Provide classes to set flexbox justification.*/
15
19
  justify?: string | undefined;
16
- /** Provide classes to style page info text.*/
17
- text?: string | undefined;
20
+ /** Provide classes to style the select input.*/
21
+ select?: string | undefined;
18
22
  /** Set the text for the amount selection input.*/
19
23
  amountText?: string | undefined;
20
- /** Provide arbitrary classes to the next/previous buttons.*/
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.*/
21
33
  buttonClasses?: string | undefined;
22
- /** Set the text label for the Previous button.*/
34
+ /** Set the label for the Previous button.*/
23
35
  buttonTextPrevious?: string | undefined;
24
- /** Set the text label for the Next button.*/
36
+ /** Set the label for the Next button.*/
25
37
  buttonTextNext?: string | undefined;
26
- /** Set the text label for the First button.*/
38
+ /** Set the label for the First button.*/
27
39
  buttonTextFirst?: string | undefined;
28
- /** Set the text label for the Last button.*/
40
+ /** Set the label for the Last button.*/
29
41
  buttonTextLast?: string | undefined;
30
42
  };
31
43
  events: {
@@ -0,0 +1,4 @@
1
+ export declare const leftArrow = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d=\"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z\"/></svg>";
2
+ export declare const rightArrow = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d=\"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z\"/></svg>";
3
+ export declare const leftAngles = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d=\"M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z\"/></svg>";
4
+ export declare const rightAngles = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d=\"M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z\"/></svg>";
@@ -0,0 +1,4 @@
1
+ export const leftArrow = `<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg>`;
2
+ export const rightArrow = `<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/></svg>`;
3
+ export const leftAngles = `<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"/></svg>`;
4
+ export const rightAngles = `<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"/></svg>`;
@@ -3,6 +3,7 @@ const dispatch = createEventDispatcher();
3
3
  export let name;
4
4
  export let checked = false;
5
5
  export let size = "md";
6
+ export let background = "bg-surface-400 dark:bg-surface-700";
6
7
  export let active = "bg-surface-900 dark:bg-surface-300";
7
8
  export let border = "";
8
9
  export let rounded = "rounded-full";
@@ -30,7 +31,7 @@ function onKeyDown(event) {
30
31
  }
31
32
  }
32
33
  $:
33
- cTrackActive = checked ? active : "bg-surface-400 dark:bg-surface-700 cursor-pointer";
34
+ cTrackActive = checked ? active : `${background} cursor-pointer`;
34
35
  $:
35
36
  cThumbBackground = checked ? "bg-white/75" : "bg-white";
36
37
  $:
@@ -8,7 +8,9 @@ declare const __propDef: {
8
8
  checked?: boolean | undefined;
9
9
  /** Sets the size of the component.*/
10
10
  size?: string | undefined;
11
- /** Provide classes to set the checked state color.*/
11
+ /** Provide classe to set the inactive state background color.*/
12
+ background?: string | undefined;
13
+ /** Provide classes to set the active state background color.*/
12
14
  active?: string | undefined;
13
15
  /** Provide classes to set the border styles.*/
14
16
  border?: string | undefined;
@@ -67,10 +67,19 @@ onDestroy(() => {
67
67
  <!-- Navigation -->
68
68
  {#if $state.total > 1}
69
69
  <div class="step-navigation {classesNavigation}" transition:fade|local={{ duration: 100 }}>
70
- <button type={buttonBackType} class="btn {buttonBack}" on:click={onBack} disabled={$state.current === 0}
71
- >{@html buttonBackLabel}</button
72
- >
70
+ {#if stepIndex === 0 && $$slots.navigation}
71
+ <!-- Slot: Navigation -->
72
+ <div class="step-navigation-slot">
73
+ <slot name="navigation" />
74
+ </div>
75
+ {:else}
76
+ <!-- Button: Back -->
77
+ <button type={buttonBackType} class="btn {buttonBack}" on:click={onBack} disabled={$state.current === 0}>
78
+ {@html buttonBackLabel}
79
+ </button>
80
+ {/if}
73
81
  {#if stepIndex < $state.total - 1}
82
+ <!-- Button: Next -->
74
83
  <button type={buttonNextType} class="btn {buttonNext}" on:click={onNext} disabled={locked}>
75
84
  {#if locked}
76
85
  <svg class="w-3 aspect-square" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
@@ -82,6 +91,7 @@ onDestroy(() => {
82
91
  <span>{@html buttonNextLabel}</span>
83
92
  </button>
84
93
  {:else}
94
+ <!-- Button: Complete -->
85
95
  <button type={buttonCompleteType} class="btn {buttonComplete}" on:click={onComplete} disabled={locked}>
86
96
  {@html buttonCompleteLabel}
87
97
  </button>
@@ -32,6 +32,7 @@ declare const __propDef: {
32
32
  slots: {
33
33
  header: {};
34
34
  default: {};
35
+ navigation: {};
35
36
  };
36
37
  };
37
38
  export type StepProps = typeof __propDef.props;
@@ -92,7 +92,7 @@ $:
92
92
  <div class="toc {classesBase}" transition:fade|local={{ duration: 100 }}>
93
93
  <nav class="toc-list {classesList}">
94
94
  <div class="toc-label {classesLabel}">{label}</div>
95
- {#each filteredHeadingsList as headingElem, i}
95
+ {#each filteredHeadingsList as headingElem}
96
96
  <!-- prettier-ignore -->
97
97
  <li
98
98
  class="toc-list-item {classesListItem} {setHeadingClasses(headingElem)} {headingElem.id === activeHeaderId ? active : ''}"
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* Typography Settings */
21
21
  @import 'partials/typography.css';
22
- @import 'partials/typography-prose.css';
22
+ /* DEPRECATED: 'partials/typography-prose.css' must now be imported directly */
23
23
 
24
24
  /* === REQUIRED STYLESHEETS === */
25
25
 
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* Typography Settings */
21
21
  @import 'partials/typography-next.css';
22
- @import 'partials/typography-prose.css';
22
+ /* DEPRECATED: 'partials/typography-prose.css' must now be imported directly */
23
23
 
24
24
  /* === REQUIRED STYLESHEETS === */
25
25
 
@@ -1 +1 @@
1
- module.exports = {".hide-scrollbar::-webkit-scrollbar":{"display":"none"},".hide-scrollbar":{"msOverflowStyle":"none","scrollbarWidth":"none"},".h2":{"fontSize":"1.5rem","lineHeight":"2rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"2.25rem","lineHeight":"2.5rem"}]},".h3":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".anchor":{"--tw-text-opacity":"1","color":"rgb(var(--color-primary-700) / var(--tw-text-opacity))","textDecorationLine":"underline"},".anchor:hover":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".time":{"fontSize":"0.875rem","lineHeight":"1.25rem","--tw-text-opacity":"1","color":"rgb(var(--color-surface-500) / var(--tw-text-opacity))"},".pre":{"overflowX":"auto","whiteSpace":"pre-wrap","backgroundColor":"rgb(23 23 23 / 0.9)","padding":"1rem","fontFamily":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace","fontSize":"1rem","lineHeight":"1.5rem","--tw-text-opacity":"1","color":"rgb(255 255 255 / var(--tw-text-opacity))","borderRadius":"var(--theme-rounded-container)"},".code":{"whiteSpace":"nowrap","fontFamily":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace","fontSize":"0.75rem","lineHeight":"1rem","--tw-text-opacity":"1","color":"rgb(var(--color-primary-700) / var(--tw-text-opacity))","backgroundColor":"rgb(var(--color-primary-500) / 0.3)","borderRadius":"0.25rem","paddingTop":"0.125rem","paddingBottom":"0.125rem","paddingLeft":"0.25rem","paddingRight":"0.25rem"},".\\!legend":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".legend":{"fontSize":"1.25rem","lineHeight":"1.75rem","fontFamily":"var(--theme-font-family-heading)","@media (min-width: 768px)":[{"fontSize":"1.5rem","lineHeight":"2rem"}]},".label > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".\\!input":{"width":"100%","transitionProperty":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"200ms","backgroundColor":"rgb(var(--color-surface-200))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))","borderRadius":"var(--theme-rounded-base)"},".input,\n\t.textarea,\n\t.select,\n\t.input-group":{"width":"100%","transitionProperty":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"200ms","backgroundColor":"rgb(var(--color-surface-200))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))"},".dark .\\!input":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".\\!input:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".dark .input,.dark \n\t.textarea,.dark \n\t.select,.dark \n\t.input-group":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".input:hover,\n\t.textarea:hover,\n\t.select:hover,\n\t.input-group:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".input:focus,\n\t.textarea:focus,\n\t.select:focus,\n\t.input-group:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input:focus-within":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".input:focus-within,\n\t.textarea:focus-within,\n\t.select:focus-within,\n\t.input-group:focus-within":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".input,\n\t.input-group":{"borderRadius":"var(--theme-rounded-base)"},".textarea,\n\t.select":{"borderRadius":"var(--theme-rounded-container)"},".select > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".select":{"padding":"0.5rem","paddingRight":"2rem"},".select[size]":{"backgroundImage":"none"},".select optgroup > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".select optgroup":{"fontWeight":700},".select optgroup option":{"marginLeft":"0px","paddingLeft":"0px"},".select optgroup option:first-of-type":{"marginTop":"0.75rem"},".select optgroup option:last-child":{"marginBottom":"0.75rem !important"},".select option":{"cursor":"pointer","paddingLeft":"1rem","paddingRight":"1rem","paddingTop":"0.5rem","paddingBottom":"0.5rem","backgroundColor":"rgb(var(--color-surface-200))","borderRadius":"var(--theme-rounded-base)"},".dark .select option":{"backgroundColor":"rgb(var(--color-surface-700))"},".select option:checked":{"background":"rgb(var(--color-primary-500)) linear-gradient(0deg, rgb(var(--color-primary-500)) 0%, rgb(var(--color-primary-500)) 100%)","color":"rgb(var(--on-primary))"},".checkbox,\n\t.radio":{"height":"1.25rem","width":"1.25rem","cursor":"pointer","borderRadius":"0.25rem","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","backgroundColor":"rgb(var(--color-surface-200))","borderWidth":"var(--theme-border-base)","borderColor":"rgb(var(--color-surface-400))"},".dark .checkbox,.dark \n\t.radio":{"backgroundColor":"rgb(var(--color-surface-700))","borderColor":"rgb(var(--color-surface-500))"},".checkbox:hover,\n\t.radio:hover":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".checkbox:focus,\n\t.radio:focus":{"--tw-brightness":"brightness(1.05)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)","--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".checkbox:checked,\n\t.radio:checked":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))"},".checkbox:checked:hover,\n\t.radio:checked:hover":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))"},".checkbox:checked:focus,\n\t.radio:checked:focus":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},".radio":{"borderRadius":"var(--theme-rounded-base)"},".\\!input[type='file']":{"padding":"0.25rem"},".input[type='file']":{"padding":"0.25rem"},".\\!input[type='color']":{"height":"2.5rem","width":"2.5rem","cursor":"pointer","overflow":"hidden","borderStyle":"none","borderRadius":"var(--theme-rounded-base)","WebkitAppearance":"none !important"},".input[type='color']":{"height":"2.5rem","width":"2.5rem","cursor":"pointer","overflow":"hidden","borderStyle":"none","borderRadius":"var(--theme-rounded-base)","WebkitAppearance":"none"},".\\!input[type='color']::-webkit-color-swatch-wrapper":{"padding":"0px"},".input[type='color']::-webkit-color-swatch-wrapper":{"padding":"0px"},".\\!input[type='color']::-webkit-color-swatch":{"borderStyle":"none"},".\\!input[type='color']:hover::-webkit-color-swatch":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".input[type='color']::-webkit-color-swatch":{"borderStyle":"none"},".input[type='color']:hover::-webkit-color-swatch":{"--tw-brightness":"brightness(1.1)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".\\!input[type='color']::-moz-color-swatch":{"borderStyle":"none"},".input[type='color']::-moz-color-swatch":{"borderStyle":"none"},".\\!input:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".\\!input:disabled:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input:disabled,\n\t.textarea:disabled,\n\t.select:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".input:disabled:hover,\n\t.textarea:disabled:hover,\n\t.select:disabled:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".\\!input[readonly]":{"cursor":"not-allowed !important","borderWidth":"0px !important"},".\\!input[readonly]:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input[readonly],\n\t.textarea[readonly],\n\t.select[readonly]":{"cursor":"not-allowed !important","borderWidth":"0px !important"},".input[readonly]:hover,\n\t.textarea[readonly]:hover,\n\t.select[readonly]:hover":{"--tw-brightness":"brightness(1) !important","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important"},".input-error":{"--tw-border-opacity":"1 !important","borderColor":"rgb(var(--color-error-500) / var(--tw-border-opacity)) !important","--tw-bg-opacity":"1 !important","backgroundColor":"rgb(var(--color-error-200) / var(--tw-bg-opacity)) !important","--tw-text-opacity":"1 !important","color":"rgb(var(--color-error-500) / var(--tw-text-opacity)) !important"},".input-error::-moz-placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".input-error:-ms-input-placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".input-error::placeholder":{"--tw-text-opacity":"1","color":"rgb(var(--color-error-500) / var(--tw-text-opacity))"},".alert":{"display":"flex","flexDirection":"column","alignItems":"flex-start","padding":"1rem","color":"rgb(var(--color-surface-900))","borderRadius":"var(--theme-rounded-container)","@media (min-width: 1024px)":[{"flexDirection":"row","alignItems":"center"}]},".alert > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(1rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(1rem * var(--tw-space-y-reverse))","@media (min-width: 1024px)":[{"--tw-space-y-reverse":"0","marginTop":"calc(0px * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0px * var(--tw-space-y-reverse))","--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"}]},".dark .alert":{"color":"rgb(var(--color-surface-50))"},".badge":{"display":"inline-flex","alignItems":"center","justifyContent":"center","whiteSpace":"nowrap","fontSize":"0.75rem","lineHeight":"1rem","fontWeight":600,"paddingLeft":"0.5rem","paddingRight":"0.5rem","paddingTop":"0.25rem","paddingBottom":"0.25rem","borderRadius":"var(--theme-rounded-base)"},".badge > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn":{"fontSize":"1rem","lineHeight":"1.5rem","paddingLeft":"1.25rem","paddingRight":"1.25rem","paddingTop":"9px","paddingBottom":"9px","whiteSpace":"nowrap","textAlign":"center","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms","borderRadius":"var(--theme-rounded-base)"},".btn > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn:active":{"--tw-scale-x":"95%","--tw-scale-y":"95%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-brightness":"brightness(.9)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-sm":{"paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"0.375rem","paddingBottom":"0.375rem","fontSize":"0.875rem","lineHeight":"1.25rem"},".btn-icon":{"fontSize":"1rem","lineHeight":"1.5rem","paddingLeft":"1.25rem","paddingRight":"1.25rem","paddingTop":"9px","paddingBottom":"9px","whiteSpace":"nowrap","textAlign":"center","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms","padding":"0px","aspectRatio":"1 / 1","width":"43px","borderRadius":"9999px"},".btn-icon > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".btn-icon:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-icon:active":{"--tw-scale-x":"95%","--tw-scale-y":"95%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-brightness":"brightness(.9)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".btn-icon-sm":{"aspectRatio":"1 / 1","width":"33px","fontSize":"0.875rem","lineHeight":"1.25rem"},".codeblock pre":{"counterReset":"line"},".codeblock code.lineNumbers > span.line":{"counterIncrement":"line"},".codeblock code.lineNumbers > span.line::before":{"content":"counter(line) ''","opacity":0.5},".chip":{"cursor":"pointer","whiteSpace":"nowrap","paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"0.375rem","paddingBottom":"0.375rem","textAlign":"center","fontSize":"0.75rem","lineHeight":"1rem","borderRadius":"0.25rem","display":"inline-flex","alignItems":"center","justifyContent":"center","transitionProperty":"all","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms"},".chip > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(0.5rem * var(--tw-space-x-reverse))","marginLeft":"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},".chip:hover":{"--tw-brightness":"brightness(1.15)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".chip-disabled,\n\t.chip:disabled":{"cursor":"not-allowed !important","opacity":"0.5 !important"},".chip-disabled:active,\n\t.chip:disabled:active":{"--tw-scale-x":"1","--tw-scale-y":"1","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".list,\n\t.list-dl,\n\t.list-nav ul":{"listStyleType":"none"},".list > :not([hidden]) ~ :not([hidden]),\n\t.list-dl > :not([hidden]) ~ :not([hidden]),\n\t.list-nav ul > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","marginTop":"calc(0.25rem * calc(1 - var(--tw-space-y-reverse)))","marginBottom":"calc(0.25rem * var(--tw-space-y-reverse))"},".list li":{"display":"flex","alignItems":"center","borderRadius":"var(--theme-rounded-base)","whiteSpace":"normal","overflowWrap":"break-word"},".list li > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"},".list-nav a,\n\t.list-nav button,\n\t.list-option":{"display":"flex","alignItems":"center","whiteSpace":"nowrap","paddingLeft":"1rem","paddingRight":"1rem","paddingTop":"0.5rem","paddingBottom":"0.5rem","outline":"2px solid transparent","outlineOffset":"2px","cursor":"pointer","borderRadius":"var(--theme-rounded-base)"},".list-nav a > :not([hidden]) ~ :not([hidden]),\n\t.list-nav button > :not([hidden]) ~ :not([hidden]),\n\t.list-option > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","marginRight":"calc(1rem * var(--tw-space-x-reverse))","marginLeft":"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"},".list-nav a:hover,\n\t.list-nav button:hover,\n\t.list-option:hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".dark .list-nav a:hover,.dark \n\t.list-nav button:hover,.dark \n\t.list-option:hover":{"backgroundColor":"rgb(var(--color-primary-200) / 0.1)"},".list-nav a:focus,\n\t.list-nav button:focus,\n\t.list-option:focus":{"backgroundColor":"rgb(var(--color-primary-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-primary-700))"},".dark .list-nav a:focus,.dark \n\t.list-nav button:focus,.dark \n\t.list-option:focus":{"color":"rgb(var(--color-primary-200))"},".placeholder":{"height":"1.25rem","backgroundColor":"rgb(var(--color-surface-300))","borderRadius":"var(--theme-rounded-base)"},".dark .placeholder":{"backgroundColor":"rgb(var(--color-surface-600))"},".table-container":{"width":"100%","overflowX":"auto","borderRadius":"var(--theme-rounded-container)"},".dark .table":{"backgroundColor":"rgb(var(--color-surface-800))"},".table-interactive tbody tr":{"cursor":"pointer"},".table-interactive tbody tr:hover:hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".dark .table-interactive tbody tr:hover:hover":{"backgroundColor":"rgb(var(--color-primary-200) / 0.1)"},".table-interactive tbody tr:hover:nth-child(even):hover":{"backgroundColor":"rgb(var(--color-primary-500) / 0.1)"},".dark .table-interactive tbody tr:hover:nth-child(even):hover":{"backgroundColor":"rgb(var(--color-primary-200) / 0.1)"},".table-sort-asc::after":{"opacity":0.5,"--tw-content":"'↑' !important","content":"var(--tw-content) !important"},".table-sort-dsc::after":{"opacity":0.5,"--tw-content":"'↓' !important","content":"var(--tw-content) !important"},".table thead":{"borderBottomWidth":"1px","borderColor":"rgb(var(--color-surface-500) / 0.2)","backgroundColor":"rgb(var(--color-surface-200))"},".dark .table thead":{"backgroundColor":"rgb(var(--color-surface-700))"},".table thead tr":{"textAlign":"left","textTransform":"capitalize"},".table thead th":{"padding":"1rem","fontWeight":700},".table tbody tr":{"borderBottomWidth":"1px","borderColor":"rgb(var(--color-surface-500) / 0.2)"},".table tbody tr:nth-child(even)":{"backgroundColor":"rgb(var(--color-surface-500) / 0.05)"},".table tbody td":{"whiteSpace":"nowrap","paddingLeft":"0.75rem","paddingRight":"0.75rem","paddingTop":"1rem","paddingBottom":"1rem","verticalAlign":"top","fontSize":"0.875rem","lineHeight":"1.25rem","@media (min-width: 1024px)":[{"whiteSpace":"normal"}]},".table tfoot":{"backgroundColor":"rgb(var(--color-surface-100))"},".dark .table tfoot":{"backgroundColor":"rgb(var(--color-surface-800))"},".table tfoot tr":{"textAlign":"left","textTransform":"capitalize"},".table tfoot th,\n\t.table tfoot td":{"padding":"1rem"},".variant-filled":{"backgroundColor":"rgb(var(--color-surface-900))","color":"rgb(var(--color-surface-50))"},".dark .variant-filled":{"backgroundColor":"rgb(var(--color-surface-50))","color":"rgb(var(--color-surface-900))"},".variant-filled-primary":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-primary-500) / var(--tw-bg-opacity))","color":"rgb(var(--on-primary))"},".variant-filled-secondary":{"--tw-bg-opacity":"1","backgroundColor":"rgb(var(--color-secondary-500) / var(--tw-bg-opacity))","color":"rgb(var(--on-secondary))"},".variant-filled-surface":{"backgroundColor":"rgb(var(--color-surface-400))","color":"rgb(var(--on-surface))"},".dark .variant-filled-surface":{"backgroundColor":"rgb(var(--color-surface-500))"},".variant-ghost,\n\t.variant-ghost-surface":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-inset":"inset","--tw-ring-opacity":"1","--tw-ring-color":"rgb(var(--color-surface-500) / var(--tw-ring-opacity))","backgroundColor":"rgb(var(--color-surface-500) / 0.2)"},".variant-soft,\n\t.variant-soft-surface":{"backgroundColor":"rgb(var(--color-surface-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-surface-700))"},".dark .variant-soft,.dark \n\t.variant-soft-surface":{"color":"rgb(var(--color-surface-200))"},".z-\\[1\\]":{"zIndex":1},".z-\\[888\\]":{"zIndex":888},".z-\\[999\\]":{"zIndex":999},".-mt-\\[15px\\]":{"marginTop":"-15px"},".mt-\\[15px\\]":{"marginTop":"15px"},".h-\\[50\\%\\]":{"height":"50%"},".max-h-\\[200px\\]":{"maxHeight":"200px"},".w-\\[240px\\]":{"width":"240px"},".w-\\[50\\%\\]":{"width":"50%"},".w-\\[70\\%\\]":{"width":"70%"},".w-\\[90\\%\\]":{"width":"90%"},".min-w-\\[150px\\]":{"minWidth":"150px"},".max-w-\\[640px\\]":{"maxWidth":"640px"},".origin-\\[50\\%_50\\%\\]":{"transformOrigin":"50% 50%"},".translate-x-\\[100\\%\\]":{"--tw-translate-x":"100%","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".scale-\\[0\\.8\\]":{"--tw-scale-x":"0.8","--tw-scale-y":"0.8","transform":"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},".grid-cols-\\[auto_1fr_auto\\]":{"gridTemplateColumns":"auto 1fr auto"},".grid-rows-\\[auto_1fr_auto\\]":{"gridTemplateRows":"auto 1fr auto"},".border-primary-500":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-primary-500) / var(--tw-border-opacity))"},".border-secondary-500":{"--tw-border-opacity":"1","borderColor":"rgb(var(--color-secondary-500) / var(--tw-border-opacity))"},".fill-primary-500":{"fill":"rgb(var(--color-primary-500) / 1)"},".fill-surface-50":{"fill":"rgb(var(--color-surface-50) / 1)"},".fill-surface-900":{"fill":"rgb(var(--color-surface-900) / 1)"},".stroke-surface-300":{"stroke":"rgb(var(--color-surface-300) / 1)"},".stroke-surface-500\\/30":{"stroke":"rgb(var(--color-surface-500) / 0.3)"},".stroke-surface-900":{"stroke":"rgb(var(--color-surface-900) / 1)"},".\\!text-white":{"--tw-text-opacity":"1 !important","color":"rgb(255 255 255 / var(--tw-text-opacity)) !important"},".text-primary-500":{"--tw-text-opacity":"1","color":"rgb(var(--color-primary-500) / var(--tw-text-opacity))"},".text-surface-50":{"--tw-text-opacity":"1","color":"rgb(var(--color-surface-50) / var(--tw-text-opacity))"},".accent-surface-900":{"accentColor":"rgb(var(--color-surface-900) / 1)"},".-outline-offset-\\[3px\\]":{"outlineOffset":"-3px"},".\\!ring-0":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important"},".ring-\\[1px\\]":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},".ring-surface-500\\/30":{"--tw-ring-color":"rgb(var(--color-surface-500) / 0.3)"},".transition-\\[stroke-dashoffset\\]":{"transitionProperty":"stroke-dashoffset","transitionTimingFunction":"cubic-bezier(0.4, 0, 0.2, 1)","transitionDuration":"150ms"},".duration-\\[200ms\\]":{"transitionDuration":"200ms"},".hover\\:variant-soft:hover":{"backgroundColor":"rgb(var(--color-surface-400) / 0.2)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important","boxShadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important","color":"rgb(var(--color-surface-700))"},".dark .hover\\:variant-soft:hover":{"color":"rgb(var(--color-surface-200))"},".hover\\:brightness-\\[105\\%\\]:hover":{"--tw-brightness":"brightness(105%)","filter":"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},".disabled\\:\\!opacity-0:disabled":{"opacity":"0 !important"},".w-modal-slim":{"width":"100%","maxWidth":"400px"},".w-modal":{"width":"100%","maxWidth":"640px"},".w-modal-wide":{"width":"100%","maxWidth":"80%"}}
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
  };
@@ -790,6 +838,22 @@ declare const _exports: {
790
838
  ".stroke-surface-900": {
791
839
  stroke: string;
792
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
+ };
793
857
  ".\\!text-white": {
794
858
  "--tw-text-opacity": string;
795
859
  color: string;
@@ -86,10 +86,13 @@ function applyAnimationSettings() {
86
86
  break;
87
87
  }
88
88
  }
89
- function onBackdropInteraction(event) {
90
- if (event.target === elemBackdrop)
89
+ function onDrawerInteraction(event) {
90
+ if (event.target === elemBackdrop) {
91
91
  drawerStore.close();
92
- dispatch("backdrop", event);
92
+ dispatch("backdrop", event);
93
+ } else {
94
+ dispatch("drawer", event);
95
+ }
93
96
  }
94
97
  function onKeydownWindow(event) {
95
98
  if (!$drawerStore)
@@ -125,8 +128,9 @@ $:
125
128
  bind:this={elemBackdrop}
126
129
  class="drawer-backdrop {classesBackdrop}"
127
130
  data-testid="drawer-backdrop"
128
- on:mousedown={onBackdropInteraction}
129
- on:touchstart={onBackdropInteraction}
131
+ on:mousedown={onDrawerInteraction}
132
+ on:touchstart
133
+ on:touchend
130
134
  on:keypress
131
135
  transition:fade|local={{ duration }}
132
136
  use:focusTrap={true}
@@ -36,9 +36,13 @@ declare const __propDef: {
36
36
  describedby?: string | undefined;
37
37
  };
38
38
  events: {
39
+ touchstart: TouchEvent;
40
+ touchend: TouchEvent;
39
41
  keypress: KeyboardEvent;
40
42
  /** {{ event }} backdrop - Fires on backdrop interaction.*/
41
43
  backdrop: CustomEvent<any>;
44
+ /** {{ event }} drawer - Fires on drawer interaction.*/
45
+ drawer: CustomEvent<any>;
42
46
  } & {
43
47
  [evt: string]: CustomEvent<any>;
44
48
  };
@@ -49,7 +49,8 @@ $:
49
49
  </script>
50
50
 
51
51
  <svelte:head>
52
- {@html `<script nonce="%sveltekit.nonce%">(${setInitialClassState.toString()})();</script>`}
52
+ <!-- Workaround for a svelte parsing error: https://github.com/sveltejs/eslint-plugin-svelte/issues/492 -->
53
+ {@html `<\u{73}cript nonce="%sveltekit.nonce%">(${setInitialClassState.toString()})();</script>`}
53
54
  </svelte:head>
54
55
 
55
56
  <div
@@ -37,6 +37,7 @@ const buttonTextDefaults = {
37
37
  buttonTextSubmit
38
38
  };
39
39
  let currentComponent;
40
+ let registeredInteractionWithBackdrop = false;
40
41
  modalStore.subscribe((modals) => {
41
42
  if (!modals.length)
42
43
  return;
@@ -47,16 +48,25 @@ modalStore.subscribe((modals) => {
47
48
  buttonTextSubmit = modals[0].buttonTextSubmit || buttonTextDefaults.buttonTextSubmit;
48
49
  currentComponent = typeof modals[0].component === "string" ? components[modals[0].component] : modals[0].component;
49
50
  });
50
- function onBackdropInteraction(event) {
51
+ function onBackdropInteractionBegin(event) {
51
52
  if (!(event.target instanceof Element))
52
53
  return;
53
54
  const classList = event.target.classList;
54
55
  if (classList.contains("modal-backdrop") || classList.contains("modal-transition")) {
56
+ registeredInteractionWithBackdrop = true;
57
+ }
58
+ }
59
+ function onBackdropInteractionEnd(event) {
60
+ if (!(event.target instanceof Element))
61
+ return;
62
+ const classList = event.target.classList;
63
+ if ((classList.contains("modal-backdrop") || classList.contains("modal-transition")) && registeredInteractionWithBackdrop) {
55
64
  if ($modalStore[0].response)
56
65
  $modalStore[0].response(void 0);
57
66
  modalStore.close();
58
67
  dispatch("backdrop", event);
59
68
  }
69
+ registeredInteractionWithBackdrop = false;
60
70
  }
61
71
  function onClose() {
62
72
  if ($modalStore[0].response)
@@ -128,8 +138,10 @@ $:
128
138
  <div
129
139
  class="modal-backdrop {classesBackdrop}"
130
140
  data-testid="modal-backdrop"
131
- on:mousedown={onBackdropInteraction}
132
- on:touchstart={onBackdropInteraction}
141
+ on:mousedown={onBackdropInteractionBegin}
142
+ on:mouseup={onBackdropInteractionEnd}
143
+ on:touchstart
144
+ on:touchend
133
145
  transition:fade={{ duration }}
134
146
  use:focusTrap={true}
135
147
  >
@@ -51,6 +51,8 @@ declare const __propDef: {
51
51
  regionFooter?: string | undefined;
52
52
  };
53
53
  events: {
54
+ touchstart: TouchEvent;
55
+ touchend: TouchEvent;
54
56
  /** {{ event }} backdrop - Fires on backdrop interaction.*/
55
57
  backdrop: CustomEvent<any>;
56
58
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton",
3
- "version": "1.6.2-dev.b335917b",
3
+ "version": "1.6.2-dev.cec7571a",
4
4
  "description": "A SvelteKit component library.",
5
5
  "author": "endigo9740 <chris@skeletonlabs.dev>",
6
6
  "repository": {
@@ -41,7 +41,7 @@
41
41
  "autoprefixer": "10.4.14",
42
42
  "eslint": "8.37.0",
43
43
  "eslint-config-prettier": "8.8.0",
44
- "eslint-plugin-svelte3": "4.0.0",
44
+ "eslint-plugin-svelte": "^2.29.0",
45
45
  "jsdom": "21.1.1",
46
46
  "postcss": "8.4.21",
47
47
  "postcss-import": "15.1.0",