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,114 @@
1
+ /**
2
+ * FileUpload's pure logic: the native-picker calls, the raw-result → `FileUploadResult` mapping,
3
+ * the accessible-name derivation, and the structural resolvers.
4
+ *
5
+ * This is the one module in the library whose "pure" file is NOT free of a native runtime import —
6
+ * every sibling's `*.variants.ts` header says "free of React and of any native/lucide import"
7
+ * because that module owns no native call of its own. FileUpload does: `pickImageFile`/
8
+ * `pickDocumentFile` call `expo-image-picker`/`expo-document-picker` directly, PLAIN top-level
9
+ * imports (no lazy-loading), the same established pattern `core/icon` uses for its optional-peer
10
+ * native deps. Colocating the call with its own result-mapping keeps both testable the same way —
11
+ * `FileUpload.test.ts` mocks the two packages at the module level and asserts on the real call
12
+ * (options forwarded, cancel vs success vs rejection) — rather than splitting "call" (untestable
13
+ * without mounting) from "map" (pure) across files. Both packages are already mandatory peers for
14
+ * this subpath regardless of which `source` a given instance uses (see `FileUpload.tsx`'s header),
15
+ * so this adds no new install requirement.
16
+ *
17
+ * Free of React, so this file (and `FileUpload.test.ts`) never needs `@testing-library/react-native`
18
+ * — only `react-native`'s `StyleSheet` is mocked to identity, same as every sibling's pure test.
19
+ */
20
+ import * as DocumentPicker from "expo-document-picker";
21
+ import * as ImagePicker from "expo-image-picker";
22
+ import type { Theme } from "../../theme";
23
+ export type FileUploadSource = "image" | "document";
24
+ export type FileUploadSize = "sm" | "md" | "lg";
25
+ export interface FileUploadResult {
26
+ readonly uri: string;
27
+ readonly name: string;
28
+ readonly size?: number;
29
+ readonly mimeType?: string;
30
+ }
31
+ /** Shown below the control when a pick attempt fails outright (see `FileUpload.tsx`'s `openPicker`). */
32
+ export declare const FILE_UPLOAD_PICK_ERROR_MESSAGE = "Couldn't open the picker. Check that photo or file access is allowed, then try again.";
33
+ /**
34
+ * Falls back to the URI's last path segment when a picker doesn't supply a name —
35
+ * `ImagePickerAsset.fileName` can be `null` "when the name is unavailable or the user gave limited
36
+ * permission to access the media library" (its own doc comment). Strips a query/fragment first (a
37
+ * content:// or blob-style URI can carry one), then decodes percent-escapes so the displayed name
38
+ * reads like a normal filename instead of `my%20photo.jpg`.
39
+ */
40
+ export declare function fileNameFromUri(uri: string): string;
41
+ /**
42
+ * Maps `ImagePicker.launchImageLibraryAsync`'s result onto the public shape. `null` for a user
43
+ * cancellation (`canceled: true`) AND, defensively, for an empty `assets` array — the type allows
44
+ * it even though a single, non-multi-select call should never resolve that way. The caller (`
45
+ * FileUpload.tsx`) is the one that decides what a `null` MEANS (cancel → leave `value` alone,
46
+ * reject → clear it) by checking `result.canceled` itself; this function only normalizes the shape.
47
+ */
48
+ export declare function resolveImagePickResult(result: ImagePicker.ImagePickerResult): FileUploadResult | null;
49
+ /** Maps `DocumentPicker.getDocumentAsync`'s result onto the public shape — same `canceled`/empty-array handling as `resolveImagePickResult`. `DocumentPickerAsset.name` is always present, so no filename fallback is needed. */
50
+ export declare function resolveDocumentPickResult(result: DocumentPicker.DocumentPickerResult): FileUploadResult | null;
51
+ /**
52
+ * Opens the OS media-library picker and returns the normalized result, or `null` on cancel.
53
+ *
54
+ * Deliberately calls NO permission API first. Read directly from the installed `expo-image-picker`
55
+ * (v57)'s own native source: `launchImageLibraryAsync` with the default (non-editing) options never
56
+ * touches the media-library permission requester at all on either platform —
57
+ * `ImagePickerModule.swift`'s `launchImageLibraryAsync` goes straight to `launchMultiSelectPicker`
58
+ * (`PHPickerViewController`, permission-less by OS design) whenever `allowsEditing` is false, and
59
+ * `ImagePickerModule.kt`'s `launchImageLibraryAsync` never calls its permission helper either
60
+ * (unlike `launchCameraAsync`, which explicitly does on both platforms). So the "modern
61
+ * limited-access picker flow doesn't require an explicit permission request" is not a guess here —
62
+ * it's what the native module actually does for this call shape.
63
+ *
64
+ * `allowsEditing: true` is the one case that's genuinely uncertain: it routes iOS through the
65
+ * LEGACY `UIImagePickerController`, which (per Apple's own OS behaviour, outside this module's
66
+ * code) can trigger the native photo-library permission prompt on first use — see the "Known gaps"
67
+ * note in MODULE.md. Either way, this function does not special-case it: a rejection (denied
68
+ * permission, or any other native failure) simply propagates to the caller, which is the ONE place
69
+ * — `FileUpload.tsx`'s `openPicker` — that decides how to surface it (clear `value`, show the
70
+ * error row, warn in dev). A `canceled: true` resolution and a thrown rejection are the two
71
+ * possible "nothing was picked" outcomes; this function does not conflate them.
72
+ */
73
+ export declare function pickImageFile(allowsEditing: boolean): Promise<FileUploadResult | null>;
74
+ /**
75
+ * Opens the OS document picker and returns the normalized result, or `null` on cancel.
76
+ * `expo-document-picker` exposes no permission API whatsoever — it's backed by the platform's own
77
+ * file-picker UI (iOS Files / Android Storage Access Framework), which is inherently
78
+ * permission-less: the user grants access to the one file they pick, not to a library.
79
+ */
80
+ export declare function pickDocumentFile(allowedMimeTypes: string[] | undefined): Promise<FileUploadResult | null>;
81
+ /**
82
+ * The trigger Button's accessible name — folds in the current selection so a screen-reader user
83
+ * learns the state without needing to reach the separate "selected file" row. Reuses Button's own
84
+ * `accessibilityLabel` prop (never a second, parallel a11y mechanism) — see MODULE.md.
85
+ */
86
+ export declare function resolveFileUploadTriggerLabel(label: string, value: FileUploadResult | null | undefined): string;
87
+ /**
88
+ * The remove control's accessible name — one announcement naming BOTH the target and the action,
89
+ * matching how a screen reader should read a removable chip (e.g. "Selected file: report.pdf,
90
+ * remove"). The filename `Text` next to it is decorative (hidden from the accessibility tree, same
91
+ * reasoning as `Input.tsx`'s visible label), so this is the only place that name reaches AT.
92
+ */
93
+ export declare function resolveFileUploadRemoveLabel(fileName: string): string;
94
+ /**
95
+ * Root container — a vertical stack with a gap between the trigger, the optional "selected file"
96
+ * row, and the optional error message. `alignSelf: "flex-start"` is a deliberate, explicit default
97
+ * (not an omission): unlike `Select`/`MultiSelect`, which force `alignSelf: "stretch"` because they
98
+ * ARE an Input-box replica meant to span a form row, FileUpload's trigger is a plain `Button` (which
99
+ * hugs its own content width) — hard-coding a predictable "hug content" default here, rather than
100
+ * silently inheriting whatever `alignItems` the parent happens to have, means a consumer who DOES
101
+ * want it to span a row opts in explicitly via `style={{ alignSelf: "stretch" }}` (a `LayoutStyle`
102
+ * key), instead of the result depending on ambient parent layout.
103
+ */
104
+ export declare const fileUploadContainerStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
105
+ /**
106
+ * The "selected file" row — a bordered chip below the trigger. `border.interactive`, NOT the
107
+ * decorative `border.default`: `Card.variants.ts` documents `border.default` as measuring
108
+ * ~1.0–1.4:1 against `bg.surface` on every brand × mode — nowhere near a legible boundary. This row
109
+ * is a real UI grouping (WCAG 1.4.11), so it makes the identical substitution `Card`'s `outline`
110
+ * variant and `Button`'s `outline` variant both make, for the identical reason — measured against
111
+ * `bg.canvas` in `FileUpload.test.ts`, the same backdrop `Card.test.ts` uses for its own border.
112
+ */
113
+ export declare const fileUploadRowStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
114
+ //# sourceMappingURL=FileUpload.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileUpload.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/file-upload/FileUpload.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAEjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,UAAU,CAAC;AACpD,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wGAAwG;AACxG,eAAO,MAAM,8BAA8B,0FAC8C,CAAC;AAE1F;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAYnD;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,WAAW,CAAC,iBAAiB,GAAG,gBAAgB,GAAG,IAAI,CAUrG;AAED,iOAAiO;AACjO,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,cAAc,CAAC,oBAAoB,GAAG,gBAAgB,GAAG,IAAI,CAU9G;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,aAAa,CAAC,aAAa,EAAE,OAAO,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAG5F;AAED;;;;;GAKG;AACH,wBAAsB,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,EAAE,GAAG,SAAS,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAG/G;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GACzC,MAAM,CAER;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAErE;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,uKAKtC,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,uKAUhC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Public surface of `pixelize-native-library/file-upload`. Value exports and type exports are split for
3
+ * `verbatimModuleSyntax`. The picker calls, result resolvers, and structural resolvers stay
4
+ * internal — a consumer configures a FileUpload through its props, never by importing its internals.
5
+ */
6
+ export { FileUpload } from "./FileUpload";
7
+ export type { FileUploadProps } from "./FileUpload";
8
+ export type { FileUploadResult, FileUploadSize, FileUploadSource } from "./FileUpload.variants";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/file-upload/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * FilterChip — a small chip showing ONE currently-applied filter fact (e.g. "Status: Open"), with
3
+ * an optional "x" to remove it. NOT a `Badge`: `Badge` is documented, by its own file-level comment,
4
+ * as non-interactive ("no press, focus, loading, or disabled state") — this library never widens an
5
+ * existing component's contract to add press behaviour it was deliberately built without. A
6
+ * genuinely interactive chip is its own component, co-located here rather than exported from
7
+ * `../badge`.
8
+ *
9
+ * `onRemove` is the ENTIRE interactivity switch: provided → a `Pressable` with a trailing "x" icon
10
+ * (`accessibilityRole="button"`, a label that folds in the remove affordance). Omitted → a plain,
11
+ * non-interactive `View` with the identical visual shape — this is a "locked" chip (e.g. a board's
12
+ * own admin-pinned default filter the current user can't remove, matching web's `lockedChipKeys`
13
+ * concept), not a disabled-looking control.
14
+ */
15
+ import type { LayoutStyle } from "../../core/style";
16
+ export interface FilterChipProps {
17
+ label: string;
18
+ /** Omit → renders a non-removable/"locked" chip: no press, no "x", no accessibilityRole. */
19
+ onRemove?: () => void;
20
+ /** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
21
+ style?: LayoutStyle;
22
+ testID?: string;
23
+ }
24
+ export declare const FilterChip: import("react").NamedExoticComponent<FilterChipProps>;
25
+ //# sourceMappingURL=FilterChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterChip.d.ts","sourceRoot":"","sources":["../../../../src/modules/filter-sheet/FilterChip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAMH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAWpD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,4FAA4F;IAC5F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,8FAA8F;IAC9F,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID,eAAO,MAAM,UAAU,uDAyDrB,CAAC"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * FilterSheet — wraps this library's OWN `Drawer` (`../drawer`) as the sheet shell for a fully
3
+ * app-supplied set of filter DIMENSIONS (project/status/priority/type/label/… in tickets-web's own
4
+ * FilterBar, but this library hardcodes none of that vocabulary — see `FilterDimension` below). A
5
+ * consumer never touches `Drawer` directly for this use case, consumed exactly as `BottomNav`
6
+ * consumes `Drawer` for its own overflow sheet — through `Drawer`'s public props, never its internal
7
+ * `Drawer.variants.ts`.
8
+ *
9
+ * Deliberately narrow scope — a product decision, not an omission (see MODULE.md): no date-range
10
+ * filtering (`FilterDimensionKind` is closed to exactly `"single" | "multi"`), no advanced
11
+ * field/operator/value query builder, no per-board admin default-filter editor, no saved views, and
12
+ * no search input — a consuming app places its own `Input` for that elsewhere, the same stance
13
+ * tickets-web's `FilterBar` already takes (search lives outside the grouped filter panel).
14
+ *
15
+ * Internal STAGED state: opening the sheet seeds a local copy of the `values` prop (re-seeded on
16
+ * every closed→open transition, not on every render — see the effect below). Every edit made while
17
+ * the sheet is open — quick-chip taps, a dimension control's own selection, Reset — mutates ONLY
18
+ * that local copy. `onApply` is the sheet's one and only commit point; every other dismissal path
19
+ * discards the staged edits. See MODULE.md's interaction model for the full, numbered account.
20
+ */
21
+ export type FilterDimensionKind = "single" | "multi";
22
+ export interface FilterOption {
23
+ readonly label: string;
24
+ readonly value: string;
25
+ /** Renders as a one-tap pinned shortcut above this dimension's own control (e.g. a "Me" style
26
+ * shortcut) — toggled immediately into the staged state, not gated behind Apply. See MODULE.md
27
+ * interaction model, point 7. */
28
+ readonly quick?: boolean;
29
+ }
30
+ export interface FilterDimension {
31
+ readonly key: string;
32
+ readonly label: string;
33
+ readonly kind: FilterDimensionKind;
34
+ readonly options: FilterOption[];
35
+ }
36
+ export type FilterValues = Record<string, string | string[]>;
37
+ export interface FilterSheetProps {
38
+ visible: boolean;
39
+ onRequestClose: () => void;
40
+ /** Fully consumer-supplied — zero hardcoded domain vocabulary in this library. */
41
+ dimensions: FilterDimension[];
42
+ /** Controlled — the currently APPLIED values, not the sheet's own in-progress edits. */
43
+ values: FilterValues;
44
+ onApply: (values: FilterValues) => void;
45
+ /** Omit → no Reset row/button renders at all. */
46
+ onReset?: () => void;
47
+ /** Sheet header text. */
48
+ title?: string;
49
+ applyLabel?: string;
50
+ resetLabel?: string;
51
+ testID?: string;
52
+ }
53
+ export declare const FilterSheet: import("react").NamedExoticComponent<FilterSheetProps>;
54
+ //# sourceMappingURL=FilterSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterSheet.d.ts","sourceRoot":"","sources":["../../../../src/modules/filter-sheet/FilterSheet.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AASH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;sCAEkC;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,YAAY,EAAE,CAAC;CAClC;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;AAE7D,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,kFAAkF;IAClF,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,wFAAwF;IACxF,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACxC,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAMD,eAAO,MAAM,WAAW,wDAkEtB,CAAC"}
@@ -0,0 +1,98 @@
1
+ /**
2
+ * FilterSheet's style + behaviour resolution — same split as every sibling module:
3
+ * - STRUCTURE (padding/gaps/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 `resolveFilterChipColors` /
6
+ * `resolveQuickChipColors`, never a raw ramp, never a hardcoded hex.
7
+ * - `resolveFilterChipAccessibility` derives `FilterChip`'s removable-vs-locked a11y surface
8
+ * purely, so the contract is unit-testable without rendering React Native.
9
+ * - `resolveFilterSheetBodyHeight` caps the sheet's own scrollable dimension list to a fraction of
10
+ * the window — the same "medium detent" approximation `BottomNav.variants.ts`'s
11
+ * `resolveOverflowSheetHeight` already uses — so the title header and the Apply/Reset footer
12
+ * stay fixed above and below it. Drawer's own 90%-of-window cap still bounds the whole panel.
13
+ *
14
+ * Free of React and of any lucide import, so the WCAG + behaviour tests import it directly (mocking
15
+ * only `react-native`'s `StyleSheet`, as `core/style` does).
16
+ */
17
+ import type { RoleColors, Theme } from "../../theme";
18
+ /** Same touch-target floor as every interactive control in this library (44dp — Apple HIG minimum,
19
+ * WCAG 2.5.5 AAA). */
20
+ export declare const MIN_TOUCH_TARGET = 44;
21
+ /** The sheet's scrollable dimension-list cap — a fraction of the window, capped at an absolute
22
+ * maximum, the same approximation `resolveOverflowSheetHeight` uses for BottomNav's own sheet. The
23
+ * title header and the Apply/Reset footer render OUTSIDE this cap so they stay visible regardless
24
+ * of how many dimensions a consumer supplies. */
25
+ export declare const FILTER_SHEET_BODY_HEIGHT_RATIO = 0.5;
26
+ export declare const FILTER_SHEET_BODY_MAX_HEIGHT = 420;
27
+ export declare function resolveFilterSheetBodyHeight(windowHeight: number): number;
28
+ /** `FilterChip`'s fixed visual height. It is a passive/removable label, not a `size`-scaled
29
+ * control — no `size` prop (see MODULE.md), the same single-fixed-shape stance Drawer takes. */
30
+ export declare const FILTER_CHIP_HEIGHT = 28;
31
+ export declare const FILTER_CHIP_ICON_SIZE = 14;
32
+ export declare const FILTER_CHIP_HIT_SLOP: number;
33
+ export interface FilterChipColors {
34
+ readonly background: string;
35
+ readonly border: string;
36
+ /** Label AND icon colour — the icon deliberately does NOT get its own weaker tone: sharing the
37
+ * label's colour means it inherits the same measured ≥ 4.5:1 (so also ≥ 3:1 non-text) guarantee
38
+ * instead of introducing a second, separately-measured pairing. Same choice `Badge`'s own icon
39
+ * makes (`color={toneColors.text}`, not a distinct field). */
40
+ readonly text: string;
41
+ }
42
+ /**
43
+ * One fixed look for every `FilterChip`, removable or locked alike — a chip states a
44
+ * currently-applied filter FACT, not a severity or emphasis level, so there is no `tone` prop to
45
+ * resolve here (unlike `Badge`, which is a passive label with several tones). Reuses `Badge`'s own
46
+ * "neutral" tone recipe (`bg.sunken` fill + `border.interactive` outline) — already measured
47
+ * ≥ 3:1 against the canvas AND against this exact fill for every brand × mode in `Badge.test.ts`,
48
+ * so this module doesn't re-derive a fresh, untested pairing.
49
+ */
50
+ export declare function resolveFilterChipColors(colors: RoleColors): FilterChipColors;
51
+ export interface FilterChipAccessibilityInput {
52
+ readonly label: string;
53
+ readonly removable: boolean;
54
+ }
55
+ export interface FilterChipAccessibilityProps {
56
+ readonly accessible: true;
57
+ readonly accessibilityRole: "button" | undefined;
58
+ readonly accessibilityLabel: string;
59
+ }
60
+ /**
61
+ * Derives `FilterChip`'s a11y surface once, purely. Removable → `accessibilityRole="button"` with a
62
+ * label that folds in the remove affordance (`"${label}, remove filter"`) so a screen reader
63
+ * announces what the press does — the same "one accessible node reports the whole meaning"
64
+ * contract `Badge` documents for its own chip. Locked (no `onRemove`) → no role at all: the
65
+ * component renders a plain `View`, not a `Pressable`, so there is nothing to press.
66
+ */
67
+ export declare function resolveFilterChipAccessibility(input: FilterChipAccessibilityInput): FilterChipAccessibilityProps;
68
+ /** The one-tap quick-shortcut pill rendered above a dimension's Accordion section (e.g. a "Me"
69
+ * shortcut). Visually a chip, but a DISTINCT, PRIVATE component from the public `FilterChip`: it
70
+ * is always pressable and carries a SELECTED look, neither of which `FilterChip`'s frozen
71
+ * (`label`/`onRemove`) shape supports — see this module's MODULE.md. */
72
+ export declare const QUICK_CHIP_HEIGHT = 32;
73
+ export declare const QUICK_CHIP_HIT_SLOP: number;
74
+ export interface QuickChipColors {
75
+ readonly background: string;
76
+ readonly border: string;
77
+ readonly text: string;
78
+ }
79
+ /**
80
+ * Maps a quick chip's selected state onto role colours. Selected reads as a filled accent pill (the
81
+ * component additionally bolds the label weight, so selection is never conveyed by colour alone —
82
+ * WCAG 1.4.1, the same principle `BottomNav`'s active indicator documents); resting reads as a
83
+ * neutral outlined pill on the sheet's own surface.
84
+ */
85
+ export declare function resolveQuickChipColors(colors: RoleColors, selected: boolean): QuickChipColors;
86
+ /** The header row hosting the sheet's title. */
87
+ export declare const filterSheetHeaderStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
88
+ /** One dimension's quick-chip row — wraps onto multiple lines rather than scrolling horizontally,
89
+ * since the sheet already scrolls vertically. */
90
+ export declare const filterSheetQuickRowStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
91
+ /** The Apply/Reset footer row — right-aligned, matching Modal's own action-row convention. */
92
+ export declare const filterSheetFooterStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
93
+ /** `FilterChip`'s own structural shape — pill height/padding/radius/border WIDTH. Colour is
94
+ * resolved by `resolveFilterChipColors`, applied inline over this. */
95
+ export declare const filterChipStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
96
+ /** The quick-shortcut pill's own structural shape. */
97
+ export declare const quickChipStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
98
+ //# sourceMappingURL=FilterSheet.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterSheet.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/filter-sheet/FilterSheet.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGrD;uBACuB;AACvB,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAKnC;;;kDAGkD;AAClD,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAClD,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD,wBAAgB,4BAA4B,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEzE;AAED;iGACiG;AACjG,eAAO,MAAM,kBAAkB,KAAK,CAAC;AACrC,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,eAAO,MAAM,oBAAoB,QAA8B,CAAC;AAEhE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;;mEAG+D;IAC/D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,UAAU,GAAG,gBAAgB,CAM5E;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC;IAC1B,QAAQ,CAAC,iBAAiB,EAAE,QAAQ,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;CACrC;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,4BAA4B,GAClC,4BAA4B,CAI9B;AAED;;;yEAGyE;AACzE,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,mBAAmB,QAA6B,CAAC;AAE9D,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,GAAG,eAAe,CAI7F;AAED,gDAAgD;AAChD,eAAO,MAAM,0BAA0B,uKAKpC,CAAC;AAEJ;kDACkD;AAClD,eAAO,MAAM,4BAA4B,uKAQtC,CAAC;AAEJ,8FAA8F;AAC9F,eAAO,MAAM,0BAA0B,uKAQpC,CAAC;AAEJ;uEACuE;AACvE,eAAO,MAAM,mBAAmB,uKAU7B,CAAC;AAEJ,sDAAsD;AACtD,eAAO,MAAM,kBAAkB,uKAS5B,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * FilterSheetBody — PRIVATE sub-component (not exported from `index.ts`, same status as
3
+ * `BottomNavOverflowSheet`), handed to `FilterSheet.tsx`'s `<Drawer>` as `children`: the title
4
+ * header, each dimension's optional quick-chip row, a single-open `Accordion` of per-dimension
5
+ * facet controls, and the Apply/Reset footer.
6
+ *
7
+ * Caps its own scrollable dimension list to a fraction of the window via
8
+ * `resolveFilterSheetBodyHeight` — the same "keep the header/footer fixed, only the middle scrolls"
9
+ * shape `BottomNavOverflowSheet` uses for its own search box + rows — so Apply/Reset stay reachable
10
+ * regardless of how many dimensions a consumer supplies, all still within Drawer's own 90%-of-window
11
+ * cap.
12
+ */
13
+ import type { FilterDimension, FilterValues } from "./FilterSheet";
14
+ interface FilterSheetBodyProps {
15
+ readonly dimensions: FilterDimension[];
16
+ readonly staged: FilterValues;
17
+ readonly onQuickToggle: (dimension: FilterDimension, optionValue: string) => void;
18
+ readonly onDimensionChange: (dimension: FilterDimension, next: string | string[]) => void;
19
+ readonly onApply: () => void;
20
+ readonly onReset: (() => void) | undefined;
21
+ readonly title: string;
22
+ readonly applyLabel: string;
23
+ readonly resetLabel: string;
24
+ readonly testID: string | undefined;
25
+ }
26
+ export declare function FilterSheetBody({ dimensions, staged, onQuickToggle, onDimensionChange, onApply, onReset, title, applyLabel, resetLabel, testID, }: FilterSheetBodyProps): import("react").JSX.Element;
27
+ export {};
28
+ //# sourceMappingURL=FilterSheetBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterSheetBody.d.ts","sourceRoot":"","sources":["../../../../src/modules/filter-sheet/FilterSheetBody.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAYH,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAYnE,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,UAAU,EAAE,eAAe,EAAE,CAAC;IACvC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAClF,QAAQ,CAAC,iBAAiB,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1F,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,OAAO,EACP,KAAK,EACL,UAAU,EACV,UAAU,EACV,MAAM,GACP,EAAE,oBAAoB,+BAyFtB"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * FilterSheet's pure, framework-free logic — no React, no `react-native` import at all. Types are
3
+ * imported `import type` only (erased by `verbatimModuleSyntax`), so this file pulls in no runtime
4
+ * dependency on `FilterSheet.tsx`, React, or React Native — it stays testable under plain jest with
5
+ * zero mocking, the same "orthogonal concern gets its own file" call `BottomNav.search.ts` makes.
6
+ *
7
+ * `values`/`staged` are always the CONSUMER's shape (`Record<string, string | string[]>`); every
8
+ * helper here normalises defensively rather than trusting a caller passed exactly what a
9
+ * dimension's `kind` expects (e.g. a stale `string` left over for a dimension that became
10
+ * `kind: "multi"` in a later release of the consumer's own dimension config).
11
+ */
12
+ import type { FilterDimension, FilterValues } from "./FilterSheet";
13
+ /**
14
+ * How many DIMENSIONS currently have a selection — not the total number of selected options. A
15
+ * `multi` dimension with 3 selected values still counts as ONE active filter, matching the
16
+ * "N filters applied" badge this exists to power (see MODULE.md's interaction model). Exported from
17
+ * `index.ts` as the module's one pure, UI-free public helper — every consumer needs this arithmetic
18
+ * and would otherwise reimplement it slightly differently each time.
19
+ */
20
+ export declare function countActiveFilters(dimensions: FilterDimension[], values: FilterValues): number;
21
+ /**
22
+ * Normalises a consumer's `values` into the shape every dimension's `kind` actually expects —
23
+ * defensive, not a plain copy: a `multi` dimension always gets a real array (never a stray leftover
24
+ * string), and a `single` dimension with no/empty value is OMITTED entirely rather than carrying an
25
+ * empty string, so `values[key]` reads `undefined` exactly like a freshly-reset one. Used both to
26
+ * seed the sheet's staged state on open and to build the Reset target below.
27
+ */
28
+ export declare function normalizeFilterValues(dimensions: FilterDimension[], values: FilterValues): FilterValues;
29
+ /** Every dimension cleared: `multi` → `[]`, `single` → omitted (see `normalizeFilterValues` above).
30
+ * Reset only ever replaces the SHEET's own staged state — it never calls `onApply` (see MODULE.md
31
+ * interaction model, point 5). */
32
+ export declare function resolveResetValues(dimensions: FilterDimension[]): FilterValues;
33
+ /**
34
+ * Applies ONE quick-option tap to a dimension's staged value, immediately (not gated behind Apply —
35
+ * see MODULE.md interaction model, point 7). `multi` toggles the value in/out of the array, exactly
36
+ * like `MultiSelect`'s own row toggle; `single` toggles the WHOLE dimension between that value and
37
+ * cleared — a second tap on the same quick option un-selects it, since a quick option is the only
38
+ * way to clear a `single` dimension short of the sheet's own Reset button.
39
+ */
40
+ export declare function applyQuickToggle(values: FilterValues, dimension: FilterDimension, optionValue: string): FilterValues;
41
+ /** Whether ONE option is currently selected within a dimension's (usually staged) values — shared
42
+ * by the quick-chip row, which needs this to render its own selected look independent of whichever
43
+ * Accordion section happens to be expanded. */
44
+ export declare function isOptionSelected(dimension: FilterDimension, values: FilterValues, optionValue: string): boolean;
45
+ //# sourceMappingURL=filterSheet.helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filterSheet.helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/filter-sheet/filterSheet.helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AASnE;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,eAAe,EAAE,EAAE,MAAM,EAAE,YAAY,GAAG,MAAM,CAK9F;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,eAAe,EAAE,EAAE,MAAM,EAAE,YAAY,GAAG,YAAY,CAWvG;AAED;;mCAEmC;AACnC,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,eAAe,EAAE,GAAG,YAAY,CAE9E;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,eAAe,EAC1B,WAAW,EAAE,MAAM,GAClB,YAAY,CAgBd;AAED;;gDAEgD;AAChD,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAKT"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Public surface of `pixelize-native-library/filter-sheet`. Value exports and type exports are split
3
+ * for `verbatimModuleSyntax`. `FilterSheetBody`, every resolver in `FilterSheet.variants.ts`, and
4
+ * every helper in `filterSheet.helpers.ts` OTHER than `countActiveFilters` stay internal — a
5
+ * consumer configures a FilterSheet through its props, never by importing its internals.
6
+ */
7
+ export { FilterSheet } from "./FilterSheet";
8
+ export type { FilterSheetProps, FilterDimension, FilterDimensionKind, FilterOption, FilterValues, } from "./FilterSheet";
9
+ export { FilterChip } from "./FilterChip";
10
+ export type { FilterChipProps } from "./FilterChip";
11
+ export { countActiveFilters } from "./filterSheet.helpers";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/filter-sheet/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,YAAY,GACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Input — wraps RN's `TextInput`. Colour is `status`-driven (never a free `color` prop), structure
3
+ * comes from `createThemedVariants`, and the focus indicator is the same offset-ring pattern as
4
+ * Button: a `border.focus` ring drawn a small gap OUTSIDE the field, on the canvas, because that is
5
+ * the role token proven ≥ 3:1 against the canvas (over the field's own border it isn't guaranteed).
6
+ */
7
+ import type { IconName } from "../../core/icon";
8
+ import type { LayoutStyle } from "../../core/style";
9
+ import type { InputSize, InputStatus } from "./Input.variants";
10
+ export interface InputProps {
11
+ value: string;
12
+ onChangeText: (text: string) => void;
13
+ placeholder?: string;
14
+ size?: InputSize;
15
+ status?: InputStatus;
16
+ disabled?: boolean;
17
+ /** Rendered above the field. Also becomes `accessibilityLabel` unless one is passed explicitly. */
18
+ label?: string;
19
+ /** Shown below the field when `status` is `"default"`. */
20
+ helperText?: string;
21
+ /** Shown below the field, with `accessibilityLiveRegion="polite"`, when `status` is `"error"`. */
22
+ errorText?: string;
23
+ leadingIcon?: IconName;
24
+ trailingIcon?: IconName;
25
+ secureTextEntry?: boolean;
26
+ /** Overrides the label→`accessibilityLabel` fallback. */
27
+ accessibilityLabel?: string;
28
+ /** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
29
+ containerStyle?: LayoutStyle;
30
+ testID?: string;
31
+ }
32
+ export declare const Input: import("react").NamedExoticComponent<InputProps>;
33
+ //# sourceMappingURL=Input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/modules/input/Input.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AASpD,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/D,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mGAAmG;IACnG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kGAAkG;IAClG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,yDAAyD;IACzD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8FAA8F;IAC9F,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAKD,eAAO,MAAM,KAAK,kDAmHhB,CAAC"}
@@ -0,0 +1,116 @@
1
+ /**
2
+ * Input's style + behaviour resolution — same split as Button.variants:
3
+ * - STRUCTURE (height, padding, radius, border WIDTH) lives in the themed `inputStructure`
4
+ * resolver, static per (brand, mode), registered once via `StyleSheet.create`.
5
+ * - COLOUR is `status`-driven (never a free `color` prop) and resolved from the theme's ROLE
6
+ * colours by `resolveInputStatus`, so it is guaranteed legible in both modes.
7
+ * - ACCESSIBILITY prop derivation is `resolveInputAccessibility`, kept pure so the
8
+ * "accessibilityLabel falls back to the visible label / disabled blocks editing" contract is
9
+ * unit-testable without rendering React Native.
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 { RoleColors } from "../../theme";
15
+ import type { Theme } from "../../theme";
16
+ export type InputSize = "sm" | "md" | "lg";
17
+ /** A state, not a brand tone — an input's colour reports validity, so it is never called `tone`. */
18
+ export type InputStatus = "default" | "error";
19
+ /** Same floor as Button — 44dp (WCAG 2.5.5 / HIG). Duplicated, not imported: modules stay isolated. */
20
+ export declare const MIN_TOUCH_TARGET = 44;
21
+ export interface InputSizeSpec {
22
+ /** Visual height in dp. */
23
+ readonly height: number;
24
+ /** Value/placeholder text size, on the theme's `fontSizes` scale. */
25
+ readonly fontSize: number;
26
+ /** Leading/trailing icon glyph size in dp. */
27
+ readonly iconSize: number;
28
+ /** Symmetric touch expansion so `height + 2·hitSlop ≥ 44`. */
29
+ readonly hitSlop: number;
30
+ }
31
+ /**
32
+ * Input-specific dimensions. Height/iconSize/slop are the component's own design constants;
33
+ * `fontSize` sits on the theme's `fontSizes` scale (14/16/18) — same numbers as Button's sizes, so
34
+ * an icon-adjacent label and a field row line up when placed side by side.
35
+ */
36
+ export declare const INPUT_SIZES: {
37
+ readonly sm: {
38
+ readonly height: 32;
39
+ readonly fontSize: 14;
40
+ readonly iconSize: 16;
41
+ readonly hitSlop: number;
42
+ };
43
+ readonly md: {
44
+ readonly height: 40;
45
+ readonly fontSize: 16;
46
+ readonly iconSize: 18;
47
+ readonly hitSlop: number;
48
+ };
49
+ readonly lg: {
50
+ readonly height: 48;
51
+ readonly fontSize: 18;
52
+ readonly iconSize: 20;
53
+ readonly hitSlop: number;
54
+ };
55
+ };
56
+ export interface InputStatusColors {
57
+ /** Field border — the neutral interactive outline, or the danger outline in "error" (≥ 3:1). */
58
+ readonly border: string;
59
+ /** Helper/error message under the field (≥ 4.5:1 on the canvas). */
60
+ readonly message: string;
61
+ }
62
+ /**
63
+ * Maps `status` onto the theme's role colours. The whole reason the prop is a closed union and not
64
+ * `color?: string`: every colour an Input can show is one of these role lookups, so it can never be
65
+ * an off-palette value an app invented, and it inverts light↔dark for free.
66
+ *
67
+ * The error border deliberately reads `status.danger.solid`, NOT `status.danger.border` —
68
+ * `StatusColors.border` is documented as the decorative chip/badge outline (`ramp[200]`) and
69
+ * measures below 3:1 against the canvas on every brand × mode (as low as 2.07:1). A 1px field
70
+ * outline is a real UI boundary (WCAG 1.4.11), so it needs the rung that actually clears 3:1;
71
+ * `solid` does, comfortably, everywhere (≥ 3.37:1 light, ≥ 5.05:1 dark) — see `Input.test.ts`.
72
+ */
73
+ export declare function resolveInputStatus(colors: RoleColors, status: InputStatus): InputStatusColors;
74
+ export interface InputAccessibilityInput {
75
+ readonly label?: string | undefined;
76
+ readonly accessibilityLabel?: string | undefined;
77
+ readonly disabled?: boolean | undefined;
78
+ }
79
+ export interface InputAccessibilityProps {
80
+ /** Falls back to the visible label — a sibling `Text`, not a wrapping element RN can associate. */
81
+ readonly accessibilityLabel: string | undefined;
82
+ readonly accessibilityState: {
83
+ readonly disabled: boolean;
84
+ };
85
+ /** The `TextInput` `editable` prop — false while disabled, so the field blocks input. */
86
+ readonly editable: boolean;
87
+ }
88
+ /**
89
+ * Derives the accessibility surface once, purely, so the fallback contract is testable without a
90
+ * renderer. RN's `TextInput` has no `htmlFor`-equivalent link to a sibling label `Text`, so the
91
+ * label's content must be copied onto `accessibilityLabel` directly (an explicit
92
+ * `accessibilityLabel` always wins).
93
+ */
94
+ export declare function resolveInputAccessibility(input: InputAccessibilityInput): InputAccessibilityProps;
95
+ /**
96
+ * Structural styles only — layout, height, padding, radius, border WIDTH. No colours (those are
97
+ * status-driven and applied inline over this), so this compiles once per theme identity via the
98
+ * `WeakMap`-cached themed resolver and never rebuilds per render.
99
+ */
100
+ export declare const inputStructure: import("../../core/style").ThemedVariantResolver<Theme, {
101
+ size: {
102
+ sm: {
103
+ height: 32;
104
+ paddingHorizontal: 12;
105
+ };
106
+ md: {
107
+ height: 40;
108
+ paddingHorizontal: 16;
109
+ };
110
+ lg: {
111
+ height: 48;
112
+ paddingHorizontal: 24;
113
+ };
114
+ };
115
+ }, import("react-native").ViewStyle>;
116
+ //# sourceMappingURL=Input.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/input/Input.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3C,oGAAoG;AACpG,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9C,uGAAuG;AACvG,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAInC,MAAM,WAAW,aAAa;IAC5B,2BAA2B;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,qEAAqE;IACrE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,8CAA8C;IAC9C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,8DAA8D;IAC9D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;CAI6B,CAAC;AAEtD,MAAM,WAAW,iBAAiB;IAChC,gGAAgG;IAChG,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,GAAG,iBAAiB,CAK7F;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,uBAAuB;IACtC,mGAAmG;IACnG,QAAQ,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,kBAAkB,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC;IAC5D,yFAAyF;IACzF,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,uBAAuB,GAAG,uBAAuB,CAOjG;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;oCAgBxB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Public surface of `pixelize-native-library/input`. Value exports and type exports are split for
3
+ * `verbatimModuleSyntax`. The visual/behaviour resolvers (`resolveInputStatus`, `INPUT_SIZES`, …)
4
+ * stay internal — a consumer configures an Input through its props, never by importing its internals.
5
+ */
6
+ export { Input } from "./Input";
7
+ export type { InputProps } from "./Input";
8
+ export type { InputSize, InputStatus } from "./Input.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/input/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,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAI/D,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC"}