@seed-design/react 0.0.0-alpha-20260324091316

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 (987) hide show
  1. package/README.md +6 -0
  2. package/lib/components/ActionButton/ActionButton.cjs +74 -0
  3. package/lib/components/ActionButton/ActionButton.d.ts +22 -0
  4. package/lib/components/ActionButton/ActionButton.d.ts.map +1 -0
  5. package/lib/components/ActionButton/ActionButton.js +51 -0
  6. package/lib/components/ActionButton/index.cjs +9 -0
  7. package/lib/components/ActionButton/index.d.ts +2 -0
  8. package/lib/components/ActionButton/index.d.ts.map +1 -0
  9. package/lib/components/ActionButton/index.js +1 -0
  10. package/lib/components/ActionChip/ActionChip.cjs +18 -0
  11. package/lib/components/ActionChip/ActionChip.d.ts +23 -0
  12. package/lib/components/ActionChip/ActionChip.d.ts.map +1 -0
  13. package/lib/components/ActionChip/ActionChip.js +14 -0
  14. package/lib/components/ActionChip/index.cjs +9 -0
  15. package/lib/components/ActionChip/index.d.ts +2 -0
  16. package/lib/components/ActionChip/index.d.ts.map +1 -0
  17. package/lib/components/ActionChip/index.js +1 -0
  18. package/lib/components/ActionSheet/ActionSheet.cjs +67 -0
  19. package/lib/components/ActionSheet/ActionSheet.d.ts +113 -0
  20. package/lib/components/ActionSheet/ActionSheet.d.ts.map +1 -0
  21. package/lib/components/ActionSheet/ActionSheet.js +53 -0
  22. package/lib/components/ActionSheet/ActionSheet.namespace.cjs +19 -0
  23. package/lib/components/ActionSheet/ActionSheet.namespace.d.ts +2 -0
  24. package/lib/components/ActionSheet/ActionSheet.namespace.d.ts.map +1 -0
  25. package/lib/components/ActionSheet/ActionSheet.namespace.js +1 -0
  26. package/lib/components/ActionSheet/index.cjs +21 -0
  27. package/lib/components/ActionSheet/index.d.ts +3 -0
  28. package/lib/components/ActionSheet/index.d.ts.map +1 -0
  29. package/lib/components/ActionSheet/index.js +3 -0
  30. package/lib/components/Article/Article.cjs +45 -0
  31. package/lib/components/Article/Article.d.ts +6 -0
  32. package/lib/components/Article/Article.d.ts.map +1 -0
  33. package/lib/components/Article/Article.js +22 -0
  34. package/lib/components/Article/index.cjs +9 -0
  35. package/lib/components/Article/index.d.ts +2 -0
  36. package/lib/components/Article/index.d.ts.map +1 -0
  37. package/lib/components/Article/index.js +1 -0
  38. package/lib/components/AspectRatio/AspectRatio.cjs +56 -0
  39. package/lib/components/AspectRatio/AspectRatio.d.ts +23 -0
  40. package/lib/components/AspectRatio/AspectRatio.d.ts.map +1 -0
  41. package/lib/components/AspectRatio/AspectRatio.js +33 -0
  42. package/lib/components/AspectRatio/index.cjs +9 -0
  43. package/lib/components/AspectRatio/index.d.ts +2 -0
  44. package/lib/components/AspectRatio/index.d.ts.map +1 -0
  45. package/lib/components/AspectRatio/index.js +1 -0
  46. package/lib/components/Avatar/Avatar.cjs +57 -0
  47. package/lib/components/Avatar/Avatar.d.ts +21 -0
  48. package/lib/components/Avatar/Avatar.d.ts.map +1 -0
  49. package/lib/components/Avatar/Avatar.js +31 -0
  50. package/lib/components/Avatar/Avatar.namespace.cjs +13 -0
  51. package/lib/components/Avatar/Avatar.namespace.d.ts +2 -0
  52. package/lib/components/Avatar/Avatar.namespace.d.ts.map +1 -0
  53. package/lib/components/Avatar/Avatar.namespace.js +1 -0
  54. package/lib/components/Avatar/index.cjs +15 -0
  55. package/lib/components/Avatar/index.d.ts +3 -0
  56. package/lib/components/Avatar/index.d.ts.map +1 -0
  57. package/lib/components/Avatar/index.js +3 -0
  58. package/lib/components/Badge/Badge.cjs +21 -0
  59. package/lib/components/Badge/Badge.d.ts +7 -0
  60. package/lib/components/Badge/Badge.d.ts.map +1 -0
  61. package/lib/components/Badge/Badge.js +17 -0
  62. package/lib/components/Badge/index.cjs +9 -0
  63. package/lib/components/Badge/index.d.ts +2 -0
  64. package/lib/components/Badge/index.d.ts.map +1 -0
  65. package/lib/components/Badge/index.js +1 -0
  66. package/lib/components/BottomSheet/BottomSheet.cjs +70 -0
  67. package/lib/components/BottomSheet/BottomSheet.d.ts +40 -0
  68. package/lib/components/BottomSheet/BottomSheet.d.ts.map +1 -0
  69. package/lib/components/BottomSheet/BottomSheet.js +56 -0
  70. package/lib/components/BottomSheet/BottomSheet.namespace.cjs +21 -0
  71. package/lib/components/BottomSheet/BottomSheet.namespace.d.ts +3 -0
  72. package/lib/components/BottomSheet/BottomSheet.namespace.d.ts.map +1 -0
  73. package/lib/components/BottomSheet/BottomSheet.namespace.js +2 -0
  74. package/lib/components/BottomSheet/index.cjs +21 -0
  75. package/lib/components/BottomSheet/index.d.ts +3 -0
  76. package/lib/components/BottomSheet/index.d.ts.map +1 -0
  77. package/lib/components/BottomSheet/index.js +3 -0
  78. package/lib/components/BottomSheetHandle/BottomSheetHandle.cjs +21 -0
  79. package/lib/components/BottomSheetHandle/BottomSheetHandle.d.ts +6 -0
  80. package/lib/components/BottomSheetHandle/BottomSheetHandle.d.ts.map +1 -0
  81. package/lib/components/BottomSheetHandle/BottomSheetHandle.js +17 -0
  82. package/lib/components/BottomSheetHandle/index.cjs +9 -0
  83. package/lib/components/BottomSheetHandle/index.d.ts +2 -0
  84. package/lib/components/BottomSheetHandle/index.d.ts.map +1 -0
  85. package/lib/components/BottomSheetHandle/index.js +1 -0
  86. package/lib/components/Box/Box.cjs +63 -0
  87. package/lib/components/Box/Box.d.ts +10 -0
  88. package/lib/components/Box/Box.d.ts.map +1 -0
  89. package/lib/components/Box/Box.js +40 -0
  90. package/lib/components/Box/index.cjs +9 -0
  91. package/lib/components/Box/index.d.ts +2 -0
  92. package/lib/components/Box/index.d.ts.map +1 -0
  93. package/lib/components/Box/index.js +1 -0
  94. package/lib/components/Callout/Callout.cjs +39 -0
  95. package/lib/components/Callout/Callout.d.ts +23 -0
  96. package/lib/components/Callout/Callout.d.ts.map +1 -0
  97. package/lib/components/Callout/Callout.js +30 -0
  98. package/lib/components/Callout/Callout.namespace.cjs +14 -0
  99. package/lib/components/Callout/Callout.namespace.d.ts +2 -0
  100. package/lib/components/Callout/Callout.namespace.d.ts.map +1 -0
  101. package/lib/components/Callout/Callout.namespace.js +1 -0
  102. package/lib/components/Callout/index.cjs +16 -0
  103. package/lib/components/Callout/index.d.ts +3 -0
  104. package/lib/components/Callout/index.d.ts.map +1 -0
  105. package/lib/components/Callout/index.js +3 -0
  106. package/lib/components/Celsius/Celsius.cjs +10 -0
  107. package/lib/components/Celsius/Celsius.d.ts +6 -0
  108. package/lib/components/Celsius/Celsius.d.ts.map +1 -0
  109. package/lib/components/Celsius/Celsius.js +6 -0
  110. package/lib/components/Celsius/index.cjs +9 -0
  111. package/lib/components/Celsius/index.d.ts +2 -0
  112. package/lib/components/Celsius/index.d.ts.map +1 -0
  113. package/lib/components/Celsius/index.js +1 -0
  114. package/lib/components/Checkbox/Checkbox.cjs +100 -0
  115. package/lib/components/Checkbox/Checkbox.d.ts +49 -0
  116. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -0
  117. package/lib/components/Checkbox/Checkbox.js +91 -0
  118. package/lib/components/Checkbox/Checkbox.namespace.cjs +14 -0
  119. package/lib/components/Checkbox/Checkbox.namespace.d.ts +2 -0
  120. package/lib/components/Checkbox/Checkbox.namespace.d.ts.map +1 -0
  121. package/lib/components/Checkbox/Checkbox.namespace.js +1 -0
  122. package/lib/components/Checkbox/index.cjs +16 -0
  123. package/lib/components/Checkbox/index.d.ts +3 -0
  124. package/lib/components/Checkbox/index.d.ts.map +1 -0
  125. package/lib/components/Checkbox/index.js +3 -0
  126. package/lib/components/Chip/Chip.cjs +49 -0
  127. package/lib/components/Chip/Chip.d.ts +19 -0
  128. package/lib/components/Chip/Chip.d.ts.map +1 -0
  129. package/lib/components/Chip/Chip.js +41 -0
  130. package/lib/components/Chip/Chip.namespace.cjs +13 -0
  131. package/lib/components/Chip/Chip.namespace.d.ts +2 -0
  132. package/lib/components/Chip/Chip.namespace.d.ts.map +1 -0
  133. package/lib/components/Chip/Chip.namespace.js +1 -0
  134. package/lib/components/Chip/index.cjs +15 -0
  135. package/lib/components/Chip/index.d.ts +3 -0
  136. package/lib/components/Chip/index.d.ts.map +1 -0
  137. package/lib/components/Chip/index.js +3 -0
  138. package/lib/components/ChipTabs/ChipTabs.cjs +60 -0
  139. package/lib/components/ChipTabs/ChipTabs.d.ts +22 -0
  140. package/lib/components/ChipTabs/ChipTabs.d.ts.map +1 -0
  141. package/lib/components/ChipTabs/ChipTabs.js +51 -0
  142. package/lib/components/ChipTabs/ChipTabs.namespace.cjs +14 -0
  143. package/lib/components/ChipTabs/ChipTabs.namespace.d.ts +2 -0
  144. package/lib/components/ChipTabs/ChipTabs.namespace.d.ts.map +1 -0
  145. package/lib/components/ChipTabs/ChipTabs.namespace.js +1 -0
  146. package/lib/components/ChipTabs/index.cjs +16 -0
  147. package/lib/components/ChipTabs/index.d.ts +3 -0
  148. package/lib/components/ChipTabs/index.d.ts.map +1 -0
  149. package/lib/components/ChipTabs/index.js +3 -0
  150. package/lib/components/Columns/Columns.cjs +59 -0
  151. package/lib/components/Columns/Columns.d.ts +22 -0
  152. package/lib/components/Columns/Columns.d.ts.map +1 -0
  153. package/lib/components/Columns/Columns.js +35 -0
  154. package/lib/components/Columns/index.cjs +10 -0
  155. package/lib/components/Columns/index.d.ts +2 -0
  156. package/lib/components/Columns/index.d.ts.map +1 -0
  157. package/lib/components/Columns/index.js +1 -0
  158. package/lib/components/ConsistentWidth/ConsistentWidth.cjs +24 -0
  159. package/lib/components/ConsistentWidth/ConsistentWidth.d.ts +7 -0
  160. package/lib/components/ConsistentWidth/ConsistentWidth.d.ts.map +1 -0
  161. package/lib/components/ConsistentWidth/ConsistentWidth.js +20 -0
  162. package/lib/components/ConsistentWidth/index.cjs +9 -0
  163. package/lib/components/ConsistentWidth/index.d.ts +2 -0
  164. package/lib/components/ConsistentWidth/index.d.ts.map +1 -0
  165. package/lib/components/ConsistentWidth/index.js +1 -0
  166. package/lib/components/ContentPlaceholder/ContentPlaceholder.cjs +58 -0
  167. package/lib/components/ContentPlaceholder/ContentPlaceholder.d.ts +10 -0
  168. package/lib/components/ContentPlaceholder/ContentPlaceholder.d.ts.map +1 -0
  169. package/lib/components/ContentPlaceholder/ContentPlaceholder.js +35 -0
  170. package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.cjs +10 -0
  171. package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.d.ts +2 -0
  172. package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.d.ts.map +1 -0
  173. package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.js +1 -0
  174. package/lib/components/ContentPlaceholder/index.cjs +12 -0
  175. package/lib/components/ContentPlaceholder/index.d.ts +3 -0
  176. package/lib/components/ContentPlaceholder/index.d.ts.map +1 -0
  177. package/lib/components/ContentPlaceholder/index.js +3 -0
  178. package/lib/components/ContentPlaceholder/presets.cjs +78 -0
  179. package/lib/components/ContentPlaceholder/presets.d.ts +3 -0
  180. package/lib/components/ContentPlaceholder/presets.d.ts.map +1 -0
  181. package/lib/components/ContentPlaceholder/presets.js +74 -0
  182. package/lib/components/ContextualFloatingButton/ContextualFloatingButton.cjs +54 -0
  183. package/lib/components/ContextualFloatingButton/ContextualFloatingButton.d.ts +8 -0
  184. package/lib/components/ContextualFloatingButton/ContextualFloatingButton.d.ts.map +1 -0
  185. package/lib/components/ContextualFloatingButton/ContextualFloatingButton.js +31 -0
  186. package/lib/components/ContextualFloatingButton/index.cjs +9 -0
  187. package/lib/components/ContextualFloatingButton/index.d.ts +2 -0
  188. package/lib/components/ContextualFloatingButton/index.d.ts.map +1 -0
  189. package/lib/components/ContextualFloatingButton/index.js +1 -0
  190. package/lib/components/ControlChip/ControlChip.cjs +18 -0
  191. package/lib/components/ControlChip/ControlChip.d.ts +28 -0
  192. package/lib/components/ControlChip/ControlChip.d.ts.map +1 -0
  193. package/lib/components/ControlChip/ControlChip.js +14 -0
  194. package/lib/components/ControlChip/index.cjs +9 -0
  195. package/lib/components/ControlChip/index.d.ts +2 -0
  196. package/lib/components/ControlChip/index.d.ts.map +1 -0
  197. package/lib/components/ControlChip/index.js +1 -0
  198. package/lib/components/Count/Count.cjs +16 -0
  199. package/lib/components/Count/Count.d.ts +5 -0
  200. package/lib/components/Count/Count.d.ts.map +1 -0
  201. package/lib/components/Count/Count.js +12 -0
  202. package/lib/components/Count/index.cjs +9 -0
  203. package/lib/components/Count/index.d.ts +2 -0
  204. package/lib/components/Count/index.d.ts.map +1 -0
  205. package/lib/components/Count/index.js +1 -0
  206. package/lib/components/Dialog/Dialog.cjs +54 -0
  207. package/lib/components/Dialog/Dialog.d.ts +43 -0
  208. package/lib/components/Dialog/Dialog.d.ts.map +1 -0
  209. package/lib/components/Dialog/Dialog.js +41 -0
  210. package/lib/components/Dialog/Dialog.namespace.cjs +18 -0
  211. package/lib/components/Dialog/Dialog.namespace.d.ts +2 -0
  212. package/lib/components/Dialog/Dialog.namespace.d.ts.map +1 -0
  213. package/lib/components/Dialog/Dialog.namespace.js +1 -0
  214. package/lib/components/Dialog/index.cjs +20 -0
  215. package/lib/components/Dialog/index.d.ts +3 -0
  216. package/lib/components/Dialog/index.d.ts.map +1 -0
  217. package/lib/components/Dialog/index.js +3 -0
  218. package/lib/components/Divider/Divider.cjs +69 -0
  219. package/lib/components/Divider/Divider.d.ts +29 -0
  220. package/lib/components/Divider/Divider.d.ts.map +1 -0
  221. package/lib/components/Divider/Divider.js +46 -0
  222. package/lib/components/Divider/index.cjs +9 -0
  223. package/lib/components/Divider/index.d.ts +2 -0
  224. package/lib/components/Divider/index.d.ts.map +1 -0
  225. package/lib/components/Divider/index.js +1 -0
  226. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +55 -0
  227. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts +122 -0
  228. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts.map +1 -0
  229. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +40 -0
  230. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.cjs +20 -0
  231. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.d.ts +2 -0
  232. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.d.ts.map +1 -0
  233. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.js +1 -0
  234. package/lib/components/ExtendedActionSheet/index.cjs +22 -0
  235. package/lib/components/ExtendedActionSheet/index.d.ts +3 -0
  236. package/lib/components/ExtendedActionSheet/index.d.ts.map +1 -0
  237. package/lib/components/ExtendedActionSheet/index.js +3 -0
  238. package/lib/components/ExtendedFab/ExtendedFab.cjs +18 -0
  239. package/lib/components/ExtendedFab/ExtendedFab.d.ts +13 -0
  240. package/lib/components/ExtendedFab/ExtendedFab.d.ts.map +1 -0
  241. package/lib/components/ExtendedFab/ExtendedFab.js +14 -0
  242. package/lib/components/ExtendedFab/index.cjs +9 -0
  243. package/lib/components/ExtendedFab/index.d.ts +2 -0
  244. package/lib/components/ExtendedFab/index.d.ts.map +1 -0
  245. package/lib/components/ExtendedFab/index.js +1 -0
  246. package/lib/components/Fab/Fab.cjs +13 -0
  247. package/lib/components/Fab/Fab.d.ts +13 -0
  248. package/lib/components/Fab/Fab.d.ts.map +1 -0
  249. package/lib/components/Fab/Fab.js +9 -0
  250. package/lib/components/Fab/index.cjs +9 -0
  251. package/lib/components/Fab/index.d.ts +2 -0
  252. package/lib/components/Fab/index.d.ts.map +1 -0
  253. package/lib/components/Fab/index.js +1 -0
  254. package/lib/components/Field/Field.cjs +116 -0
  255. package/lib/components/Field/Field.d.ts +41 -0
  256. package/lib/components/Field/Field.d.ts.map +1 -0
  257. package/lib/components/Field/Field.js +104 -0
  258. package/lib/components/Field/Field.namespace.cjs +17 -0
  259. package/lib/components/Field/Field.namespace.d.ts +2 -0
  260. package/lib/components/Field/Field.namespace.d.ts.map +1 -0
  261. package/lib/components/Field/Field.namespace.js +1 -0
  262. package/lib/components/Field/index.cjs +19 -0
  263. package/lib/components/Field/index.d.ts +3 -0
  264. package/lib/components/Field/index.d.ts.map +1 -0
  265. package/lib/components/Field/index.js +3 -0
  266. package/lib/components/FieldButton/FieldButton.cjs +201 -0
  267. package/lib/components/FieldButton/FieldButton.d.ts +61 -0
  268. package/lib/components/FieldButton/FieldButton.d.ts.map +1 -0
  269. package/lib/components/FieldButton/FieldButton.js +161 -0
  270. package/lib/components/FieldButton/FieldButton.namespace.cjs +26 -0
  271. package/lib/components/FieldButton/FieldButton.namespace.d.ts +2 -0
  272. package/lib/components/FieldButton/FieldButton.namespace.d.ts.map +1 -0
  273. package/lib/components/FieldButton/FieldButton.namespace.js +1 -0
  274. package/lib/components/FieldButton/index.cjs +28 -0
  275. package/lib/components/FieldButton/index.d.ts +3 -0
  276. package/lib/components/FieldButton/index.d.ts.map +1 -0
  277. package/lib/components/FieldButton/index.js +3 -0
  278. package/lib/components/Fieldset/Fieldset.cjs +86 -0
  279. package/lib/components/Fieldset/Fieldset.d.ts +30 -0
  280. package/lib/components/Fieldset/Fieldset.d.ts.map +1 -0
  281. package/lib/components/Fieldset/Fieldset.js +75 -0
  282. package/lib/components/Fieldset/Fieldset.namespace.cjs +16 -0
  283. package/lib/components/Fieldset/Fieldset.namespace.d.ts +2 -0
  284. package/lib/components/Fieldset/Fieldset.namespace.d.ts.map +1 -0
  285. package/lib/components/Fieldset/Fieldset.namespace.js +1 -0
  286. package/lib/components/Fieldset/index.cjs +18 -0
  287. package/lib/components/Fieldset/index.d.ts +3 -0
  288. package/lib/components/Fieldset/index.d.ts.map +1 -0
  289. package/lib/components/Fieldset/index.js +3 -0
  290. package/lib/components/Flex/Flex.cjs +47 -0
  291. package/lib/components/Flex/Flex.d.ts +35 -0
  292. package/lib/components/Flex/Flex.d.ts.map +1 -0
  293. package/lib/components/Flex/Flex.js +24 -0
  294. package/lib/components/Flex/index.cjs +9 -0
  295. package/lib/components/Flex/index.d.ts +2 -0
  296. package/lib/components/Flex/index.d.ts.map +1 -0
  297. package/lib/components/Flex/index.js +1 -0
  298. package/lib/components/Float/Float.cjs +108 -0
  299. package/lib/components/Float/Float.d.ts +17 -0
  300. package/lib/components/Float/Float.d.ts.map +1 -0
  301. package/lib/components/Float/Float.js +85 -0
  302. package/lib/components/Float/index.cjs +9 -0
  303. package/lib/components/Float/index.d.ts +2 -0
  304. package/lib/components/Float/index.d.ts.map +1 -0
  305. package/lib/components/Float/index.js +1 -0
  306. package/lib/components/FloatingActionButton/FloatingActionButton.cjs +18 -0
  307. package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +14 -0
  308. package/lib/components/FloatingActionButton/FloatingActionButton.d.ts.map +1 -0
  309. package/lib/components/FloatingActionButton/FloatingActionButton.js +12 -0
  310. package/lib/components/FloatingActionButton/FloatingActionButton.namespace.cjs +11 -0
  311. package/lib/components/FloatingActionButton/FloatingActionButton.namespace.d.ts +2 -0
  312. package/lib/components/FloatingActionButton/FloatingActionButton.namespace.d.ts.map +1 -0
  313. package/lib/components/FloatingActionButton/FloatingActionButton.namespace.js +1 -0
  314. package/lib/components/FloatingActionButton/index.cjs +13 -0
  315. package/lib/components/FloatingActionButton/index.d.ts +3 -0
  316. package/lib/components/FloatingActionButton/index.d.ts.map +1 -0
  317. package/lib/components/FloatingActionButton/index.js +3 -0
  318. package/lib/components/Grid/Grid.cjs +58 -0
  319. package/lib/components/Grid/Grid.d.ts +42 -0
  320. package/lib/components/Grid/Grid.d.ts.map +1 -0
  321. package/lib/components/Grid/Grid.js +35 -0
  322. package/lib/components/Grid/index.cjs +9 -0
  323. package/lib/components/Grid/index.d.ts +2 -0
  324. package/lib/components/Grid/index.d.ts.map +1 -0
  325. package/lib/components/Grid/index.js +1 -0
  326. package/lib/components/GridItem/GridItem.cjs +45 -0
  327. package/lib/components/GridItem/GridItem.d.ts +35 -0
  328. package/lib/components/GridItem/GridItem.d.ts.map +1 -0
  329. package/lib/components/GridItem/GridItem.js +22 -0
  330. package/lib/components/GridItem/index.cjs +9 -0
  331. package/lib/components/GridItem/index.d.ts +2 -0
  332. package/lib/components/GridItem/index.d.ts.map +1 -0
  333. package/lib/components/GridItem/index.js +1 -0
  334. package/lib/components/HelpBubble/HelpBubble.cjs +102 -0
  335. package/lib/components/HelpBubble/HelpBubble.d.ts +63 -0
  336. package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -0
  337. package/lib/components/HelpBubble/HelpBubble.js +87 -0
  338. package/lib/components/HelpBubble/HelpBubble.namespace.cjs +20 -0
  339. package/lib/components/HelpBubble/HelpBubble.namespace.d.ts +2 -0
  340. package/lib/components/HelpBubble/HelpBubble.namespace.d.ts.map +1 -0
  341. package/lib/components/HelpBubble/HelpBubble.namespace.js +1 -0
  342. package/lib/components/HelpBubble/index.cjs +22 -0
  343. package/lib/components/HelpBubble/index.d.ts +3 -0
  344. package/lib/components/HelpBubble/index.d.ts.map +1 -0
  345. package/lib/components/HelpBubble/index.js +3 -0
  346. package/lib/components/Icon/Icon.cjs +128 -0
  347. package/lib/components/Icon/Icon.d.ts +23 -0
  348. package/lib/components/Icon/Icon.d.ts.map +1 -0
  349. package/lib/components/Icon/Icon.js +120 -0
  350. package/lib/components/Icon/index.cjs +11 -0
  351. package/lib/components/Icon/index.d.ts +2 -0
  352. package/lib/components/Icon/index.d.ts.map +1 -0
  353. package/lib/components/Icon/index.js +1 -0
  354. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.cjs +77 -0
  355. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.d.ts +10 -0
  356. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.d.ts.map +1 -0
  357. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.js +53 -0
  358. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.cjs +10 -0
  359. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.d.ts +2 -0
  360. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.d.ts.map +1 -0
  361. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.js +1 -0
  362. package/lib/components/IdentityPlaceholder/index.cjs +12 -0
  363. package/lib/components/IdentityPlaceholder/index.d.ts +3 -0
  364. package/lib/components/IdentityPlaceholder/index.d.ts.map +1 -0
  365. package/lib/components/IdentityPlaceholder/index.js +3 -0
  366. package/lib/components/ImageFrame/ImageFrame.cjs +186 -0
  367. package/lib/components/ImageFrame/ImageFrame.d.ts +53 -0
  368. package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -0
  369. package/lib/components/ImageFrame/ImageFrame.js +158 -0
  370. package/lib/components/ImageFrame/ImageFrame.test.d.ts +2 -0
  371. package/lib/components/ImageFrame/ImageFrame.test.d.ts.map +1 -0
  372. package/lib/components/ImageFrame/index.cjs +14 -0
  373. package/lib/components/ImageFrame/index.d.ts +2 -0
  374. package/lib/components/ImageFrame/index.d.ts.map +1 -0
  375. package/lib/components/ImageFrame/index.js +1 -0
  376. package/lib/components/Inline/Inline.cjs +44 -0
  377. package/lib/components/Inline/Inline.d.ts +12 -0
  378. package/lib/components/Inline/Inline.d.ts.map +1 -0
  379. package/lib/components/Inline/Inline.js +21 -0
  380. package/lib/components/Inline/index.cjs +9 -0
  381. package/lib/components/Inline/index.d.ts +2 -0
  382. package/lib/components/Inline/index.d.ts.map +1 -0
  383. package/lib/components/Inline/index.js +1 -0
  384. package/lib/components/InlineBanner/InlineBanner.cjs +42 -0
  385. package/lib/components/InlineBanner/InlineBanner.d.ts +59 -0
  386. package/lib/components/InlineBanner/InlineBanner.d.ts.map +1 -0
  387. package/lib/components/InlineBanner/InlineBanner.js +33 -0
  388. package/lib/components/InlineBanner/InlineBanner.namespace.cjs +14 -0
  389. package/lib/components/InlineBanner/InlineBanner.namespace.d.ts +2 -0
  390. package/lib/components/InlineBanner/InlineBanner.namespace.d.ts.map +1 -0
  391. package/lib/components/InlineBanner/InlineBanner.namespace.js +1 -0
  392. package/lib/components/InlineBanner/index.cjs +16 -0
  393. package/lib/components/InlineBanner/index.d.ts +3 -0
  394. package/lib/components/InlineBanner/index.d.ts.map +1 -0
  395. package/lib/components/InlineBanner/index.js +3 -0
  396. package/lib/components/LinkContent/LinkContent.cjs +16 -0
  397. package/lib/components/LinkContent/LinkContent.d.ts +14 -0
  398. package/lib/components/LinkContent/LinkContent.d.ts.map +1 -0
  399. package/lib/components/LinkContent/LinkContent.js +12 -0
  400. package/lib/components/LinkContent/index.cjs +9 -0
  401. package/lib/components/LinkContent/index.d.ts +2 -0
  402. package/lib/components/LinkContent/index.d.ts.map +1 -0
  403. package/lib/components/LinkContent/index.js +1 -0
  404. package/lib/components/List/List.cjs +71 -0
  405. package/lib/components/List/List.d.ts +28 -0
  406. package/lib/components/List/List.d.ts.map +1 -0
  407. package/lib/components/List/List.js +61 -0
  408. package/lib/components/List/List.namespace.cjs +15 -0
  409. package/lib/components/List/List.namespace.d.ts +2 -0
  410. package/lib/components/List/List.namespace.d.ts.map +1 -0
  411. package/lib/components/List/List.namespace.js +1 -0
  412. package/lib/components/List/ListHeader.cjs +20 -0
  413. package/lib/components/List/ListHeader.d.ts +11 -0
  414. package/lib/components/List/ListHeader.d.ts.map +1 -0
  415. package/lib/components/List/ListHeader.js +16 -0
  416. package/lib/components/List/index.cjs +19 -0
  417. package/lib/components/List/index.d.ts +4 -0
  418. package/lib/components/List/index.d.ts.map +1 -0
  419. package/lib/components/List/index.js +4 -0
  420. package/lib/components/LoadingIndicator/LoadingIndicator.cjs +28 -0
  421. package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +6 -0
  422. package/lib/components/LoadingIndicator/LoadingIndicator.d.ts.map +1 -0
  423. package/lib/components/LoadingIndicator/LoadingIndicator.js +24 -0
  424. package/lib/components/LoadingIndicator/index.cjs +9 -0
  425. package/lib/components/LoadingIndicator/index.d.ts +2 -0
  426. package/lib/components/LoadingIndicator/index.d.ts.map +1 -0
  427. package/lib/components/LoadingIndicator/index.js +1 -0
  428. package/lib/components/LoadingIndicator/usePendingButton.cjs +52 -0
  429. package/lib/components/LoadingIndicator/usePendingButton.d.ts +873 -0
  430. package/lib/components/LoadingIndicator/usePendingButton.d.ts.map +1 -0
  431. package/lib/components/LoadingIndicator/usePendingButton.js +27 -0
  432. package/lib/components/MannerTemp/MannerTemp.cjs +20 -0
  433. package/lib/components/MannerTemp/MannerTemp.d.ts +7 -0
  434. package/lib/components/MannerTemp/MannerTemp.d.ts.map +1 -0
  435. package/lib/components/MannerTemp/MannerTemp.js +16 -0
  436. package/lib/components/MannerTemp/MannerTempEmote.cjs +101 -0
  437. package/lib/components/MannerTemp/MannerTempEmote.d.ts +7 -0
  438. package/lib/components/MannerTemp/MannerTempEmote.d.ts.map +1 -0
  439. package/lib/components/MannerTemp/MannerTempEmote.js +96 -0
  440. package/lib/components/MannerTemp/index.cjs +11 -0
  441. package/lib/components/MannerTemp/index.d.ts +3 -0
  442. package/lib/components/MannerTemp/index.d.ts.map +1 -0
  443. package/lib/components/MannerTemp/index.js +2 -0
  444. package/lib/components/MannerTempBadge/MannerTempBadge.cjs +13 -0
  445. package/lib/components/MannerTempBadge/MannerTempBadge.d.ts +7 -0
  446. package/lib/components/MannerTempBadge/MannerTempBadge.d.ts.map +1 -0
  447. package/lib/components/MannerTempBadge/MannerTempBadge.js +9 -0
  448. package/lib/components/MannerTempBadge/index.cjs +9 -0
  449. package/lib/components/MannerTempBadge/index.d.ts +2 -0
  450. package/lib/components/MannerTempBadge/index.d.ts.map +1 -0
  451. package/lib/components/MannerTempBadge/index.js +1 -0
  452. package/lib/components/MenuSheet/MenuSheet.cjs +155 -0
  453. package/lib/components/MenuSheet/MenuSheet.d.ts +62 -0
  454. package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -0
  455. package/lib/components/MenuSheet/MenuSheet.js +117 -0
  456. package/lib/components/MenuSheet/MenuSheet.namespace.cjs +24 -0
  457. package/lib/components/MenuSheet/MenuSheet.namespace.d.ts +2 -0
  458. package/lib/components/MenuSheet/MenuSheet.namespace.d.ts.map +1 -0
  459. package/lib/components/MenuSheet/MenuSheet.namespace.js +1 -0
  460. package/lib/components/MenuSheet/index.cjs +26 -0
  461. package/lib/components/MenuSheet/index.d.ts +3 -0
  462. package/lib/components/MenuSheet/index.d.ts.map +1 -0
  463. package/lib/components/MenuSheet/index.js +3 -0
  464. package/lib/components/NotificationBadge/NotificationBadge.cjs +44 -0
  465. package/lib/components/NotificationBadge/NotificationBadge.d.ts +11 -0
  466. package/lib/components/NotificationBadge/NotificationBadge.d.ts.map +1 -0
  467. package/lib/components/NotificationBadge/NotificationBadge.js +21 -0
  468. package/lib/components/NotificationBadge/index.cjs +10 -0
  469. package/lib/components/NotificationBadge/index.d.ts +2 -0
  470. package/lib/components/NotificationBadge/index.d.ts.map +1 -0
  471. package/lib/components/NotificationBadge/index.js +1 -0
  472. package/lib/components/PageBanner/PageBanner.cjs +58 -0
  473. package/lib/components/PageBanner/PageBanner.d.ts +26 -0
  474. package/lib/components/PageBanner/PageBanner.d.ts.map +1 -0
  475. package/lib/components/PageBanner/PageBanner.js +48 -0
  476. package/lib/components/PageBanner/PageBanner.namespace.cjs +15 -0
  477. package/lib/components/PageBanner/PageBanner.namespace.d.ts +2 -0
  478. package/lib/components/PageBanner/PageBanner.namespace.d.ts.map +1 -0
  479. package/lib/components/PageBanner/PageBanner.namespace.js +1 -0
  480. package/lib/components/PageBanner/index.cjs +17 -0
  481. package/lib/components/PageBanner/index.d.ts +3 -0
  482. package/lib/components/PageBanner/index.d.ts.map +1 -0
  483. package/lib/components/PageBanner/index.js +3 -0
  484. package/lib/components/Portal/index.cjs +12 -0
  485. package/lib/components/Portal/index.d.ts +2 -0
  486. package/lib/components/Portal/index.d.ts.map +1 -0
  487. package/lib/components/Portal/index.js +1 -0
  488. package/lib/components/ProgressCircle/ProgressCircle.cjs +26 -0
  489. package/lib/components/ProgressCircle/ProgressCircle.d.ts +13 -0
  490. package/lib/components/ProgressCircle/ProgressCircle.d.ts.map +1 -0
  491. package/lib/components/ProgressCircle/ProgressCircle.js +20 -0
  492. package/lib/components/ProgressCircle/ProgressCircle.namespace.cjs +11 -0
  493. package/lib/components/ProgressCircle/ProgressCircle.namespace.d.ts +2 -0
  494. package/lib/components/ProgressCircle/ProgressCircle.namespace.d.ts.map +1 -0
  495. package/lib/components/ProgressCircle/ProgressCircle.namespace.js +1 -0
  496. package/lib/components/ProgressCircle/index.cjs +13 -0
  497. package/lib/components/ProgressCircle/index.d.ts +3 -0
  498. package/lib/components/ProgressCircle/index.d.ts.map +1 -0
  499. package/lib/components/ProgressCircle/index.js +3 -0
  500. package/lib/components/PullToRefresh/PullToRefresh.cjs +23 -0
  501. package/lib/components/PullToRefresh/PullToRefresh.d.ts +13 -0
  502. package/lib/components/PullToRefresh/PullToRefresh.d.ts.map +1 -0
  503. package/lib/components/PullToRefresh/PullToRefresh.js +17 -0
  504. package/lib/components/PullToRefresh/PullToRefresh.namespace.cjs +16 -0
  505. package/lib/components/PullToRefresh/PullToRefresh.namespace.d.ts +3 -0
  506. package/lib/components/PullToRefresh/PullToRefresh.namespace.d.ts.map +1 -0
  507. package/lib/components/PullToRefresh/PullToRefresh.namespace.js +2 -0
  508. package/lib/components/PullToRefresh/index.cjs +18 -0
  509. package/lib/components/PullToRefresh/index.d.ts +4 -0
  510. package/lib/components/PullToRefresh/index.d.ts.map +1 -0
  511. package/lib/components/PullToRefresh/index.js +4 -0
  512. package/lib/components/RadioGroup/RadioGroup.cjs +82 -0
  513. package/lib/components/RadioGroup/RadioGroup.d.ts +35 -0
  514. package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -0
  515. package/lib/components/RadioGroup/RadioGroup.js +73 -0
  516. package/lib/components/RadioGroup/RadioGroup.namespace.cjs +14 -0
  517. package/lib/components/RadioGroup/RadioGroup.namespace.d.ts +2 -0
  518. package/lib/components/RadioGroup/RadioGroup.namespace.d.ts.map +1 -0
  519. package/lib/components/RadioGroup/RadioGroup.namespace.js +1 -0
  520. package/lib/components/RadioGroup/index.cjs +16 -0
  521. package/lib/components/RadioGroup/index.d.ts +3 -0
  522. package/lib/components/RadioGroup/index.d.ts.map +1 -0
  523. package/lib/components/RadioGroup/index.js +3 -0
  524. package/lib/components/RadioGroupField/RadioGroupField.cjs +79 -0
  525. package/lib/components/RadioGroupField/RadioGroupField.d.ts +30 -0
  526. package/lib/components/RadioGroupField/RadioGroupField.d.ts.map +1 -0
  527. package/lib/components/RadioGroupField/RadioGroupField.js +68 -0
  528. package/lib/components/RadioGroupField/RadioGroupField.namespace.cjs +16 -0
  529. package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts +2 -0
  530. package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts.map +1 -0
  531. package/lib/components/RadioGroupField/RadioGroupField.namespace.js +1 -0
  532. package/lib/components/RadioGroupField/index.cjs +18 -0
  533. package/lib/components/RadioGroupField/index.d.ts +3 -0
  534. package/lib/components/RadioGroupField/index.d.ts.map +1 -0
  535. package/lib/components/RadioGroupField/index.js +3 -0
  536. package/lib/components/ReactionButton/ReactionButton.cjs +49 -0
  537. package/lib/components/ReactionButton/ReactionButton.d.ts +8 -0
  538. package/lib/components/ReactionButton/ReactionButton.d.ts.map +1 -0
  539. package/lib/components/ReactionButton/ReactionButton.js +26 -0
  540. package/lib/components/ReactionButton/index.cjs +9 -0
  541. package/lib/components/ReactionButton/index.d.ts +2 -0
  542. package/lib/components/ReactionButton/index.d.ts.map +1 -0
  543. package/lib/components/ReactionButton/index.js +1 -0
  544. package/lib/components/ResponsivePair/ResponsivePair.cjs +61 -0
  545. package/lib/components/ResponsivePair/ResponsivePair.d.ts +11 -0
  546. package/lib/components/ResponsivePair/ResponsivePair.d.ts.map +1 -0
  547. package/lib/components/ResponsivePair/ResponsivePair.js +38 -0
  548. package/lib/components/ResponsivePair/index.cjs +9 -0
  549. package/lib/components/ResponsivePair/index.d.ts +2 -0
  550. package/lib/components/ResponsivePair/index.d.ts.map +1 -0
  551. package/lib/components/ResponsivePair/index.js +1 -0
  552. package/lib/components/ScrollFog/ScrollFog.cjs +63 -0
  553. package/lib/components/ScrollFog/ScrollFog.d.ts +28 -0
  554. package/lib/components/ScrollFog/ScrollFog.d.ts.map +1 -0
  555. package/lib/components/ScrollFog/ScrollFog.js +59 -0
  556. package/lib/components/ScrollFog/index.cjs +9 -0
  557. package/lib/components/ScrollFog/index.d.ts +2 -0
  558. package/lib/components/ScrollFog/index.d.ts.map +1 -0
  559. package/lib/components/ScrollFog/index.js +1 -0
  560. package/lib/components/SegmentedControl/SegmentedControl.cjs +26 -0
  561. package/lib/components/SegmentedControl/SegmentedControl.d.ts +17 -0
  562. package/lib/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  563. package/lib/components/SegmentedControl/SegmentedControl.js +19 -0
  564. package/lib/components/SegmentedControl/SegmentedControl.namespace.cjs +12 -0
  565. package/lib/components/SegmentedControl/SegmentedControl.namespace.d.ts +2 -0
  566. package/lib/components/SegmentedControl/SegmentedControl.namespace.d.ts.map +1 -0
  567. package/lib/components/SegmentedControl/SegmentedControl.namespace.js +1 -0
  568. package/lib/components/SegmentedControl/index.cjs +14 -0
  569. package/lib/components/SegmentedControl/index.d.ts +3 -0
  570. package/lib/components/SegmentedControl/index.d.ts.map +1 -0
  571. package/lib/components/SegmentedControl/index.js +3 -0
  572. package/lib/components/SelectBox/CheckSelectBox.cjs +149 -0
  573. package/lib/components/SelectBox/CheckSelectBox.d.ts +51 -0
  574. package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -0
  575. package/lib/components/SelectBox/CheckSelectBox.js +135 -0
  576. package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +19 -0
  577. package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts +2 -0
  578. package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts.map +1 -0
  579. package/lib/components/SelectBox/CheckSelectBox.namespace.js +1 -0
  580. package/lib/components/SelectBox/RadioSelectBox.cjs +141 -0
  581. package/lib/components/SelectBox/RadioSelectBox.d.ts +43 -0
  582. package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -0
  583. package/lib/components/SelectBox/RadioSelectBox.js +129 -0
  584. package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +17 -0
  585. package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts +2 -0
  586. package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts.map +1 -0
  587. package/lib/components/SelectBox/RadioSelectBox.namespace.js +1 -0
  588. package/lib/components/SelectBox/index.cjs +33 -0
  589. package/lib/components/SelectBox/index.d.ts +5 -0
  590. package/lib/components/SelectBox/index.d.ts.map +1 -0
  591. package/lib/components/SelectBox/index.js +6 -0
  592. package/lib/components/Skeleton/Skeleton.cjs +14 -0
  593. package/lib/components/Skeleton/Skeleton.d.ts +8 -0
  594. package/lib/components/Skeleton/Skeleton.d.ts.map +1 -0
  595. package/lib/components/Skeleton/Skeleton.js +10 -0
  596. package/lib/components/Skeleton/index.cjs +9 -0
  597. package/lib/components/Skeleton/index.d.ts +2 -0
  598. package/lib/components/Skeleton/index.d.ts.map +1 -0
  599. package/lib/components/Skeleton/index.js +1 -0
  600. package/lib/components/Slider/Slider.cjs +110 -0
  601. package/lib/components/Slider/Slider.d.ts +51 -0
  602. package/lib/components/Slider/Slider.d.ts.map +1 -0
  603. package/lib/components/Slider/Slider.js +94 -0
  604. package/lib/components/Slider/Slider.namespace.cjs +21 -0
  605. package/lib/components/Slider/Slider.namespace.d.ts +2 -0
  606. package/lib/components/Slider/Slider.namespace.d.ts.map +1 -0
  607. package/lib/components/Slider/Slider.namespace.js +1 -0
  608. package/lib/components/Slider/index.cjs +23 -0
  609. package/lib/components/Slider/index.d.ts +3 -0
  610. package/lib/components/Slider/index.d.ts.map +1 -0
  611. package/lib/components/Slider/index.js +3 -0
  612. package/lib/components/Snackbar/Snackbar.cjs +66 -0
  613. package/lib/components/Snackbar/Snackbar.d.ts +39 -0
  614. package/lib/components/Snackbar/Snackbar.d.ts.map +1 -0
  615. package/lib/components/Snackbar/Snackbar.js +53 -0
  616. package/lib/components/Snackbar/Snackbar.namespace.cjs +18 -0
  617. package/lib/components/Snackbar/Snackbar.namespace.d.ts +2 -0
  618. package/lib/components/Snackbar/Snackbar.namespace.d.ts.map +1 -0
  619. package/lib/components/Snackbar/Snackbar.namespace.js +1 -0
  620. package/lib/components/Snackbar/index.cjs +26 -0
  621. package/lib/components/Snackbar/index.d.ts +5 -0
  622. package/lib/components/Snackbar/index.d.ts.map +1 -0
  623. package/lib/components/Snackbar/index.js +5 -0
  624. package/lib/components/Snackbar/useSnackbarAdapter.cjs +29 -0
  625. package/lib/components/Snackbar/useSnackbarAdapter.d.ts +11 -0
  626. package/lib/components/Snackbar/useSnackbarAdapter.d.ts.map +1 -0
  627. package/lib/components/Snackbar/useSnackbarAdapter.js +25 -0
  628. package/lib/components/Stack/Stack.cjs +41 -0
  629. package/lib/components/Stack/Stack.d.ts +18 -0
  630. package/lib/components/Stack/Stack.d.ts.map +1 -0
  631. package/lib/components/Stack/Stack.js +16 -0
  632. package/lib/components/Stack/index.cjs +11 -0
  633. package/lib/components/Stack/index.d.ts +2 -0
  634. package/lib/components/Stack/index.d.ts.map +1 -0
  635. package/lib/components/Stack/index.js +1 -0
  636. package/lib/components/Switch/Switch.cjs +69 -0
  637. package/lib/components/Switch/Switch.d.ts +27 -0
  638. package/lib/components/Switch/Switch.d.ts.map +1 -0
  639. package/lib/components/Switch/Switch.js +61 -0
  640. package/lib/components/Switch/Switch.namespace.cjs +13 -0
  641. package/lib/components/Switch/Switch.namespace.d.ts +2 -0
  642. package/lib/components/Switch/Switch.namespace.d.ts.map +1 -0
  643. package/lib/components/Switch/Switch.namespace.js +1 -0
  644. package/lib/components/Switch/index.cjs +15 -0
  645. package/lib/components/Switch/index.d.ts +3 -0
  646. package/lib/components/Switch/index.d.ts.map +1 -0
  647. package/lib/components/Switch/index.js +3 -0
  648. package/lib/components/Tabs/Tabs.cjs +40 -0
  649. package/lib/components/Tabs/Tabs.d.ts +25 -0
  650. package/lib/components/Tabs/Tabs.d.ts.map +1 -0
  651. package/lib/components/Tabs/Tabs.js +30 -0
  652. package/lib/components/Tabs/Tabs.namespace.cjs +20 -0
  653. package/lib/components/Tabs/Tabs.namespace.d.ts +3 -0
  654. package/lib/components/Tabs/Tabs.namespace.d.ts.map +1 -0
  655. package/lib/components/Tabs/Tabs.namespace.js +2 -0
  656. package/lib/components/Tabs/index.cjs +22 -0
  657. package/lib/components/Tabs/index.d.ts +4 -0
  658. package/lib/components/Tabs/index.d.ts.map +1 -0
  659. package/lib/components/Tabs/index.js +4 -0
  660. package/lib/components/TagGroup/TagGroup.cjs +54 -0
  661. package/lib/components/TagGroup/TagGroup.d.ts +16 -0
  662. package/lib/components/TagGroup/TagGroup.d.ts.map +1 -0
  663. package/lib/components/TagGroup/TagGroup.js +48 -0
  664. package/lib/components/TagGroup/TagGroup.namespace.cjs +11 -0
  665. package/lib/components/TagGroup/TagGroup.namespace.d.ts +2 -0
  666. package/lib/components/TagGroup/TagGroup.namespace.d.ts.map +1 -0
  667. package/lib/components/TagGroup/TagGroup.namespace.js +1 -0
  668. package/lib/components/TagGroup/index.cjs +13 -0
  669. package/lib/components/TagGroup/index.d.ts +3 -0
  670. package/lib/components/TagGroup/index.d.ts.map +1 -0
  671. package/lib/components/TagGroup/index.js +3 -0
  672. package/lib/components/Text/Text.cjs +97 -0
  673. package/lib/components/Text/Text.d.ts +45 -0
  674. package/lib/components/Text/Text.d.ts.map +1 -0
  675. package/lib/components/Text/Text.js +93 -0
  676. package/lib/components/Text/index.cjs +9 -0
  677. package/lib/components/Text/index.d.ts +2 -0
  678. package/lib/components/Text/index.d.ts.map +1 -0
  679. package/lib/components/Text/index.js +1 -0
  680. package/lib/components/TextField/TextField.cjs +131 -0
  681. package/lib/components/TextField/TextField.d.ts +32 -0
  682. package/lib/components/TextField/TextField.d.ts.map +1 -0
  683. package/lib/components/TextField/TextField.js +121 -0
  684. package/lib/components/TextField/TextField.namespace.cjs +15 -0
  685. package/lib/components/TextField/TextField.namespace.d.ts +2 -0
  686. package/lib/components/TextField/TextField.namespace.d.ts.map +1 -0
  687. package/lib/components/TextField/TextField.namespace.js +1 -0
  688. package/lib/components/TextField/TextField.test.d.ts +2 -0
  689. package/lib/components/TextField/TextField.test.d.ts.map +1 -0
  690. package/lib/components/TextField/index.cjs +19 -0
  691. package/lib/components/TextField/index.d.ts +4 -0
  692. package/lib/components/TextField/index.d.ts.map +1 -0
  693. package/lib/components/TextField/index.js +4 -0
  694. package/lib/components/TextField/memoize.cjs +18 -0
  695. package/lib/components/TextField/memoize.d.ts +2 -0
  696. package/lib/components/TextField/memoize.d.ts.map +1 -0
  697. package/lib/components/TextField/memoize.js +14 -0
  698. package/lib/components/TextField/useTextFieldWithGraphemes.cjs +52 -0
  699. package/lib/components/TextField/useTextFieldWithGraphemes.d.ts +23 -0
  700. package/lib/components/TextField/useTextFieldWithGraphemes.d.ts.map +1 -0
  701. package/lib/components/TextField/useTextFieldWithGraphemes.js +48 -0
  702. package/lib/components/TextField/useTextFieldWithGraphemes.test.d.ts +2 -0
  703. package/lib/components/TextField/useTextFieldWithGraphemes.test.d.ts.map +1 -0
  704. package/lib/components/ToggleButton/ToggleButton.cjs +49 -0
  705. package/lib/components/ToggleButton/ToggleButton.d.ts +8 -0
  706. package/lib/components/ToggleButton/ToggleButton.d.ts.map +1 -0
  707. package/lib/components/ToggleButton/ToggleButton.js +26 -0
  708. package/lib/components/ToggleButton/index.cjs +9 -0
  709. package/lib/components/ToggleButton/index.d.ts +2 -0
  710. package/lib/components/ToggleButton/index.d.ts.map +1 -0
  711. package/lib/components/ToggleButton/index.js +1 -0
  712. package/lib/components/VisuallyHidden/VisuallyHidden.cjs +16 -0
  713. package/lib/components/VisuallyHidden/VisuallyHidden.d.ts +6 -0
  714. package/lib/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
  715. package/lib/components/VisuallyHidden/VisuallyHidden.js +12 -0
  716. package/lib/components/VisuallyHidden/index.cjs +9 -0
  717. package/lib/components/VisuallyHidden/index.d.ts +2 -0
  718. package/lib/components/VisuallyHidden/index.d.ts.map +1 -0
  719. package/lib/components/VisuallyHidden/index.js +1 -0
  720. package/lib/components/index.cjs +465 -0
  721. package/lib/components/index.d.ts +69 -0
  722. package/lib/components/index.d.ts.map +1 -0
  723. package/lib/components/index.js +142 -0
  724. package/lib/components/private/Icon.cjs +16 -0
  725. package/lib/components/private/Icon.d.ts +6 -0
  726. package/lib/components/private/Icon.d.ts.map +1 -0
  727. package/lib/components/private/Icon.js +12 -0
  728. package/lib/components/private/useDismissible.cjs +79 -0
  729. package/lib/components/private/useDismissible.d.ts +1749 -0
  730. package/lib/components/private/useDismissible.d.ts.map +1 -0
  731. package/lib/components/private/useDismissible.js +52 -0
  732. package/lib/hooks/useBreakpoint.cjs +18 -0
  733. package/lib/hooks/useBreakpoint.d.ts +12 -0
  734. package/lib/hooks/useBreakpoint.d.ts.map +1 -0
  735. package/lib/hooks/useBreakpoint.js +13 -0
  736. package/lib/hooks/useBreakpoint.test.d.ts +2 -0
  737. package/lib/hooks/useBreakpoint.test.d.ts.map +1 -0
  738. package/lib/hooks/useBreakpointValue.cjs +28 -0
  739. package/lib/hooks/useBreakpointValue.d.ts +8 -0
  740. package/lib/hooks/useBreakpointValue.d.ts.map +1 -0
  741. package/lib/hooks/useBreakpointValue.js +23 -0
  742. package/lib/hooks/useBreakpointValue.test.d.ts +2 -0
  743. package/lib/hooks/useBreakpointValue.test.d.ts.map +1 -0
  744. package/lib/index.cjs +471 -0
  745. package/lib/index.d.ts +9 -0
  746. package/lib/index.d.ts.map +1 -0
  747. package/lib/index.js +145 -0
  748. package/lib/primitive.cjs +91 -0
  749. package/lib/primitive.d.ts +13 -0
  750. package/lib/primitive.d.ts.map +1 -0
  751. package/lib/primitive.js +12 -0
  752. package/lib/primitives/breakpoint-store.cjs +63 -0
  753. package/lib/primitives/breakpoint-store.d.ts +7 -0
  754. package/lib/primitives/breakpoint-store.d.ts.map +1 -0
  755. package/lib/primitives/breakpoint-store.js +58 -0
  756. package/lib/providers/BreakpointProvider.cjs +24 -0
  757. package/lib/providers/BreakpointProvider.d.ts +8 -0
  758. package/lib/providers/BreakpointProvider.d.ts.map +1 -0
  759. package/lib/providers/BreakpointProvider.js +20 -0
  760. package/lib/types/responsive.cjs +10 -0
  761. package/lib/types/responsive.d.ts +12 -0
  762. package/lib/types/responsive.d.ts.map +1 -0
  763. package/lib/types/responsive.js +6 -0
  764. package/lib/utils/createRecipeContext.cjs +40 -0
  765. package/lib/utils/createRecipeContext.d.ts +16 -0
  766. package/lib/utils/createRecipeContext.d.ts.map +1 -0
  767. package/lib/utils/createRecipeContext.js +36 -0
  768. package/lib/utils/createSlotRecipeContext.cjs +77 -0
  769. package/lib/utils/createSlotRecipeContext.d.ts +24 -0
  770. package/lib/utils/createSlotRecipeContext.d.ts.map +1 -0
  771. package/lib/utils/createSlotRecipeContext.js +73 -0
  772. package/lib/utils/createWithStateProps.cjs +28 -0
  773. package/lib/utils/createWithStateProps.d.ts +14 -0
  774. package/lib/utils/createWithStateProps.d.ts.map +1 -0
  775. package/lib/utils/createWithStateProps.js +24 -0
  776. package/lib/utils/splitMultipleVariantsProps.cjs +32 -0
  777. package/lib/utils/splitMultipleVariantsProps.d.ts +21 -0
  778. package/lib/utils/splitMultipleVariantsProps.js +28 -0
  779. package/lib/utils/styled.cjs +353 -0
  780. package/lib/utils/styled.d.ts +160 -0
  781. package/lib/utils/styled.d.ts.map +1 -0
  782. package/lib/utils/styled.js +344 -0
  783. package/lib/vars.cjs +14 -0
  784. package/lib/vars.d.ts +2 -0
  785. package/lib/vars.d.ts.map +1 -0
  786. package/lib/vars.js +1 -0
  787. package/package.json +89 -0
  788. package/src/components/ActionButton/ActionButton.tsx +92 -0
  789. package/src/components/ActionButton/index.ts +4 -0
  790. package/src/components/ActionChip/ActionChip.tsx +34 -0
  791. package/src/components/ActionChip/index.ts +4 -0
  792. package/src/components/ActionSheet/ActionSheet.namespace.ts +24 -0
  793. package/src/components/ActionSheet/ActionSheet.tsx +192 -0
  794. package/src/components/ActionSheet/index.ts +26 -0
  795. package/src/components/Article/Article.tsx +19 -0
  796. package/src/components/Article/index.ts +1 -0
  797. package/src/components/AspectRatio/AspectRatio.tsx +56 -0
  798. package/src/components/AspectRatio/index.ts +1 -0
  799. package/src/components/Avatar/Avatar.namespace.ts +12 -0
  800. package/src/components/Avatar/Avatar.tsx +62 -0
  801. package/src/components/Avatar/index.ts +14 -0
  802. package/src/components/Badge/Badge.tsx +26 -0
  803. package/src/components/Badge/index.ts +1 -0
  804. package/src/components/BottomSheet/BottomSheet.namespace.ts +29 -0
  805. package/src/components/BottomSheet/BottomSheet.tsx +122 -0
  806. package/src/components/BottomSheet/index.ts +26 -0
  807. package/src/components/BottomSheetHandle/BottomSheetHandle.tsx +23 -0
  808. package/src/components/BottomSheetHandle/index.ts +1 -0
  809. package/src/components/Box/Box.tsx +45 -0
  810. package/src/components/Box/index.ts +1 -0
  811. package/src/components/Callout/Callout.namespace.ts +14 -0
  812. package/src/components/Callout/Callout.tsx +57 -0
  813. package/src/components/Callout/index.ts +16 -0
  814. package/src/components/Celsius/Celsius.tsx +9 -0
  815. package/src/components/Celsius/index.ts +4 -0
  816. package/src/components/Checkbox/Checkbox.namespace.ts +14 -0
  817. package/src/components/Checkbox/Checkbox.tsx +176 -0
  818. package/src/components/Checkbox/index.ts +16 -0
  819. package/src/components/Chip/Chip.namespace.ts +12 -0
  820. package/src/components/Chip/Chip.tsx +67 -0
  821. package/src/components/Chip/index.ts +14 -0
  822. package/src/components/ChipTabs/ChipTabs.namespace.ts +14 -0
  823. package/src/components/ChipTabs/ChipTabs.tsx +80 -0
  824. package/src/components/ChipTabs/index.ts +16 -0
  825. package/src/components/Columns/Columns.tsx +49 -0
  826. package/src/components/Columns/index.ts +1 -0
  827. package/src/components/ConsistentWidth/ConsistentWidth.tsx +21 -0
  828. package/src/components/ConsistentWidth/index.ts +1 -0
  829. package/src/components/ContentPlaceholder/ContentPlaceholder.namespace.ts +6 -0
  830. package/src/components/ContentPlaceholder/ContentPlaceholder.tsx +59 -0
  831. package/src/components/ContentPlaceholder/index.ts +8 -0
  832. package/src/components/ContentPlaceholder/presets.tsx +96 -0
  833. package/src/components/ContextualFloatingButton/ContextualFloatingButton.tsx +49 -0
  834. package/src/components/ContextualFloatingButton/index.ts +4 -0
  835. package/src/components/ControlChip/ControlChip.tsx +38 -0
  836. package/src/components/ControlChip/index.ts +5 -0
  837. package/src/components/Count/Count.tsx +10 -0
  838. package/src/components/Count/index.ts +4 -0
  839. package/src/components/Dialog/Dialog.namespace.ts +22 -0
  840. package/src/components/Dialog/Dialog.tsx +105 -0
  841. package/src/components/Dialog/index.ts +24 -0
  842. package/src/components/Divider/Divider.tsx +80 -0
  843. package/src/components/Divider/index.ts +1 -0
  844. package/src/components/ExtendedActionSheet/ExtendedActionSheet.namespace.ts +26 -0
  845. package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +220 -0
  846. package/src/components/ExtendedActionSheet/index.ts +28 -0
  847. package/src/components/ExtendedFab/ExtendedFab.tsx +25 -0
  848. package/src/components/ExtendedFab/index.ts +4 -0
  849. package/src/components/Fab/Fab.tsx +21 -0
  850. package/src/components/Fab/index.ts +4 -0
  851. package/src/components/Field/Field.namespace.ts +19 -0
  852. package/src/components/Field/Field.tsx +140 -0
  853. package/src/components/Field/index.ts +21 -0
  854. package/src/components/FieldButton/FieldButton.namespace.ts +38 -0
  855. package/src/components/FieldButton/FieldButton.tsx +249 -0
  856. package/src/components/FieldButton/index.ts +40 -0
  857. package/src/components/Fieldset/Fieldset.namespace.ts +17 -0
  858. package/src/components/Fieldset/Fieldset.tsx +101 -0
  859. package/src/components/Fieldset/index.ts +19 -0
  860. package/src/components/Flex/Flex.tsx +58 -0
  861. package/src/components/Flex/index.ts +1 -0
  862. package/src/components/Float/Float.tsx +124 -0
  863. package/src/components/Float/index.ts +1 -0
  864. package/src/components/FloatingActionButton/FloatingActionButton.namespace.tsx +8 -0
  865. package/src/components/FloatingActionButton/FloatingActionButton.tsx +38 -0
  866. package/src/components/FloatingActionButton/index.ts +10 -0
  867. package/src/components/Grid/Grid.tsx +86 -0
  868. package/src/components/Grid/index.ts +1 -0
  869. package/src/components/GridItem/GridItem.tsx +70 -0
  870. package/src/components/GridItem/index.ts +1 -0
  871. package/src/components/HelpBubble/HelpBubble.namespace.ts +26 -0
  872. package/src/components/HelpBubble/HelpBubble.tsx +173 -0
  873. package/src/components/HelpBubble/index.ts +28 -0
  874. package/src/components/Icon/Icon.tsx +167 -0
  875. package/src/components/Icon/index.ts +8 -0
  876. package/src/components/IdentityPlaceholder/IdentityPlaceholder.namespace.ts +6 -0
  877. package/src/components/IdentityPlaceholder/IdentityPlaceholder.tsx +77 -0
  878. package/src/components/IdentityPlaceholder/index.ts +8 -0
  879. package/src/components/ImageFrame/ImageFrame.test.tsx +57 -0
  880. package/src/components/ImageFrame/ImageFrame.tsx +268 -0
  881. package/src/components/ImageFrame/index.ts +14 -0
  882. package/src/components/Inline/Inline.tsx +24 -0
  883. package/src/components/Inline/index.ts +1 -0
  884. package/src/components/InlineBanner/InlineBanner.namespace.ts +14 -0
  885. package/src/components/InlineBanner/InlineBanner.tsx +103 -0
  886. package/src/components/InlineBanner/index.ts +16 -0
  887. package/src/components/LinkContent/LinkContent.tsx +23 -0
  888. package/src/components/LinkContent/index.ts +4 -0
  889. package/src/components/List/List.namespace.ts +16 -0
  890. package/src/components/List/List.tsx +96 -0
  891. package/src/components/List/ListHeader.tsx +24 -0
  892. package/src/components/List/index.ts +20 -0
  893. package/src/components/LoadingIndicator/LoadingIndicator.tsx +27 -0
  894. package/src/components/LoadingIndicator/index.ts +4 -0
  895. package/src/components/LoadingIndicator/usePendingButton.tsx +45 -0
  896. package/src/components/MannerTemp/MannerTemp.tsx +25 -0
  897. package/src/components/MannerTemp/MannerTempEmote.tsx +136 -0
  898. package/src/components/MannerTemp/index.ts +2 -0
  899. package/src/components/MannerTempBadge/MannerTempBadge.tsx +18 -0
  900. package/src/components/MannerTempBadge/index.ts +4 -0
  901. package/src/components/MenuSheet/MenuSheet.namespace.ts +34 -0
  902. package/src/components/MenuSheet/MenuSheet.tsx +229 -0
  903. package/src/components/MenuSheet/index.ts +36 -0
  904. package/src/components/NotificationBadge/NotificationBadge.tsx +47 -0
  905. package/src/components/NotificationBadge/index.ts +6 -0
  906. package/src/components/PageBanner/PageBanner.namespace.ts +16 -0
  907. package/src/components/PageBanner/PageBanner.tsx +108 -0
  908. package/src/components/PageBanner/index.ts +18 -0
  909. package/src/components/Portal/index.ts +4 -0
  910. package/src/components/ProgressCircle/ProgressCircle.namespace.ts +8 -0
  911. package/src/components/ProgressCircle/ProgressCircle.tsx +31 -0
  912. package/src/components/ProgressCircle/index.ts +10 -0
  913. package/src/components/PullToRefresh/PullToRefresh.namespace.ts +10 -0
  914. package/src/components/PullToRefresh/PullToRefresh.tsx +28 -0
  915. package/src/components/PullToRefresh/index.ts +12 -0
  916. package/src/components/RadioGroup/RadioGroup.namespace.ts +14 -0
  917. package/src/components/RadioGroup/RadioGroup.tsx +138 -0
  918. package/src/components/RadioGroup/index.ts +16 -0
  919. package/src/components/RadioGroupField/RadioGroupField.namespace.ts +18 -0
  920. package/src/components/RadioGroupField/RadioGroupField.tsx +114 -0
  921. package/src/components/RadioGroupField/index.ts +2 -0
  922. package/src/components/ReactionButton/ReactionButton.tsx +36 -0
  923. package/src/components/ReactionButton/index.ts +4 -0
  924. package/src/components/ResponsivePair/ResponsivePair.tsx +44 -0
  925. package/src/components/ResponsivePair/index.ts +1 -0
  926. package/src/components/ScrollFog/ScrollFog.tsx +90 -0
  927. package/src/components/ScrollFog/index.ts +1 -0
  928. package/src/components/SegmentedControl/SegmentedControl.namespace.ts +10 -0
  929. package/src/components/SegmentedControl/SegmentedControl.tsx +39 -0
  930. package/src/components/SegmentedControl/index.ts +12 -0
  931. package/src/components/SelectBox/CheckSelectBox.namespace.ts +24 -0
  932. package/src/components/SelectBox/CheckSelectBox.tsx +265 -0
  933. package/src/components/SelectBox/RadioSelectBox.namespace.ts +20 -0
  934. package/src/components/SelectBox/RadioSelectBox.tsx +248 -0
  935. package/src/components/SelectBox/index.ts +48 -0
  936. package/src/components/Skeleton/Skeleton.tsx +15 -0
  937. package/src/components/Skeleton/index.ts +1 -0
  938. package/src/components/Slider/Slider.namespace.ts +28 -0
  939. package/src/components/Slider/Slider.tsx +154 -0
  940. package/src/components/Slider/index.ts +30 -0
  941. package/src/components/Snackbar/Snackbar.namespace.ts +22 -0
  942. package/src/components/Snackbar/Snackbar.tsx +110 -0
  943. package/src/components/Snackbar/index.ts +32 -0
  944. package/src/components/Snackbar/useSnackbarAdapter.ts +28 -0
  945. package/src/components/Stack/Stack.tsx +26 -0
  946. package/src/components/Stack/index.ts +8 -0
  947. package/src/components/Switch/Switch.namespace.ts +12 -0
  948. package/src/components/Switch/Switch.tsx +102 -0
  949. package/src/components/Switch/index.ts +14 -0
  950. package/src/components/Tabs/Tabs.namespace.ts +18 -0
  951. package/src/components/Tabs/Tabs.tsx +62 -0
  952. package/src/components/Tabs/index.ts +20 -0
  953. package/src/components/TagGroup/TagGroup.namespace.ts +8 -0
  954. package/src/components/TagGroup/TagGroup.tsx +90 -0
  955. package/src/components/TagGroup/index.ts +10 -0
  956. package/src/components/Text/Text.tsx +169 -0
  957. package/src/components/Text/index.ts +1 -0
  958. package/src/components/TextField/TextField.namespace.ts +16 -0
  959. package/src/components/TextField/TextField.test.tsx +257 -0
  960. package/src/components/TextField/TextField.tsx +182 -0
  961. package/src/components/TextField/index.ts +23 -0
  962. package/src/components/TextField/memoize.ts +14 -0
  963. package/src/components/TextField/useTextFieldWithGraphemes.test.tsx +306 -0
  964. package/src/components/TextField/useTextFieldWithGraphemes.ts +65 -0
  965. package/src/components/ToggleButton/ToggleButton.tsx +36 -0
  966. package/src/components/ToggleButton/index.ts +4 -0
  967. package/src/components/VisuallyHidden/VisuallyHidden.tsx +11 -0
  968. package/src/components/VisuallyHidden/index.ts +1 -0
  969. package/src/components/index.ts +68 -0
  970. package/src/components/private/Icon.tsx +16 -0
  971. package/src/components/private/useDismissible.tsx +86 -0
  972. package/src/hooks/useBreakpoint.test.tsx +94 -0
  973. package/src/hooks/useBreakpoint.ts +24 -0
  974. package/src/hooks/useBreakpointValue.test.tsx +102 -0
  975. package/src/hooks/useBreakpointValue.ts +33 -0
  976. package/src/index.ts +12 -0
  977. package/src/primitive.ts +12 -0
  978. package/src/primitives/breakpoint-store.ts +69 -0
  979. package/src/providers/BreakpointProvider.tsx +26 -0
  980. package/src/types/responsive.ts +19 -0
  981. package/src/utils/createRecipeContext.tsx +54 -0
  982. package/src/utils/createSlotRecipeContext.tsx +128 -0
  983. package/src/utils/createWithStateProps.tsx +33 -0
  984. package/src/utils/splitMultipleVariantsProps.d.ts +21 -0
  985. package/src/utils/splitMultipleVariantsProps.mjs +25 -0
  986. package/src/utils/styled.tsx +765 -0
  987. package/src/vars.ts +1 -0
@@ -0,0 +1,91 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const reactAvatar = require('@seed-design/react-avatar');
6
+ const reactCheckbox = require('@seed-design/react-checkbox');
7
+ const reactDialog = require('@seed-design/react-dialog');
8
+ const reactPopover = require('@seed-design/react-popover');
9
+ const reactProgress = require('@seed-design/react-progress');
10
+ const reactPullToRefresh = require('@seed-design/react-pull-to-refresh');
11
+ const reactRadioGroup = require('@seed-design/react-radio-group');
12
+ const reactSlider = require('@seed-design/react-slider');
13
+ const reactSnackbar = require('@seed-design/react-snackbar');
14
+ const reactSwitch = require('@seed-design/react-switch');
15
+ const reactTabs = require('@seed-design/react-tabs');
16
+ const reactToggle = require('@seed-design/react-toggle');
17
+
18
+
19
+
20
+ Object.keys(reactAvatar).forEach(k => {
21
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
22
+ enumerable: true,
23
+ get: () => reactAvatar[k]
24
+ });
25
+ });
26
+ Object.keys(reactCheckbox).forEach(k => {
27
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
28
+ enumerable: true,
29
+ get: () => reactCheckbox[k]
30
+ });
31
+ });
32
+ Object.keys(reactDialog).forEach(k => {
33
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
34
+ enumerable: true,
35
+ get: () => reactDialog[k]
36
+ });
37
+ });
38
+ Object.keys(reactPopover).forEach(k => {
39
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
40
+ enumerable: true,
41
+ get: () => reactPopover[k]
42
+ });
43
+ });
44
+ Object.keys(reactProgress).forEach(k => {
45
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
46
+ enumerable: true,
47
+ get: () => reactProgress[k]
48
+ });
49
+ });
50
+ Object.keys(reactPullToRefresh).forEach(k => {
51
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
52
+ enumerable: true,
53
+ get: () => reactPullToRefresh[k]
54
+ });
55
+ });
56
+ Object.keys(reactRadioGroup).forEach(k => {
57
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
58
+ enumerable: true,
59
+ get: () => reactRadioGroup[k]
60
+ });
61
+ });
62
+ Object.keys(reactSlider).forEach(k => {
63
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
64
+ enumerable: true,
65
+ get: () => reactSlider[k]
66
+ });
67
+ });
68
+ Object.keys(reactSnackbar).forEach(k => {
69
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
70
+ enumerable: true,
71
+ get: () => reactSnackbar[k]
72
+ });
73
+ });
74
+ Object.keys(reactSwitch).forEach(k => {
75
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
76
+ enumerable: true,
77
+ get: () => reactSwitch[k]
78
+ });
79
+ });
80
+ Object.keys(reactTabs).forEach(k => {
81
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
82
+ enumerable: true,
83
+ get: () => reactTabs[k]
84
+ });
85
+ });
86
+ Object.keys(reactToggle).forEach(k => {
87
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
88
+ enumerable: true,
89
+ get: () => reactToggle[k]
90
+ });
91
+ });
@@ -0,0 +1,13 @@
1
+ export * from '@seed-design/react-avatar';
2
+ export * from '@seed-design/react-checkbox';
3
+ export * from '@seed-design/react-dialog';
4
+ export * from '@seed-design/react-popover';
5
+ export * from '@seed-design/react-progress';
6
+ export * from '@seed-design/react-pull-to-refresh';
7
+ export * from '@seed-design/react-radio-group';
8
+ export * from '@seed-design/react-slider';
9
+ export * from '@seed-design/react-snackbar';
10
+ export * from '@seed-design/react-switch';
11
+ export * from '@seed-design/react-tabs';
12
+ export * from '@seed-design/react-toggle';
13
+ //# sourceMappingURL=primitive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"primitive.d.ts","sourceRoot":"","sources":["../src/primitive.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,12 @@
1
+ export * from '@seed-design/react-avatar';
2
+ export * from '@seed-design/react-checkbox';
3
+ export * from '@seed-design/react-dialog';
4
+ export * from '@seed-design/react-popover';
5
+ export * from '@seed-design/react-progress';
6
+ export * from '@seed-design/react-pull-to-refresh';
7
+ export * from '@seed-design/react-radio-group';
8
+ export * from '@seed-design/react-slider';
9
+ export * from '@seed-design/react-snackbar';
10
+ export * from '@seed-design/react-switch';
11
+ export * from '@seed-design/react-tabs';
12
+ export * from '@seed-design/react-toggle';
@@ -0,0 +1,63 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const breakpoints = require('@seed-design/css/breakpoints');
7
+
8
+ const thresholds = breakpoints.breakpointNames.filter(
9
+ (name) => name !== "base"
10
+ );
11
+ let listeners = null;
12
+ let mediaQueryLists = null;
13
+ let currentBreakpoint = "base";
14
+ function computeBreakpoint() {
15
+ if (!mediaQueryLists) return "base";
16
+ for (let i = thresholds.length - 1; i >= 0; i--) {
17
+ if (mediaQueryLists[i].matches) return thresholds[i];
18
+ }
19
+ return "base";
20
+ }
21
+ function handleChange() {
22
+ const next = computeBreakpoint();
23
+ if (next !== currentBreakpoint) {
24
+ currentBreakpoint = next;
25
+ for (const fn of listeners ?? []) fn();
26
+ }
27
+ }
28
+ function init() {
29
+ mediaQueryLists = thresholds.map((name) => window.matchMedia(breakpoints.mediaQueries[name]));
30
+ currentBreakpoint = computeBreakpoint();
31
+ for (const mql of mediaQueryLists) {
32
+ mql.addEventListener("change", handleChange);
33
+ }
34
+ }
35
+ function teardown() {
36
+ if (mediaQueryLists) {
37
+ for (const mql of mediaQueryLists) {
38
+ mql.removeEventListener("change", handleChange);
39
+ }
40
+ mediaQueryLists = null;
41
+ }
42
+ currentBreakpoint = "base";
43
+ }
44
+ function subscribe(listener) {
45
+ if (!listeners) {
46
+ listeners = /* @__PURE__ */ new Set();
47
+ init();
48
+ }
49
+ listeners.add(listener);
50
+ return () => {
51
+ listeners?.delete(listener);
52
+ if (listeners?.size === 0) {
53
+ teardown();
54
+ listeners = null;
55
+ }
56
+ };
57
+ }
58
+ function getSnapshot() {
59
+ return currentBreakpoint;
60
+ }
61
+
62
+ exports.getSnapshot = getSnapshot;
63
+ exports.subscribe = subscribe;
@@ -0,0 +1,7 @@
1
+ import { Breakpoint } from '@seed-design/css/breakpoints';
2
+ type Listener = () => void;
3
+ export declare function subscribe(listener: Listener): () => void;
4
+ export declare function getSnapshot(): Breakpoint;
5
+ export declare function getServerSnapshot(): Breakpoint;
6
+ export {};
7
+ //# sourceMappingURL=breakpoint-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoint-store.d.ts","sourceRoot":"","sources":["../../src/primitives/breakpoint-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAiC,MAAM,8BAA8B,CAAC;AAE9F,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;AA4C3B,wBAAgB,SAAS,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,IAAI,CAcxD;AAED,wBAAgB,WAAW,IAAI,UAAU,CAExC;AAED,wBAAgB,iBAAiB,IAAI,UAAU,CAE9C"}
@@ -0,0 +1,58 @@
1
+ 'use client';
2
+ import { breakpointNames, mediaQueries } from '@seed-design/css/breakpoints';
3
+
4
+ const thresholds = breakpointNames.filter(
5
+ (name) => name !== "base"
6
+ );
7
+ let listeners = null;
8
+ let mediaQueryLists = null;
9
+ let currentBreakpoint = "base";
10
+ function computeBreakpoint() {
11
+ if (!mediaQueryLists) return "base";
12
+ for (let i = thresholds.length - 1; i >= 0; i--) {
13
+ if (mediaQueryLists[i].matches) return thresholds[i];
14
+ }
15
+ return "base";
16
+ }
17
+ function handleChange() {
18
+ const next = computeBreakpoint();
19
+ if (next !== currentBreakpoint) {
20
+ currentBreakpoint = next;
21
+ for (const fn of listeners ?? []) fn();
22
+ }
23
+ }
24
+ function init() {
25
+ mediaQueryLists = thresholds.map((name) => window.matchMedia(mediaQueries[name]));
26
+ currentBreakpoint = computeBreakpoint();
27
+ for (const mql of mediaQueryLists) {
28
+ mql.addEventListener("change", handleChange);
29
+ }
30
+ }
31
+ function teardown() {
32
+ if (mediaQueryLists) {
33
+ for (const mql of mediaQueryLists) {
34
+ mql.removeEventListener("change", handleChange);
35
+ }
36
+ mediaQueryLists = null;
37
+ }
38
+ currentBreakpoint = "base";
39
+ }
40
+ function subscribe(listener) {
41
+ if (!listeners) {
42
+ listeners = /* @__PURE__ */ new Set();
43
+ init();
44
+ }
45
+ listeners.add(listener);
46
+ return () => {
47
+ listeners?.delete(listener);
48
+ if (listeners?.size === 0) {
49
+ teardown();
50
+ listeners = null;
51
+ }
52
+ };
53
+ }
54
+ function getSnapshot() {
55
+ return currentBreakpoint;
56
+ }
57
+
58
+ export { getSnapshot, subscribe };
@@ -0,0 +1,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 React = require('react');
8
+ const useBreakpoint = require('../hooks/useBreakpoint.cjs');
9
+ const breakpointStore = require('../primitives/breakpoint-store.cjs');
10
+
11
+ function BreakpointProvider({
12
+ defaultBreakpoint = "base",
13
+ children
14
+ }) {
15
+ const breakpoint = React.useSyncExternalStore(
16
+ breakpointStore.subscribe,
17
+ breakpointStore.getSnapshot,
18
+ () => defaultBreakpoint
19
+ );
20
+ const value = React.useMemo(() => ({ breakpoint, defaultBreakpoint }), [breakpoint, defaultBreakpoint]);
21
+ return /* @__PURE__ */ jsxRuntime.jsx(useBreakpoint.BreakpointContext.Provider, { value, children });
22
+ }
23
+
24
+ exports.BreakpointProvider = BreakpointProvider;
@@ -0,0 +1,8 @@
1
+ import { Breakpoint } from '@seed-design/css/breakpoints';
2
+ import type * as React from "react";
3
+ export interface BreakpointProviderProps {
4
+ defaultBreakpoint?: Breakpoint;
5
+ children: React.ReactNode;
6
+ }
7
+ export declare function BreakpointProvider({ defaultBreakpoint, children, }: BreakpointProviderProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=BreakpointProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BreakpointProvider.d.ts","sourceRoot":"","sources":["../../src/providers/BreakpointProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,uBAAuB;IACtC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,iBAA0B,EAC1B,QAAQ,GACT,EAAE,uBAAuB,2CAUzB"}
@@ -0,0 +1,20 @@
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { useSyncExternalStore, useMemo } from 'react';
4
+ import { BreakpointContext } from '../hooks/useBreakpoint.js';
5
+ import { subscribe, getSnapshot } from '../primitives/breakpoint-store.js';
6
+
7
+ function BreakpointProvider({
8
+ defaultBreakpoint = "base",
9
+ children
10
+ }) {
11
+ const breakpoint = useSyncExternalStore(
12
+ subscribe,
13
+ getSnapshot,
14
+ () => defaultBreakpoint
15
+ );
16
+ const value = useMemo(() => ({ breakpoint, defaultBreakpoint }), [breakpoint, defaultBreakpoint]);
17
+ return /* @__PURE__ */ jsx(BreakpointContext.Provider, { value, children });
18
+ }
19
+
20
+ export { BreakpointProvider };
@@ -0,0 +1,10 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ function isResponsiveObject(value) {
7
+ return typeof value === "object" && value !== null && !Array.isArray(value);
8
+ }
9
+
10
+ exports.isResponsiveObject = isResponsiveObject;
@@ -0,0 +1,12 @@
1
+ import { Breakpoint } from '@seed-design/css/breakpoints';
2
+ type ResponsiveObject<T> = {
3
+ [K in Breakpoint]?: T;
4
+ } & (T extends object ? {
5
+ [K in Exclude<keyof T & string, Breakpoint>]?: never;
6
+ } : {});
7
+ export type ResponsiveValue<T> = T | ResponsiveObject<T>;
8
+ export type UnwrapResponsive<T> = T extends ResponsiveValue<infer U> ? U : T;
9
+ export type BreakpointThreshold = Exclude<Breakpoint, "base">;
10
+ export declare function isResponsiveObject<T>(value: ResponsiveValue<T>): value is ResponsiveObject<T>;
11
+ export {};
12
+ //# sourceMappingURL=responsive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../src/types/responsive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAM/D,KAAK,gBAAgB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;CAAE,GAAG,CAAC,CAAC,SAAS,MAAM,GACpE;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK;CAAE,GACxD,EAAE,CAAC,CAAC;AAER,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAEzD,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE7E,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAE9D,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAE7F"}
@@ -0,0 +1,6 @@
1
+ 'use client';
2
+ function isResponsiveObject(value) {
3
+ return typeof value === "object" && value !== null && !Array.isArray(value);
4
+ }
5
+
6
+ export { isResponsiveObject };
@@ -0,0 +1,40 @@
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 clsx = require('clsx');
8
+ const React = require('react');
9
+
10
+ function createRecipeContext(recipe) {
11
+ const PropsContext = React.createContext(null);
12
+ const PropsProvider = ({ children, value }) => {
13
+ return /* @__PURE__ */ jsxRuntime.jsx(PropsContext.Provider, { value, children });
14
+ };
15
+ function useProps() {
16
+ return React.useContext(PropsContext);
17
+ }
18
+ const withContext = (Component, options) => {
19
+ const { defaultProps } = options ?? {};
20
+ const StyledComponent = React.forwardRef((innerProps, ref) => {
21
+ const props = { ...defaultProps ?? {}, ...useProps(), ...innerProps };
22
+ const [variantProps, otherProps] = recipe.splitVariantProps(props);
23
+ const className = recipe(variantProps);
24
+ return /* @__PURE__ */ jsxRuntime.jsx(Component, { ref, ...otherProps, className: clsx(className, props.className) });
25
+ });
26
+ StyledComponent.displayName = Component.displayName || Component.name;
27
+ return StyledComponent;
28
+ };
29
+ function withPropsProvider() {
30
+ return PropsProvider;
31
+ }
32
+ return {
33
+ PropsProvider,
34
+ useProps,
35
+ withContext,
36
+ withPropsProvider
37
+ };
38
+ }
39
+
40
+ exports.createRecipeContext = createRecipeContext;
@@ -0,0 +1,16 @@
1
+ type Recipe<Props extends Record<string, string | boolean | undefined>> = ((props?: Props) => string) & {
2
+ splitVariantProps: <T extends Props>(props: T) => [Props, Omit<T, keyof Props>];
3
+ };
4
+ export declare function createRecipeContext<Props extends Record<string, string | boolean | undefined>>(recipe: Recipe<Props>): {
5
+ PropsProvider: ({ children, value }: {
6
+ children: React.ReactNode;
7
+ value: Props;
8
+ }) => import("react/jsx-runtime").JSX.Element;
9
+ useProps: () => Props | null;
10
+ withContext: <T, P>(Component: React.ElementType<any>, options?: {
11
+ defaultProps?: Partial<P>;
12
+ }) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
13
+ withPropsProvider: <P>() => React.Provider<Partial<P>>;
14
+ };
15
+ export {};
16
+ //# sourceMappingURL=createRecipeContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRecipeContext.d.ts","sourceRoot":"","sources":["../../src/utils/createRecipeContext.tsx"],"names":[],"mappings":"AAGA,KAAK,MAAM,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC,CACzE,KAAK,CAAC,EAAE,KAAK,KACV,MAAM,CAAC,GAAG;IACb,iBAAiB,EAAE,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,CAAC,CAAC;CACjF,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAC5F,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC;yCAIuB;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,KAAK,EAAE,KAAK,CAAA;KAAE;;kBAQlE,CAAC,EAAE,CAAC,aACZ,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,YACvB;QACR,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;KAC3B,KACA,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;wBAgB1D,CAAC,OAAK,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;EAU5D"}
@@ -0,0 +1,36 @@
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import clsx from 'clsx';
4
+ import { createContext, forwardRef, useContext } from 'react';
5
+
6
+ function createRecipeContext(recipe) {
7
+ const PropsContext = createContext(null);
8
+ const PropsProvider = ({ children, value }) => {
9
+ return /* @__PURE__ */ jsx(PropsContext.Provider, { value, children });
10
+ };
11
+ function useProps() {
12
+ return useContext(PropsContext);
13
+ }
14
+ const withContext = (Component, options) => {
15
+ const { defaultProps } = options ?? {};
16
+ const StyledComponent = forwardRef((innerProps, ref) => {
17
+ const props = { ...defaultProps ?? {}, ...useProps(), ...innerProps };
18
+ const [variantProps, otherProps] = recipe.splitVariantProps(props);
19
+ const className = recipe(variantProps);
20
+ return /* @__PURE__ */ jsx(Component, { ref, ...otherProps, className: clsx(className, props.className) });
21
+ });
22
+ StyledComponent.displayName = Component.displayName || Component.name;
23
+ return StyledComponent;
24
+ };
25
+ function withPropsProvider() {
26
+ return PropsProvider;
27
+ }
28
+ return {
29
+ PropsProvider,
30
+ useProps,
31
+ withContext,
32
+ withPropsProvider
33
+ };
34
+ }
35
+
36
+ export { createRecipeContext };
@@ -0,0 +1,77 @@
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 clsx = require('clsx');
8
+ const React = require('react');
9
+
10
+ function createSlotRecipeContext(recipe) {
11
+ const ClassNamesContext = React.createContext(null);
12
+ const PropsContext = React.createContext(null);
13
+ const ClassNamesProvider = ({
14
+ children,
15
+ value
16
+ }) => {
17
+ return /* @__PURE__ */ jsxRuntime.jsx(ClassNamesContext.Provider, { value, children });
18
+ };
19
+ const PropsProvider = ({ children, value }) => {
20
+ return /* @__PURE__ */ jsxRuntime.jsx(PropsContext.Provider, { value, children });
21
+ };
22
+ function useClassNames() {
23
+ const context = React.useContext(ClassNamesContext);
24
+ if (context === null) {
25
+ throw new Error(
26
+ "useClassNames must be used within a ClassNamesProvider. Did you forget to wrap your component in a ClassNamesProvider?"
27
+ );
28
+ }
29
+ return context;
30
+ }
31
+ function useProps() {
32
+ return React.useContext(PropsContext);
33
+ }
34
+ const withRootProvider = (Component, options) => {
35
+ const { defaultProps } = options ?? {};
36
+ const StyledComponent = (innerProps) => {
37
+ const props = { ...defaultProps ?? {}, ...useProps(), ...innerProps };
38
+ const [variantProps, otherProps] = recipe.splitVariantProps(props);
39
+ const classNames = recipe(variantProps);
40
+ return /* @__PURE__ */ jsxRuntime.jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsxRuntime.jsx(Component, { ...otherProps }) });
41
+ };
42
+ StyledComponent.displayName = Component.displayName || Component.name;
43
+ return StyledComponent;
44
+ };
45
+ const withProvider = (Component, slot, options) => {
46
+ const { defaultProps } = options ?? {};
47
+ const StyledComponent = React.forwardRef((innerProps, ref) => {
48
+ const props = { ...defaultProps ?? {}, ...useProps(), ...innerProps };
49
+ const [variantProps, otherProps] = recipe.splitVariantProps(props);
50
+ const classNames = recipe(variantProps);
51
+ const className = classNames[slot];
52
+ return /* @__PURE__ */ jsxRuntime.jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsxRuntime.jsx(Component, { ref, ...otherProps, className: clsx(className, props.className) }) });
53
+ });
54
+ StyledComponent.displayName = Component.displayName || Component.name;
55
+ return StyledComponent;
56
+ };
57
+ const withContext = (Component, slot) => {
58
+ const StyledComponent = React.forwardRef((props, ref) => {
59
+ const classNames = useClassNames();
60
+ const className = classNames?.[slot];
61
+ return /* @__PURE__ */ jsxRuntime.jsx(Component, { ref, ...props, className: clsx(className, props.className) });
62
+ });
63
+ StyledComponent.displayName = Component.displayName || Component.name;
64
+ return StyledComponent;
65
+ };
66
+ return {
67
+ ClassNamesProvider,
68
+ PropsProvider,
69
+ useClassNames,
70
+ useProps,
71
+ withRootProvider,
72
+ withProvider,
73
+ withContext
74
+ };
75
+ }
76
+
77
+ exports.createSlotRecipeContext = createSlotRecipeContext;
@@ -0,0 +1,24 @@
1
+ type SlotRecipe<Props extends Record<string, string | boolean | undefined>, Classnames extends Record<string, string>> = ((props?: Props) => Classnames) & {
2
+ splitVariantProps: <T extends Props>(props: T) => [Props, Omit<T, keyof Props>];
3
+ };
4
+ export declare function createSlotRecipeContext<Props extends Record<string, string | boolean | undefined>, Classnames extends Record<string, string>>(recipe: SlotRecipe<Props, Classnames>): {
5
+ ClassNamesProvider: ({ children, value, }: {
6
+ children: React.ReactNode;
7
+ value: Classnames;
8
+ }) => import("react/jsx-runtime").JSX.Element;
9
+ PropsProvider: ({ children, value }: {
10
+ children: React.ReactNode;
11
+ value: Props;
12
+ }) => import("react/jsx-runtime").JSX.Element;
13
+ useClassNames: () => Classnames;
14
+ useProps: () => Props | null;
15
+ withRootProvider: <P>(Component: React.ElementType<any>, options?: {
16
+ defaultProps?: Partial<P>;
17
+ }) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P>>;
18
+ withProvider: <T, P>(Component: React.ElementType<any>, slot: keyof Classnames, options?: {
19
+ defaultProps?: Partial<P>;
20
+ }) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
21
+ withContext: <T, P>(Component: React.ElementType<any>, slot?: keyof Classnames) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
22
+ };
23
+ export {};
24
+ //# sourceMappingURL=createSlotRecipeContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSlotRecipeContext.d.ts","sourceRoot":"","sources":["../../src/utils/createSlotRecipeContext.tsx"],"names":[],"mappings":"AAGA,KAAK,UAAU,CACb,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAC1D,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IACvC,CAAC,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,UAAU,CAAC,GAAG;IACpC,iBAAiB,EAAE,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,CAAC,CAAC;CACjF,CAAC;AAEF,wBAAgB,uBAAuB,CACrC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAC1D,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACzC,MAAM,EAAE,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC;+CAOlC;QACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,KAAK,EAAE,UAAU,CAAC;KACnB;yCAI2C;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,KAAK,EAAE,KAAK,CAAA;KAAE;;;uBAmB7D,CAAC,aACd,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,YACvB;QACR,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;KAC3B,KACA,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;mBAsBtC,CAAC,EAAE,CAAC,aACb,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,QAC3B,MAAM,UAAU,YACZ;QACR,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;KAC3B,KACA,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;kBAuBhE,CAAC,EAAE,CAAC,aACZ,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,SAC1B,MAAM,UAAU,KACtB,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;EAsBtF"}
@@ -0,0 +1,73 @@
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import clsx from 'clsx';
4
+ import { createContext, forwardRef, useContext } from 'react';
5
+
6
+ function createSlotRecipeContext(recipe) {
7
+ const ClassNamesContext = createContext(null);
8
+ const PropsContext = createContext(null);
9
+ const ClassNamesProvider = ({
10
+ children,
11
+ value
12
+ }) => {
13
+ return /* @__PURE__ */ jsx(ClassNamesContext.Provider, { value, children });
14
+ };
15
+ const PropsProvider = ({ children, value }) => {
16
+ return /* @__PURE__ */ jsx(PropsContext.Provider, { value, children });
17
+ };
18
+ function useClassNames() {
19
+ const context = useContext(ClassNamesContext);
20
+ if (context === null) {
21
+ throw new Error(
22
+ "useClassNames must be used within a ClassNamesProvider. Did you forget to wrap your component in a ClassNamesProvider?"
23
+ );
24
+ }
25
+ return context;
26
+ }
27
+ function useProps() {
28
+ return useContext(PropsContext);
29
+ }
30
+ const withRootProvider = (Component, options) => {
31
+ const { defaultProps } = options ?? {};
32
+ const StyledComponent = (innerProps) => {
33
+ const props = { ...defaultProps ?? {}, ...useProps(), ...innerProps };
34
+ const [variantProps, otherProps] = recipe.splitVariantProps(props);
35
+ const classNames = recipe(variantProps);
36
+ return /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(Component, { ...otherProps }) });
37
+ };
38
+ StyledComponent.displayName = Component.displayName || Component.name;
39
+ return StyledComponent;
40
+ };
41
+ const withProvider = (Component, slot, options) => {
42
+ const { defaultProps } = options ?? {};
43
+ const StyledComponent = forwardRef((innerProps, ref) => {
44
+ const props = { ...defaultProps ?? {}, ...useProps(), ...innerProps };
45
+ const [variantProps, otherProps] = recipe.splitVariantProps(props);
46
+ const classNames = recipe(variantProps);
47
+ const className = classNames[slot];
48
+ return /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(Component, { ref, ...otherProps, className: clsx(className, props.className) }) });
49
+ });
50
+ StyledComponent.displayName = Component.displayName || Component.name;
51
+ return StyledComponent;
52
+ };
53
+ const withContext = (Component, slot) => {
54
+ const StyledComponent = forwardRef((props, ref) => {
55
+ const classNames = useClassNames();
56
+ const className = classNames?.[slot];
57
+ return /* @__PURE__ */ jsx(Component, { ref, ...props, className: clsx(className, props.className) });
58
+ });
59
+ StyledComponent.displayName = Component.displayName || Component.name;
60
+ return StyledComponent;
61
+ };
62
+ return {
63
+ ClassNamesProvider,
64
+ PropsProvider,
65
+ useClassNames,
66
+ useProps,
67
+ withRootProvider,
68
+ withProvider,
69
+ withContext
70
+ };
71
+ }
72
+
73
+ export { createSlotRecipeContext };
@@ -0,0 +1,28 @@
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
+ function createWithStateProps(useContexts) {
10
+ return function withStateProps(Component) {
11
+ const Node = React.forwardRef((props, ref) => {
12
+ const stateProps = {};
13
+ for (const contextConfig of useContexts) {
14
+ if (typeof contextConfig === "function") {
15
+ Object.assign(stateProps, contextConfig({ strict: true })?.stateProps);
16
+ } else {
17
+ const { useContext, strict = false } = contextConfig;
18
+ Object.assign(stateProps, useContext({ strict })?.stateProps);
19
+ }
20
+ }
21
+ return /* @__PURE__ */ jsxRuntime.jsx(Component, { ref, ...stateProps, ...props });
22
+ });
23
+ Node.displayName = Component.displayName || Component.name;
24
+ return Node;
25
+ };
26
+ }
27
+
28
+ exports.createWithStateProps = createWithStateProps;