@seed-design/react 1.1.24 → 1.1.26

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 (345) hide show
  1. package/lib/_virtual/_rolldown/runtime.cjs +34 -0
  2. package/lib/_virtual/_rolldown/runtime.js +14 -0
  3. package/lib/components/ActionButton/ActionButton.cjs +46 -72
  4. package/lib/components/ActionButton/ActionButton.js +43 -49
  5. package/lib/components/ActionButton/index.cjs +3 -9
  6. package/lib/components/ActionButton/index.js +2 -1
  7. package/lib/components/ActionChip/ActionChip.cjs +13 -16
  8. package/lib/components/ActionChip/ActionChip.js +12 -12
  9. package/lib/components/ActionChip/index.cjs +3 -9
  10. package/lib/components/ActionChip/index.js +2 -1
  11. package/lib/components/ActionSheet/ActionSheet.cjs +61 -56
  12. package/lib/components/ActionSheet/ActionSheet.js +60 -52
  13. package/lib/components/ActionSheet/ActionSheet.namespace.cjs +23 -19
  14. package/lib/components/ActionSheet/ActionSheet.namespace.js +18 -1
  15. package/lib/components/ActionSheet/index.cjs +20 -21
  16. package/lib/components/ActionSheet/index.js +3 -3
  17. package/lib/components/Article/Article.cjs +19 -44
  18. package/lib/components/Article/Article.js +16 -21
  19. package/lib/components/Article/index.cjs +3 -9
  20. package/lib/components/Article/index.js +2 -1
  21. package/lib/components/Avatar/Avatar.cjs +35 -58
  22. package/lib/components/Avatar/Avatar.js +33 -36
  23. package/lib/components/Avatar/Avatar.namespace.cjs +17 -13
  24. package/lib/components/Avatar/Avatar.namespace.js +12 -1
  25. package/lib/components/Avatar/index.cjs +14 -15
  26. package/lib/components/Avatar/index.js +3 -3
  27. package/lib/components/Badge/Badge.cjs +23 -19
  28. package/lib/components/Badge/Badge.js +21 -15
  29. package/lib/components/Badge/index.cjs +3 -9
  30. package/lib/components/Badge/index.js +2 -1
  31. package/lib/components/BottomSheet/BottomSheet.cjs +21 -52
  32. package/lib/components/BottomSheet/BottomSheet.js +20 -48
  33. package/lib/components/BottomSheet/BottomSheet.namespace.cjs +25 -21
  34. package/lib/components/BottomSheet/BottomSheet.namespace.js +20 -2
  35. package/lib/components/BottomSheet/index.cjs +20 -21
  36. package/lib/components/BottomSheet/index.js +3 -3
  37. package/lib/components/BottomSheetHandle/BottomSheetHandle.cjs +24 -19
  38. package/lib/components/BottomSheetHandle/BottomSheetHandle.js +21 -15
  39. package/lib/components/BottomSheetHandle/index.cjs +3 -9
  40. package/lib/components/BottomSheetHandle/index.js +2 -1
  41. package/lib/components/Box/Box.cjs +26 -38
  42. package/lib/components/Box/Box.js +23 -15
  43. package/lib/components/Box/index.cjs +3 -9
  44. package/lib/components/Box/index.js +2 -1
  45. package/lib/components/Callout/Callout.cjs +15 -33
  46. package/lib/components/Callout/Callout.js +14 -29
  47. package/lib/components/Callout/Callout.namespace.cjs +18 -14
  48. package/lib/components/Callout/Callout.namespace.js +13 -1
  49. package/lib/components/Callout/index.cjs +15 -16
  50. package/lib/components/Callout/index.js +3 -3
  51. package/lib/components/Celsius/Celsius.cjs +5 -8
  52. package/lib/components/Celsius/Celsius.js +5 -4
  53. package/lib/components/Celsius/index.cjs +3 -9
  54. package/lib/components/Celsius/index.js +2 -1
  55. package/lib/components/Checkbox/Checkbox.cjs +66 -89
  56. package/lib/components/Checkbox/Checkbox.js +64 -85
  57. package/lib/components/Checkbox/Checkbox.namespace.cjs +17 -13
  58. package/lib/components/Checkbox/Checkbox.namespace.js +12 -1
  59. package/lib/components/Checkbox/index.cjs +14 -15
  60. package/lib/components/Checkbox/index.js +3 -3
  61. package/lib/components/Chip/Chip.cjs +24 -39
  62. package/lib/components/Chip/Chip.js +23 -35
  63. package/lib/components/Chip/Chip.namespace.cjs +17 -13
  64. package/lib/components/Chip/Chip.namespace.js +12 -1
  65. package/lib/components/Chip/index.cjs +14 -15
  66. package/lib/components/Chip/index.js +3 -3
  67. package/lib/components/ChipTabs/ChipTabs.cjs +30 -53
  68. package/lib/components/ChipTabs/ChipTabs.js +28 -49
  69. package/lib/components/ChipTabs/ChipTabs.namespace.cjs +18 -14
  70. package/lib/components/ChipTabs/ChipTabs.namespace.js +13 -1
  71. package/lib/components/ChipTabs/index.cjs +15 -16
  72. package/lib/components/ChipTabs/index.js +3 -3
  73. package/lib/components/Columns/Columns.cjs +34 -55
  74. package/lib/components/Columns/Columns.js +32 -32
  75. package/lib/components/Columns/index.cjs +4 -10
  76. package/lib/components/Columns/index.js +2 -1
  77. package/lib/components/ConsistentWidth/ConsistentWidth.cjs +17 -22
  78. package/lib/components/ConsistentWidth/ConsistentWidth.js +15 -18
  79. package/lib/components/ConsistentWidth/index.cjs +3 -9
  80. package/lib/components/ConsistentWidth/index.js +2 -1
  81. package/lib/components/ContextualFloatingButton/ContextualFloatingButton.cjs +36 -51
  82. package/lib/components/ContextualFloatingButton/ContextualFloatingButton.js +33 -28
  83. package/lib/components/ContextualFloatingButton/index.cjs +3 -9
  84. package/lib/components/ContextualFloatingButton/index.js +2 -1
  85. package/lib/components/ControlChip/ControlChip.cjs +13 -16
  86. package/lib/components/ControlChip/ControlChip.js +12 -12
  87. package/lib/components/ControlChip/index.cjs +3 -9
  88. package/lib/components/ControlChip/index.js +2 -1
  89. package/lib/components/Count/Count.cjs +16 -14
  90. package/lib/components/Count/Count.js +14 -10
  91. package/lib/components/Count/index.cjs +3 -9
  92. package/lib/components/Count/index.js +2 -1
  93. package/lib/components/Dialog/Dialog.cjs +24 -44
  94. package/lib/components/Dialog/Dialog.js +23 -40
  95. package/lib/components/Dialog/Dialog.namespace.cjs +22 -18
  96. package/lib/components/Dialog/Dialog.namespace.js +17 -1
  97. package/lib/components/Dialog/index.cjs +19 -20
  98. package/lib/components/Dialog/index.js +3 -3
  99. package/lib/components/Divider/Divider.cjs +32 -68
  100. package/lib/components/Divider/Divider.js +30 -45
  101. package/lib/components/Divider/index.cjs +3 -9
  102. package/lib/components/Divider/index.js +2 -1
  103. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +65 -43
  104. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +64 -39
  105. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.cjs +24 -20
  106. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.js +19 -1
  107. package/lib/components/ExtendedActionSheet/index.cjs +21 -22
  108. package/lib/components/ExtendedActionSheet/index.js +3 -3
  109. package/lib/components/ExtendedFab/ExtendedFab.cjs +15 -17
  110. package/lib/components/ExtendedFab/ExtendedFab.js +14 -13
  111. package/lib/components/ExtendedFab/index.cjs +3 -9
  112. package/lib/components/ExtendedFab/index.js +2 -1
  113. package/lib/components/Fab/Fab.cjs +12 -12
  114. package/lib/components/Fab/Fab.js +11 -8
  115. package/lib/components/Fab/index.cjs +3 -9
  116. package/lib/components/Fab/index.js +2 -1
  117. package/lib/components/Field/Field.cjs +62 -107
  118. package/lib/components/Field/Field.js +60 -103
  119. package/lib/components/Field/Field.namespace.cjs +21 -17
  120. package/lib/components/Field/Field.namespace.js +16 -1
  121. package/lib/components/Field/index.cjs +18 -19
  122. package/lib/components/Field/index.js +3 -3
  123. package/lib/components/FieldButton/FieldButton.cjs +94 -177
  124. package/lib/components/FieldButton/FieldButton.js +91 -154
  125. package/lib/components/FieldButton/FieldButton.namespace.cjs +30 -26
  126. package/lib/components/FieldButton/FieldButton.namespace.js +25 -1
  127. package/lib/components/FieldButton/index.cjs +27 -28
  128. package/lib/components/FieldButton/index.js +3 -3
  129. package/lib/components/Flex/Flex.cjs +21 -45
  130. package/lib/components/Flex/Flex.js +19 -22
  131. package/lib/components/Flex/index.cjs +3 -9
  132. package/lib/components/Flex/index.js +2 -1
  133. package/lib/components/Float/Float.cjs +70 -104
  134. package/lib/components/Float/Float.js +68 -81
  135. package/lib/components/Float/index.cjs +3 -9
  136. package/lib/components/Float/index.js +2 -1
  137. package/lib/components/FloatingActionButton/FloatingActionButton.cjs +12 -15
  138. package/lib/components/FloatingActionButton/FloatingActionButton.js +11 -11
  139. package/lib/components/FloatingActionButton/FloatingActionButton.namespace.cjs +15 -11
  140. package/lib/components/FloatingActionButton/FloatingActionButton.namespace.js +10 -1
  141. package/lib/components/FloatingActionButton/index.cjs +12 -13
  142. package/lib/components/FloatingActionButton/index.js +3 -3
  143. package/lib/components/HelpBubble/HelpBubble.cjs +51 -81
  144. package/lib/components/HelpBubble/HelpBubble.js +49 -77
  145. package/lib/components/HelpBubble/HelpBubble.namespace.cjs +23 -19
  146. package/lib/components/HelpBubble/HelpBubble.namespace.js +18 -1
  147. package/lib/components/HelpBubble/index.cjs +20 -21
  148. package/lib/components/HelpBubble/index.js +3 -3
  149. package/lib/components/Icon/Icon.cjs +99 -120
  150. package/lib/components/Icon/Icon.js +98 -116
  151. package/lib/components/Icon/index.cjs +5 -11
  152. package/lib/components/Icon/index.js +2 -1
  153. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.cjs +50 -71
  154. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.js +48 -48
  155. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.cjs +14 -10
  156. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.js +9 -1
  157. package/lib/components/IdentityPlaceholder/index.cjs +11 -12
  158. package/lib/components/IdentityPlaceholder/index.js +3 -3
  159. package/lib/components/Inline/Inline.cjs +21 -42
  160. package/lib/components/Inline/Inline.js +19 -19
  161. package/lib/components/Inline/index.cjs +3 -9
  162. package/lib/components/Inline/index.js +2 -1
  163. package/lib/components/InlineBanner/InlineBanner.cjs +33 -36
  164. package/lib/components/InlineBanner/InlineBanner.js +32 -32
  165. package/lib/components/InlineBanner/InlineBanner.namespace.cjs +18 -14
  166. package/lib/components/InlineBanner/InlineBanner.namespace.js +13 -1
  167. package/lib/components/InlineBanner/index.cjs +15 -16
  168. package/lib/components/InlineBanner/index.js +3 -3
  169. package/lib/components/LinkContent/LinkContent.cjs +13 -15
  170. package/lib/components/LinkContent/LinkContent.js +12 -11
  171. package/lib/components/LinkContent/index.cjs +3 -9
  172. package/lib/components/LinkContent/index.js +2 -1
  173. package/lib/components/List/List.cjs +46 -63
  174. package/lib/components/List/List.js +45 -59
  175. package/lib/components/List/List.namespace.cjs +19 -15
  176. package/lib/components/List/List.namespace.js +14 -1
  177. package/lib/components/List/ListHeader.cjs +18 -18
  178. package/lib/components/List/ListHeader.js +16 -14
  179. package/lib/components/List/index.cjs +18 -19
  180. package/lib/components/List/index.js +4 -4
  181. package/lib/components/LoadingIndicator/LoadingIndicator.cjs +24 -26
  182. package/lib/components/LoadingIndicator/LoadingIndicator.js +23 -22
  183. package/lib/components/LoadingIndicator/index.cjs +3 -9
  184. package/lib/components/LoadingIndicator/index.js +2 -1
  185. package/lib/components/LoadingIndicator/usePendingButton.cjs +22 -46
  186. package/lib/components/LoadingIndicator/usePendingButton.js +20 -23
  187. package/lib/components/MannerTemp/MannerTemp.cjs +20 -18
  188. package/lib/components/MannerTemp/MannerTemp.js +19 -14
  189. package/lib/components/MannerTemp/MannerTempEmote.cjs +130 -96
  190. package/lib/components/MannerTemp/MannerTempEmote.js +129 -92
  191. package/lib/components/MannerTemp/index.cjs +5 -11
  192. package/lib/components/MannerTemp/index.js +3 -2
  193. package/lib/components/MannerTempBadge/MannerTempBadge.cjs +9 -12
  194. package/lib/components/MannerTempBadge/MannerTempBadge.js +8 -8
  195. package/lib/components/MannerTempBadge/index.cjs +3 -9
  196. package/lib/components/MannerTempBadge/index.js +2 -1
  197. package/lib/components/MenuSheet/MenuSheet.cjs +61 -106
  198. package/lib/components/MenuSheet/MenuSheet.js +59 -83
  199. package/lib/components/MenuSheet/MenuSheet.namespace.cjs +24 -20
  200. package/lib/components/MenuSheet/MenuSheet.namespace.js +19 -1
  201. package/lib/components/MenuSheet/index.cjs +21 -22
  202. package/lib/components/MenuSheet/index.js +3 -3
  203. package/lib/components/NotificationBadge/NotificationBadge.cjs +29 -41
  204. package/lib/components/NotificationBadge/NotificationBadge.js +27 -19
  205. package/lib/components/NotificationBadge/index.cjs +4 -10
  206. package/lib/components/NotificationBadge/index.js +2 -1
  207. package/lib/components/PageBanner/PageBanner.cjs +32 -51
  208. package/lib/components/PageBanner/PageBanner.js +30 -47
  209. package/lib/components/PageBanner/PageBanner.namespace.cjs +19 -15
  210. package/lib/components/PageBanner/PageBanner.namespace.js +14 -1
  211. package/lib/components/PageBanner/index.cjs +16 -17
  212. package/lib/components/PageBanner/index.js +3 -3
  213. package/lib/components/Portal/index.cjs +7 -10
  214. package/lib/components/Portal/index.js +2 -1
  215. package/lib/components/ProgressCircle/ProgressCircle.cjs +11 -23
  216. package/lib/components/ProgressCircle/ProgressCircle.js +10 -19
  217. package/lib/components/ProgressCircle/ProgressCircle.namespace.cjs +15 -11
  218. package/lib/components/ProgressCircle/ProgressCircle.namespace.js +10 -1
  219. package/lib/components/ProgressCircle/index.cjs +12 -13
  220. package/lib/components/ProgressCircle/index.js +3 -3
  221. package/lib/components/PullToRefresh/PullToRefresh.cjs +11 -20
  222. package/lib/components/PullToRefresh/PullToRefresh.js +10 -16
  223. package/lib/components/PullToRefresh/PullToRefresh.namespace.cjs +16 -15
  224. package/lib/components/PullToRefresh/PullToRefresh.namespace.js +12 -2
  225. package/lib/components/PullToRefresh/index.cjs +18 -16
  226. package/lib/components/PullToRefresh/index.js +4 -4
  227. package/lib/components/RadioGroup/RadioGroup.cjs +66 -72
  228. package/lib/components/RadioGroup/RadioGroup.js +64 -68
  229. package/lib/components/RadioGroup/RadioGroup.namespace.cjs +18 -14
  230. package/lib/components/RadioGroup/RadioGroup.namespace.js +13 -1
  231. package/lib/components/RadioGroup/index.cjs +15 -16
  232. package/lib/components/RadioGroup/index.js +3 -3
  233. package/lib/components/ReactionButton/ReactionButton.cjs +28 -47
  234. package/lib/components/ReactionButton/ReactionButton.js +25 -24
  235. package/lib/components/ReactionButton/index.cjs +3 -9
  236. package/lib/components/ReactionButton/index.js +2 -1
  237. package/lib/components/ResponsivePair/ResponsivePair.cjs +34 -57
  238. package/lib/components/ResponsivePair/ResponsivePair.js +32 -34
  239. package/lib/components/ResponsivePair/index.cjs +3 -9
  240. package/lib/components/ResponsivePair/index.js +2 -1
  241. package/lib/components/ScrollFog/ScrollFog.cjs +49 -61
  242. package/lib/components/ScrollFog/ScrollFog.js +47 -57
  243. package/lib/components/ScrollFog/index.cjs +3 -9
  244. package/lib/components/ScrollFog/index.js +2 -1
  245. package/lib/components/SegmentedControl/SegmentedControl.cjs +13 -22
  246. package/lib/components/SegmentedControl/SegmentedControl.js +12 -18
  247. package/lib/components/SegmentedControl/SegmentedControl.namespace.cjs +16 -12
  248. package/lib/components/SegmentedControl/SegmentedControl.namespace.js +11 -1
  249. package/lib/components/SegmentedControl/index.cjs +13 -14
  250. package/lib/components/SegmentedControl/index.js +3 -3
  251. package/lib/components/SelectBox/CheckSelectBox.cjs +29 -35
  252. package/lib/components/SelectBox/CheckSelectBox.js +28 -31
  253. package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +17 -13
  254. package/lib/components/SelectBox/CheckSelectBox.namespace.js +12 -1
  255. package/lib/components/SelectBox/RadioSelectBox.cjs +19 -33
  256. package/lib/components/SelectBox/RadioSelectBox.js +18 -29
  257. package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +17 -13
  258. package/lib/components/SelectBox/RadioSelectBox.namespace.js +12 -1
  259. package/lib/components/SelectBox/index.cjs +27 -23
  260. package/lib/components/SelectBox/index.js +5 -6
  261. package/lib/components/Skeleton/Skeleton.cjs +10 -13
  262. package/lib/components/Skeleton/Skeleton.js +9 -9
  263. package/lib/components/Skeleton/index.cjs +3 -9
  264. package/lib/components/Skeleton/index.js +2 -1
  265. package/lib/components/Slider/Slider.cjs +69 -90
  266. package/lib/components/Slider/Slider.js +67 -86
  267. package/lib/components/Slider/Slider.namespace.cjs +25 -21
  268. package/lib/components/Slider/Slider.namespace.js +20 -1
  269. package/lib/components/Slider/index.cjs +22 -23
  270. package/lib/components/Slider/index.js +3 -3
  271. package/lib/components/Snackbar/Snackbar.cjs +38 -55
  272. package/lib/components/Snackbar/Snackbar.js +37 -51
  273. package/lib/components/Snackbar/Snackbar.namespace.cjs +22 -18
  274. package/lib/components/Snackbar/Snackbar.namespace.js +17 -1
  275. package/lib/components/Snackbar/index.cjs +26 -24
  276. package/lib/components/Snackbar/index.js +5 -5
  277. package/lib/components/Snackbar/useSnackbarAdapter.cjs +22 -26
  278. package/lib/components/Snackbar/useSnackbarAdapter.js +21 -22
  279. package/lib/components/Stack/Stack.cjs +32 -35
  280. package/lib/components/Stack/Stack.js +30 -12
  281. package/lib/components/Stack/index.cjs +5 -11
  282. package/lib/components/Stack/index.js +2 -1
  283. package/lib/components/Switch/Switch.cjs +45 -63
  284. package/lib/components/Switch/Switch.js +42 -59
  285. package/lib/components/Switch/Switch.namespace.cjs +17 -13
  286. package/lib/components/Switch/Switch.namespace.js +12 -1
  287. package/lib/components/Switch/index.cjs +14 -15
  288. package/lib/components/Switch/index.js +3 -3
  289. package/lib/components/Tabs/Tabs.cjs +15 -33
  290. package/lib/components/Tabs/Tabs.js +14 -29
  291. package/lib/components/Tabs/Tabs.namespace.cjs +20 -19
  292. package/lib/components/Tabs/Tabs.namespace.js +16 -2
  293. package/lib/components/Tabs/index.cjs +22 -20
  294. package/lib/components/Tabs/index.js +4 -4
  295. package/lib/components/TagGroup/TagGroup.cjs +44 -35
  296. package/lib/components/TagGroup/TagGroup.js +42 -31
  297. package/lib/components/TagGroup/TagGroup.namespace.cjs +14 -10
  298. package/lib/components/TagGroup/TagGroup.namespace.js +9 -1
  299. package/lib/components/TagGroup/index.cjs +11 -12
  300. package/lib/components/TagGroup/index.js +3 -3
  301. package/lib/components/Text/Text.cjs +49 -85
  302. package/lib/components/Text/Text.js +47 -81
  303. package/lib/components/Text/index.cjs +3 -9
  304. package/lib/components/Text/index.js +2 -1
  305. package/lib/components/TextField/TextField.cjs +82 -122
  306. package/lib/components/TextField/TextField.js +80 -118
  307. package/lib/components/TextField/TextField.namespace.cjs +19 -15
  308. package/lib/components/TextField/TextField.namespace.js +14 -1
  309. package/lib/components/TextField/index.cjs +18 -19
  310. package/lib/components/TextField/index.js +4 -4
  311. package/lib/components/TextField/memoize.cjs +10 -15
  312. package/lib/components/TextField/memoize.js +10 -11
  313. package/lib/components/TextField/useTextFieldWithGraphemes.cjs +40 -50
  314. package/lib/components/TextField/useTextFieldWithGraphemes.js +39 -46
  315. package/lib/components/ToggleButton/ToggleButton.cjs +31 -47
  316. package/lib/components/ToggleButton/ToggleButton.js +28 -24
  317. package/lib/components/ToggleButton/index.cjs +3 -9
  318. package/lib/components/ToggleButton/index.js +2 -1
  319. package/lib/components/VisuallyHidden/VisuallyHidden.cjs +18 -14
  320. package/lib/components/VisuallyHidden/VisuallyHidden.js +17 -10
  321. package/lib/components/VisuallyHidden/index.cjs +3 -9
  322. package/lib/components/VisuallyHidden/index.js +2 -1
  323. package/lib/components/index.cjs +554 -401
  324. package/lib/components/index.js +100 -129
  325. package/lib/components/private/Icon.cjs +15 -15
  326. package/lib/components/private/Icon.js +14 -11
  327. package/lib/components/private/useDismissible.cjs +54 -73
  328. package/lib/components/private/useDismissible.js +53 -48
  329. package/lib/index.cjs +554 -401
  330. package/lib/index.js +100 -129
  331. package/lib/primitive.cjs +73 -55
  332. package/lib/primitive.js +12 -12
  333. package/lib/utils/createRecipeContext.cjs +46 -37
  334. package/lib/utils/createRecipeContext.js +44 -33
  335. package/lib/utils/createSlotRecipeContext.cjs +91 -74
  336. package/lib/utils/createSlotRecipeContext.js +89 -70
  337. package/lib/utils/createWithStateProps.cjs +23 -25
  338. package/lib/utils/createWithStateProps.js +22 -21
  339. package/lib/utils/splitMultipleVariantsProps.cjs +16 -29
  340. package/lib/utils/splitMultipleVariantsProps.js +16 -25
  341. package/lib/utils/styled.cjs +141 -273
  342. package/lib/utils/styled.js +141 -269
  343. package/lib/vars.cjs +7 -11
  344. package/lib/vars.js +1 -1
  345. package/package.json +2 -2
@@ -0,0 +1,34 @@
1
+ "use client";
2
+ //#region \0rolldown/runtime.js
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __exportAll = (all, no_symbols) => {
10
+ let target = {};
11
+ for (var name in all) __defProp(target, name, {
12
+ get: all[name],
13
+ enumerable: true
14
+ });
15
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
16
+ return target;
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
20
+ key = keys[i];
21
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
22
+ get: ((k) => from[k]).bind(null, key),
23
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
24
+ });
25
+ }
26
+ return to;
27
+ };
28
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
29
+ value: mod,
30
+ enumerable: true
31
+ }) : target, mod));
32
+ //#endregion
33
+ exports.__exportAll = __exportAll;
34
+ exports.__toESM = __toESM;
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ //#region \0rolldown/runtime.js
3
+ var __defProp = Object.defineProperty;
4
+ var __exportAll = (all, no_symbols) => {
5
+ let target = {};
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
11
+ return target;
12
+ };
13
+ //#endregion
14
+ export { __exportAll };
@@ -1,74 +1,48 @@
1
- 'use client';
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const jsxRuntime = require('react/jsx-runtime');
7
- const actionButton = require('@seed-design/css/recipes/action-button');
8
- const reactPrimitive = require('@seed-design/react-primitive');
9
- const clsx = require('clsx');
10
- const React = require('react');
11
- const styled = require('../../utils/styled.cjs');
12
- const Icon = require('../Icon/Icon.cjs');
13
- const usePendingButton = require('../LoadingIndicator/usePendingButton.cjs');
14
- const vars = require('@seed-design/css/vars');
15
-
16
- function _interopNamespaceDefault(e) {
17
- const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
18
- if (e) {
19
- for (const k in e) {
20
- if (k !== 'default') {
21
- const d = Object.getOwnPropertyDescriptor(e, k);
22
- Object.defineProperty(n, k, d.get ? d : {
23
- enumerable: true,
24
- get: () => e[k]
25
- });
26
- }
27
- }
28
- }
29
- n.default = e;
30
- return Object.freeze(n);
31
- }
32
-
33
- const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
34
-
35
- const ActionButton = React__namespace.forwardRef(
36
- ({
37
- variant,
38
- size,
39
- loading = false,
40
- layout = "withText",
41
- color,
42
- fontWeight,
43
- className,
44
- children,
45
- ...otherProps
46
- }, ref) => {
47
- const recipeClassName = actionButton.actionButton({ variant, layout, size });
48
- const api = usePendingButton.usePendingButton({ loading, disabled: otherProps.disabled });
49
- const { style, restProps } = styled.useStyleProps(otherProps);
50
- if (layout === "iconOnly" && !(otherProps["aria-label"] || otherProps["aria-labelledby"])) {
51
- console.warn(
52
- "When layout is 'iconOnly', 'aria-label' or 'aria-labelledby' should be provided."
53
- );
54
- }
55
- return /* @__PURE__ */ jsxRuntime.jsx(usePendingButton.PendingButtonProvider, { value: api, children: /* @__PURE__ */ jsxRuntime.jsx(Icon.IconRequired, { enabled: layout === "iconOnly", children: /* @__PURE__ */ jsxRuntime.jsx(
56
- reactPrimitive.Primitive.button,
57
- {
58
- ref,
59
- className: clsx(recipeClassName, className),
60
- style: {
61
- ...style,
62
- ...color && { "--seed-box-color": styled.handleColor(color) },
63
- ...fontWeight && { "--seed-font-weight": vars.vars.$fontWeight[fontWeight] }
64
- },
65
- ...api.stateProps,
66
- ...restProps,
67
- children
68
- }
69
- ) }) });
70
- }
71
- );
1
+ "use client";
2
+ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
+ const require_styled = require("../../utils/styled.cjs");
4
+ const require_Icon = require("../Icon/Icon.cjs");
5
+ const require_usePendingButton = require("../LoadingIndicator/usePendingButton.cjs");
6
+ let _seed_design_css_vars = require("@seed-design/css/vars");
7
+ let _seed_design_css_recipes_action_button = require("@seed-design/css/recipes/action-button");
8
+ let _seed_design_react_primitive = require("@seed-design/react-primitive");
9
+ let clsx = require("clsx");
10
+ clsx = require_runtime.__toESM(clsx);
11
+ let react = require("react");
12
+ react = require_runtime.__toESM(react);
13
+ let react_jsx_runtime = require("react/jsx-runtime");
14
+ //#region src/components/ActionButton/ActionButton.tsx
15
+ var ActionButton = react.forwardRef(({ variant, size, loading = false, layout = "withText", color, fontWeight, className, children, ...otherProps }, ref) => {
16
+ const recipeClassName = (0, _seed_design_css_recipes_action_button.actionButton)({
17
+ variant,
18
+ layout,
19
+ size
20
+ });
21
+ const api = require_usePendingButton.usePendingButton({
22
+ loading,
23
+ disabled: otherProps.disabled
24
+ });
25
+ const { style, restProps } = require_styled.useStyleProps(otherProps);
26
+ if (layout === "iconOnly" && !(otherProps["aria-label"] || otherProps["aria-labelledby"])) console.warn("When layout is 'iconOnly', 'aria-label' or 'aria-labelledby' should be provided.");
27
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_usePendingButton.PendingButtonProvider, {
28
+ value: api,
29
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.IconRequired, {
30
+ enabled: layout === "iconOnly",
31
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.button, {
32
+ ref,
33
+ className: (0, clsx.default)(recipeClassName, className),
34
+ style: {
35
+ ...style,
36
+ ...color && { "--seed-box-color": require_styled.handleColor(color) },
37
+ ...fontWeight && { "--seed-font-weight": _seed_design_css_vars.vars.$fontWeight[fontWeight] }
38
+ },
39
+ ...api.stateProps,
40
+ ...restProps,
41
+ children
42
+ })
43
+ })
44
+ });
45
+ });
72
46
  ActionButton.displayName = "ActionButton";
73
-
47
+ //#endregion
74
48
  exports.ActionButton = ActionButton;
@@ -1,51 +1,45 @@
1
- 'use client';
2
- import { jsx } from 'react/jsx-runtime';
3
- import { actionButton } from '@seed-design/css/recipes/action-button';
4
- import { Primitive } from '@seed-design/react-primitive';
5
- import clsx from 'clsx';
6
- import * as React from 'react';
7
- import { useStyleProps, handleColor } from '../../utils/styled.js';
8
- import { IconRequired } from '../Icon/Icon.js';
9
- import { usePendingButton, PendingButtonProvider } from '../LoadingIndicator/usePendingButton.js';
10
- import { vars } from '@seed-design/css/vars';
11
-
12
- const ActionButton = React.forwardRef(
13
- ({
14
- variant,
15
- size,
16
- loading = false,
17
- layout = "withText",
18
- color,
19
- fontWeight,
20
- className,
21
- children,
22
- ...otherProps
23
- }, ref) => {
24
- const recipeClassName = actionButton({ variant, layout, size });
25
- const api = usePendingButton({ loading, disabled: otherProps.disabled });
26
- const { style, restProps } = useStyleProps(otherProps);
27
- if (layout === "iconOnly" && !(otherProps["aria-label"] || otherProps["aria-labelledby"])) {
28
- console.warn(
29
- "When layout is 'iconOnly', 'aria-label' or 'aria-labelledby' should be provided."
30
- );
31
- }
32
- return /* @__PURE__ */ jsx(PendingButtonProvider, { value: api, children: /* @__PURE__ */ jsx(IconRequired, { enabled: layout === "iconOnly", children: /* @__PURE__ */ jsx(
33
- Primitive.button,
34
- {
35
- ref,
36
- className: clsx(recipeClassName, className),
37
- style: {
38
- ...style,
39
- ...color && { "--seed-box-color": handleColor(color) },
40
- ...fontWeight && { "--seed-font-weight": vars.$fontWeight[fontWeight] }
41
- },
42
- ...api.stateProps,
43
- ...restProps,
44
- children
45
- }
46
- ) }) });
47
- }
48
- );
1
+ "use client";
2
+ import { handleColor, useStyleProps } from "../../utils/styled.js";
3
+ import { IconRequired } from "../Icon/Icon.js";
4
+ import { PendingButtonProvider, usePendingButton } from "../LoadingIndicator/usePendingButton.js";
5
+ import { vars } from "@seed-design/css/vars";
6
+ import { actionButton } from "@seed-design/css/recipes/action-button";
7
+ import { Primitive } from "@seed-design/react-primitive";
8
+ import clsx from "clsx";
9
+ import * as React$1 from "react";
10
+ import { jsx } from "react/jsx-runtime";
11
+ //#region src/components/ActionButton/ActionButton.tsx
12
+ var ActionButton = React$1.forwardRef(({ variant, size, loading = false, layout = "withText", color, fontWeight, className, children, ...otherProps }, ref) => {
13
+ const recipeClassName = actionButton({
14
+ variant,
15
+ layout,
16
+ size
17
+ });
18
+ const api = usePendingButton({
19
+ loading,
20
+ disabled: otherProps.disabled
21
+ });
22
+ const { style, restProps } = useStyleProps(otherProps);
23
+ if (layout === "iconOnly" && !(otherProps["aria-label"] || otherProps["aria-labelledby"])) console.warn("When layout is 'iconOnly', 'aria-label' or 'aria-labelledby' should be provided.");
24
+ return /* @__PURE__ */ jsx(PendingButtonProvider, {
25
+ value: api,
26
+ children: /* @__PURE__ */ jsx(IconRequired, {
27
+ enabled: layout === "iconOnly",
28
+ children: /* @__PURE__ */ jsx(Primitive.button, {
29
+ ref,
30
+ className: clsx(recipeClassName, className),
31
+ style: {
32
+ ...style,
33
+ ...color && { "--seed-box-color": handleColor(color) },
34
+ ...fontWeight && { "--seed-font-weight": vars.$fontWeight[fontWeight] }
35
+ },
36
+ ...api.stateProps,
37
+ ...restProps,
38
+ children
39
+ })
40
+ })
41
+ });
42
+ });
49
43
  ActionButton.displayName = "ActionButton";
50
-
44
+ //#endregion
51
45
  export { ActionButton };
@@ -1,9 +1,3 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const ActionButton = require('./ActionButton.cjs');
6
-
7
-
8
-
9
- exports.ActionButton = ActionButton.ActionButton;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_ActionButton = require("./ActionButton.cjs");
3
+ exports.ActionButton = require_ActionButton.ActionButton;
@@ -1 +1,2 @@
1
- export { ActionButton } from './ActionButton.js';
1
+ import { ActionButton } from "./ActionButton.js";
2
+ export { ActionButton };
@@ -1,18 +1,15 @@
1
- 'use client';
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const actionChip = require('@seed-design/css/recipes/action-chip');
7
- const reactPrimitive = require('@seed-design/react-primitive');
8
- const createRecipeContext = require('../../utils/createRecipeContext.cjs');
9
- const Icon = require('../Icon/Icon.cjs');
10
-
11
- const { withContext } = createRecipeContext.createRecipeContext(actionChip.actionChip);
12
- const ActionChip = Icon.withIconRequired(
13
- withContext(reactPrimitive.Primitive.button),
14
- (props) => props.layout === "iconOnly"
15
- );
1
+ "use client";
2
+ require("../../_virtual/_rolldown/runtime.cjs");
3
+ const require_Icon = require("../Icon/Icon.cjs");
4
+ const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
5
+ let _seed_design_react_primitive = require("@seed-design/react-primitive");
6
+ let _seed_design_css_recipes_action_chip = require("@seed-design/css/recipes/action-chip");
7
+ //#region src/components/ActionChip/ActionChip.tsx
8
+ var { withContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_action_chip.actionChip);
9
+ /**
10
+ * @deprecated ActionChip is deprecated. Use Chip.Button with variant="solid" instead.
11
+ */
12
+ var ActionChip = require_Icon.withIconRequired(withContext(_seed_design_react_primitive.Primitive.button), (props) => props.layout === "iconOnly");
16
13
  ActionChip.displayName = "ActionChip";
17
-
14
+ //#endregion
18
15
  exports.ActionChip = ActionChip;
@@ -1,14 +1,14 @@
1
- 'use client';
2
- import { actionChip } from '@seed-design/css/recipes/action-chip';
3
- import { Primitive } from '@seed-design/react-primitive';
4
- import { createRecipeContext } from '../../utils/createRecipeContext.js';
5
- import { withIconRequired } from '../Icon/Icon.js';
6
-
7
- const { withContext } = createRecipeContext(actionChip);
8
- const ActionChip = withIconRequired(
9
- withContext(Primitive.button),
10
- (props) => props.layout === "iconOnly"
11
- );
1
+ "use client";
2
+ import { withIconRequired } from "../Icon/Icon.js";
3
+ import { createRecipeContext } from "../../utils/createRecipeContext.js";
4
+ import { Primitive } from "@seed-design/react-primitive";
5
+ import { actionChip } from "@seed-design/css/recipes/action-chip";
6
+ //#region src/components/ActionChip/ActionChip.tsx
7
+ var { withContext } = createRecipeContext(actionChip);
8
+ /**
9
+ * @deprecated ActionChip is deprecated. Use Chip.Button with variant="solid" instead.
10
+ */
11
+ var ActionChip = withIconRequired(withContext(Primitive.button), (props) => props.layout === "iconOnly");
12
12
  ActionChip.displayName = "ActionChip";
13
-
13
+ //#endregion
14
14
  export { ActionChip };
@@ -1,9 +1,3 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const ActionChip = require('./ActionChip.cjs');
6
-
7
-
8
-
9
- exports.ActionChip = ActionChip.ActionChip;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_ActionChip = require("./ActionChip.cjs");
3
+ exports.ActionChip = require_ActionChip.ActionChip;
@@ -1 +1,2 @@
1
- export { ActionChip } from './ActionChip.js';
1
+ import { ActionChip } from "./ActionChip.js";
2
+ export { ActionChip };
@@ -1,59 +1,64 @@
1
- 'use client';
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const actionSheet = require('@seed-design/css/recipes/action-sheet');
7
- const actionSheetItem = require('@seed-design/css/recipes/action-sheet-item');
8
- const reactDialog = require('@seed-design/react-dialog');
9
- const reactPrimitive = require('@seed-design/react-primitive');
10
- const createRecipeContext = require('../../utils/createRecipeContext.cjs');
11
- const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
12
- const createWithStateProps = require('../../utils/createWithStateProps.cjs');
13
-
14
- const { withRootProvider, withContext } = createSlotRecipeContext.createSlotRecipeContext(actionSheet.actionSheet);
15
- const { withContext: withItemContext } = createRecipeContext.createRecipeContext(actionSheetItem.actionSheetItem);
16
- const withStateProps = createWithStateProps.createWithStateProps([reactDialog.useDialogContext]);
17
- const ActionSheetRoot = withRootProvider(reactDialog.Dialog.Root, {
18
- defaultProps: {
19
- lazyMount: true,
20
- unmountOnExit: true
21
- }
22
- });
23
- const ActionSheetTrigger = reactDialog.Dialog.Trigger;
24
- const ActionSheetPositioner = withContext(
25
- reactDialog.Dialog.Positioner,
26
- "positioner"
27
- );
28
- const ActionSheetBackdrop = withContext(
29
- reactDialog.Dialog.Backdrop,
30
- "backdrop"
31
- );
32
- const ActionSheetContent = withContext(
33
- reactDialog.Dialog.Content,
34
- "content"
35
- );
36
- const ActionSheetHeader = withContext(
37
- withStateProps(reactPrimitive.Primitive.div),
38
- "header"
39
- );
40
- const ActionSheetTitle = withContext(
41
- withStateProps(reactPrimitive.Primitive.h2),
42
- "title"
43
- );
44
- const ActionSheetDescription = withContext(withStateProps(reactPrimitive.Primitive.p), "description");
45
- const ActionSheetList = withContext(
46
- withStateProps(reactPrimitive.Primitive.div),
47
- "list"
48
- );
49
- const ActionSheetItem = withItemContext(
50
- withStateProps(reactPrimitive.Primitive.button)
51
- );
52
- const ActionSheetCloseButton = withContext(
53
- reactDialog.Dialog.CloseButton,
54
- "closeButton"
55
- );
56
-
1
+ "use client";
2
+ require("../../_virtual/_rolldown/runtime.cjs");
3
+ const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
4
+ const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
5
+ const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
6
+ let _seed_design_react_dialog = require("@seed-design/react-dialog");
7
+ let _seed_design_react_primitive = require("@seed-design/react-primitive");
8
+ let _seed_design_css_recipes_action_sheet = require("@seed-design/css/recipes/action-sheet");
9
+ let _seed_design_css_recipes_action_sheet_item = require("@seed-design/css/recipes/action-sheet-item");
10
+ //#region src/components/ActionSheet/ActionSheet.tsx
11
+ var { withRootProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_action_sheet.actionSheet);
12
+ var { withContext: withItemContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_action_sheet_item.actionSheetItem);
13
+ var withStateProps = require_createWithStateProps.createWithStateProps([_seed_design_react_dialog.useDialogContext]);
14
+ /**
15
+ * @deprecated Use `MenuSheet` instead.
16
+ */
17
+ var ActionSheetRoot = withRootProvider(_seed_design_react_dialog.Dialog.Root, { defaultProps: {
18
+ lazyMount: true,
19
+ unmountOnExit: true
20
+ } });
21
+ /**
22
+ * @deprecated Use `MenuSheet` instead.
23
+ */
24
+ var ActionSheetTrigger = _seed_design_react_dialog.Dialog.Trigger;
25
+ /**
26
+ * @deprecated Use `MenuSheet` instead.
27
+ */
28
+ var ActionSheetPositioner = withContext(_seed_design_react_dialog.Dialog.Positioner, "positioner");
29
+ /**
30
+ * @deprecated Use `MenuSheet` instead.
31
+ */
32
+ var ActionSheetBackdrop = withContext(_seed_design_react_dialog.Dialog.Backdrop, "backdrop");
33
+ /**
34
+ * @deprecated Use `MenuSheet` instead.
35
+ */
36
+ var ActionSheetContent = withContext(_seed_design_react_dialog.Dialog.Content, "content");
37
+ /**
38
+ * @deprecated Use `MenuSheet` instead.
39
+ */
40
+ var ActionSheetHeader = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "header");
41
+ /**
42
+ * @deprecated Use `MenuSheet` instead.
43
+ */
44
+ var ActionSheetTitle = withContext(withStateProps(_seed_design_react_primitive.Primitive.h2), "title");
45
+ /**
46
+ * @deprecated Use `MenuSheet` instead.
47
+ */
48
+ var ActionSheetDescription = withContext(withStateProps(_seed_design_react_primitive.Primitive.p), "description");
49
+ /**
50
+ * @deprecated Use `MenuSheet` instead.
51
+ */
52
+ var ActionSheetList = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "list");
53
+ /**
54
+ * @deprecated Use `MenuSheet` instead.
55
+ */
56
+ var ActionSheetItem = withItemContext(withStateProps(_seed_design_react_primitive.Primitive.button));
57
+ /**
58
+ * @deprecated Use `MenuSheet` instead.
59
+ */
60
+ var ActionSheetCloseButton = withContext(_seed_design_react_dialog.Dialog.CloseButton, "closeButton");
61
+ //#endregion
57
62
  exports.ActionSheetBackdrop = ActionSheetBackdrop;
58
63
  exports.ActionSheetCloseButton = ActionSheetCloseButton;
59
64
  exports.ActionSheetContent = ActionSheetContent;
@@ -1,53 +1,61 @@
1
- 'use client';
2
- import { actionSheet } from '@seed-design/css/recipes/action-sheet';
3
- import { actionSheetItem } from '@seed-design/css/recipes/action-sheet-item';
4
- import { Dialog, useDialogContext } from '@seed-design/react-dialog';
5
- import { Primitive } from '@seed-design/react-primitive';
6
- import { createRecipeContext } from '../../utils/createRecipeContext.js';
7
- import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
8
- import { createWithStateProps } from '../../utils/createWithStateProps.js';
9
-
10
- const { withRootProvider, withContext } = createSlotRecipeContext(actionSheet);
11
- const { withContext: withItemContext } = createRecipeContext(actionSheetItem);
12
- const withStateProps = createWithStateProps([useDialogContext]);
13
- const ActionSheetRoot = withRootProvider(Dialog.Root, {
14
- defaultProps: {
15
- lazyMount: true,
16
- unmountOnExit: true
17
- }
18
- });
19
- const ActionSheetTrigger = Dialog.Trigger;
20
- const ActionSheetPositioner = withContext(
21
- Dialog.Positioner,
22
- "positioner"
23
- );
24
- const ActionSheetBackdrop = withContext(
25
- Dialog.Backdrop,
26
- "backdrop"
27
- );
28
- const ActionSheetContent = withContext(
29
- Dialog.Content,
30
- "content"
31
- );
32
- const ActionSheetHeader = withContext(
33
- withStateProps(Primitive.div),
34
- "header"
35
- );
36
- const ActionSheetTitle = withContext(
37
- withStateProps(Primitive.h2),
38
- "title"
39
- );
40
- const ActionSheetDescription = withContext(withStateProps(Primitive.p), "description");
41
- const ActionSheetList = withContext(
42
- withStateProps(Primitive.div),
43
- "list"
44
- );
45
- const ActionSheetItem = withItemContext(
46
- withStateProps(Primitive.button)
47
- );
48
- const ActionSheetCloseButton = withContext(
49
- Dialog.CloseButton,
50
- "closeButton"
51
- );
52
-
1
+ "use client";
2
+ import { createRecipeContext } from "../../utils/createRecipeContext.js";
3
+ import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
4
+ import { createWithStateProps } from "../../utils/createWithStateProps.js";
5
+ import { Dialog, useDialogContext } from "@seed-design/react-dialog";
6
+ import { Primitive } from "@seed-design/react-primitive";
7
+ import { actionSheet } from "@seed-design/css/recipes/action-sheet";
8
+ import { actionSheetItem } from "@seed-design/css/recipes/action-sheet-item";
9
+ //#region src/components/ActionSheet/ActionSheet.tsx
10
+ var { withRootProvider, withContext } = createSlotRecipeContext(actionSheet);
11
+ var { withContext: withItemContext } = createRecipeContext(actionSheetItem);
12
+ var withStateProps = createWithStateProps([useDialogContext]);
13
+ /**
14
+ * @deprecated Use `MenuSheet` instead.
15
+ */
16
+ var ActionSheetRoot = withRootProvider(Dialog.Root, { defaultProps: {
17
+ lazyMount: true,
18
+ unmountOnExit: true
19
+ } });
20
+ /**
21
+ * @deprecated Use `MenuSheet` instead.
22
+ */
23
+ var ActionSheetTrigger = Dialog.Trigger;
24
+ /**
25
+ * @deprecated Use `MenuSheet` instead.
26
+ */
27
+ var ActionSheetPositioner = withContext(Dialog.Positioner, "positioner");
28
+ /**
29
+ * @deprecated Use `MenuSheet` instead.
30
+ */
31
+ var ActionSheetBackdrop = withContext(Dialog.Backdrop, "backdrop");
32
+ /**
33
+ * @deprecated Use `MenuSheet` instead.
34
+ */
35
+ var ActionSheetContent = withContext(Dialog.Content, "content");
36
+ /**
37
+ * @deprecated Use `MenuSheet` instead.
38
+ */
39
+ var ActionSheetHeader = withContext(withStateProps(Primitive.div), "header");
40
+ /**
41
+ * @deprecated Use `MenuSheet` instead.
42
+ */
43
+ var ActionSheetTitle = withContext(withStateProps(Primitive.h2), "title");
44
+ /**
45
+ * @deprecated Use `MenuSheet` instead.
46
+ */
47
+ var ActionSheetDescription = withContext(withStateProps(Primitive.p), "description");
48
+ /**
49
+ * @deprecated Use `MenuSheet` instead.
50
+ */
51
+ var ActionSheetList = withContext(withStateProps(Primitive.div), "list");
52
+ /**
53
+ * @deprecated Use `MenuSheet` instead.
54
+ */
55
+ var ActionSheetItem = withItemContext(withStateProps(Primitive.button));
56
+ /**
57
+ * @deprecated Use `MenuSheet` instead.
58
+ */
59
+ var ActionSheetCloseButton = withContext(Dialog.CloseButton, "closeButton");
60
+ //#endregion
53
61
  export { ActionSheetBackdrop, ActionSheetCloseButton, ActionSheetContent, ActionSheetDescription, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetPositioner, ActionSheetRoot, ActionSheetTitle, ActionSheetTrigger };