@mindlogic-ai/logician-ui 4.0.0-alpha.26 → 4.0.0-alpha.28

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 (445) hide show
  1. package/dist/components/Appear/Appear.d.ts +45 -0
  2. package/dist/components/Appear/Appear.d.ts.map +1 -0
  3. package/dist/components/Appear/Appear.js +61 -0
  4. package/dist/components/Appear/Appear.js.map +1 -0
  5. package/dist/components/Appear/Appear.mjs +59 -0
  6. package/dist/components/Appear/Appear.mjs.map +1 -0
  7. package/dist/components/Appear/Appear.styles.d.ts +18 -0
  8. package/dist/components/Appear/Appear.styles.d.ts.map +1 -0
  9. package/dist/components/Appear/Appear.styles.js +32 -0
  10. package/dist/components/Appear/Appear.styles.js.map +1 -0
  11. package/dist/components/Appear/Appear.styles.mjs +30 -0
  12. package/dist/components/Appear/Appear.styles.mjs.map +1 -0
  13. package/dist/components/Appear/Appear.types.d.ts +18 -0
  14. package/dist/components/Appear/Appear.types.d.ts.map +1 -0
  15. package/dist/components/Appear/index.d.ts +3 -0
  16. package/dist/components/Appear/index.d.ts.map +1 -0
  17. package/dist/components/Button/Button.d.ts.map +1 -1
  18. package/dist/components/Button/Button.js +42 -3
  19. package/dist/components/Button/Button.js.map +1 -1
  20. package/dist/components/Button/Button.mjs +43 -4
  21. package/dist/components/Button/Button.mjs.map +1 -1
  22. package/dist/components/Button/Button.styles.d.ts +1 -0
  23. package/dist/components/Button/Button.styles.d.ts.map +1 -1
  24. package/dist/components/Button/Button.styles.js +101 -30
  25. package/dist/components/Button/Button.styles.js.map +1 -1
  26. package/dist/components/Button/Button.styles.mjs +101 -31
  27. package/dist/components/Button/Button.styles.mjs.map +1 -1
  28. package/dist/components/Button/Button.types.d.ts +16 -0
  29. package/dist/components/Button/Button.types.d.ts.map +1 -1
  30. package/dist/components/Card/Card.d.ts.map +1 -1
  31. package/dist/components/Card/Card.js +5 -1
  32. package/dist/components/Card/Card.js.map +1 -1
  33. package/dist/components/Card/Card.mjs +5 -1
  34. package/dist/components/Card/Card.mjs.map +1 -1
  35. package/dist/components/Checkbox/Checkbox.styles.d.ts +16 -0
  36. package/dist/components/Checkbox/Checkbox.styles.d.ts.map +1 -0
  37. package/dist/components/Checkbox/Checkbox.styles.js +30 -0
  38. package/dist/components/Checkbox/Checkbox.styles.js.map +1 -0
  39. package/dist/components/Checkbox/Checkbox.styles.mjs +28 -0
  40. package/dist/components/Checkbox/Checkbox.styles.mjs.map +1 -0
  41. package/dist/components/Checkbox/CheckboxControl.d.ts.map +1 -1
  42. package/dist/components/Checkbox/CheckboxControl.js +6 -1
  43. package/dist/components/Checkbox/CheckboxControl.js.map +1 -1
  44. package/dist/components/Checkbox/CheckboxControl.mjs +6 -1
  45. package/dist/components/Checkbox/CheckboxControl.mjs.map +1 -1
  46. package/dist/components/Collapsible/CollapsibleContent.d.ts.map +1 -1
  47. package/dist/components/Collapsible/CollapsibleContent.js +5 -1
  48. package/dist/components/Collapsible/CollapsibleContent.js.map +1 -1
  49. package/dist/components/Collapsible/CollapsibleContent.mjs +5 -1
  50. package/dist/components/Collapsible/CollapsibleContent.mjs.map +1 -1
  51. package/dist/components/ColorMode/ColorModeToggle.d.ts.map +1 -1
  52. package/dist/components/ColorMode/ColorModeToggle.js +3 -1
  53. package/dist/components/ColorMode/ColorModeToggle.js.map +1 -1
  54. package/dist/components/ColorMode/ColorModeToggle.mjs +4 -2
  55. package/dist/components/ColorMode/ColorModeToggle.mjs.map +1 -1
  56. package/dist/components/Confetti/Confetti.d.ts +50 -0
  57. package/dist/components/Confetti/Confetti.d.ts.map +1 -0
  58. package/dist/components/Confetti/Confetti.js +149 -0
  59. package/dist/components/Confetti/Confetti.js.map +1 -0
  60. package/dist/components/Confetti/Confetti.mjs +147 -0
  61. package/dist/components/Confetti/Confetti.mjs.map +1 -0
  62. package/dist/components/Confetti/Confetti.styles.d.ts +32 -0
  63. package/dist/components/Confetti/Confetti.styles.d.ts.map +1 -0
  64. package/dist/components/Confetti/Confetti.styles.js +60 -0
  65. package/dist/components/Confetti/Confetti.styles.js.map +1 -0
  66. package/dist/components/Confetti/Confetti.styles.mjs +58 -0
  67. package/dist/components/Confetti/Confetti.styles.mjs.map +1 -0
  68. package/dist/components/Confetti/Confetti.types.d.ts +13 -0
  69. package/dist/components/Confetti/Confetti.types.d.ts.map +1 -0
  70. package/dist/components/Confetti/index.d.ts +3 -0
  71. package/dist/components/Confetti/index.d.ts.map +1 -0
  72. package/dist/components/CopyableCode/CopyableCode.d.ts +6 -0
  73. package/dist/components/CopyableCode/CopyableCode.d.ts.map +1 -1
  74. package/dist/components/CopyableCode/CopyableCode.js +49 -1
  75. package/dist/components/CopyableCode/CopyableCode.js.map +1 -1
  76. package/dist/components/CopyableCode/CopyableCode.mjs +50 -2
  77. package/dist/components/CopyableCode/CopyableCode.mjs.map +1 -1
  78. package/dist/components/CountUp/CountUp.d.ts +30 -0
  79. package/dist/components/CountUp/CountUp.d.ts.map +1 -0
  80. package/dist/components/CountUp/CountUp.js +95 -0
  81. package/dist/components/CountUp/CountUp.js.map +1 -0
  82. package/dist/components/CountUp/CountUp.mjs +93 -0
  83. package/dist/components/CountUp/CountUp.mjs.map +1 -0
  84. package/dist/components/CountUp/CountUp.types.d.ts +19 -0
  85. package/dist/components/CountUp/CountUp.types.d.ts.map +1 -0
  86. package/dist/components/CountUp/index.d.ts +3 -0
  87. package/dist/components/CountUp/index.d.ts.map +1 -0
  88. package/dist/components/ExpandableText/ExpandableText.d.ts +23 -1
  89. package/dist/components/ExpandableText/ExpandableText.d.ts.map +1 -1
  90. package/dist/components/ExpandableText/ExpandableText.js +21 -3
  91. package/dist/components/ExpandableText/ExpandableText.js.map +1 -1
  92. package/dist/components/ExpandableText/ExpandableText.mjs +21 -3
  93. package/dist/components/ExpandableText/ExpandableText.mjs.map +1 -1
  94. package/dist/components/ExpandableText/useExpandableText.d.ts +28 -3
  95. package/dist/components/ExpandableText/useExpandableText.d.ts.map +1 -1
  96. package/dist/components/ExpandableText/useExpandableText.js +74 -72
  97. package/dist/components/ExpandableText/useExpandableText.js.map +1 -1
  98. package/dist/components/ExpandableText/useExpandableText.mjs +75 -73
  99. package/dist/components/ExpandableText/useExpandableText.mjs.map +1 -1
  100. package/dist/components/FileInput/FileInput.d.ts.map +1 -1
  101. package/dist/components/FileInput/FileInput.js +4 -1
  102. package/dist/components/FileInput/FileInput.js.map +1 -1
  103. package/dist/components/FileInput/FileInput.mjs +4 -1
  104. package/dist/components/FileInput/FileInput.mjs.map +1 -1
  105. package/dist/components/FileList/FileList.d.ts +1 -1
  106. package/dist/components/FileList/FileList.d.ts.map +1 -1
  107. package/dist/components/FileList/FileList.js +7 -2
  108. package/dist/components/FileList/FileList.js.map +1 -1
  109. package/dist/components/FileList/FileList.mjs +7 -2
  110. package/dist/components/FileList/FileList.mjs.map +1 -1
  111. package/dist/components/FileList/FileList.types.d.ts +9 -0
  112. package/dist/components/FileList/FileList.types.d.ts.map +1 -1
  113. package/dist/components/FlyTo/FlyTo.d.ts +35 -0
  114. package/dist/components/FlyTo/FlyTo.d.ts.map +1 -0
  115. package/dist/components/FlyTo/FlyTo.js +69 -0
  116. package/dist/components/FlyTo/FlyTo.js.map +1 -0
  117. package/dist/components/FlyTo/FlyTo.mjs +67 -0
  118. package/dist/components/FlyTo/FlyTo.mjs.map +1 -0
  119. package/dist/components/FlyTo/FlyTo.styles.d.ts +19 -0
  120. package/dist/components/FlyTo/FlyTo.styles.d.ts.map +1 -0
  121. package/dist/components/FlyTo/FlyTo.styles.js +35 -0
  122. package/dist/components/FlyTo/FlyTo.styles.js.map +1 -0
  123. package/dist/components/FlyTo/FlyTo.styles.mjs +33 -0
  124. package/dist/components/FlyTo/FlyTo.styles.mjs.map +1 -0
  125. package/dist/components/FlyTo/FlyTo.types.d.ts +15 -0
  126. package/dist/components/FlyTo/FlyTo.types.d.ts.map +1 -0
  127. package/dist/components/FlyTo/index.d.ts +3 -0
  128. package/dist/components/FlyTo/index.d.ts.map +1 -0
  129. package/dist/components/Loaders/SectionLoader.js +1 -1
  130. package/dist/components/Loaders/SectionLoader.js.map +1 -1
  131. package/dist/components/Loaders/SectionLoader.mjs +1 -1
  132. package/dist/components/Loaders/SectionLoader.mjs.map +1 -1
  133. package/dist/components/Menu/Menu.d.ts +1 -0
  134. package/dist/components/Menu/Menu.d.ts.map +1 -1
  135. package/dist/components/Menu/MenuList.d.ts +20 -0
  136. package/dist/components/Menu/MenuList.d.ts.map +1 -1
  137. package/dist/components/Menu/MenuList.js +20 -2
  138. package/dist/components/Menu/MenuList.js.map +1 -1
  139. package/dist/components/Menu/MenuList.mjs +21 -3
  140. package/dist/components/Menu/MenuList.mjs.map +1 -1
  141. package/dist/components/Modal/Modal.d.ts.map +1 -1
  142. package/dist/components/Modal/Modal.js +1 -1
  143. package/dist/components/Modal/Modal.js.map +1 -1
  144. package/dist/components/Modal/Modal.mjs +1 -1
  145. package/dist/components/Modal/Modal.mjs.map +1 -1
  146. package/dist/components/Modal/Modal.styles.d.ts +22 -0
  147. package/dist/components/Modal/Modal.styles.d.ts.map +1 -1
  148. package/dist/components/Modal/Modal.styles.js +24 -0
  149. package/dist/components/Modal/Modal.styles.js.map +1 -0
  150. package/dist/components/Modal/Modal.styles.mjs +22 -0
  151. package/dist/components/Modal/Modal.styles.mjs.map +1 -0
  152. package/dist/components/Modal/ModalContent/ModalContent.d.ts.map +1 -1
  153. package/dist/components/Modal/ModalContent/ModalContent.js +2 -1
  154. package/dist/components/Modal/ModalContent/ModalContent.js.map +1 -1
  155. package/dist/components/Modal/ModalContent/ModalContent.mjs +2 -1
  156. package/dist/components/Modal/ModalContent/ModalContent.mjs.map +1 -1
  157. package/dist/components/Modal/ModalOverlay.d.ts.map +1 -1
  158. package/dist/components/Modal/ModalOverlay.js +3 -1
  159. package/dist/components/Modal/ModalOverlay.js.map +1 -1
  160. package/dist/components/Modal/ModalOverlay.mjs +3 -1
  161. package/dist/components/Modal/ModalOverlay.mjs.map +1 -1
  162. package/dist/components/Popover/PopoverContent.d.ts.map +1 -1
  163. package/dist/components/Popover/PopoverContent.js +4 -1
  164. package/dist/components/Popover/PopoverContent.js.map +1 -1
  165. package/dist/components/Popover/PopoverContent.mjs +4 -1
  166. package/dist/components/Popover/PopoverContent.mjs.map +1 -1
  167. package/dist/components/ProgressBar/ProgressBar.d.ts +1 -1
  168. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  169. package/dist/components/ProgressBar/ProgressBar.js +19 -2
  170. package/dist/components/ProgressBar/ProgressBar.js.map +1 -1
  171. package/dist/components/ProgressBar/ProgressBar.mjs +20 -3
  172. package/dist/components/ProgressBar/ProgressBar.mjs.map +1 -1
  173. package/dist/components/ProgressBar/ProgressBar.styles.d.ts +18 -0
  174. package/dist/components/ProgressBar/ProgressBar.styles.d.ts.map +1 -1
  175. package/dist/components/ProgressBar/ProgressBar.styles.js +24 -0
  176. package/dist/components/ProgressBar/ProgressBar.styles.js.map +1 -1
  177. package/dist/components/ProgressBar/ProgressBar.styles.mjs +24 -1
  178. package/dist/components/ProgressBar/ProgressBar.styles.mjs.map +1 -1
  179. package/dist/components/ProgressBar/ProgressBar.types.d.ts +10 -0
  180. package/dist/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
  181. package/dist/components/Pulse/Pulse.d.ts +35 -0
  182. package/dist/components/Pulse/Pulse.d.ts.map +1 -0
  183. package/dist/components/Pulse/Pulse.js +65 -0
  184. package/dist/components/Pulse/Pulse.js.map +1 -0
  185. package/dist/components/Pulse/Pulse.mjs +63 -0
  186. package/dist/components/Pulse/Pulse.mjs.map +1 -0
  187. package/dist/components/Pulse/Pulse.styles.d.ts +22 -0
  188. package/dist/components/Pulse/Pulse.styles.d.ts.map +1 -0
  189. package/dist/components/Pulse/Pulse.styles.js +33 -0
  190. package/dist/components/Pulse/Pulse.styles.js.map +1 -0
  191. package/dist/components/Pulse/Pulse.styles.mjs +31 -0
  192. package/dist/components/Pulse/Pulse.styles.mjs.map +1 -0
  193. package/dist/components/Pulse/Pulse.types.d.ts +12 -0
  194. package/dist/components/Pulse/Pulse.types.d.ts.map +1 -0
  195. package/dist/components/Pulse/index.d.ts +3 -0
  196. package/dist/components/Pulse/index.d.ts.map +1 -0
  197. package/dist/components/Radio/Radio.styles.d.ts +13 -0
  198. package/dist/components/Radio/Radio.styles.d.ts.map +1 -0
  199. package/dist/components/Radio/Radio.styles.js +28 -0
  200. package/dist/components/Radio/Radio.styles.js.map +1 -0
  201. package/dist/components/Radio/Radio.styles.mjs +26 -0
  202. package/dist/components/Radio/Radio.styles.mjs.map +1 -0
  203. package/dist/components/Radio/RadioControl.d.ts.map +1 -1
  204. package/dist/components/Radio/RadioControl.js +6 -1
  205. package/dist/components/Radio/RadioControl.js.map +1 -1
  206. package/dist/components/Radio/RadioControl.mjs +6 -1
  207. package/dist/components/Radio/RadioControl.mjs.map +1 -1
  208. package/dist/components/Reveal/Reveal.d.ts +33 -0
  209. package/dist/components/Reveal/Reveal.d.ts.map +1 -0
  210. package/dist/components/Reveal/Reveal.js +46 -0
  211. package/dist/components/Reveal/Reveal.js.map +1 -0
  212. package/dist/components/Reveal/Reveal.mjs +44 -0
  213. package/dist/components/Reveal/Reveal.mjs.map +1 -0
  214. package/dist/components/Reveal/Reveal.styles.d.ts +25 -0
  215. package/dist/components/Reveal/Reveal.styles.d.ts.map +1 -0
  216. package/dist/components/Reveal/Reveal.styles.js +42 -0
  217. package/dist/components/Reveal/Reveal.styles.js.map +1 -0
  218. package/dist/components/Reveal/Reveal.styles.mjs +40 -0
  219. package/dist/components/Reveal/Reveal.styles.mjs.map +1 -0
  220. package/dist/components/Reveal/Reveal.types.d.ts +6 -0
  221. package/dist/components/Reveal/Reveal.types.d.ts.map +1 -0
  222. package/dist/components/Reveal/index.d.ts +3 -0
  223. package/dist/components/Reveal/index.d.ts.map +1 -0
  224. package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  225. package/dist/components/SegmentedControl/SegmentedControl.js +5 -1
  226. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
  227. package/dist/components/SegmentedControl/SegmentedControl.mjs +5 -1
  228. package/dist/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
  229. package/dist/components/SegmentedControl/SegmentedControl.styles.d.ts +16 -0
  230. package/dist/components/SegmentedControl/SegmentedControl.styles.d.ts.map +1 -0
  231. package/dist/components/SegmentedControl/SegmentedControl.styles.js +26 -0
  232. package/dist/components/SegmentedControl/SegmentedControl.styles.js.map +1 -0
  233. package/dist/components/SegmentedControl/SegmentedControl.styles.mjs +24 -0
  234. package/dist/components/SegmentedControl/SegmentedControl.styles.mjs.map +1 -0
  235. package/dist/components/Select/Combobox.d.ts.map +1 -1
  236. package/dist/components/Select/Combobox.js +4 -1
  237. package/dist/components/Select/Combobox.js.map +1 -1
  238. package/dist/components/Select/Combobox.mjs +4 -1
  239. package/dist/components/Select/Combobox.mjs.map +1 -1
  240. package/dist/components/Select/Select.d.ts.map +1 -1
  241. package/dist/components/Select/Select.js +4 -1
  242. package/dist/components/Select/Select.js.map +1 -1
  243. package/dist/components/Select/Select.mjs +4 -1
  244. package/dist/components/Select/Select.mjs.map +1 -1
  245. package/dist/components/Select/Select.types.d.ts +10 -1
  246. package/dist/components/Select/Select.types.d.ts.map +1 -1
  247. package/dist/components/Select/SelectField.d.ts +1 -1
  248. package/dist/components/Select/SelectField.d.ts.map +1 -1
  249. package/dist/components/Select/SelectField.js +3 -2
  250. package/dist/components/Select/SelectField.js.map +1 -1
  251. package/dist/components/Select/SelectField.mjs +3 -2
  252. package/dist/components/Select/SelectField.mjs.map +1 -1
  253. package/dist/components/Shake/Shake.d.ts +32 -0
  254. package/dist/components/Shake/Shake.d.ts.map +1 -0
  255. package/dist/components/Shake/Shake.js +57 -0
  256. package/dist/components/Shake/Shake.js.map +1 -0
  257. package/dist/components/Shake/Shake.mjs +55 -0
  258. package/dist/components/Shake/Shake.mjs.map +1 -0
  259. package/dist/components/Shake/Shake.styles.d.ts +19 -0
  260. package/dist/components/Shake/Shake.styles.d.ts.map +1 -0
  261. package/dist/components/Shake/Shake.styles.js +30 -0
  262. package/dist/components/Shake/Shake.styles.js.map +1 -0
  263. package/dist/components/Shake/Shake.styles.mjs +28 -0
  264. package/dist/components/Shake/Shake.styles.mjs.map +1 -0
  265. package/dist/components/Shake/Shake.types.d.ts +11 -0
  266. package/dist/components/Shake/Shake.types.d.ts.map +1 -0
  267. package/dist/components/Shake/index.d.ts +3 -0
  268. package/dist/components/Shake/index.d.ts.map +1 -0
  269. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  270. package/dist/components/Spinner/Spinner.js +7 -2
  271. package/dist/components/Spinner/Spinner.js.map +1 -1
  272. package/dist/components/Spinner/Spinner.mjs +7 -2
  273. package/dist/components/Spinner/Spinner.mjs.map +1 -1
  274. package/dist/components/Spinner/Spinner.styles.d.ts +23 -0
  275. package/dist/components/Spinner/Spinner.styles.d.ts.map +1 -0
  276. package/dist/components/Spinner/Spinner.styles.js +36 -0
  277. package/dist/components/Spinner/Spinner.styles.js.map +1 -0
  278. package/dist/components/Spinner/Spinner.styles.mjs +34 -0
  279. package/dist/components/Spinner/Spinner.styles.mjs.map +1 -0
  280. package/dist/components/SwapTransition/SwapTransition.d.ts +36 -0
  281. package/dist/components/SwapTransition/SwapTransition.d.ts.map +1 -0
  282. package/dist/components/SwapTransition/SwapTransition.js +75 -0
  283. package/dist/components/SwapTransition/SwapTransition.js.map +1 -0
  284. package/dist/components/SwapTransition/SwapTransition.mjs +73 -0
  285. package/dist/components/SwapTransition/SwapTransition.mjs.map +1 -0
  286. package/dist/components/SwapTransition/SwapTransition.styles.d.ts +24 -0
  287. package/dist/components/SwapTransition/SwapTransition.styles.d.ts.map +1 -0
  288. package/dist/components/SwapTransition/SwapTransition.styles.js +42 -0
  289. package/dist/components/SwapTransition/SwapTransition.styles.js.map +1 -0
  290. package/dist/components/SwapTransition/SwapTransition.styles.mjs +38 -0
  291. package/dist/components/SwapTransition/SwapTransition.styles.mjs.map +1 -0
  292. package/dist/components/SwapTransition/SwapTransition.types.d.ts +22 -0
  293. package/dist/components/SwapTransition/SwapTransition.types.d.ts.map +1 -0
  294. package/dist/components/SwapTransition/index.d.ts +3 -0
  295. package/dist/components/SwapTransition/index.d.ts.map +1 -0
  296. package/dist/components/Switch/SwitchControl.d.ts.map +1 -1
  297. package/dist/components/Switch/SwitchControl.js +13 -1
  298. package/dist/components/Switch/SwitchControl.js.map +1 -1
  299. package/dist/components/Switch/SwitchControl.mjs +13 -1
  300. package/dist/components/Switch/SwitchControl.mjs.map +1 -1
  301. package/dist/components/Tabs/Tab/Tab.styles.d.ts +25 -27
  302. package/dist/components/Tabs/Tab/Tab.styles.d.ts.map +1 -1
  303. package/dist/components/Tabs/Tab/Tab.styles.js +28 -21
  304. package/dist/components/Tabs/Tab/Tab.styles.js.map +1 -1
  305. package/dist/components/Tabs/Tab/Tab.styles.mjs +28 -21
  306. package/dist/components/Tabs/Tab/Tab.styles.mjs.map +1 -1
  307. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  308. package/dist/components/Tooltip/Tooltip.js +6 -1
  309. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  310. package/dist/components/Tooltip/Tooltip.mjs +6 -1
  311. package/dist/components/Tooltip/Tooltip.mjs.map +1 -1
  312. package/dist/components/Tree/TreeBranchIndicator.js +1 -1
  313. package/dist/components/Tree/TreeBranchIndicator.js.map +1 -1
  314. package/dist/components/Tree/TreeBranchIndicator.mjs +1 -1
  315. package/dist/components/Tree/TreeBranchIndicator.mjs.map +1 -1
  316. package/dist/index.d.ts +11 -0
  317. package/dist/index.d.ts.map +1 -1
  318. package/dist/index.js +30 -0
  319. package/dist/index.js.map +1 -1
  320. package/dist/index.mjs +11 -0
  321. package/dist/index.mjs.map +1 -1
  322. package/dist/theme/index.d.ts.map +1 -1
  323. package/dist/theme/index.js +10 -0
  324. package/dist/theme/index.js.map +1 -1
  325. package/dist/theme/index.mjs +10 -0
  326. package/dist/theme/index.mjs.map +1 -1
  327. package/dist/theme/motion.d.ts +538 -0
  328. package/dist/theme/motion.d.ts.map +1 -0
  329. package/dist/theme/motion.js +574 -0
  330. package/dist/theme/motion.js.map +1 -0
  331. package/dist/theme/motion.mjs +563 -0
  332. package/dist/theme/motion.mjs.map +1 -0
  333. package/dist/utils/cubicBezier.d.ts +30 -0
  334. package/dist/utils/cubicBezier.d.ts.map +1 -0
  335. package/dist/utils/cubicBezier.js +67 -0
  336. package/dist/utils/cubicBezier.js.map +1 -0
  337. package/dist/utils/cubicBezier.mjs +65 -0
  338. package/dist/utils/cubicBezier.mjs.map +1 -0
  339. package/dist/utils/staggerProps.d.ts +52 -0
  340. package/dist/utils/staggerProps.d.ts.map +1 -0
  341. package/dist/utils/staggerProps.js +62 -0
  342. package/dist/utils/staggerProps.js.map +1 -0
  343. package/dist/utils/staggerProps.mjs +59 -0
  344. package/dist/utils/staggerProps.mjs.map +1 -0
  345. package/package.json +1 -1
  346. package/src/components/Appear/Appear.stories.tsx +219 -0
  347. package/src/components/Appear/Appear.styles.ts +28 -0
  348. package/src/components/Appear/Appear.tsx +85 -0
  349. package/src/components/Appear/Appear.types.ts +18 -0
  350. package/src/components/Appear/index.ts +2 -0
  351. package/src/components/Button/Button.lift.test.tsx +150 -0
  352. package/src/components/Button/Button.press.test.tsx +54 -0
  353. package/src/components/Button/Button.stories.tsx +48 -1
  354. package/src/components/Button/Button.styles.ts +102 -30
  355. package/src/components/Button/Button.tsx +57 -6
  356. package/src/components/Button/Button.types.ts +16 -0
  357. package/src/components/Card/Card.tsx +4 -2
  358. package/src/components/Checkbox/Checkbox.styles.ts +26 -0
  359. package/src/components/Checkbox/CheckboxControl.tsx +10 -1
  360. package/src/components/Collapsible/Collapsible.presence.test.tsx +83 -0
  361. package/src/components/Collapsible/CollapsibleContent.tsx +13 -1
  362. package/src/components/ColorMode/ColorModeToggle.tsx +32 -1
  363. package/src/components/Confetti/Confetti.stories.tsx +88 -0
  364. package/src/components/Confetti/Confetti.styles.ts +57 -0
  365. package/src/components/Confetti/Confetti.tsx +182 -0
  366. package/src/components/Confetti/Confetti.types.ts +13 -0
  367. package/src/components/Confetti/index.ts +2 -0
  368. package/src/components/CopyableCode/CopyableCode.tsx +99 -4
  369. package/src/components/CountUp/CountUp.stories.tsx +127 -0
  370. package/src/components/CountUp/CountUp.tsx +122 -0
  371. package/src/components/CountUp/CountUp.types.ts +19 -0
  372. package/src/components/CountUp/index.ts +2 -0
  373. package/src/components/ExpandableText/ExpandableText.stories.tsx +7 -7
  374. package/src/components/ExpandableText/ExpandableText.tsx +41 -7
  375. package/src/components/ExpandableText/useExpandableText.ts +90 -103
  376. package/src/components/FileInput/FileInput.tsx +4 -1
  377. package/src/components/FileList/FileList.tsx +11 -2
  378. package/src/components/FileList/FileList.types.ts +9 -0
  379. package/src/components/FlyTo/FlyTo.stories.tsx +157 -0
  380. package/src/components/FlyTo/FlyTo.styles.ts +31 -0
  381. package/src/components/FlyTo/FlyTo.tsx +88 -0
  382. package/src/components/FlyTo/FlyTo.types.ts +15 -0
  383. package/src/components/FlyTo/index.ts +2 -0
  384. package/src/components/Loaders/SectionLoader.tsx +1 -1
  385. package/src/components/Menu/MenuList.tsx +35 -3
  386. package/src/components/Modal/Modal.styles.ts +19 -0
  387. package/src/components/Modal/Modal.tsx +7 -1
  388. package/src/components/Modal/ModalContent/ModalContent.tsx +10 -1
  389. package/src/components/Modal/ModalOverlay.tsx +9 -1
  390. package/src/components/Popover/PopoverContent.tsx +3 -0
  391. package/src/components/ProgressBar/ProgressBar.indeterminate.test.tsx +55 -0
  392. package/src/components/ProgressBar/ProgressBar.styles.ts +26 -0
  393. package/src/components/ProgressBar/ProgressBar.tsx +34 -7
  394. package/src/components/ProgressBar/ProgressBar.types.ts +10 -0
  395. package/src/components/Pulse/Pulse.stories.tsx +74 -0
  396. package/src/components/Pulse/Pulse.styles.ts +29 -0
  397. package/src/components/Pulse/Pulse.tsx +83 -0
  398. package/src/components/Pulse/Pulse.types.ts +12 -0
  399. package/src/components/Pulse/index.ts +2 -0
  400. package/src/components/Radio/Radio.stories.tsx +34 -22
  401. package/src/components/Radio/Radio.styles.ts +24 -0
  402. package/src/components/Radio/RadioControl.tsx +15 -2
  403. package/src/components/Reveal/Reveal.stories.tsx +61 -0
  404. package/src/components/Reveal/Reveal.styles.ts +38 -0
  405. package/src/components/Reveal/Reveal.tsx +62 -0
  406. package/src/components/Reveal/Reveal.types.ts +6 -0
  407. package/src/components/Reveal/index.ts +2 -0
  408. package/src/components/SegmentedControl/SegmentedControl.styles.ts +22 -0
  409. package/src/components/SegmentedControl/SegmentedControl.timing.test.tsx +74 -0
  410. package/src/components/SegmentedControl/SegmentedControl.tsx +7 -1
  411. package/src/components/Select/Combobox.tsx +3 -0
  412. package/src/components/Select/Select.tsx +3 -0
  413. package/src/components/Select/Select.types.ts +10 -1
  414. package/src/components/Select/SelectField.tsx +9 -2
  415. package/src/components/Shake/Shake.stories.tsx +155 -0
  416. package/src/components/Shake/Shake.styles.ts +26 -0
  417. package/src/components/Shake/Shake.tsx +77 -0
  418. package/src/components/Shake/Shake.types.ts +11 -0
  419. package/src/components/Shake/index.ts +2 -0
  420. package/src/components/Spinner/Spinner.styles.ts +32 -0
  421. package/src/components/Spinner/Spinner.tsx +9 -2
  422. package/src/components/SwapTransition/SwapTransition.stories.tsx +134 -0
  423. package/src/components/SwapTransition/SwapTransition.styles.ts +38 -0
  424. package/src/components/SwapTransition/SwapTransition.tsx +127 -0
  425. package/src/components/SwapTransition/SwapTransition.types.ts +22 -0
  426. package/src/components/SwapTransition/index.ts +2 -0
  427. package/src/components/Switch/SwitchControl.tsx +11 -1
  428. package/src/components/Tabs/Tab/Tab.styles.ts +28 -21
  429. package/src/components/Tooltip/Tooltip.tsx +5 -0
  430. package/src/components/Tree/TreeBranchIndicator.tsx +2 -2
  431. package/src/components/a11y.kwcag.test.tsx +59 -2
  432. package/src/components/componentMotion.test.ts +110 -0
  433. package/src/index.ts +27 -0
  434. package/src/test-support/setup.ts +13 -0
  435. package/src/theme/Motion.stories.tsx +1607 -0
  436. package/src/theme/MotionCases.stories.tsx +680 -0
  437. package/src/theme/animationStyles.test.ts +169 -0
  438. package/src/theme/claude.md +119 -2
  439. package/src/theme/index.ts +10 -0
  440. package/src/theme/motion.test.ts +50 -0
  441. package/src/theme/motion.ts +612 -0
  442. package/src/theme/motionGuards.test.ts +135 -0
  443. package/src/utils/cubicBezier.ts +69 -0
  444. package/src/utils/staggerProps.test.ts +105 -0
  445. package/src/utils/staggerProps.ts +63 -0
@@ -0,0 +1,45 @@
1
+ import { AppearProps } from './Appear.types';
2
+ /**
3
+ * Brings an element in on mount — a fade, plus an optional scale (a *stamp*
4
+ * landing on something) or vertical travel (content *arriving*).
5
+ *
6
+ * ## Which of the three entrances this is
7
+ *
8
+ * The library has three, and they are not interchangeable:
9
+ *
10
+ * - `animationStyle="presence"` — a part that **has both states**. Menus,
11
+ * popovers, modals: the node stays mounted and Chakra flips `_open` /
12
+ * `_closed`, so it can animate *out* as well as in.
13
+ * - `staggerProps(index)` — items of **one list**, where the index is the
14
+ * cadence and the whole point is the rhythm between siblings.
15
+ * - `Appear` — a **single element entering once**, on its own schedule, usually
16
+ * as a response to something the reader just did. The delay is hand-set per
17
+ * call site because there is no list to derive it from.
18
+ *
19
+ * The rule of thumb: if the element can close, use `presence`; if it has
20
+ * siblings arriving with it, use `stagger`; otherwise this.
21
+ *
22
+ * ## What it does not do
23
+ *
24
+ * It does not animate out. CSS cannot animate an element that is being removed
25
+ * from the DOM, which is exactly the gap `presence` fills by keeping the node
26
+ * mounted. FactChat's version accepts an `exit` too, but only inside an
27
+ * `AnimatePresence` ancestor — standalone it is a no-op there as well, so
28
+ * nothing that actually ran is lost in the port.
29
+ *
30
+ * ## What it puts in the DOM
31
+ *
32
+ * **One `div` around `children`**, and layout props land on that wrapper rather
33
+ * than on the child. Usually the same result — but the child is no longer a
34
+ * *direct* child of what surrounds it, so animate the inner element instead of
35
+ * wrapping when the parent needs its children directly: a `<tr>` needs `<td>`s,
36
+ * and Ark parts (`Menu.List`, `Tree`) walk their own children for focus and
37
+ * typeahead.
38
+ *
39
+ * ```tsx
40
+ * <Appear scaleFrom={0.5}>✓</Appear>
41
+ * <Appear rise={6} delayMs={120}>정답입니다</Appear>
42
+ * ```
43
+ */
44
+ export declare const Appear: import("react").ForwardRefExoticComponent<AppearProps & import("react").RefAttributes<HTMLDivElement>>;
45
+ //# sourceMappingURL=Appear.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Appear.d.ts","sourceRoot":"","sources":["../../../src/components/Appear/Appear.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,MAAM,wGAgClB,CAAC"}
@@ -0,0 +1,61 @@
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 mergeCss = require('../../utils/mergeCss.js');
8
+ var Appear_styles = require('./Appear.styles.js');
9
+
10
+ /**
11
+ * Brings an element in on mount — a fade, plus an optional scale (a *stamp*
12
+ * landing on something) or vertical travel (content *arriving*).
13
+ *
14
+ * ## Which of the three entrances this is
15
+ *
16
+ * The library has three, and they are not interchangeable:
17
+ *
18
+ * - `animationStyle="presence"` — a part that **has both states**. Menus,
19
+ * popovers, modals: the node stays mounted and Chakra flips `_open` /
20
+ * `_closed`, so it can animate *out* as well as in.
21
+ * - `staggerProps(index)` — items of **one list**, where the index is the
22
+ * cadence and the whole point is the rhythm between siblings.
23
+ * - `Appear` — a **single element entering once**, on its own schedule, usually
24
+ * as a response to something the reader just did. The delay is hand-set per
25
+ * call site because there is no list to derive it from.
26
+ *
27
+ * The rule of thumb: if the element can close, use `presence`; if it has
28
+ * siblings arriving with it, use `stagger`; otherwise this.
29
+ *
30
+ * ## What it does not do
31
+ *
32
+ * It does not animate out. CSS cannot animate an element that is being removed
33
+ * from the DOM, which is exactly the gap `presence` fills by keeping the node
34
+ * mounted. FactChat's version accepts an `exit` too, but only inside an
35
+ * `AnimatePresence` ancestor — standalone it is a no-op there as well, so
36
+ * nothing that actually ran is lost in the port.
37
+ *
38
+ * ## What it puts in the DOM
39
+ *
40
+ * **One `div` around `children`**, and layout props land on that wrapper rather
41
+ * than on the child. Usually the same result — but the child is no longer a
42
+ * *direct* child of what surrounds it, so animate the inner element instead of
43
+ * wrapping when the parent needs its children directly: a `<tr>` needs `<td>`s,
44
+ * and Ark parts (`Menu.List`, `Tree`) walk their own children for focus and
45
+ * typeahead.
46
+ *
47
+ * ```tsx
48
+ * <Appear scaleFrom={0.5}>✓</Appear>
49
+ * <Appear rise={6} delayMs={120}>정답입니다</Appear>
50
+ * ```
51
+ */
52
+ const Appear = React.forwardRef(({ scaleFrom, rise, delayMs, durationMs, children, css, ...rest }, ref) => (jsxRuntime.jsx(react.Box, { ref: ref, ...rest, css: mergeCss.mergeCss(Appear_styles.appearIn,
53
+ // Omitted props leave the keyframe's identity defaults in place, so one
54
+ // keyframe serves a plain fade, a stamp, an arrival, or all three.
55
+ scaleFrom === undefined ? undefined : { '--appear-scale': scaleFrom }, rise === undefined ? undefined : { '--appear-rise': `${rise}px` }, delayMs === undefined ? undefined : { animationDelay: `${delayMs}ms` }, durationMs === undefined
56
+ ? undefined
57
+ : { animationDuration: `${durationMs}ms` }, css), children: children })));
58
+ Appear.displayName = 'Appear';
59
+
60
+ exports.Appear = Appear;
61
+ //# sourceMappingURL=Appear.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Appear.js","sources":["../../../src/components/Appear/Appear.tsx"],"sourcesContent":[null],"names":["forwardRef","_jsx","Box","mergeCss","appearIn"],"mappings":";;;;;;;;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCG;AACI,MAAM,MAAM,GAAGA,gBAAU,CAC9B,CACE,EACE,SAAS,EACT,IAAI,EACJ,OAAO,EACP,UAAU,EACV,QAAQ,EACR,GAAG,EACH,GAAG,IAAI,EACK,EACd,GAAkC,MAElCC,eAACC,SAAG,EAAA,EACF,GAAG,EAAE,GAAG,KACJ,IAAI,EACR,GAAG,EAAEC,iBAAQ,CACXC,sBAAQ;;;IAGR,SAAS,KAAK,SAAS,GAAG,SAAS,GAAG,EAAE,gBAAgB,EAAE,SAAS,EAAE,EACrE,IAAI,KAAK,SAAS,GAAG,SAAS,GAAG,EAAE,eAAe,EAAE,CAAA,EAAG,IAAI,CAAA,EAAA,CAAI,EAAE,EACjE,OAAO,KAAK,SAAS,GAAG,SAAS,GAAG,EAAE,cAAc,EAAE,CAAA,EAAG,OAAO,CAAA,EAAA,CAAI,EAAE,EACtE,UAAU,KAAK;AACb,UAAE;AACF,UAAE,EAAE,iBAAiB,EAAE,CAAA,EAAG,UAAU,CAAA,EAAA,CAAI,EAAE,EAC5C,GAAG,CACJ,EAAA,QAAA,EAEA,QAAQ,EAAA,CACL,CACP;AAGH,MAAM,CAAC,WAAW,GAAG,QAAQ;;;;"}
@@ -0,0 +1,59 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import { Box } from '@chakra-ui/react';
5
+ import { mergeCss } from '../../utils/mergeCss.mjs';
6
+ import { appearIn } from './Appear.styles.mjs';
7
+
8
+ /**
9
+ * Brings an element in on mount — a fade, plus an optional scale (a *stamp*
10
+ * landing on something) or vertical travel (content *arriving*).
11
+ *
12
+ * ## Which of the three entrances this is
13
+ *
14
+ * The library has three, and they are not interchangeable:
15
+ *
16
+ * - `animationStyle="presence"` — a part that **has both states**. Menus,
17
+ * popovers, modals: the node stays mounted and Chakra flips `_open` /
18
+ * `_closed`, so it can animate *out* as well as in.
19
+ * - `staggerProps(index)` — items of **one list**, where the index is the
20
+ * cadence and the whole point is the rhythm between siblings.
21
+ * - `Appear` — a **single element entering once**, on its own schedule, usually
22
+ * as a response to something the reader just did. The delay is hand-set per
23
+ * call site because there is no list to derive it from.
24
+ *
25
+ * The rule of thumb: if the element can close, use `presence`; if it has
26
+ * siblings arriving with it, use `stagger`; otherwise this.
27
+ *
28
+ * ## What it does not do
29
+ *
30
+ * It does not animate out. CSS cannot animate an element that is being removed
31
+ * from the DOM, which is exactly the gap `presence` fills by keeping the node
32
+ * mounted. FactChat's version accepts an `exit` too, but only inside an
33
+ * `AnimatePresence` ancestor — standalone it is a no-op there as well, so
34
+ * nothing that actually ran is lost in the port.
35
+ *
36
+ * ## What it puts in the DOM
37
+ *
38
+ * **One `div` around `children`**, and layout props land on that wrapper rather
39
+ * than on the child. Usually the same result — but the child is no longer a
40
+ * *direct* child of what surrounds it, so animate the inner element instead of
41
+ * wrapping when the parent needs its children directly: a `<tr>` needs `<td>`s,
42
+ * and Ark parts (`Menu.List`, `Tree`) walk their own children for focus and
43
+ * typeahead.
44
+ *
45
+ * ```tsx
46
+ * <Appear scaleFrom={0.5}>✓</Appear>
47
+ * <Appear rise={6} delayMs={120}>정답입니다</Appear>
48
+ * ```
49
+ */
50
+ const Appear = forwardRef(({ scaleFrom, rise, delayMs, durationMs, children, css, ...rest }, ref) => (jsx(Box, { ref: ref, ...rest, css: mergeCss(appearIn,
51
+ // Omitted props leave the keyframe's identity defaults in place, so one
52
+ // keyframe serves a plain fade, a stamp, an arrival, or all three.
53
+ scaleFrom === undefined ? undefined : { '--appear-scale': scaleFrom }, rise === undefined ? undefined : { '--appear-rise': `${rise}px` }, delayMs === undefined ? undefined : { animationDelay: `${delayMs}ms` }, durationMs === undefined
54
+ ? undefined
55
+ : { animationDuration: `${durationMs}ms` }, css), children: children })));
56
+ Appear.displayName = 'Appear';
57
+
58
+ export { Appear };
59
+ //# sourceMappingURL=Appear.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Appear.mjs","sources":["../../../src/components/Appear/Appear.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCG;AACI,MAAM,MAAM,GAAG,UAAU,CAC9B,CACE,EACE,SAAS,EACT,IAAI,EACJ,OAAO,EACP,UAAU,EACV,QAAQ,EACR,GAAG,EACH,GAAG,IAAI,EACK,EACd,GAAkC,MAElCA,IAAC,GAAG,EAAA,EACF,GAAG,EAAE,GAAG,KACJ,IAAI,EACR,GAAG,EAAE,QAAQ,CACX,QAAQ;;;IAGR,SAAS,KAAK,SAAS,GAAG,SAAS,GAAG,EAAE,gBAAgB,EAAE,SAAS,EAAE,EACrE,IAAI,KAAK,SAAS,GAAG,SAAS,GAAG,EAAE,eAAe,EAAE,CAAA,EAAG,IAAI,CAAA,EAAA,CAAI,EAAE,EACjE,OAAO,KAAK,SAAS,GAAG,SAAS,GAAG,EAAE,cAAc,EAAE,CAAA,EAAG,OAAO,CAAA,EAAA,CAAI,EAAE,EACtE,UAAU,KAAK;AACb,UAAE;AACF,UAAE,EAAE,iBAAiB,EAAE,CAAA,EAAG,UAAU,CAAA,EAAA,CAAI,EAAE,EAC5C,GAAG,CACJ,EAAA,QAAA,EAEA,QAAQ,EAAA,CACL,CACP;AAGH,MAAM,CAAC,WAAW,GAAG,QAAQ;;;;"}
@@ -0,0 +1,18 @@
1
+ import type { SystemStyleObject } from '@chakra-ui/react';
2
+ /**
3
+ * A mount entrance.
4
+ *
5
+ * `overshoot`, and that is the whole reason this is not just a fade: an entrance
6
+ * that settles slightly past its resting state reads as something *landing*,
7
+ * which is what a stamp is. On `standard` the same scale reads as a rendering
8
+ * hiccup — the curve is doing more work here than the amplitude.
9
+ *
10
+ * `motion.base`, the default for anything arriving.
11
+ *
12
+ * Under reduced motion the fade stays and the movement goes. The element still
13
+ * has to become visible — it was not there a moment ago — but neither the scale
14
+ * nor the travel carries information, so both are dropped by resetting their
15
+ * custom properties to identity rather than by killing the animation.
16
+ */
17
+ export declare const appearIn: SystemStyleObject;
18
+ //# sourceMappingURL=Appear.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Appear.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Appear/Appear.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,QAAQ,EAAE,iBAUtB,CAAC"}
@@ -0,0 +1,32 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ /**
5
+ * A mount entrance.
6
+ *
7
+ * `overshoot`, and that is the whole reason this is not just a fade: an entrance
8
+ * that settles slightly past its resting state reads as something *landing*,
9
+ * which is what a stamp is. On `standard` the same scale reads as a rendering
10
+ * hiccup — the curve is doing more work here than the amplitude.
11
+ *
12
+ * `motion.base`, the default for anything arriving.
13
+ *
14
+ * Under reduced motion the fade stays and the movement goes. The element still
15
+ * has to become visible — it was not there a moment ago — but neither the scale
16
+ * nor the travel carries information, so both are dropped by resetting their
17
+ * custom properties to identity rather than by killing the animation.
18
+ */
19
+ const appearIn = {
20
+ animationName: 'appear-in',
21
+ animationDuration: 'motion.base',
22
+ animationTimingFunction: 'overshoot',
23
+ animationFillMode: 'both',
24
+ _motionReduce: {
25
+ '--appear-scale': '1',
26
+ '--appear-rise': '0px',
27
+ animationTimingFunction: 'standard',
28
+ },
29
+ };
30
+
31
+ exports.appearIn = appearIn;
32
+ //# sourceMappingURL=Appear.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Appear.styles.js","sources":["../../../src/components/Appear/Appear.styles.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;AAcG;AACI,MAAM,QAAQ,GAAsB;AACzC,IAAA,aAAa,EAAE,WAAW;AAC1B,IAAA,iBAAiB,EAAE,aAAa;AAChC,IAAA,uBAAuB,EAAE,WAAW;AACpC,IAAA,iBAAiB,EAAE,MAAM;AACzB,IAAA,aAAa,EAAE;AACb,QAAA,gBAAgB,EAAE,GAAG;AACrB,QAAA,eAAe,EAAE,KAAK;AACtB,QAAA,uBAAuB,EAAE,UAAU;AACpC,KAAA;;;;;"}
@@ -0,0 +1,30 @@
1
+ "use client";
2
+ /**
3
+ * A mount entrance.
4
+ *
5
+ * `overshoot`, and that is the whole reason this is not just a fade: an entrance
6
+ * that settles slightly past its resting state reads as something *landing*,
7
+ * which is what a stamp is. On `standard` the same scale reads as a rendering
8
+ * hiccup — the curve is doing more work here than the amplitude.
9
+ *
10
+ * `motion.base`, the default for anything arriving.
11
+ *
12
+ * Under reduced motion the fade stays and the movement goes. The element still
13
+ * has to become visible — it was not there a moment ago — but neither the scale
14
+ * nor the travel carries information, so both are dropped by resetting their
15
+ * custom properties to identity rather than by killing the animation.
16
+ */
17
+ const appearIn = {
18
+ animationName: 'appear-in',
19
+ animationDuration: 'motion.base',
20
+ animationTimingFunction: 'overshoot',
21
+ animationFillMode: 'both',
22
+ _motionReduce: {
23
+ '--appear-scale': '1',
24
+ '--appear-rise': '0px',
25
+ animationTimingFunction: 'standard',
26
+ },
27
+ };
28
+
29
+ export { appearIn };
30
+ //# sourceMappingURL=Appear.styles.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Appear.styles.mjs","sources":["../../../src/components/Appear/Appear.styles.ts"],"sourcesContent":[null],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;AAcG;AACI,MAAM,QAAQ,GAAsB;AACzC,IAAA,aAAa,EAAE,WAAW;AAC1B,IAAA,iBAAiB,EAAE,aAAa;AAChC,IAAA,uBAAuB,EAAE,WAAW;AACpC,IAAA,iBAAiB,EAAE,MAAM;AACzB,IAAA,aAAa,EAAE;AACb,QAAA,gBAAgB,EAAE,GAAG;AACrB,QAAA,eAAe,EAAE,KAAK;AACtB,QAAA,uBAAuB,EAAE,UAAU;AACpC,KAAA;;;;;"}
@@ -0,0 +1,18 @@
1
+ import type { BoxProps } from '@chakra-ui/react';
2
+ export interface AppearProps extends Omit<BoxProps, 'scale' | 'translate'> {
3
+ /**
4
+ * Scale to grow from — for a **stamp**: a mark that lands on something, like a
5
+ * ✓ on a correct answer or a reward medallion. Omit for a plain fade.
6
+ */
7
+ scaleFrom?: number;
8
+ /**
9
+ * Vertical travel in px — for content **arriving**: a row, a card, a banner.
10
+ * Positive values rise from below.
11
+ */
12
+ rise?: number;
13
+ /** Delay before it appears. */
14
+ delayMs?: number;
15
+ /** Defaults to `motion.base` (300ms). */
16
+ durationMs?: number;
17
+ }
18
+ //# sourceMappingURL=Appear.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Appear.types.d.ts","sourceRoot":"","sources":["../../../src/components/Appear/Appear.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,QAAQ,EAAE,OAAO,GAAG,WAAW,CAAC;IACxE;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,3 @@
1
+ export { Appear } from './Appear';
2
+ export type { AppearProps } from './Appear.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Appear/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAe,MAAM,gBAAgB,CAAC;AAkE7D,eAAO,MAAM,MAAM,gEAA0C,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAe,MAAM,gBAAgB,CAAC;AAqH7D,eAAO,MAAM,MAAM,gEAA0C,CAAC"}
@@ -20,14 +20,39 @@ var Button_styles = require('./Button.styles.js');
20
20
  * <Button colorPalette="danger" variant="solid">Delete</Button>
21
21
  * <Button colorPalette="secondary" variant="outline">Cancel</Button>
22
22
  * <Button colorPalette="neutral" variant="ghost">Close</Button>
23
+ * <Button colorPalette="primary" variant="solid" lift>Get started</Button>
23
24
  *
24
25
  * // `as` carries the element's own props (see Button.types.ts):
25
26
  * <Button as="a" href="/docs" target="_blank">문서</Button>
26
27
  * ```
27
28
  */
28
- const ButtonImpl = React.forwardRef(({ colorPalette, variant = 'soft', size, children, ...rest }, ref) => {
29
+ const ButtonImpl = React.forwardRef(({ colorPalette, variant = 'soft', size, lift, children, _hover: hoverProp, _active: activeProp, ...rest }, ref) => {
29
30
  const palette = colorPalette ?? 'primary';
30
- const styles = Button_styles.getButtonStyles(palette, variant);
31
+ const base = Button_styles.getButtonStyles(palette, variant);
32
+ // Merged rather than spread after: each variant already owns `_hover` and
33
+ // `_active` for its colours, and replacing either would drop them.
34
+ const styles = lift
35
+ ? {
36
+ ...base,
37
+ _hover: {
38
+ ...base._hover,
39
+ translate: '0 -1px',
40
+ // `drop-shadow`, not `box-shadow`. The keyboard focus ring is a
41
+ // box-shadow, and Chakra emits `:hover` after `:focus-visible`, so
42
+ // a focused button being hovered would lose its ring to this. A
43
+ // different property cannot collide with it at all — and unlike a
44
+ // box-shadow it follows the border radius for free.
45
+ filter: 'drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18))',
46
+ // A black shadow does nothing on a dark canvas; deepen it there.
47
+ _dark: { filter: 'drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55))' },
48
+ },
49
+ // Pressing puts it back on the surface, under the `scale`.
50
+ _active: { ...base._active, translate: '0 0', filter: 'none' },
51
+ // `:hover` still matches a disabled button, so the lift has to be
52
+ // switched off here rather than left to pointer-events.
53
+ _disabled: { translate: '0 0', filter: 'none' },
54
+ }
55
+ : base;
31
56
  /**
32
57
  * Chakra Button automatically maps size prop to textStyle:
33
58
  * - 2xs, xs → textStyle="xs" (10.5px with 14px base)
@@ -38,7 +63,21 @@ const ButtonImpl = React.forwardRef(({ colorPalette, variant = 'soft', size, chi
38
63
  * We override fontSize for xs size to 'sm' (12.25px) for better readability.
39
64
  * Other sizes use Chakra's default textStyle mapping.
40
65
  */
41
- return (jsxRuntime.jsx(react.Button, { border: "1px solid", lineHeight: "1.2", fontWeight: "semibold", size: size, borderRadius: "md", ...styles, ...focusRing.focusRing, cursor: "pointer", transitionProperty: "all", transitionDuration: "0.25s", transitionTimingFunction: "ease-in-out", ref: ref, ...rest, children: children }));
66
+ return (jsxRuntime.jsx(react.Button, { border: "1px solid", lineHeight: "1.2", fontWeight: "semibold", size: size, borderRadius: "md", ...styles,
67
+ // Merged, not left to `{...rest}`. A prop spread later replaces the
68
+ // whole object, so a call site adding one line — the 2px press ledge
69
+ // FactChat puts on its quiz buttons — used to silently drop the
70
+ // variant's pressed colour *and* the scale with it, and the button
71
+ // stopped reading as pressed at all. Its own keys still win; it just
72
+ // no longer erases the ones it did not mention.
73
+ _hover: { ...styles._hover, ...hoverProp }, _active: { ...styles._active, ...activeProp }, ...focusRing.focusRing, cursor: "pointer",
74
+ // Explicit identity so the press transitions from a definite value
75
+ // rather than relying on `scale: none` being read as 1.
76
+ scale: "1",
77
+ // Two clocks on one element — the press is faster than the colour
78
+ // change — so the shorthand is written out and only the reduced-motion
79
+ // guard comes from the vocabulary.
80
+ transition: Button_styles.buttonTransition, animationStyle: "composite", ref: ref, ...rest, children: children }));
42
81
  });
43
82
  /**
44
83
  * Type-level polymorphism over the same runtime — see `polymorphic` in
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":[null],"names":["forwardRef","getButtonStyles","_jsx","ChakraButton","focusRing","polymorphic"],"mappings":";;;;;;;;;;AASA;;;;;;;;;;;;;;;;AAgBG;AACH,MAAM,UAAU,GAAGA,gBAAU,CAC3B,CAAC,EAAE,YAAY,EAAE,OAAO,GAAG,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,KAAI;AACnE,IAAA,MAAM,OAAO,GAAG,YAAY,IAAI,SAAS;IAEzC,MAAM,MAAM,GAAGC,6BAAe,CAAC,OAAO,EAAE,OAAO,CAAC;AAEhD;;;;;;;;;AASG;IACH,QACEC,cAAA,CAACC,YAAY,EAAA,EACX,MAAM,EAAC,WAAW,EAClB,UAAU,EAAC,KAAK,EAChB,UAAU,EAAC,UAAU,EACrB,IAAI,EAAE,IAAI,EACV,YAAY,EAAC,IAAI,EAAA,GACb,MAAM,EAAA,GACNC,mBAAS,EACb,MAAM,EAAC,SAAS,EAChB,kBAAkB,EAAC,KAAK,EACxB,kBAAkB,EAAC,OAAO,EAC1B,wBAAwB,EAAC,aAAa,EACtC,GAAG,EAAE,GAAG,EAAA,GACJ,IAAI,EAAA,QAAA,EAEP,QAAQ,EAAA,CACI;AAEnB,CAAC,CACF;AAED;;;;;;AAMG;AACH,UAAU,CAAC,WAAW,GAAG,QAAQ;MAEpB,MAAM,GAAGC,uBAAW,CAAiB,UAAU;;;;"}
1
+ {"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":[null],"names":["forwardRef","getButtonStyles","_jsx","ChakraButton","focusRing","buttonTransition","polymorphic"],"mappings":";;;;;;;;;;AASA;;;;;;;;;;;;;;;;;AAiBG;AACH,MAAM,UAAU,GAAGA,gBAAU,CAC3B,CACE,EACE,YAAY,EACZ,OAAO,GAAG,MAAM,EAChB,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,EACnB,GAAG,IAAI,EACR,EACD,GAAG,KACD;AACF,IAAA,MAAM,OAAO,GAAG,YAAY,IAAI,SAAS;IAEzC,MAAM,IAAI,GAAGC,6BAAe,CAAC,OAAO,EAAE,OAAO,CAAC;;;IAI9C,MAAM,MAAM,GAAG;AACb,UAAE;AACE,YAAA,GAAG,IAAI;AACP,YAAA,MAAM,EAAE;gBACN,GAAG,IAAI,CAAC,MAAM;AACd,gBAAA,SAAS,EAAE,QAAQ;;;;;;AAMnB,gBAAA,MAAM,EAAE,4CAA4C;;AAEpD,gBAAA,KAAK,EAAE,EAAE,MAAM,EAAE,4CAA4C,EAAE;AAChE,aAAA;;AAED,YAAA,OAAO,EAAE,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;;;YAG9D,SAAS,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;AAChD;UACD,IAAI;AAER;;;;;;;;;AASG;IACH,QACEC,cAAA,CAACC,YAAY,EAAA,EACX,MAAM,EAAC,WAAW,EAClB,UAAU,EAAC,KAAK,EAChB,UAAU,EAAC,UAAU,EACrB,IAAI,EAAE,IAAI,EACV,YAAY,EAAC,IAAI,EAAA,GACb,MAAM;;;;;;;QAOV,MAAM,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,EAAE,EAC1C,OAAO,EAAE,EAAE,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,UAAU,EAAE,EAAA,GACzCC,mBAAS,EACb,MAAM,EAAC,SAAS;;;AAGhB,QAAA,KAAK,EAAC,GAAG;;;;AAIT,QAAA,UAAU,EAAEC,8BAAgB,EAC5B,cAAc,EAAC,WAAW,EAC1B,GAAG,EAAE,GAAG,KACJ,IAAI,EAAA,QAAA,EAEP,QAAQ,EAAA,CACI;AAEnB,CAAC,CACF;AAED;;;;;;AAMG;AACH,UAAU,CAAC,WAAW,GAAG,QAAQ;MAEpB,MAAM,GAAGC,uBAAW,CAAiB,UAAU;;;;"}
@@ -4,7 +4,7 @@ import { forwardRef } from 'react';
4
4
  import { Button as Button$1 } from '@chakra-ui/react';
5
5
  import { focusRing } from '../../utils/focusRing.mjs';
6
6
  import { polymorphic } from '../../types/polymorphic.mjs';
7
- import { getButtonStyles } from './Button.styles.mjs';
7
+ import { getButtonStyles, buttonTransition } from './Button.styles.mjs';
8
8
 
9
9
  /**
10
10
  * Button component with two-dimensional variant system.
@@ -18,14 +18,39 @@ import { getButtonStyles } from './Button.styles.mjs';
18
18
  * <Button colorPalette="danger" variant="solid">Delete</Button>
19
19
  * <Button colorPalette="secondary" variant="outline">Cancel</Button>
20
20
  * <Button colorPalette="neutral" variant="ghost">Close</Button>
21
+ * <Button colorPalette="primary" variant="solid" lift>Get started</Button>
21
22
  *
22
23
  * // `as` carries the element's own props (see Button.types.ts):
23
24
  * <Button as="a" href="/docs" target="_blank">문서</Button>
24
25
  * ```
25
26
  */
26
- const ButtonImpl = forwardRef(({ colorPalette, variant = 'soft', size, children, ...rest }, ref) => {
27
+ const ButtonImpl = forwardRef(({ colorPalette, variant = 'soft', size, lift, children, _hover: hoverProp, _active: activeProp, ...rest }, ref) => {
27
28
  const palette = colorPalette ?? 'primary';
28
- const styles = getButtonStyles(palette, variant);
29
+ const base = getButtonStyles(palette, variant);
30
+ // Merged rather than spread after: each variant already owns `_hover` and
31
+ // `_active` for its colours, and replacing either would drop them.
32
+ const styles = lift
33
+ ? {
34
+ ...base,
35
+ _hover: {
36
+ ...base._hover,
37
+ translate: '0 -1px',
38
+ // `drop-shadow`, not `box-shadow`. The keyboard focus ring is a
39
+ // box-shadow, and Chakra emits `:hover` after `:focus-visible`, so
40
+ // a focused button being hovered would lose its ring to this. A
41
+ // different property cannot collide with it at all — and unlike a
42
+ // box-shadow it follows the border radius for free.
43
+ filter: 'drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18))',
44
+ // A black shadow does nothing on a dark canvas; deepen it there.
45
+ _dark: { filter: 'drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55))' },
46
+ },
47
+ // Pressing puts it back on the surface, under the `scale`.
48
+ _active: { ...base._active, translate: '0 0', filter: 'none' },
49
+ // `:hover` still matches a disabled button, so the lift has to be
50
+ // switched off here rather than left to pointer-events.
51
+ _disabled: { translate: '0 0', filter: 'none' },
52
+ }
53
+ : base;
29
54
  /**
30
55
  * Chakra Button automatically maps size prop to textStyle:
31
56
  * - 2xs, xs → textStyle="xs" (10.5px with 14px base)
@@ -36,7 +61,21 @@ const ButtonImpl = forwardRef(({ colorPalette, variant = 'soft', size, children,
36
61
  * We override fontSize for xs size to 'sm' (12.25px) for better readability.
37
62
  * Other sizes use Chakra's default textStyle mapping.
38
63
  */
39
- return (jsx(Button$1, { border: "1px solid", lineHeight: "1.2", fontWeight: "semibold", size: size, borderRadius: "md", ...styles, ...focusRing, cursor: "pointer", transitionProperty: "all", transitionDuration: "0.25s", transitionTimingFunction: "ease-in-out", ref: ref, ...rest, children: children }));
64
+ return (jsx(Button$1, { border: "1px solid", lineHeight: "1.2", fontWeight: "semibold", size: size, borderRadius: "md", ...styles,
65
+ // Merged, not left to `{...rest}`. A prop spread later replaces the
66
+ // whole object, so a call site adding one line — the 2px press ledge
67
+ // FactChat puts on its quiz buttons — used to silently drop the
68
+ // variant's pressed colour *and* the scale with it, and the button
69
+ // stopped reading as pressed at all. Its own keys still win; it just
70
+ // no longer erases the ones it did not mention.
71
+ _hover: { ...styles._hover, ...hoverProp }, _active: { ...styles._active, ...activeProp }, ...focusRing, cursor: "pointer",
72
+ // Explicit identity so the press transitions from a definite value
73
+ // rather than relying on `scale: none` being read as 1.
74
+ scale: "1",
75
+ // Two clocks on one element — the press is faster than the colour
76
+ // change — so the shorthand is written out and only the reduced-motion
77
+ // guard comes from the vocabulary.
78
+ transition: buttonTransition, animationStyle: "composite", ref: ref, ...rest, children: children }));
40
79
  });
41
80
  /**
42
81
  * Type-level polymorphism over the same runtime — see `polymorphic` in
@@ -1 +1 @@
1
- {"version":3,"file":"Button.mjs","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":[null],"names":["_jsx","ChakraButton"],"mappings":";;;;;;;;AASA;;;;;;;;;;;;;;;;AAgBG;AACH,MAAM,UAAU,GAAG,UAAU,CAC3B,CAAC,EAAE,YAAY,EAAE,OAAO,GAAG,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,KAAI;AACnE,IAAA,MAAM,OAAO,GAAG,YAAY,IAAI,SAAS;IAEzC,MAAM,MAAM,GAAG,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC;AAEhD;;;;;;;;;AASG;IACH,QACEA,GAAA,CAACC,QAAY,EAAA,EACX,MAAM,EAAC,WAAW,EAClB,UAAU,EAAC,KAAK,EAChB,UAAU,EAAC,UAAU,EACrB,IAAI,EAAE,IAAI,EACV,YAAY,EAAC,IAAI,EAAA,GACb,MAAM,EAAA,GACN,SAAS,EACb,MAAM,EAAC,SAAS,EAChB,kBAAkB,EAAC,KAAK,EACxB,kBAAkB,EAAC,OAAO,EAC1B,wBAAwB,EAAC,aAAa,EACtC,GAAG,EAAE,GAAG,EAAA,GACJ,IAAI,EAAA,QAAA,EAEP,QAAQ,EAAA,CACI;AAEnB,CAAC,CACF;AAED;;;;;;AAMG;AACH,UAAU,CAAC,WAAW,GAAG,QAAQ;MAEpB,MAAM,GAAG,WAAW,CAAiB,UAAU;;;;"}
1
+ {"version":3,"file":"Button.mjs","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":[null],"names":["_jsx","ChakraButton"],"mappings":";;;;;;;;AASA;;;;;;;;;;;;;;;;;AAiBG;AACH,MAAM,UAAU,GAAG,UAAU,CAC3B,CACE,EACE,YAAY,EACZ,OAAO,GAAG,MAAM,EAChB,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,EACnB,GAAG,IAAI,EACR,EACD,GAAG,KACD;AACF,IAAA,MAAM,OAAO,GAAG,YAAY,IAAI,SAAS;IAEzC,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC;;;IAI9C,MAAM,MAAM,GAAG;AACb,UAAE;AACE,YAAA,GAAG,IAAI;AACP,YAAA,MAAM,EAAE;gBACN,GAAG,IAAI,CAAC,MAAM;AACd,gBAAA,SAAS,EAAE,QAAQ;;;;;;AAMnB,gBAAA,MAAM,EAAE,4CAA4C;;AAEpD,gBAAA,KAAK,EAAE,EAAE,MAAM,EAAE,4CAA4C,EAAE;AAChE,aAAA;;AAED,YAAA,OAAO,EAAE,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;;;YAG9D,SAAS,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;AAChD;UACD,IAAI;AAER;;;;;;;;;AASG;IACH,QACEA,GAAA,CAACC,QAAY,EAAA,EACX,MAAM,EAAC,WAAW,EAClB,UAAU,EAAC,KAAK,EAChB,UAAU,EAAC,UAAU,EACrB,IAAI,EAAE,IAAI,EACV,YAAY,EAAC,IAAI,EAAA,GACb,MAAM;;;;;;;QAOV,MAAM,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,EAAE,EAC1C,OAAO,EAAE,EAAE,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,UAAU,EAAE,EAAA,GACzC,SAAS,EACb,MAAM,EAAC,SAAS;;;AAGhB,QAAA,KAAK,EAAC,GAAG;;;;AAIT,QAAA,UAAU,EAAE,gBAAgB,EAC5B,cAAc,EAAC,WAAW,EAC1B,GAAG,EAAE,GAAG,KACJ,IAAI,EAAA,QAAA,EAEP,QAAQ,EAAA,CACI;AAEnB,CAAC,CACF;AAED;;;;;;AAMG;AACH,UAAU,CAAC,WAAW,GAAG,QAAQ;MAEpB,MAAM,GAAG,WAAW,CAAiB,UAAU;;;;"}
@@ -1,6 +1,7 @@
1
1
  import { ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
2
2
  import { ButtonColorPalette, ButtonVariant } from './Button.types';
3
3
  type StyleProps = Partial<ChakraButtonProps>;
4
+ export declare const buttonTransition: string;
4
5
  /**
5
6
  * Two-dimensional Button styles using the Golden Ratio color system.
6
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEpE,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEnE,KAAK,UAAU,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,kBAAkB,EAClB,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CA6VlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,eAAc,kBAA8B,EAC5C,UAAS,aAAuB,KAC/B,UAEF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,kBAAkB,EAOnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,uBAAuB,+EAA2B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,aAAa,EAKzC,CAAC"}
1
+ {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEpE,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEnE,KAAK,UAAU,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AA8B7C,eAAO,MAAM,gBAAgB,QAoBjB,CAAC;AAEb;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,kBAAkB,EAClB,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAmXlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,eAAc,kBAA8B,EAC5C,UAAS,aAAuB,KAC/B,UAEF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,kBAAkB,EAOnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,uBAAuB,+EAA2B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,aAAa,EAKzC,CAAC"}