@selvajs/ui 6.6.0-beta.18 → 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 (204) 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/FooterItemRenderer.svelte +1 -1
  8. package/dist/components/layout/FooterItemRenderer.svelte.d.ts +1 -1
  9. package/dist/components/layout/PageFooter.svelte +3 -3
  10. package/dist/components/layout/PageHeader.svelte +1 -1
  11. package/dist/components/preview/ChartOutput.svelte +3 -3
  12. package/dist/components/preview/Group.svelte +1 -1
  13. package/dist/components/preview/HelpButton.svelte +1 -1
  14. package/dist/components/preview/ImageOutput.svelte +3 -3
  15. package/dist/components/preview/InputControl.svelte +9 -9
  16. package/dist/components/preview/OutputDisplay.svelte +4 -4
  17. package/dist/components/preview/TabBar.svelte +2 -2
  18. package/dist/components/preview/TabContent.svelte +6 -6
  19. package/dist/components/preview/TabLayout.svelte +3 -3
  20. package/dist/components/preview/inputs/CheckboxInput.svelte +1 -1
  21. package/dist/components/preview/inputs/ChecklistInput.svelte +2 -2
  22. package/dist/components/preview/inputs/ColorInput.svelte +6 -6
  23. package/dist/components/preview/inputs/DropdownInput.svelte +3 -3
  24. package/dist/components/preview/inputs/FileInput.svelte +14 -9
  25. package/dist/components/preview/inputs/GeometryInput.svelte +4 -4
  26. package/dist/components/preview/inputs/GeometryInput.svelte.d.ts +1 -1
  27. package/dist/components/preview/inputs/NumberInput.svelte +8 -8
  28. package/dist/components/preview/inputs/OptionGlyph.svelte +1 -1
  29. package/dist/components/preview/inputs/OptionGlyph.svelte.d.ts +1 -1
  30. package/dist/components/preview/inputs/SegmentedInput.svelte +2 -2
  31. package/dist/components/preview/inputs/TextInput.svelte +5 -5
  32. package/dist/components/preview/inputs/TileInput.svelte +1 -1
  33. package/dist/components/primitives/CalculateButton.svelte +1 -1
  34. package/dist/components/primitives/button/button.svelte +1 -1
  35. package/dist/components/primitives/button/button.svelte.d.ts +1 -1
  36. package/dist/components/primitives/dialog/dialog-content.svelte +1 -1
  37. package/dist/components/primitives/input-group/input-group-input.svelte.d.ts +1 -1
  38. package/dist/components/primitives/mode-toggle/mode-toggle.svelte +2 -2
  39. package/dist/components/primitives/select/select-content.svelte +1 -1
  40. package/dist/components/viewer/MeshMetadataPanel.svelte +1 -1
  41. package/dist/components/viewer/SceneManager.svelte +1 -1
  42. package/dist/components/viewer/Viewer.svelte +3 -35
  43. package/dist/components/viewer/Viewer.svelte.d.ts +1 -1
  44. package/dist/components/viewer/ViewerDock.svelte +1 -1
  45. package/dist/components/viewer/ViewerDock.svelte.d.ts +1 -1
  46. package/dist/composables/useFooterItem.svelte.d.ts +1 -1
  47. package/dist/composables/useFooterItem.svelte.js +1 -1
  48. package/dist/constants.js +1 -2
  49. package/dist/contexts/hostContext.svelte.d.ts +1 -1
  50. package/package.json +16 -12
  51. package/src/lib/components/ErrorScreen.svelte +1 -1
  52. package/src/lib/components/compute/AppLayout.svelte +3 -3
  53. package/src/lib/components/compute/ComputeApp.svelte +1 -1
  54. package/src/lib/components/compute/ComputeMessagesDialog.svelte +4 -4
  55. package/src/lib/components/compute/SolveMessages.svelte +5 -5
  56. package/src/lib/components/layout/FooterItemRenderer.svelte +1 -1
  57. package/src/lib/components/layout/PageFooter.svelte +3 -3
  58. package/src/lib/components/layout/PageHeader.svelte +1 -1
  59. package/src/lib/components/layout/SideNav.svelte +1 -1
  60. package/src/lib/components/preview/ChartOutput.svelte +3 -3
  61. package/src/lib/components/preview/Group.svelte +1 -1
  62. package/src/lib/components/preview/HelpButton.svelte +1 -1
  63. package/src/lib/components/preview/ImageOutput.svelte +3 -3
  64. package/src/lib/components/preview/InputControl.svelte +9 -9
  65. package/src/lib/components/preview/OutputDisplay.svelte +4 -4
  66. package/src/lib/components/preview/TabBar.svelte +2 -2
  67. package/src/lib/components/preview/TabContent.svelte +6 -6
  68. package/src/lib/components/preview/TabLayout.svelte +3 -3
  69. package/src/lib/components/preview/inputs/CheckboxInput.svelte +1 -1
  70. package/src/lib/components/preview/inputs/ChecklistInput.svelte +2 -2
  71. package/src/lib/components/preview/inputs/ColorInput.svelte +6 -6
  72. package/src/lib/components/preview/inputs/DropdownInput.svelte +3 -3
  73. package/src/lib/components/preview/inputs/FileInput.svelte +14 -9
  74. package/src/lib/components/preview/inputs/GeometryInput.svelte +4 -4
  75. package/src/lib/components/preview/inputs/NumberInput.svelte +8 -8
  76. package/src/lib/components/preview/inputs/OptionGlyph.svelte +2 -2
  77. package/src/lib/components/preview/inputs/SegmentedInput.svelte +2 -2
  78. package/src/lib/components/preview/inputs/TextInput.svelte +5 -5
  79. package/src/lib/components/preview/inputs/TileInput.svelte +1 -1
  80. package/src/lib/components/primitives/CalculateButton.svelte +1 -1
  81. package/src/lib/components/primitives/Callout.svelte +1 -1
  82. package/src/lib/components/primitives/FilterableDropdown.svelte +1 -1
  83. package/src/lib/components/primitives/IssueList.svelte +1 -1
  84. package/src/lib/components/primitives/SeverityIcon.svelte +1 -1
  85. package/src/lib/components/primitives/StateDisplay.svelte +1 -1
  86. package/src/lib/components/primitives/alert-dialog/alert-dialog-action.svelte +2 -2
  87. package/src/lib/components/primitives/alert-dialog/alert-dialog-cancel.svelte +2 -2
  88. package/src/lib/components/primitives/alert-dialog/alert-dialog-content.svelte +1 -1
  89. package/src/lib/components/primitives/alert-dialog/alert-dialog-description.svelte +1 -1
  90. package/src/lib/components/primitives/alert-dialog/alert-dialog-footer.svelte +1 -1
  91. package/src/lib/components/primitives/alert-dialog/alert-dialog-header.svelte +1 -1
  92. package/src/lib/components/primitives/alert-dialog/alert-dialog-overlay.svelte +1 -1
  93. package/src/lib/components/primitives/alert-dialog/alert-dialog-title.svelte +1 -1
  94. package/src/lib/components/primitives/badge/badge.svelte +1 -1
  95. package/src/lib/components/primitives/button/button.svelte +1 -1
  96. package/src/lib/components/primitives/button-group/button-group-separator.svelte +2 -2
  97. package/src/lib/components/primitives/button-group/button-group-text.svelte +1 -1
  98. package/src/lib/components/primitives/button-group/button-group.svelte +1 -1
  99. package/src/lib/components/primitives/card/card-content.svelte +1 -1
  100. package/src/lib/components/primitives/card/card-description.svelte +1 -1
  101. package/src/lib/components/primitives/card/card-footer.svelte +1 -1
  102. package/src/lib/components/primitives/card/card-header.svelte +1 -1
  103. package/src/lib/components/primitives/card/card-title.svelte +1 -1
  104. package/src/lib/components/primitives/card/card.svelte +1 -1
  105. package/src/lib/components/primitives/checkbox/checkbox.svelte +1 -1
  106. package/src/lib/components/primitives/command/command-dialog.svelte +2 -2
  107. package/src/lib/components/primitives/command/command-empty.svelte +1 -1
  108. package/src/lib/components/primitives/command/command-group.svelte +1 -1
  109. package/src/lib/components/primitives/command/command-input.svelte +2 -2
  110. package/src/lib/components/primitives/command/command-item.svelte +1 -1
  111. package/src/lib/components/primitives/command/command-link-item.svelte +1 -1
  112. package/src/lib/components/primitives/command/command-list.svelte +1 -1
  113. package/src/lib/components/primitives/command/command-separator.svelte +1 -1
  114. package/src/lib/components/primitives/command/command-shortcut.svelte +1 -1
  115. package/src/lib/components/primitives/command/command.svelte +1 -1
  116. package/src/lib/components/primitives/context-menu/context-menu-checkbox-item.svelte +1 -1
  117. package/src/lib/components/primitives/context-menu/context-menu-content.svelte +1 -1
  118. package/src/lib/components/primitives/context-menu/context-menu-group-heading.svelte +1 -1
  119. package/src/lib/components/primitives/context-menu/context-menu-item.svelte +1 -1
  120. package/src/lib/components/primitives/context-menu/context-menu-label.svelte +1 -1
  121. package/src/lib/components/primitives/context-menu/context-menu-radio-item.svelte +1 -1
  122. package/src/lib/components/primitives/context-menu/context-menu-separator.svelte +1 -1
  123. package/src/lib/components/primitives/context-menu/context-menu-shortcut.svelte +1 -1
  124. package/src/lib/components/primitives/context-menu/context-menu-sub-content.svelte +1 -1
  125. package/src/lib/components/primitives/context-menu/context-menu-sub-trigger.svelte +1 -1
  126. package/src/lib/components/primitives/dialog/dialog-content.svelte +2 -2
  127. package/src/lib/components/primitives/dialog/dialog-description.svelte +1 -1
  128. package/src/lib/components/primitives/dialog/dialog-footer.svelte +1 -1
  129. package/src/lib/components/primitives/dialog/dialog-header.svelte +1 -1
  130. package/src/lib/components/primitives/dialog/dialog-overlay.svelte +1 -1
  131. package/src/lib/components/primitives/dialog/dialog-title.svelte +1 -1
  132. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
  133. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-content.svelte +1 -1
  134. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-group-heading.svelte +1 -1
  135. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-item.svelte +1 -1
  136. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-label.svelte +1 -1
  137. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
  138. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-separator.svelte +1 -1
  139. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-shortcut.svelte +1 -1
  140. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
  141. package/src/lib/components/primitives/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
  142. package/src/lib/components/primitives/empty/empty-content.svelte +1 -1
  143. package/src/lib/components/primitives/empty/empty-description.svelte +1 -1
  144. package/src/lib/components/primitives/empty/empty-header.svelte +1 -1
  145. package/src/lib/components/primitives/empty/empty-media.svelte +1 -1
  146. package/src/lib/components/primitives/empty/empty-title.svelte +1 -1
  147. package/src/lib/components/primitives/empty/empty.svelte +1 -1
  148. package/src/lib/components/primitives/field/field-content.svelte +1 -1
  149. package/src/lib/components/primitives/field/field-description.svelte +1 -1
  150. package/src/lib/components/primitives/field/field-error.svelte +1 -1
  151. package/src/lib/components/primitives/field/field-group.svelte +1 -1
  152. package/src/lib/components/primitives/field/field-label.svelte +2 -2
  153. package/src/lib/components/primitives/field/field-legend.svelte +1 -1
  154. package/src/lib/components/primitives/field/field-separator.svelte +2 -2
  155. package/src/lib/components/primitives/field/field-set.svelte +1 -1
  156. package/src/lib/components/primitives/field/field-title.svelte +1 -1
  157. package/src/lib/components/primitives/field/field.svelte +1 -1
  158. package/src/lib/components/primitives/input/input.svelte +1 -1
  159. package/src/lib/components/primitives/input-group/input-group-addon.svelte +1 -1
  160. package/src/lib/components/primitives/input-group/input-group-button.svelte +2 -2
  161. package/src/lib/components/primitives/input-group/input-group-input.svelte +2 -2
  162. package/src/lib/components/primitives/input-group/input-group-text.svelte +1 -1
  163. package/src/lib/components/primitives/input-group/input-group-textarea.svelte +2 -2
  164. package/src/lib/components/primitives/input-group/input-group.svelte +1 -1
  165. package/src/lib/components/primitives/label/label.svelte +1 -1
  166. package/src/lib/components/primitives/mode-toggle/mode-toggle.svelte +2 -2
  167. package/src/lib/components/primitives/popover/popover-content.svelte +1 -1
  168. package/src/lib/components/primitives/popover/popover-description.svelte +1 -1
  169. package/src/lib/components/primitives/popover/popover-header.svelte +1 -1
  170. package/src/lib/components/primitives/popover/popover-title.svelte +1 -1
  171. package/src/lib/components/primitives/popover/popover-trigger.svelte +1 -1
  172. package/src/lib/components/primitives/resizable/resizable-handle.svelte +1 -1
  173. package/src/lib/components/primitives/resizable/resizable-pane-group.svelte +1 -1
  174. package/src/lib/components/primitives/scroll-area/scroll-area-scrollbar.svelte +1 -1
  175. package/src/lib/components/primitives/scroll-area/scroll-area.svelte +1 -1
  176. package/src/lib/components/primitives/search/search.svelte +1 -1
  177. package/src/lib/components/primitives/select/select-content.svelte +2 -2
  178. package/src/lib/components/primitives/select/select-group-heading.svelte +1 -1
  179. package/src/lib/components/primitives/select/select-item.svelte +1 -1
  180. package/src/lib/components/primitives/select/select-label.svelte +1 -1
  181. package/src/lib/components/primitives/select/select-scroll-down-button.svelte +1 -1
  182. package/src/lib/components/primitives/select/select-scroll-up-button.svelte +1 -1
  183. package/src/lib/components/primitives/select/select-separator.svelte +2 -2
  184. package/src/lib/components/primitives/select/select-trigger.svelte +1 -1
  185. package/src/lib/components/primitives/separator/separator.svelte +1 -1
  186. package/src/lib/components/primitives/slider/slider.svelte +1 -1
  187. package/src/lib/components/primitives/spinner/spinner.svelte +1 -1
  188. package/src/lib/components/primitives/switch/switch.svelte +1 -1
  189. package/src/lib/components/primitives/tabs/tabs-content.svelte +1 -1
  190. package/src/lib/components/primitives/tabs/tabs-list.svelte +1 -1
  191. package/src/lib/components/primitives/tabs/tabs-trigger.svelte +1 -1
  192. package/src/lib/components/primitives/tabs/tabs.svelte +1 -1
  193. package/src/lib/components/primitives/textarea/textarea.svelte +1 -1
  194. package/src/lib/components/primitives/toggle/toggle.svelte +1 -1
  195. package/src/lib/components/primitives/toggle-group/toggle-group-item.svelte +2 -2
  196. package/src/lib/components/primitives/toggle-group/toggle-group.svelte +2 -2
  197. package/src/lib/components/primitives/tooltip/tooltip-content.svelte +1 -1
  198. package/src/lib/components/viewer/MeshMetadataPanel.svelte +1 -1
  199. package/src/lib/components/viewer/SceneManager.svelte +1 -1
  200. package/src/lib/components/viewer/Viewer.svelte +4 -36
  201. package/src/lib/components/viewer/ViewerDock.svelte +2 -2
  202. package/src/lib/composables/useFooterItem.svelte.ts +1 -1
  203. package/src/lib/constants.ts +1 -2
  204. package/src/lib/contexts/hostContext.svelte.ts +1 -1
@@ -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,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 {
@@ -18,7 +18,7 @@
18
18
  </script>
19
19
 
20
20
  <script lang="ts">
21
- import { cn, type WithElementRef } from '$lib/utils.js';
21
+ import { cn, type WithElementRef } from '#lib/utils.js';
22
22
  import type { HTMLAttributes } from 'svelte/elements';
23
23
 
24
24
  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,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,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
  import type { Snippet } from 'svelte';
5
5
 
@@ -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
- import { Label } from '$lib/components/primitives/label/index.js';
3
- import { cn } from '$lib/utils.js';
2
+ import { Label } from '#lib/components/primitives/label/index.js';
3
+ import { cn } from '#lib/utils.js';
4
4
  import type { ComponentProps } from 'svelte';
5
5
 
6
6
  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
- import { Separator } from '$lib/components/primitives/separator/index.js';
3
- import { cn, type WithElementRef } from '$lib/utils.js';
2
+ import { Separator } from '#lib/components/primitives/separator/index.js';
3
+ import { cn, type WithElementRef } from '#lib/utils.js';
4
4
  import type { HTMLAttributes } from 'svelte/elements';
5
5
  import type { Snippet } from 'svelte';
6
6
 
@@ -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 { HTMLFieldsetAttributes } 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 {
@@ -27,7 +27,7 @@
27
27
  </script>
28
28
 
29
29
  <script lang="ts">
30
- import { cn, type WithElementRef } from '$lib/utils.js';
30
+ import { cn, type WithElementRef } from '#lib/utils.js';
31
31
  import type { HTMLAttributes } from 'svelte/elements';
32
32
 
33
33
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { HTMLInputAttributes, HTMLInputTypeAttribute } 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
  type InputType = Exclude<HTMLInputTypeAttribute, 'file'>;
6
6
 
@@ -21,7 +21,7 @@
21
21
  </script>
22
22
 
23
23
  <script lang="ts">
24
- import { cn, type WithElementRef } from '$lib/utils.js';
24
+ import { cn, type WithElementRef } from '#lib/utils.js';
25
25
  import type { HTMLAttributes } from 'svelte/elements';
26
26
 
27
27
  let {
@@ -20,8 +20,8 @@
20
20
  </script>
21
21
 
22
22
  <script lang="ts">
23
- import { Button } from '$lib/components/primitives/button/index.js';
24
- import { cn } from '$lib/utils.js';
23
+ import { Button } from '#lib/components/primitives/button/index.js';
24
+ import { cn } from '#lib/utils.js';
25
25
  import type { ComponentProps } from 'svelte';
26
26
 
27
27
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
- import { Input } from '$lib/components/primitives/input/index.js';
3
- import { cn } from '$lib/utils.js';
2
+ import { Input } from '#lib/components/primitives/input/index.js';
3
+ import { cn } from '#lib/utils.js';
4
4
  import type { ComponentProps } from 'svelte';
5
5
 
6
6
  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
- import { Textarea } from '$lib/components/primitives/textarea/index.js';
3
- import { cn } from '$lib/utils.js';
2
+ import { Textarea } from '#lib/components/primitives/textarea/index.js';
3
+ import { cn } from '#lib/utils.js';
4
4
  import type { ComponentProps } from 'svelte';
5
5
 
6
6
  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 { Label as LabelPrimitive } 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,8 +2,8 @@
2
2
  import Sun from '@lucide/svelte/icons/sun';
3
3
  import Moon from '@lucide/svelte/icons/moon';
4
4
  import { toggleMode } from 'mode-watcher';
5
- import { Button } from '$lib/components/primitives/button';
6
- import { getLocaleContext } from '$lib/i18n/localeContext.svelte';
5
+ import { Button } from '#lib/components/primitives/button/index.js';
6
+ import { getLocaleContext } from '#lib/i18n/localeContext.svelte.js';
7
7
 
8
8
  const locale = getLocaleContext();
9
9
  </script>
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Popover as PopoverPrimitive } from 'bits-ui';
3
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
3
+ import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
4
4
  import PopoverPortal from './popover-portal.svelte';
5
5
  import type { ComponentProps } from 'svelte';
6
6
 
@@ -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,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 { Popover as PopoverPrimitive } 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 * as ResizablePrimitive from 'paneforge';
3
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
3
+ import { cn, type WithoutChildrenOrChild } 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 * as ResizablePrimitive from 'paneforge';
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 { ScrollArea as ScrollAreaPrimitive } from 'bits-ui';
3
- import { cn, type WithoutChild } from '$lib/utils.js';
3
+ import { cn, type WithoutChild } 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 { ScrollArea as ScrollAreaPrimitive } from 'bits-ui';
3
3
  import { Scrollbar } from './index.js';
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),
@@ -2,7 +2,7 @@
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { HTMLInputAttributes } from 'svelte/elements';
4
4
  import { Search as SearchIcon, X as XIcon } from '@lucide/svelte';
5
- import { cn, type WithElementRef } from '$lib/utils.js';
5
+ import { cn, type WithElementRef } from '#lib/utils.js';
6
6
 
7
7
  type Props = WithElementRef<
8
8
  Omit<HTMLInputAttributes, 'type'> & {
@@ -2,7 +2,7 @@
2
2
  import { Select as SelectPrimitive } from 'bits-ui';
3
3
  import SelectScrollUpButton from './select-scroll-up-button.svelte';
4
4
  import SelectScrollDownButton from './select-scroll-down-button.svelte';
5
- import { cn, type WithoutChild } from '$lib/utils.js';
5
+ import { cn, type WithoutChild } from '#lib/utils.js';
6
6
 
7
7
  let {
8
8
  ref = $bindable(null),
@@ -22,7 +22,7 @@
22
22
  {sideOffset}
23
23
  data-slot="select-content"
24
24
  class={cn(
25
- 'data-[side=bottom]:translate-y-1 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:-translate-x-1 data-[side=left]:slide-in-from-right-2 data-[side=right]:translate-x-1 data-[side=right]:slide-in-from-left-2 data-[side=top]:-translate-y-1 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 min-w-32 relative z-50 max-h-(--bits-select-content-available-height) origin-(--bits-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border border-border-strong bg-popover text-popover-foreground shadow-popover',
25
+ 'data-[side=bottom]:translate-y-1 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:-translate-x-1 data-[side=left]:slide-in-from-right-2 data-[side=right]:translate-x-1 data-[side=right]:slide-in-from-left-2 data-[side=top]:-translate-y-1 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 min-w-32 max-h-96 relative z-50 origin-(--bits-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border border-border-strong bg-popover text-popover-foreground shadow-popover',
26
26
  className
27
27
  )}
28
28
  {...restProps}
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Select as SelectPrimitive } 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,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import CheckIcon from '@lucide/svelte/icons/check';
3
3
  import { Select as SelectPrimitive } from 'bits-ui';
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,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 ChevronDownIcon from '@lucide/svelte/icons/chevron-down';
3
3
  import { Select as SelectPrimitive } from 'bits-ui';
4
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
4
+ import { cn, type WithoutChildrenOrChild } 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 ChevronUpIcon from '@lucide/svelte/icons/chevron-up';
3
3
  import { Select as SelectPrimitive } from 'bits-ui';
4
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
4
+ import { cn, type WithoutChildrenOrChild } 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 type { Separator as SeparatorPrimitive } from 'bits-ui';
3
- import { Separator } from '$lib/components/primitives/separator/index.js';
4
- import { cn } from '$lib/utils.js';
3
+ import { Separator } from '#lib/components/primitives/separator/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 { Select as SelectPrimitive } from 'bits-ui';
3
3
  import ChevronDownIcon from '@lucide/svelte/icons/chevron-down';
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 { Separator as SeparatorPrimitive } 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 { Slider as SliderPrimitive } from 'bits-ui';
3
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
3
+ import { cn, type WithoutChildrenOrChild } 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 Loader2Icon from '@lucide/svelte/icons/loader-2';
3
- import { cn } from '$lib/utils.js';
3
+ import { cn } from '#lib/utils.js';
4
4
  import type { SVGAttributes } from 'svelte/elements';
5
5
 
6
6
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Switch as SwitchPrimitive } from 'bits-ui';
3
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
3
+ import { cn, type WithoutChildrenOrChild } 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 { Tabs as TabsPrimitive } 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),
@@ -19,7 +19,7 @@
19
19
 
20
20
  <script lang="ts">
21
21
  import { Tabs as TabsPrimitive } from 'bits-ui';
22
- import { cn } from '$lib/utils.js';
22
+ import { cn } from '#lib/utils.js';
23
23
 
24
24
  let {
25
25
  ref = $bindable(null),
@@ -20,7 +20,7 @@
20
20
 
21
21
  <script lang="ts">
22
22
  import { Tabs as TabsPrimitive } from 'bits-ui';
23
- import { cn } from '$lib/utils.js';
23
+ import { cn } from '#lib/utils.js';
24
24
 
25
25
  let {
26
26
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Tabs as TabsPrimitive } 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, type WithoutChildren } from '$lib/utils.js';
2
+ import { cn, type WithElementRef, type WithoutChildren } from '#lib/utils.js';
3
3
  import type { HTMLTextareaAttributes } from 'svelte/elements';
4
4
 
5
5
  let {
@@ -36,7 +36,7 @@
36
36
 
37
37
  <script lang="ts">
38
38
  import { Toggle as TogglePrimitive } from 'bits-ui';
39
- import { cn } from '$lib/utils.js';
39
+ import { cn } from '#lib/utils.js';
40
40
 
41
41
  let {
42
42
  ref = $bindable(null),
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { ToggleGroup as ToggleGroupPrimitive } from 'bits-ui';
3
- import { type ToggleVariants, toggleVariants } from '$lib/components/primitives/toggle/index.js';
4
- import { cn } from '$lib/utils.js';
3
+ import { type ToggleVariants, toggleVariants } from '#lib/components/primitives/toggle/index.js';
4
+ import { cn } from '#lib/utils.js';
5
5
  import { getToggleGroupCtx } from './toggle-group.svelte';
6
6
 
7
7
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" module>
2
2
  import { getContext, setContext } from 'svelte';
3
- import { toggleVariants } from '$lib/components/primitives/toggle/index.js';
3
+ import { toggleVariants } from '#lib/components/primitives/toggle/index.js';
4
4
  import type { VariantProps } from 'tailwind-variants';
5
5
 
6
6
  type ToggleVariants = VariantProps<typeof toggleVariants>;
@@ -21,7 +21,7 @@
21
21
 
22
22
  <script lang="ts">
23
23
  import { ToggleGroup as ToggleGroupPrimitive } from 'bits-ui';
24
- import { cn } from '$lib/utils.js';
24
+ import { cn } from '#lib/utils.js';
25
25
 
26
26
  let {
27
27
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Tooltip as TooltipPrimitive } from 'bits-ui';
3
- import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
3
+ import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
4
4
  import TooltipPortal from './tooltip-portal.svelte';
5
5
  import type { ComponentProps } from 'svelte';
6
6
 
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { X } from '@lucide/svelte';
3
3
  import { Button } from '../primitives/button/index.js';
4
- import { getLocaleContext } from '$lib/i18n/localeContext.svelte';
4
+ import { getLocaleContext } from '#lib/i18n/localeContext.svelte.js';
5
5
 
6
6
  const locale = getLocaleContext();
7
7
  const t = $derived(locale.messages);
@@ -14,7 +14,7 @@
14
14
  type SceneEntry,
15
15
  type SceneOutliner
16
16
  } from '@selvajs/visualization/scene';
17
- import { getLocaleContext } from '$lib/i18n/localeContext.svelte';
17
+ import { getLocaleContext } from '#lib/i18n/localeContext.svelte.js';
18
18
 
19
19
  const locale = getLocaleContext();
20
20
  const t = $derived(locale.messages);