@selvajs/ui 6.6.0-beta.17 → 6.6.0-beta.19

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 (221) hide show
  1. package/dist/components/ErrorScreen.svelte +1 -1
  2. package/dist/components/compute/AppLayout.svelte +2 -2
  3. package/dist/components/compute/ComputeApp.svelte +1 -1
  4. package/dist/components/compute/ComputeApp.svelte.d.ts +1 -1
  5. package/dist/components/compute/ComputeMessagesDialog.svelte +3 -3
  6. package/dist/components/compute/SolveMessages.svelte +3 -3
  7. package/dist/components/layout/AppShell.svelte +1 -1
  8. package/dist/components/layout/FooterItemRenderer.svelte +1 -1
  9. package/dist/components/layout/FooterItemRenderer.svelte.d.ts +1 -1
  10. package/dist/components/layout/PageContent.svelte +3 -2
  11. package/dist/components/layout/PageFooter.svelte +3 -3
  12. package/dist/components/layout/PageHeader.svelte +2 -2
  13. package/dist/components/preview/ChartOutput.svelte +3 -3
  14. package/dist/components/preview/Group.svelte +3 -3
  15. package/dist/components/preview/HelpButton.svelte +1 -1
  16. package/dist/components/preview/ImageOutput.svelte +3 -3
  17. package/dist/components/preview/InputControl.svelte +12 -12
  18. package/dist/components/preview/OutputDisplay.svelte +4 -4
  19. package/dist/components/preview/TabBar.svelte +2 -2
  20. package/dist/components/preview/TabContent.svelte +7 -7
  21. package/dist/components/preview/TabLayout.svelte +3 -3
  22. package/dist/components/preview/inputs/CheckboxInput.svelte +1 -1
  23. package/dist/components/preview/inputs/ChecklistInput.svelte +2 -2
  24. package/dist/components/preview/inputs/ColorInput.svelte +6 -6
  25. package/dist/components/preview/inputs/DropdownInput.svelte +3 -3
  26. package/dist/components/preview/inputs/FileInput.svelte +14 -9
  27. package/dist/components/preview/inputs/GeometryInput.svelte +4 -4
  28. package/dist/components/preview/inputs/GeometryInput.svelte.d.ts +1 -1
  29. package/dist/components/preview/inputs/NumberInput.svelte +8 -8
  30. package/dist/components/preview/inputs/OptionGlyph.svelte +1 -1
  31. package/dist/components/preview/inputs/OptionGlyph.svelte.d.ts +1 -1
  32. package/dist/components/preview/inputs/SegmentedInput.svelte +4 -4
  33. package/dist/components/preview/inputs/TextInput.svelte +5 -5
  34. package/dist/components/preview/inputs/TileInput.svelte +5 -3
  35. package/dist/components/primitives/CalculateButton.svelte +1 -1
  36. package/dist/components/primitives/FilterableDropdown.svelte +13 -1
  37. package/dist/components/primitives/FilterableDropdown.svelte.d.ts +5 -0
  38. package/dist/components/primitives/button/button.svelte +1 -1
  39. package/dist/components/primitives/button/button.svelte.d.ts +1 -1
  40. package/dist/components/primitives/dialog/dialog-content.svelte +1 -1
  41. package/dist/components/primitives/input-group/input-group-input.svelte.d.ts +1 -1
  42. package/dist/components/primitives/mode-toggle/mode-toggle.svelte +2 -2
  43. package/dist/components/primitives/select/select-content.svelte +1 -1
  44. package/dist/components/primitives/tabs/tabs-list.svelte +1 -1
  45. package/dist/components/primitives/tabs/tabs-list.svelte.d.ts +3 -3
  46. package/dist/components/primitives/tabs/tabs-trigger.svelte +1 -1
  47. package/dist/components/primitives/tabs/tabs-trigger.svelte.d.ts +3 -3
  48. package/dist/components/primitives/toggle/toggle.svelte +1 -1
  49. package/dist/components/primitives/toggle/toggle.svelte.d.ts +3 -3
  50. package/dist/components/viewer/MeshMetadataPanel.svelte +1 -1
  51. package/dist/components/viewer/SceneManager.svelte +1 -1
  52. package/dist/components/viewer/Viewer.svelte +3 -35
  53. package/dist/components/viewer/Viewer.svelte.d.ts +1 -1
  54. package/dist/components/viewer/ViewerDock.svelte +10 -10
  55. package/dist/components/viewer/ViewerDock.svelte.d.ts +1 -1
  56. package/dist/composables/useFooterItem.svelte.d.ts +1 -1
  57. package/dist/composables/useFooterItem.svelte.js +1 -1
  58. package/dist/constants.js +1 -2
  59. package/dist/contexts/hostContext.svelte.d.ts +1 -1
  60. package/dist/index.d.ts +1 -0
  61. package/dist/index.js +1 -0
  62. package/dist/styles/base.css +49 -44
  63. package/package.json +17 -12
  64. package/src/lib/components/ErrorScreen.svelte +1 -1
  65. package/src/lib/components/compute/AppLayout.svelte +3 -3
  66. package/src/lib/components/compute/ComputeApp.svelte +1 -1
  67. package/src/lib/components/compute/ComputeMessagesDialog.svelte +4 -4
  68. package/src/lib/components/compute/SolveMessages.svelte +5 -5
  69. package/src/lib/components/layout/AppShell.svelte +1 -1
  70. package/src/lib/components/layout/FooterItemRenderer.svelte +1 -1
  71. package/src/lib/components/layout/PageContent.svelte +3 -2
  72. package/src/lib/components/layout/PageFooter.svelte +3 -3
  73. package/src/lib/components/layout/PageHeader.svelte +2 -2
  74. package/src/lib/components/layout/SideNav.svelte +1 -1
  75. package/src/lib/components/preview/ChartOutput.svelte +3 -3
  76. package/src/lib/components/preview/Group.svelte +3 -3
  77. package/src/lib/components/preview/HelpButton.svelte +1 -1
  78. package/src/lib/components/preview/ImageOutput.svelte +3 -3
  79. package/src/lib/components/preview/InputControl.svelte +12 -12
  80. package/src/lib/components/preview/OutputDisplay.svelte +4 -4
  81. package/src/lib/components/preview/TabBar.svelte +2 -2
  82. package/src/lib/components/preview/TabContent.svelte +7 -7
  83. package/src/lib/components/preview/TabLayout.svelte +3 -3
  84. package/src/lib/components/preview/inputs/CheckboxInput.svelte +1 -1
  85. package/src/lib/components/preview/inputs/ChecklistInput.svelte +2 -2
  86. package/src/lib/components/preview/inputs/ColorInput.svelte +6 -6
  87. package/src/lib/components/preview/inputs/DropdownInput.svelte +3 -3
  88. package/src/lib/components/preview/inputs/FileInput.svelte +14 -9
  89. package/src/lib/components/preview/inputs/GeometryInput.svelte +4 -4
  90. package/src/lib/components/preview/inputs/NumberInput.svelte +8 -8
  91. package/src/lib/components/preview/inputs/OptionGlyph.svelte +2 -2
  92. package/src/lib/components/preview/inputs/SegmentedInput.svelte +4 -4
  93. package/src/lib/components/preview/inputs/TextInput.svelte +5 -5
  94. package/src/lib/components/preview/inputs/TileInput.svelte +5 -3
  95. package/src/lib/components/primitives/CalculateButton.svelte +1 -1
  96. package/src/lib/components/primitives/Callout.svelte +1 -1
  97. package/src/lib/components/primitives/FilterableDropdown.svelte +14 -2
  98. package/src/lib/components/primitives/IssueList.svelte +1 -1
  99. package/src/lib/components/primitives/SeverityIcon.svelte +1 -1
  100. package/src/lib/components/primitives/StateDisplay.svelte +1 -1
  101. package/src/lib/components/primitives/alert-dialog/alert-dialog-action.svelte +2 -2
  102. package/src/lib/components/primitives/alert-dialog/alert-dialog-cancel.svelte +2 -2
  103. package/src/lib/components/primitives/alert-dialog/alert-dialog-content.svelte +1 -1
  104. package/src/lib/components/primitives/alert-dialog/alert-dialog-description.svelte +1 -1
  105. package/src/lib/components/primitives/alert-dialog/alert-dialog-footer.svelte +1 -1
  106. package/src/lib/components/primitives/alert-dialog/alert-dialog-header.svelte +1 -1
  107. package/src/lib/components/primitives/alert-dialog/alert-dialog-overlay.svelte +1 -1
  108. package/src/lib/components/primitives/alert-dialog/alert-dialog-title.svelte +1 -1
  109. package/src/lib/components/primitives/badge/badge.svelte +1 -1
  110. package/src/lib/components/primitives/button/button.svelte +1 -1
  111. package/src/lib/components/primitives/button-group/button-group-separator.svelte +2 -2
  112. package/src/lib/components/primitives/button-group/button-group-text.svelte +1 -1
  113. package/src/lib/components/primitives/button-group/button-group.svelte +1 -1
  114. package/src/lib/components/primitives/card/card-content.svelte +1 -1
  115. package/src/lib/components/primitives/card/card-description.svelte +1 -1
  116. package/src/lib/components/primitives/card/card-footer.svelte +1 -1
  117. package/src/lib/components/primitives/card/card-header.svelte +1 -1
  118. package/src/lib/components/primitives/card/card-title.svelte +1 -1
  119. package/src/lib/components/primitives/card/card.svelte +1 -1
  120. package/src/lib/components/primitives/checkbox/checkbox.svelte +1 -1
  121. package/src/lib/components/primitives/command/command-dialog.svelte +2 -2
  122. package/src/lib/components/primitives/command/command-empty.svelte +1 -1
  123. package/src/lib/components/primitives/command/command-group.svelte +1 -1
  124. package/src/lib/components/primitives/command/command-input.svelte +2 -2
  125. package/src/lib/components/primitives/command/command-item.svelte +1 -1
  126. package/src/lib/components/primitives/command/command-link-item.svelte +1 -1
  127. package/src/lib/components/primitives/command/command-list.svelte +1 -1
  128. package/src/lib/components/primitives/command/command-separator.svelte +1 -1
  129. package/src/lib/components/primitives/command/command-shortcut.svelte +1 -1
  130. package/src/lib/components/primitives/command/command.svelte +1 -1
  131. package/src/lib/components/primitives/context-menu/context-menu-checkbox-item.svelte +1 -1
  132. package/src/lib/components/primitives/context-menu/context-menu-content.svelte +1 -1
  133. package/src/lib/components/primitives/context-menu/context-menu-group-heading.svelte +1 -1
  134. package/src/lib/components/primitives/context-menu/context-menu-item.svelte +1 -1
  135. package/src/lib/components/primitives/context-menu/context-menu-label.svelte +1 -1
  136. package/src/lib/components/primitives/context-menu/context-menu-radio-item.svelte +1 -1
  137. package/src/lib/components/primitives/context-menu/context-menu-separator.svelte +1 -1
  138. package/src/lib/components/primitives/context-menu/context-menu-shortcut.svelte +1 -1
  139. package/src/lib/components/primitives/context-menu/context-menu-sub-content.svelte +1 -1
  140. package/src/lib/components/primitives/context-menu/context-menu-sub-trigger.svelte +1 -1
  141. package/src/lib/components/primitives/dialog/dialog-content.svelte +2 -2
  142. package/src/lib/components/primitives/dialog/dialog-description.svelte +1 -1
  143. package/src/lib/components/primitives/dialog/dialog-footer.svelte +1 -1
  144. package/src/lib/components/primitives/dialog/dialog-header.svelte +1 -1
  145. package/src/lib/components/primitives/dialog/dialog-overlay.svelte +1 -1
  146. package/src/lib/components/primitives/dialog/dialog-title.svelte +1 -1
  147. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
  148. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-content.svelte +1 -1
  149. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-group-heading.svelte +1 -1
  150. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-item.svelte +1 -1
  151. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-label.svelte +1 -1
  152. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
  153. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-separator.svelte +1 -1
  154. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-shortcut.svelte +1 -1
  155. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
  156. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
  157. package/src/lib/components/primitives/empty/empty-content.svelte +1 -1
  158. package/src/lib/components/primitives/empty/empty-description.svelte +1 -1
  159. package/src/lib/components/primitives/empty/empty-header.svelte +1 -1
  160. package/src/lib/components/primitives/empty/empty-media.svelte +1 -1
  161. package/src/lib/components/primitives/empty/empty-title.svelte +1 -1
  162. package/src/lib/components/primitives/empty/empty.svelte +1 -1
  163. package/src/lib/components/primitives/field/field-content.svelte +1 -1
  164. package/src/lib/components/primitives/field/field-description.svelte +1 -1
  165. package/src/lib/components/primitives/field/field-error.svelte +1 -1
  166. package/src/lib/components/primitives/field/field-group.svelte +1 -1
  167. package/src/lib/components/primitives/field/field-label.svelte +2 -2
  168. package/src/lib/components/primitives/field/field-legend.svelte +1 -1
  169. package/src/lib/components/primitives/field/field-separator.svelte +2 -2
  170. package/src/lib/components/primitives/field/field-set.svelte +1 -1
  171. package/src/lib/components/primitives/field/field-title.svelte +1 -1
  172. package/src/lib/components/primitives/field/field.svelte +1 -1
  173. package/src/lib/components/primitives/input/input.svelte +1 -1
  174. package/src/lib/components/primitives/input-group/input-group-addon.svelte +1 -1
  175. package/src/lib/components/primitives/input-group/input-group-button.svelte +2 -2
  176. package/src/lib/components/primitives/input-group/input-group-input.svelte +2 -2
  177. package/src/lib/components/primitives/input-group/input-group-text.svelte +1 -1
  178. package/src/lib/components/primitives/input-group/input-group-textarea.svelte +2 -2
  179. package/src/lib/components/primitives/input-group/input-group.svelte +1 -1
  180. package/src/lib/components/primitives/label/label.svelte +1 -1
  181. package/src/lib/components/primitives/mode-toggle/mode-toggle.svelte +2 -2
  182. package/src/lib/components/primitives/popover/popover-content.svelte +1 -1
  183. package/src/lib/components/primitives/popover/popover-description.svelte +1 -1
  184. package/src/lib/components/primitives/popover/popover-header.svelte +1 -1
  185. package/src/lib/components/primitives/popover/popover-title.svelte +1 -1
  186. package/src/lib/components/primitives/popover/popover-trigger.svelte +1 -1
  187. package/src/lib/components/primitives/resizable/resizable-handle.svelte +1 -1
  188. package/src/lib/components/primitives/resizable/resizable-pane-group.svelte +1 -1
  189. package/src/lib/components/primitives/scroll-area/scroll-area-scrollbar.svelte +1 -1
  190. package/src/lib/components/primitives/scroll-area/scroll-area.svelte +1 -1
  191. package/src/lib/components/primitives/search/search.svelte +1 -1
  192. package/src/lib/components/primitives/select/select-content.svelte +2 -2
  193. package/src/lib/components/primitives/select/select-group-heading.svelte +1 -1
  194. package/src/lib/components/primitives/select/select-item.svelte +1 -1
  195. package/src/lib/components/primitives/select/select-label.svelte +1 -1
  196. package/src/lib/components/primitives/select/select-scroll-down-button.svelte +1 -1
  197. package/src/lib/components/primitives/select/select-scroll-up-button.svelte +1 -1
  198. package/src/lib/components/primitives/select/select-separator.svelte +2 -2
  199. package/src/lib/components/primitives/select/select-trigger.svelte +1 -1
  200. package/src/lib/components/primitives/separator/separator.svelte +1 -1
  201. package/src/lib/components/primitives/slider/slider.svelte +1 -1
  202. package/src/lib/components/primitives/spinner/spinner.svelte +1 -1
  203. package/src/lib/components/primitives/switch/switch.svelte +1 -1
  204. package/src/lib/components/primitives/tabs/tabs-content.svelte +1 -1
  205. package/src/lib/components/primitives/tabs/tabs-list.svelte +2 -2
  206. package/src/lib/components/primitives/tabs/tabs-trigger.svelte +2 -2
  207. package/src/lib/components/primitives/tabs/tabs.svelte +1 -1
  208. package/src/lib/components/primitives/textarea/textarea.svelte +1 -1
  209. package/src/lib/components/primitives/toggle/toggle.svelte +2 -2
  210. package/src/lib/components/primitives/toggle-group/toggle-group-item.svelte +2 -2
  211. package/src/lib/components/primitives/toggle-group/toggle-group.svelte +2 -2
  212. package/src/lib/components/primitives/tooltip/tooltip-content.svelte +1 -1
  213. package/src/lib/components/viewer/MeshMetadataPanel.svelte +1 -1
  214. package/src/lib/components/viewer/SceneManager.svelte +1 -1
  215. package/src/lib/components/viewer/Viewer.svelte +4 -36
  216. package/src/lib/components/viewer/ViewerDock.svelte +11 -11
  217. package/src/lib/composables/useFooterItem.svelte.ts +1 -1
  218. package/src/lib/constants.ts +1 -2
  219. package/src/lib/contexts/hostContext.svelte.ts +1 -1
  220. package/src/lib/index.ts +1 -0
  221. package/src/lib/styles/base.css +49 -44
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { DropdownWidgetConfig, SupportedTypes, UISchema } from '@selvajs/schemas';
3
- import { optionGlyph } from '$lib/schema/option-display';
3
+ import { optionGlyph } from '#lib/schema/option-display.js';
4
4
  import OptionGlyph from './OptionGlyph.svelte';
5
5
 
6
6
  interface Props {
@@ -52,11 +52,13 @@
52
52
  onclick={() => onChange(option.value)}
53
53
  onkeydown={(e) => onKeydown(e, index)}
54
54
  class="gap-1.5 p-1.5 min-w-0 flex flex-col rounded-lg border text-left transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 {selected
55
- ? 'border-primary bg-primary/5 ring-1 ring-primary'
55
+ ? 'border-primary bg-primary/10 ring-1 ring-primary'
56
56
  : 'border-input hover:bg-hover'}"
57
57
  >
58
58
  <span
59
- class="flex aspect-square w-full items-center justify-center overflow-hidden rounded-md bg-muted text-muted-foreground"
59
+ class="flex aspect-square w-full items-center justify-center overflow-hidden rounded-md bg-muted {selected
60
+ ? 'text-foreground'
61
+ : 'text-muted-foreground'}"
60
62
  >
61
63
  {#if glyph?.kind === 'image'}
62
64
  <OptionGlyph {glyph} class="size-full" />
@@ -55,7 +55,7 @@
55
55
  <Loader class="h-4 w-4 animate-spin" />
56
56
  {t.solvingEllipsis}
57
57
  <kbd
58
- class="px-1 font-sans rounded-sm border border-current/30 text-2xs opacity-70"
58
+ class="px-1 rounded-sm border border-current/30 font-sans text-2xs opacity-70"
59
59
  title={t.solveMessagesEscHint}
60
60
  >
61
61
  Esc
@@ -31,7 +31,7 @@
31
31
  <script lang="ts">
32
32
  import type { HTMLAttributes } from 'svelte/elements';
33
33
  import type { Snippet } from 'svelte';
34
- import { cn } from '$lib/utils.js';
34
+ import { cn } from '#lib/utils.js';
35
35
 
36
36
  interface Props extends HTMLAttributes<HTMLDivElement> {
37
37
  tone?: CalloutTone;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import type { Component } from 'svelte';
3
3
  import { ChevronDown } from '@lucide/svelte';
4
- import { cn } from '$lib/utils.js';
4
+ import { cn } from '#lib/utils.js';
5
5
  import { buttonVariants } from './button';
6
6
  import * as Popover from './popover';
7
7
  import * as Command from './command';
@@ -11,6 +11,7 @@
11
11
  label: string;
12
12
  icon?: Component;
13
13
  iconClass?: string;
14
+ disabled?: boolean;
14
15
  }
15
16
 
16
17
  interface Props {
@@ -24,6 +25,10 @@
24
25
  /** Above this many items the list gets a filter box. */
25
26
  searchThreshold?: number;
26
27
  disabled?: boolean;
28
+ /** Submits the picked id with a plain <form>, like a native select's name. */
29
+ name?: string;
30
+ size?: 'default' | 'sm';
31
+ 'aria-label'?: string;
27
32
  class?: string;
28
33
  }
29
34
 
@@ -37,6 +42,9 @@
37
42
  searchPlaceholder = 'Filter...',
38
43
  searchThreshold = 4,
39
44
  disabled = false,
45
+ name,
46
+ size = 'default',
47
+ 'aria-label': ariaLabel,
40
48
  class: className
41
49
  }: Props = $props();
42
50
 
@@ -51,14 +59,17 @@
51
59
  }
52
60
  </script>
53
61
 
62
+ {#if name}<input type="hidden" {name} value={value ?? ''} />{/if}
63
+
54
64
  <Popover.Root bind:open>
55
65
  <Popover.Trigger
56
66
  {id}
57
67
  {disabled}
58
68
  role="combobox"
59
69
  aria-expanded={open}
70
+ aria-label={ariaLabel}
60
71
  class={cn(
61
- buttonVariants({ variant: 'outline' }),
72
+ buttonVariants({ variant: 'outline', size }),
62
73
  'font-normal w-full justify-start',
63
74
  className
64
75
  )}
@@ -85,6 +96,7 @@
85
96
  value={item.id}
86
97
  keywords={[item.label]}
87
98
  data-checked={item.id === value}
99
+ disabled={item.disabled}
88
100
  onSelect={() => pick(item)}
89
101
  >
90
102
  {#if ItemIcon}
@@ -14,7 +14,7 @@
14
14
  </script>
15
15
 
16
16
  <script lang="ts">
17
- import { cn } from '$lib/utils.js';
17
+ import { cn } from '#lib/utils.js';
18
18
  import SeverityIcon from './SeverityIcon.svelte';
19
19
 
20
20
  interface Props {
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn } from '$lib/utils.js';
2
+ import { cn } from '#lib/utils.js';
3
3
  import { SEVERITY_ICON, SEVERITY_TEXT, type Severity } from './severity';
4
4
 
5
5
  interface Props {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Inbox } from '@lucide/svelte';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
  import * as Empty from './empty';
5
5
  import { Spinner } from './spinner';
6
6
  import SeverityIcon from './SeverityIcon.svelte';
@@ -4,8 +4,8 @@
4
4
  buttonVariants,
5
5
  type ButtonSize,
6
6
  type ButtonVariant
7
- } from '$lib/components/primitives/button/index.js';
8
- import { cn } from '$lib/utils.js';
7
+ } from '#lib/components/primitives/button/index.js';
8
+ import { cn } from '#lib/utils.js';
9
9
 
10
10
  let {
11
11
  ref = $bindable(null),
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
3
- import { buttonVariants } from '$lib/components/primitives/button/index.js';
4
- import { cn } from '$lib/utils.js';
3
+ import { buttonVariants } from '#lib/components/primitives/button/index.js';
4
+ import { cn } from '#lib/utils.js';
5
5
 
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
3
3
  import AlertDialogOverlay from './alert-dialog-overlay.svelte';
4
- import { cn, type WithoutChild, type WithoutChildrenOrChild } from '$lib/utils.js';
4
+ import { cn, type WithoutChild, type WithoutChildrenOrChild } from '#lib/utils.js';
5
5
 
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { HTMLAttributes } from 'svelte/elements';
3
- import { cn, type WithElementRef } from '$lib/utils.js';
3
+ import { cn, type WithElementRef } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -23,7 +23,7 @@
23
23
 
24
24
  <script lang="ts">
25
25
  import type { HTMLAnchorAttributes } from 'svelte/elements';
26
- import { cn, type WithElementRef } from '$lib/utils.js';
26
+ import { cn, type WithElementRef } from '#lib/utils.js';
27
27
 
28
28
  let {
29
29
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" module>
2
- import { cn, type WithElementRef } from '$lib/utils';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAnchorAttributes, HTMLButtonAttributes } from 'svelte/elements';
4
4
  import { type VariantProps, tv } from 'tailwind-variants';
5
5
 
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { cn } from '$lib/utils.js';
2
+ import { cn } from '#lib/utils.js';
3
3
  import type { ComponentProps } from 'svelte';
4
- import { Separator } from '$lib/components/primitives/separator/index.js';
4
+ import { Separator } from '#lib/components/primitives/separator/index.js';
5
5
 
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
  import type { Snippet } from 'svelte';
5
5
 
@@ -20,7 +20,7 @@
20
20
  </script>
21
21
 
22
22
  <script lang="ts">
23
- import { cn, type WithElementRef } from '$lib/utils.js';
23
+ import { cn, type WithElementRef } from '#lib/utils.js';
24
24
  import type { HTMLAttributes } from 'svelte/elements';
25
25
 
26
26
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { HTMLAttributes } from 'svelte/elements';
3
- import { cn, type WithElementRef } from '$lib/utils.js';
3
+ import { cn, type WithElementRef } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { HTMLAttributes } from 'svelte/elements';
3
- import { cn, type WithElementRef } from '$lib/utils.js';
3
+ import { cn, type WithElementRef } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { HTMLAttributes } from 'svelte/elements';
3
- import { cn, type WithElementRef } from '$lib/utils.js';
3
+ import { cn, type WithElementRef } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -18,7 +18,7 @@
18
18
 
19
19
  <script lang="ts">
20
20
  import type { HTMLAttributes } from 'svelte/elements';
21
- import { cn, type WithElementRef } from '$lib/utils.js';
21
+ import { cn, type WithElementRef } from '#lib/utils.js';
22
22
 
23
23
  let {
24
24
  ref = $bindable(null),
@@ -2,7 +2,7 @@
2
2
  import { Checkbox as CheckboxPrimitive } from 'bits-ui';
3
3
  import CheckIcon from '@lucide/svelte/icons/check';
4
4
  import MinusIcon from '@lucide/svelte/icons/minus';
5
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
5
+ import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
6
6
 
7
7
  let {
8
8
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
- import * as Dialog from '$lib/components/primitives/dialog/index.js';
3
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
2
+ import * as Dialog from '#lib/components/primitives/dialog/index.js';
3
+ import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
4
4
  import Command from './command.svelte';
5
5
  import type { Command as CommandPrimitive, Dialog as DialogPrimitive } from 'bits-ui';
6
6
  import type { Snippet } from 'svelte';
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Command as CommandPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Command as CommandPrimitive, useId } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
2
  import { Command as CommandPrimitive } from 'bits-ui';
3
- import * as InputGroup from '$lib/components/primitives/input-group/index.js';
3
+ import * as InputGroup from '#lib/components/primitives/input-group/index.js';
4
4
  import SearchIcon from '@lucide/svelte/icons/search';
5
- import { cn } from '$lib/utils.js';
5
+ import { cn } from '#lib/utils.js';
6
6
 
7
7
  let {
8
8
  ref = $bindable(null),
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { Command as CommandPrimitive } from 'bits-ui';
3
3
  import CheckIcon from '@lucide/svelte/icons/check';
4
- import { cn } from '$lib/utils.js';
4
+ import { cn } from '#lib/utils.js';
5
5
 
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Command as CommandPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Command as CommandPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Command as CommandPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Command as CommandPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  export type CommandRootApi = CommandPrimitive.Root;
6
6
 
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
3
3
  import CheckIcon from '@lucide/svelte/icons/check';
4
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
4
+ import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
5
5
  import type { Snippet } from 'svelte';
6
6
 
7
7
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
3
3
  import CircleIcon from '@lucide/svelte/icons/circle';
4
- import { cn, type WithoutChild } from '$lib/utils.js';
4
+ import { cn, type WithoutChild } from '#lib/utils.js';
5
5
 
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
3
3
  import ChevronRightIcon from '@lucide/svelte/icons/chevron-right';
4
- import { cn, type WithoutChild } from '$lib/utils.js';
4
+ import { cn, type WithoutChild } from '#lib/utils.js';
5
5
 
6
6
  let {
7
7
  ref = $bindable(null),
@@ -3,8 +3,8 @@
3
3
  import XIcon from '@lucide/svelte/icons/x';
4
4
  import type { Snippet } from 'svelte';
5
5
  import * as Dialog from './index.js';
6
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
7
- import { getLocaleContext } from '$lib/i18n/localeContext.svelte';
6
+ import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
7
+ import { getLocaleContext } from '#lib/i18n/localeContext.svelte.js';
8
8
 
9
9
  let {
10
10
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Dialog as DialogPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { HTMLAttributes } from 'svelte/elements';
3
- import { cn, type WithElementRef } from '$lib/utils.js';
3
+ import { cn, type WithElementRef } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Dialog as DialogPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Dialog as DialogPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -2,7 +2,7 @@
2
2
  import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
3
3
  import MinusIcon from '@lucide/svelte/icons/minus';
4
4
  import CheckIcon from '@lucide/svelte/icons/check';
5
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
5
+ import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
6
6
  import type { Snippet } from 'svelte';
7
7
 
8
8
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
3
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
3
+ import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
4
4
  import DropdownMenuPortal from './dropdown-menu-portal.svelte';
5
5
  import type { ComponentProps } from 'svelte';
6
6
 
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
  import type { ComponentProps } from 'svelte';
5
5
 
6
6
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
 
5
5
  let {
6
6
  ref = $bindable(null),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { cn, type WithElementRef } from '#lib/utils.js';
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
3
3
  import CheckIcon from '@lucide/svelte/icons/check';
4
- import { cn, type WithoutChild } from '$lib/utils.js';
4
+ import { cn, type WithoutChild } from '#lib/utils.js';
5
5
 
6
6
  let {
7
7
  ref = $bindable(null),