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,102 @@
1
+ /**
2
+ * Badge's style resolution — same split as Button/Input:
3
+ * - STRUCTURE (height, padding, radius, border WIDTH) lives in the themed `badgeStructure`
4
+ * resolver, static per (brand, mode), registered once via `StyleSheet.create`.
5
+ * - COLOUR is `tone`-driven and resolved by `resolveBadgeTone` from the theme's ROLE colours,
6
+ * never a raw ramp and never a hardcoded hex.
7
+ *
8
+ * Free of React and of `lucide`, so the WCAG tests import it directly (mocking only
9
+ * `react-native`'s `StyleSheet`, as `core/style` does).
10
+ */
11
+ import type { RoleColors, StatusRole, Theme } from "../../theme";
12
+ export type BadgeSize = "sm" | "md";
13
+ /** `accent`/`neutral` are brand-driven emphasis; the rest mirror the theme's status roles. */
14
+ export type BadgeTone = "accent" | "neutral" | StatusRole;
15
+ export interface BadgeSizeSpec {
16
+ /** Visual height in dp. */
17
+ readonly height: number;
18
+ /** Label size, on the theme's `fontSizes` scale. */
19
+ readonly fontSize: number;
20
+ /** Icon glyph size in dp. */
21
+ readonly iconSize: number;
22
+ }
23
+ /**
24
+ * Badge-specific dimensions — a chip is never a touch target (Badge is a `View`, not a
25
+ * `Pressable`), so there is no `hitSlop`/44dp floor here, unlike Button/Input. `fontSize`/`iconSize`
26
+ * sit on the same +2 icon-over-label offset Button uses, one step down its scale (12/14 vs 14/16).
27
+ */
28
+ export declare const BADGE_SIZES: {
29
+ readonly sm: {
30
+ readonly height: 20;
31
+ readonly fontSize: 12;
32
+ readonly iconSize: 14;
33
+ };
34
+ readonly md: {
35
+ readonly height: 24;
36
+ readonly fontSize: 14;
37
+ readonly iconSize: 16;
38
+ };
39
+ };
40
+ export interface BadgeToneColors {
41
+ /** Chip background — always the tinted "subtle" rung, never a solid fill. */
42
+ readonly fill: string;
43
+ /** Label + icon on `fill`. */
44
+ readonly text: string;
45
+ /** Chip boundary — see the note below on why this is never `StatusColors.border`. */
46
+ readonly border: string;
47
+ }
48
+ /**
49
+ * Maps a `tone` onto the theme's role colours — the reason the prop is a closed union and not
50
+ * `color?: string`. Every colour a Badge can show is one of these role lookups.
51
+ *
52
+ * `accent`/`neutral` mirror Button's tone shapes but always at the "subtle" emphasis (a badge is
53
+ * a passive label, never a filled call-to-action): `accent` tints toward the brand, `neutral` is
54
+ * the monochrome high-emphasis pairing (`bg.sunken` + `fg.default`), both bordered by the same
55
+ * `border.interactive` outline Button uses for its outline variant (measured ≥ 3:1 against the
56
+ * canvas AND against either subtle fill on all 8 brands × both modes — see `Badge.test.ts`).
57
+ *
58
+ * The four status tones deliberately do NOT read `StatusColors.border`: that field (`ramp[200]`)
59
+ * is documented as "decorative chip/badge outline", but measured, it clears neither 3:1 against
60
+ * the canvas nor against its own `subtle` fill on ANY brand × mode (as low as 1.26:1) — the same
61
+ * class of gap `Input.variants.ts` found and fixed for `danger` alone (reading `.solid` there
62
+ * instead). `.solid` does not generalise here: it clears 3:1 for `danger` but not for
63
+ * `success`/`warning`/`info` in light mode (as low as 1.84:1). `StatusColors.text` is the one
64
+ * field proven ≥ 3:1 against both the canvas and the subtle fill for EVERY status role, brand, and
65
+ * mode (it is picked by `readableOn` for ≥ 4.5:1 against `subtle`, which already implies ≥ 3:1,
66
+ * and measures ≥ 5.05:1 against the canvas incidentally) — so the border reuses it, giving a
67
+ * coloured outline that always matches the label, never an unreadable hairline.
68
+ */
69
+ export declare function resolveBadgeTone(colors: RoleColors, tone: BadgeTone): BadgeToneColors;
70
+ export interface BadgeAccessibilityInput {
71
+ readonly label: string;
72
+ }
73
+ export interface BadgeAccessibilityProps {
74
+ /** Collapses the icon + label into ONE accessible node reporting `label` (WCAG 4.1.2). */
75
+ readonly accessible: true;
76
+ readonly accessibilityRole: "text";
77
+ readonly accessibilityLabel: string;
78
+ }
79
+ /**
80
+ * Derives the accessibility surface once, purely, so it's testable without a renderer. A Badge is
81
+ * never interactive, so unlike Button/Input there is no `disabled`/`busy` state to report — just
82
+ * the single accessible name a screen reader announces for the whole chip.
83
+ */
84
+ export declare function resolveBadgeAccessibility(input: BadgeAccessibilityInput): BadgeAccessibilityProps;
85
+ /**
86
+ * Structural styles only — layout, height, padding, radius, border WIDTH. No colours (those are
87
+ * tone-driven and applied inline over this), so this compiles once per theme identity via the
88
+ * `WeakMap`-cached themed resolver and never rebuilds per render.
89
+ */
90
+ export declare const badgeStructure: import("../../core/style").ThemedVariantResolver<Theme, {
91
+ size: {
92
+ sm: {
93
+ height: 20;
94
+ paddingHorizontal: 8;
95
+ };
96
+ md: {
97
+ height: 24;
98
+ paddingHorizontal: 12;
99
+ };
100
+ };
101
+ }, import("react-native").ViewStyle>;
102
+ //# sourceMappingURL=Badge.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/badge/Badge.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAgB,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAG/E,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;AACpC,8FAA8F;AAC9F,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B,2BAA2B;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,oDAAoD;IACpD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,6BAA6B;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;CAG6B,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,6EAA6E;IAC7E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,8BAA8B;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,qFAAqF;IACrF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,GAAG,eAAe,CASrF;AAMD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACtC,0FAA0F;IAC1F,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC;IAC1B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;CACrC;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,uBAAuB,GAAG,uBAAuB,CAEjG;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;oCAgBxB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Public surface of `pixelize-native-library/badge`. Value exports and type exports are split for
3
+ * `verbatimModuleSyntax`. The visual resolver (`resolveBadgeTone`, `BADGE_SIZES`, …) stays
4
+ * internal — a consumer configures a Badge through its props, never by importing its internals.
5
+ */
6
+ export { Badge } from "./Badge";
7
+ export type { BadgeProps } from "./Badge";
8
+ export type { BadgeTone, BadgeSize } from "./Badge.variants";
9
+ export type { IconName } from "../../core/icon";
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/badge/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7D,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,106 @@
1
+ /**
2
+ * BottomNav — a fixed bottom tab bar (core tab slots + a trailing "More" slot) that presents its
3
+ * overflow destinations, search, and the opt-in "Edit tabs" flow inside the library's OWN `Drawer`
4
+ * (`../drawer`), consumed exactly as any app would — through its public `index.ts`, never Drawer's
5
+ * internal `Drawer.variants.ts`. This is what satisfies reusing the existing bottom-sheet primitive
6
+ * instead of rebuilding slide/backdrop/dismiss mechanics from scratch: every one of Drawer's WCAG
7
+ * escape hooks (backdrop press, Android hardware back, iOS VoiceOver escape, the web-portal opt-in)
8
+ * is inherited for free.
9
+ *
10
+ * `BottomNav.tsx` owns only the fixed bar: per-tab focus tracking, the active-indicator render
11
+ * (presence/absence + a label-weight switch, never colour alone — see the accessibility contract in
12
+ * MODULE.md), wiring press → `onDestinationPress`, and closing the sheet after a sheet-row selection.
13
+ * The sheet's actual content (search, Recent, grouped sections, edit mode, no-results) is
14
+ * `BottomNavOverflowSheet` — a private sub-component in its own file, the same "this warrants its own
15
+ * file" call this library already made for Reorder's private `ReorderRow`.
16
+ *
17
+ * Every piece of state here was classified against one question: does anything OUTSIDE this
18
+ * component plausibly need to read or set it? `active`, `moreVisible`, `recent`, `coreTabs`, and
19
+ * `edit.editing` all answer yes (the app's own router/persistence owns them) and are therefore
20
+ * controlled props, never internal state — see MODULE.md's "Controlled-state contract" for the full,
21
+ * item-by-item reasoning. Only per-tab keyboard/AT focus is internal here, the same idiom
22
+ * Button/Input/Select already use for their own focus rings.
23
+ */
24
+ import type { IconName } from "../../core/icon";
25
+ import type { LayoutStyle } from "../../core/style";
26
+ import type { MenuItem } from "../menu";
27
+ /** Fully app-supplied. The library never hardcodes a destination's id, label, icon, or grouping. */
28
+ export interface BottomNavDestination {
29
+ /** Opaque to the library — the app's own route/screen key. */
30
+ readonly id: string;
31
+ /** Visible label AND accessible-name fallback. */
32
+ readonly label: string;
33
+ readonly icon: IconName;
34
+ /** Overrides the accessible name, e.g. to fold in a live count: "Tasks, 3 overdue". */
35
+ readonly accessibilityLabel?: string;
36
+ }
37
+ export interface BottomNavOverflowSection {
38
+ /** React key + a11y grouping key. */
39
+ readonly id: string;
40
+ /** Omit → renders with NO header row (a flat/ungrouped section). */
41
+ readonly label?: string;
42
+ readonly destinations: BottomNavDestination[];
43
+ }
44
+ /**
45
+ * Discriminated, closed, and exhaustive — the ONE state fact BottomNav needs to render the right
46
+ * selection UI. New variants may be ADDED later (e.g. a future `{ kind: "search" }`); existing
47
+ * variants are never renamed or reshaped — see MODULE.md's API stability contract.
48
+ */
49
+ export type BottomNavActiveState = {
50
+ readonly kind: "core";
51
+ readonly id: string;
52
+ } | {
53
+ readonly kind: "more";
54
+ readonly id?: string;
55
+ } | {
56
+ readonly kind: "none";
57
+ };
58
+ /**
59
+ * The whole "Edit tabs" feature is atomically opt-in — omit `edit` entirely and BottomNav renders NO
60
+ * edit affordance anywhere, byte-identical to a build of this module that never had the feature.
61
+ */
62
+ export interface BottomNavEditConfig {
63
+ /** Controlled — see MODULE.md's controlled-state contract. */
64
+ readonly editing: boolean;
65
+ readonly onEditingChange: (editing: boolean) => void;
66
+ readonly onPinChange: (slotIndex: number, destination: BottomNavDestination) => void;
67
+ /** Omit → no "Reset to default" row rendered at all. */
68
+ readonly onResetToDefault?: () => void;
69
+ readonly editLabel?: string;
70
+ readonly doneLabel?: string;
71
+ readonly resetLabel?: string;
72
+ }
73
+ export interface BottomNavProps {
74
+ /** Ordered, fixed-length set of visible tab slots. MODULE.md documents ~4–5 as the practical range
75
+ * for a comfortable touch target; this component does not enforce a length. */
76
+ coreTabs: BottomNavDestination[];
77
+ active: BottomNavActiveState;
78
+ /** Fires for EVERY user-initiated navigation intent through this component: a core-tab press, a
79
+ * Recent-row press, or a search/grouped-row press inside the sheet. This is also the app's ONLY
80
+ * signal to update its own "recently visited" state — see MODULE.md's controlled-state contract. */
81
+ onDestinationPress: (id: string) => void;
82
+ moreLabel: string;
83
+ moreIcon: IconName;
84
+ moreVisible: boolean;
85
+ onMoreVisibleChange: (visible: boolean) => void;
86
+ overflowSections: BottomNavOverflowSection[];
87
+ /** Most-recent-first. The library never reorders, truncates, or persists this — it renders exactly
88
+ * what it's given, pre-search only. Omit or pass `[]` to hide the Recent row entirely. */
89
+ recent?: BottomNavDestination[];
90
+ searchPlaceholder?: string;
91
+ searchAccessibilityLabel?: string;
92
+ recentLabel?: string;
93
+ noResultsLabel?: string;
94
+ edit?: BottomNavEditConfig;
95
+ /** Reuses `../menu`'s own `MenuItem` type directly. Omit → no quick-actions trigger renders at all. */
96
+ moreQuickActions?: MenuItem[];
97
+ /** `accessibilityLabel` for the quick-actions trigger badge. */
98
+ moreQuickActionsLabel?: string;
99
+ /** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
100
+ style?: LayoutStyle;
101
+ /** Seeds `${testID}-tab-${id}`, `-more`, `-sheet`, `-sheet-search`, `-sheet-backdrop`,
102
+ * `-sheet-recent-${id}`, `-sheet-result-${id}`, `-sheet-edit-toggle`, `-sheet-reset`. */
103
+ testID?: string;
104
+ }
105
+ export declare const BottomNav: import("react").NamedExoticComponent<BottomNavProps>;
106
+ //# sourceMappingURL=BottomNav.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomNav.d.ts","sourceRoot":"","sources":["../../../../src/modules/bottom-nav/BottomNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAMH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAMpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAYxC,oGAAoG;AACpG,MAAM,WAAW,oBAAoB;IACnC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,uFAAuF;IACvF,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,wBAAwB;IACvC,qCAAqC;IACrC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,YAAY,EAAE,oBAAoB,EAAE,CAAC;CAC/C;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAC5B;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC9C;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9B;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,8DAA8D;IAC9D,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,QAAQ,CAAC,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACrF,wDAAwD;IACxD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,cAAc;IAE7B;oFACgF;IAChF,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,MAAM,EAAE,oBAAoB,CAAC;IAC7B;;yGAEqG;IACrG,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAGzC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IAGnB,WAAW,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,gBAAgB,EAAE,wBAAwB,EAAE,CAAC;IAC7C;+FAC2F;IAC3F,MAAM,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAGhC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,uGAAuG;IACvG,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC9B,gEAAgE;IAChE,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAG/B,8FAA8F;IAC9F,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB;8FAC0F;IAC1F,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAuCD,eAAO,MAAM,SAAS,sDA4LpB,CAAC"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * BottomNav's fuzzy destination search — pure, framework-free (no React, no `react-native` import at
3
+ * all). Kept out of `BottomNav.variants.ts` deliberately: this is an orthogonal concern (ranking
4
+ * CORRECTNESS, not colour/structure) with its own large, focused test surface, the same "give it its
5
+ * own file" call the design brief makes for `BottomNavOverflowSheet.tsx`.
6
+ *
7
+ * A from-scratch scorer, not a new dependency — same "no new dependency" bar `Reorder`'s hand-built
8
+ * `PanResponder` drag math already set for this library. See MODULE.md's "Open Risks" for why this
9
+ * algorithm is a build-time judgment call (swappable behind the same `matchDestinations` signature),
10
+ * not a locked-in guarantee.
11
+ *
12
+ * Deliberately searches `overflowSections` only — never `coreTabs` (already visible in the bar) and
13
+ * never `recent` (a separate, always-available pre-search fast path). See MODULE.md.
14
+ *
15
+ * Types are imported `import type` only (erased by `verbatimModuleSyntax`), so this file pulls in no
16
+ * runtime dependency on `BottomNav.tsx`, React, or React Native — it stays testable under plain jest
17
+ * with zero mocking.
18
+ */
19
+ import type { BottomNavDestination, BottomNavOverflowSection } from "./BottomNav";
20
+ export interface FuzzyMatch {
21
+ readonly destination: BottomNavDestination;
22
+ readonly sectionId: string;
23
+ readonly sectionLabel: string | undefined;
24
+ /** > 0 only; higher = better. Never compared across queries — only used to rank one query's own
25
+ * results against each other. */
26
+ readonly score: number;
27
+ }
28
+ /** Lowercases and collapses internal whitespace runs to a single space, trimmed at both ends — the
29
+ * shared normalisation every tier below measures against. */
30
+ export declare function normalizeQuery(text: string): string;
31
+ /**
32
+ * Classic Levenshtein edit distance (insert/delete/substitute, each cost 1), the iterative two-row
33
+ * form — O(min memory), never the full O(a·b) matrix a naive implementation would allocate.
34
+ */
35
+ export declare function levenshteinDistance(a: string, b: string): number;
36
+ /** How many single-character edits a word of this length may be off by and still count as a typo of
37
+ * the query rather than a different word: 1 for short words (≤ 6 chars), 2 for longer ones — a
38
+ * longer word has more room for one stray transposition/typo before it stops resembling the query. */
39
+ export declare function typoBudget(wordLength: number): number;
40
+ /**
41
+ * Tiered scoring, highest signal wins:
42
+ * 1. exact match (case-insensitive, whitespace-collapsed) → {@link SCORE_EXACT}
43
+ * 2. prefix match ("acc" → "Accounts") → {@link SCORE_PREFIX}
44
+ * 3. substring anywhere in the label → {@link SCORE_SUBSTRING}
45
+ * 4. subsequence match ("acnt" → "Accounts"), density-scaled → {@link SCORE_SUBSEQUENCE_BASE}+
46
+ * 5. typo-tolerant: per-word Levenshtein ≤ `typoBudget` → {@link SCORE_TYPO_BASE}-
47
+ * Returns 0 (no match) below tier 5's own threshold. An empty/whitespace `query` always returns 0 —
48
+ * callers (`matchDestinations`) short-circuit on that case before ever reaching here.
49
+ */
50
+ export declare function fuzzyScore(query: string, label: string): number;
51
+ /**
52
+ * Ranks every destination across every section for one query; empty/whitespace query → `[]` (the
53
+ * pre-search state is Recent + grouped sections, not an empty search result — `BottomNavOverflowSheet`
54
+ * itself decides which view to render, this function only ever answers "what matches").
55
+ *
56
+ * `Array.prototype.sort` has been a STABLE sort since ES2019 — ties keep their original
57
+ * section/destination order for free, so this never needs a second manual tiebreaker (same "let the
58
+ * platform guarantee do the work" reasoning `moveItem`'s splice-based approach relies on).
59
+ */
60
+ export declare function matchDestinations(query: string, sections: readonly BottomNavOverflowSection[]): FuzzyMatch[];
61
+ //# sourceMappingURL=BottomNav.search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomNav.search.d.ts","sourceRoot":"","sources":["../../../../src/modules/bottom-nav/BottomNav.search.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAElF,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C;sCACkC;IAClC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;8DAC8D;AAC9D,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAoBhE;AAED;;uGAEuG;AACvG,wBAAgB,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAErD;AA6CD;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAa/D;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,SAAS,wBAAwB,EAAE,GAC5C,UAAU,EAAE,CAed"}
@@ -0,0 +1,122 @@
1
+ /**
2
+ * BottomNav's style + behaviour resolution — same split as every sibling module:
3
+ * - STRUCTURE (sizing/spacing/radius/border WIDTH) lives in the `createThemedVariants` resolvers
4
+ * below, registered once per theme identity.
5
+ * - COLOUR is resolved from the theme's ROLE colours by `resolveBottomNavTabColors`, never a raw
6
+ * hex — the reason a tab's look is driven by `active: boolean`, not a free `color` prop.
7
+ * - `resolveBottomNavAccessibility` derives one tab's `accessibilityState` purely, so the
8
+ * selected/expanded/disabled contract is unit-testable without rendering React Native.
9
+ * - `resolveEditRowState` derives whether one core-tab slot chip is the current pin target while
10
+ * `edit.editing` is true — read by `BottomNavOverflowSheet`, not by `BottomNav` itself.
11
+ * - `resolveBottomNavBottomInset` approximates the iOS home-indicator inset. This is the SAME
12
+ * formula `Drawer.variants.ts`'s `resolveDrawerBottomInset` and `Toast`'s own copy each already
13
+ * carry independently (see MODULE.md "Known gaps" for why this isn't hoisted to a shared helper
14
+ * yet — `react-native-safe-area-context` isn't a real peer dependency of this package today).
15
+ * - `resolveOverflowSheetHeight` is the pure "medium detent" approximation: `BottomNavOverflowSheet`
16
+ * caps its own root View to this height before handing it to `Drawer` as `children`, rather than
17
+ * Drawer growing to its own 90%-of-window ceiling.
18
+ *
19
+ * Free of React and of any lucide import, so the WCAG + behaviour tests import it directly (mocking
20
+ * only `react-native`'s `StyleSheet`, as `core/style` does).
21
+ */
22
+ import type { RoleColors, Theme } from "../../theme";
23
+ /** Same touch-target floor as Button/Select/Menu (44dp — Apple HIG minimum, WCAG 2.5.5 AAA). */
24
+ export declare const MIN_TOUCH_TARGET = 44;
25
+ /** The bar's fixed visual height. A design constant, not a caller-facing `size` scale — v1 is a
26
+ * single fixed shape (see MODULE.md's API stability contract, "out of contract"). Comfortably
27
+ * clears `MIN_TOUCH_TARGET` on its own, with no `hitSlop` needed (unlike Button's shorter sizes). */
28
+ export declare const BOTTOM_NAV_HEIGHT = 56;
29
+ /** Icon glyph size for a core/More tab in the bar. */
30
+ export declare const BOTTOM_NAV_ICON_SIZE = 22;
31
+ /** Icon glyph size for a row inside the overflow sheet (search result, Recent, grouped, edit slot). */
32
+ export declare const OVERFLOW_ROW_ICON_SIZE = 20;
33
+ /** The edit-mode slot chip's own "this is the pin target" dot — presence/absence, not a re-tint,
34
+ * same "use of colour" principle the bar's own active indicator documents below. */
35
+ export declare const EDIT_SLOT_INDICATOR_SIZE = 8;
36
+ /**
37
+ * Static bottom-inset fallback — see `Drawer.variants.ts`'s `DRAWER_IOS_HOME_INDICATOR_INSET` for
38
+ * the full reasoning (`react-native-safe-area-context` is an optional peer, not a real dependency of
39
+ * this package, so `useSafeAreaInsets` can't be imported here without breaking a consumer that
40
+ * hasn't separately installed it). Same numeric approximation, carried independently rather than
41
+ * imported from `../drawer` — a sibling module reaching into another's `.variants.ts` internals
42
+ * would be a real cross-module dependency this library's modules don't take on each other.
43
+ */
44
+ export declare const BOTTOM_NAV_IOS_HOME_INDICATOR_INSET = 20;
45
+ /** Adds the static iOS home-indicator approximation to a base padding; Android's gesture/3-button
46
+ * nav already reserves its own space outside the app window, so it needs no extra padding here. */
47
+ export declare function resolveBottomNavBottomInset(basePadding: number, platformOS: string): number;
48
+ /** The "medium detent" cap on the sheet's own content height — a fraction of the window, capped at
49
+ * an absolute maximum so a tall phone doesn't grow the sheet past a comfortable reach. This is an
50
+ * approximation of a true multi-detent sheet (see MODULE.md Known gaps), not real detent physics. */
51
+ export declare const OVERFLOW_SHEET_HEIGHT_RATIO = 0.55;
52
+ export declare const OVERFLOW_SHEET_MAX_HEIGHT = 480;
53
+ export declare function resolveOverflowSheetHeight(windowHeight: number): number;
54
+ export interface BottomNavTabColors {
55
+ /** Icon colour — a graphical UI affordance (WCAG 1.4.11 ≥ 3:1). */
56
+ readonly icon: string;
57
+ /** Label colour (WCAG 1.4.3 ≥ 4.5:1). */
58
+ readonly label: string;
59
+ /** The active-tab dot. Only ever rendered while `active` is true — see the component's own
60
+ * "use of colour" note: presence/absence carries the state, this is never a re-tint of `icon`. */
61
+ readonly indicator: string;
62
+ }
63
+ /**
64
+ * Maps a tab's active state onto role colours — the reason this module never exposes a `color`
65
+ * prop. `active` raises both the icon and the label to the highest-emphasis body colour; resting
66
+ * tabs read at the muted body colour. Selection itself is NOT conveyed by this colour step alone
67
+ * (WCAG 1.4.1) — the component pairs it with the indicator dot's presence/absence and a label
68
+ * font-weight switch, so a viewer who can't distinguish `fg.default` from `fg.muted` still sees
69
+ * which tab is active from the dot and the bold label.
70
+ */
71
+ export declare function resolveBottomNavTabColors(colors: RoleColors, active: boolean): BottomNavTabColors;
72
+ export interface BottomNavTabAccessibilityInput {
73
+ readonly selected: boolean;
74
+ /** Only meaningful for the More tab — tracks whether the overflow sheet is showing. */
75
+ readonly expanded?: boolean | undefined;
76
+ /** Not driven by any BottomNav prop today (no destination carries a `disabled` field) — supported
77
+ * here so the contract is complete and forward-compatible with a future additive field. */
78
+ readonly disabled?: boolean | undefined;
79
+ }
80
+ export interface BottomNavTabAccessibilityProps {
81
+ readonly accessibilityRole: "tab";
82
+ readonly accessibilityState: {
83
+ readonly selected: boolean;
84
+ readonly expanded?: boolean;
85
+ readonly disabled?: boolean;
86
+ };
87
+ }
88
+ /**
89
+ * Derives one tab's accessibility surface once, purely (WCAG 4.1.2): `selected` is required,
90
+ * `expanded` and `disabled` are folded in only when the caller actually passes them, so a plain
91
+ * core tab's `accessibilityState` never carries a stray `expanded: undefined` key.
92
+ */
93
+ export declare function resolveBottomNavAccessibility(input: BottomNavTabAccessibilityInput): BottomNavTabAccessibilityProps;
94
+ export interface EditRowStateInput {
95
+ readonly slotIndex: number;
96
+ readonly selectedSlotIndex: number | null;
97
+ }
98
+ export interface EditRowState {
99
+ /** Whether THIS slot is the current pin target — drives the chip's dot + label weight. */
100
+ readonly selected: boolean;
101
+ }
102
+ /** Pure "is this the targeted slot" derivation, shared by the render tree and its tests — the same
103
+ * small-pure-predicate idiom `resolveReorderMoveState` uses for Reorder's own row gating. */
104
+ export declare function resolveEditRowState(input: EditRowStateInput): EditRowState;
105
+ /** The bar container: tabs laid out as equal-width flex children, top border separating it from the
106
+ * screen content above. Colour (border, background) is resolved from role tokens and applied
107
+ * inline over this — never a hardcoded hex here. */
108
+ export declare const bottomNavBarStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
109
+ /** One tab slot: icon above label, centered, spaced by `rowGap`. Shared by every core tab AND the
110
+ * More tab's own touchable — both must reach the same 56dp visual height. */
111
+ export declare const bottomNavTabStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
112
+ /** One row inside the overflow sheet — Recent, a grouped section's destination, or a search result.
113
+ * Same shape as Select's own `selectRowStructure` / Menu's `menuRowStructure`. */
114
+ export declare const overflowRowStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
115
+ /** A grouped overflow section's header row. Omitted entirely for a section with no `label` (a
116
+ * flat/ungrouped section) — the component, not this resolver, decides whether to render it. */
117
+ export declare const overflowSectionHeaderStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
118
+ /** A row inside the edit-mode view — a current-core-tab slot chip, or the "Reset to default" row.
119
+ * Slightly tighter horizontal padding + a radius than `overflowRowStructure`: these rows read as a
120
+ * distinct, self-contained mini-list rather than a continuation of the section list below them. */
121
+ export declare const editRowStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
122
+ //# sourceMappingURL=BottomNav.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomNav.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/bottom-nav/BottomNav.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGrD,gGAAgG;AAChG,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC;;sGAEsG;AACtG,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,sDAAsD;AACtD,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,uGAAuG;AACvG,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC;qFACqF;AACrF,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAE1C;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC,KAAK,CAAC;AAEtD;oGACoG;AACpG,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAE3F;AAED;;sGAEsG;AACtG,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAChD,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAE7C,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEvE;AAED,MAAM,WAAW,kBAAkB;IACjC,mEAAmE;IACnE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,yCAAyC;IACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;uGACmG;IACnG,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAG,kBAAkB,CAMjG;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,uFAAuF;IACvF,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC;gGAC4F;IAC5F,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,iBAAiB,EAAE,KAAK,CAAC;IAClC,QAAQ,CAAC,kBAAkB,EAAE;QAC3B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;QAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;QAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;KAC7B,CAAC;CACH;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,8BAA8B,GACpC,8BAA8B,CAShC;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,0FAA0F;IAC1F,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B;AAED;8FAC8F;AAC9F,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,GAAG,YAAY,CAE1E;AAED;;qDAEqD;AACrD,eAAO,MAAM,qBAAqB,uKAK/B,CAAC;AAEJ;8EAC8E;AAC9E,eAAO,MAAM,qBAAqB,uKAS/B,CAAC;AAEJ;mFACmF;AACnF,eAAO,MAAM,oBAAoB,uKAQ9B,CAAC;AAEJ;gGACgG;AAChG,eAAO,MAAM,8BAA8B,uKAMxC,CAAC;AAEJ;;oGAEoG;AACpG,eAAO,MAAM,gBAAgB,uKAS1B,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * BottomNavOverflowSheet — PRIVATE sub-component (not exported from `index.ts`, same status as
3
+ * Reorder's own private `ReorderRow`). This is the overflow sheet's actual content, handed to
4
+ * `BottomNav.tsx`'s `<Drawer>` as `children`: the search field (reusing `../input`'s `Input`), the
5
+ * pre-search Recent row, grouped overflow sections, the edit-mode view, and the no-results state.
6
+ * Split into its own file because it is the single most complex piece of UI in this module — the
7
+ * same "give the sheet its own file" call the design brief makes explicitly.
8
+ *
9
+ * Caps its own root View's height via `resolveOverflowSheetHeight` (a fraction of the window, capped
10
+ * at an absolute maximum) BEFORE handing control to `Drawer` — this is what achieves the "medium
11
+ * detent, screen dimmed behind" look without Drawer growing to its own 90%-of-window ceiling, and
12
+ * without touching Drawer's own contract at all (see MODULE.md).
13
+ *
14
+ * Owns two pieces of internal, ephemeral `useState` — the search query text, and (only meaningful
15
+ * while `edit.editing` is true) which core-tab slot is the current pin target. Neither is ever
16
+ * surfaced to the app: both reset for free when the sheet unmounts on close, and `selectedSlotIndex`
17
+ * is additionally cleared the instant `edit.editing` turns false out from under it. See MODULE.md's
18
+ * "Controlled-state contract" for why these two — and only these two — are internal.
19
+ */
20
+ import type { BottomNavActiveState, BottomNavDestination, BottomNavEditConfig, BottomNavOverflowSection } from "./BottomNav";
21
+ interface BottomNavOverflowSheetProps {
22
+ readonly overflowSections: BottomNavOverflowSection[];
23
+ /** Already defaulted to `[]` by `BottomNav`. */
24
+ readonly recent: BottomNavDestination[];
25
+ /** Needed for the edit view's "current tabs" list. */
26
+ readonly coreTabs: BottomNavDestination[];
27
+ readonly active: BottomNavActiveState;
28
+ /** `BottomNav` wraps this to also call `onMoreVisibleChange(false)`. */
29
+ readonly onDestinationPress: (id: string) => void;
30
+ readonly edit?: BottomNavEditConfig | undefined;
31
+ readonly searchPlaceholder: string;
32
+ readonly searchAccessibilityLabel: string;
33
+ readonly recentLabel: string;
34
+ readonly noResultsLabel: string;
35
+ readonly testID?: string | undefined;
36
+ }
37
+ export declare const BottomNavOverflowSheet: import("react").NamedExoticComponent<BottomNavOverflowSheetProps>;
38
+ export {};
39
+ //# sourceMappingURL=BottomNavOverflowSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomNavOverflowSheet.d.ts","sourceRoot":"","sources":["../../../../src/modules/bottom-nav/BottomNavOverflowSheet.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAaH,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAYrB,UAAU,2BAA2B;IACnC,QAAQ,CAAC,gBAAgB,EAAE,wBAAwB,EAAE,CAAC;IACtD,gDAAgD;IAChD,QAAQ,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC;IACxC,sDAAsD;IACtD,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IAC1C,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;IACtC,wEAAwE;IACxE,QAAQ,CAAC,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,QAAQ,CAAC,IAAI,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAID,eAAO,MAAM,sBAAsB,mEA6NjC,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Public surface of `pixelize-native-library/bottom-nav`. Value exports and type exports are split
3
+ * for `verbatimModuleSyntax`. `BottomNavOverflowSheet`, `BottomNav.variants.ts`, and
4
+ * `BottomNav.search.ts` stay internal — same status as every sibling module's private pieces
5
+ * (e.g. Reorder's `ReorderRow`) — a consumer configures a BottomNav through its props, never by
6
+ * importing its internals.
7
+ */
8
+ export { BottomNav } from "./BottomNav";
9
+ export type { BottomNavProps, BottomNavActiveState, BottomNavDestination, BottomNavOverflowSection, BottomNavEditConfig, } from "./BottomNav";
10
+ export type { MenuItem } from "../menu";
11
+ export type { IconName } from "../../core/icon";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/bottom-nav/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,aAAa,CAAC;AAGrB,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxC,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Button — the reference component. The single most-repeated shape in the audited apps (81 raw
3
+ * TouchableOpacity in crm-mobile, 155 in ecommerce-mobile with three different style-key sets for the
4
+ * SAME add-to-cart button, 195 web usages). Every other module copies the patterns here: how variants
5
+ * resolve, how `tone` maps to role colours, how accessibility is wired, and the shape of the tests.
6
+ */
7
+ import type { IconName } from "../../core/icon";
8
+ import type { LayoutStyle } from "../../core/style";
9
+ import type { ButtonSize, ButtonTone, ButtonVariant, IconPosition } from "./Button.variants";
10
+ interface ButtonBaseProps {
11
+ variant?: ButtonVariant;
12
+ size?: ButtonSize;
13
+ tone?: ButtonTone;
14
+ iconPosition?: IconPosition;
15
+ loading?: boolean;
16
+ disabled?: boolean;
17
+ fullWidth?: boolean;
18
+ onPress?: () => void;
19
+ /** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
20
+ style?: LayoutStyle;
21
+ testID?: string;
22
+ }
23
+ /** A button with a visible text label. `accessibilityLabel` defaults to `label`. */
24
+ interface LabelledButtonProps extends ButtonBaseProps {
25
+ label: string;
26
+ icon?: IconName;
27
+ accessibilityLabel?: string;
28
+ }
29
+ /**
30
+ * An icon-only button. It has no visible text, so `accessibilityLabel` is REQUIRED at the type level
31
+ * — the single worst a11y trap on web (its tooltip was the only label on icon-only buttons in 22
32
+ * files, and tooltips do not exist on touch). `label?: never` makes the two shapes mutually exclusive.
33
+ */
34
+ interface IconOnlyButtonProps extends ButtonBaseProps {
35
+ icon: IconName;
36
+ label?: never;
37
+ accessibilityLabel: string;
38
+ }
39
+ export type ButtonProps = LabelledButtonProps | IconOnlyButtonProps;
40
+ declare function ButtonImpl(props: ButtonProps): import("react").JSX.Element;
41
+ export declare const Button: import("react").MemoExoticComponent<typeof ButtonImpl>;
42
+ export {};
43
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/modules/button/Button.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AASpD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7F,UAAU,eAAe;IACvB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,8FAA8F;IAC9F,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,oFAAoF;AACpF,UAAU,mBAAoB,SAAQ,eAAe;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,UAAU,mBAAoB,SAAQ,eAAe;IACnD,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;AAsBpE,iBAAS,UAAU,CAAC,KAAK,EAAE,WAAW,+BAoIrC;AAWD,eAAO,MAAM,MAAM,wDAAmB,CAAC"}