tenara-ui-components 0.2.10 → 0.3.1

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 (232) hide show
  1. package/README.md +60 -23
  2. package/dist/assets/angle-divider-solid.svg +4 -0
  3. package/dist/assets/angle-divider.svg +5 -0
  4. package/dist/assets/banner_image.jpg +0 -0
  5. package/dist/assets/card-insights.png +0 -0
  6. package/dist/assets/card-team-member.png +0 -0
  7. package/dist/assets/file.svg +1 -0
  8. package/dist/assets/globe.svg +1 -0
  9. package/dist/assets/media-block.jpg +0 -0
  10. package/dist/assets/media_block.png +0 -0
  11. package/dist/assets/next.svg +1 -0
  12. package/dist/assets/play-button.svg +14 -0
  13. package/dist/assets/primax-play-button.png +0 -0
  14. package/dist/assets/spark-icon-large.svg +3 -0
  15. package/dist/assets/spark-icon-small.svg +3 -0
  16. package/dist/assets/spark-mask.svg +3 -0
  17. package/dist/assets/spark-pattern.png +0 -0
  18. package/dist/assets/spark-small-sparks.svg +4 -0
  19. package/dist/assets/sparkle-overlay.svg +9 -0
  20. package/dist/assets/vercel.svg +1 -0
  21. package/dist/assets/video-thumbnail.jpg +0 -0
  22. package/dist/assets/window.svg +1 -0
  23. package/dist/components/atoms/BackgroundMedia/BackgroundMedia.d.ts.map +1 -1
  24. package/dist/components/atoms/Breadcrumb/Breadcrumb.d.ts +14 -0
  25. package/dist/components/atoms/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  26. package/dist/components/atoms/Breadcrumb/index.d.ts +3 -0
  27. package/dist/components/atoms/Breadcrumb/index.d.ts.map +1 -0
  28. package/dist/components/atoms/BulletList/BulletList.d.ts +22 -0
  29. package/dist/components/atoms/BulletList/BulletList.d.ts.map +1 -0
  30. package/dist/components/atoms/BulletList/index.d.ts +3 -0
  31. package/dist/components/atoms/BulletList/index.d.ts.map +1 -0
  32. package/dist/components/atoms/Button/Button.d.ts +8 -3
  33. package/dist/components/atoms/Button/Button.d.ts.map +1 -1
  34. package/dist/components/atoms/Button/buttonIcons.d.ts +5 -1
  35. package/dist/components/atoms/Button/buttonIcons.d.ts.map +1 -1
  36. package/dist/components/atoms/Button/index.d.ts +3 -0
  37. package/dist/components/atoms/Button/index.d.ts.map +1 -0
  38. package/dist/components/atoms/ButtonLink/ButtonLink.d.ts +5 -1
  39. package/dist/components/atoms/ButtonLink/ButtonLink.d.ts.map +1 -1
  40. package/dist/components/atoms/Checkbox/Checkbox.d.ts +24 -0
  41. package/dist/components/atoms/Checkbox/Checkbox.d.ts.map +1 -0
  42. package/dist/components/atoms/Checkbox/index.d.ts +3 -0
  43. package/dist/components/atoms/Checkbox/index.d.ts.map +1 -0
  44. package/dist/components/atoms/ColorTable/ColorTable.d.ts +3 -3
  45. package/dist/components/atoms/ColorTable/ColorTable.d.ts.map +1 -1
  46. package/dist/components/atoms/Container/Container.d.ts +15 -0
  47. package/dist/components/atoms/Container/Container.d.ts.map +1 -0
  48. package/dist/components/atoms/Container/index.d.ts +3 -0
  49. package/dist/components/atoms/Container/index.d.ts.map +1 -0
  50. package/dist/components/atoms/Divider/Divider.d.ts +20 -0
  51. package/dist/components/atoms/Divider/Divider.d.ts.map +1 -0
  52. package/dist/components/atoms/Divider/index.d.ts +3 -0
  53. package/dist/components/atoms/Divider/index.d.ts.map +1 -0
  54. package/dist/components/atoms/Dropdown/Dropdown.d.ts +32 -0
  55. package/dist/components/atoms/Dropdown/Dropdown.d.ts.map +1 -0
  56. package/dist/components/atoms/Dropdown/index.d.ts +3 -0
  57. package/dist/components/atoms/Dropdown/index.d.ts.map +1 -0
  58. package/dist/components/atoms/Grid/Grid.d.ts +56 -22
  59. package/dist/components/atoms/Grid/Grid.d.ts.map +1 -1
  60. package/dist/components/atoms/Heading/Heading.d.ts +8 -0
  61. package/dist/components/atoms/Heading/Heading.d.ts.map +1 -1
  62. package/dist/components/atoms/Icon/Icon.d.ts +42 -0
  63. package/dist/components/atoms/Icon/Icon.d.ts.map +1 -0
  64. package/dist/components/atoms/Icon/index.d.ts +3 -0
  65. package/dist/components/atoms/Icon/index.d.ts.map +1 -0
  66. package/dist/components/atoms/Media/Media.d.ts +63 -0
  67. package/dist/components/atoms/Media/Media.d.ts.map +1 -0
  68. package/dist/components/atoms/Media/index.d.ts +3 -0
  69. package/dist/components/atoms/Media/index.d.ts.map +1 -0
  70. package/dist/components/atoms/Modal/Modal.d.ts +24 -0
  71. package/dist/components/atoms/Modal/Modal.d.ts.map +1 -0
  72. package/dist/components/atoms/Modal/index.d.ts +3 -0
  73. package/dist/components/atoms/Modal/index.d.ts.map +1 -0
  74. package/dist/components/atoms/Paragraph/Paragraph.d.ts +41 -0
  75. package/dist/components/atoms/Paragraph/Paragraph.d.ts.map +1 -0
  76. package/dist/components/atoms/Paragraph/index.d.ts +3 -0
  77. package/dist/components/atoms/Paragraph/index.d.ts.map +1 -0
  78. package/dist/components/atoms/PlayButton/PlayButton.d.ts +26 -0
  79. package/dist/components/atoms/PlayButton/PlayButton.d.ts.map +1 -0
  80. package/dist/components/atoms/PlayButton/index.d.ts +3 -0
  81. package/dist/components/atoms/PlayButton/index.d.ts.map +1 -0
  82. package/dist/components/atoms/RichText/RichText.d.ts +21 -0
  83. package/dist/components/atoms/RichText/RichText.d.ts.map +1 -0
  84. package/dist/components/atoms/RichText/index.d.ts +3 -0
  85. package/dist/components/atoms/RichText/index.d.ts.map +1 -0
  86. package/dist/components/atoms/TestTierVariables/TestTierVariables.d.ts +11 -0
  87. package/dist/components/atoms/TestTierVariables/TestTierVariables.d.ts.map +1 -0
  88. package/dist/components/atoms/TestTierVariables/index.d.ts +3 -0
  89. package/dist/components/atoms/TestTierVariables/index.d.ts.map +1 -0
  90. package/dist/components/atoms/TextInput/TextInput.d.ts +44 -0
  91. package/dist/components/atoms/TextInput/TextInput.d.ts.map +1 -0
  92. package/dist/components/atoms/TextInput/index.d.ts +3 -0
  93. package/dist/components/atoms/TextInput/index.d.ts.map +1 -0
  94. package/dist/components/atoms/TextLink/TextLink.d.ts +1 -0
  95. package/dist/components/atoms/TextLink/TextLink.d.ts.map +1 -1
  96. package/dist/components/atoms/TextLink/index.d.ts +3 -0
  97. package/dist/components/atoms/TextLink/index.d.ts.map +1 -0
  98. package/dist/components/index.d.ts +44 -0
  99. package/dist/components/index.d.ts.map +1 -1
  100. package/dist/components/molecules/CTA/CTA.d.ts.map +1 -1
  101. package/dist/components/molecules/Card/Card.d.ts +2 -0
  102. package/dist/components/molecules/Card/Card.d.ts.map +1 -1
  103. package/dist/components/molecules/Card/index.d.ts +3 -0
  104. package/dist/components/molecules/Card/index.d.ts.map +1 -0
  105. package/dist/components/molecules/Header/Header.d.ts +1 -0
  106. package/dist/components/molecules/Header/Header.d.ts.map +1 -1
  107. package/dist/components/molecules/Header/index.d.ts +3 -0
  108. package/dist/components/molecules/Header/index.d.ts.map +1 -0
  109. package/dist/components/molecules/Modal/Modal.d.ts +26 -0
  110. package/dist/components/molecules/Modal/Modal.d.ts.map +1 -0
  111. package/dist/components/molecules/Modal/index.d.ts +3 -0
  112. package/dist/components/molecules/Modal/index.d.ts.map +1 -0
  113. package/dist/components/molecules/VideoPlayer/VideoPlayer.d.ts +29 -0
  114. package/dist/components/molecules/VideoPlayer/VideoPlayer.d.ts.map +1 -0
  115. package/dist/components/molecules/VideoPlayer/index.d.ts +3 -0
  116. package/dist/components/molecules/VideoPlayer/index.d.ts.map +1 -0
  117. package/dist/components/molecules/primax/Banner/Banner.d.ts +46 -0
  118. package/dist/components/molecules/primax/Banner/Banner.d.ts.map +1 -0
  119. package/dist/components/molecules/primax/Banner/index.d.ts +3 -0
  120. package/dist/components/molecules/primax/Banner/index.d.ts.map +1 -0
  121. package/dist/components/molecules/primax/CTA/CTA.d.ts +28 -0
  122. package/dist/components/molecules/primax/CTA/CTA.d.ts.map +1 -0
  123. package/dist/components/molecules/primax/CTA/index.d.ts +3 -0
  124. package/dist/components/molecules/primax/CTA/index.d.ts.map +1 -0
  125. package/dist/components/molecules/primax/Card/Card.d.ts +46 -0
  126. package/dist/components/molecules/primax/Card/Card.d.ts.map +1 -0
  127. package/dist/components/molecules/primax/Card/index.d.ts +3 -0
  128. package/dist/components/molecules/primax/Card/index.d.ts.map +1 -0
  129. package/dist/components/molecules/primax/DropdownSelect/DropdownSelect.d.ts +50 -0
  130. package/dist/components/molecules/primax/DropdownSelect/DropdownSelect.d.ts.map +1 -0
  131. package/dist/components/molecules/primax/DropdownSelect/index.d.ts +3 -0
  132. package/dist/components/molecules/primax/DropdownSelect/index.d.ts.map +1 -0
  133. package/dist/components/molecules/primax/HalfColumn/HalfColumn.d.ts +60 -0
  134. package/dist/components/molecules/primax/HalfColumn/HalfColumn.d.ts.map +1 -0
  135. package/dist/components/molecules/primax/HalfColumn/index.d.ts +3 -0
  136. package/dist/components/molecules/primax/HalfColumn/index.d.ts.map +1 -0
  137. package/dist/components/molecules/primax/MediaBlock/MediaBlock.d.ts +45 -0
  138. package/dist/components/molecules/primax/MediaBlock/MediaBlock.d.ts.map +1 -0
  139. package/dist/components/molecules/primax/MediaBlock/assets.d.ts +10 -0
  140. package/dist/components/molecules/primax/MediaBlock/assets.d.ts.map +1 -0
  141. package/dist/components/molecules/primax/MediaBlock/index.d.ts +3 -0
  142. package/dist/components/molecules/primax/MediaBlock/index.d.ts.map +1 -0
  143. package/dist/components/molecules/primax/MediaPresentation/MediaPresentation.d.ts +8 -0
  144. package/dist/components/molecules/primax/MediaPresentation/MediaPresentation.d.ts.map +1 -0
  145. package/dist/components/molecules/primax/MediaPresentation/index.d.ts +2 -0
  146. package/dist/components/molecules/primax/MediaPresentation/index.d.ts.map +1 -0
  147. package/dist/components/molecules/primax/PlayIcon/PlayIcon.d.ts +11 -0
  148. package/dist/components/molecules/primax/PlayIcon/PlayIcon.d.ts.map +1 -0
  149. package/dist/components/molecules/primax/PlayIcon/index.d.ts +2 -0
  150. package/dist/components/molecules/primax/PlayIcon/index.d.ts.map +1 -0
  151. package/dist/components/molecules/primax/Subscribe/Subscribe.d.ts +58 -0
  152. package/dist/components/molecules/primax/Subscribe/Subscribe.d.ts.map +1 -0
  153. package/dist/components/molecules/primax/Subscribe/index.d.ts +3 -0
  154. package/dist/components/molecules/primax/Subscribe/index.d.ts.map +1 -0
  155. package/dist/components/molecules/primax/TwoColumn/TwoColumn.d.ts +37 -0
  156. package/dist/components/molecules/primax/TwoColumn/TwoColumn.d.ts.map +1 -0
  157. package/dist/components/molecules/primax/TwoColumn/index.d.ts +3 -0
  158. package/dist/components/molecules/primax/TwoColumn/index.d.ts.map +1 -0
  159. package/dist/components/molecules/primax/VideoSection/VideoSection.d.ts +31 -0
  160. package/dist/components/molecules/primax/VideoSection/VideoSection.d.ts.map +1 -0
  161. package/dist/components/molecules/primax/VideoSection/index.d.ts +3 -0
  162. package/dist/components/molecules/primax/VideoSection/index.d.ts.map +1 -0
  163. package/dist/components/pages/Page.d.ts +1 -0
  164. package/dist/components/pages/Page.d.ts.map +1 -1
  165. package/dist/components/pages/index.d.ts +2 -0
  166. package/dist/components/pages/index.d.ts.map +1 -0
  167. package/dist/components/utilities/ThemeInitializer.d.ts +2 -0
  168. package/dist/components/utilities/ThemeInitializer.d.ts.map +1 -0
  169. package/dist/components/utilities/index.d.ts +2 -0
  170. package/dist/components/utilities/index.d.ts.map +1 -0
  171. package/dist/index.css +1 -1
  172. package/dist/index.esm.css +1 -1
  173. package/dist/index.esm.js +1 -1
  174. package/dist/index.esm.js.map +1 -1
  175. package/dist/index.js +1 -1
  176. package/dist/index.js.map +1 -1
  177. package/dist/themes/core/client-provider.d.ts +2 -2
  178. package/dist/themes/core/client-provider.d.ts.map +1 -1
  179. package/dist/themes/core/color-system.d.ts +58 -57
  180. package/dist/themes/core/color-system.d.ts.map +1 -1
  181. package/dist/themes/core/context.d.ts +1 -1
  182. package/dist/themes/core/context.d.ts.map +1 -1
  183. package/dist/themes/core/design-system-types.d.ts +42 -0
  184. package/dist/themes/core/design-system-types.d.ts.map +1 -0
  185. package/dist/themes/core/dynamic-types.d.ts +80 -0
  186. package/dist/themes/core/dynamic-types.d.ts.map +1 -0
  187. package/dist/themes/core/new-color-system.d.ts +17 -0
  188. package/dist/themes/core/new-color-system.d.ts.map +1 -0
  189. package/dist/themes/core/new-typography-system.d.ts +17 -0
  190. package/dist/themes/core/new-typography-system.d.ts.map +1 -0
  191. package/dist/themes/core/style-variable-schema.d.ts +107 -0
  192. package/dist/themes/core/style-variable-schema.d.ts.map +1 -0
  193. package/dist/themes/core/types.d.ts +74 -38
  194. package/dist/themes/core/types.d.ts.map +1 -1
  195. package/dist/themes/hooks/useColorTokens.d.ts.map +1 -1
  196. package/dist/themes/index.d.ts +2 -2
  197. package/dist/themes/index.d.ts.map +1 -1
  198. package/dist/themes/presets/advisors-plus.d.ts.map +1 -1
  199. package/dist/themes/presets/builders/color-builder.d.ts +109 -0
  200. package/dist/themes/presets/builders/color-builder.d.ts.map +1 -0
  201. package/dist/themes/presets/builders/component-builder.d.ts +154 -0
  202. package/dist/themes/presets/builders/component-builder.d.ts.map +1 -0
  203. package/dist/themes/presets/builders/index.d.ts +13 -0
  204. package/dist/themes/presets/builders/index.d.ts.map +1 -0
  205. package/dist/themes/presets/builders/typography-builder.d.ts +149 -0
  206. package/dist/themes/presets/builders/typography-builder.d.ts.map +1 -0
  207. package/dist/themes/presets/color-systems/advisors-plus-colors.d.ts.map +1 -1
  208. package/dist/themes/presets/color-systems/default-colors.d.ts +1 -1
  209. package/dist/themes/presets/color-systems/default-colors.d.ts.map +1 -1
  210. package/dist/themes/presets/color-systems/primax-colors.d.ts.map +1 -1
  211. package/dist/themes/presets/default.d.ts.map +1 -1
  212. package/dist/themes/presets/dynamic-advisors-plus.d.ts +40 -0
  213. package/dist/themes/presets/dynamic-advisors-plus.d.ts.map +1 -0
  214. package/dist/themes/presets/dynamic-default.d.ts +41 -0
  215. package/dist/themes/presets/dynamic-default.d.ts.map +1 -0
  216. package/dist/themes/presets/dynamic-primax.d.ts +38 -0
  217. package/dist/themes/presets/dynamic-primax.d.ts.map +1 -0
  218. package/dist/themes/presets/new-default.d.ts +7 -0
  219. package/dist/themes/presets/new-default.d.ts.map +1 -0
  220. package/dist/themes/presets/primax.d.ts +1 -1
  221. package/dist/themes/presets/primax.d.ts.map +1 -1
  222. package/dist/themes/theme-loader.d.ts +15 -0
  223. package/dist/themes/theme-loader.d.ts.map +1 -0
  224. package/dist/themes/utils/generator.d.ts +2 -1
  225. package/dist/themes/utils/generator.d.ts.map +1 -1
  226. package/dist/themes/utils/helpers.d.ts +4 -2
  227. package/dist/themes/utils/helpers.d.ts.map +1 -1
  228. package/dist/themes/utils/migration.d.ts +94 -0
  229. package/dist/themes/utils/migration.d.ts.map +1 -0
  230. package/dist/themes/utils/new-generator.d.ts +27 -0
  231. package/dist/themes/utils/new-generator.d.ts.map +1 -0
  232. package/package.json +36 -37
@@ -1 +1 @@
1
- {"version":3,"file":"color-system.d.ts","sourceRoot":"","sources":["../../../src/themes/core/color-system.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,WAAW,eAAe;IAE9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IAGd,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAQD,MAAM,WAAW,mBAAmB;IAElC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM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E,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAMD,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,eAAe,CAAC;IAC5B,QAAQ,EAAE,mBAAmB,CAAC;CAC/B"}
@@ -17,7 +17,7 @@ interface ThemeProviderProps {
17
17
  * Theme provider optimized for single-theme tenant sites
18
18
  * Sets theme once on mount - no runtime switching needed
19
19
  */
20
- export declare function ThemeProvider({ children, initialTheme, initialThemeName }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function ThemeProvider({ children, initialTheme, initialThemeName, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
21
21
  /**
22
22
  * Hook to access current theme (read-only for tenant sites)
23
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/themes/core/context.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAc,EAAwC,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA+BpD,UAAU,iBAAiB;IACzB,YAAY,EAAE,WAAW,CAAC;IAC1B,SAAS,EAAE,YAAY,CAAC;CACzB;AAID,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,gBAAgB,CAAC,EAAE,YAAY,CAAC;CACjC;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,YAA2B,EAC3B,gBAA4B,EAC7B,EAAE,kBAAkB,2CAiBpB;AAED;;GAEG;AACH,wBAAgB,QAAQ,IAAI,iBAAiB,CAM5C"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/themes/core/context.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAc,EAAwC,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA+BpD,UAAU,iBAAiB;IACzB,YAAY,EAAE,WAAW,CAAC;IAC1B,SAAS,EAAE,YAAY,CAAC;CACzB;AAID,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,gBAAgB,CAAC,EAAE,YAAY,CAAC;CACjC;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,YAA2B,EAC3B,gBAA4B,GAC7B,EAAE,kBAAkB,2CAapB;AAED;;GAEG;AACH,wBAAgB,QAAQ,IAAI,iBAAiB,CAM5C"}
@@ -0,0 +1,42 @@
1
+ type ColorCategory = 'color' | 'typography';
2
+ type ColorName = 'coral' | 'purple' | 'blue' | 'neutral' | 'alert' | 'warning' | 'success';
3
+ type ColorShade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
4
+ type ColorTier1 = `${ColorCategory}-${ColorName}-${ColorShade}`;
5
+ type Tier = 'tier1' | 'tier2' | 'tier3';
6
+ type BackgroundColor = 'white' | 'grey' | 'idigo' | 'cobalt' | 'theme';
7
+ type ColorPropertySurface = 'background' | 'content' | 'border' | 'color' | 'interactive';
8
+ type Intention = 'default' | 'disabled' | 'utility' | 'dataviz' | 'accent' | 'transparent' | 'brand' | 'state' | 'interactive' | 'link';
9
+ type ColorVariant = 'strong' | 'error' | 'success' | 'warning' | 'info' | 'knockout' | 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'accent' | 'inverse' | 'link' | 'default';
10
+ type State = 'default' | 'focus' | 'hover' | 'active' | 'pressed' | 'disabled' | 'background';
11
+ type ColorTier2 = `${Tier}-${BackgroundColor}-color-${ColorPropertySurface}-${Intention}-${ColorVariant}-${State}`;
12
+ type Component = 'link' | 'table' | 'header' | 'form' | 'focus-ring' | 'button';
13
+ type ComponentVariant = 'secondary' | 'tertiary' | 'link' | 'knockout' | 'primary' | 'general' | 'cta' | 'outline' | 'ghost' | 'twitter' | 'linkedin' | 'facebook';
14
+ type ComponentProperty = 'text' | 'icon' | 'border' | 'content';
15
+ type ColorTier3 = `${Tier}-${BackgroundColor}-${Component}-${ComponentVariant}-${ComponentProperty}-${State}`;
16
+ type TypographyProperty = 'font-family' | 'font-weight' | 'font-style' | 'line-height' | 'text-transform' | 'letter-spacing' | 'font-size';
17
+ type TypographyValue = '1' | '1.25' | '1.5' | '2' | '2.5' | '3';
18
+ type TypographyTier1 = `typography-${TypographyProperty}-${TypographyValue}`;
19
+ type TypographyIntention = 'title' | 'subtitle' | 'body' | 'label' | 'meta' | 'data' | 'headline' | 'heading';
20
+ type TypographyDesignVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'b1' | 'b2' | 'b3';
21
+ type Breakpoint = 'desktop' | 'tablet' | 'mobile';
22
+ type TypographyTier2 = `${Tier}-${BackgroundColor}-typography-${TypographyIntention}-${TypographyDesignVariant}-${Breakpoint}-${TypographyProperty}`;
23
+ type TypographyTier3 = `${Tier}-${BackgroundColor}-${Component}-${ComponentVariant}-${TypographyProperty}`;
24
+ export type DesignToken = ColorTier1 | ColorTier2 | ColorTier3 | TypographyTier1 | TypographyTier2 | TypographyTier3;
25
+ export interface ColorToken {
26
+ tier: Tier;
27
+ category: 'color';
28
+ value: string;
29
+ }
30
+ export interface TypographyToken {
31
+ tier: Tier;
32
+ category: 'typography';
33
+ value: string | number;
34
+ }
35
+ export interface Theme {
36
+ colors: Record<string, ColorToken>;
37
+ typography: Record<string, TypographyToken>;
38
+ }
39
+ export type ColorTokenKey = ColorTier1 | ColorTier2 | ColorTier3;
40
+ export type TypographyTokenKey = TypographyTier1 | TypographyTier2 | TypographyTier3;
41
+ export type { Tier, ColorCategory, ColorName, ColorShade, BackgroundColor, ColorPropertySurface, Intention, ColorVariant, State, ColorTier1, ColorTier2, ColorTier3, TypographyProperty, TypographyValue, TypographyIntention, TypographyDesignVariant, Breakpoint, TypographyTier1, TypographyTier2, TypographyTier3, Component, ComponentVariant, ComponentProperty };
42
+ //# sourceMappingURL=design-system-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"design-system-types.d.ts","sourceRoot":"","sources":["../../../src/themes/core/design-system-types.ts"],"names":[],"mappings":"AAOA,KAAK,aAAa,GAAG,OAAO,GAAG,YAAY,CAAC;AAC5C,KAAK,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GA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AW,UAAU;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,YAAY,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CAC7C;AAMD,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;AACjE,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,CAAC;AAMrF,YAAY,EAEV,IAAI,EACJ,aAAa,EAGb,SAAS,EACT,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,EACV,UAAU,EAGV,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,uBAAuB,EACvB,UAAU,EACV,eAAe,EACf,eAAe,EACf,eAAe,EAGf,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EAClB,CAAC"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Dynamic Token Interfaces for Theme System
3
+ *
4
+ * This module defines dynamic interfaces that use mapped types to generate
5
+ * all possible token combinations from the design system types. These interfaces
6
+ * extend the existing theme system while maintaining full backward compatibility.
7
+ */
8
+ import type { Tier, ColorPropertySurface, Intention, ColorVariant, State, TypographyIntention, TypographyDesignVariant, Breakpoint, TypographyProperty, Component, ComponentVariant, ComponentProperty, ColorTokenKey, TypographyTokenKey } from './design-system-types';
9
+ import type { ThemeConfig } from './types';
10
+ /**
11
+ * Dynamic color token interface that maps all possible color token combinations
12
+ * to string values. Uses mapped types to generate tokens from design system types.
13
+ *
14
+ * Supports tokens in the format:
15
+ * - tier1-theme-color-{surface}-{intention}-{variant}-{state}
16
+ * - tier3-theme-{component}-{variant}-{property}-{state}
17
+ */
18
+ export type DynamicColorTokens = {
19
+ [K in ColorTokenKey]?: string;
20
+ };
21
+ /**
22
+ * Dynamic typography token interface that maps all possible typography token
23
+ * combinations to string or number values. Uses mapped types for type safety.
24
+ *
25
+ * Supports tokens in the format:
26
+ * - tier1-theme-typography-{intention}-{variant}-{breakpoint}-{property}
27
+ * - tier3-theme-{component}-{variant}-{property}
28
+ */
29
+ export type DynamicTypographyTokens = {
30
+ [K in TypographyTokenKey]?: string | number;
31
+ };
32
+ /**
33
+ * Dynamic component token interface that supports flexible component-specific
34
+ * token definitions. Extends the existing ThemeComponents interface while
35
+ * allowing arbitrary component names and property combinations.
36
+ */
37
+ export interface DynamicComponentTokens {
38
+ [component: string]: {
39
+ [property: string]: string | number;
40
+ };
41
+ }
42
+ /**
43
+ * Helper type for color token parameters
44
+ */
45
+ export interface ColorTokenParams {
46
+ tier: Tier;
47
+ surface: ColorPropertySurface;
48
+ intention: Intention;
49
+ variant: ColorVariant;
50
+ state?: State;
51
+ }
52
+ /**
53
+ * Helper type for typography token parameters
54
+ */
55
+ export interface TypographyTokenParams {
56
+ tier: Tier;
57
+ intention: TypographyIntention;
58
+ variant: TypographyDesignVariant;
59
+ breakpoint: Breakpoint;
60
+ property: TypographyProperty;
61
+ }
62
+ /**
63
+ * Helper type for component token parameters
64
+ */
65
+ export interface ComponentTokenParams {
66
+ tier: Tier;
67
+ component: Component;
68
+ variant: ComponentVariant;
69
+ property: ComponentProperty;
70
+ state?: State;
71
+ }
72
+ /**
73
+ * Type guard to check if a theme config is a dynamic theme config
74
+ */
75
+ export declare function isDynamicThemeConfig(config: any): config is import('./types').DynamicThemeConfig;
76
+ /**
77
+ * Type guard to check if a theme config is a legacy theme config
78
+ */
79
+ export declare function isLegacyThemeConfig(config: any): config is ThemeConfig;
80
+ //# sourceMappingURL=dynamic-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-types.d.ts","sourceRoot":"","sources":["../../../src/themes/core/dynamic-types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,IAAI,EACJ,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,mBAAmB,EACnB,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EACV,WAAW,EACZ,MAAM,SAAS,CAAC;AAUjB;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAAG;KAE9B,CAAC,IAAI,aAAa,CAAC,CAAC,EAAE,MAAM;CAC9B,CAAC;AAMF;;;;;;;GAOG;AACH,MAAM,MAAM,uBAAuB,GAAG;KAEnC,CAAC,IAAI,kBAAkB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;CAC5C,CAAC;AAMF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IAErC,CAAC,SAAS,EAAE,MAAM,GAAG;QACnB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;KACrC,CAAC;CACH;AAaD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,oBAAoB,CAAC;IAC9B,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,mBAAmB,CAAC;IAC/B,OAAO,EAAE,uBAAuB,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,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