@skeletonlabs/skeleton 1.6.2-dev.78adc512 → 1.6.2-dev.78ea8a06

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.
@@ -1,6 +1,6 @@
1
1
  <script>import { getContext } from "svelte";
2
2
  export let selected = false;
3
- export let regionLead = "";
3
+ export let regionLead = "flex justify-center items-center";
4
4
  export let regionLabel = "";
5
5
  export let hover = getContext("hover");
6
6
  export let active = getContext("active");
@@ -2,6 +2,7 @@
2
2
  export let group;
3
3
  export let name;
4
4
  export let value;
5
+ export let title = "";
5
6
  export let regionLead = "";
6
7
  export let regionLabel = "";
7
8
  export let hover = getContext("hover");
@@ -30,7 +31,7 @@ function prunedRestProps() {
30
31
  }
31
32
  </script>
32
33
 
33
- <label class="app-rail-tile {classesBase}" data-testid="app-rail-tile">
34
+ <label class="app-rail-tile {classesBase}" data-testid="app-rail-tile" {title}>
34
35
  <!-- A11y attributes are not allowed on <label> -->
35
36
  <div class="app-rail-wrapper {classesWrapper}" on:keydown on:keyup on:keypress>
36
37
  <!-- NOTE: Don't use `hidden` as it prevents `required` from operating -->
@@ -8,6 +8,8 @@ declare const __propDef: {
8
8
  name: string;
9
9
  /** Set the input's value.*/
10
10
  value: any;
11
+ /** Provide a hoverable title attribute for the tile.*/
12
+ title?: string | undefined;
11
13
  /** Provide arbitrary classes to style the lead region.*/
12
14
  regionLead?: string | undefined;
13
15
  /** Provide arbitrary classes to style the label region.*/
@@ -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.*/
@@ -2,39 +2,77 @@
2
2
  const dispatch = createEventDispatcher();
3
3
  export let settings = { offset: 0, limit: 5, size: 0, amounts: [1, 2, 5, 10] };
4
4
  export let disabled = false;
5
+ export let showPreviousNextButtons = true;
5
6
  export let showFirstLastButtons = false;
6
- export let select = "select min-w-[150px]";
7
+ export let showNumerals = false;
8
+ export let maxNumerals = 1;
7
9
  export let justify = "justify-between";
8
- export let text = "text-xs";
10
+ export let select = "select min-w-[150px]";
9
11
  export let amountText = "Items";
10
- export let buttonClasses = "btn-icon variant-filled";
12
+ export let regionControl = "btn-group";
13
+ export let controlVariant = "variant-filled";
14
+ export let controlSeparator = "";
15
+ export let active = "variant-filled-primary";
16
+ export let buttonClasses = "!px-3 !py-1.5";
11
17
  export let buttonTextPrevious = "&larr;";
12
18
  export let buttonTextNext = "&rarr;";
13
19
  export let buttonTextFirst = "&laquo;";
14
20
  export let buttonTextLast = "&raquo;";
15
21
  const cBase = "flex flex-col md:flex-row items-center space-y-4 md:space-y-0 md:space-x-4";
16
22
  const cLabel = "w-full md:w-auto";
17
- const cPageText = "whitespace-nowrap";
23
+ let lastPage = Math.ceil(settings.size / settings.limit - 1);
24
+ let controlPages = getNumerals();
18
25
  function onChangeLength() {
19
26
  settings.offset = 0;
20
27
  dispatch("amount", settings.limit);
28
+ lastPage = Math.ceil(settings.size / settings.limit - 1);
29
+ controlPages = getNumerals();
21
30
  }
22
- function onPrev() {
23
- settings.offset--;
24
- dispatch("page", settings.offset);
25
- }
26
- function onNext() {
27
- settings.offset++;
31
+ function gotoPage(page) {
32
+ if (page < 0)
33
+ return;
34
+ settings.offset = page;
28
35
  dispatch("page", settings.offset);
36
+ controlPages = getNumerals();
29
37
  }
30
- function onFirst() {
31
- settings.offset = 0;
32
- dispatch("page", settings.offset);
38
+ function getFullNumerals() {
39
+ const pages = [];
40
+ for (let index = 0; index <= lastPage; index++) {
41
+ pages.push(index);
42
+ }
43
+ return pages;
33
44
  }
34
- function onLast() {
35
- settings.offset = Math.ceil(settings.size / settings.limit - 1);
36
- dispatch("page", settings.offset);
45
+ function getNumerals() {
46
+ const pages = [];
47
+ const isWithinLeftSection = settings.offset < maxNumerals + 2;
48
+ const isWithinRightSection = settings.offset > lastPage - (maxNumerals + 2);
49
+ if (lastPage <= maxNumerals * 2 + 1)
50
+ return getFullNumerals();
51
+ pages.push(0);
52
+ if (!isWithinLeftSection)
53
+ pages.push(-1);
54
+ if (isWithinLeftSection || isWithinRightSection) {
55
+ const sectionStart = isWithinLeftSection ? 1 : lastPage - (maxNumerals + 2);
56
+ const sectionEnd = isWithinRightSection ? lastPage - 1 : maxNumerals + 2;
57
+ for (let i = sectionStart; i <= sectionEnd; i++) {
58
+ pages.push(i);
59
+ }
60
+ } else {
61
+ for (let i = settings.offset - maxNumerals; i <= settings.offset + maxNumerals; i++) {
62
+ pages.push(i);
63
+ }
64
+ }
65
+ if (!isWithinRightSection)
66
+ pages.push(-1);
67
+ pages.push(lastPage);
68
+ return pages;
37
69
  }
70
+ $:
71
+ classesButtonActive = (page) => {
72
+ return page === settings.offset ? `${active} pointer-events-none` : "";
73
+ };
74
+ $:
75
+ maxNumerals, onChangeLength();
38
76
  $:
39
77
  classesBase = `${cBase} ${justify} ${$$props.class ?? ""}`;
40
78
  $:
@@ -42,38 +80,93 @@ $:
42
80
  $:
43
81
  classesSelect = `${select}`;
44
82
  $:
45
- classesPageText = `${cPageText} ${text}`;
83
+ classesControls = `${regionControl} ${controlVariant} ${controlSeparator}`;
46
84
  </script>
47
85
 
48
- <!-- prettier-ignore -->
49
86
  <div class="paginator {classesBase}" data-testid="paginator">
50
87
  <!-- 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">
88
+ {#if settings.amounts.length}
89
+ <label class="paginator-label {classesLabel}">
90
+ <select
91
+ bind:value={settings.limit}
92
+ on:change={onChangeLength}
93
+ class="paginator-select {classesSelect}"
94
+ {disabled}
95
+ aria-label="Select Amount"
96
+ >
97
+ {#each settings.amounts as amount}<option value={amount}>{amount} {amountText}</option>{/each}
98
+ </select>
99
+ </label>
100
+ {/if}
101
+ <!-- Controls -->
102
+ <div class="paginator-controls {classesControls}">
103
+ <!-- Button: First -->
62
104
  {#if showFirstLastButtons}
63
- <button type="button" class="{buttonClasses}" on:click={() => { onFirst() }} disabled={disabled || settings.offset === 0}>
64
- {@html buttonTextFirst}
65
- </button>
105
+ <button
106
+ type="button"
107
+ class={buttonClasses}
108
+ on:click={() => {
109
+ gotoPage(0);
110
+ }}
111
+ disabled={disabled || settings.offset === 0}
112
+ >
113
+ {@html buttonTextFirst}
114
+ </button>
115
+ {/if}
116
+ <!-- Button: Back -->
117
+ {#if showPreviousNextButtons}
118
+ <button
119
+ type="button"
120
+ class={buttonClasses}
121
+ on:click={() => {
122
+ gotoPage(settings.offset - 1);
123
+ }}
124
+ disabled={disabled || settings.offset === 0}
125
+ >
126
+ {@html buttonTextPrevious}
127
+ </button>
128
+ {/if}
129
+ <!-- Center -->
130
+ {#if showNumerals === false}
131
+ <!-- Details -->
132
+ <button type="button" class="{buttonClasses} pointer-events-none !text-sm">
133
+ {settings.offset * settings.limit + 1}-{Math.min(settings.offset * settings.limit + settings.limit, settings.size)}&nbsp;<span
134
+ class="opacity-50">of {settings.size}</span
135
+ >
136
+ </button>
137
+ {:else}
138
+ <!-- Numeric Row -->
139
+ {#each controlPages as page}
140
+ <button type="button" class="{buttonClasses} {classesButtonActive(page)}" on:click={() => gotoPage(page)}>
141
+ {page >= 0 ? page + 1 : '...'}
142
+ </button>
143
+ {/each}
144
+ {/if}
145
+ <!-- Button: Next -->
146
+ {#if showPreviousNextButtons}
147
+ <button
148
+ type="button"
149
+ class={buttonClasses}
150
+ on:click={() => {
151
+ gotoPage(settings.offset + 1);
152
+ }}
153
+ disabled={disabled || (settings.offset + 1) * settings.limit >= settings.size}
154
+ >
155
+ {@html buttonTextNext}
156
+ </button>
66
157
  {/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>
158
+ <!-- Button: last -->
73
159
  {#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>
160
+ <button
161
+ type="button"
162
+ class={buttonClasses}
163
+ on:click={() => {
164
+ gotoPage(lastPage);
165
+ }}
166
+ disabled={disabled || (settings.offset + 1) * settings.limit >= settings.size}
167
+ >
168
+ {@html buttonTextLast}
169
+ </button>
77
170
  {/if}
78
171
  </div>
79
172
  </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: {
@@ -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;
@@ -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
  };
@@ -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.78adc512",
3
+ "version": "1.6.2-dev.78ea8a06",
4
4
  "description": "A SvelteKit component library.",
5
5
  "author": "endigo9740 <chris@skeletonlabs.dev>",
6
6
  "repository": {
@@ -70,7 +70,10 @@
70
70
  },
71
71
  "./styles/*": "./dist/styles/*",
72
72
  "./themes/*": "./dist/themes/*",
73
- "./tailwind/skeleton.cjs": "./dist/tailwind/skeleton.cjs"
73
+ "./tailwind/skeleton.cjs": {
74
+ "types": "./dist/tailwind/skeleton.cts",
75
+ "default": "./dist/tailwind/skeleton.cjs"
76
+ }
74
77
  },
75
78
  "files": [
76
79
  "./dist/**/*.svelte",
@@ -83,16 +86,6 @@
83
86
  "./dist/themes/*",
84
87
  "!./dist/**/*.test.*"
85
88
  ],
86
- "typesVersions": {
87
- ">4.0": {
88
- "index": [
89
- "./dist/index.d.ts"
90
- ],
91
- "tailwind/skeleton.cjs": [
92
- "./dist/tailwind/skeleton.d.cts"
93
- ]
94
- }
95
- },
96
89
  "scripts": {
97
90
  "dev": "vite dev",
98
91
  "build": "vite build",
@@ -106,5 +99,15 @@
106
99
  "coverage": "vitest run --coverage",
107
100
  "sync": "svelte-kit sync",
108
101
  "build:jss": "node ./scripts/generate-jss.js --package"
102
+ },
103
+ "typesVersions": {
104
+ ">4.0": {
105
+ "index.d.ts": [
106
+ "./dist/index.d.ts"
107
+ ],
108
+ "tailwind/skeleton.cjs": [
109
+ "./dist/tailwind/skeleton.d.cts"
110
+ ]
111
+ }
109
112
  }
110
113
  }