@codefast/ui 0.3.11 → 0.3.12-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +4 -0
  3. package/dist/components/accordion.d.ts +11 -29
  4. package/dist/components/accordion.d.ts.map +1 -0
  5. package/dist/components/accordion.js +10 -37
  6. package/dist/components/alert-dialog.d.ts +25 -60
  7. package/dist/components/alert-dialog.d.ts.map +1 -0
  8. package/dist/components/alert-dialog.js +16 -69
  9. package/dist/components/alert.d.ts +16 -27
  10. package/dist/components/alert.d.ts.map +1 -0
  11. package/dist/components/alert.js +22 -30
  12. package/dist/components/aspect-ratio.d.ts +5 -8
  13. package/dist/components/aspect-ratio.d.ts.map +1 -0
  14. package/dist/components/aspect-ratio.js +5 -7
  15. package/dist/components/avatar.d.ts +7 -17
  16. package/dist/components/avatar.d.ts.map +1 -0
  17. package/dist/components/avatar.js +7 -18
  18. package/dist/components/badge.d.ts +15 -21
  19. package/dist/components/badge.d.ts.map +1 -0
  20. package/dist/components/badge.js +23 -20
  21. package/dist/components/breadcrumb.d.ts +13 -35
  22. package/dist/components/breadcrumb.d.ts.map +1 -0
  23. package/dist/components/breadcrumb.js +13 -49
  24. package/dist/components/button-group.d.ts +15 -29
  25. package/dist/components/button-group.d.ts.map +1 -0
  26. package/dist/components/button-group.js +22 -27
  27. package/dist/components/button.d.ts +26 -35
  28. package/dist/components/button.d.ts.map +1 -0
  29. package/dist/components/button.js +43 -51
  30. package/dist/components/calendar.d.ts +10 -24
  31. package/dist/components/calendar.d.ts.map +1 -0
  32. package/dist/components/calendar.js +75 -92
  33. package/dist/components/card.d.ts +11 -34
  34. package/dist/components/card.d.ts.map +1 -0
  35. package/dist/components/card.js +11 -39
  36. package/dist/components/carousel.d.ts +25 -55
  37. package/dist/components/carousel.d.ts.map +1 -0
  38. package/dist/components/carousel.js +82 -114
  39. package/dist/components/chart.d.ts +37 -72
  40. package/dist/components/chart.d.ts.map +1 -0
  41. package/dist/components/chart.js +161 -150
  42. package/dist/components/checkbox-cards.d.ts +9 -15
  43. package/dist/components/checkbox-cards.d.ts.map +1 -0
  44. package/dist/components/checkbox-cards.js +8 -22
  45. package/dist/components/checkbox-group.d.ts +9 -16
  46. package/dist/components/checkbox-group.d.ts.map +1 -0
  47. package/dist/components/checkbox-group.js +7 -19
  48. package/dist/components/checkbox.d.ts +5 -9
  49. package/dist/components/checkbox.d.ts.map +1 -0
  50. package/dist/components/checkbox.js +6 -14
  51. package/dist/components/collapsible.d.ts +7 -14
  52. package/dist/components/collapsible.d.ts.map +1 -0
  53. package/dist/components/collapsible.js +7 -15
  54. package/dist/components/command.d.ts +24 -55
  55. package/dist/components/command.d.ts.map +1 -0
  56. package/dist/components/command.js +18 -69
  57. package/dist/components/context-menu.d.ts +23 -72
  58. package/dist/components/context-menu.d.ts.map +1 -0
  59. package/dist/components/context-menu.js +21 -89
  60. package/dist/components/dialog.d.ts +23 -53
  61. package/dist/components/dialog.d.ts.map +1 -0
  62. package/dist/components/dialog.js +20 -72
  63. package/dist/components/drawer.d.ts +29 -60
  64. package/dist/components/drawer.d.ts.map +1 -0
  65. package/dist/components/drawer.js +16 -58
  66. package/dist/components/dropdown-menu.d.ts +23 -73
  67. package/dist/components/dropdown-menu.d.ts.map +1 -0
  68. package/dist/components/dropdown-menu.js +21 -96
  69. package/dist/components/empty.d.ts +16 -37
  70. package/dist/components/empty.d.ts.map +1 -0
  71. package/dist/components/empty.js +24 -44
  72. package/dist/components/field.d.ts +26 -63
  73. package/dist/components/field.d.ts.map +1 -0
  74. package/dist/components/field.js +46 -89
  75. package/dist/components/form.d.ts +16 -37
  76. package/dist/components/form.d.ts.map +1 -0
  77. package/dist/components/form.js +50 -66
  78. package/dist/components/hover-card.d.ts +8 -21
  79. package/dist/components/hover-card.d.ts.map +1 -0
  80. package/dist/components/hover-card.js +8 -23
  81. package/dist/components/input-group.d.ts +29 -53
  82. package/dist/components/input-group.d.ts.map +1 -0
  83. package/dist/components/input-group.js +59 -66
  84. package/dist/components/input-number.d.ts +8 -28
  85. package/dist/components/input-number.d.ts.map +1 -0
  86. package/dist/components/input-number.js +14 -55
  87. package/dist/components/input-otp.d.ts +11 -24
  88. package/dist/components/input-otp.d.ts.map +1 -0
  89. package/dist/components/input-otp.js +13 -34
  90. package/dist/components/input-password.d.ts +6 -12
  91. package/dist/components/input-password.d.ts.map +1 -0
  92. package/dist/components/input-password.js +10 -31
  93. package/dist/components/input-search.d.ts +9 -18
  94. package/dist/components/input-search.d.ts.map +1 -0
  95. package/dist/components/input-search.js +16 -44
  96. package/dist/components/input.d.ts +5 -10
  97. package/dist/components/input.d.ts.map +1 -0
  98. package/dist/components/input.js +5 -9
  99. package/dist/components/item.d.ts +33 -69
  100. package/dist/components/item.d.ts.map +1 -0
  101. package/dist/components/item.js +47 -90
  102. package/dist/components/kbd.d.ts +6 -13
  103. package/dist/components/kbd.d.ts.map +1 -0
  104. package/dist/components/kbd.js +6 -13
  105. package/dist/components/label.d.ts +5 -9
  106. package/dist/components/label.d.ts.map +1 -0
  107. package/dist/components/label.js +5 -8
  108. package/dist/components/menubar.d.ts +24 -80
  109. package/dist/components/menubar.d.ts.map +1 -0
  110. package/dist/components/menubar.js +23 -99
  111. package/dist/components/native-select.d.ts +7 -16
  112. package/dist/components/native-select.d.ts.map +1 -0
  113. package/dist/components/native-select.js +7 -25
  114. package/dist/components/navigation-menu.d.ts +13 -36
  115. package/dist/components/navigation-menu.d.ts.map +1 -0
  116. package/dist/components/navigation-menu.js +25 -61
  117. package/dist/components/pagination.d.ts +15 -35
  118. package/dist/components/pagination.d.ts.map +1 -0
  119. package/dist/components/pagination.js +13 -55
  120. package/dist/components/popover.d.ts +9 -24
  121. package/dist/components/popover.d.ts.map +1 -0
  122. package/dist/components/popover.js +9 -27
  123. package/dist/components/progress-circle.d.ts +89 -106
  124. package/dist/components/progress-circle.d.ts.map +1 -0
  125. package/dist/components/progress-circle.js +70 -103
  126. package/dist/components/progress.d.ts +5 -10
  127. package/dist/components/progress.d.ts.map +1 -0
  128. package/dist/components/progress.js +7 -13
  129. package/dist/components/radio-cards.d.ts +5 -10
  130. package/dist/components/radio-cards.d.ts.map +1 -0
  131. package/dist/components/radio-cards.js +7 -21
  132. package/dist/components/radio-group.d.ts +6 -13
  133. package/dist/components/radio-group.d.ts.map +1 -0
  134. package/dist/components/radio-group.js +6 -17
  135. package/dist/components/radio.d.ts +6 -12
  136. package/dist/components/radio.d.ts.map +1 -0
  137. package/dist/components/radio.js +5 -10
  138. package/dist/components/resizable.d.ts +8 -18
  139. package/dist/components/resizable.d.ts.map +1 -0
  140. package/dist/components/resizable.js +7 -21
  141. package/dist/components/scroll-area.d.ts +21 -33
  142. package/dist/components/scroll-area.d.ts.map +1 -0
  143. package/dist/components/scroll-area.js +64 -84
  144. package/dist/components/select.d.ts +17 -50
  145. package/dist/components/select.d.ts.map +1 -0
  146. package/dist/components/select.js +26 -78
  147. package/dist/components/separator.d.ts +20 -29
  148. package/dist/components/separator.d.ts.map +1 -0
  149. package/dist/components/separator.js +27 -36
  150. package/dist/components/sheet.d.ts +30 -62
  151. package/dist/components/sheet.d.ts.map +1 -0
  152. package/dist/components/sheet.js +36 -80
  153. package/dist/components/sidebar.d.ts +67 -160
  154. package/dist/components/sidebar.d.ts.map +1 -0
  155. package/dist/components/sidebar.js +166 -301
  156. package/dist/components/skeleton.d.ts +5 -9
  157. package/dist/components/skeleton.d.ts.map +1 -0
  158. package/dist/components/skeleton.js +5 -8
  159. package/dist/components/slider.d.ts +5 -13
  160. package/dist/components/slider.d.ts.map +1 -0
  161. package/dist/components/slider.js +12 -34
  162. package/dist/components/sonner.d.ts +8 -10
  163. package/dist/components/sonner.d.ts.map +1 -0
  164. package/dist/components/sonner.js +13 -16
  165. package/dist/components/spinner.d.ts +6 -12
  166. package/dist/components/spinner.d.ts.map +1 -0
  167. package/dist/components/spinner.js +20 -33
  168. package/dist/components/switch.d.ts +5 -9
  169. package/dist/components/switch.d.ts.map +1 -0
  170. package/dist/components/switch.js +5 -12
  171. package/dist/components/table.d.ts +12 -37
  172. package/dist/components/table.d.ts.map +1 -0
  173. package/dist/components/table.js +12 -47
  174. package/dist/components/tabs.d.ts +8 -21
  175. package/dist/components/tabs.d.ts.map +1 -0
  176. package/dist/components/tabs.js +8 -23
  177. package/dist/components/textarea.d.ts +5 -9
  178. package/dist/components/textarea.d.ts.map +1 -0
  179. package/dist/components/textarea.js +5 -8
  180. package/dist/components/toggle-group.d.ts +10 -24
  181. package/dist/components/toggle-group.d.ts.map +1 -0
  182. package/dist/components/toggle-group.js +20 -38
  183. package/dist/components/toggle.d.ts +18 -25
  184. package/dist/components/toggle.d.ts.map +1 -0
  185. package/dist/components/toggle.js +24 -29
  186. package/dist/components/tooltip.d.ts +9 -24
  187. package/dist/components/tooltip.d.ts.map +1 -0
  188. package/dist/components/tooltip.js +9 -28
  189. package/dist/hooks/use-animated-value.d.ts +2 -4
  190. package/dist/hooks/use-animated-value.d.ts.map +1 -0
  191. package/dist/hooks/use-animated-value.js +67 -58
  192. package/dist/hooks/use-copy-to-clipboard.d.ts +6 -11
  193. package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  194. package/dist/hooks/use-copy-to-clipboard.js +42 -39
  195. package/dist/hooks/use-is-mobile.d.ts +2 -4
  196. package/dist/hooks/use-is-mobile.d.ts.map +1 -0
  197. package/dist/hooks/use-is-mobile.js +20 -23
  198. package/dist/hooks/use-media-query.d.ts +2 -4
  199. package/dist/hooks/use-media-query.d.ts.map +1 -0
  200. package/dist/hooks/use-media-query.js +49 -46
  201. package/dist/hooks/use-mutation-observer.d.ts +3 -6
  202. package/dist/hooks/use-mutation-observer.d.ts.map +1 -0
  203. package/dist/hooks/use-mutation-observer.js +33 -34
  204. package/dist/hooks/use-pagination.d.ts +15 -22
  205. package/dist/hooks/use-pagination.d.ts.map +1 -0
  206. package/dist/hooks/use-pagination.js +99 -99
  207. package/dist/index.d.ts +131 -69
  208. package/dist/index.d.ts.map +1 -0
  209. package/dist/index.js +68 -69
  210. package/dist/primitives/checkbox-group.d.ts +84 -105
  211. package/dist/primitives/checkbox-group.d.ts.map +1 -0
  212. package/dist/primitives/checkbox-group.js +91 -105
  213. package/dist/primitives/input-number.d.ts +41 -51
  214. package/dist/primitives/input-number.d.ts.map +1 -0
  215. package/dist/primitives/input-number.js +417 -473
  216. package/dist/primitives/input.d.ts +43 -48
  217. package/dist/primitives/input.d.ts.map +1 -0
  218. package/dist/primitives/input.js +67 -66
  219. package/dist/primitives/progress-circle.d.ts +49 -79
  220. package/dist/primitives/progress-circle.d.ts.map +1 -0
  221. package/dist/primitives/progress-circle.js +134 -149
  222. package/package.json +17 -10
  223. package/{dist → src}/css/preset.css +1 -1
  224. /package/{dist → src}/css/amber.css +0 -0
  225. /package/{dist → src}/css/blue.css +0 -0
  226. /package/{dist → src}/css/cyan.css +0 -0
  227. /package/{dist → src}/css/emerald.css +0 -0
  228. /package/{dist → src}/css/fuchsia.css +0 -0
  229. /package/{dist → src}/css/gray.css +0 -0
  230. /package/{dist → src}/css/green.css +0 -0
  231. /package/{dist → src}/css/indigo.css +0 -0
  232. /package/{dist → src}/css/lime.css +0 -0
  233. /package/{dist → src}/css/neutral.css +0 -0
  234. /package/{dist → src}/css/orange.css +0 -0
  235. /package/{dist → src}/css/pink.css +0 -0
  236. /package/{dist → src}/css/purple.css +0 -0
  237. /package/{dist → src}/css/red.css +0 -0
  238. /package/{dist → src}/css/rose.css +0 -0
  239. /package/{dist → src}/css/sky.css +0 -0
  240. /package/{dist → src}/css/slate.css +0 -0
  241. /package/{dist → src}/css/stone.css +0 -0
  242. /package/{dist → src}/css/style.css +0 -0
  243. /package/{dist → src}/css/teal.css +0 -0
  244. /package/{dist → src}/css/violet.css +0 -0
  245. /package/{dist → src}/css/yellow.css +0 -0
  246. /package/{dist → src}/css/zinc.css +0 -0
@@ -1,92 +1,89 @@
1
- import { ComponentProps, JSX } from "react";
2
- import * as _$_radix_ui_react_context0 from "@radix-ui/react-context";
3
- import { Scope } from "@radix-ui/react-context";
1
+ import type { Scope } from "@radix-ui/react-context";
2
+ import type { ComponentProps, JSX } from "react";
4
3
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
5
4
  import * as RovingFocusGroup from "@radix-ui/react-roving-focus";
6
-
7
- //#region src/primitives/checkbox-group.d.ts
8
5
  /**
9
6
  * Type for components that can be scoped within the CheckboxGroup context
10
7
  */
11
8
  type ScopedProps<P> = P & {
12
- /**
13
- * Optional scope for the CheckboxGroup component
14
- */
15
- __scopeCheckboxGroup?: Scope;
9
+ /**
10
+ * Optional scope for the CheckboxGroup component
11
+ */
12
+ __scopeCheckboxGroup?: Scope;
16
13
  };
17
- declare const createCheckboxGroupScope: _$_radix_ui_react_context0.CreateScope;
14
+ declare const createCheckboxGroupScope: import("@radix-ui/react-context").CreateScope;
18
15
  /**
19
16
  * Context values shared between CheckboxGroup components
20
17
  */
21
18
  interface CheckboxGroupContextValue {
22
- /**
23
- * Whether all checkbox items are disabled
24
- */
25
- disabled: boolean;
26
- /**
27
- * Function called when a checkbox item is checked
28
- * @param value - The value of the checked item
29
- */
30
- onItemCheck: (value: string) => void;
31
- /**
32
- * Function called when a checkbox item is unchecked
33
- * @param value - The value of the unchecked item
34
- */
35
- onItemUncheck: (value: string) => void;
36
- /**
37
- * Whether checkbox selection is required
38
- */
39
- required: boolean;
40
- /**
41
- * Optional name attribute for the checkbox group form field
42
- */
43
- name?: string;
44
- /**
45
- * Array of currently selected checkbox values
46
- */
47
- value?: string[];
19
+ /**
20
+ * Whether all checkbox items are disabled
21
+ */
22
+ disabled: boolean;
23
+ /**
24
+ * Function called when a checkbox item is checked
25
+ * @param value - The value of the checked item
26
+ */
27
+ onItemCheck: (value: string) => void;
28
+ /**
29
+ * Function called when a checkbox item is unchecked
30
+ * @param value - The value of the unchecked item
31
+ */
32
+ onItemUncheck: (value: string) => void;
33
+ /**
34
+ * Whether checkbox selection is required
35
+ */
36
+ required: boolean;
37
+ /**
38
+ * Optional name attribute for the checkbox group form field
39
+ */
40
+ name?: string;
41
+ /**
42
+ * Array of currently selected checkbox values
43
+ */
44
+ value?: string[];
48
45
  }
49
46
  /**
50
47
  * Base props for the CheckboxGroup component
51
48
  */
52
49
  interface CheckboxGroupBaseProps {
53
- /**
54
- * Default values for the checkbox group when uncontrolled
55
- */
56
- defaultValue?: string[];
57
- /**
58
- * Direction for roving focus navigation
59
- */
60
- dir?: RovingFocusGroup.RovingFocusGroupProps["dir"];
61
- /**
62
- * Whether the entire checkbox group is disabled
63
- */
64
- disabled?: boolean;
65
- /**
66
- * Whether focus should loop to the start/end when reaching the boundaries
67
- */
68
- loop?: RovingFocusGroup.RovingFocusGroupProps["loop"];
69
- /**
70
- * Name attribute for the checkbox group form field
71
- */
72
- name?: CheckboxGroupContextValue["name"];
73
- /**
74
- * Callback fired when the selected values change
75
- * @param value - The new array of selected values
76
- */
77
- onValueChange?: (value?: string[]) => void;
78
- /**
79
- * Orientation of the checkbox group (horizontal or vertical)
80
- */
81
- orientation?: RovingFocusGroup.RovingFocusGroupProps["orientation"];
82
- /**
83
- * Whether at least one checkbox must be selected
84
- */
85
- required?: boolean;
86
- /**
87
- * Controlled values for the checkbox group
88
- */
89
- value?: CheckboxGroupContextValue["value"];
50
+ /**
51
+ * Default values for the checkbox group when uncontrolled
52
+ */
53
+ defaultValue?: string[];
54
+ /**
55
+ * Direction for roving focus navigation
56
+ */
57
+ dir?: RovingFocusGroup.RovingFocusGroupProps["dir"];
58
+ /**
59
+ * Whether the entire checkbox group is disabled
60
+ */
61
+ disabled?: boolean;
62
+ /**
63
+ * Whether focus should loop to the start/end when reaching the boundaries
64
+ */
65
+ loop?: RovingFocusGroup.RovingFocusGroupProps["loop"];
66
+ /**
67
+ * Name attribute for the checkbox group form field
68
+ */
69
+ name?: CheckboxGroupContextValue["name"];
70
+ /**
71
+ * Callback fired when the selected values change
72
+ * @param value - The new array of selected values
73
+ */
74
+ onValueChange?: (value?: string[]) => void;
75
+ /**
76
+ * Orientation of the checkbox group (horizontal or vertical)
77
+ */
78
+ orientation?: RovingFocusGroup.RovingFocusGroupProps["orientation"];
79
+ /**
80
+ * Whether at least one checkbox must be selected
81
+ */
82
+ required?: boolean;
83
+ /**
84
+ * Controlled values for the checkbox group
85
+ */
86
+ value?: CheckboxGroupContextValue["value"];
90
87
  }
91
88
  /**
92
89
  * Props for the CheckboxGroup component
@@ -95,40 +92,24 @@ type CheckboxGroupProps = CheckboxGroupBaseProps & ComponentProps<"div">;
95
92
  /**
96
93
  * CheckboxGroup component that manages a group of checkboxes with roving focus
97
94
  */
98
- declare function CheckboxGroup({
99
- __scopeCheckboxGroup,
100
- defaultValue,
101
- dir,
102
- disabled,
103
- loop,
104
- name,
105
- onValueChange,
106
- orientation,
107
- required,
108
- value: valueProperty,
109
- ...props
110
- }: ScopedProps<CheckboxGroupProps>): JSX.Element;
95
+ declare function CheckboxGroup({ __scopeCheckboxGroup, defaultValue, dir, disabled, loop, name, onValueChange, orientation, required, value: valueProperty, ...props }: ScopedProps<CheckboxGroupProps>): JSX.Element;
111
96
  /**
112
97
  * Props for the CheckboxGroupItem component
113
98
  */
114
99
  interface CheckboxGroupItemProps extends Omit<ComponentProps<typeof CheckboxPrimitive.Root>, "checked" | "defaultChecked" | "name" | "onCheckedChange"> {
115
- /**
116
- * Value of the checkbox item, used to identify the item within the group
117
- */
118
- value: string;
119
- /**
120
- * Whether this specific checkbox item is disabled
121
- */
122
- disabled?: boolean;
100
+ /**
101
+ * Value of the checkbox item, used to identify the item within the group
102
+ */
103
+ value: string;
104
+ /**
105
+ * Whether this specific checkbox item is disabled
106
+ */
107
+ disabled?: boolean;
123
108
  }
124
109
  /**
125
110
  * Individual checkbox item within a CheckboxGroup
126
111
  */
127
- declare function CheckboxGroupItem({
128
- __scopeCheckboxGroup,
129
- disabled,
130
- ...props
131
- }: ScopedProps<CheckboxGroupItemProps>): JSX.Element;
112
+ declare function CheckboxGroupItem({ __scopeCheckboxGroup, disabled, ...props }: ScopedProps<CheckboxGroupItemProps>): JSX.Element;
132
113
  /**
133
114
  * Props for the CheckboxGroupIndicator component
134
115
  */
@@ -136,9 +117,7 @@ type CheckboxGroupIndicatorProps = ComponentProps<typeof CheckboxPrimitive.Indic
136
117
  /**
137
118
  * Visual indicator component for a CheckboxGroupItem
138
119
  */
139
- declare function CheckboxGroupIndicator({
140
- __scopeCheckboxGroup,
141
- ...props
142
- }: ScopedProps<CheckboxGroupIndicatorProps>): JSX.Element;
143
- //#endregion
144
- export { CheckboxGroup, CheckboxGroup as Root, CheckboxGroupIndicator, CheckboxGroupIndicator as Indicator, type CheckboxGroupIndicatorProps, CheckboxGroupItem, CheckboxGroupItem as Item, type CheckboxGroupItemProps, type CheckboxGroupProps, createCheckboxGroupScope };
120
+ declare function CheckboxGroupIndicator({ __scopeCheckboxGroup, ...props }: ScopedProps<CheckboxGroupIndicatorProps>): JSX.Element;
121
+ export { CheckboxGroup, CheckboxGroupIndicator, CheckboxGroupItem, createCheckboxGroupScope, CheckboxGroupIndicator as Indicator, CheckboxGroupItem as Item, CheckboxGroup as Root, };
122
+ export type { CheckboxGroupIndicatorProps, CheckboxGroupItemProps, CheckboxGroupProps };
123
+ //# sourceMappingURL=checkbox-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox-group.d.ts","sourceRoot":"","sources":["../../src/primitives/checkbox-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAI9D,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AAWjE;;GAEG;AACH,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IACxB;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC;CAC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oBAAoB,EACpB,YAAY,EACZ,GAAG,EACH,QAAgB,EAChB,IAAW,EACX,IAAI,EACJ,aAAa,EACb,WAAW,EACX,QAAgB,EAChB,KAAK,EAAE,aAAa,EACpB,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,kBAAkB,CAAC,GAAG,GAAG,CAAC,OAAO,CAyE/C;AAOD;;GAEG;AACH,UAAU,sBAAuB,SAAQ,IAAI,CAC3C,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,EAC7C,SAAS,GAAG,gBAAgB,GAAG,MAAM,GAAG,iBAAiB,CAC1D;IACC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,iBAAS,iBAAiB,CAAC,EACzB,oBAAoB,EACpB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,sBAAsB,CAAC,GAAG,GAAG,CAAC,OAAO,CAmDnD;AAMD;;GAEG;AACH,KAAK,2BAA2B,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AAEtF;;GAEG;AACH,iBAAS,sBAAsB,CAAC,EAC9B,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,2BAA2B,CAAC,GAAG,GAAG,CAAC,OAAO,CAOxD;AAMD,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,IAAI,SAAS,EACnC,iBAAiB,IAAI,IAAI,EACzB,aAAa,IAAI,IAAI,GACtB,CAAC;AAEF,YAAY,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,126 +1,112 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { useCallback } from "react";
3
- import { createContextScope } from "@radix-ui/react-context";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
4
2
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
5
3
  import { createCheckboxScope } from "@radix-ui/react-checkbox";
4
+ import { createContextScope } from "@radix-ui/react-context";
6
5
  import { useDirection } from "@radix-ui/react-direction";
7
6
  import * as RovingFocusGroup from "@radix-ui/react-roving-focus";
8
7
  import { createRovingFocusGroupScope } from "@radix-ui/react-roving-focus";
9
8
  import { useControllableState } from "@radix-ui/react-use-controllable-state";
10
- //#region src/primitives/checkbox-group.tsx
9
+ import { useCallback } from "react";
10
+ /* -----------------------------------------------------------------------------
11
+ * Context: CheckboxGroup
12
+ * --------------------------------------------------------------------------- */
11
13
  const CHECKBOX_GROUP_NAME = "CheckboxGroup";
12
14
  const [createCheckboxGroupContext, createCheckboxGroupScope] = createContextScope(CHECKBOX_GROUP_NAME, [createRovingFocusGroupScope, createCheckboxScope]);
13
15
  const useRovingFocusGroupScope = createRovingFocusGroupScope();
14
16
  const useCheckboxScope = createCheckboxScope();
15
17
  const [CheckboxGroupContextProvider, useCheckboxGroupContext] = createCheckboxGroupContext(CHECKBOX_GROUP_NAME);
16
18
  /**
17
- * CheckboxGroup component that manages a group of checkboxes with roving focus
18
- */
19
+ * CheckboxGroup component that manages a group of checkboxes with roving focus
20
+ */
19
21
  function CheckboxGroup({ __scopeCheckboxGroup, defaultValue, dir, disabled = false, loop = true, name, onValueChange, orientation, required = false, value: valueProperty, ...props }) {
20
- /**
21
- * Scope for the RovingFocusGroup component
22
- */
23
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeCheckboxGroup);
24
- /**
25
- * Direction for layout and navigation
26
- */
27
- const direction = useDirection(dir);
28
- /**
29
- * State for managing selected checkbox values
30
- */
31
- const [value = [], setValue] = useControllableState({
32
- defaultProp: defaultValue,
33
- onChange: onValueChange,
34
- prop: valueProperty
35
- });
36
- return /* @__PURE__ */ jsx(CheckboxGroupContextProvider, {
37
- disabled,
38
- name,
39
- required,
40
- scope: __scopeCheckboxGroup,
41
- value,
42
- onItemCheck: useCallback((itemValue) => {
43
- setValue((previousValue) => [...previousValue ?? [], itemValue]);
44
- }, [setValue]),
45
- onItemUncheck: useCallback((itemValue) => {
46
- setValue((previousValue) => {
47
- const currentValue = previousValue ?? [];
48
- if (required && currentValue.length === 1 && currentValue[0] === itemValue) return currentValue;
49
- return currentValue.filter((inputValue) => inputValue !== itemValue);
50
- });
51
- }, [setValue, required]),
52
- children: /* @__PURE__ */ jsx(RovingFocusGroup.Root, {
53
- asChild: true,
54
- ...rovingFocusGroupScope,
55
- dir: direction,
56
- loop,
57
- orientation,
58
- children: /* @__PURE__ */ jsx("div", {
59
- "data-disabled": disabled ? "" : void 0,
60
- dir: direction,
61
- role: "group",
62
- ...props
63
- })
64
- })
65
- });
22
+ /**
23
+ * Scope for the RovingFocusGroup component
24
+ */
25
+ const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeCheckboxGroup);
26
+ /**
27
+ * Direction for layout and navigation
28
+ */
29
+ const direction = useDirection(dir);
30
+ /**
31
+ * State for managing selected checkbox values
32
+ */
33
+ const [value = [], setValue] = useControllableState({
34
+ defaultProp: defaultValue,
35
+ onChange: onValueChange,
36
+ prop: valueProperty,
37
+ });
38
+ /**
39
+ * Handles checking a checkbox item
40
+ * @param itemValue - Value of the checkbox being checked
41
+ */
42
+ const handleItemCheck = useCallback((itemValue) => {
43
+ setValue((previousValue) => [...(previousValue ?? []), itemValue]);
44
+ }, [setValue]);
45
+ /**
46
+ * Handles unchecking a checkbox item
47
+ * @param itemValue - Value of the checkbox being unchecked
48
+ */
49
+ const handleItemUncheck = useCallback((itemValue) => {
50
+ setValue((previousValue) => {
51
+ const currentValue = previousValue ?? [];
52
+ // If this is the last selected item and required=true, prevent unchecking
53
+ if (required && currentValue.length === 1 && currentValue[0] === itemValue) {
54
+ return currentValue; // Keep the current state
55
+ }
56
+ // Otherwise, proceed with unchecking
57
+ return currentValue.filter((inputValue) => inputValue !== itemValue);
58
+ });
59
+ }, [setValue, required]);
60
+ return (_jsx(CheckboxGroupContextProvider, { disabled: disabled, name: name, required: required, scope: __scopeCheckboxGroup, value: value, onItemCheck: handleItemCheck, onItemUncheck: handleItemUncheck, children: _jsx(RovingFocusGroup.Root, { asChild: true, ...rovingFocusGroupScope, dir: direction, loop: loop, orientation: orientation, children: _jsx("div", { "data-disabled": disabled ? "" : undefined, dir: direction, role: "group", ...props }) }) }));
66
61
  }
62
+ /* -----------------------------------------------------------------------------
63
+ * Component: CheckboxGroupItem
64
+ * --------------------------------------------------------------------------- */
67
65
  const ITEM_NAME = "CheckboxGroupItem";
68
66
  /**
69
- * Individual checkbox item within a CheckboxGroup
70
- */
67
+ * Individual checkbox item within a CheckboxGroup
68
+ */
71
69
  function CheckboxGroupItem({ __scopeCheckboxGroup, disabled, ...props }) {
72
- /**
73
- * Context values from the parent CheckboxGroup
74
- */
75
- const context = useCheckboxGroupContext(ITEM_NAME, __scopeCheckboxGroup);
76
- /**
77
- * Combined disabled state from both context and props
78
- */
79
- const isDisabled = context.disabled || disabled;
80
- /**
81
- * Scope for the RovingFocusGroup component
82
- */
83
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeCheckboxGroup);
84
- /**
85
- * Scope for the Checkbox component
86
- */
87
- const checkboxScope = useCheckboxScope(__scopeCheckboxGroup);
88
- /**
89
- * Whether this checkbox is currently checked
90
- */
91
- const checked = context.value?.includes(props.value);
92
- return /* @__PURE__ */ jsx(RovingFocusGroup.Item, {
93
- asChild: true,
94
- ...rovingFocusGroupScope,
95
- active: checked,
96
- focusable: !isDisabled,
97
- children: /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
98
- "aria-label": props.value,
99
- checked,
100
- disabled: isDisabled,
101
- name: context.name,
102
- required: context.required,
103
- ...checkboxScope,
104
- ...props,
105
- onCheckedChange: (checkedState) => {
106
- if (checkedState) context.onItemCheck(props.value);
107
- else context.onItemUncheck(props.value);
108
- }
109
- })
110
- });
70
+ /**
71
+ * Context values from the parent CheckboxGroup
72
+ */
73
+ const context = useCheckboxGroupContext(ITEM_NAME, __scopeCheckboxGroup);
74
+ /**
75
+ * Combined disabled state from both context and props
76
+ */
77
+ const isDisabled = context.disabled || disabled;
78
+ /**
79
+ * Scope for the RovingFocusGroup component
80
+ */
81
+ const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeCheckboxGroup);
82
+ /**
83
+ * Scope for the Checkbox component
84
+ */
85
+ const checkboxScope = useCheckboxScope(__scopeCheckboxGroup);
86
+ /**
87
+ * Whether this checkbox is currently checked
88
+ */
89
+ const checked = context.value?.includes(props.value);
90
+ return (_jsx(RovingFocusGroup.Item, { asChild: true, ...rovingFocusGroupScope, active: checked, focusable: !isDisabled, children: _jsx(CheckboxPrimitive.Root, { "aria-label": props.value, checked: checked, disabled: isDisabled, name: context.name, required: context.required, ...checkboxScope, ...props, onCheckedChange: (checkedState) => {
91
+ if (checkedState) {
92
+ context.onItemCheck(props.value);
93
+ }
94
+ else {
95
+ context.onItemUncheck(props.value);
96
+ }
97
+ } }) }));
111
98
  }
112
99
  /**
113
- * Visual indicator component for a CheckboxGroupItem
114
- */
100
+ * Visual indicator component for a CheckboxGroupItem
101
+ */
115
102
  function CheckboxGroupIndicator({ __scopeCheckboxGroup, ...props }) {
116
- /**
117
- * Scope for the Checkbox component
118
- */
119
- const checkboxScope = useCheckboxScope(__scopeCheckboxGroup);
120
- return /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
121
- ...checkboxScope,
122
- ...props
123
- });
103
+ /**
104
+ * Scope for the Checkbox component
105
+ */
106
+ const checkboxScope = useCheckboxScope(__scopeCheckboxGroup);
107
+ return _jsx(CheckboxPrimitive.Indicator, { ...checkboxScope, ...props });
124
108
  }
125
- //#endregion
126
- export { CheckboxGroup, CheckboxGroup as Root, CheckboxGroupIndicator, CheckboxGroupIndicator as Indicator, CheckboxGroupItem, CheckboxGroupItem as Item, createCheckboxGroupScope };
109
+ /* -----------------------------------------------------------------------------
110
+ * Exports
111
+ * -------------------------------------------------------------------------- */
112
+ export { CheckboxGroup, CheckboxGroupIndicator, CheckboxGroupItem, createCheckboxGroupScope, CheckboxGroupIndicator as Indicator, CheckboxGroupItem as Item, CheckboxGroup as Root, };
@@ -1,73 +1,63 @@
1
- import { Field as InputField, Input } from "./input.js";
2
- import { ComponentProps, JSX } from "react";
3
- import * as _$_radix_ui_react_context0 from "@radix-ui/react-context";
4
- import { Scope } from "@radix-ui/react-context";
5
-
6
- //#region src/primitives/input-number.d.ts
1
+ import type { Scope } from "@radix-ui/react-context";
2
+ import type { ComponentProps, JSX } from "react";
3
+ import * as InputPrimitive from "#primitives/input";
7
4
  /**
8
5
  * Props that include an optional scope for the InputNumber component.
9
6
  */
10
7
  type ScopedProps<P> = P & {
11
- /** Optional scope for the InputNumber component context */__scopeInputNumber?: Scope;
8
+ /** Optional scope for the InputNumber component context */
9
+ __scopeInputNumber?: Scope;
12
10
  };
13
- declare const createInputNumberScope: _$_radix_ui_react_context0.CreateScope;
11
+ declare const createInputNumberScope: import("@radix-ui/react-context").CreateScope;
14
12
  /**
15
13
  * Props for the main InputNumber component.
16
14
  */
17
- interface InputNumberProps extends ComponentProps<typeof Input> {
18
- /** Accessible label for the decrement button */
19
- ariaDecrementLabel?: string;
20
- /** Accessible label for the increment button */
21
- ariaIncrementLabel?: string;
22
- /** Initial value when uncontrolled */
23
- defaultValue?: number;
24
- /** Options for number formatting */
25
- formatOptions?: Intl.NumberFormatOptions;
26
- /** Unique identifier for the input */
27
- id?: string;
28
- /** Locale used for number formatting */
29
- locale?: string;
30
- /** Maximum allowed value */
31
- max?: number;
32
- /** Minimum allowed value */
33
- min?: number;
34
- /** Handler called when the value changes */
35
- onChange?: (value?: number) => void;
36
- /** Step value for increments/decrements */
37
- step?: number;
38
- /** Current value when controlled */
39
- value?: number;
15
+ interface InputNumberProps extends ComponentProps<typeof InputPrimitive.Root> {
16
+ /** Accessible label for the decrement button */
17
+ ariaDecrementLabel?: string;
18
+ /** Accessible label for the increment button */
19
+ ariaIncrementLabel?: string;
20
+ /** Initial value when uncontrolled */
21
+ defaultValue?: number;
22
+ /** Options for number formatting */
23
+ formatOptions?: Intl.NumberFormatOptions;
24
+ /** Unique identifier for the input */
25
+ id?: string;
26
+ /** Locale used for number formatting */
27
+ locale?: string;
28
+ /** Maximum allowed value */
29
+ max?: number;
30
+ /** Minimum allowed value */
31
+ min?: number;
32
+ /** Handler called when the value changes */
33
+ onChange?: (value?: number) => void;
34
+ /** Step value for increments/decrements */
35
+ step?: number;
36
+ /** Current value when controlled */
37
+ value?: number;
40
38
  }
41
39
  declare function InputNumber(numberInputProps: ScopedProps<InputNumberProps>): JSX.Element;
42
40
  /**
43
41
  * Defines the props for the `InputNumberField` component.
44
42
  */
45
- type InputNumberFieldProps = Omit<ComponentProps<typeof InputField>, "defaultValue" | "disabled" | "id" | "max" | "min" | "onChange" | "prefix" | "readOnly" | "step" | "value">;
46
- declare function InputNumberField({
47
- __scopeInputNumber,
48
- onBlur,
49
- onKeyDown,
50
- ...props
51
- }: ScopedProps<InputNumberFieldProps>): JSX.Element;
43
+ type InputNumberFieldProps = Omit<ComponentProps<typeof InputPrimitive.Field>, "defaultValue" | "disabled" | "id" | "max" | "min" | "onChange" | "prefix" | "readOnly" | "step" | "value">;
44
+ declare function InputNumberField({ __scopeInputNumber, onBlur, onKeyDown, ...props }: ScopedProps<InputNumberFieldProps>): JSX.Element;
52
45
  /**
53
46
  * Props for the NumberStepperButton component.
54
47
  */
55
48
  interface NumberStepperButtonProps extends ComponentProps<"button"> {
56
- /**
57
- * The operation to perform when the button is pressed.
58
- * - `'increment'`: Increases the value.
59
- * - `'decrement'`: Decreases the value.
60
- */
61
- operation: "decrement" | "increment";
49
+ /**
50
+ * The operation to perform when the button is pressed.
51
+ * - `'increment'`: Increases the value.
52
+ * - `'decrement'`: Decreases the value.
53
+ */
54
+ operation: "decrement" | "increment";
62
55
  }
63
- declare function NumberStepperButton({
64
- __scopeInputNumber,
65
- operation,
66
- ...props
67
- }: ScopedProps<NumberStepperButtonProps>): JSX.Element;
56
+ declare function NumberStepperButton({ __scopeInputNumber, operation, ...props }: ScopedProps<NumberStepperButtonProps>): JSX.Element;
68
57
  type InputNumberIncrementButtonProps = Omit<ComponentProps<typeof NumberStepperButton>, "operation">;
69
58
  declare function InputNumberIncrementButton(props: InputNumberIncrementButtonProps): JSX.Element;
70
59
  type InputNumberDecrementButtonProps = Omit<ComponentProps<typeof NumberStepperButton>, "operation">;
71
60
  declare function InputNumberDecrementButton(props: InputNumberDecrementButtonProps): JSX.Element;
72
- //#endregion
73
- export { InputNumberDecrementButton as DecrementButton, InputNumberDecrementButton, InputNumberField as Field, InputNumberField, InputNumberIncrementButton as IncrementButton, InputNumberIncrementButton, InputNumber, InputNumber as Root, type InputNumberDecrementButtonProps, type InputNumberFieldProps, type InputNumberIncrementButtonProps, type InputNumberProps, createInputNumberScope };
61
+ export { createInputNumberScope, InputNumberDecrementButton as DecrementButton, InputNumberField as Field, InputNumberIncrementButton as IncrementButton, InputNumber, InputNumberDecrementButton, InputNumberField, InputNumberIncrementButton, InputNumber as Root, };
62
+ export type { InputNumberDecrementButtonProps, InputNumberFieldProps, InputNumberIncrementButtonProps, InputNumberProps, };
63
+ //# sourceMappingURL=input-number.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-number.d.ts","sourceRoot":"","sources":["../../src/primitives/input-number.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,EACV,cAAc,EAEd,GAAG,EAMJ,MAAM,OAAO,CAAC;AAOf,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAC;AAYpD;;GAEG;AACH,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IACxB,2DAA2D;IAC3D,kBAAkB,CAAC,EAAE,KAAK,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAiC,sBAAsB,+CAErD,CAAC;AAwEH;;GAEG;AACH,UAAU,gBAAiB,SAAQ,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC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