@apollion-dsi/core 3.0.0 → 4.1.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 (367) hide show
  1. package/README.md +47 -21
  2. package/lib/chunks/chunk-2UQUA5JQ.esm.js +14 -0
  3. package/lib/chunks/chunk-34F43UAI.esm.js +4 -0
  4. package/lib/chunks/chunk-43YSWDK6.esm.js +1 -0
  5. package/lib/chunks/chunk-4HE643OX.esm.js +1 -0
  6. package/lib/chunks/{chunk-BKF5RIHP.esm.js → chunk-4HGSFSHL.esm.js} +1 -1
  7. package/lib/chunks/chunk-4RPR6CZT.esm.js +1 -0
  8. package/lib/chunks/chunk-4WWVMB7R.esm.js +67 -0
  9. package/lib/chunks/chunk-53R7OVXP.esm.js +1 -0
  10. package/lib/chunks/chunk-5BR6JTC5.esm.js +5 -0
  11. package/lib/chunks/chunk-5H2LWL6K.esm.js +1 -0
  12. package/lib/chunks/{chunk-3XS7RVYS.esm.js → chunk-5NIX5AK7.esm.js} +3 -3
  13. package/lib/chunks/chunk-76C7AHBV.esm.js +1 -0
  14. package/lib/chunks/chunk-777HH5XE.esm.js +9 -0
  15. package/lib/chunks/chunk-7LG563DZ.esm.js +1 -0
  16. package/lib/chunks/chunk-7WVLGVVA.esm.js +1 -0
  17. package/lib/chunks/{chunk-G3IXCOJI.esm.js → chunk-A4BXGJYW.esm.js} +1 -1
  18. package/lib/chunks/chunk-APD22JEO.esm.js +1 -0
  19. package/lib/chunks/chunk-BFZUNHO5.esm.js +4 -0
  20. package/lib/chunks/{chunk-TAVNLEMI.esm.js → chunk-BJFSNET7.esm.js} +5 -5
  21. package/lib/chunks/chunk-BXLZT77M.esm.js +5 -0
  22. package/lib/chunks/{chunk-5XXISYUW.esm.js → chunk-BYRL7X5M.esm.js} +4 -4
  23. package/lib/chunks/chunk-C2HYRKZ5.esm.js +72 -0
  24. package/lib/chunks/{chunk-SKV75I6W.esm.js → chunk-C7NZ4MPY.esm.js} +1 -1
  25. package/lib/chunks/chunk-CPOKPPFV.esm.js +7 -0
  26. package/lib/chunks/chunk-DEAQAH6B.esm.js +171 -0
  27. package/lib/chunks/chunk-E2S4LJNF.esm.js +40 -0
  28. package/lib/chunks/chunk-EC3O6B7O.esm.js +1 -0
  29. package/lib/chunks/chunk-EEBGH4FW.esm.js +23 -0
  30. package/lib/chunks/chunk-EWU2RG4F.esm.js +38 -0
  31. package/lib/chunks/{chunk-D43MLNCQ.esm.js → chunk-FKAOGMRM.esm.js} +1 -1
  32. package/lib/chunks/chunk-FPQOBUTR.esm.js +1 -0
  33. package/lib/chunks/{chunk-TGTH3E4X.esm.js → chunk-H4CYNDAM.esm.js} +1 -1
  34. package/lib/chunks/{chunk-V77X6UJ2.esm.js → chunk-H6RGCTRX.esm.js} +1 -1
  35. package/lib/chunks/chunk-HSNUZR7V.esm.js +1 -0
  36. package/lib/chunks/chunk-IT4J7I6H.esm.js +1 -0
  37. package/lib/chunks/chunk-IWMEDT6U.esm.js +1 -0
  38. package/lib/chunks/{chunk-XNBK5E7D.esm.js → chunk-J73BJCFK.esm.js} +2 -2
  39. package/lib/chunks/chunk-JD7UXJES.esm.js +1 -0
  40. package/lib/chunks/chunk-JOKVE3IX.esm.js +1 -0
  41. package/lib/chunks/chunk-KB2USQJE.esm.js +1 -0
  42. package/lib/chunks/chunk-LP4ND77J.esm.js +15 -0
  43. package/lib/chunks/chunk-M3BBRFF2.esm.js +1 -0
  44. package/lib/chunks/{chunk-BYYMKYCC.esm.js → chunk-MJ7ZMPLR.esm.js} +1 -1
  45. package/lib/chunks/chunk-N7OQM7C7.esm.js +1 -0
  46. package/lib/chunks/chunk-NSZRKCOX.esm.js +1 -0
  47. package/lib/chunks/{chunk-WTRTFZV6.esm.js → chunk-NYWQDBFO.esm.js} +1 -1
  48. package/lib/chunks/chunk-O4NT6MN7.esm.js +15 -0
  49. package/lib/chunks/chunk-O7P2XALT.esm.js +104 -0
  50. package/lib/chunks/chunk-OFLB4VL6.esm.js +1 -0
  51. package/lib/chunks/chunk-OTJ32SHO.esm.js +94 -0
  52. package/lib/chunks/chunk-P4JVQK7V.esm.js +81 -0
  53. package/lib/chunks/chunk-PP2U26DD.esm.js +6 -0
  54. package/lib/chunks/{chunk-KDYOOGW7.esm.js → chunk-Q44UHGO6.esm.js} +1 -1
  55. package/lib/chunks/chunk-Q6KSPMLW.esm.js +1 -0
  56. package/lib/chunks/chunk-RF5E2C7X.esm.js +6 -0
  57. package/lib/chunks/chunk-TDVKGVGD.esm.js +1 -0
  58. package/lib/chunks/chunk-TG5BCBO4.esm.js +1 -0
  59. package/lib/chunks/chunk-THOEVSMN.esm.js +3 -0
  60. package/lib/chunks/chunk-TOYBV66A.esm.js +1 -0
  61. package/lib/chunks/chunk-TVJISBND.esm.js +1 -0
  62. package/lib/chunks/chunk-U4ODIBWG.esm.js +1 -0
  63. package/lib/chunks/{chunk-XNCMA56H.esm.js → chunk-UUVZW6VR.esm.js} +14 -10
  64. package/lib/chunks/chunk-UZFVIKSU.esm.js +142 -0
  65. package/lib/chunks/chunk-V2CHFCNJ.esm.js +4 -0
  66. package/lib/chunks/chunk-V2DSTTQA.esm.js +1 -0
  67. package/lib/chunks/{chunk-TR4PVAXI.esm.js → chunk-V2FPYZTP.esm.js} +1 -1
  68. package/lib/chunks/chunk-V5ZKDMDH.esm.js +1 -0
  69. package/lib/chunks/{chunk-WAHR5LIT.esm.js → chunk-VVZ6FCG7.esm.js} +1 -1
  70. package/lib/chunks/chunk-XD7WY5I4.esm.js +7 -0
  71. package/lib/chunks/chunk-Y2T3ENA4.esm.js +1 -0
  72. package/lib/chunks/chunk-Y4VB4DRM.esm.js +1 -0
  73. package/lib/chunks/chunk-Y7EHFKPF.esm.js +61 -0
  74. package/lib/chunks/{chunk-3HHYBI4E.esm.js → chunk-ZRIEVBTB.esm.js} +1 -1
  75. package/lib/chunks/{chunk-6H6SEPAI.esm.js → chunk-ZX7OP4LN.esm.js} +15 -15
  76. package/lib/containers/Base/Base.style.d.ts +144 -144
  77. package/lib/containers/Base/index.esm.js +1 -1
  78. package/lib/containers/Card/index.esm.js +1 -1
  79. package/lib/containers/Content/index.esm.js +1 -1
  80. package/lib/containers/Flex/Flex.style.d.ts +145 -145
  81. package/lib/containers/Flex/index.esm.js +1 -1
  82. package/lib/containers/Grid/Grid.style.d.ts +3 -3
  83. package/lib/containers/Grid/index.esm.js +1 -1
  84. package/lib/containers/Notification/Notification.interface.d.ts +1 -1
  85. package/lib/containers/Notification/Notification.style.d.ts +1156 -1156
  86. package/lib/containers/Notification/index.esm.js +1 -1
  87. package/lib/containers/Paper/Paper.style.d.ts +9 -9
  88. package/lib/containers/Paper/index.esm.js +1 -1
  89. package/lib/containers/Scroll/Scroll.style.d.ts +8 -8
  90. package/lib/containers/Scroll/index.esm.js +1 -1
  91. package/lib/containers/index.esm.js +1 -1
  92. package/lib/dataDisplay/DataTable/DataTable.d.ts +1 -1
  93. package/lib/dataDisplay/DataTable/DataTable.filters.d.ts +53 -0
  94. package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +82 -4
  95. package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +137 -4
  96. package/lib/dataDisplay/DataTable/DataTable.props.d.ts +4 -2
  97. package/lib/dataDisplay/DataTable/DataTable.style.d.ts +71 -31
  98. package/lib/dataDisplay/DataTable/index.esm.js +1 -1
  99. package/lib/dataDisplay/DescriptionList/DescriptionList.d.ts +33 -0
  100. package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +61 -0
  101. package/lib/dataDisplay/DescriptionList/index.d.ts +11 -0
  102. package/lib/dataDisplay/DescriptionList/index.esm.js +1 -0
  103. package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
  104. package/lib/dataDisplay/Table/TableBody/index.esm.js +1 -1
  105. package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
  106. package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
  107. package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +9 -9
  108. package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
  109. package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
  110. package/lib/dataDisplay/Table/TableHeader/index.esm.js +1 -1
  111. package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
  112. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
  113. package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
  114. package/lib/dataDisplay/Table/TableRow/index.esm.js +1 -1
  115. package/lib/dataDisplay/Table/index.esm.js +1 -1
  116. package/lib/dataDisplay/Tabs/Tabs.style.d.ts +25 -25
  117. package/lib/dataDisplay/Tabs/index.esm.js +1 -1
  118. package/lib/dataDisplay/index.esm.js +1 -1
  119. package/lib/elements/Avatar/Avatar.style.d.ts +4 -4
  120. package/lib/elements/Avatar/index.esm.js +1 -1
  121. package/lib/elements/Button/Button.style.d.ts +7 -7
  122. package/lib/elements/Button/index.esm.js +1 -1
  123. package/lib/elements/Calendar/Calendar.d.ts +30 -0
  124. package/lib/elements/Calendar/Calendar.interface.d.ts +37 -0
  125. package/lib/elements/Calendar/Calendar.style.d.ts +17 -0
  126. package/lib/elements/Calendar/index.d.ts +13 -0
  127. package/lib/elements/Calendar/index.esm.js +1 -0
  128. package/lib/elements/Dropdown/Dropdown.d.ts +8 -2
  129. package/lib/elements/Dropdown/index.esm.js +1 -1
  130. package/lib/elements/Icon/Icon.style.d.ts +2 -2
  131. package/lib/elements/Icon/index.esm.js +1 -1
  132. package/lib/elements/IconButton/IconButton.style.d.ts +8 -8
  133. package/lib/elements/IconButton/index.esm.js +1 -1
  134. package/lib/elements/Image/index.esm.js +1 -1
  135. package/lib/elements/Label/Label.style.d.ts +4 -4
  136. package/lib/elements/Label/index.esm.js +1 -1
  137. package/lib/elements/Link/Link.d.ts +19 -8
  138. package/lib/elements/Link/Link.interface.d.ts +33 -12
  139. package/lib/elements/Link/Link.style.d.ts +38 -690
  140. package/lib/elements/Link/index.esm.js +1 -1
  141. package/lib/elements/List/List.style.d.ts +8 -8
  142. package/lib/elements/List/index.esm.js +1 -1
  143. package/lib/elements/Modal/Modal.style.d.ts +4317 -4317
  144. package/lib/elements/Modal/index.esm.js +1 -1
  145. package/lib/elements/Popover/index.esm.js +1 -1
  146. package/lib/elements/ProgressBar/ProgressBar.style.d.ts +10 -10
  147. package/lib/elements/ProgressBar/index.esm.js +1 -1
  148. package/lib/elements/Spinner/Spinner.style.d.ts +2 -2
  149. package/lib/elements/Spinner/index.esm.js +1 -1
  150. package/lib/elements/Svg/index.esm.js +1 -1
  151. package/lib/elements/Text/Text.props.d.ts +140 -140
  152. package/lib/elements/Text/Text.style.d.ts +2 -2
  153. package/lib/elements/Text/index.esm.js +1 -1
  154. package/lib/elements/Tooltip/Tooltip.d.ts +6 -6
  155. package/lib/elements/Tooltip/Tooltip.interface.d.ts +14 -6
  156. package/lib/elements/Tooltip/Tooltip.style.d.ts +15 -10
  157. package/lib/elements/Tooltip/index.esm.js +1 -1
  158. package/lib/elements/index.esm.js +1 -1
  159. package/lib/factory/BorderFactory/BorderFactory.d.ts +1 -1
  160. package/lib/factory/ContainerFactory/ContainerFactory.d.ts +1 -1
  161. package/lib/factory/DeepFactory/DeepFactory.d.ts +1 -1
  162. package/lib/factory/DeepFactory/index.esm.js +1 -1
  163. package/lib/factory/FlexFactory/FlexFactory.d.ts +1 -1
  164. package/lib/factory/FontFactory/FontFactory.d.ts +1 -1
  165. package/lib/factory/ResponsiveFactory/ResponsiveFactory.d.ts +1 -1
  166. package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
  167. package/lib/factory/SizeFactory/SizeFactory.d.ts +1 -1
  168. package/lib/factory/SpacingFactory/SpacingFactory.d.ts +1 -1
  169. package/lib/factory/System/System.d.ts +2 -4
  170. package/lib/factory/System/System.interface.d.ts +2 -2
  171. package/lib/factory/System/index.esm.js +1 -1
  172. package/lib/factory/index.esm.js +1 -1
  173. package/lib/form/Checkbox/Checkbox.style.d.ts +11 -11
  174. package/lib/form/Checkbox/index.esm.js +1 -1
  175. package/lib/form/Field/Field.d.ts +2 -1
  176. package/lib/form/Field/Field.interface.d.ts +16 -7
  177. package/lib/form/Field/Field.props.d.ts +39 -0
  178. package/lib/form/Field/Field.style.d.ts +16 -16
  179. package/lib/form/Field/index.esm.js +1 -1
  180. package/lib/form/FieldGroup/index.esm.js +1 -1
  181. package/lib/form/Form/Form.helpers.d.ts +11 -8
  182. package/lib/form/Form/Form.interface.d.ts +24 -20
  183. package/lib/form/Form/Form.style.d.ts +10 -10
  184. package/lib/form/Form/index.esm.js +1 -1
  185. package/lib/form/Input/Input.style.d.ts +22 -22
  186. package/lib/form/Input/index.esm.js +1 -1
  187. package/lib/form/InputCurrency/index.esm.js +1 -1
  188. package/lib/form/InputDate/InputDate.d.ts +21 -11
  189. package/lib/form/InputDate/InputDate.interface.d.ts +67 -0
  190. package/lib/form/InputDate/buildSyntheticEvent.d.ts +26 -0
  191. package/lib/form/InputDate/index.d.ts +9 -2
  192. package/lib/form/InputDate/index.esm.js +1 -1
  193. package/lib/form/InputMask/index.esm.js +1 -1
  194. package/lib/form/InputRange/InputRange.style.d.ts +24 -24
  195. package/lib/form/InputRange/index.esm.js +1 -1
  196. package/lib/form/InputSelect/DropdownIndicator.d.ts +1 -1
  197. package/lib/form/InputSelect/InputSelect.interface.d.ts +1 -1
  198. package/lib/form/InputSelect/index.esm.js +1 -1
  199. package/lib/form/Radio/Radio.style.d.ts +9 -9
  200. package/lib/form/Radio/index.esm.js +1 -1
  201. package/lib/form/TextArea/TextArea.style.d.ts +21 -21
  202. package/lib/form/TextArea/index.esm.js +1 -1
  203. package/lib/form/UploadCard/UploadCard.style.d.ts +39 -39
  204. package/lib/form/UploadCard/index.esm.js +1 -1
  205. package/lib/form/index.esm.js +1 -1
  206. package/lib/hooks/index.esm.js +1 -1
  207. package/lib/hooks/useMediaQuery/index.esm.js +1 -1
  208. package/lib/hooks/useMediaQuery/useMediaQuery.d.ts +1 -1
  209. package/lib/hooks/useScript/index.esm.js +1 -1
  210. package/lib/icons/Icons/categoryInterface.d.ts +1 -0
  211. package/lib/icons/Icons/index.d.ts +1 -0
  212. package/lib/icons/Icons/index.esm.js +1 -1
  213. package/lib/icons/index.esm.js +1 -1
  214. package/lib/index.d.ts +27 -14
  215. package/lib/index.esm.js +1 -1
  216. package/lib/index.js +1 -1262
  217. package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +12 -12
  218. package/lib/layouts/DefaultLayout/index.esm.js +1 -1
  219. package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +12 -12
  220. package/lib/layouts/SideBarLayout/index.esm.js +1 -1
  221. package/lib/layouts/index.esm.js +1 -1
  222. package/lib/scenario/CircleComponent/index.esm.js +1 -1
  223. package/lib/scenario/RectComponent/index.esm.js +1 -1
  224. package/lib/scenario/index.esm.js +1 -1
  225. package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +1 -1
  226. package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.interface.d.ts +1 -1
  227. package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
  228. package/lib/skeleton/TextPreset/index.esm.js +1 -1
  229. package/lib/skeleton/index.esm.js +1 -1
  230. package/lib/themes/Colors/Colors.helpers.d.ts +56 -4
  231. package/lib/themes/Colors/index.esm.js +1 -1
  232. package/lib/themes/Deep/index.esm.js +1 -1
  233. package/lib/themes/Depth/index.esm.js +1 -1
  234. package/lib/themes/Dimension/Dimension.interface.d.ts +24 -0
  235. package/lib/themes/Dimension/Dimension.props.d.ts +36 -0
  236. package/lib/themes/Dimension/index.d.ts +10 -0
  237. package/lib/themes/Dimension/index.esm.js +1 -0
  238. package/lib/themes/Foundation/Foundation.helpers.d.ts +32 -0
  239. package/lib/themes/Foundation/Foundation.interface.d.ts +84 -0
  240. package/lib/themes/Foundation/index.d.ts +17 -0
  241. package/lib/themes/Foundation/index.esm.js +1 -0
  242. package/lib/themes/GlobalStyle/GlobalStyle.d.ts +1 -1
  243. package/lib/themes/GlobalStyle/index.esm.js +1 -1
  244. package/lib/themes/Semantic/Semantic.helpers.d.ts +50 -0
  245. package/lib/themes/Semantic/Semantic.interface.d.ts +131 -0
  246. package/lib/themes/Semantic/index.d.ts +18 -0
  247. package/lib/themes/Semantic/index.esm.js +1 -0
  248. package/lib/themes/Spacing/Spacing.props.d.ts +32 -1
  249. package/lib/themes/Spacing/index.esm.js +1 -1
  250. package/lib/themes/Surface/Surface.d.ts +46 -0
  251. package/lib/themes/Surface/Surface.helpers.d.ts +52 -0
  252. package/lib/themes/Surface/Surface.interface.d.ts +20 -0
  253. package/lib/themes/Surface/index.d.ts +18 -0
  254. package/lib/themes/Surface/index.esm.js +1 -0
  255. package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +69 -0
  256. package/lib/themes/ThemeProvider/index.esm.js +1 -1
  257. package/lib/themes/index.d.ts +4 -0
  258. package/lib/themes/index.esm.js +1 -1
  259. package/lib/utils/components/Breakpoints/index.esm.js +1 -1
  260. package/lib/utils/components/index.esm.js +1 -1
  261. package/lib/vendors/Culori/component.d.ts +26 -0
  262. package/lib/vendors/Culori/index.d.ts +2 -0
  263. package/lib/vendors/Culori/interface.d.ts +28 -0
  264. package/lib/vendors/DateFns/component.d.ts +30 -0
  265. package/lib/vendors/DateFns/index.d.ts +2 -0
  266. package/lib/vendors/DateFns/interface.d.ts +14 -0
  267. package/lib/vendors/Deepmerge/component.d.ts +11 -0
  268. package/lib/vendors/Deepmerge/index.d.ts +1 -0
  269. package/lib/vendors/Deepmerge/interface.d.ts +10 -0
  270. package/lib/vendors/EmotionIsPropValid/component.d.ts +12 -0
  271. package/lib/vendors/EmotionIsPropValid/index.d.ts +1 -0
  272. package/lib/vendors/EmotionIsPropValid/interface.d.ts +9 -0
  273. package/lib/vendors/FastDeepEqual/component.d.ts +11 -0
  274. package/lib/vendors/FastDeepEqual/index.d.ts +1 -0
  275. package/lib/vendors/FastDeepEqual/interface.d.ts +9 -0
  276. package/lib/vendors/FloatingUI/component.d.ts +34 -0
  277. package/lib/vendors/FloatingUI/index.d.ts +2 -0
  278. package/lib/vendors/FloatingUI/interface.d.ts +18 -0
  279. package/lib/vendors/FramerMotion/component.d.ts +20 -0
  280. package/lib/vendors/FramerMotion/index.d.ts +2 -0
  281. package/lib/vendors/FramerMotion/interface.d.ts +15 -0
  282. package/lib/vendors/LodashDebounce/component.d.ts +11 -0
  283. package/lib/vendors/LodashDebounce/index.d.ts +2 -0
  284. package/lib/vendors/LodashDebounce/interface.d.ts +11 -0
  285. package/lib/vendors/Nanoid/component.d.ts +13 -0
  286. package/lib/vendors/Nanoid/index.d.ts +2 -0
  287. package/lib/vendors/Nanoid/interface.d.ts +11 -0
  288. package/lib/vendors/ObjectHash/component.d.ts +9 -0
  289. package/lib/vendors/ObjectHash/index.d.ts +2 -0
  290. package/lib/vendors/ObjectHash/interface.d.ts +8 -0
  291. package/lib/vendors/ReactContentLoader/component.d.ts +15 -0
  292. package/lib/vendors/ReactContentLoader/index.d.ts +2 -0
  293. package/lib/vendors/ReactContentLoader/interface.d.ts +10 -0
  294. package/lib/vendors/ReactDayPicker/component.d.ts +17 -0
  295. package/lib/vendors/ReactDayPicker/index.d.ts +2 -0
  296. package/lib/vendors/ReactDayPicker/interface.d.ts +19 -0
  297. package/lib/vendors/ReactHookForm/component.d.ts +27 -0
  298. package/lib/vendors/ReactHookForm/index.d.ts +2 -0
  299. package/lib/vendors/ReactHookForm/interface.d.ts +25 -0
  300. package/lib/vendors/ReactSelect/component.d.ts +17 -0
  301. package/lib/vendors/ReactSelect/index.d.ts +2 -0
  302. package/lib/vendors/ReactSelect/interface.d.ts +17 -0
  303. package/lib/vendors/StyledComponents/component.d.ts +21 -0
  304. package/lib/vendors/StyledComponents/index.d.ts +2 -0
  305. package/lib/vendors/StyledComponents/interface.d.ts +27 -0
  306. package/lib/vendors/StyledNormalize/component.d.ts +10 -0
  307. package/lib/vendors/StyledNormalize/index.d.ts +1 -0
  308. package/lib/vendors/StyledNormalize/interface.d.ts +9 -0
  309. package/lib/vendors/TanstackReactTable/component.d.ts +23 -0
  310. package/lib/vendors/TanstackReactTable/index.d.ts +2 -0
  311. package/lib/vendors/TanstackReactTable/interface.d.ts +24 -0
  312. package/lib/vendors/TanstackReactVirtual/component.d.ts +16 -0
  313. package/lib/vendors/TanstackReactVirtual/index.d.ts +2 -0
  314. package/lib/vendors/TanstackReactVirtual/interface.d.ts +14 -0
  315. package/lib/vendors/Zod/component.d.ts +18 -0
  316. package/lib/vendors/Zod/index.d.ts +2 -0
  317. package/lib/vendors/Zod/interface.d.ts +6 -0
  318. package/package.json +73 -24
  319. package/lib/chunks/chunk-2B3RKGV2.esm.js +0 -1
  320. package/lib/chunks/chunk-4PCG2KFF.esm.js +0 -1
  321. package/lib/chunks/chunk-4WBZAWFH.esm.js +0 -0
  322. package/lib/chunks/chunk-4Z3FXC7B.esm.js +0 -5
  323. package/lib/chunks/chunk-6KYLIXBS.esm.js +0 -1
  324. package/lib/chunks/chunk-6RNKPTEX.esm.js +0 -40
  325. package/lib/chunks/chunk-7PD7R2RB.esm.js +0 -15
  326. package/lib/chunks/chunk-7VYSPE3B.esm.js +0 -14
  327. package/lib/chunks/chunk-CH7BVIBG.esm.js +0 -1
  328. package/lib/chunks/chunk-CSVGEHXH.esm.js +0 -1
  329. package/lib/chunks/chunk-DAFBKFTS.esm.js +0 -67
  330. package/lib/chunks/chunk-DEAAQK5J.esm.js +0 -5
  331. package/lib/chunks/chunk-DP6AXK72.esm.js +0 -1
  332. package/lib/chunks/chunk-E4GPRFIB.esm.js +0 -1
  333. package/lib/chunks/chunk-ELYUJKST.esm.js +0 -1
  334. package/lib/chunks/chunk-ERLPEOAG.esm.js +0 -7
  335. package/lib/chunks/chunk-EWFUWYNO.esm.js +0 -81
  336. package/lib/chunks/chunk-FVRWVTQD.esm.js +0 -7
  337. package/lib/chunks/chunk-G3PLMKGA.esm.js +0 -6
  338. package/lib/chunks/chunk-G5M2X3TX.esm.js +0 -7
  339. package/lib/chunks/chunk-GWCDFVWM.esm.js +0 -1
  340. package/lib/chunks/chunk-HK3DHNXU.esm.js +0 -38
  341. package/lib/chunks/chunk-I2E5B4NH.esm.js +0 -1
  342. package/lib/chunks/chunk-IA7RR4C7.esm.js +0 -136
  343. package/lib/chunks/chunk-JIDBKHKA.esm.js +0 -9
  344. package/lib/chunks/chunk-JTQYUIZP.esm.js +0 -1
  345. package/lib/chunks/chunk-KEQXETSP.esm.js +0 -1
  346. package/lib/chunks/chunk-L6UB7RUM.esm.js +0 -104
  347. package/lib/chunks/chunk-LXG3BZB5.esm.js +0 -1
  348. package/lib/chunks/chunk-LZTZMWTK.esm.js +0 -67
  349. package/lib/chunks/chunk-NGODVNJB.esm.js +0 -61
  350. package/lib/chunks/chunk-OMBZMCKV.esm.js +0 -1
  351. package/lib/chunks/chunk-OXD4QSRP.esm.js +0 -1
  352. package/lib/chunks/chunk-PZYCW5IZ.esm.js +0 -4
  353. package/lib/chunks/chunk-Q3FXXXUX.esm.js +0 -1
  354. package/lib/chunks/chunk-QUHHEZMP.esm.js +0 -1
  355. package/lib/chunks/chunk-QZYXRYI7.esm.js +0 -4
  356. package/lib/chunks/chunk-RMTAUQ4Q.esm.js +0 -0
  357. package/lib/chunks/chunk-SAVXHMAA.esm.js +0 -6
  358. package/lib/chunks/chunk-SHDMTEPB.esm.js +0 -46
  359. package/lib/chunks/chunk-SR7ARLZ4.esm.js +0 -1
  360. package/lib/chunks/chunk-UJDBHSL7.esm.js +0 -1
  361. package/lib/chunks/chunk-VTRVGJA6.esm.js +0 -3
  362. package/lib/chunks/chunk-WOI7ZDPE.esm.js +0 -94
  363. package/lib/chunks/chunk-WTWPQ4EL.esm.js +0 -1
  364. package/lib/chunks/chunk-WZALORLW.esm.js +0 -1
  365. package/lib/chunks/chunk-XFQI4QU6.esm.js +0 -1
  366. package/lib/chunks/chunk-XW52MLHU.esm.js +0 -15
  367. /package/lib/chunks/{chunk-4H6GW4MC.esm.js → chunk-CWRWYU7D.esm.js} +0 -0
@@ -1 +1 @@
1
- import{a,b,c,d,e,f,g,h,i,j,k,l}from"../../chunks/chunk-QUHHEZMP.esm.js";import"../../chunks/chunk-44EW3LMK.esm.js";import"../../chunks/chunk-V5AWVNU6.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as HextoRgb,l as createColors,k as defaultInputColors,c as getColor,d as getContrastColor,b as getOppositeColor,i as mountActionColors,h as mountBaseColors,f as mountGreyscaleColors,j as mountMainColors,g as mountNeutralColors,e as mountSingleColor};
1
+ import{a,b,c,d,e,f,g,h,i,j,k,l}from"../../chunks/chunk-4RPR6CZT.esm.js";import"../../chunks/chunk-7WVLGVVA.esm.js";import"../../chunks/chunk-44EW3LMK.esm.js";import"../../chunks/chunk-V5AWVNU6.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as HextoRgb,l as createColors,k as defaultInputColors,c as getColor,d as getContrastColor,b as getOppositeColor,i as mountActionColors,h as mountBaseColors,f as mountGreyscaleColors,j as mountMainColors,g as mountNeutralColors,e as mountSingleColor};
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk-G3IXCOJI.esm.js";import"../../chunks/chunk-QUHHEZMP.esm.js";import"../../chunks/chunk-44EW3LMK.esm.js";import"../../chunks/chunk-V5AWVNU6.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as createDeepTheme};
1
+ import{a}from"../../chunks/chunk-A4BXGJYW.esm.js";import"../../chunks/chunk-4RPR6CZT.esm.js";import"../../chunks/chunk-7WVLGVVA.esm.js";import"../../chunks/chunk-44EW3LMK.esm.js";import"../../chunks/chunk-V5AWVNU6.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as createDeepTheme};
@@ -1 +1 @@
1
- import{a,b}from"../../chunks/chunk-Q3FXXXUX.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as createDeth,a as levelValues};
1
+ import{a,b}from"../../chunks/chunk-IT4J7I6H.esm.js";import"../../chunks/chunk-7WVLGVVA.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as createDeth,a as levelValues};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Density axis introduced in `@apollion-dsi/core` v4 (ADR-006 E2).
3
+ *
4
+ * **Naming disambiguation:** this `Dimension` type controls the **density**
5
+ * (spacing scale multiplier) of the theme — orthogonal to `SemanticDimension`
6
+ * (the spacing-aliases layer at `theme.semantic.dimension`). They coexist:
7
+ *
8
+ * - `Dimension` (this file) → which multiplier the spacing scale uses.
9
+ * - `SemanticDimension` → semantic aliases (xs/sm/md/large/xl/xxl) derived
10
+ * from the active `Dimension` multiplier.
11
+ *
12
+ * Both contribute to `theme.spacing(...)` output. Consumer changes density via
13
+ * `<ApollionProvider dimension="compact">` prop (Q-G3 — prop-only API, no
14
+ * getter, no hook).
15
+ *
16
+ * Calibration values are CHUTE in S3 — Q2 of ADR-006 §9 (Open Questions) flags
17
+ * that empirical calibration is needed (target: `compact` = 30 table rows in
18
+ * 1080p without scroll). Final values land in PRD-002 or a follow-up PR.
19
+ *
20
+ * @see ../../docs/adr/ADR-006-v4-oklch-dimension-token-split.md §6 S3
21
+ * @see ../../docs/prd/PRD-002-v4-epic-execution.md §S3
22
+ * @see ./Dimension.props.ts
23
+ */
24
+ export type Dimension = 'compact' | 'normal' | 'spacious';
@@ -0,0 +1,36 @@
1
+ import { Dimension } from './Dimension.interface';
2
+ /**
3
+ * Spacing multipliers per density dimension.
4
+ *
5
+ * **Calibration (CHUTE — Q2 ADR-006):**
6
+ * - `compact` = 0.20 → tighter spacing for data-dense UIs (dashboards, tables)
7
+ * - `normal` = 0.25 → v3.x default (preserves existing visual)
8
+ * - `spacious` = 0.32 → looser spacing for marketing/touch-first surfaces
9
+ *
10
+ * Empirical calibration target: `compact` produces 30 table rows in 1080p
11
+ * without scroll. Final values may shift in a follow-up PR; the public
12
+ * surface (the multipliers object + indexed access) is stable.
13
+ *
14
+ * Default `normal` preserves v3.x `multiplier: 0.25` behavior — consumer
15
+ * unaware of E2 inherits identical spacing.
16
+ *
17
+ * @see ../../docs/adr/ADR-006-v4-oklch-dimension-token-split.md §6 S3 (Q2 calibration)
18
+ */
19
+ export declare const DIMENSION_MULTIPLIERS: Readonly<Record<Dimension, number>>;
20
+ /**
21
+ * Default dimension when consumer does not pass `<ApollionProvider dimension>`.
22
+ *
23
+ * Preserves v3.x behavior (multiplier 0.25) — silent migration for consumer
24
+ * that doesn't opt into E2 axis.
25
+ */
26
+ export declare const DEFAULT_DIMENSION: Dimension;
27
+ /**
28
+ * Resolve the spacing multiplier for a given dimension.
29
+ *
30
+ * Used by `Spacing.props.ts#createSpacing` when consumer activates the
31
+ * density axis via `<ApollionProvider dimension="compact|normal|spacious">`.
32
+ *
33
+ * @param dimension - density profile (see {@link Dimension})
34
+ * @returns rem multiplier (0.20 / 0.25 / 0.32)
35
+ */
36
+ export declare function getMultiplierForDimension(dimension: Dimension): number;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Barrel público do módulo `Dimension` (density axis — ADR-006 E2).
3
+ *
4
+ * Não confundir com `theme.semantic.dimension` (spacing-aliases layer); esta
5
+ * `Dimension` aqui é a density/multiplier axis introduzida em v4.
6
+ *
7
+ * @see ./Dimension.interface.ts (naming disambiguation completo)
8
+ */
9
+ export * from './Dimension.interface';
10
+ export * from './Dimension.props';
@@ -0,0 +1 @@
1
+ import{a,b,c}from"../../chunks/chunk-JOKVE3IX.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as DEFAULT_DIMENSION,a as DIMENSION_MULTIPLIERS,c as getMultiplierForDimension};
@@ -0,0 +1,32 @@
1
+ import type { FoundationLayer } from './Foundation.interface';
2
+ import type { SemanticLayer } from '../Semantic/Semantic.interface';
3
+ /**
4
+ * Resolve a camada Foundation a partir da camada Semantic.
5
+ *
6
+ * **Pureza + idempotência (contrato ADR-002 §9, herdado de Semantic):**
7
+ * - Não lê nada externo (Date, Math.random, env, DOM).
8
+ * - Não muta a entrada.
9
+ * - Mesma entrada → mesma saída (referencialmente nova, byte-equivalente).
10
+ *
11
+ * Foundation é puramente derivativa de Semantic — toda alteração de cor/
12
+ * espaçamento propaga via Semantic. Mapping segue ADR-002 §3 + §5.
13
+ *
14
+ * @param semantic - Camada Semantic já resolvida (vinda de `createSemantic`).
15
+ * @returns Camada Foundation completa, pronta pra ser plugada em
16
+ * `theme.foundation`.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * // Em código de produto (DEX/Jovian/Fanaticofc):
21
+ * const StyledCTA = styled.button`
22
+ * background: ${({ theme }) => theme.foundation.bg.primary};
23
+ * color: ${({ theme }) => theme.foundation.text.onPrimary};
24
+ * padding: ${({ theme }) => theme.foundation.spacing.md};
25
+ * `;
26
+ * ```
27
+ *
28
+ * @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md §3, §5
29
+ * @see ../Semantic/Semantic.helpers.ts (camada de origem)
30
+ * @see ./README.md (cheatsheet completo)
31
+ */
32
+ export declare function createFoundation(semantic: SemanticLayer): FoundationLayer;
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Camada Foundation do theme — aliases curtos e ergonômicos sobre Semantic.
3
+ * Esta é a camada que produto (telas, features, clients DEX/Jovian/Fanaticofc)
4
+ * deve consumir por default.
5
+ *
6
+ * Filosofia (Aplica DS, adotada literalmente): "Foundation is not a technical
7
+ * simplification — it is a product decision." Não exige saber a taxonomia
8
+ * Semantic completa; um dev de produto escreve `theme.foundation.bg.primary`
9
+ * em vez de `theme.semantic.color.interface.function.primary.normal.bg`.
10
+ *
11
+ * Quem deve usar o quê (ADR-002 §5):
12
+ * - Produto → Foundation (esta camada)
13
+ * - Componentes → Semantic
14
+ * - Engine → Structural (`theme.colors.*`, `theme.spacing(...)`)
15
+ *
16
+ * @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
17
+ * @see ../../docs/CONCEPTS.md §2 (Layer Cake) · §3 (3-group communication)
18
+ * @see ./README.md (cheatsheet completo)
19
+ */
20
+ /**
21
+ * Aliases curtos para cores de fundo. Mapeiam para Semantic da seguinte
22
+ * forma:
23
+ * - `bg.primary` ← `semantic.color.interface.function.primary.normal.bg`
24
+ * - `bg.secondary` ← `semantic.color.interface.function.secondary.normal.bg`
25
+ * - `bg.tertiary` ← `semantic.color.interface.function.tertiary.normal.bg`
26
+ * - `bg.success` ← `semantic.color.feedback.success.bg`
27
+ * - `bg.danger` ← `semantic.color.feedback.danger.bg`
28
+ * - `bg.warning` ← `semantic.color.feedback.warning.bg`
29
+ * - `bg.info` ← `semantic.color.feedback.information.bg`
30
+ */
31
+ export interface FoundationBg {
32
+ primary: string;
33
+ secondary: string;
34
+ tertiary: string;
35
+ success: string;
36
+ danger: string;
37
+ warning: string;
38
+ info: string;
39
+ }
40
+ /**
41
+ * Aliases curtos para cores de texto "sobre" um fundo Foundation. O sufixo
42
+ * (`onPrimary`) indica explicitamente o par de bg.
43
+ *
44
+ * Garantia de contraste WCAG ≥ AA é responsabilidade da camada Semantic
45
+ * (que escolhe `baseLight` ou `baseDark` para cada `txtOn`).
46
+ */
47
+ export interface FoundationText {
48
+ onPrimary: string;
49
+ onSecondary: string;
50
+ onTertiary: string;
51
+ onSuccess: string;
52
+ onDanger: string;
53
+ onWarning: string;
54
+ onInfo: string;
55
+ }
56
+ /**
57
+ * Aliases curtos de espaçamento. Mapeiam para spacing Semantic preservando
58
+ * convenção de 2-3 letras canônica (xs/sm/md/lg/xl/xxl).
59
+ *
60
+ * Tradução para spacing aliases legadas de Apollion:
61
+ * - `xs` ← `semantic.dimension.spacing.xs`
62
+ * - `sm` ← `semantic.dimension.spacing.small`
63
+ * - `md` ← `semantic.dimension.spacing.medium`
64
+ * - `lg` ← `semantic.dimension.spacing.large`
65
+ * - `xl` ← `semantic.dimension.spacing.xl`
66
+ * - `xxl` ← `semantic.dimension.spacing.xxl`
67
+ */
68
+ export interface FoundationSpacing {
69
+ xs: string;
70
+ sm: string;
71
+ md: string;
72
+ lg: string;
73
+ xl: string;
74
+ xxl: string;
75
+ }
76
+ /**
77
+ * Forma completa da camada Foundation. Exposta em `theme.foundation` a partir
78
+ * do Apollion v3.2.0 (ADR-002 Slice 3).
79
+ */
80
+ export interface FoundationLayer {
81
+ bg: FoundationBg;
82
+ text: FoundationText;
83
+ spacing: FoundationSpacing;
84
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Camada Foundation — aliases curtos e ergonômicos sobre Semantic.
3
+ *
4
+ * Exposta em `theme.foundation` a partir de `@apollion-dsi/core` 3.2.0.
5
+ *
6
+ * Subpath import (preferido):
7
+ * ```ts
8
+ * import { createFoundation, type FoundationLayer } from '@apollion-dsi/core/themes/foundation';
9
+ * ```
10
+ *
11
+ * Re-exportada também pelo barrel `themes` para compat com consumers
12
+ * pre-subpath: `import { createFoundation } from '@apollion-dsi/core/themes';`.
13
+ *
14
+ * @see ../../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
15
+ */
16
+ export type { FoundationBg, FoundationLayer, FoundationSpacing, FoundationText } from './Foundation.interface';
17
+ export { createFoundation } from './Foundation.helpers';
@@ -0,0 +1 @@
1
+ import"../../chunks/chunk-CWRWYU7D.esm.js";import{a}from"../../chunks/chunk-TVJISBND.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as createFoundation};
@@ -1,4 +1,4 @@
1
- import { DefaultTheme, RuleSet } from 'styled-components';
1
+ import { DefaultTheme, RuleSet } from '../../vendors/StyledComponents';
2
2
  export declare const GlobalStyleComponent: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & {
3
3
  theme: DefaultTheme;
4
4
  extend?: RuleSet<{
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk-SHDMTEPB.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as GlobalStyle};
1
+ import{a}from"../../chunks/chunk-EEBGH4FW.esm.js";import"../../chunks/chunk-APD22JEO.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as GlobalStyle};
@@ -0,0 +1,50 @@
1
+ import type { SemanticLayer } from './Semantic.interface';
2
+ import type { ColorsThemeInterface } from '../Colors/Colors.interface';
3
+ import type { SpacingThemeInterface } from '../Spacing/Spacing.interface';
4
+ /**
5
+ * Subset do `Theme` estrutural necessário para derivar a camada Semantic.
6
+ *
7
+ * Tipado explicitamente (em vez de `Theme`) para evitar ciclo de tipos
8
+ * `ThemeProvider.interface → Semantic.interface → ThemeProvider.interface`.
9
+ */
10
+ export interface CreateSemanticInput {
11
+ colors: ColorsThemeInterface;
12
+ spacing: SpacingThemeInterface;
13
+ }
14
+ /**
15
+ * Resolve a camada Semantic a partir do theme estrutural.
16
+ *
17
+ * **Pureza + idempotência (contrato de ADR-002 §9):**
18
+ * - Não lê nada externo (Date, Math.random, env, DOM).
19
+ * - Não muta a entrada.
20
+ * - Mesma entrada → mesma saída (referencialmente nova, byte-equivalente).
21
+ *
22
+ * Esse contrato é o que permite chamada via `useMemo([theme])` para
23
+ * performance, sem depender de garantias semânticas do React (que reserva o
24
+ * direito de descartar caches — ver ADR-002 §9 / React docs).
25
+ *
26
+ * Mapping rationale (ADR-002 §5, Aplica ⇄ Apollion):
27
+ * - `feedback.{state}.bg` ← `colors.{state}.base`
28
+ * - `feedback.{state}.txtOn` ← `colors.{baseLight | baseDark}` por contraste
29
+ * - `feedback.{state}.border` ← `colors.{state}.dark`
30
+ * - `interface.function.{role}.normal.bg` ← `colors.{role}.base`
31
+ * - `interface.function.{role}.normal.txtOn` ← contraste sobre `bg`
32
+ * - `brand.{first,second,third}.default.surface` ← `colors.{main,opposite,complementary}.base`
33
+ * - `dimension.spacing.{alias}` ← `spacing(alias)`
34
+ *
35
+ * @param theme - Subset do theme estrutural com `colors` e `spacing` resolvidos.
36
+ * @returns Camada Semantic completa, pronta pra ser plugada em `theme.semantic`.
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * import { createTheme } from '@apollion-dsi/core/themes';
41
+ *
42
+ * const theme = createTheme();
43
+ * theme.semantic.color.feedback.success.bg;
44
+ * // → mesmo valor que theme.colors.success.base
45
+ * ```
46
+ *
47
+ * @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md §3, §5, §9
48
+ * @see ../../docs/CONCEPTS.md §2 Layer Cake
49
+ */
50
+ export declare function createSemantic(theme: CreateSemanticInput): SemanticLayer;
@@ -0,0 +1,131 @@
1
+ /**
2
+ * Camada Semantic do theme — tokens nomeados por intenção, mirror direto da
3
+ * taxonomia de Aplica DS (`semantic.<category>.<group>.<state>.<property>`).
4
+ *
5
+ * Esta camada NÃO substitui a camada estrutural (`theme.colors.*`,
6
+ * `theme.spacing(...)`, etc.); ela é uma leitura paralela, derivada uma
7
+ * única vez em `createTheme()` a partir dos tokens estruturais já existentes.
8
+ *
9
+ * Componentes do `@apollion-dsi/core` devem preferir tokens Semantic ao
10
+ * acessar cores/dimensões com intent claro (feedback, interface function,
11
+ * brand). Produto deve consumir Foundation (camada acima) — ver §3 da
12
+ * `docs/adr/ADR-002-layered-theme-aliases-and-surface.md`.
13
+ *
14
+ * @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
15
+ * @see ../../docs/CONCEPTS.md §2 (Layer Cake) · §5 (Apollion ⇄ Aplica map)
16
+ * @see https://docs.aplica.me/en-US/design-tokens-fundamentals/token-architecture
17
+ */
18
+ /**
19
+ * Par cor-de-fundo / cor-de-texto-sobre. Convenção Aplica DS.
20
+ * `txtOn` é a cor de texto garantida com contraste WCAG ≥ AA sobre `bg`.
21
+ */
22
+ export interface SemanticBgPair {
23
+ bg: string;
24
+ txtOn: string;
25
+ }
26
+ /**
27
+ * Triplet com borda explícita, usado em estados de feedback (success, danger,
28
+ * warning, information) onde a borda costuma destacar o card/notification.
29
+ */
30
+ export interface SemanticFeedbackTokens extends SemanticBgPair {
31
+ border: string;
32
+ }
33
+ /**
34
+ * Tokens de feedback — comunicam estado funcional ao usuário.
35
+ * Mapeiam para `theme.colors.{success, danger, warning, information}` no
36
+ * nível estrutural.
37
+ */
38
+ export interface SemanticColorFeedback {
39
+ success: SemanticFeedbackTokens;
40
+ danger: SemanticFeedbackTokens;
41
+ warning: SemanticFeedbackTokens;
42
+ information: SemanticFeedbackTokens;
43
+ }
44
+ /**
45
+ * Estado de um par interface.function (default `normal`). Reservado para
46
+ * expansão futura (`hover`, `pressed`, `disabled`) sem breaking change.
47
+ */
48
+ export interface SemanticInterfaceFunctionStates {
49
+ normal: SemanticBgPair;
50
+ }
51
+ /**
52
+ * Tokens funcionais de interface — papéis de ação (primary, secondary,
53
+ * tertiary). Mapeiam para `theme.colors.{primary, secondary, tertiary}`.
54
+ */
55
+ export interface SemanticColorInterfaceFunction {
56
+ primary: SemanticInterfaceFunctionStates;
57
+ secondary: SemanticInterfaceFunctionStates;
58
+ tertiary: SemanticInterfaceFunctionStates;
59
+ }
60
+ /**
61
+ * Tokens de interface — agrega `function` e (futuramente) outros papéis.
62
+ */
63
+ export interface SemanticColorInterface {
64
+ function: SemanticColorInterfaceFunction;
65
+ }
66
+ /**
67
+ * Superfície + texto-sobre para uma cor de marca, no estado default.
68
+ * Reservado `default` como string-key para permitir variantes futuras.
69
+ */
70
+ export interface SemanticBrandTokens {
71
+ default: {
72
+ surface: string;
73
+ txtOn: string;
74
+ };
75
+ }
76
+ /**
77
+ * Tokens de marca — identidade visual. Mapeiam para
78
+ * `theme.colors.{main, opposite, complementary}` no estrutural.
79
+ *
80
+ * `first`/`second`/`third` reflete a nomenclatura Aplica DS (ordem de
81
+ * apresentação) em vez da nomenclatura legada Apollion
82
+ * (`main`/`opposite`/`complementary`).
83
+ */
84
+ export interface SemanticColorBrand {
85
+ first: SemanticBrandTokens;
86
+ second: SemanticBrandTokens;
87
+ third: SemanticBrandTokens;
88
+ }
89
+ /**
90
+ * Camada de cores da Semantic.
91
+ */
92
+ export interface SemanticColor {
93
+ feedback: SemanticColorFeedback;
94
+ interface: SemanticColorInterface;
95
+ brand: SemanticColorBrand;
96
+ }
97
+ /**
98
+ * Spacing pré-resolvido em string CSS (`'8px'`, `'1rem'`, etc.), gerado uma
99
+ * única vez em `createSemantic()` a partir de `theme.spacing(alias)`.
100
+ *
101
+ * Apollion usa as aliases legadas `zero..giant` no nível estrutural; a camada
102
+ * Semantic preserva essas mesmas chaves para evitar tradução cognitiva
103
+ * desnecessária (ADR-002 §5 deferiu adoção da nomenclatura Fibonacci de
104
+ * Aplica para o ADR-003 / v4 epic).
105
+ */
106
+ export interface SemanticDimensionSpacing {
107
+ zero: string;
108
+ micro: string;
109
+ xs: string;
110
+ small: string;
111
+ medium: string;
112
+ large: string;
113
+ xl: string;
114
+ xxl: string;
115
+ giant: string;
116
+ }
117
+ /**
118
+ * Camada de dimensão da Semantic. Atualmente cobre apenas spacing; tipografia
119
+ * e elevation podem entrar em iterações futuras sem breaking change.
120
+ */
121
+ export interface SemanticDimension {
122
+ spacing: SemanticDimensionSpacing;
123
+ }
124
+ /**
125
+ * Forma completa da camada Semantic. Exposta em `theme.semantic` a partir do
126
+ * Apollion v3.1.0.
127
+ */
128
+ export interface SemanticLayer {
129
+ color: SemanticColor;
130
+ dimension: SemanticDimension;
131
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Camada Semantic — tokens nomeados por intenção, mirror de Aplica DS.
3
+ *
4
+ * Exposta em `theme.semantic` a partir de `@apollion-dsi/core` 3.1.0.
5
+ *
6
+ * Subpath import (preferido):
7
+ * ```ts
8
+ * import { createSemantic, type SemanticLayer } from '@apollion-dsi/core/themes/semantic';
9
+ * ```
10
+ *
11
+ * Re-exportada também pelo barrel `themes` para compat com consumers
12
+ * pre-subpath: `import { createSemantic } from '@apollion-dsi/core/themes';`.
13
+ *
14
+ * @see ../../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
15
+ */
16
+ export type { CreateSemanticInput } from './Semantic.helpers';
17
+ export type { SemanticBgPair, SemanticBrandTokens, SemanticColor, SemanticColorBrand, SemanticColorFeedback, SemanticColorInterface, SemanticColorInterfaceFunction, SemanticDimension, SemanticDimensionSpacing, SemanticFeedbackTokens, SemanticInterfaceFunctionStates, SemanticLayer, } from './Semantic.interface';
18
+ export { createSemantic } from './Semantic.helpers';
@@ -0,0 +1 @@
1
+ import{a}from"../../chunks/chunk-V5ZKDMDH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as createSemantic};
@@ -1,3 +1,34 @@
1
1
  import { SpacingInput, SpacingThemeInterface } from './Spacing.interface';
2
+ import { Dimension } from '../Dimension';
2
3
  export declare const defaultInputSpacing: SpacingInput;
3
- export declare function createSpacing({ multiplier, alias }: SpacingInput): SpacingThemeInterface;
4
+ /**
5
+ * Build the `theme.spacing(...)` function.
6
+ *
7
+ * **v4 (ADR-006 E2):** accepts optional `dimension` (density axis). When
8
+ * provided, the dimension's calibrated multiplier (see
9
+ * {@link DIMENSION_MULTIPLIERS} in `../Dimension`) **overrides** any
10
+ * `input.multiplier` from the spacing input. Consumer activates via
11
+ * `<ApollionProvider dimension>` and the spacing scale aliases adjust
12
+ * proportionally without recomputing the alias table.
13
+ *
14
+ * Resolution order:
15
+ * 1. If `dimension` arg provided → `getMultiplierForDimension(dimension)`.
16
+ * 2. Else → `input.multiplier ?? 0.25` (v3.x behavior preserved).
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * theme.spacing('medium') // '1rem' (normal: 0.25 * 4)
21
+ * theme.spacing('medium', 'xs') // '1rem 0.5rem'
22
+ * theme.spacing(10) // '2.5rem'
23
+ *
24
+ * // Under <ApollionProvider dimension="compact">:
25
+ * theme.spacing('medium') // '0.8rem' (0.20 * 4)
26
+ *
27
+ * // Under <ApollionProvider dimension="spacious">:
28
+ * theme.spacing('medium') // '1.28rem' (0.32 * 4)
29
+ * ```
30
+ *
31
+ * @see ../../docs/adr/ADR-006-v4-oklch-dimension-token-split.md §6 S3
32
+ * @see ../Dimension/Dimension.props.ts
33
+ */
34
+ export declare function createSpacing({ multiplier, alias }: SpacingInput, dimension?: Dimension): SpacingThemeInterface;
@@ -1 +1 @@
1
- import{a,b}from"../../chunks/chunk-DP6AXK72.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as createSpacing,a as defaultInputSpacing};
1
+ import{a,b}from"../../chunks/chunk-TG5BCBO4.esm.js";import"../../chunks/chunk-JOKVE3IX.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as createSpacing,a as defaultInputSpacing};
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import type { SurfaceMode } from './Surface.interface';
3
+ /**
4
+ * Props do `SurfaceProvider`.
5
+ */
6
+ export interface SurfaceProviderProps {
7
+ /**
8
+ * Surface mode aplicado ao subtree.
9
+ *
10
+ * - `'positive'` (default): no-op. Theme passa intacto.
11
+ * - `'negative'`: inverte Semantic + Foundation para "dark backdrop
12
+ * treatment" (ver `invertForSurface` para semântica exata).
13
+ */
14
+ surface?: SurfaceMode;
15
+ children?: React.ReactNode;
16
+ }
17
+ /**
18
+ * Wrapper leve para inverter o `surface` de um subtree sem re-mount dos
19
+ * providers do `ApollionProvider` (StyleSheetManager, BreakpointsProvider,
20
+ * NotificationsProvider).
21
+ *
22
+ * Implementação segue ADR-002 §9 (grill-with-docs §1): usa a forma
23
+ * **função-theme** do styled-components ThemeProvider, que recebe o outer
24
+ * theme da árvore pai. Sem dependência de "default merge semantics" (que
25
+ * não está documentada).
26
+ *
27
+ * Por que `useCallback`: garante referência estável da função `themeFn`
28
+ * entre renders quando `surface` não muda — evita que styled-components
29
+ * recompute o theme do subtree.
30
+ *
31
+ * @example
32
+ * ```tsx
33
+ * <ApollionProvider> // outer, positive (default)
34
+ * <Page>
35
+ * <SurfaceProvider surface="negative">
36
+ * <Card /> // dark card on light page
37
+ * </SurfaceProvider>
38
+ * </Page>
39
+ * </ApollionProvider>
40
+ * ```
41
+ *
42
+ * @see ./Surface.helpers.ts (invertForSurface — pure helper)
43
+ * @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md §3.2, §9
44
+ * @see ./README.md
45
+ */
46
+ export declare const SurfaceProvider: React.FC<SurfaceProviderProps>;
@@ -0,0 +1,52 @@
1
+ import type { SurfaceMode } from './Surface.interface';
2
+ import type { Theme } from '../ThemeProvider/ThemeProvider.interface';
3
+ /**
4
+ * Inverte um `Theme` para um surface mode específico, sem mutar a entrada
5
+ * nem tocar a camada Structural.
6
+ *
7
+ * **Pureza + idempotência (contrato ADR-002 §9):**
8
+ * - Não lê nada externo (Date, Math.random, env, DOM).
9
+ * - Não muta a entrada (`theme` permanece intacto após chamada).
10
+ * - Mesma entrada → mesma saída (referencialmente nova, byte-equivalente).
11
+ * - `invertForSurface(invertForSurface(theme, 'negative'), 'negative')` !==
12
+ * `theme` (intencionalmente — segunda inversão NÃO retorna ao original;
13
+ * `negative` é um terminal state baseado no Structural, não bg↔txt swap).
14
+ *
15
+ * Semântica de inversão (v1 — ADR-002 Slice 4):
16
+ * - **Structural** (`theme.colors.*`, `theme.spacing(...)`): inalterado.
17
+ * - **Semantic** + **Foundation** são reconstruídos a partir do Structural
18
+ * com regra "dark backdrop treatment":
19
+ * - `feedback.{state}.bg` ← `colors.{state}.dark` (mantém hue, escurece)
20
+ * - `feedback.{state}.txtOn` ← `colors.baseLight`
21
+ * - `feedback.{state}.border` ← `colors.{state}.base` (borda fica brilhante)
22
+ * - `interface.function.{role}.normal.bg` ← `colors.baseDark` (neutro escuro
23
+ * universal — cor de função perde saturação para virar "surface dark")
24
+ * - `interface.function.{role}.normal.txtOn` ← `colors.baseLight`
25
+ * - `brand.{n}.default.surface` ← `colors.{main|opposite|complementary}.dark`
26
+ * - `brand.{n}.default.txtOn` ← `colors.baseLight`
27
+ * - **Dimension** (spacing): inalterado.
28
+ *
29
+ * Limitação documentada (v1): inversão é determinística e ignora `themeMode`
30
+ * (Apollion v3.x não tem mode resolution algorítmico). Em ADR-003 (v4 epic
31
+ * com Mode + Dimension axes) a semântica vira "negative dentro do mode
32
+ * corrente" — ver Aplica DS docs.
33
+ *
34
+ * @param theme - Theme base resolvido (vindo de `createTheme()` ou de outer
35
+ * ThemeProvider).
36
+ * @param surface - `'positive'` (no-op, retorna `theme`) ou `'negative'`.
37
+ * @returns Novo Theme. Para `positive` é a referência original (identity).
38
+ *
39
+ * @example
40
+ * ```tsx
41
+ * import { invertForSurface } from '@apollion-dsi/core/themes/surface';
42
+ *
43
+ * const negativeTheme = invertForSurface(theme, 'negative');
44
+ * negativeTheme.foundation.bg.primary; // → theme.colors.baseDark
45
+ * negativeTheme.foundation.text.onPrimary; // → theme.colors.baseLight
46
+ * theme.foundation.bg.primary; // unchanged (input não mutado)
47
+ * ```
48
+ *
49
+ * @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md §3, §9
50
+ * @see ./README.md
51
+ */
52
+ export declare function invertForSurface(theme: Theme, surface: SurfaceMode, mode?: import('../ThemeProvider/ThemeProvider.interface').ThemeMode): Theme;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Surface modes do theme. Conceito importado de Aplica DS (Poe).
3
+ *
4
+ * - `positive`: surface "normal" da página — fundo principal. Default.
5
+ * - `negative`: surface invertida/destacada (dark card numa página light,
6
+ * highlighted section, badge invertido). Texto sempre claro sobre bg
7
+ * escuro/saturado.
8
+ *
9
+ * Surface é **ortogonal a themeMode** (light/dark): `negative` em light mode
10
+ * = "dark surface numa página clara"; `negative` em dark mode = "lighter
11
+ * surface numa página escura". Ver ADR-002 §9 + grill-with-docs §5.
12
+ *
13
+ * Ortogonalidade verificada contra Aplica DS:
14
+ * https://docs.aplica.me/en-US/design-tokens-fundamentals/token-architecture
15
+ * "N_brands × 2 modes × 2 surfaces × 3 dimensions = N × 12 variants"
16
+ *
17
+ * @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
18
+ * @see ./README.md
19
+ */
20
+ export type SurfaceMode = 'positive' | 'negative';
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Camada Surface — wrapper de inversão contextual de Semantic + Foundation.
3
+ *
4
+ * Adicionada em `@apollion-dsi/core` 3.3.0 (ADR-002 Slice 4).
5
+ *
6
+ * Subpath import (preferido):
7
+ * ```ts
8
+ * import { SurfaceProvider, invertForSurface, type SurfaceMode } from '@apollion-dsi/core/themes/surface';
9
+ * ```
10
+ *
11
+ * Re-exportada também pelo barrel `themes`.
12
+ *
13
+ * @see ../../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
14
+ * @see ./README.md
15
+ */
16
+ export type { SurfaceMode } from './Surface.interface';
17
+ export { invertForSurface } from './Surface.helpers';
18
+ export { SurfaceProvider, type SurfaceProviderProps } from './Surface';
@@ -0,0 +1 @@
1
+ import{a,b}from"../../chunks/chunk-76C7AHBV.esm.js";import"../../chunks/chunk-TVJISBND.esm.js";import"../../chunks/chunk-APD22JEO.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as SurfaceProvider,a as invertForSurface};