@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 { 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,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,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
3
3
  import ChevronRightIcon from '@lucide/svelte/icons/chevron-right';
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,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),
@@ -6,7 +6,7 @@
6
6
  variants: {
7
7
  variant: {
8
8
  default: 'h-9 w-fit justify-center rounded-md bg-muted p-0.5',
9
- line: 'gap-1 px-2 w-full justify-start'
9
+ line: 'gap-1 px-1 w-full justify-start'
10
10
  }
11
11
  },
12
12
  defaultVariants: {
@@ -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),
@@ -7,7 +7,7 @@
7
7
  variant: {
8
8
  default:
9
9
  'px-2 py-1 data-[state=active]:shadow-sm h-full flex-1 rounded-inner border border-transparent text-foreground transition focus-visible:border-ring data-[state=active]:bg-raised dark:text-muted-foreground data-[state=active]:border-border-strong dark:data-[state=active]:text-foreground',
10
- line: 'px-2.5 py-3 relative flex-none text-muted-foreground transition-colors after:absolute after:inset-x-2 after:bottom-0 after:h-0.5 after:rounded-full hover:text-foreground data-[state=active]:text-foreground data-[state=active]:after:bg-primary'
10
+ line: 'px-2.5 py-2.5 relative flex-none text-muted-foreground transition-colors after:absolute after:inset-x-2 after:bottom-0 after:h-0.5 after:rounded-full hover:text-foreground data-[state=active]:text-foreground data-[state=active]:after:bg-primary'
11
11
  }
12
12
  },
13
13
  defaultVariants: {
@@ -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 {
@@ -9,7 +9,7 @@
9
9
  // Item inside a segmented track: the chosen value sits raised above the track.
10
10
  segmented:
11
11
  'rounded-inner bg-transparent text-muted-foreground data-[state=on]:bg-raised data-[state=on]:text-foreground data-[state=on]:shadow-raised data-[state=on]:ring-1 data-[state=on]:ring-border-strong',
12
- outline: 'border-input hover:bg-hover border bg-transparent',
12
+ outline: 'border-input hover:bg-hover border bg-field',
13
13
  // Filled accent for the active item; a bare bg-muted is too faint on a form.
14
14
  accent:
15
15
  'border-input hover:bg-hover border bg-transparent data-[state=on]:bg-primary/15 data-[state=on]:ring-1 data-[state=on]:ring-primary data-[state=on]:ring-inset'
@@ -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);