@mindlogic-ai/logician-ui 4.0.0-alpha.9 → 4.0.0

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 (1256) hide show
  1. package/USAGE.md +17 -0
  2. package/dist/components/Appear/Appear.d.ts +45 -0
  3. package/dist/components/Appear/Appear.d.ts.map +1 -0
  4. package/dist/components/Appear/Appear.js +61 -0
  5. package/dist/components/Appear/Appear.js.map +1 -0
  6. package/dist/components/Appear/Appear.mjs +59 -0
  7. package/dist/components/Appear/Appear.mjs.map +1 -0
  8. package/dist/components/Appear/Appear.styles.d.ts +18 -0
  9. package/dist/components/Appear/Appear.styles.d.ts.map +1 -0
  10. package/dist/components/Appear/Appear.styles.js +32 -0
  11. package/dist/components/Appear/Appear.styles.js.map +1 -0
  12. package/dist/components/Appear/Appear.styles.mjs +30 -0
  13. package/dist/components/Appear/Appear.styles.mjs.map +1 -0
  14. package/dist/components/Appear/Appear.types.d.ts +18 -0
  15. package/dist/components/Appear/Appear.types.d.ts.map +1 -0
  16. package/dist/components/Appear/index.d.ts +3 -0
  17. package/dist/components/Appear/index.d.ts.map +1 -0
  18. package/dist/components/Badge/Badge.d.ts +2 -15
  19. package/dist/components/Badge/Badge.d.ts.map +1 -1
  20. package/dist/components/Badge/Badge.js +5 -2
  21. package/dist/components/Badge/Badge.js.map +1 -1
  22. package/dist/components/Badge/Badge.mjs +5 -2
  23. package/dist/components/Badge/Badge.mjs.map +1 -1
  24. package/dist/components/Badge/Badge.types.d.ts +15 -2
  25. package/dist/components/Badge/Badge.types.d.ts.map +1 -1
  26. package/dist/components/Badge/index.d.ts +1 -1
  27. package/dist/components/Badge/index.d.ts.map +1 -1
  28. package/dist/components/Banner/Banner.js +2 -1
  29. package/dist/components/Banner/Banner.js.map +1 -1
  30. package/dist/components/Banner/Banner.mjs +2 -1
  31. package/dist/components/Banner/Banner.mjs.map +1 -1
  32. package/dist/components/BottomSheet/BottomSheet.d.ts +28 -0
  33. package/dist/components/BottomSheet/BottomSheet.d.ts.map +1 -0
  34. package/dist/components/BottomSheet/BottomSheet.js +38 -0
  35. package/dist/components/BottomSheet/BottomSheet.js.map +1 -0
  36. package/dist/components/BottomSheet/BottomSheet.mjs +36 -0
  37. package/dist/components/BottomSheet/BottomSheet.mjs.map +1 -0
  38. package/dist/components/BottomSheet/BottomSheet.styles.d.ts +32 -0
  39. package/dist/components/BottomSheet/BottomSheet.styles.d.ts.map +1 -0
  40. package/dist/components/BottomSheet/BottomSheet.styles.js +164 -0
  41. package/dist/components/BottomSheet/BottomSheet.styles.js.map +1 -0
  42. package/dist/components/BottomSheet/BottomSheet.styles.mjs +161 -0
  43. package/dist/components/BottomSheet/BottomSheet.styles.mjs.map +1 -0
  44. package/dist/components/BottomSheet/BottomSheet.types.d.ts +43 -0
  45. package/dist/components/BottomSheet/BottomSheet.types.d.ts.map +1 -0
  46. package/dist/components/BottomSheet/BottomSheetBody.d.ts +8 -0
  47. package/dist/components/BottomSheet/BottomSheetBody.d.ts.map +1 -0
  48. package/dist/components/BottomSheet/BottomSheetBody.js +17 -0
  49. package/dist/components/BottomSheet/BottomSheetBody.js.map +1 -0
  50. package/dist/components/BottomSheet/BottomSheetBody.mjs +15 -0
  51. package/dist/components/BottomSheet/BottomSheetBody.mjs.map +1 -0
  52. package/dist/components/BottomSheet/BottomSheetCloseButton.d.ts +11 -0
  53. package/dist/components/BottomSheet/BottomSheetCloseButton.d.ts.map +1 -0
  54. package/dist/components/BottomSheet/BottomSheetCloseButton.js +27 -0
  55. package/dist/components/BottomSheet/BottomSheetCloseButton.js.map +1 -0
  56. package/dist/components/BottomSheet/BottomSheetCloseButton.mjs +25 -0
  57. package/dist/components/BottomSheet/BottomSheetCloseButton.mjs.map +1 -0
  58. package/dist/components/BottomSheet/BottomSheetContent.d.ts +12 -0
  59. package/dist/components/BottomSheet/BottomSheetContent.d.ts.map +1 -0
  60. package/dist/components/BottomSheet/BottomSheetContent.js +25 -0
  61. package/dist/components/BottomSheet/BottomSheetContent.js.map +1 -0
  62. package/dist/components/BottomSheet/BottomSheetContent.mjs +23 -0
  63. package/dist/components/BottomSheet/BottomSheetContent.mjs.map +1 -0
  64. package/dist/components/BottomSheet/BottomSheetContext.d.ts +28 -0
  65. package/dist/components/BottomSheet/BottomSheetContext.d.ts.map +1 -0
  66. package/dist/components/BottomSheet/BottomSheetContext.js +53 -0
  67. package/dist/components/BottomSheet/BottomSheetContext.js.map +1 -0
  68. package/dist/components/BottomSheet/BottomSheetContext.mjs +40 -0
  69. package/dist/components/BottomSheet/BottomSheetContext.mjs.map +1 -0
  70. package/dist/components/BottomSheet/BottomSheetFooter.d.ts +4 -0
  71. package/dist/components/BottomSheet/BottomSheetFooter.d.ts.map +1 -0
  72. package/dist/components/BottomSheet/BottomSheetFooter.js +13 -0
  73. package/dist/components/BottomSheet/BottomSheetFooter.js.map +1 -0
  74. package/dist/components/BottomSheet/BottomSheetFooter.mjs +11 -0
  75. package/dist/components/BottomSheet/BottomSheetFooter.mjs.map +1 -0
  76. package/dist/components/BottomSheet/BottomSheetHeader.d.ts +8 -0
  77. package/dist/components/BottomSheet/BottomSheetHeader.d.ts.map +1 -0
  78. package/dist/components/BottomSheet/BottomSheetHeader.js +19 -0
  79. package/dist/components/BottomSheet/BottomSheetHeader.js.map +1 -0
  80. package/dist/components/BottomSheet/BottomSheetHeader.mjs +17 -0
  81. package/dist/components/BottomSheet/BottomSheetHeader.mjs.map +1 -0
  82. package/dist/components/BottomSheet/BottomSheetOverlay.d.ts +8 -0
  83. package/dist/components/BottomSheet/BottomSheetOverlay.d.ts.map +1 -0
  84. package/dist/components/BottomSheet/BottomSheetOverlay.js +17 -0
  85. package/dist/components/BottomSheet/BottomSheetOverlay.js.map +1 -0
  86. package/dist/components/BottomSheet/BottomSheetOverlay.mjs +15 -0
  87. package/dist/components/BottomSheet/BottomSheetOverlay.mjs.map +1 -0
  88. package/dist/components/BottomSheet/index.d.ts +11 -0
  89. package/dist/components/BottomSheet/index.d.ts.map +1 -0
  90. package/dist/components/Button/Button.d.ts +2 -18
  91. package/dist/components/Button/Button.d.ts.map +1 -1
  92. package/dist/components/Button/Button.js +66 -4
  93. package/dist/components/Button/Button.js.map +1 -1
  94. package/dist/components/Button/Button.mjs +67 -5
  95. package/dist/components/Button/Button.mjs.map +1 -1
  96. package/dist/components/Button/Button.styles.d.ts +1 -0
  97. package/dist/components/Button/Button.styles.d.ts.map +1 -1
  98. package/dist/components/Button/Button.styles.js +123 -42
  99. package/dist/components/Button/Button.styles.js.map +1 -1
  100. package/dist/components/Button/Button.styles.mjs +123 -43
  101. package/dist/components/Button/Button.styles.mjs.map +1 -1
  102. package/dist/components/Button/Button.types.d.ts +38 -1
  103. package/dist/components/Button/Button.types.d.ts.map +1 -1
  104. package/dist/components/Button/index.d.ts +1 -1
  105. package/dist/components/Button/index.d.ts.map +1 -1
  106. package/dist/components/Card/Card.d.ts +2 -5
  107. package/dist/components/Card/Card.d.ts.map +1 -1
  108. package/dist/components/Card/Card.js +12 -4
  109. package/dist/components/Card/Card.js.map +1 -1
  110. package/dist/components/Card/Card.mjs +12 -4
  111. package/dist/components/Card/Card.mjs.map +1 -1
  112. package/dist/components/Card/Card.styles.d.ts +26 -3
  113. package/dist/components/Card/Card.styles.d.ts.map +1 -1
  114. package/dist/components/Card/Card.styles.js +36 -5
  115. package/dist/components/Card/Card.styles.js.map +1 -1
  116. package/dist/components/Card/Card.styles.mjs +36 -5
  117. package/dist/components/Card/Card.styles.mjs.map +1 -1
  118. package/dist/components/Card/Card.types.d.ts +20 -2
  119. package/dist/components/Card/Card.types.d.ts.map +1 -1
  120. package/dist/components/Card/index.d.ts +1 -1
  121. package/dist/components/Card/index.d.ts.map +1 -1
  122. package/dist/components/Checkbox/Checkbox.styles.d.ts +16 -0
  123. package/dist/components/Checkbox/Checkbox.styles.d.ts.map +1 -0
  124. package/dist/components/Checkbox/Checkbox.styles.js +30 -0
  125. package/dist/components/Checkbox/Checkbox.styles.js.map +1 -0
  126. package/dist/components/Checkbox/Checkbox.styles.mjs +28 -0
  127. package/dist/components/Checkbox/Checkbox.styles.mjs.map +1 -0
  128. package/dist/components/Checkbox/CheckboxControl.d.ts.map +1 -1
  129. package/dist/components/Checkbox/CheckboxControl.js +6 -1
  130. package/dist/components/Checkbox/CheckboxControl.js.map +1 -1
  131. package/dist/components/Checkbox/CheckboxControl.mjs +6 -1
  132. package/dist/components/Checkbox/CheckboxControl.mjs.map +1 -1
  133. package/dist/components/Chip/Chip.d.ts +3 -16
  134. package/dist/components/Chip/Chip.d.ts.map +1 -1
  135. package/dist/components/Chip/Chip.js +5 -2
  136. package/dist/components/Chip/Chip.js.map +1 -1
  137. package/dist/components/Chip/Chip.mjs +5 -2
  138. package/dist/components/Chip/Chip.mjs.map +1 -1
  139. package/dist/components/Chip/Chip.types.d.ts +11 -2
  140. package/dist/components/Chip/Chip.types.d.ts.map +1 -1
  141. package/dist/components/Chip/index.d.ts +1 -1
  142. package/dist/components/Chip/index.d.ts.map +1 -1
  143. package/dist/components/CodeTabs/CodeTabs.js +1 -0
  144. package/dist/components/CodeTabs/CodeTabs.js.map +1 -1
  145. package/dist/components/CodeTabs/CodeTabs.mjs +1 -0
  146. package/dist/components/CodeTabs/CodeTabs.mjs.map +1 -1
  147. package/dist/components/Collapsible/CollapsibleContent.d.ts.map +1 -1
  148. package/dist/components/Collapsible/CollapsibleContent.js +5 -1
  149. package/dist/components/Collapsible/CollapsibleContent.js.map +1 -1
  150. package/dist/components/Collapsible/CollapsibleContent.mjs +5 -1
  151. package/dist/components/Collapsible/CollapsibleContent.mjs.map +1 -1
  152. package/dist/components/ColorMode/ColorModeToggle.d.ts.map +1 -1
  153. package/dist/components/ColorMode/ColorModeToggle.js +4 -2
  154. package/dist/components/ColorMode/ColorModeToggle.js.map +1 -1
  155. package/dist/components/ColorMode/ColorModeToggle.mjs +5 -3
  156. package/dist/components/ColorMode/ColorModeToggle.mjs.map +1 -1
  157. package/dist/components/Confetti/Confetti.d.ts +50 -0
  158. package/dist/components/Confetti/Confetti.d.ts.map +1 -0
  159. package/dist/components/Confetti/Confetti.js +149 -0
  160. package/dist/components/Confetti/Confetti.js.map +1 -0
  161. package/dist/components/Confetti/Confetti.mjs +147 -0
  162. package/dist/components/Confetti/Confetti.mjs.map +1 -0
  163. package/dist/components/Confetti/Confetti.styles.d.ts +32 -0
  164. package/dist/components/Confetti/Confetti.styles.d.ts.map +1 -0
  165. package/dist/components/Confetti/Confetti.styles.js +60 -0
  166. package/dist/components/Confetti/Confetti.styles.js.map +1 -0
  167. package/dist/components/Confetti/Confetti.styles.mjs +58 -0
  168. package/dist/components/Confetti/Confetti.styles.mjs.map +1 -0
  169. package/dist/components/Confetti/Confetti.types.d.ts +13 -0
  170. package/dist/components/Confetti/Confetti.types.d.ts.map +1 -0
  171. package/dist/components/Confetti/index.d.ts +3 -0
  172. package/dist/components/Confetti/index.d.ts.map +1 -0
  173. package/dist/components/Container/Container.d.ts +3 -4
  174. package/dist/components/Container/Container.d.ts.map +1 -1
  175. package/dist/components/Container/Container.js +5 -1
  176. package/dist/components/Container/Container.js.map +1 -1
  177. package/dist/components/Container/Container.mjs +5 -1
  178. package/dist/components/Container/Container.mjs.map +1 -1
  179. package/dist/components/Container/Container.types.d.ts +16 -0
  180. package/dist/components/Container/Container.types.d.ts.map +1 -0
  181. package/dist/components/Container/index.d.ts +1 -0
  182. package/dist/components/Container/index.d.ts.map +1 -1
  183. package/dist/components/CopyableCode/CopyableCode.d.ts +6 -0
  184. package/dist/components/CopyableCode/CopyableCode.d.ts.map +1 -1
  185. package/dist/components/CopyableCode/CopyableCode.js +49 -1
  186. package/dist/components/CopyableCode/CopyableCode.js.map +1 -1
  187. package/dist/components/CopyableCode/CopyableCode.mjs +50 -2
  188. package/dist/components/CopyableCode/CopyableCode.mjs.map +1 -1
  189. package/dist/components/CountUp/CountUp.d.ts +30 -0
  190. package/dist/components/CountUp/CountUp.d.ts.map +1 -0
  191. package/dist/components/CountUp/CountUp.js +95 -0
  192. package/dist/components/CountUp/CountUp.js.map +1 -0
  193. package/dist/components/CountUp/CountUp.mjs +93 -0
  194. package/dist/components/CountUp/CountUp.mjs.map +1 -0
  195. package/dist/components/CountUp/CountUp.types.d.ts +19 -0
  196. package/dist/components/CountUp/CountUp.types.d.ts.map +1 -0
  197. package/dist/components/CountUp/index.d.ts +3 -0
  198. package/dist/components/CountUp/index.d.ts.map +1 -0
  199. package/dist/components/ErrorFallback/ErrorFallback.d.ts.map +1 -1
  200. package/dist/components/ErrorFallback/ErrorFallback.js +17 -2
  201. package/dist/components/ErrorFallback/ErrorFallback.js.map +1 -1
  202. package/dist/components/ErrorFallback/ErrorFallback.mjs +17 -2
  203. package/dist/components/ErrorFallback/ErrorFallback.mjs.map +1 -1
  204. package/dist/components/ExpandableText/ExpandableText.d.ts +31 -10
  205. package/dist/components/ExpandableText/ExpandableText.d.ts.map +1 -1
  206. package/dist/components/ExpandableText/ExpandableText.js +22 -3
  207. package/dist/components/ExpandableText/ExpandableText.js.map +1 -1
  208. package/dist/components/ExpandableText/ExpandableText.mjs +22 -3
  209. package/dist/components/ExpandableText/ExpandableText.mjs.map +1 -1
  210. package/dist/components/ExpandableText/useExpandableText.d.ts +28 -3
  211. package/dist/components/ExpandableText/useExpandableText.d.ts.map +1 -1
  212. package/dist/components/ExpandableText/useExpandableText.js +74 -72
  213. package/dist/components/ExpandableText/useExpandableText.js.map +1 -1
  214. package/dist/components/ExpandableText/useExpandableText.mjs +75 -73
  215. package/dist/components/ExpandableText/useExpandableText.mjs.map +1 -1
  216. package/dist/components/FileInput/FileInput.d.ts.map +1 -1
  217. package/dist/components/FileInput/FileInput.js +11 -1
  218. package/dist/components/FileInput/FileInput.js.map +1 -1
  219. package/dist/components/FileInput/FileInput.mjs +12 -2
  220. package/dist/components/FileInput/FileInput.mjs.map +1 -1
  221. package/dist/components/FileItem/FileItem.js +2 -1
  222. package/dist/components/FileItem/FileItem.js.map +1 -1
  223. package/dist/components/FileItem/FileItem.mjs +3 -2
  224. package/dist/components/FileItem/FileItem.mjs.map +1 -1
  225. package/dist/components/FileList/FileList.d.ts +1 -1
  226. package/dist/components/FileList/FileList.d.ts.map +1 -1
  227. package/dist/components/FileList/FileList.js +11 -3
  228. package/dist/components/FileList/FileList.js.map +1 -1
  229. package/dist/components/FileList/FileList.mjs +12 -4
  230. package/dist/components/FileList/FileList.mjs.map +1 -1
  231. package/dist/components/FileList/FileList.types.d.ts +9 -0
  232. package/dist/components/FileList/FileList.types.d.ts.map +1 -1
  233. package/dist/components/FlyTo/FlyTo.d.ts +35 -0
  234. package/dist/components/FlyTo/FlyTo.d.ts.map +1 -0
  235. package/dist/components/FlyTo/FlyTo.js +69 -0
  236. package/dist/components/FlyTo/FlyTo.js.map +1 -0
  237. package/dist/components/FlyTo/FlyTo.mjs +67 -0
  238. package/dist/components/FlyTo/FlyTo.mjs.map +1 -0
  239. package/dist/components/FlyTo/FlyTo.styles.d.ts +19 -0
  240. package/dist/components/FlyTo/FlyTo.styles.d.ts.map +1 -0
  241. package/dist/components/FlyTo/FlyTo.styles.js +35 -0
  242. package/dist/components/FlyTo/FlyTo.styles.js.map +1 -0
  243. package/dist/components/FlyTo/FlyTo.styles.mjs +33 -0
  244. package/dist/components/FlyTo/FlyTo.styles.mjs.map +1 -0
  245. package/dist/components/FlyTo/FlyTo.types.d.ts +15 -0
  246. package/dist/components/FlyTo/FlyTo.types.d.ts.map +1 -0
  247. package/dist/components/FlyTo/index.d.ts +3 -0
  248. package/dist/components/FlyTo/index.d.ts.map +1 -0
  249. package/dist/components/Form/FieldError/FieldError.d.ts +15 -0
  250. package/dist/components/Form/FieldError/FieldError.d.ts.map +1 -0
  251. package/dist/components/Form/FieldError/FieldError.js +22 -0
  252. package/dist/components/Form/FieldError/FieldError.js.map +1 -0
  253. package/dist/components/Form/FieldError/FieldError.mjs +20 -0
  254. package/dist/components/Form/FieldError/FieldError.mjs.map +1 -0
  255. package/dist/components/Form/FieldError/index.d.ts +3 -0
  256. package/dist/components/Form/FieldError/index.d.ts.map +1 -0
  257. package/dist/components/Form/FieldHelp/FieldHelp.d.ts +14 -0
  258. package/dist/components/Form/FieldHelp/FieldHelp.d.ts.map +1 -0
  259. package/dist/components/Form/FieldHelp/FieldHelp.js +19 -0
  260. package/dist/components/Form/FieldHelp/FieldHelp.js.map +1 -0
  261. package/dist/components/Form/FieldHelp/FieldHelp.mjs +17 -0
  262. package/dist/components/Form/FieldHelp/FieldHelp.mjs.map +1 -0
  263. package/dist/components/Form/FieldHelp/index.d.ts +3 -0
  264. package/dist/components/Form/FieldHelp/index.d.ts.map +1 -0
  265. package/dist/components/Form/FieldLabel/FieldLabel.d.ts +12 -0
  266. package/dist/components/Form/FieldLabel/FieldLabel.d.ts.map +1 -0
  267. package/dist/components/Form/FieldLabel/FieldLabel.js +33 -0
  268. package/dist/components/Form/FieldLabel/FieldLabel.js.map +1 -0
  269. package/dist/components/Form/FieldLabel/FieldLabel.mjs +31 -0
  270. package/dist/components/Form/FieldLabel/FieldLabel.mjs.map +1 -0
  271. package/dist/components/Form/FieldLabel/FieldLabel.types.d.ts +21 -0
  272. package/dist/components/Form/FieldLabel/FieldLabel.types.d.ts.map +1 -0
  273. package/dist/components/Form/FieldLabel/index.d.ts +3 -0
  274. package/dist/components/Form/FieldLabel/index.d.ts.map +1 -0
  275. package/dist/components/Form/FieldRow/FieldRow.d.ts +15 -0
  276. package/dist/components/Form/FieldRow/FieldRow.d.ts.map +1 -0
  277. package/dist/components/Form/FieldRow/FieldRow.js +27 -0
  278. package/dist/components/Form/FieldRow/FieldRow.js.map +1 -0
  279. package/dist/components/Form/FieldRow/FieldRow.mjs +25 -0
  280. package/dist/components/Form/FieldRow/FieldRow.mjs.map +1 -0
  281. package/dist/components/Form/FieldRow/FieldRow.types.d.ts +27 -0
  282. package/dist/components/Form/FieldRow/FieldRow.types.d.ts.map +1 -0
  283. package/dist/components/Form/FieldRow/index.d.ts +3 -0
  284. package/dist/components/Form/FieldRow/index.d.ts.map +1 -0
  285. package/dist/components/Form/FormFooter/FormFooter.d.ts +11 -0
  286. package/dist/components/Form/FormFooter/FormFooter.d.ts.map +1 -0
  287. package/dist/components/Form/FormFooter/FormFooter.js +20 -0
  288. package/dist/components/Form/FormFooter/FormFooter.js.map +1 -0
  289. package/dist/components/Form/FormFooter/FormFooter.mjs +18 -0
  290. package/dist/components/Form/FormFooter/FormFooter.mjs.map +1 -0
  291. package/dist/components/Form/FormFooter/FormFooter.types.d.ts +23 -0
  292. package/dist/components/Form/FormFooter/FormFooter.types.d.ts.map +1 -0
  293. package/dist/components/Form/FormFooter/index.d.ts +3 -0
  294. package/dist/components/Form/FormFooter/index.d.ts.map +1 -0
  295. package/dist/components/Form/FormModalFooter/FormModalFooter.d.ts +19 -0
  296. package/dist/components/Form/FormModalFooter/FormModalFooter.d.ts.map +1 -0
  297. package/dist/components/Form/FormModalFooter/FormModalFooter.js +42 -0
  298. package/dist/components/Form/FormModalFooter/FormModalFooter.js.map +1 -0
  299. package/dist/components/Form/FormModalFooter/FormModalFooter.mjs +40 -0
  300. package/dist/components/Form/FormModalFooter/FormModalFooter.mjs.map +1 -0
  301. package/dist/components/Form/FormModalFooter/FormModalFooter.types.d.ts +49 -0
  302. package/dist/components/Form/FormModalFooter/FormModalFooter.types.d.ts.map +1 -0
  303. package/dist/components/Form/FormModalFooter/index.d.ts +3 -0
  304. package/dist/components/Form/FormModalFooter/index.d.ts.map +1 -0
  305. package/dist/components/Form/FormScrollArea/FormScrollArea.d.ts +14 -0
  306. package/dist/components/Form/FormScrollArea/FormScrollArea.d.ts.map +1 -0
  307. package/dist/components/Form/FormScrollArea/FormScrollArea.js +18 -0
  308. package/dist/components/Form/FormScrollArea/FormScrollArea.js.map +1 -0
  309. package/dist/components/Form/FormScrollArea/FormScrollArea.mjs +16 -0
  310. package/dist/components/Form/FormScrollArea/FormScrollArea.mjs.map +1 -0
  311. package/dist/components/Form/FormScrollArea/index.d.ts +2 -0
  312. package/dist/components/Form/FormScrollArea/index.d.ts.map +1 -0
  313. package/dist/components/Form/FormSection/CollapsibleFormSection.d.ts +10 -0
  314. package/dist/components/Form/FormSection/CollapsibleFormSection.d.ts.map +1 -0
  315. package/dist/components/Form/FormSection/CollapsibleFormSection.js +46 -0
  316. package/dist/components/Form/FormSection/CollapsibleFormSection.js.map +1 -0
  317. package/dist/components/Form/FormSection/CollapsibleFormSection.mjs +44 -0
  318. package/dist/components/Form/FormSection/CollapsibleFormSection.mjs.map +1 -0
  319. package/dist/components/Form/FormSection/FlatFormSection.d.ts +6 -0
  320. package/dist/components/Form/FormSection/FlatFormSection.d.ts.map +1 -0
  321. package/dist/components/Form/FormSection/FlatFormSection.js +12 -0
  322. package/dist/components/Form/FormSection/FlatFormSection.js.map +1 -0
  323. package/dist/components/Form/FormSection/FlatFormSection.mjs +10 -0
  324. package/dist/components/Form/FormSection/FlatFormSection.mjs.map +1 -0
  325. package/dist/components/Form/FormSection/FormSection.d.ts +13 -0
  326. package/dist/components/Form/FormSection/FormSection.d.ts.map +1 -0
  327. package/dist/components/Form/FormSection/FormSection.js +21 -0
  328. package/dist/components/Form/FormSection/FormSection.js.map +1 -0
  329. package/dist/components/Form/FormSection/FormSection.mjs +19 -0
  330. package/dist/components/Form/FormSection/FormSection.mjs.map +1 -0
  331. package/dist/components/Form/FormSection/FormSection.types.d.ts +34 -0
  332. package/dist/components/Form/FormSection/FormSection.types.d.ts.map +1 -0
  333. package/dist/components/Form/FormSection/index.d.ts +3 -0
  334. package/dist/components/Form/FormSection/index.d.ts.map +1 -0
  335. package/dist/components/Form/FormSectionHeader/FormSectionHeader.d.ts +13 -0
  336. package/dist/components/Form/FormSectionHeader/FormSectionHeader.d.ts.map +1 -0
  337. package/dist/components/Form/FormSectionHeader/FormSectionHeader.js +31 -0
  338. package/dist/components/Form/FormSectionHeader/FormSectionHeader.js.map +1 -0
  339. package/dist/components/Form/FormSectionHeader/FormSectionHeader.mjs +29 -0
  340. package/dist/components/Form/FormSectionHeader/FormSectionHeader.mjs.map +1 -0
  341. package/dist/components/Form/FormSectionHeader/FormSectionHeader.types.d.ts +17 -0
  342. package/dist/components/Form/FormSectionHeader/FormSectionHeader.types.d.ts.map +1 -0
  343. package/dist/components/Form/FormSectionHeader/index.d.ts +3 -0
  344. package/dist/components/Form/FormSectionHeader/index.d.ts.map +1 -0
  345. package/dist/components/Form/index.d.ts +18 -0
  346. package/dist/components/Form/index.d.ts.map +1 -0
  347. package/dist/components/Icon/_constants/iconList.d.ts +2 -1
  348. package/dist/components/Icon/_constants/iconList.d.ts.map +1 -1
  349. package/dist/components/Icon/_constants/iconList.js +309 -134
  350. package/dist/components/Icon/_constants/iconList.js.map +1 -1
  351. package/dist/components/Icon/_constants/iconList.mjs +337 -162
  352. package/dist/components/Icon/_constants/iconList.mjs.map +1 -1
  353. package/dist/components/Icon/_utils/createIcon.d.ts.map +1 -1
  354. package/dist/components/Icon/_utils/createIcon.js +1 -0
  355. package/dist/components/Icon/_utils/createIcon.js.map +1 -1
  356. package/dist/components/Icon/_utils/createIcon.mjs +1 -0
  357. package/dist/components/Icon/_utils/createIcon.mjs.map +1 -1
  358. package/dist/components/Icon/index.d.ts +1 -1
  359. package/dist/components/Icon/index.d.ts.map +1 -1
  360. package/dist/components/Icon/index.js +205 -42
  361. package/dist/components/Icon/index.js.map +1 -1
  362. package/dist/components/Icon/index.mjs +3 -43
  363. package/dist/components/Icon/index.mjs.map +1 -1
  364. package/dist/components/IconButton/IconButton.d.ts +2 -17
  365. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  366. package/dist/components/IconButton/IconButton.js +11 -3
  367. package/dist/components/IconButton/IconButton.js.map +1 -1
  368. package/dist/components/IconButton/IconButton.mjs +11 -3
  369. package/dist/components/IconButton/IconButton.mjs.map +1 -1
  370. package/dist/components/IconButton/IconButton.types.d.ts +15 -1
  371. package/dist/components/IconButton/IconButton.types.d.ts.map +1 -1
  372. package/dist/components/IconButton/index.d.ts +1 -1
  373. package/dist/components/IconButton/index.d.ts.map +1 -1
  374. package/dist/components/InfoSprinkle/InfoSprinkle.d.ts.map +1 -1
  375. package/dist/components/InfoSprinkle/InfoSprinkle.js +1 -1
  376. package/dist/components/InfoSprinkle/InfoSprinkle.js.map +1 -1
  377. package/dist/components/InfoSprinkle/InfoSprinkle.mjs +1 -1
  378. package/dist/components/InfoSprinkle/InfoSprinkle.mjs.map +1 -1
  379. package/dist/components/InlineCode/InlineCode.d.ts.map +1 -1
  380. package/dist/components/InlineCode/InlineCode.js +10 -1
  381. package/dist/components/InlineCode/InlineCode.js.map +1 -1
  382. package/dist/components/InlineCode/InlineCode.mjs +10 -1
  383. package/dist/components/InlineCode/InlineCode.mjs.map +1 -1
  384. package/dist/components/Input/Input.d.ts.map +1 -1
  385. package/dist/components/Input/Input.js +2 -1
  386. package/dist/components/Input/Input.js.map +1 -1
  387. package/dist/components/Input/Input.mjs +2 -1
  388. package/dist/components/Input/Input.mjs.map +1 -1
  389. package/dist/components/Loaders/PageLoader.d.ts.map +1 -1
  390. package/dist/components/Loaders/PageLoader.js +4 -1
  391. package/dist/components/Loaders/PageLoader.js.map +1 -1
  392. package/dist/components/Loaders/PageLoader.mjs +4 -1
  393. package/dist/components/Loaders/PageLoader.mjs.map +1 -1
  394. package/dist/components/Loaders/SectionLoader.d.ts.map +1 -1
  395. package/dist/components/Loaders/SectionLoader.js +1 -1
  396. package/dist/components/Loaders/SectionLoader.js.map +1 -1
  397. package/dist/components/Loaders/SectionLoader.mjs +1 -1
  398. package/dist/components/Loaders/SectionLoader.mjs.map +1 -1
  399. package/dist/components/Markdown/Markdown.d.ts.map +1 -1
  400. package/dist/components/Markdown/Markdown.js +7 -1
  401. package/dist/components/Markdown/Markdown.js.map +1 -1
  402. package/dist/components/Markdown/Markdown.mjs +7 -1
  403. package/dist/components/Markdown/Markdown.mjs.map +1 -1
  404. package/dist/components/MaxLengthIndicator/MaxLengthIndicator.js +1 -0
  405. package/dist/components/MaxLengthIndicator/MaxLengthIndicator.js.map +1 -1
  406. package/dist/components/MaxLengthIndicator/MaxLengthIndicator.mjs +1 -0
  407. package/dist/components/MaxLengthIndicator/MaxLengthIndicator.mjs.map +1 -1
  408. package/dist/components/Menu/Menu.d.ts +2 -1
  409. package/dist/components/Menu/Menu.d.ts.map +1 -1
  410. package/dist/components/Menu/MenuItem.d.ts +2 -2
  411. package/dist/components/Menu/MenuItem.d.ts.map +1 -1
  412. package/dist/components/Menu/MenuItem.js +8 -2
  413. package/dist/components/Menu/MenuItem.js.map +1 -1
  414. package/dist/components/Menu/MenuItem.mjs +8 -2
  415. package/dist/components/Menu/MenuItem.mjs.map +1 -1
  416. package/dist/components/Menu/MenuItem.types.d.ts +17 -2
  417. package/dist/components/Menu/MenuItem.types.d.ts.map +1 -1
  418. package/dist/components/Menu/MenuItem.types.js.map +1 -1
  419. package/dist/components/Menu/MenuItem.types.mjs.map +1 -1
  420. package/dist/components/Menu/MenuList.d.ts +20 -0
  421. package/dist/components/Menu/MenuList.d.ts.map +1 -1
  422. package/dist/components/Menu/MenuList.js +20 -2
  423. package/dist/components/Menu/MenuList.js.map +1 -1
  424. package/dist/components/Menu/MenuList.mjs +21 -3
  425. package/dist/components/Menu/MenuList.mjs.map +1 -1
  426. package/dist/components/Modal/Modal.d.ts.map +1 -1
  427. package/dist/components/Modal/Modal.js +2 -2
  428. package/dist/components/Modal/Modal.js.map +1 -1
  429. package/dist/components/Modal/Modal.mjs +2 -2
  430. package/dist/components/Modal/Modal.mjs.map +1 -1
  431. package/dist/components/Modal/Modal.styles.d.ts +22 -0
  432. package/dist/components/Modal/Modal.styles.d.ts.map +1 -1
  433. package/dist/components/Modal/Modal.styles.js +24 -0
  434. package/dist/components/Modal/Modal.styles.js.map +1 -0
  435. package/dist/components/Modal/Modal.styles.mjs +22 -0
  436. package/dist/components/Modal/Modal.styles.mjs.map +1 -0
  437. package/dist/components/Modal/Modal.types.d.ts +10 -2
  438. package/dist/components/Modal/Modal.types.d.ts.map +1 -1
  439. package/dist/components/Modal/ModalContent/ModalContent.d.ts.map +1 -1
  440. package/dist/components/Modal/ModalContent/ModalContent.js +2 -1
  441. package/dist/components/Modal/ModalContent/ModalContent.js.map +1 -1
  442. package/dist/components/Modal/ModalContent/ModalContent.mjs +2 -1
  443. package/dist/components/Modal/ModalContent/ModalContent.mjs.map +1 -1
  444. package/dist/components/Modal/ModalContext.js +1 -1
  445. package/dist/components/Modal/ModalContext.js.map +1 -1
  446. package/dist/components/Modal/ModalContext.mjs +1 -1
  447. package/dist/components/Modal/ModalContext.mjs.map +1 -1
  448. package/dist/components/Modal/ModalOverlay.d.ts.map +1 -1
  449. package/dist/components/Modal/ModalOverlay.js +3 -1
  450. package/dist/components/Modal/ModalOverlay.js.map +1 -1
  451. package/dist/components/Modal/ModalOverlay.mjs +3 -1
  452. package/dist/components/Modal/ModalOverlay.mjs.map +1 -1
  453. package/dist/components/MonthPicker/MonthPicker.js +1 -0
  454. package/dist/components/MonthPicker/MonthPicker.js.map +1 -1
  455. package/dist/components/MonthPicker/MonthPicker.mjs +1 -0
  456. package/dist/components/MonthPicker/MonthPicker.mjs.map +1 -1
  457. package/dist/components/Pagination/Pagination.d.ts.map +1 -1
  458. package/dist/components/Pagination/Pagination.js +8 -2
  459. package/dist/components/Pagination/Pagination.js.map +1 -1
  460. package/dist/components/Pagination/Pagination.mjs +9 -3
  461. package/dist/components/Pagination/Pagination.mjs.map +1 -1
  462. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
  463. package/dist/components/PasswordInput/PasswordInput.js +2 -2
  464. package/dist/components/PasswordInput/PasswordInput.js.map +1 -1
  465. package/dist/components/PasswordInput/PasswordInput.mjs +2 -2
  466. package/dist/components/PasswordInput/PasswordInput.mjs.map +1 -1
  467. package/dist/components/PinInput/PinInput.d.ts +1 -4
  468. package/dist/components/PinInput/PinInput.d.ts.map +1 -1
  469. package/dist/components/PinInput/PinInput.js +5 -22
  470. package/dist/components/PinInput/PinInput.js.map +1 -1
  471. package/dist/components/PinInput/PinInput.mjs +8 -25
  472. package/dist/components/PinInput/PinInput.mjs.map +1 -1
  473. package/dist/components/PinInput/PinInput.types.d.ts +7 -24
  474. package/dist/components/PinInput/PinInput.types.d.ts.map +1 -1
  475. package/dist/components/Popover/PopoverContent.d.ts.map +1 -1
  476. package/dist/components/Popover/PopoverContent.js +4 -1
  477. package/dist/components/Popover/PopoverContent.js.map +1 -1
  478. package/dist/components/Popover/PopoverContent.mjs +4 -1
  479. package/dist/components/Popover/PopoverContent.mjs.map +1 -1
  480. package/dist/components/ProgressBar/ProgressBar.d.ts +1 -1
  481. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  482. package/dist/components/ProgressBar/ProgressBar.js +19 -2
  483. package/dist/components/ProgressBar/ProgressBar.js.map +1 -1
  484. package/dist/components/ProgressBar/ProgressBar.mjs +20 -3
  485. package/dist/components/ProgressBar/ProgressBar.mjs.map +1 -1
  486. package/dist/components/ProgressBar/ProgressBar.styles.d.ts +18 -0
  487. package/dist/components/ProgressBar/ProgressBar.styles.d.ts.map +1 -1
  488. package/dist/components/ProgressBar/ProgressBar.styles.js +24 -0
  489. package/dist/components/ProgressBar/ProgressBar.styles.js.map +1 -1
  490. package/dist/components/ProgressBar/ProgressBar.styles.mjs +24 -1
  491. package/dist/components/ProgressBar/ProgressBar.styles.mjs.map +1 -1
  492. package/dist/components/ProgressBar/ProgressBar.types.d.ts +10 -0
  493. package/dist/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
  494. package/dist/components/Pulse/Pulse.d.ts +40 -0
  495. package/dist/components/Pulse/Pulse.d.ts.map +1 -0
  496. package/dist/components/Pulse/Pulse.js +64 -0
  497. package/dist/components/Pulse/Pulse.js.map +1 -0
  498. package/dist/components/Pulse/Pulse.mjs +62 -0
  499. package/dist/components/Pulse/Pulse.mjs.map +1 -0
  500. package/dist/components/Pulse/Pulse.styles.d.ts +35 -0
  501. package/dist/components/Pulse/Pulse.styles.d.ts.map +1 -0
  502. package/dist/components/Pulse/Pulse.styles.js +46 -0
  503. package/dist/components/Pulse/Pulse.styles.js.map +1 -0
  504. package/dist/components/Pulse/Pulse.styles.mjs +44 -0
  505. package/dist/components/Pulse/Pulse.styles.mjs.map +1 -0
  506. package/dist/components/Pulse/Pulse.types.d.ts +12 -0
  507. package/dist/components/Pulse/Pulse.types.d.ts.map +1 -0
  508. package/dist/components/Pulse/index.d.ts +3 -0
  509. package/dist/components/Pulse/index.d.ts.map +1 -0
  510. package/dist/components/RadialProgress/RadialProgress.js +1 -0
  511. package/dist/components/RadialProgress/RadialProgress.js.map +1 -1
  512. package/dist/components/RadialProgress/RadialProgress.mjs +1 -0
  513. package/dist/components/RadialProgress/RadialProgress.mjs.map +1 -1
  514. package/dist/components/Radio/Radio.styles.d.ts +13 -0
  515. package/dist/components/Radio/Radio.styles.d.ts.map +1 -0
  516. package/dist/components/Radio/Radio.styles.js +28 -0
  517. package/dist/components/Radio/Radio.styles.js.map +1 -0
  518. package/dist/components/Radio/Radio.styles.mjs +26 -0
  519. package/dist/components/Radio/Radio.styles.mjs.map +1 -0
  520. package/dist/components/Radio/RadioControl.d.ts.map +1 -1
  521. package/dist/components/Radio/RadioControl.js +19 -1
  522. package/dist/components/Radio/RadioControl.js.map +1 -1
  523. package/dist/components/Radio/RadioControl.mjs +20 -2
  524. package/dist/components/Radio/RadioControl.mjs.map +1 -1
  525. package/dist/components/Reveal/Reveal.d.ts +33 -0
  526. package/dist/components/Reveal/Reveal.d.ts.map +1 -0
  527. package/dist/components/Reveal/Reveal.js +46 -0
  528. package/dist/components/Reveal/Reveal.js.map +1 -0
  529. package/dist/components/Reveal/Reveal.mjs +44 -0
  530. package/dist/components/Reveal/Reveal.mjs.map +1 -0
  531. package/dist/components/Reveal/Reveal.styles.d.ts +25 -0
  532. package/dist/components/Reveal/Reveal.styles.d.ts.map +1 -0
  533. package/dist/components/Reveal/Reveal.styles.js +42 -0
  534. package/dist/components/Reveal/Reveal.styles.js.map +1 -0
  535. package/dist/components/Reveal/Reveal.styles.mjs +40 -0
  536. package/dist/components/Reveal/Reveal.styles.mjs.map +1 -0
  537. package/dist/components/Reveal/Reveal.types.d.ts +6 -0
  538. package/dist/components/Reveal/Reveal.types.d.ts.map +1 -0
  539. package/dist/components/Reveal/index.d.ts +3 -0
  540. package/dist/components/Reveal/index.d.ts.map +1 -0
  541. package/dist/components/SeeMoreButton/SeeMoreButton.d.ts +3 -10
  542. package/dist/components/SeeMoreButton/SeeMoreButton.d.ts.map +1 -1
  543. package/dist/components/SeeMoreButton/SeeMoreButton.js +6 -2
  544. package/dist/components/SeeMoreButton/SeeMoreButton.js.map +1 -1
  545. package/dist/components/SeeMoreButton/SeeMoreButton.mjs +7 -3
  546. package/dist/components/SeeMoreButton/SeeMoreButton.mjs.map +1 -1
  547. package/dist/components/SeeMoreButton/SeeMoreButton.types.d.ts +10 -3
  548. package/dist/components/SeeMoreButton/SeeMoreButton.types.d.ts.map +1 -1
  549. package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  550. package/dist/components/SegmentedControl/SegmentedControl.js +5 -1
  551. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
  552. package/dist/components/SegmentedControl/SegmentedControl.mjs +5 -1
  553. package/dist/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
  554. package/dist/components/SegmentedControl/SegmentedControl.styles.d.ts +16 -0
  555. package/dist/components/SegmentedControl/SegmentedControl.styles.d.ts.map +1 -0
  556. package/dist/components/SegmentedControl/SegmentedControl.styles.js +26 -0
  557. package/dist/components/SegmentedControl/SegmentedControl.styles.js.map +1 -0
  558. package/dist/components/SegmentedControl/SegmentedControl.styles.mjs +24 -0
  559. package/dist/components/SegmentedControl/SegmentedControl.styles.mjs.map +1 -0
  560. package/dist/components/Select/Combobox.d.ts.map +1 -1
  561. package/dist/components/Select/Combobox.js +9 -2
  562. package/dist/components/Select/Combobox.js.map +1 -1
  563. package/dist/components/Select/Combobox.mjs +9 -2
  564. package/dist/components/Select/Combobox.mjs.map +1 -1
  565. package/dist/components/Select/ComboboxField.d.ts +1 -1
  566. package/dist/components/Select/ComboboxField.d.ts.map +1 -1
  567. package/dist/components/Select/ComboboxField.js +2 -2
  568. package/dist/components/Select/ComboboxField.js.map +1 -1
  569. package/dist/components/Select/ComboboxField.mjs +2 -2
  570. package/dist/components/Select/ComboboxField.mjs.map +1 -1
  571. package/dist/components/Select/Select.d.ts.map +1 -1
  572. package/dist/components/Select/Select.js +4 -1
  573. package/dist/components/Select/Select.js.map +1 -1
  574. package/dist/components/Select/Select.mjs +4 -1
  575. package/dist/components/Select/Select.mjs.map +1 -1
  576. package/dist/components/Select/Select.types.d.ts +26 -1
  577. package/dist/components/Select/Select.types.d.ts.map +1 -1
  578. package/dist/components/Select/SelectField.d.ts +1 -1
  579. package/dist/components/Select/SelectField.d.ts.map +1 -1
  580. package/dist/components/Select/SelectField.js +3 -2
  581. package/dist/components/Select/SelectField.js.map +1 -1
  582. package/dist/components/Select/SelectField.mjs +3 -2
  583. package/dist/components/Select/SelectField.mjs.map +1 -1
  584. package/dist/components/Shake/Shake.d.ts +35 -0
  585. package/dist/components/Shake/Shake.d.ts.map +1 -0
  586. package/dist/components/Shake/Shake.js +61 -0
  587. package/dist/components/Shake/Shake.js.map +1 -0
  588. package/dist/components/Shake/Shake.mjs +59 -0
  589. package/dist/components/Shake/Shake.mjs.map +1 -0
  590. package/dist/components/Shake/Shake.styles.d.ts +24 -0
  591. package/dist/components/Shake/Shake.styles.d.ts.map +1 -0
  592. package/dist/components/Shake/Shake.styles.js +35 -0
  593. package/dist/components/Shake/Shake.styles.js.map +1 -0
  594. package/dist/components/Shake/Shake.styles.mjs +33 -0
  595. package/dist/components/Shake/Shake.styles.mjs.map +1 -0
  596. package/dist/components/Shake/Shake.types.d.ts +11 -0
  597. package/dist/components/Shake/Shake.types.d.ts.map +1 -0
  598. package/dist/components/Shake/index.d.ts +3 -0
  599. package/dist/components/Shake/index.d.ts.map +1 -0
  600. package/dist/components/Slider/Slider.d.ts.map +1 -1
  601. package/dist/components/Slider/Slider.js +2 -2
  602. package/dist/components/Slider/Slider.js.map +1 -1
  603. package/dist/components/Slider/Slider.mjs +3 -3
  604. package/dist/components/Slider/Slider.mjs.map +1 -1
  605. package/dist/components/Slider/Slider.types.d.ts +15 -0
  606. package/dist/components/Slider/Slider.types.d.ts.map +1 -1
  607. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  608. package/dist/components/Spinner/Spinner.js +7 -2
  609. package/dist/components/Spinner/Spinner.js.map +1 -1
  610. package/dist/components/Spinner/Spinner.mjs +7 -2
  611. package/dist/components/Spinner/Spinner.mjs.map +1 -1
  612. package/dist/components/Spinner/Spinner.styles.d.ts +23 -0
  613. package/dist/components/Spinner/Spinner.styles.d.ts.map +1 -0
  614. package/dist/components/Spinner/Spinner.styles.js +36 -0
  615. package/dist/components/Spinner/Spinner.styles.js.map +1 -0
  616. package/dist/components/Spinner/Spinner.styles.mjs +34 -0
  617. package/dist/components/Spinner/Spinner.styles.mjs.map +1 -0
  618. package/dist/components/SwapTransition/SwapTransition.d.ts +43 -0
  619. package/dist/components/SwapTransition/SwapTransition.d.ts.map +1 -0
  620. package/dist/components/SwapTransition/SwapTransition.js +82 -0
  621. package/dist/components/SwapTransition/SwapTransition.js.map +1 -0
  622. package/dist/components/SwapTransition/SwapTransition.mjs +80 -0
  623. package/dist/components/SwapTransition/SwapTransition.mjs.map +1 -0
  624. package/dist/components/SwapTransition/SwapTransition.styles.d.ts +24 -0
  625. package/dist/components/SwapTransition/SwapTransition.styles.d.ts.map +1 -0
  626. package/dist/components/SwapTransition/SwapTransition.styles.js +42 -0
  627. package/dist/components/SwapTransition/SwapTransition.styles.js.map +1 -0
  628. package/dist/components/SwapTransition/SwapTransition.styles.mjs +38 -0
  629. package/dist/components/SwapTransition/SwapTransition.styles.mjs.map +1 -0
  630. package/dist/components/SwapTransition/SwapTransition.types.d.ts +22 -0
  631. package/dist/components/SwapTransition/SwapTransition.types.d.ts.map +1 -0
  632. package/dist/components/SwapTransition/index.d.ts +3 -0
  633. package/dist/components/SwapTransition/index.d.ts.map +1 -0
  634. package/dist/components/Switch/SwitchControl.d.ts.map +1 -1
  635. package/dist/components/Switch/SwitchControl.js +13 -1
  636. package/dist/components/Switch/SwitchControl.js.map +1 -1
  637. package/dist/components/Switch/SwitchControl.mjs +13 -1
  638. package/dist/components/Switch/SwitchControl.mjs.map +1 -1
  639. package/dist/components/Table/TableContext.d.ts +8 -0
  640. package/dist/components/Table/TableContext.d.ts.map +1 -1
  641. package/dist/components/Table/TableContext.js +79 -28
  642. package/dist/components/Table/TableContext.js.map +1 -1
  643. package/dist/components/Table/TableContext.mjs +80 -29
  644. package/dist/components/Table/TableContext.mjs.map +1 -1
  645. package/dist/components/Table/Td.d.ts.map +1 -1
  646. package/dist/components/Table/Td.js +12 -8
  647. package/dist/components/Table/Td.js.map +1 -1
  648. package/dist/components/Table/Td.mjs +13 -9
  649. package/dist/components/Table/Td.mjs.map +1 -1
  650. package/dist/components/Table/Th.d.ts.map +1 -1
  651. package/dist/components/Table/Th.js +12 -8
  652. package/dist/components/Table/Th.js.map +1 -1
  653. package/dist/components/Table/Th.mjs +13 -9
  654. package/dist/components/Table/Th.mjs.map +1 -1
  655. package/dist/components/Table/useRegisterStickyWidth.d.ts +48 -0
  656. package/dist/components/Table/useRegisterStickyWidth.d.ts.map +1 -0
  657. package/dist/components/Table/useRegisterStickyWidth.js +54 -0
  658. package/dist/components/Table/useRegisterStickyWidth.js.map +1 -0
  659. package/dist/components/Table/useRegisterStickyWidth.mjs +52 -0
  660. package/dist/components/Table/useRegisterStickyWidth.mjs.map +1 -0
  661. package/dist/components/Tabs/Tab/Tab.styles.d.ts +36 -3
  662. package/dist/components/Tabs/Tab/Tab.styles.d.ts.map +1 -1
  663. package/dist/components/Tabs/Tab/Tab.styles.js +48 -5
  664. package/dist/components/Tabs/Tab/Tab.styles.js.map +1 -1
  665. package/dist/components/Tabs/Tab/Tab.styles.mjs +48 -6
  666. package/dist/components/Tabs/Tab/Tab.styles.mjs.map +1 -1
  667. package/dist/components/Tabs/Tab/index.d.ts +1 -0
  668. package/dist/components/Tabs/Tab/index.d.ts.map +1 -1
  669. package/dist/components/Tabs/index.d.ts +1 -1
  670. package/dist/components/Tabs/index.d.ts.map +1 -1
  671. package/dist/components/Tag/Tag.d.ts +3 -21
  672. package/dist/components/Tag/Tag.d.ts.map +1 -1
  673. package/dist/components/Tag/Tag.js +6 -3
  674. package/dist/components/Tag/Tag.js.map +1 -1
  675. package/dist/components/Tag/Tag.mjs +6 -3
  676. package/dist/components/Tag/Tag.mjs.map +1 -1
  677. package/dist/components/Tag/Tag.styles.d.ts.map +1 -1
  678. package/dist/components/Tag/Tag.styles.js +27 -21
  679. package/dist/components/Tag/Tag.styles.js.map +1 -1
  680. package/dist/components/Tag/Tag.styles.mjs +27 -21
  681. package/dist/components/Tag/Tag.styles.mjs.map +1 -1
  682. package/dist/components/Tag/Tag.types.d.ts +9 -2
  683. package/dist/components/Tag/Tag.types.d.ts.map +1 -1
  684. package/dist/components/Tag/index.d.ts +1 -1
  685. package/dist/components/Tag/index.d.ts.map +1 -1
  686. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  687. package/dist/components/Textarea/Textarea.js +2 -1
  688. package/dist/components/Textarea/Textarea.js.map +1 -1
  689. package/dist/components/Textarea/Textarea.mjs +2 -1
  690. package/dist/components/Textarea/Textarea.mjs.map +1 -1
  691. package/dist/components/Toast/Toast.d.ts +7 -3
  692. package/dist/components/Toast/Toast.d.ts.map +1 -1
  693. package/dist/components/Toast/Toast.js +7 -3
  694. package/dist/components/Toast/Toast.js.map +1 -1
  695. package/dist/components/Toast/Toast.mjs +8 -4
  696. package/dist/components/Toast/Toast.mjs.map +1 -1
  697. package/dist/components/Toast/Toast.styles.d.ts +8 -0
  698. package/dist/components/Toast/Toast.styles.d.ts.map +1 -1
  699. package/dist/components/Toast/Toast.styles.js +59 -0
  700. package/dist/components/Toast/Toast.styles.js.map +1 -1
  701. package/dist/components/Toast/Toast.styles.mjs +57 -1
  702. package/dist/components/Toast/Toast.styles.mjs.map +1 -1
  703. package/dist/components/Toast/Toast.types.d.ts +25 -1
  704. package/dist/components/Toast/Toast.types.d.ts.map +1 -1
  705. package/dist/components/Toast/ToastIcon/ToastIcon.js +4 -4
  706. package/dist/components/Toast/ToastIcon/ToastIcon.js.map +1 -1
  707. package/dist/components/Toast/ToastIcon/ToastIcon.mjs +5 -5
  708. package/dist/components/Toast/ToastIcon/ToastIcon.mjs.map +1 -1
  709. package/dist/components/Toast/Toaster.d.ts.map +1 -1
  710. package/dist/components/Toast/Toaster.js +9 -1
  711. package/dist/components/Toast/Toaster.js.map +1 -1
  712. package/dist/components/Toast/Toaster.mjs +9 -1
  713. package/dist/components/Toast/Toaster.mjs.map +1 -1
  714. package/dist/components/Toast/useToast.d.ts +2 -2
  715. package/dist/components/Toast/useToast.d.ts.map +1 -1
  716. package/dist/components/Toast/useToast.js +9 -1
  717. package/dist/components/Toast/useToast.js.map +1 -1
  718. package/dist/components/Toast/useToast.mjs +10 -2
  719. package/dist/components/Toast/useToast.mjs.map +1 -1
  720. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  721. package/dist/components/Tooltip/Tooltip.js +15 -1
  722. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  723. package/dist/components/Tooltip/Tooltip.mjs +15 -1
  724. package/dist/components/Tooltip/Tooltip.mjs.map +1 -1
  725. package/dist/components/Tree/TreeBranchIndicator.js +1 -1
  726. package/dist/components/Tree/TreeBranchIndicator.js.map +1 -1
  727. package/dist/components/Tree/TreeBranchIndicator.mjs +2 -2
  728. package/dist/components/Tree/TreeBranchIndicator.mjs.map +1 -1
  729. package/dist/components/Typography/Caption.d.ts +4 -0
  730. package/dist/components/Typography/Caption.d.ts.map +1 -0
  731. package/dist/components/Typography/Caption.js +33 -0
  732. package/dist/components/Typography/Caption.js.map +1 -0
  733. package/dist/components/Typography/Caption.mjs +31 -0
  734. package/dist/components/Typography/Caption.mjs.map +1 -0
  735. package/dist/components/Typography/H1.d.ts +3 -2
  736. package/dist/components/Typography/H1.d.ts.map +1 -1
  737. package/dist/components/Typography/H1.js +6 -3
  738. package/dist/components/Typography/H1.js.map +1 -1
  739. package/dist/components/Typography/H1.mjs +6 -3
  740. package/dist/components/Typography/H1.mjs.map +1 -1
  741. package/dist/components/Typography/H2.d.ts +3 -2
  742. package/dist/components/Typography/H2.d.ts.map +1 -1
  743. package/dist/components/Typography/H2.js +6 -3
  744. package/dist/components/Typography/H2.js.map +1 -1
  745. package/dist/components/Typography/H2.mjs +6 -3
  746. package/dist/components/Typography/H2.mjs.map +1 -1
  747. package/dist/components/Typography/H3.d.ts +3 -2
  748. package/dist/components/Typography/H3.d.ts.map +1 -1
  749. package/dist/components/Typography/H3.js +6 -3
  750. package/dist/components/Typography/H3.js.map +1 -1
  751. package/dist/components/Typography/H3.mjs +6 -3
  752. package/dist/components/Typography/H3.mjs.map +1 -1
  753. package/dist/components/Typography/H4.d.ts +3 -2
  754. package/dist/components/Typography/H4.d.ts.map +1 -1
  755. package/dist/components/Typography/H4.js +6 -3
  756. package/dist/components/Typography/H4.js.map +1 -1
  757. package/dist/components/Typography/H4.mjs +6 -3
  758. package/dist/components/Typography/H4.mjs.map +1 -1
  759. package/dist/components/Typography/H5.d.ts +3 -2
  760. package/dist/components/Typography/H5.d.ts.map +1 -1
  761. package/dist/components/Typography/H5.js +6 -3
  762. package/dist/components/Typography/H5.js.map +1 -1
  763. package/dist/components/Typography/H5.mjs +6 -3
  764. package/dist/components/Typography/H5.mjs.map +1 -1
  765. package/dist/components/Typography/Link.d.ts +39 -3
  766. package/dist/components/Typography/Link.d.ts.map +1 -1
  767. package/dist/components/Typography/Link.js +55 -10
  768. package/dist/components/Typography/Link.js.map +1 -1
  769. package/dist/components/Typography/Link.mjs +55 -11
  770. package/dist/components/Typography/Link.mjs.map +1 -1
  771. package/dist/components/Typography/Overline.d.ts +3 -13
  772. package/dist/components/Typography/Overline.d.ts.map +1 -1
  773. package/dist/components/Typography/Overline.js +5 -2
  774. package/dist/components/Typography/Overline.js.map +1 -1
  775. package/dist/components/Typography/Overline.mjs +5 -2
  776. package/dist/components/Typography/Overline.mjs.map +1 -1
  777. package/dist/components/Typography/Subtext.d.ts +3 -3
  778. package/dist/components/Typography/Subtext.d.ts.map +1 -1
  779. package/dist/components/Typography/Subtext.js +5 -2
  780. package/dist/components/Typography/Subtext.js.map +1 -1
  781. package/dist/components/Typography/Subtext.mjs +5 -2
  782. package/dist/components/Typography/Subtext.mjs.map +1 -1
  783. package/dist/components/Typography/Subtitle.d.ts +3 -2
  784. package/dist/components/Typography/Subtitle.d.ts.map +1 -1
  785. package/dist/components/Typography/Subtitle.js +23 -3
  786. package/dist/components/Typography/Subtitle.js.map +1 -1
  787. package/dist/components/Typography/Subtitle.mjs +23 -3
  788. package/dist/components/Typography/Subtitle.mjs.map +1 -1
  789. package/dist/components/Typography/Text.d.ts +3 -3
  790. package/dist/components/Typography/Text.d.ts.map +1 -1
  791. package/dist/components/Typography/Text.js +5 -2
  792. package/dist/components/Typography/Text.js.map +1 -1
  793. package/dist/components/Typography/Text.mjs +5 -2
  794. package/dist/components/Typography/Text.mjs.map +1 -1
  795. package/dist/components/Typography/Typography.types.d.ts +35 -2
  796. package/dist/components/Typography/Typography.types.d.ts.map +1 -1
  797. package/dist/components/Typography/index.d.ts +4 -3
  798. package/dist/components/Typography/index.d.ts.map +1 -1
  799. package/dist/components/Workflow/Workflow.d.ts +1 -1
  800. package/dist/components/Workflow/Workflow.d.ts.map +1 -1
  801. package/dist/components/Workflow/Workflow.js +2 -2
  802. package/dist/components/Workflow/Workflow.js.map +1 -1
  803. package/dist/components/Workflow/Workflow.mjs +2 -2
  804. package/dist/components/Workflow/Workflow.mjs.map +1 -1
  805. package/dist/components/Workflow/Workflow.types.d.ts +9 -0
  806. package/dist/components/Workflow/Workflow.types.d.ts.map +1 -1
  807. package/dist/components/Workflow/Workflow.types.js.map +1 -1
  808. package/dist/components/Workflow/Workflow.types.mjs.map +1 -1
  809. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js +1 -1
  810. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js.map +1 -1
  811. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs +2 -2
  812. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs.map +1 -1
  813. package/dist/components/Workflow/canvas/Canvas/Canvas.d.ts +6 -2
  814. package/dist/components/Workflow/canvas/Canvas/Canvas.d.ts.map +1 -1
  815. package/dist/components/Workflow/canvas/Canvas/Canvas.js +29 -23
  816. package/dist/components/Workflow/canvas/Canvas/Canvas.js.map +1 -1
  817. package/dist/components/Workflow/canvas/Canvas/Canvas.mjs +31 -25
  818. package/dist/components/Workflow/canvas/Canvas/Canvas.mjs.map +1 -1
  819. package/dist/components/Workflow/canvas/Canvas/CanvasControls.js +1 -1
  820. package/dist/components/Workflow/canvas/Canvas/CanvasControls.js.map +1 -1
  821. package/dist/components/Workflow/canvas/Canvas/CanvasControls.mjs +2 -2
  822. package/dist/components/Workflow/canvas/Canvas/CanvasControls.mjs.map +1 -1
  823. package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js +2 -1
  824. package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js.map +1 -1
  825. package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs +3 -2
  826. package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs.map +1 -1
  827. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.d.ts.map +1 -1
  828. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js +2 -1
  829. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js.map +1 -1
  830. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs +3 -2
  831. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs.map +1 -1
  832. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js +3 -1
  833. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js.map +1 -1
  834. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs +4 -2
  835. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs.map +1 -1
  836. package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js +2 -1
  837. package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js.map +1 -1
  838. package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs +3 -2
  839. package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs.map +1 -1
  840. package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js +3 -1
  841. package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js.map +1 -1
  842. package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs +4 -2
  843. package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs.map +1 -1
  844. package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.js +1 -0
  845. package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.js.map +1 -1
  846. package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.mjs +1 -0
  847. package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.mjs.map +1 -1
  848. package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js +2 -1
  849. package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js.map +1 -1
  850. package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs +3 -2
  851. package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs.map +1 -1
  852. package/dist/components/Workflow/canvas/GenericNode/GenericNode.js +1 -1
  853. package/dist/components/Workflow/canvas/GenericNode/GenericNode.js.map +1 -1
  854. package/dist/components/Workflow/canvas/GenericNode/GenericNode.mjs +2 -2
  855. package/dist/components/Workflow/canvas/GenericNode/GenericNode.mjs.map +1 -1
  856. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.d.ts.map +1 -1
  857. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js +2 -1
  858. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js.map +1 -1
  859. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs +3 -2
  860. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs.map +1 -1
  861. package/dist/components/Workflow/canvas/IssueList/IssueList.js +1 -0
  862. package/dist/components/Workflow/canvas/IssueList/IssueList.js.map +1 -1
  863. package/dist/components/Workflow/canvas/IssueList/IssueList.mjs +1 -0
  864. package/dist/components/Workflow/canvas/IssueList/IssueList.mjs.map +1 -1
  865. package/dist/components/Workflow/canvas/NodePalette/NodePalette.d.ts.map +1 -1
  866. package/dist/components/Workflow/canvas/NodePalette/NodePalette.js +21 -3
  867. package/dist/components/Workflow/canvas/NodePalette/NodePalette.js.map +1 -1
  868. package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs +22 -4
  869. package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs.map +1 -1
  870. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js +1 -1
  871. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js.map +1 -1
  872. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs +2 -2
  873. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs.map +1 -1
  874. package/dist/components/Workflow/canvas/NodeShell/NodeShell.js +4 -3
  875. package/dist/components/Workflow/canvas/NodeShell/NodeShell.js.map +1 -1
  876. package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs +5 -4
  877. package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs.map +1 -1
  878. package/dist/components/Workflow/createNode.d.ts +25 -1
  879. package/dist/components/Workflow/createNode.d.ts.map +1 -1
  880. package/dist/components/Workflow/createNode.js +39 -1
  881. package/dist/components/Workflow/createNode.js.map +1 -1
  882. package/dist/components/Workflow/createNode.mjs +38 -2
  883. package/dist/components/Workflow/createNode.mjs.map +1 -1
  884. package/dist/components/Workflow/index.d.ts +2 -0
  885. package/dist/components/Workflow/index.d.ts.map +1 -1
  886. package/dist/components/Workflow/layout/autoLayout.d.ts +10 -0
  887. package/dist/components/Workflow/layout/autoLayout.d.ts.map +1 -1
  888. package/dist/components/Workflow/layout/autoLayout.js +4 -0
  889. package/dist/components/Workflow/layout/autoLayout.js.map +1 -1
  890. package/dist/components/Workflow/layout/autoLayout.mjs +1 -1
  891. package/dist/components/Workflow/layout/autoLayout.mjs.map +1 -1
  892. package/dist/components/Workflow/placement.d.ts +65 -0
  893. package/dist/components/Workflow/placement.d.ts.map +1 -0
  894. package/dist/components/Workflow/placement.js +100 -0
  895. package/dist/components/Workflow/placement.js.map +1 -0
  896. package/dist/components/Workflow/placement.mjs +96 -0
  897. package/dist/components/Workflow/placement.mjs.map +1 -0
  898. package/dist/components/Workflow/useWorkflowActions.d.ts +54 -0
  899. package/dist/components/Workflow/useWorkflowActions.d.ts.map +1 -0
  900. package/dist/components/Workflow/useWorkflowActions.js +105 -0
  901. package/dist/components/Workflow/useWorkflowActions.js.map +1 -0
  902. package/dist/components/Workflow/useWorkflowActions.mjs +103 -0
  903. package/dist/components/Workflow/useWorkflowActions.mjs.map +1 -0
  904. package/dist/icons.js +203 -0
  905. package/dist/icons.js.map +1 -1
  906. package/dist/icons.mjs +1 -1
  907. package/dist/index.d.ts +18 -1
  908. package/dist/index.d.ts.map +1 -1
  909. package/dist/index.js +81 -0
  910. package/dist/index.js.map +1 -1
  911. package/dist/index.mjs +36 -2
  912. package/dist/index.mjs.map +1 -1
  913. package/dist/styles.d.ts +21 -0
  914. package/dist/styles.d.ts.map +1 -0
  915. package/dist/styles.js +9 -0
  916. package/dist/styles.js.map +1 -0
  917. package/dist/styles.mjs +3 -0
  918. package/dist/styles.mjs.map +1 -0
  919. package/dist/theme/colors.d.ts +168 -49
  920. package/dist/theme/colors.d.ts.map +1 -1
  921. package/dist/theme/colors.js +150 -82
  922. package/dist/theme/colors.js.map +1 -1
  923. package/dist/theme/colors.mjs +150 -82
  924. package/dist/theme/colors.mjs.map +1 -1
  925. package/dist/theme/formControls.d.ts +56 -0
  926. package/dist/theme/formControls.d.ts.map +1 -0
  927. package/dist/theme/formControls.js +62 -0
  928. package/dist/theme/formControls.js.map +1 -0
  929. package/dist/theme/formControls.mjs +60 -0
  930. package/dist/theme/formControls.mjs.map +1 -0
  931. package/dist/theme/index.d.ts.map +1 -1
  932. package/dist/theme/index.js +77 -4
  933. package/dist/theme/index.js.map +1 -1
  934. package/dist/theme/index.mjs +78 -5
  935. package/dist/theme/index.mjs.map +1 -1
  936. package/dist/theme/motion.d.ts +648 -0
  937. package/dist/theme/motion.d.ts.map +1 -0
  938. package/dist/theme/motion.js +629 -0
  939. package/dist/theme/motion.js.map +1 -0
  940. package/dist/theme/motion.mjs +617 -0
  941. package/dist/theme/motion.mjs.map +1 -0
  942. package/dist/theme/recipes/accordion.d.ts +12 -0
  943. package/dist/theme/recipes/accordion.d.ts.map +1 -0
  944. package/dist/theme/recipes/accordion.js +25 -0
  945. package/dist/theme/recipes/accordion.js.map +1 -0
  946. package/dist/theme/recipes/accordion.mjs +23 -0
  947. package/dist/theme/recipes/accordion.mjs.map +1 -0
  948. package/dist/translations/Defaults.translations.json.js +10 -1
  949. package/dist/translations/Defaults.translations.json.js.map +1 -1
  950. package/dist/translations/Defaults.translations.json.mjs +10 -2
  951. package/dist/translations/Defaults.translations.json.mjs.map +1 -1
  952. package/dist/types/polymorphic.d.ts +101 -0
  953. package/dist/types/polymorphic.d.ts.map +1 -0
  954. package/dist/types/polymorphic.js +57 -0
  955. package/dist/types/polymorphic.js.map +1 -0
  956. package/dist/types/polymorphic.mjs +55 -0
  957. package/dist/types/polymorphic.mjs.map +1 -0
  958. package/dist/utils/cubicBezier.d.ts +30 -0
  959. package/dist/utils/cubicBezier.d.ts.map +1 -0
  960. package/dist/utils/cubicBezier.js +67 -0
  961. package/dist/utils/cubicBezier.js.map +1 -0
  962. package/dist/utils/cubicBezier.mjs +65 -0
  963. package/dist/utils/cubicBezier.mjs.map +1 -0
  964. package/dist/utils/focusRing.d.ts +7 -6
  965. package/dist/utils/focusRing.d.ts.map +1 -1
  966. package/dist/utils/focusRing.js +7 -4
  967. package/dist/utils/focusRing.js.map +1 -1
  968. package/dist/utils/focusRing.mjs +7 -4
  969. package/dist/utils/focusRing.mjs.map +1 -1
  970. package/dist/utils/mergeCss.js +2 -2
  971. package/dist/utils/mergeCss.js.map +1 -1
  972. package/dist/utils/mergeCss.mjs +1 -1
  973. package/dist/utils/staggerProps.d.ts +52 -0
  974. package/dist/utils/staggerProps.d.ts.map +1 -0
  975. package/dist/utils/staggerProps.js +62 -0
  976. package/dist/utils/staggerProps.js.map +1 -0
  977. package/dist/utils/staggerProps.mjs +59 -0
  978. package/dist/utils/staggerProps.mjs.map +1 -0
  979. package/package.json +9 -2
  980. package/src/components/Accordion/Accordion.presence.test.tsx +54 -0
  981. package/src/components/Appear/Appear.stories.tsx +219 -0
  982. package/src/components/Appear/Appear.styles.ts +28 -0
  983. package/src/components/Appear/Appear.tsx +85 -0
  984. package/src/components/Appear/Appear.types.ts +18 -0
  985. package/src/components/Appear/index.ts +2 -0
  986. package/src/components/Badge/Badge.tsx +8 -4
  987. package/src/components/Badge/Badge.types.ts +19 -2
  988. package/src/components/Badge/index.ts +1 -1
  989. package/src/components/Banner/Banner.tsx +1 -1
  990. package/src/components/BottomSheet/BottomSheet.stories.tsx +205 -0
  991. package/src/components/BottomSheet/BottomSheet.styles.ts +162 -0
  992. package/src/components/BottomSheet/BottomSheet.test.tsx +129 -0
  993. package/src/components/BottomSheet/BottomSheet.tsx +47 -0
  994. package/src/components/BottomSheet/BottomSheet.types.ts +50 -0
  995. package/src/components/BottomSheet/BottomSheetBody.tsx +15 -0
  996. package/src/components/BottomSheet/BottomSheetCloseButton.tsx +40 -0
  997. package/src/components/BottomSheet/BottomSheetContent.tsx +43 -0
  998. package/src/components/BottomSheet/BottomSheetContext.ts +79 -0
  999. package/src/components/BottomSheet/BottomSheetFooter.tsx +12 -0
  1000. package/src/components/BottomSheet/BottomSheetHeader.tsx +22 -0
  1001. package/src/components/BottomSheet/BottomSheetOverlay.tsx +16 -0
  1002. package/src/components/BottomSheet/index.tsx +22 -0
  1003. package/src/components/Button/Button.cursor.test.tsx +60 -0
  1004. package/src/components/Button/Button.lift.test.tsx +150 -0
  1005. package/src/components/Button/Button.press.test.tsx +54 -0
  1006. package/src/components/Button/Button.stories.tsx +80 -1
  1007. package/src/components/Button/Button.styles.ts +124 -42
  1008. package/src/components/Button/Button.tsx +88 -9
  1009. package/src/components/Button/Button.types.ts +47 -2
  1010. package/src/components/Button/index.tsx +1 -0
  1011. package/src/components/Card/Card.stories.tsx +33 -3
  1012. package/src/components/Card/Card.styles.ts +37 -5
  1013. package/src/components/Card/Card.tsx +13 -6
  1014. package/src/components/Card/Card.types.ts +26 -2
  1015. package/src/components/Card/index.ts +1 -1
  1016. package/src/components/Checkbox/Checkbox.styles.ts +26 -0
  1017. package/src/components/Checkbox/CheckboxControl.tsx +10 -1
  1018. package/src/components/Chip/Chip.tsx +8 -4
  1019. package/src/components/Chip/Chip.types.ts +19 -4
  1020. package/src/components/Chip/index.ts +6 -1
  1021. package/src/components/Collapsible/Collapsible.presence.test.tsx +83 -0
  1022. package/src/components/Collapsible/CollapsibleContent.tsx +13 -1
  1023. package/src/components/ColorMode/ColorModeToggle.tsx +33 -2
  1024. package/src/components/Confetti/Confetti.stories.tsx +88 -0
  1025. package/src/components/Confetti/Confetti.styles.ts +57 -0
  1026. package/src/components/Confetti/Confetti.tsx +182 -0
  1027. package/src/components/Confetti/Confetti.types.ts +13 -0
  1028. package/src/components/Confetti/index.ts +2 -0
  1029. package/src/components/Container/Container.tsx +10 -3
  1030. package/src/components/Container/Container.types.ts +20 -0
  1031. package/src/components/Container/index.ts +1 -0
  1032. package/src/components/CopyableCode/CopyableCode.tsx +99 -4
  1033. package/src/components/CountUp/CountUp.stories.tsx +127 -0
  1034. package/src/components/CountUp/CountUp.tsx +122 -0
  1035. package/src/components/CountUp/CountUp.types.ts +19 -0
  1036. package/src/components/CountUp/index.ts +2 -0
  1037. package/src/components/ErrorFallback/ErrorFallback.tsx +32 -3
  1038. package/src/components/ExpandableText/ExpandableText.stories.tsx +7 -7
  1039. package/src/components/ExpandableText/ExpandableText.tsx +41 -7
  1040. package/src/components/ExpandableText/useExpandableText.ts +90 -103
  1041. package/src/components/FileInput/FileInput.tsx +17 -5
  1042. package/src/components/FileItem/FileItem.tsx +10 -10
  1043. package/src/components/FileList/FileList.tsx +15 -4
  1044. package/src/components/FileList/FileList.types.ts +9 -0
  1045. package/src/components/FlyTo/FlyTo.stories.tsx +157 -0
  1046. package/src/components/FlyTo/FlyTo.styles.ts +31 -0
  1047. package/src/components/FlyTo/FlyTo.tsx +88 -0
  1048. package/src/components/FlyTo/FlyTo.types.ts +15 -0
  1049. package/src/components/FlyTo/index.ts +2 -0
  1050. package/src/components/Form/FieldError/FieldError.test.tsx +33 -0
  1051. package/src/components/Form/FieldError/FieldError.tsx +20 -0
  1052. package/src/components/Form/FieldError/index.ts +2 -0
  1053. package/src/components/Form/FieldHelp/FieldHelp.tsx +18 -0
  1054. package/src/components/Form/FieldHelp/index.ts +2 -0
  1055. package/src/components/Form/FieldLabel/FieldLabel.tsx +46 -0
  1056. package/src/components/Form/FieldLabel/FieldLabel.types.ts +21 -0
  1057. package/src/components/Form/FieldLabel/index.ts +2 -0
  1058. package/src/components/Form/FieldRow/FieldRow.stories.tsx +85 -0
  1059. package/src/components/Form/FieldRow/FieldRow.test.tsx +89 -0
  1060. package/src/components/Form/FieldRow/FieldRow.tsx +46 -0
  1061. package/src/components/Form/FieldRow/FieldRow.types.ts +32 -0
  1062. package/src/components/Form/FieldRow/index.ts +2 -0
  1063. package/src/components/Form/FormFooter/FormFooter.stories.tsx +70 -0
  1064. package/src/components/Form/FormFooter/FormFooter.test.tsx +67 -0
  1065. package/src/components/Form/FormFooter/FormFooter.tsx +46 -0
  1066. package/src/components/Form/FormFooter/FormFooter.types.ts +23 -0
  1067. package/src/components/Form/FormFooter/index.ts +2 -0
  1068. package/src/components/Form/FormModalFooter/FormModalFooter.stories.tsx +64 -0
  1069. package/src/components/Form/FormModalFooter/FormModalFooter.test.tsx +155 -0
  1070. package/src/components/Form/FormModalFooter/FormModalFooter.tsx +83 -0
  1071. package/src/components/Form/FormModalFooter/FormModalFooter.types.ts +53 -0
  1072. package/src/components/Form/FormModalFooter/index.ts +2 -0
  1073. package/src/components/Form/FormScrollArea/FormScrollArea.tsx +27 -0
  1074. package/src/components/Form/FormScrollArea/index.ts +1 -0
  1075. package/src/components/Form/FormSection/CollapsibleFormSection.tsx +35 -0
  1076. package/src/components/Form/FormSection/FlatFormSection.tsx +41 -0
  1077. package/src/components/Form/FormSection/FormSection.stories.tsx +115 -0
  1078. package/src/components/Form/FormSection/FormSection.test.tsx +89 -0
  1079. package/src/components/Form/FormSection/FormSection.tsx +33 -0
  1080. package/src/components/Form/FormSection/FormSection.types.ts +34 -0
  1081. package/src/components/Form/FormSection/index.ts +2 -0
  1082. package/src/components/Form/FormSectionHeader/FormSectionHeader.stories.tsx +53 -0
  1083. package/src/components/Form/FormSectionHeader/FormSectionHeader.test.tsx +74 -0
  1084. package/src/components/Form/FormSectionHeader/FormSectionHeader.tsx +48 -0
  1085. package/src/components/Form/FormSectionHeader/FormSectionHeader.types.ts +17 -0
  1086. package/src/components/Form/FormSectionHeader/index.ts +2 -0
  1087. package/src/components/Form/index.ts +17 -0
  1088. package/src/components/Icon/ICON_MANAGEMENT.md +1 -0
  1089. package/src/components/Icon/Icon.stories.tsx +6 -2
  1090. package/src/components/Icon/_constants/iconList.ts +523 -299
  1091. package/src/components/Icon/_utils/createIcon.tsx +1 -0
  1092. package/src/components/Icon/index.tsx +210 -27
  1093. package/src/components/IconButton/IconButton.tsx +14 -3
  1094. package/src/components/IconButton/IconButton.types.ts +19 -2
  1095. package/src/components/IconButton/index.tsx +1 -0
  1096. package/src/components/InfoSprinkle/InfoSprinkle.tsx +0 -1
  1097. package/src/components/InlineCode/InlineCode.tsx +9 -2
  1098. package/src/components/Input/Input.stories.tsx +5 -5
  1099. package/src/components/Input/Input.tsx +2 -0
  1100. package/src/components/Loaders/PageLoader.tsx +5 -2
  1101. package/src/components/Loaders/SectionLoader.tsx +2 -1
  1102. package/src/components/Markdown/Markdown.tsx +6 -1
  1103. package/src/components/Menu/MenuItem.tsx +11 -3
  1104. package/src/components/Menu/MenuItem.types.ts +23 -2
  1105. package/src/components/Menu/MenuList.tsx +35 -3
  1106. package/src/components/Modal/Modal.stories.tsx +7 -6
  1107. package/src/components/Modal/Modal.styles.ts +19 -0
  1108. package/src/components/Modal/Modal.tsx +8 -2
  1109. package/src/components/Modal/Modal.types.ts +10 -2
  1110. package/src/components/Modal/ModalContent/ModalContent.tsx +10 -1
  1111. package/src/components/Modal/ModalContext.ts +1 -1
  1112. package/src/components/Modal/ModalOverlay.tsx +9 -1
  1113. package/src/components/Pagination/Pagination.tsx +8 -3
  1114. package/src/components/PasswordInput/PasswordInput.tsx +3 -2
  1115. package/src/components/PinInput/PinInput.stories.tsx +36 -9
  1116. package/src/components/PinInput/PinInput.tsx +54 -45
  1117. package/src/components/PinInput/PinInput.types.ts +17 -25
  1118. package/src/components/Popover/PopoverContent.tsx +3 -0
  1119. package/src/components/ProgressBar/ProgressBar.indeterminate.test.tsx +55 -0
  1120. package/src/components/ProgressBar/ProgressBar.styles.ts +26 -0
  1121. package/src/components/ProgressBar/ProgressBar.tsx +34 -7
  1122. package/src/components/ProgressBar/ProgressBar.types.ts +10 -0
  1123. package/src/components/Pulse/Pulse.remount.test.tsx +179 -0
  1124. package/src/components/Pulse/Pulse.stories.tsx +74 -0
  1125. package/src/components/Pulse/Pulse.styles.ts +42 -0
  1126. package/src/components/Pulse/Pulse.tsx +82 -0
  1127. package/src/components/Pulse/Pulse.types.ts +12 -0
  1128. package/src/components/Pulse/index.ts +2 -0
  1129. package/src/components/Radio/Radio.stories.tsx +34 -22
  1130. package/src/components/Radio/Radio.styles.ts +24 -0
  1131. package/src/components/Radio/RadioControl.tsx +33 -6
  1132. package/src/components/Reveal/Reveal.stories.tsx +61 -0
  1133. package/src/components/Reveal/Reveal.styles.ts +38 -0
  1134. package/src/components/Reveal/Reveal.test.tsx +80 -0
  1135. package/src/components/Reveal/Reveal.tsx +62 -0
  1136. package/src/components/Reveal/Reveal.types.ts +6 -0
  1137. package/src/components/Reveal/index.ts +2 -0
  1138. package/src/components/SeeMoreButton/SeeMoreButton.tsx +12 -5
  1139. package/src/components/SeeMoreButton/SeeMoreButton.types.ts +14 -3
  1140. package/src/components/SegmentedControl/SegmentedControl.styles.ts +22 -0
  1141. package/src/components/SegmentedControl/SegmentedControl.timing.test.tsx +81 -0
  1142. package/src/components/SegmentedControl/SegmentedControl.tsx +7 -1
  1143. package/src/components/Select/Combobox.tsx +7 -1
  1144. package/src/components/Select/ComboboxField.tsx +11 -1
  1145. package/src/components/Select/Comparison.stories.tsx +19 -0
  1146. package/src/components/Select/Select.tsx +3 -0
  1147. package/src/components/Select/Select.types.ts +26 -1
  1148. package/src/components/Select/SelectField.tsx +23 -3
  1149. package/src/components/Shake/Shake.stories.tsx +155 -0
  1150. package/src/components/Shake/Shake.styles.ts +31 -0
  1151. package/src/components/Shake/Shake.tsx +79 -0
  1152. package/src/components/Shake/Shake.types.ts +11 -0
  1153. package/src/components/Shake/index.ts +2 -0
  1154. package/src/components/Slider/Slider.tsx +16 -1
  1155. package/src/components/Slider/Slider.types.ts +15 -0
  1156. package/src/components/Spinner/Spinner.styles.ts +32 -0
  1157. package/src/components/Spinner/Spinner.tsx +9 -2
  1158. package/src/components/SwapTransition/SwapTransition.stories.tsx +229 -0
  1159. package/src/components/SwapTransition/SwapTransition.styles.ts +38 -0
  1160. package/src/components/SwapTransition/SwapTransition.test.tsx +127 -0
  1161. package/src/components/SwapTransition/SwapTransition.tsx +130 -0
  1162. package/src/components/SwapTransition/SwapTransition.types.ts +22 -0
  1163. package/src/components/SwapTransition/index.ts +2 -0
  1164. package/src/components/Switch/SwitchControl.tsx +11 -1
  1165. package/src/components/Table/Table.stories.tsx +253 -0
  1166. package/src/components/Table/TableContext.tsx +101 -35
  1167. package/src/components/Table/Td.tsx +13 -8
  1168. package/src/components/Table/Th.tsx +13 -8
  1169. package/src/components/Table/contextStability.test.tsx +140 -0
  1170. package/src/components/Table/stickyWidth.test.tsx +138 -0
  1171. package/src/components/Table/useRegisterStickyWidth.ts +83 -0
  1172. package/src/components/Tabs/Tab/Tab.styles.ts +48 -5
  1173. package/src/components/Tabs/Tab/index.ts +1 -0
  1174. package/src/components/Tabs/index.tsx +1 -1
  1175. package/src/components/Tag/Tag.styles.ts +27 -21
  1176. package/src/components/Tag/Tag.tsx +14 -4
  1177. package/src/components/Tag/Tag.types.ts +17 -4
  1178. package/src/components/Tag/index.ts +6 -1
  1179. package/src/components/Textarea/Textarea.tsx +2 -0
  1180. package/src/components/Toast/Toast.action.test.tsx +135 -0
  1181. package/src/components/Toast/Toast.stories.tsx +111 -0
  1182. package/src/components/Toast/Toast.styles.ts +60 -0
  1183. package/src/components/Toast/Toast.tsx +16 -3
  1184. package/src/components/Toast/Toast.types.ts +26 -1
  1185. package/src/components/Toast/ToastIcon/ToastIcon.tsx +8 -8
  1186. package/src/components/Toast/Toaster.tsx +11 -0
  1187. package/src/components/Toast/useToast.tsx +17 -2
  1188. package/src/components/Tooltip/Tooltip.instant.test.tsx +43 -0
  1189. package/src/components/Tooltip/Tooltip.tsx +15 -1
  1190. package/src/components/Tree/TreeBranchIndicator.tsx +4 -4
  1191. package/src/components/Typography/Caption.tsx +41 -0
  1192. package/src/components/Typography/H1.tsx +10 -3
  1193. package/src/components/Typography/H2.tsx +10 -3
  1194. package/src/components/Typography/H3.tsx +10 -4
  1195. package/src/components/Typography/H4.tsx +10 -3
  1196. package/src/components/Typography/H5.tsx +10 -3
  1197. package/src/components/Typography/Link.tsx +71 -12
  1198. package/src/components/Typography/Overline.tsx +9 -3
  1199. package/src/components/Typography/Subtext.tsx +9 -3
  1200. package/src/components/Typography/Subtitle.tsx +26 -4
  1201. package/src/components/Typography/Text.tsx +9 -3
  1202. package/src/components/Typography/Typography.stories.tsx +69 -1
  1203. package/src/components/Typography/Typography.types.ts +47 -2
  1204. package/src/components/Typography/index.ts +9 -2
  1205. package/src/components/Workflow/README.md +64 -0
  1206. package/src/components/Workflow/Workflow.tsx +2 -0
  1207. package/src/components/Workflow/Workflow.types.ts +10 -0
  1208. package/src/components/Workflow/canvas/Canvas/BranchLabelBadge.tsx +3 -3
  1209. package/src/components/Workflow/canvas/Canvas/Canvas.tsx +57 -53
  1210. package/src/components/Workflow/canvas/Canvas/CanvasControls.tsx +15 -15
  1211. package/src/components/Workflow/canvas/Canvas/LabeledEdge.tsx +2 -2
  1212. package/src/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.tsx +8 -4
  1213. package/src/components/Workflow/canvas/DrawerShell/DrawerHeader.tsx +3 -3
  1214. package/src/components/Workflow/canvas/DrawerShell/DrawerIssues.tsx +2 -2
  1215. package/src/components/Workflow/canvas/DrawerShell/DrawerShell.tsx +2 -2
  1216. package/src/components/Workflow/canvas/FieldWrapper/FieldWrapper.tsx +3 -3
  1217. package/src/components/Workflow/canvas/GenericNode/GenericNode.tsx +2 -2
  1218. package/src/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.tsx +8 -5
  1219. package/src/components/Workflow/canvas/NodePalette/NodePalette.tsx +15 -5
  1220. package/src/components/Workflow/canvas/NodePalette/NodePaletteToggle.tsx +2 -2
  1221. package/src/components/Workflow/canvas/NodeShell/NodeShell.tsx +4 -4
  1222. package/src/components/Workflow/createNode.test.ts +40 -2
  1223. package/src/components/Workflow/createNode.ts +70 -2
  1224. package/src/components/Workflow/index.ts +8 -0
  1225. package/src/components/Workflow/layout/autoLayout.ts +4 -4
  1226. package/src/components/Workflow/placement.test.ts +156 -0
  1227. package/src/components/Workflow/placement.ts +172 -0
  1228. package/src/components/Workflow/stories/Workflow.stories.tsx +79 -0
  1229. package/src/components/Workflow/stories/toyNodeTypes.tsx +4 -4
  1230. package/src/components/Workflow/useWorkflowActions.test.tsx +345 -0
  1231. package/src/components/Workflow/useWorkflowActions.ts +196 -0
  1232. package/src/components/a11y.kwcag.test.tsx +502 -0
  1233. package/src/components/componentMotion.test.ts +110 -0
  1234. package/src/guidelines/FeedbackActions.mdx +133 -0
  1235. package/src/index.ts +60 -0
  1236. package/src/styles.ts +20 -0
  1237. package/src/test-support/setup.ts +13 -0
  1238. package/src/theme/Motion.stories.tsx +1613 -0
  1239. package/src/theme/MotionCases.stories.tsx +679 -0
  1240. package/src/theme/Palette.stories.tsx +72 -23
  1241. package/src/theme/animationStyles.test.ts +185 -0
  1242. package/src/theme/claude.md +121 -2
  1243. package/src/theme/colors.ts +154 -83
  1244. package/src/theme/formControls.ts +58 -0
  1245. package/src/theme/index.ts +82 -4
  1246. package/src/theme/motion.test.ts +50 -0
  1247. package/src/theme/motion.ts +668 -0
  1248. package/src/theme/motionGuards.test.ts +137 -0
  1249. package/src/theme/recipes/accordion.ts +20 -0
  1250. package/src/translations/Defaults.translations.json +8 -1
  1251. package/src/types/polymorphic.ts +114 -0
  1252. package/src/utils/cubicBezier.ts +69 -0
  1253. package/src/utils/focusRing.ts +7 -4
  1254. package/src/utils/mergeCss.ts +1 -1
  1255. package/src/utils/staggerProps.test.ts +105 -0
  1256. package/src/utils/staggerProps.ts +63 -0
@@ -1,15 +1,19 @@
1
1
  "use client";
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { Container as Container$1 } from '@chakra-ui/react';
4
+ import { polymorphic } from '../../types/polymorphic.mjs';
4
5
  import useContainerSize from './useContainerSize.mjs';
5
6
 
6
- const Container = ({ style, disableResponsive, ...rest }) => {
7
+ const ContainerImpl = ({ style, disableResponsive, ...rest }) => {
7
8
  const containerSize = useContainerSize();
8
9
  return (jsx(Container$1, { style: {
9
10
  ...style,
10
11
  ...(disableResponsive ? {} : { minWidth: `${containerSize}px` }),
11
12
  }, ...rest }));
12
13
  };
14
+ ContainerImpl.displayName = 'Container';
15
+ /** Type-level polymorphism over the same runtime — see `polymorphic`. */
16
+ const Container = polymorphic(ContainerImpl);
13
17
 
14
18
  export { Container };
15
19
  //# sourceMappingURL=Container.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Container.mjs","sources":["../../../src/components/Container/Container.tsx"],"sourcesContent":[null],"names":["_jsx","ChakraContainer"],"mappings":";;;;;AAKO,MAAM,SAAS,GAAG,CAAC,EACxB,KAAK,EACL,iBAAiB,EACjB,GAAG,IAAI,EAC0C,KAAI;AACrD,IAAA,MAAM,aAAa,GAAG,gBAAgB,EAAE;AACxC,IAAA,QACEA,GAAA,CAACC,WAAe,EAAA,EACd,KAAK,EAAE;AACL,YAAA,GAAG,KAAK;AACR,YAAA,IAAI,iBAAiB,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAA,EAAG,aAAa,CAAA,EAAA,CAAI,EAAE,CAAC;SACjE,EAAA,GACG,IAAI,EAAA,CACR;AAEN;;;;"}
1
+ {"version":3,"file":"Container.mjs","sources":["../../../src/components/Container/Container.tsx"],"sourcesContent":[null],"names":["_jsx","ChakraContainer"],"mappings":";;;;;;AAOA,MAAM,aAAa,GAAG,CAAC,EACrB,KAAK,EACL,iBAAiB,EACjB,GAAG,IAAI,EACW,KAAI;AACtB,IAAA,MAAM,aAAa,GAAG,gBAAgB,EAAE;AACxC,IAAA,QACEA,GAAA,CAACC,WAAe,EAAA,EACd,KAAK,EAAE;AACL,YAAA,GAAG,KAAK;AACR,YAAA,IAAI,iBAAiB,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAA,EAAG,aAAa,CAAA,EAAA,CAAI,EAAE,CAAC;SACjE,EAAA,GACG,IAAI,EAAA,CACR;AAEN,CAAC;AAED,aAAa,CAAC,WAAW,GAAG,WAAW;AAEvC;MACa,SAAS,GAAG,WAAW,CAA2B,aAAa;;;;"}
@@ -0,0 +1,16 @@
1
+ import type { ElementType } from 'react';
2
+ import { ContainerProps as ChakraContainerProps } from '@chakra-ui/react';
3
+ import type { PolymorphicProps } from '../../types/polymorphic';
4
+ export type ContainerOwnProps = Omit<ChakraContainerProps, 'as'> & {
5
+ /** Skip the responsive `minWidth` this component otherwise applies. */
6
+ disableResponsive?: boolean;
7
+ };
8
+ /**
9
+ * Props for `Container`, typed for whatever element `as` renders.
10
+ *
11
+ * Defaults to `'div'`, so the bare type is unchanged. A page container is
12
+ * often a landmark — `as="main"` / `as="section"` / `as="nav"` is how it says
13
+ * so, and KWCAG 반복 영역 건너뛰기 grades that structure.
14
+ */
15
+ export type ContainerProps<TElement extends ElementType = 'div'> = PolymorphicProps<TElement, ContainerOwnProps>;
16
+ //# sourceMappingURL=Container.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Container.types.d.ts","sourceRoot":"","sources":["../../../src/components/Container/Container.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAG1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,EAAE,IAAI,CAAC,GAAG;IACjE,uEAAuE;IACvE,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,CAAC,QAAQ,SAAS,WAAW,GAAG,KAAK,IAC7D,gBAAgB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { Container } from './Container';
2
+ export type { ContainerOwnProps, ContainerProps } from './Container.types';
2
3
  export * from './useContainerSize';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC3E,cAAc,oBAAoB,CAAC"}
@@ -2,6 +2,12 @@ import { CopyableCodeProps } from './CopyableCode.types';
2
2
  /**
3
3
  * Intended for a quick one-click copy of one-liner code snippets.
4
4
  *
5
+ * The button answers for itself: on click the copy icon crosses into a check and
6
+ * the label flips to "copied", then reverts. Copying is otherwise invisible —
7
+ * without a reply the member has no way to know it worked and clicks again — and
8
+ * a global toast is too much ceremony for something this small, so the control
9
+ * that was pressed is the thing that confirms.
10
+ *
5
11
  * @example
6
12
  * <CopyableCode onCopy={() => {}}>
7
13
  * {`const example = 'This is a code example';
@@ -1 +1 @@
1
- {"version":3,"file":"CopyableCode.d.ts","sourceRoot":"","sources":["../../../src/components/CopyableCode/CopyableCode.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,GAAI,uCAI1B,iBAAiB,4CAmCnB,CAAC"}
1
+ {"version":3,"file":"CopyableCode.d.ts","sourceRoot":"","sources":["../../../src/components/CopyableCode/CopyableCode.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AA6DzD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,YAAY,GAAI,uCAI1B,iBAAiB,4CA+DnB,CAAC"}
@@ -2,15 +2,52 @@
2
2
  'use strict';
3
3
 
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
5
6
  var react = require('@chakra-ui/react');
6
7
  var useTranslate = require('../../hooks/useTranslate.js');
7
8
  var Button = require('../Button/Button.js');
8
9
  var Card = require('../Card/Card.js');
9
10
  var index = require('../Icon/index.js');
10
11
 
12
+ /** How long the button stays in its confirmed state before reverting, in ms. */
13
+ const CONFIRM_HOLD_MS = 1600;
14
+ /** How far the label sits from the window when it is not the one showing. */
15
+ const LABEL_OFFSET = '8px';
16
+ /**
17
+ * The two clocks a label swap needs: the outgoing label clears fast so the
18
+ * incoming one is not read through it, while the travel is slow enough to read
19
+ * as one thing replacing another rather than a flicker.
20
+ */
21
+ const LABEL_TRANSITION = [
22
+ 'opacity var(--chakra-durations-fast) var(--chakra-easings-standard)',
23
+ 'translate var(--chakra-durations-motion-base) var(--chakra-easings-emphasized)',
24
+ ].join(', ');
25
+ /**
26
+ * One of the button's two labels, stacked in the same grid cell as the other.
27
+ *
28
+ * Both labels are always in the layout, so the button is as wide as the longer
29
+ * of them and stops resizing when the state flips. That is the whole point
30
+ * here: this button is absolutely positioned against the right edge, and
31
+ * "복사" → "복사 완료" is two characters wider, so growing walked the button
32
+ * leftwards over the code the moment it was clicked (measured: 59px → 87px).
33
+ *
34
+ * Sizing this way rather than with a hand-tuned `minW` means the lock survives
35
+ * translation, where the longest string is not the one you measured.
36
+ *
37
+ * `past` decides which way the label leaves: the idle label has already
38
+ * happened by the time the confirmation shows, so it leaves upward and the
39
+ * confirmation rises into its place.
40
+ */
41
+ const SwapLabel = ({ show, past, children, }) => (jsxRuntime.jsx(react.Box, { gridArea: "1 / 1", display: "inline-flex", alignItems: "center", justifyContent: "center", gap: "1.5", whiteSpace: "nowrap", opacity: show ? 1 : 0, translate: show ? '0 0' : `0 ${past ? '-' : ''}${LABEL_OFFSET}`, pointerEvents: show ? undefined : 'none', "aria-hidden": !show || undefined, transition: LABEL_TRANSITION, animationStyle: "composite", children: children }));
11
42
  /**
12
43
  * Intended for a quick one-click copy of one-liner code snippets.
13
44
  *
45
+ * The button answers for itself: on click the copy icon crosses into a check and
46
+ * the label flips to "copied", then reverts. Copying is otherwise invisible —
47
+ * without a reply the member has no way to know it worked and clicks again — and
48
+ * a global toast is too much ceremony for something this small, so the control
49
+ * that was pressed is the thing that confirms.
50
+ *
14
51
  * @example
15
52
  * <CopyableCode onCopy={() => {}}>
16
53
  * {`const example = 'This is a code example';
@@ -19,10 +56,21 @@ var index = require('../Icon/index.js');
19
56
  */
20
57
  const CopyableCode = ({ children, onCopy, containerProps, }) => {
21
58
  const translate = useTranslate.useTranslate();
59
+ const [copied, setCopied] = React.useState(false);
60
+ const timer = React.useRef(undefined);
61
+ // The revert fires 1.6s after the click; unmounting in between would leave it
62
+ // writing into a gone component.
63
+ React.useEffect(() => () => clearTimeout(timer.current), []);
64
+ const handleCopy = () => {
65
+ onCopy?.();
66
+ setCopied(true);
67
+ clearTimeout(timer.current);
68
+ timer.current = setTimeout(() => setCopied(false), CONFIRM_HOLD_MS);
69
+ };
22
70
  return (jsxRuntime.jsxs(react.Flex, { position: "relative", width: "100%", ...containerProps, children: [jsxRuntime.jsxs(Card.Card, { overflow: "hidden", maxW: "100%", p: 0, width: "100%", children: [jsxRuntime.jsx(react.Box, { as: "pre", whiteSpace: "nowrap", overflowX: "scroll", p: 4, pr: 20, children: children }), jsxRuntime.jsx(react.Box, { position: "absolute", right: 0, top: 0, bottom: 0, w: 24,
23
71
  // Fade matches the Card surface (bg.surface) so it flips with the
24
72
  // mode instead of fading to white on dark.
25
- bg: "linear-gradient(to right, transparent, var(--chakra-colors-bg-surface) 15%)", pointerEvents: "none" })] }), jsxRuntime.jsxs(Button.Button, { colorPalette: "primary", variant: "solid", size: "xs", onClick: onCopy, position: "absolute", right: 4, top: "50%", transform: "translateY(-50%)", zIndex: 1, children: [jsxRuntime.jsx(index.FaRegCopy, { boxSize: "xs" }), " ", translate('copy')] })] }));
73
+ bg: "linear-gradient(to right, transparent, var(--chakra-colors-bg-surface) 15%)", pointerEvents: "none" })] }), jsxRuntime.jsx(Button.Button, { colorPalette: copied ? 'success' : 'primary', variant: "solid", size: "xs", onClick: handleCopy, position: "absolute", right: 4, top: "50%", transform: "translateY(-50%)", zIndex: 1, children: jsxRuntime.jsxs(react.Box, { display: "inline-grid", placeItems: "center", overflow: "hidden", children: [jsxRuntime.jsxs(SwapLabel, { show: !copied, past: true, children: [jsxRuntime.jsx(index.FaRegCopy, { boxSize: "xs" }), translate('copy')] }), jsxRuntime.jsxs(SwapLabel, { show: copied, past: false, children: [jsxRuntime.jsx(index.FaCheck, { boxSize: "xs" }), translate('copied')] })] }) })] }));
26
74
  };
27
75
 
28
76
  exports.CopyableCode = CopyableCode;
@@ -1 +1 @@
1
- {"version":3,"file":"CopyableCode.js","sources":["../../../src/components/CopyableCode/CopyableCode.tsx"],"sourcesContent":[null],"names":["useTranslate","_jsxs","Flex","Card","_jsx","Box","Button","FaRegCopy"],"mappings":";;;;;;;;;;AAQA;;;;;;;;AAQG;AACI,MAAM,YAAY,GAAG,CAAC,EAC3B,QAAQ,EACR,MAAM,EACN,cAAc,GACI,KAAI;AACtB,IAAA,MAAM,SAAS,GAAGA,yBAAY,EAAE;AAChC,IAAA,QACEC,eAAA,CAACC,UAAI,EAAA,EAAC,QAAQ,EAAC,UAAU,EAAC,KAAK,EAAC,MAAM,EAAA,GAAK,cAAc,aACvDD,eAAA,CAACE,SAAI,IAAC,QAAQ,EAAC,QAAQ,EAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAC,MAAM,EAAA,QAAA,EAAA,CACpDC,cAAA,CAACC,SAAG,EAAA,EAAC,EAAE,EAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,YAC9D,QAAQ,EAAA,CACL,EACND,cAAA,CAACC,SAAG,EAAA,EACF,QAAQ,EAAC,UAAU,EACnB,KAAK,EAAE,CAAC,EACR,GAAG,EAAE,CAAC,EACN,MAAM,EAAE,CAAC,EACT,CAAC,EAAE,EAAE;;;AAGL,wBAAA,EAAE,EAAC,6EAA6E,EAChF,aAAa,EAAC,MAAM,EAAA,CACpB,CAAA,EAAA,CACG,EACPJ,eAAA,CAACK,aAAM,EAAA,EACL,YAAY,EAAC,SAAS,EACtB,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,MAAM,EACf,QAAQ,EAAC,UAAU,EACnB,KAAK,EAAE,CAAC,EACR,GAAG,EAAC,KAAK,EACT,SAAS,EAAC,kBAAkB,EAC5B,MAAM,EAAE,CAAC,EAAA,QAAA,EAAA,CAETF,cAAA,CAACG,eAAS,EAAA,EAAC,OAAO,EAAC,IAAI,EAAA,CAAG,EAAA,GAAA,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA,EAAA,CACtC,CAAA,EAAA,CACJ;AAEX;;;;"}
1
+ {"version":3,"file":"CopyableCode.js","sources":["../../../src/components/CopyableCode/CopyableCode.tsx"],"sourcesContent":[null],"names":["_jsx","Box","useTranslate","useState","useRef","useEffect","_jsxs","Flex","Card","Button","FaRegCopy","FaCheck"],"mappings":"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"}
@@ -1,14 +1,51 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { useState, useRef, useEffect } from 'react';
3
4
  import { Flex, Box } from '@chakra-ui/react';
4
5
  import { useTranslate } from '../../hooks/useTranslate.mjs';
5
6
  import { Button } from '../Button/Button.mjs';
6
7
  import { Card } from '../Card/Card.mjs';
7
- import { FaRegCopy } from '../Icon/index.mjs';
8
+ import { FaRegCopy, FaCheck } from '../Icon/index.mjs';
8
9
 
10
+ /** How long the button stays in its confirmed state before reverting, in ms. */
11
+ const CONFIRM_HOLD_MS = 1600;
12
+ /** How far the label sits from the window when it is not the one showing. */
13
+ const LABEL_OFFSET = '8px';
14
+ /**
15
+ * The two clocks a label swap needs: the outgoing label clears fast so the
16
+ * incoming one is not read through it, while the travel is slow enough to read
17
+ * as one thing replacing another rather than a flicker.
18
+ */
19
+ const LABEL_TRANSITION = [
20
+ 'opacity var(--chakra-durations-fast) var(--chakra-easings-standard)',
21
+ 'translate var(--chakra-durations-motion-base) var(--chakra-easings-emphasized)',
22
+ ].join(', ');
23
+ /**
24
+ * One of the button's two labels, stacked in the same grid cell as the other.
25
+ *
26
+ * Both labels are always in the layout, so the button is as wide as the longer
27
+ * of them and stops resizing when the state flips. That is the whole point
28
+ * here: this button is absolutely positioned against the right edge, and
29
+ * "복사" → "복사 완료" is two characters wider, so growing walked the button
30
+ * leftwards over the code the moment it was clicked (measured: 59px → 87px).
31
+ *
32
+ * Sizing this way rather than with a hand-tuned `minW` means the lock survives
33
+ * translation, where the longest string is not the one you measured.
34
+ *
35
+ * `past` decides which way the label leaves: the idle label has already
36
+ * happened by the time the confirmation shows, so it leaves upward and the
37
+ * confirmation rises into its place.
38
+ */
39
+ const SwapLabel = ({ show, past, children, }) => (jsx(Box, { gridArea: "1 / 1", display: "inline-flex", alignItems: "center", justifyContent: "center", gap: "1.5", whiteSpace: "nowrap", opacity: show ? 1 : 0, translate: show ? '0 0' : `0 ${past ? '-' : ''}${LABEL_OFFSET}`, pointerEvents: show ? undefined : 'none', "aria-hidden": !show || undefined, transition: LABEL_TRANSITION, animationStyle: "composite", children: children }));
9
40
  /**
10
41
  * Intended for a quick one-click copy of one-liner code snippets.
11
42
  *
43
+ * The button answers for itself: on click the copy icon crosses into a check and
44
+ * the label flips to "copied", then reverts. Copying is otherwise invisible —
45
+ * without a reply the member has no way to know it worked and clicks again — and
46
+ * a global toast is too much ceremony for something this small, so the control
47
+ * that was pressed is the thing that confirms.
48
+ *
12
49
  * @example
13
50
  * <CopyableCode onCopy={() => {}}>
14
51
  * {`const example = 'This is a code example';
@@ -17,10 +54,21 @@ import { FaRegCopy } from '../Icon/index.mjs';
17
54
  */
18
55
  const CopyableCode = ({ children, onCopy, containerProps, }) => {
19
56
  const translate = useTranslate();
57
+ const [copied, setCopied] = useState(false);
58
+ const timer = useRef(undefined);
59
+ // The revert fires 1.6s after the click; unmounting in between would leave it
60
+ // writing into a gone component.
61
+ useEffect(() => () => clearTimeout(timer.current), []);
62
+ const handleCopy = () => {
63
+ onCopy?.();
64
+ setCopied(true);
65
+ clearTimeout(timer.current);
66
+ timer.current = setTimeout(() => setCopied(false), CONFIRM_HOLD_MS);
67
+ };
20
68
  return (jsxs(Flex, { position: "relative", width: "100%", ...containerProps, children: [jsxs(Card, { overflow: "hidden", maxW: "100%", p: 0, width: "100%", children: [jsx(Box, { as: "pre", whiteSpace: "nowrap", overflowX: "scroll", p: 4, pr: 20, children: children }), jsx(Box, { position: "absolute", right: 0, top: 0, bottom: 0, w: 24,
21
69
  // Fade matches the Card surface (bg.surface) so it flips with the
22
70
  // mode instead of fading to white on dark.
23
- bg: "linear-gradient(to right, transparent, var(--chakra-colors-bg-surface) 15%)", pointerEvents: "none" })] }), jsxs(Button, { colorPalette: "primary", variant: "solid", size: "xs", onClick: onCopy, position: "absolute", right: 4, top: "50%", transform: "translateY(-50%)", zIndex: 1, children: [jsx(FaRegCopy, { boxSize: "xs" }), " ", translate('copy')] })] }));
71
+ bg: "linear-gradient(to right, transparent, var(--chakra-colors-bg-surface) 15%)", pointerEvents: "none" })] }), jsx(Button, { colorPalette: copied ? 'success' : 'primary', variant: "solid", size: "xs", onClick: handleCopy, position: "absolute", right: 4, top: "50%", transform: "translateY(-50%)", zIndex: 1, children: jsxs(Box, { display: "inline-grid", placeItems: "center", overflow: "hidden", children: [jsxs(SwapLabel, { show: !copied, past: true, children: [jsx(FaRegCopy, { boxSize: "xs" }), translate('copy')] }), jsxs(SwapLabel, { show: copied, past: false, children: [jsx(FaCheck, { boxSize: "xs" }), translate('copied')] })] }) })] }));
24
72
  };
25
73
 
26
74
  export { CopyableCode };
@@ -1 +1 @@
1
- {"version":3,"file":"CopyableCode.mjs","sources":["../../../src/components/CopyableCode/CopyableCode.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;AAQA;;;;;;;;AAQG;AACI,MAAM,YAAY,GAAG,CAAC,EAC3B,QAAQ,EACR,MAAM,EACN,cAAc,GACI,KAAI;AACtB,IAAA,MAAM,SAAS,GAAG,YAAY,EAAE;AAChC,IAAA,QACEA,IAAA,CAAC,IAAI,EAAA,EAAC,QAAQ,EAAC,UAAU,EAAC,KAAK,EAAC,MAAM,EAAA,GAAK,cAAc,aACvDA,IAAA,CAAC,IAAI,IAAC,QAAQ,EAAC,QAAQ,EAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAC,MAAM,EAAA,QAAA,EAAA,CACpDC,GAAA,CAAC,GAAG,EAAA,EAAC,EAAE,EAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,YAC9D,QAAQ,EAAA,CACL,EACNA,GAAA,CAAC,GAAG,EAAA,EACF,QAAQ,EAAC,UAAU,EACnB,KAAK,EAAE,CAAC,EACR,GAAG,EAAE,CAAC,EACN,MAAM,EAAE,CAAC,EACT,CAAC,EAAE,EAAE;;;AAGL,wBAAA,EAAE,EAAC,6EAA6E,EAChF,aAAa,EAAC,MAAM,EAAA,CACpB,CAAA,EAAA,CACG,EACPD,IAAA,CAAC,MAAM,EAAA,EACL,YAAY,EAAC,SAAS,EACtB,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,MAAM,EACf,QAAQ,EAAC,UAAU,EACnB,KAAK,EAAE,CAAC,EACR,GAAG,EAAC,KAAK,EACT,SAAS,EAAC,kBAAkB,EAC5B,MAAM,EAAE,CAAC,EAAA,QAAA,EAAA,CAETC,GAAA,CAAC,SAAS,EAAA,EAAC,OAAO,EAAC,IAAI,EAAA,CAAG,EAAA,GAAA,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA,EAAA,CACtC,CAAA,EAAA,CACJ;AAEX;;;;"}
1
+ {"version":3,"file":"CopyableCode.mjs","sources":["../../../src/components/CopyableCode/CopyableCode.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"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"}
@@ -0,0 +1,30 @@
1
+ import { CountUpProps } from './CountUp.types';
2
+ /**
3
+ * Counts a number up to `to` — for a balance that just grew, a total that just
4
+ * settled, a KPI that just refreshed.
5
+ *
6
+ * The only thing in the motion layer that CSS cannot animate at all: a number
7
+ * is text, and text content is not an animatable property. So this interpolates
8
+ * in JavaScript — and then reads the *same* curve CSS would have used, through
9
+ * {@link cubicBezier}, rather than inventing an ease-out for the occasion.
10
+ *
11
+ * `motion.slower` is the default and is the top of the response scale on
12
+ * purpose. FactChat's purchase modal counts for 1500ms after a 1000ms delay,
13
+ * which is two and a half seconds of a modal that has already told the reader
14
+ * the answer in its heading. A count-up is a flourish on a number that is
15
+ * already known; past ~700ms it stops reading as earned and starts reading as
16
+ * something to wait out.
17
+ *
18
+ * Under reduced motion the final value renders immediately — the number is the
19
+ * information, and the count is the decoration.
20
+ *
21
+ * **Renders a single `<span>` and wraps nothing.** The other primitives here put
22
+ * a wrapper around their children; this one takes no children and *is* the
23
+ * element, so it drops into running text or a heading with nothing in between.
24
+ *
25
+ * ```tsx
26
+ * <CountUp from={previousBalance} to={balance} />
27
+ * ```
28
+ */
29
+ export declare const CountUp: import("react").ForwardRefExoticComponent<CountUpProps & import("react").RefAttributes<HTMLSpanElement>>;
30
+ //# sourceMappingURL=CountUp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CountUp.d.ts","sourceRoot":"","sources":["../../../src/components/CountUp/CountUp.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAO/C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,OAAO,0GA+EnB,CAAC"}
@@ -0,0 +1,95 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
6
+ var react = require('@chakra-ui/react');
7
+ var cubicBezier = require('../../utils/cubicBezier.js');
8
+ var motion = require('../../theme/motion.js');
9
+
10
+ /** Comma-grouped, which is what a balance is read as. */
11
+ const groupDigits = (n) => Math.round(n).toLocaleString('en-US');
12
+ const ease = cubicBezier.cubicBezier('emphasized');
13
+ /**
14
+ * Counts a number up to `to` — for a balance that just grew, a total that just
15
+ * settled, a KPI that just refreshed.
16
+ *
17
+ * The only thing in the motion layer that CSS cannot animate at all: a number
18
+ * is text, and text content is not an animatable property. So this interpolates
19
+ * in JavaScript — and then reads the *same* curve CSS would have used, through
20
+ * {@link cubicBezier}, rather than inventing an ease-out for the occasion.
21
+ *
22
+ * `motion.slower` is the default and is the top of the response scale on
23
+ * purpose. FactChat's purchase modal counts for 1500ms after a 1000ms delay,
24
+ * which is two and a half seconds of a modal that has already told the reader
25
+ * the answer in its heading. A count-up is a flourish on a number that is
26
+ * already known; past ~700ms it stops reading as earned and starts reading as
27
+ * something to wait out.
28
+ *
29
+ * Under reduced motion the final value renders immediately — the number is the
30
+ * information, and the count is the decoration.
31
+ *
32
+ * **Renders a single `<span>` and wraps nothing.** The other primitives here put
33
+ * a wrapper around their children; this one takes no children and *is* the
34
+ * element, so it drops into running text or a heading with nothing in between.
35
+ *
36
+ * ```tsx
37
+ * <CountUp from={previousBalance} to={balance} />
38
+ * ```
39
+ */
40
+ const CountUp = React.forwardRef(({ to, from, durationMs = motion.MOTION_DURATION_MS.slower, delayMs = 0, format = groupDigits, onEnd, ...rest }, ref) => {
41
+ // Chakra resolves this from the same media query the `_motionReduce`
42
+ // condition compiles to, so the JS branch and the CSS branch cannot drift.
43
+ const reduced = react.useBreakpointValue({ base: false, _motionReduce: true }, { ssr: false });
44
+ // The displayed value lives in a ref and paints through a forced render, so
45
+ // the ~60 frames of a count do not each rebuild the subtree. Only this node
46
+ // re-renders, and only its text changes.
47
+ const shown = React.useRef(from ?? to);
48
+ const [, repaint] = React.useReducer((n) => n + 1, 0);
49
+ // Read inside the effect rather than listed as dependencies: a caller that
50
+ // rebuilds `format` inline every render would otherwise restart the count
51
+ // on every parent render.
52
+ const latest = React.useRef({ format, onEnd, durationMs, delayMs });
53
+ latest.current = { format, onEnd, durationMs, delayMs };
54
+ React.useEffect(() => {
55
+ const start = shown.current;
56
+ if (reduced || start === to) {
57
+ shown.current = to;
58
+ repaint();
59
+ latest.current.onEnd?.();
60
+ return;
61
+ }
62
+ const { durationMs: ms, delayMs: delay } = latest.current;
63
+ let frame = 0;
64
+ let began = 0;
65
+ const step = (now) => {
66
+ if (!began)
67
+ began = now;
68
+ const elapsed = now - began - delay;
69
+ if (elapsed < 0) {
70
+ frame = requestAnimationFrame(step);
71
+ return;
72
+ }
73
+ if (elapsed >= ms) {
74
+ shown.current = to;
75
+ repaint();
76
+ latest.current.onEnd?.();
77
+ return;
78
+ }
79
+ shown.current = start + (to - start) * ease(elapsed / ms);
80
+ repaint();
81
+ frame = requestAnimationFrame(step);
82
+ };
83
+ frame = requestAnimationFrame(step);
84
+ return () => cancelAnimationFrame(frame);
85
+ // `from` is a starting value, not a target: changing it mid-count would
86
+ // restart from a number the reader never saw. Later counts pick up from
87
+ // wherever the last one landed, which is what makes a second reward read
88
+ // as adding to the first.
89
+ }, [to, reduced]);
90
+ return (jsxRuntime.jsx(react.chakra.span, { ref: ref, fontVariantNumeric: "tabular-nums", ...rest, children: format(shown.current) }));
91
+ });
92
+ CountUp.displayName = 'CountUp';
93
+
94
+ exports.CountUp = CountUp;
95
+ //# sourceMappingURL=CountUp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CountUp.js","sources":["../../../src/components/CountUp/CountUp.tsx"],"sourcesContent":[null],"names":["cubicBezier","forwardRef","MOTION_DURATION_MS","useBreakpointValue","useRef","useReducer","useEffect","_jsx","chakra"],"mappings":"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"}
@@ -0,0 +1,93 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef, useRef, useReducer, useEffect } from 'react';
4
+ import { useBreakpointValue, chakra } from '@chakra-ui/react';
5
+ import { cubicBezier } from '../../utils/cubicBezier.mjs';
6
+ import { MOTION_DURATION_MS } from '../../theme/motion.mjs';
7
+
8
+ /** Comma-grouped, which is what a balance is read as. */
9
+ const groupDigits = (n) => Math.round(n).toLocaleString('en-US');
10
+ const ease = cubicBezier('emphasized');
11
+ /**
12
+ * Counts a number up to `to` — for a balance that just grew, a total that just
13
+ * settled, a KPI that just refreshed.
14
+ *
15
+ * The only thing in the motion layer that CSS cannot animate at all: a number
16
+ * is text, and text content is not an animatable property. So this interpolates
17
+ * in JavaScript — and then reads the *same* curve CSS would have used, through
18
+ * {@link cubicBezier}, rather than inventing an ease-out for the occasion.
19
+ *
20
+ * `motion.slower` is the default and is the top of the response scale on
21
+ * purpose. FactChat's purchase modal counts for 1500ms after a 1000ms delay,
22
+ * which is two and a half seconds of a modal that has already told the reader
23
+ * the answer in its heading. A count-up is a flourish on a number that is
24
+ * already known; past ~700ms it stops reading as earned and starts reading as
25
+ * something to wait out.
26
+ *
27
+ * Under reduced motion the final value renders immediately — the number is the
28
+ * information, and the count is the decoration.
29
+ *
30
+ * **Renders a single `<span>` and wraps nothing.** The other primitives here put
31
+ * a wrapper around their children; this one takes no children and *is* the
32
+ * element, so it drops into running text or a heading with nothing in between.
33
+ *
34
+ * ```tsx
35
+ * <CountUp from={previousBalance} to={balance} />
36
+ * ```
37
+ */
38
+ const CountUp = forwardRef(({ to, from, durationMs = MOTION_DURATION_MS.slower, delayMs = 0, format = groupDigits, onEnd, ...rest }, ref) => {
39
+ // Chakra resolves this from the same media query the `_motionReduce`
40
+ // condition compiles to, so the JS branch and the CSS branch cannot drift.
41
+ const reduced = useBreakpointValue({ base: false, _motionReduce: true }, { ssr: false });
42
+ // The displayed value lives in a ref and paints through a forced render, so
43
+ // the ~60 frames of a count do not each rebuild the subtree. Only this node
44
+ // re-renders, and only its text changes.
45
+ const shown = useRef(from ?? to);
46
+ const [, repaint] = useReducer((n) => n + 1, 0);
47
+ // Read inside the effect rather than listed as dependencies: a caller that
48
+ // rebuilds `format` inline every render would otherwise restart the count
49
+ // on every parent render.
50
+ const latest = useRef({ format, onEnd, durationMs, delayMs });
51
+ latest.current = { format, onEnd, durationMs, delayMs };
52
+ useEffect(() => {
53
+ const start = shown.current;
54
+ if (reduced || start === to) {
55
+ shown.current = to;
56
+ repaint();
57
+ latest.current.onEnd?.();
58
+ return;
59
+ }
60
+ const { durationMs: ms, delayMs: delay } = latest.current;
61
+ let frame = 0;
62
+ let began = 0;
63
+ const step = (now) => {
64
+ if (!began)
65
+ began = now;
66
+ const elapsed = now - began - delay;
67
+ if (elapsed < 0) {
68
+ frame = requestAnimationFrame(step);
69
+ return;
70
+ }
71
+ if (elapsed >= ms) {
72
+ shown.current = to;
73
+ repaint();
74
+ latest.current.onEnd?.();
75
+ return;
76
+ }
77
+ shown.current = start + (to - start) * ease(elapsed / ms);
78
+ repaint();
79
+ frame = requestAnimationFrame(step);
80
+ };
81
+ frame = requestAnimationFrame(step);
82
+ return () => cancelAnimationFrame(frame);
83
+ // `from` is a starting value, not a target: changing it mid-count would
84
+ // restart from a number the reader never saw. Later counts pick up from
85
+ // wherever the last one landed, which is what makes a second reward read
86
+ // as adding to the first.
87
+ }, [to, reduced]);
88
+ return (jsx(chakra.span, { ref: ref, fontVariantNumeric: "tabular-nums", ...rest, children: format(shown.current) }));
89
+ });
90
+ CountUp.displayName = 'CountUp';
91
+
92
+ export { CountUp };
93
+ //# sourceMappingURL=CountUp.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CountUp.mjs","sources":["../../../src/components/CountUp/CountUp.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"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"}
@@ -0,0 +1,19 @@
1
+ import type { HTMLChakraProps } from '@chakra-ui/react';
2
+ export interface CountUpProps extends HTMLChakraProps<'span'> {
3
+ /** The value to land on. */
4
+ to: number;
5
+ /**
6
+ * Where the first count starts. Omit to render `to` immediately and count
7
+ * only when it changes later.
8
+ */
9
+ from?: number;
10
+ /** Count duration. Defaults to `motion.slower` (700ms). */
11
+ durationMs?: number;
12
+ /** Delay before counting — e.g. to let a modal finish arriving. */
13
+ delayMs?: number;
14
+ /** Formats each intermediate value. Defaults to comma-grouped digits. */
15
+ format?: (n: number) => string;
16
+ /** Fires once a count settles, including under reduced motion. */
17
+ onEnd?: () => void;
18
+ }
19
+ //# sourceMappingURL=CountUp.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CountUp.types.d.ts","sourceRoot":"","sources":["../../../src/components/CountUp/CountUp.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,YAAa,SAAQ,eAAe,CAAC,MAAM,CAAC;IAC3D,4BAA4B;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yEAAyE;IACzE,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/B,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ export { CountUp } from './CountUp';
2
+ export type { CountUpProps } from './CountUp.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CountUp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorFallback/ErrorFallback.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,SAAS,EACT,aAAa,EACb,MAAM,EACN,YAAY,GACb,EAAE,kBAAkB,2CA6LpB"}
1
+ {"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorFallback/ErrorFallback.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,SAAS,EACT,aAAa,EACb,MAAM,EACN,YAAY,GACb,EAAE,kBAAkB,2CAyNpB"}
@@ -2,15 +2,16 @@
2
2
  'use strict';
3
3
 
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
5
6
  var react = require('@chakra-ui/react');
6
7
  var useTranslate = require('../../hooks/useTranslate.js');
7
8
  var Button = require('../Button/Button.js');
8
9
  var Card = require('../Card/Card.js');
9
10
  var Container = require('../Container/Container.js');
10
- require('react');
11
11
  require('../../theme/index.js');
12
12
  var index = require('../Icon/index.js');
13
13
  var useToast = require('../Toast/useToast.js');
14
+ require('../Typography/Caption.js');
14
15
  var H1 = require('../Typography/H1.js');
15
16
  require('../Typography/H2.js');
16
17
  require('../Typography/H3.js');
@@ -25,6 +26,8 @@ var Text = require('../Typography/Text.js');
25
26
  function ErrorFallback({ error, errorId, timestamp, componentName, userId, onErrorReset, }) {
26
27
  const translate = useTranslate.useTranslate();
27
28
  const showToast = useToast.useToast();
29
+ // Names the landmark below with the same words the card shows as its title.
30
+ const titleId = React.useId();
28
31
  const errorInfo = {
29
32
  errorId: errorId ??
30
33
  `ERR-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 7)}`.toUpperCase(),
@@ -60,7 +63,19 @@ User Agent: ${errorInfo.userAgent}`;
60
63
  });
61
64
  });
62
65
  };
63
- return (jsxRuntime.jsx(react.Flex, { minH: "100vh", align: "center", justify: "center", p: 8, children: jsxRuntime.jsx(Container.Container, { disableResponsive: true, maxW: "container.sm", children: jsxRuntime.jsx(Card.Card, { p: 12, textAlign: "center", w: "full", bgColor: "bg.surface", boxShadow: "2xl", children: jsxRuntime.jsxs(react.VStack, { gap: 6, align: "center", w: "full", mx: "auto", children: [jsxRuntime.jsx(react.Box, { position: "relative", p: 4, bg: "danger.extralight", borderRadius: "full", children: jsxRuntime.jsx(index.MdError, { boxSize: "xl", color: "danger.main" }) }), jsxRuntime.jsxs(react.VStack, { gap: 3, align: "center", w: "full", children: [jsxRuntime.jsx(H1.H1, { color: "fg.default", textStyle: "h2", fontWeight: "bold", children: translate('error_boundary_title') }), jsxRuntime.jsx(Subtitle.Subtitle, { color: "fg.muted", textStyle: "h5", maxW: "md", children: translate('error_boundary_subtitle') })] }), jsxRuntime.jsx(Card.Card, { bg: "danger.extralight", border: "1px solid", borderColor: "danger.lighter", p: 4, w: "full", children: jsxRuntime.jsx(Text.Text, { color: "danger.dark", fontFamily: "mono", wordBreak: "break-word", children: error?.message || translate('error_boundary_default_message') }) }), jsxRuntime.jsxs(Card.Card, { bg: "primary.extralight", borderColor: "primary.lighter", p: 6, w: "full", children: [jsxRuntime.jsx(H4.H4, { color: "primary.dark", mb: 4, textAlign: "center", children: translate('support_information') }), jsxRuntime.jsxs(react.VStack, { gap: 2, align: "stretch", mb: 4, children: [jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('error_id'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: errorInfo.errorId })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('time'), ":"] }), jsxRuntime.jsx(Subtext.Subtext, { fontFamily: "mono", children: new Date().toLocaleString() })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('component'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: componentName || translate('unknown') })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('user_id'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: userId ?? translate('anonymous') })] }), typeof window !== 'undefined' && (jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('page'), ":"] }), jsxRuntime.jsx(Subtext.Subtext, { fontFamily: "mono", children: window.location.pathname })] }))] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", align: "flex-end", gap: 4, children: [jsxRuntime.jsx(Text.Text, { textAlign: "left", children: translate('support_help_text') }), jsxRuntime.jsxs(Button.Button, { onClick: copyErrorInfo, size: "sm", minW: "fit-content", variant: "ghost", children: [jsxRuntime.jsx(index.FaRegCopy, { boxSize: "xs" }), " ", translate('copy_error_details')] })] })] }), jsxRuntime.jsxs(react.VStack, { gap: 3, w: "full", align: "center", children: [jsxRuntime.jsxs(Button.Button, { onClick: onErrorReset, size: "lg", variant: "solid", _hover: {
66
+ return (
67
+ // A landmark, and a named one. This card replaces whatever failed — often
68
+ // the whole page, so the host's `<main>` goes with it — and a screen-reader
69
+ // user then has nothing to navigate by: axe reports every node under
70
+ // `region`, and there is no landmark to jump to (KWCAG 2.1 5.2.4.1 반복
71
+ // 영역 건너뛰기). A `<section>` labelled by the error title is a region
72
+ // landmark wherever it renders, which `<main>` would not be — a segment-level
73
+ // boundary leaves the host's `<main>` in place, and two of those is its own
74
+ // failure.
75
+ jsxRuntime.jsx(react.Flex, { as: "section", "aria-labelledby": titleId,
76
+ // `svh`: `100vh` is the largest mobile viewport and overflows under
77
+ // the URL bar.
78
+ minH: "100svh", align: "center", justify: "center", p: 8, children: jsxRuntime.jsx(Container.Container, { disableResponsive: true, maxW: "container.sm", children: jsxRuntime.jsx(Card.Card, { p: 12, textAlign: "center", w: "full", bgColor: "bg.surface", boxShadow: "2xl", children: jsxRuntime.jsxs(react.VStack, { gap: 6, align: "center", w: "full", mx: "auto", children: [jsxRuntime.jsx(react.Box, { position: "relative", p: 4, bg: "danger.extralight", borderRadius: "full", children: jsxRuntime.jsx(index.MdError, { boxSize: "xl", color: "danger.main" }) }), jsxRuntime.jsxs(react.VStack, { gap: 3, align: "center", w: "full", children: [jsxRuntime.jsx(H1.H1, { id: titleId, color: "fg.default", textStyle: "h2", fontWeight: "bold", children: translate('error_boundary_title') }), jsxRuntime.jsx(Subtitle.Subtitle, { color: "fg.muted", textStyle: "h5", maxW: "md", children: translate('error_boundary_subtitle') })] }), jsxRuntime.jsx(Card.Card, { bg: "danger.extralight", border: "1px solid", borderColor: "danger.lighter", p: 4, w: "full", children: jsxRuntime.jsx(Text.Text, { color: "danger.dark", fontFamily: "mono", wordBreak: "break-word", children: error?.message || translate('error_boundary_default_message') }) }), jsxRuntime.jsxs(Card.Card, { bg: "primary.extralight", borderColor: "primary.lighter", p: 6, w: "full", children: [jsxRuntime.jsx(H4.H4, { as: "h2", color: "primary.dark", mb: 4, textAlign: "center", children: translate('support_information') }), jsxRuntime.jsxs(react.VStack, { gap: 2, align: "stretch", mb: 4, children: [jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('error_id'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: errorInfo.errorId })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('time'), ":"] }), jsxRuntime.jsx(Subtext.Subtext, { fontFamily: "mono", children: new Date().toLocaleString() })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('component'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: componentName || translate('unknown') })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('user_id'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: userId ?? translate('anonymous') })] }), typeof window !== 'undefined' && (jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('page'), ":"] }), jsxRuntime.jsx(Subtext.Subtext, { fontFamily: "mono", children: window.location.pathname })] }))] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", align: "flex-end", gap: 4, children: [jsxRuntime.jsx(Text.Text, { textAlign: "left", children: translate('support_help_text') }), jsxRuntime.jsxs(Button.Button, { onClick: copyErrorInfo, size: "sm", minW: "fit-content", variant: "ghost", children: [jsxRuntime.jsx(index.FaRegCopy, { boxSize: "xs" }), " ", translate('copy_error_details')] })] })] }), jsxRuntime.jsxs(react.VStack, { gap: 3, w: "full", align: "center", children: [jsxRuntime.jsxs(Button.Button, { onClick: onErrorReset, size: "lg", variant: "solid", _hover: {
64
79
  transform: 'translateY(-1px)',
65
80
  boxShadow: 'lg',
66
81
  }, w: "full", maxW: "300px", children: [jsxRuntime.jsx(index.HiRefresh, {}), " ", translate('try_again')] }), jsxRuntime.jsxs(Button.Button, { onClick: () => window.location.reload(), size: "sm", variant: "ghost", children: [jsxRuntime.jsx(index.HiRefresh, {}), " ", translate('refresh_page')] })] })] }) }) }) }));