@ark-ui/react 4.6.0 → 4.8.0
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.
- package/dist/components/accordion/accordion.d.cts +6 -6
- package/dist/components/accordion/accordion.d.ts +6 -6
- package/dist/components/accordion/index.d.cts +2 -2
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/avatar/avatar.d.cts +4 -4
- package/dist/components/avatar/avatar.d.ts +4 -4
- package/dist/components/avatar/index.d.cts +6 -6
- package/dist/components/avatar/index.d.ts +6 -6
- package/dist/components/carousel/carousel.d.cts +1 -1
- package/dist/components/carousel/carousel.d.ts +1 -1
- package/dist/components/carousel/index.d.cts +3 -3
- package/dist/components/carousel/index.d.ts +3 -3
- package/dist/components/checkbox/checkbox.d.cts +7 -7
- package/dist/components/checkbox/checkbox.d.ts +7 -7
- package/dist/components/checkbox/index.d.cts +2 -2
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/clipboard/clipboard-value-text.cjs +19 -0
- package/dist/components/clipboard/clipboard-value-text.d.cts +7 -0
- package/dist/components/clipboard/clipboard-value-text.d.ts +7 -0
- package/dist/components/clipboard/clipboard-value-text.js +15 -0
- package/dist/components/clipboard/clipboard.cjs +2 -0
- package/dist/components/clipboard/clipboard.d.cts +8 -7
- package/dist/components/clipboard/clipboard.d.ts +8 -7
- package/dist/components/clipboard/clipboard.js +1 -0
- package/dist/components/clipboard/index.cjs +2 -0
- package/dist/components/clipboard/index.d.cts +2 -1
- package/dist/components/clipboard/index.d.ts +2 -1
- package/dist/components/clipboard/index.js +1 -0
- package/dist/components/collapsible/collapsible.d.cts +4 -4
- package/dist/components/collapsible/collapsible.d.ts +4 -4
- package/dist/components/collapsible/index.d.cts +1 -1
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/color-picker/index.d.cts +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/combobox/combobox-root.cjs +1 -0
- package/dist/components/combobox/combobox-root.js +1 -0
- package/dist/components/combobox/combobox.d.cts +15 -15
- package/dist/components/combobox/combobox.d.ts +15 -15
- package/dist/components/combobox/index.d.cts +5 -5
- package/dist/components/combobox/index.d.ts +5 -5
- package/dist/components/date-picker/index.d.cts +2 -2
- package/dist/components/date-picker/index.d.ts +2 -2
- package/dist/components/dialog/index.d.cts +3 -3
- package/dist/components/dialog/index.d.ts +3 -3
- package/dist/components/editable/editable.d.cts +10 -10
- package/dist/components/editable/editable.d.ts +10 -10
- package/dist/components/editable/index.d.cts +3 -3
- package/dist/components/editable/index.d.ts +3 -3
- package/dist/components/field/index.cjs +2 -2
- package/dist/components/field/index.d.cts +1 -1
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/use-field.d.cts +1 -1
- package/dist/components/field/use-field.d.ts +1 -1
- package/dist/components/fieldset/fieldset.cjs +8 -8
- package/dist/components/fieldset/fieldset.d.cts +5 -5
- package/dist/components/fieldset/fieldset.d.ts +5 -5
- package/dist/components/fieldset/fieldset.js +4 -4
- package/dist/components/fieldset/use-fieldset.cjs +1 -1
- package/dist/components/fieldset/use-fieldset.d.cts +1 -1
- package/dist/components/fieldset/use-fieldset.d.ts +1 -1
- package/dist/components/fieldset/use-fieldset.js +1 -1
- package/dist/components/file-upload/file-upload-root.cjs +1 -0
- package/dist/components/file-upload/file-upload-root.js +1 -0
- package/dist/components/focus-trap/focus-trap.cjs +34 -0
- package/dist/components/focus-trap/focus-trap.d.cts +15 -0
- package/dist/components/focus-trap/focus-trap.d.ts +15 -0
- package/dist/components/focus-trap/focus-trap.js +30 -0
- package/dist/components/focus-trap/index.cjs +9 -0
- package/dist/components/focus-trap/index.d.cts +2 -0
- package/dist/components/focus-trap/index.d.ts +2 -0
- package/dist/components/focus-trap/index.js +1 -0
- package/dist/components/format/format.d.cts +2 -2
- package/dist/components/format/format.d.ts +2 -2
- package/dist/components/format/index.d.cts +2 -2
- package/dist/components/format/index.d.ts +2 -2
- package/dist/components/frame/index.d.cts +1 -1
- package/dist/components/frame/index.d.ts +1 -1
- package/dist/components/highlight/index.d.cts +1 -1
- package/dist/components/highlight/index.d.ts +1 -1
- package/dist/components/hover-card/hover-card.d.cts +7 -7
- package/dist/components/hover-card/hover-card.d.ts +7 -7
- package/dist/components/hover-card/index.d.cts +1 -1
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/index.cjs +46 -4
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +25 -3
- package/dist/components/menu/index.d.cts +9 -9
- package/dist/components/menu/index.d.ts +9 -9
- package/dist/components/menu/menu-root.cjs +1 -0
- package/dist/components/menu/menu-root.js +1 -0
- package/dist/components/menu/menu.d.cts +19 -19
- package/dist/components/menu/menu.d.ts +19 -19
- package/dist/components/number-input/index.d.cts +1 -1
- package/dist/components/number-input/index.d.ts +1 -1
- package/dist/components/pagination/index.d.cts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/pagination.d.cts +7 -7
- package/dist/components/pagination/pagination.d.ts +7 -7
- package/dist/components/pin-input/index.d.cts +2 -2
- package/dist/components/pin-input/index.d.ts +2 -2
- package/dist/components/pin-input/pin-input.d.cts +6 -6
- package/dist/components/pin-input/pin-input.d.ts +6 -6
- package/dist/components/popover/index.d.cts +4 -4
- package/dist/components/popover/index.d.ts +4 -4
- package/dist/components/popover/popover.d.cts +12 -12
- package/dist/components/popover/popover.d.ts +12 -12
- package/dist/components/portal/index.d.cts +1 -1
- package/dist/components/portal/index.d.ts +1 -1
- package/dist/components/portal/portal.d.cts +1 -1
- package/dist/components/portal/portal.d.ts +1 -1
- package/dist/components/presence/index.d.cts +1 -1
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/progress/examples/circular/controlled.d.cts +1 -0
- package/dist/components/progress/examples/circular/controlled.d.ts +1 -0
- package/dist/components/progress/examples/linear/controlled.d.cts +1 -0
- package/dist/components/progress/examples/linear/controlled.d.ts +1 -0
- package/dist/components/progress/examples/linear/root-provider.d.cts +1 -1
- package/dist/components/progress/examples/linear/root-provider.d.ts +1 -1
- package/dist/components/progress/index.d.cts +3 -3
- package/dist/components/progress/index.d.ts +3 -3
- package/dist/components/progress/progress-root.cjs +2 -0
- package/dist/components/progress/progress-root.d.cts +2 -1
- package/dist/components/progress/progress-root.d.ts +2 -1
- package/dist/components/progress/progress-root.js +2 -0
- package/dist/components/progress/progress.d.cts +10 -10
- package/dist/components/progress/progress.d.ts +10 -10
- package/dist/components/progress/use-progress.cjs +4 -1
- package/dist/components/progress/use-progress.d.cts +5 -0
- package/dist/components/progress/use-progress.d.ts +5 -0
- package/dist/components/progress/use-progress.js +4 -1
- package/dist/components/qr-code/index.cjs +2 -0
- package/dist/components/qr-code/index.d.cts +4 -3
- package/dist/components/qr-code/index.d.ts +4 -3
- package/dist/components/qr-code/index.js +1 -0
- package/dist/components/qr-code/qr-code-download-trigger.cjs +27 -0
- package/dist/components/qr-code/qr-code-download-trigger.d.cts +8 -0
- package/dist/components/qr-code/qr-code-download-trigger.d.ts +8 -0
- package/dist/components/qr-code/qr-code-download-trigger.js +23 -0
- package/dist/components/qr-code/qr-code-root.cjs +2 -0
- package/dist/components/qr-code/qr-code-root.d.cts +2 -1
- package/dist/components/qr-code/qr-code-root.d.ts +2 -1
- package/dist/components/qr-code/qr-code-root.js +2 -0
- package/dist/components/qr-code/qr-code.cjs +2 -0
- package/dist/components/qr-code/qr-code.d.cts +6 -5
- package/dist/components/qr-code/qr-code.d.ts +6 -5
- package/dist/components/qr-code/qr-code.js +1 -0
- package/dist/components/qr-code/use-qr-code.cjs +10 -2
- package/dist/components/qr-code/use-qr-code.d.cts +5 -0
- package/dist/components/qr-code/use-qr-code.d.ts +5 -0
- package/dist/components/qr-code/use-qr-code.js +10 -2
- package/dist/components/radio-group/index.d.cts +2 -2
- package/dist/components/radio-group/index.d.ts +2 -2
- package/dist/components/radio-group/radio-group.d.cts +8 -8
- package/dist/components/radio-group/radio-group.d.ts +8 -8
- package/dist/components/rating-group/index.d.cts +1 -1
- package/dist/components/rating-group/index.d.ts +1 -1
- package/dist/components/rating-group/rating-group.cjs +2 -2
- package/dist/components/rating-group/rating-group.d.cts +6 -6
- package/dist/components/rating-group/rating-group.d.ts +6 -6
- package/dist/components/rating-group/rating-group.js +1 -1
- package/dist/components/segment-group/index.d.cts +1 -1
- package/dist/components/segment-group/index.d.ts +1 -1
- package/dist/components/select/index.d.cts +6 -6
- package/dist/components/select/index.d.ts +6 -6
- package/dist/components/select/select.d.cts +17 -17
- package/dist/components/select/select.d.ts +17 -17
- package/dist/components/signature-pad/index.d.cts +1 -1
- package/dist/components/signature-pad/index.d.ts +1 -1
- package/dist/components/signature-pad/signature-pad.d.cts +8 -8
- package/dist/components/signature-pad/signature-pad.d.ts +8 -8
- package/dist/components/slider/index.d.cts +7 -7
- package/dist/components/slider/index.d.ts +7 -7
- package/dist/components/splitter/index.d.cts +2 -2
- package/dist/components/splitter/index.d.ts +2 -2
- package/dist/components/splitter/splitter.d.cts +4 -4
- package/dist/components/splitter/splitter.d.ts +4 -4
- package/dist/components/steps/steps.cjs +6 -6
- package/dist/components/steps/steps.d.cts +3 -3
- package/dist/components/steps/steps.d.ts +3 -3
- package/dist/components/steps/steps.js +3 -3
- package/dist/components/switch/index.d.cts +4 -4
- package/dist/components/switch/index.d.ts +4 -4
- package/dist/components/switch/switch.d.cts +6 -6
- package/dist/components/switch/switch.d.ts +6 -6
- package/dist/components/tabs/index.d.cts +6 -6
- package/dist/components/tabs/index.d.ts +6 -6
- package/dist/components/tabs/tabs-root.cjs +1 -0
- package/dist/components/tabs/tabs-root.js +1 -0
- package/dist/components/tabs/tabs.d.cts +6 -6
- package/dist/components/tabs/tabs.d.ts +6 -6
- package/dist/components/tags-input/index.d.cts +2 -2
- package/dist/components/tags-input/index.d.ts +2 -2
- package/dist/components/tags-input/tags-input.d.cts +12 -12
- package/dist/components/tags-input/tags-input.d.ts +12 -12
- package/dist/components/time-picker/index.d.cts +1 -1
- package/dist/components/time-picker/index.d.ts +1 -1
- package/dist/components/time-picker/time-picker.d.cts +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/timer/timer.d.cts +1 -1
- package/dist/components/timer/timer.d.ts +1 -1
- package/dist/components/toast/index.d.cts +5 -5
- package/dist/components/toast/index.d.ts +5 -5
- package/dist/components/toggle/index.cjs +2 -2
- package/dist/components/toggle/index.d.cts +2 -2
- package/dist/components/toggle/index.d.ts +2 -2
- package/dist/components/toggle/index.js +2 -2
- package/dist/components/toggle/toggle.d.cts +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle-group/index.d.cts +1 -1
- package/dist/components/toggle-group/index.d.ts +1 -1
- package/dist/components/tooltip/index.d.cts +3 -3
- package/dist/components/tooltip/index.d.ts +3 -3
- package/dist/components/tooltip/tooltip.d.cts +7 -7
- package/dist/components/tooltip/tooltip.d.ts +7 -7
- package/dist/components/tour/index.cjs +45 -0
- package/dist/components/tour/index.d.cts +20 -0
- package/dist/components/tour/index.d.ts +20 -0
- package/dist/components/tour/index.js +20 -0
- package/dist/components/tour/tour-action-trigger.cjs +25 -0
- package/dist/components/tour/tour-action-trigger.d.cts +8 -0
- package/dist/components/tour/tour-action-trigger.d.ts +8 -0
- package/dist/components/tour/tour-action-trigger.js +21 -0
- package/dist/components/tour/tour-actions.cjs +10 -0
- package/dist/components/tour/tour-actions.d.cts +6 -0
- package/dist/components/tour/tour-actions.d.ts +6 -0
- package/dist/components/tour/tour-actions.js +6 -0
- package/dist/components/tour/tour-arrow-tip.cjs +19 -0
- package/dist/components/tour/tour-arrow-tip.d.cts +7 -0
- package/dist/components/tour/tour-arrow-tip.d.ts +7 -0
- package/dist/components/tour/tour-arrow-tip.js +15 -0
- package/dist/components/tour/tour-arrow.cjs +19 -0
- package/dist/components/tour/tour-arrow.d.cts +7 -0
- package/dist/components/tour/tour-arrow.d.ts +7 -0
- package/dist/components/tour/tour-arrow.js +15 -0
- package/dist/components/tour/tour-backdrop.cjs +30 -0
- package/dist/components/tour/tour-backdrop.d.cts +7 -0
- package/dist/components/tour/tour-backdrop.d.ts +7 -0
- package/dist/components/tour/tour-backdrop.js +26 -0
- package/dist/components/tour/tour-close-trigger.cjs +21 -0
- package/dist/components/tour/tour-close-trigger.d.cts +7 -0
- package/dist/components/tour/tour-close-trigger.d.ts +7 -0
- package/dist/components/tour/tour-close-trigger.js +17 -0
- package/dist/components/tour/tour-content.cjs +25 -0
- package/dist/components/tour/tour-content.d.cts +7 -0
- package/dist/components/tour/tour-content.d.ts +7 -0
- package/dist/components/tour/tour-content.js +21 -0
- package/dist/components/tour/tour-context.cjs +10 -0
- package/dist/components/tour/tour-context.d.cts +6 -0
- package/dist/components/tour/tour-context.d.ts +6 -0
- package/dist/components/tour/tour-context.js +6 -0
- package/dist/components/tour/tour-control.cjs +14 -0
- package/dist/components/tour/tour-control.d.cts +7 -0
- package/dist/components/tour/tour-control.d.ts +7 -0
- package/dist/components/tour/tour-control.js +10 -0
- package/dist/components/tour/tour-description.cjs +19 -0
- package/dist/components/tour/tour-description.d.cts +7 -0
- package/dist/components/tour/tour-description.d.ts +7 -0
- package/dist/components/tour/tour-description.js +15 -0
- package/dist/components/tour/tour-positioner.cjs +24 -0
- package/dist/components/tour/tour-positioner.d.cts +7 -0
- package/dist/components/tour/tour-positioner.d.ts +7 -0
- package/dist/components/tour/tour-positioner.js +20 -0
- package/dist/components/tour/tour-progress-text.cjs +19 -0
- package/dist/components/tour/tour-progress-text.d.cts +7 -0
- package/dist/components/tour/tour-progress-text.d.ts +7 -0
- package/dist/components/tour/tour-progress-text.js +15 -0
- package/dist/components/tour/tour-root.cjs +21 -0
- package/dist/components/tour/tour-root.d.cts +10 -0
- package/dist/components/tour/tour-root.d.ts +10 -0
- package/dist/components/tour/tour-root.js +17 -0
- package/dist/components/tour/tour-spotlight.cjs +31 -0
- package/dist/components/tour/tour-spotlight.d.cts +7 -0
- package/dist/components/tour/tour-spotlight.d.ts +7 -0
- package/dist/components/tour/tour-spotlight.js +27 -0
- package/dist/components/tour/tour-title.cjs +19 -0
- package/dist/components/tour/tour-title.d.cts +7 -0
- package/dist/components/tour/tour-title.d.ts +7 -0
- package/dist/components/tour/tour-title.js +15 -0
- package/dist/components/tour/tour.anatomy.cjs +10 -0
- package/dist/components/tour/tour.anatomy.d.cts +2 -0
- package/dist/components/tour/tour.anatomy.d.ts +2 -0
- package/dist/components/tour/tour.anatomy.js +6 -0
- package/dist/components/tour/tour.cjs +37 -0
- package/dist/components/tour/tour.d.cts +16 -0
- package/dist/components/tour/tour.d.ts +16 -0
- package/dist/components/tour/tour.js +15 -0
- package/dist/components/tour/use-tour-context.cjs +15 -0
- package/dist/components/tour/use-tour-context.d.cts +6 -0
- package/dist/components/tour/use-tour-context.d.ts +6 -0
- package/dist/components/tour/use-tour-context.js +10 -0
- package/dist/components/tour/use-tour.cjs +49 -0
- package/dist/components/tour/use-tour.d.cts +8 -0
- package/dist/components/tour/use-tour.d.ts +8 -0
- package/dist/components/tour/use-tour.js +26 -0
- package/dist/components/tree-view/tree-view-root-provider.d.cts +1 -0
- package/dist/components/tree-view/tree-view-root-provider.d.ts +1 -0
- package/dist/components/tree-view/tree-view-root.d.cts +1 -0
- package/dist/components/tree-view/tree-view-root.d.ts +1 -0
- package/dist/index.cjs +46 -4
- package/dist/index.js +25 -3
- package/dist/providers/environment/index.d.cts +2 -2
- package/dist/providers/environment/index.d.ts +2 -2
- package/package.json +58 -56
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { mergeProps } from '@zag-js/react';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
5
|
+
import { createSplitProps } from '../../utils/create-split-props.js';
|
|
6
|
+
import { ark } from '../factory.js';
|
|
7
|
+
import { useQrCodeContext } from './use-qr-code-context.js';
|
|
8
|
+
|
|
9
|
+
const QrCodeDownloadTrigger = forwardRef(
|
|
10
|
+
(props, ref) => {
|
|
11
|
+
const [downloadTriggerProps, localProps] = createSplitProps()(props, [
|
|
12
|
+
"fileName",
|
|
13
|
+
"mimeType",
|
|
14
|
+
"quality"
|
|
15
|
+
]);
|
|
16
|
+
const qrCode = useQrCodeContext();
|
|
17
|
+
const mergedProps = mergeProps(qrCode.getDownloadTriggerProps(downloadTriggerProps), localProps);
|
|
18
|
+
return /* @__PURE__ */ jsx(ark.button, { ...mergedProps, ref });
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
QrCodeDownloadTrigger.displayName = "QrCodeDownloadTrigger";
|
|
22
|
+
|
|
23
|
+
export { QrCodeDownloadTrigger };
|
|
@@ -13,9 +13,11 @@ const useQrCodeContext = require('./use-qr-code-context.cjs');
|
|
|
13
13
|
|
|
14
14
|
const QrCodeRoot = react.forwardRef((props, ref) => {
|
|
15
15
|
const [qrcodeProps, localProps] = createSplitProps.createSplitProps()(props, [
|
|
16
|
+
"defaultValue",
|
|
16
17
|
"encoding",
|
|
17
18
|
"id",
|
|
18
19
|
"ids",
|
|
20
|
+
"onValueChange",
|
|
19
21
|
"value"
|
|
20
22
|
]);
|
|
21
23
|
const qrCode = useQrCode.useQrCode(qrcodeProps);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Assign } from '../../types';
|
|
1
2
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
2
3
|
import { UseQrCodeProps } from './use-qr-code';
|
|
3
4
|
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
5
|
export interface QrCodeRootBaseProps extends UseQrCodeProps, PolymorphicProps {
|
|
5
6
|
}
|
|
6
|
-
export interface QrCodeRootProps extends HTMLProps<'div'>, QrCodeRootBaseProps {
|
|
7
|
+
export interface QrCodeRootProps extends Assign<HTMLProps<'div'>, QrCodeRootBaseProps> {
|
|
7
8
|
}
|
|
8
9
|
export declare const QrCodeRoot: ForwardRefExoticComponent<QrCodeRootProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Assign } from '../../types';
|
|
1
2
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
2
3
|
import { UseQrCodeProps } from './use-qr-code';
|
|
3
4
|
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
5
|
export interface QrCodeRootBaseProps extends UseQrCodeProps, PolymorphicProps {
|
|
5
6
|
}
|
|
6
|
-
export interface QrCodeRootProps extends HTMLProps<'div'>, QrCodeRootBaseProps {
|
|
7
|
+
export interface QrCodeRootProps extends Assign<HTMLProps<'div'>, QrCodeRootBaseProps> {
|
|
7
8
|
}
|
|
8
9
|
export declare const QrCodeRoot: ForwardRefExoticComponent<QrCodeRootProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -9,9 +9,11 @@ import { QrCodeProvider } from './use-qr-code-context.js';
|
|
|
9
9
|
|
|
10
10
|
const QrCodeRoot = forwardRef((props, ref) => {
|
|
11
11
|
const [qrcodeProps, localProps] = createSplitProps()(props, [
|
|
12
|
+
"defaultValue",
|
|
12
13
|
"encoding",
|
|
13
14
|
"id",
|
|
14
15
|
"ids",
|
|
16
|
+
"onValueChange",
|
|
15
17
|
"value"
|
|
16
18
|
]);
|
|
17
19
|
const qrCode = useQrCode(qrcodeProps);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const qrCodeContext = require('./qr-code-context.cjs');
|
|
6
|
+
const qrCodeDownloadTrigger = require('./qr-code-download-trigger.cjs');
|
|
6
7
|
const qrCodeFrame = require('./qr-code-frame.cjs');
|
|
7
8
|
const qrCodeOverlay = require('./qr-code-overlay.cjs');
|
|
8
9
|
const qrCodePattern = require('./qr-code-pattern.cjs');
|
|
@@ -12,6 +13,7 @@ const qrCodeRootProvider = require('./qr-code-root-provider.cjs');
|
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
exports.Context = qrCodeContext.QrCodeContext;
|
|
16
|
+
exports.DownloadTrigger = qrCodeDownloadTrigger.QrCodeDownloadTrigger;
|
|
15
17
|
exports.Frame = qrCodeFrame.QrCodeFrame;
|
|
16
18
|
exports.Overlay = qrCodeOverlay.QrCodeOverlay;
|
|
17
19
|
exports.Pattern = qrCodePattern.QrCodePattern;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export type { QrCodeGenerateOptions as GenerateOptions, QrCodeGenerateResult as GenerateResult, } from '@zag-js/qr-code';
|
|
2
2
|
export { QrCodeContext as Context, type QrCodeContextProps as ContextProps, } from './qr-code-context';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
3
|
+
export { QrCodeDownloadTrigger as DownloadTrigger, type QrCodeDownloadTriggerBaseProps as DownloadTriggerBaseProps, type QrCodeDownloadTriggerProps as DownloadTriggerProps, } from './qr-code-download-trigger';
|
|
4
|
+
export { QrCodeFrame as Frame, type QrCodeFrameBaseProps as FrameBaseProps, type QrCodeFrameProps as FrameProps, } from './qr-code-frame';
|
|
5
|
+
export { QrCodeOverlay as Overlay, type QrCodeOverlayBaseProps as OverlayBaseProps, type QrCodeOverlayProps as OverlayProps, } from './qr-code-overlay';
|
|
6
|
+
export { QrCodePattern as Pattern, type QrCodePatternBaseProps as PatternBaseProps, type QrCodePatternProps as PatternProps, } from './qr-code-pattern';
|
|
7
|
+
export { QrCodeRoot as Root, type QrCodeRootBaseProps as RootBaseProps, type QrCodeRootProps as RootProps, } from './qr-code-root';
|
|
8
|
+
export { QrCodeRootProvider as RootProvider, type QrCodeRootProviderBaseProps as RootProviderBaseProps, type QrCodeRootProviderProps as RootProviderProps, } from './qr-code-root-provider';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export type { QrCodeGenerateOptions as GenerateOptions, QrCodeGenerateResult as GenerateResult, } from '@zag-js/qr-code';
|
|
2
2
|
export { QrCodeContext as Context, type QrCodeContextProps as ContextProps, } from './qr-code-context';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
3
|
+
export { QrCodeDownloadTrigger as DownloadTrigger, type QrCodeDownloadTriggerBaseProps as DownloadTriggerBaseProps, type QrCodeDownloadTriggerProps as DownloadTriggerProps, } from './qr-code-download-trigger';
|
|
4
|
+
export { QrCodeFrame as Frame, type QrCodeFrameBaseProps as FrameBaseProps, type QrCodeFrameProps as FrameProps, } from './qr-code-frame';
|
|
5
|
+
export { QrCodeOverlay as Overlay, type QrCodeOverlayBaseProps as OverlayBaseProps, type QrCodeOverlayProps as OverlayProps, } from './qr-code-overlay';
|
|
6
|
+
export { QrCodePattern as Pattern, type QrCodePatternBaseProps as PatternBaseProps, type QrCodePatternProps as PatternProps, } from './qr-code-pattern';
|
|
7
|
+
export { QrCodeRoot as Root, type QrCodeRootBaseProps as RootBaseProps, type QrCodeRootProps as RootProps, } from './qr-code-root';
|
|
8
|
+
export { QrCodeRootProvider as RootProvider, type QrCodeRootProviderBaseProps as RootProviderBaseProps, type QrCodeRootProviderProps as RootProviderProps, } from './qr-code-root-provider';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { QrCodeContext as Context } from './qr-code-context.js';
|
|
2
|
+
export { QrCodeDownloadTrigger as DownloadTrigger } from './qr-code-download-trigger.js';
|
|
2
3
|
export { QrCodeFrame as Frame } from './qr-code-frame.js';
|
|
3
4
|
export { QrCodeOverlay as Overlay } from './qr-code-overlay.js';
|
|
4
5
|
export { QrCodePattern as Pattern } from './qr-code-pattern.js';
|
|
@@ -8,6 +8,7 @@ const react$1 = require('@zag-js/react');
|
|
|
8
8
|
const react = require('react');
|
|
9
9
|
const useEnvironmentContext = require('../../providers/environment/use-environment-context.cjs');
|
|
10
10
|
const useLocaleContext = require('../../providers/locale/use-locale-context.cjs');
|
|
11
|
+
const useEvent = require('../../utils/use-event.cjs');
|
|
11
12
|
|
|
12
13
|
function _interopNamespaceDefault(e) {
|
|
13
14
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
@@ -31,13 +32,20 @@ const qrcode__namespace = /*#__PURE__*/_interopNamespaceDefault(qrcode);
|
|
|
31
32
|
const useQrCode = (props = {}) => {
|
|
32
33
|
const { getRootNode } = useEnvironmentContext.useEnvironmentContext();
|
|
33
34
|
const { dir } = useLocaleContext.useLocaleContext();
|
|
34
|
-
const
|
|
35
|
+
const initialContext = {
|
|
35
36
|
id: react.useId(),
|
|
36
37
|
dir,
|
|
38
|
+
value: props.defaultValue,
|
|
37
39
|
getRootNode,
|
|
40
|
+
onValueChange: useEvent.useEvent(props.onValueChange, { sync: true }),
|
|
38
41
|
...props
|
|
39
42
|
};
|
|
40
|
-
const
|
|
43
|
+
const context = {
|
|
44
|
+
...initialContext,
|
|
45
|
+
value: props.value,
|
|
46
|
+
onValueChange: useEvent.useEvent(props.onValueChange, { sync: true })
|
|
47
|
+
};
|
|
48
|
+
const [state, send] = react$1.useMachine(qrcode__namespace.machine(initialContext), { context });
|
|
41
49
|
return qrcode__namespace.connect(state, send, react$1.normalizeProps);
|
|
42
50
|
};
|
|
43
51
|
|
|
@@ -2,6 +2,11 @@ import { PropTypes } from '@zag-js/react';
|
|
|
2
2
|
import { Optional } from '../../types';
|
|
3
3
|
import * as qrcode from '@zag-js/qr-code';
|
|
4
4
|
export interface UseQrCodeProps extends Optional<Omit<qrcode.Context, 'dir' | 'getRootNode'>, 'id'> {
|
|
5
|
+
/**
|
|
6
|
+
* The initial value of the qr code when it is first rendered.
|
|
7
|
+
* Use when you do not need to control the state of the qr code.
|
|
8
|
+
*/
|
|
9
|
+
defaultValue?: qrcode.Context['value'];
|
|
5
10
|
}
|
|
6
11
|
export interface UseQrCodeReturn extends qrcode.Api<PropTypes> {
|
|
7
12
|
}
|
|
@@ -2,6 +2,11 @@ import { PropTypes } from '@zag-js/react';
|
|
|
2
2
|
import { Optional } from '../../types';
|
|
3
3
|
import * as qrcode from '@zag-js/qr-code';
|
|
4
4
|
export interface UseQrCodeProps extends Optional<Omit<qrcode.Context, 'dir' | 'getRootNode'>, 'id'> {
|
|
5
|
+
/**
|
|
6
|
+
* The initial value of the qr code when it is first rendered.
|
|
7
|
+
* Use when you do not need to control the state of the qr code.
|
|
8
|
+
*/
|
|
9
|
+
defaultValue?: qrcode.Context['value'];
|
|
5
10
|
}
|
|
6
11
|
export interface UseQrCodeReturn extends qrcode.Api<PropTypes> {
|
|
7
12
|
}
|
|
@@ -4,17 +4,25 @@ import { useMachine, normalizeProps } from '@zag-js/react';
|
|
|
4
4
|
import { useId } from 'react';
|
|
5
5
|
import { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';
|
|
6
6
|
import { useLocaleContext } from '../../providers/locale/use-locale-context.js';
|
|
7
|
+
import { useEvent } from '../../utils/use-event.js';
|
|
7
8
|
|
|
8
9
|
const useQrCode = (props = {}) => {
|
|
9
10
|
const { getRootNode } = useEnvironmentContext();
|
|
10
11
|
const { dir } = useLocaleContext();
|
|
11
|
-
const
|
|
12
|
+
const initialContext = {
|
|
12
13
|
id: useId(),
|
|
13
14
|
dir,
|
|
15
|
+
value: props.defaultValue,
|
|
14
16
|
getRootNode,
|
|
17
|
+
onValueChange: useEvent(props.onValueChange, { sync: true }),
|
|
15
18
|
...props
|
|
16
19
|
};
|
|
17
|
-
const
|
|
20
|
+
const context = {
|
|
21
|
+
...initialContext,
|
|
22
|
+
value: props.value,
|
|
23
|
+
onValueChange: useEvent(props.onValueChange, { sync: true })
|
|
24
|
+
};
|
|
25
|
+
const [state, send] = useMachine(qrcode.machine(initialContext), { context });
|
|
18
26
|
return qrcode.connect(state, send, normalizeProps);
|
|
19
27
|
};
|
|
20
28
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type { ValueChangeDetails as RadioGroupValueChangeDetails } from '@zag-js/radio-group';
|
|
2
|
-
export { RadioGroupContext, type RadioGroupContextProps
|
|
2
|
+
export { RadioGroupContext, type RadioGroupContextProps } from './radio-group-context';
|
|
3
3
|
export { RadioGroupIndicator, type RadioGroupIndicatorBaseProps, type RadioGroupIndicatorProps, } from './radio-group-indicator';
|
|
4
4
|
export { RadioGroupItem, type RadioGroupItemBaseProps, type RadioGroupItemProps, } from './radio-group-item';
|
|
5
|
-
export { RadioGroupItemContext, type RadioGroupItemContextProps
|
|
5
|
+
export { RadioGroupItemContext, type RadioGroupItemContextProps } from './radio-group-item-context';
|
|
6
6
|
export { RadioGroupItemControl, type RadioGroupItemControlBaseProps, type RadioGroupItemControlProps, } from './radio-group-item-control';
|
|
7
7
|
export { RadioGroupItemHiddenInput, type RadioGroupItemHiddenInputBaseProps, type RadioGroupItemHiddenInputProps, } from './radio-group-item-hidden-input';
|
|
8
8
|
export { RadioGroupItemText, type RadioGroupItemTextBaseProps, type RadioGroupItemTextProps, } from './radio-group-item-text';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type { ValueChangeDetails as RadioGroupValueChangeDetails } from '@zag-js/radio-group';
|
|
2
|
-
export { RadioGroupContext, type RadioGroupContextProps
|
|
2
|
+
export { RadioGroupContext, type RadioGroupContextProps } from './radio-group-context';
|
|
3
3
|
export { RadioGroupIndicator, type RadioGroupIndicatorBaseProps, type RadioGroupIndicatorProps, } from './radio-group-indicator';
|
|
4
4
|
export { RadioGroupItem, type RadioGroupItemBaseProps, type RadioGroupItemProps, } from './radio-group-item';
|
|
5
|
-
export { RadioGroupItemContext, type RadioGroupItemContextProps
|
|
5
|
+
export { RadioGroupItemContext, type RadioGroupItemContextProps } from './radio-group-item-context';
|
|
6
6
|
export { RadioGroupItemControl, type RadioGroupItemControlBaseProps, type RadioGroupItemControlProps, } from './radio-group-item-control';
|
|
7
7
|
export { RadioGroupItemHiddenInput, type RadioGroupItemHiddenInputBaseProps, type RadioGroupItemHiddenInputProps, } from './radio-group-item-hidden-input';
|
|
8
8
|
export { RadioGroupItemText, type RadioGroupItemTextBaseProps, type RadioGroupItemTextProps, } from './radio-group-item-text';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type { ValueChangeDetails } from '@zag-js/radio-group';
|
|
2
2
|
export { RadioGroupContext as Context, type RadioGroupContext as ContextProps, } from './radio-group-context';
|
|
3
|
-
export { RadioGroupIndicator as Indicator, type
|
|
4
|
-
export { RadioGroupItem as Item, type
|
|
3
|
+
export { RadioGroupIndicator as Indicator, type RadioGroupIndicatorBaseProps as IndicatorBaseProps, type RadioGroupIndicatorProps as IndicatorProps, } from './radio-group-indicator';
|
|
4
|
+
export { RadioGroupItem as Item, type RadioGroupItemBaseProps as ItemBaseProps, type RadioGroupItemProps as ItemProps, } from './radio-group-item';
|
|
5
5
|
export { RadioGroupItemContext as ItemContext, type RadioGroupItemContext as ItemContextProps, } from './radio-group-item-context';
|
|
6
|
-
export { RadioGroupItemControl as ItemControl, type
|
|
7
|
-
export { RadioGroupItemHiddenInput as ItemHiddenInput, type
|
|
8
|
-
export { RadioGroupItemText as ItemText, type
|
|
9
|
-
export { RadioGroupLabel as Label, type
|
|
10
|
-
export { RadioGroupRoot as Root, type
|
|
11
|
-
export { RadioGroupRootProvider as RootProvider, type
|
|
6
|
+
export { RadioGroupItemControl as ItemControl, type RadioGroupItemControlBaseProps as ItemControlBaseProps, type RadioGroupItemControlProps as ItemControlProps, } from './radio-group-item-control';
|
|
7
|
+
export { RadioGroupItemHiddenInput as ItemHiddenInput, type RadioGroupItemHiddenInputBaseProps as ItemHiddenInputBaseProps, type RadioGroupItemHiddenInputProps as ItemHiddenInputProps, } from './radio-group-item-hidden-input';
|
|
8
|
+
export { RadioGroupItemText as ItemText, type RadioGroupItemTextBaseProps as ItemTextBaseProps, type RadioGroupItemTextProps as ItemTextProps, } from './radio-group-item-text';
|
|
9
|
+
export { RadioGroupLabel as Label, type RadioGroupLabelBaseProps as LabelBaseProps, type RadioGroupLabelProps as LabelProps, } from './radio-group-label';
|
|
10
|
+
export { RadioGroupRoot as Root, type RadioGroupRootBaseProps as RootBaseProps, type RadioGroupRootProps as RootProps, } from './radio-group-root';
|
|
11
|
+
export { RadioGroupRootProvider as RootProvider, type RadioGroupRootProviderBaseProps as RootProviderBaseProps, type RadioGroupRootProviderProps as RootProviderProps, } from './radio-group-root-provider';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type { ValueChangeDetails } from '@zag-js/radio-group';
|
|
2
2
|
export { RadioGroupContext as Context, type RadioGroupContext as ContextProps, } from './radio-group-context';
|
|
3
|
-
export { RadioGroupIndicator as Indicator, type
|
|
4
|
-
export { RadioGroupItem as Item, type
|
|
3
|
+
export { RadioGroupIndicator as Indicator, type RadioGroupIndicatorBaseProps as IndicatorBaseProps, type RadioGroupIndicatorProps as IndicatorProps, } from './radio-group-indicator';
|
|
4
|
+
export { RadioGroupItem as Item, type RadioGroupItemBaseProps as ItemBaseProps, type RadioGroupItemProps as ItemProps, } from './radio-group-item';
|
|
5
5
|
export { RadioGroupItemContext as ItemContext, type RadioGroupItemContext as ItemContextProps, } from './radio-group-item-context';
|
|
6
|
-
export { RadioGroupItemControl as ItemControl, type
|
|
7
|
-
export { RadioGroupItemHiddenInput as ItemHiddenInput, type
|
|
8
|
-
export { RadioGroupItemText as ItemText, type
|
|
9
|
-
export { RadioGroupLabel as Label, type
|
|
10
|
-
export { RadioGroupRoot as Root, type
|
|
11
|
-
export { RadioGroupRootProvider as RootProvider, type
|
|
6
|
+
export { RadioGroupItemControl as ItemControl, type RadioGroupItemControlBaseProps as ItemControlBaseProps, type RadioGroupItemControlProps as ItemControlProps, } from './radio-group-item-control';
|
|
7
|
+
export { RadioGroupItemHiddenInput as ItemHiddenInput, type RadioGroupItemHiddenInputBaseProps as ItemHiddenInputBaseProps, type RadioGroupItemHiddenInputProps as ItemHiddenInputProps, } from './radio-group-item-hidden-input';
|
|
8
|
+
export { RadioGroupItemText as ItemText, type RadioGroupItemTextBaseProps as ItemTextBaseProps, type RadioGroupItemTextProps as ItemTextProps, } from './radio-group-item-text';
|
|
9
|
+
export { RadioGroupLabel as Label, type RadioGroupLabelBaseProps as LabelBaseProps, type RadioGroupLabelProps as LabelProps, } from './radio-group-label';
|
|
10
|
+
export { RadioGroupRoot as Root, type RadioGroupRootBaseProps as RootBaseProps, type RadioGroupRootProps as RootProps, } from './radio-group-root';
|
|
11
|
+
export { RadioGroupRootProvider as RootProvider, type RadioGroupRootProviderBaseProps as RootProviderBaseProps, type RadioGroupRootProviderProps as RootProviderProps, } from './radio-group-root-provider';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { HoverChangeDetails as RatingGroupHoverChangeDetails, ValueChangeDetails as RatingGroupValueChangeDetails, } from '@zag-js/rating-group';
|
|
2
|
-
export { RatingGroupContext, type RatingGroupContextProps
|
|
2
|
+
export { RatingGroupContext, type RatingGroupContextProps } from './rating-group-context';
|
|
3
3
|
export { RatingGroupControl, type RatingGroupControlBaseProps, type RatingGroupControlProps, } from './rating-group-control';
|
|
4
4
|
export { RatingGroupHiddenInput, type RatingGroupHiddenInputBaseProps, type RatingGroupHiddenInputProps, } from './rating-group-hidden-input';
|
|
5
5
|
export { RatingGroupItem, type RatingGroupItemBaseProps, type RatingGroupItemProps, } from './rating-group-item';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { HoverChangeDetails as RatingGroupHoverChangeDetails, ValueChangeDetails as RatingGroupValueChangeDetails, } from '@zag-js/rating-group';
|
|
2
|
-
export { RatingGroupContext, type RatingGroupContextProps
|
|
2
|
+
export { RatingGroupContext, type RatingGroupContextProps } from './rating-group-context';
|
|
3
3
|
export { RatingGroupControl, type RatingGroupControlBaseProps, type RatingGroupControlProps, } from './rating-group-control';
|
|
4
4
|
export { RatingGroupHiddenInput, type RatingGroupHiddenInputBaseProps, type RatingGroupHiddenInputProps, } from './rating-group-hidden-input';
|
|
5
5
|
export { RatingGroupItem, type RatingGroupItemBaseProps, type RatingGroupItemProps, } from './rating-group-item';
|
|
@@ -4,20 +4,20 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4
4
|
|
|
5
5
|
const ratingGroupContext = require('./rating-group-context.cjs');
|
|
6
6
|
const ratingGroupControl = require('./rating-group-control.cjs');
|
|
7
|
+
const ratingGroupHiddenInput = require('./rating-group-hidden-input.cjs');
|
|
7
8
|
const ratingGroupItem = require('./rating-group-item.cjs');
|
|
8
9
|
const ratingGroupItemContext = require('./rating-group-item-context.cjs');
|
|
9
10
|
const ratingGroupLabel = require('./rating-group-label.cjs');
|
|
10
11
|
const ratingGroupRoot = require('./rating-group-root.cjs');
|
|
11
12
|
const ratingGroupRootProvider = require('./rating-group-root-provider.cjs');
|
|
12
|
-
const ratingGroupHiddenInput = require('./rating-group-hidden-input.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
exports.Context = ratingGroupContext.RatingGroupContext;
|
|
17
17
|
exports.Control = ratingGroupControl.RatingGroupControl;
|
|
18
|
+
exports.HiddenInput = ratingGroupHiddenInput.RatingGroupHiddenInput;
|
|
18
19
|
exports.Item = ratingGroupItem.RatingGroupItem;
|
|
19
20
|
exports.ItemContext = ratingGroupItemContext.RatingGroupItemContext;
|
|
20
21
|
exports.Label = ratingGroupLabel.RatingGroupLabel;
|
|
21
22
|
exports.Root = ratingGroupRoot.RatingGroupRoot;
|
|
22
23
|
exports.RootProvider = ratingGroupRootProvider.RatingGroupRootProvider;
|
|
23
|
-
exports.HiddenInput = ratingGroupHiddenInput.RatingGroupHiddenInput;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export type { HoverChangeDetails, ValueChangeDetails } from '@zag-js/rating-group';
|
|
2
2
|
export { RatingGroupContext as Context, type RatingGroupContextProps as ContextProps, } from './rating-group-context';
|
|
3
|
-
export { RatingGroupControl as Control, type
|
|
4
|
-
export {
|
|
3
|
+
export { RatingGroupControl as Control, type RatingGroupControlBaseProps as ControlBaseProps, type RatingGroupControlProps as ControlProps, } from './rating-group-control';
|
|
4
|
+
export { RatingGroupHiddenInput as HiddenInput, type RatingGroupHiddenInputBaseProps as HiddenInputBaseProps, type RatingGroupHiddenInputProps as HiddenInputProps, } from './rating-group-hidden-input';
|
|
5
|
+
export { RatingGroupItem as Item, type RatingGroupItemBaseProps as ItemBaseProps, type RatingGroupItemProps as ItemProps, } from './rating-group-item';
|
|
5
6
|
export { RatingGroupItemContext as ItemContext, type RatingGroupItemContextProps as ItemContextProps, } from './rating-group-item-context';
|
|
6
|
-
export { RatingGroupLabel as Label, type
|
|
7
|
-
export { RatingGroupRoot as Root, type
|
|
8
|
-
export { RatingGroupRootProvider as RootProvider, type
|
|
9
|
-
export { RatingGroupHiddenInput as HiddenInput, type RatingGroupHiddenInputProps as HiddenInputProps, type RatingGroupHiddenInputBaseProps as HiddenInputBaseProps, } from './rating-group-hidden-input';
|
|
7
|
+
export { RatingGroupLabel as Label, type RatingGroupLabelBaseProps as LabelBaseProps, type RatingGroupLabelProps as LabelProps, } from './rating-group-label';
|
|
8
|
+
export { RatingGroupRoot as Root, type RatingGroupRootBaseProps as RootBaseProps, type RatingGroupRootProps as RootProps, } from './rating-group-root';
|
|
9
|
+
export { RatingGroupRootProvider as RootProvider, type RatingGroupRootProviderBaseProps as RootProviderBaseProps, type RatingGroupRootProviderProps as RootProviderProps, } from './rating-group-root-provider';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export type { HoverChangeDetails, ValueChangeDetails } from '@zag-js/rating-group';
|
|
2
2
|
export { RatingGroupContext as Context, type RatingGroupContextProps as ContextProps, } from './rating-group-context';
|
|
3
|
-
export { RatingGroupControl as Control, type
|
|
4
|
-
export {
|
|
3
|
+
export { RatingGroupControl as Control, type RatingGroupControlBaseProps as ControlBaseProps, type RatingGroupControlProps as ControlProps, } from './rating-group-control';
|
|
4
|
+
export { RatingGroupHiddenInput as HiddenInput, type RatingGroupHiddenInputBaseProps as HiddenInputBaseProps, type RatingGroupHiddenInputProps as HiddenInputProps, } from './rating-group-hidden-input';
|
|
5
|
+
export { RatingGroupItem as Item, type RatingGroupItemBaseProps as ItemBaseProps, type RatingGroupItemProps as ItemProps, } from './rating-group-item';
|
|
5
6
|
export { RatingGroupItemContext as ItemContext, type RatingGroupItemContextProps as ItemContextProps, } from './rating-group-item-context';
|
|
6
|
-
export { RatingGroupLabel as Label, type
|
|
7
|
-
export { RatingGroupRoot as Root, type
|
|
8
|
-
export { RatingGroupRootProvider as RootProvider, type
|
|
9
|
-
export { RatingGroupHiddenInput as HiddenInput, type RatingGroupHiddenInputProps as HiddenInputProps, type RatingGroupHiddenInputBaseProps as HiddenInputBaseProps, } from './rating-group-hidden-input';
|
|
7
|
+
export { RatingGroupLabel as Label, type RatingGroupLabelBaseProps as LabelBaseProps, type RatingGroupLabelProps as LabelProps, } from './rating-group-label';
|
|
8
|
+
export { RatingGroupRoot as Root, type RatingGroupRootBaseProps as RootBaseProps, type RatingGroupRootProps as RootProps, } from './rating-group-root';
|
|
9
|
+
export { RatingGroupRootProvider as RootProvider, type RatingGroupRootProviderBaseProps as RootProviderBaseProps, type RatingGroupRootProviderProps as RootProviderProps, } from './rating-group-root-provider';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { RatingGroupContext as Context } from './rating-group-context.js';
|
|
2
2
|
export { RatingGroupControl as Control } from './rating-group-control.js';
|
|
3
|
+
export { RatingGroupHiddenInput as HiddenInput } from './rating-group-hidden-input.js';
|
|
3
4
|
export { RatingGroupItem as Item } from './rating-group-item.js';
|
|
4
5
|
export { RatingGroupItemContext as ItemContext } from './rating-group-item-context.js';
|
|
5
6
|
export { RatingGroupLabel as Label } from './rating-group-label.js';
|
|
6
7
|
export { RatingGroupRoot as Root } from './rating-group-root.js';
|
|
7
8
|
export { RatingGroupRootProvider as RootProvider } from './rating-group-root-provider.js';
|
|
8
|
-
export { RatingGroupHiddenInput as HiddenInput } from './rating-group-hidden-input.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { ValueChangeDetails as SegmentGroupValueChangeDetails } from '@zag-js/radio-group';
|
|
2
|
-
export { SegmentGroupContext, type SegmentGroupContextProps
|
|
2
|
+
export { SegmentGroupContext, type SegmentGroupContextProps } from './segment-group-context';
|
|
3
3
|
export { SegmentGroupIndicator, type SegmentGroupIndicatorBaseProps, type SegmentGroupIndicatorProps, } from './segment-group-indicator';
|
|
4
4
|
export { SegmentGroupItem, type SegmentGroupItemBaseProps, type SegmentGroupItemProps, } from './segment-group-item';
|
|
5
5
|
export { SegmentGroupItemContext, type SegmentGroupItemContextProps, } from './segment-group-item-context';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { ValueChangeDetails as SegmentGroupValueChangeDetails } from '@zag-js/radio-group';
|
|
2
|
-
export { SegmentGroupContext, type SegmentGroupContextProps
|
|
2
|
+
export { SegmentGroupContext, type SegmentGroupContextProps } from './segment-group-context';
|
|
3
3
|
export { SegmentGroupIndicator, type SegmentGroupIndicatorBaseProps, type SegmentGroupIndicatorProps, } from './segment-group-indicator';
|
|
4
4
|
export { SegmentGroupItem, type SegmentGroupItemBaseProps, type SegmentGroupItemProps, } from './segment-group-item';
|
|
5
5
|
export { SegmentGroupItemContext, type SegmentGroupItemContextProps, } from './segment-group-item-context';
|
|
@@ -2,20 +2,20 @@ export type { HighlightChangeDetails as SelectHighlightChangeDetails, OpenChange
|
|
|
2
2
|
export { createListCollection, type CollectionItem, type ListCollection } from '../collection';
|
|
3
3
|
export { SelectClearTrigger, type SelectClearTriggerBaseProps, type SelectClearTriggerProps, } from './select-clear-trigger';
|
|
4
4
|
export { SelectContent, type SelectContentBaseProps, type SelectContentProps, } from './select-content';
|
|
5
|
-
export { SelectContext, type SelectContextProps
|
|
5
|
+
export { SelectContext, type SelectContextProps } from './select-context';
|
|
6
6
|
export { SelectControl, type SelectControlBaseProps, type SelectControlProps, } from './select-control';
|
|
7
7
|
export { SelectHiddenSelect, type SelectHiddenSelectBaseProps, type SelectHiddenSelectProps, } from './select-hidden-select';
|
|
8
8
|
export { SelectIndicator, type SelectIndicatorBaseProps, type SelectIndicatorProps, } from './select-indicator';
|
|
9
|
-
export { SelectItem, type SelectItemBaseProps, type SelectItemProps
|
|
10
|
-
export { SelectItemContext, type SelectItemContextProps
|
|
9
|
+
export { SelectItem, type SelectItemBaseProps, type SelectItemProps } from './select-item';
|
|
10
|
+
export { SelectItemContext, type SelectItemContextProps } from './select-item-context';
|
|
11
11
|
export { SelectItemGroup, type SelectItemGroupBaseProps, type SelectItemGroupProps, } from './select-item-group';
|
|
12
12
|
export { SelectItemGroupLabel, type SelectItemGroupLabelBaseProps, type SelectItemGroupLabelProps, } from './select-item-group-label';
|
|
13
13
|
export { SelectItemIndicator, type SelectItemIndicatorBaseProps, type SelectItemIndicatorProps, } from './select-item-indicator';
|
|
14
14
|
export { SelectItemText, type SelectItemTextBaseProps, type SelectItemTextProps, } from './select-item-text';
|
|
15
|
-
export { SelectLabel, type SelectLabelBaseProps, type SelectLabelProps
|
|
16
|
-
export { SelectList, type SelectListBaseProps, type SelectListProps
|
|
15
|
+
export { SelectLabel, type SelectLabelBaseProps, type SelectLabelProps } from './select-label';
|
|
16
|
+
export { SelectList, type SelectListBaseProps, type SelectListProps } from './select-list';
|
|
17
17
|
export { SelectPositioner, type SelectPositionerBaseProps, type SelectPositionerProps, } from './select-positioner';
|
|
18
|
-
export { SelectRoot, type SelectRootBaseProps, type SelectRootProps
|
|
18
|
+
export { SelectRoot, type SelectRootBaseProps, type SelectRootProps } from './select-root';
|
|
19
19
|
export { SelectRootProvider, type SelectRootProviderBaseProps, type SelectRootProviderProps, } from './select-root-provider';
|
|
20
20
|
export { SelectTrigger, type SelectTriggerBaseProps, type SelectTriggerProps, } from './select-trigger';
|
|
21
21
|
export { SelectValueText, type SelectValueTextBaseProps, type SelectValueTextProps, } from './select-value-text';
|
|
@@ -2,20 +2,20 @@ export type { HighlightChangeDetails as SelectHighlightChangeDetails, OpenChange
|
|
|
2
2
|
export { createListCollection, type CollectionItem, type ListCollection } from '../collection';
|
|
3
3
|
export { SelectClearTrigger, type SelectClearTriggerBaseProps, type SelectClearTriggerProps, } from './select-clear-trigger';
|
|
4
4
|
export { SelectContent, type SelectContentBaseProps, type SelectContentProps, } from './select-content';
|
|
5
|
-
export { SelectContext, type SelectContextProps
|
|
5
|
+
export { SelectContext, type SelectContextProps } from './select-context';
|
|
6
6
|
export { SelectControl, type SelectControlBaseProps, type SelectControlProps, } from './select-control';
|
|
7
7
|
export { SelectHiddenSelect, type SelectHiddenSelectBaseProps, type SelectHiddenSelectProps, } from './select-hidden-select';
|
|
8
8
|
export { SelectIndicator, type SelectIndicatorBaseProps, type SelectIndicatorProps, } from './select-indicator';
|
|
9
|
-
export { SelectItem, type SelectItemBaseProps, type SelectItemProps
|
|
10
|
-
export { SelectItemContext, type SelectItemContextProps
|
|
9
|
+
export { SelectItem, type SelectItemBaseProps, type SelectItemProps } from './select-item';
|
|
10
|
+
export { SelectItemContext, type SelectItemContextProps } from './select-item-context';
|
|
11
11
|
export { SelectItemGroup, type SelectItemGroupBaseProps, type SelectItemGroupProps, } from './select-item-group';
|
|
12
12
|
export { SelectItemGroupLabel, type SelectItemGroupLabelBaseProps, type SelectItemGroupLabelProps, } from './select-item-group-label';
|
|
13
13
|
export { SelectItemIndicator, type SelectItemIndicatorBaseProps, type SelectItemIndicatorProps, } from './select-item-indicator';
|
|
14
14
|
export { SelectItemText, type SelectItemTextBaseProps, type SelectItemTextProps, } from './select-item-text';
|
|
15
|
-
export { SelectLabel, type SelectLabelBaseProps, type SelectLabelProps
|
|
16
|
-
export { SelectList, type SelectListBaseProps, type SelectListProps
|
|
15
|
+
export { SelectLabel, type SelectLabelBaseProps, type SelectLabelProps } from './select-label';
|
|
16
|
+
export { SelectList, type SelectListBaseProps, type SelectListProps } from './select-list';
|
|
17
17
|
export { SelectPositioner, type SelectPositionerBaseProps, type SelectPositionerProps, } from './select-positioner';
|
|
18
|
-
export { SelectRoot, type SelectRootBaseProps, type SelectRootProps
|
|
18
|
+
export { SelectRoot, type SelectRootBaseProps, type SelectRootProps } from './select-root';
|
|
19
19
|
export { SelectRootProvider, type SelectRootProviderBaseProps, type SelectRootProviderProps, } from './select-root-provider';
|
|
20
20
|
export { SelectTrigger, type SelectTriggerBaseProps, type SelectTriggerProps, } from './select-trigger';
|
|
21
21
|
export { SelectValueText, type SelectValueTextBaseProps, type SelectValueTextProps, } from './select-value-text';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export type { HighlightChangeDetails, OpenChangeDetails, ValueChangeDetails } from '@zag-js/select';
|
|
2
2
|
export type { CollectionItem, ListCollection } from '../collection';
|
|
3
|
-
export { SelectClearTrigger as ClearTrigger, type
|
|
4
|
-
export { SelectContent as Content, type
|
|
3
|
+
export { SelectClearTrigger as ClearTrigger, type SelectClearTriggerBaseProps as ClearTriggerBaseProps, type SelectClearTriggerProps as ClearTriggerProps, } from './select-clear-trigger';
|
|
4
|
+
export { SelectContent as Content, type SelectContentBaseProps as ContentBaseProps, type SelectContentProps as ContentProps, } from './select-content';
|
|
5
5
|
export { SelectContext as Context, type SelectContextProps as ContextProps } from './select-context';
|
|
6
|
-
export { SelectControl as Control, type
|
|
7
|
-
export { SelectHiddenSelect as HiddenSelect, type
|
|
8
|
-
export { SelectIndicator as Indicator, type
|
|
9
|
-
export { SelectItem as Item, type
|
|
6
|
+
export { SelectControl as Control, type SelectControlBaseProps as ControlBaseProps, type SelectControlProps as ControlProps, } from './select-control';
|
|
7
|
+
export { SelectHiddenSelect as HiddenSelect, type SelectHiddenSelectBaseProps as HiddenSelectBaseProps, type SelectHiddenSelectProps as HiddenSelectProps, } from './select-hidden-select';
|
|
8
|
+
export { SelectIndicator as Indicator, type SelectIndicatorBaseProps as IndicatorBaseProps, type SelectIndicatorProps as IndicatorProps, } from './select-indicator';
|
|
9
|
+
export { SelectItem as Item, type SelectItemBaseProps as ItemBaseProps, type SelectItemProps as ItemProps, } from './select-item';
|
|
10
10
|
export { SelectItemContext as ItemContext, type SelectItemContextProps as ItemContextProps, } from './select-item-context';
|
|
11
|
-
export { SelectItemGroup as ItemGroup, type
|
|
12
|
-
export { SelectItemGroupLabel as ItemGroupLabel, type
|
|
13
|
-
export { SelectItemIndicator as ItemIndicator, type
|
|
14
|
-
export { SelectItemText as ItemText, type
|
|
15
|
-
export { SelectLabel as Label, type
|
|
16
|
-
export { SelectList as List, type
|
|
17
|
-
export { SelectPositioner as Positioner, type
|
|
18
|
-
export { SelectRoot as Root, type
|
|
19
|
-
export { SelectRootProvider as RootProvider, type
|
|
20
|
-
export { SelectTrigger as Trigger, type
|
|
21
|
-
export { SelectValueText as ValueText, type
|
|
11
|
+
export { SelectItemGroup as ItemGroup, type SelectItemGroupBaseProps as ItemGroupBaseProps, type SelectItemGroupProps as ItemGroupProps, } from './select-item-group';
|
|
12
|
+
export { SelectItemGroupLabel as ItemGroupLabel, type SelectItemGroupLabelBaseProps as ItemGroupLabelBaseProps, type SelectItemGroupLabelProps as ItemGroupLabelProps, } from './select-item-group-label';
|
|
13
|
+
export { SelectItemIndicator as ItemIndicator, type SelectItemIndicatorBaseProps as ItemIndicatorBaseProps, type SelectItemIndicatorProps as ItemIndicatorProps, } from './select-item-indicator';
|
|
14
|
+
export { SelectItemText as ItemText, type SelectItemTextBaseProps as ItemTextBaseProps, type SelectItemTextProps as ItemTextProps, } from './select-item-text';
|
|
15
|
+
export { SelectLabel as Label, type SelectLabelBaseProps as LabelBaseProps, type SelectLabelProps as LabelProps, } from './select-label';
|
|
16
|
+
export { SelectList as List, type SelectListBaseProps as ListBaseProps, type SelectListProps as ListProps, } from './select-list';
|
|
17
|
+
export { SelectPositioner as Positioner, type SelectPositionerBaseProps as PositionerBaseProps, type SelectPositionerProps as PositionerProps, } from './select-positioner';
|
|
18
|
+
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, } from './select-root';
|
|
19
|
+
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, } from './select-root-provider';
|
|
20
|
+
export { SelectTrigger as Trigger, type SelectTriggerBaseProps as TriggerBaseProps, type SelectTriggerProps as TriggerProps, } from './select-trigger';
|
|
21
|
+
export { SelectValueText as ValueText, type SelectValueTextBaseProps as ValueTextBaseProps, type SelectValueTextProps as ValueTextProps, } from './select-value-text';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export type { HighlightChangeDetails, OpenChangeDetails, ValueChangeDetails } from '@zag-js/select';
|
|
2
2
|
export type { CollectionItem, ListCollection } from '../collection';
|
|
3
|
-
export { SelectClearTrigger as ClearTrigger, type
|
|
4
|
-
export { SelectContent as Content, type
|
|
3
|
+
export { SelectClearTrigger as ClearTrigger, type SelectClearTriggerBaseProps as ClearTriggerBaseProps, type SelectClearTriggerProps as ClearTriggerProps, } from './select-clear-trigger';
|
|
4
|
+
export { SelectContent as Content, type SelectContentBaseProps as ContentBaseProps, type SelectContentProps as ContentProps, } from './select-content';
|
|
5
5
|
export { SelectContext as Context, type SelectContextProps as ContextProps } from './select-context';
|
|
6
|
-
export { SelectControl as Control, type
|
|
7
|
-
export { SelectHiddenSelect as HiddenSelect, type
|
|
8
|
-
export { SelectIndicator as Indicator, type
|
|
9
|
-
export { SelectItem as Item, type
|
|
6
|
+
export { SelectControl as Control, type SelectControlBaseProps as ControlBaseProps, type SelectControlProps as ControlProps, } from './select-control';
|
|
7
|
+
export { SelectHiddenSelect as HiddenSelect, type SelectHiddenSelectBaseProps as HiddenSelectBaseProps, type SelectHiddenSelectProps as HiddenSelectProps, } from './select-hidden-select';
|
|
8
|
+
export { SelectIndicator as Indicator, type SelectIndicatorBaseProps as IndicatorBaseProps, type SelectIndicatorProps as IndicatorProps, } from './select-indicator';
|
|
9
|
+
export { SelectItem as Item, type SelectItemBaseProps as ItemBaseProps, type SelectItemProps as ItemProps, } from './select-item';
|
|
10
10
|
export { SelectItemContext as ItemContext, type SelectItemContextProps as ItemContextProps, } from './select-item-context';
|
|
11
|
-
export { SelectItemGroup as ItemGroup, type
|
|
12
|
-
export { SelectItemGroupLabel as ItemGroupLabel, type
|
|
13
|
-
export { SelectItemIndicator as ItemIndicator, type
|
|
14
|
-
export { SelectItemText as ItemText, type
|
|
15
|
-
export { SelectLabel as Label, type
|
|
16
|
-
export { SelectList as List, type
|
|
17
|
-
export { SelectPositioner as Positioner, type
|
|
18
|
-
export { SelectRoot as Root, type
|
|
19
|
-
export { SelectRootProvider as RootProvider, type
|
|
20
|
-
export { SelectTrigger as Trigger, type
|
|
21
|
-
export { SelectValueText as ValueText, type
|
|
11
|
+
export { SelectItemGroup as ItemGroup, type SelectItemGroupBaseProps as ItemGroupBaseProps, type SelectItemGroupProps as ItemGroupProps, } from './select-item-group';
|
|
12
|
+
export { SelectItemGroupLabel as ItemGroupLabel, type SelectItemGroupLabelBaseProps as ItemGroupLabelBaseProps, type SelectItemGroupLabelProps as ItemGroupLabelProps, } from './select-item-group-label';
|
|
13
|
+
export { SelectItemIndicator as ItemIndicator, type SelectItemIndicatorBaseProps as ItemIndicatorBaseProps, type SelectItemIndicatorProps as ItemIndicatorProps, } from './select-item-indicator';
|
|
14
|
+
export { SelectItemText as ItemText, type SelectItemTextBaseProps as ItemTextBaseProps, type SelectItemTextProps as ItemTextProps, } from './select-item-text';
|
|
15
|
+
export { SelectLabel as Label, type SelectLabelBaseProps as LabelBaseProps, type SelectLabelProps as LabelProps, } from './select-label';
|
|
16
|
+
export { SelectList as List, type SelectListBaseProps as ListBaseProps, type SelectListProps as ListProps, } from './select-list';
|
|
17
|
+
export { SelectPositioner as Positioner, type SelectPositionerBaseProps as PositionerBaseProps, type SelectPositionerProps as PositionerProps, } from './select-positioner';
|
|
18
|
+
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, } from './select-root';
|
|
19
|
+
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, } from './select-root-provider';
|
|
20
|
+
export { SelectTrigger as Trigger, type SelectTriggerBaseProps as TriggerBaseProps, type SelectTriggerProps as TriggerProps, } from './select-trigger';
|
|
21
|
+
export { SelectValueText as ValueText, type SelectValueTextBaseProps as ValueTextBaseProps, type SelectValueTextProps as ValueTextProps, } from './select-value-text';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type { DrawDetails as SignaturePadDrawDetails, DrawEndDetails as SignaturePadDrawEndDetails, DrawingOptions as SignaturePadDrawingOptions, } from '@zag-js/signature-pad';
|
|
2
2
|
export { SignaturePadClearTrigger, type SignaturePadClearTriggerBaseProps, type SignaturePadClearTriggerProps, } from './signature-pad-clear-trigger';
|
|
3
|
-
export { SignaturePadContext, type SignaturePadContextProps
|
|
3
|
+
export { SignaturePadContext, type SignaturePadContextProps } from './signature-pad-context';
|
|
4
4
|
export { SignaturePadControl, type SignaturePadControlBaseProps, type SignaturePadControlProps, } from './signature-pad-control';
|
|
5
5
|
export { SignaturePadGuide, type SignaturePadGuideBaseProps, type SignaturePadGuideProps, } from './signature-pad-guide';
|
|
6
6
|
export { SignaturePadHiddenInput, type SignaturePadHiddenInputBaseProps, type SignaturePadHiddenInputProps, } from './signature-pad-hidden-input';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type { DrawDetails as SignaturePadDrawDetails, DrawEndDetails as SignaturePadDrawEndDetails, DrawingOptions as SignaturePadDrawingOptions, } from '@zag-js/signature-pad';
|
|
2
2
|
export { SignaturePadClearTrigger, type SignaturePadClearTriggerBaseProps, type SignaturePadClearTriggerProps, } from './signature-pad-clear-trigger';
|
|
3
|
-
export { SignaturePadContext, type SignaturePadContextProps
|
|
3
|
+
export { SignaturePadContext, type SignaturePadContextProps } from './signature-pad-context';
|
|
4
4
|
export { SignaturePadControl, type SignaturePadControlBaseProps, type SignaturePadControlProps, } from './signature-pad-control';
|
|
5
5
|
export { SignaturePadGuide, type SignaturePadGuideBaseProps, type SignaturePadGuideProps, } from './signature-pad-guide';
|
|
6
6
|
export { SignaturePadHiddenInput, type SignaturePadHiddenInputBaseProps, type SignaturePadHiddenInputProps, } from './signature-pad-hidden-input';
|