@sprawlify/react 0.0.60 → 0.0.62
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/{anatomy-CzVQbhXi.d.cts → anatomy-DAwKog6O.d.cts} +11 -11
- package/dist/{anatomy-Dm0fCIdo.d.mts → anatomy-ddyVWsi9.d.mts} +8 -8
- package/dist/{carousel-anatomy-BEePaY9h.d.mts → carousel-anatomy-D2N1U-Y7.d.mts} +1 -1
- package/dist/{carousel-anatomy-D1cDWmkE.d.cts → carousel-anatomy-D5_1pheU.d.cts} +1 -1
- package/dist/checkbox-anatomy-DcSHkA15.d.cts +6 -0
- package/dist/{color-picker-anatomy-BvbmiYuo.d.mts → color-picker-anatomy-Cz2IEv2-.d.cts} +2 -2
- package/dist/{color-picker-anatomy-CnxCJ7Tr.d.cts → color-picker-anatomy-DY-TZJD8.d.mts} +2 -2
- package/dist/combobox-anatomy-CeTmLbMw.d.mts +6 -0
- package/dist/combobox-anatomy-Dbx98pYH.d.cts +6 -0
- package/dist/components/accordion/index.d.cts +7 -7
- package/dist/components/accordion/index.d.mts +7 -7
- package/dist/components/anatomy.cjs +1 -1
- package/dist/components/anatomy.d.cts +12 -12
- package/dist/components/anatomy.d.mts +9 -9
- package/dist/components/anatomy.mjs +1 -1
- package/dist/components/angle-slider/index.d.cts +10 -10
- package/dist/components/angle-slider/index.d.mts +10 -10
- package/dist/components/avatar/index.d.cts +5 -5
- package/dist/components/avatar/index.d.mts +5 -5
- package/dist/components/bottom-sheet/index.d.cts +1 -1
- package/dist/components/bottom-sheet/index.d.mts +12 -12
- package/dist/components/carousel/index.d.cts +14 -14
- package/dist/components/carousel/index.d.mts +14 -14
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.d.cts +10 -10
- package/dist/components/checkbox/index.d.mts +9 -9
- package/dist/components/checkbox/index.mjs +1 -1
- package/dist/components/clipboard/index.d.cts +9 -9
- package/dist/components/clipboard/index.d.mts +9 -9
- package/dist/components/collapsible/index.d.cts +6 -6
- package/dist/components/collapsible/index.d.mts +6 -6
- package/dist/components/color-picker/index.d.cts +31 -31
- package/dist/components/color-picker/index.d.mts +31 -31
- package/dist/components/combobox/index.d.cts +2 -2
- package/dist/components/combobox/index.d.mts +17 -17
- package/dist/components/date-picker/index.cjs +26 -1
- package/dist/components/date-picker/index.d.cts +46 -31
- package/dist/components/date-picker/index.d.mts +46 -31
- package/dist/components/date-picker/index.mjs +27 -3
- package/dist/components/dialog/index.d.cts +12 -12
- package/dist/components/dialog/index.d.mts +12 -12
- package/dist/components/download-trigger/index.d.cts +2 -2
- package/dist/components/download-trigger/index.d.mts +2 -2
- package/dist/components/editable/index.d.cts +11 -11
- package/dist/components/editable/index.d.mts +11 -11
- package/dist/components/field/index.d.cts +12 -12
- package/dist/components/field/index.d.mts +12 -12
- package/dist/components/fieldset/index.d.cts +8 -8
- package/dist/components/fieldset/index.d.mts +8 -8
- package/dist/components/file-upload/index.d.cts +15 -15
- package/dist/components/file-upload/index.d.mts +15 -15
- package/dist/components/floating-panel/index.d.cts +16 -16
- package/dist/components/floating-panel/index.d.mts +16 -16
- package/dist/components/focus-trap/index.d.mts +2 -2
- package/dist/components/format/index.d.mts +4 -4
- package/dist/components/frame/index.d.cts +2 -2
- package/dist/components/frame/index.d.mts +2 -2
- package/dist/components/highlight/index.d.mts +2 -2
- package/dist/components/hover-card/index.d.cts +7 -7
- package/dist/components/hover-card/index.d.mts +10 -10
- package/dist/components/image-cropper/index.d.cts +8 -8
- package/dist/components/image-cropper/index.d.mts +8 -8
- package/dist/components/json-tree-view/index.d.cts +5 -5
- package/dist/components/json-tree-view/index.d.mts +5 -5
- package/dist/components/listbox/index.d.cts +12 -12
- package/dist/components/listbox/index.d.mts +12 -12
- package/dist/components/marquee/index.d.cts +7 -7
- package/dist/components/marquee/index.d.mts +7 -7
- package/dist/components/menu/index.d.cts +21 -21
- package/dist/components/menu/index.d.mts +32 -32
- package/dist/components/navigation-menu/index.d.cts +13 -13
- package/dist/components/navigation-menu/index.d.mts +13 -13
- package/dist/components/number-input/index.d.cts +10 -10
- package/dist/components/number-input/index.d.mts +10 -10
- package/dist/components/pagination/index.d.cts +9 -9
- package/dist/components/pagination/index.d.mts +9 -9
- package/dist/components/password-input/index.d.cts +8 -8
- package/dist/components/password-input/index.d.mts +8 -8
- package/dist/components/pin-input/index.d.cts +7 -7
- package/dist/components/pin-input/index.d.mts +7 -7
- package/dist/components/popover/index.d.cts +12 -12
- package/dist/components/popover/index.d.mts +15 -15
- package/dist/components/portal/index.d.mts +2 -2
- package/dist/components/presence/index.d.cts +1 -1
- package/dist/components/presence/index.d.mts +1 -1
- package/dist/components/progress/index.d.cts +11 -11
- package/dist/components/progress/index.d.mts +11 -11
- package/dist/components/qr-code/index.d.cts +7 -7
- package/dist/components/qr-code/index.d.mts +7 -7
- package/dist/components/radio-group/index.d.cts +9 -9
- package/dist/components/radio-group/index.d.mts +9 -9
- package/dist/components/rating-group/index.d.cts +7 -7
- package/dist/components/rating-group/index.d.mts +7 -7
- package/dist/components/scroll-area/index.d.cts +8 -8
- package/dist/components/scroll-area/index.d.mts +8 -8
- package/dist/components/segment-group/index.d.cts +10 -10
- package/dist/components/segment-group/index.d.mts +9 -9
- package/dist/components/select/index.d.cts +17 -17
- package/dist/components/select/index.d.mts +17 -17
- package/dist/components/signature-pad/index.d.cts +9 -9
- package/dist/components/signature-pad/index.d.mts +9 -9
- package/dist/components/slider/index.d.cts +13 -13
- package/dist/components/slider/index.d.mts +13 -13
- package/dist/components/splitter/index.d.cts +6 -6
- package/dist/components/splitter/index.d.mts +6 -6
- package/dist/components/steps/index.d.cts +13 -13
- package/dist/components/steps/index.d.mts +13 -13
- package/dist/components/switch/index.d.cts +7 -7
- package/dist/components/switch/index.d.mts +7 -7
- package/dist/components/tabs/index.d.cts +7 -7
- package/dist/components/tabs/index.d.mts +7 -7
- package/dist/components/tags-input/index.d.cts +13 -13
- package/dist/components/tags-input/index.d.mts +13 -13
- package/dist/components/timer/index.d.cts +8 -8
- package/dist/components/timer/index.d.mts +8 -8
- package/dist/components/toast/index.d.cts +7 -7
- package/dist/components/toast/index.d.mts +7 -7
- package/dist/components/toggle/index.d.cts +4 -4
- package/dist/components/toggle/index.d.mts +3 -3
- package/dist/components/toggle-group/index.d.cts +4 -4
- package/dist/components/toggle-group/index.d.mts +4 -4
- package/dist/components/tooltip/index.d.cts +10 -10
- package/dist/components/tooltip/index.d.mts +10 -10
- package/dist/components/tour/index.d.cts +17 -17
- package/dist/components/tour/index.d.mts +15 -15
- package/dist/components/tree-view/index.d.cts +1 -1
- package/dist/components/tree-view/index.d.mts +1 -1
- package/dist/{date-picker-anatomy-Bx8QOLFd.d.cts → date-picker-anatomy-B5wqtfw4.d.mts} +1 -1
- package/dist/date-picker-anatomy-CcUIT9Iv.d.cts +6 -0
- package/dist/{date-picker-anatomy-X_d6BK7R.mjs → date-picker-anatomy-Mw-LD2px.mjs} +1 -1
- package/dist/{date-picker-anatomy-BCl2ef3Q.cjs → date-picker-anatomy-QixtR9PA.cjs} +1 -1
- package/dist/{field-anatomy-DtJE1SCH.d.mts → field-anatomy-BhNTav-y.d.mts} +2 -2
- package/dist/{field-anatomy-CSzRBdBt.d.cts → field-anatomy-TjI_6UiL.d.cts} +2 -2
- package/dist/fieldset-anatomy-DKti8y65.d.mts +6 -0
- package/dist/fieldset-anatomy-MfvteTea.d.cts +6 -0
- package/dist/{index-Bs-P82DF.d.cts → index-BjIw-WzH.d.cts} +20 -20
- package/dist/{index-CDnExPZ_.d.mts → index-C0mRTh_l.d.mts} +9 -9
- package/dist/{index-DHjMz3z4.d.cts → index-C1QOX7XR.d.cts} +3 -3
- package/dist/{index-D6AdrxIJ.d.cts → index-CK52guOH.d.cts} +12 -12
- package/dist/{index-Wi86KfFu.d.mts → index-CV4gpqVv.d.mts} +3 -3
- package/dist/{index-CHmNV--f.d.mts → index-DhswqTSj.d.mts} +20 -20
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.mts +10 -10
- package/dist/index.mjs +1 -1
- package/dist/{listbox-anatomy-CTCnEZzS.d.mts → listbox-anatomy-TDySB8BU.d.mts} +1 -1
- package/dist/listbox-anatomy-eCapI8Fs.d.cts +6 -0
- package/dist/{segment-group-anatomy-DZKokXB8.d.cts → segment-group-anatomy-exGClEUp.d.cts} +2 -2
- package/dist/toggle-anatomy-CQ1yDXok.d.cts +6 -0
- package/dist/{tour-anatomy-BI9NWY3B.d.mts → tour-anatomy-C0jBwU1r.d.mts} +1 -1
- package/dist/tour-anatomy-hj718Smt.d.cts +6 -0
- package/package.json +2 -2
- package/dist/checkbox-anatomy-BYqkx7gU.d.cts +0 -6
- package/dist/combobox-anatomy-BpifLtNL.d.mts +0 -6
- package/dist/combobox-anatomy-CSOnJkZs.d.cts +0 -6
- package/dist/date-picker-anatomy-YAuZ6f_x.d.mts +0 -6
- package/dist/fieldset-anatomy-BPc1_uJe.d.mts +0 -6
- package/dist/fieldset-anatomy-DmD1nOFc.d.cts +0 -6
- package/dist/listbox-anatomy-D4QP3Ecm.d.cts +0 -6
- package/dist/toggle-anatomy-VW_BOK95.d.cts +0 -6
- package/dist/tour-anatomy-D-X8EDC3.d.cts +0 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as PropTypes } from "../../normalize-props-BeSH6oua.cjs";
|
|
2
2
|
import { r as Optional, t as Assign } from "../../types-CCi_nex5.cjs";
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BqX8l4xK.cjs";
|
|
4
|
-
import { t as comboboxAnatomy } from "../../combobox-anatomy-
|
|
5
|
-
import { c as UsePresenceProps } from "../../index-
|
|
4
|
+
import { t as comboboxAnatomy } from "../../combobox-anatomy-Dbx98pYH.cjs";
|
|
5
|
+
import { c as UsePresenceProps } from "../../index-C1QOX7XR.cjs";
|
|
6
6
|
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-D43NaN4q.cjs";
|
|
7
7
|
import * as react201 from "react";
|
|
8
8
|
import { JSX, ReactNode, RefAttributes } from "react";
|
|
@@ -2,10 +2,10 @@ import { r as PropTypes } from "../../index-MsrrZK-d.mjs";
|
|
|
2
2
|
import { r as Optional, t as Assign } from "../../types-B9Rw35YE.mjs";
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BHMhd025.mjs";
|
|
4
4
|
import "../../render-strategy-B0TFI5G3.mjs";
|
|
5
|
-
import { t as comboboxAnatomy } from "../../combobox-anatomy-
|
|
6
|
-
import { c as UsePresenceProps } from "../../index-
|
|
5
|
+
import { t as comboboxAnatomy } from "../../combobox-anatomy-CeTmLbMw.mjs";
|
|
6
|
+
import { c as UsePresenceProps } from "../../index-CV4gpqVv.mjs";
|
|
7
7
|
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-DZxjxmEf.mjs";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react325 from "react";
|
|
9
9
|
import { JSX, ReactNode, RefAttributes } from "react";
|
|
10
10
|
import * as combobox from "@sprawlify/primitives/machines/combobox";
|
|
11
11
|
import { FocusOutsideEvent, FocusOutsideEvent as ComboboxFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as ComboboxInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as ComboboxInteractOutsideEvent, ItemProps, ItemState, OpenChangeDetails, OpenChangeDetails as ComboboxOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as ComboboxPointerDownOutsideEvent, SelectionDetails, SelectionDetails as ComboboxSelectionDetails, TriggerProps, ValueChangeDetails, ValueChangeDetails as ComboboxValueChangeDetails } from "@sprawlify/primitives/machines/combobox";
|
|
@@ -13,17 +13,17 @@ import { FocusOutsideEvent, FocusOutsideEvent as ComboboxFocusOutsideEvent, High
|
|
|
13
13
|
//#region src/components/combobox/combobox-clear-trigger.d.ts
|
|
14
14
|
interface ComboboxClearTriggerBaseProps extends PolymorphicProps {}
|
|
15
15
|
interface ComboboxClearTriggerProps extends HTMLProps<"button">, ComboboxClearTriggerBaseProps {}
|
|
16
|
-
declare const ComboboxClearTrigger:
|
|
16
|
+
declare const ComboboxClearTrigger: react325.ForwardRefExoticComponent<ComboboxClearTriggerProps & react325.RefAttributes<HTMLButtonElement>>;
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/components/combobox/combobox-content.d.ts
|
|
19
19
|
interface ComboboxContentBaseProps extends PolymorphicProps {}
|
|
20
20
|
interface ComboboxContentProps extends HTMLProps<"div">, ComboboxContentBaseProps {}
|
|
21
|
-
declare const ComboboxContent:
|
|
21
|
+
declare const ComboboxContent: react325.ForwardRefExoticComponent<ComboboxContentProps & react325.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/components/combobox/combobox-empty.d.ts
|
|
24
24
|
interface ComboboxEmptyBaseProps extends PolymorphicProps {}
|
|
25
25
|
interface ComboboxEmptyProps extends HTMLProps<"div">, ComboboxEmptyBaseProps {}
|
|
26
|
-
declare const ComboboxEmpty:
|
|
26
|
+
declare const ComboboxEmpty: react325.ForwardRefExoticComponent<ComboboxEmptyProps & react325.RefAttributes<HTMLDivElement>>;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/combobox/use-combobox.d.ts
|
|
29
29
|
interface UseComboboxProps<T extends CollectionItem> extends Optional<Omit<combobox.Props<T>, "dir" | "getRootNode" | "collection">, "id"> {
|
|
@@ -47,17 +47,17 @@ declare const ComboboxContext: <T extends CollectionItem>(props: ComboboxContext
|
|
|
47
47
|
//#region src/components/combobox/combobox-control.d.ts
|
|
48
48
|
interface ComboboxControlBaseProps extends PolymorphicProps {}
|
|
49
49
|
interface ComboboxControlProps extends HTMLProps<"div">, ComboboxControlBaseProps {}
|
|
50
|
-
declare const ComboboxControl:
|
|
50
|
+
declare const ComboboxControl: react325.ForwardRefExoticComponent<ComboboxControlProps & react325.RefAttributes<HTMLDivElement>>;
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/combobox/combobox-input.d.ts
|
|
53
53
|
interface ComboboxInputBaseProps extends PolymorphicProps {}
|
|
54
54
|
interface ComboboxInputProps extends HTMLProps<"input">, ComboboxInputBaseProps {}
|
|
55
|
-
declare const ComboboxInput:
|
|
55
|
+
declare const ComboboxInput: react325.ForwardRefExoticComponent<ComboboxInputProps & react325.RefAttributes<HTMLInputElement>>;
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/components/combobox/combobox-item.d.ts
|
|
58
58
|
interface ComboboxItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
59
59
|
interface ComboboxItemProps extends HTMLProps<"div">, ComboboxItemBaseProps {}
|
|
60
|
-
declare const ComboboxItem:
|
|
60
|
+
declare const ComboboxItem: react325.ForwardRefExoticComponent<ComboboxItemProps & react325.RefAttributes<HTMLDivElement>>;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/components/combobox/use-combobox-item-context.d.ts
|
|
63
63
|
interface UseComboboxItemContext extends ItemState {}
|
|
@@ -71,37 +71,37 @@ declare const ComboboxItemContext: (props: ComboboxItemContextProps) => ReactNod
|
|
|
71
71
|
//#region src/components/combobox/combobox-item-group.d.ts
|
|
72
72
|
interface ComboboxItemGroupBaseProps extends PolymorphicProps {}
|
|
73
73
|
interface ComboboxItemGroupProps extends HTMLProps<"div">, ComboboxItemGroupBaseProps {}
|
|
74
|
-
declare const ComboboxItemGroup:
|
|
74
|
+
declare const ComboboxItemGroup: react325.ForwardRefExoticComponent<ComboboxItemGroupProps & react325.RefAttributes<HTMLDivElement>>;
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/components/combobox/combobox-item-group-label.d.ts
|
|
77
77
|
interface ComboboxItemGroupLabelBaseProps extends PolymorphicProps {}
|
|
78
78
|
interface ComboboxItemGroupLabelProps extends HTMLProps<"div">, ComboboxItemGroupLabelBaseProps {}
|
|
79
|
-
declare const ComboboxItemGroupLabel:
|
|
79
|
+
declare const ComboboxItemGroupLabel: react325.ForwardRefExoticComponent<ComboboxItemGroupLabelProps & react325.RefAttributes<HTMLDivElement>>;
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/components/combobox/combobox-item-indicator.d.ts
|
|
82
82
|
interface ComboboxItemIndicatorBaseProps extends PolymorphicProps {}
|
|
83
83
|
interface ComboboxItemIndicatorProps extends HTMLProps<"div">, ComboboxItemIndicatorBaseProps {}
|
|
84
|
-
declare const ComboboxItemIndicator:
|
|
84
|
+
declare const ComboboxItemIndicator: react325.ForwardRefExoticComponent<ComboboxItemIndicatorProps & react325.RefAttributes<HTMLDivElement>>;
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/components/combobox/combobox-item-text.d.ts
|
|
87
87
|
interface ComboboxItemTextBaseProps extends PolymorphicProps {}
|
|
88
88
|
interface ComboboxItemTextProps extends HTMLProps<"span">, ComboboxItemTextBaseProps {}
|
|
89
|
-
declare const ComboboxItemText:
|
|
89
|
+
declare const ComboboxItemText: react325.ForwardRefExoticComponent<ComboboxItemTextProps & react325.RefAttributes<HTMLDivElement>>;
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/components/combobox/combobox-label.d.ts
|
|
92
92
|
interface ComboboxLabelBaseProps extends PolymorphicProps {}
|
|
93
93
|
interface ComboboxLabelProps extends HTMLProps<"label">, ComboboxLabelBaseProps {}
|
|
94
|
-
declare const ComboboxLabel:
|
|
94
|
+
declare const ComboboxLabel: react325.ForwardRefExoticComponent<ComboboxLabelProps & react325.RefAttributes<HTMLLabelElement>>;
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/components/combobox/combobox-list.d.ts
|
|
97
97
|
interface ComboboxListBaseProps extends PolymorphicProps {}
|
|
98
98
|
interface ComboboxListProps extends HTMLProps<"div">, ComboboxListBaseProps {}
|
|
99
|
-
declare const ComboboxList:
|
|
99
|
+
declare const ComboboxList: react325.ForwardRefExoticComponent<ComboboxListProps & react325.RefAttributes<HTMLDivElement>>;
|
|
100
100
|
//#endregion
|
|
101
101
|
//#region src/components/combobox/combobox-positioner.d.ts
|
|
102
102
|
interface ComboboxPositionerBaseProps extends PolymorphicProps {}
|
|
103
103
|
interface ComboboxPositionerProps extends HTMLProps<"div">, ComboboxPositionerBaseProps {}
|
|
104
|
-
declare const ComboboxPositioner:
|
|
104
|
+
declare const ComboboxPositioner: react325.ForwardRefExoticComponent<ComboboxPositionerProps & react325.RefAttributes<HTMLDivElement>>;
|
|
105
105
|
//#endregion
|
|
106
106
|
//#region src/components/combobox/combobox-root.d.ts
|
|
107
107
|
interface ComboboxRootBaseProps<T extends CollectionItem> extends UseComboboxProps<T>, UsePresenceProps, PolymorphicProps {}
|
|
@@ -122,7 +122,7 @@ declare const ComboboxRootProvider: ComboboxRootProviderComponent;
|
|
|
122
122
|
//#region src/components/combobox/combobox-trigger.d.ts
|
|
123
123
|
interface ComboboxTriggerBaseProps extends TriggerProps, PolymorphicProps {}
|
|
124
124
|
interface ComboboxTriggerProps extends HTMLProps<"button">, ComboboxTriggerBaseProps {}
|
|
125
|
-
declare const ComboboxTrigger:
|
|
125
|
+
declare const ComboboxTrigger: react325.ForwardRefExoticComponent<ComboboxTriggerProps & react325.RefAttributes<HTMLButtonElement>>;
|
|
126
126
|
declare namespace combobox_d_exports {
|
|
127
127
|
export { ComboboxClearTrigger as ClearTrigger, ComboboxClearTriggerBaseProps as ClearTriggerBaseProps, ComboboxClearTriggerProps as ClearTriggerProps, CollectionItem, ComboboxContent as Content, ComboboxContentBaseProps as ContentBaseProps, ComboboxContentProps as ContentProps, ComboboxContext as Context, ComboboxContextProps as ContextProps, ComboboxControl as Control, ComboboxControlBaseProps as ControlBaseProps, ComboboxControlProps as ControlProps, ComboboxEmpty as Empty, ComboboxEmptyBaseProps as EmptyBaseProps, ComboboxEmptyProps as EmptyProps, FocusOutsideEvent, HighlightChangeDetails, ComboboxInput as Input, ComboboxInputBaseProps as InputBaseProps, ComboboxInputProps as InputProps, InputValueChangeDetails, InteractOutsideEvent, ComboboxItem as Item, ComboboxItemBaseProps as ItemBaseProps, ComboboxItemContext as ItemContext, ComboboxItemContextProps as ItemContextProps, ComboboxItemGroup as ItemGroup, ComboboxItemGroupBaseProps as ItemGroupBaseProps, ComboboxItemGroupLabel as ItemGroupLabel, ComboboxItemGroupLabelBaseProps as ItemGroupLabelBaseProps, ComboboxItemGroupLabelProps as ItemGroupLabelProps, ComboboxItemGroupProps as ItemGroupProps, ComboboxItemIndicator as ItemIndicator, ComboboxItemIndicatorBaseProps as ItemIndicatorBaseProps, ComboboxItemIndicatorProps as ItemIndicatorProps, ComboboxItemProps as ItemProps, ComboboxItemText as ItemText, ComboboxItemTextBaseProps as ItemTextBaseProps, ComboboxItemTextProps as ItemTextProps, ComboboxLabel as Label, ComboboxLabelBaseProps as LabelBaseProps, ComboboxLabelProps as LabelProps, ComboboxList as List, ComboboxListBaseProps as ListBaseProps, ComboboxListProps as ListProps, OpenChangeDetails, PointerDownOutsideEvent, ComboboxPositioner as Positioner, ComboboxPositionerBaseProps as PositionerBaseProps, ComboboxPositionerProps as PositionerProps, ComboboxRoot as Root, ComboboxRootBaseProps as RootBaseProps, ComboboxRootComponent as RootComponent, ComboboxRootComponentProps as RootComponentProps, ComboboxRootProps as RootProps, ComboboxRootProvider as RootProvider, ComboboxRootProviderBaseProps as RootProviderBaseProps, ComboboxRootProviderComponent as RootProviderComponent, ComboboxRootProviderProps as RootProviderProps, SelectionDetails, ComboboxTrigger as Trigger, ComboboxTriggerBaseProps as TriggerBaseProps, ComboboxTriggerProps as TriggerProps, ValueChangeDetails };
|
|
128
128
|
}
|
|
@@ -6,7 +6,7 @@ const require_locale = require('../../locale-C3PqkI4d.cjs');
|
|
|
6
6
|
require('../../providers-ur-JDrsf.cjs');
|
|
7
7
|
const require_compose_refs = require('../../compose-refs-D8JygMj3.cjs');
|
|
8
8
|
const require_factory = require('../../factory-Cz8-l4y-.cjs');
|
|
9
|
-
const require_date_picker_anatomy = require('../../date-picker-anatomy-
|
|
9
|
+
const require_date_picker_anatomy = require('../../date-picker-anatomy-QixtR9PA.cjs');
|
|
10
10
|
const require_create_split_props = require('../../create-split-props-DyDT-QxT.cjs');
|
|
11
11
|
const require_presence = require('../../presence-C4LXhHqJ.cjs');
|
|
12
12
|
require('../../use-event-CHv5QJkT.cjs');
|
|
@@ -182,6 +182,29 @@ const DatePickerRangeText = (0, react.forwardRef)((props, ref) => {
|
|
|
182
182
|
});
|
|
183
183
|
DatePickerRangeText.displayName = "DatePickerRangeText";
|
|
184
184
|
|
|
185
|
+
//#endregion
|
|
186
|
+
//#region src/components/date-picker/date-picker-value-text.tsx
|
|
187
|
+
const DatePickerValueText = (0, react.forwardRef)((props, ref) => {
|
|
188
|
+
const { children, placeholder, separator = ", ", ...localProps } = props;
|
|
189
|
+
const datePicker = useDatePickerContext();
|
|
190
|
+
const hasValue = datePicker.value.length > 0;
|
|
191
|
+
if (typeof children === "function") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react.Fragment, { children: hasValue ? datePicker.value.map((value, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react.Fragment, { children: children({
|
|
192
|
+
value,
|
|
193
|
+
index,
|
|
194
|
+
valueAsString: datePicker.valueAsString[index],
|
|
195
|
+
remove: () => {
|
|
196
|
+
datePicker.setValue(datePicker.value.filter((_, i) => i !== index));
|
|
197
|
+
}
|
|
198
|
+
}) }, index)) : placeholder });
|
|
199
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.span, {
|
|
200
|
+
...require_date_picker_anatomy.datePickerAnatomy.build().valueText.attrs,
|
|
201
|
+
...localProps,
|
|
202
|
+
ref,
|
|
203
|
+
children: hasValue ? datePicker.valueAsString.join(separator) : placeholder
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
DatePickerValueText.displayName = "DatePickerValueText";
|
|
207
|
+
|
|
185
208
|
//#endregion
|
|
186
209
|
//#region src/components/date-picker/use-date-picker.ts
|
|
187
210
|
const useDatePicker = (props) => {
|
|
@@ -515,6 +538,7 @@ var date_picker_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
515
538
|
TableHeader: () => DatePickerTableHeader,
|
|
516
539
|
TableRow: () => DatePickerTableRow,
|
|
517
540
|
Trigger: () => DatePickerTrigger,
|
|
541
|
+
ValueText: () => DatePickerValueText,
|
|
518
542
|
View: () => DatePickerView,
|
|
519
543
|
ViewControl: () => DatePickerViewControl,
|
|
520
544
|
ViewTrigger: () => DatePickerViewTrigger,
|
|
@@ -550,6 +574,7 @@ exports.DatePickerTableHead = DatePickerTableHead;
|
|
|
550
574
|
exports.DatePickerTableHeader = DatePickerTableHeader;
|
|
551
575
|
exports.DatePickerTableRow = DatePickerTableRow;
|
|
552
576
|
exports.DatePickerTrigger = DatePickerTrigger;
|
|
577
|
+
exports.DatePickerValueText = DatePickerValueText;
|
|
553
578
|
exports.DatePickerView = DatePickerView;
|
|
554
579
|
exports.DatePickerViewControl = DatePickerViewControl;
|
|
555
580
|
exports.DatePickerViewTrigger = DatePickerViewTrigger;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as PropTypes } from "../../normalize-props-BeSH6oua.cjs";
|
|
2
2
|
import { r as Optional, t as Assign } from "../../types-CCi_nex5.cjs";
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BqX8l4xK.cjs";
|
|
4
|
-
import { t as datePickerAnatomy } from "../../date-picker-anatomy-
|
|
5
|
-
import { c as UsePresenceProps } from "../../index-
|
|
6
|
-
import * as
|
|
4
|
+
import { t as datePickerAnatomy } from "../../date-picker-anatomy-CcUIT9Iv.cjs";
|
|
5
|
+
import { c as UsePresenceProps } from "../../index-C1QOX7XR.cjs";
|
|
6
|
+
import * as react235 from "react";
|
|
7
7
|
import { ReactNode } from "react";
|
|
8
8
|
import * as datePicker from "@sprawlify/primitives/machines/date-picker";
|
|
9
|
-
import { DateValue, DateValue as DateValue$1, DayTableCellProps, FocusChangeDetails, FocusChangeDetails as DatePickerFocusChangeDetails, InputProps, OpenChangeDetails, OpenChangeDetails as DatePickerOpenChangeDetails, PresetTriggerProps, TableCellProps, TableProps, ValueChangeDetails, ValueChangeDetails as DatePickerValueChangeDetails, ViewChangeDetails, ViewChangeDetails as DatePickerViewChangeDetails, ViewProps, parse as parseDate } from "@sprawlify/primitives/machines/date-picker";
|
|
9
|
+
import { DateValue, DateValue as DateValue$1, DateValue as DateValue$2, DayTableCellProps, FocusChangeDetails, FocusChangeDetails as DatePickerFocusChangeDetails, InputProps, OpenChangeDetails, OpenChangeDetails as DatePickerOpenChangeDetails, PresetTriggerProps, TableCellProps, TableProps, ValueChangeDetails, ValueChangeDetails as DatePickerValueChangeDetails, ViewChangeDetails, ViewChangeDetails as DatePickerViewChangeDetails, ViewProps, parse as parseDate } from "@sprawlify/primitives/machines/date-picker";
|
|
10
10
|
|
|
11
11
|
//#region src/components/date-picker/date-picker-clear-trigger.d.ts
|
|
12
12
|
interface DatePickerClearTriggerBaseProps extends PolymorphicProps {}
|
|
13
13
|
interface DatePickerClearTriggerProps extends HTMLProps<"button">, DatePickerClearTriggerBaseProps {}
|
|
14
|
-
declare const DatePickerClearTrigger:
|
|
14
|
+
declare const DatePickerClearTrigger: react235.ForwardRefExoticComponent<DatePickerClearTriggerProps & react235.RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/components/date-picker/date-picker-content.d.ts
|
|
17
17
|
interface DatePickerContentBaseProps extends PolymorphicProps {}
|
|
18
18
|
interface DatePickerContentProps extends HTMLProps<"div">, DatePickerContentBaseProps {}
|
|
19
|
-
declare const DatePickerContent:
|
|
19
|
+
declare const DatePickerContent: react235.ForwardRefExoticComponent<DatePickerContentProps & react235.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/date-picker/use-date-picker.d.ts
|
|
22
22
|
interface UseDatePickerProps extends Optional<Omit<datePicker.Props, "dir" | "getRootNode">, "id"> {}
|
|
@@ -35,52 +35,67 @@ declare const DatePickerContext: (props: DatePickerContextProps) => ReactNode;
|
|
|
35
35
|
//#region src/components/date-picker/date-picker-control.d.ts
|
|
36
36
|
interface DatePickerControlBaseProps extends PolymorphicProps {}
|
|
37
37
|
interface DatePickerControlProps extends HTMLProps<"div">, DatePickerControlBaseProps {}
|
|
38
|
-
declare const DatePickerControl:
|
|
38
|
+
declare const DatePickerControl: react235.ForwardRefExoticComponent<DatePickerControlProps & react235.RefAttributes<HTMLDivElement>>;
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region src/components/date-picker/date-picker-input.d.ts
|
|
41
41
|
interface DatePickerInputBaseProps extends InputProps, PolymorphicProps {}
|
|
42
42
|
interface DatePickerInputProps extends HTMLProps<"input">, DatePickerInputBaseProps {}
|
|
43
|
-
declare const DatePickerInput:
|
|
43
|
+
declare const DatePickerInput: react235.ForwardRefExoticComponent<DatePickerInputProps & react235.RefAttributes<HTMLInputElement>>;
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/date-picker/date-picker-label.d.ts
|
|
46
46
|
interface DatePickerLabelBaseProps extends PolymorphicProps {}
|
|
47
47
|
interface DatePickerLabelProps extends HTMLProps<"label">, DatePickerLabelBaseProps {}
|
|
48
|
-
declare const DatePickerLabel:
|
|
48
|
+
declare const DatePickerLabel: react235.ForwardRefExoticComponent<DatePickerLabelProps & react235.RefAttributes<HTMLLabelElement>>;
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region src/components/date-picker/date-picker-month-select.d.ts
|
|
51
51
|
interface DatePickerMonthSelectBaseProps extends PolymorphicProps {}
|
|
52
52
|
interface DatePickerMonthSelectProps extends HTMLProps<"select">, DatePickerMonthSelectBaseProps {}
|
|
53
|
-
declare const DatePickerMonthSelect:
|
|
53
|
+
declare const DatePickerMonthSelect: react235.ForwardRefExoticComponent<DatePickerMonthSelectProps & react235.RefAttributes<HTMLSelectElement>>;
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region src/components/date-picker/date-picker-next-trigger.d.ts
|
|
56
56
|
interface DatePickerNextTriggerBaseProps extends PolymorphicProps {}
|
|
57
57
|
interface DatePickerNextTriggerProps extends HTMLProps<"button">, DatePickerNextTriggerBaseProps {}
|
|
58
|
-
declare const DatePickerNextTrigger:
|
|
58
|
+
declare const DatePickerNextTrigger: react235.ForwardRefExoticComponent<DatePickerNextTriggerProps & react235.RefAttributes<HTMLButtonElement>>;
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/components/date-picker/date-picker-positioner.d.ts
|
|
61
61
|
interface DatePickerPositionerBaseProps extends PolymorphicProps {}
|
|
62
62
|
interface DatePickerPositionerProps extends HTMLProps<"div">, DatePickerPositionerBaseProps {}
|
|
63
|
-
declare const DatePickerPositioner:
|
|
63
|
+
declare const DatePickerPositioner: react235.ForwardRefExoticComponent<DatePickerPositionerProps & react235.RefAttributes<HTMLDivElement>>;
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region src/components/date-picker/date-picker-preset-trigger.d.ts
|
|
66
66
|
interface DatePickerPresetTriggerBaseProps extends PresetTriggerProps, PolymorphicProps {}
|
|
67
67
|
interface DatePickerPresetTriggerProps extends Assign<HTMLProps<"button">, DatePickerPresetTriggerBaseProps> {}
|
|
68
|
-
declare const DatePickerPresetTrigger:
|
|
68
|
+
declare const DatePickerPresetTrigger: react235.ForwardRefExoticComponent<DatePickerPresetTriggerProps & react235.RefAttributes<HTMLButtonElement>>;
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region src/components/date-picker/date-picker-prev-trigger.d.ts
|
|
71
71
|
interface DatePickerPrevTriggerBaseProps extends PolymorphicProps {}
|
|
72
72
|
interface DatePickerPrevTriggerProps extends HTMLProps<"button">, DatePickerPrevTriggerBaseProps {}
|
|
73
|
-
declare const DatePickerPrevTrigger:
|
|
73
|
+
declare const DatePickerPrevTrigger: react235.ForwardRefExoticComponent<DatePickerPrevTriggerProps & react235.RefAttributes<HTMLButtonElement>>;
|
|
74
74
|
//#endregion
|
|
75
75
|
//#region src/components/date-picker/date-picker-range-text.d.ts
|
|
76
76
|
interface DatePickerRangeTextBaseProps extends PolymorphicProps {}
|
|
77
77
|
interface DatePickerRangeTextProps extends HTMLProps<"div">, DatePickerRangeTextBaseProps {}
|
|
78
|
-
declare const DatePickerRangeText:
|
|
78
|
+
declare const DatePickerRangeText: react235.ForwardRefExoticComponent<DatePickerRangeTextProps & react235.RefAttributes<HTMLDivElement>>;
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/components/date-picker/date-picker-value-text.d.ts
|
|
81
|
+
interface DatePickerValueTextRenderProps {
|
|
82
|
+
value: DateValue$1;
|
|
83
|
+
index: number;
|
|
84
|
+
valueAsString: string;
|
|
85
|
+
remove: () => void;
|
|
86
|
+
}
|
|
87
|
+
interface DatePickerValueTextBaseProps extends PolymorphicProps {
|
|
88
|
+
placeholder?: string | undefined;
|
|
89
|
+
children?: ((props: DatePickerValueTextRenderProps) => React.ReactNode) | undefined;
|
|
90
|
+
separator?: string | undefined;
|
|
91
|
+
}
|
|
92
|
+
interface DatePickerValueTextProps extends Assign<HTMLProps<"span">, DatePickerValueTextBaseProps> {}
|
|
93
|
+
declare const DatePickerValueText: react235.ForwardRefExoticComponent<DatePickerValueTextProps & react235.RefAttributes<HTMLSpanElement>>;
|
|
79
94
|
//#endregion
|
|
80
95
|
//#region src/components/date-picker/date-picker-root.d.ts
|
|
81
96
|
interface DatePickerRootBaseProps extends UseDatePickerProps, UsePresenceProps, PolymorphicProps {}
|
|
82
97
|
interface DatePickerRootProps extends Assign<HTMLProps<"div">, DatePickerRootBaseProps> {}
|
|
83
|
-
declare const DatePickerRoot:
|
|
98
|
+
declare const DatePickerRoot: react235.ForwardRefExoticComponent<DatePickerRootProps & react235.RefAttributes<HTMLDivElement>>;
|
|
84
99
|
//#endregion
|
|
85
100
|
//#region src/components/date-picker/date-picker-root-provider.d.ts
|
|
86
101
|
interface RootProviderProps {
|
|
@@ -88,17 +103,17 @@ interface RootProviderProps {
|
|
|
88
103
|
}
|
|
89
104
|
interface DatePickerRootProviderBaseProps extends RootProviderProps, UsePresenceProps, PolymorphicProps {}
|
|
90
105
|
interface DatePickerRootProviderProps extends HTMLProps<"div">, DatePickerRootProviderBaseProps {}
|
|
91
|
-
declare const DatePickerRootProvider:
|
|
106
|
+
declare const DatePickerRootProvider: react235.ForwardRefExoticComponent<DatePickerRootProviderProps & react235.RefAttributes<HTMLDivElement>>;
|
|
92
107
|
//#endregion
|
|
93
108
|
//#region src/components/date-picker/date-picker-table.d.ts
|
|
94
109
|
interface DatePickerTableBaseProps extends Pick<TableProps, "columns">, PolymorphicProps {}
|
|
95
110
|
interface DatePickerTableProps extends HTMLProps<"table">, DatePickerTableBaseProps {}
|
|
96
|
-
declare const DatePickerTable:
|
|
111
|
+
declare const DatePickerTable: react235.ForwardRefExoticComponent<DatePickerTableProps & react235.RefAttributes<HTMLTableElement>>;
|
|
97
112
|
//#endregion
|
|
98
113
|
//#region src/components/date-picker/date-picker-table-body.d.ts
|
|
99
114
|
interface DatePickerTableBodyBaseProps extends PolymorphicProps {}
|
|
100
115
|
interface DatePickerTableBodyProps extends HTMLProps<"tbody">, DatePickerTableBodyBaseProps {}
|
|
101
|
-
declare const DatePickerTableBody:
|
|
116
|
+
declare const DatePickerTableBody: react235.ForwardRefExoticComponent<DatePickerTableBodyProps & react235.RefAttributes<HTMLTableSectionElement>>;
|
|
102
117
|
//#endregion
|
|
103
118
|
//#region src/components/date-picker/use-date-picker-table-cell-props-context.d.ts
|
|
104
119
|
type Union<T, U> = { [K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K] } & Omit<U, keyof T>;
|
|
@@ -108,54 +123,54 @@ interface UseDatePickerTableCellPropsContext extends CellProps {}
|
|
|
108
123
|
//#region src/components/date-picker/date-picker-table-cell.d.ts
|
|
109
124
|
interface DatePickerTableCellBaseProps extends UseDatePickerTableCellPropsContext, PolymorphicProps {}
|
|
110
125
|
interface DatePickerTableCellProps extends HTMLProps<"td">, DatePickerTableCellBaseProps {}
|
|
111
|
-
declare const DatePickerTableCell:
|
|
126
|
+
declare const DatePickerTableCell: react235.ForwardRefExoticComponent<DatePickerTableCellProps & react235.RefAttributes<HTMLTableCellElement>>;
|
|
112
127
|
//#endregion
|
|
113
128
|
//#region src/components/date-picker/date-picker-table-cell-trigger.d.ts
|
|
114
129
|
interface DatePickerTableCellTriggerBaseProps extends PolymorphicProps {}
|
|
115
130
|
interface DatePickerTableCellTriggerProps extends HTMLProps<"div">, DatePickerTableCellTriggerBaseProps {}
|
|
116
|
-
declare const DatePickerTableCellTrigger:
|
|
131
|
+
declare const DatePickerTableCellTrigger: react235.ForwardRefExoticComponent<DatePickerTableCellTriggerProps & react235.RefAttributes<HTMLDivElement>>;
|
|
117
132
|
//#endregion
|
|
118
133
|
//#region src/components/date-picker/date-picker-table-head.d.ts
|
|
119
134
|
interface DatePickerTableHeadBaseProps extends PolymorphicProps {}
|
|
120
135
|
interface DatePickerTableHeadProps extends HTMLProps<"thead">, DatePickerTableHeadBaseProps {}
|
|
121
|
-
declare const DatePickerTableHead:
|
|
136
|
+
declare const DatePickerTableHead: react235.ForwardRefExoticComponent<DatePickerTableHeadProps & react235.RefAttributes<HTMLTableSectionElement>>;
|
|
122
137
|
//#endregion
|
|
123
138
|
//#region src/components/date-picker/date-picker-table-header.d.ts
|
|
124
139
|
interface DatePickerTableHeaderBaseProps extends PolymorphicProps {}
|
|
125
140
|
interface DatePickerTableHeaderProps extends HTMLProps<"th">, DatePickerTableHeaderBaseProps {}
|
|
126
|
-
declare const DatePickerTableHeader:
|
|
141
|
+
declare const DatePickerTableHeader: react235.ForwardRefExoticComponent<DatePickerTableHeaderProps & react235.RefAttributes<HTMLTableCellElement>>;
|
|
127
142
|
//#endregion
|
|
128
143
|
//#region src/components/date-picker/date-picker-table-row.d.ts
|
|
129
144
|
interface DatePickerTableRowBaseProps extends PolymorphicProps {}
|
|
130
145
|
interface DatePickerTableRowProps extends HTMLProps<"tr">, DatePickerTableRowBaseProps {}
|
|
131
|
-
declare const DatePickerTableRow:
|
|
146
|
+
declare const DatePickerTableRow: react235.ForwardRefExoticComponent<DatePickerTableRowProps & react235.RefAttributes<HTMLTableRowElement>>;
|
|
132
147
|
//#endregion
|
|
133
148
|
//#region src/components/date-picker/date-picker-trigger.d.ts
|
|
134
149
|
interface DatePickerTriggerBaseProps extends PolymorphicProps {}
|
|
135
150
|
interface DatePickerTriggerProps extends HTMLProps<"button">, DatePickerTriggerBaseProps {}
|
|
136
|
-
declare const DatePickerTrigger:
|
|
151
|
+
declare const DatePickerTrigger: react235.ForwardRefExoticComponent<DatePickerTriggerProps & react235.RefAttributes<HTMLButtonElement>>;
|
|
137
152
|
//#endregion
|
|
138
153
|
//#region src/components/date-picker/date-picker-view.d.ts
|
|
139
154
|
interface DatePickerViewBaseProps extends Required<ViewProps>, PolymorphicProps {}
|
|
140
155
|
interface DatePickerViewProps extends HTMLProps<"div">, DatePickerViewBaseProps {}
|
|
141
|
-
declare const DatePickerView:
|
|
156
|
+
declare const DatePickerView: react235.ForwardRefExoticComponent<DatePickerViewProps & react235.RefAttributes<HTMLDivElement>>;
|
|
142
157
|
//#endregion
|
|
143
158
|
//#region src/components/date-picker/date-picker-view-control.d.ts
|
|
144
159
|
interface DatePickerViewControlBaseProps extends PolymorphicProps {}
|
|
145
160
|
interface DatePickerViewControlProps extends HTMLProps<"div">, DatePickerViewControlBaseProps {}
|
|
146
|
-
declare const DatePickerViewControl:
|
|
161
|
+
declare const DatePickerViewControl: react235.ForwardRefExoticComponent<DatePickerViewControlProps & react235.RefAttributes<HTMLDivElement>>;
|
|
147
162
|
//#endregion
|
|
148
163
|
//#region src/components/date-picker/date-picker-view-trigger.d.ts
|
|
149
164
|
interface DatePickerViewTriggerBaseProps extends PolymorphicProps {}
|
|
150
165
|
interface DatePickerViewTriggerProps extends HTMLProps<"button">, DatePickerViewTriggerBaseProps {}
|
|
151
|
-
declare const DatePickerViewTrigger:
|
|
166
|
+
declare const DatePickerViewTrigger: react235.ForwardRefExoticComponent<DatePickerViewTriggerProps & react235.RefAttributes<HTMLButtonElement>>;
|
|
152
167
|
//#endregion
|
|
153
168
|
//#region src/components/date-picker/date-picker-year-select.d.ts
|
|
154
169
|
interface DatePickerYearSelectBaseProps extends PolymorphicProps {}
|
|
155
170
|
interface DatePickerYearSelectProps extends HTMLProps<"select">, DatePickerYearSelectBaseProps {}
|
|
156
|
-
declare const DatePickerYearSelect:
|
|
171
|
+
declare const DatePickerYearSelect: react235.ForwardRefExoticComponent<DatePickerYearSelectProps & react235.RefAttributes<HTMLSelectElement>>;
|
|
157
172
|
declare namespace date_picker_d_exports {
|
|
158
|
-
export { DatePickerClearTrigger as ClearTrigger, DatePickerClearTriggerBaseProps as ClearTriggerBaseProps, DatePickerClearTriggerProps as ClearTriggerProps, DatePickerContent as Content, DatePickerContentBaseProps as ContentBaseProps, DatePickerContentProps as ContentProps, DatePickerContext as Context, DatePickerContextProps as ContextProps, DatePickerControl as Control, DatePickerControlBaseProps as ControlBaseProps, DatePickerControlProps as ControlProps, DateValue$
|
|
173
|
+
export { DatePickerClearTrigger as ClearTrigger, DatePickerClearTriggerBaseProps as ClearTriggerBaseProps, DatePickerClearTriggerProps as ClearTriggerProps, DatePickerContent as Content, DatePickerContentBaseProps as ContentBaseProps, DatePickerContentProps as ContentProps, DatePickerContext as Context, DatePickerContextProps as ContextProps, DatePickerControl as Control, DatePickerControlBaseProps as ControlBaseProps, DatePickerControlProps as ControlProps, DateValue$2 as DateValue, FocusChangeDetails, DatePickerInput as Input, DatePickerInputBaseProps as InputBaseProps, DatePickerInputProps as InputProps, DatePickerLabel as Label, DatePickerLabelBaseProps as LabelBaseProps, DatePickerLabelProps as LabelProps, DatePickerMonthSelect as MonthSelect, DatePickerMonthSelectBaseProps as MonthSelectBaseProps, DatePickerMonthSelectProps as MonthSelectProps, DatePickerNextTrigger as NextTrigger, DatePickerNextTriggerBaseProps as NextTriggerBaseProps, DatePickerNextTriggerProps as NextTriggerProps, OpenChangeDetails, DatePickerPositioner as Positioner, DatePickerPositionerBaseProps as PositionerBaseProps, DatePickerPositionerProps as PositionerProps, DatePickerPresetTrigger as PresetTrigger, DatePickerPresetTriggerBaseProps as PresetTriggerBaseProps, DatePickerPresetTriggerProps as PresetTriggerProps, DatePickerPrevTrigger as PrevTrigger, DatePickerPrevTriggerBaseProps as PrevTriggerBaseProps, DatePickerPrevTriggerProps as PrevTriggerProps, DatePickerRangeText as RangeText, DatePickerRangeTextBaseProps as RangeTextBaseProps, DatePickerRangeTextProps as RangeTextProps, DatePickerRoot as Root, DatePickerRootBaseProps as RootBaseProps, DatePickerRootProps as RootProps, DatePickerRootProvider as RootProvider, DatePickerRootProviderBaseProps as RootProviderBaseProps, DatePickerRootProviderProps as RootProviderProps, DatePickerTable as Table, DatePickerTableBaseProps as TableBaseProps, DatePickerTableBody as TableBody, DatePickerTableBodyBaseProps as TableBodyBaseProps, DatePickerTableBodyProps as TableBodyProps, DatePickerTableCell as TableCell, DatePickerTableCellBaseProps as TableCellBaseProps, DatePickerTableCellProps as TableCellProps, DatePickerTableCellTrigger as TableCellTrigger, DatePickerTableCellTriggerBaseProps as TableCellTriggerBaseProps, DatePickerTableCellTriggerProps as TableCellTriggerProps, DatePickerTableHead as TableHead, DatePickerTableHeadBaseProps as TableHeadBaseProps, DatePickerTableHeadProps as TableHeadProps, DatePickerTableHeader as TableHeader, DatePickerTableHeaderBaseProps as TableHeaderBaseProps, DatePickerTableHeaderProps as TableHeaderProps, DatePickerTableProps as TableProps, DatePickerTableRow as TableRow, DatePickerTableRowBaseProps as TableRowBaseProps, DatePickerTableRowProps as TableRowProps, DatePickerTrigger as Trigger, DatePickerTriggerBaseProps as TriggerBaseProps, DatePickerTriggerProps as TriggerProps, ValueChangeDetails, DatePickerValueText as ValueText, DatePickerValueTextBaseProps as ValueTextBaseProps, DatePickerValueTextProps as ValueTextProps, DatePickerValueTextRenderProps as ValueTextRenderProps, DatePickerView as View, DatePickerViewBaseProps as ViewBaseProps, ViewChangeDetails, DatePickerViewControl as ViewControl, DatePickerViewControlBaseProps as ViewControlBaseProps, DatePickerViewControlProps as ViewControlProps, DatePickerViewProps as ViewProps, DatePickerViewTrigger as ViewTrigger, DatePickerViewTriggerBaseProps as ViewTriggerBaseProps, DatePickerViewTriggerProps as ViewTriggerProps, DatePickerYearSelect as YearSelect, DatePickerYearSelectBaseProps as YearSelectBaseProps, DatePickerYearSelectProps as YearSelectProps };
|
|
159
174
|
}
|
|
160
175
|
//#endregion
|
|
161
|
-
export { date_picker_d_exports as DatePicker, DatePickerClearTrigger, type DatePickerClearTriggerBaseProps, type DatePickerClearTriggerProps, DatePickerContent, type DatePickerContentBaseProps, type DatePickerContentProps, DatePickerContext, type DatePickerContextProps, DatePickerControl, type DatePickerControlBaseProps, type DatePickerControlProps, type DatePickerFocusChangeDetails, DatePickerInput, type DatePickerInputBaseProps, type DatePickerInputProps, DatePickerLabel, type DatePickerLabelBaseProps, type DatePickerLabelProps, DatePickerMonthSelect, type DatePickerMonthSelectBaseProps, type DatePickerMonthSelectProps, DatePickerNextTrigger, type DatePickerNextTriggerBaseProps, type DatePickerNextTriggerProps, type DatePickerOpenChangeDetails, DatePickerPositioner, type DatePickerPositionerBaseProps, type DatePickerPositionerProps, DatePickerPresetTrigger, type DatePickerPresetTriggerBaseProps, type DatePickerPresetTriggerProps, DatePickerPrevTrigger, type DatePickerPrevTriggerBaseProps, type DatePickerPrevTriggerProps, DatePickerRangeText, type DatePickerRangeTextBaseProps, type DatePickerRangeTextProps, DatePickerRoot, type DatePickerRootBaseProps, type DatePickerRootProps, DatePickerRootProvider, type DatePickerRootProviderBaseProps, type DatePickerRootProviderProps, DatePickerTable, type DatePickerTableBaseProps, DatePickerTableBody, type DatePickerTableBodyBaseProps, type DatePickerTableBodyProps, DatePickerTableCell, type DatePickerTableCellBaseProps, type DatePickerTableCellProps, DatePickerTableCellTrigger, type DatePickerTableCellTriggerBaseProps, type DatePickerTableCellTriggerProps, DatePickerTableHead, type DatePickerTableHeadBaseProps, type DatePickerTableHeadProps, DatePickerTableHeader, type DatePickerTableHeaderBaseProps, type DatePickerTableHeaderProps, type DatePickerTableProps, DatePickerTableRow, type DatePickerTableRowBaseProps, type DatePickerTableRowProps, DatePickerTrigger, type DatePickerTriggerBaseProps, type DatePickerTriggerProps, type DatePickerValueChangeDetails, DatePickerView, type DatePickerViewBaseProps, type DatePickerViewChangeDetails, DatePickerViewControl, type DatePickerViewControlBaseProps, type DatePickerViewControlProps, type DatePickerViewProps, DatePickerViewTrigger, type DatePickerViewTriggerBaseProps, type DatePickerViewTriggerProps, DatePickerYearSelect, type DatePickerYearSelectBaseProps, type DatePickerYearSelectProps, type DateValue, type UseDatePickerContext, type UseDatePickerProps, type UseDatePickerReturn, datePickerAnatomy, parseDate, useDatePicker, useDatePickerContext };
|
|
176
|
+
export { date_picker_d_exports as DatePicker, DatePickerClearTrigger, type DatePickerClearTriggerBaseProps, type DatePickerClearTriggerProps, DatePickerContent, type DatePickerContentBaseProps, type DatePickerContentProps, DatePickerContext, type DatePickerContextProps, DatePickerControl, type DatePickerControlBaseProps, type DatePickerControlProps, type DatePickerFocusChangeDetails, DatePickerInput, type DatePickerInputBaseProps, type DatePickerInputProps, DatePickerLabel, type DatePickerLabelBaseProps, type DatePickerLabelProps, DatePickerMonthSelect, type DatePickerMonthSelectBaseProps, type DatePickerMonthSelectProps, DatePickerNextTrigger, type DatePickerNextTriggerBaseProps, type DatePickerNextTriggerProps, type DatePickerOpenChangeDetails, DatePickerPositioner, type DatePickerPositionerBaseProps, type DatePickerPositionerProps, DatePickerPresetTrigger, type DatePickerPresetTriggerBaseProps, type DatePickerPresetTriggerProps, DatePickerPrevTrigger, type DatePickerPrevTriggerBaseProps, type DatePickerPrevTriggerProps, DatePickerRangeText, type DatePickerRangeTextBaseProps, type DatePickerRangeTextProps, DatePickerRoot, type DatePickerRootBaseProps, type DatePickerRootProps, DatePickerRootProvider, type DatePickerRootProviderBaseProps, type DatePickerRootProviderProps, DatePickerTable, type DatePickerTableBaseProps, DatePickerTableBody, type DatePickerTableBodyBaseProps, type DatePickerTableBodyProps, DatePickerTableCell, type DatePickerTableCellBaseProps, type DatePickerTableCellProps, DatePickerTableCellTrigger, type DatePickerTableCellTriggerBaseProps, type DatePickerTableCellTriggerProps, DatePickerTableHead, type DatePickerTableHeadBaseProps, type DatePickerTableHeadProps, DatePickerTableHeader, type DatePickerTableHeaderBaseProps, type DatePickerTableHeaderProps, type DatePickerTableProps, DatePickerTableRow, type DatePickerTableRowBaseProps, type DatePickerTableRowProps, DatePickerTrigger, type DatePickerTriggerBaseProps, type DatePickerTriggerProps, type DatePickerValueChangeDetails, DatePickerValueText, type DatePickerValueTextBaseProps, type DatePickerValueTextProps, type DatePickerValueTextRenderProps, DatePickerView, type DatePickerViewBaseProps, type DatePickerViewChangeDetails, DatePickerViewControl, type DatePickerViewControlBaseProps, type DatePickerViewControlProps, type DatePickerViewProps, DatePickerViewTrigger, type DatePickerViewTriggerBaseProps, type DatePickerViewTriggerProps, DatePickerYearSelect, type DatePickerYearSelectBaseProps, type DatePickerYearSelectProps, type DateValue, type UseDatePickerContext, type UseDatePickerProps, type UseDatePickerReturn, datePickerAnatomy, parseDate, useDatePicker, useDatePickerContext };
|