@seed-design/react 1.1.26 → 1.1.27

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/components/ActionButton/ActionButton.cjs +72 -46
  2. package/lib/components/ActionButton/ActionButton.js +49 -43
  3. package/lib/components/ActionButton/index.cjs +9 -3
  4. package/lib/components/ActionButton/index.js +1 -2
  5. package/lib/components/ActionChip/ActionChip.cjs +16 -13
  6. package/lib/components/ActionChip/ActionChip.js +12 -12
  7. package/lib/components/ActionChip/index.cjs +9 -3
  8. package/lib/components/ActionChip/index.js +1 -2
  9. package/lib/components/ActionSheet/ActionSheet.cjs +56 -61
  10. package/lib/components/ActionSheet/ActionSheet.js +52 -60
  11. package/lib/components/ActionSheet/ActionSheet.namespace.cjs +19 -23
  12. package/lib/components/ActionSheet/ActionSheet.namespace.js +1 -18
  13. package/lib/components/ActionSheet/index.cjs +21 -20
  14. package/lib/components/ActionSheet/index.js +3 -3
  15. package/lib/components/Article/Article.cjs +44 -19
  16. package/lib/components/Article/Article.js +21 -16
  17. package/lib/components/Article/index.cjs +9 -3
  18. package/lib/components/Article/index.js +1 -2
  19. package/lib/components/Avatar/Avatar.cjs +58 -35
  20. package/lib/components/Avatar/Avatar.js +36 -33
  21. package/lib/components/Avatar/Avatar.namespace.cjs +13 -17
  22. package/lib/components/Avatar/Avatar.namespace.js +1 -12
  23. package/lib/components/Avatar/index.cjs +15 -14
  24. package/lib/components/Avatar/index.js +3 -3
  25. package/lib/components/Badge/Badge.cjs +19 -23
  26. package/lib/components/Badge/Badge.js +15 -21
  27. package/lib/components/Badge/index.cjs +9 -3
  28. package/lib/components/Badge/index.js +1 -2
  29. package/lib/components/BottomSheet/BottomSheet.cjs +52 -21
  30. package/lib/components/BottomSheet/BottomSheet.js +48 -20
  31. package/lib/components/BottomSheet/BottomSheet.namespace.cjs +21 -25
  32. package/lib/components/BottomSheet/BottomSheet.namespace.js +2 -20
  33. package/lib/components/BottomSheet/index.cjs +21 -20
  34. package/lib/components/BottomSheet/index.js +3 -3
  35. package/lib/components/BottomSheetHandle/BottomSheetHandle.cjs +19 -24
  36. package/lib/components/BottomSheetHandle/BottomSheetHandle.js +15 -21
  37. package/lib/components/BottomSheetHandle/index.cjs +9 -3
  38. package/lib/components/BottomSheetHandle/index.js +1 -2
  39. package/lib/components/Box/Box.cjs +38 -26
  40. package/lib/components/Box/Box.js +15 -23
  41. package/lib/components/Box/index.cjs +9 -3
  42. package/lib/components/Box/index.js +1 -2
  43. package/lib/components/Callout/Callout.cjs +33 -15
  44. package/lib/components/Callout/Callout.js +29 -14
  45. package/lib/components/Callout/Callout.namespace.cjs +14 -18
  46. package/lib/components/Callout/Callout.namespace.js +1 -13
  47. package/lib/components/Callout/index.cjs +16 -15
  48. package/lib/components/Callout/index.js +3 -3
  49. package/lib/components/Celsius/Celsius.cjs +8 -5
  50. package/lib/components/Celsius/Celsius.js +4 -5
  51. package/lib/components/Celsius/index.cjs +9 -3
  52. package/lib/components/Celsius/index.js +1 -2
  53. package/lib/components/Checkbox/Checkbox.cjs +89 -66
  54. package/lib/components/Checkbox/Checkbox.js +85 -64
  55. package/lib/components/Checkbox/Checkbox.namespace.cjs +13 -17
  56. package/lib/components/Checkbox/Checkbox.namespace.js +1 -12
  57. package/lib/components/Checkbox/index.cjs +15 -14
  58. package/lib/components/Checkbox/index.js +3 -3
  59. package/lib/components/Chip/Chip.cjs +39 -24
  60. package/lib/components/Chip/Chip.js +35 -23
  61. package/lib/components/Chip/Chip.namespace.cjs +13 -17
  62. package/lib/components/Chip/Chip.namespace.js +1 -12
  63. package/lib/components/Chip/index.cjs +15 -14
  64. package/lib/components/Chip/index.js +3 -3
  65. package/lib/components/ChipTabs/ChipTabs.cjs +53 -30
  66. package/lib/components/ChipTabs/ChipTabs.js +49 -28
  67. package/lib/components/ChipTabs/ChipTabs.namespace.cjs +14 -18
  68. package/lib/components/ChipTabs/ChipTabs.namespace.js +1 -13
  69. package/lib/components/ChipTabs/index.cjs +16 -15
  70. package/lib/components/ChipTabs/index.js +3 -3
  71. package/lib/components/Columns/Columns.cjs +55 -34
  72. package/lib/components/Columns/Columns.js +32 -32
  73. package/lib/components/Columns/index.cjs +10 -4
  74. package/lib/components/Columns/index.js +1 -2
  75. package/lib/components/ConsistentWidth/ConsistentWidth.cjs +22 -17
  76. package/lib/components/ConsistentWidth/ConsistentWidth.js +18 -15
  77. package/lib/components/ConsistentWidth/index.cjs +9 -3
  78. package/lib/components/ConsistentWidth/index.js +1 -2
  79. package/lib/components/ContextualFloatingButton/ContextualFloatingButton.cjs +51 -36
  80. package/lib/components/ContextualFloatingButton/ContextualFloatingButton.js +28 -33
  81. package/lib/components/ContextualFloatingButton/index.cjs +9 -3
  82. package/lib/components/ContextualFloatingButton/index.js +1 -2
  83. package/lib/components/ControlChip/ControlChip.cjs +16 -13
  84. package/lib/components/ControlChip/ControlChip.js +12 -12
  85. package/lib/components/ControlChip/index.cjs +9 -3
  86. package/lib/components/ControlChip/index.js +1 -2
  87. package/lib/components/Count/Count.cjs +14 -16
  88. package/lib/components/Count/Count.js +10 -14
  89. package/lib/components/Count/index.cjs +9 -3
  90. package/lib/components/Count/index.js +1 -2
  91. package/lib/components/Dialog/Dialog.cjs +44 -24
  92. package/lib/components/Dialog/Dialog.js +40 -23
  93. package/lib/components/Dialog/Dialog.namespace.cjs +18 -22
  94. package/lib/components/Dialog/Dialog.namespace.js +1 -17
  95. package/lib/components/Dialog/index.cjs +20 -19
  96. package/lib/components/Dialog/index.js +3 -3
  97. package/lib/components/Divider/Divider.cjs +68 -32
  98. package/lib/components/Divider/Divider.js +45 -30
  99. package/lib/components/Divider/index.cjs +9 -3
  100. package/lib/components/Divider/index.js +1 -2
  101. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +43 -65
  102. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +39 -64
  103. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.cjs +20 -24
  104. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.js +1 -19
  105. package/lib/components/ExtendedActionSheet/index.cjs +22 -21
  106. package/lib/components/ExtendedActionSheet/index.js +3 -3
  107. package/lib/components/ExtendedFab/ExtendedFab.cjs +17 -15
  108. package/lib/components/ExtendedFab/ExtendedFab.js +13 -14
  109. package/lib/components/ExtendedFab/index.cjs +9 -3
  110. package/lib/components/ExtendedFab/index.js +1 -2
  111. package/lib/components/Fab/Fab.cjs +12 -12
  112. package/lib/components/Fab/Fab.js +8 -11
  113. package/lib/components/Fab/index.cjs +9 -3
  114. package/lib/components/Fab/index.js +1 -2
  115. package/lib/components/Field/Field.cjs +107 -62
  116. package/lib/components/Field/Field.js +103 -60
  117. package/lib/components/Field/Field.namespace.cjs +17 -21
  118. package/lib/components/Field/Field.namespace.js +1 -16
  119. package/lib/components/Field/index.cjs +19 -18
  120. package/lib/components/Field/index.js +3 -3
  121. package/lib/components/FieldButton/FieldButton.cjs +177 -94
  122. package/lib/components/FieldButton/FieldButton.js +154 -91
  123. package/lib/components/FieldButton/FieldButton.namespace.cjs +26 -30
  124. package/lib/components/FieldButton/FieldButton.namespace.js +1 -25
  125. package/lib/components/FieldButton/index.cjs +28 -27
  126. package/lib/components/FieldButton/index.js +3 -3
  127. package/lib/components/Flex/Flex.cjs +45 -21
  128. package/lib/components/Flex/Flex.js +22 -19
  129. package/lib/components/Flex/index.cjs +9 -3
  130. package/lib/components/Flex/index.js +1 -2
  131. package/lib/components/Float/Float.cjs +104 -70
  132. package/lib/components/Float/Float.js +81 -68
  133. package/lib/components/Float/index.cjs +9 -3
  134. package/lib/components/Float/index.js +1 -2
  135. package/lib/components/FloatingActionButton/FloatingActionButton.cjs +15 -12
  136. package/lib/components/FloatingActionButton/FloatingActionButton.js +11 -11
  137. package/lib/components/FloatingActionButton/FloatingActionButton.namespace.cjs +11 -15
  138. package/lib/components/FloatingActionButton/FloatingActionButton.namespace.js +1 -10
  139. package/lib/components/FloatingActionButton/index.cjs +13 -12
  140. package/lib/components/FloatingActionButton/index.js +3 -3
  141. package/lib/components/HelpBubble/HelpBubble.cjs +81 -51
  142. package/lib/components/HelpBubble/HelpBubble.js +77 -49
  143. package/lib/components/HelpBubble/HelpBubble.namespace.cjs +19 -23
  144. package/lib/components/HelpBubble/HelpBubble.namespace.js +1 -18
  145. package/lib/components/HelpBubble/index.cjs +21 -20
  146. package/lib/components/HelpBubble/index.js +3 -3
  147. package/lib/components/Icon/Icon.cjs +120 -99
  148. package/lib/components/Icon/Icon.js +116 -98
  149. package/lib/components/Icon/index.cjs +11 -5
  150. package/lib/components/Icon/index.js +1 -2
  151. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.cjs +71 -50
  152. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.js +48 -48
  153. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.cjs +10 -14
  154. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.js +1 -9
  155. package/lib/components/IdentityPlaceholder/index.cjs +12 -11
  156. package/lib/components/IdentityPlaceholder/index.js +3 -3
  157. package/lib/components/Inline/Inline.cjs +42 -21
  158. package/lib/components/Inline/Inline.js +19 -19
  159. package/lib/components/Inline/index.cjs +9 -3
  160. package/lib/components/Inline/index.js +1 -2
  161. package/lib/components/InlineBanner/InlineBanner.cjs +36 -33
  162. package/lib/components/InlineBanner/InlineBanner.js +32 -32
  163. package/lib/components/InlineBanner/InlineBanner.namespace.cjs +14 -18
  164. package/lib/components/InlineBanner/InlineBanner.namespace.js +1 -13
  165. package/lib/components/InlineBanner/index.cjs +16 -15
  166. package/lib/components/InlineBanner/index.js +3 -3
  167. package/lib/components/LinkContent/LinkContent.cjs +15 -13
  168. package/lib/components/LinkContent/LinkContent.js +11 -12
  169. package/lib/components/LinkContent/index.cjs +9 -3
  170. package/lib/components/LinkContent/index.js +1 -2
  171. package/lib/components/List/List.cjs +63 -46
  172. package/lib/components/List/List.js +59 -45
  173. package/lib/components/List/List.namespace.cjs +15 -19
  174. package/lib/components/List/List.namespace.js +1 -14
  175. package/lib/components/List/ListHeader.cjs +18 -18
  176. package/lib/components/List/ListHeader.js +14 -16
  177. package/lib/components/List/index.cjs +19 -18
  178. package/lib/components/List/index.js +4 -4
  179. package/lib/components/LoadingIndicator/LoadingIndicator.cjs +26 -24
  180. package/lib/components/LoadingIndicator/LoadingIndicator.js +22 -23
  181. package/lib/components/LoadingIndicator/index.cjs +9 -3
  182. package/lib/components/LoadingIndicator/index.js +1 -2
  183. package/lib/components/LoadingIndicator/usePendingButton.cjs +46 -22
  184. package/lib/components/LoadingIndicator/usePendingButton.js +23 -20
  185. package/lib/components/MannerTemp/MannerTemp.cjs +18 -20
  186. package/lib/components/MannerTemp/MannerTemp.js +14 -19
  187. package/lib/components/MannerTemp/MannerTempEmote.cjs +96 -130
  188. package/lib/components/MannerTemp/MannerTempEmote.js +92 -129
  189. package/lib/components/MannerTemp/index.cjs +11 -5
  190. package/lib/components/MannerTemp/index.js +2 -3
  191. package/lib/components/MannerTempBadge/MannerTempBadge.cjs +12 -9
  192. package/lib/components/MannerTempBadge/MannerTempBadge.js +8 -8
  193. package/lib/components/MannerTempBadge/index.cjs +9 -3
  194. package/lib/components/MannerTempBadge/index.js +1 -2
  195. package/lib/components/MenuSheet/MenuSheet.cjs +106 -61
  196. package/lib/components/MenuSheet/MenuSheet.js +83 -59
  197. package/lib/components/MenuSheet/MenuSheet.namespace.cjs +20 -24
  198. package/lib/components/MenuSheet/MenuSheet.namespace.js +1 -19
  199. package/lib/components/MenuSheet/index.cjs +22 -21
  200. package/lib/components/MenuSheet/index.js +3 -3
  201. package/lib/components/NotificationBadge/NotificationBadge.cjs +41 -29
  202. package/lib/components/NotificationBadge/NotificationBadge.js +19 -27
  203. package/lib/components/NotificationBadge/index.cjs +10 -4
  204. package/lib/components/NotificationBadge/index.js +1 -2
  205. package/lib/components/PageBanner/PageBanner.cjs +51 -32
  206. package/lib/components/PageBanner/PageBanner.js +47 -30
  207. package/lib/components/PageBanner/PageBanner.namespace.cjs +15 -19
  208. package/lib/components/PageBanner/PageBanner.namespace.js +1 -14
  209. package/lib/components/PageBanner/index.cjs +17 -16
  210. package/lib/components/PageBanner/index.js +3 -3
  211. package/lib/components/Portal/index.cjs +10 -7
  212. package/lib/components/Portal/index.js +1 -2
  213. package/lib/components/ProgressCircle/ProgressCircle.cjs +23 -11
  214. package/lib/components/ProgressCircle/ProgressCircle.js +19 -10
  215. package/lib/components/ProgressCircle/ProgressCircle.namespace.cjs +11 -15
  216. package/lib/components/ProgressCircle/ProgressCircle.namespace.js +1 -10
  217. package/lib/components/ProgressCircle/index.cjs +13 -12
  218. package/lib/components/ProgressCircle/index.js +3 -3
  219. package/lib/components/PullToRefresh/PullToRefresh.cjs +20 -11
  220. package/lib/components/PullToRefresh/PullToRefresh.js +16 -10
  221. package/lib/components/PullToRefresh/PullToRefresh.namespace.cjs +15 -16
  222. package/lib/components/PullToRefresh/PullToRefresh.namespace.js +2 -12
  223. package/lib/components/PullToRefresh/index.cjs +16 -18
  224. package/lib/components/PullToRefresh/index.js +4 -4
  225. package/lib/components/RadioGroup/RadioGroup.cjs +72 -66
  226. package/lib/components/RadioGroup/RadioGroup.js +68 -64
  227. package/lib/components/RadioGroup/RadioGroup.namespace.cjs +14 -18
  228. package/lib/components/RadioGroup/RadioGroup.namespace.js +1 -13
  229. package/lib/components/RadioGroup/index.cjs +16 -15
  230. package/lib/components/RadioGroup/index.js +3 -3
  231. package/lib/components/ReactionButton/ReactionButton.cjs +47 -28
  232. package/lib/components/ReactionButton/ReactionButton.js +24 -25
  233. package/lib/components/ReactionButton/index.cjs +9 -3
  234. package/lib/components/ReactionButton/index.js +1 -2
  235. package/lib/components/ResponsivePair/ResponsivePair.cjs +57 -34
  236. package/lib/components/ResponsivePair/ResponsivePair.js +34 -32
  237. package/lib/components/ResponsivePair/index.cjs +9 -3
  238. package/lib/components/ResponsivePair/index.js +1 -2
  239. package/lib/components/ScrollFog/ScrollFog.cjs +61 -49
  240. package/lib/components/ScrollFog/ScrollFog.js +57 -47
  241. package/lib/components/ScrollFog/index.cjs +9 -3
  242. package/lib/components/ScrollFog/index.js +1 -2
  243. package/lib/components/SegmentedControl/SegmentedControl.cjs +22 -13
  244. package/lib/components/SegmentedControl/SegmentedControl.js +18 -12
  245. package/lib/components/SegmentedControl/SegmentedControl.namespace.cjs +12 -16
  246. package/lib/components/SegmentedControl/SegmentedControl.namespace.js +1 -11
  247. package/lib/components/SegmentedControl/index.cjs +14 -13
  248. package/lib/components/SegmentedControl/index.js +3 -3
  249. package/lib/components/SelectBox/CheckSelectBox.cjs +35 -29
  250. package/lib/components/SelectBox/CheckSelectBox.js +31 -28
  251. package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +13 -17
  252. package/lib/components/SelectBox/CheckSelectBox.namespace.js +1 -12
  253. package/lib/components/SelectBox/RadioSelectBox.cjs +33 -19
  254. package/lib/components/SelectBox/RadioSelectBox.js +29 -18
  255. package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +13 -17
  256. package/lib/components/SelectBox/RadioSelectBox.namespace.js +1 -12
  257. package/lib/components/SelectBox/index.cjs +23 -27
  258. package/lib/components/SelectBox/index.js +6 -5
  259. package/lib/components/Skeleton/Skeleton.cjs +13 -10
  260. package/lib/components/Skeleton/Skeleton.js +9 -9
  261. package/lib/components/Skeleton/index.cjs +9 -3
  262. package/lib/components/Skeleton/index.js +1 -2
  263. package/lib/components/Slider/Slider.cjs +90 -69
  264. package/lib/components/Slider/Slider.js +86 -67
  265. package/lib/components/Slider/Slider.namespace.cjs +21 -25
  266. package/lib/components/Slider/Slider.namespace.js +1 -20
  267. package/lib/components/Slider/index.cjs +23 -22
  268. package/lib/components/Slider/index.js +3 -3
  269. package/lib/components/Snackbar/Snackbar.cjs +55 -38
  270. package/lib/components/Snackbar/Snackbar.js +51 -37
  271. package/lib/components/Snackbar/Snackbar.namespace.cjs +18 -22
  272. package/lib/components/Snackbar/Snackbar.namespace.js +1 -17
  273. package/lib/components/Snackbar/index.cjs +24 -26
  274. package/lib/components/Snackbar/index.js +5 -5
  275. package/lib/components/Snackbar/useSnackbarAdapter.cjs +26 -22
  276. package/lib/components/Snackbar/useSnackbarAdapter.js +22 -21
  277. package/lib/components/Stack/Stack.cjs +35 -32
  278. package/lib/components/Stack/Stack.js +12 -30
  279. package/lib/components/Stack/index.cjs +11 -5
  280. package/lib/components/Stack/index.js +1 -2
  281. package/lib/components/Switch/Switch.cjs +63 -45
  282. package/lib/components/Switch/Switch.js +59 -42
  283. package/lib/components/Switch/Switch.namespace.cjs +13 -17
  284. package/lib/components/Switch/Switch.namespace.js +1 -12
  285. package/lib/components/Switch/index.cjs +15 -14
  286. package/lib/components/Switch/index.js +3 -3
  287. package/lib/components/Tabs/Tabs.cjs +33 -15
  288. package/lib/components/Tabs/Tabs.js +29 -14
  289. package/lib/components/Tabs/Tabs.namespace.cjs +19 -20
  290. package/lib/components/Tabs/Tabs.namespace.js +2 -16
  291. package/lib/components/Tabs/index.cjs +20 -22
  292. package/lib/components/Tabs/index.js +4 -4
  293. package/lib/components/TagGroup/TagGroup.cjs +35 -44
  294. package/lib/components/TagGroup/TagGroup.js +31 -42
  295. package/lib/components/TagGroup/TagGroup.namespace.cjs +10 -14
  296. package/lib/components/TagGroup/TagGroup.namespace.js +1 -9
  297. package/lib/components/TagGroup/index.cjs +12 -11
  298. package/lib/components/TagGroup/index.js +3 -3
  299. package/lib/components/Text/Text.cjs +85 -49
  300. package/lib/components/Text/Text.js +81 -47
  301. package/lib/components/Text/index.cjs +9 -3
  302. package/lib/components/Text/index.js +1 -2
  303. package/lib/components/TextField/TextField.cjs +122 -82
  304. package/lib/components/TextField/TextField.js +118 -80
  305. package/lib/components/TextField/TextField.namespace.cjs +15 -19
  306. package/lib/components/TextField/TextField.namespace.js +1 -14
  307. package/lib/components/TextField/index.cjs +19 -18
  308. package/lib/components/TextField/index.js +4 -4
  309. package/lib/components/TextField/memoize.cjs +15 -10
  310. package/lib/components/TextField/memoize.js +11 -10
  311. package/lib/components/TextField/useTextFieldWithGraphemes.cjs +50 -40
  312. package/lib/components/TextField/useTextFieldWithGraphemes.js +46 -39
  313. package/lib/components/ToggleButton/ToggleButton.cjs +47 -31
  314. package/lib/components/ToggleButton/ToggleButton.js +24 -28
  315. package/lib/components/ToggleButton/index.cjs +9 -3
  316. package/lib/components/ToggleButton/index.js +1 -2
  317. package/lib/components/VisuallyHidden/VisuallyHidden.cjs +14 -18
  318. package/lib/components/VisuallyHidden/VisuallyHidden.js +10 -17
  319. package/lib/components/VisuallyHidden/index.cjs +9 -3
  320. package/lib/components/VisuallyHidden/index.js +1 -2
  321. package/lib/components/index.cjs +401 -554
  322. package/lib/components/index.js +129 -100
  323. package/lib/components/private/Icon.cjs +15 -15
  324. package/lib/components/private/Icon.js +11 -14
  325. package/lib/components/private/useDismissible.cjs +73 -54
  326. package/lib/components/private/useDismissible.js +48 -53
  327. package/lib/index.cjs +401 -554
  328. package/lib/index.js +129 -100
  329. package/lib/primitive.cjs +55 -73
  330. package/lib/primitive.js +12 -12
  331. package/lib/utils/createRecipeContext.cjs +37 -46
  332. package/lib/utils/createRecipeContext.js +33 -44
  333. package/lib/utils/createSlotRecipeContext.cjs +74 -91
  334. package/lib/utils/createSlotRecipeContext.js +70 -89
  335. package/lib/utils/createWithStateProps.cjs +25 -23
  336. package/lib/utils/createWithStateProps.js +21 -22
  337. package/lib/utils/splitMultipleVariantsProps.cjs +29 -16
  338. package/lib/utils/splitMultipleVariantsProps.js +25 -16
  339. package/lib/utils/styled.cjs +273 -141
  340. package/lib/utils/styled.js +269 -141
  341. package/lib/vars.cjs +11 -7
  342. package/lib/vars.js +1 -1
  343. package/package.json +2 -2
  344. package/lib/_virtual/_rolldown/runtime.cjs +0 -34
  345. package/lib/_virtual/_rolldown/runtime.js +0 -14
@@ -1,27 +1,28 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_FieldButton = require("./FieldButton.cjs");
3
- const require_FieldButton_namespace = require("./FieldButton.namespace.cjs");
4
- Object.defineProperty(exports, "FieldButton", {
5
- enumerable: true,
6
- get: function() {
7
- return require_FieldButton_namespace.FieldButton_namespace_exports;
8
- }
9
- });
10
- exports.FieldButtonButton = require_FieldButton.FieldButtonButton;
11
- exports.FieldButtonClearButton = require_FieldButton.FieldButtonClearButton;
12
- exports.FieldButtonControl = require_FieldButton.FieldButtonControl;
13
- exports.FieldButtonDescription = require_FieldButton.FieldButtonDescription;
14
- exports.FieldButtonErrorMessage = require_FieldButton.FieldButtonErrorMessage;
15
- exports.FieldButtonFooter = require_FieldButton.FieldButtonFooter;
16
- exports.FieldButtonHeader = require_FieldButton.FieldButtonHeader;
17
- exports.FieldButtonHiddenInput = require_FieldButton.FieldButtonHiddenInput;
18
- exports.FieldButtonIndicatorText = require_FieldButton.FieldButtonIndicatorText;
19
- exports.FieldButtonLabel = require_FieldButton.FieldButtonLabel;
20
- exports.FieldButtonPlaceholder = require_FieldButton.FieldButtonPlaceholder;
21
- exports.FieldButtonPrefixIcon = require_FieldButton.FieldButtonPrefixIcon;
22
- exports.FieldButtonPrefixText = require_FieldButton.FieldButtonPrefixText;
23
- exports.FieldButtonRequiredIndicator = require_FieldButton.FieldButtonRequiredIndicator;
24
- exports.FieldButtonRoot = require_FieldButton.FieldButtonRoot;
25
- exports.FieldButtonSuffixIcon = require_FieldButton.FieldButtonSuffixIcon;
26
- exports.FieldButtonSuffixText = require_FieldButton.FieldButtonSuffixText;
27
- exports.FieldButtonValue = require_FieldButton.FieldButtonValue;
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const FieldButton = require('./FieldButton.cjs');
6
+ const FieldButton_namespace = require('./FieldButton.namespace.cjs');
7
+
8
+
9
+
10
+ exports.FieldButtonButton = FieldButton.FieldButtonButton;
11
+ exports.FieldButtonClearButton = FieldButton.FieldButtonClearButton;
12
+ exports.FieldButtonControl = FieldButton.FieldButtonControl;
13
+ exports.FieldButtonDescription = FieldButton.FieldButtonDescription;
14
+ exports.FieldButtonErrorMessage = FieldButton.FieldButtonErrorMessage;
15
+ exports.FieldButtonFooter = FieldButton.FieldButtonFooter;
16
+ exports.FieldButtonHeader = FieldButton.FieldButtonHeader;
17
+ exports.FieldButtonHiddenInput = FieldButton.FieldButtonHiddenInput;
18
+ exports.FieldButtonIndicatorText = FieldButton.FieldButtonIndicatorText;
19
+ exports.FieldButtonLabel = FieldButton.FieldButtonLabel;
20
+ exports.FieldButtonPlaceholder = FieldButton.FieldButtonPlaceholder;
21
+ exports.FieldButtonPrefixIcon = FieldButton.FieldButtonPrefixIcon;
22
+ exports.FieldButtonPrefixText = FieldButton.FieldButtonPrefixText;
23
+ exports.FieldButtonRequiredIndicator = FieldButton.FieldButtonRequiredIndicator;
24
+ exports.FieldButtonRoot = FieldButton.FieldButtonRoot;
25
+ exports.FieldButtonSuffixIcon = FieldButton.FieldButtonSuffixIcon;
26
+ exports.FieldButtonSuffixText = FieldButton.FieldButtonSuffixText;
27
+ exports.FieldButtonValue = FieldButton.FieldButtonValue;
28
+ exports.FieldButton = FieldButton_namespace;
@@ -1,3 +1,3 @@
1
- import { FieldButtonButton, FieldButtonClearButton, FieldButtonControl, FieldButtonDescription, FieldButtonErrorMessage, FieldButtonFooter, FieldButtonHeader, FieldButtonHiddenInput, FieldButtonIndicatorText, FieldButtonLabel, FieldButtonPlaceholder, FieldButtonPrefixIcon, FieldButtonPrefixText, FieldButtonRequiredIndicator, FieldButtonRoot, FieldButtonSuffixIcon, FieldButtonSuffixText, FieldButtonValue } from "./FieldButton.js";
2
- import { FieldButton_namespace_exports } from "./FieldButton.namespace.js";
3
- export { FieldButton_namespace_exports as FieldButton, FieldButtonButton, FieldButtonClearButton, FieldButtonControl, FieldButtonDescription, FieldButtonErrorMessage, FieldButtonFooter, FieldButtonHeader, FieldButtonHiddenInput, FieldButtonIndicatorText, FieldButtonLabel, FieldButtonPlaceholder, FieldButtonPrefixIcon, FieldButtonPrefixText, FieldButtonRequiredIndicator, FieldButtonRoot, FieldButtonSuffixIcon, FieldButtonSuffixText, FieldButtonValue };
1
+ export { FieldButtonButton, FieldButtonClearButton, FieldButtonControl, FieldButtonDescription, FieldButtonErrorMessage, FieldButtonFooter, FieldButtonHeader, FieldButtonHiddenInput, FieldButtonIndicatorText, FieldButtonLabel, FieldButtonPlaceholder, FieldButtonPrefixIcon, FieldButtonPrefixText, FieldButtonRequiredIndicator, FieldButtonRoot, FieldButtonSuffixIcon, FieldButtonSuffixText, FieldButtonValue } from './FieldButton.js';
2
+ import * as FieldButton_namespace from './FieldButton.namespace.js';
3
+ export { FieldButton_namespace as FieldButton };
@@ -1,23 +1,47 @@
1
- "use client";
2
- const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
- const require_Box = require("../Box/Box.cjs");
4
- let react = require("react");
5
- react = require_runtime.__toESM(react);
6
- let react_jsx_runtime = require("react/jsx-runtime");
7
- //#region src/components/Flex/Flex.tsx
8
- var Flex = react.forwardRef((props, ref) => {
9
- const { direction, wrap, align, justify, grow, shrink, ...rest } = props;
10
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
11
- ref,
12
- display: "flex",
13
- flexDirection: direction,
14
- flexWrap: wrap,
15
- alignItems: align,
16
- justifyContent: justify,
17
- flexGrow: grow,
18
- flexShrink: shrink,
19
- ...rest
20
- });
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 React = require('react');
8
+ const Box = require('../Box/Box.cjs');
9
+
10
+ function _interopNamespaceDefault(e) {
11
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
12
+ if (e) {
13
+ for (const k in e) {
14
+ if (k !== 'default') {
15
+ const d = Object.getOwnPropertyDescriptor(e, k);
16
+ Object.defineProperty(n, k, d.get ? d : {
17
+ enumerable: true,
18
+ get: () => e[k]
19
+ });
20
+ }
21
+ }
22
+ }
23
+ n.default = e;
24
+ return Object.freeze(n);
25
+ }
26
+
27
+ const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
28
+
29
+ const Flex = React__namespace.forwardRef((props, ref) => {
30
+ const { direction, wrap, align, justify, grow, shrink, ...rest } = props;
31
+ return /* @__PURE__ */ jsxRuntime.jsx(
32
+ Box.Box,
33
+ {
34
+ ref,
35
+ display: "flex",
36
+ flexDirection: direction,
37
+ flexWrap: wrap,
38
+ alignItems: align,
39
+ justifyContent: justify,
40
+ flexGrow: grow,
41
+ flexShrink: shrink,
42
+ ...rest
43
+ }
44
+ );
21
45
  });
22
- //#endregion
46
+
23
47
  exports.Flex = Flex;
@@ -1,21 +1,24 @@
1
- "use client";
2
- import { Box } from "../Box/Box.js";
3
- import * as React$1 from "react";
4
- import { jsx } from "react/jsx-runtime";
5
- //#region src/components/Flex/Flex.tsx
6
- var Flex = React$1.forwardRef((props, ref) => {
7
- const { direction, wrap, align, justify, grow, shrink, ...rest } = props;
8
- return /* @__PURE__ */ jsx(Box, {
9
- ref,
10
- display: "flex",
11
- flexDirection: direction,
12
- flexWrap: wrap,
13
- alignItems: align,
14
- justifyContent: justify,
15
- flexGrow: grow,
16
- flexShrink: shrink,
17
- ...rest
18
- });
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import * as React from 'react';
4
+ import { Box } from '../Box/Box.js';
5
+
6
+ const Flex = React.forwardRef((props, ref) => {
7
+ const { direction, wrap, align, justify, grow, shrink, ...rest } = props;
8
+ return /* @__PURE__ */ jsx(
9
+ Box,
10
+ {
11
+ ref,
12
+ display: "flex",
13
+ flexDirection: direction,
14
+ flexWrap: wrap,
15
+ alignItems: align,
16
+ justifyContent: justify,
17
+ flexGrow: grow,
18
+ flexShrink: shrink,
19
+ ...rest
20
+ }
21
+ );
19
22
  });
20
- //#endregion
23
+
21
24
  export { Flex };
@@ -1,3 +1,9 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_Flex = require("./Flex.cjs");
3
- exports.Flex = require_Flex.Flex;
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const Flex = require('./Flex.cjs');
6
+
7
+
8
+
9
+ exports.Flex = Flex.Flex;
@@ -1,2 +1 @@
1
- import { Flex } from "./Flex.js";
2
- export { Flex };
1
+ export { Flex } from './Flex.js';
@@ -1,74 +1,108 @@
1
- "use client";
2
- const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
- const require_styled = require("../../utils/styled.cjs");
4
- const require_Box = require("../Box/Box.cjs");
5
- let react = require("react");
6
- react = require_runtime.__toESM(react);
7
- let react_jsx_runtime = require("react/jsx-runtime");
8
- //#region src/components/Float/Float.tsx
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 React = require('react');
8
+ const Box = require('../Box/Box.cjs');
9
+ const styled = require('../../utils/styled.cjs');
10
+
11
+ function _interopNamespaceDefault(e) {
12
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
13
+ if (e) {
14
+ for (const k in e) {
15
+ if (k !== 'default') {
16
+ const d = Object.getOwnPropertyDescriptor(e, k);
17
+ Object.defineProperty(n, k, d.get ? d : {
18
+ enumerable: true,
19
+ get: () => e[k]
20
+ });
21
+ }
22
+ }
23
+ }
24
+ n.default = e;
25
+ return Object.freeze(n);
26
+ }
27
+
28
+ const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
29
+
9
30
  function getPlacementStyle(placement, offsetX, offsetY) {
10
- const offsetXValue = require_styled.handleDimension(offsetX);
11
- const offsetYValue = require_styled.handleDimension(offsetY);
12
- const centerLeft = offsetXValue ? `calc(50% + ${offsetXValue})` : "50%";
13
- const middleTop = offsetYValue ? `calc(50% + ${offsetYValue})` : "50%";
14
- const shiftLeft = "translateX(-50%)";
15
- const shiftTop = "translateY(-50%)";
16
- const shiftBoth = "translate(-50%, -50%)";
17
- switch (placement) {
18
- case "top-start": return {
19
- top: offsetYValue ?? 0,
20
- left: offsetXValue ?? 0
21
- };
22
- case "top-center": return {
23
- top: offsetYValue ?? 0,
24
- left: centerLeft,
25
- unstable_transform: shiftLeft
26
- };
27
- case "top-end": return {
28
- top: offsetYValue ?? 0,
29
- right: offsetXValue ?? 0
30
- };
31
- case "middle-start": return {
32
- top: middleTop,
33
- left: offsetXValue ?? 0,
34
- unstable_transform: shiftTop
35
- };
36
- case "middle-center": return {
37
- top: middleTop,
38
- left: centerLeft,
39
- unstable_transform: shiftBoth
40
- };
41
- case "middle-end": return {
42
- top: middleTop,
43
- right: offsetXValue ?? 0,
44
- unstable_transform: shiftTop
45
- };
46
- case "bottom-start": return {
47
- bottom: offsetYValue ?? 0,
48
- left: offsetXValue ?? 0
49
- };
50
- case "bottom-center": return {
51
- bottom: offsetYValue ?? 0,
52
- left: centerLeft,
53
- unstable_transform: shiftLeft
54
- };
55
- case "bottom-end": return {
56
- bottom: offsetYValue ?? 0,
57
- right: offsetXValue ?? 0
58
- };
59
- }
31
+ const offsetXValue = styled.handleDimension(offsetX);
32
+ const offsetYValue = styled.handleDimension(offsetY);
33
+ const centerLeft = offsetXValue ? `calc(50% + ${offsetXValue})` : "50%";
34
+ const middleTop = offsetYValue ? `calc(50% + ${offsetYValue})` : "50%";
35
+ const shiftLeft = "translateX(-50%)";
36
+ const shiftTop = "translateY(-50%)";
37
+ const shiftBoth = "translate(-50%, -50%)";
38
+ switch (placement) {
39
+ case "top-start":
40
+ return {
41
+ top: offsetYValue ?? 0,
42
+ left: offsetXValue ?? 0
43
+ };
44
+ case "top-center":
45
+ return {
46
+ top: offsetYValue ?? 0,
47
+ left: centerLeft,
48
+ unstable_transform: shiftLeft
49
+ };
50
+ case "top-end":
51
+ return {
52
+ top: offsetYValue ?? 0,
53
+ right: offsetXValue ?? 0
54
+ };
55
+ case "middle-start":
56
+ return {
57
+ top: middleTop,
58
+ left: offsetXValue ?? 0,
59
+ unstable_transform: shiftTop
60
+ };
61
+ case "middle-center":
62
+ return {
63
+ top: middleTop,
64
+ left: centerLeft,
65
+ unstable_transform: shiftBoth
66
+ };
67
+ case "middle-end":
68
+ return {
69
+ top: middleTop,
70
+ right: offsetXValue ?? 0,
71
+ unstable_transform: shiftTop
72
+ };
73
+ case "bottom-start":
74
+ return {
75
+ bottom: offsetYValue ?? 0,
76
+ left: offsetXValue ?? 0
77
+ };
78
+ case "bottom-center":
79
+ return {
80
+ bottom: offsetYValue ?? 0,
81
+ left: centerLeft,
82
+ unstable_transform: shiftLeft
83
+ };
84
+ case "bottom-end":
85
+ return {
86
+ bottom: offsetYValue ?? 0,
87
+ right: offsetXValue ?? 0
88
+ };
89
+ }
60
90
  }
61
- var Float = react.forwardRef((props, ref) => {
62
- const { as, placement, offsetX, offsetY, zIndex, ...rest } = props;
63
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
64
- ref,
65
- as,
66
- position: "absolute",
67
- display: "inline-flex",
68
- zIndex,
69
- ...getPlacementStyle(placement, offsetX, offsetY),
70
- ...rest
71
- });
91
+ const Float = React__namespace.forwardRef((props, ref) => {
92
+ const { as, placement, offsetX, offsetY, zIndex, ...rest } = props;
93
+ const placementStyle = getPlacementStyle(placement, offsetX, offsetY);
94
+ return /* @__PURE__ */ jsxRuntime.jsx(
95
+ Box.Box,
96
+ {
97
+ ref,
98
+ as,
99
+ position: "absolute",
100
+ display: "inline-flex",
101
+ zIndex,
102
+ ...placementStyle,
103
+ ...rest
104
+ }
105
+ );
72
106
  });
73
- //#endregion
107
+
74
108
  exports.Float = Float;
@@ -1,72 +1,85 @@
1
- "use client";
2
- import { handleDimension } from "../../utils/styled.js";
3
- import { Box } from "../Box/Box.js";
4
- import * as React$1 from "react";
5
- import { jsx } from "react/jsx-runtime";
6
- //#region src/components/Float/Float.tsx
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import * as React from 'react';
4
+ import { Box } from '../Box/Box.js';
5
+ import { handleDimension } from '../../utils/styled.js';
6
+
7
7
  function getPlacementStyle(placement, offsetX, offsetY) {
8
- const offsetXValue = handleDimension(offsetX);
9
- const offsetYValue = handleDimension(offsetY);
10
- const centerLeft = offsetXValue ? `calc(50% + ${offsetXValue})` : "50%";
11
- const middleTop = offsetYValue ? `calc(50% + ${offsetYValue})` : "50%";
12
- const shiftLeft = "translateX(-50%)";
13
- const shiftTop = "translateY(-50%)";
14
- const shiftBoth = "translate(-50%, -50%)";
15
- switch (placement) {
16
- case "top-start": return {
17
- top: offsetYValue ?? 0,
18
- left: offsetXValue ?? 0
19
- };
20
- case "top-center": return {
21
- top: offsetYValue ?? 0,
22
- left: centerLeft,
23
- unstable_transform: shiftLeft
24
- };
25
- case "top-end": return {
26
- top: offsetYValue ?? 0,
27
- right: offsetXValue ?? 0
28
- };
29
- case "middle-start": return {
30
- top: middleTop,
31
- left: offsetXValue ?? 0,
32
- unstable_transform: shiftTop
33
- };
34
- case "middle-center": return {
35
- top: middleTop,
36
- left: centerLeft,
37
- unstable_transform: shiftBoth
38
- };
39
- case "middle-end": return {
40
- top: middleTop,
41
- right: offsetXValue ?? 0,
42
- unstable_transform: shiftTop
43
- };
44
- case "bottom-start": return {
45
- bottom: offsetYValue ?? 0,
46
- left: offsetXValue ?? 0
47
- };
48
- case "bottom-center": return {
49
- bottom: offsetYValue ?? 0,
50
- left: centerLeft,
51
- unstable_transform: shiftLeft
52
- };
53
- case "bottom-end": return {
54
- bottom: offsetYValue ?? 0,
55
- right: offsetXValue ?? 0
56
- };
57
- }
8
+ const offsetXValue = handleDimension(offsetX);
9
+ const offsetYValue = handleDimension(offsetY);
10
+ const centerLeft = offsetXValue ? `calc(50% + ${offsetXValue})` : "50%";
11
+ const middleTop = offsetYValue ? `calc(50% + ${offsetYValue})` : "50%";
12
+ const shiftLeft = "translateX(-50%)";
13
+ const shiftTop = "translateY(-50%)";
14
+ const shiftBoth = "translate(-50%, -50%)";
15
+ switch (placement) {
16
+ case "top-start":
17
+ return {
18
+ top: offsetYValue ?? 0,
19
+ left: offsetXValue ?? 0
20
+ };
21
+ case "top-center":
22
+ return {
23
+ top: offsetYValue ?? 0,
24
+ left: centerLeft,
25
+ unstable_transform: shiftLeft
26
+ };
27
+ case "top-end":
28
+ return {
29
+ top: offsetYValue ?? 0,
30
+ right: offsetXValue ?? 0
31
+ };
32
+ case "middle-start":
33
+ return {
34
+ top: middleTop,
35
+ left: offsetXValue ?? 0,
36
+ unstable_transform: shiftTop
37
+ };
38
+ case "middle-center":
39
+ return {
40
+ top: middleTop,
41
+ left: centerLeft,
42
+ unstable_transform: shiftBoth
43
+ };
44
+ case "middle-end":
45
+ return {
46
+ top: middleTop,
47
+ right: offsetXValue ?? 0,
48
+ unstable_transform: shiftTop
49
+ };
50
+ case "bottom-start":
51
+ return {
52
+ bottom: offsetYValue ?? 0,
53
+ left: offsetXValue ?? 0
54
+ };
55
+ case "bottom-center":
56
+ return {
57
+ bottom: offsetYValue ?? 0,
58
+ left: centerLeft,
59
+ unstable_transform: shiftLeft
60
+ };
61
+ case "bottom-end":
62
+ return {
63
+ bottom: offsetYValue ?? 0,
64
+ right: offsetXValue ?? 0
65
+ };
66
+ }
58
67
  }
59
- var Float = React$1.forwardRef((props, ref) => {
60
- const { as, placement, offsetX, offsetY, zIndex, ...rest } = props;
61
- return /* @__PURE__ */ jsx(Box, {
62
- ref,
63
- as,
64
- position: "absolute",
65
- display: "inline-flex",
66
- zIndex,
67
- ...getPlacementStyle(placement, offsetX, offsetY),
68
- ...rest
69
- });
68
+ const Float = React.forwardRef((props, ref) => {
69
+ const { as, placement, offsetX, offsetY, zIndex, ...rest } = props;
70
+ const placementStyle = getPlacementStyle(placement, offsetX, offsetY);
71
+ return /* @__PURE__ */ jsx(
72
+ Box,
73
+ {
74
+ ref,
75
+ as,
76
+ position: "absolute",
77
+ display: "inline-flex",
78
+ zIndex,
79
+ ...placementStyle,
80
+ ...rest
81
+ }
82
+ );
70
83
  });
71
- //#endregion
84
+
72
85
  export { Float };
@@ -1,3 +1,9 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_Float = require("./Float.cjs");
3
- exports.Float = require_Float.Float;
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const Float = require('./Float.cjs');
6
+
7
+
8
+
9
+ exports.Float = Float.Float;
@@ -1,2 +1 @@
1
- import { Float } from "./Float.js";
2
- export { Float };
1
+ export { Float } from './Float.js';
@@ -1,15 +1,18 @@
1
- "use client";
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
- const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
4
- const require_Icon = require("../private/Icon.cjs");
5
- let _seed_design_react_primitive = require("@seed-design/react-primitive");
6
- let _seed_design_css_recipes_floating_action_button = require("@seed-design/css/recipes/floating-action-button");
7
- //#region src/components/FloatingActionButton/FloatingActionButton.tsx
8
- var { withProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_floating_action_button.floatingActionButton);
9
- var FloatingActionButtonRoot = withProvider(_seed_design_react_primitive.Primitive.button, "root");
10
- var FloatingActionButtonIcon = withContext(require_Icon.InternalIcon, "icon");
11
- var FloatingActionButtonLabel = withContext(_seed_design_react_primitive.Primitive.span, "label");
12
- //#endregion
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const floatingActionButton = require('@seed-design/css/recipes/floating-action-button');
7
+ const reactPrimitive = require('@seed-design/react-primitive');
8
+ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
9
+ const Icon = require('../private/Icon.cjs');
10
+
11
+ const { withProvider, withContext } = createSlotRecipeContext.createSlotRecipeContext(floatingActionButton.floatingActionButton);
12
+ const FloatingActionButtonRoot = withProvider(reactPrimitive.Primitive.button, "root");
13
+ const FloatingActionButtonIcon = withContext(Icon.InternalIcon, "icon");
14
+ const FloatingActionButtonLabel = withContext(reactPrimitive.Primitive.span, "label");
15
+
13
16
  exports.FloatingActionButtonIcon = FloatingActionButtonIcon;
14
17
  exports.FloatingActionButtonLabel = FloatingActionButtonLabel;
15
18
  exports.FloatingActionButtonRoot = FloatingActionButtonRoot;
@@ -1,12 +1,12 @@
1
- "use client";
2
- import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
3
- import { InternalIcon } from "../private/Icon.js";
4
- import { Primitive } from "@seed-design/react-primitive";
5
- import { floatingActionButton } from "@seed-design/css/recipes/floating-action-button";
6
- //#region src/components/FloatingActionButton/FloatingActionButton.tsx
7
- var { withProvider, withContext } = createSlotRecipeContext(floatingActionButton);
8
- var FloatingActionButtonRoot = withProvider(Primitive.button, "root");
9
- var FloatingActionButtonIcon = withContext(InternalIcon, "icon");
10
- var FloatingActionButtonLabel = withContext(Primitive.span, "label");
11
- //#endregion
1
+ 'use client';
2
+ import { floatingActionButton } from '@seed-design/css/recipes/floating-action-button';
3
+ import { Primitive } from '@seed-design/react-primitive';
4
+ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
5
+ import { InternalIcon } from '../private/Icon.js';
6
+
7
+ const { withProvider, withContext } = createSlotRecipeContext(floatingActionButton);
8
+ const FloatingActionButtonRoot = withProvider(Primitive.button, "root");
9
+ const FloatingActionButtonIcon = withContext(InternalIcon, "icon");
10
+ const FloatingActionButtonLabel = withContext(Primitive.span, "label");
11
+
12
12
  export { FloatingActionButtonIcon, FloatingActionButtonLabel, FloatingActionButtonRoot };
@@ -1,15 +1,11 @@
1
- const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
2
- const require_FloatingActionButton = require("./FloatingActionButton.cjs");
3
- //#region src/components/FloatingActionButton/FloatingActionButton.namespace.tsx
4
- var FloatingActionButton_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
5
- Icon: () => require_FloatingActionButton.FloatingActionButtonIcon,
6
- Label: () => require_FloatingActionButton.FloatingActionButtonLabel,
7
- Root: () => require_FloatingActionButton.FloatingActionButtonRoot
8
- });
9
- //#endregion
10
- Object.defineProperty(exports, "FloatingActionButton_namespace_exports", {
11
- enumerable: true,
12
- get: function() {
13
- return FloatingActionButton_namespace_exports;
14
- }
15
- });
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const FloatingActionButton = require('./FloatingActionButton.cjs');
6
+
7
+
8
+
9
+ exports.Icon = FloatingActionButton.FloatingActionButtonIcon;
10
+ exports.Label = FloatingActionButton.FloatingActionButtonLabel;
11
+ exports.Root = FloatingActionButton.FloatingActionButtonRoot;