@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
@@ -1,27 +1,24 @@
1
- 'use client';
2
- import { elementProps } from '@seed-design/dom-utils';
3
- import * as React from 'react';
4
-
1
+ "use client";
2
+ import * as React$1 from "react";
3
+ import { elementProps } from "@seed-design/dom-utils";
4
+ //#region src/components/LoadingIndicator/usePendingButton.tsx
5
5
  function usePendingButton(props) {
6
- const { loading, disabled } = props;
7
- const stateProps = elementProps({
8
- "data-loading": loading ? "" : void 0,
9
- "data-disabled": disabled ? "" : void 0
10
- });
11
- return {
12
- loading,
13
- disabled,
14
- stateProps
15
- };
6
+ const { loading, disabled } = props;
7
+ return {
8
+ loading,
9
+ disabled,
10
+ stateProps: elementProps({
11
+ "data-loading": loading ? "" : void 0,
12
+ "data-disabled": disabled ? "" : void 0
13
+ })
14
+ };
16
15
  }
17
- const PendingButtonContext = React.createContext(null);
18
- const PendingButtonProvider = PendingButtonContext.Provider;
19
- const usePendingButtonContext = () => {
20
- const context = React.useContext(PendingButtonContext);
21
- if (context === null) {
22
- throw new Error("usePendingButtonContext should be used within UsePendingButtonProvider");
23
- }
24
- return context;
16
+ var PendingButtonContext = React$1.createContext(null);
17
+ var PendingButtonProvider = PendingButtonContext.Provider;
18
+ var usePendingButtonContext = () => {
19
+ const context = React$1.useContext(PendingButtonContext);
20
+ if (context === null) throw new Error("usePendingButtonContext should be used within UsePendingButtonProvider");
21
+ return context;
25
22
  };
26
-
23
+ //#endregion
27
24
  export { PendingButtonProvider, usePendingButton, usePendingButtonContext };
@@ -1,20 +1,22 @@
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 mannerTemp = require('@seed-design/css/recipes/manner-temp');
8
- const reactPrimitive = require('@seed-design/react-primitive');
9
- const React = require('react');
10
- const createRecipeContext = require('../../utils/createRecipeContext.cjs');
11
- const MannerTempEmote = require('./MannerTempEmote.cjs');
12
-
13
- const { withContext } = createRecipeContext.createRecipeContext(mannerTemp.mannerTemp);
14
- const MannerTempBase = withContext(reactPrimitive.Primitive.span);
15
- const MannerTemp = React.forwardRef((props, ref) => {
16
- const emoteProps = React.useMemo(() => ({ level: props.level }), [props.level]);
17
- return /* @__PURE__ */ jsxRuntime.jsx(MannerTempEmote.MannerTempEmotePropsProvider, { value: emoteProps, children: /* @__PURE__ */ jsxRuntime.jsx(MannerTempBase, { ...props, ref }) });
1
+ "use client";
2
+ require("../../_virtual/_rolldown/runtime.cjs");
3
+ const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
4
+ const require_MannerTempEmote = require("./MannerTempEmote.cjs");
5
+ let _seed_design_react_primitive = require("@seed-design/react-primitive");
6
+ let react = require("react");
7
+ let react_jsx_runtime = require("react/jsx-runtime");
8
+ let _seed_design_css_recipes_manner_temp = require("@seed-design/css/recipes/manner-temp");
9
+ //#region src/components/MannerTemp/MannerTemp.tsx
10
+ var { withContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_manner_temp.mannerTemp);
11
+ var MannerTempBase = withContext(_seed_design_react_primitive.Primitive.span);
12
+ var MannerTemp = (0, react.forwardRef)((props, ref) => {
13
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_MannerTempEmote.MannerTempEmotePropsProvider, {
14
+ value: (0, react.useMemo)(() => ({ level: props.level }), [props.level]),
15
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MannerTempBase, {
16
+ ...props,
17
+ ref
18
+ })
19
+ });
18
20
  });
19
-
21
+ //#endregion
20
22
  exports.MannerTemp = MannerTemp;
@@ -1,16 +1,21 @@
1
- 'use client';
2
- import { jsx } from 'react/jsx-runtime';
3
- import { mannerTemp } from '@seed-design/css/recipes/manner-temp';
4
- import { Primitive } from '@seed-design/react-primitive';
5
- import { forwardRef, useMemo } from 'react';
6
- import { createRecipeContext } from '../../utils/createRecipeContext.js';
7
- import { MannerTempEmotePropsProvider } from './MannerTempEmote.js';
8
-
9
- const { withContext } = createRecipeContext(mannerTemp);
10
- const MannerTempBase = withContext(Primitive.span);
11
- const MannerTemp = forwardRef((props, ref) => {
12
- const emoteProps = useMemo(() => ({ level: props.level }), [props.level]);
13
- return /* @__PURE__ */ jsx(MannerTempEmotePropsProvider, { value: emoteProps, children: /* @__PURE__ */ jsx(MannerTempBase, { ...props, ref }) });
1
+ "use client";
2
+ import { createRecipeContext } from "../../utils/createRecipeContext.js";
3
+ import { MannerTempEmotePropsProvider } from "./MannerTempEmote.js";
4
+ import { Primitive } from "@seed-design/react-primitive";
5
+ import { forwardRef, useMemo } from "react";
6
+ import { jsx } from "react/jsx-runtime";
7
+ import { mannerTemp } from "@seed-design/css/recipes/manner-temp";
8
+ //#region src/components/MannerTemp/MannerTemp.tsx
9
+ var { withContext } = createRecipeContext(mannerTemp);
10
+ var MannerTempBase = withContext(Primitive.span);
11
+ var MannerTemp = forwardRef((props, ref) => {
12
+ return /* @__PURE__ */ jsx(MannerTempEmotePropsProvider, {
13
+ value: useMemo(() => ({ level: props.level }), [props.level]),
14
+ children: /* @__PURE__ */ jsx(MannerTempBase, {
15
+ ...props,
16
+ ref
17
+ })
18
+ });
14
19
  });
15
-
20
+ //#endregion
16
21
  export { MannerTemp };
@@ -1,101 +1,135 @@
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
-
9
- const src = {
10
- l1: {
11
- x2: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_64_height_64.webp",
12
- x3: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_96_height_96.webp",
13
- x4: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_128_height_128.webp"
14
- },
15
- l2: {
16
- x2: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_64_height_64.webp",
17
- x3: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_96_height_96.webp",
18
- x4: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_128_height_128.webp"
19
- },
20
- l3: {
21
- x2: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_64_height_64.webp",
22
- x3: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_96_height_96.webp",
23
- x4: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_128_height_128.webp"
24
- },
25
- l4: {
26
- x2: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_64_height_64.webp",
27
- x3: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_96_height_96.webp",
28
- x4: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_128_height_128.webp"
29
- },
30
- l5: {
31
- x2: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_64_height_64.webp",
32
- x3: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_96_height_96.webp",
33
- x4: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_128_height_128.webp"
34
- },
35
- l6: {
36
- x2: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_64_height_64.webp",
37
- x3: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_96_height_96.webp",
38
- x4: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_128_height_128.webp"
39
- },
40
- l7: {
41
- x2: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_64_height_64.webp",
42
- x3: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_96_height_96.webp",
43
- x4: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_128_height_128.webp"
44
- },
45
- l8: {
46
- x2: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_64_height_64.webp",
47
- x3: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_96_height_96.webp",
48
- x4: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_128_height_128.webp"
49
- },
50
- l9: {
51
- x2: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_64_height_64.webp",
52
- x3: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_96_height_96.webp",
53
- x4: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_128_height_128.webp"
54
- },
55
- l10: {
56
- x2: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_64_height_64.webp",
57
- x3: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_96_height_96.webp",
58
- x4: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_128_height_128.webp"
59
- }
1
+ "use client";
2
+ require("../../_virtual/_rolldown/runtime.cjs");
3
+ let react = require("react");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/components/MannerTemp/MannerTempEmote.tsx
6
+ var src = {
7
+ l1: {
8
+ x2: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_64_height_64.webp",
9
+ x3: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_96_height_96.webp",
10
+ x4: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_128_height_128.webp"
11
+ },
12
+ l2: {
13
+ x2: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_64_height_64.webp",
14
+ x3: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_96_height_96.webp",
15
+ x4: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_128_height_128.webp"
16
+ },
17
+ l3: {
18
+ x2: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_64_height_64.webp",
19
+ x3: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_96_height_96.webp",
20
+ x4: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_128_height_128.webp"
21
+ },
22
+ l4: {
23
+ x2: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_64_height_64.webp",
24
+ x3: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_96_height_96.webp",
25
+ x4: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_128_height_128.webp"
26
+ },
27
+ l5: {
28
+ x2: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_64_height_64.webp",
29
+ x3: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_96_height_96.webp",
30
+ x4: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_128_height_128.webp"
31
+ },
32
+ l6: {
33
+ x2: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_64_height_64.webp",
34
+ x3: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_96_height_96.webp",
35
+ x4: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_128_height_128.webp"
36
+ },
37
+ l7: {
38
+ x2: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_64_height_64.webp",
39
+ x3: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_96_height_96.webp",
40
+ x4: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_128_height_128.webp"
41
+ },
42
+ l8: {
43
+ x2: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_64_height_64.webp",
44
+ x3: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_96_height_96.webp",
45
+ x4: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_128_height_128.webp"
46
+ },
47
+ l9: {
48
+ x2: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_64_height_64.webp",
49
+ x3: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_96_height_96.webp",
50
+ x4: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_128_height_128.webp"
51
+ },
52
+ l10: {
53
+ x2: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_64_height_64.webp",
54
+ x3: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_96_height_96.webp",
55
+ x4: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_128_height_128.webp"
56
+ }
60
57
  };
61
- const createImgProps = ({ x2, x3, x4 }) => ({
62
- src: x2,
63
- // this is used on x1 displays
64
- srcSet: `${x2} 2x, ${x3} 3x, ${x4} 4x`
58
+ var createImgProps = ({ x2, x3, x4 }) => ({
59
+ src: x2,
60
+ srcSet: `${x2} 2x, ${x3} 3x, ${x4} 4x`
65
61
  });
66
- const l1 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l1), "aria-hidden": true, ref, ...props }));
67
- const l2 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l2), "aria-hidden": true, ref, ...props }));
68
- const l3 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l3), "aria-hidden": true, ref, ...props }));
69
- const l4 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l4), "aria-hidden": true, ref, ...props }));
70
- const l5 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l5), "aria-hidden": true, ref, ...props }));
71
- const l6 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l6), "aria-hidden": true, ref, ...props }));
72
- const l7 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l7), "aria-hidden": true, ref, ...props }));
73
- const l8 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l8), "aria-hidden": true, ref, ...props }));
74
- const l9 = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l9), "aria-hidden": true, ref, ...props }));
75
- const l10 = React.forwardRef(
76
- (props, ref) => /* @__PURE__ */ jsxRuntime.jsx("img", { ...createImgProps(src.l10), "aria-hidden": true, ref, ...props })
77
- );
78
- const emotes = {
79
- l1,
80
- l2,
81
- l3,
82
- l4,
83
- l5,
84
- l6,
85
- l7,
86
- l8,
87
- l9,
88
- l10
62
+ var emotes = {
63
+ l1: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
64
+ ...createImgProps(src.l1),
65
+ "aria-hidden": true,
66
+ ref,
67
+ ...props
68
+ })),
69
+ l2: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
70
+ ...createImgProps(src.l2),
71
+ "aria-hidden": true,
72
+ ref,
73
+ ...props
74
+ })),
75
+ l3: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
76
+ ...createImgProps(src.l3),
77
+ "aria-hidden": true,
78
+ ref,
79
+ ...props
80
+ })),
81
+ l4: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
82
+ ...createImgProps(src.l4),
83
+ "aria-hidden": true,
84
+ ref,
85
+ ...props
86
+ })),
87
+ l5: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
88
+ ...createImgProps(src.l5),
89
+ "aria-hidden": true,
90
+ ref,
91
+ ...props
92
+ })),
93
+ l6: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
94
+ ...createImgProps(src.l6),
95
+ "aria-hidden": true,
96
+ ref,
97
+ ...props
98
+ })),
99
+ l7: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
100
+ ...createImgProps(src.l7),
101
+ "aria-hidden": true,
102
+ ref,
103
+ ...props
104
+ })),
105
+ l8: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
106
+ ...createImgProps(src.l8),
107
+ "aria-hidden": true,
108
+ ref,
109
+ ...props
110
+ })),
111
+ l9: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
112
+ ...createImgProps(src.l9),
113
+ "aria-hidden": true,
114
+ ref,
115
+ ...props
116
+ })),
117
+ l10: (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
118
+ ...createImgProps(src.l10),
119
+ "aria-hidden": true,
120
+ ref,
121
+ ...props
122
+ }))
89
123
  };
90
- const MannerTempEmotePropsContext = React.createContext(null);
91
- const MannerTempEmotePropsProvider = MannerTempEmotePropsContext.Provider;
92
- const MannerTempEmote = React.forwardRef(
93
- ({ level: __level, ...props }, ref) => {
94
- const level = __level ?? React.useContext(MannerTempEmotePropsContext)?.level ?? "l1";
95
- const Emote = emotes[level];
96
- return /* @__PURE__ */ jsxRuntime.jsx(Emote, { ref, ...props });
97
- }
98
- );
99
-
124
+ var MannerTempEmotePropsContext = (0, react.createContext)(null);
125
+ var MannerTempEmotePropsProvider = MannerTempEmotePropsContext.Provider;
126
+ var MannerTempEmote = (0, react.forwardRef)(({ level: __level, ...props }, ref) => {
127
+ const Emote = emotes[__level ?? (0, react.useContext)(MannerTempEmotePropsContext)?.level ?? "l1"];
128
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Emote, {
129
+ ref,
130
+ ...props
131
+ });
132
+ });
133
+ //#endregion
100
134
  exports.MannerTempEmote = MannerTempEmote;
101
135
  exports.MannerTempEmotePropsProvider = MannerTempEmotePropsProvider;
@@ -1,96 +1,133 @@
1
- 'use client';
2
- import { jsx } from 'react/jsx-runtime';
3
- import { forwardRef, createContext, useContext } from 'react';
4
-
5
- const src = {
6
- l1: {
7
- x2: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_64_height_64.webp",
8
- x3: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_96_height_96.webp",
9
- x4: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_128_height_128.webp"
10
- },
11
- l2: {
12
- x2: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_64_height_64.webp",
13
- x3: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_96_height_96.webp",
14
- x4: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_128_height_128.webp"
15
- },
16
- l3: {
17
- x2: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_64_height_64.webp",
18
- x3: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_96_height_96.webp",
19
- x4: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_128_height_128.webp"
20
- },
21
- l4: {
22
- x2: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_64_height_64.webp",
23
- x3: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_96_height_96.webp",
24
- x4: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_128_height_128.webp"
25
- },
26
- l5: {
27
- x2: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_64_height_64.webp",
28
- x3: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_96_height_96.webp",
29
- x4: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_128_height_128.webp"
30
- },
31
- l6: {
32
- x2: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_64_height_64.webp",
33
- x3: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_96_height_96.webp",
34
- x4: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_128_height_128.webp"
35
- },
36
- l7: {
37
- x2: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_64_height_64.webp",
38
- x3: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_96_height_96.webp",
39
- x4: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_128_height_128.webp"
40
- },
41
- l8: {
42
- x2: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_64_height_64.webp",
43
- x3: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_96_height_96.webp",
44
- x4: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_128_height_128.webp"
45
- },
46
- l9: {
47
- x2: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_64_height_64.webp",
48
- x3: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_96_height_96.webp",
49
- x4: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_128_height_128.webp"
50
- },
51
- l10: {
52
- x2: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_64_height_64.webp",
53
- x3: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_96_height_96.webp",
54
- x4: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_128_height_128.webp"
55
- }
1
+ "use client";
2
+ import { createContext, forwardRef, useContext } from "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/MannerTemp/MannerTempEmote.tsx
5
+ var src = {
6
+ l1: {
7
+ x2: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_64_height_64.webp",
8
+ x3: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_96_height_96.webp",
9
+ x4: "https://assetstorage.krrt.io/1123529253537884138/b63c9b3c-410c-4cf5-ba83-d787a03c3c57/width_128_height_128.webp"
10
+ },
11
+ l2: {
12
+ x2: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_64_height_64.webp",
13
+ x3: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_96_height_96.webp",
14
+ x4: "https://assetstorage.krrt.io/1123529253537884138/8e4bc458-f6d4-41ce-bfa2-17ea34022f5b/width_128_height_128.webp"
15
+ },
16
+ l3: {
17
+ x2: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_64_height_64.webp",
18
+ x3: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_96_height_96.webp",
19
+ x4: "https://assetstorage.krrt.io/1123529253537884138/906ff501-edf6-402d-a3a4-a93ce9e04d30/width_128_height_128.webp"
20
+ },
21
+ l4: {
22
+ x2: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_64_height_64.webp",
23
+ x3: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_96_height_96.webp",
24
+ x4: "https://assetstorage.krrt.io/1123529253537884138/10753976-b25d-4e4c-84b2-dbbe196dd0d9/width_128_height_128.webp"
25
+ },
26
+ l5: {
27
+ x2: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_64_height_64.webp",
28
+ x3: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_96_height_96.webp",
29
+ x4: "https://assetstorage.krrt.io/1123529253537884138/ddfbd296-5089-408c-aa37-919f45074e5e/width_128_height_128.webp"
30
+ },
31
+ l6: {
32
+ x2: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_64_height_64.webp",
33
+ x3: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_96_height_96.webp",
34
+ x4: "https://assetstorage.krrt.io/1123529253537884138/bf8f9b4d-c72e-4bf2-a094-460d3ad1b11f/width_128_height_128.webp"
35
+ },
36
+ l7: {
37
+ x2: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_64_height_64.webp",
38
+ x3: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_96_height_96.webp",
39
+ x4: "https://assetstorage.krrt.io/1123529253537884138/9906a459-a4e3-4521-a6e5-0cc24c0aa763/width_128_height_128.webp"
40
+ },
41
+ l8: {
42
+ x2: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_64_height_64.webp",
43
+ x3: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_96_height_96.webp",
44
+ x4: "https://assetstorage.krrt.io/1123529253537884138/438edadb-d31d-4711-aebd-a72f303fdf49/width_128_height_128.webp"
45
+ },
46
+ l9: {
47
+ x2: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_64_height_64.webp",
48
+ x3: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_96_height_96.webp",
49
+ x4: "https://assetstorage.krrt.io/1123529253537884138/61f6c297-11da-4d72-ba90-20cd69c09c22/width_128_height_128.webp"
50
+ },
51
+ l10: {
52
+ x2: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_64_height_64.webp",
53
+ x3: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_96_height_96.webp",
54
+ x4: "https://assetstorage.krrt.io/1123529253537884138/6cc410ac-3a55-4542-b49f-53551db74c4d/width_128_height_128.webp"
55
+ }
56
56
  };
57
- const createImgProps = ({ x2, x3, x4 }) => ({
58
- src: x2,
59
- // this is used on x1 displays
60
- srcSet: `${x2} 2x, ${x3} 3x, ${x4} 4x`
57
+ var createImgProps = ({ x2, x3, x4 }) => ({
58
+ src: x2,
59
+ srcSet: `${x2} 2x, ${x3} 3x, ${x4} 4x`
61
60
  });
62
- const l1 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l1), "aria-hidden": true, ref, ...props }));
63
- const l2 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l2), "aria-hidden": true, ref, ...props }));
64
- const l3 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l3), "aria-hidden": true, ref, ...props }));
65
- const l4 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l4), "aria-hidden": true, ref, ...props }));
66
- const l5 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l5), "aria-hidden": true, ref, ...props }));
67
- const l6 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l6), "aria-hidden": true, ref, ...props }));
68
- const l7 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l7), "aria-hidden": true, ref, ...props }));
69
- const l8 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l8), "aria-hidden": true, ref, ...props }));
70
- const l9 = forwardRef((props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l9), "aria-hidden": true, ref, ...props }));
71
- const l10 = forwardRef(
72
- (props, ref) => /* @__PURE__ */ jsx("img", { ...createImgProps(src.l10), "aria-hidden": true, ref, ...props })
73
- );
74
- const emotes = {
75
- l1,
76
- l2,
77
- l3,
78
- l4,
79
- l5,
80
- l6,
81
- l7,
82
- l8,
83
- l9,
84
- l10
61
+ var emotes = {
62
+ l1: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
63
+ ...createImgProps(src.l1),
64
+ "aria-hidden": true,
65
+ ref,
66
+ ...props
67
+ })),
68
+ l2: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
69
+ ...createImgProps(src.l2),
70
+ "aria-hidden": true,
71
+ ref,
72
+ ...props
73
+ })),
74
+ l3: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
75
+ ...createImgProps(src.l3),
76
+ "aria-hidden": true,
77
+ ref,
78
+ ...props
79
+ })),
80
+ l4: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
81
+ ...createImgProps(src.l4),
82
+ "aria-hidden": true,
83
+ ref,
84
+ ...props
85
+ })),
86
+ l5: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
87
+ ...createImgProps(src.l5),
88
+ "aria-hidden": true,
89
+ ref,
90
+ ...props
91
+ })),
92
+ l6: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
93
+ ...createImgProps(src.l6),
94
+ "aria-hidden": true,
95
+ ref,
96
+ ...props
97
+ })),
98
+ l7: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
99
+ ...createImgProps(src.l7),
100
+ "aria-hidden": true,
101
+ ref,
102
+ ...props
103
+ })),
104
+ l8: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
105
+ ...createImgProps(src.l8),
106
+ "aria-hidden": true,
107
+ ref,
108
+ ...props
109
+ })),
110
+ l9: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
111
+ ...createImgProps(src.l9),
112
+ "aria-hidden": true,
113
+ ref,
114
+ ...props
115
+ })),
116
+ l10: forwardRef((props, ref) => /* @__PURE__ */ jsx("img", {
117
+ ...createImgProps(src.l10),
118
+ "aria-hidden": true,
119
+ ref,
120
+ ...props
121
+ }))
85
122
  };
86
- const MannerTempEmotePropsContext = createContext(null);
87
- const MannerTempEmotePropsProvider = MannerTempEmotePropsContext.Provider;
88
- const MannerTempEmote = forwardRef(
89
- ({ level: __level, ...props }, ref) => {
90
- const level = __level ?? useContext(MannerTempEmotePropsContext)?.level ?? "l1";
91
- const Emote = emotes[level];
92
- return /* @__PURE__ */ jsx(Emote, { ref, ...props });
93
- }
94
- );
95
-
123
+ var MannerTempEmotePropsContext = createContext(null);
124
+ var MannerTempEmotePropsProvider = MannerTempEmotePropsContext.Provider;
125
+ var MannerTempEmote = forwardRef(({ level: __level, ...props }, ref) => {
126
+ const Emote = emotes[__level ?? useContext(MannerTempEmotePropsContext)?.level ?? "l1"];
127
+ return /* @__PURE__ */ jsx(Emote, {
128
+ ref,
129
+ ...props
130
+ });
131
+ });
132
+ //#endregion
96
133
  export { MannerTempEmote, MannerTempEmotePropsProvider };
@@ -1,11 +1,5 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const MannerTemp = require('./MannerTemp.cjs');
6
- const MannerTempEmote = require('./MannerTempEmote.cjs');
7
-
8
-
9
-
10
- exports.MannerTemp = MannerTemp.MannerTemp;
11
- exports.MannerTempEmote = MannerTempEmote.MannerTempEmote;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_MannerTempEmote = require("./MannerTempEmote.cjs");
3
+ const require_MannerTemp = require("./MannerTemp.cjs");
4
+ exports.MannerTemp = require_MannerTemp.MannerTemp;
5
+ exports.MannerTempEmote = require_MannerTempEmote.MannerTempEmote;