ui-ingredients 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. package/README.md +2 -2
  2. package/dist/accordion/index.d.ts +2 -1
  3. package/dist/accordion/index.js +2 -1
  4. package/dist/alert/index.d.ts +2 -1
  5. package/dist/alert/index.js +2 -1
  6. package/dist/alert-dialog/index.d.ts +2 -1
  7. package/dist/alert-dialog/index.js +2 -1
  8. package/dist/anatomy.d.ts +1 -0
  9. package/dist/anatomy.js +1 -0
  10. package/dist/angle-slider/angle-slider-anatomy.d.ts +1 -0
  11. package/dist/angle-slider/angle-slider-anatomy.js +1 -0
  12. package/dist/angle-slider/angle-slider-context.svelte.d.ts +2 -0
  13. package/dist/angle-slider/angle-slider-context.svelte.js +2 -0
  14. package/dist/angle-slider/angle-slider-control.svelte +29 -0
  15. package/dist/angle-slider/angle-slider-control.svelte.d.ts +21 -0
  16. package/dist/angle-slider/angle-slider-hidden-input.svelte +28 -0
  17. package/dist/angle-slider/angle-slider-hidden-input.svelte.d.ts +21 -0
  18. package/dist/angle-slider/angle-slider-label.svelte +29 -0
  19. package/dist/angle-slider/angle-slider-label.svelte.d.ts +21 -0
  20. package/dist/angle-slider/angle-slider-marker-group.svelte +31 -0
  21. package/dist/angle-slider/angle-slider-marker-group.svelte.d.ts +21 -0
  22. package/dist/angle-slider/angle-slider-marker.svelte +38 -0
  23. package/dist/angle-slider/angle-slider-marker.svelte.d.ts +22 -0
  24. package/dist/angle-slider/angle-slider-root.svelte +59 -0
  25. package/dist/angle-slider/angle-slider-root.svelte.d.ts +22 -0
  26. package/dist/angle-slider/angle-slider-thumb.svelte +29 -0
  27. package/dist/angle-slider/angle-slider-thumb.svelte.d.ts +21 -0
  28. package/dist/angle-slider/angle-slider-value-text.svelte +35 -0
  29. package/dist/angle-slider/angle-slider-value-text.svelte.d.ts +21 -0
  30. package/dist/angle-slider/angle-slider.d.ts +8 -0
  31. package/dist/angle-slider/angle-slider.js +8 -0
  32. package/dist/angle-slider/create-angle-slider.svelte.d.ts +7 -0
  33. package/dist/angle-slider/create-angle-slider.svelte.js +18 -0
  34. package/dist/angle-slider/index.d.ts +12 -0
  35. package/dist/angle-slider/index.js +4 -0
  36. package/dist/avatar/index.d.ts +2 -2
  37. package/dist/avatar/index.js +2 -2
  38. package/dist/breadcrumbs/index.d.ts +2 -1
  39. package/dist/breadcrumbs/index.js +2 -1
  40. package/dist/carousel/index.d.ts +2 -1
  41. package/dist/carousel/index.js +2 -1
  42. package/dist/checkbox/index.d.ts +2 -1
  43. package/dist/checkbox/index.js +2 -1
  44. package/dist/clipboard/clipboard-indicator.svelte +40 -40
  45. package/dist/clipboard/index.d.ts +2 -1
  46. package/dist/clipboard/index.js +2 -1
  47. package/dist/collapsible/index.d.ts +2 -1
  48. package/dist/collapsible/index.js +2 -1
  49. package/dist/color-picker/index.d.ts +2 -1
  50. package/dist/color-picker/index.js +2 -1
  51. package/dist/combobox/index.d.ts +2 -1
  52. package/dist/combobox/index.js +2 -1
  53. package/dist/date-picker/index.d.ts +2 -1
  54. package/dist/date-picker/index.js +2 -1
  55. package/dist/dialog/index.d.ts +2 -1
  56. package/dist/dialog/index.js +2 -1
  57. package/dist/drawer/index.d.ts +3 -2
  58. package/dist/drawer/index.js +2 -1
  59. package/dist/editable/index.d.ts +2 -1
  60. package/dist/editable/index.js +2 -1
  61. package/dist/environment-provider/index.d.ts +1 -1
  62. package/dist/environment-provider/index.js +1 -1
  63. package/dist/field/index.d.ts +2 -1
  64. package/dist/field/index.js +2 -1
  65. package/dist/file-upload/index.d.ts +2 -1
  66. package/dist/file-upload/index.js +2 -1
  67. package/dist/floating-panel/index.d.ts +2 -1
  68. package/dist/floating-panel/index.js +2 -1
  69. package/dist/hover-card/index.d.ts +2 -1
  70. package/dist/hover-card/index.js +2 -1
  71. package/dist/index.d.ts +1 -0
  72. package/dist/index.js +1 -0
  73. package/dist/locale-provider/index.d.ts +1 -1
  74. package/dist/locale-provider/index.js +1 -1
  75. package/dist/menu/index.d.ts +2 -1
  76. package/dist/menu/index.js +2 -1
  77. package/dist/number-input/index.d.ts +2 -1
  78. package/dist/number-input/index.js +2 -1
  79. package/dist/pagination/index.d.ts +2 -1
  80. package/dist/pagination/index.js +2 -1
  81. package/dist/pin-input/index.d.ts +2 -1
  82. package/dist/pin-input/index.js +2 -1
  83. package/dist/popover/index.d.ts +2 -1
  84. package/dist/popover/index.js +2 -1
  85. package/dist/presence/index.d.ts +1 -1
  86. package/dist/presence/index.js +1 -1
  87. package/dist/progress/index.d.ts +2 -1
  88. package/dist/progress/index.js +2 -1
  89. package/dist/qr-code/index.d.ts +2 -1
  90. package/dist/qr-code/index.js +2 -1
  91. package/dist/radio-group/index.d.ts +2 -1
  92. package/dist/radio-group/index.js +2 -1
  93. package/dist/rating-group/index.d.ts +2 -1
  94. package/dist/rating-group/index.js +2 -1
  95. package/dist/segment-group/index.d.ts +2 -1
  96. package/dist/segment-group/index.js +2 -1
  97. package/dist/select/index.d.ts +2 -1
  98. package/dist/select/index.js +2 -1
  99. package/dist/signature-pad/index.d.ts +2 -1
  100. package/dist/signature-pad/index.js +2 -1
  101. package/dist/slider/index.d.ts +2 -1
  102. package/dist/slider/index.js +2 -1
  103. package/dist/splitter/index.d.ts +2 -1
  104. package/dist/splitter/index.js +2 -1
  105. package/dist/steps/index.d.ts +2 -1
  106. package/dist/steps/index.js +2 -1
  107. package/dist/switch/index.d.ts +2 -1
  108. package/dist/switch/index.js +2 -1
  109. package/dist/tabs/index.d.ts +2 -1
  110. package/dist/tabs/index.js +2 -1
  111. package/dist/tags-input/index.d.ts +2 -1
  112. package/dist/tags-input/index.js +2 -1
  113. package/dist/time-picker/index.d.ts +2 -1
  114. package/dist/time-picker/index.js +2 -1
  115. package/dist/timer/index.d.ts +2 -1
  116. package/dist/timer/index.js +2 -1
  117. package/dist/toast/index.d.ts +2 -1
  118. package/dist/toast/index.js +2 -1
  119. package/dist/toggle/index.d.ts +2 -0
  120. package/dist/toggle/index.js +2 -0
  121. package/dist/toggle-group/index.d.ts +2 -1
  122. package/dist/toggle-group/index.js +2 -1
  123. package/dist/tooltip/index.d.ts +2 -1
  124. package/dist/tooltip/index.js +2 -1
  125. package/dist/tour/index.d.ts +2 -2
  126. package/dist/tour/index.js +2 -1
  127. package/dist/tree-view/index.d.ts +2 -1
  128. package/dist/tree-view/index.js +2 -1
  129. package/package.json +404 -403
@@ -1,3 +1,4 @@
1
1
  export * as SignaturePad from './signature-pad.js';
2
+ export { createSignaturePad, } from './create-signature-pad.svelte.js';
2
3
  export { anatomy as signaturePadAnatomy } from './signature-pad-anatomy.js';
3
- export { getSignaturePadContext } from './signature-pad-context.svelte.js';
4
+ export { getSignaturePadContext, setSignaturePadContext, } from './signature-pad-context.svelte.js';
@@ -10,5 +10,6 @@ export type { SliderProps } from './slider-root.svelte';
10
10
  export type { SliderThumbProps } from './slider-thumb.svelte';
11
11
  export type { SliderTrackProps } from './slider-track.svelte';
12
12
  export type { SliderValueTextProps } from './slider-value-text.svelte';
13
+ export { createSlider, type CreateSliderProps, type CreateSliderReturn, } from './create-slider.svelte.js';
13
14
  export { anatomy as sliderAnatomy } from './slider-anatomy.js';
14
- export { getSliderContext } from './slider-context.svelte.js';
15
+ export { getSliderContext, setSliderContext } from './slider-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as Slider from './slider.js';
2
+ export { createSlider, } from './create-slider.svelte.js';
2
3
  export { anatomy as sliderAnatomy } from './slider-anatomy.js';
3
- export { getSliderContext } from './slider-context.svelte.js';
4
+ export { getSliderContext, setSliderContext } from './slider-context.svelte.js';
@@ -2,5 +2,6 @@ export * as Splitter from './splitter.js';
2
2
  export type { SplitterPanelProps } from './splitter-panel.svelte';
3
3
  export type { SplitterResizeTriggerProps } from './splitter-resize-trigger.svelte';
4
4
  export type { SplitterProps } from './splitter-root.svelte';
5
+ export { createSplitter, type CreateSplitterProps, type CreateSplitterReturn, } from './create-splitter.svelte.js';
5
6
  export { anatomy as splitterAnatomy } from './splitter-anatomy.js';
6
- export { getSplitterContext } from './splitter-context.svelte.js';
7
+ export { getSplitterContext, setSplitterContext, } from './splitter-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as Splitter from './splitter.js';
2
+ export { createSplitter, } from './create-splitter.svelte.js';
2
3
  export { anatomy as splitterAnatomy } from './splitter-anatomy.js';
3
- export { getSplitterContext } from './splitter-context.svelte.js';
4
+ export { getSplitterContext, setSplitterContext, } from './splitter-context.svelte.js';
@@ -10,5 +10,6 @@ export type { StepsProgressProps } from './steps-progress.svelte';
10
10
  export type { StepsProps } from './steps-root.svelte';
11
11
  export type { StepsSeparatorProps } from './steps-separator.svelte';
12
12
  export type { StepsTriggerProps } from './steps-trigger.svelte';
13
+ export { createSteps, type CreateStepsProps, type CreateStepsReturn, } from './create-steps.svelte.js';
13
14
  export { anatomy as stepsAnatomy } from './steps-anatomy.js';
14
- export { getStepsContext } from './steps-context.svelte.js';
15
+ export { getStepsContext, setStepsContext } from './steps-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as Steps from './steps.js';
2
+ export { createSteps, } from './create-steps.svelte.js';
2
3
  export { anatomy as stepsAnatomy } from './steps-anatomy.js';
3
- export { getStepsContext } from './steps-context.svelte.js';
4
+ export { getStepsContext, setStepsContext } from './steps-context.svelte.js';
@@ -4,5 +4,6 @@ export type { SwitchHiddenInputProps } from './switch-hidden-input.svelte';
4
4
  export type { SwitchLabelProps } from './switch-label.svelte';
5
5
  export type { SwitchProps } from './switch-root.svelte';
6
6
  export type { SwitchThumbProps } from './switch-thumb.svelte';
7
+ export { createSwitch, type CreateSwitchProps, type CreateSwitchReturn, } from './create-switch.svelte.js';
7
8
  export { anatomy as switchAnatomy } from './switch-anatomy.js';
8
- export { getSwitchContext } from './switch-context.svelte.js';
9
+ export { getSwitchContext, setSwitchContext } from './switch-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as Switch from './switch.js';
2
+ export { createSwitch, } from './create-switch.svelte.js';
2
3
  export { anatomy as switchAnatomy } from './switch-anatomy.js';
3
- export { getSwitchContext } from './switch-context.svelte.js';
4
+ export { getSwitchContext, setSwitchContext } from './switch-context.svelte.js';
@@ -4,5 +4,6 @@ export type { TabsIndicatorProps } from './tabs-indicator.svelte';
4
4
  export type { TabsListProps } from './tabs-list.svelte';
5
5
  export type { TabsProps } from './tabs-root.svelte';
6
6
  export type { TabsTriggerProps } from './tabs-trigger.svelte';
7
+ export { createTabs, type CreateTabsProps, type CreateTabsReturn, } from './create-tabs.svelte.js';
7
8
  export { anatomy as tabsAnatomy } from './tabs-anatomy.js';
8
- export { getTabsContext } from './tabs-context.svelte.js';
9
+ export { getTabsContext, setTabsContext } from './tabs-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as Tabs from './tabs.js';
2
+ export { createTabs, } from './create-tabs.svelte.js';
2
3
  export { anatomy as tabsAnatomy } from './tabs-anatomy.js';
3
- export { getTabsContext } from './tabs-context.svelte.js';
4
+ export { getTabsContext, setTabsContext } from './tabs-context.svelte.js';
@@ -10,5 +10,6 @@ export type { TagsInputItemTextProps } from './tags-input-item-text.svelte';
10
10
  export type { TagsInputItemProps } from './tags-input-item.svelte';
11
11
  export type { TagsInputLabelProps } from './tags-input-label.svelte';
12
12
  export type { TagsInputProps } from './tags-input-root.svelte';
13
+ export { createTagsInput, type CreateTagsInputProps, type CreateTagsInputReturn, } from './create-tags-input.svelte.js';
13
14
  export { anatomy as tagsInputAnatomy } from './tags-input-anatomy.js';
14
- export { getTagsInputContext } from './tags-input-context.svelte.js';
15
+ export { getTagsInputContext, setTagsInputContext, } from './tags-input-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as TagsInput from './tags-input.js';
2
+ export { createTagsInput, } from './create-tags-input.svelte.js';
2
3
  export { anatomy as tagsInputAnatomy } from './tags-input-anatomy.js';
3
- export { getTagsInputContext } from './tags-input-context.svelte.js';
4
+ export { getTagsInputContext, setTagsInputContext, } from './tags-input-context.svelte.js';
@@ -14,5 +14,6 @@ export type { TimePickerProps } from './time-picker-root.svelte';
14
14
  export type { TimePickerSecondCellProps } from './time-picker-second-cell.svelte';
15
15
  export type { TimePickerSpacerProps } from './time-picker-spacer.svelte';
16
16
  export type { TimePickerTriggerProps } from './time-picker-trigger.svelte';
17
+ export { createTimePicker, type CreateTimePickerProps, type CreateTimePickerReturn, } from './create-time-picker.svelte.js';
17
18
  export { anatomy as timePickerAnatomy } from './time-picker-anatomy.js';
18
- export { getTimePickerContext } from './time-picker-context.svelte.js';
19
+ export { getTimePickerContext, setTimePickerContext, } from './time-picker-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as TimePicker from './time-picker.js';
2
+ export { createTimePicker, } from './create-time-picker.svelte.js';
2
3
  export { anatomy as timePickerAnatomy } from './time-picker-anatomy.js';
3
- export { getTimePickerContext } from './time-picker-context.svelte.js';
4
+ export { getTimePickerContext, setTimePickerContext, } from './time-picker-context.svelte.js';
@@ -7,5 +7,6 @@ export type { TimerItemValueProps } from './timer-item-value.svelte';
7
7
  export type { TimerItemProps } from './timer-item.svelte';
8
8
  export type { TimerProps } from './timer-root.svelte';
9
9
  export type { TimerSeparatorProps } from './timer-separator.svelte';
10
+ export { createTimer, type CreateTimerProps, type CreateTimerReturn, } from './create-timer.svelte.js';
10
11
  export { anatomy as timerAnatomy } from './timer-anatomy.js';
11
- export { getTimerContext } from './timer-context.svelte.js';
12
+ export { getTimerContext, setTimerContext } from './timer-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as Timer from './timer.js';
2
+ export { createTimer, } from './create-timer.svelte.js';
2
3
  export { anatomy as timerAnatomy } from './timer-anatomy.js';
3
- export { getTimerContext } from './timer-context.svelte.js';
4
+ export { getTimerContext, setTimerContext } from './timer-context.svelte.js';
@@ -6,7 +6,8 @@ export type { ToastGhostAfterProps } from './toast-ghost-after.svelte';
6
6
  export type { ToastGhostBeforeProps } from './toast-ghost-before.svelte';
7
7
  export type { ToastProps } from './toast-root.svelte';
8
8
  export type { ToastTitleProps } from './toast-title.svelte';
9
+ export { createToast, type CreateToastProps, type CreateToastReturn, } from './create-toast.svelte.js';
9
10
  export { anatomy as toastAnatomy } from './toast-anatomy.js';
10
- export { getToastContext } from './toast-context.svelte.js';
11
+ export { getToastContext, setToastContext } from './toast-context.svelte.js';
11
12
  export { createToaster, type CreateToasterProps, type CreateToasterReturn, } from './create-toaster.svelte.js';
12
13
  export { default as Toaster, type ToasterProps } from './toaster.svelte';
@@ -1,5 +1,6 @@
1
1
  export * as Toast from './toast.js';
2
+ export { createToast, } from './create-toast.svelte.js';
2
3
  export { anatomy as toastAnatomy } from './toast-anatomy.js';
3
- export { getToastContext } from './toast-context.svelte.js';
4
+ export { getToastContext, setToastContext } from './toast-context.svelte.js';
4
5
  export { createToaster, } from './create-toaster.svelte.js';
5
6
  export { default as Toaster } from './toaster.svelte';
@@ -1,3 +1,5 @@
1
1
  export * as Toggle from './toggle.js';
2
2
  export type { ToggleProps } from './toggle-root.svelte';
3
+ export { createToggle, type CreateToggleProps, type CreateToggleReturn, } from './create-toggle.svelte.js';
3
4
  export { anatomy as toggleAnatomy } from './toggle-anatomy.js';
5
+ export { getToggleContext, setToggleContext } from './toggle-context.svelte.js';
@@ -1,2 +1,4 @@
1
1
  export * as Toggle from './toggle.js';
2
+ export { createToggle, } from './create-toggle.svelte.js';
2
3
  export { anatomy as toggleAnatomy } from './toggle-anatomy.js';
4
+ export { getToggleContext, setToggleContext } from './toggle-context.svelte.js';
@@ -1,5 +1,6 @@
1
1
  export * as ToggleGroup from './toggle-group.js';
2
2
  export type { ToggleGroupItemProps } from './toggle-group-item.svelte';
3
3
  export type { ToggleGroupProps } from './toggle-group-root.svelte';
4
+ export { createToggleGroup, type CreateToggleGroupProps, type CreateToggleGroupReturn, } from './create-toggle-group.svelte.js';
4
5
  export { anatomy as toggleGroupAnatomy } from './toggle-group-anatomy.js';
5
- export { getToggleGroupContext } from './toggle-group-context.svelte.js';
6
+ export { getToggleGroupContext, setToggleGroupContext, } from './toggle-group-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as ToggleGroup from './toggle-group.js';
2
+ export { createToggleGroup, } from './create-toggle-group.svelte.js';
2
3
  export { anatomy as toggleGroupAnatomy } from './toggle-group-anatomy.js';
3
- export { getToggleGroupContext } from './toggle-group-context.svelte.js';
4
+ export { getToggleGroupContext, setToggleGroupContext, } from './toggle-group-context.svelte.js';
@@ -5,5 +5,6 @@ export type { TooltipContentProps } from './tooltip-content.svelte';
5
5
  export type { TooltipPositionerProps } from './tooltip-positioner.svelte';
6
6
  export type { TooltipProps } from './tooltip-root.svelte';
7
7
  export type { TooltipTriggerProps } from './tooltip-trigger.svelte';
8
+ export { createTooltip, type CreateTooltipProps, type CreateTooltipReturn, } from './create-tooltip.svelte.js';
8
9
  export { anatomy as tooltipAnatomy } from './tooltip-anatomy.js';
9
- export { getTooltipContext } from './tooltip-context.svelte.js';
10
+ export { getTooltipContext, setTooltipContext, } from './tooltip-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as Tooltip from './tooltip.js';
2
+ export { createTooltip, } from './create-tooltip.svelte.js';
2
3
  export { anatomy as tooltipAnatomy } from './tooltip-anatomy.js';
3
- export { getTooltipContext } from './tooltip-context.svelte.js';
4
+ export { getTooltipContext, setTooltipContext, } from './tooltip-context.svelte.js';
@@ -1,5 +1,4 @@
1
1
  export * as Tour from './tour.js';
2
- export type { TourStepDetails } from './create-tour.svelte.js';
3
2
  export type { TourActionTriggerProps } from './tour-action-trigger.svelte';
4
3
  export type { TourArrowTipProps } from './tour-arrow-tip.svelte';
5
4
  export type { TourArrowProps } from './tour-arrow.svelte';
@@ -13,5 +12,6 @@ export type { TourProps } from './tour-root.svelte';
13
12
  export type { TourSpotlightProps } from './tour-spotlight.svelte';
14
13
  export type { TourTitleProps } from './tour-title.svelte';
15
14
  export type { TourTriggerProps } from './tour-trigger.svelte';
15
+ export { createTour, type CreateTourProps, type CreateTourReturn, type TourStepDetails, } from './create-tour.svelte.js';
16
16
  export { anatomy as tourAnatomy } from './tour-anatomy.js';
17
- export { getTourContext } from './tour-context.svelte.js';
17
+ export { getTourContext, setTourContext } from './tour-context.svelte.js';
@@ -1,3 +1,4 @@
1
1
  export * as Tour from './tour.js';
2
+ export { createTour, } from './create-tour.svelte.js';
2
3
  export { anatomy as tourAnatomy } from './tour-anatomy.js';
3
- export { getTourContext } from './tour-context.svelte.js';
4
+ export { getTourContext, setTourContext } from './tour-context.svelte.js';
@@ -12,6 +12,7 @@ export type { TreeViewItemProps } from './tree-view-item.svelte';
12
12
  export type { TreeViewLabelProps } from './tree-view-label.svelte';
13
13
  export type { TreeViewProps } from './tree-view-root.svelte';
14
14
  export type { TreeViewTreeProps } from './tree-view-tree.svelte';
15
+ export { createTreeView, type CreateTreeViewProps, type CreateTreeViewReturn, } from './create-tree-view.svelte.js';
15
16
  export { anatomy as treeViewAnatomy } from './tree-view-anatomy.js';
16
- export { getTreeViewContext } from './tree-view-context.svelte.js';
17
+ export { getTreeViewContext, setTreeViewContext, } from './tree-view-context.svelte.js';
17
18
  export type { NodeProps } from './types.js';
@@ -1,3 +1,4 @@
1
1
  export * as TreeView from './tree-view.js';
2
+ export { createTreeView, } from './create-tree-view.svelte.js';
2
3
  export { anatomy as treeViewAnatomy } from './tree-view-anatomy.js';
3
- export { getTreeViewContext } from './tree-view-context.svelte.js';
4
+ export { getTreeViewContext, setTreeViewContext, } from './tree-view-context.svelte.js';