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 @@
1
+ {"version":3,"names":["FileUpload"],"sourceRoot":"../../../../src","sources":["modules/file-upload/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,UAAU,QAAQ,iBAAc","ignoreList":[]}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * FilterChip — a small chip showing ONE currently-applied filter fact (e.g. "Status: Open"), with
5
+ * an optional "x" to remove it. NOT a `Badge`: `Badge` is documented, by its own file-level comment,
6
+ * as non-interactive ("no press, focus, loading, or disabled state") — this library never widens an
7
+ * existing component's contract to add press behaviour it was deliberately built without. A
8
+ * genuinely interactive chip is its own component, co-located here rather than exported from
9
+ * `../badge`.
10
+ *
11
+ * `onRemove` is the ENTIRE interactivity switch: provided → a `Pressable` with a trailing "x" icon
12
+ * (`accessibilityRole="button"`, a label that folds in the remove affordance). Omitted → a plain,
13
+ * non-interactive `View` with the identical visual shape — this is a "locked" chip (e.g. a board's
14
+ * own admin-pinned default filter the current user can't remove, matching web's `lockedChipKeys`
15
+ * concept), not a disabled-looking control.
16
+ */
17
+
18
+ import { memo } from "react";
19
+ import { Pressable, Text, View } from "react-native";
20
+ import { Icon } from "../../core/icon/index.js";
21
+ import { useTheme } from "../../theme/index.js";
22
+ import { FILTER_CHIP_HIT_SLOP, FILTER_CHIP_ICON_SIZE, filterChipStructure, resolveFilterChipAccessibility, resolveFilterChipColors } from "./FilterSheet.variants.js";
23
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
24
+ const ICON_STROKE = 2;
25
+ export const FilterChip = /*#__PURE__*/memo(function FilterChip({
26
+ label,
27
+ onRemove,
28
+ style,
29
+ testID
30
+ }) {
31
+ const theme = useTheme();
32
+ const colors = resolveFilterChipColors(theme.colors);
33
+ const removable = onRemove !== undefined;
34
+ const a11y = resolveFilterChipAccessibility({
35
+ label,
36
+ removable
37
+ });
38
+ const content = /*#__PURE__*/_jsxs(_Fragment, {
39
+ children: [/*#__PURE__*/_jsx(Text, {
40
+ numberOfLines: 1,
41
+ style: [theme.fontStyleForWeight(theme.fontWeights.medium), {
42
+ fontSize: theme.fontSizes.sm,
43
+ color: colors.text
44
+ }],
45
+ children: label
46
+ }), removable && /*#__PURE__*/_jsx(Icon, {
47
+ name: "x",
48
+ size: FILTER_CHIP_ICON_SIZE,
49
+ color: colors.text,
50
+ strokeWidth: ICON_STROKE
51
+ })]
52
+ });
53
+ if (!removable) {
54
+ return /*#__PURE__*/_jsx(View, {
55
+ testID: testID,
56
+ accessible: a11y.accessible,
57
+ accessibilityLabel: a11y.accessibilityLabel,
58
+ style: [filterChipStructure(theme), {
59
+ backgroundColor: colors.background,
60
+ borderColor: colors.border
61
+ }, style],
62
+ children: content
63
+ });
64
+ }
65
+ return /*#__PURE__*/_jsx(Pressable, {
66
+ testID: testID,
67
+ accessible: a11y.accessible,
68
+ accessibilityRole: a11y.accessibilityRole,
69
+ accessibilityLabel: a11y.accessibilityLabel,
70
+ onPress: onRemove,
71
+ hitSlop: FILTER_CHIP_HIT_SLOP,
72
+ style: [filterChipStructure(theme), {
73
+ backgroundColor: colors.background,
74
+ borderColor: colors.border
75
+ }, style],
76
+ children: content
77
+ });
78
+ });
79
+ //# sourceMappingURL=FilterChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["memo","Pressable","Text","View","Icon","useTheme","FILTER_CHIP_HIT_SLOP","FILTER_CHIP_ICON_SIZE","filterChipStructure","resolveFilterChipAccessibility","resolveFilterChipColors","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ICON_STROKE","FilterChip","label","onRemove","style","testID","theme","colors","removable","undefined","a11y","content","children","numberOfLines","fontStyleForWeight","fontWeights","medium","fontSize","fontSizes","sm","color","text","name","size","strokeWidth","accessible","accessibilityLabel","backgroundColor","background","borderColor","border","accessibilityRole","onPress","hitSlop"],"sourceRoot":"../../../../src","sources":["modules/filter-sheet/FilterChip.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,QAAQ,OAAO;AAC5B,SAASC,SAAS,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAEpD,SAASC,IAAI,QAAQ,0BAAiB;AAEtC,SAASC,QAAQ,QAAQ,sBAAa;AAEtC,SACEC,oBAAoB,EACpBC,qBAAqB,EACrBC,mBAAmB,EACnBC,8BAA8B,EAC9BC,uBAAuB,QAClB,2BAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAWhC,MAAMC,WAAW,GAAG,CAAC;AAErB,OAAO,MAAMC,UAAU,gBAAGlB,IAAI,CAAC,SAASkB,UAAUA,CAAC;EAAEC,KAAK;EAAEC,QAAQ;EAAEC,KAAK;EAAEC;AAAwB,CAAC,EAAE;EACtG,MAAMC,KAAK,GAAGlB,QAAQ,CAAC,CAAC;EACxB,MAAMmB,MAAM,GAAGd,uBAAuB,CAACa,KAAK,CAACC,MAAM,CAAC;EACpD,MAAMC,SAAS,GAAGL,QAAQ,KAAKM,SAAS;EACxC,MAAMC,IAAI,GAAGlB,8BAA8B,CAAC;IAAEU,KAAK;IAAEM;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AK,CAAC,EAC1B;MAAEqB,eAAe,EAAEpB,MAAM,CAACqB,UAAU;MAAEC,WAAW,EAAEtB,MAAM,CAACuB;IAAO,CAAC,EAClE1B,KAAK,CACL;IAAAQ,QAAA,EAEDD;EAAO,CACC,CAAC;AAEhB,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * FilterSheet — wraps this library's OWN `Drawer` (`../drawer`) as the sheet shell for a fully
5
+ * app-supplied set of filter DIMENSIONS (project/status/priority/type/label/… in tickets-web's own
6
+ * FilterBar, but this library hardcodes none of that vocabulary — see `FilterDimension` below). A
7
+ * consumer never touches `Drawer` directly for this use case, consumed exactly as `BottomNav`
8
+ * consumes `Drawer` for its own overflow sheet — through `Drawer`'s public props, never its internal
9
+ * `Drawer.variants.ts`.
10
+ *
11
+ * Deliberately narrow scope — a product decision, not an omission (see MODULE.md): no date-range
12
+ * filtering (`FilterDimensionKind` is closed to exactly `"single" | "multi"`), no advanced
13
+ * field/operator/value query builder, no per-board admin default-filter editor, no saved views, and
14
+ * no search input — a consuming app places its own `Input` for that elsewhere, the same stance
15
+ * tickets-web's `FilterBar` already takes (search lives outside the grouped filter panel).
16
+ *
17
+ * Internal STAGED state: opening the sheet seeds a local copy of the `values` prop (re-seeded on
18
+ * every closed→open transition, not on every render — see the effect below). Every edit made while
19
+ * the sheet is open — quick-chip taps, a dimension control's own selection, Reset — mutates ONLY
20
+ * that local copy. `onApply` is the sheet's one and only commit point; every other dismissal path
21
+ * discards the staged edits. See MODULE.md's interaction model for the full, numbered account.
22
+ */
23
+
24
+ import { memo, useCallback, useEffect, useRef, useState } from "react";
25
+ import { Drawer } from "../drawer/index.js";
26
+ import { FilterSheetBody } from "./FilterSheetBody.js";
27
+ import { applyQuickToggle, normalizeFilterValues, resolveResetValues } from "./filterSheet.helpers.js";
28
+ import { jsx as _jsx } from "react/jsx-runtime";
29
+ const DEFAULT_TITLE = "Filters";
30
+ const DEFAULT_APPLY_LABEL = "Apply";
31
+ const DEFAULT_RESET_LABEL = "Reset";
32
+ export const FilterSheet = /*#__PURE__*/memo(function FilterSheet({
33
+ visible,
34
+ onRequestClose,
35
+ dimensions,
36
+ values,
37
+ onApply,
38
+ onReset,
39
+ title = DEFAULT_TITLE,
40
+ applyLabel = DEFAULT_APPLY_LABEL,
41
+ resetLabel = DEFAULT_RESET_LABEL,
42
+ testID
43
+ }) {
44
+ const [staged, setStaged] = useState(() => normalizeFilterValues(dimensions, values));
45
+ const wasVisible = useRef(visible);
46
+
47
+ // Re-seed staged from `values` only on the closed→open transition — an edit made while the sheet
48
+ // stays open (or a `values`/`dimensions` identity change from the consumer while it's open) is
49
+ // never clobbered by this effect. See MODULE.md's controlled-state contract.
50
+ useEffect(() => {
51
+ if (visible && !wasVisible.current) {
52
+ setStaged(normalizeFilterValues(dimensions, values));
53
+ }
54
+ wasVisible.current = visible;
55
+ }, [visible, dimensions, values]);
56
+
57
+ // Any dismissal that ISN'T the Apply button — backdrop tap, Android hardware back, iOS VoiceOver
58
+ // escape — is Drawer's own `onRequestClose`, forwarded as-is: it discards the staged edits by
59
+ // simply never calling `onApply`.
60
+ // Stable references below (`useCallback`) so `Drawer`/`FilterSheetBody` don't receive a fresh
61
+ // function on every render — see CLAUDE.md's "Performance — no unnecessary re-renders".
62
+ const handleDismiss = useCallback(() => onRequestClose(), [onRequestClose]);
63
+ const handleApply = useCallback(() => {
64
+ onApply(staged);
65
+ onRequestClose();
66
+ }, [onApply, staged, onRequestClose]);
67
+ const handleReset = useCallback(() => {
68
+ setStaged(resolveResetValues(dimensions));
69
+ onReset?.();
70
+ }, [dimensions, onReset]);
71
+ const handleQuickToggle = useCallback((dimension, optionValue) => {
72
+ setStaged(prev => applyQuickToggle(prev, dimension, optionValue));
73
+ }, []);
74
+ const handleDimensionChange = useCallback((dimension, next) => {
75
+ setStaged(prev => ({
76
+ ...prev,
77
+ [dimension.key]: next
78
+ }));
79
+ }, []);
80
+ return /*#__PURE__*/_jsx(Drawer, {
81
+ visible: visible,
82
+ onRequestClose: handleDismiss,
83
+ testID: testID,
84
+ children: /*#__PURE__*/_jsx(FilterSheetBody, {
85
+ dimensions: dimensions,
86
+ staged: staged,
87
+ onQuickToggle: handleQuickToggle,
88
+ onDimensionChange: handleDimensionChange,
89
+ onApply: handleApply,
90
+ onReset: onReset !== undefined ? handleReset : undefined,
91
+ title: title,
92
+ applyLabel: applyLabel,
93
+ resetLabel: resetLabel,
94
+ testID: testID
95
+ })
96
+ });
97
+ });
98
+ //# sourceMappingURL=FilterSheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["memo","useCallback","useEffect","useRef","useState","Drawer","FilterSheetBody","applyQuickToggle","normalizeFilterValues","resolveResetValues","jsx","_jsx","DEFAULT_TITLE","DEFAULT_APPLY_LABEL","DEFAULT_RESET_LABEL","FilterSheet","visible","onRequestClose","dimensions","values","onApply","onReset","title","applyLabel","resetLabel","testID","staged","setStaged","wasVisible","current","handleDismiss","handleApply","handleReset","handleQuickToggle","dimension","optionValue","prev","handleDimensionChange","next","key","children","onQuickToggle","onDimensionChange","undefined"],"sourceRoot":"../../../../src","sources":["modules/filter-sheet/FilterSheet.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,EAAEC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAEtE,SAASC,MAAM,QAAQ,oBAAW;AAElC,SAASC,eAAe,QAAQ,sBAAmB;AACnD,SAASC,gBAAgB,EAAEC,qBAAqB,EAAEC,kBAAkB,QAAQ,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAuCpG,MAAMC,aAAa,GAAG,SAAS;AAC/B,MAAMC,mBAAmB,GAAG,OAAO;AACnC,MAAMC,mBAAmB,GAAG,OAAO;AAEnC,OAAO,MAAMC,WAAW,g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CAAES,IAAI,IAAK7B,gBAAgB,CAAC6B,IAAI,EAAEF,SAAS,EAAEC,WAAW,CAAC,CAAC;EACrE,CAAC,EAAE,EAAE,CAAC;EAEN,MAAME,qBAAqB,GAAGpC,WAAW,CAAC,CAACiC,SAA0B,EAAEI,IAAuB,KAAW;IACvGX,SAAS,CAAES,IAAI,KAAM;MAAE,GAAGA,IAAI;MAAE,CAACF,SAAS,CAACK,GAAG,GAAGD;IAAK,CAAC,CAAC,CAAC;EAC3D,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE3B,IAAA,CAACN,MAAM;IAACW,OAAO,EAAEA,OAAQ;IAACC,cAAc,EAAEa,aAAc;IAACL,MAAM,EAAEA,MAAO;IAAAe,QAAA,eACtE7B,IAAA,CAACL,eAAe;MACdY,UAAU,EAAEA,UAAW;MACvBQ,MAAM,EAAEA,MAAO;MACfe,aAAa,EAAER,iBAAkB;MACjCS,iBAAiB,EAAEL,qBAAsB;MACzCjB,OAAO,EAAEW,WAAY;MACrBV,OAAO,EAAEA,OAAO,KAAKsB,SAAS,GAAGX,WAAW,GAAGW,SAAU;MACzDrB,KAAK,EAAEA,KAAM;MACbC,UAAU,EAAEA,UAAW;MACvBC,UAAU,EAAEA,UAAW;MACvBC,MAAM,EAAEA;IAAO,CAChB;EAAC,CACI,CAAC;AAEb,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * FilterSheet's style + behaviour resolution — same split as every sibling module:
5
+ * - STRUCTURE (padding/gaps/radius/border WIDTH) lives in the `createThemedVariants` resolvers
6
+ * below, registered once per theme identity.
7
+ * - COLOUR is resolved from the theme's ROLE colours by `resolveFilterChipColors` /
8
+ * `resolveQuickChipColors`, never a raw ramp, never a hardcoded hex.
9
+ * - `resolveFilterChipAccessibility` derives `FilterChip`'s removable-vs-locked a11y surface
10
+ * purely, so the contract is unit-testable without rendering React Native.
11
+ * - `resolveFilterSheetBodyHeight` caps the sheet's own scrollable dimension list to a fraction of
12
+ * the window — the same "medium detent" approximation `BottomNav.variants.ts`'s
13
+ * `resolveOverflowSheetHeight` already uses — so the title header and the Apply/Reset footer
14
+ * stay fixed above and below it. Drawer's own 90%-of-window cap still bounds the whole panel.
15
+ *
16
+ * Free of React and of any lucide import, so the WCAG + behaviour tests import it directly (mocking
17
+ * only `react-native`'s `StyleSheet`, as `core/style` does).
18
+ */
19
+
20
+ import { createThemedVariants } from "../../core/style/index.js";
21
+
22
+ /** Same touch-target floor as every interactive control in this library (44dp — Apple HIG minimum,
23
+ * WCAG 2.5.5 AAA). */
24
+ export const MIN_TOUCH_TARGET = 44;
25
+ const slopFor = dimension => Math.max(0, Math.ceil((MIN_TOUCH_TARGET - dimension) / 2));
26
+
27
+ /** The sheet's scrollable dimension-list cap — a fraction of the window, capped at an absolute
28
+ * maximum, the same approximation `resolveOverflowSheetHeight` uses for BottomNav's own sheet. The
29
+ * title header and the Apply/Reset footer render OUTSIDE this cap so they stay visible regardless
30
+ * of how many dimensions a consumer supplies. */
31
+ export const FILTER_SHEET_BODY_HEIGHT_RATIO = 0.5;
32
+ export const FILTER_SHEET_BODY_MAX_HEIGHT = 420;
33
+ export function resolveFilterSheetBodyHeight(windowHeight) {
34
+ return Math.min(windowHeight * FILTER_SHEET_BODY_HEIGHT_RATIO, FILTER_SHEET_BODY_MAX_HEIGHT);
35
+ }
36
+
37
+ /** `FilterChip`'s fixed visual height. It is a passive/removable label, not a `size`-scaled
38
+ * control — no `size` prop (see MODULE.md), the same single-fixed-shape stance Drawer takes. */
39
+ export const FILTER_CHIP_HEIGHT = 28;
40
+ export const FILTER_CHIP_ICON_SIZE = 14;
41
+ export const FILTER_CHIP_HIT_SLOP = slopFor(FILTER_CHIP_HEIGHT);
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 function resolveFilterChipColors(colors) {
51
+ return {
52
+ background: colors.bg.sunken,
53
+ border: colors.border.interactive,
54
+ text: colors.fg.default
55
+ };
56
+ }
57
+ /**
58
+ * Derives `FilterChip`'s a11y surface once, purely. Removable → `accessibilityRole="button"` with a
59
+ * label that folds in the remove affordance (`"${label}, remove filter"`) so a screen reader
60
+ * announces what the press does — the same "one accessible node reports the whole meaning"
61
+ * contract `Badge` documents for its own chip. Locked (no `onRemove`) → no role at all: the
62
+ * component renders a plain `View`, not a `Pressable`, so there is nothing to press.
63
+ */
64
+ export function resolveFilterChipAccessibility(input) {
65
+ return input.removable ? {
66
+ accessible: true,
67
+ accessibilityRole: "button",
68
+ accessibilityLabel: `${input.label}, remove filter`
69
+ } : {
70
+ accessible: true,
71
+ accessibilityRole: undefined,
72
+ accessibilityLabel: input.label
73
+ };
74
+ }
75
+
76
+ /** The one-tap quick-shortcut pill rendered above a dimension's Accordion section (e.g. a "Me"
77
+ * shortcut). Visually a chip, but a DISTINCT, PRIVATE component from the public `FilterChip`: it
78
+ * is always pressable and carries a SELECTED look, neither of which `FilterChip`'s frozen
79
+ * (`label`/`onRemove`) shape supports — see this module's MODULE.md. */
80
+ export const QUICK_CHIP_HEIGHT = 32;
81
+ export const QUICK_CHIP_HIT_SLOP = slopFor(QUICK_CHIP_HEIGHT);
82
+ /**
83
+ * Maps a quick chip's selected state onto role colours. Selected reads as a filled accent pill (the
84
+ * component additionally bolds the label weight, so selection is never conveyed by colour alone —
85
+ * WCAG 1.4.1, the same principle `BottomNav`'s active indicator documents); resting reads as a
86
+ * neutral outlined pill on the sheet's own surface.
87
+ */
88
+ export function resolveQuickChipColors(colors, selected) {
89
+ return selected ? {
90
+ background: colors.accent.solid,
91
+ border: colors.accent.solid,
92
+ text: colors.accent.onSolid
93
+ } : {
94
+ background: colors.bg.surface,
95
+ border: colors.border.interactive,
96
+ text: colors.fg.default
97
+ };
98
+ }
99
+
100
+ /** The header row hosting the sheet's title. */
101
+ export const filterSheetHeaderStructure = createThemedVariants(theme => ({
102
+ base: {
103
+ paddingTop: theme.space[2],
104
+ paddingBottom: theme.space[3]
105
+ }
106
+ }));
107
+
108
+ /** One dimension's quick-chip row — wraps onto multiple lines rather than scrolling horizontally,
109
+ * since the sheet already scrolls vertically. */
110
+ export const filterSheetQuickRowStructure = createThemedVariants(theme => ({
111
+ base: {
112
+ flexDirection: "row",
113
+ flexWrap: "wrap",
114
+ columnGap: theme.space[2],
115
+ rowGap: theme.space[2],
116
+ paddingBottom: theme.space[3]
117
+ }
118
+ }));
119
+
120
+ /** The Apply/Reset footer row — right-aligned, matching Modal's own action-row convention. */
121
+ export const filterSheetFooterStructure = createThemedVariants(theme => ({
122
+ base: {
123
+ flexDirection: "row",
124
+ justifyContent: "flex-end",
125
+ columnGap: theme.space[3],
126
+ paddingTop: theme.space[3],
127
+ paddingBottom: theme.space[4]
128
+ }
129
+ }));
130
+
131
+ /** `FilterChip`'s own structural shape — pill height/padding/radius/border WIDTH. Colour is
132
+ * resolved by `resolveFilterChipColors`, applied inline over this. */
133
+ export const filterChipStructure = createThemedVariants(theme => ({
134
+ base: {
135
+ flexDirection: "row",
136
+ alignItems: "center",
137
+ height: FILTER_CHIP_HEIGHT,
138
+ columnGap: theme.space[1],
139
+ paddingHorizontal: theme.space[2],
140
+ borderRadius: theme.radii.full,
141
+ borderWidth: theme.borderWidths.thin
142
+ }
143
+ }));
144
+
145
+ /** The quick-shortcut pill's own structural shape. */
146
+ export const quickChipStructure = createThemedVariants(theme => ({
147
+ base: {
148
+ height: QUICK_CHIP_HEIGHT,
149
+ alignItems: "center",
150
+ justifyContent: "center",
151
+ paddingHorizontal: theme.space[3],
152
+ borderRadius: theme.radii.full,
153
+ borderWidth: theme.borderWidths.thin
154
+ }
155
+ }));
156
+ //# sourceMappingURL=FilterSheet.variants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createThemedVariants","MIN_TOUCH_TARGET","slopFor","dimension","Math","max","ceil","FILTER_SHEET_BODY_HEIGHT_RATIO","FILTER_SHEET_BODY_MAX_HEIGHT","resolveFilterSheetBodyHeight","windowHeight","min","FILTER_CHIP_HEIGHT","FILTER_CHIP_ICON_SIZE","FILTER_CHIP_HIT_SLOP","resolveFilterChipColors","colors","background","bg","sunken","border","interactive","text","fg","default","resolveFilterChipAccessibility","input","removable","accessible","accessibilityRole","accessibilityLabel","label","undefined","QUICK_CHIP_HEIGHT","QUICK_CHIP_HIT_SLOP","resolveQuickChipColors","selected","accent","solid","onSolid","surface","filterSheetHeaderStructure","theme","base","paddingTop","space","paddingBottom","filterSheetQuickRowStructure","flexDirection","flexWrap","columnGap","rowGap","filterSheetFooterStructure","justifyContent","filterChipStructure","alignItems","height","paddingHorizontal","borderRadius","radii","full","borderWidth","borderWidths","thin","quickChipStructure"],"sourceRoot":"../../../../src","sources":["modules/filter-sheet/FilterSheet.variants.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,SAASA,oBAAoB,QAAQ,2BAAkB;;AAEvD;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAG,EAAE;AAElC,MAAMC,OAAO,GAAIC,SAAiB,IAChCC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,IAAI,CAAC,CAACL,gBAAgB,GAAGE,SAAS,IAAI,CAAC,CAAC,CAAC;;AAE5D;AACA;AACA;AACA;AACA,OAAO,MAAMI,8BAA8B,GAAG,GAAG;AACjD,OAAO,MAAMC,4BAA4B,GAAG,GAAG;AAE/C,OAAO,SAASC,4BAA4BA,CAACC,YAAoB,EAAU;EACzE,OAAON,IAAI,CAACO,GAAG,CAACD,YAAY,GAAGH,8BAA8B,EAAE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,SAAS,EAAER,KAAK,CAACG,KAAK,CAAC,CAAC,CAAC;IACzBY,iBAAiB,EAAEf,KAAK,CAACG,KAAK,CAAC,CAAC,CAAC;IACjCa,YAAY,EAAEhB,KAAK,CAACiB,KAAK,CAACC,IAAI;IAC9BC,WAAW,EAAEnB,KAAK,CAACoB,YAAY,CAACC;EAClC;AACF,CAAC,CAAC,CAAC;;AAEH;AACA,OAAO,MAAMC,kBAAkB,GAAGhE,oBAAoB,CAAE0C,KAAY,KAAM;EACxEC,IAAI,EAAE;IACJa,MAAM,EAAEvB,iBAAiB;IACzBsB,UAAU,EAAE,QAAQ;IACpBF,cAAc,EAAE,QAAQ;IACxBI,iBAAiB,EAAEf,KAAK,CAACG,KAAK,CAAC,CAAC,CAAC;IACjCa,YAAY,EAAEhB,KAAK,CAACiB,KAAK,CAACC,IAAI;IAC9BC,WAAW,EAAEnB,KAAK,CAACoB,YAAY,CAACC;EAClC;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,175 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * FilterSheetBody — PRIVATE sub-component (not exported from `index.ts`, same status as
5
+ * `BottomNavOverflowSheet`), handed to `FilterSheet.tsx`'s `<Drawer>` as `children`: the title
6
+ * header, each dimension's optional quick-chip row, a single-open `Accordion` of per-dimension
7
+ * facet controls, and the Apply/Reset footer.
8
+ *
9
+ * Caps its own scrollable dimension list to a fraction of the window via
10
+ * `resolveFilterSheetBodyHeight` — the same "keep the header/footer fixed, only the middle scrolls"
11
+ * shape `BottomNavOverflowSheet` uses for its own search box + rows — so Apply/Reset stay reachable
12
+ * regardless of how many dimensions a consumer supplies, all still within Drawer's own 90%-of-window
13
+ * cap.
14
+ */
15
+
16
+ import { useMemo } from "react";
17
+ import { Pressable, ScrollView, Text, useWindowDimensions, View } from "react-native";
18
+ import { useTheme } from "../../theme/index.js";
19
+ import { Accordion } from "../accordion/index.js";
20
+ import { Button } from "../button/index.js";
21
+ import { MultiSelect } from "../multi-select/index.js";
22
+ import { RadioGroup } from "../radio-group/index.js";
23
+ import { isOptionSelected } from "./filterSheet.helpers.js";
24
+ import { filterSheetFooterStructure, filterSheetHeaderStructure, filterSheetQuickRowStructure, QUICK_CHIP_HIT_SLOP, quickChipStructure, resolveFilterSheetBodyHeight, resolveQuickChipColors } from "./FilterSheet.variants.js";
25
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
26
+ export function FilterSheetBody({
27
+ dimensions,
28
+ staged,
29
+ onQuickToggle,
30
+ onDimensionChange,
31
+ onApply,
32
+ onReset,
33
+ title,
34
+ applyLabel,
35
+ resetLabel,
36
+ testID
37
+ }) {
38
+ const theme = useTheme();
39
+ const {
40
+ height: windowHeight
41
+ } = useWindowDimensions();
42
+ const bodyHeight = resolveFilterSheetBodyHeight(windowHeight);
43
+
44
+ // `useMemo`'d — this array (and the JSX it holds) goes straight into `Accordion`'s `items` prop,
45
+ // so a fresh array here on every render would defeat that child's `React.memo` regardless of
46
+ // whether `dimensions`/`staged` actually changed. See CLAUDE.md's "FilterSheet dimensions" example.
47
+ const accordionItems = useMemo(() => dimensions.map(dimension => ({
48
+ value: dimension.key,
49
+ title: dimension.label,
50
+ content: /*#__PURE__*/_jsx(DimensionControl, {
51
+ dimension: dimension,
52
+ value: staged[dimension.key],
53
+ onChange: next => onDimensionChange(dimension, next),
54
+ testID: testID ? `${testID}-control-${dimension.key}` : undefined
55
+ })
56
+ })), [dimensions, staged, onDimensionChange, testID]);
57
+ return /*#__PURE__*/_jsxs(View, {
58
+ testID: testID,
59
+ children: [/*#__PURE__*/_jsx(View, {
60
+ style: filterSheetHeaderStructure(theme),
61
+ children: /*#__PURE__*/_jsx(Text, {
62
+ accessibilityRole: "header",
63
+ style: [theme.fontStyleForWeight(theme.fontWeights.semibold), {
64
+ fontSize: theme.fontSizes.lg,
65
+ color: theme.colors.fg.default
66
+ }],
67
+ children: title
68
+ })
69
+ }), /*#__PURE__*/_jsxs(ScrollView, {
70
+ style: {
71
+ maxHeight: bodyHeight
72
+ },
73
+ bounces: false,
74
+ children: [dimensions.map(dimension => {
75
+ const quickOptions = dimension.options.filter(option => option.quick === true);
76
+ if (quickOptions.length === 0) return null;
77
+ return /*#__PURE__*/_jsx(View, {
78
+ testID: testID ? `${testID}-quick-${dimension.key}` : undefined,
79
+ style: filterSheetQuickRowStructure(theme),
80
+ children: quickOptions.map(option => /*#__PURE__*/_jsx(QuickChip, {
81
+ label: option.label,
82
+ selected: isOptionSelected(dimension, staged, option.value),
83
+ onPress: () => onQuickToggle(dimension, option.value),
84
+ testID: testID ? `${testID}-quick-${dimension.key}-${option.value}` : undefined
85
+ }, option.value))
86
+ }, `${dimension.key}-quick`);
87
+ }), /*#__PURE__*/_jsx(Accordion, {
88
+ type: "single",
89
+ items: accordionItems,
90
+ testID: testID ? `${testID}-accordion` : undefined
91
+ })]
92
+ }), /*#__PURE__*/_jsxs(View, {
93
+ style: filterSheetFooterStructure(theme),
94
+ children: [onReset !== undefined && /*#__PURE__*/_jsx(Button, {
95
+ variant: "ghost",
96
+ tone: "neutral",
97
+ label: resetLabel,
98
+ onPress: onReset,
99
+ testID: testID ? `${testID}-reset` : undefined
100
+ }), /*#__PURE__*/_jsx(Button, {
101
+ variant: "solid",
102
+ tone: "accent",
103
+ label: applyLabel,
104
+ onPress: onApply,
105
+ testID: testID ? `${testID}-apply` : undefined
106
+ })]
107
+ })]
108
+ });
109
+ }
110
+ /**
111
+ * Picks a dimension's own facet control by `kind` — `multi` reuses `../multi-select`'s
112
+ * checkbox-sheet picker, `single` reuses `../radio-group`'s inline "choose exactly one of N" rows.
113
+ * Per CLAUDE.md's component decision order (use an existing export, never hand-roll one), and per
114
+ * `RadioGroup`'s own MODULE.md, which is exactly this shape: a single-select group of options.
115
+ */
116
+ function DimensionControl({
117
+ dimension,
118
+ value,
119
+ onChange,
120
+ testID
121
+ }) {
122
+ const options = dimension.options.map(option => ({
123
+ label: option.label,
124
+ value: option.value
125
+ }));
126
+ if (dimension.kind === "multi") {
127
+ const values = Array.isArray(value) ? value : [];
128
+ return /*#__PURE__*/_jsx(MultiSelect, {
129
+ options: options,
130
+ values: values,
131
+ onValuesChange: onChange,
132
+ placeholder: `Select ${dimension.label}`,
133
+ testID: testID
134
+ });
135
+ }
136
+ return /*#__PURE__*/_jsx(RadioGroup, {
137
+ options: options,
138
+ value: typeof value === "string" ? value : "",
139
+ onValueChange: onChange,
140
+ testID: testID
141
+ });
142
+ }
143
+ /** The one-tap quick-shortcut pill — a distinct, PRIVATE component from the public `FilterChip` (see
144
+ * `FilterSheet.variants.ts`'s file header for why the two can't share a shape). */
145
+ function QuickChip({
146
+ label,
147
+ selected,
148
+ onPress,
149
+ testID
150
+ }) {
151
+ const theme = useTheme();
152
+ const colors = resolveQuickChipColors(theme.colors, selected);
153
+ return /*#__PURE__*/_jsx(Pressable, {
154
+ testID: testID,
155
+ accessibilityRole: "button",
156
+ accessibilityState: {
157
+ selected
158
+ },
159
+ accessibilityLabel: label,
160
+ hitSlop: QUICK_CHIP_HIT_SLOP,
161
+ onPress: onPress,
162
+ style: [quickChipStructure(theme), {
163
+ backgroundColor: colors.background,
164
+ borderColor: colors.border
165
+ }],
166
+ children: /*#__PURE__*/_jsx(Text, {
167
+ style: [theme.fontStyleForWeight(selected ? theme.fontWeights.semibold : theme.fontWeights.regular), {
168
+ fontSize: theme.fontSizes.sm,
169
+ color: colors.text
170
+ }],
171
+ children: label
172
+ })
173
+ });
174
+ }
175
+ //# sourceMappingURL=FilterSheetBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useMemo","Pressable","ScrollView","Text","useWindowDimensions","View","useTheme","Accordion","Button","MultiSelect","RadioGroup","isOptionSelected","filterSheetFooterStructure","filterSheetHeaderStructure","filterSheetQuickRowStructure","QUICK_CHIP_HIT_SLOP","quickChipStructure","resolveFilterSheetBodyHeight","resolveQuickChipColors","jsx","_jsx","jsxs","_jsxs","FilterSheetBody","dimensions","staged","onQuickToggle","onDimensionChange","onApply","onReset","title","applyLabel","resetLabel","testID","theme","height","windowHeight","bodyHeight","accordionItems","map","dimension","value","key","label","content","DimensionControl","onChange","next","undefined","children","style","accessibilityRole","fontStyleForWeight","fontWeights","semibold","fontSize","fontSizes","lg","color","colors","fg","default","maxHeight","bounces","quickOptions","options","filter","option","quick","length","QuickChip","selected","onPress","type","items","variant","tone","kind","values","Array","isArray","onValuesChange","placeholder","onValueChange","accessibilityState","accessibilityLabel","hitSlop","backgroundColor","background","borderColor","border","regular","sm","text"],"sourceRoot":"../../../../src","sources":["modules/filter-sheet/FilterSheetBody.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,EAAEC,mBAAmB,EAAEC,IAAI,QAAQ,cAAc;AAErF,SAASC,QAAQ,QAAQ,sBAAa;AACtC,SAASC,SAAS,QAAQ,uBAAc;AAExC,SAASC,MAAM,QAAQ,oBAAW;AAClC,SAASC,WAAW,QAAQ,0BAAiB;AAC7C,SAASC,UAAU,QAAQ,yBAAgB;AAG3C,SAASC,gBAAgB,QAAQ,0BAAuB;AACxD,SACEC,0BAA0B,EAC1BC,0BAA0B,EAC1BC,4BAA4B,EAC5BC,mBAAmB,EACnBC,kBAAkB,EAClBC,4BAA4B,EAC5BC,sBAAsB,QACjB,2BAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAehC,OAAO,SAASC,eAAeA,CAAC;EAC9BC,UAAU;EACVC,MAAM;EACNC,aAAa;EACbC,iBAAiB;EACjBC,OAAO;EACPC,OAAO;EACPC,KAAK;EACLC,UAAU;EACVC,UAAU;EACVC;AACoB,CAAC,EAAE;EACvB,MAAMC,KAAK,GAAG5B,QAAQ,CAAC,CAAC;EACxB,MAAM;IAAE6B,MAAM,EAAEC;EAAa,CAAC,GAAGhC,mBAAmB,CAAC,CA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