ui-ingredients 0.0.21 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +6 -3
- package/dist/accordion/accordion.d.ts +1 -0
- package/dist/accordion/accordion.js +1 -0
- package/dist/accordion/index.d.ts +0 -1
- package/dist/accordion/index.js +0 -1
- package/dist/avatar/avatar.d.ts +1 -0
- package/dist/avatar/avatar.js +1 -0
- package/dist/avatar/index.d.ts +0 -1
- package/dist/avatar/index.js +0 -1
- package/dist/carousel/carousel.d.ts +1 -0
- package/dist/carousel/carousel.js +1 -0
- package/dist/carousel/index.d.ts +0 -1
- package/dist/carousel/index.js +0 -1
- package/dist/checkbox/checkbox.d.ts +1 -0
- package/dist/checkbox/checkbox.js +1 -0
- package/dist/checkbox/index.d.ts +0 -1
- package/dist/checkbox/index.js +0 -1
- package/dist/clipboard/clipboard.d.ts +1 -0
- package/dist/clipboard/clipboard.js +1 -0
- package/dist/clipboard/index.d.ts +0 -1
- package/dist/clipboard/index.js +0 -1
- package/dist/collapsible/collapsible.d.ts +1 -0
- package/dist/collapsible/collapsible.js +1 -0
- package/dist/collapsible/index.d.ts +0 -1
- package/dist/collapsible/index.js +0 -1
- package/dist/combobox/combobox.d.ts +1 -0
- package/dist/combobox/combobox.js +1 -0
- package/dist/combobox/index.d.ts +1 -2
- package/dist/combobox/index.js +0 -1
- package/dist/date-picker/anatomy.js +3 -3
- package/dist/date-picker/date-picker.d.ts +2 -0
- package/dist/date-picker/date-picker.js +2 -0
- package/dist/date-picker/index.d.ts +0 -2
- package/dist/date-picker/index.js +0 -2
- package/dist/dialog/dialog.d.ts +1 -0
- package/dist/dialog/dialog.js +1 -0
- package/dist/dialog/index.d.ts +1 -2
- package/dist/dialog/index.js +0 -1
- package/dist/editable/editable.d.ts +1 -0
- package/dist/editable/editable.js +1 -0
- package/dist/editable/index.d.ts +1 -2
- package/dist/editable/index.js +0 -1
- package/dist/file-upload/file-upload.d.ts +1 -0
- package/dist/file-upload/file-upload.js +1 -0
- package/dist/file-upload/index.d.ts +1 -2
- package/dist/file-upload/index.js +0 -1
- package/dist/hover-card/hover-card.d.ts +1 -0
- package/dist/hover-card/hover-card.js +1 -0
- package/dist/hover-card/index.d.ts +1 -2
- package/dist/hover-card/index.js +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/menu/index.d.ts +1 -2
- package/dist/menu/index.js +1 -2
- package/dist/menu/menu.d.ts +1 -0
- package/dist/menu/menu.js +1 -0
- package/dist/number-input/index.d.ts +1 -2
- package/dist/number-input/index.js +0 -1
- package/dist/number-input/number-input.d.ts +1 -0
- package/dist/number-input/number-input.js +1 -0
- package/dist/pagination/index.d.ts +1 -2
- package/dist/pagination/index.js +0 -1
- package/dist/pagination/pagination.d.ts +1 -0
- package/dist/pagination/pagination.js +1 -0
- package/dist/pin-input/index.d.ts +1 -2
- package/dist/pin-input/index.js +0 -1
- package/dist/pin-input/pin-input.d.ts +1 -0
- package/dist/pin-input/pin-input.js +1 -0
- package/dist/popover/index.d.ts +1 -2
- package/dist/popover/index.js +0 -1
- package/dist/popover/popover.d.ts +1 -0
- package/dist/popover/popover.js +1 -0
- package/dist/progress/index.d.ts +1 -2
- package/dist/progress/index.js +0 -1
- package/dist/progress/progress.d.ts +1 -0
- package/dist/progress/progress.js +1 -0
- package/dist/qr-code/index.d.ts +1 -2
- package/dist/qr-code/index.js +0 -1
- package/dist/qr-code/qr-code.d.ts +1 -0
- package/dist/qr-code/qr-code.js +1 -0
- package/dist/radio-group/index.d.ts +1 -2
- package/dist/radio-group/index.js +0 -1
- package/dist/radio-group/radio-group.d.ts +1 -0
- package/dist/radio-group/radio-group.js +1 -0
- package/dist/rating-group/index.d.ts +1 -2
- package/dist/rating-group/index.js +0 -1
- package/dist/rating-group/rating-group.d.ts +1 -0
- package/dist/rating-group/rating-group.js +1 -0
- package/dist/segment-group/anatomy.js +3 -3
- package/dist/segment-group/index.d.ts +1 -2
- package/dist/segment-group/index.js +0 -1
- package/dist/segment-group/segment-group.d.ts +1 -0
- package/dist/segment-group/segment-group.js +1 -0
- package/dist/select/index.d.ts +1 -2
- package/dist/select/index.js +0 -1
- package/dist/select/select.d.ts +1 -0
- package/dist/select/select.js +1 -0
- package/dist/signature-pad/clear-trigger.svelte +20 -0
- package/dist/signature-pad/clear-trigger.svelte.d.ts +18 -0
- package/dist/signature-pad/context.svelte.d.ts +3 -0
- package/dist/signature-pad/context.svelte.js +2 -0
- package/dist/signature-pad/control.svelte +20 -0
- package/dist/signature-pad/control.svelte.d.ts +18 -0
- package/dist/signature-pad/create-signature-pad.svelte.d.ts +7 -0
- package/dist/signature-pad/create-signature-pad.svelte.js +17 -0
- package/dist/signature-pad/current-segment-path.svelte +29 -0
- package/dist/signature-pad/current-segment-path.svelte.d.ts +18 -0
- package/dist/signature-pad/guide.svelte +20 -0
- package/dist/signature-pad/guide.svelte.d.ts +18 -0
- package/dist/signature-pad/hidden-input.svelte +20 -0
- package/dist/signature-pad/hidden-input.svelte.d.ts +18 -0
- package/dist/signature-pad/index.d.ts +10 -0
- package/dist/signature-pad/index.js +1 -0
- package/dist/signature-pad/label.svelte +20 -0
- package/dist/signature-pad/label.svelte.d.ts +18 -0
- package/dist/signature-pad/root.svelte +55 -0
- package/dist/signature-pad/root.svelte.d.ts +18 -0
- package/dist/signature-pad/segment-path.svelte +22 -0
- package/dist/signature-pad/segment-path.svelte.d.ts +18 -0
- package/dist/signature-pad/segment.svelte +20 -0
- package/dist/signature-pad/segment.svelte.d.ts +18 -0
- package/dist/signature-pad/signature-pad.d.ts +10 -0
- package/dist/signature-pad/signature-pad.js +10 -0
- package/dist/slider/index.d.ts +1 -2
- package/dist/slider/index.js +0 -1
- package/dist/slider/slider.d.ts +1 -0
- package/dist/slider/slider.js +1 -0
- package/dist/steps/completed-content.svelte +27 -0
- package/dist/steps/completed-content.svelte.d.ts +18 -0
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/index.js +0 -1
- package/dist/steps/steps.d.ts +2 -0
- package/dist/steps/steps.js +2 -0
- package/dist/switch/index.d.ts +1 -2
- package/dist/switch/index.js +0 -1
- package/dist/switch/switch.d.ts +1 -0
- package/dist/switch/switch.js +1 -0
- package/dist/tabs/index.d.ts +1 -2
- package/dist/tabs/index.js +0 -1
- package/dist/tabs/tabs.d.ts +1 -0
- package/dist/tabs/tabs.js +1 -0
- package/dist/tags-input/index.d.ts +1 -2
- package/dist/tags-input/index.js +0 -1
- package/dist/tags-input/tags-input.d.ts +1 -0
- package/dist/tags-input/tags-input.js +1 -0
- package/dist/time-picker/.gitkeep +0 -0
- package/dist/timer/timer.d.ts +1 -0
- package/dist/timer/timer.js +1 -0
- package/dist/toast/index.d.ts +6 -7
- package/dist/toast/index.js +1 -7
- package/dist/toast/toast.d.ts +6 -5
- package/dist/toast/toast.js +1 -0
- package/dist/toggle-group/index.d.ts +1 -2
- package/dist/toggle-group/index.js +0 -1
- package/dist/toggle-group/toggle-group.d.ts +1 -0
- package/dist/toggle-group/toggle-group.js +1 -0
- package/dist/tooltip/index.d.ts +1 -2
- package/dist/tooltip/index.js +0 -1
- package/dist/tooltip/tooltip.d.ts +1 -0
- package/dist/tooltip/tooltip.js +1 -0
- package/dist/tour/.gitkeep +0 -0
- package/package.json +4 -2
- /package/dist/{signature-pad → floating-panel}/.gitkeep +0 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlProps} from '../types.js';
|
3
|
+
|
4
|
+
export interface StepsCompletedContentProps extends HtmlProps<'div'> {}
|
5
|
+
</script>
|
6
|
+
|
7
|
+
<script lang="ts">
|
8
|
+
import {mergeProps} from '@zag-js/svelte';
|
9
|
+
import {stepsContext} from './context.svelte.js';
|
10
|
+
|
11
|
+
let {children, ...props}: StepsCompletedContentProps = $props();
|
12
|
+
|
13
|
+
let steps = stepsContext.get();
|
14
|
+
|
15
|
+
let attrs = $derived(
|
16
|
+
mergeProps(
|
17
|
+
props,
|
18
|
+
steps.getContentProps({
|
19
|
+
index: steps.count,
|
20
|
+
}),
|
21
|
+
),
|
22
|
+
);
|
23
|
+
</script>
|
24
|
+
|
25
|
+
<div {...attrs}>
|
26
|
+
{@render children?.()}
|
27
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
|
+
$$bindings?: Bindings;
|
4
|
+
} & Exports;
|
5
|
+
(internal: unknown, props: Props & {
|
6
|
+
$$events?: Events;
|
7
|
+
$$slots?: Slots;
|
8
|
+
}): Exports & {
|
9
|
+
$set?: any;
|
10
|
+
$on?: any;
|
11
|
+
};
|
12
|
+
z_$$bindings?: Bindings;
|
13
|
+
}
|
14
|
+
declare const CompletedContent: $$__sveltets_2_IsomorphicComponent<StepsCompletedContentProps, {
|
15
|
+
[evt: string]: CustomEvent<any>;
|
16
|
+
}, {}, {}, "">;
|
17
|
+
type CompletedContent = InstanceType<typeof CompletedContent>;
|
18
|
+
export default CompletedContent;
|
package/dist/steps/index.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
export
|
1
|
+
export * as Steps from './steps.js';
|
2
|
+
export type { StepsCompletedContentProps } from './completed-content.svelte';
|
2
3
|
export type { StepsContentProps } from './content.svelte';
|
3
4
|
export type { StepsIndicatorProps } from './indicator.svelte';
|
4
5
|
export type { StepsItemProps } from './item.svelte';
|
@@ -8,5 +9,4 @@ export type { StepsPrevTriggerProps } from './prev-trigger.svelte';
|
|
8
9
|
export type { StepsProgressProps } from './progress.svelte';
|
9
10
|
export type { StepsProps } from './root.svelte';
|
10
11
|
export type { StepsSeparatorProps } from './separator.svelte';
|
11
|
-
export * as Steps from './steps.js';
|
12
12
|
export type { StepsTriggerProps } from './trigger.svelte';
|
package/dist/steps/index.js
CHANGED
package/dist/steps/steps.d.ts
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
export { anatomy } from '@zag-js/steps';
|
2
|
+
export { default as CompletedContent } from './completed-content.svelte';
|
1
3
|
export { default as Content } from './content.svelte';
|
2
4
|
export { default as Indicator } from './indicator.svelte';
|
3
5
|
export { default as Item } from './item.svelte';
|
package/dist/steps/steps.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
export { anatomy } from '@zag-js/steps';
|
2
|
+
export { default as CompletedContent } from './completed-content.svelte';
|
1
3
|
export { default as Content } from './content.svelte';
|
2
4
|
export { default as Indicator } from './indicator.svelte';
|
3
5
|
export { default as Item } from './item.svelte';
|
package/dist/switch/index.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
export
|
1
|
+
export * as Switch from './switch.js';
|
2
2
|
export type { SwitchControlProps } from './control.svelte';
|
3
3
|
export type { SwitchHiddenInputProps } from './hidden-input.svelte';
|
4
4
|
export type { SwitchLabelProps } from './label.svelte';
|
5
5
|
export type { SwitchProps } from './root.svelte';
|
6
|
-
export * as Switch from './switch.js';
|
7
6
|
export type { SwitchThumbProps } from './thumb.svelte';
|
package/dist/switch/index.js
CHANGED
package/dist/switch/switch.d.ts
CHANGED
package/dist/switch/switch.js
CHANGED
package/dist/tabs/index.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
export
|
1
|
+
export * as Tabs from './tabs.js';
|
2
2
|
export type { TabsContentProps } from './content.svelte';
|
3
3
|
export type { TabsListProps } from './list.svelte';
|
4
4
|
export type { TabsProps } from './root.svelte';
|
5
|
-
export * as Tabs from './tabs.js';
|
6
5
|
export type { TabsTriggerProps } from './trigger.svelte';
|
package/dist/tabs/index.js
CHANGED
package/dist/tabs/tabs.d.ts
CHANGED
package/dist/tabs/tabs.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export
|
1
|
+
export * as TagsInput from './tags-input.js';
|
2
2
|
export type { TagsInputClearTriggerProps } from './clear-trigger.svelte';
|
3
3
|
export type { TagsInputControlProps } from './control.svelte';
|
4
4
|
export type { TagsInputHiddenInputProps } from './hidden-input.svelte';
|
@@ -10,4 +10,3 @@ export type { TagsInputItemTextProps } from './item-text.svelte';
|
|
10
10
|
export type { TagsInputItemProps } from './item.svelte';
|
11
11
|
export type { TagsInputLabelProps } from './label.svelte';
|
12
12
|
export type { TagsInputProps } from './root.svelte';
|
13
|
-
export * as TagsInput from './tags-input.js';
|
package/dist/tags-input/index.js
CHANGED
File without changes
|
package/dist/timer/timer.d.ts
CHANGED
package/dist/timer/timer.js
CHANGED
package/dist/toast/index.d.ts
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
export { anatomy as toastAnatomy } from '@zag-js/toast';
|
2
|
-
export { type ToastActionTriggerProps } from './action-trigger.svelte';
|
3
|
-
export { type ToastCloseTriggerProps } from './close-trigger.svelte';
|
4
|
-
export { createToaster, type CreateToasterProps, type CreateToasterReturn, } from './create-toaster.svelte.js';
|
5
|
-
export { type ToastDescriptionProps } from './description.svelte';
|
6
|
-
export { type ToastProps } from './root.svelte';
|
7
|
-
export { type ToastTitleProps } from './title.svelte';
|
8
1
|
export * as Toast from './toast.js';
|
2
|
+
export type { ToastActionTriggerProps } from './action-trigger.svelte';
|
3
|
+
export type { ToastCloseTriggerProps } from './close-trigger.svelte';
|
4
|
+
export type { ToastDescriptionProps } from './description.svelte';
|
5
|
+
export type { ToastProps } from './root.svelte';
|
6
|
+
export type { ToastTitleProps } from './title.svelte';
|
7
|
+
export { createToaster, type CreateToasterProps, type CreateToasterReturn, } from './create-toaster.svelte.js';
|
9
8
|
export { default as Toaster, type ToasterProps } from './toaster.svelte';
|
package/dist/toast/index.js
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
export { anatomy as toastAnatomy } from '@zag-js/toast';
|
2
|
-
export {} from './action-trigger.svelte';
|
3
|
-
export {} from './close-trigger.svelte';
|
4
|
-
export { createToaster, } from './create-toaster.svelte.js';
|
5
|
-
export {} from './description.svelte';
|
6
|
-
export {} from './root.svelte';
|
7
|
-
export {} from './title.svelte';
|
8
1
|
export * as Toast from './toast.js';
|
2
|
+
export { createToaster, } from './create-toaster.svelte.js';
|
9
3
|
export { default as Toaster } from './toaster.svelte';
|
package/dist/toast/toast.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
export {
|
2
|
-
export { default as
|
3
|
-
export { default as
|
4
|
-
export { default as
|
5
|
-
export { default as
|
1
|
+
export { anatomy } from '@zag-js/toast';
|
2
|
+
export { default as ActionTrigger } from './action-trigger.svelte';
|
3
|
+
export { default as CloseTrigger } from './close-trigger.svelte';
|
4
|
+
export { default as Description } from './description.svelte';
|
5
|
+
export { default as Root } from './root.svelte';
|
6
|
+
export { default as Title } from './title.svelte';
|
package/dist/toast/toast.js
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
export
|
1
|
+
export * as ToggleGroup from './toggle-group.js';
|
2
2
|
export type { ToggleGroupItemProps } from './item.svelte';
|
3
3
|
export type { ToggleGroupProps } from './root.svelte';
|
4
|
-
export * as ToggleGroup from './toggle-group.js';
|
package/dist/tooltip/index.d.ts
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-
export
|
1
|
+
export * as Tooltip from './tooltip.js';
|
2
2
|
export type { TooltipArrowTipProps } from './arrow-tip.svelte';
|
3
3
|
export type { TooltipArrowProps } from './arrow.svelte';
|
4
4
|
export type { TooltipContentProps } from './content.svelte';
|
5
5
|
export type { TooltipPositionerProps } from './positioner.svelte';
|
6
6
|
export type { TooltipProps } from './root.svelte';
|
7
|
-
export * as Tooltip from './tooltip.js';
|
8
7
|
export type { TooltipTriggerProps } from './trigger.svelte';
|
package/dist/tooltip/index.js
CHANGED
package/dist/tooltip/tooltip.js
CHANGED
File without changes
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "ui-ingredients",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.23",
|
5
5
|
"packageManager": "pnpm@9.7.0",
|
6
6
|
"svelte": "./dist/index.js",
|
7
7
|
"types": "./dist/index.d.ts",
|
@@ -85,7 +85,6 @@
|
|
85
85
|
"release": "release-it"
|
86
86
|
},
|
87
87
|
"dependencies": {
|
88
|
-
"@internationalized/date": "3.5.5",
|
89
88
|
"@zag-js/accordion": "0.65.1",
|
90
89
|
"@zag-js/anatomy": "0.65.1",
|
91
90
|
"@zag-js/avatar": "0.65.1",
|
@@ -100,6 +99,7 @@
|
|
100
99
|
"@zag-js/dom-query": "0.65.1",
|
101
100
|
"@zag-js/editable": "0.65.1",
|
102
101
|
"@zag-js/file-upload": "0.65.1",
|
102
|
+
"@zag-js/floating-panel": "0.65.1",
|
103
103
|
"@zag-js/hover-card": "0.65.1",
|
104
104
|
"@zag-js/i18n-utils": "0.65.1",
|
105
105
|
"@zag-js/menu": "0.65.1",
|
@@ -121,10 +121,12 @@
|
|
121
121
|
"@zag-js/switch": "0.65.1",
|
122
122
|
"@zag-js/tabs": "0.65.1",
|
123
123
|
"@zag-js/tags-input": "0.65.1",
|
124
|
+
"@zag-js/time-picker": "0.65.1",
|
124
125
|
"@zag-js/timer": "0.65.1",
|
125
126
|
"@zag-js/toast": "0.65.1",
|
126
127
|
"@zag-js/toggle-group": "0.65.1",
|
127
128
|
"@zag-js/tooltip": "0.65.1",
|
129
|
+
"@zag-js/tour": "0.65.1",
|
128
130
|
"@zag-js/tree-view": "0.65.1",
|
129
131
|
"uid": "2.0.2"
|
130
132
|
},
|
File without changes
|