@reillymc/react-native-components 0.12.0 → 0.12.1

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 (795) 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/feedback/index.js +1 -0
  48. package/lib/feedback/toast/Toast.js +1 -0
  49. package/lib/feedback/toast/Toast.theme.js +1 -0
  50. package/lib/forms/field/Field.js +1 -0
  51. package/lib/forms/field/Field.theme.js +1 -0
  52. package/lib/forms/field/FieldAction.js +1 -0
  53. package/lib/forms/field/FieldContext.js +1 -0
  54. package/lib/forms/field/FieldIcon.js +1 -0
  55. package/lib/forms/field/FieldNumberInput.js +1 -0
  56. package/lib/forms/field/FieldRow.js +1 -0
  57. package/lib/forms/field/FieldSurface.js +1 -0
  58. package/lib/{hooks/usePersistentKeyboardHeight.js → forms/field/FieldSurfaceContext.js} +1 -1
  59. package/lib/forms/field/FieldSurfacePressLayer.js +1 -0
  60. package/lib/forms/field/FieldTextInput.js +1 -0
  61. package/lib/forms/field/a11y.js +1 -0
  62. package/lib/forms/field/index.js +1 -0
  63. package/lib/forms/field/useFieldControlFocus.js +1 -0
  64. package/lib/forms/field/useFieldControlRegistry.js +1 -0
  65. package/lib/forms/formContainer/FormContainer.js +1 -0
  66. package/lib/forms/formContainer/FormContainer.theme.js +1 -0
  67. package/lib/forms/formContainer/index.js +1 -0
  68. package/lib/forms/formRow/FormRow.js +1 -0
  69. package/lib/forms/formRow/FormRow.theme.js +1 -0
  70. package/lib/forms/formRow/index.js +1 -0
  71. package/lib/forms/index.js +1 -0
  72. package/lib/forms/input/TextInput.js +1 -0
  73. package/lib/forms/input/comboboxInput/ComboboxBlurGuard.js +1 -0
  74. package/lib/forms/input/comboboxInput/ComboboxBlurGuard.web.js +1 -0
  75. package/lib/forms/input/comboboxInput/ComboboxInput.js +1 -0
  76. package/lib/forms/input/comboboxInput/ComboboxInput.theme.js +1 -0
  77. package/lib/forms/input/comboboxInput/ComboboxInputBase.js +1 -0
  78. package/lib/forms/input/comboboxInput/helpers.js +1 -0
  79. package/lib/forms/input/comboboxInput/index.js +1 -0
  80. package/lib/forms/input/comboboxInput/useComboboxController.js +1 -0
  81. package/lib/forms/input/counterInput/CounterControl.js +1 -0
  82. package/lib/forms/input/counterInput/CounterInput.js +1 -0
  83. package/lib/forms/input/counterInput/index.js +1 -0
  84. package/lib/forms/input/index.js +1 -0
  85. package/lib/forms/input/numberInput/NumberInput.js +1 -0
  86. package/lib/forms/input/numberInput/helpers.js +1 -0
  87. package/lib/forms/input/numberInput/index.js +1 -0
  88. package/lib/forms/input/ratingInput/AnimatedStar.js +1 -0
  89. package/lib/forms/input/ratingInput/RatingControl.js +1 -0
  90. package/lib/forms/input/ratingInput/RatingInput.js +1 -0
  91. package/lib/forms/input/ratingInput/RatingInput.theme.js +1 -0
  92. package/lib/forms/input/ratingInput/helpers.js +1 -0
  93. package/lib/forms/input/ratingInput/index.js +1 -0
  94. package/lib/forms/input/selectionInput/SelectionControl.js +1 -0
  95. package/lib/forms/input/selectionInput/SelectionInput.js +1 -0
  96. package/lib/forms/input/selectionInput/SelectionInput.theme.js +1 -0
  97. package/lib/forms/input/selectionInput/index.js +1 -0
  98. package/lib/forms/input/shared/useSegmentedInputNavigation.js +1 -0
  99. package/lib/forms/input/timeInput/TimeInput.js +1 -0
  100. package/lib/forms/input/timeInput/helpers.js +1 -0
  101. package/lib/forms/input/timeInput/index.js +1 -0
  102. package/lib/forms/input/toggleInput/ToggleControl.js +1 -0
  103. package/lib/forms/input/toggleInput/ToggleInput.js +1 -0
  104. package/lib/forms/input/toggleInput/ToggleInput.theme.js +1 -0
  105. package/lib/forms/input/toggleInput/index.js +1 -0
  106. package/lib/icons/Icon.js +1 -0
  107. package/lib/icons/Icon.theme.js +1 -0
  108. package/lib/icons/IconBase.js +1 -0
  109. package/lib/icons/IconBase.theme.js +1 -0
  110. package/lib/icons/componentIconAssets.js +0 -0
  111. package/lib/icons/index.js +1 -1
  112. package/lib/icons/ui/Check.js +1 -0
  113. package/lib/icons/ui/CircleFilled.js +1 -0
  114. package/lib/icons/ui/index.js +1 -1
  115. package/lib/internal/defineComponentStyles.js +1 -0
  116. package/lib/internal/index.js +1 -0
  117. package/lib/internal/useComponent.js +1 -0
  118. package/lib/internal/useFocusVisible.js +1 -0
  119. package/lib/internal/useForwardedRef.js +1 -0
  120. package/lib/layout/collapsiblePanel/CollapsiblePanel.js +1 -0
  121. package/lib/layout/collapsiblePanel/index.js +1 -0
  122. package/lib/layout/index.js +1 -0
  123. package/lib/layout/swipeable/SwipeableContainer.js +1 -0
  124. package/lib/layout/swipeable/index.js +1 -0
  125. package/lib/overlays/anchoredContainer/AnchoredContainer.ios.js +1 -0
  126. package/lib/overlays/anchoredContainer/AnchoredContainer.js +1 -0
  127. package/lib/overlays/anchoredContainer/AnchoredContainer.theme.js +1 -0
  128. package/lib/overlays/anchoredContainer/AnchoredContainer.web.js +1 -0
  129. package/lib/overlays/anchoredContainer/InlineMount.js +1 -0
  130. package/lib/overlays/anchoredContainer/OverlayMount.js +1 -0
  131. package/lib/overlays/anchoredContainer/helpers.js +1 -0
  132. package/lib/overlays/anchoredContainer/index.js +1 -0
  133. package/lib/overlays/anchoredContainer/useAnchoredContainerPosition.js +1 -0
  134. package/lib/overlays/index.js +1 -0
  135. package/lib/overlays/menu/Menu.js +1 -0
  136. package/lib/overlays/menu/Menu.theme.js +1 -0
  137. package/lib/overlays/menu/MenuItem.js +1 -0
  138. package/lib/overlays/menu/MenuItem.theme.js +1 -0
  139. package/lib/theme/ThemeContext.js +1 -0
  140. package/lib/theme/ThemeProvider.js +1 -0
  141. package/lib/theme/colors.js +1 -0
  142. package/lib/theme/createAppTheme.js +1 -0
  143. package/lib/theme/icons.js +1 -1
  144. package/lib/theme/index.js +1 -1
  145. package/lib/theme/mergeTheme.js +1 -0
  146. package/lib/theme/palette.js +1 -1
  147. package/lib/theme/resolveTheme.js +1 -0
  148. package/lib/theme/resolveThemeGraph.js +1 -0
  149. package/lib/theme/systems.js +1 -0
  150. package/lib/theme/theme.js +1 -1
  151. package/lib/theme/themeDefinitions.js +1 -0
  152. package/lib/theme/useSystems.js +1 -0
  153. package/lib/theme/useTheme.js +1 -0
  154. package/lib/types/{components → actions}/action/Action.d.ts +5 -4
  155. package/lib/types/actions/action/Action.d.ts.map +1 -0
  156. package/lib/types/actions/action/Action.theme.d.ts +3 -0
  157. package/lib/types/actions/action/Action.theme.d.ts.map +1 -0
  158. package/lib/types/actions/action/ActionBase.d.ts +19 -0
  159. package/lib/types/actions/action/ActionBase.d.ts.map +1 -0
  160. package/lib/types/actions/action/ActionBase.theme.d.ts +3 -0
  161. package/lib/types/actions/action/ActionBase.theme.d.ts.map +1 -0
  162. package/lib/types/actions/action/IconAction.d.ts +15 -0
  163. package/lib/types/actions/action/IconAction.d.ts.map +1 -0
  164. package/lib/types/actions/action/IconAction.theme.d.ts +3 -0
  165. package/lib/types/actions/action/IconAction.theme.d.ts.map +1 -0
  166. package/lib/types/actions/action/IconActionBase.d.ts +16 -0
  167. package/lib/types/actions/action/IconActionBase.d.ts.map +1 -0
  168. package/lib/types/actions/action/IconActionBase.theme.d.ts +3 -0
  169. package/lib/types/actions/action/IconActionBase.theme.d.ts.map +1 -0
  170. package/lib/types/actions/action/PressableBase.d.ts +12 -0
  171. package/lib/types/actions/action/PressableBase.d.ts.map +1 -0
  172. package/lib/types/{components → actions}/action/StateTint.d.ts +0 -4
  173. package/lib/types/actions/action/StateTint.d.ts.map +1 -0
  174. package/lib/types/actions/action/index.d.ts +7 -0
  175. package/lib/types/actions/action/index.d.ts.map +1 -0
  176. package/lib/types/{components → actions}/button/Button.d.ts +7 -8
  177. package/lib/types/actions/button/Button.d.ts.map +1 -0
  178. package/lib/types/actions/button/Button.theme.d.ts +3 -0
  179. package/lib/types/actions/button/Button.theme.d.ts.map +1 -0
  180. package/lib/types/{components → actions}/button/ButtonBase.d.ts +3 -3
  181. package/lib/types/actions/button/ButtonBase.d.ts.map +1 -0
  182. package/lib/types/actions/button/ButtonBase.theme.d.ts +3 -0
  183. package/lib/types/actions/button/ButtonBase.theme.d.ts.map +1 -0
  184. package/lib/types/actions/button/IconButton.d.ts +20 -0
  185. package/lib/types/actions/button/IconButton.d.ts.map +1 -0
  186. package/lib/types/actions/button/IconButton.theme.d.ts +3 -0
  187. package/lib/types/actions/button/IconButton.theme.d.ts.map +1 -0
  188. package/lib/types/actions/button/IconButtonBase.d.ts +22 -0
  189. package/lib/types/actions/button/IconButtonBase.d.ts.map +1 -0
  190. package/lib/types/actions/button/IconButtonBase.theme.d.ts +3 -0
  191. package/lib/types/actions/button/IconButtonBase.theme.d.ts.map +1 -0
  192. package/lib/types/actions/button/index.d.ts +5 -0
  193. package/lib/types/actions/button/index.d.ts.map +1 -0
  194. package/lib/types/actions/index.d.ts +6 -0
  195. package/lib/types/actions/index.d.ts.map +1 -0
  196. package/lib/types/{components → actions}/surface/InteractionSurface.d.ts +1 -1
  197. package/lib/types/actions/surface/InteractionSurface.d.ts.map +1 -0
  198. package/lib/types/{components → actions}/surface/StateLayer.d.ts +3 -3
  199. package/lib/types/actions/surface/StateLayer.d.ts.map +1 -0
  200. package/lib/types/actions/surface/StateLayer.theme.d.ts +3 -0
  201. package/lib/types/actions/surface/StateLayer.theme.d.ts.map +1 -0
  202. package/lib/types/actions/surface/index.d.ts +3 -0
  203. package/lib/types/actions/surface/index.d.ts.map +1 -0
  204. package/lib/types/{components/swipe → actions/swipeAction}/SwipeAction.d.ts +2 -2
  205. package/lib/types/actions/swipeAction/SwipeAction.d.ts.map +1 -0
  206. package/lib/types/actions/swipeAction/SwipeAction.theme.d.ts +3 -0
  207. package/lib/types/actions/swipeAction/SwipeAction.theme.d.ts.map +1 -0
  208. package/lib/types/actions/swipeAction/index.d.ts +2 -0
  209. package/lib/types/actions/swipeAction/index.d.ts.map +1 -0
  210. package/lib/types/{components → display}/avatar/Avatar.d.ts +10 -7
  211. package/lib/types/display/avatar/Avatar.d.ts.map +1 -0
  212. package/lib/types/display/avatar/Avatar.theme.d.ts +3 -0
  213. package/lib/types/display/avatar/Avatar.theme.d.ts.map +1 -0
  214. package/lib/types/display/avatar/index.d.ts +2 -0
  215. package/lib/types/display/avatar/index.d.ts.map +1 -0
  216. package/lib/types/display/badge/Badge.d.ts +20 -0
  217. package/lib/types/display/badge/Badge.d.ts.map +1 -0
  218. package/lib/types/display/badge/Badge.theme.d.ts +3 -0
  219. package/lib/types/display/badge/Badge.theme.d.ts.map +1 -0
  220. package/lib/types/display/badge/index.d.ts +2 -0
  221. package/lib/types/display/badge/index.d.ts.map +1 -0
  222. package/lib/types/display/contentRow/ContentRow.d.ts +14 -0
  223. package/lib/types/display/contentRow/ContentRow.d.ts.map +1 -0
  224. package/lib/types/display/contentRow/ContentRow.theme.d.ts +3 -0
  225. package/lib/types/display/contentRow/ContentRow.theme.d.ts.map +1 -0
  226. package/lib/types/display/contentRow/index.d.ts +2 -0
  227. package/lib/types/display/contentRow/index.d.ts.map +1 -0
  228. package/lib/types/display/index.d.ts +7 -0
  229. package/lib/types/display/index.d.ts.map +1 -0
  230. package/lib/types/{components → display}/listItem/ListItem.d.ts +13 -12
  231. package/lib/types/display/listItem/ListItem.d.ts.map +1 -0
  232. package/lib/types/display/listItem/ListItem.theme.d.ts +3 -0
  233. package/lib/types/display/listItem/ListItem.theme.d.ts.map +1 -0
  234. package/lib/types/display/listItem/index.d.ts +2 -0
  235. package/lib/types/display/listItem/index.d.ts.map +1 -0
  236. package/lib/types/{components → display}/rating/Rating.d.ts +4 -4
  237. package/lib/types/display/rating/Rating.d.ts.map +1 -0
  238. package/lib/types/display/rating/Rating.theme.d.ts +3 -0
  239. package/lib/types/display/rating/Rating.theme.d.ts.map +1 -0
  240. package/lib/types/display/rating/index.d.ts +3 -0
  241. package/lib/types/display/rating/index.d.ts.map +1 -0
  242. package/lib/types/display/rating/ratingUtils.d.ts.map +1 -0
  243. package/lib/types/display/tag/Tag.d.ts +24 -0
  244. package/lib/types/display/tag/Tag.d.ts.map +1 -0
  245. package/lib/types/display/tag/Tag.theme.d.ts +3 -0
  246. package/lib/types/display/tag/Tag.theme.d.ts.map +1 -0
  247. package/lib/types/display/tag/TagIcon.d.ts +13 -0
  248. package/lib/types/display/tag/TagIcon.d.ts.map +1 -0
  249. package/lib/types/display/tag/TagIcon.theme.d.ts +3 -0
  250. package/lib/types/display/tag/TagIcon.theme.d.ts.map +1 -0
  251. package/lib/types/display/tag/index.d.ts +3 -0
  252. package/lib/types/display/tag/index.d.ts.map +1 -0
  253. package/lib/types/feedback/index.d.ts +2 -0
  254. package/lib/types/feedback/index.d.ts.map +1 -0
  255. package/lib/types/{components → feedback}/toast/Toast.d.ts +8 -2
  256. package/lib/types/feedback/toast/Toast.d.ts.map +1 -0
  257. package/lib/types/feedback/toast/Toast.theme.d.ts +3 -0
  258. package/lib/types/feedback/toast/Toast.theme.d.ts.map +1 -0
  259. package/lib/types/feedback/toast/index.d.ts +2 -0
  260. package/lib/types/feedback/toast/index.d.ts.map +1 -0
  261. package/lib/types/forms/field/Field.d.ts +38 -0
  262. package/lib/types/forms/field/Field.d.ts.map +1 -0
  263. package/lib/types/forms/field/Field.theme.d.ts +40 -0
  264. package/lib/types/forms/field/Field.theme.d.ts.map +1 -0
  265. package/lib/types/forms/field/FieldAction.d.ts +13 -0
  266. package/lib/types/forms/field/FieldAction.d.ts.map +1 -0
  267. package/lib/types/forms/field/FieldContext.d.ts +33 -0
  268. package/lib/types/forms/field/FieldContext.d.ts.map +1 -0
  269. package/lib/types/forms/field/FieldIcon.d.ts +12 -0
  270. package/lib/types/forms/field/FieldIcon.d.ts.map +1 -0
  271. package/lib/types/forms/field/FieldNumberInput.d.ts +14 -0
  272. package/lib/types/forms/field/FieldNumberInput.d.ts.map +1 -0
  273. package/lib/types/forms/field/FieldRow.d.ts +16 -0
  274. package/lib/types/forms/field/FieldRow.d.ts.map +1 -0
  275. package/lib/types/forms/field/FieldSurface.d.ts +16 -0
  276. package/lib/types/forms/field/FieldSurface.d.ts.map +1 -0
  277. package/lib/types/forms/field/FieldSurfaceContext.d.ts +17 -0
  278. package/lib/types/forms/field/FieldSurfaceContext.d.ts.map +1 -0
  279. package/lib/types/forms/field/FieldSurfacePressLayer.d.ts +11 -0
  280. package/lib/types/forms/field/FieldSurfacePressLayer.d.ts.map +1 -0
  281. package/lib/types/forms/field/FieldTextInput.d.ts +24 -0
  282. package/lib/types/forms/field/FieldTextInput.d.ts.map +1 -0
  283. package/lib/types/forms/field/a11y.d.ts +41 -0
  284. package/lib/types/forms/field/a11y.d.ts.map +1 -0
  285. package/lib/types/forms/field/index.d.ts +19 -0
  286. package/lib/types/forms/field/index.d.ts.map +1 -0
  287. package/lib/types/forms/field/useFieldControlFocus.d.ts +29 -0
  288. package/lib/types/forms/field/useFieldControlFocus.d.ts.map +1 -0
  289. package/lib/types/forms/field/useFieldControlRegistry.d.ts +10 -0
  290. package/lib/types/forms/field/useFieldControlRegistry.d.ts.map +1 -0
  291. package/lib/types/{components/container → forms/formContainer}/FormContainer.d.ts +5 -4
  292. package/lib/types/forms/formContainer/FormContainer.d.ts.map +1 -0
  293. package/lib/types/forms/formContainer/FormContainer.theme.d.ts +3 -0
  294. package/lib/types/forms/formContainer/FormContainer.theme.d.ts.map +1 -0
  295. package/lib/types/forms/formContainer/index.d.ts +2 -0
  296. package/lib/types/forms/formContainer/index.d.ts.map +1 -0
  297. package/lib/types/{components/container → forms/formRow}/FormRow.d.ts +5 -4
  298. package/lib/types/forms/formRow/FormRow.d.ts.map +1 -0
  299. package/lib/types/forms/formRow/FormRow.theme.d.ts +3 -0
  300. package/lib/types/forms/formRow/FormRow.theme.d.ts.map +1 -0
  301. package/lib/types/forms/formRow/index.d.ts +2 -0
  302. package/lib/types/forms/formRow/index.d.ts.map +1 -0
  303. package/lib/types/forms/index.d.ts +9 -0
  304. package/lib/types/forms/index.d.ts.map +1 -0
  305. package/lib/types/forms/input/TextInput.d.ts +8 -0
  306. package/lib/types/forms/input/TextInput.d.ts.map +1 -0
  307. package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.d.ts +8 -0
  308. package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.d.ts.map +1 -0
  309. package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.web.d.ts +9 -0
  310. package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.web.d.ts.map +1 -0
  311. package/lib/types/forms/input/comboboxInput/ComboboxInput.d.ts +8 -0
  312. package/lib/types/forms/input/comboboxInput/ComboboxInput.d.ts.map +1 -0
  313. package/lib/types/forms/input/comboboxInput/ComboboxInput.theme.d.ts +3 -0
  314. package/lib/types/forms/input/comboboxInput/ComboboxInput.theme.d.ts.map +1 -0
  315. package/lib/types/forms/input/comboboxInput/ComboboxInputBase.d.ts +73 -0
  316. package/lib/types/forms/input/comboboxInput/ComboboxInputBase.d.ts.map +1 -0
  317. package/lib/types/forms/input/comboboxInput/helpers.d.ts +13 -0
  318. package/lib/types/forms/input/comboboxInput/helpers.d.ts.map +1 -0
  319. package/lib/types/forms/input/comboboxInput/index.d.ts +4 -0
  320. package/lib/types/forms/input/comboboxInput/index.d.ts.map +1 -0
  321. package/lib/types/forms/input/comboboxInput/useComboboxController.d.ts +43 -0
  322. package/lib/types/forms/input/comboboxInput/useComboboxController.d.ts.map +1 -0
  323. package/lib/types/forms/input/counterInput/CounterControl.d.ts +17 -0
  324. package/lib/types/forms/input/counterInput/CounterControl.d.ts.map +1 -0
  325. package/lib/types/forms/input/counterInput/CounterInput.d.ts +19 -0
  326. package/lib/types/forms/input/counterInput/CounterInput.d.ts.map +1 -0
  327. package/lib/types/forms/input/counterInput/index.d.ts +3 -0
  328. package/lib/types/forms/input/counterInput/index.d.ts.map +1 -0
  329. package/lib/types/forms/input/index.d.ts +18 -0
  330. package/lib/types/forms/input/index.d.ts.map +1 -0
  331. package/lib/types/forms/input/numberInput/NumberInput.d.ts +47 -0
  332. package/lib/types/forms/input/numberInput/NumberInput.d.ts.map +1 -0
  333. package/lib/types/forms/input/numberInput/helpers.d.ts +16 -0
  334. package/lib/types/forms/input/numberInput/helpers.d.ts.map +1 -0
  335. package/lib/types/forms/input/numberInput/index.d.ts +3 -0
  336. package/lib/types/forms/input/numberInput/index.d.ts.map +1 -0
  337. package/lib/types/forms/input/ratingInput/AnimatedStar.d.ts +14 -0
  338. package/lib/types/forms/input/ratingInput/AnimatedStar.d.ts.map +1 -0
  339. package/lib/types/forms/input/ratingInput/RatingControl.d.ts +13 -0
  340. package/lib/types/forms/input/ratingInput/RatingControl.d.ts.map +1 -0
  341. package/lib/types/forms/input/ratingInput/RatingInput.d.ts +13 -0
  342. package/lib/types/forms/input/ratingInput/RatingInput.d.ts.map +1 -0
  343. package/lib/types/forms/input/ratingInput/RatingInput.theme.d.ts +10 -0
  344. package/lib/types/forms/input/ratingInput/RatingInput.theme.d.ts.map +1 -0
  345. package/lib/types/forms/input/ratingInput/helpers.d.ts +9 -0
  346. package/lib/types/forms/input/ratingInput/helpers.d.ts.map +1 -0
  347. package/lib/types/forms/input/ratingInput/index.d.ts +4 -0
  348. package/lib/types/forms/input/ratingInput/index.d.ts.map +1 -0
  349. package/lib/types/forms/input/selectionInput/SelectionControl.d.ts +14 -0
  350. package/lib/types/forms/input/selectionInput/SelectionControl.d.ts.map +1 -0
  351. package/lib/types/forms/input/selectionInput/SelectionInput.d.ts +30 -0
  352. package/lib/types/forms/input/selectionInput/SelectionInput.d.ts.map +1 -0
  353. package/lib/types/forms/input/selectionInput/SelectionInput.theme.d.ts +8 -0
  354. package/lib/types/forms/input/selectionInput/SelectionInput.theme.d.ts.map +1 -0
  355. package/lib/types/forms/input/selectionInput/index.d.ts +4 -0
  356. package/lib/types/forms/input/selectionInput/index.d.ts.map +1 -0
  357. package/lib/types/forms/input/shared/useSegmentedInputNavigation.d.ts +48 -0
  358. package/lib/types/forms/input/shared/useSegmentedInputNavigation.d.ts.map +1 -0
  359. package/lib/types/forms/input/timeInput/TimeInput.d.ts +31 -0
  360. package/lib/types/forms/input/timeInput/TimeInput.d.ts.map +1 -0
  361. package/lib/types/forms/input/timeInput/helpers.d.ts +14 -0
  362. package/lib/types/forms/input/timeInput/helpers.d.ts.map +1 -0
  363. package/lib/types/forms/input/timeInput/index.d.ts +3 -0
  364. package/lib/types/forms/input/timeInput/index.d.ts.map +1 -0
  365. package/lib/types/forms/input/toggleInput/ToggleControl.d.ts +13 -0
  366. package/lib/types/forms/input/toggleInput/ToggleControl.d.ts.map +1 -0
  367. package/lib/types/forms/input/toggleInput/ToggleInput.d.ts +19 -0
  368. package/lib/types/forms/input/toggleInput/ToggleInput.d.ts.map +1 -0
  369. package/lib/types/forms/input/toggleInput/ToggleInput.theme.d.ts +20 -0
  370. package/lib/types/forms/input/toggleInput/ToggleInput.theme.d.ts.map +1 -0
  371. package/lib/types/forms/input/toggleInput/index.d.ts +4 -0
  372. package/lib/types/forms/input/toggleInput/index.d.ts.map +1 -0
  373. package/lib/types/forms/input/valueItem.d.ts.map +1 -0
  374. package/lib/types/icons/Icon.d.ts +15 -0
  375. package/lib/types/icons/Icon.d.ts.map +1 -0
  376. package/lib/types/icons/Icon.theme.d.ts +3 -0
  377. package/lib/types/icons/Icon.theme.d.ts.map +1 -0
  378. package/lib/types/icons/IconBase.d.ts +14 -0
  379. package/lib/types/icons/IconBase.d.ts.map +1 -0
  380. package/lib/types/icons/IconBase.theme.d.ts +3 -0
  381. package/lib/types/icons/IconBase.theme.d.ts.map +1 -0
  382. package/lib/types/{components/icon → icons}/IconComponentProps.d.ts +1 -1
  383. package/lib/types/icons/IconComponentProps.d.ts.map +1 -0
  384. package/lib/types/icons/componentIconAssets.d.ts +2 -0
  385. package/lib/types/icons/componentIconAssets.d.ts.map +1 -0
  386. package/lib/types/icons/index.d.ts +3 -1
  387. package/lib/types/icons/index.d.ts.map +1 -1
  388. package/lib/types/icons/ui/Check.d.ts +4 -0
  389. package/lib/types/icons/ui/Check.d.ts.map +1 -0
  390. package/lib/types/icons/ui/CircleFilled.d.ts +4 -0
  391. package/lib/types/icons/ui/CircleFilled.d.ts.map +1 -0
  392. package/lib/types/icons/ui/index.d.ts +1 -1
  393. package/lib/types/icons/ui/index.d.ts.map +1 -1
  394. package/lib/types/internal/defineComponentStyles.d.ts +7 -0
  395. package/lib/types/internal/defineComponentStyles.d.ts.map +1 -0
  396. package/lib/types/internal/index.d.ts +5 -0
  397. package/lib/types/internal/index.d.ts.map +1 -0
  398. package/lib/types/internal/useComponent.d.ts +26 -0
  399. package/lib/types/internal/useComponent.d.ts.map +1 -0
  400. package/lib/types/internal/useFocusVisible.d.ts +30 -0
  401. package/lib/types/internal/useFocusVisible.d.ts.map +1 -0
  402. package/lib/types/internal/useForwardedRef.d.ts +3 -0
  403. package/lib/types/internal/useForwardedRef.d.ts.map +1 -0
  404. package/lib/types/{components/container/Panel.d.ts → layout/collapsiblePanel/CollapsiblePanel.d.ts} +3 -3
  405. package/lib/types/layout/collapsiblePanel/CollapsiblePanel.d.ts.map +1 -0
  406. package/lib/types/layout/collapsiblePanel/index.d.ts +2 -0
  407. package/lib/types/layout/collapsiblePanel/index.d.ts.map +1 -0
  408. package/lib/types/layout/index.d.ts +3 -0
  409. package/lib/types/layout/index.d.ts.map +1 -0
  410. package/lib/types/{components/swipe → layout/swipeable}/SwipeableContainer.d.ts +1 -1
  411. package/lib/types/{components/swipe → layout/swipeable}/SwipeableContainer.d.ts.map +1 -1
  412. package/lib/types/layout/swipeable/index.d.ts +2 -0
  413. package/lib/types/layout/swipeable/index.d.ts.map +1 -0
  414. package/lib/types/overlays/anchoredContainer/AnchoredContainer.d.ts +50 -0
  415. package/lib/types/overlays/anchoredContainer/AnchoredContainer.d.ts.map +1 -0
  416. package/lib/types/overlays/anchoredContainer/AnchoredContainer.ios.d.ts +4 -0
  417. package/lib/types/overlays/anchoredContainer/AnchoredContainer.ios.d.ts.map +1 -0
  418. package/lib/types/overlays/anchoredContainer/AnchoredContainer.theme.d.ts +3 -0
  419. package/lib/types/overlays/anchoredContainer/AnchoredContainer.theme.d.ts.map +1 -0
  420. package/lib/types/overlays/anchoredContainer/AnchoredContainer.web.d.ts +4 -0
  421. package/lib/types/overlays/anchoredContainer/AnchoredContainer.web.d.ts.map +1 -0
  422. package/lib/types/overlays/anchoredContainer/InlineMount.d.ts +9 -0
  423. package/lib/types/overlays/anchoredContainer/InlineMount.d.ts.map +1 -0
  424. package/lib/types/overlays/anchoredContainer/OverlayMount.d.ts +11 -0
  425. package/lib/types/overlays/anchoredContainer/OverlayMount.d.ts.map +1 -0
  426. package/lib/types/overlays/anchoredContainer/helpers.d.ts +3 -0
  427. package/lib/types/overlays/anchoredContainer/helpers.d.ts.map +1 -0
  428. package/lib/types/overlays/anchoredContainer/index.d.ts +3 -0
  429. package/lib/types/overlays/anchoredContainer/index.d.ts.map +1 -0
  430. package/lib/types/overlays/anchoredContainer/useAnchoredContainerPosition.d.ts +29 -0
  431. package/lib/types/overlays/anchoredContainer/useAnchoredContainerPosition.d.ts.map +1 -0
  432. package/lib/types/overlays/index.d.ts +3 -0
  433. package/lib/types/overlays/index.d.ts.map +1 -0
  434. package/lib/types/overlays/menu/Menu.d.ts +27 -0
  435. package/lib/types/overlays/menu/Menu.d.ts.map +1 -0
  436. package/lib/types/overlays/menu/Menu.theme.d.ts +3 -0
  437. package/lib/types/overlays/menu/Menu.theme.d.ts.map +1 -0
  438. package/lib/types/{components → overlays}/menu/MenuItem.d.ts +4 -1
  439. package/lib/types/overlays/menu/MenuItem.d.ts.map +1 -0
  440. package/lib/types/overlays/menu/MenuItem.theme.d.ts +3 -0
  441. package/lib/types/overlays/menu/MenuItem.theme.d.ts.map +1 -0
  442. package/lib/types/overlays/menu/index.d.ts +5 -0
  443. package/lib/types/overlays/menu/index.d.ts.map +1 -0
  444. package/lib/types/theme/ThemeContext.d.ts +12 -0
  445. package/lib/types/theme/ThemeContext.d.ts.map +1 -0
  446. package/lib/types/theme/ThemeProvider.d.ts +26 -0
  447. package/lib/types/theme/ThemeProvider.d.ts.map +1 -0
  448. package/lib/types/theme/colors.d.ts +28 -0
  449. package/lib/types/theme/colors.d.ts.map +1 -0
  450. package/lib/types/theme/createAppTheme.d.ts +30 -0
  451. package/lib/types/theme/createAppTheme.d.ts.map +1 -0
  452. package/lib/types/theme/icons.d.ts +28 -25
  453. package/lib/types/theme/icons.d.ts.map +1 -1
  454. package/lib/types/theme/index.d.ts +8 -4
  455. package/lib/types/theme/index.d.ts.map +1 -1
  456. package/lib/types/theme/mergeTheme.d.ts +12 -0
  457. package/lib/types/theme/mergeTheme.d.ts.map +1 -0
  458. package/lib/types/theme/palette.d.ts +55 -26
  459. package/lib/types/theme/palette.d.ts.map +1 -1
  460. package/lib/types/theme/resolveTheme.d.ts +13 -0
  461. package/lib/types/theme/resolveTheme.d.ts.map +1 -0
  462. package/lib/types/theme/resolveThemeGraph.d.ts +24 -0
  463. package/lib/types/theme/resolveThemeGraph.d.ts.map +1 -0
  464. package/lib/types/theme/systems.d.ts +61 -0
  465. package/lib/types/theme/systems.d.ts.map +1 -0
  466. package/lib/types/theme/theme.d.ts +68 -42
  467. package/lib/types/theme/theme.d.ts.map +1 -1
  468. package/lib/types/theme/themeDefinitions.d.ts +6 -0
  469. package/lib/types/theme/themeDefinitions.d.ts.map +1 -0
  470. package/lib/types/theme/useSystems.d.ts +24 -0
  471. package/lib/types/theme/useSystems.d.ts.map +1 -0
  472. package/lib/types/theme/useTheme.d.ts +8 -0
  473. package/lib/types/theme/useTheme.d.ts.map +1 -0
  474. package/lib/types/typography/index.d.ts +3 -0
  475. package/lib/types/typography/index.d.ts.map +1 -0
  476. package/lib/types/{components → typography}/text/HighlightedText.d.ts +4 -3
  477. package/lib/types/typography/text/HighlightedText.d.ts.map +1 -0
  478. package/lib/types/typography/text/HighlightedText.theme.d.ts +3 -0
  479. package/lib/types/typography/text/HighlightedText.theme.d.ts.map +1 -0
  480. package/lib/types/{components → typography}/text/Text.d.ts +3 -1
  481. package/lib/types/typography/text/Text.d.ts.map +1 -0
  482. package/lib/types/typography/text/Text.theme.d.ts +3 -0
  483. package/lib/types/typography/text/Text.theme.d.ts.map +1 -0
  484. package/lib/types/typography/text/index.d.ts +3 -0
  485. package/lib/types/typography/text/index.d.ts.map +1 -0
  486. package/lib/typography/index.js +1 -0
  487. package/lib/typography/text/HighlightedText.js +1 -0
  488. package/lib/typography/text/HighlightedText.theme.js +1 -0
  489. package/lib/typography/text/Text.js +1 -0
  490. package/lib/typography/text/Text.theme.js +1 -0
  491. package/package.json +32 -20
  492. package/lib/common/index.js +0 -1
  493. package/lib/common/typography.js +0 -1
  494. package/lib/components/action/Action.js +0 -1
  495. package/lib/components/action/Action.styles.js +0 -1
  496. package/lib/components/action/ActionBase.js +0 -1
  497. package/lib/components/action/ActionBase.styles.js +0 -1
  498. package/lib/components/action/IconAction.js +0 -1
  499. package/lib/components/action/IconAction.styles.js +0 -1
  500. package/lib/components/action/IconActionBase.js +0 -1
  501. package/lib/components/action/IconActionBase.styles.js +0 -1
  502. package/lib/components/action/StateTint.js +0 -1
  503. package/lib/components/action/StateTint.styles.js +0 -1
  504. package/lib/components/alert/AlertIndicator.js +0 -1
  505. package/lib/components/alert/index.js +0 -1
  506. package/lib/components/avatar/Avatar.js +0 -1
  507. package/lib/components/avatar/Avatar.styles.js +0 -1
  508. package/lib/components/button/Button.js +0 -1
  509. package/lib/components/button/Button.styles.js +0 -1
  510. package/lib/components/button/ButtonBase.js +0 -1
  511. package/lib/components/button/ButtonBase.styles.js +0 -1
  512. package/lib/components/button/IconButton.js +0 -1
  513. package/lib/components/button/IconButton.styles.js +0 -1
  514. package/lib/components/button/IconButtonBase.js +0 -1
  515. package/lib/components/button/IconButtonBase.styles.js +0 -1
  516. package/lib/components/container/FloatingContainer.js +0 -1
  517. package/lib/components/container/FloatingContainer.styles.js +0 -1
  518. package/lib/components/container/FloatingContainer.web.js +0 -1
  519. package/lib/components/container/FormContainer.js +0 -1
  520. package/lib/components/container/FormRow.js +0 -1
  521. package/lib/components/container/Panel.js +0 -1
  522. package/lib/components/container/index.js +0 -1
  523. package/lib/components/icon/Icon.js +0 -1
  524. package/lib/components/icon/Icon.styles.js +0 -1
  525. package/lib/components/icon/IconBase.js +0 -1
  526. package/lib/components/icon/IconBase.styles.js +0 -1
  527. package/lib/components/icon/index.js +0 -1
  528. package/lib/components/index.js +0 -1
  529. package/lib/components/input/CounterInput.js +0 -1
  530. package/lib/components/input/DropdownInput.js +0 -1
  531. package/lib/components/input/DropdownInput.styles.js +0 -1
  532. package/lib/components/input/DropdownInputBase.js +0 -1
  533. package/lib/components/input/InputAction.js +0 -1
  534. package/lib/components/input/InputAction.styles.js +0 -1
  535. package/lib/components/input/InputBase.js +0 -1
  536. package/lib/components/input/InputBase.styles.js +0 -1
  537. package/lib/components/input/InputRowContainer.js +0 -1
  538. package/lib/components/input/InputScaffold.js +0 -1
  539. package/lib/components/input/InputScaffold.styles.js +0 -1
  540. package/lib/components/input/NumberInput.js +0 -1
  541. package/lib/components/input/NumberInputBase.js +0 -1
  542. package/lib/components/input/RatingInput.js +0 -1
  543. package/lib/components/input/SelectionInput.js +0 -1
  544. package/lib/components/input/SelectionInput.styles.js +0 -1
  545. package/lib/components/input/TextInput.js +0 -1
  546. package/lib/components/input/TimeInput.js +0 -1
  547. package/lib/components/input/ToggleInput.js +0 -1
  548. package/lib/components/input/ToggleInput.styles.js +0 -1
  549. package/lib/components/input/index.js +0 -1
  550. package/lib/components/listItem/ListItem.js +0 -1
  551. package/lib/components/listItem/ListItem.styles.js +0 -1
  552. package/lib/components/listItem/ListItemAlert.js +0 -1
  553. package/lib/components/listItem/ListItemAvatar.js +0 -1
  554. package/lib/components/listItem/ListItemFooter.js +0 -1
  555. package/lib/components/listItem/ListItemRow.js +0 -1
  556. package/lib/components/listItem/index.js +0 -1
  557. package/lib/components/menu/Menu.js +0 -1
  558. package/lib/components/menu/Menu.styles.js +0 -1
  559. package/lib/components/menu/MenuItem.js +0 -1
  560. package/lib/components/menu/MenuItem.styles.js +0 -1
  561. package/lib/components/rating/Rating.js +0 -1
  562. package/lib/components/rating/Rating.styles.js +0 -1
  563. package/lib/components/rating/index.js +0 -1
  564. package/lib/components/surface/InteractionSurface.js +0 -1
  565. package/lib/components/surface/StateLayer.js +0 -1
  566. package/lib/components/surface/StateLayer.styles.js +0 -1
  567. package/lib/components/swipe/SwipeAction.js +0 -1
  568. package/lib/components/swipe/SwipeAction.styles.js +0 -1
  569. package/lib/components/swipe/SwipeableContainer.js +0 -1
  570. package/lib/components/swipe/index.js +0 -1
  571. package/lib/components/tag/Tag.js +0 -1
  572. package/lib/components/tag/Tag.styles.js +0 -1
  573. package/lib/components/tag/TagIcon.js +0 -1
  574. package/lib/components/text/HighlightedText.js +0 -1
  575. package/lib/components/text/HighlightedText.styles.js +0 -1
  576. package/lib/components/text/Text.js +0 -1
  577. package/lib/components/text/Text.styles.js +0 -1
  578. package/lib/components/toast/Toast.js +0 -1
  579. package/lib/components/toast/Toast.styles.js +0 -1
  580. package/lib/hooks/index.js +0 -1
  581. package/lib/hooks/useForwardedRef.js +0 -1
  582. package/lib/hooks/useTheme.js +0 -1
  583. package/lib/hooks/useThemedStyles.js +0 -1
  584. package/lib/providers/ThemeContext.js +0 -1
  585. package/lib/providers/ThemeProvider.js +0 -1
  586. package/lib/providers/index.js +0 -1
  587. package/lib/theme/styles.js +0 -1
  588. package/lib/types/common/index.d.ts +0 -3
  589. package/lib/types/common/index.d.ts.map +0 -1
  590. package/lib/types/common/typography.d.ts +0 -6
  591. package/lib/types/common/typography.d.ts.map +0 -1
  592. package/lib/types/common/valueItem.d.ts.map +0 -1
  593. package/lib/types/components/action/Action.d.ts.map +0 -1
  594. package/lib/types/components/action/Action.styles.d.ts +0 -4
  595. package/lib/types/components/action/Action.styles.d.ts.map +0 -1
  596. package/lib/types/components/action/ActionBase.d.ts +0 -17
  597. package/lib/types/components/action/ActionBase.d.ts.map +0 -1
  598. package/lib/types/components/action/ActionBase.styles.d.ts +0 -3
  599. package/lib/types/components/action/ActionBase.styles.d.ts.map +0 -1
  600. package/lib/types/components/action/IconAction.d.ts +0 -14
  601. package/lib/types/components/action/IconAction.d.ts.map +0 -1
  602. package/lib/types/components/action/IconAction.styles.d.ts +0 -4
  603. package/lib/types/components/action/IconAction.styles.d.ts.map +0 -1
  604. package/lib/types/components/action/IconActionBase.d.ts +0 -15
  605. package/lib/types/components/action/IconActionBase.d.ts.map +0 -1
  606. package/lib/types/components/action/IconActionBase.styles.d.ts +0 -4
  607. package/lib/types/components/action/IconActionBase.styles.d.ts.map +0 -1
  608. package/lib/types/components/action/StateTint.d.ts.map +0 -1
  609. package/lib/types/components/action/StateTint.styles.d.ts +0 -3
  610. package/lib/types/components/action/StateTint.styles.d.ts.map +0 -1
  611. package/lib/types/components/action/index.d.ts +0 -6
  612. package/lib/types/components/action/index.d.ts.map +0 -1
  613. package/lib/types/components/alert/AlertIndicator.d.ts +0 -16
  614. package/lib/types/components/alert/AlertIndicator.d.ts.map +0 -1
  615. package/lib/types/components/alert/AlertIndicator.styles.d.ts +0 -4
  616. package/lib/types/components/alert/AlertIndicator.styles.d.ts.map +0 -1
  617. package/lib/types/components/alert/index.d.ts +0 -2
  618. package/lib/types/components/alert/index.d.ts.map +0 -1
  619. package/lib/types/components/avatar/Avatar.d.ts.map +0 -1
  620. package/lib/types/components/avatar/Avatar.styles.d.ts +0 -4
  621. package/lib/types/components/avatar/Avatar.styles.d.ts.map +0 -1
  622. package/lib/types/components/avatar/index.d.ts +0 -2
  623. package/lib/types/components/avatar/index.d.ts.map +0 -1
  624. package/lib/types/components/button/Button.d.ts.map +0 -1
  625. package/lib/types/components/button/Button.styles.d.ts +0 -4
  626. package/lib/types/components/button/Button.styles.d.ts.map +0 -1
  627. package/lib/types/components/button/ButtonBase.d.ts.map +0 -1
  628. package/lib/types/components/button/ButtonBase.styles.d.ts +0 -4
  629. package/lib/types/components/button/ButtonBase.styles.d.ts.map +0 -1
  630. package/lib/types/components/button/IconButton.d.ts +0 -19
  631. package/lib/types/components/button/IconButton.d.ts.map +0 -1
  632. package/lib/types/components/button/IconButton.styles.d.ts +0 -4
  633. package/lib/types/components/button/IconButton.styles.d.ts.map +0 -1
  634. package/lib/types/components/button/IconButtonBase.d.ts +0 -22
  635. package/lib/types/components/button/IconButtonBase.d.ts.map +0 -1
  636. package/lib/types/components/button/IconButtonBase.styles.d.ts +0 -4
  637. package/lib/types/components/button/IconButtonBase.styles.d.ts.map +0 -1
  638. package/lib/types/components/button/index.d.ts +0 -5
  639. package/lib/types/components/button/index.d.ts.map +0 -1
  640. package/lib/types/components/container/FloatingContainer.d.ts +0 -22
  641. package/lib/types/components/container/FloatingContainer.d.ts.map +0 -1
  642. package/lib/types/components/container/FloatingContainer.styles.d.ts +0 -4
  643. package/lib/types/components/container/FloatingContainer.styles.d.ts.map +0 -1
  644. package/lib/types/components/container/FloatingContainer.web.d.ts +0 -4
  645. package/lib/types/components/container/FloatingContainer.web.d.ts.map +0 -1
  646. package/lib/types/components/container/FormContainer.d.ts.map +0 -1
  647. package/lib/types/components/container/FormRow.d.ts.map +0 -1
  648. package/lib/types/components/container/Panel.d.ts.map +0 -1
  649. package/lib/types/components/container/index.d.ts +0 -5
  650. package/lib/types/components/container/index.d.ts.map +0 -1
  651. package/lib/types/components/icon/Icon.d.ts +0 -15
  652. package/lib/types/components/icon/Icon.d.ts.map +0 -1
  653. package/lib/types/components/icon/Icon.styles.d.ts +0 -4
  654. package/lib/types/components/icon/Icon.styles.d.ts.map +0 -1
  655. package/lib/types/components/icon/IconBase.d.ts +0 -12
  656. package/lib/types/components/icon/IconBase.d.ts.map +0 -1
  657. package/lib/types/components/icon/IconBase.styles.d.ts +0 -4
  658. package/lib/types/components/icon/IconBase.styles.d.ts.map +0 -1
  659. package/lib/types/components/icon/IconComponentProps.d.ts.map +0 -1
  660. package/lib/types/components/icon/index.d.ts +0 -4
  661. package/lib/types/components/icon/index.d.ts.map +0 -1
  662. package/lib/types/components/index.d.ts +0 -24
  663. package/lib/types/components/index.d.ts.map +0 -1
  664. package/lib/types/components/input/CounterInput.d.ts +0 -11
  665. package/lib/types/components/input/CounterInput.d.ts.map +0 -1
  666. package/lib/types/components/input/DropdownInput.d.ts +0 -8
  667. package/lib/types/components/input/DropdownInput.d.ts.map +0 -1
  668. package/lib/types/components/input/DropdownInput.styles.d.ts +0 -4
  669. package/lib/types/components/input/DropdownInput.styles.d.ts.map +0 -1
  670. package/lib/types/components/input/DropdownInputBase.d.ts +0 -38
  671. package/lib/types/components/input/DropdownInputBase.d.ts.map +0 -1
  672. package/lib/types/components/input/InputAction.d.ts +0 -11
  673. package/lib/types/components/input/InputAction.d.ts.map +0 -1
  674. package/lib/types/components/input/InputAction.styles.d.ts +0 -4
  675. package/lib/types/components/input/InputAction.styles.d.ts.map +0 -1
  676. package/lib/types/components/input/InputBase.d.ts +0 -28
  677. package/lib/types/components/input/InputBase.d.ts.map +0 -1
  678. package/lib/types/components/input/InputBase.styles.d.ts +0 -4
  679. package/lib/types/components/input/InputBase.styles.d.ts.map +0 -1
  680. package/lib/types/components/input/InputRowContainer.d.ts +0 -13
  681. package/lib/types/components/input/InputRowContainer.d.ts.map +0 -1
  682. package/lib/types/components/input/InputScaffold.d.ts +0 -35
  683. package/lib/types/components/input/InputScaffold.d.ts.map +0 -1
  684. package/lib/types/components/input/InputScaffold.styles.d.ts +0 -4
  685. package/lib/types/components/input/InputScaffold.styles.d.ts.map +0 -1
  686. package/lib/types/components/input/NumberInput.d.ts +0 -31
  687. package/lib/types/components/input/NumberInput.d.ts.map +0 -1
  688. package/lib/types/components/input/NumberInputBase.d.ts +0 -20
  689. package/lib/types/components/input/NumberInputBase.d.ts.map +0 -1
  690. package/lib/types/components/input/RatingInput.d.ts +0 -15
  691. package/lib/types/components/input/RatingInput.d.ts.map +0 -1
  692. package/lib/types/components/input/SelectionInput.d.ts +0 -41
  693. package/lib/types/components/input/SelectionInput.d.ts.map +0 -1
  694. package/lib/types/components/input/SelectionInput.styles.d.ts +0 -4
  695. package/lib/types/components/input/SelectionInput.styles.d.ts.map +0 -1
  696. package/lib/types/components/input/TextInput.d.ts +0 -8
  697. package/lib/types/components/input/TextInput.d.ts.map +0 -1
  698. package/lib/types/components/input/TimeInput.d.ts +0 -17
  699. package/lib/types/components/input/TimeInput.d.ts.map +0 -1
  700. package/lib/types/components/input/ToggleInput.d.ts +0 -34
  701. package/lib/types/components/input/ToggleInput.d.ts.map +0 -1
  702. package/lib/types/components/input/ToggleInput.styles.d.ts +0 -4
  703. package/lib/types/components/input/ToggleInput.styles.d.ts.map +0 -1
  704. package/lib/types/components/input/index.d.ts +0 -26
  705. package/lib/types/components/input/index.d.ts.map +0 -1
  706. package/lib/types/components/listItem/ListItem.d.ts.map +0 -1
  707. package/lib/types/components/listItem/ListItem.styles.d.ts +0 -4
  708. package/lib/types/components/listItem/ListItem.styles.d.ts.map +0 -1
  709. package/lib/types/components/listItem/ListItemAlert.d.ts +0 -6
  710. package/lib/types/components/listItem/ListItemAlert.d.ts.map +0 -1
  711. package/lib/types/components/listItem/ListItemAvatar.d.ts +0 -6
  712. package/lib/types/components/listItem/ListItemAvatar.d.ts.map +0 -1
  713. package/lib/types/components/listItem/ListItemFooter.d.ts +0 -6
  714. package/lib/types/components/listItem/ListItemFooter.d.ts.map +0 -1
  715. package/lib/types/components/listItem/ListItemRow.d.ts +0 -6
  716. package/lib/types/components/listItem/ListItemRow.d.ts.map +0 -1
  717. package/lib/types/components/listItem/index.d.ts +0 -6
  718. package/lib/types/components/listItem/index.d.ts.map +0 -1
  719. package/lib/types/components/menu/Menu.d.ts +0 -16
  720. package/lib/types/components/menu/Menu.d.ts.map +0 -1
  721. package/lib/types/components/menu/Menu.styles.d.ts +0 -4
  722. package/lib/types/components/menu/Menu.styles.d.ts.map +0 -1
  723. package/lib/types/components/menu/MenuItem.d.ts.map +0 -1
  724. package/lib/types/components/menu/MenuItem.styles.d.ts +0 -4
  725. package/lib/types/components/menu/MenuItem.styles.d.ts.map +0 -1
  726. package/lib/types/components/menu/index.d.ts +0 -5
  727. package/lib/types/components/menu/index.d.ts.map +0 -1
  728. package/lib/types/components/rating/Rating.d.ts.map +0 -1
  729. package/lib/types/components/rating/Rating.styles.d.ts +0 -4
  730. package/lib/types/components/rating/Rating.styles.d.ts.map +0 -1
  731. package/lib/types/components/rating/index.d.ts +0 -3
  732. package/lib/types/components/rating/index.d.ts.map +0 -1
  733. package/lib/types/components/rating/ratingUtils.d.ts.map +0 -1
  734. package/lib/types/components/surface/InteractionSurface.d.ts.map +0 -1
  735. package/lib/types/components/surface/StateLayer.d.ts.map +0 -1
  736. package/lib/types/components/surface/StateLayer.styles.d.ts +0 -4
  737. package/lib/types/components/surface/StateLayer.styles.d.ts.map +0 -1
  738. package/lib/types/components/surface/index.d.ts +0 -3
  739. package/lib/types/components/surface/index.d.ts.map +0 -1
  740. package/lib/types/components/swipe/SwipeAction.d.ts.map +0 -1
  741. package/lib/types/components/swipe/SwipeAction.styles.d.ts +0 -4
  742. package/lib/types/components/swipe/SwipeAction.styles.d.ts.map +0 -1
  743. package/lib/types/components/swipe/index.d.ts +0 -3
  744. package/lib/types/components/swipe/index.d.ts.map +0 -1
  745. package/lib/types/components/tag/Tag.d.ts +0 -19
  746. package/lib/types/components/tag/Tag.d.ts.map +0 -1
  747. package/lib/types/components/tag/Tag.styles.d.ts +0 -4
  748. package/lib/types/components/tag/Tag.styles.d.ts.map +0 -1
  749. package/lib/types/components/tag/TagIcon.d.ts +0 -3
  750. package/lib/types/components/tag/TagIcon.d.ts.map +0 -1
  751. package/lib/types/components/tag/index.d.ts +0 -3
  752. package/lib/types/components/tag/index.d.ts.map +0 -1
  753. package/lib/types/components/text/HighlightedText.d.ts.map +0 -1
  754. package/lib/types/components/text/HighlightedText.styles.d.ts +0 -3
  755. package/lib/types/components/text/HighlightedText.styles.d.ts.map +0 -1
  756. package/lib/types/components/text/Text.d.ts.map +0 -1
  757. package/lib/types/components/text/Text.styles.d.ts +0 -4
  758. package/lib/types/components/text/Text.styles.d.ts.map +0 -1
  759. package/lib/types/components/text/index.d.ts +0 -3
  760. package/lib/types/components/text/index.d.ts.map +0 -1
  761. package/lib/types/components/toast/Toast.d.ts.map +0 -1
  762. package/lib/types/components/toast/Toast.styles.d.ts +0 -4
  763. package/lib/types/components/toast/Toast.styles.d.ts.map +0 -1
  764. package/lib/types/components/toast/index.d.ts +0 -2
  765. package/lib/types/components/toast/index.d.ts.map +0 -1
  766. package/lib/types/hooks/index.d.ts +0 -5
  767. package/lib/types/hooks/index.d.ts.map +0 -1
  768. package/lib/types/hooks/useForwardedRef.d.ts +0 -3
  769. package/lib/types/hooks/useForwardedRef.d.ts.map +0 -1
  770. package/lib/types/hooks/usePersistentKeyboardHeight.d.ts +0 -4
  771. package/lib/types/hooks/usePersistentKeyboardHeight.d.ts.map +0 -1
  772. package/lib/types/hooks/useTheme.d.ts +0 -7
  773. package/lib/types/hooks/useTheme.d.ts.map +0 -1
  774. package/lib/types/hooks/useThemedStyles.d.ts +0 -51
  775. package/lib/types/hooks/useThemedStyles.d.ts.map +0 -1
  776. package/lib/types/providers/ThemeContext.d.ts +0 -8
  777. package/lib/types/providers/ThemeContext.d.ts.map +0 -1
  778. package/lib/types/providers/ThemeProvider.d.ts +0 -15
  779. package/lib/types/providers/ThemeProvider.d.ts.map +0 -1
  780. package/lib/types/providers/index.d.ts +0 -3
  781. package/lib/types/providers/index.d.ts.map +0 -1
  782. package/lib/types/theme/styles.d.ts +0 -59
  783. package/lib/types/theme/styles.d.ts.map +0 -1
  784. /package/lib/{components → actions}/button/index.js +0 -0
  785. /package/lib/{components → actions}/surface/index.js +0 -0
  786. /package/lib/{components → display}/avatar/index.js +0 -0
  787. /package/lib/{components → display}/rating/ratingUtils.js +0 -0
  788. /package/lib/{components → display}/tag/index.js +0 -0
  789. /package/lib/{components → feedback}/toast/index.js +0 -0
  790. /package/lib/{common → forms/input}/valueItem.js +0 -0
  791. /package/lib/{components/icon → icons}/IconComponentProps.js +0 -0
  792. /package/lib/{components → overlays}/menu/index.js +0 -0
  793. /package/lib/types/{components → display}/rating/ratingUtils.d.ts +0 -0
  794. /package/lib/types/{common → forms/input}/valueItem.d.ts +0 -0
  795. /package/lib/{components → typography}/text/index.js +0 -0
@@ -0,0 +1,16 @@
1
+ import type { SegmentedInputDisplaySegment } from "../shared/useSegmentedInputNavigation";
2
+ import type { NumberInputPlaceholders, NumberInputValue, Representations } from "./NumberInput";
3
+ type NumberInputSegmentKey = "primary" | "secondary" | "tertiary";
4
+ export type NumberInputSegment = SegmentedInputDisplaySegment<NumberInputSegmentKey>;
5
+ export declare const getClearedNumberInputValue: (representation: Representations) => NumberInputValue;
6
+ export declare const getNextMode: (enabledRepresentations: Representations[], current: Representations) => Representations;
7
+ export declare const getNextValue: (nextMode: Representations, value: NumberInputValue) => NumberInputValue | undefined;
8
+ export declare const getNumberInputSegments: ({ value, getPlaceholder, keyboardType, }: {
9
+ value: NumberInputValue;
10
+ getPlaceholder: (key: keyof NumberInputPlaceholders) => string | undefined;
11
+ keyboardType: "decimal-pad" | "number-pad";
12
+ }) => NumberInputSegment[];
13
+ export declare const updateNumberInputSegment: (value: NumberInputValue, segmentIndex: number, text: string) => NumberInputValue;
14
+ export declare const getNumberInputSegmentStepValue: (value: NumberInputValue, segmentIndex: number, direction: 1 | -1) => NumberInputValue;
15
+ export {};
16
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/numberInput/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EACR,uBAAuB,EACvB,gBAAgB,EAChB,eAAe,EAClB,MAAM,eAAe,CAAC;AAEvB,KAAK,qBAAqB,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAC1B,4BAA4B,CAAC,qBAAqB,CAAC,CAAC;AAkCxD,eAAO,MAAM,0BAA0B,GACnC,gBAAgB,eAAe,KAChC,gBAAkD,CAAC;AAEtD,eAAO,MAAM,WAAW,GACpB,wBAAwB,eAAe,EAAE,EACzC,SAAS,eAAe,oBAQ3B,CAAC;AAEF,eAAO,MAAM,YAAY,GACrB,UAAU,eAAe,EACzB,OAAO,gBAAgB,KACxB,gBAAgB,GAAG,SAmBrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,0CAIpC;IACC,KAAK,EAAE,gBAAgB,CAAC;IACxB,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,uBAAuB,KAAK,MAAM,GAAG,SAAS,CAAC;IAC3E,YAAY,EAAE,aAAa,GAAG,YAAY,CAAC;CAC9C,KAAG,kBAAkB,EAsErB,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACjC,OAAO,gBAAgB,EACvB,cAAc,MAAM,EACpB,MAAM,MAAM,KACb,gBAKF,CAAC;AASF,eAAO,MAAM,8BAA8B,GACvC,OAAO,gBAAgB,EACvB,cAAc,MAAM,EACpB,WAAW,CAAC,GAAG,CAAC,CAAC,KAClB,gBAKF,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { FractionValue, NumberInputHandle, NumberInputIcons, NumberInputPlaceholders, NumberInputProps, NumberInputValue, NumberValue, RangeValue, } from "./NumberInput";
2
+ export { NumberInput } from "./NumberInput";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/numberInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { FC, ReactElement } from "react";
2
+ import { type SharedValue } from "react-native-reanimated";
3
+ type AnimatedStarProps = {
4
+ index: number;
5
+ rating: SharedValue<number>;
6
+ size: number;
7
+ interacting: SharedValue<number>;
8
+ empty: ReactElement;
9
+ half: ReactElement;
10
+ full: ReactElement;
11
+ };
12
+ export declare const AnimatedStar: FC<AnimatedStarProps>;
13
+ export {};
14
+ //# sourceMappingURL=AnimatedStar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedStar.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/AnimatedStar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAiB,EACb,KAAK,WAAW,EAGnB,MAAM,yBAAyB,CAAC;AAIjC,KAAK,iBAAiB,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkD9C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type FC } from "react";
2
+ import type { DeepPartial } from "@reillymc/es-utils";
3
+ import type { RatingInputTheme } from "./RatingInput.theme";
4
+ type RatingControlProps = {
5
+ max: number;
6
+ onChange?: (value: number) => void;
7
+ scale?: number;
8
+ themeOverrides?: DeepPartial<RatingInputTheme>;
9
+ value: number;
10
+ };
11
+ export declare const RatingControl: FC<RatingControlProps>;
12
+ export {};
13
+ //# sourceMappingURL=RatingControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RatingControl.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/RatingControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAA+C,MAAM,OAAO,CAAC;AAU7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAiBtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAQ5D,KAAK,kBAAkB,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsMhD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { FC } from "react";
2
+ import type { DeepPartial } from "@reillymc/es-utils";
3
+ import type { RatingIconVariant, RatingProps } from "../../../display/rating";
4
+ import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
5
+ import { type FieldComponentProps } from "../../field";
6
+ import type { RatingInputTheme } from "./RatingInput.theme";
7
+ export type RatingInputIcons = ComponentIconAssets<RatingIconVariant>;
8
+ export type RatingInputProps = FieldComponentProps & Pick<RatingProps, "max" | "value" | "scale"> & {
9
+ theme?: DeepPartial<RatingInputTheme>;
10
+ onChange?: (value: number) => void;
11
+ };
12
+ export declare const RatingInput: FC<RatingInputProps>;
13
+ //# sourceMappingURL=RatingInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RatingInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/RatingInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAS,KAAK,mBAAmB,EAAgB,MAAM,aAAa,CAAC;AAE5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAC9C,IAAI,CAAC,WAAW,EAAE,KAAK,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG;IAC3C,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEN,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAqB5C,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ColorValue } from "react-native";
2
+ import type { RatingIconVariant } from "../../../display/rating";
3
+ import type { ThemeFactory } from "../../../theme/theme";
4
+ export type RatingInputTheme = {
5
+ icon: {
6
+ color: Record<RatingIconVariant, ColorValue>;
7
+ };
8
+ };
9
+ export declare const defaultRatingInputTheme: ThemeFactory<"ratingInput">;
10
+ //# sourceMappingURL=RatingInput.theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RatingInput.theme.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/RatingInput.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE;QACF,KAAK,EAAE,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;KAChD,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,aAAa,CAM9D,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const animationConfig: {
2
+ easing: import("react-native-reanimated").EasingFunction;
3
+ duration: number;
4
+ scale: number;
5
+ };
6
+ export declare const calculateRating: (x: number, width: number, max: number) => number;
7
+ export declare const computeIconSize: (width: number | undefined, padding: number, height: number, max: number) => number;
8
+ export declare const KEYBOARD_STEP = 0.5;
9
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;CAI3B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,GAAG,MAAM,EAAE,OAAO,MAAM,EAAE,KAAK,MAAM,WASpE,CAAC;AAEF,eAAO,MAAM,eAAe,GACxB,OAAO,MAAM,GAAG,SAAS,EACzB,SAAS,MAAM,EACf,QAAQ,MAAM,EACd,KAAK,MAAM,WAQd,CAAC;AAEF,eAAO,MAAM,aAAa,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type { RatingInputIcons, RatingInputProps } from "./RatingInput";
2
+ export { RatingInput } from "./RatingInput";
3
+ export type { RatingInputTheme } from "./RatingInput.theme";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ import type { ValueItem } from "../valueItem";
3
+ import type { SelectionInputTheme } from "./SelectionInput.theme";
4
+ type SelectionControlProps<T> = {
5
+ placeholder?: string;
6
+ selectionMode: "single" | "multi";
7
+ selection?: ValueItem<T> | Array<ValueItem<T>>;
8
+ themeOverrides?: DeepPartial<SelectionInputTheme>;
9
+ onAdd?: () => void;
10
+ onRemoveItem?: (item: ValueItem<T> | undefined) => void;
11
+ };
12
+ export declare const SelectionControl: <T>({ placeholder, selectionMode, selection, themeOverrides, onAdd, onRemoveItem, }: SelectionControlProps<T>) => import("react").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=SelectionControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectionControl.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/selectionInput/SelectionControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAWtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,KAAK,qBAAqB,CAAC,CAAC,IAAI;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,QAAQ,GAAG,OAAO,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/C,cAAc,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAClD,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,iFAOlC,qBAAqB,CAAC,CAAC,CAAC,gCAgE1B,CAAC"}
@@ -0,0 +1,30 @@
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
3
+ import { type FieldComponentProps } from "../../field";
4
+ import type { ValueItem } from "../valueItem";
5
+ import type { SelectionInputTheme } from "./SelectionInput.theme";
6
+ export type SelectionInputIcons = ComponentIconAssets<"showOptions">;
7
+ interface SingleSelection<T> {
8
+ selectionMode: "single";
9
+ selection?: ValueItem<T>;
10
+ }
11
+ interface MultiSelection<T> {
12
+ selectionMode: "multi";
13
+ selection?: Array<ValueItem<T>>;
14
+ }
15
+ export type SelectionInputProps<T = string> = FieldComponentProps & {
16
+ placeholder?: string;
17
+ theme?: DeepPartial<SelectionInputTheme>;
18
+ onRemoveItem?: (item: ValueItem<T> | undefined) => void;
19
+ onAdd?: () => void;
20
+ } & (SingleSelection<T> | MultiSelection<T>);
21
+ /**
22
+ * Selection field with a full-surface press layer to trigger external
23
+ * picker UI flow.
24
+ */
25
+ export declare const SelectionInput: {
26
+ <T>({ placeholder, selectionMode, selection, theme: themeOverrides, onAdd, onRemoveItem, ...fieldProps }: SelectionInputProps<T>): import("react").JSX.Element;
27
+ displayName: string;
28
+ };
29
+ export {};
30
+ //# sourceMappingURL=SelectionInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectionInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/selectionInput/SelectionInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAS,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,aAAa,CAAC,CAAC;AAErE,UAAU,eAAe,CAAC,CAAC;IACvB,aAAa,EAAE,QAAQ,CAAC;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;CAC5B;AAED,UAAU,cAAc,CAAC,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;CACnC;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,MAAM,IAAI,mBAAmB,GAAG;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,cAAc;KAAI,CAAC,wGAQ7B,mBAAmB,CAAC,CAAC,CAAC;;CAWxB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ThemeFactory } from "../../../theme/theme";
2
+ export type SelectionInputTheme = {
3
+ selectionContainer: {
4
+ gap: number;
5
+ };
6
+ };
7
+ export declare const defaultSelectionInputTheme: ThemeFactory<"selectionInput">;
8
+ //# sourceMappingURL=SelectionInput.theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectionInput.theme.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/selectionInput/SelectionInput.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAC9B,kBAAkB,EAAE;QAChB,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,YAAY,CAAC,gBAAgB,CAMpE,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type { SelectionInputIcons, SelectionInputProps, } from "./SelectionInput";
2
+ export { SelectionInput } from "./SelectionInput";
3
+ export type { SelectionInputTheme } from "./SelectionInput.theme";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/selectionInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { type Ref } from "react";
2
+ import type { TextInput } from "react-native";
3
+ import type { FieldNumberInputProps } from "../../field";
4
+ type SegmentedInputSegment<K extends string = string> = {
5
+ key: K;
6
+ value: string;
7
+ };
8
+ type SegmentedInputProps = Omit<FieldNumberInputProps, "ref" | "onKeyPress" | "onSelectionChange" | "value">;
9
+ export type SegmentedInputDisplaySegment<K extends string = string> = SegmentedInputSegment<K> & {
10
+ separator?: string;
11
+ inputProps?: SegmentedInputProps;
12
+ };
13
+ export type SegmentedInputHandle = {
14
+ focus: () => void;
15
+ blur: () => void;
16
+ };
17
+ type SegmentedInputNavigationOptions<K extends string> = {
18
+ segments: readonly SegmentedInputSegment<K>[];
19
+ externalRefs?: Partial<Record<K, Ref<TextInput>>>;
20
+ onSubmitEditing?: FieldNumberInputProps["onSubmitEditing"];
21
+ finalReturnKeyType?: FieldNumberInputProps["returnKeyType"];
22
+ finalEnterKeyHint?: FieldNumberInputProps["enterKeyHint"];
23
+ finalSubmitBehavior?: FieldNumberInputProps["submitBehavior"];
24
+ };
25
+ /**
26
+ * Coordinates ordered field input slots. Tracks refs and selection, moves
27
+ * focus with ArrowLeft/ArrowRight at text edges and Backspace from empty
28
+ * slots, and preserves focus-ring modality.
29
+ *
30
+ * Next on non-final slots focuses the next slot without calling
31
+ * `onSubmitEditing`; the final slot uses the caller's return-key configuration
32
+ * and submits normally.
33
+ */
34
+ export declare const useSegmentedInputNavigation: <K extends string>({ segments, externalRefs, onSubmitEditing, finalReturnKeyType, finalEnterKeyHint, finalSubmitBehavior, }: SegmentedInputNavigationOptions<K>) => {
35
+ getSegmentInputProps: (key: K) => {
36
+ ref: (node: TextInput | null) => void;
37
+ onSelectionChange: (e: import("react-native").TextInputSelectionChangeEvent) => void;
38
+ onKeyPress: (e: import("react-native").TextInputKeyPressEvent) => void;
39
+ returnKeyType: import("react-native").ReturnKeyTypeOptions;
40
+ enterKeyHint: import("react-native").EnterKeyHintTypeOptions | undefined;
41
+ submitBehavior: import("react-native").SubmitBehavior | undefined;
42
+ onSubmitEditing: ((e: import("react-native").TextInputSubmitEditingEvent) => void) | undefined;
43
+ };
44
+ focusSegment: (key: K) => void;
45
+ blurSegments: () => void;
46
+ };
47
+ export {};
48
+ //# sourceMappingURL=useSegmentedInputNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSegmentedInputNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/shared/useSegmentedInputNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAqB,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,KAAK,qBAAqB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IACpD,GAAG,EAAE,CAAC,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,mBAAmB,GAAG,IAAI,CAC3B,qBAAqB,EACrB,KAAK,GAAG,YAAY,GAAG,mBAAmB,GAAG,OAAO,CACvD,CAAC;AAEF,MAAM,MAAM,4BAA4B,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAC9D,qBAAqB,CAAC,CAAC,CAAC,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AAEN,MAAM,MAAM,oBAAoB,GAAG;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AA4EF,KAAK,+BAA+B,CAAC,CAAC,SAAS,MAAM,IAAI;IACrD,QAAQ,EAAE,SAAS,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAClD,eAAe,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;IAC3D,kBAAkB,CAAC,EAAE,qBAAqB,CAAC,eAAe,CAAC,CAAC;IAC5D,iBAAiB,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAC;IAC1D,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;CACjE,CAAC;AAiBF;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,MAAM,EAAE,0GAO3D,+BAA+B,CAAC,CAAC,CAAC;gCA8EE,CAAC;oBA3EU,SAAS,GAAG,IAAI,KAAK,IAAI;;;;;;;;wBAwE5C,CAAC;;CA+C/B,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { type FC, type Ref } from "react";
2
+ import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
3
+ import { type FieldComponentProps, type FieldNumberInputProps } from "../../field";
4
+ import { type SegmentedInputHandle } from "../shared/useSegmentedInputNavigation";
5
+ export type TimeInputValue = {
6
+ hours: string;
7
+ minutes: string;
8
+ };
9
+ export type TimeInputHandle = SegmentedInputHandle & {
10
+ clear: () => void;
11
+ };
12
+ export type TimeInputIcons = ComponentIconAssets<"time">;
13
+ export type TimeInputPlaceholders = {
14
+ hours?: string;
15
+ minutes?: string;
16
+ };
17
+ export type TimeInputProps = FieldComponentProps & Pick<FieldNumberInputProps, "onSubmitEditing" | "returnKeyType" | "enterKeyHint" | "submitBehavior"> & {
18
+ value?: TimeInputValue;
19
+ placeholder?: TimeInputPlaceholders;
20
+ ref?: Ref<TimeInputHandle>;
21
+ onChange?: (e: TimeInputValue) => void;
22
+ };
23
+ /**
24
+ * Hours and minutes input.
25
+ *
26
+ * ArrowUp/ArrowDown step the focused segment; minute steps roll over. Segments
27
+ * use ArrowLeft/ArrowRight and Backspace navigation. The final segment uses
28
+ * `returnKeyType`, `enterKeyHint`, and `submitBehavior`.
29
+ */
30
+ export declare const TimeInput: FC<TimeInputProps>;
31
+ //# sourceMappingURL=TimeInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/timeInput/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAY,KAAK,GAAG,EAAuB,MAAM,OAAO,CAAC;AAGzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAG9E,OAAO,EAEH,KAAK,mBAAmB,EAGxB,KAAK,qBAAqB,EAG7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACH,KAAK,oBAAoB,EAE5B,MAAM,uCAAuC,CAAC;AAO/C,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhE,MAAM,MAAM,eAAe,GAAG,oBAAoB,GAAG;IACjD,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAC5C,IAAI,CACA,qBAAqB,EACrB,iBAAiB,GAAG,eAAe,GAAG,cAAc,GAAG,gBAAgB,CAC1E,GAAG;IACA,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEN;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAiGxC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { SegmentedInputDisplaySegment } from "../shared/useSegmentedInputNavigation";
2
+ import type { TimeInputPlaceholders, TimeInputValue } from "./TimeInput";
3
+ type TimeInputSegmentKey = "hours" | "minutes";
4
+ export type TimeInputSegment = SegmentedInputDisplaySegment<TimeInputSegmentKey>;
5
+ export declare const DEFAULT_TIME_VALUE: TimeInputValue;
6
+ export declare const TIME_SEGMENT_MAX_LENGTH = 2;
7
+ type TimeInputSegmentsOptions = {
8
+ value: TimeInputValue;
9
+ placeholder?: TimeInputPlaceholders;
10
+ onChange?: (e: TimeInputValue) => void;
11
+ };
12
+ export declare const getTimeInputSegments: ({ value, placeholder, onChange, }: TimeInputSegmentsOptions) => TimeInputSegment[];
13
+ export {};
14
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/timeInput/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,KAAK,mBAAmB,GAAG,OAAO,GAAG,SAAS,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GACxB,4BAA4B,CAAC,mBAAmB,CAAC,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,cAGhC,CAAC;AAEF,eAAO,MAAM,uBAAuB,IAAI,CAAC;AAOzC,KAAK,wBAAwB,GAAG;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,mCAIlC,wBAAwB,KAAG,gBAAgB,EAgE7C,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { TimeInputHandle, TimeInputIcons, TimeInputPlaceholders, TimeInputProps, TimeInputValue, } from "./TimeInput";
2
+ export { TimeInput } from "./TimeInput";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/timeInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,eAAe,EACf,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,cAAc,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ import type { IconComponentProps } from "../../../icons/IconComponentProps";
3
+ import type { ToggleAppearance, ToggleInputTheme } from "./ToggleInput.theme";
4
+ type ToggleControlProps<G extends string> = {
5
+ label?: string;
6
+ value: boolean;
7
+ onChange?: (value: boolean) => void;
8
+ appearance: ToggleAppearance;
9
+ themeOverrides?: DeepPartial<ToggleInputTheme>;
10
+ } & Partial<IconComponentProps<G>>;
11
+ export declare const ToggleControl: <G extends string>({ label, value, onChange, appearance, themeOverrides, iconSet, iconName, }: ToggleControlProps<G>) => import("react").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=ToggleControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleControl.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/toggleInput/ToggleControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAQ5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,KAAK,kBAAkB,CAAC,CAAC,SAAS,MAAM,IAAI;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,cAAc,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CAClD,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnC,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,EAAE,4EAQ7C,kBAAkB,CAAC,CAAC,CAAC,gCA2DvB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
3
+ import type { IconComponentProps } from "../../../icons/IconComponentProps";
4
+ import { type FieldComponentProps } from "../../field";
5
+ import type { ToggleAppearance, ToggleInputTheme } from "./ToggleInput.theme";
6
+ export type ToggleInputIcons = ComponentIconAssets<"outline" | "fill" | "check">;
7
+ export type ToggleInputProps<G extends string> = Omit<FieldComponentProps, "error" | "required" | "hideLabel"> & {
8
+ value?: boolean;
9
+ onChange?: (value: boolean) => void;
10
+ appearance?: ToggleAppearance;
11
+ theme?: DeepPartial<ToggleInputTheme>;
12
+ } & Partial<IconComponentProps<G>>;
13
+ /**
14
+ * Toggle field with an inline label.
15
+ *
16
+ * Selected toggles show the provided icon, or a built-in check when omitted.
17
+ */
18
+ export declare const ToggleInput: <G extends string>({ label, value, onChange, appearance, theme: themeOverrides, iconSet, iconName, ...fieldProps }: ToggleInputProps<G>) => import("react").JSX.Element;
19
+ //# sourceMappingURL=ToggleInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/toggleInput/ToggleInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAS,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAC9C,SAAS,GAAG,MAAM,GAAG,OAAO,CAC/B,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CACjD,mBAAmB,EACnB,OAAO,GAAG,UAAU,GAAG,WAAW,CACrC,GAAG;IACA,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACzC,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnC;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAAE,iGAS3C,gBAAgB,CAAC,CAAC,CAAC,gCAcrB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { ColorValue } from "react-native";
2
+ import type { ThemeFactory } from "../../../theme/theme";
3
+ import type { InputVariant } from "../../field";
4
+ export type ToggleAppearance = "primary" | "secondary";
5
+ export type ToggleInputTheme = {
6
+ indicator: {
7
+ surfaceSize: Record<InputVariant, number>;
8
+ iconSize: Record<InputVariant, number>;
9
+ color: {
10
+ selected: Record<ToggleAppearance, ColorValue>;
11
+ deselected: ColorValue;
12
+ icon: Record<ToggleAppearance, ColorValue>;
13
+ };
14
+ };
15
+ label: {
16
+ gap: number;
17
+ };
18
+ };
19
+ export declare const defaultToggleInputTheme: ThemeFactory<"toggleInput">;
20
+ //# sourceMappingURL=ToggleInput.theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleInput.theme.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/toggleInput/ToggleInput.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,WAAW,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,SAAS,EAAE;QACP,WAAW,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QAC1C,QAAQ,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QACvC,KAAK,EAAE;YACH,QAAQ,EAAE,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;YAC/C,UAAU,EAAE,UAAU,CAAC;YACvB,IAAI,EAAE,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;SAC9C,CAAC;KACL,CAAC;IACF,KAAK,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,aAAa,CA+B/D,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type { ToggleInputIcons, ToggleInputProps } from "./ToggleInput";
2
+ export { ToggleInput } from "./ToggleInput";
3
+ export type { ToggleInputTheme } from "./ToggleInput.theme";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/toggleInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valueItem.d.ts","sourceRoot":"","sources":["../../../../src/forms/input/valueItem.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,CAAC,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,CAAC,CAAC;CACZ,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GACvD,eAAe,CAAC,CAAC,CAAC,GAClB,gBAAgB,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ import { type IconBaseTheme } from "./IconBase";
3
+ import type { IconComponentProps } from "./IconComponentProps";
4
+ type IconSize = "small" | "medium" | "large";
5
+ export interface IconTheme {
6
+ color: IconBaseTheme["color"];
7
+ size: Record<IconSize, IconBaseTheme["size"]>;
8
+ }
9
+ export type IconProps = {
10
+ size?: IconSize;
11
+ theme?: DeepPartial<IconTheme>;
12
+ };
13
+ export declare const Icon: <G extends string>({ size, theme: themeOverrides, ...iconProps }: IconProps & IconComponentProps<G>) => import("react").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,KAAK,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7C,MAAM,WAAW,SAAS;IACtB,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;CACjD;AAED,MAAM,MAAM,SAAS,GAAG;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,EAAE,+CAIpC,SAAS,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCAMnC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThemeFactory } from "../theme/theme";
2
+ export declare const defaultIconTheme: ThemeFactory<"icon">;
3
+ //# sourceMappingURL=Icon.theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.theme.d.ts","sourceRoot":"","sources":["../../../src/icons/Icon.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,MAAM,CAOhD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { ColorValue } from "react-native";
2
+ import type { DeepPartial } from "@reillymc/es-utils";
3
+ import type { IconComponentProps } from "./IconComponentProps";
4
+ export interface IconBaseTheme {
5
+ color: ColorValue;
6
+ size: number;
7
+ }
8
+ export type IconBaseProps<G extends string> = IconComponentProps<G> & {
9
+ size?: IconBaseTheme["size"];
10
+ color?: IconBaseTheme["color"];
11
+ theme?: DeepPartial<IconBaseTheme>;
12
+ };
13
+ export declare const IconBase: <G extends string>({ iconSet: IconSet, iconName, size, color, theme: themeOverrides, }: IconBaseProps<G>) => import("react").JSX.Element;
14
+ //# sourceMappingURL=IconBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../src/icons/IconBase.tsx"],"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,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG;IAClE,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,MAAM,EAAE,qEAMxC,aAAa,CAAC,CAAC,CAAC,gCAUlB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThemeFactory } from "../theme/theme";
2
+ export declare const defaultIconBaseTheme: ThemeFactory<"iconBase">;
3
+ //# sourceMappingURL=IconBase.theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconBase.theme.d.ts","sourceRoot":"","sources":["../../../src/icons/IconBase.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,UAAU,CAMxD,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { IconSet } from "../../icons";
1
+ import type { IconSet } from "./base";
2
2
  export interface IconComponentProps<G extends string> {
3
3
  iconSet: IconSet<G>;
4
4
  iconName: G;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconComponentProps.d.ts","sourceRoot":"","sources":["../../../src/icons/IconComponentProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,MAAM;IAChD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACpB,QAAQ,EAAE,CAAC,CAAC;CACf"}
@@ -0,0 +1,2 @@
1
+ export type ComponentIconAssets<K extends string> = K;
2
+ //# sourceMappingURL=componentIconAssets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentIconAssets.d.ts","sourceRoot":"","sources":["../../../src/icons/componentIconAssets.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,CAAC"}
@@ -1,3 +1,5 @@
1
- export type { AnyIconSet, IconSet, IconSetGlyphMap, IconSetItemProps, } from "./base";
1
+ export type { IconSet, IconSetGlyphMap, IconSetItemProps } from "./base";
2
+ export { Icon, type IconProps } from "./Icon";
3
+ export type { IconComponentProps } from "./IconComponentProps";
2
4
  export { type UiIconName, UiIcons } from "./ui";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,UAAU,EACV,OAAO,EACP,eAAe,EACf,gBAAgB,GACnB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,KAAK,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { FC } from "react";
2
+ import type { IconSetItemProps } from "../base";
3
+ export declare const Check: FC<IconSetItemProps>;
4
+ //# sourceMappingURL=Check.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Check.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Check.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAOtC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { FC } from "react";
2
+ import type { IconSetItemProps } from "../base";
3
+ export declare const CircleFilled: FC<IconSetItemProps>;
4
+ //# sourceMappingURL=CircleFilled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CircleFilled.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/CircleFilled.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,gBAAgB,CAI7C,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { IconSet } from "../base";
2
- export type UiIconName = "exclamation" | "dash" | "plus" | "infinity" | "number" | "arrow-both" | "chevron-down" | "clock" | "circle" | "star-empty" | "star-half" | "star-full";
2
+ export type UiIconName = "exclamation" | "dash" | "plus" | "infinity" | "number" | "arrow-both" | "chevron-down" | "clock" | "circle" | "circle-filled" | "check" | "star-empty" | "star-half" | "star-full";
3
3
  export declare const UiIcons: IconSet<UiIconName>;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,SAAS,CAAC;AAcxD,MAAM,MAAM,UAAU,GAChB,aAAa,GACb,MAAM,GACN,MAAM,GACN,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,cAAc,GACd,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,WAAW,CAAC;AAiBlB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,UAAU,CAMvC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,SAAS,CAAC;AAgBxD,MAAM,MAAM,UAAU,GAChB,aAAa,GACb,MAAM,GACN,MAAM,GACN,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,cAAc,GACd,OAAO,GACP,QAAQ,GACR,eAAe,GACf,OAAO,GACP,YAAY,GACZ,WAAW,GACX,WAAW,CAAC;AAmBlB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,UAAU,CAMvC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { StyleSheet } from "react-native";
2
+ export type PropFilter<Props, Keys extends keyof Props> = Required<Pick<Props, Keys>>;
3
+ type StyleFactory<ThemeSlice, Props, T> = (theme: ThemeSlice, props: Props) => T & StyleSheet.NamedStyles<T>;
4
+ type StylesFactory<ThemeSlice, Props, T> = Props extends undefined ? (theme: ThemeSlice) => T : (theme: ThemeSlice, props: Props) => T;
5
+ export declare const defineStyles: <ThemeSlice, T extends StyleSheet.NamedStyles<T>, Props = undefined>(factory: StyleFactory<ThemeSlice, Props, T>) => StylesFactory<ThemeSlice, Props, T>;
6
+ export {};
7
+ //# sourceMappingURL=defineComponentStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defineComponentStyles.d.ts","sourceRoot":"","sources":["../../../src/internal/defineComponentStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,UAAU,CAAC,KAAK,EAAE,IAAI,SAAS,MAAM,KAAK,IAAI,QAAQ,CAC9D,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CACpB,CAAC;AAEF,KAAK,YAAY,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,IAAI,CACtC,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,KAAK,KACX,CAAC,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;AAEnC,KAAK,aAAa,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,IAAI,KAAK,SAAS,SAAS,GAC5D,CAAC,KAAK,EAAE,UAAU,KAAK,CAAC,GACxB,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC;AAE7C,eAAO,MAAM,YAAY,GACrB,UAAU,EACV,CAAC,SAAS,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,EACnC,KAAK,GAAG,SAAS,EAEjB,SAAS,YAAY,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC,KAGe,aAAa,CACnE,UAAU,EACV,KAAK,EACL,CAAC,CACJ,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { defineStyles, type PropFilter, } from "./defineComponentStyles";
2
+ export { useComponent } from "./useComponent";
3
+ export { focusPreservingFocusVisible, useFocusVisible, } from "./useFocusVisible";
4
+ export { useForwardedRef } from "./useForwardedRef";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/internal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,KAAK,UAAU,GAClB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACH,2BAA2B,EAC3B,eAAe,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { DeepPartial } from "@reillymc/es-utils";
2
+ import type { Icons } from "../theme/icons";
3
+ import type { Theme } from "../theme/theme";
4
+ type ComponentKey = keyof Theme | keyof Icons;
5
+ type ComponentTheme<K extends ComponentKey> = K extends keyof Theme ? Theme[K] : undefined;
6
+ type ComponentIcons<K extends ComponentKey> = K extends keyof Icons ? Icons[K] : undefined;
7
+ type ComponentOptions<K extends ComponentKey> = {
8
+ themeOverrides?: K extends keyof Theme ? DeepPartial<Theme[K]> : never;
9
+ };
10
+ type ComponentThemeOptions<K extends keyof Theme, T, Props> = {
11
+ themeOverrides?: DeepPartial<Theme[K]>;
12
+ createStyles?: (theme: Theme[K], props: Props) => T;
13
+ props?: Props;
14
+ };
15
+ export declare function useComponent<K extends keyof Theme, T = undefined, Props = undefined>(key: K, options?: ComponentThemeOptions<K, T, Props>): {
16
+ theme: Theme[K];
17
+ icons: ComponentIcons<K>;
18
+ styles: T;
19
+ };
20
+ export declare function useComponent<K extends ComponentKey>(key: K, options?: ComponentOptions<K>): {
21
+ theme: ComponentTheme<K>;
22
+ icons: ComponentIcons<K>;
23
+ styles: undefined;
24
+ };
25
+ export {};
26
+ //# sourceMappingURL=useComponent.d.ts.map