@dito-uai/components 5.1.0-alpha.74 → 5.1.0-alpha.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/global.css +1 -1
  2. package/dist/index.cjs +91 -77
  3. package/dist/index.d.cts +838 -146
  4. package/dist/index.d.ts +18 -3
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +22 -18
  7. package/dist/ui/calendar.d.ts +10 -0
  8. package/dist/ui/calendar.d.ts.map +1 -0
  9. package/dist/ui/combobox.d.ts +40 -0
  10. package/dist/ui/combobox.d.ts.map +1 -0
  11. package/dist/ui/date-picker.d.ts +33 -0
  12. package/dist/ui/date-picker.d.ts.map +1 -0
  13. package/dist/ui/dropdown-menu.d.ts +130 -10
  14. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  15. package/dist/ui/field.d.ts +118 -0
  16. package/dist/ui/field.d.ts.map +1 -0
  17. package/dist/ui/input-group.d.ts +284 -0
  18. package/dist/ui/input-group.d.ts.map +1 -0
  19. package/dist/ui/input.d.ts.map +1 -1
  20. package/dist/ui/internal/date-picker-common.d.ts +121 -0
  21. package/dist/ui/internal/date-picker-common.d.ts.map +1 -0
  22. package/dist/ui/popover.d.ts +2 -1
  23. package/dist/ui/popover.d.ts.map +1 -1
  24. package/dist/ui/range-picker.d.ts +32 -0
  25. package/dist/ui/range-picker.d.ts.map +1 -0
  26. package/dist/ui/search-scope.d.ts +27 -0
  27. package/dist/ui/search-scope.d.ts.map +1 -0
  28. package/dist/ui/select-multiple.d.ts +116 -0
  29. package/dist/ui/select-multiple.d.ts.map +1 -0
  30. package/dist/ui/select.d.ts +93 -0
  31. package/dist/ui/select.d.ts.map +1 -0
  32. package/dist/ui/textarea.d.ts.map +1 -1
  33. package/dist/ui/time-picker.d.ts +32 -0
  34. package/dist/ui/time-picker.d.ts.map +1 -0
  35. package/llms.md +50 -0
  36. package/package.json +6 -1
  37. package/tailwind.config.ts +1 -1
  38. package/dist/ui/search.d.ts +0 -135
  39. package/dist/ui/search.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/ui/calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,cAAc,EAGpB,MAAM,kBAAkB,CAAC;AAU1B,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,KAAK,IAAI,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAE3C,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB,CAAC;AAodF,QAAA,MAAM,QAAQ,sFA+Ib,CAAC;AAGF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,40 @@
1
+ import * as React from 'react';
2
+ import { Combobox as ComboboxPrimitive } from '@base-ui/react';
3
+ declare const Combobox: typeof ComboboxPrimitive.Root;
4
+ declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function ComboboxTrigger({ disabled, className, children, ...props }: ComboboxPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
6
+ type ComboboxInputProps = Omit<ComboboxPrimitive.Input.Props, 'size' | 'prefix'> & {
7
+ showTrigger: boolean;
8
+ showClear: boolean;
9
+ hasValue?: boolean;
10
+ active?: boolean;
11
+ error: boolean;
12
+ size?: 'medium' | 'small';
13
+ search: string;
14
+ onSearch: (value: string) => void;
15
+ onClear?: () => void;
16
+ showDisplay: boolean;
17
+ displayValue?: React.ReactNode;
18
+ prefix?: React.ReactNode;
19
+ showSearch: boolean;
20
+ clearIcon?: React.ReactNode;
21
+ };
22
+ declare const ComboboxInput: ({ className, children, disabled, showTrigger, showClear, hasValue, error, showSearch, size, search, showDisplay, displayValue, prefix, clearIcon, onClear, onSearch, ...props }: ComboboxInputProps) => import("react/jsx-runtime").JSX.Element;
23
+ declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, container, ...props }: ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimitive.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> & {
24
+ container?: ComboboxPrimitive.Portal.Props['container'];
25
+ }): import("react/jsx-runtime").JSX.Element;
26
+ declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
27
+ declare function ComboboxItem({ className, children, ...props }: ComboboxPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
28
+ declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
29
+ declare function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
30
+ declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
31
+ declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
32
+ declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
33
+ declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props): import("react/jsx-runtime").JSX.Element;
34
+ declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxPrimitive.Chip.Props & {
35
+ showRemove?: boolean;
36
+ }): import("react/jsx-runtime").JSX.Element;
37
+ declare function ComboboxChipsInput({ className, ...props }: ComboboxPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
38
+ declare function useComboboxAnchor(): React.MutableRefObject<HTMLDivElement | null>;
39
+ export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor, ComboboxPrimitive, };
40
+ //# sourceMappingURL=combobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../src/ui/combobox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAM/D,QAAA,MAAM,QAAQ,+BAAyB,CAAC;AAExC,iBAAS,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,2CAEjE;AAED,iBAAS,eAAe,CAAC,EACvB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,OAAO,CAAC,KAAK,2CAkBjC;AAwBD,KAAK,kBAAkB,GAAG,IAAI,CAC5B,iBAAiB,CAAC,KAAK,CAAC,KAAK,EAC7B,MAAM,GAAG,QAAQ,CAClB,GAAG;IACF,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAA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rB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,qBAAqB,CAAC,OAAO,iBAAiB,CAAC,KAAK,CAAC,GAC5D,iBAAiB,CAAC,KAAK,CAAC,KAAK,2CAW9B;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,QAAQ,EACR,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,IAAI,CAAC,KAAK,GAAG;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,2CAwBA;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,2CAc/B;AAED,iBAAS,iBAAiB,kDAEzB;AAED,OAAO,EACL,QAAQ,EACR,aAAa,EACb,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,iBAAiB,GAClB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+ import { type DatePickerLocale, type TriggerSize } from './internal/date-picker-common';
3
+ export type { DatePickerLocale } from './internal/date-picker-common';
4
+ export type DatePickerProps = Omit<React.ComponentPropsWithoutRef<'input'>, 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'size' | 'prefix'> & {
5
+ value?: Date | null;
6
+ defaultValue?: Date | null;
7
+ onChange?: (date: Date | null) => void;
8
+ onBlur?: () => void;
9
+ placeholder?: string;
10
+ size?: TriggerSize;
11
+ invalid?: boolean;
12
+ loading?: boolean;
13
+ clearable?: boolean;
14
+ disabledDate?: (date: Date) => boolean;
15
+ locale?: DatePickerLocale;
16
+ format?: string;
17
+ };
18
+ declare const DatePicker: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "defaultValue" | "prefix" | "onBlur" | "onChange" | "value"> & {
19
+ value?: Date | null;
20
+ defaultValue?: Date | null;
21
+ onChange?: (date: Date | null) => void;
22
+ onBlur?: () => void;
23
+ placeholder?: string;
24
+ size?: TriggerSize;
25
+ invalid?: boolean;
26
+ loading?: boolean;
27
+ clearable?: boolean;
28
+ disabledDate?: (date: Date) => boolean;
29
+ locale?: DatePickerLocale;
30
+ format?: string;
31
+ } & React.RefAttributes<HTMLInputElement>>;
32
+ export { DatePicker };
33
+ //# sourceMappingURL=date-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../../src/ui/date-picker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAQL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EACjB,MAAM,+BAA+B,CAAC;AAGvC,YAAY,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAMtE,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,EACvC,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CACrE,GAAG;IACF,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACvC,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAA,MAAM,UAAU;YAdN,IAAI,GAAG,IAAI;mBACJ,IAAI,GAAG,IAAI;eACf,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI;aAC7B,MAAM,IAAI;kBACL,MAAM;WACb,WAAW;cACR,OAAO;cACP,OAAO;gBACL,OAAO;mBACJ,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO;aAC7B,gBAAgB;aAChB,MAAM;0CAqShB,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,11 +1,15 @@
1
1
  import React from 'react';
2
2
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
3
4
  import { type VariantProps } from 'tailwind-variants';
4
5
  declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
6
  declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
7
  declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
- declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
8
  declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const DropdownMenuSub: {
10
+ ({ open, defaultOpen, onOpenChange, children, ...props }: React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
11
+ displayName: string;
12
+ };
9
13
  declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
10
14
  appearance: {
11
15
  ai: {
@@ -17,6 +21,11 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
17
21
  radioItem: string;
18
22
  label: string;
19
23
  separator: string;
24
+ itemIcon: string;
25
+ subTriggerChevron: string;
26
+ collapsibleHeader: string;
27
+ collapsibleTrigger: string;
28
+ collapsibleChevron: string;
20
29
  };
21
30
  default: {
22
31
  content: string;
@@ -25,6 +34,9 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
25
34
  item: string;
26
35
  checkboxItem: string;
27
36
  radioItem: string;
37
+ label: string;
38
+ collapsibleHeader: string;
39
+ collapsibleTrigger: string;
28
40
  };
29
41
  };
30
42
  }, {
@@ -37,7 +49,15 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
37
49
  label: string;
38
50
  separator: string;
39
51
  shortcut: string;
40
- trigger: string;
52
+ itemIcon: string;
53
+ itemLabel: string;
54
+ itemTrailing: string;
55
+ subTriggerChevron: string;
56
+ collapsibleHeader: string;
57
+ collapsibleTrigger: string;
58
+ collapsibleChevron: string;
59
+ collapsibleContent: string;
60
+ collapsibleContentInner: string;
41
61
  }, undefined, {
42
62
  appearance: {
43
63
  ai: {
@@ -49,6 +69,11 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
49
69
  radioItem: string;
50
70
  label: string;
51
71
  separator: string;
72
+ itemIcon: string;
73
+ subTriggerChevron: string;
74
+ collapsibleHeader: string;
75
+ collapsibleTrigger: string;
76
+ collapsibleChevron: string;
52
77
  };
53
78
  default: {
54
79
  content: string;
@@ -57,6 +82,9 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
57
82
  item: string;
58
83
  checkboxItem: string;
59
84
  radioItem: string;
85
+ label: string;
86
+ collapsibleHeader: string;
87
+ collapsibleTrigger: string;
60
88
  };
61
89
  };
62
90
  }, {
@@ -69,7 +97,15 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
69
97
  label: string;
70
98
  separator: string;
71
99
  shortcut: string;
72
- trigger: string;
100
+ itemIcon: string;
101
+ itemLabel: string;
102
+ itemTrailing: string;
103
+ subTriggerChevron: string;
104
+ collapsibleHeader: string;
105
+ collapsibleTrigger: string;
106
+ collapsibleChevron: string;
107
+ collapsibleContent: string;
108
+ collapsibleContentInner: string;
73
109
  }, import("tailwind-variants").TVReturnType<{
74
110
  appearance: {
75
111
  ai: {
@@ -81,6 +117,11 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
81
117
  radioItem: string;
82
118
  label: string;
83
119
  separator: string;
120
+ itemIcon: string;
121
+ subTriggerChevron: string;
122
+ collapsibleHeader: string;
123
+ collapsibleTrigger: string;
124
+ collapsibleChevron: string;
84
125
  };
85
126
  default: {
86
127
  content: string;
@@ -89,6 +130,9 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
89
130
  item: string;
90
131
  checkboxItem: string;
91
132
  radioItem: string;
133
+ label: string;
134
+ collapsibleHeader: string;
135
+ collapsibleTrigger: string;
92
136
  };
93
137
  };
94
138
  }, {
@@ -101,23 +145,42 @@ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
101
145
  label: string;
102
146
  separator: string;
103
147
  shortcut: string;
104
- trigger: string;
148
+ itemIcon: string;
149
+ itemLabel: string;
150
+ itemTrailing: string;
151
+ subTriggerChevron: string;
152
+ collapsibleHeader: string;
153
+ collapsibleTrigger: string;
154
+ collapsibleChevron: string;
155
+ collapsibleContent: string;
156
+ collapsibleContentInner: string;
105
157
  }, undefined, unknown, unknown, undefined>>;
106
158
  type DropdownMenuVariants = VariantProps<typeof dropdownMenu>;
107
159
  type DropdownMenuProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & DropdownMenuVariants;
108
- declare const DropdownMenu: {
109
- ({ children, appearance, ...props }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
110
- displayName: string;
160
+ type DropdownMenuSubTriggerProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & DropdownMenuVariants & {
161
+ inset?: boolean;
162
+ icon?: React.ReactNode;
111
163
  };
112
164
  declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
113
165
  inset?: boolean;
166
+ icon?: React.ReactNode;
114
167
  } & React.RefAttributes<HTMLDivElement>>;
115
168
  declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
116
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuPrimitive.DropdownMenuPortalProps & DropdownMenuVariants & React.RefAttributes<never>>;
169
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & Pick<DropdownMenuPrimitive.DropdownMenuPortalProps, "container" | "forceMount"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
170
+ type DropdownMenuItemProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & DropdownMenuVariants & {
171
+ inset?: boolean;
172
+ icon?: React.ReactNode;
173
+ };
117
174
  declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
118
175
  inset?: boolean;
176
+ icon?: React.ReactNode;
177
+ } & React.RefAttributes<HTMLDivElement>>;
178
+ type DropdownMenuCheckboxItemProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem> & DropdownMenuVariants & {
179
+ icon?: React.ReactNode;
180
+ };
181
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
182
+ icon?: React.ReactNode;
119
183
  } & React.RefAttributes<HTMLDivElement>>;
120
- declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
121
184
  declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
122
185
  declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
123
186
  inset?: boolean;
@@ -127,5 +190,62 @@ declare const DropdownMenuShortcut: {
127
190
  ({ className, appearance, ...props }: React.HTMLAttributes<HTMLSpanElement> & DropdownMenuVariants): import("react/jsx-runtime").JSX.Element;
128
191
  displayName: string;
129
192
  };
130
- export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
193
+ type DropdownMenuCollapsibleProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>;
194
+ declare const DropdownMenuCollapsible: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
195
+ type DropdownMenuCollapsibleTriggerProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleTrigger> & DropdownMenuVariants & {
196
+ icon?: React.ReactNode;
197
+ trailing?: React.ReactNode;
198
+ headerClassName?: string;
199
+ };
200
+ declare const DropdownMenuCollapsibleTrigger: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & DropdownMenuVariants & {
201
+ icon?: React.ReactNode;
202
+ trailing?: React.ReactNode;
203
+ headerClassName?: string;
204
+ } & React.RefAttributes<HTMLButtonElement>>;
205
+ type DropdownMenuCollapsibleContentProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleContent> & DropdownMenuVariants;
206
+ declare const DropdownMenuCollapsibleContent: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
207
+ declare const DropdownMenuNamespace: {
208
+ ({ children, appearance, ...props }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
209
+ displayName: string;
210
+ } & {
211
+ Trigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
212
+ Content: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & Pick<DropdownMenuPrimitive.DropdownMenuPortalProps, "container" | "forceMount"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
213
+ Item: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
214
+ inset?: boolean;
215
+ icon?: React.ReactNode;
216
+ } & React.RefAttributes<HTMLDivElement>>;
217
+ CheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
218
+ icon?: React.ReactNode;
219
+ } & React.RefAttributes<HTMLDivElement>>;
220
+ RadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
221
+ Label: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
222
+ inset?: boolean;
223
+ } & React.RefAttributes<HTMLDivElement>>;
224
+ Separator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
225
+ Shortcut: {
226
+ ({ className, appearance, ...props }: React.HTMLAttributes<HTMLSpanElement> & DropdownMenuVariants): import("react/jsx-runtime").JSX.Element;
227
+ displayName: string;
228
+ };
229
+ Group: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
230
+ Portal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
231
+ Sub: {
232
+ ({ open, defaultOpen, onOpenChange, children, ...props }: React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
233
+ displayName: string;
234
+ };
235
+ SubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
236
+ SubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
237
+ inset?: boolean;
238
+ icon?: React.ReactNode;
239
+ } & React.RefAttributes<HTMLDivElement>>;
240
+ RadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
241
+ Collapsible: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
242
+ CollapsibleTrigger: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & DropdownMenuVariants & {
243
+ icon?: React.ReactNode;
244
+ trailing?: React.ReactNode;
245
+ headerClassName?: string;
246
+ } & React.RefAttributes<HTMLButtonElement>>;
247
+ CollapsibleContent: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
248
+ };
249
+ export { DropdownMenuNamespace as DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, DropdownMenuCollapsible, DropdownMenuCollapsibleTrigger, DropdownMenuCollapsibleContent, };
250
+ export type { DropdownMenuProps, DropdownMenuItemProps, DropdownMenuSubTriggerProps, DropdownMenuCheckboxItemProps, DropdownMenuCollapsibleProps, DropdownMenuCollapsibleTriggerProps, DropdownMenuCollapsibleContentProps, };
131
251
  //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../src/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAEvE,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAgB1D,QAAA,MAAM,mBAAmB,0HAAgC,CAA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AM,8BAA8B;WALzB,KAAK,CAAC,SAAS;eACX,KAAK,CAAC,SAAS;sBACR,MAAM;2CA6C3B,CAAC;AAGF,KAAK,mCAAmC,GAAG,KAAK,CAAC,wBAAwB,CACvE,OAAO,oBAAoB,CAAC,kBAAkB,CAC/C,GACC,oBAAoB,CAAC;AAEvB,QAAA,MAAM,8BAA8B,+LAkBlC,CAAC;AAKH,QAAA,MAAM,qBAAqB;yCA5VxB,iBAAiB;;;;;;gBAuGR,OAAO;eACR,KAAK,CAAC,SAAS;;;eA4Bf,KAAK,CAAC,SAAS;;;;gBAwEZ,OAAO;;;;8CAoClB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,GAAG,oBAAoB;;;;;;kEAzY5D,KAAK,CAAC,wBAAwB,CAAC,OAAO,qBAAqB,CAAC,GAAG,CAAC;;;;;gBAwKvD,OAAO;eACR,KAAK,CAAC,SAAS;;;;;eA8Pf,KAAK,CAAC,SAAS;mBACX,KAAK,CAAC,SAAS;0BACR,MAAM;;;CA8F1B,CAAC;AAEH,OAAO,EACL,qBAAqB,IAAI,YAAY,EACrC,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,8BAA8B,EAC9B,8BAA8B,GAC/B,CAAC;AAEF,YAAY,EACV,iBAAiB,EACjB,qBAAqB,EACrB,2BAA2B,EAC3B,6BAA6B,EAC7B,4BAA4B,EAC5B,mCAAmC,EACnC,mCAAmC,GACpC,CAAC"}
@@ -0,0 +1,118 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'tailwind-variants';
3
+ declare const fieldVariants: import("tailwind-variants").TVReturnType<{
4
+ orientation: {
5
+ vertical: string;
6
+ horizontal: string;
7
+ responsive: string;
8
+ };
9
+ }, undefined, "flex", {
10
+ orientation: {
11
+ vertical: string;
12
+ horizontal: string;
13
+ responsive: string;
14
+ };
15
+ }, undefined, import("tailwind-variants").TVReturnType<{
16
+ orientation: {
17
+ vertical: string;
18
+ horizontal: string;
19
+ responsive: string;
20
+ };
21
+ }, undefined, "flex", unknown, unknown, undefined>>;
22
+ export type FieldProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof fieldVariants> & {
23
+ invalid?: boolean;
24
+ warning?: boolean;
25
+ };
26
+ export type FieldLabelProps = React.LabelHTMLAttributes<HTMLLabelElement>;
27
+ export type FieldTitleProps = React.HTMLAttributes<HTMLDivElement>;
28
+ export type FieldDescriptionProps = React.HTMLAttributes<HTMLParagraphElement> & {
29
+ invalid?: boolean;
30
+ warning?: boolean;
31
+ };
32
+ export type FieldErrorProps = React.HTMLAttributes<HTMLParagraphElement>;
33
+ export type FieldGroupProps = React.HTMLAttributes<HTMLDivElement> & {
34
+ invalid?: boolean;
35
+ warning?: boolean;
36
+ };
37
+ export type FieldSetProps = React.FieldsetHTMLAttributes<HTMLFieldSetElement> & {
38
+ invalid?: boolean;
39
+ warning?: boolean;
40
+ };
41
+ declare const fieldLegendVariants: import("tailwind-variants").TVReturnType<{
42
+ variant: {
43
+ legend: string;
44
+ label: string;
45
+ };
46
+ }, undefined, "text-navy-600 [[data-invalid]_&]:text-notification-critical-600", {
47
+ variant: {
48
+ legend: string;
49
+ label: string;
50
+ };
51
+ }, undefined, import("tailwind-variants").TVReturnType<{
52
+ variant: {
53
+ legend: string;
54
+ label: string;
55
+ };
56
+ }, undefined, "text-navy-600 [[data-invalid]_&]:text-notification-critical-600", unknown, unknown, undefined>>;
57
+ export type FieldLegendProps = React.HTMLAttributes<HTMLLegendElement> & VariantProps<typeof fieldLegendVariants>;
58
+ export type FieldContentProps = React.HTMLAttributes<HTMLDivElement>;
59
+ export type FieldSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
60
+ declare const Field: {
61
+ Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<import("tailwind-variants").TVReturnType<{
62
+ orientation: {
63
+ vertical: string;
64
+ horizontal: string;
65
+ responsive: string;
66
+ };
67
+ }, undefined, "flex", {
68
+ orientation: {
69
+ vertical: string;
70
+ horizontal: string;
71
+ responsive: string;
72
+ };
73
+ }, undefined, import("tailwind-variants").TVReturnType<{
74
+ orientation: {
75
+ vertical: string;
76
+ horizontal: string;
77
+ responsive: string;
78
+ };
79
+ }, undefined, "flex", unknown, unknown, undefined>>> & {
80
+ invalid?: boolean;
81
+ warning?: boolean;
82
+ } & React.RefAttributes<HTMLDivElement>>;
83
+ Group: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
84
+ invalid?: boolean;
85
+ warning?: boolean;
86
+ } & React.RefAttributes<HTMLDivElement>>;
87
+ Set: React.ForwardRefExoticComponent<React.FieldsetHTMLAttributes<HTMLFieldSetElement> & {
88
+ invalid?: boolean;
89
+ warning?: boolean;
90
+ } & React.RefAttributes<HTMLFieldSetElement>>;
91
+ Label: React.ForwardRefExoticComponent<FieldLabelProps & React.RefAttributes<HTMLLabelElement>>;
92
+ Title: React.ForwardRefExoticComponent<FieldTitleProps & React.RefAttributes<HTMLDivElement>>;
93
+ Description: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & {
94
+ invalid?: boolean;
95
+ warning?: boolean;
96
+ } & React.RefAttributes<HTMLParagraphElement>>;
97
+ Error: React.ForwardRefExoticComponent<FieldErrorProps & React.RefAttributes<HTMLParagraphElement>>;
98
+ Content: React.ForwardRefExoticComponent<FieldContentProps & React.RefAttributes<HTMLDivElement>>;
99
+ Legend: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLegendElement> & VariantProps<import("tailwind-variants").TVReturnType<{
100
+ variant: {
101
+ legend: string;
102
+ label: string;
103
+ };
104
+ }, undefined, "text-navy-600 [[data-invalid]_&]:text-notification-critical-600", {
105
+ variant: {
106
+ legend: string;
107
+ label: string;
108
+ };
109
+ }, undefined, import("tailwind-variants").TVReturnType<{
110
+ variant: {
111
+ legend: string;
112
+ label: string;
113
+ };
114
+ }, undefined, "text-navy-600 [[data-invalid]_&]:text-notification-critical-600", unknown, unknown, undefined>>> & React.RefAttributes<HTMLLegendElement>>;
115
+ Separator: React.ForwardRefExoticComponent<FieldSeparatorProps & React.RefAttributes<HTMLDivElement>>;
116
+ };
117
+ export default Field;
118
+ //# sourceMappingURL=field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/ui/field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI1D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;mDAajB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAC3D,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAEnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAoCJ,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AA8B1E,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAiDnE,MAAM,MAAM,qBAAqB,GAC/B,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,GAAG;IAE3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAiCJ,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAoBzE,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAEnE,OAAO,CAAC,EAAE,O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