@seed-design/react 2.5.1 → 3.0.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 (472) hide show
  1. package/lib/components/Accordion/Accordion.cjs +2 -1
  2. package/lib/components/Accordion/Accordion.d.ts.map +1 -1
  3. package/lib/components/Accordion/Accordion.js +2 -1
  4. package/lib/components/ActionButton/ActionButton.cjs +1 -1
  5. package/lib/components/ActionButton/ActionButton.js +1 -1
  6. package/lib/components/AlertDialog/AlertDialog.cjs +34 -0
  7. package/lib/components/AlertDialog/AlertDialog.d.ts +51 -0
  8. package/lib/components/AlertDialog/AlertDialog.d.ts.map +1 -0
  9. package/lib/components/AlertDialog/AlertDialog.js +24 -0
  10. package/lib/components/AlertDialog/AlertDialog.namespace.cjs +22 -0
  11. package/lib/components/AlertDialog/AlertDialog.namespace.d.ts +2 -0
  12. package/lib/components/AlertDialog/AlertDialog.namespace.d.ts.map +1 -0
  13. package/lib/components/AlertDialog/AlertDialog.namespace.js +17 -0
  14. package/lib/components/AlertDialog/AlertDialog.test.d.ts +2 -0
  15. package/lib/components/AlertDialog/AlertDialog.test.d.ts.map +1 -0
  16. package/lib/components/AlertDialog/index.cjs +19 -0
  17. package/lib/components/AlertDialog/index.d.ts +3 -0
  18. package/lib/components/AlertDialog/index.d.ts.map +1 -0
  19. package/lib/components/AlertDialog/index.js +3 -0
  20. package/lib/components/AttachmentDisplay/AttachmentDisplay.cjs +1 -1
  21. package/lib/components/AttachmentDisplay/AttachmentDisplay.js +1 -1
  22. package/lib/components/AttachmentDisplay/AttachmentDisplayItem.cjs +1 -1
  23. package/lib/components/AttachmentDisplay/AttachmentDisplayItem.d.ts.map +1 -1
  24. package/lib/components/AttachmentDisplay/AttachmentDisplayItem.js +1 -1
  25. package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.cjs +1 -1
  26. package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.js +1 -1
  27. package/lib/components/AttachmentDisplay/index.cjs +8 -0
  28. package/lib/components/AttachmentDisplay/index.d.ts +2 -0
  29. package/lib/components/AttachmentDisplay/index.d.ts.map +1 -1
  30. package/lib/components/AttachmentDisplay/index.js +2 -1
  31. package/lib/components/AttachmentInput/AttachmentInput.cjs +1 -1
  32. package/lib/components/AttachmentInput/AttachmentInput.js +1 -1
  33. package/lib/components/AttachmentInput/AttachmentInputDropzone.cjs +1 -1
  34. package/lib/components/AttachmentInput/AttachmentInputDropzone.js +1 -1
  35. package/lib/components/AttachmentInput/AttachmentInputItem.cjs +2 -2
  36. package/lib/components/AttachmentInput/AttachmentInputItem.d.ts.map +1 -1
  37. package/lib/components/AttachmentInput/AttachmentInputItem.js +2 -2
  38. package/lib/components/AttachmentInput/AttachmentInputTrigger.cjs +1 -1
  39. package/lib/components/AttachmentInput/AttachmentInputTrigger.js +1 -1
  40. package/lib/components/AttachmentInput/index.cjs +8 -0
  41. package/lib/components/AttachmentInput/index.d.ts +2 -0
  42. package/lib/components/AttachmentInput/index.d.ts.map +1 -1
  43. package/lib/components/AttachmentInput/index.js +2 -1
  44. package/lib/components/Badge/Badge.cjs +52 -10
  45. package/lib/components/Badge/Badge.d.ts +13 -4
  46. package/lib/components/Badge/Badge.d.ts.map +1 -1
  47. package/lib/components/Badge/Badge.js +49 -11
  48. package/lib/components/Badge/Badge.namespace.cjs +16 -0
  49. package/lib/components/Badge/Badge.namespace.d.ts +2 -0
  50. package/lib/components/Badge/Badge.namespace.d.ts.map +1 -0
  51. package/lib/components/Badge/Badge.namespace.js +11 -0
  52. package/lib/components/Badge/Badge.test.d.ts +2 -0
  53. package/lib/components/Badge/Badge.test.d.ts.map +1 -0
  54. package/lib/components/Badge/index.cjs +11 -1
  55. package/lib/components/Badge/index.d.ts +2 -1
  56. package/lib/components/Badge/index.d.ts.map +1 -1
  57. package/lib/components/Badge/index.js +3 -2
  58. package/lib/components/Box/Box.test.d.ts +2 -0
  59. package/lib/components/Box/Box.test.d.ts.map +1 -0
  60. package/lib/components/Checkbox/Checkbox.cjs +2 -2
  61. package/lib/components/Checkbox/Checkbox.d.ts +3 -1
  62. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  63. package/lib/components/Checkbox/Checkbox.js +2 -2
  64. package/lib/components/Checkbox/Checkbox.namespace.d.ts +1 -1
  65. package/lib/components/Checkbox/Checkbox.namespace.d.ts.map +1 -1
  66. package/lib/components/Checkbox/index.d.ts +1 -1
  67. package/lib/components/Checkbox/index.d.ts.map +1 -1
  68. package/lib/components/Chip/Chip.cjs +13 -5
  69. package/lib/components/Chip/Chip.d.ts +13 -2
  70. package/lib/components/Chip/Chip.d.ts.map +1 -1
  71. package/lib/components/Chip/Chip.js +10 -5
  72. package/lib/components/Chip/Chip.namespace.cjs +5 -2
  73. package/lib/components/Chip/Chip.namespace.d.ts +1 -1
  74. package/lib/components/Chip/Chip.namespace.d.ts.map +1 -1
  75. package/lib/components/Chip/Chip.namespace.js +6 -3
  76. package/lib/components/Chip/index.cjs +4 -1
  77. package/lib/components/Chip/index.d.ts +1 -1
  78. package/lib/components/Chip/index.d.ts.map +1 -1
  79. package/lib/components/Chip/index.js +2 -2
  80. package/lib/components/ChipTabs/ChipTabs.cjs +1 -1
  81. package/lib/components/ChipTabs/ChipTabs.js +1 -1
  82. package/lib/components/DatePicker/DatePicker.cjs +192 -190
  83. package/lib/components/DatePicker/DatePicker.d.ts +50 -21
  84. package/lib/components/DatePicker/DatePicker.d.ts.map +1 -1
  85. package/lib/components/DatePicker/DatePicker.js +189 -187
  86. package/lib/components/DatePicker/DatePicker.namespace.cjs +16 -0
  87. package/lib/components/DatePicker/DatePicker.namespace.d.ts +2 -0
  88. package/lib/components/DatePicker/DatePicker.namespace.d.ts.map +1 -0
  89. package/lib/components/DatePicker/DatePicker.namespace.js +11 -0
  90. package/lib/components/DatePicker/index.cjs +11 -4
  91. package/lib/components/DatePicker/index.d.ts +3 -2
  92. package/lib/components/DatePicker/index.d.ts.map +1 -1
  93. package/lib/components/DatePicker/index.js +3 -2
  94. package/lib/components/Dialog/Dialog.cjs +84 -9
  95. package/lib/components/Dialog/Dialog.d.ts +21 -14
  96. package/lib/components/Dialog/Dialog.d.ts.map +1 -1
  97. package/lib/components/Dialog/Dialog.js +80 -9
  98. package/lib/components/Dialog/Dialog.namespace.cjs +2 -0
  99. package/lib/components/Dialog/Dialog.namespace.d.ts +1 -1
  100. package/lib/components/Dialog/Dialog.namespace.d.ts.map +1 -1
  101. package/lib/components/Dialog/Dialog.namespace.js +3 -1
  102. package/lib/components/Dialog/index.cjs +2 -0
  103. package/lib/components/Dialog/index.d.ts +1 -1
  104. package/lib/components/Dialog/index.d.ts.map +1 -1
  105. package/lib/components/Dialog/index.js +2 -2
  106. package/lib/components/HelpBubble/HelpBubble.cjs +18 -5
  107. package/lib/components/HelpBubble/HelpBubble.d.ts +5 -0
  108. package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
  109. package/lib/components/HelpBubble/HelpBubble.js +18 -5
  110. package/lib/components/HelpBubble/HelpBubble.test.d.ts +2 -0
  111. package/lib/components/HelpBubble/HelpBubble.test.d.ts.map +1 -0
  112. package/lib/components/ImageFrame/ImageFrame.cjs +5 -4
  113. package/lib/components/ImageFrame/ImageFrame.d.ts +2 -2
  114. package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -1
  115. package/lib/components/ImageFrame/ImageFrame.js +6 -5
  116. package/lib/components/List/List.cjs +14 -3
  117. package/lib/components/List/List.d.ts +15 -0
  118. package/lib/components/List/List.d.ts.map +1 -1
  119. package/lib/components/List/List.js +11 -4
  120. package/lib/components/List/List.namespace.cjs +4 -0
  121. package/lib/components/List/List.namespace.d.ts +1 -1
  122. package/lib/components/List/List.namespace.d.ts.map +1 -1
  123. package/lib/components/List/List.namespace.js +5 -1
  124. package/lib/components/List/index.cjs +4 -0
  125. package/lib/components/List/index.d.ts +1 -1
  126. package/lib/components/List/index.d.ts.map +1 -1
  127. package/lib/components/List/index.js +2 -2
  128. package/lib/components/Menu/Menu.cjs +3 -2
  129. package/lib/components/Menu/Menu.d.ts.map +1 -1
  130. package/lib/components/Menu/Menu.js +3 -2
  131. package/lib/components/MenuSheet/MenuSheet.cjs +4 -3
  132. package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -1
  133. package/lib/components/MenuSheet/MenuSheet.js +4 -3
  134. package/lib/components/NavigationMenu/NavigationMenu.cjs +4 -3
  135. package/lib/components/NavigationMenu/NavigationMenu.d.ts.map +1 -1
  136. package/lib/components/NavigationMenu/NavigationMenu.js +4 -3
  137. package/lib/components/PageBanner/PageBanner.cjs +3 -2
  138. package/lib/components/PageBanner/PageBanner.d.ts.map +1 -1
  139. package/lib/components/PageBanner/PageBanner.js +3 -2
  140. package/lib/components/{ContentDialog/ContentDialog.cjs → Popover/Popover.cjs} +61 -40
  141. package/lib/components/Popover/Popover.d.ts +69 -0
  142. package/lib/components/Popover/Popover.d.ts.map +1 -0
  143. package/lib/components/{ContentDialog/ContentDialog.js → Popover/Popover.js} +49 -29
  144. package/lib/components/Popover/Popover.namespace.cjs +26 -0
  145. package/lib/components/Popover/Popover.namespace.d.ts +2 -0
  146. package/lib/components/Popover/Popover.namespace.d.ts.map +1 -0
  147. package/lib/components/Popover/Popover.namespace.js +21 -0
  148. package/lib/components/Popover/Popover.test.d.ts +2 -0
  149. package/lib/components/Popover/Popover.test.d.ts.map +1 -0
  150. package/lib/components/Popover/index.cjs +23 -0
  151. package/lib/components/Popover/index.d.ts +3 -0
  152. package/lib/components/Popover/index.d.ts.map +1 -0
  153. package/lib/components/Popover/index.js +3 -0
  154. package/lib/components/QuantityPicker/QuantityPicker.d.ts.map +1 -1
  155. package/lib/components/RadioGroup/RadioGroup.cjs +2 -2
  156. package/lib/components/RadioGroup/RadioGroup.d.ts +2 -0
  157. package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  158. package/lib/components/RadioGroup/RadioGroup.js +2 -2
  159. package/lib/components/RadioGroup/RadioGroup.namespace.d.ts +1 -1
  160. package/lib/components/RadioGroup/RadioGroup.namespace.d.ts.map +1 -1
  161. package/lib/components/RadioGroup/index.d.ts +1 -1
  162. package/lib/components/RadioGroup/index.d.ts.map +1 -1
  163. package/lib/components/RadioGroupField/RadioGroupField.cjs +2 -2
  164. package/lib/components/RadioGroupField/RadioGroupField.d.ts +5 -1
  165. package/lib/components/RadioGroupField/RadioGroupField.d.ts.map +1 -1
  166. package/lib/components/RadioGroupField/RadioGroupField.js +2 -2
  167. package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts +1 -1
  168. package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts.map +1 -1
  169. package/lib/components/ReactionButton/ReactionButton.cjs +1 -1
  170. package/lib/components/ReactionButton/ReactionButton.js +1 -1
  171. package/lib/components/ResponsiveDialog/ResponsiveDialog.cjs +13 -13
  172. package/lib/components/ResponsiveDialog/ResponsiveDialog.d.ts +15 -15
  173. package/lib/components/ResponsiveDialog/ResponsiveDialog.d.ts.map +1 -1
  174. package/lib/components/ResponsiveDialog/ResponsiveDialog.js +13 -13
  175. package/lib/components/SegmentedControl/SegmentedControl.cjs +2 -1
  176. package/lib/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  177. package/lib/components/SegmentedControl/SegmentedControl.js +2 -1
  178. package/lib/components/Select/Select.cjs +5 -4
  179. package/lib/components/Select/Select.d.ts.map +1 -1
  180. package/lib/components/Select/Select.js +5 -4
  181. package/lib/components/SelectBox/CheckSelectBox.cjs +20 -6
  182. package/lib/components/SelectBox/CheckSelectBox.d.ts +7 -0
  183. package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
  184. package/lib/components/SelectBox/CheckSelectBox.js +21 -7
  185. package/lib/components/SelectBox/RadioSelectBox.cjs +20 -6
  186. package/lib/components/SelectBox/RadioSelectBox.d.ts +7 -0
  187. package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -1
  188. package/lib/components/SelectBox/RadioSelectBox.js +21 -7
  189. package/lib/components/SelectBox/SelectBox.test.d.ts +2 -0
  190. package/lib/components/SelectBox/SelectBox.test.d.ts.map +1 -0
  191. package/lib/components/SideNavigation/SideNavigation.cjs +2 -2
  192. package/lib/components/SideNavigation/SideNavigation.js +2 -2
  193. package/lib/components/SideNavigation/index.cjs +8 -0
  194. package/lib/components/SideNavigation/index.d.ts +1 -0
  195. package/lib/components/SideNavigation/index.d.ts.map +1 -1
  196. package/lib/components/SideNavigation/index.js +2 -1
  197. package/lib/components/SidePanel/SidePanel.d.ts +0 -12
  198. package/lib/components/SidePanel/SidePanel.d.ts.map +1 -1
  199. package/lib/components/Slider/Slider.cjs +1 -1
  200. package/lib/components/Slider/Slider.js +1 -1
  201. package/lib/components/Snackbar/Snackbar.cjs +2 -2
  202. package/lib/components/Snackbar/Snackbar.js +2 -2
  203. package/lib/components/Snackbar/useSnackbarAdapter.cjs +1 -1
  204. package/lib/components/Snackbar/useSnackbarAdapter.js +1 -1
  205. package/lib/components/Stack/Stack.cjs +0 -12
  206. package/lib/components/Stack/Stack.d.ts +0 -8
  207. package/lib/components/Stack/Stack.d.ts.map +1 -1
  208. package/lib/components/Stack/Stack.js +1 -12
  209. package/lib/components/Stack/index.cjs +0 -1
  210. package/lib/components/Stack/index.d.ts +1 -1
  211. package/lib/components/Stack/index.d.ts.map +1 -1
  212. package/lib/components/Stack/index.js +2 -2
  213. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.cjs +3 -2
  214. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts.map +1 -1
  215. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.js +3 -2
  216. package/lib/components/Switch/Switch.cjs +3 -3
  217. package/lib/components/Switch/Switch.d.ts +5 -1
  218. package/lib/components/Switch/Switch.d.ts.map +1 -1
  219. package/lib/components/Switch/Switch.js +3 -3
  220. package/lib/components/Switch/Switch.namespace.d.ts +1 -1
  221. package/lib/components/Switch/Switch.namespace.d.ts.map +1 -1
  222. package/lib/components/Switch/index.d.ts +1 -1
  223. package/lib/components/Switch/index.d.ts.map +1 -1
  224. package/lib/components/TagGroup/TagGroup.d.ts.map +1 -1
  225. package/lib/components/ToggleButton/ToggleButton.cjs +1 -1
  226. package/lib/components/ToggleButton/ToggleButton.js +1 -1
  227. package/lib/components/WheelPicker/WheelPicker.cjs +11 -12
  228. package/lib/components/WheelPicker/WheelPicker.d.ts +7 -2
  229. package/lib/components/WheelPicker/WheelPicker.d.ts.map +1 -1
  230. package/lib/components/WheelPicker/WheelPicker.js +11 -12
  231. package/lib/components/index.cjs +90 -94
  232. package/lib/components/index.d.ts +2 -12
  233. package/lib/components/index.d.ts.map +1 -1
  234. package/lib/components/index.js +17 -24
  235. package/lib/index.cjs +116 -94
  236. package/lib/index.d.ts +4 -2
  237. package/lib/index.d.ts.map +1 -1
  238. package/lib/index.js +20 -25
  239. package/lib/utils/styled.cjs +3 -2
  240. package/lib/utils/styled.d.ts +18 -11
  241. package/lib/utils/styled.d.ts.map +1 -1
  242. package/lib/utils/styled.js +3 -2
  243. package/lib/utils/withContentScale.cjs +30 -0
  244. package/lib/utils/withContentScale.d.ts +12 -0
  245. package/lib/utils/withContentScale.d.ts.map +1 -0
  246. package/lib/utils/withContentScale.js +27 -0
  247. package/lib/utils/withContentScale.test.d.ts +2 -0
  248. package/lib/utils/withContentScale.test.d.ts.map +1 -0
  249. package/package.json +9 -14
  250. package/src/components/Accordion/Accordion.tsx +3 -3
  251. package/src/components/AlertDialog/AlertDialog.namespace.ts +22 -0
  252. package/src/components/AlertDialog/AlertDialog.test.tsx +61 -0
  253. package/src/components/AlertDialog/AlertDialog.tsx +115 -0
  254. package/src/components/AlertDialog/index.ts +24 -0
  255. package/src/components/AttachmentDisplay/AttachmentDisplayItem.tsx +2 -0
  256. package/src/components/AttachmentDisplay/index.ts +10 -0
  257. package/src/components/AttachmentInput/AttachmentInputItem.tsx +2 -0
  258. package/src/components/AttachmentInput/index.ts +10 -0
  259. package/src/components/Badge/Badge.namespace.ts +10 -0
  260. package/src/components/Badge/Badge.test.tsx +56 -0
  261. package/src/components/Badge/Badge.tsx +82 -11
  262. package/src/components/Badge/index.ts +12 -1
  263. package/src/components/Box/Box.test.tsx +88 -0
  264. package/src/components/Checkbox/Checkbox.namespace.ts +1 -0
  265. package/src/components/Checkbox/Checkbox.tsx +3 -1
  266. package/src/components/Checkbox/index.ts +1 -0
  267. package/src/components/Chip/Chip.namespace.ts +8 -2
  268. package/src/components/Chip/Chip.tsx +34 -7
  269. package/src/components/Chip/index.ts +8 -2
  270. package/src/components/DatePicker/DatePicker.namespace.ts +14 -0
  271. package/src/components/DatePicker/DatePicker.test.tsx +85 -276
  272. package/src/components/DatePicker/DatePicker.tsx +327 -284
  273. package/src/components/DatePicker/index.ts +25 -21
  274. package/src/components/Dialog/Dialog.namespace.ts +4 -0
  275. package/src/components/Dialog/Dialog.tsx +128 -10
  276. package/src/components/Dialog/index.ts +4 -5
  277. package/src/components/HelpBubble/HelpBubble.test.tsx +111 -0
  278. package/src/components/HelpBubble/HelpBubble.tsx +19 -3
  279. package/src/components/ImageFrame/ImageFrame.tsx +12 -4
  280. package/src/components/List/List.namespace.ts +8 -0
  281. package/src/components/List/List.tsx +43 -3
  282. package/src/components/List/index.ts +8 -0
  283. package/src/components/Menu/Menu.tsx +4 -3
  284. package/src/components/MenuSheet/MenuSheet.tsx +20 -17
  285. package/src/components/NavigationMenu/NavigationMenu.tsx +20 -17
  286. package/src/components/PageBanner/PageBanner.tsx +6 -3
  287. package/src/components/Popover/Popover.namespace.ts +30 -0
  288. package/src/components/Popover/Popover.test.tsx +222 -0
  289. package/src/components/Popover/Popover.tsx +282 -0
  290. package/src/components/Popover/index.ts +32 -0
  291. package/src/components/QuantityPicker/QuantityPicker.tsx +2 -0
  292. package/src/components/RadioGroup/RadioGroup.namespace.ts +1 -0
  293. package/src/components/RadioGroup/RadioGroup.tsx +2 -0
  294. package/src/components/RadioGroup/index.ts +1 -0
  295. package/src/components/RadioGroupField/RadioGroupField.namespace.ts +1 -0
  296. package/src/components/RadioGroupField/RadioGroupField.tsx +5 -3
  297. package/src/components/ResponsiveDialog/ResponsiveDialog.tsx +45 -48
  298. package/src/components/SegmentedControl/SegmentedControl.tsx +3 -3
  299. package/src/components/Select/Select.tsx +7 -6
  300. package/src/components/SelectBox/CheckSelectBox.tsx +28 -10
  301. package/src/components/SelectBox/RadioSelectBox.tsx +28 -10
  302. package/src/components/SelectBox/SelectBox.test.tsx +138 -0
  303. package/src/components/SideNavigation/index.ts +5 -0
  304. package/src/components/SidePanel/SidePanel.tsx +1 -16
  305. package/src/components/Stack/Stack.tsx +0 -12
  306. package/src/components/Stack/index.ts +1 -8
  307. package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.tsx +20 -18
  308. package/src/components/Switch/Switch.namespace.ts +1 -0
  309. package/src/components/Switch/Switch.tsx +6 -3
  310. package/src/components/Switch/index.ts +1 -0
  311. package/src/components/TagGroup/TagGroup.tsx +2 -0
  312. package/src/components/WheelPicker/WheelPicker.test.tsx +53 -44
  313. package/src/components/WheelPicker/WheelPicker.tsx +24 -21
  314. package/src/components/index.ts +2 -12
  315. package/src/index.ts +25 -2
  316. package/src/utils/styled.tsx +72 -15
  317. package/src/utils/withContentScale.test.tsx +88 -0
  318. package/src/utils/withContentScale.tsx +48 -0
  319. package/lib/components/ActionChip/ActionChip.cjs +0 -15
  320. package/lib/components/ActionChip/ActionChip.d.ts +0 -23
  321. package/lib/components/ActionChip/ActionChip.d.ts.map +0 -1
  322. package/lib/components/ActionChip/ActionChip.js +0 -14
  323. package/lib/components/ActionChip/index.cjs +0 -3
  324. package/lib/components/ActionChip/index.d.ts +0 -2
  325. package/lib/components/ActionChip/index.d.ts.map +0 -1
  326. package/lib/components/ActionChip/index.js +0 -2
  327. package/lib/components/ActionSheet/ActionSheet.cjs +0 -72
  328. package/lib/components/ActionSheet/ActionSheet.d.ts +0 -113
  329. package/lib/components/ActionSheet/ActionSheet.d.ts.map +0 -1
  330. package/lib/components/ActionSheet/ActionSheet.js +0 -61
  331. package/lib/components/ActionSheet/ActionSheet.namespace.cjs +0 -23
  332. package/lib/components/ActionSheet/ActionSheet.namespace.d.ts +0 -2
  333. package/lib/components/ActionSheet/ActionSheet.namespace.d.ts.map +0 -1
  334. package/lib/components/ActionSheet/ActionSheet.namespace.js +0 -18
  335. package/lib/components/ActionSheet/index.cjs +0 -20
  336. package/lib/components/ActionSheet/index.d.ts +0 -3
  337. package/lib/components/ActionSheet/index.d.ts.map +0 -1
  338. package/lib/components/ActionSheet/index.js +0 -3
  339. package/lib/components/Columns/Columns.cjs +0 -38
  340. package/lib/components/Columns/Columns.d.ts +0 -22
  341. package/lib/components/Columns/Columns.d.ts.map +0 -1
  342. package/lib/components/Columns/Columns.js +0 -35
  343. package/lib/components/Columns/index.cjs +0 -4
  344. package/lib/components/Columns/index.d.ts +0 -2
  345. package/lib/components/Columns/index.d.ts.map +0 -1
  346. package/lib/components/Columns/index.js +0 -2
  347. package/lib/components/ContentDialog/ContentDialog.d.ts +0 -50
  348. package/lib/components/ContentDialog/ContentDialog.d.ts.map +0 -1
  349. package/lib/components/ContentDialog/ContentDialog.namespace.cjs +0 -24
  350. package/lib/components/ContentDialog/ContentDialog.namespace.d.ts +0 -2
  351. package/lib/components/ContentDialog/ContentDialog.namespace.d.ts.map +0 -1
  352. package/lib/components/ContentDialog/ContentDialog.namespace.js +0 -19
  353. package/lib/components/ContentDialog/index.cjs +0 -21
  354. package/lib/components/ContentDialog/index.d.ts +0 -3
  355. package/lib/components/ContentDialog/index.d.ts.map +0 -1
  356. package/lib/components/ContentDialog/index.js +0 -3
  357. package/lib/components/ControlChip/ControlChip.cjs +0 -15
  358. package/lib/components/ControlChip/ControlChip.d.ts +0 -28
  359. package/lib/components/ControlChip/ControlChip.d.ts.map +0 -1
  360. package/lib/components/ControlChip/ControlChip.js +0 -14
  361. package/lib/components/ControlChip/index.cjs +0 -3
  362. package/lib/components/ControlChip/index.d.ts +0 -2
  363. package/lib/components/ControlChip/index.d.ts.map +0 -1
  364. package/lib/components/ControlChip/index.js +0 -2
  365. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +0 -77
  366. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts +0 -122
  367. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts.map +0 -1
  368. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +0 -65
  369. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.cjs +0 -24
  370. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.d.ts +0 -2
  371. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.d.ts.map +0 -1
  372. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.js +0 -19
  373. package/lib/components/ExtendedActionSheet/index.cjs +0 -21
  374. package/lib/components/ExtendedActionSheet/index.d.ts +0 -3
  375. package/lib/components/ExtendedActionSheet/index.d.ts.map +0 -1
  376. package/lib/components/ExtendedActionSheet/index.js +0 -3
  377. package/lib/components/ExtendedFab/ExtendedFab.cjs +0 -16
  378. package/lib/components/ExtendedFab/ExtendedFab.d.ts +0 -13
  379. package/lib/components/ExtendedFab/ExtendedFab.d.ts.map +0 -1
  380. package/lib/components/ExtendedFab/ExtendedFab.js +0 -15
  381. package/lib/components/ExtendedFab/index.cjs +0 -3
  382. package/lib/components/ExtendedFab/index.d.ts +0 -2
  383. package/lib/components/ExtendedFab/index.d.ts.map +0 -1
  384. package/lib/components/ExtendedFab/index.js +0 -2
  385. package/lib/components/Fab/Fab.cjs +0 -13
  386. package/lib/components/Fab/Fab.d.ts +0 -13
  387. package/lib/components/Fab/Fab.d.ts.map +0 -1
  388. package/lib/components/Fab/Fab.js +0 -12
  389. package/lib/components/Fab/index.cjs +0 -3
  390. package/lib/components/Fab/index.d.ts +0 -2
  391. package/lib/components/Fab/index.d.ts.map +0 -1
  392. package/lib/components/Fab/index.js +0 -2
  393. package/lib/components/Inline/Inline.cjs +0 -23
  394. package/lib/components/Inline/Inline.d.ts +0 -12
  395. package/lib/components/Inline/Inline.d.ts.map +0 -1
  396. package/lib/components/Inline/Inline.js +0 -21
  397. package/lib/components/Inline/index.cjs +0 -3
  398. package/lib/components/Inline/index.d.ts +0 -2
  399. package/lib/components/Inline/index.d.ts.map +0 -1
  400. package/lib/components/Inline/index.js +0 -2
  401. package/lib/components/InlineBanner/InlineBanner.cjs +0 -39
  402. package/lib/components/InlineBanner/InlineBanner.d.ts +0 -59
  403. package/lib/components/InlineBanner/InlineBanner.d.ts.map +0 -1
  404. package/lib/components/InlineBanner/InlineBanner.js +0 -33
  405. package/lib/components/InlineBanner/InlineBanner.namespace.cjs +0 -18
  406. package/lib/components/InlineBanner/InlineBanner.namespace.d.ts +0 -2
  407. package/lib/components/InlineBanner/InlineBanner.namespace.d.ts.map +0 -1
  408. package/lib/components/InlineBanner/InlineBanner.namespace.js +0 -13
  409. package/lib/components/InlineBanner/index.cjs +0 -15
  410. package/lib/components/InlineBanner/index.d.ts +0 -3
  411. package/lib/components/InlineBanner/index.d.ts.map +0 -1
  412. package/lib/components/InlineBanner/index.js +0 -3
  413. package/lib/components/LinkContent/LinkContent.cjs +0 -14
  414. package/lib/components/LinkContent/LinkContent.d.ts +0 -14
  415. package/lib/components/LinkContent/LinkContent.d.ts.map +0 -1
  416. package/lib/components/LinkContent/LinkContent.js +0 -13
  417. package/lib/components/LinkContent/index.cjs +0 -3
  418. package/lib/components/LinkContent/index.d.ts +0 -2
  419. package/lib/components/LinkContent/index.d.ts.map +0 -1
  420. package/lib/components/LinkContent/index.js +0 -2
  421. package/lib/components/TimePicker/TimePicker.cjs +0 -97
  422. package/lib/components/TimePicker/TimePicker.d.ts +0 -28
  423. package/lib/components/TimePicker/TimePicker.d.ts.map +0 -1
  424. package/lib/components/TimePicker/TimePicker.js +0 -94
  425. package/lib/components/TimePicker/TimePicker.test.d.ts +0 -2
  426. package/lib/components/TimePicker/TimePicker.test.d.ts.map +0 -1
  427. package/lib/components/TimePicker/index.cjs +0 -3
  428. package/lib/components/TimePicker/index.d.ts +0 -2
  429. package/lib/components/TimePicker/index.d.ts.map +0 -1
  430. package/lib/components/TimePicker/index.js +0 -2
  431. package/lib/components/private/WheelPicker.cjs +0 -63
  432. package/lib/components/private/WheelPicker.d.ts +0 -16
  433. package/lib/components/private/WheelPicker.d.ts.map +0 -1
  434. package/lib/components/private/WheelPicker.js +0 -59
  435. package/lib/components/private/WheelPicker.test.d.ts +0 -2
  436. package/lib/components/private/WheelPicker.test.d.ts.map +0 -1
  437. package/lib/primitive.cjs +0 -154
  438. package/lib/primitive.d.ts +0 -18
  439. package/lib/primitive.d.ts.map +0 -1
  440. package/lib/primitive.js +0 -17
  441. package/src/components/ActionChip/ActionChip.tsx +0 -34
  442. package/src/components/ActionChip/index.ts +0 -4
  443. package/src/components/ActionSheet/ActionSheet.namespace.ts +0 -24
  444. package/src/components/ActionSheet/ActionSheet.tsx +0 -192
  445. package/src/components/ActionSheet/index.ts +0 -26
  446. package/src/components/Columns/Columns.tsx +0 -50
  447. package/src/components/Columns/index.ts +0 -1
  448. package/src/components/ContentDialog/ContentDialog.namespace.ts +0 -26
  449. package/src/components/ContentDialog/ContentDialog.tsx +0 -224
  450. package/src/components/ContentDialog/index.ts +0 -33
  451. package/src/components/ControlChip/ControlChip.tsx +0 -38
  452. package/src/components/ControlChip/index.ts +0 -5
  453. package/src/components/ExtendedActionSheet/ExtendedActionSheet.namespace.ts +0 -26
  454. package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +0 -220
  455. package/src/components/ExtendedActionSheet/index.ts +0 -28
  456. package/src/components/ExtendedFab/ExtendedFab.tsx +0 -25
  457. package/src/components/ExtendedFab/index.ts +0 -4
  458. package/src/components/Fab/Fab.tsx +0 -21
  459. package/src/components/Fab/index.ts +0 -4
  460. package/src/components/Inline/Inline.tsx +0 -25
  461. package/src/components/Inline/index.ts +0 -1
  462. package/src/components/InlineBanner/InlineBanner.namespace.ts +0 -14
  463. package/src/components/InlineBanner/InlineBanner.tsx +0 -103
  464. package/src/components/InlineBanner/index.ts +0 -16
  465. package/src/components/LinkContent/LinkContent.tsx +0 -23
  466. package/src/components/LinkContent/index.ts +0 -4
  467. package/src/components/TimePicker/TimePicker.test.tsx +0 -166
  468. package/src/components/TimePicker/TimePicker.tsx +0 -163
  469. package/src/components/TimePicker/index.ts +0 -6
  470. package/src/components/private/WheelPicker.test.tsx +0 -55
  471. package/src/components/private/WheelPicker.tsx +0 -110
  472. package/src/primitive.ts +0 -17
@@ -1,9 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ require("../../_virtual/_rolldown/runtime.cjs");
2
3
  const require_AttachmentInput = require("./AttachmentInput.cjs");
3
4
  const require_AttachmentInputDropzone = require("./AttachmentInputDropzone.cjs");
4
5
  const require_AttachmentInputItem = require("./AttachmentInputItem.cjs");
5
6
  const require_AttachmentInputTrigger = require("./AttachmentInputTrigger.cjs");
6
7
  const require_AttachmentInput_namespace = require("./AttachmentInput.namespace.cjs");
8
+ let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
7
9
  Object.defineProperty(exports, "AttachmentInput", {
8
10
  enumerable: true,
9
11
  get: function() {
@@ -30,3 +32,9 @@ exports.AttachmentInputRoot = require_AttachmentInput.AttachmentInputRoot;
30
32
  exports.AttachmentInputTrigger = require_AttachmentInputTrigger.AttachmentInputTrigger;
31
33
  exports.AttachmentInputTriggerIcon = require_AttachmentInputTrigger.AttachmentInputTriggerIcon;
32
34
  exports.AttachmentInputTriggerItemCount = require_AttachmentInputTrigger.AttachmentInputTriggerItemCount;
35
+ Object.defineProperty(exports, "useAttachmentInputContext", {
36
+ enumerable: true,
37
+ get: function() {
38
+ return _seed_design_react_file_upload.useFileUploadContext;
39
+ }
40
+ });
@@ -4,4 +4,6 @@ export { AttachmentInputDropzone, AttachmentInputDropzoneLabel, type AttachmentI
4
4
  export { AttachmentInputItem, AttachmentInputItemActionButton, AttachmentInputItemBackdrop, AttachmentInputItemBadge, AttachmentInputItemImage, AttachmentInputItemMetadata, AttachmentInputItemName, AttachmentInputItemRemoveButton, AttachmentInputItemSize, AttachmentInputItemThumbnail, type AttachmentInputItemActionButtonProps, type AttachmentInputItemBackdropProps, type AttachmentInputItemBadgeProps, type AttachmentInputItemImageProps, type AttachmentInputItemMetadataProps, type AttachmentInputItemNameProps, type AttachmentInputItemProps, type AttachmentInputItemRemoveButtonProps, type AttachmentInputItemSizeProps, type AttachmentInputItemThumbnailProps, } from './AttachmentInputItem';
5
5
  export { AttachmentInputTrigger, AttachmentInputTriggerIcon, AttachmentInputTriggerItemCount, type AttachmentInputTriggerIconProps, type AttachmentInputTriggerItemCountProps, type AttachmentInputTriggerProps, } from './AttachmentInputTrigger';
6
6
  export * as AttachmentInput from './AttachmentInput.namespace';
7
+ export { useFileUploadContext as useAttachmentInputContext, type UseFileUploadContext as AttachmentInputContextValue, } from '@seed-design/react-file-upload';
8
+ export type { FileEntry as AttachmentInputFileEntry, FileStatusDetails as AttachmentInputFileStatusDetails, } from '@seed-design/react-file-upload';
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,mBAAmB,EACnB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,GAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,GACjC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,GAClC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACvB,+BAA+B,EAC/B,uBAAuB,EACvB,4BAA4B,EAC5B,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,GACvC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,2BAA2B,GACjC,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,mBAAmB,EACnB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,GAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,GACjC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,GAClC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACvB,+BAA+B,EAC/B,uBAAuB,EACvB,4BAA4B,EAC5B,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,GACvC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,2BAA2B,GACjC,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EACL,oBAAoB,IAAI,yBAAyB,EACjD,KAAK,oBAAoB,IAAI,2BAA2B,GACzD,MAAM,gCAAgC,CAAC;AAExC,YAAY,EACV,SAAS,IAAI,wBAAwB,EACrC,iBAAiB,IAAI,gCAAgC,GACtD,MAAM,gCAAgC,CAAC"}
@@ -3,4 +3,5 @@ import { AttachmentInputDropzone, AttachmentInputDropzoneLabel } from "./Attachm
3
3
  import { AttachmentInputItem, AttachmentInputItemActionButton, AttachmentInputItemBackdrop, AttachmentInputItemBadge, AttachmentInputItemImage, AttachmentInputItemMetadata, AttachmentInputItemName, AttachmentInputItemRemoveButton, AttachmentInputItemSize, AttachmentInputItemThumbnail } from "./AttachmentInputItem.js";
4
4
  import { AttachmentInputTrigger, AttachmentInputTriggerIcon, AttachmentInputTriggerItemCount } from "./AttachmentInputTrigger.js";
5
5
  import { AttachmentInput_namespace_exports } from "./AttachmentInput.namespace.js";
6
- export { AttachmentInput_namespace_exports as AttachmentInput, AttachmentInputContainer, AttachmentInputContext, AttachmentInputDropzone, AttachmentInputDropzoneLabel, AttachmentInputHiddenInput, AttachmentInputItem, AttachmentInputItemActionButton, AttachmentInputItemBackdrop, AttachmentInputItemBadge, AttachmentInputItemGroup, AttachmentInputItemImage, AttachmentInputItemMetadata, AttachmentInputItemName, AttachmentInputItemRemoveButton, AttachmentInputItemSize, AttachmentInputItemThumbnail, AttachmentInputRoot, AttachmentInputTrigger, AttachmentInputTriggerIcon, AttachmentInputTriggerItemCount };
6
+ import { useFileUploadContext as useAttachmentInputContext } from "@seed-design/react-file-upload";
7
+ export { AttachmentInput_namespace_exports as AttachmentInput, AttachmentInputContainer, AttachmentInputContext, AttachmentInputDropzone, AttachmentInputDropzoneLabel, AttachmentInputHiddenInput, AttachmentInputItem, AttachmentInputItemActionButton, AttachmentInputItemBackdrop, AttachmentInputItemBadge, AttachmentInputItemGroup, AttachmentInputItemImage, AttachmentInputItemMetadata, AttachmentInputItemName, AttachmentInputItemRemoveButton, AttachmentInputItemSize, AttachmentInputItemThumbnail, AttachmentInputRoot, AttachmentInputTrigger, AttachmentInputTriggerIcon, AttachmentInputTriggerItemCount, useAttachmentInputContext };
@@ -1,25 +1,67 @@
1
1
  "use client";
2
+ "use client";
2
3
  const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
4
  let _seed_design_react_primitive = require("@seed-design/react-primitive");
4
5
  let clsx = require("clsx");
5
6
  clsx = require_runtime.__toESM(clsx);
6
7
  let react = require("react");
8
+ react = require_runtime.__toESM(react);
7
9
  let react_jsx_runtime = require("react/jsx-runtime");
10
+ let _radix_ui_react_compose_refs = require("@radix-ui/react-compose-refs");
11
+ let _seed_design_react_scale_feedback = require("@seed-design/react-scale-feedback");
8
12
  let _seed_design_css_recipes_badge = require("@seed-design/css/recipes/badge");
9
13
  //#region src/components/Badge/Badge.tsx
10
- var Badge = (0, react.forwardRef)(({ className, children, ...props }, ref) => {
14
+ var BadgeSlotContext = react.createContext(null);
15
+ function useBadgeSlotContext() {
16
+ const context = react.useContext(BadgeSlotContext);
17
+ if (!context) throw new Error("Badge slots must be rendered within Badge.Root.");
18
+ return context;
19
+ }
20
+ var BadgeRoot = react.forwardRef(({ className, ...props }, ref) => {
11
21
  const [variantProps, restProps] = _seed_design_css_recipes_badge.badge.splitVariantProps(props);
12
- const { root, label } = (0, _seed_design_css_recipes_badge.badge)(variantProps);
13
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.span, {
14
- className: (0, clsx.default)(root, className),
15
- ...restProps,
16
- ref,
22
+ const classNames = (0, _seed_design_css_recipes_badge.badge)(variantProps);
23
+ const contextValue = { classNames };
24
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BadgeSlotContext.Provider, {
25
+ value: contextValue,
17
26
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.span, {
18
- className: label,
19
- children
27
+ ref,
28
+ className: (0, clsx.default)(classNames.root, className),
29
+ ...restProps
20
30
  })
21
31
  });
22
32
  });
23
- Badge.displayName = "Badge";
33
+ BadgeRoot.displayName = "Badge.Root";
34
+ var BadgePrefix = react.forwardRef(({ className, ...props }, ref) => {
35
+ const { classNames } = useBadgeSlotContext();
36
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.span, {
37
+ ref,
38
+ className: (0, clsx.default)(classNames.prefix, className),
39
+ ...props
40
+ });
41
+ });
42
+ BadgePrefix.displayName = "Badge.Prefix";
43
+ var BadgeLabel = react.forwardRef(({ className, ...props }, ref) => {
44
+ const { classNames } = useBadgeSlotContext();
45
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.span, {
46
+ ref,
47
+ className: (0, clsx.default)(classNames.label, className),
48
+ ...props
49
+ });
50
+ });
51
+ BadgeLabel.displayName = "Badge.Label";
52
+ var BadgeAction = react.forwardRef(({ className, ...props }, ref) => {
53
+ const { classNames } = useBadgeSlotContext();
54
+ const { scaleFeedbackRef, scaleFeedbackClassName } = (0, _seed_design_react_scale_feedback.useScaleFeedback)();
55
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.button, {
56
+ ref: (0, _radix_ui_react_compose_refs.useComposedRefs)(scaleFeedbackRef, ref),
57
+ type: "button",
58
+ className: (0, clsx.default)(classNames.action, scaleFeedbackClassName, className),
59
+ ...props
60
+ });
61
+ });
62
+ BadgeAction.displayName = "Badge.Action";
24
63
  //#endregion
25
- exports.Badge = Badge;
64
+ exports.BadgeAction = BadgeAction;
65
+ exports.BadgeLabel = BadgeLabel;
66
+ exports.BadgePrefix = BadgePrefix;
67
+ exports.BadgeRoot = BadgeRoot;
@@ -1,7 +1,16 @@
1
- import { PrimitiveProps } from '@seed-design/react-primitive';
2
1
  import { BadgeVariantProps } from '@seed-design/css/recipes/badge';
3
- import type * as React from "react";
4
- export interface BadgeProps extends BadgeVariantProps, PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
2
+ import { PrimitiveProps } from '@seed-design/react-primitive';
3
+ import * as React from "react";
4
+ export interface BadgeRootProps extends BadgeVariantProps, PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
5
+ }
6
+ export declare const BadgeRoot: React.ForwardRefExoticComponent<BadgeRootProps & React.RefAttributes<HTMLSpanElement>>;
7
+ export interface BadgePrefixProps extends PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
8
+ }
9
+ export declare const BadgePrefix: React.ForwardRefExoticComponent<BadgePrefixProps & React.RefAttributes<HTMLSpanElement>>;
10
+ export interface BadgeLabelProps extends PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
11
+ }
12
+ export declare const BadgeLabel: React.ForwardRefExoticComponent<BadgeLabelProps & React.RefAttributes<HTMLSpanElement>>;
13
+ export interface BadgeActionProps extends PrimitiveProps, React.ButtonHTMLAttributes<HTMLButtonElement> {
5
14
  }
6
- export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
15
+ export declare const BadgeAction: React.ForwardRefExoticComponent<BadgeActionProps & React.RefAttributes<HTMLButtonElement>>;
7
16
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAS,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,UACf,SAAQ,iBAAiB,EACvB,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,KAAK,oFAWjB,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAGA,OAAO,EAA6B,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAG9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,MAAM,WAAW,cACf,SAAQ,iBAAiB,EACvB,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,SAAS,wFAYrB,CAAC;AAKF,MAAM,WAAW,gBAAiB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAElG,eAAO,MAAM,WAAW,0FAMvB,CAAC;AAKF,MAAM,WAAW,eAAgB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAEjG,eAAO,MAAM,UAAU,yFAMtB,CAAC;AAKF,MAAM,WAAW,gBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,WAAW,4FAcvB,CAAC"}
@@ -1,23 +1,61 @@
1
1
  "use client";
2
+ "use client";
2
3
  import { Primitive } from "@seed-design/react-primitive";
3
4
  import clsx$1 from "clsx";
4
- import { forwardRef } from "react";
5
+ import * as React$1 from "react";
5
6
  import { jsx } from "react/jsx-runtime";
7
+ import { useComposedRefs } from "@radix-ui/react-compose-refs";
8
+ import { useScaleFeedback } from "@seed-design/react-scale-feedback";
6
9
  import { badge } from "@seed-design/css/recipes/badge";
7
10
  //#region src/components/Badge/Badge.tsx
8
- var Badge = forwardRef(({ className, children, ...props }, ref) => {
11
+ var BadgeSlotContext = React$1.createContext(null);
12
+ function useBadgeSlotContext() {
13
+ const context = React$1.useContext(BadgeSlotContext);
14
+ if (!context) throw new Error("Badge slots must be rendered within Badge.Root.");
15
+ return context;
16
+ }
17
+ var BadgeRoot = React$1.forwardRef(({ className, ...props }, ref) => {
9
18
  const [variantProps, restProps] = badge.splitVariantProps(props);
10
- const { root, label } = badge(variantProps);
11
- return /* @__PURE__ */ jsx(Primitive.span, {
12
- className: clsx$1(root, className),
13
- ...restProps,
14
- ref,
19
+ const classNames = badge(variantProps);
20
+ const contextValue = { classNames };
21
+ return /* @__PURE__ */ jsx(BadgeSlotContext.Provider, {
22
+ value: contextValue,
15
23
  children: /* @__PURE__ */ jsx(Primitive.span, {
16
- className: label,
17
- children
24
+ ref,
25
+ className: clsx$1(classNames.root, className),
26
+ ...restProps
18
27
  })
19
28
  });
20
29
  });
21
- Badge.displayName = "Badge";
30
+ BadgeRoot.displayName = "Badge.Root";
31
+ var BadgePrefix = React$1.forwardRef(({ className, ...props }, ref) => {
32
+ const { classNames } = useBadgeSlotContext();
33
+ return /* @__PURE__ */ jsx(Primitive.span, {
34
+ ref,
35
+ className: clsx$1(classNames.prefix, className),
36
+ ...props
37
+ });
38
+ });
39
+ BadgePrefix.displayName = "Badge.Prefix";
40
+ var BadgeLabel = React$1.forwardRef(({ className, ...props }, ref) => {
41
+ const { classNames } = useBadgeSlotContext();
42
+ return /* @__PURE__ */ jsx(Primitive.span, {
43
+ ref,
44
+ className: clsx$1(classNames.label, className),
45
+ ...props
46
+ });
47
+ });
48
+ BadgeLabel.displayName = "Badge.Label";
49
+ var BadgeAction = React$1.forwardRef(({ className, ...props }, ref) => {
50
+ const { classNames } = useBadgeSlotContext();
51
+ const { scaleFeedbackRef, scaleFeedbackClassName } = useScaleFeedback();
52
+ return /* @__PURE__ */ jsx(Primitive.button, {
53
+ ref: useComposedRefs(scaleFeedbackRef, ref),
54
+ type: "button",
55
+ className: clsx$1(classNames.action, scaleFeedbackClassName, className),
56
+ ...props
57
+ });
58
+ });
59
+ BadgeAction.displayName = "Badge.Action";
22
60
  //#endregion
23
- export { Badge };
61
+ export { BadgeAction, BadgeLabel, BadgePrefix, BadgeRoot };
@@ -0,0 +1,16 @@
1
+ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
2
+ const require_Badge = require("./Badge.cjs");
3
+ //#region src/components/Badge/Badge.namespace.ts
4
+ var Badge_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
5
+ Action: () => require_Badge.BadgeAction,
6
+ Label: () => require_Badge.BadgeLabel,
7
+ Prefix: () => require_Badge.BadgePrefix,
8
+ Root: () => require_Badge.BadgeRoot
9
+ });
10
+ //#endregion
11
+ Object.defineProperty(exports, "Badge_namespace_exports", {
12
+ enumerable: true,
13
+ get: function() {
14
+ return Badge_namespace_exports;
15
+ }
16
+ });
@@ -0,0 +1,2 @@
1
+ export { BadgeRoot as Root, BadgePrefix as Prefix, BadgeLabel as Label, BadgeAction as Action, type BadgeRootProps as RootProps, type BadgePrefixProps as PrefixProps, type BadgeLabelProps as LabelProps, type BadgeActionProps as ActionProps, } from './Badge';
2
+ //# sourceMappingURL=Badge.namespace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,IAAI,IAAI,EACjB,WAAW,IAAI,MAAM,EACrB,UAAU,IAAI,KAAK,EACnB,WAAW,IAAI,MAAM,EACrB,KAAK,cAAc,IAAI,SAAS,EAChC,KAAK,gBAAgB,IAAI,WAAW,EACpC,KAAK,eAAe,IAAI,UAAU,EAClC,KAAK,gBAAgB,IAAI,WAAW,GACrC,MAAM,SAAS,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
2
+ import { BadgeAction, BadgeLabel, BadgePrefix, BadgeRoot } from "./Badge.js";
3
+ //#region src/components/Badge/Badge.namespace.ts
4
+ var Badge_namespace_exports = /* @__PURE__ */ __exportAll({
5
+ Action: () => BadgeAction,
6
+ Label: () => BadgeLabel,
7
+ Prefix: () => BadgePrefix,
8
+ Root: () => BadgeRoot
9
+ });
10
+ //#endregion
11
+ export { Badge_namespace_exports };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Badge.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.test.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.test.tsx"],"names":[],"mappings":""}
@@ -1,3 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_Badge = require("./Badge.cjs");
3
- exports.Badge = require_Badge.Badge;
3
+ const require_Badge_namespace = require("./Badge.namespace.cjs");
4
+ Object.defineProperty(exports, "Badge", {
5
+ enumerable: true,
6
+ get: function() {
7
+ return require_Badge_namespace.Badge_namespace_exports;
8
+ }
9
+ });
10
+ exports.BadgeAction = require_Badge.BadgeAction;
11
+ exports.BadgeLabel = require_Badge.BadgeLabel;
12
+ exports.BadgePrefix = require_Badge.BadgePrefix;
13
+ exports.BadgeRoot = require_Badge.BadgeRoot;
@@ -1,2 +1,3 @@
1
- export { Badge, type BadgeProps } from './Badge';
1
+ export { BadgeRoot, BadgePrefix, BadgeLabel, BadgeAction, type BadgeRootProps, type BadgePrefixProps, type BadgeLabelProps, type BadgeActionProps, } from './Badge';
2
+ export * as Badge from './Badge.namespace';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,UAAU,EACV,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC"}
@@ -1,2 +1,3 @@
1
- import { Badge } from "./Badge.js";
2
- export { Badge };
1
+ import { BadgeAction, BadgeLabel, BadgePrefix, BadgeRoot } from "./Badge.js";
2
+ import { Badge_namespace_exports } from "./Badge.namespace.js";
3
+ export { Badge_namespace_exports as Badge, BadgeAction, BadgeLabel, BadgePrefix, BadgeRoot };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Box.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Box.test.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.test.tsx"],"names":[],"mappings":""}
@@ -2,11 +2,10 @@
2
2
  const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
3
  const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
4
4
  const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
5
- const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
6
5
  const require_withScaleFeedback = require("../../utils/withScaleFeedback.cjs");
7
6
  const require_splitMultipleVariantsProps = require("../../utils/splitMultipleVariantsProps.cjs");
8
7
  const require_Icon = require("../private/Icon.cjs");
9
- let _seed_design_react_checkbox = require("@seed-design/react-checkbox");
8
+ const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
10
9
  let _seed_design_react_primitive = require("@seed-design/react-primitive");
11
10
  let clsx = require("clsx");
12
11
  clsx = require_runtime.__toESM(clsx);
@@ -15,6 +14,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
15
14
  let _seed_design_dom_utils = require("@seed-design/dom-utils");
16
15
  let _seed_design_css_recipes_checkbox = require("@seed-design/css/recipes/checkbox");
17
16
  let _seed_design_css_recipes_checkmark = require("@seed-design/css/recipes/checkmark");
17
+ let _seed_design_react_checkbox = require("@seed-design/react-checkbox");
18
18
  let _seed_design_css_recipes_checkbox_group = require("@seed-design/css/recipes/checkbox-group");
19
19
  //#region src/components/Checkbox/Checkbox.tsx
20
20
  var { withContext: withGroupContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_checkbox_group.checkboxGroup);
@@ -9,11 +9,13 @@ export interface CheckboxGroupProps extends CheckboxGroupVariantProps, Primitive
9
9
  export declare const CheckboxGroup: ForwardRefExoticComponent<CheckboxGroupProps & RefAttributes<HTMLDivElement>>;
10
10
  export interface CheckboxRootProps extends CheckboxVariantProps, CheckmarkVariantProps, CheckboxPrimitive.RootProps {
11
11
  }
12
+ export interface CheckboxRootPrimitiveProps extends CheckboxPrimitive.RootProps {
13
+ }
12
14
  export declare const CheckboxRoot: ForwardRefExoticComponent<CheckboxRootProps & RefAttributes<HTMLLabelElement>> & {
13
15
  Primitive: ForwardRefExoticComponent<CheckboxPrimitive.RootProps & RefAttributes<HTMLLabelElement>>;
14
16
  };
15
17
  /**
16
- * CheckboxControl combines Checkbox.Primitive with checkmark.root styling
18
+ * CheckboxControl combines Checkbox.Root.Primitive with checkmark.root styling
17
19
  * This enables standalone usage of Checkbox.Control with variants
18
20
  */
19
21
  export interface CheckboxControlProps extends CheckmarkVariantProps, CheckboxPrimitive.ControlProps {
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAY,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAa,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAG3F,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAsB,MAAM,6BAA6B,CAAC;AAChG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQ9E,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,yCAAyC,CAAC;AAajD,MAAM,WAAW,kBACf,SAAQ,yBAAyB,EAC/B,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,aAAa,+GAAsE,CAAC;AAIjG,MAAM,WAAW,iBACf,SAAQ,oBAAoB,EAC1B,qBAAqB,EACrB,iBAAiB,CAAC,SAAS;CAAG;AAElC,eAAO,MAAM,YAAY;;CAsBxB,CAAC;AAIF;;;GAGG;AAEH,MAAM,WAAW,oBACf,SAAQ,qBAAqB,EAC3B,iBAAiB,CAAC,YAAY;CAAG;AAErC,eAAO,MAAM,eAAe,iHAE3B,CAAC;AAIF,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC;IAChF;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE5B;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC;AAED,eAAO,MAAM,iBAAiB,kHA8B7B,CAAC;AAKF,MAAM,WAAW,kBAAmB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAEpG,eAAO,MAAM,aAAa,+GAGzB,CAAC;AAIF,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB,CAAC,gBAAgB;CAAG;AAEvF,eAAO,MAAM,mBAAmB,iIAAgC,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAY,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAa,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAG3F,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAsB,MAAM,6BAA6B,CAAC;AAChG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQ9E,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,yCAAyC,CAAC;AAajD,MAAM,WAAW,kBACf,SAAQ,yBAAyB,EAC/B,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,aAAa,+GAAsE,CAAC;AAIjG,MAAM,WAAW,iBACf,SAAQ,oBAAoB,EAC1B,qBAAqB,EACrB,iBAAiB,CAAC,SAAS;CAAG;AAElC,MAAM,WAAW,0BAA2B,SAAQ,iBAAiB,CAAC,SAAS;CAAG;AAElF,eAAO,MAAM,YAAY;;CAsBxB,CAAC;AAIF;;;GAGG;AAEH,MAAM,WAAW,oBACf,SAAQ,qBAAqB,EAC3B,iBAAiB,CAAC,YAAY;CAAG;AAErC,eAAO,MAAM,eAAe,iHAE3B,CAAC;AAIF,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC;IAChF;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE5B;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC;AAED,eAAO,MAAM,iBAAiB,kHA8B7B,CAAC;AAKF,MAAM,WAAW,kBAAmB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAEpG,eAAO,MAAM,aAAa,+GAGzB,CAAC;AAIF,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB,CAAC,gBAAgB;CAAG;AAEvF,eAAO,MAAM,mBAAmB,iIAAgC,CAAC"}
@@ -1,11 +1,10 @@
1
1
  "use client";
2
2
  import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
3
3
  import { createWithStateProps } from "../../utils/createWithStateProps.js";
4
- import { createRecipeContext } from "../../utils/createRecipeContext.js";
5
4
  import { withScaleFeedback } from "../../utils/withScaleFeedback.js";
6
5
  import { splitMultipleVariantsProps } from "../../utils/splitMultipleVariantsProps.js";
7
6
  import { InternalIcon } from "../private/Icon.js";
8
- import { Checkbox, useCheckboxContext } from "@seed-design/react-checkbox";
7
+ import { createRecipeContext } from "../../utils/createRecipeContext.js";
9
8
  import { Primitive } from "@seed-design/react-primitive";
10
9
  import clsx$1 from "clsx";
11
10
  import { forwardRef } from "react";
@@ -13,6 +12,7 @@ import { jsx } from "react/jsx-runtime";
13
12
  import { mergeProps } from "@seed-design/dom-utils";
14
13
  import { checkbox } from "@seed-design/css/recipes/checkbox";
15
14
  import { checkmark } from "@seed-design/css/recipes/checkmark";
15
+ import { Checkbox, useCheckboxContext } from "@seed-design/react-checkbox";
16
16
  import { checkboxGroup } from "@seed-design/css/recipes/checkbox-group";
17
17
  //#region src/components/Checkbox/Checkbox.tsx
18
18
  var { withContext: withGroupContext } = createRecipeContext(checkboxGroup);
@@ -1,2 +1,2 @@
1
- export { CheckboxControl as Control, CheckboxGroup as Group, CheckboxHiddenInput as HiddenInput, CheckboxIndicator as Indicator, CheckboxLabel as Label, CheckboxRoot as Root, type CheckboxControlProps as ControlProps, type CheckboxGroupProps as GroupProps, type CheckboxHiddenInputProps as HiddenInputProps, type CheckboxIndicatorProps as IndicatorProps, type CheckboxLabelProps as LabelProps, type CheckboxRootProps as RootProps, } from './Checkbox';
1
+ export { CheckboxControl as Control, CheckboxGroup as Group, CheckboxHiddenInput as HiddenInput, CheckboxIndicator as Indicator, CheckboxLabel as Label, CheckboxRoot as Root, type CheckboxControlProps as ControlProps, type CheckboxGroupProps as GroupProps, type CheckboxHiddenInputProps as HiddenInputProps, type CheckboxIndicatorProps as IndicatorProps, type CheckboxLabelProps as LabelProps, type CheckboxRootProps as RootProps, type CheckboxRootPrimitiveProps as RootPrimitiveProps, } from './Checkbox';
2
2
  //# sourceMappingURL=Checkbox.namespace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,OAAO,EAC1B,aAAa,IAAI,KAAK,EACtB,mBAAmB,IAAI,WAAW,EAClC,iBAAiB,IAAI,SAAS,EAC9B,aAAa,IAAI,KAAK,EACtB,YAAY,IAAI,IAAI,EACpB,KAAK,oBAAoB,IAAI,YAAY,EACzC,KAAK,kBAAkB,IAAI,UAAU,EACrC,KAAK,wBAAwB,IAAI,gBAAgB,EACjD,KAAK,sBAAsB,IAAI,cAAc,EAC7C,KAAK,kBAAkB,IAAI,UAAU,EACrC,KAAK,iBAAiB,IAAI,SAAS,GACpC,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"Checkbox.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,OAAO,EAC1B,aAAa,IAAI,KAAK,EACtB,mBAAmB,IAAI,WAAW,EAClC,iBAAiB,IAAI,SAAS,EAC9B,aAAa,IAAI,KAAK,EACtB,YAAY,IAAI,IAAI,EACpB,KAAK,oBAAoB,IAAI,YAAY,EACzC,KAAK,kBAAkB,IAAI,UAAU,EACrC,KAAK,wBAAwB,IAAI,gBAAgB,EACjD,KAAK,sBAAsB,IAAI,cAAc,EAC7C,KAAK,kBAAkB,IAAI,UAAU,EACrC,KAAK,iBAAiB,IAAI,SAAS,EACnC,KAAK,0BAA0B,IAAI,kBAAkB,GACtD,MAAM,YAAY,CAAC"}
@@ -1,3 +1,3 @@
1
- export { CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, type CheckboxControlProps, type CheckboxGroupProps, type CheckboxHiddenInputProps, type CheckboxIndicatorProps, type CheckboxLabelProps, type CheckboxRootProps, } from './Checkbox';
1
+ export { CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, type CheckboxControlProps, type CheckboxGroupProps, type CheckboxHiddenInputProps, type CheckboxIndicatorProps, type CheckboxLabelProps, type CheckboxRootProps, type CheckboxRootPrimitiveProps, } from './Checkbox';
2
2
  export * as Checkbox from './Checkbox.namespace';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"}
@@ -4,10 +4,10 @@ const require_createSlotRecipeContext = require("../../utils/createSlotRecipeCon
4
4
  const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
5
5
  const require_Icon = require("../Icon/Icon.cjs");
6
6
  const require_withScaleFeedback = require("../../utils/withScaleFeedback.cjs");
7
- let _seed_design_react_checkbox = require("@seed-design/react-checkbox");
8
- let _seed_design_react_radio_group = require("@seed-design/react-radio-group");
9
7
  let _seed_design_react_primitive = require("@seed-design/react-primitive");
8
+ let _seed_design_react_checkbox = require("@seed-design/react-checkbox");
10
9
  let _seed_design_css_recipes_chip = require("@seed-design/css/recipes/chip");
10
+ let _seed_design_react_radio_group = require("@seed-design/react-radio-group");
11
11
  //#region src/components/Chip/Chip.tsx
12
12
  var { withProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_chip.chip);
13
13
  var withStateProps = require_createWithStateProps.createWithStateProps([{
@@ -17,8 +17,13 @@ var withStateProps = require_createWithStateProps.createWithStateProps([{
17
17
  useContext: _seed_design_react_radio_group.useRadioGroupItemContext,
18
18
  strict: false
19
19
  }]);
20
- var ChipRoot = require_Icon.withIconRequired(require_withScaleFeedback.withScaleFeedback(withProvider(_seed_design_react_primitive.Primitive.button, "root")), (props) => props.layout === "iconOnly");
21
- ChipRoot.displayName = "Chip.Root";
20
+ var ChipButton = require_Icon.withIconRequired(require_withScaleFeedback.withScaleFeedback(withProvider(_seed_design_react_primitive.Primitive.button, "root")), (props) => props.layout === "iconOnly");
21
+ ChipButton.displayName = "Chip.Button";
22
+ var ChipToggle = require_Icon.withIconRequired(require_withScaleFeedback.withScaleFeedback(withProvider(_seed_design_react_checkbox.Checkbox.Root, "root")), (props) => props.layout === "iconOnly");
23
+ ChipToggle.displayName = "Chip.Toggle";
24
+ var ChipRadioRoot = _seed_design_react_radio_group.RadioGroup.Root;
25
+ var ChipRadioItem = require_Icon.withIconRequired(require_withScaleFeedback.withScaleFeedback(withProvider(_seed_design_react_radio_group.RadioGroup.Item, "root")), (props) => props.layout === "iconOnly");
26
+ ChipRadioItem.displayName = "Chip.RadioItem";
22
27
  var ChipLabel = withContext(withStateProps(_seed_design_react_primitive.Primitive.span), "label");
23
28
  ChipLabel.displayName = "Chip.Label";
24
29
  var ChipPrefixIcon = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "prefixIcon");
@@ -28,8 +33,11 @@ ChipPrefixAvatar.displayName = "Chip.PrefixAvatar";
28
33
  var ChipSuffixIcon = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "suffixIcon");
29
34
  ChipSuffixIcon.displayName = "Chip.SuffixIcon";
30
35
  //#endregion
36
+ exports.ChipButton = ChipButton;
31
37
  exports.ChipLabel = ChipLabel;
32
38
  exports.ChipPrefixAvatar = ChipPrefixAvatar;
33
39
  exports.ChipPrefixIcon = ChipPrefixIcon;
34
- exports.ChipRoot = ChipRoot;
40
+ exports.ChipRadioItem = ChipRadioItem;
41
+ exports.ChipRadioRoot = ChipRadioRoot;
35
42
  exports.ChipSuffixIcon = ChipSuffixIcon;
43
+ exports.ChipToggle = ChipToggle;
@@ -1,9 +1,20 @@
1
1
  import { ChipVariantProps } from '@seed-design/css/recipes/chip';
2
2
  import { PrimitiveProps } from '@seed-design/react-primitive';
3
+ import { Checkbox as CheckboxPrimitive } from '@seed-design/react-checkbox';
4
+ import { RadioGroup as RadioGroupPrimitive } from '@seed-design/react-radio-group';
3
5
  import type * as React from "react";
4
- export interface ChipRootProps extends PrimitiveProps, ChipVariantProps, React.ButtonHTMLAttributes<HTMLButtonElement> {
6
+ export interface ChipButtonProps extends PrimitiveProps, ChipVariantProps, React.ButtonHTMLAttributes<HTMLButtonElement> {
5
7
  }
6
- export declare const ChipRoot: React.ForwardRefExoticComponent<Omit<ChipRootProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
+ export declare const ChipButton: React.ForwardRefExoticComponent<Omit<ChipButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
+ export interface ChipToggleProps extends ChipVariantProps, CheckboxPrimitive.RootProps {
10
+ }
11
+ export declare const ChipToggle: React.ForwardRefExoticComponent<Omit<ChipToggleProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
12
+ export interface ChipRadioRootProps extends RadioGroupPrimitive.RootProps {
13
+ }
14
+ export declare const ChipRadioRoot: React.ForwardRefExoticComponent<RadioGroupPrimitive.RootProps & React.RefAttributes<HTMLDivElement>>;
15
+ export interface ChipRadioItemProps extends ChipVariantProps, RadioGroupPrimitive.ItemProps {
16
+ }
17
+ export declare const ChipRadioItem: React.ForwardRefExoticComponent<Omit<ChipRadioItemProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
7
18
  export interface ChipLabelProps extends PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
8
19
  }
9
20
  export declare const ChipLabel: React.ForwardRefExoticComponent<ChipLabelProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAgBpC,MAAM,WAAW,aACf,SAAQ,cAAc,EACpB,gBAAgB,EAChB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,QAAQ,+IAGpB,CAAC;AAKF,MAAM,WAAW,cAAe,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAEhG,eAAO,MAAM,SAAS,wFAGrB,CAAC;AAKF,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AACpG,eAAO,MAAM,cAAc,4FAG1B,CAAC;AAKF,MAAM,WAAW,qBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,gBAAgB,8FAG5B,CAAC;AAKF,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AACpG,eAAO,MAAM,cAAc,4FAG1B,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAsB,MAAM,6BAA6B,CAAC;AAChG,OAAO,EACL,UAAU,IAAI,mBAAmB,EAElC,MAAM,gCAAgC,CAAC;AAUxC,MAAM,WAAW,eACf,SAAQ,cAAc,EACpB,gBAAgB,EAChB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,UAAU,iJAGtB,CAAC;AAGF,MAAM,WAAW,eAAgB,SAAQ,gBAAgB,EAAE,iBAAiB,CAAC,SAAS;CAAG;AAEzF,eAAO,MAAM,UAAU,+IAKtB,CAAC;AAGF,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB,CAAC,SAAS;CAAG;AAE5E,eAAO,MAAM,aAAa,sGAA2B,CAAC;AAEtD,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB,EAAE,mBAAmB,CAAC,SAAS;CAAG;AAE9F,eAAO,MAAM,aAAa,kJAKzB,CAAC;AAKF,MAAM,WAAW,cAAe,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAEhG,eAAO,MAAM,SAAS,wFAGrB,CAAC;AAKF,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AACpG,eAAO,MAAM,cAAc,4FAG1B,CAAC;AAKF,MAAM,WAAW,qBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,gBAAgB,8FAG5B,CAAC;AAKF,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AACpG,eAAO,MAAM,cAAc,4FAG1B,CAAC"}
@@ -3,10 +3,10 @@ import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js"
3
3
  import { createWithStateProps } from "../../utils/createWithStateProps.js";
4
4
  import { withIconRequired } from "../Icon/Icon.js";
5
5
  import { withScaleFeedback } from "../../utils/withScaleFeedback.js";
6
- import { useCheckboxContext } from "@seed-design/react-checkbox";
7
- import { useRadioGroupItemContext } from "@seed-design/react-radio-group";
8
6
  import { Primitive } from "@seed-design/react-primitive";
7
+ import { Checkbox, useCheckboxContext } from "@seed-design/react-checkbox";
9
8
  import { chip } from "@seed-design/css/recipes/chip";
9
+ import { RadioGroup, useRadioGroupItemContext } from "@seed-design/react-radio-group";
10
10
  //#region src/components/Chip/Chip.tsx
11
11
  var { withProvider, withContext } = createSlotRecipeContext(chip);
12
12
  var withStateProps = createWithStateProps([{
@@ -16,8 +16,13 @@ var withStateProps = createWithStateProps([{
16
16
  useContext: useRadioGroupItemContext,
17
17
  strict: false
18
18
  }]);
19
- var ChipRoot = withIconRequired(withScaleFeedback(withProvider(Primitive.button, "root")), (props) => props.layout === "iconOnly");
20
- ChipRoot.displayName = "Chip.Root";
19
+ var ChipButton = withIconRequired(withScaleFeedback(withProvider(Primitive.button, "root")), (props) => props.layout === "iconOnly");
20
+ ChipButton.displayName = "Chip.Button";
21
+ var ChipToggle = withIconRequired(withScaleFeedback(withProvider(Checkbox.Root, "root")), (props) => props.layout === "iconOnly");
22
+ ChipToggle.displayName = "Chip.Toggle";
23
+ var ChipRadioRoot = RadioGroup.Root;
24
+ var ChipRadioItem = withIconRequired(withScaleFeedback(withProvider(RadioGroup.Item, "root")), (props) => props.layout === "iconOnly");
25
+ ChipRadioItem.displayName = "Chip.RadioItem";
21
26
  var ChipLabel = withContext(withStateProps(Primitive.span), "label");
22
27
  ChipLabel.displayName = "Chip.Label";
23
28
  var ChipPrefixIcon = withContext(withStateProps(Primitive.div), "prefixIcon");
@@ -27,4 +32,4 @@ ChipPrefixAvatar.displayName = "Chip.PrefixAvatar";
27
32
  var ChipSuffixIcon = withContext(withStateProps(Primitive.div), "suffixIcon");
28
33
  ChipSuffixIcon.displayName = "Chip.SuffixIcon";
29
34
  //#endregion
30
- export { ChipLabel, ChipPrefixAvatar, ChipPrefixIcon, ChipRoot, ChipSuffixIcon };
35
+ export { ChipButton, ChipLabel, ChipPrefixAvatar, ChipPrefixIcon, ChipRadioItem, ChipRadioRoot, ChipSuffixIcon, ChipToggle };
@@ -2,11 +2,14 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
2
2
  const require_Chip = require("./Chip.cjs");
3
3
  //#region src/components/Chip/Chip.namespace.ts
4
4
  var Chip_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
5
+ Button: () => require_Chip.ChipButton,
5
6
  Label: () => require_Chip.ChipLabel,
6
7
  PrefixAvatar: () => require_Chip.ChipPrefixAvatar,
7
8
  PrefixIcon: () => require_Chip.ChipPrefixIcon,
8
- Root: () => require_Chip.ChipRoot,
9
- SuffixIcon: () => require_Chip.ChipSuffixIcon
9
+ RadioItem: () => require_Chip.ChipRadioItem,
10
+ RadioRoot: () => require_Chip.ChipRadioRoot,
11
+ SuffixIcon: () => require_Chip.ChipSuffixIcon,
12
+ Toggle: () => require_Chip.ChipToggle
10
13
  });
11
14
  //#endregion
12
15
  Object.defineProperty(exports, "Chip_namespace_exports", {
@@ -1,2 +1,2 @@
1
- export { ChipRoot as Root, ChipLabel as Label, ChipPrefixIcon as PrefixIcon, ChipPrefixAvatar as PrefixAvatar, ChipSuffixIcon as SuffixIcon, type ChipRootProps as RootProps, type ChipLabelProps as LabelProps, type ChipPrefixIconProps as PrefixIconProps, type ChipPrefixAvatarProps as PrefixAvatarProps, type ChipSuffixIconProps as SuffixIconProps, } from './Chip';
1
+ export { ChipToggle as Toggle, ChipRadioRoot as RadioRoot, ChipRadioItem as RadioItem, type ChipToggleProps as ToggleProps, type ChipRadioRootProps as RadioRootProps, type ChipRadioItemProps as RadioItemProps, ChipButton as Button, ChipLabel as Label, ChipPrefixIcon as PrefixIcon, ChipPrefixAvatar as PrefixAvatar, ChipSuffixIcon as SuffixIcon, type ChipButtonProps as ButtonProps, type ChipLabelProps as LabelProps, type ChipPrefixIconProps as PrefixIconProps, type ChipPrefixAvatarProps as PrefixAvatarProps, type ChipSuffixIconProps as SuffixIconProps, } from './Chip';
2
2
  //# sourceMappingURL=Chip.namespace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,IAAI,IAAI,EAChB,SAAS,IAAI,KAAK,EAClB,cAAc,IAAI,UAAU,EAC5B,gBAAgB,IAAI,YAAY,EAChC,cAAc,IAAI,UAAU,EAC5B,KAAK,aAAa,IAAI,SAAS,EAC/B,KAAK,cAAc,IAAI,UAAU,EACjC,KAAK,mBAAmB,IAAI,eAAe,EAC3C,KAAK,qBAAqB,IAAI,iBAAiB,EAC/C,KAAK,mBAAmB,IAAI,eAAe,GAC5C,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"Chip.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,IAAI,MAAM,EACpB,aAAa,IAAI,SAAS,EAC1B,aAAa,IAAI,SAAS,EAC1B,KAAK,eAAe,IAAI,WAAW,EACnC,KAAK,kBAAkB,IAAI,cAAc,EACzC,KAAK,kBAAkB,IAAI,cAAc,EACzC,UAAU,IAAI,MAAM,EACpB,SAAS,IAAI,KAAK,EAClB,cAAc,IAAI,UAAU,EAC5B,gBAAgB,IAAI,YAAY,EAChC,cAAc,IAAI,UAAU,EAC5B,KAAK,eAAe,IAAI,WAAW,EACnC,KAAK,cAAc,IAAI,UAAU,EACjC,KAAK,mBAAmB,IAAI,eAAe,EAC3C,KAAK,qBAAqB,IAAI,iBAAiB,EAC/C,KAAK,mBAAmB,IAAI,eAAe,GAC5C,MAAM,QAAQ,CAAC"}
@@ -1,12 +1,15 @@
1
1
  import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
2
- import { ChipLabel, ChipPrefixAvatar, ChipPrefixIcon, ChipRoot, ChipSuffixIcon } from "./Chip.js";
2
+ import { ChipButton, ChipLabel, ChipPrefixAvatar, ChipPrefixIcon, ChipRadioItem, ChipRadioRoot, ChipSuffixIcon, ChipToggle } from "./Chip.js";
3
3
  //#region src/components/Chip/Chip.namespace.ts
4
4
  var Chip_namespace_exports = /* @__PURE__ */ __exportAll({
5
+ Button: () => ChipButton,
5
6
  Label: () => ChipLabel,
6
7
  PrefixAvatar: () => ChipPrefixAvatar,
7
8
  PrefixIcon: () => ChipPrefixIcon,
8
- Root: () => ChipRoot,
9
- SuffixIcon: () => ChipSuffixIcon
9
+ RadioItem: () => ChipRadioItem,
10
+ RadioRoot: () => ChipRadioRoot,
11
+ SuffixIcon: () => ChipSuffixIcon,
12
+ Toggle: () => ChipToggle
10
13
  });
11
14
  //#endregion
12
15
  export { Chip_namespace_exports };
@@ -7,8 +7,11 @@ Object.defineProperty(exports, "Chip", {
7
7
  return require_Chip_namespace.Chip_namespace_exports;
8
8
  }
9
9
  });
10
+ exports.ChipButton = require_Chip.ChipButton;
10
11
  exports.ChipLabel = require_Chip.ChipLabel;
11
12
  exports.ChipPrefixAvatar = require_Chip.ChipPrefixAvatar;
12
13
  exports.ChipPrefixIcon = require_Chip.ChipPrefixIcon;
13
- exports.ChipRoot = require_Chip.ChipRoot;
14
+ exports.ChipRadioItem = require_Chip.ChipRadioItem;
15
+ exports.ChipRadioRoot = require_Chip.ChipRadioRoot;
14
16
  exports.ChipSuffixIcon = require_Chip.ChipSuffixIcon;
17
+ exports.ChipToggle = require_Chip.ChipToggle;
@@ -1,3 +1,3 @@
1
- export { ChipRoot, ChipLabel, ChipPrefixIcon, ChipPrefixAvatar, ChipSuffixIcon, type ChipRootProps, type ChipLabelProps, type ChipPrefixIconProps, type ChipPrefixAvatarProps, type ChipSuffixIconProps, } from './Chip';
1
+ export { ChipToggle, ChipRadioRoot, ChipRadioItem, type ChipToggleProps, type ChipRadioRootProps, type ChipRadioItemProps, ChipButton, ChipLabel, ChipPrefixIcon, ChipPrefixAvatar, ChipSuffixIcon, type ChipButtonProps, type ChipLabelProps, type ChipPrefixIconProps, type ChipPrefixAvatarProps, type ChipSuffixIconProps, } from './Chip';
2
2
  export * as Chip from './Chip.namespace';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,QAAQ,CAAC;AAEhB,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,aAAa,EACb,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,UAAU,EACV,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,QAAQ,CAAC;AAEhB,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC"}