@mindlogic-ai/logician-ui 4.0.0-alpha.9 → 5.0.0-alpha.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 (1696) hide show
  1. package/MIGRATION-5.0.md +155 -0
  2. package/USAGE.md +18 -1
  3. package/codemods/5.0/README.md +244 -0
  4. package/codemods/5.0/__testfixtures__/badge-variants.input.tsx +20 -0
  5. package/codemods/5.0/__testfixtures__/badge-variants.output.tsx +21 -0
  6. package/codemods/5.0/__testfixtures__/button-variants.input.tsx +124 -0
  7. package/codemods/5.0/__testfixtures__/button-variants.output.tsx +116 -0
  8. package/codemods/5.0/__testfixtures__/card-gradient.input.tsx +12 -0
  9. package/codemods/5.0/__testfixtures__/card-gradient.output.tsx +16 -0
  10. package/codemods/5.0/__testfixtures__/index.input.tsx +43 -0
  11. package/codemods/5.0/__testfixtures__/index.output.tsx +53 -0
  12. package/codemods/5.0/__testfixtures__/tag-chip-conflict.input.tsx +10 -0
  13. package/codemods/5.0/__testfixtures__/tag-chip-conflict.output.tsx +12 -0
  14. package/codemods/5.0/__testfixtures__/tag-chip-merge.input.tsx +42 -0
  15. package/codemods/5.0/__testfixtures__/tag-chip-merge.output.tsx +44 -0
  16. package/codemods/5.0/__testfixtures__/tag-chip.input.tsx +67 -0
  17. package/codemods/5.0/__testfixtures__/tag-chip.output.tsx +99 -0
  18. package/codemods/5.0/__testfixtures__/token-renames.input.tsx +88 -0
  19. package/codemods/5.0/__testfixtures__/token-renames.output.tsx +88 -0
  20. package/codemods/5.0/badge-variants.js +91 -0
  21. package/codemods/5.0/button-variants.js +233 -0
  22. package/codemods/5.0/card-gradient.js +72 -0
  23. package/codemods/5.0/codemods.test.ts +440 -0
  24. package/codemods/5.0/index.js +220 -0
  25. package/codemods/5.0/lib/shared.js +273 -0
  26. package/codemods/5.0/tag-chip.js +436 -0
  27. package/codemods/5.0/token-renames.js +231 -0
  28. package/codemods/vitest.config.ts +22 -0
  29. package/dist/components/Appear/Appear.d.ts +45 -0
  30. package/dist/components/Appear/Appear.d.ts.map +1 -0
  31. package/dist/components/Appear/Appear.js +61 -0
  32. package/dist/components/Appear/Appear.js.map +1 -0
  33. package/dist/components/Appear/Appear.mjs +59 -0
  34. package/dist/components/Appear/Appear.mjs.map +1 -0
  35. package/dist/components/Appear/Appear.styles.d.ts +18 -0
  36. package/dist/components/Appear/Appear.styles.d.ts.map +1 -0
  37. package/dist/components/Appear/Appear.styles.js +32 -0
  38. package/dist/components/Appear/Appear.styles.js.map +1 -0
  39. package/dist/components/Appear/Appear.styles.mjs +30 -0
  40. package/dist/components/Appear/Appear.styles.mjs.map +1 -0
  41. package/dist/components/Appear/Appear.types.d.ts +18 -0
  42. package/dist/components/Appear/Appear.types.d.ts.map +1 -0
  43. package/dist/components/Appear/index.d.ts +3 -0
  44. package/dist/components/Appear/index.d.ts.map +1 -0
  45. package/dist/components/Avatar/Avatar.d.ts +37 -0
  46. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  47. package/dist/components/Avatar/Avatar.js +31 -2
  48. package/dist/components/Avatar/Avatar.js.map +1 -1
  49. package/dist/components/Avatar/Avatar.mjs +30 -3
  50. package/dist/components/Avatar/Avatar.mjs.map +1 -1
  51. package/dist/components/Avatar/index.d.ts +1 -1
  52. package/dist/components/Avatar/index.d.ts.map +1 -1
  53. package/dist/components/Badge/Badge.d.ts +2 -15
  54. package/dist/components/Badge/Badge.d.ts.map +1 -1
  55. package/dist/components/Badge/Badge.js +14 -7
  56. package/dist/components/Badge/Badge.js.map +1 -1
  57. package/dist/components/Badge/Badge.mjs +15 -8
  58. package/dist/components/Badge/Badge.mjs.map +1 -1
  59. package/dist/components/Badge/Badge.styles.d.ts +17 -3
  60. package/dist/components/Badge/Badge.styles.d.ts.map +1 -1
  61. package/dist/components/Badge/Badge.styles.js +51 -45
  62. package/dist/components/Badge/Badge.styles.js.map +1 -1
  63. package/dist/components/Badge/Badge.styles.mjs +50 -46
  64. package/dist/components/Badge/Badge.styles.mjs.map +1 -1
  65. package/dist/components/Badge/Badge.types.d.ts +31 -14
  66. package/dist/components/Badge/Badge.types.d.ts.map +1 -1
  67. package/dist/components/Badge/index.d.ts +2 -2
  68. package/dist/components/Badge/index.d.ts.map +1 -1
  69. package/dist/components/Banner/Banner.js +2 -1
  70. package/dist/components/Banner/Banner.js.map +1 -1
  71. package/dist/components/Banner/Banner.mjs +2 -1
  72. package/dist/components/Banner/Banner.mjs.map +1 -1
  73. package/dist/components/Banner/Banner.styles.d.ts +7 -3
  74. package/dist/components/Banner/Banner.styles.d.ts.map +1 -1
  75. package/dist/components/Banner/Banner.styles.js +43 -27
  76. package/dist/components/Banner/Banner.styles.js.map +1 -1
  77. package/dist/components/Banner/Banner.styles.mjs +44 -28
  78. package/dist/components/Banner/Banner.styles.mjs.map +1 -1
  79. package/dist/components/Banner/Banner.types.d.ts +1 -1
  80. package/dist/components/Banner/Banner.types.d.ts.map +1 -1
  81. package/dist/components/BottomSheet/BottomSheet.d.ts +28 -0
  82. package/dist/components/BottomSheet/BottomSheet.d.ts.map +1 -0
  83. package/dist/components/BottomSheet/BottomSheet.js +38 -0
  84. package/dist/components/BottomSheet/BottomSheet.js.map +1 -0
  85. package/dist/components/BottomSheet/BottomSheet.mjs +36 -0
  86. package/dist/components/BottomSheet/BottomSheet.mjs.map +1 -0
  87. package/dist/components/BottomSheet/BottomSheet.styles.d.ts +32 -0
  88. package/dist/components/BottomSheet/BottomSheet.styles.d.ts.map +1 -0
  89. package/dist/components/BottomSheet/BottomSheet.styles.js +164 -0
  90. package/dist/components/BottomSheet/BottomSheet.styles.js.map +1 -0
  91. package/dist/components/BottomSheet/BottomSheet.styles.mjs +161 -0
  92. package/dist/components/BottomSheet/BottomSheet.styles.mjs.map +1 -0
  93. package/dist/components/BottomSheet/BottomSheet.types.d.ts +43 -0
  94. package/dist/components/BottomSheet/BottomSheet.types.d.ts.map +1 -0
  95. package/dist/components/BottomSheet/BottomSheetBody.d.ts +8 -0
  96. package/dist/components/BottomSheet/BottomSheetBody.d.ts.map +1 -0
  97. package/dist/components/BottomSheet/BottomSheetBody.js +17 -0
  98. package/dist/components/BottomSheet/BottomSheetBody.js.map +1 -0
  99. package/dist/components/BottomSheet/BottomSheetBody.mjs +15 -0
  100. package/dist/components/BottomSheet/BottomSheetBody.mjs.map +1 -0
  101. package/dist/components/BottomSheet/BottomSheetCloseButton.d.ts +11 -0
  102. package/dist/components/BottomSheet/BottomSheetCloseButton.d.ts.map +1 -0
  103. package/dist/components/BottomSheet/BottomSheetCloseButton.js +27 -0
  104. package/dist/components/BottomSheet/BottomSheetCloseButton.js.map +1 -0
  105. package/dist/components/BottomSheet/BottomSheetCloseButton.mjs +25 -0
  106. package/dist/components/BottomSheet/BottomSheetCloseButton.mjs.map +1 -0
  107. package/dist/components/BottomSheet/BottomSheetContent.d.ts +12 -0
  108. package/dist/components/BottomSheet/BottomSheetContent.d.ts.map +1 -0
  109. package/dist/components/BottomSheet/BottomSheetContent.js +25 -0
  110. package/dist/components/BottomSheet/BottomSheetContent.js.map +1 -0
  111. package/dist/components/BottomSheet/BottomSheetContent.mjs +23 -0
  112. package/dist/components/BottomSheet/BottomSheetContent.mjs.map +1 -0
  113. package/dist/components/BottomSheet/BottomSheetContext.d.ts +28 -0
  114. package/dist/components/BottomSheet/BottomSheetContext.d.ts.map +1 -0
  115. package/dist/components/BottomSheet/BottomSheetContext.js +53 -0
  116. package/dist/components/BottomSheet/BottomSheetContext.js.map +1 -0
  117. package/dist/components/BottomSheet/BottomSheetContext.mjs +40 -0
  118. package/dist/components/BottomSheet/BottomSheetContext.mjs.map +1 -0
  119. package/dist/components/BottomSheet/BottomSheetFooter.d.ts +4 -0
  120. package/dist/components/BottomSheet/BottomSheetFooter.d.ts.map +1 -0
  121. package/dist/components/BottomSheet/BottomSheetFooter.js +13 -0
  122. package/dist/components/BottomSheet/BottomSheetFooter.js.map +1 -0
  123. package/dist/components/BottomSheet/BottomSheetFooter.mjs +11 -0
  124. package/dist/components/BottomSheet/BottomSheetFooter.mjs.map +1 -0
  125. package/dist/components/BottomSheet/BottomSheetHeader.d.ts +8 -0
  126. package/dist/components/BottomSheet/BottomSheetHeader.d.ts.map +1 -0
  127. package/dist/components/BottomSheet/BottomSheetHeader.js +19 -0
  128. package/dist/components/BottomSheet/BottomSheetHeader.js.map +1 -0
  129. package/dist/components/BottomSheet/BottomSheetHeader.mjs +17 -0
  130. package/dist/components/BottomSheet/BottomSheetHeader.mjs.map +1 -0
  131. package/dist/components/BottomSheet/BottomSheetOverlay.d.ts +8 -0
  132. package/dist/components/BottomSheet/BottomSheetOverlay.d.ts.map +1 -0
  133. package/dist/components/BottomSheet/BottomSheetOverlay.js +17 -0
  134. package/dist/components/BottomSheet/BottomSheetOverlay.js.map +1 -0
  135. package/dist/components/BottomSheet/BottomSheetOverlay.mjs +15 -0
  136. package/dist/components/BottomSheet/BottomSheetOverlay.mjs.map +1 -0
  137. package/dist/components/BottomSheet/index.d.ts +11 -0
  138. package/dist/components/BottomSheet/index.d.ts.map +1 -0
  139. package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.js +1 -1
  140. package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.js.map +1 -1
  141. package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.mjs +1 -1
  142. package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.mjs.map +1 -1
  143. package/dist/components/Button/Button.d.ts +2 -18
  144. package/dist/components/Button/Button.d.ts.map +1 -1
  145. package/dist/components/Button/Button.js +94 -13
  146. package/dist/components/Button/Button.js.map +1 -1
  147. package/dist/components/Button/Button.legacy.d.ts +53 -0
  148. package/dist/components/Button/Button.legacy.d.ts.map +1 -0
  149. package/dist/components/Button/Button.legacy.js +130 -0
  150. package/dist/components/Button/Button.legacy.js.map +1 -0
  151. package/dist/components/Button/Button.legacy.mjs +126 -0
  152. package/dist/components/Button/Button.legacy.mjs.map +1 -0
  153. package/dist/components/Button/Button.mjs +95 -14
  154. package/dist/components/Button/Button.mjs.map +1 -1
  155. package/dist/components/Button/Button.styles.d.ts +39 -26
  156. package/dist/components/Button/Button.styles.d.ts.map +1 -1
  157. package/dist/components/Button/Button.styles.js +178 -351
  158. package/dist/components/Button/Button.styles.js.map +1 -1
  159. package/dist/components/Button/Button.styles.mjs +176 -352
  160. package/dist/components/Button/Button.styles.mjs.map +1 -1
  161. package/dist/components/Button/Button.types.d.ts +81 -38
  162. package/dist/components/Button/Button.types.d.ts.map +1 -1
  163. package/dist/components/Button/index.d.ts +2 -2
  164. package/dist/components/Button/index.d.ts.map +1 -1
  165. package/dist/components/Card/Card.d.ts +2 -5
  166. package/dist/components/Card/Card.d.ts.map +1 -1
  167. package/dist/components/Card/Card.js +10 -8
  168. package/dist/components/Card/Card.js.map +1 -1
  169. package/dist/components/Card/Card.mjs +10 -8
  170. package/dist/components/Card/Card.mjs.map +1 -1
  171. package/dist/components/Card/Card.styles.d.ts +15 -3
  172. package/dist/components/Card/Card.styles.d.ts.map +1 -1
  173. package/dist/components/Card/Card.styles.js +29 -5
  174. package/dist/components/Card/Card.styles.js.map +1 -1
  175. package/dist/components/Card/Card.styles.mjs +29 -5
  176. package/dist/components/Card/Card.styles.mjs.map +1 -1
  177. package/dist/components/Card/Card.types.d.ts +16 -2
  178. package/dist/components/Card/Card.types.d.ts.map +1 -1
  179. package/dist/components/Card/index.d.ts +1 -1
  180. package/dist/components/Card/index.d.ts.map +1 -1
  181. package/dist/components/Checkbox/Checkbox.styles.d.ts +16 -0
  182. package/dist/components/Checkbox/Checkbox.styles.d.ts.map +1 -0
  183. package/dist/components/Checkbox/Checkbox.styles.js +30 -0
  184. package/dist/components/Checkbox/Checkbox.styles.js.map +1 -0
  185. package/dist/components/Checkbox/Checkbox.styles.mjs +28 -0
  186. package/dist/components/Checkbox/Checkbox.styles.mjs.map +1 -0
  187. package/dist/components/Checkbox/CheckboxControl.d.ts.map +1 -1
  188. package/dist/components/Checkbox/CheckboxControl.js +20 -9
  189. package/dist/components/Checkbox/CheckboxControl.js.map +1 -1
  190. package/dist/components/Checkbox/CheckboxControl.mjs +20 -9
  191. package/dist/components/Checkbox/CheckboxControl.mjs.map +1 -1
  192. package/dist/components/Chip/Chip.d.ts +4 -13
  193. package/dist/components/Chip/Chip.d.ts.map +1 -1
  194. package/dist/components/Chip/Chip.js +27 -18
  195. package/dist/components/Chip/Chip.js.map +1 -1
  196. package/dist/components/Chip/Chip.mjs +27 -18
  197. package/dist/components/Chip/Chip.mjs.map +1 -1
  198. package/dist/components/Chip/Chip.types.d.ts +44 -20
  199. package/dist/components/Chip/Chip.types.d.ts.map +1 -1
  200. package/dist/components/Chip/index.d.ts +1 -2
  201. package/dist/components/Chip/index.d.ts.map +1 -1
  202. package/dist/components/Code/Code.d.ts.map +1 -1
  203. package/dist/components/Code/Code.js +2 -2
  204. package/dist/components/Code/Code.js.map +1 -1
  205. package/dist/components/Code/Code.mjs +2 -2
  206. package/dist/components/Code/Code.mjs.map +1 -1
  207. package/dist/components/CodeTabs/CodeTabs.d.ts.map +1 -1
  208. package/dist/components/CodeTabs/CodeTabs.js +17 -2
  209. package/dist/components/CodeTabs/CodeTabs.js.map +1 -1
  210. package/dist/components/CodeTabs/CodeTabs.mjs +17 -2
  211. package/dist/components/CodeTabs/CodeTabs.mjs.map +1 -1
  212. package/dist/components/CodeTabs/CodeTabs.styles.d.ts +27 -0
  213. package/dist/components/CodeTabs/CodeTabs.styles.d.ts.map +1 -0
  214. package/dist/components/CodeTabs/CodeTabs.styles.js +32 -0
  215. package/dist/components/CodeTabs/CodeTabs.styles.js.map +1 -0
  216. package/dist/components/CodeTabs/CodeTabs.styles.mjs +30 -0
  217. package/dist/components/CodeTabs/CodeTabs.styles.mjs.map +1 -0
  218. package/dist/components/CodeTabs/CopyButton.d.ts.map +1 -1
  219. package/dist/components/CodeTabs/CopyButton.js +6 -3
  220. package/dist/components/CodeTabs/CopyButton.js.map +1 -1
  221. package/dist/components/CodeTabs/CopyButton.mjs +6 -3
  222. package/dist/components/CodeTabs/CopyButton.mjs.map +1 -1
  223. package/dist/components/Collapsible/CollapsibleContent.d.ts.map +1 -1
  224. package/dist/components/Collapsible/CollapsibleContent.js +5 -1
  225. package/dist/components/Collapsible/CollapsibleContent.js.map +1 -1
  226. package/dist/components/Collapsible/CollapsibleContent.mjs +5 -1
  227. package/dist/components/Collapsible/CollapsibleContent.mjs.map +1 -1
  228. package/dist/components/ColorMode/ColorModeToggle.d.ts.map +1 -1
  229. package/dist/components/ColorMode/ColorModeToggle.js +4 -2
  230. package/dist/components/ColorMode/ColorModeToggle.js.map +1 -1
  231. package/dist/components/ColorMode/ColorModeToggle.mjs +5 -3
  232. package/dist/components/ColorMode/ColorModeToggle.mjs.map +1 -1
  233. package/dist/components/Confetti/Confetti.d.ts +47 -0
  234. package/dist/components/Confetti/Confetti.d.ts.map +1 -0
  235. package/dist/components/Confetti/Confetti.js +115 -0
  236. package/dist/components/Confetti/Confetti.js.map +1 -0
  237. package/dist/components/Confetti/Confetti.mjs +113 -0
  238. package/dist/components/Confetti/Confetti.mjs.map +1 -0
  239. package/dist/components/Confetti/Confetti.styles.d.ts +32 -0
  240. package/dist/components/Confetti/Confetti.styles.d.ts.map +1 -0
  241. package/dist/components/Confetti/Confetti.styles.js +60 -0
  242. package/dist/components/Confetti/Confetti.styles.js.map +1 -0
  243. package/dist/components/Confetti/Confetti.styles.mjs +58 -0
  244. package/dist/components/Confetti/Confetti.styles.mjs.map +1 -0
  245. package/dist/components/Confetti/Confetti.types.d.ts +13 -0
  246. package/dist/components/Confetti/Confetti.types.d.ts.map +1 -0
  247. package/dist/components/Confetti/confettiColors.d.ts +25 -0
  248. package/dist/components/Confetti/confettiColors.d.ts.map +1 -0
  249. package/dist/components/Confetti/confettiColors.js +43 -0
  250. package/dist/components/Confetti/confettiColors.js.map +1 -0
  251. package/dist/components/Confetti/confettiColors.mjs +40 -0
  252. package/dist/components/Confetti/confettiColors.mjs.map +1 -0
  253. package/dist/components/Confetti/index.d.ts +3 -0
  254. package/dist/components/Confetti/index.d.ts.map +1 -0
  255. package/dist/components/Container/Container.d.ts +3 -4
  256. package/dist/components/Container/Container.d.ts.map +1 -1
  257. package/dist/components/Container/Container.js +5 -1
  258. package/dist/components/Container/Container.js.map +1 -1
  259. package/dist/components/Container/Container.mjs +5 -1
  260. package/dist/components/Container/Container.mjs.map +1 -1
  261. package/dist/components/Container/Container.types.d.ts +16 -0
  262. package/dist/components/Container/Container.types.d.ts.map +1 -0
  263. package/dist/components/Container/index.d.ts +1 -0
  264. package/dist/components/Container/index.d.ts.map +1 -1
  265. package/dist/components/CopyableCode/CopyableCode.d.ts +6 -0
  266. package/dist/components/CopyableCode/CopyableCode.d.ts.map +1 -1
  267. package/dist/components/CopyableCode/CopyableCode.js +50 -1
  268. package/dist/components/CopyableCode/CopyableCode.js.map +1 -1
  269. package/dist/components/CopyableCode/CopyableCode.mjs +51 -2
  270. package/dist/components/CopyableCode/CopyableCode.mjs.map +1 -1
  271. package/dist/components/CountBadge/CountBadge.d.ts +41 -0
  272. package/dist/components/CountBadge/CountBadge.d.ts.map +1 -0
  273. package/dist/components/CountBadge/CountBadge.js +60 -0
  274. package/dist/components/CountBadge/CountBadge.js.map +1 -0
  275. package/dist/components/CountBadge/CountBadge.mjs +58 -0
  276. package/dist/components/CountBadge/CountBadge.mjs.map +1 -0
  277. package/dist/components/CountBadge/CountBadge.styles.d.ts +13 -0
  278. package/dist/components/CountBadge/CountBadge.styles.d.ts.map +1 -0
  279. package/dist/components/CountBadge/CountBadge.styles.js +42 -0
  280. package/dist/components/CountBadge/CountBadge.styles.js.map +1 -0
  281. package/dist/components/CountBadge/CountBadge.styles.mjs +37 -0
  282. package/dist/components/CountBadge/CountBadge.styles.mjs.map +1 -0
  283. package/dist/components/CountBadge/CountBadge.types.d.ts +33 -0
  284. package/dist/components/CountBadge/CountBadge.types.d.ts.map +1 -0
  285. package/dist/components/CountBadge/index.d.ts +3 -0
  286. package/dist/components/CountBadge/index.d.ts.map +1 -0
  287. package/dist/components/CountUp/CountUp.d.ts +30 -0
  288. package/dist/components/CountUp/CountUp.d.ts.map +1 -0
  289. package/dist/components/CountUp/CountUp.js +95 -0
  290. package/dist/components/CountUp/CountUp.js.map +1 -0
  291. package/dist/components/CountUp/CountUp.mjs +93 -0
  292. package/dist/components/CountUp/CountUp.mjs.map +1 -0
  293. package/dist/components/CountUp/CountUp.types.d.ts +19 -0
  294. package/dist/components/CountUp/CountUp.types.d.ts.map +1 -0
  295. package/dist/components/CountUp/index.d.ts +3 -0
  296. package/dist/components/CountUp/index.d.ts.map +1 -0
  297. package/dist/components/DatePicker/RangeDatePicker.js +9 -7
  298. package/dist/components/DatePicker/RangeDatePicker.js.map +1 -1
  299. package/dist/components/DatePicker/RangeDatePicker.mjs +9 -7
  300. package/dist/components/DatePicker/RangeDatePicker.mjs.map +1 -1
  301. package/dist/components/DatePicker/SingleDatePicker.js +6 -4
  302. package/dist/components/DatePicker/SingleDatePicker.js.map +1 -1
  303. package/dist/components/DatePicker/SingleDatePicker.mjs +6 -4
  304. package/dist/components/DatePicker/SingleDatePicker.mjs.map +1 -1
  305. package/dist/components/ErrorFallback/ErrorFallback.d.ts.map +1 -1
  306. package/dist/components/ErrorFallback/ErrorFallback.js +21 -5
  307. package/dist/components/ErrorFallback/ErrorFallback.js.map +1 -1
  308. package/dist/components/ErrorFallback/ErrorFallback.mjs +21 -5
  309. package/dist/components/ErrorFallback/ErrorFallback.mjs.map +1 -1
  310. package/dist/components/ExpandableText/ExpandableText.d.ts +31 -10
  311. package/dist/components/ExpandableText/ExpandableText.d.ts.map +1 -1
  312. package/dist/components/ExpandableText/ExpandableText.js +22 -3
  313. package/dist/components/ExpandableText/ExpandableText.js.map +1 -1
  314. package/dist/components/ExpandableText/ExpandableText.mjs +22 -3
  315. package/dist/components/ExpandableText/ExpandableText.mjs.map +1 -1
  316. package/dist/components/ExpandableText/useExpandableText.d.ts +28 -3
  317. package/dist/components/ExpandableText/useExpandableText.d.ts.map +1 -1
  318. package/dist/components/ExpandableText/useExpandableText.js +74 -72
  319. package/dist/components/ExpandableText/useExpandableText.js.map +1 -1
  320. package/dist/components/ExpandableText/useExpandableText.mjs +75 -73
  321. package/dist/components/ExpandableText/useExpandableText.mjs.map +1 -1
  322. package/dist/components/FileInput/FileInput.d.ts.map +1 -1
  323. package/dist/components/FileInput/FileInput.js +11 -1
  324. package/dist/components/FileInput/FileInput.js.map +1 -1
  325. package/dist/components/FileInput/FileInput.mjs +12 -2
  326. package/dist/components/FileInput/FileInput.mjs.map +1 -1
  327. package/dist/components/FileItem/FileItem.d.ts.map +1 -1
  328. package/dist/components/FileItem/FileItem.js +3 -2
  329. package/dist/components/FileItem/FileItem.js.map +1 -1
  330. package/dist/components/FileItem/FileItem.mjs +4 -3
  331. package/dist/components/FileItem/FileItem.mjs.map +1 -1
  332. package/dist/components/FileList/FileList.d.ts +1 -1
  333. package/dist/components/FileList/FileList.d.ts.map +1 -1
  334. package/dist/components/FileList/FileList.js +11 -3
  335. package/dist/components/FileList/FileList.js.map +1 -1
  336. package/dist/components/FileList/FileList.mjs +12 -4
  337. package/dist/components/FileList/FileList.mjs.map +1 -1
  338. package/dist/components/FileList/FileList.types.d.ts +9 -0
  339. package/dist/components/FileList/FileList.types.d.ts.map +1 -1
  340. package/dist/components/FlyTo/FlyTo.d.ts +35 -0
  341. package/dist/components/FlyTo/FlyTo.d.ts.map +1 -0
  342. package/dist/components/FlyTo/FlyTo.js +69 -0
  343. package/dist/components/FlyTo/FlyTo.js.map +1 -0
  344. package/dist/components/FlyTo/FlyTo.mjs +67 -0
  345. package/dist/components/FlyTo/FlyTo.mjs.map +1 -0
  346. package/dist/components/FlyTo/FlyTo.styles.d.ts +19 -0
  347. package/dist/components/FlyTo/FlyTo.styles.d.ts.map +1 -0
  348. package/dist/components/FlyTo/FlyTo.styles.js +35 -0
  349. package/dist/components/FlyTo/FlyTo.styles.js.map +1 -0
  350. package/dist/components/FlyTo/FlyTo.styles.mjs +33 -0
  351. package/dist/components/FlyTo/FlyTo.styles.mjs.map +1 -0
  352. package/dist/components/FlyTo/FlyTo.types.d.ts +15 -0
  353. package/dist/components/FlyTo/FlyTo.types.d.ts.map +1 -0
  354. package/dist/components/FlyTo/index.d.ts +3 -0
  355. package/dist/components/FlyTo/index.d.ts.map +1 -0
  356. package/dist/components/Form/FieldError/FieldError.d.ts +15 -0
  357. package/dist/components/Form/FieldError/FieldError.d.ts.map +1 -0
  358. package/dist/components/Form/FieldError/FieldError.js +22 -0
  359. package/dist/components/Form/FieldError/FieldError.js.map +1 -0
  360. package/dist/components/Form/FieldError/FieldError.mjs +20 -0
  361. package/dist/components/Form/FieldError/FieldError.mjs.map +1 -0
  362. package/dist/components/Form/FieldError/index.d.ts +3 -0
  363. package/dist/components/Form/FieldError/index.d.ts.map +1 -0
  364. package/dist/components/Form/FieldHelp/FieldHelp.d.ts +14 -0
  365. package/dist/components/Form/FieldHelp/FieldHelp.d.ts.map +1 -0
  366. package/dist/components/Form/FieldHelp/FieldHelp.js +19 -0
  367. package/dist/components/Form/FieldHelp/FieldHelp.js.map +1 -0
  368. package/dist/components/Form/FieldHelp/FieldHelp.mjs +17 -0
  369. package/dist/components/Form/FieldHelp/FieldHelp.mjs.map +1 -0
  370. package/dist/components/Form/FieldHelp/index.d.ts +3 -0
  371. package/dist/components/Form/FieldHelp/index.d.ts.map +1 -0
  372. package/dist/components/Form/FieldLabel/FieldLabel.d.ts +12 -0
  373. package/dist/components/Form/FieldLabel/FieldLabel.d.ts.map +1 -0
  374. package/dist/components/Form/FieldLabel/FieldLabel.js +33 -0
  375. package/dist/components/Form/FieldLabel/FieldLabel.js.map +1 -0
  376. package/dist/components/Form/FieldLabel/FieldLabel.mjs +31 -0
  377. package/dist/components/Form/FieldLabel/FieldLabel.mjs.map +1 -0
  378. package/dist/components/Form/FieldLabel/FieldLabel.types.d.ts +21 -0
  379. package/dist/components/Form/FieldLabel/FieldLabel.types.d.ts.map +1 -0
  380. package/dist/components/Form/FieldLabel/index.d.ts +3 -0
  381. package/dist/components/Form/FieldLabel/index.d.ts.map +1 -0
  382. package/dist/components/Form/FieldRow/FieldRow.d.ts +15 -0
  383. package/dist/components/Form/FieldRow/FieldRow.d.ts.map +1 -0
  384. package/dist/components/Form/FieldRow/FieldRow.js +27 -0
  385. package/dist/components/Form/FieldRow/FieldRow.js.map +1 -0
  386. package/dist/components/Form/FieldRow/FieldRow.mjs +25 -0
  387. package/dist/components/Form/FieldRow/FieldRow.mjs.map +1 -0
  388. package/dist/components/Form/FieldRow/FieldRow.types.d.ts +27 -0
  389. package/dist/components/Form/FieldRow/FieldRow.types.d.ts.map +1 -0
  390. package/dist/components/Form/FieldRow/index.d.ts +3 -0
  391. package/dist/components/Form/FieldRow/index.d.ts.map +1 -0
  392. package/dist/components/Form/FormFooter/FormFooter.d.ts +11 -0
  393. package/dist/components/Form/FormFooter/FormFooter.d.ts.map +1 -0
  394. package/dist/components/Form/FormFooter/FormFooter.js +20 -0
  395. package/dist/components/Form/FormFooter/FormFooter.js.map +1 -0
  396. package/dist/components/Form/FormFooter/FormFooter.mjs +18 -0
  397. package/dist/components/Form/FormFooter/FormFooter.mjs.map +1 -0
  398. package/dist/components/Form/FormFooter/FormFooter.types.d.ts +23 -0
  399. package/dist/components/Form/FormFooter/FormFooter.types.d.ts.map +1 -0
  400. package/dist/components/Form/FormFooter/index.d.ts +3 -0
  401. package/dist/components/Form/FormFooter/index.d.ts.map +1 -0
  402. package/dist/components/Form/FormModalFooter/FormModalFooter.d.ts +19 -0
  403. package/dist/components/Form/FormModalFooter/FormModalFooter.d.ts.map +1 -0
  404. package/dist/components/Form/FormModalFooter/FormModalFooter.js +60 -0
  405. package/dist/components/Form/FormModalFooter/FormModalFooter.js.map +1 -0
  406. package/dist/components/Form/FormModalFooter/FormModalFooter.mjs +58 -0
  407. package/dist/components/Form/FormModalFooter/FormModalFooter.mjs.map +1 -0
  408. package/dist/components/Form/FormModalFooter/FormModalFooter.types.d.ts +49 -0
  409. package/dist/components/Form/FormModalFooter/FormModalFooter.types.d.ts.map +1 -0
  410. package/dist/components/Form/FormModalFooter/index.d.ts +3 -0
  411. package/dist/components/Form/FormModalFooter/index.d.ts.map +1 -0
  412. package/dist/components/Form/FormScrollArea/FormScrollArea.d.ts +14 -0
  413. package/dist/components/Form/FormScrollArea/FormScrollArea.d.ts.map +1 -0
  414. package/dist/components/Form/FormScrollArea/FormScrollArea.js +18 -0
  415. package/dist/components/Form/FormScrollArea/FormScrollArea.js.map +1 -0
  416. package/dist/components/Form/FormScrollArea/FormScrollArea.mjs +16 -0
  417. package/dist/components/Form/FormScrollArea/FormScrollArea.mjs.map +1 -0
  418. package/dist/components/Form/FormScrollArea/index.d.ts +2 -0
  419. package/dist/components/Form/FormScrollArea/index.d.ts.map +1 -0
  420. package/dist/components/Form/FormSection/CollapsibleFormSection.d.ts +10 -0
  421. package/dist/components/Form/FormSection/CollapsibleFormSection.d.ts.map +1 -0
  422. package/dist/components/Form/FormSection/CollapsibleFormSection.js +47 -0
  423. package/dist/components/Form/FormSection/CollapsibleFormSection.js.map +1 -0
  424. package/dist/components/Form/FormSection/CollapsibleFormSection.mjs +45 -0
  425. package/dist/components/Form/FormSection/CollapsibleFormSection.mjs.map +1 -0
  426. package/dist/components/Form/FormSection/FlatFormSection.d.ts +6 -0
  427. package/dist/components/Form/FormSection/FlatFormSection.d.ts.map +1 -0
  428. package/dist/components/Form/FormSection/FlatFormSection.js +12 -0
  429. package/dist/components/Form/FormSection/FlatFormSection.js.map +1 -0
  430. package/dist/components/Form/FormSection/FlatFormSection.mjs +10 -0
  431. package/dist/components/Form/FormSection/FlatFormSection.mjs.map +1 -0
  432. package/dist/components/Form/FormSection/FormSection.d.ts +13 -0
  433. package/dist/components/Form/FormSection/FormSection.d.ts.map +1 -0
  434. package/dist/components/Form/FormSection/FormSection.js +21 -0
  435. package/dist/components/Form/FormSection/FormSection.js.map +1 -0
  436. package/dist/components/Form/FormSection/FormSection.mjs +19 -0
  437. package/dist/components/Form/FormSection/FormSection.mjs.map +1 -0
  438. package/dist/components/Form/FormSection/FormSection.types.d.ts +34 -0
  439. package/dist/components/Form/FormSection/FormSection.types.d.ts.map +1 -0
  440. package/dist/components/Form/FormSection/index.d.ts +3 -0
  441. package/dist/components/Form/FormSection/index.d.ts.map +1 -0
  442. package/dist/components/Form/FormSectionHeader/FormSectionHeader.d.ts +13 -0
  443. package/dist/components/Form/FormSectionHeader/FormSectionHeader.d.ts.map +1 -0
  444. package/dist/components/Form/FormSectionHeader/FormSectionHeader.js +31 -0
  445. package/dist/components/Form/FormSectionHeader/FormSectionHeader.js.map +1 -0
  446. package/dist/components/Form/FormSectionHeader/FormSectionHeader.mjs +29 -0
  447. package/dist/components/Form/FormSectionHeader/FormSectionHeader.mjs.map +1 -0
  448. package/dist/components/Form/FormSectionHeader/FormSectionHeader.types.d.ts +17 -0
  449. package/dist/components/Form/FormSectionHeader/FormSectionHeader.types.d.ts.map +1 -0
  450. package/dist/components/Form/FormSectionHeader/index.d.ts +3 -0
  451. package/dist/components/Form/FormSectionHeader/index.d.ts.map +1 -0
  452. package/dist/components/Form/index.d.ts +18 -0
  453. package/dist/components/Form/index.d.ts.map +1 -0
  454. package/dist/components/FormLabel/FormLabel.js +1 -1
  455. package/dist/components/FormLabel/FormLabel.js.map +1 -1
  456. package/dist/components/FormLabel/FormLabel.mjs +1 -1
  457. package/dist/components/FormLabel/FormLabel.mjs.map +1 -1
  458. package/dist/components/Icon/_constants/iconList.d.ts +2 -1
  459. package/dist/components/Icon/_constants/iconList.d.ts.map +1 -1
  460. package/dist/components/Icon/_constants/iconList.js +309 -134
  461. package/dist/components/Icon/_constants/iconList.js.map +1 -1
  462. package/dist/components/Icon/_constants/iconList.mjs +337 -162
  463. package/dist/components/Icon/_constants/iconList.mjs.map +1 -1
  464. package/dist/components/Icon/_utils/createIcon.d.ts +2 -2
  465. package/dist/components/Icon/_utils/createIcon.d.ts.map +1 -1
  466. package/dist/components/Icon/_utils/createIcon.js +3 -2
  467. package/dist/components/Icon/_utils/createIcon.js.map +1 -1
  468. package/dist/components/Icon/_utils/createIcon.mjs +3 -2
  469. package/dist/components/Icon/_utils/createIcon.mjs.map +1 -1
  470. package/dist/components/Icon/_utils/createIconGroup.d.ts +1 -1
  471. package/dist/components/Icon/_utils/createIconGroup.js +1 -1
  472. package/dist/components/Icon/_utils/createIconGroup.mjs +1 -1
  473. package/dist/components/Icon/index.d.ts +1 -1
  474. package/dist/components/Icon/index.d.ts.map +1 -1
  475. package/dist/components/Icon/index.js +205 -42
  476. package/dist/components/Icon/index.js.map +1 -1
  477. package/dist/components/Icon/index.mjs +3 -43
  478. package/dist/components/Icon/index.mjs.map +1 -1
  479. package/dist/components/IconButton/IconButton.d.ts +2 -17
  480. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  481. package/dist/components/IconButton/IconButton.js +29 -11
  482. package/dist/components/IconButton/IconButton.js.map +1 -1
  483. package/dist/components/IconButton/IconButton.mjs +29 -11
  484. package/dist/components/IconButton/IconButton.mjs.map +1 -1
  485. package/dist/components/IconButton/IconButton.styles.d.ts +24 -8
  486. package/dist/components/IconButton/IconButton.styles.d.ts.map +1 -1
  487. package/dist/components/IconButton/IconButton.styles.js +77 -11
  488. package/dist/components/IconButton/IconButton.styles.js.map +1 -1
  489. package/dist/components/IconButton/IconButton.styles.mjs +77 -13
  490. package/dist/components/IconButton/IconButton.styles.mjs.map +1 -1
  491. package/dist/components/IconButton/IconButton.types.d.ts +40 -21
  492. package/dist/components/IconButton/IconButton.types.d.ts.map +1 -1
  493. package/dist/components/IconButton/index.d.ts +2 -2
  494. package/dist/components/IconButton/index.d.ts.map +1 -1
  495. package/dist/components/InfoSprinkle/InfoSprinkle.d.ts.map +1 -1
  496. package/dist/components/InfoSprinkle/InfoSprinkle.js +1 -1
  497. package/dist/components/InfoSprinkle/InfoSprinkle.js.map +1 -1
  498. package/dist/components/InfoSprinkle/InfoSprinkle.mjs +1 -1
  499. package/dist/components/InfoSprinkle/InfoSprinkle.mjs.map +1 -1
  500. package/dist/components/InlineCode/InlineCode.d.ts.map +1 -1
  501. package/dist/components/InlineCode/InlineCode.js +15 -6
  502. package/dist/components/InlineCode/InlineCode.js.map +1 -1
  503. package/dist/components/InlineCode/InlineCode.mjs +15 -6
  504. package/dist/components/InlineCode/InlineCode.mjs.map +1 -1
  505. package/dist/components/Input/Input.d.ts.map +1 -1
  506. package/dist/components/Input/Input.js +14 -11
  507. package/dist/components/Input/Input.js.map +1 -1
  508. package/dist/components/Input/Input.mjs +14 -11
  509. package/dist/components/Input/Input.mjs.map +1 -1
  510. package/dist/components/LineGraph/LineGraph.d.ts.map +1 -1
  511. package/dist/components/LineGraph/LineGraph.js +28 -8
  512. package/dist/components/LineGraph/LineGraph.js.map +1 -1
  513. package/dist/components/LineGraph/LineGraph.mjs +28 -8
  514. package/dist/components/LineGraph/LineGraph.mjs.map +1 -1
  515. package/dist/components/LineGraph/seriesColors.d.ts +22 -0
  516. package/dist/components/LineGraph/seriesColors.d.ts.map +1 -0
  517. package/dist/components/LineGraph/seriesColors.js +26 -0
  518. package/dist/components/LineGraph/seriesColors.js.map +1 -0
  519. package/dist/components/LineGraph/seriesColors.mjs +23 -0
  520. package/dist/components/LineGraph/seriesColors.mjs.map +1 -0
  521. package/dist/components/Loaders/LoaderStatus.d.ts +21 -0
  522. package/dist/components/Loaders/LoaderStatus.d.ts.map +1 -0
  523. package/dist/components/Loaders/LoaderStatus.js +29 -0
  524. package/dist/components/Loaders/LoaderStatus.js.map +1 -0
  525. package/dist/components/Loaders/LoaderStatus.mjs +27 -0
  526. package/dist/components/Loaders/LoaderStatus.mjs.map +1 -0
  527. package/dist/components/Loaders/Loaders.styles.d.ts +21 -0
  528. package/dist/components/Loaders/Loaders.styles.d.ts.map +1 -0
  529. package/dist/components/Loaders/Loaders.styles.js +33 -0
  530. package/dist/components/Loaders/Loaders.styles.js.map +1 -0
  531. package/dist/components/Loaders/Loaders.styles.mjs +29 -0
  532. package/dist/components/Loaders/Loaders.styles.mjs.map +1 -0
  533. package/dist/components/Loaders/Loaders.translations.json.js +19 -0
  534. package/dist/components/Loaders/Loaders.translations.json.js.map +1 -0
  535. package/dist/components/Loaders/Loaders.translations.json.mjs +14 -0
  536. package/dist/components/Loaders/Loaders.translations.json.mjs.map +1 -0
  537. package/dist/components/Loaders/PageLoader.d.ts +10 -2
  538. package/dist/components/Loaders/PageLoader.d.ts.map +1 -1
  539. package/dist/components/Loaders/PageLoader.js +8 -2
  540. package/dist/components/Loaders/PageLoader.js.map +1 -1
  541. package/dist/components/Loaders/PageLoader.mjs +9 -3
  542. package/dist/components/Loaders/PageLoader.mjs.map +1 -1
  543. package/dist/components/Loaders/SectionLoader.d.ts +2 -4
  544. package/dist/components/Loaders/SectionLoader.d.ts.map +1 -1
  545. package/dist/components/Loaders/SectionLoader.js +5 -2
  546. package/dist/components/Loaders/SectionLoader.js.map +1 -1
  547. package/dist/components/Loaders/SectionLoader.mjs +6 -3
  548. package/dist/components/Loaders/SectionLoader.mjs.map +1 -1
  549. package/dist/components/Loaders/ThinkingDots.d.ts +10 -0
  550. package/dist/components/Loaders/ThinkingDots.d.ts.map +1 -0
  551. package/dist/components/Loaders/ThinkingDots.js +20 -0
  552. package/dist/components/Loaders/ThinkingDots.js.map +1 -0
  553. package/dist/components/Loaders/ThinkingDots.mjs +18 -0
  554. package/dist/components/Loaders/ThinkingDots.mjs.map +1 -0
  555. package/dist/components/Loaders/index.d.ts +2 -1
  556. package/dist/components/Loaders/index.d.ts.map +1 -1
  557. package/dist/components/LogicianProvider/LogicianProvider.d.ts +12 -0
  558. package/dist/components/LogicianProvider/LogicianProvider.d.ts.map +1 -1
  559. package/dist/components/LogicianProvider/LogicianProvider.js +15 -5
  560. package/dist/components/LogicianProvider/LogicianProvider.js.map +1 -1
  561. package/dist/components/LogicianProvider/LogicianProvider.mjs +16 -6
  562. package/dist/components/LogicianProvider/LogicianProvider.mjs.map +1 -1
  563. package/dist/components/Markdown/Markdown.d.ts.map +1 -1
  564. package/dist/components/Markdown/Markdown.js +7 -1
  565. package/dist/components/Markdown/Markdown.js.map +1 -1
  566. package/dist/components/Markdown/Markdown.mjs +7 -1
  567. package/dist/components/Markdown/Markdown.mjs.map +1 -1
  568. package/dist/components/MaxLengthIndicator/MaxLengthIndicator.js +1 -0
  569. package/dist/components/MaxLengthIndicator/MaxLengthIndicator.js.map +1 -1
  570. package/dist/components/MaxLengthIndicator/MaxLengthIndicator.mjs +1 -0
  571. package/dist/components/MaxLengthIndicator/MaxLengthIndicator.mjs.map +1 -1
  572. package/dist/components/Menu/Menu.d.ts +2 -1
  573. package/dist/components/Menu/Menu.d.ts.map +1 -1
  574. package/dist/components/Menu/MenuItem.d.ts +2 -2
  575. package/dist/components/Menu/MenuItem.d.ts.map +1 -1
  576. package/dist/components/Menu/MenuItem.js +16 -6
  577. package/dist/components/Menu/MenuItem.js.map +1 -1
  578. package/dist/components/Menu/MenuItem.mjs +16 -6
  579. package/dist/components/Menu/MenuItem.mjs.map +1 -1
  580. package/dist/components/Menu/MenuItem.types.d.ts +17 -2
  581. package/dist/components/Menu/MenuItem.types.d.ts.map +1 -1
  582. package/dist/components/Menu/MenuItem.types.js.map +1 -1
  583. package/dist/components/Menu/MenuItem.types.mjs.map +1 -1
  584. package/dist/components/Menu/MenuList.d.ts +20 -0
  585. package/dist/components/Menu/MenuList.d.ts.map +1 -1
  586. package/dist/components/Menu/MenuList.js +21 -3
  587. package/dist/components/Menu/MenuList.js.map +1 -1
  588. package/dist/components/Menu/MenuList.mjs +22 -4
  589. package/dist/components/Menu/MenuList.mjs.map +1 -1
  590. package/dist/components/Modal/Modal.d.ts +1 -1
  591. package/dist/components/Modal/Modal.d.ts.map +1 -1
  592. package/dist/components/Modal/Modal.js +3 -3
  593. package/dist/components/Modal/Modal.js.map +1 -1
  594. package/dist/components/Modal/Modal.mjs +3 -3
  595. package/dist/components/Modal/Modal.mjs.map +1 -1
  596. package/dist/components/Modal/Modal.styles.d.ts +22 -0
  597. package/dist/components/Modal/Modal.styles.d.ts.map +1 -1
  598. package/dist/components/Modal/Modal.styles.js +24 -0
  599. package/dist/components/Modal/Modal.styles.js.map +1 -0
  600. package/dist/components/Modal/Modal.styles.mjs +22 -0
  601. package/dist/components/Modal/Modal.styles.mjs.map +1 -0
  602. package/dist/components/Modal/Modal.types.d.ts +22 -2
  603. package/dist/components/Modal/Modal.types.d.ts.map +1 -1
  604. package/dist/components/Modal/ModalContent/ModalContent.d.ts.map +1 -1
  605. package/dist/components/Modal/ModalContent/ModalContent.js +2 -1
  606. package/dist/components/Modal/ModalContent/ModalContent.js.map +1 -1
  607. package/dist/components/Modal/ModalContent/ModalContent.mjs +2 -1
  608. package/dist/components/Modal/ModalContent/ModalContent.mjs.map +1 -1
  609. package/dist/components/Modal/ModalContext.d.ts +2 -0
  610. package/dist/components/Modal/ModalContext.d.ts.map +1 -1
  611. package/dist/components/Modal/ModalContext.js +2 -1
  612. package/dist/components/Modal/ModalContext.js.map +1 -1
  613. package/dist/components/Modal/ModalContext.mjs +2 -1
  614. package/dist/components/Modal/ModalContext.mjs.map +1 -1
  615. package/dist/components/Modal/ModalHeader.d.ts +20 -1
  616. package/dist/components/Modal/ModalHeader.d.ts.map +1 -1
  617. package/dist/components/Modal/ModalHeader.js +46 -2
  618. package/dist/components/Modal/ModalHeader.js.map +1 -1
  619. package/dist/components/Modal/ModalHeader.mjs +47 -3
  620. package/dist/components/Modal/ModalHeader.mjs.map +1 -1
  621. package/dist/components/Modal/ModalOverlay.d.ts.map +1 -1
  622. package/dist/components/Modal/ModalOverlay.js +3 -1
  623. package/dist/components/Modal/ModalOverlay.js.map +1 -1
  624. package/dist/components/Modal/ModalOverlay.mjs +3 -1
  625. package/dist/components/Modal/ModalOverlay.mjs.map +1 -1
  626. package/dist/components/Modal/index.d.ts +2 -2
  627. package/dist/components/Modal/index.d.ts.map +1 -1
  628. package/dist/components/MonthPicker/MonthButton/MonthButton.d.ts.map +1 -1
  629. package/dist/components/MonthPicker/MonthButton/MonthButton.js +10 -9
  630. package/dist/components/MonthPicker/MonthButton/MonthButton.js.map +1 -1
  631. package/dist/components/MonthPicker/MonthButton/MonthButton.mjs +10 -9
  632. package/dist/components/MonthPicker/MonthButton/MonthButton.mjs.map +1 -1
  633. package/dist/components/MonthPicker/MonthPicker.js +1 -0
  634. package/dist/components/MonthPicker/MonthPicker.js.map +1 -1
  635. package/dist/components/MonthPicker/MonthPicker.mjs +1 -0
  636. package/dist/components/MonthPicker/MonthPicker.mjs.map +1 -1
  637. package/dist/components/Pagination/Pagination.d.ts.map +1 -1
  638. package/dist/components/Pagination/Pagination.js +8 -2
  639. package/dist/components/Pagination/Pagination.js.map +1 -1
  640. package/dist/components/Pagination/Pagination.mjs +9 -3
  641. package/dist/components/Pagination/Pagination.mjs.map +1 -1
  642. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
  643. package/dist/components/PasswordInput/PasswordInput.js +2 -2
  644. package/dist/components/PasswordInput/PasswordInput.js.map +1 -1
  645. package/dist/components/PasswordInput/PasswordInput.mjs +2 -2
  646. package/dist/components/PasswordInput/PasswordInput.mjs.map +1 -1
  647. package/dist/components/PinInput/PinInput.d.ts +1 -4
  648. package/dist/components/PinInput/PinInput.d.ts.map +1 -1
  649. package/dist/components/PinInput/PinInput.js +9 -22
  650. package/dist/components/PinInput/PinInput.js.map +1 -1
  651. package/dist/components/PinInput/PinInput.mjs +12 -25
  652. package/dist/components/PinInput/PinInput.mjs.map +1 -1
  653. package/dist/components/PinInput/PinInput.types.d.ts +7 -24
  654. package/dist/components/PinInput/PinInput.types.d.ts.map +1 -1
  655. package/dist/components/Popover/PopoverContent.d.ts.map +1 -1
  656. package/dist/components/Popover/PopoverContent.js +4 -1
  657. package/dist/components/Popover/PopoverContent.js.map +1 -1
  658. package/dist/components/Popover/PopoverContent.mjs +4 -1
  659. package/dist/components/Popover/PopoverContent.mjs.map +1 -1
  660. package/dist/components/ProgressBar/ProgressBar.d.ts +1 -1
  661. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  662. package/dist/components/ProgressBar/ProgressBar.js +19 -2
  663. package/dist/components/ProgressBar/ProgressBar.js.map +1 -1
  664. package/dist/components/ProgressBar/ProgressBar.mjs +20 -3
  665. package/dist/components/ProgressBar/ProgressBar.mjs.map +1 -1
  666. package/dist/components/ProgressBar/ProgressBar.styles.d.ts +18 -0
  667. package/dist/components/ProgressBar/ProgressBar.styles.d.ts.map +1 -1
  668. package/dist/components/ProgressBar/ProgressBar.styles.js +24 -0
  669. package/dist/components/ProgressBar/ProgressBar.styles.js.map +1 -1
  670. package/dist/components/ProgressBar/ProgressBar.styles.mjs +24 -1
  671. package/dist/components/ProgressBar/ProgressBar.styles.mjs.map +1 -1
  672. package/dist/components/ProgressBar/ProgressBar.types.d.ts +10 -0
  673. package/dist/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
  674. package/dist/components/Pulse/Pulse.d.ts +40 -0
  675. package/dist/components/Pulse/Pulse.d.ts.map +1 -0
  676. package/dist/components/Pulse/Pulse.js +64 -0
  677. package/dist/components/Pulse/Pulse.js.map +1 -0
  678. package/dist/components/Pulse/Pulse.mjs +62 -0
  679. package/dist/components/Pulse/Pulse.mjs.map +1 -0
  680. package/dist/components/Pulse/Pulse.styles.d.ts +35 -0
  681. package/dist/components/Pulse/Pulse.styles.d.ts.map +1 -0
  682. package/dist/components/Pulse/Pulse.styles.js +46 -0
  683. package/dist/components/Pulse/Pulse.styles.js.map +1 -0
  684. package/dist/components/Pulse/Pulse.styles.mjs +44 -0
  685. package/dist/components/Pulse/Pulse.styles.mjs.map +1 -0
  686. package/dist/components/Pulse/Pulse.types.d.ts +12 -0
  687. package/dist/components/Pulse/Pulse.types.d.ts.map +1 -0
  688. package/dist/components/Pulse/index.d.ts +3 -0
  689. package/dist/components/Pulse/index.d.ts.map +1 -0
  690. package/dist/components/RadialProgress/RadialProgress.d.ts.map +1 -1
  691. package/dist/components/RadialProgress/RadialProgress.js +5 -7
  692. package/dist/components/RadialProgress/RadialProgress.js.map +1 -1
  693. package/dist/components/RadialProgress/RadialProgress.mjs +5 -7
  694. package/dist/components/RadialProgress/RadialProgress.mjs.map +1 -1
  695. package/dist/components/RadialProgress/RadialProgress.types.d.ts +1 -1
  696. package/dist/components/RadialProgress/RadialProgress.types.d.ts.map +1 -1
  697. package/dist/components/Radio/Radio.styles.d.ts +13 -0
  698. package/dist/components/Radio/Radio.styles.d.ts.map +1 -0
  699. package/dist/components/Radio/Radio.styles.js +28 -0
  700. package/dist/components/Radio/Radio.styles.js.map +1 -0
  701. package/dist/components/Radio/Radio.styles.mjs +26 -0
  702. package/dist/components/Radio/Radio.styles.mjs.map +1 -0
  703. package/dist/components/Radio/RadioControl.d.ts.map +1 -1
  704. package/dist/components/Radio/RadioControl.js +40 -1
  705. package/dist/components/Radio/RadioControl.js.map +1 -1
  706. package/dist/components/Radio/RadioControl.mjs +41 -2
  707. package/dist/components/Radio/RadioControl.mjs.map +1 -1
  708. package/dist/components/Radio/RadioGroup.js +1 -1
  709. package/dist/components/Radio/RadioGroup.js.map +1 -1
  710. package/dist/components/Radio/RadioGroup.mjs +1 -1
  711. package/dist/components/Radio/RadioGroup.mjs.map +1 -1
  712. package/dist/components/Reveal/Reveal.d.ts +33 -0
  713. package/dist/components/Reveal/Reveal.d.ts.map +1 -0
  714. package/dist/components/Reveal/Reveal.js +46 -0
  715. package/dist/components/Reveal/Reveal.js.map +1 -0
  716. package/dist/components/Reveal/Reveal.mjs +44 -0
  717. package/dist/components/Reveal/Reveal.mjs.map +1 -0
  718. package/dist/components/Reveal/Reveal.styles.d.ts +25 -0
  719. package/dist/components/Reveal/Reveal.styles.d.ts.map +1 -0
  720. package/dist/components/Reveal/Reveal.styles.js +42 -0
  721. package/dist/components/Reveal/Reveal.styles.js.map +1 -0
  722. package/dist/components/Reveal/Reveal.styles.mjs +40 -0
  723. package/dist/components/Reveal/Reveal.styles.mjs.map +1 -0
  724. package/dist/components/Reveal/Reveal.types.d.ts +6 -0
  725. package/dist/components/Reveal/Reveal.types.d.ts.map +1 -0
  726. package/dist/components/Reveal/index.d.ts +3 -0
  727. package/dist/components/Reveal/index.d.ts.map +1 -0
  728. package/dist/components/SeeMoreButton/SeeMoreButton.d.ts +3 -10
  729. package/dist/components/SeeMoreButton/SeeMoreButton.d.ts.map +1 -1
  730. package/dist/components/SeeMoreButton/SeeMoreButton.js +12 -3
  731. package/dist/components/SeeMoreButton/SeeMoreButton.js.map +1 -1
  732. package/dist/components/SeeMoreButton/SeeMoreButton.mjs +13 -4
  733. package/dist/components/SeeMoreButton/SeeMoreButton.mjs.map +1 -1
  734. package/dist/components/SeeMoreButton/SeeMoreButton.styles.d.ts +20 -10
  735. package/dist/components/SeeMoreButton/SeeMoreButton.styles.d.ts.map +1 -1
  736. package/dist/components/SeeMoreButton/SeeMoreButton.styles.js +13 -5
  737. package/dist/components/SeeMoreButton/SeeMoreButton.styles.js.map +1 -1
  738. package/dist/components/SeeMoreButton/SeeMoreButton.styles.mjs +13 -5
  739. package/dist/components/SeeMoreButton/SeeMoreButton.styles.mjs.map +1 -1
  740. package/dist/components/SeeMoreButton/SeeMoreButton.types.d.ts +14 -3
  741. package/dist/components/SeeMoreButton/SeeMoreButton.types.d.ts.map +1 -1
  742. package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  743. package/dist/components/SegmentedControl/SegmentedControl.js +5 -1
  744. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
  745. package/dist/components/SegmentedControl/SegmentedControl.mjs +5 -1
  746. package/dist/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
  747. package/dist/components/SegmentedControl/SegmentedControl.styles.d.ts +16 -0
  748. package/dist/components/SegmentedControl/SegmentedControl.styles.d.ts.map +1 -0
  749. package/dist/components/SegmentedControl/SegmentedControl.styles.js +26 -0
  750. package/dist/components/SegmentedControl/SegmentedControl.styles.js.map +1 -0
  751. package/dist/components/SegmentedControl/SegmentedControl.styles.mjs +24 -0
  752. package/dist/components/SegmentedControl/SegmentedControl.styles.mjs.map +1 -0
  753. package/dist/components/Select/Combobox.d.ts.map +1 -1
  754. package/dist/components/Select/Combobox.js +9 -2
  755. package/dist/components/Select/Combobox.js.map +1 -1
  756. package/dist/components/Select/Combobox.mjs +9 -2
  757. package/dist/components/Select/Combobox.mjs.map +1 -1
  758. package/dist/components/Select/ComboboxField.d.ts +1 -1
  759. package/dist/components/Select/ComboboxField.d.ts.map +1 -1
  760. package/dist/components/Select/ComboboxField.js +2 -2
  761. package/dist/components/Select/ComboboxField.js.map +1 -1
  762. package/dist/components/Select/ComboboxField.mjs +2 -2
  763. package/dist/components/Select/ComboboxField.mjs.map +1 -1
  764. package/dist/components/Select/Select.d.ts.map +1 -1
  765. package/dist/components/Select/Select.js +4 -1
  766. package/dist/components/Select/Select.js.map +1 -1
  767. package/dist/components/Select/Select.mjs +4 -1
  768. package/dist/components/Select/Select.mjs.map +1 -1
  769. package/dist/components/Select/Select.styles.d.ts +13 -12
  770. package/dist/components/Select/Select.styles.d.ts.map +1 -1
  771. package/dist/components/Select/Select.styles.js +20 -14
  772. package/dist/components/Select/Select.styles.js.map +1 -1
  773. package/dist/components/Select/Select.styles.mjs +20 -14
  774. package/dist/components/Select/Select.styles.mjs.map +1 -1
  775. package/dist/components/Select/Select.types.d.ts +26 -1
  776. package/dist/components/Select/Select.types.d.ts.map +1 -1
  777. package/dist/components/Select/SelectField.d.ts +1 -1
  778. package/dist/components/Select/SelectField.d.ts.map +1 -1
  779. package/dist/components/Select/SelectField.js +3 -2
  780. package/dist/components/Select/SelectField.js.map +1 -1
  781. package/dist/components/Select/SelectField.mjs +3 -2
  782. package/dist/components/Select/SelectField.mjs.map +1 -1
  783. package/dist/components/Shake/Shake.d.ts +35 -0
  784. package/dist/components/Shake/Shake.d.ts.map +1 -0
  785. package/dist/components/Shake/Shake.js +61 -0
  786. package/dist/components/Shake/Shake.js.map +1 -0
  787. package/dist/components/Shake/Shake.mjs +59 -0
  788. package/dist/components/Shake/Shake.mjs.map +1 -0
  789. package/dist/components/Shake/Shake.styles.d.ts +24 -0
  790. package/dist/components/Shake/Shake.styles.d.ts.map +1 -0
  791. package/dist/components/Shake/Shake.styles.js +35 -0
  792. package/dist/components/Shake/Shake.styles.js.map +1 -0
  793. package/dist/components/Shake/Shake.styles.mjs +33 -0
  794. package/dist/components/Shake/Shake.styles.mjs.map +1 -0
  795. package/dist/components/Shake/Shake.types.d.ts +11 -0
  796. package/dist/components/Shake/Shake.types.d.ts.map +1 -0
  797. package/dist/components/Shake/index.d.ts +3 -0
  798. package/dist/components/Shake/index.d.ts.map +1 -0
  799. package/dist/components/Slider/Slider.d.ts.map +1 -1
  800. package/dist/components/Slider/Slider.js +2 -2
  801. package/dist/components/Slider/Slider.js.map +1 -1
  802. package/dist/components/Slider/Slider.mjs +3 -3
  803. package/dist/components/Slider/Slider.mjs.map +1 -1
  804. package/dist/components/Slider/Slider.types.d.ts +15 -0
  805. package/dist/components/Slider/Slider.types.d.ts.map +1 -1
  806. package/dist/components/Slider/SliderThumb/SliderThumb.js +1 -1
  807. package/dist/components/Slider/SliderThumb/SliderThumb.js.map +1 -1
  808. package/dist/components/Slider/SliderThumb/SliderThumb.mjs +1 -1
  809. package/dist/components/Slider/SliderThumb/SliderThumb.mjs.map +1 -1
  810. package/dist/components/Slider/SliderThumbs/SliderThumbs.js +1 -1
  811. package/dist/components/Slider/SliderThumbs/SliderThumbs.js.map +1 -1
  812. package/dist/components/Slider/SliderThumbs/SliderThumbs.mjs +1 -1
  813. package/dist/components/Slider/SliderThumbs/SliderThumbs.mjs.map +1 -1
  814. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  815. package/dist/components/Spinner/Spinner.js +7 -2
  816. package/dist/components/Spinner/Spinner.js.map +1 -1
  817. package/dist/components/Spinner/Spinner.mjs +7 -2
  818. package/dist/components/Spinner/Spinner.mjs.map +1 -1
  819. package/dist/components/Spinner/Spinner.styles.d.ts +23 -0
  820. package/dist/components/Spinner/Spinner.styles.d.ts.map +1 -0
  821. package/dist/components/Spinner/Spinner.styles.js +36 -0
  822. package/dist/components/Spinner/Spinner.styles.js.map +1 -0
  823. package/dist/components/Spinner/Spinner.styles.mjs +34 -0
  824. package/dist/components/Spinner/Spinner.styles.mjs.map +1 -0
  825. package/dist/components/SwapTransition/SwapTransition.d.ts +43 -0
  826. package/dist/components/SwapTransition/SwapTransition.d.ts.map +1 -0
  827. package/dist/components/SwapTransition/SwapTransition.js +82 -0
  828. package/dist/components/SwapTransition/SwapTransition.js.map +1 -0
  829. package/dist/components/SwapTransition/SwapTransition.mjs +80 -0
  830. package/dist/components/SwapTransition/SwapTransition.mjs.map +1 -0
  831. package/dist/components/SwapTransition/SwapTransition.styles.d.ts +24 -0
  832. package/dist/components/SwapTransition/SwapTransition.styles.d.ts.map +1 -0
  833. package/dist/components/SwapTransition/SwapTransition.styles.js +42 -0
  834. package/dist/components/SwapTransition/SwapTransition.styles.js.map +1 -0
  835. package/dist/components/SwapTransition/SwapTransition.styles.mjs +38 -0
  836. package/dist/components/SwapTransition/SwapTransition.styles.mjs.map +1 -0
  837. package/dist/components/SwapTransition/SwapTransition.types.d.ts +22 -0
  838. package/dist/components/SwapTransition/SwapTransition.types.d.ts.map +1 -0
  839. package/dist/components/SwapTransition/index.d.ts +3 -0
  840. package/dist/components/SwapTransition/index.d.ts.map +1 -0
  841. package/dist/components/Switch/SwitchControl.d.ts.map +1 -1
  842. package/dist/components/Switch/SwitchControl.js +19 -1
  843. package/dist/components/Switch/SwitchControl.js.map +1 -1
  844. package/dist/components/Switch/SwitchControl.mjs +19 -1
  845. package/dist/components/Switch/SwitchControl.mjs.map +1 -1
  846. package/dist/components/Table/Table.types.d.ts +1 -1
  847. package/dist/components/Table/TableContext.d.ts +8 -0
  848. package/dist/components/Table/TableContext.d.ts.map +1 -1
  849. package/dist/components/Table/TableContext.js +79 -28
  850. package/dist/components/Table/TableContext.js.map +1 -1
  851. package/dist/components/Table/TableContext.mjs +80 -29
  852. package/dist/components/Table/TableContext.mjs.map +1 -1
  853. package/dist/components/Table/Td.d.ts.map +1 -1
  854. package/dist/components/Table/Td.js +12 -8
  855. package/dist/components/Table/Td.js.map +1 -1
  856. package/dist/components/Table/Td.mjs +13 -9
  857. package/dist/components/Table/Td.mjs.map +1 -1
  858. package/dist/components/Table/Th.d.ts.map +1 -1
  859. package/dist/components/Table/Th.js +12 -8
  860. package/dist/components/Table/Th.js.map +1 -1
  861. package/dist/components/Table/Th.mjs +13 -9
  862. package/dist/components/Table/Th.mjs.map +1 -1
  863. package/dist/components/Table/useRegisterStickyWidth.d.ts +48 -0
  864. package/dist/components/Table/useRegisterStickyWidth.d.ts.map +1 -0
  865. package/dist/components/Table/useRegisterStickyWidth.js +54 -0
  866. package/dist/components/Table/useRegisterStickyWidth.js.map +1 -0
  867. package/dist/components/Table/useRegisterStickyWidth.mjs +52 -0
  868. package/dist/components/Table/useRegisterStickyWidth.mjs.map +1 -0
  869. package/dist/components/Tabs/Tab/Tab.d.ts.map +1 -1
  870. package/dist/components/Tabs/Tab/Tab.js +1 -1
  871. package/dist/components/Tabs/Tab/Tab.js.map +1 -1
  872. package/dist/components/Tabs/Tab/Tab.mjs +1 -1
  873. package/dist/components/Tabs/Tab/Tab.mjs.map +1 -1
  874. package/dist/components/Tabs/Tab/Tab.styles.d.ts +34 -3
  875. package/dist/components/Tabs/Tab/Tab.styles.d.ts.map +1 -1
  876. package/dist/components/Tabs/Tab/Tab.styles.js +46 -5
  877. package/dist/components/Tabs/Tab/Tab.styles.js.map +1 -1
  878. package/dist/components/Tabs/Tab/Tab.styles.mjs +46 -6
  879. package/dist/components/Tabs/Tab/Tab.styles.mjs.map +1 -1
  880. package/dist/components/Tabs/Tab/index.d.ts +1 -0
  881. package/dist/components/Tabs/Tab/index.d.ts.map +1 -1
  882. package/dist/components/Tabs/index.d.ts +1 -1
  883. package/dist/components/Tabs/index.d.ts.map +1 -1
  884. package/dist/components/Tag/Tag.d.ts +3 -21
  885. package/dist/components/Tag/Tag.d.ts.map +1 -1
  886. package/dist/components/Tag/Tag.js +45 -15
  887. package/dist/components/Tag/Tag.js.map +1 -1
  888. package/dist/components/Tag/Tag.mjs +47 -17
  889. package/dist/components/Tag/Tag.mjs.map +1 -1
  890. package/dist/components/Tag/Tag.styles.d.ts +55 -17
  891. package/dist/components/Tag/Tag.styles.d.ts.map +1 -1
  892. package/dist/components/Tag/Tag.styles.js +148 -122
  893. package/dist/components/Tag/Tag.styles.js.map +1 -1
  894. package/dist/components/Tag/Tag.styles.mjs +145 -120
  895. package/dist/components/Tag/Tag.styles.mjs.map +1 -1
  896. package/dist/components/Tag/Tag.types.d.ts +52 -24
  897. package/dist/components/Tag/Tag.types.d.ts.map +1 -1
  898. package/dist/components/Tag/TagCloseButton/TagCloseButton.d.ts +5 -0
  899. package/dist/components/Tag/TagCloseButton/TagCloseButton.d.ts.map +1 -1
  900. package/dist/components/Tag/TagCloseButton/TagCloseButton.js +7 -1
  901. package/dist/components/Tag/TagCloseButton/TagCloseButton.js.map +1 -1
  902. package/dist/components/Tag/TagCloseButton/TagCloseButton.mjs +7 -1
  903. package/dist/components/Tag/TagCloseButton/TagCloseButton.mjs.map +1 -1
  904. package/dist/components/Tag/index.d.ts +3 -2
  905. package/dist/components/Tag/index.d.ts.map +1 -1
  906. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  907. package/dist/components/Textarea/Textarea.js +14 -11
  908. package/dist/components/Textarea/Textarea.js.map +1 -1
  909. package/dist/components/Textarea/Textarea.mjs +14 -11
  910. package/dist/components/Textarea/Textarea.mjs.map +1 -1
  911. package/dist/components/Toast/Toast.d.ts +7 -3
  912. package/dist/components/Toast/Toast.d.ts.map +1 -1
  913. package/dist/components/Toast/Toast.js +7 -3
  914. package/dist/components/Toast/Toast.js.map +1 -1
  915. package/dist/components/Toast/Toast.mjs +8 -4
  916. package/dist/components/Toast/Toast.mjs.map +1 -1
  917. package/dist/components/Toast/Toast.styles.d.ts +13 -3
  918. package/dist/components/Toast/Toast.styles.d.ts.map +1 -1
  919. package/dist/components/Toast/Toast.styles.js +101 -23
  920. package/dist/components/Toast/Toast.styles.js.map +1 -1
  921. package/dist/components/Toast/Toast.styles.mjs +99 -24
  922. package/dist/components/Toast/Toast.styles.mjs.map +1 -1
  923. package/dist/components/Toast/Toast.types.d.ts +33 -2
  924. package/dist/components/Toast/Toast.types.d.ts.map +1 -1
  925. package/dist/components/Toast/ToastIcon/ToastIcon.d.ts.map +1 -1
  926. package/dist/components/Toast/ToastIcon/ToastIcon.js +6 -4
  927. package/dist/components/Toast/ToastIcon/ToastIcon.js.map +1 -1
  928. package/dist/components/Toast/ToastIcon/ToastIcon.mjs +7 -5
  929. package/dist/components/Toast/ToastIcon/ToastIcon.mjs.map +1 -1
  930. package/dist/components/Toast/Toaster.d.ts.map +1 -1
  931. package/dist/components/Toast/Toaster.js +20 -1
  932. package/dist/components/Toast/Toaster.js.map +1 -1
  933. package/dist/components/Toast/Toaster.mjs +20 -1
  934. package/dist/components/Toast/Toaster.mjs.map +1 -1
  935. package/dist/components/Toast/useToast.d.ts +3 -3
  936. package/dist/components/Toast/useToast.d.ts.map +1 -1
  937. package/dist/components/Toast/useToast.js +50 -8
  938. package/dist/components/Toast/useToast.js.map +1 -1
  939. package/dist/components/Toast/useToast.mjs +51 -9
  940. package/dist/components/Toast/useToast.mjs.map +1 -1
  941. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  942. package/dist/components/Tooltip/Tooltip.js +15 -1
  943. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  944. package/dist/components/Tooltip/Tooltip.mjs +15 -1
  945. package/dist/components/Tooltip/Tooltip.mjs.map +1 -1
  946. package/dist/components/Tree/TreeBranchControl.js +1 -1
  947. package/dist/components/Tree/TreeBranchControl.js.map +1 -1
  948. package/dist/components/Tree/TreeBranchControl.mjs +1 -1
  949. package/dist/components/Tree/TreeBranchControl.mjs.map +1 -1
  950. package/dist/components/Tree/TreeBranchIndicator.js +1 -1
  951. package/dist/components/Tree/TreeBranchIndicator.js.map +1 -1
  952. package/dist/components/Tree/TreeBranchIndicator.mjs +2 -2
  953. package/dist/components/Tree/TreeBranchIndicator.mjs.map +1 -1
  954. package/dist/components/Tree/TreeItem.js +1 -1
  955. package/dist/components/Tree/TreeItem.js.map +1 -1
  956. package/dist/components/Tree/TreeItem.mjs +1 -1
  957. package/dist/components/Tree/TreeItem.mjs.map +1 -1
  958. package/dist/components/Typography/Caption.d.ts +4 -0
  959. package/dist/components/Typography/Caption.d.ts.map +1 -0
  960. package/dist/components/Typography/Caption.js +33 -0
  961. package/dist/components/Typography/Caption.js.map +1 -0
  962. package/dist/components/Typography/Caption.mjs +31 -0
  963. package/dist/components/Typography/Caption.mjs.map +1 -0
  964. package/dist/components/Typography/H1.d.ts +3 -2
  965. package/dist/components/Typography/H1.d.ts.map +1 -1
  966. package/dist/components/Typography/H1.js +6 -3
  967. package/dist/components/Typography/H1.js.map +1 -1
  968. package/dist/components/Typography/H1.mjs +6 -3
  969. package/dist/components/Typography/H1.mjs.map +1 -1
  970. package/dist/components/Typography/H2.d.ts +3 -2
  971. package/dist/components/Typography/H2.d.ts.map +1 -1
  972. package/dist/components/Typography/H2.js +6 -3
  973. package/dist/components/Typography/H2.js.map +1 -1
  974. package/dist/components/Typography/H2.mjs +6 -3
  975. package/dist/components/Typography/H2.mjs.map +1 -1
  976. package/dist/components/Typography/H3.d.ts +3 -2
  977. package/dist/components/Typography/H3.d.ts.map +1 -1
  978. package/dist/components/Typography/H3.js +6 -3
  979. package/dist/components/Typography/H3.js.map +1 -1
  980. package/dist/components/Typography/H3.mjs +6 -3
  981. package/dist/components/Typography/H3.mjs.map +1 -1
  982. package/dist/components/Typography/H4.d.ts +3 -2
  983. package/dist/components/Typography/H4.d.ts.map +1 -1
  984. package/dist/components/Typography/H4.js +6 -3
  985. package/dist/components/Typography/H4.js.map +1 -1
  986. package/dist/components/Typography/H4.mjs +6 -3
  987. package/dist/components/Typography/H4.mjs.map +1 -1
  988. package/dist/components/Typography/H5.d.ts +3 -2
  989. package/dist/components/Typography/H5.d.ts.map +1 -1
  990. package/dist/components/Typography/H5.js +6 -3
  991. package/dist/components/Typography/H5.js.map +1 -1
  992. package/dist/components/Typography/H5.mjs +6 -3
  993. package/dist/components/Typography/H5.mjs.map +1 -1
  994. package/dist/components/Typography/Link.d.ts +33 -3
  995. package/dist/components/Typography/Link.d.ts.map +1 -1
  996. package/dist/components/Typography/Link.js +51 -11
  997. package/dist/components/Typography/Link.js.map +1 -1
  998. package/dist/components/Typography/Link.mjs +51 -12
  999. package/dist/components/Typography/Link.mjs.map +1 -1
  1000. package/dist/components/Typography/Overline.d.ts +3 -13
  1001. package/dist/components/Typography/Overline.d.ts.map +1 -1
  1002. package/dist/components/Typography/Overline.js +7 -4
  1003. package/dist/components/Typography/Overline.js.map +1 -1
  1004. package/dist/components/Typography/Overline.mjs +7 -4
  1005. package/dist/components/Typography/Overline.mjs.map +1 -1
  1006. package/dist/components/Typography/Subtext.d.ts +3 -3
  1007. package/dist/components/Typography/Subtext.d.ts.map +1 -1
  1008. package/dist/components/Typography/Subtext.js +5 -2
  1009. package/dist/components/Typography/Subtext.js.map +1 -1
  1010. package/dist/components/Typography/Subtext.mjs +5 -2
  1011. package/dist/components/Typography/Subtext.mjs.map +1 -1
  1012. package/dist/components/Typography/Subtitle.d.ts +3 -2
  1013. package/dist/components/Typography/Subtitle.d.ts.map +1 -1
  1014. package/dist/components/Typography/Subtitle.js +23 -3
  1015. package/dist/components/Typography/Subtitle.js.map +1 -1
  1016. package/dist/components/Typography/Subtitle.mjs +23 -3
  1017. package/dist/components/Typography/Subtitle.mjs.map +1 -1
  1018. package/dist/components/Typography/Text.d.ts +3 -3
  1019. package/dist/components/Typography/Text.d.ts.map +1 -1
  1020. package/dist/components/Typography/Text.js +5 -2
  1021. package/dist/components/Typography/Text.js.map +1 -1
  1022. package/dist/components/Typography/Text.mjs +5 -2
  1023. package/dist/components/Typography/Text.mjs.map +1 -1
  1024. package/dist/components/Typography/Typography.types.d.ts +35 -2
  1025. package/dist/components/Typography/Typography.types.d.ts.map +1 -1
  1026. package/dist/components/Typography/index.d.ts +4 -3
  1027. package/dist/components/Typography/index.d.ts.map +1 -1
  1028. package/dist/components/Workflow/Workflow.d.ts +1 -1
  1029. package/dist/components/Workflow/Workflow.d.ts.map +1 -1
  1030. package/dist/components/Workflow/Workflow.js +2 -2
  1031. package/dist/components/Workflow/Workflow.js.map +1 -1
  1032. package/dist/components/Workflow/Workflow.mjs +2 -2
  1033. package/dist/components/Workflow/Workflow.mjs.map +1 -1
  1034. package/dist/components/Workflow/Workflow.types.d.ts +9 -0
  1035. package/dist/components/Workflow/Workflow.types.d.ts.map +1 -1
  1036. package/dist/components/Workflow/Workflow.types.js.map +1 -1
  1037. package/dist/components/Workflow/Workflow.types.mjs.map +1 -1
  1038. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.d.ts.map +1 -1
  1039. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js +8 -7
  1040. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js.map +1 -1
  1041. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs +9 -8
  1042. package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs.map +1 -1
  1043. package/dist/components/Workflow/canvas/Canvas/Canvas.d.ts +6 -2
  1044. package/dist/components/Workflow/canvas/Canvas/Canvas.d.ts.map +1 -1
  1045. package/dist/components/Workflow/canvas/Canvas/Canvas.js +36 -30
  1046. package/dist/components/Workflow/canvas/Canvas/Canvas.js.map +1 -1
  1047. package/dist/components/Workflow/canvas/Canvas/Canvas.mjs +38 -32
  1048. package/dist/components/Workflow/canvas/Canvas/Canvas.mjs.map +1 -1
  1049. package/dist/components/Workflow/canvas/Canvas/Canvas.styles.d.ts +2 -2
  1050. package/dist/components/Workflow/canvas/Canvas/Canvas.styles.d.ts.map +1 -1
  1051. package/dist/components/Workflow/canvas/Canvas/Canvas.styles.js +13 -12
  1052. package/dist/components/Workflow/canvas/Canvas/Canvas.styles.js.map +1 -1
  1053. package/dist/components/Workflow/canvas/Canvas/Canvas.styles.mjs +13 -12
  1054. package/dist/components/Workflow/canvas/Canvas/Canvas.styles.mjs.map +1 -1
  1055. package/dist/components/Workflow/canvas/Canvas/CanvasControls.js +1 -1
  1056. package/dist/components/Workflow/canvas/Canvas/CanvasControls.js.map +1 -1
  1057. package/dist/components/Workflow/canvas/Canvas/CanvasControls.mjs +2 -2
  1058. package/dist/components/Workflow/canvas/Canvas/CanvasControls.mjs.map +1 -1
  1059. package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js +2 -1
  1060. package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js.map +1 -1
  1061. package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs +3 -2
  1062. package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs.map +1 -1
  1063. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.d.ts.map +1 -1
  1064. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js +2 -1
  1065. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js.map +1 -1
  1066. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs +3 -2
  1067. package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs.map +1 -1
  1068. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.d.ts.map +1 -1
  1069. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js +3 -1
  1070. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js.map +1 -1
  1071. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs +4 -2
  1072. package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs.map +1 -1
  1073. package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js +4 -3
  1074. package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js.map +1 -1
  1075. package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs +5 -4
  1076. package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs.map +1 -1
  1077. package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js +7 -4
  1078. package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js.map +1 -1
  1079. package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs +8 -5
  1080. package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs.map +1 -1
  1081. package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.js +3 -2
  1082. package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.js.map +1 -1
  1083. package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.mjs +3 -2
  1084. package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.mjs.map +1 -1
  1085. package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js +2 -1
  1086. package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js.map +1 -1
  1087. package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs +3 -2
  1088. package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs.map +1 -1
  1089. package/dist/components/Workflow/canvas/GenericNode/GenericNode.js +1 -1
  1090. package/dist/components/Workflow/canvas/GenericNode/GenericNode.js.map +1 -1
  1091. package/dist/components/Workflow/canvas/GenericNode/GenericNode.mjs +2 -2
  1092. package/dist/components/Workflow/canvas/GenericNode/GenericNode.mjs.map +1 -1
  1093. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.d.ts.map +1 -1
  1094. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js +2 -1
  1095. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js.map +1 -1
  1096. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs +3 -2
  1097. package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs.map +1 -1
  1098. package/dist/components/Workflow/canvas/IconTile/IconTile.styles.d.ts +11 -3
  1099. package/dist/components/Workflow/canvas/IconTile/IconTile.styles.d.ts.map +1 -1
  1100. package/dist/components/Workflow/canvas/IconTile/IconTile.styles.js +29 -13
  1101. package/dist/components/Workflow/canvas/IconTile/IconTile.styles.js.map +1 -1
  1102. package/dist/components/Workflow/canvas/IconTile/IconTile.styles.mjs +29 -13
  1103. package/dist/components/Workflow/canvas/IconTile/IconTile.styles.mjs.map +1 -1
  1104. package/dist/components/Workflow/canvas/IssueList/IssueList.js +3 -2
  1105. package/dist/components/Workflow/canvas/IssueList/IssueList.js.map +1 -1
  1106. package/dist/components/Workflow/canvas/IssueList/IssueList.mjs +3 -2
  1107. package/dist/components/Workflow/canvas/IssueList/IssueList.mjs.map +1 -1
  1108. package/dist/components/Workflow/canvas/NodePalette/NodePalette.d.ts.map +1 -1
  1109. package/dist/components/Workflow/canvas/NodePalette/NodePalette.js +21 -3
  1110. package/dist/components/Workflow/canvas/NodePalette/NodePalette.js.map +1 -1
  1111. package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs +22 -4
  1112. package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs.map +1 -1
  1113. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.d.ts.map +1 -1
  1114. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js +1 -1
  1115. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js.map +1 -1
  1116. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs +2 -2
  1117. package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs.map +1 -1
  1118. package/dist/components/Workflow/canvas/NodeShell/NodeShell.d.ts.map +1 -1
  1119. package/dist/components/Workflow/canvas/NodeShell/NodeShell.js +43 -32
  1120. package/dist/components/Workflow/canvas/NodeShell/NodeShell.js.map +1 -1
  1121. package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs +44 -33
  1122. package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs.map +1 -1
  1123. package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.d.ts +9 -4
  1124. package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.d.ts.map +1 -1
  1125. package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.js +8 -8
  1126. package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.js.map +1 -1
  1127. package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.mjs +7 -7
  1128. package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.mjs.map +1 -1
  1129. package/dist/components/Workflow/canvas/NodeShell/NodeShell.types.d.ts +2 -0
  1130. package/dist/components/Workflow/canvas/NodeShell/NodeShell.types.d.ts.map +1 -1
  1131. package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.d.ts +5 -4
  1132. package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.d.ts.map +1 -1
  1133. package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.js +1 -1
  1134. package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.js.map +1 -1
  1135. package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.mjs +1 -1
  1136. package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.mjs.map +1 -1
  1137. package/dist/components/Workflow/canvas/colorVar.d.ts +20 -0
  1138. package/dist/components/Workflow/canvas/colorVar.d.ts.map +1 -0
  1139. package/dist/components/Workflow/canvas/colorVar.js +32 -0
  1140. package/dist/components/Workflow/canvas/colorVar.js.map +1 -0
  1141. package/dist/components/Workflow/canvas/colorVar.mjs +29 -0
  1142. package/dist/components/Workflow/canvas/colorVar.mjs.map +1 -0
  1143. package/dist/components/Workflow/canvas/issueSeverity.d.ts +6 -4
  1144. package/dist/components/Workflow/canvas/issueSeverity.d.ts.map +1 -1
  1145. package/dist/components/Workflow/canvas/issueSeverity.js +6 -4
  1146. package/dist/components/Workflow/canvas/issueSeverity.js.map +1 -1
  1147. package/dist/components/Workflow/canvas/issueSeverity.mjs +6 -4
  1148. package/dist/components/Workflow/canvas/issueSeverity.mjs.map +1 -1
  1149. package/dist/components/Workflow/canvas/workflowLabelProps.d.ts +1 -1
  1150. package/dist/components/Workflow/canvas/workflowLabelProps.js +1 -1
  1151. package/dist/components/Workflow/canvas/workflowLabelProps.mjs +1 -1
  1152. package/dist/components/Workflow/createNode.d.ts +25 -1
  1153. package/dist/components/Workflow/createNode.d.ts.map +1 -1
  1154. package/dist/components/Workflow/createNode.js +39 -1
  1155. package/dist/components/Workflow/createNode.js.map +1 -1
  1156. package/dist/components/Workflow/createNode.mjs +38 -2
  1157. package/dist/components/Workflow/createNode.mjs.map +1 -1
  1158. package/dist/components/Workflow/index.d.ts +2 -0
  1159. package/dist/components/Workflow/index.d.ts.map +1 -1
  1160. package/dist/components/Workflow/layout/autoLayout.d.ts +10 -0
  1161. package/dist/components/Workflow/layout/autoLayout.d.ts.map +1 -1
  1162. package/dist/components/Workflow/layout/autoLayout.js +4 -0
  1163. package/dist/components/Workflow/layout/autoLayout.js.map +1 -1
  1164. package/dist/components/Workflow/layout/autoLayout.mjs +1 -1
  1165. package/dist/components/Workflow/layout/autoLayout.mjs.map +1 -1
  1166. package/dist/components/Workflow/placement.d.ts +65 -0
  1167. package/dist/components/Workflow/placement.d.ts.map +1 -0
  1168. package/dist/components/Workflow/placement.js +100 -0
  1169. package/dist/components/Workflow/placement.js.map +1 -0
  1170. package/dist/components/Workflow/placement.mjs +96 -0
  1171. package/dist/components/Workflow/placement.mjs.map +1 -0
  1172. package/dist/components/Workflow/useWorkflowActions.d.ts +54 -0
  1173. package/dist/components/Workflow/useWorkflowActions.d.ts.map +1 -0
  1174. package/dist/components/Workflow/useWorkflowActions.js +105 -0
  1175. package/dist/components/Workflow/useWorkflowActions.js.map +1 -0
  1176. package/dist/components/Workflow/useWorkflowActions.mjs +103 -0
  1177. package/dist/components/Workflow/useWorkflowActions.mjs.map +1 -0
  1178. package/dist/icons.js +203 -0
  1179. package/dist/icons.js.map +1 -1
  1180. package/dist/icons.mjs +1 -1
  1181. package/dist/index.d.ts +23 -3
  1182. package/dist/index.d.ts.map +1 -1
  1183. package/dist/index.js +105 -9
  1184. package/dist/index.js.map +1 -1
  1185. package/dist/index.mjs +47 -10
  1186. package/dist/index.mjs.map +1 -1
  1187. package/dist/styles.d.ts +21 -0
  1188. package/dist/styles.d.ts.map +1 -0
  1189. package/dist/styles.js +9 -0
  1190. package/dist/styles.js.map +1 -0
  1191. package/dist/styles.mjs +3 -0
  1192. package/dist/styles.mjs.map +1 -0
  1193. package/dist/theme/colors.d.ts +45 -1022
  1194. package/dist/theme/colors.d.ts.map +1 -1
  1195. package/dist/theme/colors.js +335 -691
  1196. package/dist/theme/colors.js.map +1 -1
  1197. package/dist/theme/colors.mjs +333 -692
  1198. package/dist/theme/colors.mjs.map +1 -1
  1199. package/dist/theme/deprecatedColorTokens.json.js +69 -0
  1200. package/dist/theme/deprecatedColorTokens.json.js.map +1 -0
  1201. package/dist/theme/deprecatedColorTokens.json.mjs +64 -0
  1202. package/dist/theme/deprecatedColorTokens.json.mjs.map +1 -0
  1203. package/dist/theme/formControls.d.ts +56 -0
  1204. package/dist/theme/formControls.d.ts.map +1 -0
  1205. package/dist/theme/formControls.js +62 -0
  1206. package/dist/theme/formControls.js.map +1 -0
  1207. package/dist/theme/formControls.mjs +60 -0
  1208. package/dist/theme/formControls.mjs.map +1 -0
  1209. package/dist/theme/global.d.ts +3 -2
  1210. package/dist/theme/global.d.ts.map +1 -1
  1211. package/dist/theme/global.js +12 -18
  1212. package/dist/theme/global.js.map +1 -1
  1213. package/dist/theme/global.mjs +12 -18
  1214. package/dist/theme/global.mjs.map +1 -1
  1215. package/dist/theme/index.d.ts +34 -1
  1216. package/dist/theme/index.d.ts.map +1 -1
  1217. package/dist/theme/index.js +205 -70
  1218. package/dist/theme/index.js.map +1 -1
  1219. package/dist/theme/index.mjs +206 -73
  1220. package/dist/theme/index.mjs.map +1 -1
  1221. package/dist/theme/motion.d.ts +648 -0
  1222. package/dist/theme/motion.d.ts.map +1 -0
  1223. package/dist/theme/motion.js +629 -0
  1224. package/dist/theme/motion.js.map +1 -0
  1225. package/dist/theme/motion.mjs +617 -0
  1226. package/dist/theme/motion.mjs.map +1 -0
  1227. package/dist/theme/palette.generated.d.ts +887 -0
  1228. package/dist/theme/palette.generated.d.ts.map +1 -0
  1229. package/dist/theme/palette.generated.js +898 -0
  1230. package/dist/theme/palette.generated.js.map +1 -0
  1231. package/dist/theme/palette.generated.mjs +893 -0
  1232. package/dist/theme/palette.generated.mjs.map +1 -0
  1233. package/dist/theme/paletteSwatches.d.ts +22 -0
  1234. package/dist/theme/paletteSwatches.d.ts.map +1 -0
  1235. package/dist/theme/recipes/accordion.d.ts +12 -0
  1236. package/dist/theme/recipes/accordion.d.ts.map +1 -0
  1237. package/dist/theme/recipes/accordion.js +25 -0
  1238. package/dist/theme/recipes/accordion.js.map +1 -0
  1239. package/dist/theme/recipes/accordion.mjs +23 -0
  1240. package/dist/theme/recipes/accordion.mjs.map +1 -0
  1241. package/dist/theme/recipes/table.js +2 -2
  1242. package/dist/theme/recipes/table.js.map +1 -1
  1243. package/dist/theme/recipes/table.mjs +2 -2
  1244. package/dist/theme/recipes/table.mjs.map +1 -1
  1245. package/dist/translations/Defaults.translations.json.js +10 -1
  1246. package/dist/translations/Defaults.translations.json.js.map +1 -1
  1247. package/dist/translations/Defaults.translations.json.mjs +10 -2
  1248. package/dist/translations/Defaults.translations.json.mjs.map +1 -1
  1249. package/dist/types/polymorphic.d.ts +101 -0
  1250. package/dist/types/polymorphic.d.ts.map +1 -0
  1251. package/dist/types/polymorphic.js +57 -0
  1252. package/dist/types/polymorphic.js.map +1 -0
  1253. package/dist/types/polymorphic.mjs +55 -0
  1254. package/dist/types/polymorphic.mjs.map +1 -0
  1255. package/dist/utils/cubicBezier.d.ts +30 -0
  1256. package/dist/utils/cubicBezier.d.ts.map +1 -0
  1257. package/dist/utils/cubicBezier.js +67 -0
  1258. package/dist/utils/cubicBezier.js.map +1 -0
  1259. package/dist/utils/cubicBezier.mjs +65 -0
  1260. package/dist/utils/cubicBezier.mjs.map +1 -0
  1261. package/dist/utils/disabledControl.d.ts +27 -0
  1262. package/dist/utils/disabledControl.d.ts.map +1 -0
  1263. package/dist/utils/disabledControl.js +33 -0
  1264. package/dist/utils/disabledControl.js.map +1 -0
  1265. package/dist/utils/disabledControl.mjs +30 -0
  1266. package/dist/utils/disabledControl.mjs.map +1 -0
  1267. package/dist/utils/focusRing.d.ts +14 -7
  1268. package/dist/utils/focusRing.d.ts.map +1 -1
  1269. package/dist/utils/focusRing.js +15 -5
  1270. package/dist/utils/focusRing.js.map +1 -1
  1271. package/dist/utils/focusRing.mjs +15 -6
  1272. package/dist/utils/focusRing.mjs.map +1 -1
  1273. package/dist/utils/isDev.d.ts +22 -0
  1274. package/dist/utils/isDev.d.ts.map +1 -0
  1275. package/dist/utils/isDev.js +34 -0
  1276. package/dist/utils/isDev.js.map +1 -0
  1277. package/dist/utils/isDev.mjs +32 -0
  1278. package/dist/utils/isDev.mjs.map +1 -0
  1279. package/dist/utils/mergeCss.js +2 -2
  1280. package/dist/utils/mergeCss.js.map +1 -1
  1281. package/dist/utils/mergeCss.mjs +1 -1
  1282. package/dist/utils/staggerProps.d.ts +52 -0
  1283. package/dist/utils/staggerProps.d.ts.map +1 -0
  1284. package/dist/utils/staggerProps.js +62 -0
  1285. package/dist/utils/staggerProps.js.map +1 -0
  1286. package/dist/utils/staggerProps.mjs +59 -0
  1287. package/dist/utils/staggerProps.mjs.map +1 -0
  1288. package/eslint/index.js +28 -0
  1289. package/eslint/rules/no-deprecated-tokens.js +128 -0
  1290. package/eslint/rules/no-deprecated-tokens.test.ts +130 -0
  1291. package/package.json +24 -8
  1292. package/src/components/Accordion/Accordion.presence.test.tsx +54 -0
  1293. package/src/components/Accordion/Accordion.stories.tsx +20 -12
  1294. package/src/components/Appear/Appear.stories.tsx +212 -0
  1295. package/src/components/Appear/Appear.styles.ts +28 -0
  1296. package/src/components/Appear/Appear.tsx +85 -0
  1297. package/src/components/Appear/Appear.types.ts +18 -0
  1298. package/src/components/Appear/index.ts +2 -0
  1299. package/src/components/Avatar/Avatar.hue.test.ts +67 -0
  1300. package/src/components/Avatar/Avatar.stories.tsx +79 -23
  1301. package/src/components/Avatar/Avatar.tsx +56 -2
  1302. package/src/components/Avatar/index.tsx +1 -1
  1303. package/src/components/Badge/Badge.stories.tsx +24 -50
  1304. package/src/components/Badge/Badge.styles.ts +56 -50
  1305. package/src/components/Badge/Badge.tsx +18 -10
  1306. package/src/components/Badge/Badge.types.ts +37 -16
  1307. package/src/components/Badge/index.ts +7 -1
  1308. package/src/components/Banner/Banner.stories.tsx +10 -3
  1309. package/src/components/Banner/Banner.styles.ts +43 -27
  1310. package/src/components/Banner/Banner.tsx +1 -1
  1311. package/src/components/Banner/Banner.types.ts +1 -1
  1312. package/src/components/BottomSheet/BottomSheet.stories.tsx +204 -0
  1313. package/src/components/BottomSheet/BottomSheet.styles.ts +162 -0
  1314. package/src/components/BottomSheet/BottomSheet.test.tsx +129 -0
  1315. package/src/components/BottomSheet/BottomSheet.tsx +47 -0
  1316. package/src/components/BottomSheet/BottomSheet.types.ts +50 -0
  1317. package/src/components/BottomSheet/BottomSheetBody.tsx +15 -0
  1318. package/src/components/BottomSheet/BottomSheetCloseButton.tsx +39 -0
  1319. package/src/components/BottomSheet/BottomSheetContent.tsx +43 -0
  1320. package/src/components/BottomSheet/BottomSheetContext.ts +79 -0
  1321. package/src/components/BottomSheet/BottomSheetFooter.tsx +12 -0
  1322. package/src/components/BottomSheet/BottomSheetHeader.tsx +22 -0
  1323. package/src/components/BottomSheet/BottomSheetOverlay.tsx +16 -0
  1324. package/src/components/BottomSheet/index.tsx +22 -0
  1325. package/src/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.tsx +1 -1
  1326. package/src/components/Button/Button.cursor.test.tsx +60 -0
  1327. package/src/components/Button/Button.legacy.ts +180 -0
  1328. package/src/components/Button/Button.lift.test.tsx +142 -0
  1329. package/src/components/Button/Button.press.test.tsx +59 -0
  1330. package/src/components/Button/Button.stories.tsx +167 -318
  1331. package/src/components/Button/Button.styles.ts +198 -368
  1332. package/src/components/Button/Button.tsx +130 -19
  1333. package/src/components/Button/Button.types.ts +97 -39
  1334. package/src/components/Button/Button.variants.test.tsx +149 -0
  1335. package/src/components/Button/index.tsx +3 -0
  1336. package/src/components/Card/Card.stories.tsx +33 -3
  1337. package/src/components/Card/Card.styles.ts +30 -5
  1338. package/src/components/Card/Card.tsx +12 -10
  1339. package/src/components/Card/Card.types.ts +22 -2
  1340. package/src/components/Card/index.ts +1 -1
  1341. package/src/components/Checkbox/Checkbox.styles.ts +26 -0
  1342. package/src/components/Checkbox/CheckboxControl.tsx +27 -11
  1343. package/src/components/Chip/Chip.stories.tsx +17 -230
  1344. package/src/components/Chip/Chip.tsx +46 -26
  1345. package/src/components/Chip/Chip.types.ts +50 -23
  1346. package/src/components/Chip/index.ts +6 -7
  1347. package/src/components/Code/Code.tsx +2 -3
  1348. package/src/components/CodeTabs/CodeTabs.contrast.test.tsx +109 -0
  1349. package/src/components/CodeTabs/CodeTabs.styles.ts +26 -0
  1350. package/src/components/CodeTabs/CodeTabs.tsx +16 -4
  1351. package/src/components/CodeTabs/CopyButton.tsx +6 -4
  1352. package/src/components/Collapsible/Collapsible.presence.test.tsx +83 -0
  1353. package/src/components/Collapsible/CollapsibleContent.tsx +13 -1
  1354. package/src/components/ColorMode/ColorModeToggle.tsx +33 -2
  1355. package/src/components/Confetti/Confetti.stories.tsx +88 -0
  1356. package/src/components/Confetti/Confetti.styles.ts +57 -0
  1357. package/src/components/Confetti/Confetti.tsx +147 -0
  1358. package/src/components/Confetti/Confetti.types.ts +13 -0
  1359. package/src/components/Confetti/confettiColors.test.ts +47 -0
  1360. package/src/components/Confetti/confettiColors.ts +41 -0
  1361. package/src/components/Confetti/index.ts +2 -0
  1362. package/src/components/Container/Container.stories.tsx +1 -1
  1363. package/src/components/Container/Container.tsx +10 -3
  1364. package/src/components/Container/Container.types.ts +20 -0
  1365. package/src/components/Container/index.ts +1 -0
  1366. package/src/components/CopyableCode/CopyableCode.tsx +99 -5
  1367. package/src/components/CountBadge/CountBadge.stories.tsx +109 -0
  1368. package/src/components/CountBadge/CountBadge.styles.ts +40 -0
  1369. package/src/components/CountBadge/CountBadge.test.tsx +57 -0
  1370. package/src/components/CountBadge/CountBadge.tsx +112 -0
  1371. package/src/components/CountBadge/CountBadge.types.ts +34 -0
  1372. package/src/components/CountBadge/index.ts +2 -0
  1373. package/src/components/CountUp/CountUp.stories.tsx +127 -0
  1374. package/src/components/CountUp/CountUp.tsx +122 -0
  1375. package/src/components/CountUp/CountUp.types.ts +19 -0
  1376. package/src/components/CountUp/index.ts +2 -0
  1377. package/src/components/DatePicker/RangeDatePicker.tsx +8 -8
  1378. package/src/components/DatePicker/SingleDatePicker.tsx +5 -5
  1379. package/src/components/ErrorFallback/ErrorFallback.lift.test.tsx +45 -0
  1380. package/src/components/ErrorFallback/ErrorFallback.tsx +47 -33
  1381. package/src/components/ExpandableText/ExpandableText.stories.tsx +7 -7
  1382. package/src/components/ExpandableText/ExpandableText.tsx +42 -8
  1383. package/src/components/ExpandableText/useExpandableText.ts +90 -103
  1384. package/src/components/FileInput/FileInput.tsx +17 -5
  1385. package/src/components/FileItem/FileItem.tsx +11 -14
  1386. package/src/components/FileList/FileList.tsx +15 -4
  1387. package/src/components/FileList/FileList.types.ts +9 -0
  1388. package/src/components/FlyTo/FlyTo.stories.tsx +162 -0
  1389. package/src/components/FlyTo/FlyTo.styles.ts +31 -0
  1390. package/src/components/FlyTo/FlyTo.tsx +88 -0
  1391. package/src/components/FlyTo/FlyTo.types.ts +15 -0
  1392. package/src/components/FlyTo/index.ts +2 -0
  1393. package/src/components/Form/FieldError/FieldError.test.tsx +33 -0
  1394. package/src/components/Form/FieldError/FieldError.tsx +20 -0
  1395. package/src/components/Form/FieldError/index.ts +2 -0
  1396. package/src/components/Form/FieldHelp/FieldHelp.tsx +18 -0
  1397. package/src/components/Form/FieldHelp/index.ts +2 -0
  1398. package/src/components/Form/FieldLabel/FieldLabel.tsx +46 -0
  1399. package/src/components/Form/FieldLabel/FieldLabel.types.ts +21 -0
  1400. package/src/components/Form/FieldLabel/index.ts +2 -0
  1401. package/src/components/Form/FieldRow/FieldRow.stories.tsx +85 -0
  1402. package/src/components/Form/FieldRow/FieldRow.test.tsx +89 -0
  1403. package/src/components/Form/FieldRow/FieldRow.tsx +46 -0
  1404. package/src/components/Form/FieldRow/FieldRow.types.ts +32 -0
  1405. package/src/components/Form/FieldRow/index.ts +2 -0
  1406. package/src/components/Form/FormFooter/FormFooter.stories.tsx +70 -0
  1407. package/src/components/Form/FormFooter/FormFooter.test.tsx +67 -0
  1408. package/src/components/Form/FormFooter/FormFooter.tsx +46 -0
  1409. package/src/components/Form/FormFooter/FormFooter.types.ts +23 -0
  1410. package/src/components/Form/FormFooter/index.ts +2 -0
  1411. package/src/components/Form/FormModalFooter/FormModalFooter.stories.tsx +64 -0
  1412. package/src/components/Form/FormModalFooter/FormModalFooter.test.tsx +155 -0
  1413. package/src/components/Form/FormModalFooter/FormModalFooter.tsx +82 -0
  1414. package/src/components/Form/FormModalFooter/FormModalFooter.types.ts +53 -0
  1415. package/src/components/Form/FormModalFooter/index.ts +2 -0
  1416. package/src/components/Form/FormScrollArea/FormScrollArea.tsx +27 -0
  1417. package/src/components/Form/FormScrollArea/index.ts +1 -0
  1418. package/src/components/Form/FormSection/CollapsibleFormSection.tsx +35 -0
  1419. package/src/components/Form/FormSection/FlatFormSection.tsx +41 -0
  1420. package/src/components/Form/FormSection/FormSection.stories.tsx +115 -0
  1421. package/src/components/Form/FormSection/FormSection.test.tsx +89 -0
  1422. package/src/components/Form/FormSection/FormSection.tsx +33 -0
  1423. package/src/components/Form/FormSection/FormSection.types.ts +34 -0
  1424. package/src/components/Form/FormSection/index.ts +2 -0
  1425. package/src/components/Form/FormSectionHeader/FormSectionHeader.stories.tsx +53 -0
  1426. package/src/components/Form/FormSectionHeader/FormSectionHeader.test.tsx +74 -0
  1427. package/src/components/Form/FormSectionHeader/FormSectionHeader.tsx +48 -0
  1428. package/src/components/Form/FormSectionHeader/FormSectionHeader.types.ts +17 -0
  1429. package/src/components/Form/FormSectionHeader/index.ts +2 -0
  1430. package/src/components/Form/index.ts +17 -0
  1431. package/src/components/FormIntegration/FormIntegration.stories.tsx +4 -4
  1432. package/src/components/FormLabel/FormLabel.tsx +1 -1
  1433. package/src/components/Icon/ICON_MANAGEMENT.md +8 -7
  1434. package/src/components/Icon/Icon.stories.tsx +221 -113
  1435. package/src/components/Icon/_constants/iconList.ts +523 -299
  1436. package/src/components/Icon/_utils/createIcon.tsx +3 -2
  1437. package/src/components/Icon/_utils/createIconGroup.tsx +1 -1
  1438. package/src/components/Icon/index.tsx +210 -27
  1439. package/src/components/IconButton/IconButton.stories.tsx +63 -216
  1440. package/src/components/IconButton/IconButton.styles.ts +104 -27
  1441. package/src/components/IconButton/IconButton.tsx +52 -14
  1442. package/src/components/IconButton/IconButton.types.ts +49 -22
  1443. package/src/components/IconButton/index.tsx +2 -0
  1444. package/src/components/InfoSprinkle/InfoSprinkle.tsx +0 -1
  1445. package/src/components/InlineCode/InlineCode.tsx +15 -8
  1446. package/src/components/Input/Input.stories.tsx +11 -11
  1447. package/src/components/Input/Input.tsx +14 -10
  1448. package/src/components/LineGraph/LineGraph.tsx +24 -6
  1449. package/src/components/LineGraph/seriesColors.test.ts +40 -0
  1450. package/src/components/LineGraph/seriesColors.ts +42 -0
  1451. package/src/components/Loaders/LoaderStatus.tsx +25 -0
  1452. package/src/components/Loaders/Loaders.styles.ts +28 -0
  1453. package/src/components/Loaders/Loaders.test.tsx +63 -0
  1454. package/src/components/Loaders/Loaders.translations.json +9 -0
  1455. package/src/components/Loaders/PageLoader.stories.tsx +15 -1
  1456. package/src/components/Loaders/PageLoader.tsx +33 -6
  1457. package/src/components/Loaders/SectionLoader.stories.tsx +10 -3
  1458. package/src/components/Loaders/SectionLoader.tsx +18 -4
  1459. package/src/components/Loaders/ThinkingDots.tsx +27 -0
  1460. package/src/components/Loaders/index.ts +2 -1
  1461. package/src/components/LogicianProvider/LogicianProvider.stories.tsx +28 -43
  1462. package/src/components/LogicianProvider/LogicianProvider.tsx +35 -5
  1463. package/src/components/Markdown/Markdown.tsx +6 -1
  1464. package/src/components/Masonry/Masonry.stories.tsx +17 -5
  1465. package/src/components/Menu/Menu.stories.tsx +58 -20
  1466. package/src/components/Menu/MenuItem.highlight.test.tsx +72 -0
  1467. package/src/components/Menu/MenuItem.tsx +20 -9
  1468. package/src/components/Menu/MenuItem.types.ts +23 -2
  1469. package/src/components/Menu/MenuList.tsx +36 -4
  1470. package/src/components/Modal/Modal.stories.tsx +82 -30
  1471. package/src/components/Modal/Modal.styles.ts +19 -0
  1472. package/src/components/Modal/Modal.tsx +13 -3
  1473. package/src/components/Modal/Modal.types.ts +23 -2
  1474. package/src/components/Modal/ModalContent/ModalContent.tsx +10 -1
  1475. package/src/components/Modal/ModalContext.ts +5 -1
  1476. package/src/components/Modal/ModalHeader.a11y.test.tsx +51 -0
  1477. package/src/components/Modal/ModalHeader.tsx +73 -3
  1478. package/src/components/Modal/ModalOverlay.tsx +9 -1
  1479. package/src/components/Modal/index.tsx +2 -2
  1480. package/src/components/MonthPicker/MonthButton/MonthButton.tsx +9 -14
  1481. package/src/components/MonthPicker/MonthPicker.stories.tsx +13 -9
  1482. package/src/components/Pagination/Pagination.stories.tsx +5 -6
  1483. package/src/components/Pagination/Pagination.tsx +8 -5
  1484. package/src/components/PasswordInput/PasswordInput.tsx +3 -2
  1485. package/src/components/PinInput/PinInput.stories.tsx +36 -9
  1486. package/src/components/PinInput/PinInput.tsx +58 -45
  1487. package/src/components/PinInput/PinInput.types.ts +17 -25
  1488. package/src/components/Popover/Popover.stories.tsx +5 -5
  1489. package/src/components/Popover/PopoverContent.tsx +3 -0
  1490. package/src/components/ProgressBar/ProgressBar.indeterminate.test.tsx +55 -0
  1491. package/src/components/ProgressBar/ProgressBar.styles.ts +26 -0
  1492. package/src/components/ProgressBar/ProgressBar.tsx +35 -8
  1493. package/src/components/ProgressBar/ProgressBar.types.ts +10 -0
  1494. package/src/components/Pulse/Pulse.remount.test.tsx +179 -0
  1495. package/src/components/Pulse/Pulse.stories.tsx +74 -0
  1496. package/src/components/Pulse/Pulse.styles.ts +42 -0
  1497. package/src/components/Pulse/Pulse.tsx +82 -0
  1498. package/src/components/Pulse/Pulse.types.ts +12 -0
  1499. package/src/components/Pulse/index.ts +2 -0
  1500. package/src/components/RadialProgress/RadialProgress.tsx +4 -7
  1501. package/src/components/RadialProgress/RadialProgress.types.ts +1 -1
  1502. package/src/components/Radio/Radio.stories.tsx +35 -23
  1503. package/src/components/Radio/Radio.styles.ts +24 -0
  1504. package/src/components/Radio/RadioControl.indicator.test.tsx +72 -0
  1505. package/src/components/Radio/RadioControl.tsx +61 -6
  1506. package/src/components/Radio/RadioGroup.tsx +1 -1
  1507. package/src/components/Reveal/Reveal.stories.tsx +65 -0
  1508. package/src/components/Reveal/Reveal.styles.ts +38 -0
  1509. package/src/components/Reveal/Reveal.test.tsx +80 -0
  1510. package/src/components/Reveal/Reveal.tsx +62 -0
  1511. package/src/components/Reveal/Reveal.types.ts +6 -0
  1512. package/src/components/Reveal/index.ts +2 -0
  1513. package/src/components/ScaledContext/ScaledContext.stories.tsx +21 -14
  1514. package/src/components/SeeMoreButton/SeeMoreButton.border.test.tsx +51 -0
  1515. package/src/components/SeeMoreButton/SeeMoreButton.stories.tsx +8 -0
  1516. package/src/components/SeeMoreButton/SeeMoreButton.styles.ts +14 -6
  1517. package/src/components/SeeMoreButton/SeeMoreButton.tsx +23 -7
  1518. package/src/components/SeeMoreButton/SeeMoreButton.types.ts +21 -3
  1519. package/src/components/SegmentedControl/SegmentedControl.styles.ts +22 -0
  1520. package/src/components/SegmentedControl/SegmentedControl.timing.test.tsx +81 -0
  1521. package/src/components/SegmentedControl/SegmentedControl.tsx +7 -1
  1522. package/src/components/SegmentedProgressBar/SegmentedProgressBar.stories.tsx +48 -31
  1523. package/src/components/Select/Combobox.stories.tsx +1 -1
  1524. package/src/components/Select/Combobox.tsx +7 -1
  1525. package/src/components/Select/ComboboxField.tsx +11 -1
  1526. package/src/components/Select/Comparison.stories.tsx +20 -1
  1527. package/src/components/Select/Select.stories.tsx +22 -22
  1528. package/src/components/Select/Select.styles.ts +20 -14
  1529. package/src/components/Select/Select.tsx +3 -0
  1530. package/src/components/Select/Select.types.ts +26 -1
  1531. package/src/components/Select/SelectField.tsx +23 -3
  1532. package/src/components/Shake/Shake.stories.tsx +153 -0
  1533. package/src/components/Shake/Shake.styles.ts +31 -0
  1534. package/src/components/Shake/Shake.tsx +79 -0
  1535. package/src/components/Shake/Shake.types.ts +11 -0
  1536. package/src/components/Shake/index.ts +2 -0
  1537. package/src/components/Slider/Slider.stories.tsx +43 -9
  1538. package/src/components/Slider/Slider.tsx +16 -1
  1539. package/src/components/Slider/Slider.types.ts +15 -0
  1540. package/src/components/Slider/SliderThumb/SliderThumb.tsx +1 -1
  1541. package/src/components/Slider/SliderThumbs/SliderThumbs.tsx +1 -1
  1542. package/src/components/Spinner/Spinner.styles.ts +32 -0
  1543. package/src/components/Spinner/Spinner.tsx +9 -2
  1544. package/src/components/SwapTransition/SwapTransition.stories.tsx +228 -0
  1545. package/src/components/SwapTransition/SwapTransition.styles.ts +38 -0
  1546. package/src/components/SwapTransition/SwapTransition.test.tsx +127 -0
  1547. package/src/components/SwapTransition/SwapTransition.tsx +130 -0
  1548. package/src/components/SwapTransition/SwapTransition.types.ts +22 -0
  1549. package/src/components/SwapTransition/index.ts +2 -0
  1550. package/src/components/Switch/SwitchControl.tsx +19 -1
  1551. package/src/components/Table/Table.stories.tsx +278 -9
  1552. package/src/components/Table/Table.types.ts +1 -1
  1553. package/src/components/Table/TableContext.tsx +101 -35
  1554. package/src/components/Table/Td.tsx +13 -8
  1555. package/src/components/Table/Th.tsx +13 -8
  1556. package/src/components/Table/contextStability.test.tsx +140 -0
  1557. package/src/components/Table/stickyWidth.test.tsx +138 -0
  1558. package/src/components/Table/useRegisterStickyWidth.ts +83 -0
  1559. package/src/components/Tabs/Tab/Tab.styles.ts +46 -5
  1560. package/src/components/Tabs/Tab/Tab.tsx +1 -0
  1561. package/src/components/Tabs/Tab/index.ts +1 -0
  1562. package/src/components/Tabs/Tabs.stories.tsx +38 -26
  1563. package/src/components/Tabs/index.tsx +1 -1
  1564. package/src/components/Tag/Tag.legacy.test.tsx +179 -0
  1565. package/src/components/Tag/Tag.stories.tsx +107 -148
  1566. package/src/components/Tag/Tag.styles.ts +186 -129
  1567. package/src/components/Tag/Tag.test.tsx +115 -0
  1568. package/src/components/Tag/Tag.tsx +113 -21
  1569. package/src/components/Tag/Tag.types.ts +63 -27
  1570. package/src/components/Tag/TagCloseButton/TagCloseButton.tsx +19 -1
  1571. package/src/components/Tag/index.ts +11 -4
  1572. package/src/components/Textarea/Textarea.stories.tsx +6 -1
  1573. package/src/components/Textarea/Textarea.tsx +15 -11
  1574. package/src/components/Toast/Toast.action.test.tsx +148 -0
  1575. package/src/components/Toast/Toast.stories.tsx +128 -7
  1576. package/src/components/Toast/Toast.styles.ts +102 -23
  1577. package/src/components/Toast/Toast.tsx +17 -4
  1578. package/src/components/Toast/Toast.types.ts +35 -2
  1579. package/src/components/Toast/Toast.update.test.tsx +124 -0
  1580. package/src/components/Toast/ToastIcon/ToastIcon.tsx +10 -8
  1581. package/src/components/Toast/Toaster.tsx +25 -2
  1582. package/src/components/Toast/useToast.tsx +66 -11
  1583. package/src/components/Tooltip/Tooltip.instant.test.tsx +43 -0
  1584. package/src/components/Tooltip/Tooltip.stories.tsx +12 -12
  1585. package/src/components/Tooltip/Tooltip.tsx +16 -2
  1586. package/src/components/Tree/Tree.GuideElbow.stories.tsx +2 -2
  1587. package/src/components/Tree/TreeBranchControl.tsx +1 -1
  1588. package/src/components/Tree/TreeBranchIndentGuide.test.tsx +2 -2
  1589. package/src/components/Tree/TreeBranchIndicator.tsx +4 -4
  1590. package/src/components/Tree/TreeItem.tsx +1 -1
  1591. package/src/components/Typography/Caption.tsx +41 -0
  1592. package/src/components/Typography/H1.tsx +10 -3
  1593. package/src/components/Typography/H2.tsx +10 -3
  1594. package/src/components/Typography/H3.tsx +10 -4
  1595. package/src/components/Typography/H4.tsx +10 -3
  1596. package/src/components/Typography/H5.tsx +10 -3
  1597. package/src/components/Typography/Link.tsx +70 -13
  1598. package/src/components/Typography/Overline.tsx +11 -5
  1599. package/src/components/Typography/Subtext.tsx +9 -3
  1600. package/src/components/Typography/Subtitle.tsx +26 -4
  1601. package/src/components/Typography/Text.tsx +9 -3
  1602. package/src/components/Typography/Typography.stories.tsx +69 -1
  1603. package/src/components/Typography/Typography.types.ts +47 -2
  1604. package/src/components/Typography/index.ts +9 -2
  1605. package/src/components/Workflow/README.md +121 -51
  1606. package/src/components/Workflow/Workflow.translations.json +1 -1
  1607. package/src/components/Workflow/Workflow.tsx +3 -1
  1608. package/src/components/Workflow/Workflow.types.ts +10 -0
  1609. package/src/components/Workflow/canvas/Canvas/BranchLabelBadge.tsx +10 -9
  1610. package/src/components/Workflow/canvas/Canvas/Canvas.styles.ts +14 -12
  1611. package/src/components/Workflow/canvas/Canvas/Canvas.tsx +66 -62
  1612. package/src/components/Workflow/canvas/Canvas/CanvasControls.tsx +15 -15
  1613. package/src/components/Workflow/canvas/Canvas/LabeledEdge.tsx +4 -4
  1614. package/src/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.tsx +11 -7
  1615. package/src/components/Workflow/canvas/DrawerShell/DrawerHeader.tsx +5 -7
  1616. package/src/components/Workflow/canvas/DrawerShell/DrawerIssues.tsx +4 -4
  1617. package/src/components/Workflow/canvas/DrawerShell/DrawerShell.tsx +8 -8
  1618. package/src/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.tsx +4 -4
  1619. package/src/components/Workflow/canvas/FieldWrapper/FieldWrapper.tsx +5 -5
  1620. package/src/components/Workflow/canvas/GenericNode/GenericNode.tsx +2 -2
  1621. package/src/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.tsx +20 -17
  1622. package/src/components/Workflow/canvas/IconTile/IconTile.styles.ts +29 -13
  1623. package/src/components/Workflow/canvas/IssueList/IssueList.tsx +3 -3
  1624. package/src/components/Workflow/canvas/NodePalette/NodePalette.tsx +20 -11
  1625. package/src/components/Workflow/canvas/NodePalette/NodePaletteToggle.tsx +3 -4
  1626. package/src/components/Workflow/canvas/NodeShell/NodeShell.styles.ts +6 -8
  1627. package/src/components/Workflow/canvas/NodeShell/NodeShell.test.tsx +79 -0
  1628. package/src/components/Workflow/canvas/NodeShell/NodeShell.tsx +50 -41
  1629. package/src/components/Workflow/canvas/NodeShell/NodeShell.types.ts +2 -0
  1630. package/src/components/Workflow/canvas/SeverityDot/SeverityDot.tsx +6 -5
  1631. package/src/components/Workflow/canvas/canvasStroke.test.ts +84 -0
  1632. package/src/components/Workflow/canvas/colorVar.ts +26 -0
  1633. package/src/components/Workflow/canvas/issueSeverity.ts +7 -5
  1634. package/src/components/Workflow/canvas/workflowLabelProps.ts +1 -1
  1635. package/src/components/Workflow/createNode.test.ts +40 -2
  1636. package/src/components/Workflow/createNode.ts +70 -2
  1637. package/src/components/Workflow/index.ts +8 -0
  1638. package/src/components/Workflow/layout/autoLayout.ts +4 -4
  1639. package/src/components/Workflow/placement.test.ts +156 -0
  1640. package/src/components/Workflow/placement.ts +172 -0
  1641. package/src/components/Workflow/stories/Workflow.stories.tsx +79 -1
  1642. package/src/components/Workflow/stories/toyNodeTypes.tsx +4 -4
  1643. package/src/components/Workflow/useWorkflowActions.test.tsx +345 -0
  1644. package/src/components/Workflow/useWorkflowActions.ts +196 -0
  1645. package/src/components/a11y.kwcag.test.tsx +483 -0
  1646. package/src/components/claude.md +40 -58
  1647. package/src/components/componentMotion.test.ts +110 -0
  1648. package/src/components/noRawScales.test.ts +152 -0
  1649. package/src/components/noSandBackground.test.ts +282 -0
  1650. package/src/guidelines/FeedbackActions.mdx +133 -0
  1651. package/src/index.ts +78 -1
  1652. package/src/stories/SizeComparison.stories.tsx +1 -1
  1653. package/src/styles.ts +20 -0
  1654. package/src/test-support/setup.ts +13 -0
  1655. package/src/theme/BazePalette.stories.tsx +202 -0
  1656. package/src/theme/Borders.stories.tsx +9 -9
  1657. package/src/theme/Motion.stories.tsx +1613 -0
  1658. package/src/theme/MotionCases.stories.tsx +679 -0
  1659. package/src/theme/Palette.stories.tsx +101 -466
  1660. package/src/theme/SemanticTokens.mdx +61 -242
  1661. package/src/theme/Surfaces.stories.tsx +3 -3
  1662. package/src/theme/animationStyles.test.ts +185 -0
  1663. package/src/theme/chakraTokens.test.ts +115 -0
  1664. package/src/theme/claude.md +201 -473
  1665. package/src/theme/colors.ts +404 -752
  1666. package/src/theme/contrast.test.ts +343 -0
  1667. package/src/theme/cssVarNames.test.ts +36 -0
  1668. package/src/theme/deprecatedColorTokens.json +95 -0
  1669. package/src/theme/formControls.ts +58 -0
  1670. package/src/theme/global.ts +12 -19
  1671. package/src/theme/index.ts +221 -71
  1672. package/src/theme/motion.test.ts +50 -0
  1673. package/src/theme/motion.ts +668 -0
  1674. package/src/theme/motionGuards.test.ts +137 -0
  1675. package/src/theme/palette.generated.ts +893 -0
  1676. package/src/theme/paletteSwatches.test.ts +42 -0
  1677. package/src/theme/paletteSwatches.ts +80 -0
  1678. package/src/theme/recipes/accordion.ts +20 -0
  1679. package/src/theme/recipes/table.ts +2 -2
  1680. package/src/translations/Defaults.translations.json +8 -1
  1681. package/src/types/polymorphic.ts +114 -0
  1682. package/src/utils/cubicBezier.ts +69 -0
  1683. package/src/utils/disabledControl.ts +27 -0
  1684. package/src/utils/focusRing.ts +16 -6
  1685. package/src/utils/isDev.test.ts +41 -0
  1686. package/src/utils/isDev.ts +27 -0
  1687. package/src/utils/mergeCss.ts +1 -1
  1688. package/src/utils/staggerProps.test.ts +105 -0
  1689. package/src/utils/staggerProps.ts +63 -0
  1690. package/dist/components/Chip/Chip.styles.d.ts +0 -20
  1691. package/dist/components/Chip/Chip.styles.d.ts.map +0 -1
  1692. package/dist/components/Chip/Chip.styles.js +0 -143
  1693. package/dist/components/Chip/Chip.styles.js.map +0 -1
  1694. package/dist/components/Chip/Chip.styles.mjs +0 -137
  1695. package/dist/components/Chip/Chip.styles.mjs.map +0 -1
  1696. package/src/components/Chip/Chip.styles.ts +0 -147
@@ -1,5 +1,7 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { Box } from '@chakra-ui/react';
4
+ import '../Typography/Caption.mjs';
3
5
  import { H1 } from '../Typography/H1.mjs';
4
6
  import { H2 } from '../Typography/H2.mjs';
5
7
  import { H3 } from '../Typography/H3.mjs';
@@ -24,11 +26,28 @@ const TEXT_COMPONENTS = {
24
26
  H4,
25
27
  H5,
26
28
  };
27
- const ExpandableText = ({ charLimit = 100, component = 'Text', children, ...rest }) => {
29
+ /**
30
+ * Text clipped to a few lines, with a link that opens it.
31
+ *
32
+ * Opening animates the height rather than swapping the text, so the content
33
+ * below slides down instead of jumping — this is text someone is part-way
34
+ * through reading, and a jump costs them their place.
35
+ *
36
+ * @example
37
+ * ```tsx
38
+ * <ExpandableText lineClamp={2}>{longDescription}</ExpandableText>
39
+ * ```
40
+ */
41
+ const ExpandableText = ({ lineClamp = 3, charLimit: _charLimit, component = 'Text', children, ...rest }) => {
28
42
  const translate = useTranslate();
29
- const { displayText, isLong, isExpanded, handleToggle } = useExpandableText(children, charLimit);
43
+ const { contentRef, isExpanded, isOverflowing, maxHeight, handleToggle } = useExpandableText(lineClamp);
30
44
  const Component = TEXT_COMPONENTS[component];
31
- return (jsxs(Component, { ...rest, children: [displayText, isLong && (jsx(Link, { as: "button", textDecor: "none", _hover: { color: 'primary.dark' }, onClick: handleToggle, "aria-expanded": isExpanded, children: isExpanded ? translate('see_less') : translate('see_more') }))] }));
45
+ return (jsxs(Component, { ...rest, children: [jsx(Box, { ref: contentRef, overflow: "hidden",
46
+ // `lh` is the line box, so the resting height is a whole number of lines
47
+ // and the cut always lands between them. Where `lh` is unsupported the
48
+ // declaration is dropped and the text simply shows in full — degraded,
49
+ // not broken.
50
+ maxHeight: maxHeight ?? `${lineClamp}lh`, animationStyle: "travel", transitionProperty: "max-height", children: children }), (isOverflowing || isExpanded) && (jsx(Link, { as: "button", textDecor: "none", _hover: { color: 'fg.default' }, onClick: handleToggle, "aria-expanded": isExpanded, children: isExpanded ? translate('see_less') : translate('see_more') }))] }));
32
51
  };
33
52
 
34
53
  export { ExpandableText };
@@ -1 +1 @@
1
- {"version":3,"file":"ExpandableText.mjs","sources":["../../../src/components/ExpandableText/ExpandableText.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;AAkBA;AACA,MAAM,eAAe,GAAG;IACtB,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;CACM;MASG,cAAc,GAAG,CAAC,EAC7B,SAAS,GAAG,GAAG,EACf,SAAS,GAAG,MAAM,EAClB,QAAQ,EACR,GAAG,IAAI,EACa,KAAI;AACxB,IAAA,MAAM,SAAS,GAAG,YAAY,EAAE;AAChC,IAAA,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,iBAAiB,CACzE,QAAQ,EACR,SAAS,CACV;AAED,IAAA,MAAM,SAAS,GAAG,eAAe,CAAC,SAAS,CAAC;IAE5C,QACEA,IAAA,CAAC,SAAS,EAAA,EAAA,GAAK,IAAI,aAChB,WAAW,EACX,MAAM,KACLC,GAAA,CAAC,IAAI,EAAA,EACH,EAAE,EAAC,QAAQ,EACX,SAAS,EAAC,MAAM,EAChB,MAAM,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EACjC,OAAO,EAAE,YAAY,EAAA,eAAA,EACN,UAAU,EAAA,QAAA,EAExB,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,EAAA,CACtD,CACR,CAAA,EAAA,CACS;AAEhB;;;;"}
1
+ {"version":3,"file":"ExpandableText.mjs","sources":["../../../src/components/ExpandableText/ExpandableText.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;;;AAmBA;AACA,MAAM,eAAe,GAAG;IACtB,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;CACM;AAmBV;;;;;;;;;;;AAWG;AACI,MAAM,cAAc,GAAG,CAAC,EAC7B,SAAS,GAAG,CAAC,EACb,SAAS,EAAE,UAAU,EACrB,SAAS,GAAG,MAAM,EAClB,QAAQ,EACR,GAAG,IAAI,EACa,KAAI;AACxB,IAAA,MAAM,SAAS,GAAG,YAAY,EAAE;AAChC,IAAA,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,GACtE,iBAAiB,CAAC,SAAS,CAAC;AAE9B,IAAA,MAAM,SAAS,GAAG,eAAe,CAAC,SAAS,CAAC;AAE5C,IAAA,QACEA,IAAA,CAAC,SAAS,EAAA,EAAA,GAAK,IAAI,EAAA,QAAA,EAAA,CACjBC,GAAA,CAAC,GAAG,EAAA,EACF,GAAG,EAAE,UAAU,EACf,QAAQ,EAAC,QAAQ;;;;;AAKjB,gBAAA,SAAS,EAAE,SAAS,IAAI,CAAA,EAAG,SAAS,CAAA,EAAA,CAAI,EACxC,cAAc,EAAC,QAAQ,EACvB,kBAAkB,EAAC,YAAY,EAAA,QAAA,EAE9B,QAAQ,EAAA,CACL,EACL,CAAC,aAAa,IAAI,UAAU,MAC3BA,GAAA,CAAC,IAAI,EAAA,EACH,EAAE,EAAC,QAAQ,EACX,SAAS,EAAC,MAAM,EAChB,MAAM,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,EAC/B,OAAO,EAAE,YAAY,EAAA,eAAA,EACN,UAAU,YAExB,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,EAAA,CACtD,CACR,CAAA,EAAA,CACS;AAEhB;;;;"}
@@ -1,7 +1,32 @@
1
- export declare const useExpandableText: (children: React.ReactNode, charLimit?: number) => {
1
+ /**
2
+ * Collapsed/expanded state for text clipped to a number of lines.
3
+ *
4
+ * Both states render the same children and the clipping is a `max-height`, which
5
+ * is what makes the change animatable at all — the previous character-count
6
+ * version swapped one node tree for another, so there was never anything on the
7
+ * page for a transition to reveal.
8
+ *
9
+ * ## Why not `-webkit-line-clamp`
10
+ *
11
+ * The clamp would give the cut line an ellipsis, but it takes the height with
12
+ * it: under a clamp `scrollHeight` collapses to the clipped height, so there is
13
+ * no way left to ask whether anything is hidden, and the link that opens the
14
+ * text can never appear. A `max-height` of whole `lh` units cuts on the same
15
+ * line boundary, keeps `scrollHeight` honest, and is the thing being animated
16
+ * anyway.
17
+ *
18
+ * ## Why two commits per direction
19
+ *
20
+ * `max-height` only animates between two lengths, and each direction begins on a
21
+ * value that is not one. Opening ends at `none` so a later reflow — a resize, a
22
+ * font swap — is not trapped under a stale pixel count; closing therefore has to
23
+ * pin the height it is leaving for one frame before releasing it.
24
+ */
25
+ export declare const useExpandableText: (lineClamp: number) => {
26
+ contentRef: import("react").MutableRefObject<HTMLDivElement>;
2
27
  isExpanded: boolean;
3
- isLong: boolean;
4
- displayText: import("react").ReactNode;
28
+ isOverflowing: boolean;
29
+ maxHeight: string;
5
30
  handleToggle: (event: React.MouseEvent) => void;
6
31
  };
7
32
  //# sourceMappingURL=useExpandableText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useExpandableText.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableText/useExpandableText.ts"],"names":[],"mappings":"AA0FA,eAAO,MAAM,iBAAiB,GAC5B,UAAU,KAAK,CAAC,SAAS,EACzB,kBAAe;;;;0BAc0B,KAAK,CAAC,UAAU;CAO1D,CAAC"}
1
+ {"version":3,"file":"useExpandableText.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableText/useExpandableText.ts"],"names":[],"mappings":"AAuBA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM;;;;;0BA6BR,KAAK,CAAC,UAAU;CAwB1D,CAAC"}
@@ -2,84 +2,86 @@
2
2
  'use strict';
3
3
 
4
4
  var React = require('react');
5
+ var motion = require('../../theme/motion.js');
5
6
 
6
- // Utility function to extract text content from ReactNode
7
- const getTextContent = (node) => {
8
- if (typeof node === 'string' || typeof node === 'number') {
9
- return String(node);
10
- }
11
- if (Array.isArray(node)) {
12
- return node.map(getTextContent).join('');
13
- }
14
- if (React.isValidElement(node)) {
15
- return getTextContent(node.props.children);
16
- }
17
- return '';
18
- };
19
- // Utility function to truncate ReactNode content while preserving structure
20
- const truncateReactNode = (node, charLimit, currentLength = 0) => {
21
- if (currentLength >= charLimit) {
22
- return { truncated: null, length: currentLength };
23
- }
24
- if (typeof node === 'string' || typeof node === 'number') {
25
- const text = String(node);
26
- const remainingChars = charLimit - currentLength;
27
- if (text.length <= remainingChars) {
28
- return { truncated: node, length: currentLength + text.length };
29
- }
30
- return {
31
- truncated: text.slice(0, remainingChars) + '…',
32
- length: charLimit,
33
- };
34
- }
35
- if (Array.isArray(node)) {
36
- const truncatedChildren = [];
37
- let totalLength = currentLength;
38
- for (const child of node) {
39
- if (totalLength >= charLimit)
40
- break;
41
- const { truncated, length } = truncateReactNode(child, charLimit, totalLength);
42
- if (truncated !== null) {
43
- truncatedChildren.push(truncated);
44
- }
45
- totalLength = length;
46
- }
47
- return { truncated: truncatedChildren, length: totalLength };
48
- }
49
- if (React.isValidElement(node)) {
50
- const { truncated: truncatedChildren, length } = truncateReactNode(node.props.children, charLimit, currentLength);
51
- if (truncatedChildren === null) {
52
- return { truncated: null, length };
53
- }
54
- return {
55
- truncated: {
56
- ...node,
57
- props: {
58
- ...node.props,
59
- children: truncatedChildren,
60
- },
61
- },
62
- length,
63
- };
64
- }
65
- return { truncated: node, length: currentLength };
66
- };
67
- const useExpandableText = (children, charLimit = 100) => {
7
+ /**
8
+ * Whether the OS is asking for less movement, read when it matters rather than
9
+ * subscribed to — this only decides how long to wait before tidying up, and a
10
+ * member who flips the setting mid-click is not a case worth a listener for.
11
+ */
12
+ const prefersReducedMotion = () => typeof window !== 'undefined' &&
13
+ window.matchMedia?.('(prefers-reduced-motion: reduce)').matches;
14
+ /** Two frames, so React has committed the first value before the second lands. */
15
+ const afterPaint = (fn) => requestAnimationFrame(() => requestAnimationFrame(fn));
16
+ /**
17
+ * Collapsed/expanded state for text clipped to a number of lines.
18
+ *
19
+ * Both states render the same children and the clipping is a `max-height`, which
20
+ * is what makes the change animatable at all — the previous character-count
21
+ * version swapped one node tree for another, so there was never anything on the
22
+ * page for a transition to reveal.
23
+ *
24
+ * ## Why not `-webkit-line-clamp`
25
+ *
26
+ * The clamp would give the cut line an ellipsis, but it takes the height with
27
+ * it: under a clamp `scrollHeight` collapses to the clipped height, so there is
28
+ * no way left to ask whether anything is hidden, and the link that opens the
29
+ * text can never appear. A `max-height` of whole `lh` units cuts on the same
30
+ * line boundary, keeps `scrollHeight` honest, and is the thing being animated
31
+ * anyway.
32
+ *
33
+ * ## Why two commits per direction
34
+ *
35
+ * `max-height` only animates between two lengths, and each direction begins on a
36
+ * value that is not one. Opening ends at `none` so a later reflow — a resize, a
37
+ * font swap — is not trapped under a stale pixel count; closing therefore has to
38
+ * pin the height it is leaving for one frame before releasing it.
39
+ */
40
+ const useExpandableText = (lineClamp) => {
41
+ const contentRef = React.useRef(null);
42
+ const settleTimer = React.useRef(undefined);
68
43
  const [isExpanded, setIsExpanded] = React.useState(false);
69
- const textContent = React.useMemo(() => getTextContent(children), [children]);
70
- const isLong = textContent.length > charLimit;
71
- const displayText = React.useMemo(() => {
72
- if (isExpanded || !isLong)
73
- return children;
74
- const { truncated } = truncateReactNode(children, charLimit);
75
- return truncated;
76
- }, [isExpanded, isLong, children, charLimit]);
44
+ /** `undefined` means "rest at the line multiple" — see the component. */
45
+ const [maxHeight, setMaxHeight] = React.useState();
46
+ /** Until we know something is hidden, no link is offered. */
47
+ const [isOverflowing, setIsOverflowing] = React.useState(false);
48
+ React.useLayoutEffect(() => {
49
+ const el = contentRef.current;
50
+ if (!el)
51
+ return;
52
+ // Only meaningful while collapsed; open, the two heights are equal.
53
+ const check = () => {
54
+ if (!isExpanded)
55
+ setIsOverflowing(el.scrollHeight > el.clientHeight + 1);
56
+ };
57
+ check();
58
+ // How many lines the text takes depends on width, so a resize can create or
59
+ // remove the overflow entirely.
60
+ const observer = new ResizeObserver(check);
61
+ observer.observe(el);
62
+ return () => observer.disconnect();
63
+ }, [lineClamp, isExpanded]);
64
+ React.useEffect(() => () => clearTimeout(settleTimer.current), []);
77
65
  const handleToggle = React.useCallback((event) => {
78
66
  event.preventDefault();
79
67
  event.stopPropagation();
80
- setIsExpanded((prev) => !prev);
68
+ const el = contentRef.current;
69
+ if (!el)
70
+ return;
71
+ clearTimeout(settleTimer.current);
72
+ const settle = prefersReducedMotion() ? 0 : motion.MOTION_DURATION_MS.base;
73
+ setIsExpanded((wasExpanded) => {
74
+ if (wasExpanded) {
75
+ setMaxHeight(`${el.scrollHeight}px`); // pin the height being left
76
+ afterPaint(() => setMaxHeight(undefined)); // → line multiple; animates
77
+ return false;
78
+ }
79
+ setMaxHeight(`${el.scrollHeight}px`); // full height; animates open
80
+ settleTimer.current = setTimeout(() => setMaxHeight('none'), settle);
81
+ return true;
82
+ });
81
83
  }, []);
82
- return { isExpanded, isLong, displayText, handleToggle };
84
+ return { contentRef, isExpanded, isOverflowing, maxHeight, handleToggle };
83
85
  };
84
86
 
85
87
  exports.useExpandableText = useExpandableText;
@@ -1 +1 @@
1
- {"version":3,"file":"useExpandableText.js","sources":["../../../src/components/ExpandableText/useExpandableText.ts"],"sourcesContent":[null],"names":["isValidElement","useState","useMemo","useCallback"],"mappings":";;;;;AAEA;AACA,MAAM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E,IAAA,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,SAAS;AAE7C,IAAA,MAAM,WAAW,GAAGA,aAAO,CAAC,MAAK;QAC/B,IAAI,UAAU,IAAI,CAAC,MAAM;AAAE,YAAA,OAAO,QAAQ;QAE1C,MAAM,EAAE,SAAS,EAAE,GAAG,iBAAiB,CAAC,QAAQ,EAAE,SAAS,CAAC;AAC5D,QAAA,OAAO,SAAS;IAClB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;AAE7C,IAAA,MAAM,YAAY,GAAGC,iBAAW,CAAC,CAAC,KAAuB,KAAI;QAC3D,KAAK,CAAC,cAAc,EAAE;QACtB,KAAK,CAAC,eAAe,EAAE;QACvB,aAAa,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC;IAChC,CAAC,EAAE,EAAE,CAAC;IAEN,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE;AAC1D;;;;"}
1
+ {"version":3,"file":"useExpandableText.js","sources":["../../../src/components/ExpandableText/useExpandableText.ts"],"sourcesContent":[null],"names":["useRef","useState","useLayoutEffect","useEffect","useCallback","MOTION_DURATION_MS"],"mappings":";;;;;;AAUA;;;;AAIG;AACH,MAAM,oBAAoB,GAAG,MAC3B,OAAO,MAAM,KAAK,WAAW;IAC7B,MAAM,CAAC,UAAU,GAAG,kCAAkC,CAAC,CAAC,OAAO;AAEjE;AACA,MAAM,UAAU,GAAG,CAAC,EAAc,KAChC,qBAAqB,CAAC,MAAM,qBAAqB,CAAC,EAAE,CAAC,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;AAuBG;AACI,MAAM,iBAAiB,GAAG,CAAC,SAAiB,KAAI;AACrD,IAAA,MAAM,UAAU,GAAGA,YAAM,CAAiB,IAAI,CAAC;AAC/C,IAAA,MAAM,WAAW,GAAGA,YAAM,CAAgC,SAAS,CAAC;IAEpE,MAAM,CAAC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BACf,YAAY,CAAC,GAAG,EAAE,CAAC,YAAY,CAAA,EAAA,CAAI,CAAC,CAAC;gBACrC,UAAU,CAAC,MAAM,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC;AAC1C,gBAAA,OAAO,KAAK;YACd;YAEA,YAAY,CAAC,GAAG,EAAE,CAAC,YAAY,CAAA,EAAA,CAAI,CAAC,CAAC;AACrC,YAAA,WAAW,CAAC,OAAO,GAAG,UAAU,CAAC,MAAM,YAAY,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;AACpE,YAAA,OAAO,IAAI;AACb,QAAA,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC;IAEN,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE;AAC3E;;;;"}
@@ -1,83 +1,85 @@
1
1
  "use client";
2
- import { useState, useMemo, useCallback, isValidElement } from 'react';
2
+ import { useRef, useState, useLayoutEffect, useEffect, useCallback } from 'react';
3
+ import { MOTION_DURATION_MS } from '../../theme/motion.mjs';
3
4
 
4
- // Utility function to extract text content from ReactNode
5
- const getTextContent = (node) => {
6
- if (typeof node === 'string' || typeof node === 'number') {
7
- return String(node);
8
- }
9
- if (Array.isArray(node)) {
10
- return node.map(getTextContent).join('');
11
- }
12
- if (isValidElement(node)) {
13
- return getTextContent(node.props.children);
14
- }
15
- return '';
16
- };
17
- // Utility function to truncate ReactNode content while preserving structure
18
- const truncateReactNode = (node, charLimit, currentLength = 0) => {
19
- if (currentLength >= charLimit) {
20
- return { truncated: null, length: currentLength };
21
- }
22
- if (typeof node === 'string' || typeof node === 'number') {
23
- const text = String(node);
24
- const remainingChars = charLimit - currentLength;
25
- if (text.length <= remainingChars) {
26
- return { truncated: node, length: currentLength + text.length };
27
- }
28
- return {
29
- truncated: text.slice(0, remainingChars) + '…',
30
- length: charLimit,
31
- };
32
- }
33
- if (Array.isArray(node)) {
34
- const truncatedChildren = [];
35
- let totalLength = currentLength;
36
- for (const child of node) {
37
- if (totalLength >= charLimit)
38
- break;
39
- const { truncated, length } = truncateReactNode(child, charLimit, totalLength);
40
- if (truncated !== null) {
41
- truncatedChildren.push(truncated);
42
- }
43
- totalLength = length;
44
- }
45
- return { truncated: truncatedChildren, length: totalLength };
46
- }
47
- if (isValidElement(node)) {
48
- const { truncated: truncatedChildren, length } = truncateReactNode(node.props.children, charLimit, currentLength);
49
- if (truncatedChildren === null) {
50
- return { truncated: null, length };
51
- }
52
- return {
53
- truncated: {
54
- ...node,
55
- props: {
56
- ...node.props,
57
- children: truncatedChildren,
58
- },
59
- },
60
- length,
61
- };
62
- }
63
- return { truncated: node, length: currentLength };
64
- };
65
- const useExpandableText = (children, charLimit = 100) => {
5
+ /**
6
+ * Whether the OS is asking for less movement, read when it matters rather than
7
+ * subscribed to — this only decides how long to wait before tidying up, and a
8
+ * member who flips the setting mid-click is not a case worth a listener for.
9
+ */
10
+ const prefersReducedMotion = () => typeof window !== 'undefined' &&
11
+ window.matchMedia?.('(prefers-reduced-motion: reduce)').matches;
12
+ /** Two frames, so React has committed the first value before the second lands. */
13
+ const afterPaint = (fn) => requestAnimationFrame(() => requestAnimationFrame(fn));
14
+ /**
15
+ * Collapsed/expanded state for text clipped to a number of lines.
16
+ *
17
+ * Both states render the same children and the clipping is a `max-height`, which
18
+ * is what makes the change animatable at all — the previous character-count
19
+ * version swapped one node tree for another, so there was never anything on the
20
+ * page for a transition to reveal.
21
+ *
22
+ * ## Why not `-webkit-line-clamp`
23
+ *
24
+ * The clamp would give the cut line an ellipsis, but it takes the height with
25
+ * it: under a clamp `scrollHeight` collapses to the clipped height, so there is
26
+ * no way left to ask whether anything is hidden, and the link that opens the
27
+ * text can never appear. A `max-height` of whole `lh` units cuts on the same
28
+ * line boundary, keeps `scrollHeight` honest, and is the thing being animated
29
+ * anyway.
30
+ *
31
+ * ## Why two commits per direction
32
+ *
33
+ * `max-height` only animates between two lengths, and each direction begins on a
34
+ * value that is not one. Opening ends at `none` so a later reflow — a resize, a
35
+ * font swap — is not trapped under a stale pixel count; closing therefore has to
36
+ * pin the height it is leaving for one frame before releasing it.
37
+ */
38
+ const useExpandableText = (lineClamp) => {
39
+ const contentRef = useRef(null);
40
+ const settleTimer = useRef(undefined);
66
41
  const [isExpanded, setIsExpanded] = useState(false);
67
- const textContent = useMemo(() => getTextContent(children), [children]);
68
- const isLong = textContent.length > charLimit;
69
- const displayText = useMemo(() => {
70
- if (isExpanded || !isLong)
71
- return children;
72
- const { truncated } = truncateReactNode(children, charLimit);
73
- return truncated;
74
- }, [isExpanded, isLong, children, charLimit]);
42
+ /** `undefined` means "rest at the line multiple" — see the component. */
43
+ const [maxHeight, setMaxHeight] = useState();
44
+ /** Until we know something is hidden, no link is offered. */
45
+ const [isOverflowing, setIsOverflowing] = useState(false);
46
+ useLayoutEffect(() => {
47
+ const el = contentRef.current;
48
+ if (!el)
49
+ return;
50
+ // Only meaningful while collapsed; open, the two heights are equal.
51
+ const check = () => {
52
+ if (!isExpanded)
53
+ setIsOverflowing(el.scrollHeight > el.clientHeight + 1);
54
+ };
55
+ check();
56
+ // How many lines the text takes depends on width, so a resize can create or
57
+ // remove the overflow entirely.
58
+ const observer = new ResizeObserver(check);
59
+ observer.observe(el);
60
+ return () => observer.disconnect();
61
+ }, [lineClamp, isExpanded]);
62
+ useEffect(() => () => clearTimeout(settleTimer.current), []);
75
63
  const handleToggle = useCallback((event) => {
76
64
  event.preventDefault();
77
65
  event.stopPropagation();
78
- setIsExpanded((prev) => !prev);
66
+ const el = contentRef.current;
67
+ if (!el)
68
+ return;
69
+ clearTimeout(settleTimer.current);
70
+ const settle = prefersReducedMotion() ? 0 : MOTION_DURATION_MS.base;
71
+ setIsExpanded((wasExpanded) => {
72
+ if (wasExpanded) {
73
+ setMaxHeight(`${el.scrollHeight}px`); // pin the height being left
74
+ afterPaint(() => setMaxHeight(undefined)); // → line multiple; animates
75
+ return false;
76
+ }
77
+ setMaxHeight(`${el.scrollHeight}px`); // full height; animates open
78
+ settleTimer.current = setTimeout(() => setMaxHeight('none'), settle);
79
+ return true;
80
+ });
79
81
  }, []);
80
- return { isExpanded, isLong, displayText, handleToggle };
82
+ return { contentRef, isExpanded, isOverflowing, maxHeight, handleToggle };
81
83
  };
82
84
 
83
85
  export { useExpandableText };
@@ -1 +1 @@
1
- {"version":3,"file":"useExpandableText.mjs","sources":["../../../src/components/ExpandableText/useExpandableText.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAEA;AACA,MAAM,cAAc,GAAG,CAAC,IAAqB,KAAY;IACvD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;AACxD,QAAA,OAAO,MAAM,CAAC,IAAI,CAAC;IACrB;AAEA,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACvB,OAAO,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;IAC1C;AAEA,IAAA,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE;QACxB,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC5C;AAEA,IAAA,OAAO,EAAE;AACX,CAAC;AAED;AACA,MAAM,iBAAiB,GAAG,CACxB,IAAqB,EACrB,SAAiB,EACjB,aAAa,GAAG,CAAC,KACiC;AAClD,IAAA,IAAI,aAAa,IAAI,SAAS,EAAE;QAC9B,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE;IACnD;IAEA,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;AACxD,QAAA,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;AACzB,QAAA,MAAM,cAAc,GAAG,SAAS,GAAG,aAAa;AAEhD,QAAA,IAAI,IAAI,CAAC,MAAM,IAAI,cAAc,EAAE;AACjC,YAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,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,IAAI,CAAC,EAAE;YAAE;AACT,QAAA,YAAY,CAAC,WAAW,CAAC,OAAO,CAAC;AAEjC,QAAA,MAAM,MAAM,GAAG,oBAAoB,EAAE,GAAG,CAAC,GAAG,kBAAkB,CAAC,IAAI;AAEnE,QAAA,aAAa,CAAC,CAAC,WAAW,KAAI;YAC5B,IAAI,WAAW,EAAE;gBACf,YAAY,CAAC,GAAG,EAAE,CAAC,YAAY,CAAA,EAAA,CAAI,CAAC,CAAC;gBACrC,UAAU,CAAC,MAAM,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC;AAC1C,gBAAA,OAAO,KAAK;YACd;YAEA,YAAY,CAAC,GAAG,EAAE,CAAC,YAAY,CAAA,EAAA,CAAI,CAAC,CAAC;AACrC,YAAA,WAAW,CAAC,OAAO,GAAG,UAAU,CAAC,MAAM,YAAY,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;AACpE,YAAA,OAAO,IAAI;AACb,QAAA,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC;IAEN,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE;AAC3E;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/FileInput.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;oDA8FrB,CAAC"}
1
+ {"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/FileInput.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;oDA0GrB,CAAC"}
@@ -6,6 +6,7 @@ var React = require('react');
6
6
  var react = require('@chakra-ui/react');
7
7
  var index = require('../Icon/index.js');
8
8
  var Spinner = require('../Spinner/Spinner.js');
9
+ require('../Typography/Caption.js');
9
10
  require('../Typography/H1.js');
10
11
  require('../Typography/H2.js');
11
12
  require('../Typography/H3.js');
@@ -23,7 +24,16 @@ const FileInput = React.forwardRef(({ fileInputLabel, containerStyle = {}, bgIma
23
24
  const handleChange = (event) => {
24
25
  onChange(event.currentTarget.files);
25
26
  };
26
- return (jsxRuntime.jsx(react.Flex, { role: "button", w: "100%", h: "100%", maxH: 32, flexDir: "column", align: "center", justify: "center", border: "1px dashed", borderColor: "border.default", position: "relative", overflow: "hidden", borderRadius: "md", ...containerStyle, children: jsxRuntime.jsxs("label", { role: "group", style: { width: '100%', height: '100%', cursor: 'pointer' }, children: [bgImage && (jsxRuntime.jsx(react.Box, { position: "absolute", top: "0", left: "0", right: "0", bottom: "0", backgroundImage: bgImage, backgroundSize: "cover", backgroundPosition: "center", filter: "grayscale(50%) brightness(80%)", zIndex: "-1" })), jsxRuntime.jsx(react.Input, { type: "file", hidden: true, ref: ref, onChange: handleChange, ...rest }), jsxRuntime.jsx(react.Flex, { w: "100%", h: "100%", p: 7, flexDir: "column", justify: "center", align: "center", bgColor: "color-mix(in srgb, var(--chakra-colors-bg-surface) 85%, transparent)", opacity: bgImage ? 0 : 1, transition: "ease-in", _groupHover: { opacity: 1 }, children: isLoading ? (jsxRuntime.jsx(Spinner.Spinner, {})) : (jsxRuntime.jsxs(react.Flex, { w: "100%", flexDir: "column", align: "center", justify: "center", children: [jsxRuntime.jsx(react.Box, { borderRadius: "lg", bgColor: bgImage ? 'transparent' : 'bg.muted', p: 3, mb: 2, w: "fit-content", children: jsxRuntime.jsx(index.LuUpload, { color: bgImage ? 'fg.default' : 'fg.subtle' }) }), jsxRuntime.jsx(Text.Text, { color: bgImage ? 'fg.default' : 'fg.subtle', children: fileInputLabel || translate('upload_your_file') })] })) })] }) }));
27
+ return (
28
+ // No `role="button"` on this wrapper. It is not a button — the `<label>`
29
+ // inside is what activates the file input — and claiming the role put an
30
+ // interactive element inside another (axe `nested-interactive`), which is
31
+ // a state screen readers have no sensible way to announce
32
+ // (KWCAG 2.1 5.4.2.1 웹 애플리케이션 접근성 준수).
33
+ jsxRuntime.jsx(react.Flex, { w: "100%", h: "100%", maxH: 32, flexDir: "column", align: "center", justify: "center", border: "1px dashed", borderColor: "border.default", position: "relative", overflow: "hidden", borderRadius: "md", ...containerStyle, children: jsxRuntime.jsxs("label", { className: "group", style: { width: '100%', height: '100%', cursor: 'pointer' }, children: [bgImage && (jsxRuntime.jsx(react.Box, { position: "absolute", top: "0", left: "0", right: "0", bottom: "0", backgroundImage: bgImage, backgroundSize: "cover", backgroundPosition: "center", filter: "grayscale(50%) brightness(80%)", zIndex: "-1" })), jsxRuntime.jsx(react.Input, { type: "file", hidden: true, ref: ref, onChange: handleChange, ...rest }), jsxRuntime.jsx(react.Flex, { w: "100%", h: "100%", p: 7, flexDir: "column", justify: "center", align: "center", bgColor: "color-mix(in srgb, var(--chakra-colors-bg-surface) 85%, transparent)", opacity: bgImage ? 0 : 1,
34
+ // Was `transition="ease-in"` — a shorthand with only a timing
35
+ // function resolves to 0s, so the hover fade snapped in one frame.
36
+ animationStyle: "feedback", transitionProperty: "opacity", _groupHover: { opacity: 1 }, children: isLoading ? (jsxRuntime.jsx(Spinner.Spinner, {})) : (jsxRuntime.jsxs(react.Flex, { w: "100%", flexDir: "column", align: "center", justify: "center", children: [jsxRuntime.jsx(react.Box, { borderRadius: "lg", bgColor: bgImage ? 'transparent' : 'bg.muted', p: 3, mb: 2, w: "fit-content", children: jsxRuntime.jsx(index.UploadIcon, { color: bgImage ? 'fg.default' : 'fg.subtle' }) }), jsxRuntime.jsx(Text.Text, { color: bgImage ? 'fg.default' : 'fg.subtle', children: fileInputLabel || translate('upload_your_file') })] })) })] }) }));
27
37
  });
28
38
  FileInput.displayName = 'FileInput';
29
39
 
@@ -1 +1 @@
1
- {"version":3,"file":"FileInput.js","sources":["../../../src/components/FileInput/FileInput.tsx"],"sourcesContent":[null],"names":["forwardRef","useTranslate","_jsx","Flex","_jsxs","Box","Input","Spinner","LuUpload","Text"],"mappings":";;;;;;;;;;;;;;;;;;;;AAUO,MAAM,SAAS,GAAGA,gBAAU,CACjC,CACE,EACE,cAAc,E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AAA,CACR,EACFJ,cAAA,CAACC,UAAI,IACH,CAAC,EAAC,MAAM,EACR,CAAC,EAAC,MAAM,EACR,CAAC,EAAE,CAAC,EACJ,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAC,QAAQ,EAChB,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,sEAAsE,EAC9E,OAAO,EAAE,OAAO,GAAG,CAAC,GAAG,CAAC,EACxB,UAAU,EAAC,SAAS,EACpB,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,YAE1B,SAAS,IACRD,cAAA,CAACK,eAAO,EAAA,EAAA,CAAG,KAEXH,eAAA,CAACD,UAAI,EAAA,EAAC,CAAC,EAAC,MAAM,EAAC,OAAO,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAC,QAAQ,EAAA,QAAA,EAAA,CAC7DD,cAAA,CAACG,SAAG,EAAA,EACF,YAAY,EAAC,IAAI,EACjB,OAAO,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU,EAC7C,CAAC,EAAE,CAAC,EACJ,EAAE,EAAE,CAAC,EACL,CAAC,EAAC,aAAa,EAAA,QAAA,EAEfH,eAACM,cAAQ,EAAA,EAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,WAAW,GAAI,EAAA,CACrD,EACNN,cAAA,CAACO,SAAI,IAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,WAAW,EAAA,QAAA,EAC9C,cAAc,IAAI,SAAS,CAAC,kBAAkB,CAAC,EAAA,CAC3C,IACF,CACR,EAAA,CACI,CAAA,EAAA,CACD,EAAA,CACH;AAEX,CAAC;AAGH,SAAS,CAAC,WAAW,GAAG,WAAW;;;;"}
1
+ {"version":3,"file":"FileInput.js","sources":["../../../src/components/FileInput/FileInput.tsx"],"sourcesContent":[null],"names":["forwardRef","useTranslate","_jsx","Flex","_jsxs","Box","Input","Spinner","UploadIcon","Text"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAUO,MAA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AAI,IACH,CAAC,EAAC,MAAM,EACR,CAAC,EAAC,MAAM,EACR,CAAC,EAAE,CAAC,EACJ,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAC,QAAQ,EAChB,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,sEAAsE,EAC9E,OAAO,EAAE,OAAO,GAAG,CAAC,GAAG,CAAC;;;oBAGxB,cAAc,EAAC,UAAU,EACzB,kBAAkB,EAAC,SAAS,EAC5B,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAA,QAAA,EAE1B,SAAS,IACRD,cAAA,CAACK,eAAO,EAAA,EAAA,CAAG,KAEXH,eAAA,CAACD,UAAI,EAAA,EAAC,CAAC,EAAC,MAAM,EAAC,OAAO,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAC,QAAQ,EAAA,QAAA,EAAA,CAC7DD,cAAA,CAACG,SAAG,EAAA,EACF,YAAY,EAAC,IAAI,EACjB,OAAO,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU,EAC7C,CAAC,EAAE,CAAC,EACJ,EAAE,EAAE,CAAC,EACL,CAAC,EAAC,aAAa,EAAA,QAAA,EAEfH,cAAA,CAACM,gBAAU,EAAA,EAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,WAAW,EAAA,CAAI,EAAA,CACvD,EACNN,cAAA,CAACO,SAAI,EAAA,EAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,WAAW,EAAA,QAAA,EAC9C,cAAc,IAAI,SAAS,CAAC,kBAAkB,CAAC,EAAA,CAC3C,CAAA,EAAA,CACF,CACR,EAAA,CACI,CAAA,EAAA,CACD,EAAA,CACH;AAEX,CAAC;AAGH,SAAS,CAAC,WAAW,GAAG,WAAW;;;;"}
@@ -2,8 +2,9 @@
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { forwardRef } from 'react';
4
4
  import { Flex, Box, Input } from '@chakra-ui/react';
5
- import { LuUpload } from '../Icon/index.mjs';
5
+ import { UploadIcon } from '../Icon/index.mjs';
6
6
  import { Spinner } from '../Spinner/Spinner.mjs';
7
+ import '../Typography/Caption.mjs';
7
8
  import '../Typography/H1.mjs';
8
9
  import '../Typography/H2.mjs';
9
10
  import '../Typography/H3.mjs';
@@ -21,7 +22,16 @@ const FileInput = forwardRef(({ fileInputLabel, containerStyle = {}, bgImage, on
21
22
  const handleChange = (event) => {
22
23
  onChange(event.currentTarget.files);
23
24
  };
24
- return (jsx(Flex, { role: "button", w: "100%", h: "100%", maxH: 32, flexDir: "column", align: "center", justify: "center", border: "1px dashed", borderColor: "border.default", position: "relative", overflow: "hidden", borderRadius: "md", ...containerStyle, children: jsxs("label", { role: "group", style: { width: '100%', height: '100%', cursor: 'pointer' }, children: [bgImage && (jsx(Box, { position: "absolute", top: "0", left: "0", right: "0", bottom: "0", backgroundImage: bgImage, backgroundSize: "cover", backgroundPosition: "center", filter: "grayscale(50%) brightness(80%)", zIndex: "-1" })), jsx(Input, { type: "file", hidden: true, ref: ref, onChange: handleChange, ...rest }), jsx(Flex, { w: "100%", h: "100%", p: 7, flexDir: "column", justify: "center", align: "center", bgColor: "color-mix(in srgb, var(--chakra-colors-bg-surface) 85%, transparent)", opacity: bgImage ? 0 : 1, transition: "ease-in", _groupHover: { opacity: 1 }, children: isLoading ? (jsx(Spinner, {})) : (jsxs(Flex, { w: "100%", flexDir: "column", align: "center", justify: "center", children: [jsx(Box, { borderRadius: "lg", bgColor: bgImage ? 'transparent' : 'bg.muted', p: 3, mb: 2, w: "fit-content", children: jsx(LuUpload, { color: bgImage ? 'fg.default' : 'fg.subtle' }) }), jsx(Text, { color: bgImage ? 'fg.default' : 'fg.subtle', children: fileInputLabel || translate('upload_your_file') })] })) })] }) }));
25
+ return (
26
+ // No `role="button"` on this wrapper. It is not a button — the `<label>`
27
+ // inside is what activates the file input — and claiming the role put an
28
+ // interactive element inside another (axe `nested-interactive`), which is
29
+ // a state screen readers have no sensible way to announce
30
+ // (KWCAG 2.1 5.4.2.1 웹 애플리케이션 접근성 준수).
31
+ jsx(Flex, { w: "100%", h: "100%", maxH: 32, flexDir: "column", align: "center", justify: "center", border: "1px dashed", borderColor: "border.default", position: "relative", overflow: "hidden", borderRadius: "md", ...containerStyle, children: jsxs("label", { className: "group", style: { width: '100%', height: '100%', cursor: 'pointer' }, children: [bgImage && (jsx(Box, { position: "absolute", top: "0", left: "0", right: "0", bottom: "0", backgroundImage: bgImage, backgroundSize: "cover", backgroundPosition: "center", filter: "grayscale(50%) brightness(80%)", zIndex: "-1" })), jsx(Input, { type: "file", hidden: true, ref: ref, onChange: handleChange, ...rest }), jsx(Flex, { w: "100%", h: "100%", p: 7, flexDir: "column", justify: "center", align: "center", bgColor: "color-mix(in srgb, var(--chakra-colors-bg-surface) 85%, transparent)", opacity: bgImage ? 0 : 1,
32
+ // Was `transition="ease-in"` — a shorthand with only a timing
33
+ // function resolves to 0s, so the hover fade snapped in one frame.
34
+ animationStyle: "feedback", transitionProperty: "opacity", _groupHover: { opacity: 1 }, children: isLoading ? (jsx(Spinner, {})) : (jsxs(Flex, { w: "100%", flexDir: "column", align: "center", justify: "center", children: [jsx(Box, { borderRadius: "lg", bgColor: bgImage ? 'transparent' : 'bg.muted', p: 3, mb: 2, w: "fit-content", children: jsx(UploadIcon, { color: bgImage ? 'fg.default' : 'fg.subtle' }) }), jsx(Text, { color: bgImage ? 'fg.default' : 'fg.subtle', children: fileInputLabel || translate('upload_your_file') })] })) })] }) }));
25
35
  });
26
36
  FileInput.displayName = 'FileInput';
27
37
 
@@ -1 +1 @@
1
- {"version":3,"file":"FileInput.mjs","sources":["../../../src/components/FileInput/FileInput.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;AAUO,MAAM,SAAS,GAAG,UAAU,CACjC,CACE,EACE,cAAc,EACd,cAAc,GAAG,EAAE,EACnB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EACD,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C,QAAQ,EACd,OAAO,EAAC,sEAAsE,EAC9E,OAAO,EAAE,OAAO,GAAG,CAAC,GAAG,CAAC;;;oBAGxB,cAAc,EAAC,UAAU,EACzB,kBAAkB,EAAC,SAAS,EAC5B,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAA,QAAA,EAE1B,SAAS,IACRA,GAAA,CAAC,OAAO,EAAA,EAAA,CAAG,KAEXC,IAAA,CAAC,IAAI,EAAA,EAAC,CAAC,EAAC,MAAM,EAAC,OAAO,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAC,QAAQ,EAAA,QAAA,EAAA,CAC7DD,GAAA,CAAC,GAAG,EAAA,EACF,YAAY,EAAC,IAAI,EACjB,OAAO,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU,EAC7C,CAAC,EAAE,CAAC,EACJ,EAAE,EAAE,CAAC,EACL,CAAC,EAAC,aAAa,EAAA,QAAA,EAEfA,GAAA,CAAC,UAAU,EAAA,EAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,WAAW,EAAA,CAAI,EAAA,CACvD,EACNA,GAAA,CAAC,IAAI,EAAA,EAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,WAAW,EAAA,QAAA,EAC9C,cAAc,IAAI,SAAS,CAAC,kBAAkB,CAAC,EAAA,CAC3C,CAAA,EAAA,CACF,CACR,EAAA,CACI,CAAA,EAAA,CACD,EAAA,CACH;AAEX,CAAC;AAGH,SAAS,CAAC,WAAW,GAAG,WAAW;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["../../../src/components/FileItem/FileItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAiBrE,eAAO,MAAM,QAAQ;gHAUlB,aAAa;;CAqHf,CAAC"}
1
+ {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["../../../src/components/FileItem/FileItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAiBrE,eAAO,MAAM,QAAQ;gHAUlB,aAAa;;CAkHf,CAAC"}
@@ -8,6 +8,7 @@ var index = require('../Icon/index.js');
8
8
  var IconButton = require('../IconButton/IconButton.js');
9
9
  require('../IconButton/IconButton.styles.js');
10
10
  var ProgressBar = require('../ProgressBar/ProgressBar.js');
11
+ require('../Typography/Caption.js');
11
12
  require('../Typography/H1.js');
12
13
  require('../Typography/H2.js');
13
14
  require('../Typography/H3.js');
@@ -25,7 +26,7 @@ var Tooltip = require('../Tooltip/Tooltip.js');
25
26
 
26
27
  const FileItem = ({ fileName, error, onFileDownload, onFileDelete, progress, fileSize, isDeleting = false, isDownloading = false, ...rest }) => {
27
28
  const translate = useTranslate.useTranslate();
28
- const errorColor = 'danger.main';
29
+ const errorColor = 'danger.fg';
29
30
  const isUploadingFile = !error && typeof progress === 'number' && progress >= 0 && progress < 100;
30
31
  const isFileUploadComplete = !progress || error || progress === 100;
31
32
  return (jsxRuntime.jsxs(react.Flex, { px: 3, py: 2, gap: 2, justifyContent: "space-between", alignItems: "center", border: "1px solid", borderColor: "border.subtle", w: "100%", position: "relative", _before: {
@@ -36,7 +37,7 @@ const FileItem = ({ fileName, error, onFileDownload, onFileDelete, progress, fil
36
37
  left: 0,
37
38
  width: '3px',
38
39
  backgroundColor: error ? errorColor : 'transparent',
39
- }, ...rest, children: [jsxRuntime.jsxs(react.Flex, { w: "60%", alignItems: "center", gap: 2, children: [jsxRuntime.jsx(react.Box, { minW: 5, children: jsxRuntime.jsx(index.CiFileOn, { color: error ? errorColor : 'fg.muted' }) }), jsxRuntime.jsx(Text.Text, { truncate: true, color: error ? errorColor : undefined, children: fileName })] }), jsxRuntime.jsxs(react.Flex, { align: "center", gap: 2, flex: 1, children: [error ? (jsxRuntime.jsx(react.Flex, { w: "100%", justify: "flex-end", align: "center", gap: 2, children: jsxRuntime.jsx(Tooltip.Tooltip, { content: error, placement: "top", children: jsxRuntime.jsx(index.MdError, { color: errorColor }) }) })) : (jsxRuntime.jsx(react.Box, { w: "100%", children: isUploadingFile && (jsxRuntime.jsxs(react.Flex, { align: "center", justify: "flex-end", gap: 2, children: [jsxRuntime.jsxs(Subtext.Subtext, { children: [progress, "%"] }), jsxRuntime.jsx(ProgressBar.ProgressBar, { w: "100%", minW: 3, maxW: 20, value: progress }), jsxRuntime.jsx(Spinner.Spinner, { size: "xs" }), jsxRuntime.jsx(IconButton.IconButton, { "aria-label": 'remove uploading file button', onClick: onFileDelete, size: "2xs", disabled: isDeleting, colorPalette: "neutral", variant: "ghost", children: jsxRuntime.jsx(index.IoClose, { color: "fg.subtle", boxSize: "md" }) })] })) })), !isUploadingFile && isFileUploadComplete && (jsxRuntime.jsxs(React.Fragment, { children: [fileSize && jsxRuntime.jsx(Subtitle.Subtitle, { mr: 4, children: formatFileSize.formatFileSize(fileSize) }), onFileDownload && !error && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isDownloading ? (jsxRuntime.jsx(Tooltip.Tooltip, { content: translate('downloading'), placement: "top", children: jsxRuntime.jsx(Spinner.Spinner, { size: "xs" }) })) : (jsxRuntime.jsx(Tooltip.Tooltip, { content: translate('download'), placement: "top", children: jsxRuntime.jsx(IconButton.IconButton, { "aria-label": translate('download'), onClick: onFileDownload, size: "2xs", colorPalette: "neutral", variant: "ghost", children: jsxRuntime.jsx(index.LuDownload, { color: "fg.muted" }) }) })) })), onFileDelete && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isDeleting ? (jsxRuntime.jsx(Tooltip.Tooltip, { content: translate('deleting'), placement: "top", children: jsxRuntime.jsx(Spinner.Spinner, { size: "xs" }) })) : (jsxRuntime.jsx(Tooltip.Tooltip, { content: translate('delete'), placement: "top", children: jsxRuntime.jsx(IconButton.IconButton, { "aria-label": translate('delete'), onClick: onFileDelete, size: "2xs", colorPalette: "neutral", variant: "ghost", children: jsxRuntime.jsx(index.FaRegTrashAlt, { boxSize: "sm", color: "fg.muted" }) }) })) }))] }))] })] }));
40
+ }, ...rest, children: [jsxRuntime.jsxs(react.Flex, { w: "60%", alignItems: "center", gap: 2, children: [jsxRuntime.jsx(react.Box, { minW: 5, children: jsxRuntime.jsx(index.FileIcon, { color: error ? errorColor : 'fg.muted' }) }), jsxRuntime.jsx(Text.Text, { truncate: true, color: error ? errorColor : undefined, children: fileName })] }), jsxRuntime.jsxs(react.Flex, { align: "center", gap: 2, flex: 1, children: [error ? (jsxRuntime.jsx(react.Flex, { w: "100%", justify: "flex-end", align: "center", gap: 2, children: jsxRuntime.jsx(Tooltip.Tooltip, { content: error, placement: "top", children: jsxRuntime.jsx(index.AlertCircleFilledIcon, { color: errorColor }) }) })) : (jsxRuntime.jsx(react.Box, { w: "100%", children: isUploadingFile && (jsxRuntime.jsxs(react.Flex, { align: "center", justify: "flex-end", gap: 2, children: [jsxRuntime.jsxs(Subtext.Subtext, { children: [progress, "%"] }), jsxRuntime.jsx(ProgressBar.ProgressBar, { w: "100%", minW: 3, maxW: 20, value: progress }), jsxRuntime.jsx(Spinner.Spinner, { size: "xs" }), jsxRuntime.jsx(IconButton.IconButton, { "aria-label": 'remove uploading file button', onClick: onFileDelete, size: "2xs", disabled: isDeleting, variant: "ghost", children: jsxRuntime.jsx(index.CloseIcon, { color: "fg.subtle", boxSize: "md" }) })] })) })), !isUploadingFile && isFileUploadComplete && (jsxRuntime.jsxs(React.Fragment, { children: [fileSize && jsxRuntime.jsx(Subtitle.Subtitle, { mr: 4, children: formatFileSize.formatFileSize(fileSize) }), onFileDownload && !error && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isDownloading ? (jsxRuntime.jsx(Tooltip.Tooltip, { content: translate('downloading'), placement: "top", children: jsxRuntime.jsx(Spinner.Spinner, { size: "xs" }) })) : (jsxRuntime.jsx(Tooltip.Tooltip, { content: translate('download'), placement: "top", children: jsxRuntime.jsx(IconButton.IconButton, { "aria-label": translate('download'), onClick: onFileDownload, size: "2xs", variant: "ghost", children: jsxRuntime.jsx(index.DownloadIcon, { color: "fg.muted" }) }) })) })), onFileDelete && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isDeleting ? (jsxRuntime.jsx(Tooltip.Tooltip, { content: translate('deleting'), placement: "top", children: jsxRuntime.jsx(Spinner.Spinner, { size: "xs" }) })) : (jsxRuntime.jsx(Tooltip.Tooltip, { content: translate('delete'), placement: "top", children: jsxRuntime.jsx(IconButton.IconButton, { "aria-label": translate('delete'), onClick: onFileDelete, size: "2xs", variant: "ghost", children: jsxRuntime.jsx(index.TrashIcon, { boxSize: "sm", color: "fg.muted" }) }) })) }))] }))] })] }));
40
41
  };
41
42
  FileItem.displayName = 'FileItem';
42
43