pixelize-native-library 1.0.6

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 (713) hide show
  1. package/README.md +34 -0
  2. package/lib/module/core/MODULE.md +94 -0
  3. package/lib/module/core/a11y/MODULE.md +22 -0
  4. package/lib/module/core/a11y/index.js +26 -0
  5. package/lib/module/core/a11y/index.js.map +1 -0
  6. package/lib/module/core/icon/MODULE.md +35 -0
  7. package/lib/module/core/icon/index.js +92 -0
  8. package/lib/module/core/icon/index.js.map +1 -0
  9. package/lib/module/core/style/index.js +4 -0
  10. package/lib/module/core/style/index.js.map +1 -0
  11. package/lib/module/core/style/layoutStyle.js +4 -0
  12. package/lib/module/core/style/layoutStyle.js.map +1 -0
  13. package/lib/module/core/style/variants.js +115 -0
  14. package/lib/module/core/style/variants.js.map +1 -0
  15. package/lib/module/index.js +13 -0
  16. package/lib/module/index.js.map +1 -0
  17. package/lib/module/modules/accordion/Accordion.js +194 -0
  18. package/lib/module/modules/accordion/Accordion.js.map +1 -0
  19. package/lib/module/modules/accordion/Accordion.variants.js +143 -0
  20. package/lib/module/modules/accordion/Accordion.variants.js.map +1 -0
  21. package/lib/module/modules/accordion/MODULE.md +97 -0
  22. package/lib/module/modules/accordion/index.js +10 -0
  23. package/lib/module/modules/accordion/index.js.map +1 -0
  24. package/lib/module/modules/alert-dialog/AlertDialog.js +62 -0
  25. package/lib/module/modules/alert-dialog/AlertDialog.js.map +1 -0
  26. package/lib/module/modules/alert-dialog/AlertDialog.variants.js +44 -0
  27. package/lib/module/modules/alert-dialog/AlertDialog.variants.js.map +1 -0
  28. package/lib/module/modules/alert-dialog/MODULE.md +81 -0
  29. package/lib/module/modules/alert-dialog/index.js +10 -0
  30. package/lib/module/modules/alert-dialog/index.js.map +1 -0
  31. package/lib/module/modules/avatar/Avatar.js +57 -0
  32. package/lib/module/modules/avatar/Avatar.js.map +1 -0
  33. package/lib/module/modules/avatar/Avatar.variants.js +127 -0
  34. package/lib/module/modules/avatar/Avatar.variants.js.map +1 -0
  35. package/lib/module/modules/avatar/MODULE.md +76 -0
  36. package/lib/module/modules/avatar/index.js +12 -0
  37. package/lib/module/modules/avatar/index.js.map +1 -0
  38. package/lib/module/modules/badge/Badge.js +56 -0
  39. package/lib/module/modules/badge/Badge.js.map +1 -0
  40. package/lib/module/modules/badge/Badge.variants.js +124 -0
  41. package/lib/module/modules/badge/Badge.variants.js.map +1 -0
  42. package/lib/module/modules/badge/MODULE.md +82 -0
  43. package/lib/module/modules/badge/index.js +12 -0
  44. package/lib/module/modules/badge/index.js.map +1 -0
  45. package/lib/module/modules/bottom-nav/BottomNav.js +257 -0
  46. package/lib/module/modules/bottom-nav/BottomNav.js.map +1 -0
  47. package/lib/module/modules/bottom-nav/BottomNav.search.js +153 -0
  48. package/lib/module/modules/bottom-nav/BottomNav.search.js.map +1 -0
  49. package/lib/module/modules/bottom-nav/BottomNav.variants.js +164 -0
  50. package/lib/module/modules/bottom-nav/BottomNav.variants.js.map +1 -0
  51. package/lib/module/modules/bottom-nav/BottomNavOverflowSheet.js +297 -0
  52. package/lib/module/modules/bottom-nav/BottomNavOverflowSheet.js.map +1 -0
  53. package/lib/module/modules/bottom-nav/MODULE.md +198 -0
  54. package/lib/module/modules/bottom-nav/index.js +16 -0
  55. package/lib/module/modules/bottom-nav/index.js.map +1 -0
  56. package/lib/module/modules/button/Button.js +173 -0
  57. package/lib/module/modules/button/Button.js.map +1 -0
  58. package/lib/module/modules/button/Button.variants.js +173 -0
  59. package/lib/module/modules/button/Button.variants.js.map +1 -0
  60. package/lib/module/modules/button/MODULE.md +87 -0
  61. package/lib/module/modules/button/index.js +12 -0
  62. package/lib/module/modules/button/index.js.map +1 -0
  63. package/lib/module/modules/button-group/ButtonGroup.js +106 -0
  64. package/lib/module/modules/button-group/ButtonGroup.js.map +1 -0
  65. package/lib/module/modules/button-group/ButtonGroup.variants.js +220 -0
  66. package/lib/module/modules/button-group/ButtonGroup.variants.js.map +1 -0
  67. package/lib/module/modules/button-group/MODULE.md +129 -0
  68. package/lib/module/modules/button-group/index.js +11 -0
  69. package/lib/module/modules/button-group/index.js.map +1 -0
  70. package/lib/module/modules/card/Card.js +39 -0
  71. package/lib/module/modules/card/Card.js.map +1 -0
  72. package/lib/module/modules/card/Card.variants.js +75 -0
  73. package/lib/module/modules/card/Card.variants.js.map +1 -0
  74. package/lib/module/modules/card/MODULE.md +81 -0
  75. package/lib/module/modules/card/index.js +10 -0
  76. package/lib/module/modules/card/index.js.map +1 -0
  77. package/lib/module/modules/checkbox/Checkbox.js +115 -0
  78. package/lib/module/modules/checkbox/Checkbox.js.map +1 -0
  79. package/lib/module/modules/checkbox/Checkbox.variants.js +122 -0
  80. package/lib/module/modules/checkbox/Checkbox.variants.js.map +1 -0
  81. package/lib/module/modules/checkbox/MODULE.md +76 -0
  82. package/lib/module/modules/checkbox/index.js +11 -0
  83. package/lib/module/modules/checkbox/index.js.map +1 -0
  84. package/lib/module/modules/divider/Divider.js +35 -0
  85. package/lib/module/modules/divider/Divider.js.map +1 -0
  86. package/lib/module/modules/divider/Divider.variants.js +51 -0
  87. package/lib/module/modules/divider/Divider.variants.js.map +1 -0
  88. package/lib/module/modules/divider/MODULE.md +61 -0
  89. package/lib/module/modules/divider/index.js +10 -0
  90. package/lib/module/modules/divider/index.js.map +1 -0
  91. package/lib/module/modules/drawer/Drawer.js +171 -0
  92. package/lib/module/modules/drawer/Drawer.js.map +1 -0
  93. package/lib/module/modules/drawer/Drawer.variants.js +118 -0
  94. package/lib/module/modules/drawer/Drawer.variants.js.map +1 -0
  95. package/lib/module/modules/drawer/MODULE.md +161 -0
  96. package/lib/module/modules/drawer/index.js +10 -0
  97. package/lib/module/modules/drawer/index.js.map +1 -0
  98. package/lib/module/modules/empty-state/EmptyState.js +79 -0
  99. package/lib/module/modules/empty-state/EmptyState.js.map +1 -0
  100. package/lib/module/modules/empty-state/EmptyState.variants.js +54 -0
  101. package/lib/module/modules/empty-state/EmptyState.variants.js.map +1 -0
  102. package/lib/module/modules/empty-state/MODULE.md +78 -0
  103. package/lib/module/modules/empty-state/index.js +13 -0
  104. package/lib/module/modules/empty-state/index.js.map +1 -0
  105. package/lib/module/modules/file-upload/FileUpload.js +132 -0
  106. package/lib/module/modules/file-upload/FileUpload.js.map +1 -0
  107. package/lib/module/modules/file-upload/FileUpload.variants.js +179 -0
  108. package/lib/module/modules/file-upload/FileUpload.variants.js.map +1 -0
  109. package/lib/module/modules/file-upload/MODULE.md +130 -0
  110. package/lib/module/modules/file-upload/index.js +10 -0
  111. package/lib/module/modules/file-upload/index.js.map +1 -0
  112. package/lib/module/modules/filter-sheet/FilterChip.js +79 -0
  113. package/lib/module/modules/filter-sheet/FilterChip.js.map +1 -0
  114. package/lib/module/modules/filter-sheet/FilterSheet.js +98 -0
  115. package/lib/module/modules/filter-sheet/FilterSheet.js.map +1 -0
  116. package/lib/module/modules/filter-sheet/FilterSheet.variants.js +156 -0
  117. package/lib/module/modules/filter-sheet/FilterSheet.variants.js.map +1 -0
  118. package/lib/module/modules/filter-sheet/FilterSheetBody.js +175 -0
  119. package/lib/module/modules/filter-sheet/FilterSheetBody.js.map +1 -0
  120. package/lib/module/modules/filter-sheet/MODULE.md +115 -0
  121. package/lib/module/modules/filter-sheet/filterSheet.helpers.js +90 -0
  122. package/lib/module/modules/filter-sheet/filterSheet.helpers.js.map +1 -0
  123. package/lib/module/modules/filter-sheet/index.js +14 -0
  124. package/lib/module/modules/filter-sheet/index.js.map +1 -0
  125. package/lib/module/modules/input/Input.js +132 -0
  126. package/lib/module/modules/input/Input.js.map +1 -0
  127. package/lib/module/modules/input/Input.variants.js +122 -0
  128. package/lib/module/modules/input/Input.variants.js.map +1 -0
  129. package/lib/module/modules/input/MODULE.md +97 -0
  130. package/lib/module/modules/input/index.js +13 -0
  131. package/lib/module/modules/input/index.js.map +1 -0
  132. package/lib/module/modules/menu/MODULE.md +103 -0
  133. package/lib/module/modules/menu/Menu.js +128 -0
  134. package/lib/module/modules/menu/Menu.js.map +1 -0
  135. package/lib/module/modules/menu/Menu.variants.js +75 -0
  136. package/lib/module/modules/menu/Menu.variants.js.map +1 -0
  137. package/lib/module/modules/menu/index.js +12 -0
  138. package/lib/module/modules/menu/index.js.map +1 -0
  139. package/lib/module/modules/modal/MODULE.md +138 -0
  140. package/lib/module/modules/modal/Modal.js +101 -0
  141. package/lib/module/modules/modal/Modal.js.map +1 -0
  142. package/lib/module/modules/modal/Modal.variants.js +92 -0
  143. package/lib/module/modules/modal/Modal.variants.js.map +1 -0
  144. package/lib/module/modules/modal/ModalPortalContext.js +25 -0
  145. package/lib/module/modules/modal/ModalPortalContext.js.map +1 -0
  146. package/lib/module/modules/modal/ModalPortalProvider.js +22 -0
  147. package/lib/module/modules/modal/ModalPortalProvider.js.map +1 -0
  148. package/lib/module/modules/modal/index.js +16 -0
  149. package/lib/module/modules/modal/index.js.map +1 -0
  150. package/lib/module/modules/modal/renderWebPortal.js +18 -0
  151. package/lib/module/modules/modal/renderWebPortal.js.map +1 -0
  152. package/lib/module/modules/modal/renderWebPortal.web.js +24 -0
  153. package/lib/module/modules/modal/renderWebPortal.web.js.map +1 -0
  154. package/lib/module/modules/multi-select/MODULE.md +100 -0
  155. package/lib/module/modules/multi-select/MultiSelect.js +204 -0
  156. package/lib/module/modules/multi-select/MultiSelect.js.map +1 -0
  157. package/lib/module/modules/multi-select/MultiSelect.variants.js +195 -0
  158. package/lib/module/modules/multi-select/MultiSelect.variants.js.map +1 -0
  159. package/lib/module/modules/multi-select/index.js +11 -0
  160. package/lib/module/modules/multi-select/index.js.map +1 -0
  161. package/lib/module/modules/number-input/MODULE.md +108 -0
  162. package/lib/module/modules/number-input/NumberInput.js +253 -0
  163. package/lib/module/modules/number-input/NumberInput.js.map +1 -0
  164. package/lib/module/modules/number-input/NumberInput.variants.js +200 -0
  165. package/lib/module/modules/number-input/NumberInput.variants.js.map +1 -0
  166. package/lib/module/modules/number-input/index.js +12 -0
  167. package/lib/module/modules/number-input/index.js.map +1 -0
  168. package/lib/module/modules/pin-input/MODULE.md +134 -0
  169. package/lib/module/modules/pin-input/PinInput.js +158 -0
  170. package/lib/module/modules/pin-input/PinInput.js.map +1 -0
  171. package/lib/module/modules/pin-input/PinInput.variants.js +183 -0
  172. package/lib/module/modules/pin-input/PinInput.variants.js.map +1 -0
  173. package/lib/module/modules/pin-input/index.js +11 -0
  174. package/lib/module/modules/pin-input/index.js.map +1 -0
  175. package/lib/module/modules/progress-bar/MODULE.md +101 -0
  176. package/lib/module/modules/progress-bar/ProgressBar.js +102 -0
  177. package/lib/module/modules/progress-bar/ProgressBar.js.map +1 -0
  178. package/lib/module/modules/progress-bar/ProgressBar.variants.js +151 -0
  179. package/lib/module/modules/progress-bar/ProgressBar.variants.js.map +1 -0
  180. package/lib/module/modules/progress-bar/index.js +12 -0
  181. package/lib/module/modules/progress-bar/index.js.map +1 -0
  182. package/lib/module/modules/radio-group/MODULE.md +75 -0
  183. package/lib/module/modules/radio-group/RadioGroup.js +87 -0
  184. package/lib/module/modules/radio-group/RadioGroup.js.map +1 -0
  185. package/lib/module/modules/radio-group/RadioGroup.variants.js +163 -0
  186. package/lib/module/modules/radio-group/RadioGroup.variants.js.map +1 -0
  187. package/lib/module/modules/radio-group/index.js +11 -0
  188. package/lib/module/modules/radio-group/index.js.map +1 -0
  189. package/lib/module/modules/reorder/MODULE.md +131 -0
  190. package/lib/module/modules/reorder/Reorder.js +291 -0
  191. package/lib/module/modules/reorder/Reorder.js.map +1 -0
  192. package/lib/module/modules/reorder/Reorder.variants.js +172 -0
  193. package/lib/module/modules/reorder/Reorder.variants.js.map +1 -0
  194. package/lib/module/modules/reorder/index.js +11 -0
  195. package/lib/module/modules/reorder/index.js.map +1 -0
  196. package/lib/module/modules/select/MODULE.md +91 -0
  197. package/lib/module/modules/select/Select.js +178 -0
  198. package/lib/module/modules/select/Select.js.map +1 -0
  199. package/lib/module/modules/select/Select.variants.js +146 -0
  200. package/lib/module/modules/select/Select.variants.js.map +1 -0
  201. package/lib/module/modules/select/index.js +10 -0
  202. package/lib/module/modules/select/index.js.map +1 -0
  203. package/lib/module/modules/skeleton/MODULE.md +87 -0
  204. package/lib/module/modules/skeleton/Skeleton.js +78 -0
  205. package/lib/module/modules/skeleton/Skeleton.js.map +1 -0
  206. package/lib/module/modules/skeleton/Skeleton.variants.js +145 -0
  207. package/lib/module/modules/skeleton/Skeleton.variants.js.map +1 -0
  208. package/lib/module/modules/skeleton/index.js +10 -0
  209. package/lib/module/modules/skeleton/index.js.map +1 -0
  210. package/lib/module/modules/slider/MODULE.md +95 -0
  211. package/lib/module/modules/slider/Slider.js +183 -0
  212. package/lib/module/modules/slider/Slider.js.map +1 -0
  213. package/lib/module/modules/slider/Slider.variants.js +258 -0
  214. package/lib/module/modules/slider/Slider.variants.js.map +1 -0
  215. package/lib/module/modules/slider/index.js +10 -0
  216. package/lib/module/modules/slider/index.js.map +1 -0
  217. package/lib/module/modules/spinner/MODULE.md +97 -0
  218. package/lib/module/modules/spinner/Spinner.js +58 -0
  219. package/lib/module/modules/spinner/Spinner.js.map +1 -0
  220. package/lib/module/modules/spinner/Spinner.variants.js +131 -0
  221. package/lib/module/modules/spinner/Spinner.variants.js.map +1 -0
  222. package/lib/module/modules/spinner/index.js +11 -0
  223. package/lib/module/modules/spinner/index.js.map +1 -0
  224. package/lib/module/modules/stepper/MODULE.md +88 -0
  225. package/lib/module/modules/stepper/Stepper.js +100 -0
  226. package/lib/module/modules/stepper/Stepper.js.map +1 -0
  227. package/lib/module/modules/stepper/Stepper.variants.js +146 -0
  228. package/lib/module/modules/stepper/Stepper.variants.js.map +1 -0
  229. package/lib/module/modules/stepper/index.js +10 -0
  230. package/lib/module/modules/stepper/index.js.map +1 -0
  231. package/lib/module/modules/switch/MODULE.md +65 -0
  232. package/lib/module/modules/switch/Switch.js +53 -0
  233. package/lib/module/modules/switch/Switch.js.map +1 -0
  234. package/lib/module/modules/switch/Switch.variants.js +61 -0
  235. package/lib/module/modules/switch/Switch.variants.js.map +1 -0
  236. package/lib/module/modules/switch/index.js +10 -0
  237. package/lib/module/modules/switch/index.js.map +1 -0
  238. package/lib/module/modules/tabs/MODULE.md +80 -0
  239. package/lib/module/modules/tabs/Tabs.js +127 -0
  240. package/lib/module/modules/tabs/Tabs.js.map +1 -0
  241. package/lib/module/modules/tabs/Tabs.variants.js +135 -0
  242. package/lib/module/modules/tabs/Tabs.variants.js.map +1 -0
  243. package/lib/module/modules/tabs/index.js +12 -0
  244. package/lib/module/modules/tabs/index.js.map +1 -0
  245. package/lib/module/modules/textarea/MODULE.md +91 -0
  246. package/lib/module/modules/textarea/Textarea.js +136 -0
  247. package/lib/module/modules/textarea/Textarea.js.map +1 -0
  248. package/lib/module/modules/textarea/Textarea.variants.js +113 -0
  249. package/lib/module/modules/textarea/Textarea.variants.js.map +1 -0
  250. package/lib/module/modules/textarea/index.js +10 -0
  251. package/lib/module/modules/textarea/index.js.map +1 -0
  252. package/lib/module/modules/timeline/MODULE.md +95 -0
  253. package/lib/module/modules/timeline/Timeline.js +92 -0
  254. package/lib/module/modules/timeline/Timeline.js.map +1 -0
  255. package/lib/module/modules/timeline/Timeline.variants.js +146 -0
  256. package/lib/module/modules/timeline/Timeline.variants.js.map +1 -0
  257. package/lib/module/modules/timeline/index.js +12 -0
  258. package/lib/module/modules/timeline/index.js.map +1 -0
  259. package/lib/module/modules/toast/MODULE.md +104 -0
  260. package/lib/module/modules/toast/Toast.js +178 -0
  261. package/lib/module/modules/toast/Toast.js.map +1 -0
  262. package/lib/module/modules/toast/Toast.variants.js +120 -0
  263. package/lib/module/modules/toast/Toast.variants.js.map +1 -0
  264. package/lib/module/modules/toast/index.js +13 -0
  265. package/lib/module/modules/toast/index.js.map +1 -0
  266. package/lib/module/modules/tooltip/MODULE.md +86 -0
  267. package/lib/module/modules/tooltip/Tooltip.js +115 -0
  268. package/lib/module/modules/tooltip/Tooltip.js.map +1 -0
  269. package/lib/module/modules/tooltip/Tooltip.variants.js +75 -0
  270. package/lib/module/modules/tooltip/Tooltip.variants.js.map +1 -0
  271. package/lib/module/modules/tooltip/index.js +10 -0
  272. package/lib/module/modules/tooltip/index.js.map +1 -0
  273. package/lib/module/package.json +1 -0
  274. package/lib/module/theme/MODULE.md +87 -0
  275. package/lib/module/theme/index.js +15 -0
  276. package/lib/module/theme/index.js.map +1 -0
  277. package/lib/module/theme/platform/MODULE.md +102 -0
  278. package/lib/module/theme/platform/colorScheme.native.js +24 -0
  279. package/lib/module/theme/platform/colorScheme.native.js.map +1 -0
  280. package/lib/module/theme/platform/elevation.native.js +75 -0
  281. package/lib/module/theme/platform/elevation.native.js.map +1 -0
  282. package/lib/module/theme/platform/fonts.native.js +58 -0
  283. package/lib/module/theme/platform/fonts.native.js.map +1 -0
  284. package/lib/module/theme/platform/index.js +14 -0
  285. package/lib/module/theme/platform/index.js.map +1 -0
  286. package/lib/module/theme/platform/units.native.js +18 -0
  287. package/lib/module/theme/platform/units.native.js.map +1 -0
  288. package/lib/module/theme/provider/PixelizeProvider.js +149 -0
  289. package/lib/module/theme/provider/PixelizeProvider.js.map +1 -0
  290. package/lib/module/theme/provider/colorModeStorage.js +63 -0
  291. package/lib/module/theme/provider/colorModeStorage.js.map +1 -0
  292. package/lib/module/theme/provider/index.js +8 -0
  293. package/lib/module/theme/provider/index.js.map +1 -0
  294. package/lib/module/theme/provider/useTheme.js +13 -0
  295. package/lib/module/theme/provider/useTheme.js.map +1 -0
  296. package/lib/module/theme/provider/useThemeColors.js +13 -0
  297. package/lib/module/theme/provider/useThemeColors.js.map +1 -0
  298. package/lib/module/theme/provider/useThemeMode.js +13 -0
  299. package/lib/module/theme/provider/useThemeMode.js.map +1 -0
  300. package/lib/module/theme/tokens/MODULE.md +102 -0
  301. package/lib/module/theme/tokens/brands/emerald/palette.dark.js +9 -0
  302. package/lib/module/theme/tokens/brands/emerald/palette.dark.js.map +1 -0
  303. package/lib/module/theme/tokens/brands/emerald/palette.light.js +125 -0
  304. package/lib/module/theme/tokens/brands/emerald/palette.light.js.map +1 -0
  305. package/lib/module/theme/tokens/brands/index.js +91 -0
  306. package/lib/module/theme/tokens/brands/index.js.map +1 -0
  307. package/lib/module/theme/tokens/brands/lavender/palette.dark.js +9 -0
  308. package/lib/module/theme/tokens/brands/lavender/palette.dark.js.map +1 -0
  309. package/lib/module/theme/tokens/brands/lavender/palette.light.js +376 -0
  310. package/lib/module/theme/tokens/brands/lavender/palette.light.js.map +1 -0
  311. package/lib/module/theme/tokens/brands/meadow/palette.dark.js +9 -0
  312. package/lib/module/theme/tokens/brands/meadow/palette.dark.js.map +1 -0
  313. package/lib/module/theme/tokens/brands/meadow/palette.light.js +126 -0
  314. package/lib/module/theme/tokens/brands/meadow/palette.light.js.map +1 -0
  315. package/lib/module/theme/tokens/brands/radiant/palette.dark.js +9 -0
  316. package/lib/module/theme/tokens/brands/radiant/palette.dark.js.map +1 -0
  317. package/lib/module/theme/tokens/brands/radiant/palette.light.js +125 -0
  318. package/lib/module/theme/tokens/brands/radiant/palette.light.js.map +1 -0
  319. package/lib/module/theme/tokens/brands/rosewood/palette.dark.js +9 -0
  320. package/lib/module/theme/tokens/brands/rosewood/palette.dark.js.map +1 -0
  321. package/lib/module/theme/tokens/brands/rosewood/palette.light.js +125 -0
  322. package/lib/module/theme/tokens/brands/rosewood/palette.light.js.map +1 -0
  323. package/lib/module/theme/tokens/brands/skyline/palette.dark.js +9 -0
  324. package/lib/module/theme/tokens/brands/skyline/palette.dark.js.map +1 -0
  325. package/lib/module/theme/tokens/brands/skyline/palette.light.js +126 -0
  326. package/lib/module/theme/tokens/brands/skyline/palette.light.js.map +1 -0
  327. package/lib/module/theme/tokens/brands/slate/palette.dark.js +11 -0
  328. package/lib/module/theme/tokens/brands/slate/palette.dark.js.map +1 -0
  329. package/lib/module/theme/tokens/brands/slate/palette.light.js +129 -0
  330. package/lib/module/theme/tokens/brands/slate/palette.light.js.map +1 -0
  331. package/lib/module/theme/tokens/brands/storefront/palette.dark.js +7 -0
  332. package/lib/module/theme/tokens/brands/storefront/palette.dark.js.map +1 -0
  333. package/lib/module/theme/tokens/brands/storefront/palette.light.js +127 -0
  334. package/lib/module/theme/tokens/brands/storefront/palette.light.js.map +1 -0
  335. package/lib/module/theme/tokens/brands/zinc/palette.dark.js +222 -0
  336. package/lib/module/theme/tokens/brands/zinc/palette.dark.js.map +1 -0
  337. package/lib/module/theme/tokens/brands/zinc/palette.light.js +393 -0
  338. package/lib/module/theme/tokens/brands/zinc/palette.light.js.map +1 -0
  339. package/lib/module/theme/tokens/builders/accentText.js +66 -0
  340. package/lib/module/theme/tokens/builders/accentText.js.map +1 -0
  341. package/lib/module/theme/tokens/builders/buildBrandTokens.js +38 -0
  342. package/lib/module/theme/tokens/builders/buildBrandTokens.js.map +1 -0
  343. package/lib/module/theme/tokens/builders/buildDarkPalette.js +300 -0
  344. package/lib/module/theme/tokens/builders/buildDarkPalette.js.map +1 -0
  345. package/lib/module/theme/tokens/builders/color.js +187 -0
  346. package/lib/module/theme/tokens/builders/color.js.map +1 -0
  347. package/lib/module/theme/tokens/index.js +27 -0
  348. package/lib/module/theme/tokens/index.js.map +1 -0
  349. package/lib/module/theme/tokens/primitives/borderWidths.js +16 -0
  350. package/lib/module/theme/tokens/primitives/borderWidths.js.map +1 -0
  351. package/lib/module/theme/tokens/primitives/breakpoints.js +18 -0
  352. package/lib/module/theme/tokens/primitives/breakpoints.js.map +1 -0
  353. package/lib/module/theme/tokens/primitives/elevation.js +95 -0
  354. package/lib/module/theme/tokens/primitives/elevation.js.map +1 -0
  355. package/lib/module/theme/tokens/primitives/fontSizes.js +22 -0
  356. package/lib/module/theme/tokens/primitives/fontSizes.js.map +1 -0
  357. package/lib/module/theme/tokens/primitives/fontWeights.js +23 -0
  358. package/lib/module/theme/tokens/primitives/fontWeights.js.map +1 -0
  359. package/lib/module/theme/tokens/primitives/index.js +14 -0
  360. package/lib/module/theme/tokens/primitives/index.js.map +1 -0
  361. package/lib/module/theme/tokens/primitives/letterSpacings.js +18 -0
  362. package/lib/module/theme/tokens/primitives/letterSpacings.js.map +1 -0
  363. package/lib/module/theme/tokens/primitives/lineHeights.js +21 -0
  364. package/lib/module/theme/tokens/primitives/lineHeights.js.map +1 -0
  365. package/lib/module/theme/tokens/primitives/radii.js +21 -0
  366. package/lib/module/theme/tokens/primitives/radii.js.map +1 -0
  367. package/lib/module/theme/tokens/primitives/sizes.js +34 -0
  368. package/lib/module/theme/tokens/primitives/sizes.js.map +1 -0
  369. package/lib/module/theme/tokens/primitives/space.js +30 -0
  370. package/lib/module/theme/tokens/primitives/space.js.map +1 -0
  371. package/lib/module/theme/tokens/primitives/zIndices.js +23 -0
  372. package/lib/module/theme/tokens/primitives/zIndices.js.map +1 -0
  373. package/lib/module/theme/tokens/roles/index.js +126 -0
  374. package/lib/module/theme/tokens/roles/index.js.map +1 -0
  375. package/lib/module/theme/tokens/types.js +2 -0
  376. package/lib/module/theme/tokens/types.js.map +1 -0
  377. package/lib/typescript/core/a11y/index.d.ts +7 -0
  378. package/lib/typescript/core/a11y/index.d.ts.map +1 -0
  379. package/lib/typescript/core/icon/index.d.ts +60 -0
  380. package/lib/typescript/core/icon/index.d.ts.map +1 -0
  381. package/lib/typescript/core/style/index.d.ts +4 -0
  382. package/lib/typescript/core/style/index.d.ts.map +1 -0
  383. package/lib/typescript/core/style/layoutStyle.d.ts +19 -0
  384. package/lib/typescript/core/style/layoutStyle.d.ts.map +1 -0
  385. package/lib/typescript/core/style/variants.d.ts +55 -0
  386. package/lib/typescript/core/style/variants.d.ts.map +1 -0
  387. package/lib/typescript/index.d.ts +11 -0
  388. package/lib/typescript/index.d.ts.map +1 -0
  389. package/lib/typescript/modules/accordion/Accordion.d.ts +57 -0
  390. package/lib/typescript/modules/accordion/Accordion.d.ts.map +1 -0
  391. package/lib/typescript/modules/accordion/Accordion.variants.d.ts +131 -0
  392. package/lib/typescript/modules/accordion/Accordion.variants.d.ts.map +1 -0
  393. package/lib/typescript/modules/accordion/index.d.ts +9 -0
  394. package/lib/typescript/modules/accordion/index.d.ts.map +1 -0
  395. package/lib/typescript/modules/alert-dialog/AlertDialog.d.ts +24 -0
  396. package/lib/typescript/modules/alert-dialog/AlertDialog.d.ts.map +1 -0
  397. package/lib/typescript/modules/alert-dialog/AlertDialog.variants.d.ts +29 -0
  398. package/lib/typescript/modules/alert-dialog/AlertDialog.variants.d.ts.map +1 -0
  399. package/lib/typescript/modules/alert-dialog/index.d.ts +9 -0
  400. package/lib/typescript/modules/alert-dialog/index.d.ts.map +1 -0
  401. package/lib/typescript/modules/avatar/Avatar.d.ts +30 -0
  402. package/lib/typescript/modules/avatar/Avatar.d.ts.map +1 -0
  403. package/lib/typescript/modules/avatar/Avatar.variants.d.ts +123 -0
  404. package/lib/typescript/modules/avatar/Avatar.variants.d.ts.map +1 -0
  405. package/lib/typescript/modules/avatar/index.d.ts +11 -0
  406. package/lib/typescript/modules/avatar/index.d.ts.map +1 -0
  407. package/lib/typescript/modules/badge/Badge.d.ts +19 -0
  408. package/lib/typescript/modules/badge/Badge.d.ts.map +1 -0
  409. package/lib/typescript/modules/badge/Badge.variants.d.ts +102 -0
  410. package/lib/typescript/modules/badge/Badge.variants.d.ts.map +1 -0
  411. package/lib/typescript/modules/badge/index.d.ts +10 -0
  412. package/lib/typescript/modules/badge/index.d.ts.map +1 -0
  413. package/lib/typescript/modules/bottom-nav/BottomNav.d.ts +106 -0
  414. package/lib/typescript/modules/bottom-nav/BottomNav.d.ts.map +1 -0
  415. package/lib/typescript/modules/bottom-nav/BottomNav.search.d.ts +61 -0
  416. package/lib/typescript/modules/bottom-nav/BottomNav.search.d.ts.map +1 -0
  417. package/lib/typescript/modules/bottom-nav/BottomNav.variants.d.ts +122 -0
  418. package/lib/typescript/modules/bottom-nav/BottomNav.variants.d.ts.map +1 -0
  419. package/lib/typescript/modules/bottom-nav/BottomNavOverflowSheet.d.ts +39 -0
  420. package/lib/typescript/modules/bottom-nav/BottomNavOverflowSheet.d.ts.map +1 -0
  421. package/lib/typescript/modules/bottom-nav/index.d.ts +12 -0
  422. package/lib/typescript/modules/bottom-nav/index.d.ts.map +1 -0
  423. package/lib/typescript/modules/button/Button.d.ts +43 -0
  424. package/lib/typescript/modules/button/Button.d.ts.map +1 -0
  425. package/lib/typescript/modules/button/Button.variants.d.ts +156 -0
  426. package/lib/typescript/modules/button/Button.variants.d.ts.map +1 -0
  427. package/lib/typescript/modules/button/index.d.ts +10 -0
  428. package/lib/typescript/modules/button/index.d.ts.map +1 -0
  429. package/lib/typescript/modules/button-group/ButtonGroup.d.ts +37 -0
  430. package/lib/typescript/modules/button-group/ButtonGroup.d.ts.map +1 -0
  431. package/lib/typescript/modules/button-group/ButtonGroup.variants.d.ts +217 -0
  432. package/lib/typescript/modules/button-group/ButtonGroup.variants.d.ts.map +1 -0
  433. package/lib/typescript/modules/button-group/index.d.ts +10 -0
  434. package/lib/typescript/modules/button-group/index.d.ts.map +1 -0
  435. package/lib/typescript/modules/card/Card.d.ts +20 -0
  436. package/lib/typescript/modules/card/Card.d.ts.map +1 -0
  437. package/lib/typescript/modules/card/Card.variants.d.ts +51 -0
  438. package/lib/typescript/modules/card/Card.variants.d.ts.map +1 -0
  439. package/lib/typescript/modules/card/index.d.ts +9 -0
  440. package/lib/typescript/modules/card/index.d.ts.map +1 -0
  441. package/lib/typescript/modules/checkbox/Checkbox.d.ts +43 -0
  442. package/lib/typescript/modules/checkbox/Checkbox.d.ts.map +1 -0
  443. package/lib/typescript/modules/checkbox/Checkbox.variants.d.ts +120 -0
  444. package/lib/typescript/modules/checkbox/Checkbox.variants.d.ts.map +1 -0
  445. package/lib/typescript/modules/checkbox/index.d.ts +10 -0
  446. package/lib/typescript/modules/checkbox/index.d.ts.map +1 -0
  447. package/lib/typescript/modules/divider/Divider.d.ts +18 -0
  448. package/lib/typescript/modules/divider/Divider.d.ts.map +1 -0
  449. package/lib/typescript/modules/divider/Divider.variants.d.ts +42 -0
  450. package/lib/typescript/modules/divider/Divider.variants.d.ts.map +1 -0
  451. package/lib/typescript/modules/divider/index.d.ts +9 -0
  452. package/lib/typescript/modules/divider/index.d.ts.map +1 -0
  453. package/lib/typescript/modules/drawer/Drawer.d.ts +44 -0
  454. package/lib/typescript/modules/drawer/Drawer.d.ts.map +1 -0
  455. package/lib/typescript/modules/drawer/Drawer.variants.d.ts +80 -0
  456. package/lib/typescript/modules/drawer/Drawer.variants.d.ts.map +1 -0
  457. package/lib/typescript/modules/drawer/index.d.ts +8 -0
  458. package/lib/typescript/modules/drawer/index.d.ts.map +1 -0
  459. package/lib/typescript/modules/empty-state/EmptyState.d.ts +29 -0
  460. package/lib/typescript/modules/empty-state/EmptyState.d.ts.map +1 -0
  461. package/lib/typescript/modules/empty-state/EmptyState.variants.d.ts +43 -0
  462. package/lib/typescript/modules/empty-state/EmptyState.variants.d.ts.map +1 -0
  463. package/lib/typescript/modules/empty-state/index.d.ts +10 -0
  464. package/lib/typescript/modules/empty-state/index.d.ts.map +1 -0
  465. package/lib/typescript/modules/file-upload/FileUpload.d.ts +44 -0
  466. package/lib/typescript/modules/file-upload/FileUpload.d.ts.map +1 -0
  467. package/lib/typescript/modules/file-upload/FileUpload.variants.d.ts +114 -0
  468. package/lib/typescript/modules/file-upload/FileUpload.variants.d.ts.map +1 -0
  469. package/lib/typescript/modules/file-upload/index.d.ts +9 -0
  470. package/lib/typescript/modules/file-upload/index.d.ts.map +1 -0
  471. package/lib/typescript/modules/filter-sheet/FilterChip.d.ts +25 -0
  472. package/lib/typescript/modules/filter-sheet/FilterChip.d.ts.map +1 -0
  473. package/lib/typescript/modules/filter-sheet/FilterSheet.d.ts +54 -0
  474. package/lib/typescript/modules/filter-sheet/FilterSheet.d.ts.map +1 -0
  475. package/lib/typescript/modules/filter-sheet/FilterSheet.variants.d.ts +98 -0
  476. package/lib/typescript/modules/filter-sheet/FilterSheet.variants.d.ts.map +1 -0
  477. package/lib/typescript/modules/filter-sheet/FilterSheetBody.d.ts +28 -0
  478. package/lib/typescript/modules/filter-sheet/FilterSheetBody.d.ts.map +1 -0
  479. package/lib/typescript/modules/filter-sheet/filterSheet.helpers.d.ts +45 -0
  480. package/lib/typescript/modules/filter-sheet/filterSheet.helpers.d.ts.map +1 -0
  481. package/lib/typescript/modules/filter-sheet/index.d.ts +12 -0
  482. package/lib/typescript/modules/filter-sheet/index.d.ts.map +1 -0
  483. package/lib/typescript/modules/input/Input.d.ts +33 -0
  484. package/lib/typescript/modules/input/Input.d.ts.map +1 -0
  485. package/lib/typescript/modules/input/Input.variants.d.ts +116 -0
  486. package/lib/typescript/modules/input/Input.variants.d.ts.map +1 -0
  487. package/lib/typescript/modules/input/index.d.ts +10 -0
  488. package/lib/typescript/modules/input/index.d.ts.map +1 -0
  489. package/lib/typescript/modules/menu/Menu.d.ts +43 -0
  490. package/lib/typescript/modules/menu/Menu.d.ts.map +1 -0
  491. package/lib/typescript/modules/menu/Menu.variants.d.ts +41 -0
  492. package/lib/typescript/modules/menu/Menu.variants.d.ts.map +1 -0
  493. package/lib/typescript/modules/menu/index.d.ts +10 -0
  494. package/lib/typescript/modules/menu/index.d.ts.map +1 -0
  495. package/lib/typescript/modules/modal/Modal.d.ts +32 -0
  496. package/lib/typescript/modules/modal/Modal.d.ts.map +1 -0
  497. package/lib/typescript/modules/modal/Modal.variants.d.ts +72 -0
  498. package/lib/typescript/modules/modal/Modal.variants.d.ts.map +1 -0
  499. package/lib/typescript/modules/modal/ModalPortalContext.d.ts +2 -0
  500. package/lib/typescript/modules/modal/ModalPortalContext.d.ts.map +1 -0
  501. package/lib/typescript/modules/modal/ModalPortalProvider.d.ts +21 -0
  502. package/lib/typescript/modules/modal/ModalPortalProvider.d.ts.map +1 -0
  503. package/lib/typescript/modules/modal/index.d.ts +16 -0
  504. package/lib/typescript/modules/modal/index.d.ts.map +1 -0
  505. package/lib/typescript/modules/modal/renderWebPortal.d.ts +15 -0
  506. package/lib/typescript/modules/modal/renderWebPortal.d.ts.map +1 -0
  507. package/lib/typescript/modules/modal/renderWebPortal.web.d.ts +19 -0
  508. package/lib/typescript/modules/modal/renderWebPortal.web.d.ts.map +1 -0
  509. package/lib/typescript/modules/multi-select/MultiSelect.d.ts +33 -0
  510. package/lib/typescript/modules/multi-select/MultiSelect.d.ts.map +1 -0
  511. package/lib/typescript/modules/multi-select/MultiSelect.variants.d.ts +149 -0
  512. package/lib/typescript/modules/multi-select/MultiSelect.variants.d.ts.map +1 -0
  513. package/lib/typescript/modules/multi-select/index.d.ts +10 -0
  514. package/lib/typescript/modules/multi-select/index.d.ts.map +1 -0
  515. package/lib/typescript/modules/number-input/NumberInput.d.ts +34 -0
  516. package/lib/typescript/modules/number-input/NumberInput.d.ts.map +1 -0
  517. package/lib/typescript/modules/number-input/NumberInput.variants.d.ts +170 -0
  518. package/lib/typescript/modules/number-input/NumberInput.variants.d.ts.map +1 -0
  519. package/lib/typescript/modules/number-input/index.d.ts +11 -0
  520. package/lib/typescript/modules/number-input/index.d.ts.map +1 -0
  521. package/lib/typescript/modules/pin-input/PinInput.d.ts +40 -0
  522. package/lib/typescript/modules/pin-input/PinInput.d.ts.map +1 -0
  523. package/lib/typescript/modules/pin-input/PinInput.variants.d.ts +164 -0
  524. package/lib/typescript/modules/pin-input/PinInput.variants.d.ts.map +1 -0
  525. package/lib/typescript/modules/pin-input/index.d.ts +10 -0
  526. package/lib/typescript/modules/pin-input/index.d.ts.map +1 -0
  527. package/lib/typescript/modules/progress-bar/ProgressBar.d.ts +21 -0
  528. package/lib/typescript/modules/progress-bar/ProgressBar.d.ts.map +1 -0
  529. package/lib/typescript/modules/progress-bar/ProgressBar.variants.d.ts +112 -0
  530. package/lib/typescript/modules/progress-bar/ProgressBar.variants.d.ts.map +1 -0
  531. package/lib/typescript/modules/progress-bar/index.d.ts +11 -0
  532. package/lib/typescript/modules/progress-bar/index.d.ts.map +1 -0
  533. package/lib/typescript/modules/radio-group/RadioGroup.d.ts +27 -0
  534. package/lib/typescript/modules/radio-group/RadioGroup.d.ts.map +1 -0
  535. package/lib/typescript/modules/radio-group/RadioGroup.variants.d.ts +142 -0
  536. package/lib/typescript/modules/radio-group/RadioGroup.variants.d.ts.map +1 -0
  537. package/lib/typescript/modules/radio-group/index.d.ts +10 -0
  538. package/lib/typescript/modules/radio-group/index.d.ts.map +1 -0
  539. package/lib/typescript/modules/reorder/Reorder.d.ts +43 -0
  540. package/lib/typescript/modules/reorder/Reorder.d.ts.map +1 -0
  541. package/lib/typescript/modules/reorder/Reorder.variants.d.ts +116 -0
  542. package/lib/typescript/modules/reorder/Reorder.variants.d.ts.map +1 -0
  543. package/lib/typescript/modules/reorder/index.d.ts +9 -0
  544. package/lib/typescript/modules/reorder/index.d.ts.map +1 -0
  545. package/lib/typescript/modules/select/Select.d.ts +31 -0
  546. package/lib/typescript/modules/select/Select.d.ts.map +1 -0
  547. package/lib/typescript/modules/select/Select.variants.d.ts +127 -0
  548. package/lib/typescript/modules/select/Select.variants.d.ts.map +1 -0
  549. package/lib/typescript/modules/select/index.d.ts +9 -0
  550. package/lib/typescript/modules/select/index.d.ts.map +1 -0
  551. package/lib/typescript/modules/skeleton/Skeleton.d.ts +27 -0
  552. package/lib/typescript/modules/skeleton/Skeleton.d.ts.map +1 -0
  553. package/lib/typescript/modules/skeleton/Skeleton.variants.d.ts +119 -0
  554. package/lib/typescript/modules/skeleton/Skeleton.variants.d.ts.map +1 -0
  555. package/lib/typescript/modules/skeleton/index.d.ts +9 -0
  556. package/lib/typescript/modules/skeleton/index.d.ts.map +1 -0
  557. package/lib/typescript/modules/slider/Slider.d.ts +44 -0
  558. package/lib/typescript/modules/slider/Slider.d.ts.map +1 -0
  559. package/lib/typescript/modules/slider/Slider.variants.d.ts +211 -0
  560. package/lib/typescript/modules/slider/Slider.variants.d.ts.map +1 -0
  561. package/lib/typescript/modules/slider/index.d.ts +9 -0
  562. package/lib/typescript/modules/slider/index.d.ts.map +1 -0
  563. package/lib/typescript/modules/spinner/Spinner.d.ts +19 -0
  564. package/lib/typescript/modules/spinner/Spinner.d.ts.map +1 -0
  565. package/lib/typescript/modules/spinner/Spinner.variants.d.ts +113 -0
  566. package/lib/typescript/modules/spinner/Spinner.variants.d.ts.map +1 -0
  567. package/lib/typescript/modules/spinner/index.d.ts +10 -0
  568. package/lib/typescript/modules/spinner/index.d.ts.map +1 -0
  569. package/lib/typescript/modules/stepper/Stepper.d.ts +26 -0
  570. package/lib/typescript/modules/stepper/Stepper.d.ts.map +1 -0
  571. package/lib/typescript/modules/stepper/Stepper.variants.d.ts +107 -0
  572. package/lib/typescript/modules/stepper/Stepper.variants.d.ts.map +1 -0
  573. package/lib/typescript/modules/stepper/index.d.ts +8 -0
  574. package/lib/typescript/modules/stepper/index.d.ts.map +1 -0
  575. package/lib/typescript/modules/switch/Switch.d.ts +22 -0
  576. package/lib/typescript/modules/switch/Switch.d.ts.map +1 -0
  577. package/lib/typescript/modules/switch/Switch.variants.d.ts +60 -0
  578. package/lib/typescript/modules/switch/Switch.variants.d.ts.map +1 -0
  579. package/lib/typescript/modules/switch/index.d.ts +8 -0
  580. package/lib/typescript/modules/switch/index.d.ts.map +1 -0
  581. package/lib/typescript/modules/tabs/Tabs.d.ts +31 -0
  582. package/lib/typescript/modules/tabs/Tabs.d.ts.map +1 -0
  583. package/lib/typescript/modules/tabs/Tabs.variants.d.ts +114 -0
  584. package/lib/typescript/modules/tabs/Tabs.variants.d.ts.map +1 -0
  585. package/lib/typescript/modules/tabs/index.d.ts +10 -0
  586. package/lib/typescript/modules/tabs/index.d.ts.map +1 -0
  587. package/lib/typescript/modules/textarea/Textarea.d.ts +25 -0
  588. package/lib/typescript/modules/textarea/Textarea.d.ts.map +1 -0
  589. package/lib/typescript/modules/textarea/Textarea.variants.d.ts +99 -0
  590. package/lib/typescript/modules/textarea/Textarea.variants.d.ts.map +1 -0
  591. package/lib/typescript/modules/textarea/index.d.ts +9 -0
  592. package/lib/typescript/modules/textarea/index.d.ts.map +1 -0
  593. package/lib/typescript/modules/timeline/Timeline.d.ts +28 -0
  594. package/lib/typescript/modules/timeline/Timeline.d.ts.map +1 -0
  595. package/lib/typescript/modules/timeline/Timeline.variants.d.ts +103 -0
  596. package/lib/typescript/modules/timeline/Timeline.variants.d.ts.map +1 -0
  597. package/lib/typescript/modules/timeline/index.d.ts +9 -0
  598. package/lib/typescript/modules/timeline/index.d.ts.map +1 -0
  599. package/lib/typescript/modules/toast/Toast.d.ts +38 -0
  600. package/lib/typescript/modules/toast/Toast.d.ts.map +1 -0
  601. package/lib/typescript/modules/toast/Toast.variants.d.ts +80 -0
  602. package/lib/typescript/modules/toast/Toast.variants.d.ts.map +1 -0
  603. package/lib/typescript/modules/toast/index.d.ts +12 -0
  604. package/lib/typescript/modules/toast/index.d.ts.map +1 -0
  605. package/lib/typescript/modules/tooltip/Tooltip.d.ts +31 -0
  606. package/lib/typescript/modules/tooltip/Tooltip.d.ts.map +1 -0
  607. package/lib/typescript/modules/tooltip/Tooltip.variants.d.ts +52 -0
  608. package/lib/typescript/modules/tooltip/Tooltip.variants.d.ts.map +1 -0
  609. package/lib/typescript/modules/tooltip/index.d.ts +9 -0
  610. package/lib/typescript/modules/tooltip/index.d.ts.map +1 -0
  611. package/lib/typescript/package.json +1 -0
  612. package/lib/typescript/theme/index.d.ts +11 -0
  613. package/lib/typescript/theme/index.d.ts.map +1 -0
  614. package/lib/typescript/theme/platform/colorScheme.native.d.ts +12 -0
  615. package/lib/typescript/theme/platform/colorScheme.native.d.ts.map +1 -0
  616. package/lib/typescript/theme/platform/elevation.native.d.ts +35 -0
  617. package/lib/typescript/theme/platform/elevation.native.d.ts.map +1 -0
  618. package/lib/typescript/theme/platform/fonts.native.d.ts +41 -0
  619. package/lib/typescript/theme/platform/fonts.native.d.ts.map +1 -0
  620. package/lib/typescript/theme/platform/index.d.ts +15 -0
  621. package/lib/typescript/theme/platform/index.d.ts.map +1 -0
  622. package/lib/typescript/theme/platform/units.native.d.ts +13 -0
  623. package/lib/typescript/theme/platform/units.native.d.ts.map +1 -0
  624. package/lib/typescript/theme/provider/PixelizeProvider.d.ts +81 -0
  625. package/lib/typescript/theme/provider/PixelizeProvider.d.ts.map +1 -0
  626. package/lib/typescript/theme/provider/colorModeStorage.d.ts +43 -0
  627. package/lib/typescript/theme/provider/colorModeStorage.d.ts.map +1 -0
  628. package/lib/typescript/theme/provider/index.d.ts +8 -0
  629. package/lib/typescript/theme/provider/index.d.ts.map +1 -0
  630. package/lib/typescript/theme/provider/useTheme.d.ts +4 -0
  631. package/lib/typescript/theme/provider/useTheme.d.ts.map +1 -0
  632. package/lib/typescript/theme/provider/useThemeColors.d.ts +9 -0
  633. package/lib/typescript/theme/provider/useThemeColors.d.ts.map +1 -0
  634. package/lib/typescript/theme/provider/useThemeMode.d.ts +4 -0
  635. package/lib/typescript/theme/provider/useThemeMode.d.ts.map +1 -0
  636. package/lib/typescript/theme/tokens/brands/emerald/palette.dark.d.ts +3 -0
  637. package/lib/typescript/theme/tokens/brands/emerald/palette.dark.d.ts.map +1 -0
  638. package/lib/typescript/theme/tokens/brands/emerald/palette.light.d.ts +4 -0
  639. package/lib/typescript/theme/tokens/brands/emerald/palette.light.d.ts.map +1 -0
  640. package/lib/typescript/theme/tokens/brands/index.d.ts +30 -0
  641. package/lib/typescript/theme/tokens/brands/index.d.ts.map +1 -0
  642. package/lib/typescript/theme/tokens/brands/lavender/palette.dark.d.ts +3 -0
  643. package/lib/typescript/theme/tokens/brands/lavender/palette.dark.d.ts.map +1 -0
  644. package/lib/typescript/theme/tokens/brands/lavender/palette.light.d.ts +4 -0
  645. package/lib/typescript/theme/tokens/brands/lavender/palette.light.d.ts.map +1 -0
  646. package/lib/typescript/theme/tokens/brands/meadow/palette.dark.d.ts +3 -0
  647. package/lib/typescript/theme/tokens/brands/meadow/palette.dark.d.ts.map +1 -0
  648. package/lib/typescript/theme/tokens/brands/meadow/palette.light.d.ts +4 -0
  649. package/lib/typescript/theme/tokens/brands/meadow/palette.light.d.ts.map +1 -0
  650. package/lib/typescript/theme/tokens/brands/radiant/palette.dark.d.ts +3 -0
  651. package/lib/typescript/theme/tokens/brands/radiant/palette.dark.d.ts.map +1 -0
  652. package/lib/typescript/theme/tokens/brands/radiant/palette.light.d.ts +4 -0
  653. package/lib/typescript/theme/tokens/brands/radiant/palette.light.d.ts.map +1 -0
  654. package/lib/typescript/theme/tokens/brands/rosewood/palette.dark.d.ts +3 -0
  655. package/lib/typescript/theme/tokens/brands/rosewood/palette.dark.d.ts.map +1 -0
  656. package/lib/typescript/theme/tokens/brands/rosewood/palette.light.d.ts +4 -0
  657. package/lib/typescript/theme/tokens/brands/rosewood/palette.light.d.ts.map +1 -0
  658. package/lib/typescript/theme/tokens/brands/skyline/palette.dark.d.ts +3 -0
  659. package/lib/typescript/theme/tokens/brands/skyline/palette.dark.d.ts.map +1 -0
  660. package/lib/typescript/theme/tokens/brands/skyline/palette.light.d.ts +4 -0
  661. package/lib/typescript/theme/tokens/brands/skyline/palette.light.d.ts.map +1 -0
  662. package/lib/typescript/theme/tokens/brands/slate/palette.dark.d.ts +3 -0
  663. package/lib/typescript/theme/tokens/brands/slate/palette.dark.d.ts.map +1 -0
  664. package/lib/typescript/theme/tokens/brands/slate/palette.light.d.ts +4 -0
  665. package/lib/typescript/theme/tokens/brands/slate/palette.light.d.ts.map +1 -0
  666. package/lib/typescript/theme/tokens/brands/storefront/palette.dark.d.ts +3 -0
  667. package/lib/typescript/theme/tokens/brands/storefront/palette.dark.d.ts.map +1 -0
  668. package/lib/typescript/theme/tokens/brands/storefront/palette.light.d.ts +4 -0
  669. package/lib/typescript/theme/tokens/brands/storefront/palette.light.d.ts.map +1 -0
  670. package/lib/typescript/theme/tokens/brands/zinc/palette.dark.d.ts +4 -0
  671. package/lib/typescript/theme/tokens/brands/zinc/palette.dark.d.ts.map +1 -0
  672. package/lib/typescript/theme/tokens/brands/zinc/palette.light.d.ts +4 -0
  673. package/lib/typescript/theme/tokens/brands/zinc/palette.light.d.ts.map +1 -0
  674. package/lib/typescript/theme/tokens/builders/accentText.d.ts +42 -0
  675. package/lib/typescript/theme/tokens/builders/accentText.d.ts.map +1 -0
  676. package/lib/typescript/theme/tokens/builders/buildBrandTokens.d.ts +21 -0
  677. package/lib/typescript/theme/tokens/builders/buildBrandTokens.d.ts.map +1 -0
  678. package/lib/typescript/theme/tokens/builders/buildDarkPalette.d.ts +13 -0
  679. package/lib/typescript/theme/tokens/builders/buildDarkPalette.d.ts.map +1 -0
  680. package/lib/typescript/theme/tokens/builders/color.d.ts +59 -0
  681. package/lib/typescript/theme/tokens/builders/color.d.ts.map +1 -0
  682. package/lib/typescript/theme/tokens/index.d.ts +21 -0
  683. package/lib/typescript/theme/tokens/index.d.ts.map +1 -0
  684. package/lib/typescript/theme/tokens/primitives/borderWidths.d.ts +15 -0
  685. package/lib/typescript/theme/tokens/primitives/borderWidths.d.ts.map +1 -0
  686. package/lib/typescript/theme/tokens/primitives/breakpoints.d.ts +17 -0
  687. package/lib/typescript/theme/tokens/primitives/breakpoints.d.ts.map +1 -0
  688. package/lib/typescript/theme/tokens/primitives/elevation.d.ts +109 -0
  689. package/lib/typescript/theme/tokens/primitives/elevation.d.ts.map +1 -0
  690. package/lib/typescript/theme/tokens/primitives/fontSizes.d.ts +21 -0
  691. package/lib/typescript/theme/tokens/primitives/fontSizes.d.ts.map +1 -0
  692. package/lib/typescript/theme/tokens/primitives/fontWeights.d.ts +21 -0
  693. package/lib/typescript/theme/tokens/primitives/fontWeights.d.ts.map +1 -0
  694. package/lib/typescript/theme/tokens/primitives/index.d.ts +23 -0
  695. package/lib/typescript/theme/tokens/primitives/index.d.ts.map +1 -0
  696. package/lib/typescript/theme/tokens/primitives/letterSpacings.d.ts +17 -0
  697. package/lib/typescript/theme/tokens/primitives/letterSpacings.d.ts.map +1 -0
  698. package/lib/typescript/theme/tokens/primitives/lineHeights.d.ts +20 -0
  699. package/lib/typescript/theme/tokens/primitives/lineHeights.d.ts.map +1 -0
  700. package/lib/typescript/theme/tokens/primitives/radii.d.ts +20 -0
  701. package/lib/typescript/theme/tokens/primitives/radii.d.ts.map +1 -0
  702. package/lib/typescript/theme/tokens/primitives/sizes.d.ts +33 -0
  703. package/lib/typescript/theme/tokens/primitives/sizes.d.ts.map +1 -0
  704. package/lib/typescript/theme/tokens/primitives/space.d.ts +29 -0
  705. package/lib/typescript/theme/tokens/primitives/space.d.ts.map +1 -0
  706. package/lib/typescript/theme/tokens/primitives/zIndices.d.ts +22 -0
  707. package/lib/typescript/theme/tokens/primitives/zIndices.d.ts.map +1 -0
  708. package/lib/typescript/theme/tokens/roles/index.d.ts +68 -0
  709. package/lib/typescript/theme/tokens/roles/index.d.ts.map +1 -0
  710. package/lib/typescript/theme/tokens/types.d.ts +103 -0
  711. package/lib/typescript/theme/tokens/types.d.ts.map +1 -0
  712. package/package.json +259 -0
  713. package/registry.json +175 -0
@@ -0,0 +1,103 @@
1
+ /**
2
+ * Timeline's style + colour resolution — pure, React/lucide-free, same split as `Button`:
3
+ * - STRUCTURE (row layout, marker diameter, connector width, content spacing) lives in the
4
+ * `createThemedVariants` resolvers below, registered once per theme identity — never rebuilt
5
+ * per render.
6
+ * - COLOUR is resolved from the theme's ROLE colours (`resolveTimelineColors`), never a raw hex:
7
+ * every marker is the accent role and every text tier a fixed `fg` role. There is no
8
+ * `tone`/`color` prop to widen — a Timeline event has no per-item emphasis to express, so (like
9
+ * `resolveAvatarColors` / `resolveTabsColors`) this is pure indirection, not a union to resolve.
10
+ *
11
+ * Free of React and of any lucide import, so the WCAG + colour-mapping tests import it directly
12
+ * (mocking only `react-native`'s `StyleSheet`, as `core/style` and every sibling module's tests do).
13
+ */
14
+ import type { RoleColors, Theme } from "../../theme";
15
+ export interface TimelineMarkerSpec {
16
+ /** Plain-dot diameter, in dp — used when an item carries no `icon`. */
17
+ readonly dot: number;
18
+ /** Icon-circle diameter, in dp — used when an item carries an `icon`. Also the connector
19
+ * column's fixed width, so a dot row and an icon row centre on the same vertical axis. */
20
+ readonly icon: number;
21
+ /** Glyph size inside the icon circle, in dp. */
22
+ readonly glyph: number;
23
+ }
24
+ /**
25
+ * Timeline-specific dimensions. Kept a plain constant — no theme dependency — same as
26
+ * `BUTTON_SIZES` / `AVATAR_SIZES`, so the render layer and tests share one source of truth.
27
+ *
28
+ * Not a touch target: Timeline has no `onPress` in this contract (a purely informational list), so
29
+ * the 44dp floor interactive modules hold themselves to (see `Button`'s `MIN_TOUCH_TARGET`) does
30
+ * not apply here — same reasoning `AVATAR_SIZES` documents for its own non-interactive diameters.
31
+ */
32
+ export declare const TIMELINE_MARKER: TimelineMarkerSpec;
33
+ export interface TimelineColors {
34
+ /** Marker fill — the plain dot, or the icon circle's background. */
35
+ readonly markerFill: string;
36
+ /** The icon glyph on `markerFill` — derived, so it always clears 4.5:1 (never a hardcoded white). */
37
+ readonly markerIcon: string;
38
+ /** The line connecting one marker to the next — decorative, the same role `Divider` uses. */
39
+ readonly connector: string;
40
+ readonly title: string;
41
+ readonly description: string;
42
+ readonly timestamp: string;
43
+ }
44
+ /**
45
+ * Maps Timeline's fixed visual roles onto ROLE colours — never a hardcoded hex. There is no
46
+ * `tone`/`color` prop to widen: every event reads identically, so every colour Timeline can show is
47
+ * one of these role lookups, guaranteed legible in both modes.
48
+ */
49
+ export declare function resolveTimelineColors(colors: RoleColors): TimelineColors;
50
+ /**
51
+ * The whole row: the connector column beside the content column. No theme dependency (a plain
52
+ * constant layout, like `spinnerBox`/`radioDotStructure`), so this uses `createVariants`, not the
53
+ * themed resolver — no theme identity to cache against.
54
+ */
55
+ export declare const timelineRowStructure: import("../../core/style").VariantResolver<import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
56
+ /**
57
+ * The connector column — fixed at the icon circle's width so a dot row and an icon row centre on
58
+ * the same vertical axis regardless of which marker kind that particular item renders. No explicit
59
+ * height: it stretches (the row's default cross-axis behaviour for a `flexDirection: "row"`
60
+ * container) to match the content column's height, which is what lets the line below the marker
61
+ * reach all the way down to the next row's marker — see `timelineContentStructure` below. No theme
62
+ * dependency, so `createVariants` again.
63
+ */
64
+ export declare const timelineConnectorStructure: import("../../core/style").VariantResolver<import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
65
+ /** The marker itself — a small dot, or a larger circle sized to hold an icon glyph. */
66
+ export declare const timelineMarkerStructure: import("../../core/style").ThemedVariantResolver<Theme, {
67
+ kind: {
68
+ dot: {
69
+ width: number;
70
+ height: number;
71
+ };
72
+ icon: {
73
+ width: number;
74
+ height: number;
75
+ };
76
+ };
77
+ }, import("react-native").ViewStyle>;
78
+ /**
79
+ * The line connecting one marker to the next. `flex: 1` fills whatever height the connector
80
+ * column above stretches to; a `middle` row's CONTENT carries the extra bottom padding that makes
81
+ * that stretched height reach past the text into the gap before the next row (see
82
+ * `timelineContentStructure`), so the line never visibly stops short of the next marker.
83
+ */
84
+ export declare const timelineConnectorLineStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
85
+ /**
86
+ * The text column beside the connector. A `middle` row (one with a following item) reserves the
87
+ * gap to that next row HERE, on the content sibling, not on the shared row wrapper — a row with an
88
+ * undetermined height stretches its children to its tallest child's own intrinsic height, so
89
+ * padding placed on the row itself would sit outside what the connector column stretches to match,
90
+ * leaving a visible break in the line. Placed on content instead, the padding becomes part of the
91
+ * height the connector column stretches to, so the line spans through it.
92
+ */
93
+ export declare const timelineContentStructure: import("../../core/style").ThemedVariantResolver<Theme, {
94
+ position: {
95
+ middle: {
96
+ paddingBottom: 24;
97
+ };
98
+ last: {
99
+ paddingBottom: number;
100
+ };
101
+ };
102
+ }, import("react-native").ViewStyle>;
103
+ //# sourceMappingURL=Timeline.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Timeline.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/timeline/Timeline.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,WAAW,kBAAkB;IACjC,uEAAuE;IACvE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;+FAC2F;IAC3F,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,EAAE,kBAAoD,CAAC;AAEnF,MAAM,WAAW,cAAc;IAC7B,oEAAoE;IACpE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,qGAAqG;IACrG,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,6FAA6F;IAC7F,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,UAAU,GAAG,cAAc,CAkBxE;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,0JAI/B,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,0JAKrC,CAAC;AAEH,uFAAuF;AACvF,eAAO,MAAM,uBAAuB;;;;;;;;;;;oCAajC,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,uKAKxC,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;oCAYlC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Public surface of `pixelize-native-library/timeline`. Value exports and type exports are split for
3
+ * `verbatimModuleSyntax`. The internal resolvers (`resolveTimelineColors`, `TIMELINE_MARKER`, …)
4
+ * stay internal — a consumer configures a Timeline through its `items`, never by importing internals.
5
+ */
6
+ export { Timeline } from "./Timeline";
7
+ export type { TimelineProps, TimelineItem } from "./Timeline";
8
+ export type { IconName } from "../../core/icon";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/timeline/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG9D,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Toast — a `ToastProvider` + `useToast()` hook, not a component a consumer places directly (it has
3
+ * no visual home of its own to lay out: it always floats above whatever the provider wraps). Every
4
+ * screen mounts `ToastProvider` once, near the root; any descendant calls `useToast().show(...)`.
5
+ *
6
+ * Deliberately NOT React Native's `<Modal>`: a confirmed iOS bug drops or breaks a second `<Modal>`
7
+ * presented while a sibling Modal — this library's own, or an OS share sheet — is still mounted or
8
+ * mid-dismiss-animation, so a toast shown over one would silently fail. The overlay is instead a
9
+ * plain absolutely-positioned `View` mounted at the provider's own root, entirely outside RN's Modal
10
+ * system, so it floats over anything without competing for the same presentation stack.
11
+ *
12
+ * Single-slot by design: `show()` while a toast is already visible replaces its message/tone and
13
+ * restarts the auto-dismiss timer (and, since a fresh message reads as a new event, restarts the
14
+ * entrance animation) rather than queueing a second one. `dismiss()` always dismisses that one slot,
15
+ * and is a safe no-op when nothing is showing.
16
+ */
17
+ import type { ReactNode } from "react";
18
+ import type { ToastPosition, ToastTone } from "./Toast.variants";
19
+ export interface ToastOptions {
20
+ readonly message: string;
21
+ readonly tone?: ToastTone;
22
+ /** Auto-dismiss delay in ms. Defaults to `DEFAULT_TOAST_DURATION` (~3000ms). */
23
+ readonly duration?: number;
24
+ }
25
+ export interface ToastContextValue {
26
+ show: (options: ToastOptions) => void;
27
+ dismiss: () => void;
28
+ }
29
+ export interface ToastProviderProps {
30
+ children: ReactNode;
31
+ /** Which screen edge the toast hugs. Provider-level (one overlay for the whole app), not per-toast.
32
+ * Defaults to `top`. */
33
+ position?: ToastPosition;
34
+ }
35
+ export declare const ToastProvider: import("react").NamedExoticComponent<ToastProviderProps>;
36
+ /** Throws outside a `ToastProvider` — same contract as `useTheme()`. */
37
+ export declare function useToast(): ToastContextValue;
38
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../src/modules/toast/Toast.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBvC,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEjE,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC;IAC1B,gFAAgF;IAChF,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB;4BACwB;IACxB,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AAeD,eAAO,MAAM,aAAa,0DAmExB,CAAC;AA6DH,wEAAwE;AACxE,wBAAgB,QAAQ,IAAI,iBAAiB,CAS5C"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Toast's style + behaviour resolution — same split as Button.variants:
3
+ * - STRUCTURE (padding, radius, gap, the accent bar's width, the overlay's edge inset, the overlay's
4
+ * z-index) lives in the themed resolvers below, static per (brand, mode), registered once via
5
+ * `StyleSheet.create`.
6
+ * - COLOUR is `tone`-driven and resolved from the theme's ROLE colours by `resolveToastTone`, never
7
+ * a raw ramp and never a hardcoded hex.
8
+ * - ACCESSIBILITY: the screen-reader announcement (WCAG 4.1.3) is one cross-platform imperative
9
+ * `AccessibilityInfo.announceForAccessibility` call in `Toast.tsx`'s `show()`, not a tone-driven
10
+ * resolver here — every tone announces the same way.
11
+ *
12
+ * Free of React and of `lucide`, so the WCAG + behaviour tests import it directly (mocking only
13
+ * `react-native`'s `StyleSheet`, as `core/style` does).
14
+ */
15
+ import type { RoleColors } from "../../theme";
16
+ import type { Theme } from "../../theme";
17
+ export type ToastTone = "success" | "warning" | "danger" | "info" | "neutral";
18
+ export type ToastPosition = "top" | "bottom";
19
+ /** Same floor as Button/Input/Checkbox — 44dp (WCAG 2.5.5 / HIG). Duplicated, not imported: modules
20
+ * stay isolated. */
21
+ export declare const MIN_TOUCH_TARGET = 44;
22
+ /** The close button's own visual box + glyph. Toast takes no `size` prop, so this is a fixed pair,
23
+ * not a scale — mirrors `BUTTON_SIZES`' shape for exactly one size. */
24
+ export declare const CLOSE_BUTTON_SIZE = 24;
25
+ export declare const CLOSE_ICON_SIZE = 16;
26
+ export declare const CLOSE_HIT_SLOP: number;
27
+ /** `duration?: number` on `ToastOptions` defaults to this when omitted. */
28
+ export declare const DEFAULT_TOAST_DURATION = 3000;
29
+ export interface ToastToneColors {
30
+ /** The card's own background — constant across tones (an elevated, neutral surface). */
31
+ readonly background: string;
32
+ /** The left accent bar. */
33
+ readonly accent: string;
34
+ /** The message colour. */
35
+ readonly text: string;
36
+ }
37
+ /**
38
+ * Maps `tone` onto the theme's role colours. The whole reason the prop is a closed union and not
39
+ * `color?: string`: every colour a Toast can show is one of these role lookups, so it can never be
40
+ * an off-palette value an app invented, and it inverts light↔dark for free.
41
+ *
42
+ * The card always sits on `bg.raised` — the same "elevated surface" role `Card`'s own `elevated`
43
+ * variant uses (`Card.variants.ts`). The accent bar and the message BOTH read `status.<role>.text`,
44
+ * deliberately NOT `status.<role>.solid`: `solid` is only measured against its own pale `subtle` fill
45
+ * (`roleColors.test.ts`'s `status.solid` vs `status.onSolid`/`subtle` promises), and on
46
+ * `success`/`warning`/`info` in light mode it falls as low as ~1.9:1 against `bg.raised` — nowhere
47
+ * near the 3:1 floor a rendered accent bar needs. `text` is the rung `readableOn` already proved
48
+ * ≥ 4.5:1 nearby, which comfortably clears the bar's lighter 3:1 floor too — one role, measured here
49
+ * for both jobs, rather than a second unverified pairing (`Toast.test.ts`).
50
+ */
51
+ export declare function resolveToastTone(colors: RoleColors, tone: ToastTone): ToastToneColors;
52
+ /**
53
+ * Structural styles only — the card's padding, radius, and gap. No colour (tone-driven, applied
54
+ * inline over this) and no shadow (elevation is applied directly from `theme.elevation.lg`, same
55
+ * idiom as `Card`), so this compiles once per theme identity via the `WeakMap`-cached themed
56
+ * resolver and never rebuilds per render. `overflow: "hidden"` lets the accent bar's square corners
57
+ * get clipped by the card's own rounding instead of resolving a second radius for the bar.
58
+ */
59
+ export declare const toastCardStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
60
+ /** The accent bar's width — a structural constant on the theme's `space` scale, not a hardcoded dp. */
61
+ export declare const toastAccentBarStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
62
+ /**
63
+ * The overlay's inset from the screen edge it hugs, plus its stacking order. `position` is
64
+ * provider-level (one overlay for the whole app), not per-toast, so it lives here as a themed
65
+ * structural variant rather than something `resolveToastTone` touches. `zIndex` is themed (not a
66
+ * per-render inline value) for the same reason as the rest of this file: it's a structural,
67
+ * theme-scoped constant, so it belongs in the cached resolver, not recomputed as a fresh object
68
+ * every render in `Toast.tsx`.
69
+ */
70
+ export declare const toastOverlayStructure: import("../../core/style").ThemedVariantResolver<Theme, {
71
+ position: {
72
+ top: {
73
+ top: 16;
74
+ };
75
+ bottom: {
76
+ bottom: 16;
77
+ };
78
+ };
79
+ }, import("react-native").ViewStyle>;
80
+ //# sourceMappingURL=Toast.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/toast/Toast.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAC9E,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE7C;oBACoB;AACpB,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAGnC;uEACuE;AACvE,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,cAAc,QAA6B,CAAC;AAEzD,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B,wFAAwF;IACxF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,2BAA2B;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,0BAA0B;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,GAAG,eAAe,CAUrF;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,uKAU5B,CAAC;AAEJ,uGAAuG;AACvG,eAAO,MAAM,uBAAuB,uKAEjC,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;oCAgB/B,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Public surface of `pixelize-native-library/toast`. Value exports and type exports are split for
3
+ * `verbatimModuleSyntax`. The pure resolvers (`resolveToastTone`, …) stay internal — a consumer
4
+ * configures a toast through `show(options)`, never by importing them.
5
+ *
6
+ * No `IconName` re-export here: unlike `Button`, Toast takes no public `icon` prop — its dismiss
7
+ * glyph is a fixed internal choice, not something a consumer selects.
8
+ */
9
+ export { ToastProvider, useToast } from "./Toast";
10
+ export type { ToastContextValue, ToastOptions, ToastProviderProps } from "./Toast";
11
+ export type { ToastPosition, ToastTone } from "./Toast.variants";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/toast/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAClD,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAEnF,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Tooltip — wraps a single trigger element and reveals a short themed tip on long-press, without
3
+ * requiring the trigger to know anything about it. No `style` prop: unlike the other modules,
4
+ * Tooltip renders no sized node of its own for an app to place — the trigger child keeps whatever
5
+ * layout it already has, and the wrapping host below exists only to anchor the bubble.
6
+ *
7
+ * Composition is `React.cloneElement` on the single child, never `{...rest}`: `onLongPress` and
8
+ * `onPressOut` are injected (chaining any handler the child already defined, so Tooltip never
9
+ * silently breaks a trigger that already used them), and `accessibilityHint` is MERGED via
10
+ * `mergeAccessibilityHint` — the one prop that must never be clobbered, since it is how a
11
+ * screen-reader user gets the tip's content without performing the gesture at all.
12
+ */
13
+ import type { ReactElement } from "react";
14
+ import type { GestureResponderEvent } from "react-native";
15
+ import type { TooltipPlacement } from "./Tooltip.variants";
16
+ /** The subset of props Tooltip reads from / injects into its trigger child. */
17
+ export interface TooltipTriggerProps {
18
+ onLongPress?: (event: GestureResponderEvent) => void;
19
+ onPressOut?: (event: GestureResponderEvent) => void;
20
+ accessibilityHint?: string;
21
+ }
22
+ export interface TooltipProps {
23
+ /** The tip's text. Also what gets merged into the trigger's `accessibilityHint`. */
24
+ label: string;
25
+ /** A single element that accepts `onLongPress`/`onPressOut` (e.g. a `Pressable`). */
26
+ children: ReactElement<TooltipTriggerProps>;
27
+ placement?: TooltipPlacement;
28
+ testID?: string;
29
+ }
30
+ export declare const Tooltip: import("react").NamedExoticComponent<TooltipProps>;
31
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/modules/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAM1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,+EAA+E;AAC/E,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACrD,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,YAAY;IAC3B,oFAAoF;IACpF,KAAK,EAAE,MAAM,CAAC;IACd,qFAAqF;IACrF,QAAQ,EAAE,YAAY,CAAC,mBAAmB,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,OAAO,oDA+FlB,CAAC"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Tooltip's pure resolvers + the themed structural variant resolver — same split as Button:
3
+ *
4
+ * - STRUCTURE (padding, radius, the placement offset) lives in `tooltipBubbleStructure`, a
5
+ * `createThemedVariants` resolver, static per (brand, mode), registered once.
6
+ * - COLOUR is not tone-driven here — the bubble always reads `bg.raised` / `fg.default`, so it is
7
+ * resolved inline in the component from `theme.colors`, never a hardcoded hex.
8
+ * - The accessibility-hint MERGE is `mergeAccessibilityHint`, kept pure so "never clobber the
9
+ * child's existing hint" is unit-testable without mounting React.
10
+ *
11
+ * Free of `lucide` and of any React tree, so the WCAG + behaviour tests import it directly
12
+ * (mocking only `react-native`'s `StyleSheet`, as `core/style` does).
13
+ */
14
+ import type { Theme } from "../../theme";
15
+ export type TooltipPlacement = "top" | "bottom";
16
+ /**
17
+ * Design constants, not theme tokens — this module's own timing, not a scale other components
18
+ * share.
19
+ */
20
+ export declare const TOOLTIP_TIMING: {
21
+ /** Fade-in duration; skipped (duration 0) when the OS reduce-motion setting is on (WCAG 2.3.3). */
22
+ readonly fadeInMs: 150;
23
+ /** Fallback auto-dismiss so a tip can't stay stuck open if `onPressOut` never fires. */
24
+ readonly autoHideMs: 2500;
25
+ };
26
+ /**
27
+ * Appends `label` to any `accessibilityHint` the trigger already carries, so screen-reader users
28
+ * get the tip's content without needing the long-press gesture — the child's own hint is
29
+ * preserved, never overwritten. Reuses the existing sentence's terminal punctuation if there is
30
+ * one, so the merged hint reads as two sentences rather than a run-on.
31
+ */
32
+ export declare function mergeAccessibilityHint(existing: string | undefined, label: string): string;
33
+ /**
34
+ * Structural styles only — no colour (the bubble's fill/label are resolved from `RoleColors` in
35
+ * the component). `left: 0` anchors the bubble to the trigger's left edge rather than stretching
36
+ * it to the trigger's full width: a v1 simplification (no measurement library) that reads better
37
+ * for small icon-sized triggers than forcing the tip's width to match them. `maxWidth` reuses the
38
+ * shared `sizes` primitive's smallest step rather than a new hardcoded number.
39
+ */
40
+ export declare const tooltipBubbleStructure: import("../../core/style").ThemedVariantResolver<Theme, {
41
+ placement: {
42
+ bottom: {
43
+ top: "100%";
44
+ marginTop: 4;
45
+ };
46
+ top: {
47
+ bottom: "100%";
48
+ marginBottom: 4;
49
+ };
50
+ };
51
+ }, import("react-native").ViewStyle>;
52
+ //# sourceMappingURL=Tooltip.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/tooltip/Tooltip.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIzC,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,cAAc;IACzB,mGAAmG;;IAEnG,wFAAwF;;CAEhF,CAAC;AAEX;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAK1F;AAED;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;oCAgBhC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Public surface of `pixelize-native-library/tooltip`. Value exports and type exports are split for
3
+ * `verbatimModuleSyntax`. The pure resolvers (`mergeAccessibilityHint`, `tooltipBubbleStructure`,
4
+ * `TOOLTIP_TIMING`) stay internal — a consumer configures a Tooltip through its props only.
5
+ */
6
+ export { Tooltip } from "./Tooltip";
7
+ export type { TooltipProps, TooltipTriggerProps } from "./Tooltip";
8
+ export type { TooltipPlacement } from "./Tooltip.variants";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/tooltip/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEnE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The `pixelize-native-library/theme` public surface — the provider, the three hooks, and the theme-side
3
+ * types a consumer annotates with. Design tokens themselves ship under `pixelize-native-library/tokens`;
4
+ * this subpath is intentionally the small, runtime-facing layer an app wires once at its root.
5
+ */
6
+ export { PixelizeProvider, useTheme, useThemeColors, useThemeMode, createAsyncStorageAdapter, } from './provider';
7
+ export type { PixelizeProviderProps, Theme, ThemeModeValue, ThemeMode, ColorModeStorageAdapter, AsyncStorageLike, } from './provider';
8
+ export type { RoleColors, StatusColors, StatusRole } from './tokens/roles';
9
+ export type { ThemeName, ColorScheme, PaletteProps } from './tokens/types';
10
+ export { themeNames, DEFAULT_THEME } from './tokens/brands';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,yBAAyB,GAC1B,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,qBAAqB,EACrB,KAAK,EACL,cAAc,EACd,SAAS,EACT,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,YAAY,CAAC;AAGpB,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC3E,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG3E,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,12 @@
1
+ export type ColorMode = 'light' | 'dark';
2
+ /**
3
+ * `Appearance.getColorScheme()` is nullable — `null` when the native Appearance module is
4
+ * unavailable — and on RN 0.85+ can also report `'unspecified'`. Our peer floor spans both, so
5
+ * anything that isn't explicitly `'dark'` floors to light, mirroring web's matchMedia which only
6
+ * ever asks "is it dark?". Read it per render, never cache: it changes at sunrise/sunset and on
7
+ * `Appearance.setColorScheme()`.
8
+ */
9
+ export declare function getSystemColorMode(): ColorMode;
10
+ /** Returns an unsubscribe fn. */
11
+ export declare function subscribeToSystemColorMode(callback: (mode: ColorMode) => void): () => void;
12
+ //# sourceMappingURL=colorScheme.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorScheme.native.d.ts","sourceRoot":"","sources":["../../../../src/theme/platform/colorScheme.native.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEzC;;;;;;GAMG;AACH,wBAAgB,kBAAkB,IAAI,SAAS,CAE9C;AAED,iCAAiC;AACjC,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,GAClC,MAAM,IAAI,CAKZ"}
@@ -0,0 +1,35 @@
1
+ import type { ViewStyle } from 'react-native';
2
+ import type { ElevationToken } from '../tokens/primitives';
3
+ /**
4
+ * The style props an elevation resolves to. A `Pick` rather than `ViewStyle` so a future RN
5
+ * shadow prop cannot silently widen what this function is allowed to emit.
6
+ */
7
+ export type ElevationStyle = Pick<ViewStyle, 'shadowColor' | 'shadowOffset' | 'shadowOpacity' | 'shadowRadius' | 'elevation'>;
8
+ /**
9
+ * Resolve an elevation token to RN style props.
10
+ *
11
+ * Uses the legacy shadow props over `boxShadow` because `boxShadow` is New-Architecture-only, and
12
+ * our peer range (RN >= 0.79) still lets a consumer ship `newArchEnabled=false` — on which
13
+ * `boxShadow` renders nothing at all. The legacy props map straight to the platform APIs and are
14
+ * not deprecated, so they are the only path that works on both architectures. react-native-web's
15
+ * style preprocessor converts these same legacy props into a real CSS `box-shadow`, so the `web`
16
+ * branch below rides that conversion rather than emitting `boxShadow` itself.
17
+ *
18
+ * An elevation token is a STACK of layers (web needs both an ambient and a contact shadow per
19
+ * step), but legacy RN shadow props can only express one. This renders `layers[0]` — the dominant
20
+ * layer — and drops the rest. That is an honest limit of the legacy path, not a token compromise:
21
+ * a future `boxShadow`-only resolver (new-arch-only consumers) can render every layer.
22
+ *
23
+ * `layer.spread` is dropped — neither legacy platform API exposes it (RN implements it by
24
+ * insetting a custom shadowPath). The ramp's `md`/`lg` carry a negative spread to tighten the
25
+ * shadow on web, so those two steps read marginally wider here. Accepted: honouring it would mean
26
+ * hand-drawing a shadow layer per view.
27
+ *
28
+ * Returns one of three shapes: `ios`, `android` (RN's `default` branch — Android reads the numeric
29
+ * `elevation` prop and ignores offset/opacity/radius), and `web`. `web` MUST stay its own explicit
30
+ * key: without it, react-native-web falls through to `default` (the Android shape), whose only
31
+ * meaningful field — `elevation` — react-native-web silently ignores (it is Android-only), so the
32
+ * shadow renders as nothing at all.
33
+ */
34
+ export declare function elevation(token: ElevationToken): ElevationStyle;
35
+ //# sourceMappingURL=elevation.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elevation.native.d.ts","sourceRoot":"","sources":["../../../../src/theme/platform/elevation.native.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,SAAS,EACT,aAAa,GAAG,cAAc,GAAG,eAAe,GAAG,cAAc,GAAG,WAAW,CAChF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,cAAc,CAgC/D"}
@@ -0,0 +1,41 @@
1
+ import type { TextStyle } from 'react-native';
2
+ import { fontWeights } from '../tokens/primitives';
3
+ /**
4
+ * The weight VALUES the `fontWeights` tokens resolve to ('400'…'700') — which is exactly RN's own
5
+ * `fontWeight` string domain. Derived from the token so adding a weight there fails the `satisfies`
6
+ * below until a matching face is registered here.
7
+ */
8
+ export type FontWeightValue = (typeof fontWeights)[keyof typeof fontWeights];
9
+ /** The style a weight resolves to. Never both keys at once — see `fontStyleForWeight`. */
10
+ export type FontStyleForWeight = Pick<TextStyle, 'fontFamily' | 'fontWeight'>;
11
+ /**
12
+ * Keyed by the weight VALUE, not the token name, because the value is what a copied web call passes
13
+ * (`fontStyleForWeight(fontWeights.semibold)`) and what the `fontWeight` fallback below needs
14
+ * verbatim — one input serves the family lookup and the fallback.
15
+ *
16
+ * The values are the family names the consumer app registers with expo-font. Loading Inter is the
17
+ * app's job; this library takes no font dependency:
18
+ * useFonts({ 'Inter-Regular': require('…'), 'Inter-SemiBold': require('…'), … })
19
+ */
20
+ export declare const interFontFamilies: {
21
+ readonly '400': "Inter-Regular";
22
+ readonly '500': "Inter-Medium";
23
+ readonly '600': "Inter-SemiBold";
24
+ readonly '700': "Inter-Bold";
25
+ };
26
+ /** The platform's own UI font, used when the app has not registered Inter. */
27
+ export declare const systemFontFamily: string;
28
+ /**
29
+ * Resolve a weight to a text style.
30
+ *
31
+ * With Inter loaded this returns `fontFamily` ONLY, deliberately omitting `fontWeight`: each Inter
32
+ * face already carries its weight, and pairing a weighted face with `fontWeight` makes Android
33
+ * synthesise a faux-bold on top of it. The system fallback is the reverse — one family, so the
34
+ * weight has to be carried by `fontWeight` (the token value is already the string RN expects).
35
+ *
36
+ * `interLoaded` is passed in from the theme provider, not detected: without expo-font there is no
37
+ * way to ask whether a family registered, and an unregistered family degrades inconsistently
38
+ * (silent fallback on Android, a warning on iOS).
39
+ */
40
+ export declare function fontStyleForWeight(weight: FontWeightValue, interLoaded?: boolean): FontStyleForWeight;
41
+ //# sourceMappingURL=fonts.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fonts.native.d.ts","sourceRoot":"","sources":["../../../../src/theme/platform/fonts.native.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAE7E,0FAA0F;AAC1F,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,SAAS,EAAE,YAAY,GAAG,YAAY,CAAC,CAAC;AAE9E;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB;;;;;CAKsB,CAAC;AAErD,8EAA8E;AAC9E,eAAO,MAAM,gBAAgB,EAAE,MAG7B,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,eAAe,EACvB,WAAW,UAAO,GACjB,kBAAkB,CAKpB"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The platform seam. Web's mirror exports these same names over CSS/DOM, which is what lets the
3
+ * theme provider and every module's styles be copy-pasted between the repos unchanged.
4
+ *
5
+ * Imports are `.native`-suffixed on purpose: this package ships native only, so there is no `.ts`
6
+ * sibling for a bundler to choose between and nothing to resolve implicitly.
7
+ */
8
+ export { rem, hairline } from './units.native';
9
+ export { elevation } from './elevation.native';
10
+ export type { ElevationStyle } from './elevation.native';
11
+ export { interFontFamilies, systemFontFamily, fontStyleForWeight } from './fonts.native';
12
+ export type { FontWeightValue, FontStyleForWeight } from './fonts.native';
13
+ export { getSystemColorMode, subscribeToSystemColorMode } from './colorScheme.native';
14
+ export type { ColorMode } from './colorScheme.native';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/platform/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzF,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AACtF,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Identity on native: RN lengths are already density-independent pixels.
3
+ * It exists so theme code copied from web — which calls `rem(space[4])` — compiles unchanged
4
+ * here, where the web mirror returns `n / 16 + 'rem'`.
5
+ */
6
+ export declare const rem: (n: number) => number;
7
+ /**
8
+ * The thinnest crisp line on this device, resolved at runtime from screen density.
9
+ * This is why `borderWidths` tokens stay plain numbers: a density-dependent value cannot live in
10
+ * the copy-paste zone, so the token says `1` and a border that wants a hairline reaches for this.
11
+ */
12
+ export declare const hairline: number;
13
+ //# sourceMappingURL=units.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"units.native.d.ts","sourceRoot":"","sources":["../../../../src/theme/platform/units.native.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,GAAG,GAAI,GAAG,MAAM,KAAG,MAAW,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAiC,CAAC"}
@@ -0,0 +1,81 @@
1
+ import type { ReactNode } from 'react';
2
+ import { space, radii, fontSizes, fontWeights, lineHeights, letterSpacings, borderWidths, breakpoints, zIndices } from '../tokens';
3
+ import type { ColorScheme, ElevationLevel, PaletteProps, RoleColors, ThemeName } from '../tokens';
4
+ import type { ElevationStyle, FontStyleForWeight, FontWeightValue } from '../platform';
5
+ import type { ColorModeStorageAdapter, ThemeMode } from './colorModeStorage';
6
+ /**
7
+ * The fully resolved theme for one (brand, resolvedMode): role colours resolved to plain strings,
8
+ * the unitless numeric scale, and the platform-rendered pieces a token cannot hold (RN shadow props,
9
+ * a font-style resolver). This is what `useTheme()` returns; component modules read it, never the
10
+ * raw palette directly.
11
+ */
12
+ export type Theme = {
13
+ brand: ThemeName;
14
+ /** The resolved mode this theme was built for — never `'system'`. */
15
+ mode: ColorScheme;
16
+ /** Semantic role colours as resolved values. The `useThemeColors()` escape hatch returns this. */
17
+ colors: RoleColors;
18
+ /** The raw ramps, for the rare consumer that needs a specific rung the roles don't name. */
19
+ palette: PaletteProps;
20
+ space: typeof space;
21
+ radii: typeof radii;
22
+ fontSizes: typeof fontSizes;
23
+ fontWeights: typeof fontWeights;
24
+ lineHeights: typeof lineHeights;
25
+ letterSpacings: typeof letterSpacings;
26
+ borderWidths: typeof borderWidths;
27
+ breakpoints: typeof breakpoints;
28
+ zIndices: typeof zIndices;
29
+ /** Elevation levels already rendered to RN shadow props. Mode-independent — shared across themes. */
30
+ elevation: Record<ElevationLevel, ElevationStyle>;
31
+ /** A weight → RN text style, bound to whether the app has registered Inter. */
32
+ fontStyleForWeight: (weight: FontWeightValue) => FontStyleForWeight;
33
+ };
34
+ export type ThemeModeValue = {
35
+ /** The user's selection: `'light' | 'dark' | 'system'`. */
36
+ mode: ThemeMode;
37
+ /** What `system` currently resolves to, tracking the OS live. */
38
+ resolvedMode: ColorScheme;
39
+ /** Persists the choice and switches the theme. */
40
+ setMode: (mode: ThemeMode) => void;
41
+ /** The active brand. */
42
+ brand: ThemeName;
43
+ /** Persists the choice and switches the theme — mirrors `setMode`. */
44
+ setBrand: (brand: ThemeName) => void;
45
+ };
46
+ export type PixelizeProviderProps = {
47
+ children: ReactNode;
48
+ /**
49
+ * Initial brand. A persisted user choice wins over this. Defaults to `zinc` (the shadcn look).
50
+ * Read once on mount, like `mode` below — change it afterward via `setBrand` from
51
+ * `useThemeMode()`, not by re-passing a different prop value.
52
+ */
53
+ brand?: ThemeName;
54
+ /** Initial mode. A persisted user choice wins over this. Defaults to `system`. */
55
+ mode?: ThemeMode;
56
+ /** Persistence adapter. Absent → in-memory (choice lost on restart) + a dev warning. */
57
+ storage?: ColorModeStorageAdapter;
58
+ storageKey?: string;
59
+ /** Storage key for the brand choice — separate from `storageKey` (mode) so a plain-string
60
+ * adapter never has to encode two values into one slot. */
61
+ brandStorageKey?: string;
62
+ /**
63
+ * Whether the app has registered the Inter faces (`useFonts({...})`). Defaults to `false`: without
64
+ * this the library must use the always-safe system font, since an unregistered face degrades
65
+ * inconsistently across platforms. Pass `interLoaded={fontsLoaded}` once loading resolves.
66
+ */
67
+ interLoaded?: boolean;
68
+ };
69
+ /**
70
+ * Two contexts, on purpose. `ThemeContext` holds the heavy resolved `Theme`; `ThemeModeContext` holds
71
+ * the small mode-control triple. Both provider values are memoised on their true inputs, so:
72
+ * - a mode flip recomputes the theme exactly ONCE and re-renders each consumer once, and
73
+ * - an OS colour change while the mode is pinned (`resolvedMode` unchanged) keeps BOTH values
74
+ * reference-stable, so it re-renders nobody.
75
+ * Splitting also means a `useThemeMode()` reader isn't invalidated by unrelated theme-object churn
76
+ * and vice versa.
77
+ */
78
+ export declare const ThemeContext: import("react").Context<Theme | undefined>;
79
+ export declare const ThemeModeContext: import("react").Context<ThemeModeValue | undefined>;
80
+ export declare function PixelizeProvider({ children, brand: brandProp, mode, storage: storageProp, storageKey, brandStorageKey, interLoaded, }: PixelizeProviderProps): import("react").JSX.Element;
81
+ //# sourceMappingURL=PixelizeProvider.d.ts.map