@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,105 +1,126 @@
1
- "use client";
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
- const require_styled = require("../../utils/styled.cjs");
4
- let react = require("react");
5
- let react_jsx_runtime = require("react/jsx-runtime");
6
- let _radix_ui_react_slot = require("@radix-ui/react-slot");
7
- let _radix_ui_react_use_layout_effect = require("@radix-ui/react-use-layout-effect");
8
- //#region src/components/Icon/Icon.tsx
9
- var PrefixIcon = (0, react.forwardRef)(({ svg, ...otherProps }, ref) => {
10
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slot.Slot, {
11
- ref,
12
- "aria-hidden": true,
13
- className: "seed-prefix-icon",
14
- ...otherProps,
15
- children: svg
16
- });
17
- });
18
- var SuffixIcon = (0, react.forwardRef)(({ svg, ...otherProps }, ref) => {
19
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slot.Slot, {
20
- ref,
21
- "aria-hidden": true,
22
- className: "seed-suffix-icon",
23
- ...otherProps,
24
- children: svg
25
- });
26
- });
27
- var IconContext = (0, react.createContext)(null);
28
- var IconRequired = ({ children, enabled }) => {
29
- const registeredRef = (0, react.useRef)(false);
30
- const parentContext = (0, react.useContext)(IconContext);
31
- const register = (0, react.useCallback)(() => {
32
- if (process.env.NODE_ENV !== "production") {
33
- if (registeredRef.current) throw new Error("Icon-only Component must render only one <Icon /> under children. Check if you are rendering multiple <Icon />.");
34
- }
35
- registeredRef.current = true;
36
- }, []);
37
- const unregister = (0, react.useCallback)(() => {
38
- registeredRef.current = false;
39
- }, []);
40
- (0, _radix_ui_react_use_layout_effect.useLayoutEffect)(() => {
41
- if (!enabled) return;
42
- if (process.env.NODE_ENV !== "production") {
43
- if (parentContext) throw new Error("Icon-only Component must not be nested within another Icon-Only. Check if you are using Icon-Only inside another Icon-Only.");
44
- if (!registeredRef.current) throw new Error("Icon-only Component must render <Icon /> as a child. Check if you are using raw svg icon instead of <Icon svg={} />.");
45
- }
46
- }, [parentContext, enabled]);
47
- const providerValue = (0, react.useMemo)(() => {
48
- if (!enabled) {
49
- if (parentContext) return parentContext;
50
- return null;
51
- }
52
- return {
53
- register,
54
- unregister
55
- };
56
- }, [
57
- enabled,
58
- parentContext,
59
- register,
60
- unregister
61
- ]);
62
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconContext.Provider, {
63
- value: providerValue,
64
- children
65
- });
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 reactSlot = require('@radix-ui/react-slot');
8
+ const reactUseLayoutEffect = require('@radix-ui/react-use-layout-effect');
9
+ const React = require('react');
10
+ const styled = require('../../utils/styled.cjs');
11
+
12
+ const PrefixIcon = React.forwardRef(
13
+ ({ svg, ...otherProps }, ref) => {
14
+ return /* @__PURE__ */ jsxRuntime.jsx(
15
+ reactSlot.Slot,
16
+ {
17
+ ref,
18
+ "aria-hidden": true,
19
+ className: "seed-prefix-icon",
20
+ ...otherProps,
21
+ children: svg
22
+ }
23
+ );
24
+ }
25
+ );
26
+ const SuffixIcon = React.forwardRef(
27
+ ({ svg, ...otherProps }, ref) => {
28
+ return /* @__PURE__ */ jsxRuntime.jsx(
29
+ reactSlot.Slot,
30
+ {
31
+ ref,
32
+ "aria-hidden": true,
33
+ className: "seed-suffix-icon",
34
+ ...otherProps,
35
+ children: svg
36
+ }
37
+ );
38
+ }
39
+ );
40
+ const IconContext = React.createContext(null);
41
+ const IconRequired = ({
42
+ children,
43
+ enabled
44
+ }) => {
45
+ const registeredRef = React.useRef(false);
46
+ const parentContext = React.useContext(IconContext);
47
+ const register = React.useCallback(() => {
48
+ if (process.env.NODE_ENV !== "production") {
49
+ if (registeredRef.current) {
50
+ throw new Error(
51
+ "Icon-only Component must render only one <Icon /> under children. Check if you are rendering multiple <Icon />."
52
+ );
53
+ }
54
+ }
55
+ registeredRef.current = true;
56
+ }, []);
57
+ const unregister = React.useCallback(() => {
58
+ registeredRef.current = false;
59
+ }, []);
60
+ reactUseLayoutEffect.useLayoutEffect(() => {
61
+ if (!enabled) {
62
+ return;
63
+ }
64
+ if (process.env.NODE_ENV !== "production") {
65
+ if (parentContext) {
66
+ throw new Error(
67
+ "Icon-only Component must not be nested within another Icon-Only. Check if you are using Icon-Only inside another Icon-Only."
68
+ );
69
+ }
70
+ if (!registeredRef.current) {
71
+ throw new Error(
72
+ "Icon-only Component must render <Icon /> as a child. Check if you are using raw svg icon instead of <Icon svg={} />."
73
+ );
74
+ }
75
+ }
76
+ }, [parentContext, enabled]);
77
+ const providerValue = React.useMemo(() => {
78
+ if (!enabled) {
79
+ if (parentContext) {
80
+ return parentContext;
81
+ }
82
+ return null;
83
+ }
84
+ return { register, unregister };
85
+ }, [enabled, parentContext, register, unregister]);
86
+ return /* @__PURE__ */ jsxRuntime.jsx(IconContext.Provider, { value: providerValue, children });
66
87
  };
67
- var Icon = (0, react.forwardRef)(({ svg, size, color, ...otherProps }, ref) => {
68
- const context = (0, react.useContext)(IconContext);
69
- (0, _radix_ui_react_use_layout_effect.useLayoutEffect)(() => {
70
- context?.register();
71
- return () => {
72
- context?.unregister();
73
- };
74
- }, [context]);
75
- const sizeValue = require_styled.handleDimension(size);
76
- const colorValue = require_styled.handleColor(color);
77
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slot.Slot, {
78
- ref,
79
- "aria-hidden": true,
80
- className: "seed-icon",
81
- style: {
82
- "--seed-icon-size": sizeValue,
83
- "--seed-icon-color": colorValue
84
- },
85
- ...otherProps,
86
- children: svg
87
- });
88
- });
88
+ const Icon = React.forwardRef(
89
+ ({ svg, size, color, ...otherProps }, ref) => {
90
+ const context = React.useContext(IconContext);
91
+ reactUseLayoutEffect.useLayoutEffect(() => {
92
+ context?.register();
93
+ return () => {
94
+ context?.unregister();
95
+ };
96
+ }, [context]);
97
+ const sizeValue = styled.handleDimension(size);
98
+ const colorValue = styled.handleColor(color);
99
+ return /* @__PURE__ */ jsxRuntime.jsx(
100
+ reactSlot.Slot,
101
+ {
102
+ ref,
103
+ "aria-hidden": true,
104
+ className: "seed-icon",
105
+ style: {
106
+ "--seed-icon-size": sizeValue,
107
+ "--seed-icon-color": colorValue
108
+ },
109
+ ...otherProps,
110
+ children: svg
111
+ }
112
+ );
113
+ }
114
+ );
89
115
  function withIconRequired(Component, enabledPredicate) {
90
- const Node = (0, react.forwardRef)((props, ref) => {
91
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconRequired, {
92
- enabled: enabledPredicate(props),
93
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Component, {
94
- ref,
95
- ...props
96
- })
97
- });
98
- });
99
- Node.displayName = Component.displayName || Component.name;
100
- return Node;
116
+ const Node = React.forwardRef((props, ref) => {
117
+ const enabled = enabledPredicate(props);
118
+ return /* @__PURE__ */ jsxRuntime.jsx(IconRequired, { enabled, children: /* @__PURE__ */ jsxRuntime.jsx(Component, { ref, ...props }) });
119
+ });
120
+ Node.displayName = Component.displayName || Component.name;
121
+ return Node;
101
122
  }
102
- //#endregion
123
+
103
124
  exports.Icon = Icon;
104
125
  exports.IconRequired = IconRequired;
105
126
  exports.PrefixIcon = PrefixIcon;
@@ -1,102 +1,120 @@
1
- "use client";
2
- import { handleColor, handleDimension } from "../../utils/styled.js";
3
- import { createContext, forwardRef, useCallback, useContext, useMemo, useRef } from "react";
4
- import { jsx } from "react/jsx-runtime";
5
- import { Slot } from "@radix-ui/react-slot";
6
- import { useLayoutEffect } from "@radix-ui/react-use-layout-effect";
7
- //#region src/components/Icon/Icon.tsx
8
- var PrefixIcon = forwardRef(({ svg, ...otherProps }, ref) => {
9
- return /* @__PURE__ */ jsx(Slot, {
10
- ref,
11
- "aria-hidden": true,
12
- className: "seed-prefix-icon",
13
- ...otherProps,
14
- children: svg
15
- });
16
- });
17
- var SuffixIcon = forwardRef(({ svg, ...otherProps }, ref) => {
18
- return /* @__PURE__ */ jsx(Slot, {
19
- ref,
20
- "aria-hidden": true,
21
- className: "seed-suffix-icon",
22
- ...otherProps,
23
- children: svg
24
- });
25
- });
26
- var IconContext = createContext(null);
27
- var IconRequired = ({ children, enabled }) => {
28
- const registeredRef = useRef(false);
29
- const parentContext = useContext(IconContext);
30
- const register = useCallback(() => {
31
- if (process.env.NODE_ENV !== "production") {
32
- if (registeredRef.current) throw new Error("Icon-only Component must render only one <Icon /> under children. Check if you are rendering multiple <Icon />.");
33
- }
34
- registeredRef.current = true;
35
- }, []);
36
- const unregister = useCallback(() => {
37
- registeredRef.current = false;
38
- }, []);
39
- useLayoutEffect(() => {
40
- if (!enabled) return;
41
- if (process.env.NODE_ENV !== "production") {
42
- if (parentContext) throw new Error("Icon-only Component must not be nested within another Icon-Only. Check if you are using Icon-Only inside another Icon-Only.");
43
- if (!registeredRef.current) throw new Error("Icon-only Component must render <Icon /> as a child. Check if you are using raw svg icon instead of <Icon svg={} />.");
44
- }
45
- }, [parentContext, enabled]);
46
- const providerValue = useMemo(() => {
47
- if (!enabled) {
48
- if (parentContext) return parentContext;
49
- return null;
50
- }
51
- return {
52
- register,
53
- unregister
54
- };
55
- }, [
56
- enabled,
57
- parentContext,
58
- register,
59
- unregister
60
- ]);
61
- return /* @__PURE__ */ jsx(IconContext.Provider, {
62
- value: providerValue,
63
- children
64
- });
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { Slot } from '@radix-ui/react-slot';
4
+ import { useLayoutEffect } from '@radix-ui/react-use-layout-effect';
5
+ import { forwardRef, useContext, createContext, useRef, useCallback, useMemo } from 'react';
6
+ import { handleDimension, handleColor } from '../../utils/styled.js';
7
+
8
+ const PrefixIcon = forwardRef(
9
+ ({ svg, ...otherProps }, ref) => {
10
+ return /* @__PURE__ */ jsx(
11
+ Slot,
12
+ {
13
+ ref,
14
+ "aria-hidden": true,
15
+ className: "seed-prefix-icon",
16
+ ...otherProps,
17
+ children: svg
18
+ }
19
+ );
20
+ }
21
+ );
22
+ const SuffixIcon = forwardRef(
23
+ ({ svg, ...otherProps }, ref) => {
24
+ return /* @__PURE__ */ jsx(
25
+ Slot,
26
+ {
27
+ ref,
28
+ "aria-hidden": true,
29
+ className: "seed-suffix-icon",
30
+ ...otherProps,
31
+ children: svg
32
+ }
33
+ );
34
+ }
35
+ );
36
+ const IconContext = createContext(null);
37
+ const IconRequired = ({
38
+ children,
39
+ enabled
40
+ }) => {
41
+ const registeredRef = useRef(false);
42
+ const parentContext = useContext(IconContext);
43
+ const register = useCallback(() => {
44
+ if (process.env.NODE_ENV !== "production") {
45
+ if (registeredRef.current) {
46
+ throw new Error(
47
+ "Icon-only Component must render only one <Icon /> under children. Check if you are rendering multiple <Icon />."
48
+ );
49
+ }
50
+ }
51
+ registeredRef.current = true;
52
+ }, []);
53
+ const unregister = useCallback(() => {
54
+ registeredRef.current = false;
55
+ }, []);
56
+ useLayoutEffect(() => {
57
+ if (!enabled) {
58
+ return;
59
+ }
60
+ if (process.env.NODE_ENV !== "production") {
61
+ if (parentContext) {
62
+ throw new Error(
63
+ "Icon-only Component must not be nested within another Icon-Only. Check if you are using Icon-Only inside another Icon-Only."
64
+ );
65
+ }
66
+ if (!registeredRef.current) {
67
+ throw new Error(
68
+ "Icon-only Component must render <Icon /> as a child. Check if you are using raw svg icon instead of <Icon svg={} />."
69
+ );
70
+ }
71
+ }
72
+ }, [parentContext, enabled]);
73
+ const providerValue = useMemo(() => {
74
+ if (!enabled) {
75
+ if (parentContext) {
76
+ return parentContext;
77
+ }
78
+ return null;
79
+ }
80
+ return { register, unregister };
81
+ }, [enabled, parentContext, register, unregister]);
82
+ return /* @__PURE__ */ jsx(IconContext.Provider, { value: providerValue, children });
65
83
  };
66
- var Icon = forwardRef(({ svg, size, color, ...otherProps }, ref) => {
67
- const context = useContext(IconContext);
68
- useLayoutEffect(() => {
69
- context?.register();
70
- return () => {
71
- context?.unregister();
72
- };
73
- }, [context]);
74
- const sizeValue = handleDimension(size);
75
- const colorValue = handleColor(color);
76
- return /* @__PURE__ */ jsx(Slot, {
77
- ref,
78
- "aria-hidden": true,
79
- className: "seed-icon",
80
- style: {
81
- "--seed-icon-size": sizeValue,
82
- "--seed-icon-color": colorValue
83
- },
84
- ...otherProps,
85
- children: svg
86
- });
87
- });
84
+ const Icon = forwardRef(
85
+ ({ svg, size, color, ...otherProps }, ref) => {
86
+ const context = useContext(IconContext);
87
+ useLayoutEffect(() => {
88
+ context?.register();
89
+ return () => {
90
+ context?.unregister();
91
+ };
92
+ }, [context]);
93
+ const sizeValue = handleDimension(size);
94
+ const colorValue = handleColor(color);
95
+ return /* @__PURE__ */ jsx(
96
+ Slot,
97
+ {
98
+ ref,
99
+ "aria-hidden": true,
100
+ className: "seed-icon",
101
+ style: {
102
+ "--seed-icon-size": sizeValue,
103
+ "--seed-icon-color": colorValue
104
+ },
105
+ ...otherProps,
106
+ children: svg
107
+ }
108
+ );
109
+ }
110
+ );
88
111
  function withIconRequired(Component, enabledPredicate) {
89
- const Node = forwardRef((props, ref) => {
90
- return /* @__PURE__ */ jsx(IconRequired, {
91
- enabled: enabledPredicate(props),
92
- children: /* @__PURE__ */ jsx(Component, {
93
- ref,
94
- ...props
95
- })
96
- });
97
- });
98
- Node.displayName = Component.displayName || Component.name;
99
- return Node;
112
+ const Node = forwardRef((props, ref) => {
113
+ const enabled = enabledPredicate(props);
114
+ return /* @__PURE__ */ jsx(IconRequired, { enabled, children: /* @__PURE__ */ jsx(Component, { ref, ...props }) });
115
+ });
116
+ Node.displayName = Component.displayName || Component.name;
117
+ return Node;
100
118
  }
101
- //#endregion
119
+
102
120
  export { Icon, IconRequired, PrefixIcon, SuffixIcon, withIconRequired };
@@ -1,5 +1,11 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_Icon = require("./Icon.cjs");
3
- exports.Icon = require_Icon.Icon;
4
- exports.PrefixIcon = require_Icon.PrefixIcon;
5
- exports.SuffixIcon = require_Icon.SuffixIcon;
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const Icon = require('./Icon.cjs');
6
+
7
+
8
+
9
+ exports.Icon = Icon.Icon;
10
+ exports.PrefixIcon = Icon.PrefixIcon;
11
+ exports.SuffixIcon = Icon.SuffixIcon;
@@ -1,2 +1 @@
1
- import { Icon, PrefixIcon, SuffixIcon } from "./Icon.js";
2
- export { Icon, PrefixIcon, SuffixIcon };
1
+ export { Icon, PrefixIcon, SuffixIcon } from './Icon.js';
@@ -1,56 +1,77 @@
1
- "use client";
2
- const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
- const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
4
- let _seed_design_react_primitive = require("@seed-design/react-primitive");
5
- let react = require("react");
6
- react = require_runtime.__toESM(react);
7
- let react_jsx_runtime = require("react/jsx-runtime");
8
- let _seed_design_dom_utils = require("@seed-design/dom-utils");
9
- let _seed_design_css_recipes_identity_placeholder = require("@seed-design/css/recipes/identity-placeholder");
10
- //#region src/components/IdentityPlaceholder/IdentityPlaceholder.tsx
11
- var { ClassNamesProvider, PropsProvider, useClassNames, useProps } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_identity_placeholder.identityPlaceholder);
12
- var IdentityPlaceholderRoot = react.forwardRef((props, ref) => {
13
- const [variantProps, restProps] = _seed_design_css_recipes_identity_placeholder.identityPlaceholder.splitVariantProps(props);
14
- const classNames = (0, _seed_design_css_recipes_identity_placeholder.identityPlaceholder)(variantProps);
15
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PropsProvider, {
16
- value: variantProps,
17
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ClassNamesProvider, {
18
- value: classNames,
19
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
20
- ref,
21
- ...(0, _seed_design_dom_utils.mergeProps)({ className: classNames.root }, restProps)
22
- })
23
- })
24
- });
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 identityPlaceholder = require('@seed-design/css/recipes/identity-placeholder');
8
+ const domUtils = require('@seed-design/dom-utils');
9
+ const reactPrimitive = require('@seed-design/react-primitive');
10
+ const React = require('react');
11
+ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
12
+
13
+ function _interopNamespaceDefault(e) {
14
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
15
+ if (e) {
16
+ for (const k in e) {
17
+ if (k !== 'default') {
18
+ const d = Object.getOwnPropertyDescriptor(e, k);
19
+ Object.defineProperty(n, k, d.get ? d : {
20
+ enumerable: true,
21
+ get: () => e[k]
22
+ });
23
+ }
24
+ }
25
+ }
26
+ n.default = e;
27
+ return Object.freeze(n);
28
+ }
29
+
30
+ const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
31
+
32
+ const { ClassNamesProvider, PropsProvider, useClassNames, useProps } = createSlotRecipeContext.createSlotRecipeContext(identityPlaceholder.identityPlaceholder);
33
+ const IdentityPlaceholderRoot = React__namespace.forwardRef((props, ref) => {
34
+ const [variantProps, restProps] = identityPlaceholder.identityPlaceholder.splitVariantProps(props);
35
+ const classNames = identityPlaceholder.identityPlaceholder(variantProps);
36
+ return /* @__PURE__ */ jsxRuntime.jsx(PropsProvider, { value: variantProps, children: /* @__PURE__ */ jsxRuntime.jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsxRuntime.jsx(reactPrimitive.Primitive.div, { ref, ...domUtils.mergeProps({ className: classNames.root }, restProps) }) }) });
25
37
  });
26
38
  IdentityPlaceholderRoot.displayName = "IdentityPlaceholderRoot";
27
- var IdentityPlaceholderImage = react.forwardRef((props, ref) => {
28
- const classNames = useClassNames();
29
- switch (useProps()?.identity) {
30
- case "business": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
31
- ref,
32
- viewBox: "0 0 640 640",
33
- fill: "none",
34
- xmlns: "http://www.w3.org/2000/svg",
35
- role: "img",
36
- "aria-label": "Identity placeholder",
37
- ...(0, _seed_design_dom_utils.mergeProps)({ className: classNames.image }, props),
38
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m512 250-29-73c-7-17-24-29-42-29H200c-18 0-35 12-42 29l-29 73q-3 7 2 14c17 23 42 41 71 41q35-2 59-26 25 24 59 26 35-2 59-26 25 24 59 26c28 0 56-18 72-41 2-3 3-11 2-14M439 340c-28 0-47-12-59-23a86 86 0 0 1-59 23c-28 0-48-12-59-23a86 86 0 0 1-60 23q-33-2-53-17v119c0 27 22 49 49 49h138l107 1c27 0 49-22 49-50V323q-20 15-53 17m-143 72q-1 11-12 12h-18q-11-2-12-12v-19q1-10 12-11h18q11 1 12 11zm91 0q-1 11-11 12h-19q-11-2-12-12v-19q1-10 12-11h19q10 1 11 11z" })
39
- });
40
- case "person":
41
- case void 0: return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
42
- ref,
43
- viewBox: "0 0 640 640",
44
- fill: "none",
45
- xmlns: "http://www.w3.org/2000/svg",
46
- role: "img",
47
- "aria-label": "Identity placeholder",
48
- ...(0, _seed_design_dom_utils.mergeProps)({ className: classNames.image }, props),
49
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M496 460q4 5 0 11c-42 52-97 81-176 81s-134-29-176-81q-3-5-1-10c33-50 104-74 177-74s144 23 176 73M222 251a98 98 0 0 1 196 0c0 54-44 97-98 97s-98-43-98-97" })
50
- });
51
- }
39
+ const IdentityPlaceholderImage = React__namespace.forwardRef((props, ref) => {
40
+ const classNames = useClassNames();
41
+ const parentProps = useProps();
42
+ switch (parentProps?.identity) {
43
+ case "business":
44
+ return /* @__PURE__ */ jsxRuntime.jsx(
45
+ "svg",
46
+ {
47
+ ref,
48
+ viewBox: "0 0 640 640",
49
+ fill: "none",
50
+ xmlns: "http://www.w3.org/2000/svg",
51
+ role: "img",
52
+ "aria-label": "Identity placeholder",
53
+ ...domUtils.mergeProps({ className: classNames.image }, props),
54
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m512 250-29-73c-7-17-24-29-42-29H200c-18 0-35 12-42 29l-29 73q-3 7 2 14c17 23 42 41 71 41q35-2 59-26 25 24 59 26 35-2 59-26 25 24 59 26c28 0 56-18 72-41 2-3 3-11 2-14M439 340c-28 0-47-12-59-23a86 86 0 0 1-59 23c-28 0-48-12-59-23a86 86 0 0 1-60 23q-33-2-53-17v119c0 27 22 49 49 49h138l107 1c27 0 49-22 49-50V323q-20 15-53 17m-143 72q-1 11-12 12h-18q-11-2-12-12v-19q1-10 12-11h18q11 1 12 11zm91 0q-1 11-11 12h-19q-11-2-12-12v-19q1-10 12-11h19q10 1 11 11z" })
55
+ }
56
+ );
57
+ case "person":
58
+ case void 0:
59
+ return /* @__PURE__ */ jsxRuntime.jsx(
60
+ "svg",
61
+ {
62
+ ref,
63
+ viewBox: "0 0 640 640",
64
+ fill: "none",
65
+ xmlns: "http://www.w3.org/2000/svg",
66
+ role: "img",
67
+ "aria-label": "Identity placeholder",
68
+ ...domUtils.mergeProps({ className: classNames.image }, props),
69
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M496 460q4 5 0 11c-42 52-97 81-176 81s-134-29-176-81q-3-5-1-10c33-50 104-74 177-74s144 23 176 73M222 251a98 98 0 0 1 196 0c0 54-44 97-98 97s-98-43-98-97" })
70
+ }
71
+ );
72
+ }
52
73
  });
53
74
  IdentityPlaceholderImage.displayName = "IdentityPlaceholderImage";
54
- //#endregion
75
+
55
76
  exports.IdentityPlaceholderImage = IdentityPlaceholderImage;
56
77
  exports.IdentityPlaceholderRoot = IdentityPlaceholderRoot;