@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 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/TimeInput.tsx";var _excluded=["disabled","clearButtonMode","hoursPlaceholder","minutesPlaceholder","variant","value","onChange","onSubmitEditing"];function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o]);}return i;}function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n];}return t;}import{c as _c}from"react/compiler-runtime";import{useRef,useState}from"react";import{Pressable,StyleSheet}from"react-native";import{useThemedStyles}from"../../hooks";import{Text}from"../text";import{InputAction}from"./InputAction";import{InputBase}from"./InputBase";import{InputRowContainer}from"./InputRowContainer";import{InputScaffold}from"./InputScaffold";import{NumberInputBase}from"./NumberInputBase";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";var DEFAULT_TIME_VALUE={hours:"",minutes:""};export var TimeInput=t0=>{var $=_c(73);var baseProps;var clearButtonMode;var disabledProp;var hoursPlaceholder;var minutesPlaceholder;var onChange;var onSubmitEditing;var t1;var t2;if($[0]!==t0){disabledProp=t0.disabled;clearButtonMode=t0.clearButtonMode;hoursPlaceholder=t0.hoursPlaceholder;minutesPlaceholder=t0.minutesPlaceholder;t1=t0.variant;t2=t0.value;onChange=t0.onChange;onSubmitEditing=t0.onSubmitEditing;baseProps=_objectWithoutProperties(t0,_excluded);$[0]=t0;$[1]=baseProps;$[2]=clearButtonMode;$[3]=disabledProp;$[4]=hoursPlaceholder;$[5]=minutesPlaceholder;$[6]=onChange;$[7]=onSubmitEditing;$[8]=t1;$[9]=t2;}else{baseProps=$[1];clearButtonMode=$[2];disabledProp=$[3];hoursPlaceholder=$[4];minutesPlaceholder=$[5];onChange=$[6];onSubmitEditing=$[7];t1=$[8];t2=$[9];}var variant=t1===undefined?"regular":t1;var value=t2===undefined?DEFAULT_TIME_VALUE:t2;var disabled=disabledProp||!onChange;var hoursRef=useRef(null);var minutesRef=useRef(null);var t3;if($[10]!==variant){t3={props:{variant}};$[10]=variant;$[11]=t3;}else{t3=$[11];}var _useThemedStyles=useThemedStyles("timeInput",createStyles,t3),_useThemedStyles2=_slicedToArray(_useThemedStyles,2),styles=_useThemedStyles2[0],t4=_useThemedStyles2[1];var icons=t4.icons;var _useState=useState(false),_useState2=_slicedToArray(_useState,2),isFocused=_useState2[0],setIsFocused=_useState2[1];var t5;if($[12]===Symbol.for("react.memo_cache_sentinel")){t5=()=>hoursRef.current?.focus();$[12]=t5;}else{t5=$[12];}var t6;if($[13]!==disabled||$[14]!==icons.time||$[15]!==variant){t6=_jsx(InputAction,{...icons.time,variant:variant,disabled:disabled,onPress:t5});$[13]=disabled;$[14]=icons.time;$[15]=variant;$[16]=t6;}else{t6=$[16];}var t7=value?.hours;var t8;if($[17]!==onChange||$[18]!==value){t8=text=>onChange?.({...value,hours:text});$[17]=onChange;$[18]=value;$[19]=t8;}else{t8=$[19];}var t10;var t11;var t9;if($[20]===Symbol.for("react.memo_cache_sentinel")){t9=()=>setIsFocused(true);t10=()=>setIsFocused(false);t11=()=>minutesRef.current?.focus();$[20]=t10;$[21]=t11;$[22]=t9;}else{t10=$[20];t11=$[21];t9=$[22];}var t12;if($[23]!==clearButtonMode||$[24]!==disabled||$[25]!==hoursPlaceholder||$[26]!==styles.input||$[27]!==t7||$[28]!==t8||$[29]!==variant){t12=_jsx(NumberInputBase,{ref:hoursRef,disabled:disabled,placeholder:hoursPlaceholder,maxLength:2,clearButtonMode:clearButtonMode,value:t7,variant:variant,keyboardType:"number-pad",submitBehavior:"submit",returnKeyType:"next",inputStyle:styles.input,onChangeText:t8,onFocus:t9,onBlur:t10,onSubmitEditing:t11});$[23]=clearButtonMode;$[24]=disabled;$[25]=hoursPlaceholder;$[26]=styles.input;$[27]=t7;$[28]=t8;$[29]=variant;$[30]=t12;}else{t12=$[30];}var t13;if($[31]===Symbol.for("react.memo_cache_sentinel")){t13=()=>hoursRef.current?.focus();$[31]=t13;}else{t13=$[31];}var t14;if($[32]===Symbol.for("react.memo_cache_sentinel")){t14=_jsx(Text,{variant:"body",children:"h"});$[32]=t14;}else{t14=$[32];}var t15;if($[33]!==styles.timeLabel){t15=_jsx(Pressable,{onPress:t13,style:styles.timeLabel,children:t14});$[33]=styles.timeLabel;$[34]=t15;}else{t15=$[34];}var t16;if($[35]!==onChange||$[36]!==value){t16=text_0=>{var addToHours=text_0?Math.floor(Number.parseInt(text_0,10)/60):undefined;var remainingMinutes=text_0?Number.parseInt(text_0,10)%60:text_0;onChange?.({...value,hours:value.hours?(Number.parseInt(value.hours,10)+(addToHours??0)).toString():addToHours?.toString()??"",minutes:remainingMinutes.toString()});};$[35]=onChange;$[36]=value;$[37]=t16;}else{t16=$[37];}var t17;var t18;if($[38]===Symbol.for("react.memo_cache_sentinel")){t17=()=>setIsFocused(true);t18=()=>setIsFocused(false);$[38]=t17;$[39]=t18;}else{t17=$[38];t18=$[39];}var t19;if($[40]!==clearButtonMode||$[41]!==disabled||$[42]!==minutesPlaceholder||$[43]!==onSubmitEditing||$[44]!==styles.input||$[45]!==t16||$[46]!==value.minutes||$[47]!==variant){t19=_jsx(NumberInputBase,{ref:minutesRef,disabled:disabled,placeholder:minutesPlaceholder,value:value.minutes,maxLength:2,clearButtonMode:clearButtonMode,variant:variant,keyboardType:"number-pad",returnKeyType:"done",inputStyle:styles.input,onChangeText:t16,onFocus:t17,onBlur:t18,onSubmitEditing:onSubmitEditing});$[40]=clearButtonMode;$[41]=disabled;$[42]=minutesPlaceholder;$[43]=onSubmitEditing;$[44]=styles.input;$[45]=t16;$[46]=value.minutes;$[47]=variant;$[48]=t19;}else{t19=$[48];}var t20;var t21;if($[49]===Symbol.for("react.memo_cache_sentinel")){t20=()=>minutesRef.current?.focus();t21=_jsx(Text,{variant:"body",children:"m"});$[49]=t20;$[50]=t21;}else{t20=$[49];t21=$[50];}var t22;if($[51]!==styles.timeLabel){t22=_jsx(Pressable,{style:styles.timeLabel,onPress:t20,children:t21});$[51]=styles.timeLabel;$[52]=t22;}else{t22=$[52];}var t23=disabled||!isFocused?"never":"always";var t24=value.hours!==""||value.minutes!==""?" ":"";var t25;if($[53]!==onChange){t25=()=>onChange?.({hours:"",minutes:""});$[53]=onChange;$[54]=t25;}else{t25=$[54];}var t26;if($[55]!==disabled||$[56]!==styles.clearInput||$[57]!==t23||$[58]!==t24||$[59]!==t25||$[60]!==variant){t26=_jsx(InputBase,{clearButtonMode:t23,value:t24,selectionColor:"transparent",focusable:false,autoComplete:"off",variant:variant,caretHidden:true,contextMenuHidden:true,disabled:disabled,showSoftInputOnFocus:false,inputStyle:styles.clearInput,onFocus:t25});$[55]=disabled;$[56]=styles.clearInput;$[57]=t23;$[58]=t24;$[59]=t25;$[60]=variant;$[61]=t26;}else{t26=$[61];}var t27;if($[62]!==disabled||$[63]!==t12||$[64]!==t15||$[65]!==t19||$[66]!==t22||$[67]!==t26||$[68]!==t6){t27=_jsxs(InputRowContainer,{disabled:disabled,children:[t6,t12,t15,t19,t22,t26]});$[62]=disabled;$[63]=t12;$[64]=t15;$[65]=t19;$[66]=t22;$[67]=t26;$[68]=t6;$[69]=t27;}else{t27=$[69];}var t28;if($[70]!==baseProps||$[71]!==t27){t28=_jsx(InputScaffold,{...baseProps,children:t27});$[70]=baseProps;$[71]=t27;$[72]=t28;}else{t28=$[72];}return t28;};var createStyles=({styles:{inputBase}},{variant})=>StyleSheet.create({input:{flexGrow:1,flexBasis:0,textAlign:"right"},clearInput:{flexShrink:1,marginStart:inputBase.container.padding},timeLabel:{minHeight:inputBase.container.height[variant],justifyContent:"center"}});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/ToggleInput.tsx";var _excluded=["label","helpText","value","toggleVariant","containerStyle","variant","disabled","style","onChange"];function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o]);}return i;}function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n];}return t;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{ActionBase,StateTint}from"../action";import{IconBase}from"../icon";import{Text}from"../text";import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from"react/jsx-runtime";export var ToggleInput=t0=>{var $=_c(46);var containerStyle;var disabledProp;var helpText;var iconProps;var label;var onChange;var styleOverrides;var t1;var t2;var t3;if($[0]!==t0){label=t0.label;helpText=t0.helpText;t1=t0.value;t2=t0.toggleVariant;containerStyle=t0.containerStyle;t3=t0.variant;disabledProp=t0.disabled;styleOverrides=t0.style;onChange=t0.onChange;iconProps=_objectWithoutProperties(t0,_excluded);$[0]=t0;$[1]=containerStyle;$[2]=disabledProp;$[3]=helpText;$[4]=iconProps;$[5]=label;$[6]=onChange;$[7]=styleOverrides;$[8]=t1;$[9]=t2;$[10]=t3;}else{containerStyle=$[1];disabledProp=$[2];helpText=$[3];iconProps=$[4];label=$[5];onChange=$[6];styleOverrides=$[7];t1=$[8];t2=$[9];t3=$[10];}var value=t1===undefined?false:t1;var toggleVariant=t2===undefined?"primary":t2;var variant=t3===undefined?"regular":t3;var disabled=disabledProp||!onChange;var t4;if($[11]!==styleOverrides){t4={toggleInput:styleOverrides};$[11]=styleOverrides;$[12]=t4;}else{t4=$[12];}var t5;if($[13]!==variant){t5={variant};$[13]=variant;$[14]=t5;}else{t5=$[14];}var t6;if($[15]!==t4||$[16]!==t5){t6={styles:t4,props:t5};$[15]=t4;$[16]=t5;$[17]=t6;}else{t6=$[17];}var _useThemedStyles=useThemedStyles("toggleInput",createStyles,t6),_useThemedStyles2=_slicedToArray(_useThemedStyles,2),styles=_useThemedStyles2[0],t7=_useThemedStyles2[1];var toggleInput=t7.style,icons=t7.icons;var deselectedColor=disabled?toggleInput.indicator.color.deselected.disabled:toggleInput.indicator.color.deselected.enabled;var t8;if($[18]!==onChange||$[19]!==value){t8=()=>onChange(!value);$[18]=onChange;$[19]=value;$[20]=t8;}else{t8=$[20];}var t9;if($[21]!==deselectedColor||$[22]!==disabled||$[23]!==helpText||$[24]!==iconProps||$[25]!==icons.outline||$[26]!==label||$[27]!==styles.disabledLabel||$[28]!==styles.helpText||$[29]!==styles.icon||$[30]!==styles.iconContainer||$[31]!==styles.labelIconContainer||$[32]!==toggleInput.indicator.color.selected||$[33]!==toggleInput.indicator.size||$[34]!==toggleVariant||$[35]!==value||$[36]!==variant){t9=state=>_jsxs(_Fragment,{children:[_jsxs(StateTint,{...state,style:styles.labelIconContainer,children:[_jsxs(View,{style:styles.iconContainer,children:[_jsx(IconBase,{...icons.outline,size:toggleInput.indicator.size[variant],color:value?toggleInput.indicator.color.selected[toggleVariant]:deselectedColor}),_jsx(View,{style:styles.icon,children:!!value&&_jsx(IconBase,{...iconProps,size:toggleInput.indicator.size[variant],color:toggleInput.indicator.color.selected[toggleVariant]})})]}),label&&_jsx(Text,{variant:"label",style:disabled?styles.disabledLabel:undefined,children:label})]}),helpText&&_jsx(View,{style:styles.helpText,children:typeof helpText==="string"?_jsx(Text,{variant:"caption",children:helpText}):helpText})]});$[21]=deselectedColor;$[22]=disabled;$[23]=helpText;$[24]=iconProps;$[25]=icons.outline;$[26]=label;$[27]=styles.disabledLabel;$[28]=styles.helpText;$[29]=styles.icon;$[30]=styles.iconContainer;$[31]=styles.labelIconContainer;$[32]=toggleInput.indicator.color.selected;$[33]=toggleInput.indicator.size;$[34]=toggleVariant;$[35]=value;$[36]=variant;$[37]=t9;}else{t9=$[37];}var t10;if($[38]!==disabled||$[39]!==styles.container||$[40]!==t8||$[41]!==t9){t10=_jsx(ActionBase,{disabled:disabled,hitSlop:20,containerStyle:styles.container,onPress:t8,children:t9});$[38]=disabled;$[39]=styles.container;$[40]=t8;$[41]=t9;$[42]=t10;}else{t10=$[42];}var t11;if($[43]!==containerStyle||$[44]!==t10){t11=_jsx(View,{style:containerStyle,children:t10});$[43]=containerStyle;$[44]=t10;$[45]=t11;}else{t11=$[45];}return t11;};var createStyles=({styles:{toggleInput,inputScaffold,inputBase}},{variant})=>{var styles=StyleSheet.create({container:{justifyContent:"center"},disabledLabel:{color:inputBase.text.color.disabled},labelIconContainer:{flexDirection:"row",alignItems:"center",gap:toggleInput.label.gap},iconContainer:{width:toggleInput.indicator.size[variant],height:toggleInput.indicator.size[variant]},icon:{position:"absolute",alignSelf:"center"},helpText:{marginStart:toggleInput.indicator.size[variant]+toggleInput.label.gap,marginTop:inputScaffold.gap}});return styles;};
@@ -1 +0,0 @@
1
- import{defaultActionStyles}from"../action/Action.styles";import{defaultIconStyles}from"../icon/Icon.styles";export var defaultToggleInputStyles=theme=>{var color=theme.color,spacing=theme.spacing;var icon=defaultIconStyles(theme);var action=defaultActionStyles(theme);return{indicator:{size:{compact:icon.size.small,regular:icon.size.medium},color:{selected:action.label.color,deselected:{enabled:color.border,disabled:color.muted}}},label:{gap:spacing.small}};};
@@ -1 +0,0 @@
1
- export{CounterInput}from"./CounterInput";export{DropdownInput}from"./DropdownInput";export{DropdownInputBase}from"./DropdownInputBase";export{InputAction}from"./InputAction";export{InputBase}from"./InputBase";export{InputRowContainer}from"./InputRowContainer";export{InputScaffold}from"./InputScaffold";export{NumberInput}from"./NumberInput";export{RatingInput}from"./RatingInput";export{SelectionInput}from"./SelectionInput";export{TextInput}from"./TextInput";export{TimeInput}from"./TimeInput";export{ToggleInput}from"./ToggleInput";
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/listItem/ListItem.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{Undefined}from"@reillymc/es-utils";import{useThemedStyles}from"../../hooks";import{ActionBase}from"../action";import{SwipeableContainer}from"../swipe";import{Text}from"../text";import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from"react/jsx-runtime";var EMPTY_CONTENT_ROWS=[];export var ListItem=t0=>{var $=_c(38);var avatar=t0.avatar,alert=t0.alert,heading=t0.heading,footer=t0.footer,header=t0.header,t1=t0.variant,t2=t0.contentRows,swipeActions=t0.swipeActions,style=t0.style,contentContainerStyle=t0.contentContainerStyle,onPress=t0.onPress;var variant=t1===undefined?"default":t1;var contentRows=t2===undefined?EMPTY_CONTENT_ROWS:t2;var t3;if($[0]!==contentRows){t3=contentRows.filter(Undefined);$[0]=contentRows;$[1]=t3;}else{t3=$[1];}var filteredRows=t3;var t4;if($[2]!==swipeActions){t4=swipeActions?.filter(Undefined);$[2]=swipeActions;$[3]=t4;}else{t4=$[3];}var filteredActions=t4;var t5;if($[4]!==variant){t5={props:{variant}};$[4]=variant;$[5]=t5;}else{t5=$[5];}var _useThemedStyles=useThemedStyles("listItem",createStyles,t5),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t6;if($[6]!==contentContainerStyle||$[7]!==styles.contentContainer){t6=[styles.contentContainer,contentContainerStyle];$[6]=contentContainerStyle;$[7]=styles.contentContainer;$[8]=t6;}else{t6=$[8];}var t7;if($[9]!==heading){t7=!!heading&&typeof heading==="string"?_jsx(Text,{variant:"heading",numberOfLines:2,children:heading}):heading;$[9]=heading;$[10]=t7;}else{t7=$[10];}var t8;if($[11]!==filteredRows||$[12]!==t6||$[13]!==t7){t8=_jsxs(View,{style:t6,children:[t7,filteredRows]});$[11]=filteredRows;$[12]=t6;$[13]=t7;$[14]=t8;}else{t8=$[14];}var t9;if($[15]!==avatar||$[16]!==styles.innerContainer||$[17]!==t8){t9=_jsxs(View,{style:styles.innerContainer,children:[avatar,t8]});$[15]=avatar;$[16]=styles.innerContainer;$[17]=t8;$[18]=t9;}else{t9=$[18];}var t10;if($[19]!==alert||$[20]!==styles.bodyContainer||$[21]!==t9){t10=_jsxs(View,{style:styles.bodyContainer,children:[t9,alert]});$[19]=alert;$[20]=styles.bodyContainer;$[21]=t9;$[22]=t10;}else{t10=$[22];}var t11;if($[23]!==footer||$[24]!==header||$[25]!==t10){t11=_jsxs(_Fragment,{children:[header,t10,footer]});$[23]=footer;$[24]=header;$[25]=t10;$[26]=t11;}else{t11=$[26];}var content=t11;var t12;if($[27]!==content||$[28]!==onPress||$[29]!==style||$[30]!==styles.pressableContainer){t12=onPress?_jsx(ActionBase,{hitSlop:0,onPress:onPress,containerStyle:[styles.pressableContainer,style],children:content}):_jsx(View,{style:[styles.pressableContainer,style],children:content});$[27]=content;$[28]=onPress;$[29]=style;$[30]=styles.pressableContainer;$[31]=t12;}else{t12=$[31];}var innerContent=t12;var t13;if($[32]!==filteredActions||$[33]!==innerContent){t13=filteredActions?.length?_jsx(SwipeableContainer,{rightActions:filteredActions,children:_jsx(View,{children:innerContent})}):innerContent;$[32]=filteredActions;$[33]=innerContent;$[34]=t13;}else{t13=$[34];}var t14;if($[35]!==styles.container||$[36]!==t13){t14=_jsx(View,{style:styles.container,children:t13});$[35]=styles.container;$[36]=t13;$[37]=t14;}else{t14=$[37];}return t14;};var createStyles=({styles:{listItem},theme},{variant})=>StyleSheet.create({container:{backgroundColor:theme.color.background,borderRadius:variant==="compact"?undefined:listItem.borderRadius,overflow:"hidden",width:"100%"},pressableContainer:{display:"flex",flexDirection:"column",backgroundColor:theme.color.surface,borderRadius:variant==="compact"?undefined:listItem.borderRadius},bodyContainer:{flexDirection:"row",justifyContent:"space-between"},innerContainer:{flexDirection:"row",flexShrink:1},contentContainer:{flexShrink:1,flexDirection:"column",alignItems:"flex-start",justifyContent:"center",width:"100%",padding:listItem.internalSpacing}});
@@ -1 +0,0 @@
1
- export var defaultListItemStyles=({border})=>({spacingMargin:12,internalSpacing:16,borderRadius:border.radius.loose,contentItemSpacing:8,contentItemTopMargin:4});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/listItem/ListItemAlert.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{jsx as _jsx}from"react/jsx-runtime";export var ListItemAlert=t0=>{var $=_c(3);var children=t0.children;var _useThemedStyles=useThemedStyles("listItem",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t1;if($[0]!==children||$[1]!==styles.alert){t1=_jsx(View,{style:styles.alert,children:children});$[0]=children;$[1]=styles.alert;$[2]=t1;}else{t1=$[2];}return t1;};var createStyles=({styles:{listItem}})=>StyleSheet.create({alert:{alignItems:"center",justifyContent:"center",marginStart:listItem.spacingMargin,marginEnd:listItem.internalSpacing}});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/listItem/ListItemAvatar.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{jsx as _jsx}from"react/jsx-runtime";export var ListItemAvatar=t0=>{var $=_c(3);var children=t0.children;var _useThemedStyles=useThemedStyles("listItem",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t1;if($[0]!==children||$[1]!==styles.avatar){t1=_jsx(View,{style:styles.avatar,children:children});$[0]=children;$[1]=styles.avatar;$[2]=t1;}else{t1=$[2];}return t1;};var createStyles=({styles:{listItem}})=>StyleSheet.create({avatar:{alignItems:"center",justifyContent:"center",marginStart:listItem.internalSpacing}});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/listItem/ListItemFooter.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{jsx as _jsx}from"react/jsx-runtime";export var ListItemFooter=t0=>{var $=_c(3);var children=t0.children;var _useThemedStyles=useThemedStyles("listItem",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t1;if($[0]!==children||$[1]!==styles.footer){t1=_jsx(View,{style:styles.footer,children:children});$[0]=children;$[1]=styles.footer;$[2]=t1;}else{t1=$[2];}return t1;};var createStyles=({styles:{listItem}})=>StyleSheet.create({footer:{display:"flex",marginBottom:listItem.internalSpacing,marginStart:listItem.internalSpacing,marginEnd:listItem.internalSpacing}});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/listItem/ListItemRow.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{Undefined}from"@reillymc/es-utils";import{useThemedStyles}from"../../hooks";import{Text}from"../text";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var ListItemRow=t0=>{var $=_c(10);var contentItems=t0.contentItems;var _useThemedStyles=useThemedStyles("listItem",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var T0;var t1;var t2;if($[0]!==contentItems||$[1]!==styles.contentItem||$[2]!==styles.spacer){var items=(Array.isArray(contentItems)?contentItems:[contentItems]).filter(Undefined);T0=View;t1=styles.contentItem;t2=items.map((item,index)=>_jsxs(View,{style:styles.contentItem,children:[item,index<items.length-1&&_jsx(Text,{style:styles.spacer,children:"\xB7"})]},item.key??`content-item-${index}`));$[0]=contentItems;$[1]=styles.contentItem;$[2]=styles.spacer;$[3]=T0;$[4]=t1;$[5]=t2;}else{T0=$[3];t1=$[4];t2=$[5];}var t3;if($[6]!==T0||$[7]!==t1||$[8]!==t2){t3=_jsx(T0,{style:t1,children:t2});$[6]=T0;$[7]=t1;$[8]=t2;$[9]=t3;}else{t3=$[9];}return t3;};var createStyles=({styles:{listItem}})=>StyleSheet.create({contentItem:{flexDirection:"row",flexShrink:1},spacer:{marginHorizontal:listItem.contentItemSpacing}});
@@ -1 +0,0 @@
1
- export{ListItem}from"./ListItem";export{ListItemAlert}from"./ListItemAlert";export{ListItemAvatar}from"./ListItemAvatar";export{ListItemFooter}from"./ListItemFooter";export{ListItemRow}from"./ListItemRow";
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/menu/Menu.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{jsx as _jsx}from"react/jsx-runtime";export var Menu=t0=>{var $=_c(10);var style=t0.style,reverse=t0.reverse,children=t0.children;var t1;if($[0]!==style){t1={styles:{menu:style}};$[0]=style;$[1]=t1;}else{t1=$[1];}var _useThemedStyles=useThemedStyles("menu",createStyles,t1),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t2=reverse?"column-reverse":"column";var t3;if($[2]!==t2){t3={flexDirection:t2};$[2]=t2;$[3]=t3;}else{t3=$[3];}var t4;if($[4]!==styles.container||$[5]!==t3){t4=[styles.container,t3];$[4]=styles.container;$[5]=t3;$[6]=t4;}else{t4=$[6];}var t5;if($[7]!==children||$[8]!==t4){t5=_jsx(View,{style:t4,children:children});$[7]=children;$[8]=t4;$[9]=t5;}else{t5=$[9];}return t5;};var createStyles=({theme:{color},styles:{menu}})=>{var styles=StyleSheet.create({container:{backgroundColor:menu.backgroundColor,borderRadius:menu.borderRadius,padding:menu.padding,gap:menu.gap,borderWidth:StyleSheet.hairlineWidth,borderColor:color.border}});return styles;};
@@ -1 +0,0 @@
1
- import{defaultInputBaseStyles}from"../input/InputBase.styles";export var defaultMenuStyles=theme=>{var inputBase=defaultInputBaseStyles(theme);return{backgroundColor:theme.color.elevated,borderRadius:inputBase.container.borderRadius,gap:theme.spacing.tiny,padding:theme.spacing.tiny,parentMargin:theme.spacing.medium};};
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/menu/MenuItem.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet}from"react-native";import{useThemedStyles}from"../../hooks";import{InteractionSurface}from"../surface";import{HighlightedText}from"../text";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var MenuItem=t0=>{var $=_c(11);var label=t0.label,description=t0.description,searchValue=t0.searchValue,onPress=t0.onPress;var _useThemedStyles=useThemedStyles("menuItem",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t1;if($[0]!==label||$[1]!==searchValue){t1=_jsx(HighlightedText,{text:label,highlight:searchValue});$[0]=label;$[1]=searchValue;$[2]=t1;}else{t1=$[2];}var t2;if($[3]!==description||$[4]!==searchValue){t2=!!description&&_jsx(HighlightedText,{variant:"caption",text:description,highlight:searchValue});$[3]=description;$[4]=searchValue;$[5]=t2;}else{t2=$[5];}var t3;if($[6]!==onPress||$[7]!==styles.dropdownItem||$[8]!==t1||$[9]!==t2){t3=_jsxs(InteractionSurface,{hitSlop:0,onPress:onPress,containerStyle:styles.dropdownItem,children:[t1,t2]});$[6]=onPress;$[7]=styles.dropdownItem;$[8]=t1;$[9]=t2;$[10]=t3;}else{t3=$[10];}return t3;};MenuItem.displayName="MenuItem";var createStyles=({styles:{menuItem}})=>StyleSheet.create({dropdownItem:menuItem});
@@ -1 +0,0 @@
1
- import{defaultInputBaseStyles}from"../input/InputBase.styles";import{defaultMenuStyles}from"./Menu.styles";export var defaultMenuItemStyles=theme=>{var inputBase=defaultInputBaseStyles(theme);var menu=defaultMenuStyles(theme);return{paddingHorizontal:inputBase.container.padding-menu.padding,paddingVertical:theme.spacing.small+theme.spacing.tiny,borderRadius:menu.borderRadius/2};};
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/rating/Rating.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{IconBase}from"../icon";import{getRatingIcons,valueToRating}from"./ratingUtils";import{jsx as _jsx}from"react/jsx-runtime";export var Rating=t0=>{var $=_c(16);var t1=t0.value,t2=t0.max,scale=t0.scale,styleOverrides=t0.style,containerStyle=t0.containerStyle;var value=t1===undefined?0:t1;var max=t2===undefined?5:t2;var t3;if($[0]!==styleOverrides){t3={styles:{rating:styleOverrides}};$[0]=styleOverrides;$[1]=t3;}else{t3=$[1];}var _useThemedStyles=useThemedStyles("rating",createStyles,t3),_useThemedStyles2=_slicedToArray(_useThemedStyles,2),styles=_useThemedStyles2[0],t4=_useThemedStyles2[1];var style=t4.style,icons=t4.icons;var t5;if($[2]!==containerStyle||$[3]!==icons||$[4]!==max||$[5]!==scale||$[6]!==style||$[7]!==styles.starRating||$[8]!==value){var scaledRating=scale?valueToRating(value,max,scale):value;var t6;if($[10]!==containerStyle||$[11]!==styles.starRating){t6=[styles.starRating,containerStyle];$[10]=containerStyle;$[11]=styles.starRating;$[12]=t6;}else{t6=$[12];}var t7;if($[13]!==icons||$[14]!==style){t7=(variant,i)=>_jsx(IconBase,{...icons[variant],size:style.icon.size,color:style.icon.color[variant]},i);$[13]=icons;$[14]=style;$[15]=t7;}else{t7=$[15];}t5=_jsx(View,{style:t6,accessibilityLabel:`star rating. ${scaledRating} of ${max}.`,children:getRatingIcons(scaledRating,max).map(t7)});$[2]=containerStyle;$[3]=icons;$[4]=max;$[5]=scale;$[6]=style;$[7]=styles.starRating;$[8]=value;$[9]=t5;}else{t5=$[9];}return t5;};var createStyles=({styles:{rating}})=>StyleSheet.create({starRating:{flexDirection:"row",gap:rating.gap}});
@@ -1 +0,0 @@
1
- import{defaultIconStyles}from"../icon/Icon.styles";export var defaultRatingStyles=theme=>({gap:theme.spacing.tiny,icon:{color:{empty:theme.color.mutedForeground,half:theme.color.primary,full:theme.color.primary},size:defaultIconStyles(theme).size.large}});
@@ -1 +0,0 @@
1
- export{Rating}from"./Rating";export{getRatingIcons,ratingToValue,valueToRating}from"./ratingUtils";
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/surface/InteractionSurface.tsx";var _excluded=["children"];function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o]);}return i;}function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n];}return t;}import{c as _c}from"react/compiler-runtime";import{ActionBase}from"../action";import{StateLayer}from"./StateLayer";import{jsx as _jsx,Fragment as _Fragment,jsxs as _jsxs}from"react/jsx-runtime";export var InteractionSurface=t0=>{var $=_c(8);var children;var props;if($[0]!==t0){children=t0.children;props=_objectWithoutProperties(t0,_excluded);$[0]=t0;$[1]=children;$[2]=props;}else{children=$[1];props=$[2];}var t1;if($[3]!==children){t1=state=>_jsxs(_Fragment,{children:[_jsx(StateLayer,{...state}),children]});$[3]=children;$[4]=t1;}else{t1=$[4];}var t2;if($[5]!==props||$[6]!==t1){t2=_jsx(ActionBase,{...props,children:t1});$[5]=props;$[6]=t1;$[7]=t2;}else{t2=$[7];}return t2;};
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/surface/StateLayer.tsx";import{c as _c}from"react/compiler-runtime";import{StyleSheet}from"react-native";import Animated,{useAnimatedStyle,withTiming}from"react-native-reanimated";import{useTheme}from"../../hooks";import{jsx as _jsx}from"react/jsx-runtime";export var StateLayer=t0=>{var $=_c(6);var pressed=t0.pressed,hovered=t0.hovered,style=t0.style;var _useTheme=useTheme(),t1=_useTheme.styles;var stateLayer=t1.stateLayer;var color=stateLayer.color,hoverOpacity=stateLayer.hoverOpacity,pressedOpacity=stateLayer.pressedOpacity;var target=pressed?pressedOpacity:hovered?hoverOpacity:0;var duration=pressed?50:100;var animatedStyle=useAnimatedStyle(()=>({opacity:withTiming(target,{duration})}),[target,duration]);var t2;if($[0]!==color){t2={backgroundColor:color};$[0]=color;$[1]=t2;}else{t2=$[1];}var t3;if($[2]!==animatedStyle||$[3]!==style||$[4]!==t2){t3=_jsx(Animated.View,{pointerEvents:"none",style:[StyleSheet.absoluteFill,t2,animatedStyle,style]});$[2]=animatedStyle;$[3]=style;$[4]=t2;$[5]=t3;}else{t3=$[5];}return t3;};
@@ -1 +0,0 @@
1
- export var defaultStateLayerStyles=({color})=>({color:color.foreground,hoverOpacity:0.08,pressedOpacity:0.1});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/swipe/SwipeAction.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet}from"react-native";import{useThemedStyles}from"../../hooks";import{IconButton}from"../button";import{jsx as _jsx}from"react/jsx-runtime";export var SwipeAction=props=>{var $=_c(3);var _useThemedStyles=useThemedStyles("swipeAction",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t0;if($[0]!==props||$[1]!==styles.actionButton){t0=_jsx(IconButton,{...props,appearance:"prominent",containerStyle:styles.actionButton});$[0]=props;$[1]=styles.actionButton;$[2]=t0;}else{t0=$[2];}return t0;};var createStyles=({styles:{swipeAction}})=>StyleSheet.create({actionButton:{height:"100%",alignItems:"center",justifyContent:"center",borderRadius:0,width:swipeAction.width}});
@@ -1 +0,0 @@
1
- export var defaultSwipeActionStyles=_theme=>({width:75});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/swipe/SwipeableContainer.tsx";import{c as _c}from"react/compiler-runtime";import{Children,useRef}from"react";import{StyleSheet,View}from"react-native";import Swipeable from"react-native-gesture-handler/ReanimatedSwipeable";import{jsx as _jsx}from"react/jsx-runtime";var EMPTY_ACTIONS=[];export var SwipeableContainer=t0=>{var $=_c(11);var t1=t0.rightActions,containerStyle=t0.containerStyle,children=t0.children;var rightActions=t1===undefined?EMPTY_ACTIONS:t1;var swipeableRef=useRef(null);var t2;if($[0]===Symbol.for("react.memo_cache_sentinel")){t2=()=>{swipeableRef.current?.close();};$[0]=t2;}else{t2=$[0];}var close=t2;var t3;if($[1]!==rightActions){t3=()=>_jsx(View,{style:styles.actionsContainer,children:Children.map(rightActions,action=>_jsx(View,{onTouchEnd:close,children:action}))});$[1]=rightActions;$[2]=t3;}else{t3=$[2];}var renderRightActions=t3;if(rightActions.length===0){var _t;if($[3]!==children||$[4]!==containerStyle){_t=_jsx(View,{style:containerStyle,children:children});$[3]=children;$[4]=containerStyle;$[5]=_t;}else{_t=$[5];}return _t;}var t4;if($[6]===Symbol.for("react.memo_cache_sentinel")){t4={left:-20,right:-20};$[6]=t4;}else{t4=$[6];}var t5;if($[7]!==children||$[8]!==containerStyle||$[9]!==renderRightActions){t5=_jsx(Swipeable,{hitSlop:t4,ref:swipeableRef,renderRightActions:renderRightActions,enableTrackpadTwoFingerGesture:true,friction:1.5,overshootRight:false,containerStyle:containerStyle,children:children});$[7]=children;$[8]=containerStyle;$[9]=renderRightActions;$[10]=t5;}else{t5=$[10];}return t5;};var styles=StyleSheet.create({actionsContainer:{display:"flex",flexDirection:"row-reverse"}});
@@ -1 +0,0 @@
1
- export{SwipeAction}from"./SwipeAction";export{SwipeableContainer}from"./SwipeableContainer";
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/tag/Tag.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{ActionBase}from"../action";import{Text}from"../text";import{jsx as _jsx,Fragment as _Fragment,jsxs as _jsxs}from"react/jsx-runtime";export var Tag=t0=>{var $=_c(16);var label=t0.label,onPress=t0.onPress,icon=t0.icon,variant=t0.variant,style=t0.style;var t1;if($[0]!==label||$[1]!==variant){t1={props:{variant,label}};$[0]=label;$[1]=variant;$[2]=t1;}else{t1=$[2];}var _useThemedStyles=useThemedStyles("tag",createStyles,t1),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t2;if($[3]!==label||$[4]!==styles.text){t2=_jsx(Text,{style:styles.text,children:label});$[3]=label;$[4]=styles.text;$[5]=t2;}else{t2=$[5];}var t3;if($[6]!==icon||$[7]!==t2){t3=_jsxs(_Fragment,{children:[icon,t2]});$[6]=icon;$[7]=t2;$[8]=t3;}else{t3=$[8];}var content=t3;var t4;if($[9]!==style||$[10]!==styles.container){t4=[styles.container,style];$[9]=style;$[10]=styles.container;$[11]=t4;}else{t4=$[11];}var containerStyle=t4;var t5;if($[12]!==containerStyle||$[13]!==content||$[14]!==onPress){t5=onPress?_jsx(ActionBase,{onPress:onPress,containerStyle:containerStyle,children:content}):_jsx(View,{style:containerStyle,children:content});$[12]=containerStyle;$[13]=content;$[14]=onPress;$[15]=t5;}else{t5=$[15];}return t5;};var createStyles=({theme:{color},styles:{tag}},{variant="dark"})=>{var styles=StyleSheet.create({container:{display:"flex",flexDirection:"row",alignItems:"center",borderRadius:tag.borderRadius,padding:tag.padding,backgroundColor:variant==="dark"?color.background:color.surface,width:"auto",gap:tag.internalSpacing},text:{color:color.foreground}});return styles;};
@@ -1 +0,0 @@
1
- export var defaultTagStyles=({border,spacing})=>({borderRadius:border.radius.loose,internalSpacing:spacing.small,padding:spacing.small});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/tag/TagIcon.tsx";function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t);}import{c as _c}from"react/compiler-runtime";import{useTheme}from"../../hooks";import{IconBase}from"../icon";import{jsx as _jsx}from"react/jsx-runtime";export var TagIcon=t0=>{var $=_c(6);var iconProps;if($[0]!==t0){iconProps=Object.assign({},(_objectDestructuringEmpty(t0),t0));$[0]=t0;$[1]=iconProps;}else{iconProps=$[1];}var _useTheme=useTheme(),theme=_useTheme.theme,styles=_useTheme.styles;var t1;if($[2]!==iconProps||$[3]!==styles.text.font.body.size||$[4]!==theme.color.foreground){t1=_jsx(IconBase,{...iconProps,color:theme.color.foreground,size:styles.text.font.body.size});$[2]=iconProps;$[3]=styles.text.font.body.size;$[4]=theme.color.foreground;$[5]=t1;}else{t1=$[5];}return t1;};
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/text/HighlightedText.tsx";var _excluded=["text","highlight","textStyles","style","variant"];function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o]);}return i;}function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n];}return t;}import{c as _c}from"react/compiler-runtime";import{StyleSheet}from"react-native";import{useThemedStyles}from"../../hooks";import{Text}from"./Text";import{createElement as _createElement}from"react";import{jsx as _jsx}from"react/jsx-runtime";var escapeForRegex=value=>value.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var splitHighlight=(text,highlight)=>{if(!highlight)return[{text,highlighted:false,offset:0}];var lowerHighlight=highlight.toLowerCase();var pattern=new RegExp(`(${escapeForRegex(highlight)})`,"gi");var parts=[];var offset=0;for(var part of text.split(pattern)){if(part==="")continue;parts.push({text:part,highlighted:part.toLowerCase()===lowerHighlight,offset});offset+=part.length;}return parts;};export var HighlightedText=t0=>{var $=_c(24);var props;var styleOverrides;var t1;var t2;var t3;var textStyles;if($[0]!==t0){t1=t0.text;t2=t0.highlight;textStyles=t0.textStyles;styleOverrides=t0.style;t3=t0.variant;props=_objectWithoutProperties(t0,_excluded);$[0]=t0;$[1]=props;$[2]=styleOverrides;$[3]=t1;$[4]=t2;$[5]=t3;$[6]=textStyles;}else{props=$[1];styleOverrides=$[2];t1=$[3];t2=$[4];t3=$[5];textStyles=$[6];}var text=t1===undefined?"":t1;var highlight=t2===undefined?"":t2;var variant=t3===undefined?"body":t3;var t4;if($[7]!==styleOverrides){t4={styles:{highlightedText:styleOverrides}};$[7]=styleOverrides;$[8]=t4;}else{t4=$[8];}var _useThemedStyles=useThemedStyles("highlightedText",createStyles,t4),_useThemedStyles2=_slicedToArray(_useThemedStyles,2),styles=_useThemedStyles2[0],t5=_useThemedStyles2[1];var style=t5.style;var t6;if($[9]!==highlight||$[10]!==props||$[11]!==style||$[12]!==styles.textWrapper||$[13]!==text||$[14]!==textStyles||$[15]!==variant){var parts=splitHighlight(text,highlight);var t7;if($[17]!==styles.textWrapper||$[18]!==textStyles){t7=[styles.textWrapper,textStyles];$[17]=styles.textWrapper;$[18]=textStyles;$[19]=t7;}else{t7=$[19];}var t8;if($[20]!==props||$[21]!==style||$[22]!==variant){t8=part=>_createElement(Text,{...props,variant:variant,key:part.offset,style:part.highlighted&&{fontWeight:style.highlightedWeight[variant]},__self:this,__source:{fileName:_jsxFileName,lineNumber:75,columnNumber:17}},part.text);$[20]=props;$[21]=style;$[22]=variant;$[23]=t8;}else{t8=$[23];}t6=_jsx(Text,{style:t7,children:parts.map(t8)});$[9]=highlight;$[10]=props;$[11]=style;$[12]=styles.textWrapper;$[13]=text;$[14]=textStyles;$[15]=variant;$[16]=t6;}else{t6=$[16];}return t6;};var createStyles=()=>StyleSheet.create({textWrapper:{display:"flex",flexDirection:"row"}});
@@ -1 +0,0 @@
1
- export var defaultHighlightedTextStyles=()=>({highlightedWeight:{body:"800",caption:"800",display:"800",heading:"800",label:"800",title:"800"}});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/text/Text.tsx";var _excluded=["variant","style","children"];function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o]);}return i;}function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n];}return t;}import{c as _c}from"react/compiler-runtime";import{Text as RnText,StyleSheet}from"react-native";import{MAX_FONT_SIZE_MULTIPLIER}from"../../common";import{useThemedStyles}from"../../hooks";import{jsx as _jsx}from"react/jsx-runtime";export var Text=t0=>{var $=_c(14);var children;var props;var style;var t1;if($[0]!==t0){t1=t0.variant;style=t0.style;children=t0.children;props=_objectWithoutProperties(t0,_excluded);$[0]=t0;$[1]=children;$[2]=props;$[3]=style;$[4]=t1;}else{children=$[1];props=$[2];style=$[3];t1=$[4];}var variant=t1===undefined?"body":t1;var t2;if($[5]!==variant){t2={props:{variant}};$[5]=variant;$[6]=t2;}else{t2=$[6];}var _useThemedStyles=useThemedStyles("text",createStyles,t2),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t3;if($[7]!==style||$[8]!==styles.text){t3=[styles.text,style];$[7]=style;$[8]=styles.text;$[9]=t3;}else{t3=$[9];}var t4;if($[10]!==children||$[11]!==props||$[12]!==t3){t4=_jsx(RnText,{maxFontSizeMultiplier:MAX_FONT_SIZE_MULTIPLIER,...props,style:t3,children:children});$[10]=children;$[11]=props;$[12]=t3;$[13]=t4;}else{t4=$[13];}return t4;};var createStyles=({styles:{text}},{variant="body"})=>StyleSheet.create({text:{fontFamily:text.font[variant].family,fontWeight:text.font[variant].weight,fontSize:text.font[variant].size,color:text.color}});
@@ -1 +0,0 @@
1
- export var defaultTextStyles=({color,font})=>({color:color.foreground,font:{caption:{family:font.family.sans,weight:"200",size:font.size.small},body:{family:font.family.sans,weight:"400",size:font.size.regular},label:{family:font.family.sans,weight:"500",size:font.size.large},heading:{family:font.family.sans,weight:"600",size:font.size.large},title:{family:font.family.sans,weight:"800",size:font.size.xLarge},display:{family:font.family.sans,weight:"800",size:font.size.xxLarge}}});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/toast/Toast.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import Animated,{LinearTransition,SlideInDown,SlideOutDown}from"react-native-reanimated";import{useThemedStyles}from"../../hooks";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";var TOAST_ENTERING=SlideInDown.springify().mass(0.5);var TOAST_EXITING=SlideOutDown.springify().mass(0.5);var TOAST_LAYOUT=LinearTransition.springify().mass(0.5);export var Toast=t0=>{var $=_c(17);var action=t0.action,containerStyle=t0.containerStyle,children=t0.children;var _useThemedStyles=useThemedStyles("toast",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t1;if($[0]!==containerStyle||$[1]!==styles.container){t1=[styles.container,containerStyle];$[0]=containerStyle;$[1]=styles.container;$[2]=t1;}else{t1=$[2];}var t2;if($[3]!==children||$[4]!==styles.contentContainer){t2=_jsx(View,{style:styles.contentContainer,children:children});$[3]=children;$[4]=styles.contentContainer;$[5]=t2;}else{t2=$[5];}var t3;if($[6]!==action||$[7]!==styles.actionContainer||$[8]!==styles.separator){t3=action&&_jsxs(View,{style:styles.actionContainer,children:[_jsx(Animated.View,{layout:TOAST_LAYOUT,style:styles.separator}),action]});$[6]=action;$[7]=styles.actionContainer;$[8]=styles.separator;$[9]=t3;}else{t3=$[9];}var t4;if($[10]!==styles.innerContainer||$[11]!==t2||$[12]!==t3){t4=_jsxs(View,{style:styles.innerContainer,children:[t2,t3]});$[10]=styles.innerContainer;$[11]=t2;$[12]=t3;$[13]=t4;}else{t4=$[13];}var t5;if($[14]!==t1||$[15]!==t4){t5=_jsx(Animated.View,{style:t1,entering:TOAST_ENTERING,exiting:TOAST_EXITING,layout:TOAST_LAYOUT,children:t4});$[14]=t1;$[15]=t4;$[16]=t5;}else{t5=$[16];}return t5;};var createStyles=({theme:{color,spacing},styles:{toast}})=>StyleSheet.create({container:{backgroundColor:toast.container.backgroundColor,padding:toast.container.padding,borderRadius:toast.container.borderRadius,borderWidth:StyleSheet.hairlineWidth,borderColor:color.border},innerContainer:{flexDirection:"row",justifyContent:"space-between"},contentContainer:{flex:1},actionContainer:{flex:0,alignItems:"center",flexDirection:"row",height:"100%"},separator:{borderStartWidth:StyleSheet.hairlineWidth,borderStartColor:color.mutedForeground,height:"100%",marginHorizontal:spacing.medium}});
@@ -1 +0,0 @@
1
- export var defaultToastStyles=({color,spacing,border})=>({container:{backgroundColor:color.elevated,padding:spacing.medium,borderRadius:border.radius.loose}});
@@ -1 +0,0 @@
1
- export{useForwardedRef}from"./useForwardedRef";export{usePersistentKeyboardHeight}from"./usePersistentKeyboardHeight";export{useTheme}from"./useTheme";export{useStyles,useThemedStyles}from"./useThemedStyles";
@@ -1 +0,0 @@
1
- import{useRef}from"react";export var useForwardedRef=ref=>{var localRef=useRef(null);return ref??localRef;};
@@ -1 +0,0 @@
1
- import{use}from"react";import{ThemeContext}from"../providers";export function useTheme(){return use(ThemeContext);}
@@ -1 +0,0 @@
1
- import{c as _c}from"react/compiler-runtime";import{MergeStyleSlice}from"../theme/styles";import{useTheme}from"./useTheme";function hasKey(obj,key){return key in obj;}var EMPTY_OPTIONS={};var mergeStylesForComponent=(styles,name,override)=>{if(!hasKey(styles,name)){return{config:undefined,styles};}var base=styles[name];var config=MergeStyleSlice(base,override);return{config,styles:config===base?styles:{...styles,[name]:config}};};var buildComponentResult=(styles,icons,name,config)=>{var hasStyle=hasKey(styles,name);var hasIcons=hasKey(icons,name);if(hasStyle&&hasIcons){return{style:config,icons:icons[name]};}if(hasStyle){return{style:config};}if(hasIcons){return{icons:icons[name]};}return{};};export function useThemedStyles(...t0){var $=_c(10);var args=t0;var first=args[0];var isComponent=typeof first==="string";var componentName=isComponent?first:undefined;var generator=isComponent?args[1]:first;var options=(isComponent?args[2]:args[1])??EMPTY_OPTIONS;var hasProps="props"in options;var componentProps=hasProps?options.props:undefined;var componentStyles="styles"in options?options.styles:undefined;var _useTheme=useTheme(),theme=_useTheme.theme,styles=_useTheme.styles,icons=_useTheme.icons;var name=componentName;var t1;if($[0]!==componentProps||$[1]!==componentStyles||$[2]!==generator||$[3]!==hasProps||$[4]!==icons||$[5]!==isComponent||$[6]!==name||$[7]!==styles||$[8]!==theme){var _ref=isComponent?mergeStylesForComponent(styles,name,componentStyles?.[name]):{config:undefined,styles},config=_ref.config,stylesForGenerator=_ref.styles;var generatorInput={theme,styles:stylesForGenerator,icons};var _generated=hasProps?generator(generatorInput,componentProps):generator(generatorInput);t1=isComponent?[_generated,buildComponentResult(styles,icons,name,config)]:_generated;$[0]=componentProps;$[1]=componentStyles;$[2]=generator;$[3]=hasProps;$[4]=icons;$[5]=isComponent;$[6]=name;$[7]=styles;$[8]=theme;$[9]=t1;}else{t1=$[9];}return t1;}export var useStyles=componentStyles=>{var $=_c(7);var _useTheme2=useTheme(),styles=_useTheme2.styles;var merged=styles;var t0;if($[0]!==componentStyles){t0=Object.keys(componentStyles);$[0]=componentStyles;$[1]=t0;}else{t0=$[1];}var t1=t0;if($[2]!==componentStyles||$[3]!==merged||$[4]!==styles||$[5]!==t1){for(var key of t1){var override=componentStyles[key];if(override===undefined){continue;}var base=styles[key];var next=MergeStyleSlice(base,override);if(next!==base){merged={...merged,[key]:next};}}$[2]=componentStyles;$[3]=merged;$[4]=styles;$[5]=t1;$[6]=merged;}else{merged=$[6];}return merged;};
@@ -1 +0,0 @@
1
- import{createContext}from"react";import{DefaultIcons}from"../theme/icons";import{createStyles}from"../theme/styles";import{DefaultTheme}from"../theme/theme";export var ThemeContext=createContext({theme:DefaultTheme,styles:createStyles(DefaultTheme),icons:DefaultIcons});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/providers/ThemeProvider.tsx";import{c as _c}from"react/compiler-runtime";import{createStyles}from"../theme";import{MergeIcons}from"../theme/icons";import{MergeTheme}from"../theme/theme";import{ThemeContext}from"./ThemeContext";import{jsx as _jsx}from"react/jsx-runtime";export var ThemeProvider=t0=>{var $=_c(13);var initialTheme=t0.theme,initialStyles=t0.styles,initialIcons=t0.icons,children=t0.children;var t1;var theme;if($[0]!==initialStyles||$[1]!==initialTheme){theme=MergeTheme(initialTheme);t1=createStyles(theme,initialStyles);$[0]=initialStyles;$[1]=initialTheme;$[2]=t1;$[3]=theme;}else{t1=$[2];theme=$[3];}var styles=t1;var t2;if($[4]!==initialIcons){t2=MergeIcons(initialIcons);$[4]=initialIcons;$[5]=t2;}else{t2=$[5];}var icons=t2;var t3;if($[6]!==icons||$[7]!==styles||$[8]!==theme){t3={theme,styles,icons};$[6]=icons;$[7]=styles;$[8]=theme;$[9]=t3;}else{t3=$[9];}var value=t3;var t4;if($[10]!==children||$[11]!==value){t4=_jsx(ThemeContext.Provider,{value:value,children:children});$[10]=children;$[11]=value;$[12]=t4;}else{t4=$[12];}return t4;};
@@ -1 +0,0 @@
1
- export{ThemeContext}from"./ThemeContext";export{ThemeProvider}from"./ThemeProvider";
@@ -1 +0,0 @@
1
- import merge from"lodash.merge";import{defaultActionStyles}from"../components/action/Action.styles";import{defaultActionBaseStyles}from"../components/action/ActionBase.styles";import{defaultIconActionStyles}from"../components/action/IconAction.styles";import{defaultIconActionBaseStyles}from"../components/action/IconActionBase.styles";import{defaultStateTintStyles}from"../components/action/StateTint.styles";import{defaultAlertIndicatorStyles}from"../components/alert/AlertIndicator.styles";import{defaultAvatarStyles}from"../components/avatar/Avatar.styles";import{defaultButtonStyles}from"../components/button/Button.styles";import{defaultButtonBaseStyles}from"../components/button/ButtonBase.styles";import{defaultIconButtonStyles}from"../components/button/IconButton.styles";import{defaultIconButtonBaseStyles}from"../components/button/IconButtonBase.styles";import{defaultFloatingContainerStyles}from"../components/container/FloatingContainer.styles";import{defaultIconStyles}from"../components/icon/Icon.styles";import{defaultIconBaseStyles}from"../components/icon/IconBase.styles";import{defaultDropdownInputStyles}from"../components/input/DropdownInput.styles";import{defaultInputActionStyles}from"../components/input/InputAction.styles";import{defaultInputBaseStyles}from"../components/input/InputBase.styles";import{defaultInputScaffoldStyles}from"../components/input/InputScaffold.styles";import{defaultSelectionInputStyles}from"../components/input/SelectionInput.styles";import{defaultToggleInputStyles}from"../components/input/ToggleInput.styles";import{defaultListItemStyles}from"../components/listItem/ListItem.styles";import{defaultMenuStyles}from"../components/menu/Menu.styles";import{defaultMenuItemStyles}from"../components/menu/MenuItem.styles";import{defaultRatingStyles}from"../components/rating/Rating.styles";import{defaultStateLayerStyles}from"../components/surface/StateLayer.styles";import{defaultSwipeActionStyles}from"../components/swipe/SwipeAction.styles";import{defaultTagStyles}from"../components/tag/Tag.styles";import{defaultHighlightedTextStyles}from"../components/text/HighlightedText.styles";import{defaultTextStyles}from"../components/text/Text.styles";import{defaultToastStyles}from"../components/toast/Toast.styles";export var createDefaultStyles=theme=>({highlightedText:defaultHighlightedTextStyles(),iconBase:defaultIconBaseStyles(theme),icon:defaultIconStyles(theme),actionBase:defaultActionBaseStyles(),stateLayer:defaultStateLayerStyles(theme),stateTint:defaultStateTintStyles(),action:defaultActionStyles(theme),iconActionBase:defaultIconActionBaseStyles(theme),iconAction:defaultIconActionStyles(theme),buttonBase:defaultButtonBaseStyles(theme),button:defaultButtonStyles(theme),iconButtonBase:defaultIconButtonBaseStyles(theme),iconButton:defaultIconButtonStyles(theme),inputBase:defaultInputBaseStyles(theme),inputScaffold:defaultInputScaffoldStyles(theme),inputAction:defaultInputActionStyles(theme),selectionInput:defaultSelectionInputStyles(theme),ratingInput:null,swipeAction:defaultSwipeActionStyles(theme),floatingContainer:defaultFloatingContainerStyles(theme),menu:defaultMenuStyles(theme),menuItem:defaultMenuItemStyles(theme),rating:defaultRatingStyles(theme),alertIndicator:defaultAlertIndicatorStyles(theme),tag:defaultTagStyles(theme),common:{action:{fontSize:{...theme.font.size}}},text:defaultTextStyles(theme),dropdownInput:defaultDropdownInputStyles(theme),toggleInput:defaultToggleInputStyles(theme),listItem:defaultListItemStyles(theme),avatar:defaultAvatarStyles(theme),toast:defaultToastStyles(theme)});export var MergeStyles=(styles,overrides={})=>merge({},styles,overrides);export var createStyles=(theme,overrides)=>MergeStyles(createDefaultStyles(theme),overrides);export var MergeStyleSlice=(base,override)=>override===undefined?base:merge({},base,override);
@@ -1,3 +0,0 @@
1
- export { MAX_FONT_SIZE_MULTIPLIER } from "./typography";
2
- export type { ValueItem, ValueItemComplex, ValueItemSimple } from "./valueItem";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACxD,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Upper bound applied to OS font scaling so dynamic type cannot grow text
3
- * (and therefore fixed-height controls) without limit.
4
- */
5
- export declare const MAX_FONT_SIZE_MULTIPLIER = 1.2;
6
- //# sourceMappingURL=typography.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/common/typography.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"valueItem.d.ts","sourceRoot":"","sources":["../../../src/common/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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/components/action/Action.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAGhE,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;AAEpE,MAAM,MAAM,YAAY,GAAG;IACvB,KAAK,EAAE;QACH,KAAK,EAAE,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;KAC5C,CAAC;CACL,CAAC;AAEF,MAAM,WAAW,WACb,SAAQ,IAAI,CAAC,eAAe,EAAE,gBAAgB,GAAG,UAAU,GAAG,SAAS,CAAC;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CA6BlC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Theme } from "../../theme/theme";
2
- import type { ActionStyles } from "./Action";
3
- export declare const defaultActionStyles: ({ color }: Theme) => ActionStyles;
4
- //# sourceMappingURL=Action.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Action.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/action/Action.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,mBAAmB,GAAI,WAAW,KAAK,KAAG,YAQrD,CAAC"}
@@ -1,17 +0,0 @@
1
- import type { FC, ReactNode } from "react";
2
- import { type PressableProps, type StyleProp, type ViewStyle } from "react-native";
3
- export type ActionState = {
4
- pressed: boolean;
5
- hovered?: boolean;
6
- };
7
- export type ActionBaseStyles = {
8
- disabledOpacity: number;
9
- };
10
- export interface ActionBaseProps extends Pick<PressableProps, "hitSlop"> {
11
- containerStyle?: StyleProp<ViewStyle>;
12
- disabled?: boolean;
13
- onPress?: () => void;
14
- children?: ReactNode | ((state: ActionState) => ReactNode);
15
- }
16
- export declare const ActionBase: FC<ActionBaseProps>;
17
- //# sourceMappingURL=ActionBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionBase.d.ts","sourceRoot":"","sources":["../../../../src/components/action/ActionBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAEH,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,WAAW,GAAG;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,eAAe,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC;IACpE,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,WAAW,KAAK,SAAS,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA2B1C,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { ActionBaseStyles } from "./ActionBase";
2
- export declare const defaultActionBaseStyles: () => ActionBaseStyles;
3
- //# sourceMappingURL=ActionBase.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionBase.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/action/ActionBase.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,eAAO,MAAM,uBAAuB,QAAO,gBAEzC,CAAC"}
@@ -1,14 +0,0 @@
1
- import type { ColorValue } from "react-native";
2
- import type { DeepPartial } from "@reillymc/es-utils";
3
- import type { IconComponentProps } from "../icon";
4
- import { type IconActionBaseProps } from "./IconActionBase";
5
- export type IconActionVariant = "primary" | "secondary" | "destructive";
6
- export type IconActionStyles = {
7
- color: Record<IconActionVariant, ColorValue>;
8
- };
9
- export interface IconActionProps extends Omit<IconActionBaseProps, "style"> {
10
- variant?: IconActionVariant;
11
- style?: DeepPartial<IconActionStyles>;
12
- }
13
- export declare const IconAction: <G extends string>({ variant, style, ...props }: IconActionProps & IconComponentProps<G>) => import("react").JSX.Element;
14
- //# sourceMappingURL=IconAction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconAction.d.ts","sourceRoot":"","sources":["../../../../src/components/action/IconAction.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,SAAS,CAAC;AAClD,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;AAExE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACvE,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,8BAI1C,eAAe,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCASzC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Theme } from "../../theme/theme";
2
- import type { IconActionStyles } from "./IconAction";
3
- export declare const defaultIconActionStyles: (theme: Theme) => IconActionStyles;
4
- //# sourceMappingURL=IconAction.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconAction.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/action/IconAction.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,eAAO,MAAM,uBAAuB,GAAI,OAAO,KAAK,KAAG,gBAMtD,CAAC"}
@@ -1,15 +0,0 @@
1
- import { type ColorValue } from "react-native";
2
- import type { DeepPartial } from "@reillymc/es-utils";
3
- import { type IconComponentProps } from "../icon";
4
- import type { ActionBaseProps } from "./ActionBase";
5
- export type IconActionBaseStyles = {
6
- gap: number;
7
- color: ColorValue;
8
- };
9
- export interface IconActionBaseProps extends Pick<ActionBaseProps, "onPress" | "disabled" | "containerStyle"> {
10
- label?: string;
11
- iconPosition?: "start" | "end";
12
- style?: DeepPartial<IconActionBaseStyles>;
13
- }
14
- export declare const IconActionBase: <G extends string>({ label, iconPosition, disabled: disabledProp, containerStyle, style: styleOverrides, onPress, ...iconProps }: IconActionBaseProps & IconComponentProps<G>) => import("react").JSX.Element;
15
- //# sourceMappingURL=IconActionBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconActionBase.d.ts","sourceRoot":"","sources":["../../../../src/components/action/IconActionBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAc,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAY,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,mBACb,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,EAAE,+GAQ9C,mBAAmB,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCA8B7C,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Theme } from "../../theme/theme";
2
- import type { IconActionBaseStyles } from "./IconActionBase";
3
- export declare const defaultIconActionBaseStyles: (theme: Theme) => IconActionBaseStyles;
4
- //# sourceMappingURL=IconActionBase.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconActionBase.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/action/IconActionBase.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,eAAO,MAAM,2BAA2B,GACpC,OAAO,KAAK,KACb,oBAGD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"StateTint.d.ts","sourceRoot":"","sources":["../../../../src/components/action/StateTint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,WAAW,cAAe,SAAQ,WAAW;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAsBxC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { StateTintStyles } from "./StateTint";
2
- export declare const defaultStateTintStyles: () => StateTintStyles;
3
- //# sourceMappingURL=StateTint.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StateTint.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/action/StateTint.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,sBAAsB,QAAO,eAGxC,CAAC"}
@@ -1,6 +0,0 @@
1
- export { Action, type ActionProps, type ActionStyles } from "./Action";
2
- export { ActionBase, type ActionBaseProps, type ActionBaseStyles, type ActionState, } from "./ActionBase";
3
- export { IconAction, type IconActionProps, type IconActionStyles, } from "./IconAction";
4
- export { IconActionBase, type IconActionBaseProps, type IconActionBaseStyles, } from "./IconActionBase";
5
- export { StateTint, type StateTintProps, type StateTintStyles, } from "./StateTint";
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/action/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EACH,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,WAAW,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACH,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACxB,MAAM,cAAc,CAAC;AACtB,OAAO,EACH,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,eAAe,GACvB,MAAM,aAAa,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { FC } from "react";
2
- import { type ColorValue, type StyleProp, type ViewStyle } from "react-native";
3
- export type AlertVariant = "primary" | "secondary";
4
- export type AlertIndicatorStyles = {
5
- size: number;
6
- borderRadius: number;
7
- color: Record<AlertVariant, ColorValue>;
8
- backgroundColor: Record<AlertVariant, ColorValue>;
9
- };
10
- export interface AlertIndicatorProps {
11
- label?: string;
12
- variant?: AlertVariant;
13
- style?: StyleProp<ViewStyle>;
14
- }
15
- export declare const AlertIndicator: FC<AlertIndicatorProps>;
16
- //# sourceMappingURL=AlertIndicator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/AlertIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EACH,KAAK,UAAU,EACf,KAAK,SAAS,EAGd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAgBlD,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Theme } from "../../theme/theme";
2
- import type { AlertIndicatorStyles } from "./AlertIndicator";
3
- export declare const defaultAlertIndicatorStyles: ({ color, }: Theme) => AlertIndicatorStyles;
4
- //# sourceMappingURL=AlertIndicator.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertIndicator.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/AlertIndicator.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,eAAO,MAAM,2BAA2B,GAAI,YAEzC,KAAK,KAAG,oBAWT,CAAC"}
@@ -1,2 +0,0 @@
1
- export { AlertIndicator, type AlertIndicatorProps, type AlertIndicatorStyles, } from "./AlertIndicator";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EACH,KAAK,UAAU,EAEf,KAAK,SAAS,EAEd,KAAK,SAAS,EAEd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAoBtD,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE;SAAG,GAAG,IAAI,UAAU,GAAG,MAAM;KAAE,CAAC;IACtC,QAAQ,EAAE;QACN,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;KACxC,CAAC;IACF,KAAK,EAAE;QACH,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,MAAM,EAAE,KAAK,CAAC;QAAE,UAAU,EAAE,UAAU,CAAC;QAAC,UAAU,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CACrE,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,KAAK,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAElC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAoClC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Theme } from "../../theme/theme";
2
- import type { AvatarStyles } from "./Avatar";
3
- export declare const defaultAvatarStyles: ({ color, font }: Theme) => AvatarStyles;
4
- //# sourceMappingURL=Avatar.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Avatar.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/Avatar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,mBAAmB,GAAI,iBAAiB,KAAK,KAAG,YAyB3D,CAAC"}
@@ -1,2 +0,0 @@
1
- export { Avatar, type AvatarProps, type AvatarStyles } from "./Avatar";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,EAEH,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACxB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC5C,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,aAAa,CAAC;AACtD,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEtD,MAAM,MAAM,sBAAsB,GAAG;IACjC,SAAS,EAAE;QACP,SAAS,EAAE,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;QAC7C,OAAO,EAAE,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;KAC9C,CAAC;IACF,MAAM,EAAE;QACJ,SAAS,EAAE,UAAU,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;KAC9C,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB,SAAS,EAAE;QACP,YAAY,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;KAClD,CAAC;IACF,UAAU,EAAE,sBAAsB,CAAC;CACtC,CAAC;AAEF,MAAM,WAAW,WACb,SAAQ,IAAI,CACR,eAAe,EACf,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,gBAAgB,CACtD;IACD,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAoClC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Theme } from "../../theme/theme";
2
- import type { ButtonStyles } from "./Button";
3
- export declare const defaultButtonStyles: (theme: Theme) => ButtonStyles;
4
- //# sourceMappingURL=Button.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,KAAG,YA4BlD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonBase.d.ts","sourceRoot":"","sources":["../../../../src/components/button/ButtonBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EACH,KAAK,UAAU,EACf,KAAK,cAAc,EAGtB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG;IAC3B,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE;QACH,MAAM,EAAE,cAAc,CAAC;KAC1B,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC;IACpC,eAAe,EAAE,UAAU,CAAC;CAC/B,CAAC;AAEF,MAAM,WAAW,eACb,SAAQ,IAAI,CACR,uBAAuB,EACvB,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,gBAAgB,CACzD;IACD,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwB1C,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Theme } from "../../theme/theme";
2
- import type { ButtonBaseStyles } from "./ButtonBase";
3
- export declare const defaultButtonBaseStyles: ({ border, color, spacing, }: Theme) => ButtonBaseStyles;
4
- //# sourceMappingURL=ButtonBase.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonBase.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/button/ButtonBase.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,eAAO,MAAM,uBAAuB,GAAI,6BAIrC,KAAK,KAAG,gBAST,CAAC"}