@commercetools/nimbus 0.0.0-canary-20251015171040 → 0.0.0-canary-20251015182814

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 (185) hide show
  1. package/dist/accordion.d.ts +26 -11
  2. package/dist/alert.d.ts +54 -28
  3. package/dist/avatar.d.ts +17 -19
  4. package/dist/badge.d.ts +16 -17
  5. package/dist/button.d.ts +23 -16
  6. package/dist/calendar.d.ts +0 -4
  7. package/dist/card.d.ts +18 -18
  8. package/dist/checkbox.d.ts +14 -9
  9. package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -1
  10. package/dist/chunks/accordion-CKDnNkVv.es.js.map +1 -1
  11. package/dist/chunks/alert-CPHjPe4-.cjs.js.map +1 -1
  12. package/dist/chunks/alert-lNg0Rz2w.es.js.map +1 -1
  13. package/dist/chunks/{avatar-BfEMp9g8.es.js → avatar-CTiSGVoD.es.js} +4 -2
  14. package/dist/chunks/avatar-CTiSGVoD.es.js.map +1 -0
  15. package/dist/chunks/avatar-_o-uSXYy.cjs.js.map +1 -1
  16. package/dist/chunks/{badge-JEfh4EDj.es.js → badge-Csn5glEd.es.js} +4 -2
  17. package/dist/chunks/badge-Csn5glEd.es.js.map +1 -0
  18. package/dist/chunks/badge-mMpNb3Qj.cjs.js.map +1 -1
  19. package/dist/chunks/button-B5OOW-2z.cjs.js.map +1 -1
  20. package/dist/chunks/button-IZUJaJku.es.js.map +1 -1
  21. package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -1
  22. package/dist/chunks/calendar-lD6G93R9.es.js.map +1 -1
  23. package/dist/chunks/card-BB_1xrND.es.js.map +1 -1
  24. package/dist/chunks/card-BPEsGx1J.cjs.js.map +1 -1
  25. package/dist/chunks/{checkbox-DII0AOBy.es.js → checkbox-BB-WJdal.es.js} +2 -8
  26. package/dist/chunks/{checkbox-DII0AOBy.es.js.map → checkbox-BB-WJdal.es.js.map} +1 -1
  27. package/dist/chunks/checkbox-Dod-yTj4.cjs.js.map +1 -1
  28. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -1
  29. package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +1 -1
  30. package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -1
  31. package/dist/chunks/{combobox-CxEeal66.es.js → combobox-D_7gr3DY.es.js} +2 -2
  32. package/dist/chunks/{combobox-CxEeal66.es.js.map → combobox-D_7gr3DY.es.js.map} +1 -1
  33. package/dist/chunks/data-table-C51WU0Cc.cjs.js.map +1 -1
  34. package/dist/chunks/{data-table-BGCmY93Q.es.js → data-table-ClMivKY1.es.js} +5 -8
  35. package/dist/chunks/{data-table-BGCmY93Q.es.js.map → data-table-ClMivKY1.es.js.map} +1 -1
  36. package/dist/chunks/date-input-Cap8-3zj.es.js.map +1 -1
  37. package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +1 -1
  38. package/dist/chunks/date-picker-CZAoPNsT.cjs.js.map +1 -1
  39. package/dist/chunks/date-picker-ChZ8H-MT.es.js.map +1 -1
  40. package/dist/chunks/date-range-picker-DGWMdcAN.es.js.map +1 -1
  41. package/dist/chunks/date-range-picker-iENzosfN.cjs.js.map +1 -1
  42. package/dist/chunks/{draggable-list-Dv372xXb.es.js → draggable-list-s43baxoM.es.js} +2 -2
  43. package/dist/chunks/{draggable-list-Dv372xXb.es.js.map → draggable-list-s43baxoM.es.js.map} +1 -1
  44. package/dist/chunks/{field-errors-CHxHaB5C.es.js → field-errors-ClQprmQz.es.js} +1 -6
  45. package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -0
  46. package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -1
  47. package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -1
  48. package/dist/chunks/group-CWADf2vF.es.js.map +1 -1
  49. package/dist/chunks/{icon-V6yr3oou.es.js → icon-CenxuChf.es.js} +2 -4
  50. package/dist/chunks/icon-CenxuChf.es.js.map +1 -0
  51. package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -1
  52. package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -1
  53. package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -1
  54. package/dist/chunks/link-BEhlSTUU.es.js.map +1 -1
  55. package/dist/chunks/link-DpU4rPCp.cjs.js.map +1 -1
  56. package/dist/chunks/loading-spinner-BiVTAfmp.es.js.map +1 -1
  57. package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js.map +1 -1
  58. package/dist/chunks/{localized-field-D4R1lSbz.es.js → localized-field-D3G0Uy7Z.es.js} +6 -6
  59. package/dist/chunks/{localized-field-D4R1lSbz.es.js.map → localized-field-D3G0Uy7Z.es.js.map} +1 -1
  60. package/dist/chunks/{menu-BkPvV5Ey.es.js → menu-D-vE6ZpM.es.js} +3 -6
  61. package/dist/chunks/menu-D-vE6ZpM.es.js.map +1 -0
  62. package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -1
  63. package/dist/chunks/{money-input-jPYw0Jyg.es.js → money-input-sk0Slpeu.es.js} +2 -2
  64. package/dist/chunks/{money-input-jPYw0Jyg.es.js.map → money-input-sk0Slpeu.es.js.map} +1 -1
  65. package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +1 -1
  66. package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +1 -1
  67. package/dist/chunks/{password-input-Bf_SPzLj.es.js → password-input-6MO4I-2j.es.js} +2 -2
  68. package/dist/chunks/{password-input-Bf_SPzLj.es.js.map → password-input-6MO4I-2j.es.js.map} +1 -1
  69. package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -1
  70. package/dist/chunks/{popover-DF0ppmkw.es.js → popover-DNaC7CwB.es.js} +2 -4
  71. package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -0
  72. package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +1 -1
  73. package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +1 -1
  74. package/dist/chunks/range-calendar-DBpl6y5i.es.js.map +1 -1
  75. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -1
  76. package/dist/chunks/{rich-text-input-D7DcSuhr.es.js → rich-text-input-BC8CBVio.es.js} +5 -5
  77. package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +1 -0
  78. package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -1
  79. package/dist/chunks/search-input-BefkmgPy.cjs.js.map +1 -1
  80. package/dist/chunks/search-input-DJy2NHYW.es.js.map +1 -1
  81. package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -1
  82. package/dist/chunks/{separator-B0qxXI4c.es.js → separator-DJGUFG-o.es.js} +2 -4
  83. package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -0
  84. package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -1
  85. package/dist/chunks/{split-button-yfUsgbxF.es.js → split-button-BxyZmuNi.es.js} +3 -3
  86. package/dist/chunks/split-button-BxyZmuNi.es.js.map +1 -0
  87. package/dist/chunks/{switch-Df_0twKu.es.js → switch-01hEhL9A.es.js} +2 -14
  88. package/dist/chunks/switch-01hEhL9A.es.js.map +1 -0
  89. package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -1
  90. package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -1
  91. package/dist/chunks/{tabs-BCLrKRoZ.es.js → tabs-Dhte-RCe.es.js} +2 -8
  92. package/dist/chunks/{tabs-BCLrKRoZ.es.js.map → tabs-Dhte-RCe.es.js.map} +1 -1
  93. package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -1
  94. package/dist/chunks/{tag-group-B-eOhltn.es.js → tag-group-D2dgXSsV.es.js} +3 -9
  95. package/dist/chunks/{tag-group-B-eOhltn.es.js.map → tag-group-D2dgXSsV.es.js.map} +1 -1
  96. package/dist/chunks/text-input-CSAODlCw.es.js.map +1 -1
  97. package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +1 -1
  98. package/dist/chunks/time-input--a_qv-Jk.es.js.map +1 -1
  99. package/dist/chunks/time-input-zXykDANk.cjs.js.map +1 -1
  100. package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +1 -1
  101. package/dist/chunks/toggle-button-awb1jBf8.es.js.map +1 -1
  102. package/dist/chunks/toolbar-DV0l5MqA.cjs.js.map +1 -1
  103. package/dist/chunks/{toolbar-BDatiEYj.es.js → toolbar-Dduysqqi.es.js} +4 -2
  104. package/dist/chunks/toolbar-Dduysqqi.es.js.map +1 -0
  105. package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -1
  106. package/dist/chunks/{tooltip-CHm25f4m.es.js → tooltip-sgakxhiy.es.js} +2 -4
  107. package/dist/chunks/{tooltip-CHm25f4m.es.js.map → tooltip-sgakxhiy.es.js.map} +1 -1
  108. package/dist/collapsible-motion.d.ts +55 -42
  109. package/dist/combobox.d.ts +45 -25
  110. package/dist/components/avatar.es.js +1 -1
  111. package/dist/components/badge.es.js +1 -1
  112. package/dist/components/checkbox.es.js +1 -1
  113. package/dist/components/combobox.es.js +1 -1
  114. package/dist/components/data-table.es.js +1 -1
  115. package/dist/components/draggable-list.es.js +1 -1
  116. package/dist/components/field-errors.es.js +1 -1
  117. package/dist/components/icon.es.js +1 -1
  118. package/dist/components/localized-field.es.js +1 -1
  119. package/dist/components/money-input.es.js +1 -1
  120. package/dist/components/password-input.es.js +1 -1
  121. package/dist/components/popover.es.js +1 -1
  122. package/dist/components/rich-text-input.es.js +1 -1
  123. package/dist/components/separator.es.js +1 -1
  124. package/dist/components/split-button.es.js +1 -1
  125. package/dist/components/switch.es.js +1 -1
  126. package/dist/components/tabs.es.js +1 -1
  127. package/dist/components/tag-group.es.js +1 -1
  128. package/dist/components/toolbar.es.js +1 -1
  129. package/dist/components/tooltip.es.js +1 -1
  130. package/dist/components.d.ts +31 -20
  131. package/dist/data-table.d.ts +4 -24
  132. package/dist/date-input.d.ts +10 -35
  133. package/dist/date-picker.d.ts +13 -66
  134. package/dist/date-range-picker.d.ts +10 -21
  135. package/dist/dialog.d.ts +31 -20
  136. package/dist/draggable-list.d.ts +35 -11
  137. package/dist/drawer.d.ts +45 -36
  138. package/dist/field-errors.d.ts +33 -25
  139. package/dist/form-field.d.ts +32 -12
  140. package/dist/group.d.ts +8 -12
  141. package/dist/icon-button.d.ts +29 -20
  142. package/dist/icon-toggle-button.d.ts +21 -16
  143. package/dist/icon.d.ts +0 -19
  144. package/dist/index.d.ts +31 -20
  145. package/dist/index.es.js +21 -21
  146. package/dist/inline-svg.d.ts +2 -21
  147. package/dist/link.d.ts +14 -24
  148. package/dist/loading-spinner.d.ts +13 -22
  149. package/dist/localized-field.d.ts +2 -5
  150. package/dist/money-input.d.ts +4 -0
  151. package/dist/multiline-text-input.d.ts +21 -7
  152. package/dist/nimbus-provider.d.ts +20 -8
  153. package/dist/number-input.d.ts +13 -2
  154. package/dist/pagination.d.ts +33 -9
  155. package/dist/password-input.d.ts +16 -10
  156. package/dist/popover.d.ts +3 -3
  157. package/dist/progress-bar.d.ts +21 -22
  158. package/dist/radio-input.d.ts +8 -3
  159. package/dist/range-calendar.d.ts +0 -7
  160. package/dist/scoped-search-input.d.ts +29 -92
  161. package/dist/search-input.d.ts +14 -10
  162. package/dist/select.d.ts +25 -9
  163. package/dist/separator.d.ts +10 -27
  164. package/dist/split-button.d.ts +23 -16
  165. package/dist/switch.d.ts +6 -11
  166. package/dist/tabs.d.ts +12 -13
  167. package/dist/tag-group.d.ts +4 -10
  168. package/dist/text-input.d.ts +19 -8
  169. package/dist/time-input.d.ts +8 -38
  170. package/dist/toggle-button-group.d.ts +9 -10
  171. package/dist/toggle-button.d.ts +15 -15
  172. package/dist/toolbar.d.ts +5 -11
  173. package/dist/tooltip.d.ts +23 -28
  174. package/package.json +5 -5
  175. package/dist/chunks/avatar-BfEMp9g8.es.js.map +0 -1
  176. package/dist/chunks/badge-JEfh4EDj.es.js.map +0 -1
  177. package/dist/chunks/field-errors-CHxHaB5C.es.js.map +0 -1
  178. package/dist/chunks/icon-V6yr3oou.es.js.map +0 -1
  179. package/dist/chunks/menu-BkPvV5Ey.es.js.map +0 -1
  180. package/dist/chunks/popover-DF0ppmkw.es.js.map +0 -1
  181. package/dist/chunks/rich-text-input-D7DcSuhr.es.js.map +0 -1
  182. package/dist/chunks/separator-B0qxXI4c.es.js.map +0 -1
  183. package/dist/chunks/split-button-yfUsgbxF.es.js.map +0 -1
  184. package/dist/chunks/switch-Df_0twKu.es.js.map +0 -1
  185. package/dist/chunks/toolbar-BDatiEYj.es.js.map +0 -1
@@ -1,12 +1,13 @@
1
1
  import { HTMLChakraProps } from '@chakra-ui/react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
- import { RadioGroupProps as RadioGroupProps_2 } from 'react-aria-components';
3
+ import { RadioGroupProps } from 'react-aria-components';
4
4
  import { RadioInputOptionProps as RadioInputOptionProps_2 } from './radio-input.types';
5
5
  import { RadioInputRootProps as RadioInputRootProps_2 } from './radio-input.types';
6
6
  import { RadioProps } from 'react-aria-components';
7
7
  import { RecipeProps } from '@chakra-ui/react';
8
8
 
9
- declare type RadioGroupProps = Omit<RadioGroupProps_2, "children" | "orientation"> & {
9
+ declare type RadioGroupPropsSubset = Omit<RadioGroupProps, "children" | "orientation"> & {
10
+ /** Radio options to display */
10
11
  children?: React.ReactNode;
11
12
  };
12
13
 
@@ -31,6 +32,10 @@ export declare type RadioInputOptionProps = RadioProps & Omit<RadioInputOptionSl
31
32
  export declare type RadioInputOptionSlotProps = HTMLChakraProps<"span", RecipeProps<"option">>;
32
33
 
33
34
  declare type RadioInputRecipeProps = {
35
+ /**
36
+ * Layout orientation for radio options
37
+ * @default "vertical"
38
+ */
34
39
  orientation?: RecipeProps<"radioInput">["orientation"];
35
40
  };
36
41
 
@@ -46,7 +51,7 @@ export declare const _RadioInputRoot: {
46
51
  displayName: string;
47
52
  };
48
53
 
49
- export declare type RadioInputRootProps = Omit<RadioInputRootSlotProps, keyof RadioGroupProps> & RadioGroupProps;
54
+ export declare type RadioInputRootProps = Omit<RadioInputRootSlotProps, keyof RadioGroupPropsSubset> & RadioGroupPropsSubset;
50
55
 
51
56
  export declare type RadioInputRootSlotProps = HTMLChakraProps<"div", RadioInputRecipeProps>;
52
57
 
@@ -4,10 +4,6 @@ import { JSX } from 'react/jsx-runtime';
4
4
  import { RangeCalendarProps as RangeCalendarProps_2 } from 'react-aria-components';
5
5
  import { SlotRecipeProps } from '@chakra-ui/react';
6
6
 
7
- /**
8
- * Additional properties we want to exclude from the RangeCalendar component.
9
- * These are either deprecated or not intended for use in this component.
10
- */
11
7
  declare type ExcludedProps = "as" | "style" | "createCalendar";
12
8
 
13
9
  export declare const RangeCalendar: (props: RangeCalendarProps<DateValue>) => JSX.Element;
@@ -34,9 +30,6 @@ declare type RangeCalendarRecipeProps = SlotRecipeProps<"rangeCalendar">;
34
30
 
35
31
  export declare type RangeCalendarRootSlotProps = HTMLChakraProps<"div", RangeCalendarRecipeProps & RangeCalendarProps_2<DateValue>>;
36
32
 
37
- /**
38
- * Range value type for date ranges
39
- */
40
33
  export declare type RangeValue<T> = {
41
34
  start: T;
42
35
  end: T;
@@ -9,139 +9,76 @@ export declare const ScopedSearchInput: {
9
9
  displayName: string;
10
10
  };
11
11
 
12
- /**
13
- * Option definition for the select dropdown
14
- */
15
12
  export declare type ScopedSearchInputOption = {
16
- /**
17
- * Display label for the option
18
- */
13
+ /** Display label for the option */
19
14
  label: string;
20
- /**
21
- * Unique value/key for the option
22
- */
15
+ /** Unique value for the option */
23
16
  value: string;
24
- /**
25
- * Whether the option is disabled
26
- */
17
+ /** Whether the option is disabled */
27
18
  isDisabled?: boolean;
28
19
  };
29
20
 
30
- /**
31
- * Option group definition for grouped options
32
- */
33
21
  export declare type ScopedSearchInputOptionGroup = {
34
- /**
35
- * Group label
36
- */
22
+ /** Group label */
37
23
  label: string;
38
- /**
39
- * Options in this group
40
- */
24
+ /** Options within the group */
41
25
  options: ScopedSearchInputOption[];
42
26
  };
43
27
 
44
28
  export declare type ScopedSearchInputProps = Omit<ScopedSearchInputRootSlotProps, "value" | "onSubmit" | "as" | "asChild"> & {
45
- /**
46
- * The current value (controlled)
47
- */
29
+ /** Current value (text + selected option) */
48
30
  value: ScopedSearchInputValue;
49
- /**
50
- * Callback when the unified value changes
51
- */
31
+ /** Callback when complete value changes */
52
32
  onValueChange?: (value: ScopedSearchInputValue) => void;
53
- /**
54
- * Callback when the text input changes
55
- */
33
+ /** Callback when only search text changes */
56
34
  onTextChange?: (text: string) => void;
57
- /**
58
- * Callback when the select option changes
59
- */
35
+ /** Callback when only option changes */
60
36
  onOptionChange?: (option: string) => void;
61
- /**
62
- * Callback when search is submitted (Enter key or submit button)
63
- */
37
+ /** Callback when search is submitted */
64
38
  onSubmit: (value: ScopedSearchInputValue) => void;
65
- /**
66
- * Callback when reset/clear is triggered
67
- */
39
+ /** Callback when search is reset/cleared */
68
40
  onReset?: () => void;
69
- /**
70
- * Options for the select dropdown
71
- */
41
+ /** Available scope options or option groups */
72
42
  options: ScopedSearchInputOption[] | ScopedSearchInputOptionGroup[];
73
- /**
74
- * Placeholder text for the select dropdown
75
- */
43
+ /** Placeholder for scope selector */
76
44
  selectPlaceholder?: string;
77
- /**
78
- * Placeholder text for the search input
79
- */
45
+ /** Placeholder for search input */
80
46
  searchPlaceholder?: string;
81
- /**
82
- * Accessible label for the select dropdown
83
- */
47
+ /** Aria label for scope selector */
84
48
  selectAriaLabel?: string;
85
- /**
86
- * Accessible label for the search input
87
- */
49
+ /** Aria label for search input */
88
50
  searchAriaLabel?: string;
89
- /**
90
- * Whether to show the clear button in the search input
91
- * @default true
92
- */
51
+ /** Whether to show clear button */
93
52
  isClearable?: boolean;
94
- /**
95
- * Whether the component is disabled
96
- * @default false
97
- */
53
+ /** Whether the input is disabled */
98
54
  isDisabled?: boolean;
99
- /**
100
- * Whether the component is read-only
101
- * @default false
102
- */
55
+ /** Whether the input is read-only */
103
56
  isReadOnly?: boolean;
104
- /**
105
- * Whether the component is in an invalid state
106
- * @default false
107
- */
57
+ /** Whether the input has validation errors */
108
58
  isInvalid?: boolean;
109
- /**
110
- * Whether the component is required
111
- * @default false
112
- */
59
+ /** Whether the input is required */
113
60
  isRequired?: boolean;
114
- /**
115
- * ID for the component (used for ARIA relationships)
116
- */
61
+ /** Unique identifier */
117
62
  id?: string;
118
- /**
119
- * ID of element describing the component
120
- */
63
+ /** ID of element describing the input */
121
64
  "aria-describedby"?: string;
122
- /**
123
- * ID of element labeling the component
124
- */
65
+ /** ID of element labeling the input */
125
66
  "aria-labelledby"?: string;
126
67
  };
127
68
 
128
69
  declare type ScopedSearchInputRecipeProps = {
70
+ /**
71
+ * Size variant of the scoped search input
72
+ */
129
73
  size?: SlotRecipeProps<"scopedSearchInput">["size"];
130
74
  };
131
75
 
132
76
  declare type ScopedSearchInputRootSlotProps = HTMLChakraProps<"div", ScopedSearchInputRecipeProps>;
133
77
 
134
- /**
135
- * Value structure for ScopedSearchInput
136
- */
137
78
  export declare type ScopedSearchInputValue = {
138
- /**
139
- * The text in the search input
140
- */
79
+ /** Search text entered by user */
141
80
  text: string;
142
- /**
143
- * The selected option key from the select dropdown
144
- */
81
+ /** Selected scope/category option */
145
82
  option: string;
146
83
  };
147
84
 
@@ -14,31 +14,35 @@ export declare const SearchInput: {
14
14
  displayName: string;
15
15
  };
16
16
 
17
- export declare type SearchInputInputProps = HTMLChakraProps<"input">;
17
+ export declare type SearchInputInputSlotProps = HTMLChakraProps<"input">;
18
18
 
19
- export declare type SearchInputLeadingElementProps = HTMLChakraProps<"div">;
19
+ export declare type SearchInputLeadingElementSlotProps = HTMLChakraProps<"div">;
20
20
 
21
- /**
22
- * Props for the SearchInput component.
23
- * Built on React Aria's SearchField for accessibility.
24
- */
25
- export declare type SearchInputProps = Omit<SearchInputRootProps, keyof SearchFieldProps | "as" | "asChild"> & Omit<SearchFieldProps, "ref"> & {
21
+ export declare type SearchInputProps = Omit<SearchInputRootSlotProps, keyof SearchFieldProps | "as" | "asChild"> & Omit<SearchFieldProps, "ref"> & {
26
22
  /**
27
- * React ref to be forwarded to the input element
23
+ * Ref forwarding to the input element
28
24
  */
29
25
  ref?: React.Ref<HTMLInputElement>;
30
26
  /**
31
- * Placeholder text for the input
27
+ * Placeholder text for the search input
32
28
  */
33
29
  placeholder?: string;
34
30
  };
35
31
 
36
32
  declare type SearchInputRecipeProps = {
33
+ /**
34
+ * Size variant of the search input
35
+ * @default "md"
36
+ */
37
37
  size?: SlotRecipeProps<"searchInput">["size"];
38
+ /**
39
+ * Visual style variant of the search input
40
+ * @default "solid"
41
+ */
38
42
  variant?: SlotRecipeProps<"searchInput">["variant"];
39
43
  };
40
44
 
41
- export declare type SearchInputRootProps = HTMLChakraProps<"div", SearchInputRecipeProps>;
45
+ export declare type SearchInputRootSlotProps = HTMLChakraProps<"div", SearchInputRecipeProps>;
42
46
 
43
47
  export { }
44
48
 
package/dist/select.d.ts CHANGED
@@ -150,7 +150,9 @@ export declare const _SelectOptionGroup: {
150
150
  };
151
151
 
152
152
  export declare type SelectOptionGroupProps<T> = ListBoxSectionProps<T> & Omit<SelectOptionGroupSlotProps, keyof ListBoxSectionProps<T>> & {
153
- /** the label for the section */
153
+ /**
154
+ * Label text for the option group section
155
+ */
154
156
  label: string;
155
157
  };
156
158
 
@@ -158,7 +160,7 @@ export declare type SelectOptionGroupSlotProps = HTMLChakraProps<"div">;
158
160
 
159
161
  export declare type SelectOptionProps = Omit<ListBoxItemProps, "onClick" | "translate" | "onBlur" | "onFocus" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onMouseUp"> & Omit<SelectOptionSlotProps, keyof ListBoxItemProps> & {
160
162
  /**
161
- * React ref to be forwarded to the option element
163
+ * Ref forwarding to the option element
162
164
  */
163
165
  ref?: React.Ref<HTMLDivElement>;
164
166
  };
@@ -177,8 +179,14 @@ export declare interface SelectOptionsProps<T> extends ListBoxProps<T>, Omit<Sel
177
179
 
178
180
  export declare type SelectOptionsSlotProps = HTMLChakraProps<"div">;
179
181
 
180
- export declare type SelectRecipeProps = {
182
+ declare type SelectRecipeProps = {
183
+ /**
184
+ * Size variant of the select
185
+ */
181
186
  size?: SlotRecipeProps<"select">["size"];
187
+ /**
188
+ * Visual style variant of the select
189
+ */
182
190
  variant?: SlotRecipeProps<"select">["variant"];
183
191
  };
184
192
 
@@ -195,19 +203,27 @@ export declare const _SelectRoot: {
195
203
  };
196
204
 
197
205
  export declare type SelectRootProps = SelectRootSlotProps & SelectProps & {
198
- /** set to true if Select is currently busy with something */
206
+ /**
207
+ * Whether the select is in a loading state
208
+ * @default false
209
+ */
199
210
  isLoading?: boolean;
200
- /** Children must be ReactNode, no render props/functions allowed */
211
+ /**
212
+ * Children elements (must be ReactNode, no render props/functions allowed)
213
+ */
201
214
  children: ReactNode;
202
215
  /**
203
- * Optional element to display at the start of the input
204
- * Will respect text direction (left in LTR, right in RTL)
216
+ * Optional element to display at the start of the input field
217
+ * Respects text direction (left in LTR, right in RTL)
205
218
  */
206
219
  leadingElement?: ReactNode;
207
- /** Whether the select should show a clear button when a value is selected */
220
+ /**
221
+ * Whether to show a clear button when a value is selected
222
+ * @default false
223
+ */
208
224
  isClearable?: boolean;
209
225
  /**
210
- * React ref to be forwarded to the root element
226
+ * Ref forwarding to the root element
211
227
  */
212
228
  ref?: React.Ref<HTMLDivElement>;
213
229
  };
@@ -22,37 +22,20 @@ export declare const Separator: {
22
22
  displayName: string;
23
23
  };
24
24
 
25
- /**
26
- * Main props type for the Separator component.
27
- * Extends SeparatorVariantProps to include both root props and variant props,
28
- * while adding support for React Aria separator props.
29
- */
30
- export declare type SeparatorProps = SeparatorVariantProps & {
31
- /** Reference to the separator element */
25
+ export declare type SeparatorProps = SeparatorRootSlotProps & {
26
+ /**
27
+ * Data attributes for testing or custom metadata
28
+ */
29
+ [key: `data-${string}`]: unknown;
30
+ /**
31
+ * Ref forwarding to the root element
32
+ */
32
33
  ref?: React.Ref<HTMLDivElement>;
33
34
  };
34
35
 
35
- /**
36
- * Base recipe props type that combines Chakra UI's recipe props
37
- * with the unstyled prop option for the div element.
38
- */
39
- export declare type SeparatorRecipeProps = RecipeProps<"separator"> & UnstyledProp;
40
-
41
- /**
42
- * Root props type that extends Chakra's HTML props with our recipe props.
43
- * This creates a complete set of props for the root element, combining
44
- * HTML attributes, Chakra's styling system, and our custom recipe props.
45
- */
46
- export declare type SeparatorRootProps = HTMLChakraProps<"div", SeparatorRecipeProps>;
36
+ declare type SeparatorRecipeProps = RecipeProps<"separator"> & UnstyledProp;
47
37
 
48
- /**
49
- * Combines the root props with Chakra UI's recipe variant props.
50
- * This allows the component to accept both structural props from Root
51
- * and styling variants from the recipe.
52
- */
53
- declare type SeparatorVariantProps = SeparatorRootProps & {
54
- [key: `data-${string}`]: unknown;
55
- };
38
+ export declare type SeparatorRootSlotProps = HTMLChakraProps<"div", SeparatorRecipeProps>;
56
39
 
57
40
  export { }
58
41
 
@@ -8,35 +8,42 @@ import { RecipeProps } from '@chakra-ui/react';
8
8
  import { SlotRecipeProps } from '@chakra-ui/react';
9
9
  import { UnstyledProp } from '@chakra-ui/react';
10
10
 
11
- declare type ButtonProps = ButtonRootProps & FunctionalButtonProps & {
11
+ declare type ButtonProps = Omit<ButtonRootSlotProps, keyof AriaButtonProps> & AriaButtonProps & {
12
+ /**
13
+ * Data attributes for testing or custom metadata
14
+ */
15
+ [key: `data-${string}`]: unknown;
16
+ /**
17
+ * Slot name for React Aria Components composition
18
+ */
12
19
  slot?: string | null | undefined;
20
+ /**
21
+ * Ref forwarding to the button element
22
+ */
13
23
  ref?: React.Ref<HTMLButtonElement>;
14
24
  };
15
25
 
16
- /**
17
- * Base recipe props interface that combines Chakra UI's recipe props
18
- * with the unstyled prop option for the button element.
19
- */
20
26
  declare type ButtonRecipeProps = {
27
+ /**
28
+ * Size variant of the button
29
+ * @default "md"
30
+ */
21
31
  size?: RecipeProps<"button">["size"];
32
+ /**
33
+ * Visual style variant of the button
34
+ * @default "subtle"
35
+ */
22
36
  variant?: RecipeProps<"button">["variant"];
37
+ /**
38
+ * Color tone palette for the button
39
+ */
23
40
  tone?: RecipeProps<"button">["tone"];
24
41
  } & UnstyledProp;
25
42
 
26
- /**
27
- * Root props interface that extends Chakra's HTML props with our recipe props.
28
- * This creates a complete set of props for the root element, combining
29
- * HTML attributes, Chakra's styling system, and our custom recipe props.
30
- */
31
- declare type ButtonRootProps = Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> & {
43
+ declare type ButtonRootSlotProps = Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> & {
32
44
  slot?: string | null | undefined;
33
45
  };
34
46
 
35
- /** combine chakra-button props with aria-button props */
36
- declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, keyof AriaButtonProps | "slot"> & {
37
- [key: `data-${string}`]: unknown;
38
- };
39
-
40
47
  /**
41
48
  * # SplitButton
42
49
  *
package/dist/switch.d.ts CHANGED
@@ -3,9 +3,6 @@ import { HTMLChakraProps } from '@chakra-ui/react';
3
3
  import { JSX } from 'react/jsx-runtime';
4
4
  import { SlotRecipeProps } from '@chakra-ui/react';
5
5
 
6
- /**
7
- * List of props that should be excluded from the root props when combining with ARIA props
8
- */
9
6
  declare type ExcludedSwitchProps = "asChild" | "isIndeterminate" | "colorScheme" | "validationState" | "validationBehavior" | "validate";
10
7
 
11
8
  /**
@@ -20,22 +17,20 @@ export declare const Switch: {
20
17
  displayName: string;
21
18
  };
22
19
 
23
- /**
24
- * Main props interface for the Switch component.
25
- * Combines root element props with ARIA toggle functionality props.
26
- */
27
- export declare type SwitchProps = Omit<SwitchRootProps, ExcludedSwitchProps | "onChange"> & Omit<AriaCheckboxProps, ExcludedSwitchProps> & {
20
+ export declare type SwitchProps = Omit<SwitchRootSlotProps, ExcludedSwitchProps | "onChange"> & Omit<AriaCheckboxProps, ExcludedSwitchProps> & {
28
21
  /**
29
- * The content to display next to the switch.
30
- * Can be a string or React node.
22
+ * The label content to display next to the switch
31
23
  */
32
24
  children?: React.ReactNode;
25
+ /**
26
+ * Ref forwarding to the input element
27
+ */
33
28
  ref?: React.Ref<HTMLInputElement>;
34
29
  };
35
30
 
36
31
  declare type SwitchRecipeProps = SlotRecipeProps<"switch">;
37
32
 
38
- declare type SwitchRootProps = HTMLChakraProps<"label", SwitchRecipeProps>;
33
+ declare type SwitchRootSlotProps = HTMLChakraProps<"label", SwitchRecipeProps>;
39
34
 
40
35
  export { }
41
36
 
package/dist/tabs.d.ts CHANGED
@@ -19,9 +19,6 @@ export declare const _Tab: {
19
19
  displayName: string;
20
20
  };
21
21
 
22
- /**
23
- * Props for individual tab item component
24
- */
25
22
  export declare type TabItemProps = {
26
23
  /**
27
24
  * The id of the tab item
@@ -136,10 +133,6 @@ export declare type TabsPanelsSlotProps = HTMLChakraProps<"div", SlotRecipeProps
136
133
  children?: React.ReactNode;
137
134
  };
138
135
 
139
- /**
140
- * Main props type for the Tabs root component.
141
- * Combines React Aria tabs props with our styling variants.
142
- */
143
136
  export declare type TabsProps = TabsRootSlotProps & TabsVariantProps & {
144
137
  children?: React.ReactNode;
145
138
  ref?: React.Ref<HTMLDivElement>;
@@ -147,8 +140,20 @@ export declare type TabsProps = TabsRootSlotProps & TabsVariantProps & {
147
140
  };
148
141
 
149
142
  declare type TabsRecipeProps = {
143
+ /**
144
+ * Layout orientation of the tabs
145
+ * @default "horizontal"
146
+ */
150
147
  orientation?: SlotRecipeProps<"tabs">["orientation"];
148
+ /**
149
+ * Placement of the tab list relative to panels
150
+ * @default "start"
151
+ */
151
152
  placement?: SlotRecipeProps<"tabs">["placement"];
153
+ /**
154
+ * Size variant of the tabs
155
+ * @default "md"
156
+ */
152
157
  size?: SlotRecipeProps<"tabs">["size"];
153
158
  };
154
159
 
@@ -164,9 +169,6 @@ export declare const _TabsRoot: {
164
169
  displayName: string;
165
170
  };
166
171
 
167
- /**
168
- * Root props type that extends React Aria's tabs props with our recipe props.
169
- */
170
172
  export declare type TabsRootSlotProps = HTMLChakraProps<"div", TabsRecipeProps> & {
171
173
  /**
172
174
  * The children of the Tabs component.
@@ -195,9 +197,6 @@ export declare type TabsTabSlotProps = HTMLChakraProps<"button", TabsRecipeProps
195
197
  isDisabled?: boolean;
196
198
  };
197
199
 
198
- /**
199
- * Tabs recipe variant props for direction and placement configuration
200
- */
201
200
  declare type TabsVariantProps = SlotRecipeProps<"tabs"> & {
202
201
  [key: `data-${string}`]: unknown;
203
202
  };
@@ -29,44 +29,38 @@ export declare const TagGroup: {
29
29
  Tag: TagGroupTagComponent_2;
30
30
  };
31
31
 
32
- /** Final external props for the `<TagGroup>` component, including `children`. */
33
32
  export declare type TagGroupProps = TagGroupRecipeVariantProps & Omit<TagGroupRootProps, "size"> & {
34
33
  ref?: Ref<typeof TagGroup_2>;
35
34
  };
36
35
 
37
36
  declare type TagGroupRecipeVariantProps = {
37
+ /**
38
+ * Size variant of the tag group
39
+ * @default "lg"
40
+ */
38
41
  size?: SlotRecipeProps<"taggroup">["size"];
39
42
  };
40
43
 
41
- /** Type signature for the main `TagGroup` component. */
42
44
  export declare type TagGroupRootComponent = FC<TagGroupProps>;
43
45
 
44
- /** Combined props for the root element (Chakra styles + Aria behavior). */
45
46
  declare type TagGroupRootProps = TagGroupRootSlotProps & TagGroupProps_2;
46
47
 
47
- /** Base Chakra styling props for the root `div` slot. */
48
48
  declare type TagGroupRootSlotProps = HTMLChakraProps<"div", TagGroupRecipeVariantProps>;
49
49
 
50
- /** Type signature for the `TagGroup.Tag` sub-component. */
51
50
  export declare type TagGroupTagComponent = FC<TagGroupTagProps>;
52
51
 
53
- /** Type signature for the `TagGroup.TagList` sub-component. */
54
52
  export declare type TagGroupTagListComponent<T extends object> = FC<TagGroupTagListProps<T>>;
55
53
 
56
- /** Combined props for the tagList element (Chakra styles + Aria behavior + Recipe variants). */
57
54
  export declare type TagGroupTagListProps<T extends object> = TagListProps<T> & Omit<TagGroupTagListSlotProps, keyof TagListProps<T>> & {
58
55
  ref?: Ref<HTMLDivElement>;
59
56
  };
60
57
 
61
- /** Base Chakra styling props for the root `div` slot. */
62
58
  declare type TagGroupTagListSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
63
59
 
64
- /** Combined props for the tag element (Chakra styles + Aria behavior + Recipe variants). */
65
60
  export declare type TagGroupTagProps = TagProps & Omit<TagGroupTagSlotProps, keyof TagProps> & {
66
61
  ref?: Ref<typeof Tag>;
67
62
  };
68
63
 
69
- /** Base Chakra styling props for the root `div` slot. */
70
64
  declare type TagGroupTagSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
71
65
 
72
66
  export { }
@@ -15,36 +15,47 @@ export declare const TextInput: {
15
15
  displayName: string;
16
16
  };
17
17
 
18
- export declare type TextInputInputProps = HTMLChakraProps<"input">;
18
+ export declare type TextInputInputSlotProps = HTMLChakraProps<"input">;
19
19
 
20
- export declare type TextInputLeadingElementProps = HTMLChakraProps<"div">;
20
+ export declare type TextInputLeadingElementSlotProps = HTMLChakraProps<"div">;
21
21
 
22
- export declare type TextInputProps = Omit<TextInputRootProps, keyof TextFieldProps | "as" | "asChild"> & Omit<TextFieldProps, "ref"> & {
22
+ export declare type TextInputProps = Omit<TextInputRootSlotProps, keyof TextFieldProps | "as" | "asChild"> & Omit<TextFieldProps, "ref"> & {
23
23
  /**
24
- * React ref to be forwarded to the input element
24
+ * Ref forwarding to the input element
25
25
  */
26
26
  ref?: React.Ref<HTMLInputElement>;
27
27
  /**
28
28
  * Optional element to display at the start of the input
29
- * Will respect text direction (left in LTR, right in RTL)
29
+ * Respects text direction (left in LTR, right in RTL)
30
30
  */
31
31
  leadingElement?: React.ReactNode;
32
32
  /**
33
33
  * Optional element to display at the end of the input
34
- * Will respect text direction (right in LTR, left in RTL)
34
+ * Respects text direction (right in LTR, left in RTL)
35
35
  */
36
36
  trailingElement?: React.ReactNode;
37
+ /**
38
+ * Placeholder text for the input
39
+ */
37
40
  placeholder?: string;
38
41
  };
39
42
 
40
43
  declare type TextInputRecipeProps = {
44
+ /**
45
+ * Size variant of the text input
46
+ * @default "md"
47
+ */
41
48
  size?: SlotRecipeProps<"textInput">["size"];
49
+ /**
50
+ * Visual style variant of the text input
51
+ * @default "solid"
52
+ */
42
53
  variant?: SlotRecipeProps<"textInput">["variant"];
43
54
  };
44
55
 
45
- export declare type TextInputRootProps = HTMLChakraProps<"div", TextInputRecipeProps>;
56
+ export declare type TextInputRootSlotProps = HTMLChakraProps<"div", TextInputRecipeProps>;
46
57
 
47
- export declare type TextInputTrailingElementProps = HTMLChakraProps<"div">;
58
+ export declare type TextInputTrailingElementSlotProps = HTMLChakraProps<"div">;
48
59
 
49
60
  export { }
50
61