@reillymc/react-native-components 0.12.0 → 0.12.2

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 (807) hide show
  1. package/README.md +97 -15
  2. package/lib/actions/action/Action.js +1 -0
  3. package/lib/actions/action/Action.theme.js +1 -0
  4. package/lib/actions/action/ActionBase.js +1 -0
  5. package/lib/actions/action/ActionBase.theme.js +1 -0
  6. package/lib/actions/action/IconAction.js +1 -0
  7. package/lib/actions/action/IconAction.theme.js +1 -0
  8. package/lib/actions/action/IconActionBase.js +1 -0
  9. package/lib/actions/action/IconActionBase.theme.js +1 -0
  10. package/lib/actions/action/PressableBase.js +1 -0
  11. package/lib/actions/action/StateTint.js +1 -0
  12. package/lib/{components → actions}/action/index.js +1 -1
  13. package/lib/actions/button/Button.js +1 -0
  14. package/lib/actions/button/Button.theme.js +1 -0
  15. package/lib/actions/button/ButtonBase.js +1 -0
  16. package/lib/actions/button/ButtonBase.theme.js +1 -0
  17. package/lib/actions/button/IconButton.js +1 -0
  18. package/lib/actions/button/IconButton.theme.js +1 -0
  19. package/lib/actions/button/IconButtonBase.js +1 -0
  20. package/lib/actions/button/IconButtonBase.theme.js +1 -0
  21. package/lib/actions/index.js +1 -0
  22. package/lib/actions/surface/InteractionSurface.js +1 -0
  23. package/lib/actions/surface/StateLayer.js +1 -0
  24. package/lib/actions/surface/StateLayer.theme.js +1 -0
  25. package/lib/actions/swipeAction/SwipeAction.js +1 -0
  26. package/lib/actions/swipeAction/SwipeAction.theme.js +1 -0
  27. package/lib/actions/swipeAction/index.js +1 -0
  28. package/lib/display/avatar/Avatar.js +1 -0
  29. package/lib/display/avatar/Avatar.theme.js +1 -0
  30. package/lib/display/badge/Badge.js +1 -0
  31. package/lib/{components/alert/AlertIndicator.styles.js → display/badge/Badge.theme.js} +1 -1
  32. package/lib/display/badge/index.js +1 -0
  33. package/lib/display/contentRow/ContentRow.js +1 -0
  34. package/lib/display/contentRow/ContentRow.theme.js +1 -0
  35. package/lib/display/contentRow/index.js +1 -0
  36. package/lib/display/index.js +1 -0
  37. package/lib/display/listItem/ListItem.js +1 -0
  38. package/lib/display/listItem/ListItem.theme.js +1 -0
  39. package/lib/display/listItem/index.js +1 -0
  40. package/lib/display/rating/Rating.js +1 -0
  41. package/lib/display/rating/Rating.theme.js +1 -0
  42. package/lib/display/rating/index.js +1 -0
  43. package/lib/display/tag/Tag.js +1 -0
  44. package/lib/display/tag/Tag.theme.js +1 -0
  45. package/lib/display/tag/TagIcon.js +1 -0
  46. package/lib/display/tag/TagIcon.theme.js +1 -0
  47. package/lib/display/toggleIndicator/ToggleIndicator.js +1 -0
  48. package/lib/display/toggleIndicator/ToggleIndicator.theme.js +1 -0
  49. package/lib/display/toggleIndicator/index.js +1 -0
  50. package/lib/feedback/index.js +1 -0
  51. package/lib/feedback/toast/Toast.js +1 -0
  52. package/lib/feedback/toast/Toast.theme.js +1 -0
  53. package/lib/forms/field/Field.js +1 -0
  54. package/lib/forms/field/Field.theme.js +1 -0
  55. package/lib/forms/field/FieldAction.js +1 -0
  56. package/lib/forms/field/FieldContext.js +1 -0
  57. package/lib/forms/field/FieldIcon.js +1 -0
  58. package/lib/forms/field/FieldNumberInput.js +1 -0
  59. package/lib/forms/field/FieldRow.js +1 -0
  60. package/lib/forms/field/FieldSurface.js +1 -0
  61. package/lib/{hooks/usePersistentKeyboardHeight.js → forms/field/FieldSurfaceContext.js} +1 -1
  62. package/lib/forms/field/FieldSurfacePressLayer.js +1 -0
  63. package/lib/forms/field/FieldTextInput.js +1 -0
  64. package/lib/forms/field/a11y.js +1 -0
  65. package/lib/forms/field/index.js +1 -0
  66. package/lib/forms/field/useFieldControlFocus.js +1 -0
  67. package/lib/forms/field/useFieldControlRegistry.js +1 -0
  68. package/lib/forms/formContainer/FormContainer.js +1 -0
  69. package/lib/forms/formContainer/FormContainer.theme.js +1 -0
  70. package/lib/forms/formContainer/index.js +1 -0
  71. package/lib/forms/formRow/FormRow.js +1 -0
  72. package/lib/forms/formRow/FormRow.theme.js +1 -0
  73. package/lib/forms/formRow/index.js +1 -0
  74. package/lib/forms/index.js +1 -0
  75. package/lib/forms/input/TextInput.js +1 -0
  76. package/lib/forms/input/comboboxInput/ComboboxBlurGuard.js +1 -0
  77. package/lib/forms/input/comboboxInput/ComboboxBlurGuard.web.js +1 -0
  78. package/lib/forms/input/comboboxInput/ComboboxInput.js +1 -0
  79. package/lib/forms/input/comboboxInput/ComboboxInput.theme.js +1 -0
  80. package/lib/forms/input/comboboxInput/ComboboxInputBase.js +1 -0
  81. package/lib/forms/input/comboboxInput/helpers.js +1 -0
  82. package/lib/forms/input/comboboxInput/index.js +1 -0
  83. package/lib/forms/input/comboboxInput/useComboboxController.js +1 -0
  84. package/lib/forms/input/counterInput/CounterControl.js +1 -0
  85. package/lib/forms/input/counterInput/CounterInput.js +1 -0
  86. package/lib/forms/input/counterInput/index.js +1 -0
  87. package/lib/forms/input/index.js +1 -0
  88. package/lib/forms/input/numberInput/NumberInput.js +1 -0
  89. package/lib/forms/input/numberInput/helpers.js +1 -0
  90. package/lib/forms/input/numberInput/index.js +1 -0
  91. package/lib/forms/input/ratingInput/AnimatedStar.js +1 -0
  92. package/lib/forms/input/ratingInput/RatingControl.js +1 -0
  93. package/lib/forms/input/ratingInput/RatingInput.js +1 -0
  94. package/lib/forms/input/ratingInput/RatingInput.theme.js +1 -0
  95. package/lib/forms/input/ratingInput/helpers.js +1 -0
  96. package/lib/forms/input/ratingInput/index.js +1 -0
  97. package/lib/forms/input/selectionInput/SelectionControl.js +1 -0
  98. package/lib/forms/input/selectionInput/SelectionInput.js +1 -0
  99. package/lib/forms/input/selectionInput/SelectionInput.theme.js +1 -0
  100. package/lib/forms/input/selectionInput/index.js +1 -0
  101. package/lib/forms/input/shared/useSegmentedInputNavigation.js +1 -0
  102. package/lib/forms/input/timeInput/TimeInput.js +1 -0
  103. package/lib/forms/input/timeInput/helpers.js +1 -0
  104. package/lib/forms/input/timeInput/index.js +1 -0
  105. package/lib/forms/input/toggleInput/ToggleControl.js +1 -0
  106. package/lib/forms/input/toggleInput/ToggleInput.js +1 -0
  107. package/lib/forms/input/toggleInput/ToggleInput.theme.js +1 -0
  108. package/lib/forms/input/toggleInput/index.js +1 -0
  109. package/lib/icons/Icon.js +1 -0
  110. package/lib/icons/Icon.theme.js +1 -0
  111. package/lib/icons/IconBase.js +1 -0
  112. package/lib/icons/IconBase.theme.js +1 -0
  113. package/lib/icons/componentIconAssets.js +0 -0
  114. package/lib/icons/index.js +1 -1
  115. package/lib/icons/ui/Check.js +1 -0
  116. package/lib/icons/ui/CircleFilled.js +1 -0
  117. package/lib/icons/ui/index.js +1 -1
  118. package/lib/internal/defineComponentStyles.js +1 -0
  119. package/lib/internal/index.js +1 -0
  120. package/lib/internal/useComponent.js +1 -0
  121. package/lib/internal/useFocusVisible.js +1 -0
  122. package/lib/internal/useForwardedRef.js +1 -0
  123. package/lib/layout/collapsiblePanel/CollapsiblePanel.js +1 -0
  124. package/lib/layout/collapsiblePanel/index.js +1 -0
  125. package/lib/layout/index.js +1 -0
  126. package/lib/layout/swipeable/SwipeableContainer.js +1 -0
  127. package/lib/layout/swipeable/index.js +1 -0
  128. package/lib/overlays/anchoredContainer/AnchoredContainer.ios.js +1 -0
  129. package/lib/overlays/anchoredContainer/AnchoredContainer.js +1 -0
  130. package/lib/overlays/anchoredContainer/AnchoredContainer.theme.js +1 -0
  131. package/lib/overlays/anchoredContainer/AnchoredContainer.web.js +1 -0
  132. package/lib/overlays/anchoredContainer/InlineMount.js +1 -0
  133. package/lib/overlays/anchoredContainer/OverlayMount.js +1 -0
  134. package/lib/overlays/anchoredContainer/helpers.js +1 -0
  135. package/lib/overlays/anchoredContainer/index.js +1 -0
  136. package/lib/overlays/anchoredContainer/useAnchoredContainerPosition.js +1 -0
  137. package/lib/overlays/index.js +1 -0
  138. package/lib/overlays/menu/Menu.js +1 -0
  139. package/lib/overlays/menu/Menu.theme.js +1 -0
  140. package/lib/overlays/menu/MenuItem.js +1 -0
  141. package/lib/overlays/menu/MenuItem.theme.js +1 -0
  142. package/lib/theme/ThemeContext.js +1 -0
  143. package/lib/theme/ThemeProvider.js +1 -0
  144. package/lib/theme/colors.js +1 -0
  145. package/lib/theme/createAppTheme.js +1 -0
  146. package/lib/theme/icons.js +1 -1
  147. package/lib/theme/index.js +1 -1
  148. package/lib/theme/mergeTheme.js +1 -0
  149. package/lib/theme/palette.js +1 -1
  150. package/lib/theme/resolveTheme.js +1 -0
  151. package/lib/theme/resolveThemeGraph.js +1 -0
  152. package/lib/theme/size.js +0 -0
  153. package/lib/theme/systems.js +1 -0
  154. package/lib/theme/theme.js +1 -1
  155. package/lib/theme/themeDefinitions.js +1 -0
  156. package/lib/theme/useSystems.js +1 -0
  157. package/lib/theme/useTheme.js +1 -0
  158. package/lib/types/{components → actions}/action/Action.d.ts +5 -4
  159. package/lib/types/actions/action/Action.d.ts.map +1 -0
  160. package/lib/types/actions/action/Action.theme.d.ts +3 -0
  161. package/lib/types/actions/action/Action.theme.d.ts.map +1 -0
  162. package/lib/types/actions/action/ActionBase.d.ts +19 -0
  163. package/lib/types/actions/action/ActionBase.d.ts.map +1 -0
  164. package/lib/types/actions/action/ActionBase.theme.d.ts +3 -0
  165. package/lib/types/actions/action/ActionBase.theme.d.ts.map +1 -0
  166. package/lib/types/actions/action/IconAction.d.ts +15 -0
  167. package/lib/types/actions/action/IconAction.d.ts.map +1 -0
  168. package/lib/types/actions/action/IconAction.theme.d.ts +3 -0
  169. package/lib/types/actions/action/IconAction.theme.d.ts.map +1 -0
  170. package/lib/types/actions/action/IconActionBase.d.ts +16 -0
  171. package/lib/types/actions/action/IconActionBase.d.ts.map +1 -0
  172. package/lib/types/actions/action/IconActionBase.theme.d.ts +3 -0
  173. package/lib/types/actions/action/IconActionBase.theme.d.ts.map +1 -0
  174. package/lib/types/actions/action/PressableBase.d.ts +12 -0
  175. package/lib/types/actions/action/PressableBase.d.ts.map +1 -0
  176. package/lib/types/{components → actions}/action/StateTint.d.ts +0 -4
  177. package/lib/types/actions/action/StateTint.d.ts.map +1 -0
  178. package/lib/types/actions/action/index.d.ts +7 -0
  179. package/lib/types/actions/action/index.d.ts.map +1 -0
  180. package/lib/types/{components → actions}/button/Button.d.ts +7 -8
  181. package/lib/types/actions/button/Button.d.ts.map +1 -0
  182. package/lib/types/actions/button/Button.theme.d.ts +3 -0
  183. package/lib/types/actions/button/Button.theme.d.ts.map +1 -0
  184. package/lib/types/{components → actions}/button/ButtonBase.d.ts +3 -3
  185. package/lib/types/actions/button/ButtonBase.d.ts.map +1 -0
  186. package/lib/types/actions/button/ButtonBase.theme.d.ts +3 -0
  187. package/lib/types/actions/button/ButtonBase.theme.d.ts.map +1 -0
  188. package/lib/types/actions/button/IconButton.d.ts +20 -0
  189. package/lib/types/actions/button/IconButton.d.ts.map +1 -0
  190. package/lib/types/actions/button/IconButton.theme.d.ts +3 -0
  191. package/lib/types/actions/button/IconButton.theme.d.ts.map +1 -0
  192. package/lib/types/actions/button/IconButtonBase.d.ts +22 -0
  193. package/lib/types/actions/button/IconButtonBase.d.ts.map +1 -0
  194. package/lib/types/actions/button/IconButtonBase.theme.d.ts +3 -0
  195. package/lib/types/actions/button/IconButtonBase.theme.d.ts.map +1 -0
  196. package/lib/types/actions/button/index.d.ts +5 -0
  197. package/lib/types/actions/button/index.d.ts.map +1 -0
  198. package/lib/types/actions/index.d.ts +6 -0
  199. package/lib/types/actions/index.d.ts.map +1 -0
  200. package/lib/types/{components → actions}/surface/InteractionSurface.d.ts +1 -1
  201. package/lib/types/actions/surface/InteractionSurface.d.ts.map +1 -0
  202. package/lib/types/{components → actions}/surface/StateLayer.d.ts +3 -3
  203. package/lib/types/actions/surface/StateLayer.d.ts.map +1 -0
  204. package/lib/types/actions/surface/StateLayer.theme.d.ts +3 -0
  205. package/lib/types/actions/surface/StateLayer.theme.d.ts.map +1 -0
  206. package/lib/types/actions/surface/index.d.ts +3 -0
  207. package/lib/types/actions/surface/index.d.ts.map +1 -0
  208. package/lib/types/{components/swipe → actions/swipeAction}/SwipeAction.d.ts +2 -2
  209. package/lib/types/actions/swipeAction/SwipeAction.d.ts.map +1 -0
  210. package/lib/types/actions/swipeAction/SwipeAction.theme.d.ts +3 -0
  211. package/lib/types/actions/swipeAction/SwipeAction.theme.d.ts.map +1 -0
  212. package/lib/types/actions/swipeAction/index.d.ts +2 -0
  213. package/lib/types/actions/swipeAction/index.d.ts.map +1 -0
  214. package/lib/types/{components → display}/avatar/Avatar.d.ts +10 -7
  215. package/lib/types/display/avatar/Avatar.d.ts.map +1 -0
  216. package/lib/types/display/avatar/Avatar.theme.d.ts +3 -0
  217. package/lib/types/display/avatar/Avatar.theme.d.ts.map +1 -0
  218. package/lib/types/display/avatar/index.d.ts +2 -0
  219. package/lib/types/display/avatar/index.d.ts.map +1 -0
  220. package/lib/types/display/badge/Badge.d.ts +20 -0
  221. package/lib/types/display/badge/Badge.d.ts.map +1 -0
  222. package/lib/types/display/badge/Badge.theme.d.ts +3 -0
  223. package/lib/types/display/badge/Badge.theme.d.ts.map +1 -0
  224. package/lib/types/display/badge/index.d.ts +2 -0
  225. package/lib/types/display/badge/index.d.ts.map +1 -0
  226. package/lib/types/display/contentRow/ContentRow.d.ts +14 -0
  227. package/lib/types/display/contentRow/ContentRow.d.ts.map +1 -0
  228. package/lib/types/display/contentRow/ContentRow.theme.d.ts +3 -0
  229. package/lib/types/display/contentRow/ContentRow.theme.d.ts.map +1 -0
  230. package/lib/types/display/contentRow/index.d.ts +2 -0
  231. package/lib/types/display/contentRow/index.d.ts.map +1 -0
  232. package/lib/types/display/index.d.ts +8 -0
  233. package/lib/types/display/index.d.ts.map +1 -0
  234. package/lib/types/{components → display}/listItem/ListItem.d.ts +13 -12
  235. package/lib/types/display/listItem/ListItem.d.ts.map +1 -0
  236. package/lib/types/display/listItem/ListItem.theme.d.ts +3 -0
  237. package/lib/types/display/listItem/ListItem.theme.d.ts.map +1 -0
  238. package/lib/types/display/listItem/index.d.ts +2 -0
  239. package/lib/types/display/listItem/index.d.ts.map +1 -0
  240. package/lib/types/{components → display}/rating/Rating.d.ts +4 -4
  241. package/lib/types/display/rating/Rating.d.ts.map +1 -0
  242. package/lib/types/display/rating/Rating.theme.d.ts +3 -0
  243. package/lib/types/display/rating/Rating.theme.d.ts.map +1 -0
  244. package/lib/types/display/rating/index.d.ts +3 -0
  245. package/lib/types/display/rating/index.d.ts.map +1 -0
  246. package/lib/types/display/rating/ratingUtils.d.ts.map +1 -0
  247. package/lib/types/display/tag/Tag.d.ts +24 -0
  248. package/lib/types/display/tag/Tag.d.ts.map +1 -0
  249. package/lib/types/display/tag/Tag.theme.d.ts +3 -0
  250. package/lib/types/display/tag/Tag.theme.d.ts.map +1 -0
  251. package/lib/types/display/tag/TagIcon.d.ts +13 -0
  252. package/lib/types/display/tag/TagIcon.d.ts.map +1 -0
  253. package/lib/types/display/tag/TagIcon.theme.d.ts +3 -0
  254. package/lib/types/display/tag/TagIcon.theme.d.ts.map +1 -0
  255. package/lib/types/display/tag/index.d.ts +3 -0
  256. package/lib/types/display/tag/index.d.ts.map +1 -0
  257. package/lib/types/display/toggleIndicator/ToggleIndicator.d.ts +25 -0
  258. package/lib/types/display/toggleIndicator/ToggleIndicator.d.ts.map +1 -0
  259. package/lib/types/display/toggleIndicator/ToggleIndicator.theme.d.ts +3 -0
  260. package/lib/types/display/toggleIndicator/ToggleIndicator.theme.d.ts.map +1 -0
  261. package/lib/types/display/toggleIndicator/index.d.ts +2 -0
  262. package/lib/types/display/toggleIndicator/index.d.ts.map +1 -0
  263. package/lib/types/feedback/index.d.ts +2 -0
  264. package/lib/types/feedback/index.d.ts.map +1 -0
  265. package/lib/types/{components → feedback}/toast/Toast.d.ts +8 -2
  266. package/lib/types/feedback/toast/Toast.d.ts.map +1 -0
  267. package/lib/types/feedback/toast/Toast.theme.d.ts +3 -0
  268. package/lib/types/feedback/toast/Toast.theme.d.ts.map +1 -0
  269. package/lib/types/feedback/toast/index.d.ts +2 -0
  270. package/lib/types/feedback/toast/index.d.ts.map +1 -0
  271. package/lib/types/forms/field/Field.d.ts +38 -0
  272. package/lib/types/forms/field/Field.d.ts.map +1 -0
  273. package/lib/types/forms/field/Field.theme.d.ts +41 -0
  274. package/lib/types/forms/field/Field.theme.d.ts.map +1 -0
  275. package/lib/types/forms/field/FieldAction.d.ts +13 -0
  276. package/lib/types/forms/field/FieldAction.d.ts.map +1 -0
  277. package/lib/types/forms/field/FieldContext.d.ts +33 -0
  278. package/lib/types/forms/field/FieldContext.d.ts.map +1 -0
  279. package/lib/types/forms/field/FieldIcon.d.ts +12 -0
  280. package/lib/types/forms/field/FieldIcon.d.ts.map +1 -0
  281. package/lib/types/forms/field/FieldNumberInput.d.ts +14 -0
  282. package/lib/types/forms/field/FieldNumberInput.d.ts.map +1 -0
  283. package/lib/types/forms/field/FieldRow.d.ts +16 -0
  284. package/lib/types/forms/field/FieldRow.d.ts.map +1 -0
  285. package/lib/types/forms/field/FieldSurface.d.ts +16 -0
  286. package/lib/types/forms/field/FieldSurface.d.ts.map +1 -0
  287. package/lib/types/forms/field/FieldSurfaceContext.d.ts +17 -0
  288. package/lib/types/forms/field/FieldSurfaceContext.d.ts.map +1 -0
  289. package/lib/types/forms/field/FieldSurfacePressLayer.d.ts +11 -0
  290. package/lib/types/forms/field/FieldSurfacePressLayer.d.ts.map +1 -0
  291. package/lib/types/forms/field/FieldTextInput.d.ts +24 -0
  292. package/lib/types/forms/field/FieldTextInput.d.ts.map +1 -0
  293. package/lib/types/forms/field/a11y.d.ts +41 -0
  294. package/lib/types/forms/field/a11y.d.ts.map +1 -0
  295. package/lib/types/forms/field/index.d.ts +19 -0
  296. package/lib/types/forms/field/index.d.ts.map +1 -0
  297. package/lib/types/forms/field/useFieldControlFocus.d.ts +29 -0
  298. package/lib/types/forms/field/useFieldControlFocus.d.ts.map +1 -0
  299. package/lib/types/forms/field/useFieldControlRegistry.d.ts +10 -0
  300. package/lib/types/forms/field/useFieldControlRegistry.d.ts.map +1 -0
  301. package/lib/types/{components/container → forms/formContainer}/FormContainer.d.ts +5 -4
  302. package/lib/types/forms/formContainer/FormContainer.d.ts.map +1 -0
  303. package/lib/types/forms/formContainer/FormContainer.theme.d.ts +3 -0
  304. package/lib/types/forms/formContainer/FormContainer.theme.d.ts.map +1 -0
  305. package/lib/types/forms/formContainer/index.d.ts +2 -0
  306. package/lib/types/forms/formContainer/index.d.ts.map +1 -0
  307. package/lib/types/{components/container → forms/formRow}/FormRow.d.ts +5 -4
  308. package/lib/types/forms/formRow/FormRow.d.ts.map +1 -0
  309. package/lib/types/forms/formRow/FormRow.theme.d.ts +3 -0
  310. package/lib/types/forms/formRow/FormRow.theme.d.ts.map +1 -0
  311. package/lib/types/forms/formRow/index.d.ts +2 -0
  312. package/lib/types/forms/formRow/index.d.ts.map +1 -0
  313. package/lib/types/forms/index.d.ts +9 -0
  314. package/lib/types/forms/index.d.ts.map +1 -0
  315. package/lib/types/forms/input/TextInput.d.ts +8 -0
  316. package/lib/types/forms/input/TextInput.d.ts.map +1 -0
  317. package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.d.ts +8 -0
  318. package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.d.ts.map +1 -0
  319. package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.web.d.ts +9 -0
  320. package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.web.d.ts.map +1 -0
  321. package/lib/types/forms/input/comboboxInput/ComboboxInput.d.ts +8 -0
  322. package/lib/types/forms/input/comboboxInput/ComboboxInput.d.ts.map +1 -0
  323. package/lib/types/forms/input/comboboxInput/ComboboxInput.theme.d.ts +3 -0
  324. package/lib/types/forms/input/comboboxInput/ComboboxInput.theme.d.ts.map +1 -0
  325. package/lib/types/forms/input/comboboxInput/ComboboxInputBase.d.ts +73 -0
  326. package/lib/types/forms/input/comboboxInput/ComboboxInputBase.d.ts.map +1 -0
  327. package/lib/types/forms/input/comboboxInput/helpers.d.ts +13 -0
  328. package/lib/types/forms/input/comboboxInput/helpers.d.ts.map +1 -0
  329. package/lib/types/forms/input/comboboxInput/index.d.ts +4 -0
  330. package/lib/types/forms/input/comboboxInput/index.d.ts.map +1 -0
  331. package/lib/types/forms/input/comboboxInput/useComboboxController.d.ts +43 -0
  332. package/lib/types/forms/input/comboboxInput/useComboboxController.d.ts.map +1 -0
  333. package/lib/types/forms/input/counterInput/CounterControl.d.ts +17 -0
  334. package/lib/types/forms/input/counterInput/CounterControl.d.ts.map +1 -0
  335. package/lib/types/forms/input/counterInput/CounterInput.d.ts +19 -0
  336. package/lib/types/forms/input/counterInput/CounterInput.d.ts.map +1 -0
  337. package/lib/types/forms/input/counterInput/index.d.ts +3 -0
  338. package/lib/types/forms/input/counterInput/index.d.ts.map +1 -0
  339. package/lib/types/forms/input/index.d.ts +18 -0
  340. package/lib/types/forms/input/index.d.ts.map +1 -0
  341. package/lib/types/forms/input/numberInput/NumberInput.d.ts +47 -0
  342. package/lib/types/forms/input/numberInput/NumberInput.d.ts.map +1 -0
  343. package/lib/types/forms/input/numberInput/helpers.d.ts +16 -0
  344. package/lib/types/forms/input/numberInput/helpers.d.ts.map +1 -0
  345. package/lib/types/forms/input/numberInput/index.d.ts +3 -0
  346. package/lib/types/forms/input/numberInput/index.d.ts.map +1 -0
  347. package/lib/types/forms/input/ratingInput/AnimatedStar.d.ts +14 -0
  348. package/lib/types/forms/input/ratingInput/AnimatedStar.d.ts.map +1 -0
  349. package/lib/types/forms/input/ratingInput/RatingControl.d.ts +13 -0
  350. package/lib/types/forms/input/ratingInput/RatingControl.d.ts.map +1 -0
  351. package/lib/types/forms/input/ratingInput/RatingInput.d.ts +13 -0
  352. package/lib/types/forms/input/ratingInput/RatingInput.d.ts.map +1 -0
  353. package/lib/types/forms/input/ratingInput/RatingInput.theme.d.ts +10 -0
  354. package/lib/types/forms/input/ratingInput/RatingInput.theme.d.ts.map +1 -0
  355. package/lib/types/forms/input/ratingInput/helpers.d.ts +9 -0
  356. package/lib/types/forms/input/ratingInput/helpers.d.ts.map +1 -0
  357. package/lib/types/forms/input/ratingInput/index.d.ts +4 -0
  358. package/lib/types/forms/input/ratingInput/index.d.ts.map +1 -0
  359. package/lib/types/forms/input/selectionInput/SelectionControl.d.ts +14 -0
  360. package/lib/types/forms/input/selectionInput/SelectionControl.d.ts.map +1 -0
  361. package/lib/types/forms/input/selectionInput/SelectionInput.d.ts +30 -0
  362. package/lib/types/forms/input/selectionInput/SelectionInput.d.ts.map +1 -0
  363. package/lib/types/forms/input/selectionInput/SelectionInput.theme.d.ts +8 -0
  364. package/lib/types/forms/input/selectionInput/SelectionInput.theme.d.ts.map +1 -0
  365. package/lib/types/forms/input/selectionInput/index.d.ts +4 -0
  366. package/lib/types/forms/input/selectionInput/index.d.ts.map +1 -0
  367. package/lib/types/forms/input/shared/useSegmentedInputNavigation.d.ts +48 -0
  368. package/lib/types/forms/input/shared/useSegmentedInputNavigation.d.ts.map +1 -0
  369. package/lib/types/forms/input/timeInput/TimeInput.d.ts +31 -0
  370. package/lib/types/forms/input/timeInput/TimeInput.d.ts.map +1 -0
  371. package/lib/types/forms/input/timeInput/helpers.d.ts +14 -0
  372. package/lib/types/forms/input/timeInput/helpers.d.ts.map +1 -0
  373. package/lib/types/forms/input/timeInput/index.d.ts +3 -0
  374. package/lib/types/forms/input/timeInput/index.d.ts.map +1 -0
  375. package/lib/types/forms/input/toggleInput/ToggleControl.d.ts +12 -0
  376. package/lib/types/forms/input/toggleInput/ToggleControl.d.ts.map +1 -0
  377. package/lib/types/forms/input/toggleInput/ToggleInput.d.ts +18 -0
  378. package/lib/types/forms/input/toggleInput/ToggleInput.d.ts.map +1 -0
  379. package/lib/types/forms/input/toggleInput/ToggleInput.theme.d.ts +10 -0
  380. package/lib/types/forms/input/toggleInput/ToggleInput.theme.d.ts.map +1 -0
  381. package/lib/types/forms/input/toggleInput/index.d.ts +4 -0
  382. package/lib/types/forms/input/toggleInput/index.d.ts.map +1 -0
  383. package/lib/types/forms/input/valueItem.d.ts.map +1 -0
  384. package/lib/types/icons/Icon.d.ts +15 -0
  385. package/lib/types/icons/Icon.d.ts.map +1 -0
  386. package/lib/types/icons/Icon.theme.d.ts +3 -0
  387. package/lib/types/icons/Icon.theme.d.ts.map +1 -0
  388. package/lib/types/icons/IconBase.d.ts +14 -0
  389. package/lib/types/icons/IconBase.d.ts.map +1 -0
  390. package/lib/types/icons/IconBase.theme.d.ts +3 -0
  391. package/lib/types/icons/IconBase.theme.d.ts.map +1 -0
  392. package/lib/types/{components/icon → icons}/IconComponentProps.d.ts +1 -1
  393. package/lib/types/icons/IconComponentProps.d.ts.map +1 -0
  394. package/lib/types/icons/componentIconAssets.d.ts +2 -0
  395. package/lib/types/icons/componentIconAssets.d.ts.map +1 -0
  396. package/lib/types/icons/index.d.ts +4 -1
  397. package/lib/types/icons/index.d.ts.map +1 -1
  398. package/lib/types/icons/ui/Check.d.ts +4 -0
  399. package/lib/types/icons/ui/Check.d.ts.map +1 -0
  400. package/lib/types/icons/ui/CircleFilled.d.ts +4 -0
  401. package/lib/types/icons/ui/CircleFilled.d.ts.map +1 -0
  402. package/lib/types/icons/ui/index.d.ts +1 -1
  403. package/lib/types/icons/ui/index.d.ts.map +1 -1
  404. package/lib/types/internal/defineComponentStyles.d.ts +7 -0
  405. package/lib/types/internal/defineComponentStyles.d.ts.map +1 -0
  406. package/lib/types/internal/index.d.ts +5 -0
  407. package/lib/types/internal/index.d.ts.map +1 -0
  408. package/lib/types/internal/useComponent.d.ts +26 -0
  409. package/lib/types/internal/useComponent.d.ts.map +1 -0
  410. package/lib/types/internal/useFocusVisible.d.ts +30 -0
  411. package/lib/types/internal/useFocusVisible.d.ts.map +1 -0
  412. package/lib/types/internal/useForwardedRef.d.ts +3 -0
  413. package/lib/types/internal/useForwardedRef.d.ts.map +1 -0
  414. package/lib/types/{components/container/Panel.d.ts → layout/collapsiblePanel/CollapsiblePanel.d.ts} +3 -3
  415. package/lib/types/layout/collapsiblePanel/CollapsiblePanel.d.ts.map +1 -0
  416. package/lib/types/layout/collapsiblePanel/index.d.ts +2 -0
  417. package/lib/types/layout/collapsiblePanel/index.d.ts.map +1 -0
  418. package/lib/types/layout/index.d.ts +3 -0
  419. package/lib/types/layout/index.d.ts.map +1 -0
  420. package/lib/types/{components/swipe → layout/swipeable}/SwipeableContainer.d.ts +1 -1
  421. package/lib/types/{components/swipe → layout/swipeable}/SwipeableContainer.d.ts.map +1 -1
  422. package/lib/types/layout/swipeable/index.d.ts +2 -0
  423. package/lib/types/layout/swipeable/index.d.ts.map +1 -0
  424. package/lib/types/overlays/anchoredContainer/AnchoredContainer.d.ts +50 -0
  425. package/lib/types/overlays/anchoredContainer/AnchoredContainer.d.ts.map +1 -0
  426. package/lib/types/overlays/anchoredContainer/AnchoredContainer.ios.d.ts +4 -0
  427. package/lib/types/overlays/anchoredContainer/AnchoredContainer.ios.d.ts.map +1 -0
  428. package/lib/types/overlays/anchoredContainer/AnchoredContainer.theme.d.ts +3 -0
  429. package/lib/types/overlays/anchoredContainer/AnchoredContainer.theme.d.ts.map +1 -0
  430. package/lib/types/overlays/anchoredContainer/AnchoredContainer.web.d.ts +4 -0
  431. package/lib/types/overlays/anchoredContainer/AnchoredContainer.web.d.ts.map +1 -0
  432. package/lib/types/overlays/anchoredContainer/InlineMount.d.ts +9 -0
  433. package/lib/types/overlays/anchoredContainer/InlineMount.d.ts.map +1 -0
  434. package/lib/types/overlays/anchoredContainer/OverlayMount.d.ts +11 -0
  435. package/lib/types/overlays/anchoredContainer/OverlayMount.d.ts.map +1 -0
  436. package/lib/types/overlays/anchoredContainer/helpers.d.ts +3 -0
  437. package/lib/types/overlays/anchoredContainer/helpers.d.ts.map +1 -0
  438. package/lib/types/overlays/anchoredContainer/index.d.ts +3 -0
  439. package/lib/types/overlays/anchoredContainer/index.d.ts.map +1 -0
  440. package/lib/types/overlays/anchoredContainer/useAnchoredContainerPosition.d.ts +29 -0
  441. package/lib/types/overlays/anchoredContainer/useAnchoredContainerPosition.d.ts.map +1 -0
  442. package/lib/types/overlays/index.d.ts +3 -0
  443. package/lib/types/overlays/index.d.ts.map +1 -0
  444. package/lib/types/overlays/menu/Menu.d.ts +27 -0
  445. package/lib/types/overlays/menu/Menu.d.ts.map +1 -0
  446. package/lib/types/overlays/menu/Menu.theme.d.ts +3 -0
  447. package/lib/types/overlays/menu/Menu.theme.d.ts.map +1 -0
  448. package/lib/types/{components → overlays}/menu/MenuItem.d.ts +4 -1
  449. package/lib/types/overlays/menu/MenuItem.d.ts.map +1 -0
  450. package/lib/types/overlays/menu/MenuItem.theme.d.ts +3 -0
  451. package/lib/types/overlays/menu/MenuItem.theme.d.ts.map +1 -0
  452. package/lib/types/overlays/menu/index.d.ts +5 -0
  453. package/lib/types/overlays/menu/index.d.ts.map +1 -0
  454. package/lib/types/theme/ThemeContext.d.ts +12 -0
  455. package/lib/types/theme/ThemeContext.d.ts.map +1 -0
  456. package/lib/types/theme/ThemeProvider.d.ts +26 -0
  457. package/lib/types/theme/ThemeProvider.d.ts.map +1 -0
  458. package/lib/types/theme/colors.d.ts +28 -0
  459. package/lib/types/theme/colors.d.ts.map +1 -0
  460. package/lib/types/theme/createAppTheme.d.ts +30 -0
  461. package/lib/types/theme/createAppTheme.d.ts.map +1 -0
  462. package/lib/types/theme/icons.d.ts +30 -27
  463. package/lib/types/theme/icons.d.ts.map +1 -1
  464. package/lib/types/theme/index.d.ts +9 -4
  465. package/lib/types/theme/index.d.ts.map +1 -1
  466. package/lib/types/theme/mergeTheme.d.ts +12 -0
  467. package/lib/types/theme/mergeTheme.d.ts.map +1 -0
  468. package/lib/types/theme/palette.d.ts +55 -26
  469. package/lib/types/theme/palette.d.ts.map +1 -1
  470. package/lib/types/theme/resolveTheme.d.ts +13 -0
  471. package/lib/types/theme/resolveTheme.d.ts.map +1 -0
  472. package/lib/types/theme/resolveThemeGraph.d.ts +24 -0
  473. package/lib/types/theme/resolveThemeGraph.d.ts.map +1 -0
  474. package/lib/types/theme/size.d.ts +2 -0
  475. package/lib/types/theme/size.d.ts.map +1 -0
  476. package/lib/types/theme/systems.d.ts +61 -0
  477. package/lib/types/theme/systems.d.ts.map +1 -0
  478. package/lib/types/theme/theme.d.ts +70 -42
  479. package/lib/types/theme/theme.d.ts.map +1 -1
  480. package/lib/types/theme/themeDefinitions.d.ts +6 -0
  481. package/lib/types/theme/themeDefinitions.d.ts.map +1 -0
  482. package/lib/types/theme/useSystems.d.ts +24 -0
  483. package/lib/types/theme/useSystems.d.ts.map +1 -0
  484. package/lib/types/theme/useTheme.d.ts +8 -0
  485. package/lib/types/theme/useTheme.d.ts.map +1 -0
  486. package/lib/types/typography/index.d.ts +3 -0
  487. package/lib/types/typography/index.d.ts.map +1 -0
  488. package/lib/types/{components → typography}/text/HighlightedText.d.ts +4 -3
  489. package/lib/types/typography/text/HighlightedText.d.ts.map +1 -0
  490. package/lib/types/typography/text/HighlightedText.theme.d.ts +3 -0
  491. package/lib/types/typography/text/HighlightedText.theme.d.ts.map +1 -0
  492. package/lib/types/{components → typography}/text/Text.d.ts +3 -1
  493. package/lib/types/typography/text/Text.d.ts.map +1 -0
  494. package/lib/types/typography/text/Text.theme.d.ts +3 -0
  495. package/lib/types/typography/text/Text.theme.d.ts.map +1 -0
  496. package/lib/types/typography/text/index.d.ts +3 -0
  497. package/lib/types/typography/text/index.d.ts.map +1 -0
  498. package/lib/typography/index.js +1 -0
  499. package/lib/typography/text/HighlightedText.js +1 -0
  500. package/lib/typography/text/HighlightedText.theme.js +1 -0
  501. package/lib/typography/text/Text.js +1 -0
  502. package/lib/typography/text/Text.theme.js +1 -0
  503. package/package.json +32 -20
  504. package/lib/common/index.js +0 -1
  505. package/lib/common/typography.js +0 -1
  506. package/lib/components/action/Action.js +0 -1
  507. package/lib/components/action/Action.styles.js +0 -1
  508. package/lib/components/action/ActionBase.js +0 -1
  509. package/lib/components/action/ActionBase.styles.js +0 -1
  510. package/lib/components/action/IconAction.js +0 -1
  511. package/lib/components/action/IconAction.styles.js +0 -1
  512. package/lib/components/action/IconActionBase.js +0 -1
  513. package/lib/components/action/IconActionBase.styles.js +0 -1
  514. package/lib/components/action/StateTint.js +0 -1
  515. package/lib/components/action/StateTint.styles.js +0 -1
  516. package/lib/components/alert/AlertIndicator.js +0 -1
  517. package/lib/components/alert/index.js +0 -1
  518. package/lib/components/avatar/Avatar.js +0 -1
  519. package/lib/components/avatar/Avatar.styles.js +0 -1
  520. package/lib/components/button/Button.js +0 -1
  521. package/lib/components/button/Button.styles.js +0 -1
  522. package/lib/components/button/ButtonBase.js +0 -1
  523. package/lib/components/button/ButtonBase.styles.js +0 -1
  524. package/lib/components/button/IconButton.js +0 -1
  525. package/lib/components/button/IconButton.styles.js +0 -1
  526. package/lib/components/button/IconButtonBase.js +0 -1
  527. package/lib/components/button/IconButtonBase.styles.js +0 -1
  528. package/lib/components/container/FloatingContainer.js +0 -1
  529. package/lib/components/container/FloatingContainer.styles.js +0 -1
  530. package/lib/components/container/FloatingContainer.web.js +0 -1
  531. package/lib/components/container/FormContainer.js +0 -1
  532. package/lib/components/container/FormRow.js +0 -1
  533. package/lib/components/container/Panel.js +0 -1
  534. package/lib/components/container/index.js +0 -1
  535. package/lib/components/icon/Icon.js +0 -1
  536. package/lib/components/icon/Icon.styles.js +0 -1
  537. package/lib/components/icon/IconBase.js +0 -1
  538. package/lib/components/icon/IconBase.styles.js +0 -1
  539. package/lib/components/icon/index.js +0 -1
  540. package/lib/components/index.js +0 -1
  541. package/lib/components/input/CounterInput.js +0 -1
  542. package/lib/components/input/DropdownInput.js +0 -1
  543. package/lib/components/input/DropdownInput.styles.js +0 -1
  544. package/lib/components/input/DropdownInputBase.js +0 -1
  545. package/lib/components/input/InputAction.js +0 -1
  546. package/lib/components/input/InputAction.styles.js +0 -1
  547. package/lib/components/input/InputBase.js +0 -1
  548. package/lib/components/input/InputBase.styles.js +0 -1
  549. package/lib/components/input/InputRowContainer.js +0 -1
  550. package/lib/components/input/InputScaffold.js +0 -1
  551. package/lib/components/input/InputScaffold.styles.js +0 -1
  552. package/lib/components/input/NumberInput.js +0 -1
  553. package/lib/components/input/NumberInputBase.js +0 -1
  554. package/lib/components/input/RatingInput.js +0 -1
  555. package/lib/components/input/SelectionInput.js +0 -1
  556. package/lib/components/input/SelectionInput.styles.js +0 -1
  557. package/lib/components/input/TextInput.js +0 -1
  558. package/lib/components/input/TimeInput.js +0 -1
  559. package/lib/components/input/ToggleInput.js +0 -1
  560. package/lib/components/input/ToggleInput.styles.js +0 -1
  561. package/lib/components/input/index.js +0 -1
  562. package/lib/components/listItem/ListItem.js +0 -1
  563. package/lib/components/listItem/ListItem.styles.js +0 -1
  564. package/lib/components/listItem/ListItemAlert.js +0 -1
  565. package/lib/components/listItem/ListItemAvatar.js +0 -1
  566. package/lib/components/listItem/ListItemFooter.js +0 -1
  567. package/lib/components/listItem/ListItemRow.js +0 -1
  568. package/lib/components/listItem/index.js +0 -1
  569. package/lib/components/menu/Menu.js +0 -1
  570. package/lib/components/menu/Menu.styles.js +0 -1
  571. package/lib/components/menu/MenuItem.js +0 -1
  572. package/lib/components/menu/MenuItem.styles.js +0 -1
  573. package/lib/components/rating/Rating.js +0 -1
  574. package/lib/components/rating/Rating.styles.js +0 -1
  575. package/lib/components/rating/index.js +0 -1
  576. package/lib/components/surface/InteractionSurface.js +0 -1
  577. package/lib/components/surface/StateLayer.js +0 -1
  578. package/lib/components/surface/StateLayer.styles.js +0 -1
  579. package/lib/components/swipe/SwipeAction.js +0 -1
  580. package/lib/components/swipe/SwipeAction.styles.js +0 -1
  581. package/lib/components/swipe/SwipeableContainer.js +0 -1
  582. package/lib/components/swipe/index.js +0 -1
  583. package/lib/components/tag/Tag.js +0 -1
  584. package/lib/components/tag/Tag.styles.js +0 -1
  585. package/lib/components/tag/TagIcon.js +0 -1
  586. package/lib/components/text/HighlightedText.js +0 -1
  587. package/lib/components/text/HighlightedText.styles.js +0 -1
  588. package/lib/components/text/Text.js +0 -1
  589. package/lib/components/text/Text.styles.js +0 -1
  590. package/lib/components/toast/Toast.js +0 -1
  591. package/lib/components/toast/Toast.styles.js +0 -1
  592. package/lib/hooks/index.js +0 -1
  593. package/lib/hooks/useForwardedRef.js +0 -1
  594. package/lib/hooks/useTheme.js +0 -1
  595. package/lib/hooks/useThemedStyles.js +0 -1
  596. package/lib/providers/ThemeContext.js +0 -1
  597. package/lib/providers/ThemeProvider.js +0 -1
  598. package/lib/providers/index.js +0 -1
  599. package/lib/theme/styles.js +0 -1
  600. package/lib/types/common/index.d.ts +0 -3
  601. package/lib/types/common/index.d.ts.map +0 -1
  602. package/lib/types/common/typography.d.ts +0 -6
  603. package/lib/types/common/typography.d.ts.map +0 -1
  604. package/lib/types/common/valueItem.d.ts.map +0 -1
  605. package/lib/types/components/action/Action.d.ts.map +0 -1
  606. package/lib/types/components/action/Action.styles.d.ts +0 -4
  607. package/lib/types/components/action/Action.styles.d.ts.map +0 -1
  608. package/lib/types/components/action/ActionBase.d.ts +0 -17
  609. package/lib/types/components/action/ActionBase.d.ts.map +0 -1
  610. package/lib/types/components/action/ActionBase.styles.d.ts +0 -3
  611. package/lib/types/components/action/ActionBase.styles.d.ts.map +0 -1
  612. package/lib/types/components/action/IconAction.d.ts +0 -14
  613. package/lib/types/components/action/IconAction.d.ts.map +0 -1
  614. package/lib/types/components/action/IconAction.styles.d.ts +0 -4
  615. package/lib/types/components/action/IconAction.styles.d.ts.map +0 -1
  616. package/lib/types/components/action/IconActionBase.d.ts +0 -15
  617. package/lib/types/components/action/IconActionBase.d.ts.map +0 -1
  618. package/lib/types/components/action/IconActionBase.styles.d.ts +0 -4
  619. package/lib/types/components/action/IconActionBase.styles.d.ts.map +0 -1
  620. package/lib/types/components/action/StateTint.d.ts.map +0 -1
  621. package/lib/types/components/action/StateTint.styles.d.ts +0 -3
  622. package/lib/types/components/action/StateTint.styles.d.ts.map +0 -1
  623. package/lib/types/components/action/index.d.ts +0 -6
  624. package/lib/types/components/action/index.d.ts.map +0 -1
  625. package/lib/types/components/alert/AlertIndicator.d.ts +0 -16
  626. package/lib/types/components/alert/AlertIndicator.d.ts.map +0 -1
  627. package/lib/types/components/alert/AlertIndicator.styles.d.ts +0 -4
  628. package/lib/types/components/alert/AlertIndicator.styles.d.ts.map +0 -1
  629. package/lib/types/components/alert/index.d.ts +0 -2
  630. package/lib/types/components/alert/index.d.ts.map +0 -1
  631. package/lib/types/components/avatar/Avatar.d.ts.map +0 -1
  632. package/lib/types/components/avatar/Avatar.styles.d.ts +0 -4
  633. package/lib/types/components/avatar/Avatar.styles.d.ts.map +0 -1
  634. package/lib/types/components/avatar/index.d.ts +0 -2
  635. package/lib/types/components/avatar/index.d.ts.map +0 -1
  636. package/lib/types/components/button/Button.d.ts.map +0 -1
  637. package/lib/types/components/button/Button.styles.d.ts +0 -4
  638. package/lib/types/components/button/Button.styles.d.ts.map +0 -1
  639. package/lib/types/components/button/ButtonBase.d.ts.map +0 -1
  640. package/lib/types/components/button/ButtonBase.styles.d.ts +0 -4
  641. package/lib/types/components/button/ButtonBase.styles.d.ts.map +0 -1
  642. package/lib/types/components/button/IconButton.d.ts +0 -19
  643. package/lib/types/components/button/IconButton.d.ts.map +0 -1
  644. package/lib/types/components/button/IconButton.styles.d.ts +0 -4
  645. package/lib/types/components/button/IconButton.styles.d.ts.map +0 -1
  646. package/lib/types/components/button/IconButtonBase.d.ts +0 -22
  647. package/lib/types/components/button/IconButtonBase.d.ts.map +0 -1
  648. package/lib/types/components/button/IconButtonBase.styles.d.ts +0 -4
  649. package/lib/types/components/button/IconButtonBase.styles.d.ts.map +0 -1
  650. package/lib/types/components/button/index.d.ts +0 -5
  651. package/lib/types/components/button/index.d.ts.map +0 -1
  652. package/lib/types/components/container/FloatingContainer.d.ts +0 -22
  653. package/lib/types/components/container/FloatingContainer.d.ts.map +0 -1
  654. package/lib/types/components/container/FloatingContainer.styles.d.ts +0 -4
  655. package/lib/types/components/container/FloatingContainer.styles.d.ts.map +0 -1
  656. package/lib/types/components/container/FloatingContainer.web.d.ts +0 -4
  657. package/lib/types/components/container/FloatingContainer.web.d.ts.map +0 -1
  658. package/lib/types/components/container/FormContainer.d.ts.map +0 -1
  659. package/lib/types/components/container/FormRow.d.ts.map +0 -1
  660. package/lib/types/components/container/Panel.d.ts.map +0 -1
  661. package/lib/types/components/container/index.d.ts +0 -5
  662. package/lib/types/components/container/index.d.ts.map +0 -1
  663. package/lib/types/components/icon/Icon.d.ts +0 -15
  664. package/lib/types/components/icon/Icon.d.ts.map +0 -1
  665. package/lib/types/components/icon/Icon.styles.d.ts +0 -4
  666. package/lib/types/components/icon/Icon.styles.d.ts.map +0 -1
  667. package/lib/types/components/icon/IconBase.d.ts +0 -12
  668. package/lib/types/components/icon/IconBase.d.ts.map +0 -1
  669. package/lib/types/components/icon/IconBase.styles.d.ts +0 -4
  670. package/lib/types/components/icon/IconBase.styles.d.ts.map +0 -1
  671. package/lib/types/components/icon/IconComponentProps.d.ts.map +0 -1
  672. package/lib/types/components/icon/index.d.ts +0 -4
  673. package/lib/types/components/icon/index.d.ts.map +0 -1
  674. package/lib/types/components/index.d.ts +0 -24
  675. package/lib/types/components/index.d.ts.map +0 -1
  676. package/lib/types/components/input/CounterInput.d.ts +0 -11
  677. package/lib/types/components/input/CounterInput.d.ts.map +0 -1
  678. package/lib/types/components/input/DropdownInput.d.ts +0 -8
  679. package/lib/types/components/input/DropdownInput.d.ts.map +0 -1
  680. package/lib/types/components/input/DropdownInput.styles.d.ts +0 -4
  681. package/lib/types/components/input/DropdownInput.styles.d.ts.map +0 -1
  682. package/lib/types/components/input/DropdownInputBase.d.ts +0 -38
  683. package/lib/types/components/input/DropdownInputBase.d.ts.map +0 -1
  684. package/lib/types/components/input/InputAction.d.ts +0 -11
  685. package/lib/types/components/input/InputAction.d.ts.map +0 -1
  686. package/lib/types/components/input/InputAction.styles.d.ts +0 -4
  687. package/lib/types/components/input/InputAction.styles.d.ts.map +0 -1
  688. package/lib/types/components/input/InputBase.d.ts +0 -28
  689. package/lib/types/components/input/InputBase.d.ts.map +0 -1
  690. package/lib/types/components/input/InputBase.styles.d.ts +0 -4
  691. package/lib/types/components/input/InputBase.styles.d.ts.map +0 -1
  692. package/lib/types/components/input/InputRowContainer.d.ts +0 -13
  693. package/lib/types/components/input/InputRowContainer.d.ts.map +0 -1
  694. package/lib/types/components/input/InputScaffold.d.ts +0 -35
  695. package/lib/types/components/input/InputScaffold.d.ts.map +0 -1
  696. package/lib/types/components/input/InputScaffold.styles.d.ts +0 -4
  697. package/lib/types/components/input/InputScaffold.styles.d.ts.map +0 -1
  698. package/lib/types/components/input/NumberInput.d.ts +0 -31
  699. package/lib/types/components/input/NumberInput.d.ts.map +0 -1
  700. package/lib/types/components/input/NumberInputBase.d.ts +0 -20
  701. package/lib/types/components/input/NumberInputBase.d.ts.map +0 -1
  702. package/lib/types/components/input/RatingInput.d.ts +0 -15
  703. package/lib/types/components/input/RatingInput.d.ts.map +0 -1
  704. package/lib/types/components/input/SelectionInput.d.ts +0 -41
  705. package/lib/types/components/input/SelectionInput.d.ts.map +0 -1
  706. package/lib/types/components/input/SelectionInput.styles.d.ts +0 -4
  707. package/lib/types/components/input/SelectionInput.styles.d.ts.map +0 -1
  708. package/lib/types/components/input/TextInput.d.ts +0 -8
  709. package/lib/types/components/input/TextInput.d.ts.map +0 -1
  710. package/lib/types/components/input/TimeInput.d.ts +0 -17
  711. package/lib/types/components/input/TimeInput.d.ts.map +0 -1
  712. package/lib/types/components/input/ToggleInput.d.ts +0 -34
  713. package/lib/types/components/input/ToggleInput.d.ts.map +0 -1
  714. package/lib/types/components/input/ToggleInput.styles.d.ts +0 -4
  715. package/lib/types/components/input/ToggleInput.styles.d.ts.map +0 -1
  716. package/lib/types/components/input/index.d.ts +0 -26
  717. package/lib/types/components/input/index.d.ts.map +0 -1
  718. package/lib/types/components/listItem/ListItem.d.ts.map +0 -1
  719. package/lib/types/components/listItem/ListItem.styles.d.ts +0 -4
  720. package/lib/types/components/listItem/ListItem.styles.d.ts.map +0 -1
  721. package/lib/types/components/listItem/ListItemAlert.d.ts +0 -6
  722. package/lib/types/components/listItem/ListItemAlert.d.ts.map +0 -1
  723. package/lib/types/components/listItem/ListItemAvatar.d.ts +0 -6
  724. package/lib/types/components/listItem/ListItemAvatar.d.ts.map +0 -1
  725. package/lib/types/components/listItem/ListItemFooter.d.ts +0 -6
  726. package/lib/types/components/listItem/ListItemFooter.d.ts.map +0 -1
  727. package/lib/types/components/listItem/ListItemRow.d.ts +0 -6
  728. package/lib/types/components/listItem/ListItemRow.d.ts.map +0 -1
  729. package/lib/types/components/listItem/index.d.ts +0 -6
  730. package/lib/types/components/listItem/index.d.ts.map +0 -1
  731. package/lib/types/components/menu/Menu.d.ts +0 -16
  732. package/lib/types/components/menu/Menu.d.ts.map +0 -1
  733. package/lib/types/components/menu/Menu.styles.d.ts +0 -4
  734. package/lib/types/components/menu/Menu.styles.d.ts.map +0 -1
  735. package/lib/types/components/menu/MenuItem.d.ts.map +0 -1
  736. package/lib/types/components/menu/MenuItem.styles.d.ts +0 -4
  737. package/lib/types/components/menu/MenuItem.styles.d.ts.map +0 -1
  738. package/lib/types/components/menu/index.d.ts +0 -5
  739. package/lib/types/components/menu/index.d.ts.map +0 -1
  740. package/lib/types/components/rating/Rating.d.ts.map +0 -1
  741. package/lib/types/components/rating/Rating.styles.d.ts +0 -4
  742. package/lib/types/components/rating/Rating.styles.d.ts.map +0 -1
  743. package/lib/types/components/rating/index.d.ts +0 -3
  744. package/lib/types/components/rating/index.d.ts.map +0 -1
  745. package/lib/types/components/rating/ratingUtils.d.ts.map +0 -1
  746. package/lib/types/components/surface/InteractionSurface.d.ts.map +0 -1
  747. package/lib/types/components/surface/StateLayer.d.ts.map +0 -1
  748. package/lib/types/components/surface/StateLayer.styles.d.ts +0 -4
  749. package/lib/types/components/surface/StateLayer.styles.d.ts.map +0 -1
  750. package/lib/types/components/surface/index.d.ts +0 -3
  751. package/lib/types/components/surface/index.d.ts.map +0 -1
  752. package/lib/types/components/swipe/SwipeAction.d.ts.map +0 -1
  753. package/lib/types/components/swipe/SwipeAction.styles.d.ts +0 -4
  754. package/lib/types/components/swipe/SwipeAction.styles.d.ts.map +0 -1
  755. package/lib/types/components/swipe/index.d.ts +0 -3
  756. package/lib/types/components/swipe/index.d.ts.map +0 -1
  757. package/lib/types/components/tag/Tag.d.ts +0 -19
  758. package/lib/types/components/tag/Tag.d.ts.map +0 -1
  759. package/lib/types/components/tag/Tag.styles.d.ts +0 -4
  760. package/lib/types/components/tag/Tag.styles.d.ts.map +0 -1
  761. package/lib/types/components/tag/TagIcon.d.ts +0 -3
  762. package/lib/types/components/tag/TagIcon.d.ts.map +0 -1
  763. package/lib/types/components/tag/index.d.ts +0 -3
  764. package/lib/types/components/tag/index.d.ts.map +0 -1
  765. package/lib/types/components/text/HighlightedText.d.ts.map +0 -1
  766. package/lib/types/components/text/HighlightedText.styles.d.ts +0 -3
  767. package/lib/types/components/text/HighlightedText.styles.d.ts.map +0 -1
  768. package/lib/types/components/text/Text.d.ts.map +0 -1
  769. package/lib/types/components/text/Text.styles.d.ts +0 -4
  770. package/lib/types/components/text/Text.styles.d.ts.map +0 -1
  771. package/lib/types/components/text/index.d.ts +0 -3
  772. package/lib/types/components/text/index.d.ts.map +0 -1
  773. package/lib/types/components/toast/Toast.d.ts.map +0 -1
  774. package/lib/types/components/toast/Toast.styles.d.ts +0 -4
  775. package/lib/types/components/toast/Toast.styles.d.ts.map +0 -1
  776. package/lib/types/components/toast/index.d.ts +0 -2
  777. package/lib/types/components/toast/index.d.ts.map +0 -1
  778. package/lib/types/hooks/index.d.ts +0 -5
  779. package/lib/types/hooks/index.d.ts.map +0 -1
  780. package/lib/types/hooks/useForwardedRef.d.ts +0 -3
  781. package/lib/types/hooks/useForwardedRef.d.ts.map +0 -1
  782. package/lib/types/hooks/usePersistentKeyboardHeight.d.ts +0 -4
  783. package/lib/types/hooks/usePersistentKeyboardHeight.d.ts.map +0 -1
  784. package/lib/types/hooks/useTheme.d.ts +0 -7
  785. package/lib/types/hooks/useTheme.d.ts.map +0 -1
  786. package/lib/types/hooks/useThemedStyles.d.ts +0 -51
  787. package/lib/types/hooks/useThemedStyles.d.ts.map +0 -1
  788. package/lib/types/providers/ThemeContext.d.ts +0 -8
  789. package/lib/types/providers/ThemeContext.d.ts.map +0 -1
  790. package/lib/types/providers/ThemeProvider.d.ts +0 -15
  791. package/lib/types/providers/ThemeProvider.d.ts.map +0 -1
  792. package/lib/types/providers/index.d.ts +0 -3
  793. package/lib/types/providers/index.d.ts.map +0 -1
  794. package/lib/types/theme/styles.d.ts +0 -59
  795. package/lib/types/theme/styles.d.ts.map +0 -1
  796. /package/lib/{components → actions}/button/index.js +0 -0
  797. /package/lib/{components → actions}/surface/index.js +0 -0
  798. /package/lib/{components → display}/avatar/index.js +0 -0
  799. /package/lib/{components → display}/rating/ratingUtils.js +0 -0
  800. /package/lib/{components → display}/tag/index.js +0 -0
  801. /package/lib/{components → feedback}/toast/index.js +0 -0
  802. /package/lib/{common → forms/input}/valueItem.js +0 -0
  803. /package/lib/{components/icon → icons}/IconComponentProps.js +0 -0
  804. /package/lib/{components → overlays}/menu/index.js +0 -0
  805. /package/lib/types/{components → display}/rating/ratingUtils.d.ts +0 -0
  806. /package/lib/types/{common → forms/input}/valueItem.d.ts +0 -0
  807. /package/lib/{components → typography}/text/index.js +0 -0
@@ -1,17 +1,21 @@
1
- import type { FC } from "react";
2
- import type { DeepPartial } from "@reillymc/es-utils";
3
- import type { CounterInputIcons, InputScaffoldIcons, NumberInputIcons, RatingIcons, RatingInputIcons, SelectionInputIcons, TimeInputIcons, ToggleInputIcons } from "../components";
4
- import { type AnyIconSet, type IconSet } from "../icons";
5
- export type ComponentIconAssets<K extends string> = K;
1
+ import type { RatingIcons } from "../display/rating/Rating";
2
+ import type { ToggleIndicatorIcons } from "../display/toggleIndicator/ToggleIndicator";
3
+ import type { FieldIcons } from "../forms/field/Field";
4
+ import type { CounterInputIcons } from "../forms/input/counterInput";
5
+ import type { NumberInputIcons } from "../forms/input/numberInput";
6
+ import type { RatingInputIcons } from "../forms/input/ratingInput";
7
+ import type { SelectionInputIcons } from "../forms/input/selectionInput";
8
+ import type { TimeInputIcons } from "../forms/input/timeInput";
9
+ import type { AnyIconSet, IconSet } from "../icons/base";
6
10
  type ComponentIcons = {
7
- inputScaffold: InputScaffoldIcons;
8
11
  counterInput: CounterInputIcons;
12
+ field: FieldIcons;
9
13
  numberInput: NumberInputIcons;
10
- selectionInput: SelectionInputIcons;
11
- timeInput: TimeInputIcons;
12
- toggleInput: ToggleInputIcons;
13
14
  rating: RatingIcons;
14
15
  ratingInput: RatingInputIcons;
16
+ selectionInput: SelectionInputIcons;
17
+ timeInput: TimeInputIcons;
18
+ toggleIndicator: ToggleIndicatorIcons;
15
19
  };
16
20
  export type Icons = {
17
21
  [K in keyof ComponentIcons]: {
@@ -21,9 +25,11 @@ export type Icons = {
21
25
  };
22
26
  };
23
27
  };
24
- type InferGlyph<T> = T extends IconSet<infer G> ? G : T extends FC<{
25
- name: infer G;
26
- }> ? G : string;
28
+ export type IconOverrides = {
29
+ [Category in keyof Icons]?: {
30
+ [Slot in keyof Icons[Category]]?: Icons[Category][Slot];
31
+ };
32
+ };
27
33
  export type ComponentIconsConfig = {
28
34
  [Category in keyof ComponentIcons]: {
29
35
  [SubKey in ComponentIcons[Category]]: {
@@ -32,19 +38,8 @@ export type ComponentIconsConfig = {
32
38
  };
33
39
  };
34
40
  };
35
- type ValidateConfig<C> = {
36
- [Category in keyof ComponentIcons]: {
37
- [SubKey in ComponentIcons[Category]]: Category extends keyof C ? SubKey extends keyof C[Category] ? C[Category][SubKey] extends {
38
- iconSet: infer S;
39
- } ? {
40
- iconSet: S;
41
- iconName: InferGlyph<S>;
42
- } : never : never : never;
43
- };
44
- };
45
- export declare const createIcons: <C extends ComponentIconsConfig>(config: C & ValidateConfig<C>) => C;
46
- export declare const DefaultIcons: {
47
- inputScaffold: {
41
+ export declare const defaultIcons: {
42
+ field: {
48
43
  error: {
49
44
  iconSet: IconSet<import("../icons").UiIconName>;
50
45
  iconName: string;
@@ -86,11 +81,19 @@ export declare const DefaultIcons: {
86
81
  iconName: string;
87
82
  };
88
83
  };
89
- toggleInput: {
84
+ toggleIndicator: {
90
85
  outline: {
91
86
  iconSet: IconSet<import("../icons").UiIconName>;
92
87
  iconName: string;
93
88
  };
89
+ fill: {
90
+ iconSet: IconSet<import("../icons").UiIconName>;
91
+ iconName: string;
92
+ };
93
+ check: {
94
+ iconSet: IconSet<import("../icons").UiIconName>;
95
+ iconName: string;
96
+ };
94
97
  };
95
98
  rating: {
96
99
  empty: {
@@ -121,6 +124,6 @@ export declare const DefaultIcons: {
121
124
  };
122
125
  };
123
126
  };
124
- export declare const MergeIcons: (overrides?: DeepPartial<Icons>) => Icons;
127
+ export declare const mergeIcons: (overrides?: IconOverrides) => Icons;
125
128
  export {};
126
129
  //# sourceMappingURL=icons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/theme/icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EACR,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,OAAO,EAAW,MAAM,UAAU,CAAC;AAElE,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,CAAC;AAEtD,KAAK,cAAc,GAAG;IAClB,aAAa,EAAE,kBAAkB,CAAC;IAClC,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,cAAc,EAAE,mBAAmB,CAAC;IACpC,SAAS,EAAE,cAAc,CAAC;IAC1B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,gBAAgB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;KACf,CAAC,IAAI,MAAM,cAAc,GAAG;SACxB,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG;YACtB,OAAO,EAAE,UAAU,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC;SACpB;KACJ;CACJ,CAAC;AAEF,KAAK,UAAU,CAAC,CAAC,IACb,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAC,GACpB,CAAC,GACD,CAAC,SAAS,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC,CAAA;CAAE,CAAC,GAC7B,CAAC,GACD,MAAM,CAAC;AAEnB,MAAM,MAAM,oBAAoB,GAAG;KAC9B,QAAQ,IAAI,MAAM,cAAc,GAAG;SAC/B,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,GAAG;YAClC,OAAO,EAAE,UAAU,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC;SACpB;KACJ;CACJ,CAAC;AAEF,KAAK,cAAc,CAAC,CAAC,IAAI;KACpB,QAAQ,IAAI,MAAM,cAAc,GAAG;SAC/B,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,GAAG,QAAQ,SAAS,MAAM,CAAC,GACxD,MAAM,SAAS,MAAM,CAAC,CAAC,QAAQ,CAAC,GAC5B,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,SAAS;YAAE,OAAO,EAAE,MAAM,CAAC,CAAA;SAAE,GAC5C;YAAE,OAAO,EAAE,CAAC,CAAC;YAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAA;SAAE,GACvC,KAAK,GACT,KAAK,GACT,KAAK;KACd;CACJ,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,oBAAoB,EACtD,QAAQ,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,KAC9B,CAAW,CAAC;AAEf,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvB,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,YAAY,WAAW,CAAC,KAAK,CAAC,KAAG,KAc3D,CAAC"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/theme/icons.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGzD,KAAK,cAAc,GAAG;IAClB,YAAY,EAAE,iBAAiB,CAAC;IAChC,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,cAAc,EAAE,mBAAmB,CAAC;IACpC,SAAS,EAAE,cAAc,CAAC;IAC1B,eAAe,EAAE,oBAAoB,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;KACf,CAAC,IAAI,MAAM,cAAc,GAAG;SACxB,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG;YACtB,OAAO,EAAE,UAAU,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC;SACpB;KACJ;CACJ,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;KACvB,QAAQ,IAAI,MAAM,KAAK,CAAC,CAAC,EAAE;SACvB,IAAI,IAAI,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC;KAC1D;CACJ,CAAC;AASF,MAAM,MAAM,oBAAoB,GAAG;KAC9B,QAAQ,IAAI,MAAM,cAAc,GAAG;SAC/B,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,GAAG;YAClC,OAAO,EAAE,UAAU,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC;SACpB;KACJ;CACJ,CAAC;AAkBF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCvB,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,YAAY,aAAa,KAAG,KAetD,CAAC"}
@@ -1,5 +1,10 @@
1
- export type { ComponentIconAssets, Icons } from "./icons";
2
- export { darkPalette, lightPalette, type ThemeColors } from "./palette";
3
- export { createStyles, type StyleOverrides, type Styles } from "./styles";
4
- export { createTheme, type Theme, type ThemeOverrides } from "./theme";
1
+ export { type ColorScheme, darkColorScheme, lightColorScheme } from "./colors";
2
+ export { type AppThemeFactory, createAppTheme } from "./createAppTheme";
3
+ export type { IconOverrides } from "./icons";
4
+ export type { Palette, PaletteOverrides } from "./palette";
5
+ export type { SizeVariant } from "./size";
6
+ export type { Systems, SystemsOverrides } from "./systems";
7
+ export type { Theme, ThemeOverrides } from "./theme";
8
+ export { type UseSystemsResult, useSystems } from "./useSystems";
9
+ export { usePalette } from "./useTheme";
5
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,KAAK,cAAc,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,KAAK,KAAK,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC/E,OAAO,EAAE,KAAK,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,YAAY,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1C,YAAY,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC3D,YAAY,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ /**
3
+ * Deep-merges theme defaults with overrides.
4
+ *
5
+ * - plain objects merge recursively
6
+ * - arrays replace
7
+ * - undefined preserves defaults
8
+ * - non-plain objects replace as leaves
9
+ * - circular references are not supported
10
+ */
11
+ export declare const mergeTheme: <T>(defaults: T, overrides?: DeepPartial<T>) => T;
12
+ //# sourceMappingURL=mergeTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mergeTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/mergeTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAoEtD;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,EAAE,UAAU,CAAC,EAAE,YAAY,WAAW,CAAC,CAAC,CAAC,KAAG,CAGvE,CAAC"}
@@ -1,28 +1,57 @@
1
- import type { ColorValue } from "react-native";
2
- export type ThemeColors = {
3
- background: ColorValue;
4
- foreground: ColorValue;
5
- inset: ColorValue;
6
- insetForeground: ColorValue;
7
- surface: ColorValue;
8
- surfaceForeground: ColorValue;
9
- elevated: ColorValue;
10
- elevatedForeground: ColorValue;
11
- primary: ColorValue;
12
- primaryForeground: ColorValue;
13
- secondary: ColorValue;
14
- secondaryForeground: ColorValue;
15
- destructive: ColorValue;
16
- destructiveForeground: ColorValue;
17
- muted: ColorValue;
18
- mutedForeground: ColorValue;
19
- border: ColorValue;
20
- tint1: ColorValue;
21
- tint2: ColorValue;
22
- tint3: ColorValue;
23
- tint4: ColorValue;
24
- tint5: ColorValue;
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ import { type ColorScheme } from "./colors";
3
+ export type Palette = {
4
+ font: {
5
+ family: {
6
+ sans: string;
7
+ mono: string;
8
+ };
9
+ size: {
10
+ /** @default 10 */
11
+ tiny: number;
12
+ /** @default 12 */
13
+ small: number;
14
+ /** @default 14 */
15
+ regular: number;
16
+ /** @default 16 */
17
+ large: number;
18
+ /** @default 20 */
19
+ xLarge: number;
20
+ /** @default 28 */
21
+ xxLarge: number;
22
+ };
23
+ };
24
+ color: ColorScheme;
25
+ spacing: {
26
+ /** @default 24 */
27
+ large: number;
28
+ /** @default 16 */
29
+ medium: number;
30
+ /** @default 8 */
31
+ small: number;
32
+ /** @default 4 */
33
+ tiny: number;
34
+ };
35
+ border: {
36
+ radius: {
37
+ /** @default 4 */
38
+ tight: number;
39
+ /** @default 8 */
40
+ regular: number;
41
+ /** @default 16 */
42
+ loose: number;
43
+ };
44
+ width: {
45
+ /** @default 2 */
46
+ thick: number;
47
+ /** @default 1 */
48
+ regular: number;
49
+ /** @default StyleSheet.hairlineWidth */
50
+ thin: number;
51
+ };
52
+ };
25
53
  };
26
- export declare const lightPalette: ThemeColors;
27
- export declare const darkPalette: ThemeColors;
54
+ export type PaletteOverrides = DeepPartial<Palette>;
55
+ export declare const defaultPalette: Palette;
56
+ export declare const createPalette: (overrides?: PaletteOverrides) => Palette;
28
57
  //# sourceMappingURL=palette.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/theme/palette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,WAAW,GAAG;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;IAEvB,KAAK,EAAE,UAAU,CAAC;IAClB,eAAe,EAAE,UAAU,CAAC;IAE5B,OAAO,EAAE,UAAU,CAAC;IACpB,iBAAiB,EAAE,UAAU,CAAC;IAE9B,QAAQ,EAAE,UAAU,CAAC;IACrB,kBAAkB,EAAE,UAAU,CAAC;IAE/B,OAAO,EAAE,UAAU,CAAC;IACpB,iBAAiB,EAAE,UAAU,CAAC;IAC9B,SAAS,EAAE,UAAU,CAAC;IACtB,mBAAmB,EAAE,UAAU,CAAC;IAChC,WAAW,EAAE,UAAU,CAAC;IACxB,qBAAqB,EAAE,UAAU,CAAC;IAElC,KAAK,EAAE,UAAU,CAAC;IAClB,eAAe,EAAE,UAAU,CAAC;IAE5B,MAAM,EAAE,UAAU,CAAC;IAEnB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WA8B1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WA8BzB,CAAC"}
1
+ {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/theme/palette.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,KAAK,WAAW,EAAoB,MAAM,UAAU,CAAC;AAG9D,MAAM,MAAM,OAAO,GAAG;IAClB,IAAI,EAAE;QACF,MAAM,EAAE;YACJ,IAAI,EAAE,MAAM,CAAC;YACb,IAAI,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,IAAI,EAAE;YACF,kBAAkB;YAClB,IAAI,EAAE,MAAM,CAAC;YACb,kBAAkB;YAClB,KAAK,EAAE,MAAM,CAAC;YACd,kBAAkB;YAClB,OAAO,EAAE,MAAM,CAAC;YAChB,kBAAkB;YAClB,KAAK,EAAE,MAAM,CAAC;YACd,kBAAkB;YAClB,MAAM,EAAE,MAAM,CAAC;YACf,kBAAkB;YAClB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;KACL,CAAC;IACF,KAAK,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE;QACL,kBAAkB;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,kBAAkB;QAClB,MAAM,EAAE,MAAM,CAAC;QACf,iBAAiB;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,iBAAiB;QACjB,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,MAAM,EAAE;QACJ,MAAM,EAAE;YACJ,iBAAiB;YACjB,KAAK,EAAE,MAAM,CAAC;YACd,iBAAiB;YACjB,OAAO,EAAE,MAAM,CAAC;YAChB,kBAAkB;YAClB,KAAK,EAAE,MAAM,CAAC;SACjB,CAAC;QACF,KAAK,EAAE;YACH,iBAAiB;YACjB,KAAK,EAAE,MAAM,CAAC;YACd,iBAAiB;YACjB,OAAO,EAAE,MAAM,CAAC;YAChB,wCAAwC;YACxC,IAAI,EAAE,MAAM,CAAC;SAChB,CAAC;KACL,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,cAAc,EAAE,OA4C5B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,YAAY,gBAAgB,KAAG,OACpB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type Palette } from "./palette";
2
+ import type { Theme, ThemeOverrides } from "./theme";
3
+ /**
4
+ * Resolves the component theme graph. Dependencies are resolved on demand
5
+ * during the pass and cached, then every theme node is materialized before
6
+ * returning. Provider overrides are merged before a node is cached so
7
+ * dependents observe overridden base values.
8
+ *
9
+ * The dependency reader exposes non-enumerable getters. Theme factories must
10
+ * access dependencies as properties rather than spreading or enumerating it.
11
+ */
12
+ export declare const resolveTheme: (palette?: Palette, overrides?: ThemeOverrides) => Theme;
13
+ //# sourceMappingURL=resolveTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/resolveTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAarD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,GACrB,UAAS,OAAwB,EACjC,YAAY,cAAc,KAC3B,KAMG,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ import type { Palette } from "./palette";
3
+ type ThemeFactoryContext<ThemeShape, K extends keyof ThemeShape, FactoryContext extends object = object> = {
4
+ palette: Palette;
5
+ theme: Readonly<Omit<ThemeShape, K>>;
6
+ } & FactoryContext;
7
+ export type ThemeFactoryFor<ThemeShape, K extends keyof ThemeShape, FactoryContext extends object = object> = (context: ThemeFactoryContext<ThemeShape, K, FactoryContext>) => ThemeShape[K];
8
+ export type ThemeDefinitionsFor<ThemeShape, FactoryContext extends object = object> = {
9
+ [K in keyof ThemeShape]: ThemeFactoryFor<ThemeShape, K, FactoryContext>;
10
+ };
11
+ /**
12
+ * Resolves a theme dependency graph. Dependencies are resolved on demand
13
+ * during the pass and cached, then every theme node is materialized before
14
+ * returning.
15
+ */
16
+ export declare const resolveThemeGraph: <ThemeShape extends object, FactoryContext extends object = object>({ definitions, palette, overrides, context, validateOverrides, }: {
17
+ definitions: ThemeDefinitionsFor<ThemeShape, FactoryContext>;
18
+ palette: Palette;
19
+ overrides?: DeepPartial<ThemeShape>;
20
+ context?: FactoryContext;
21
+ validateOverrides?: (overrides?: DeepPartial<ThemeShape>) => void;
22
+ }) => ThemeShape;
23
+ export {};
24
+ //# sourceMappingURL=resolveThemeGraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveThemeGraph.d.ts","sourceRoot":"","sources":["../../../src/theme/resolveThemeGraph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,KAAK,mBAAmB,CACpB,UAAU,EACV,CAAC,SAAS,MAAM,UAAU,EAC1B,cAAc,SAAS,MAAM,GAAG,MAAM,IACtC;IACA,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;CACxC,GAAG,cAAc,CAAC;AAEnB,MAAM,MAAM,eAAe,CACvB,UAAU,EACV,CAAC,SAAS,MAAM,UAAU,EAC1B,cAAc,SAAS,MAAM,GAAG,MAAM,IACtC,CACA,OAAO,EAAE,mBAAmB,CAAC,UAAU,EAAE,CAAC,EAAE,cAAc,CAAC,KAC1D,UAAU,CAAC,CAAC,CAAC,CAAC;AAEnB,MAAM,MAAM,mBAAmB,CAC3B,UAAU,EACV,cAAc,SAAS,MAAM,GAAG,MAAM,IACtC;KACC,CAAC,IAAI,MAAM,UAAU,GAAG,eAAe,CAAC,UAAU,EAAE,CAAC,EAAE,cAAc,CAAC;CAC1E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAC1B,UAAU,SAAS,MAAM,EACzB,cAAc,SAAS,MAAM,GAAG,MAAM,EACxC,kEAMC;IACC,WAAW,EAAE,mBAAmB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IAC7D,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IACpC,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,iBAAiB,CAAC,EAAE,CAAC,SAAS,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CACrE,KAAG,UA0DH,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type SizeVariant = "regular" | "compact";
2
+ //# sourceMappingURL=size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"size.d.ts","sourceRoot":"","sources":["../../../src/theme/size.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC"}
@@ -0,0 +1,61 @@
1
+ import type { ColorValue } from "react-native";
2
+ import type { DeepPartial } from "@reillymc/es-utils";
3
+ import type { Palette } from "./palette";
4
+ export type FocusRingTheme = {
5
+ color: string;
6
+ /** @default 1 */
7
+ width: number;
8
+ /** @default 1 */
9
+ offset: number;
10
+ };
11
+ export type StateValues = {
12
+ /** @default 0.08 */
13
+ hoverOpacity: number;
14
+ /** @default 0.2 */
15
+ pressedOpacity: number;
16
+ /** @default 50 */
17
+ pressDuration: number;
18
+ /** @default 100 */
19
+ hoverDuration: number;
20
+ };
21
+ export type ShadowValues = {
22
+ color: ColorValue;
23
+ /** @default 0.08 */
24
+ opacity: number;
25
+ /** @default 16 */
26
+ radius: number;
27
+ offset: {
28
+ /** @default 0 */
29
+ width: number;
30
+ /** @default 2 */
31
+ height: number;
32
+ };
33
+ /** @default 8 */
34
+ elevation: number;
35
+ };
36
+ export type Systems = {
37
+ interaction: {
38
+ focusRing: FocusRingTheme;
39
+ disabled: {
40
+ /** @default 0.5 */
41
+ opacity: number;
42
+ };
43
+ state: StateValues;
44
+ };
45
+ shadow: ShadowValues;
46
+ accessibility: {
47
+ /** @default 1.2 */
48
+ maxFontSizeMultiplier: number;
49
+ };
50
+ touch: {
51
+ hitSlop: {
52
+ /** @default 16 */
53
+ default: number;
54
+ /** @default 20 */
55
+ large: number;
56
+ };
57
+ };
58
+ };
59
+ export type SystemsOverrides = DeepPartial<Systems>;
60
+ export declare const createSystems: (palette: Palette, overrides?: SystemsOverrides) => Systems;
61
+ //# sourceMappingURL=systems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"systems.d.ts","sourceRoot":"","sources":["../../../src/theme/systems.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,oBAAoB;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB;IACnB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,oBAAoB;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE;QACJ,iBAAiB;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,iBAAiB;QACjB,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IAClB,WAAW,EAAE;QACT,SAAS,EAAE,cAAc,CAAC;QAC1B,QAAQ,EAAE;YACN,mBAAmB;YACnB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;QACF,KAAK,EAAE,WAAW,CAAC;KACtB,CAAC;IACF,MAAM,EAAE,YAAY,CAAC;IACrB,aAAa,EAAE;QACX,mBAAmB;QACnB,qBAAqB,EAAE,MAAM,CAAC;KACjC,CAAC;IACF,KAAK,EAAE;QACH,OAAO,EAAE;YACL,kBAAkB;YAClB,OAAO,EAAE,MAAM,CAAC;YAChB,kBAAkB;YAClB,KAAK,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAgEpD,eAAO,MAAM,aAAa,GACtB,SAAS,OAAO,EAChB,YAAY,gBAAgB,KAC7B,OAA+D,CAAC"}
@@ -1,45 +1,73 @@
1
1
  import type { DeepPartial } from "@reillymc/es-utils";
2
- export type Theme = typeof DefaultTheme;
2
+ import type { ActionTheme } from "../actions/action/Action";
3
+ import type { ActionBaseTheme } from "../actions/action/ActionBase";
4
+ import type { IconActionTheme } from "../actions/action/IconAction";
5
+ import type { IconActionBaseTheme } from "../actions/action/IconActionBase";
6
+ import type { ButtonTheme } from "../actions/button/Button";
7
+ import type { ButtonBaseTheme } from "../actions/button/ButtonBase";
8
+ import type { IconButtonTheme } from "../actions/button/IconButton";
9
+ import type { IconButtonBaseTheme } from "../actions/button/IconButtonBase";
10
+ import type { StateLayerTheme } from "../actions/surface/StateLayer";
11
+ import type { SwipeActionTheme } from "../actions/swipeAction/SwipeAction";
12
+ import type { AvatarTheme } from "../display/avatar/Avatar";
13
+ import type { BadgeTheme } from "../display/badge/Badge";
14
+ import type { ContentRowTheme } from "../display/contentRow/ContentRow";
15
+ import type { ListItemTheme } from "../display/listItem/ListItem";
16
+ import type { RatingTheme } from "../display/rating/Rating";
17
+ import type { TagTheme } from "../display/tag/Tag";
18
+ import type { TagIconTheme } from "../display/tag/TagIcon";
19
+ import type { ToggleIndicatorTheme } from "../display/toggleIndicator/ToggleIndicator";
20
+ import type { ToastTheme } from "../feedback/toast/Toast";
21
+ import type { FieldTheme } from "../forms/field";
22
+ import type { FormContainerTheme } from "../forms/formContainer/FormContainer";
23
+ import type { FormRowTheme } from "../forms/formRow/FormRow";
24
+ import type { ComboboxInputTheme } from "../forms/input/comboboxInput/ComboboxInput";
25
+ import type { RatingInputTheme } from "../forms/input/ratingInput";
26
+ import type { SelectionInputTheme } from "../forms/input/selectionInput";
27
+ import type { ToggleInputTheme } from "../forms/input/toggleInput/ToggleInput.theme";
28
+ import type { IconTheme } from "../icons/Icon";
29
+ import type { IconBaseTheme } from "../icons/IconBase";
30
+ import type { AnchoredContainerTheme } from "../overlays/anchoredContainer/AnchoredContainer";
31
+ import type { MenuTheme } from "../overlays/menu/Menu";
32
+ import type { MenuItemTheme } from "../overlays/menu/MenuItem";
33
+ import type { HighlightedTextTheme } from "../typography/text/HighlightedText";
34
+ import type { TextTheme } from "../typography/text/Text";
35
+ import type { ThemeFactoryFor } from "./resolveThemeGraph";
36
+ export interface Theme {
37
+ text: TextTheme;
38
+ highlightedText: HighlightedTextTheme;
39
+ iconBase: IconBaseTheme;
40
+ icon: IconTheme;
41
+ action: ActionTheme;
42
+ actionBase: ActionBaseTheme;
43
+ iconActionBase: IconActionBaseTheme;
44
+ iconAction: IconActionTheme;
45
+ buttonBase: ButtonBaseTheme;
46
+ button: ButtonTheme;
47
+ iconButtonBase: IconButtonBaseTheme;
48
+ iconButton: IconButtonTheme;
49
+ stateLayer: StateLayerTheme;
50
+ field: FieldTheme;
51
+ selectionInput: SelectionInputTheme;
52
+ toggleInput: ToggleInputTheme;
53
+ toggleIndicator: ToggleIndicatorTheme;
54
+ comboboxInput: ComboboxInputTheme;
55
+ rating: RatingTheme;
56
+ ratingInput: RatingInputTheme;
57
+ badge: BadgeTheme;
58
+ tag: TagTheme;
59
+ tagIcon: TagIconTheme;
60
+ contentRow: ContentRowTheme;
61
+ listItem: ListItemTheme;
62
+ menu: MenuTheme;
63
+ menuItem: MenuItemTheme;
64
+ avatar: AvatarTheme;
65
+ toast: ToastTheme;
66
+ swipeAction: SwipeActionTheme;
67
+ anchoredContainer: AnchoredContainerTheme;
68
+ formContainer: FormContainerTheme;
69
+ formRow: FormRowTheme;
70
+ }
3
71
  export type ThemeOverrides = DeepPartial<Theme>;
4
- export declare const DefaultTheme: {
5
- font: {
6
- family: {
7
- sans: string;
8
- mono: string;
9
- };
10
- size: {
11
- tiny: number;
12
- small: number;
13
- regular: number;
14
- large: number;
15
- xLarge: number;
16
- xxLarge: number;
17
- };
18
- };
19
- color: import("./palette").ThemeColors;
20
- spacing: {
21
- large: number;
22
- medium: number;
23
- small: number;
24
- tiny: number;
25
- };
26
- border: {
27
- radius: {
28
- tight: number;
29
- regular: number;
30
- loose: number;
31
- };
32
- width: {
33
- thick: number;
34
- regular: number;
35
- thin: number;
36
- };
37
- };
38
- };
39
- export declare const MergeTheme: <E extends object = Record<never, never>>(first?: ThemeOverrides & E, second?: ThemeOverrides & DeepPartial<NoInfer<E>>) => Theme & E;
40
- /**
41
- * Builds a complete theme from a single set of base overrides, optionally
42
- * deriving additional app-owned tokens from the resolved base theme.
43
- */
44
- export declare const createTheme: <E extends object = Record<never, never>>(overrides?: ThemeOverrides, createExtras?: (theme: Theme) => E) => Theme & E;
72
+ export type ThemeFactory<K extends keyof Theme> = ThemeFactoryFor<Theme, K>;
45
73
  //# sourceMappingURL=theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,MAAM,MAAM,KAAK,GAAG,OAAO,YAAY,CAAC;AAExC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAEhD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CxB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,EAC9D,QAAQ,cAAc,GAAG,CAAC,EAC1B,SAAS,cAAc,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAClD,KAAK,GAAG,CAAoE,CAAC;AAEhF;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,EAC/D,YAAY,cAAc,EAC1B,eAAe,CAAC,KAAK,EAAE,KAAK,KAAK,CAAC,KACnC,KAAK,GAAG,CAMV,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AAC9F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,MAAM,WAAW,KAAK;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,eAAe,EAAE,oBAAoB,CAAC;IACtC,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,eAAe,CAAC;IAC5B,cAAc,EAAE,mBAAmB,CAAC;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,UAAU,EAAE,eAAe,CAAC;IAC5B,MAAM,EAAE,WAAW,CAAC;IACpB,cAAc,EAAE,mBAAmB,CAAC;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,UAAU,EAAE,eAAe,CAAC;IAC5B,KAAK,EAAE,UAAU,CAAC;IAClB,cAAc,EAAE,mBAAmB,CAAC;IACpC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,eAAe,EAAE,oBAAoB,CAAC;IACtC,aAAa,EAAE,kBAAkB,CAAC;IAClC,MAAM,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB,GAAG,EAAE,QAAQ,CAAC;IACd,OAAO,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE,eAAe,CAAC;IAC5B,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,iBAAiB,EAAE,sBAAsB,CAAC;IAC1C,aAAa,EAAE,kBAAkB,CAAC;IAClC,OAAO,EAAE,YAAY,CAAC;CACzB;AAED,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { Theme, ThemeFactory } from "./theme";
2
+ export type ThemeDefinitions = {
3
+ [K in keyof Theme]: ThemeFactory<K>;
4
+ };
5
+ export declare const definitions: ThemeDefinitions;
6
+ //# sourceMappingURL=themeDefinitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themeDefinitions.d.ts","sourceRoot":"","sources":["../../../src/theme/themeDefinitions.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,MAAM,gBAAgB,GAAG;KAC1B,CAAC,IAAI,MAAM,KAAK,GAAG,YAAY,CAAC,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,gBAkCzB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { type ViewStyle } from "react-native";
2
+ import type { StateValues, Systems } from "./systems";
3
+ type FocusRingStyle = {
4
+ outlineColor: string;
5
+ outlineStyle: "solid";
6
+ outlineWidth: number;
7
+ outlineOffset?: number;
8
+ position?: "relative";
9
+ zIndex?: number;
10
+ };
11
+ type DisabledStyle = {
12
+ opacity: number;
13
+ };
14
+ export type UseSystemsResult = {
15
+ getFocusRingStyle: (visible: boolean) => FocusRingStyle;
16
+ getDisabledStyle: (disabled: boolean) => DisabledStyle | undefined;
17
+ shadowStyle: ViewStyle;
18
+ state: StateValues;
19
+ maxFontSizeMultiplier: number;
20
+ hitSlop: Systems["touch"]["hitSlop"];
21
+ };
22
+ export declare const useSystems: () => UseSystemsResult;
23
+ export {};
24
+ //# sourceMappingURL=useSystems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSystems.d.ts","sourceRoot":"","sources":["../../../src/theme/useSystems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAGR,WAAW,EACX,OAAO,EACV,MAAM,WAAW,CAAC;AAGnB,KAAK,cAAc,GAAG;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,aAAa,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AA+CF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,cAAc,CAAC;IACxD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,aAAa,GAAG,SAAS,CAAC;IACnE,WAAW,EAAE,SAAS,CAAC;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,UAAU,QAAO,gBAmB7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Palette } from "./palette";
2
+ import { type ThemeContextValue } from "./ThemeContext";
3
+ export declare const useThemeContext: () => ThemeContextValue;
4
+ /**
5
+ * Reads base design tokens.
6
+ */
7
+ export declare const usePalette: () => Palette;
8
+ //# sourceMappingURL=useTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/useTheme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEtE,eAAO,MAAM,eAAe,QAAO,iBAAsC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,UAAU,QAAO,OAAoC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { HighlightedTextProps, TextProps } from "./text";
2
+ export { HighlightedText, Text } from "./text";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -1,14 +1,15 @@
1
1
  import type { FunctionComponent } from "react";
2
- import { type TextStyle } from "react-native";
2
+ import { type ColorValue, type TextStyle } from "react-native";
3
3
  import type { DeepPartial } from "@reillymc/es-utils";
4
4
  import { type TextProps, type TextVariant } from "./Text";
5
- export interface HighlightedTextStyles {
5
+ export interface HighlightedTextTheme {
6
+ color: ColorValue;
6
7
  highlightedWeight: Record<TextVariant, TextStyle["fontWeight"]>;
7
8
  }
8
9
  export interface HighlightedTextProps extends Pick<TextProps, "variant"> {
9
10
  text?: string;
10
11
  textStyles?: TextProps["style"];
11
- style?: DeepPartial<HighlightedTextStyles>;
12
+ theme?: DeepPartial<HighlightedTextTheme>;
12
13
  highlight?: string;
13
14
  }
14
15
  export declare const HighlightedText: FunctionComponent<HighlightedTextProps>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighlightedText.d.ts","sourceRoot":"","sources":["../../../../src/typography/text/HighlightedText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,KAAK,UAAU,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AAsChE,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,UAAU,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC;CACnE;AACD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,EAAE,iBAAiB,CAAC,oBAAoB,CAmCnE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThemeFactory } from "../../theme/theme";
2
+ export declare const defaultHighlightedTextTheme: ThemeFactory<"highlightedText">;
3
+ //# sourceMappingURL=HighlightedText.theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighlightedText.theme.d.ts","sourceRoot":"","sources":["../../../../src/typography/text/HighlightedText.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,2BAA2B,EAAE,YAAY,CAAC,iBAAiB,CAYtE,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import type { FC, ReactNode } from "react";
2
2
  import { type ColorValue, type TextProps as RnTextProps, type TextStyle } from "react-native";
3
+ import type { DeepPartial } from "@reillymc/es-utils";
3
4
  export type TextVariant = "display" | "title" | "heading" | "label" | "body" | "caption";
4
- export interface TextStyles {
5
+ export interface TextTheme {
5
6
  color: ColorValue;
6
7
  font: {
7
8
  [Variant in TextVariant]: {
@@ -13,6 +14,7 @@ export interface TextStyles {
13
14
  }
14
15
  export interface TextProps extends RnTextProps {
15
16
  variant?: TextVariant;
17
+ theme?: DeepPartial<TextTheme>;
16
18
  children?: ReactNode;
17
19
  }
18
20
  export declare const Text: FC<TextProps>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/typography/text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EACH,KAAK,UAAU,EAEf,KAAK,SAAS,IAAI,WAAW,EAC7B,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,MAAM,MAAM,WAAW,GACjB,SAAS,GACT,OAAO,GACP,SAAS,GACT,OAAO,GACP,MAAM,GACN,SAAS,CAAC;AAEhB,MAAM,WAAW,SAAS;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE;SACD,OAAO,IAAI,WAAW,GAAG;YACtB,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;YAChC,IAAI,EAAE,MAAM,CAAC;SAChB;KACJ,CAAC;CACL;AAED,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC1C,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAuB9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThemeFactory } from "../../theme/theme";
2
+ export declare const defaultTextTheme: ThemeFactory<"text">;
3
+ //# sourceMappingURL=Text.theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.theme.d.ts","sourceRoot":"","sources":["../../../../src/typography/text/Text.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,MAAM,CAoChD,CAAC"}