@reillymc/react-native-components 0.11.11 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +97 -15
- package/lib/actions/action/Action.js +1 -0
- package/lib/actions/action/Action.theme.js +1 -0
- package/lib/actions/action/ActionBase.js +1 -0
- package/lib/actions/action/ActionBase.theme.js +1 -0
- package/lib/actions/action/IconAction.js +1 -0
- package/lib/actions/action/IconAction.theme.js +1 -0
- package/lib/actions/action/IconActionBase.js +1 -0
- package/lib/actions/action/IconActionBase.theme.js +1 -0
- package/lib/actions/action/PressableBase.js +1 -0
- package/lib/actions/action/StateTint.js +1 -0
- package/lib/actions/action/index.js +1 -0
- package/lib/actions/button/Button.js +1 -0
- package/lib/actions/button/Button.theme.js +1 -0
- package/lib/actions/button/ButtonBase.js +1 -0
- package/lib/actions/button/ButtonBase.theme.js +1 -0
- package/lib/actions/button/IconButton.js +1 -0
- package/lib/actions/button/IconButton.theme.js +1 -0
- package/lib/actions/button/IconButtonBase.js +1 -0
- package/lib/actions/button/IconButtonBase.theme.js +1 -0
- package/lib/actions/index.js +1 -0
- package/lib/actions/surface/InteractionSurface.js +1 -0
- package/lib/actions/surface/StateLayer.js +1 -0
- package/lib/actions/surface/StateLayer.theme.js +1 -0
- package/lib/actions/surface/index.js +1 -0
- package/lib/actions/swipeAction/SwipeAction.js +1 -0
- package/lib/actions/swipeAction/SwipeAction.theme.js +1 -0
- package/lib/actions/swipeAction/index.js +1 -0
- package/lib/display/avatar/Avatar.js +1 -0
- package/lib/display/avatar/Avatar.theme.js +1 -0
- package/lib/display/badge/Badge.js +1 -0
- package/lib/display/badge/Badge.theme.js +1 -0
- package/lib/display/badge/index.js +1 -0
- package/lib/display/contentRow/ContentRow.js +1 -0
- package/lib/display/contentRow/ContentRow.theme.js +1 -0
- package/lib/display/contentRow/index.js +1 -0
- package/lib/display/index.js +1 -0
- package/lib/display/listItem/ListItem.js +1 -0
- package/lib/display/listItem/ListItem.theme.js +1 -0
- package/lib/display/listItem/index.js +1 -0
- package/lib/display/rating/Rating.js +1 -0
- package/lib/display/rating/Rating.theme.js +1 -0
- package/lib/display/rating/index.js +1 -0
- package/lib/display/tag/Tag.js +1 -0
- package/lib/display/tag/Tag.theme.js +1 -0
- package/lib/display/tag/TagIcon.js +1 -0
- package/lib/display/tag/TagIcon.theme.js +1 -0
- package/lib/feedback/index.js +1 -0
- package/lib/feedback/toast/Toast.js +1 -0
- package/lib/feedback/toast/Toast.theme.js +1 -0
- package/lib/forms/field/Field.js +1 -0
- package/lib/forms/field/Field.theme.js +1 -0
- package/lib/forms/field/FieldAction.js +1 -0
- package/lib/forms/field/FieldContext.js +1 -0
- package/lib/forms/field/FieldIcon.js +1 -0
- package/lib/forms/field/FieldNumberInput.js +1 -0
- package/lib/forms/field/FieldRow.js +1 -0
- package/lib/forms/field/FieldSurface.js +1 -0
- package/lib/forms/field/FieldSurfaceContext.js +1 -0
- package/lib/forms/field/FieldSurfacePressLayer.js +1 -0
- package/lib/forms/field/FieldTextInput.js +1 -0
- package/lib/forms/field/a11y.js +1 -0
- package/lib/forms/field/index.js +1 -0
- package/lib/forms/field/useFieldControlFocus.js +1 -0
- package/lib/forms/field/useFieldControlRegistry.js +1 -0
- package/lib/forms/formContainer/FormContainer.js +1 -0
- package/lib/forms/formContainer/FormContainer.theme.js +1 -0
- package/lib/forms/formContainer/index.js +1 -0
- package/lib/forms/formRow/FormRow.js +1 -0
- package/lib/forms/formRow/FormRow.theme.js +1 -0
- package/lib/forms/formRow/index.js +1 -0
- package/lib/forms/index.js +1 -0
- package/lib/forms/input/TextInput.js +1 -0
- package/lib/forms/input/comboboxInput/ComboboxBlurGuard.js +1 -0
- package/lib/forms/input/comboboxInput/ComboboxBlurGuard.web.js +1 -0
- package/lib/forms/input/comboboxInput/ComboboxInput.js +1 -0
- package/lib/forms/input/comboboxInput/ComboboxInput.theme.js +1 -0
- package/lib/forms/input/comboboxInput/ComboboxInputBase.js +1 -0
- package/lib/forms/input/comboboxInput/helpers.js +1 -0
- package/lib/forms/input/comboboxInput/index.js +1 -0
- package/lib/forms/input/comboboxInput/useComboboxController.js +1 -0
- package/lib/forms/input/counterInput/CounterControl.js +1 -0
- package/lib/forms/input/counterInput/CounterInput.js +1 -0
- package/lib/forms/input/counterInput/index.js +1 -0
- package/lib/forms/input/index.js +1 -0
- package/lib/forms/input/numberInput/NumberInput.js +1 -0
- package/lib/forms/input/numberInput/helpers.js +1 -0
- package/lib/forms/input/numberInput/index.js +1 -0
- package/lib/forms/input/ratingInput/AnimatedStar.js +1 -0
- package/lib/forms/input/ratingInput/RatingControl.js +1 -0
- package/lib/forms/input/ratingInput/RatingInput.js +1 -0
- package/lib/forms/input/ratingInput/RatingInput.theme.js +1 -0
- package/lib/forms/input/ratingInput/helpers.js +1 -0
- package/lib/forms/input/ratingInput/index.js +1 -0
- package/lib/forms/input/selectionInput/SelectionControl.js +1 -0
- package/lib/forms/input/selectionInput/SelectionInput.js +1 -0
- package/lib/forms/input/selectionInput/SelectionInput.theme.js +1 -0
- package/lib/forms/input/selectionInput/index.js +1 -0
- package/lib/forms/input/shared/useSegmentedInputNavigation.js +1 -0
- package/lib/forms/input/timeInput/TimeInput.js +1 -0
- package/lib/forms/input/timeInput/helpers.js +1 -0
- package/lib/forms/input/timeInput/index.js +1 -0
- package/lib/forms/input/toggleInput/ToggleControl.js +1 -0
- package/lib/forms/input/toggleInput/ToggleInput.js +1 -0
- package/lib/forms/input/toggleInput/ToggleInput.theme.js +1 -0
- package/lib/forms/input/toggleInput/index.js +1 -0
- package/lib/icons/Icon.js +1 -0
- package/lib/icons/Icon.theme.js +1 -0
- package/lib/icons/IconBase.js +1 -0
- package/lib/icons/IconBase.theme.js +1 -0
- package/lib/icons/index.js +1 -1
- package/lib/icons/ui/Check.js +1 -0
- package/lib/icons/ui/CircleFilled.js +1 -0
- package/lib/icons/ui/index.js +1 -1
- package/lib/internal/defineComponentStyles.js +1 -0
- package/lib/internal/index.js +1 -0
- package/lib/internal/useComponent.js +1 -0
- package/lib/internal/useFocusVisible.js +1 -0
- package/lib/internal/useForwardedRef.js +1 -0
- package/lib/layout/collapsiblePanel/CollapsiblePanel.js +1 -0
- package/lib/layout/collapsiblePanel/index.js +1 -0
- package/lib/layout/index.js +1 -0
- package/lib/layout/swipeable/SwipeableContainer.js +1 -0
- package/lib/layout/swipeable/index.js +1 -0
- package/lib/overlays/anchoredContainer/AnchoredContainer.ios.js +1 -0
- package/lib/overlays/anchoredContainer/AnchoredContainer.js +1 -0
- package/lib/overlays/anchoredContainer/AnchoredContainer.theme.js +1 -0
- package/lib/overlays/anchoredContainer/AnchoredContainer.web.js +1 -0
- package/lib/overlays/anchoredContainer/InlineMount.js +1 -0
- package/lib/overlays/anchoredContainer/OverlayMount.js +1 -0
- package/lib/overlays/anchoredContainer/helpers.js +1 -0
- package/lib/overlays/anchoredContainer/useAnchoredContainerPosition.js +1 -0
- package/lib/overlays/index.js +1 -0
- package/lib/overlays/menu/Menu.js +1 -0
- package/lib/overlays/menu/Menu.theme.js +1 -0
- package/lib/overlays/menu/MenuItem.js +1 -0
- package/lib/overlays/menu/MenuItem.theme.js +1 -0
- package/lib/theme/ThemeContext.js +1 -0
- package/lib/theme/ThemeProvider.js +1 -0
- package/lib/theme/colors.js +1 -0
- package/lib/theme/createAppTheme.js +1 -0
- package/lib/theme/icons.js +1 -0
- package/lib/theme/index.js +1 -1
- package/lib/theme/mergeTheme.js +1 -0
- package/lib/theme/palette.js +1 -0
- package/lib/theme/resolveTheme.js +1 -0
- package/lib/theme/resolveThemeGraph.js +1 -0
- package/lib/theme/systems.js +1 -0
- package/lib/theme/theme.js +1 -1
- package/lib/theme/themeDefinitions.js +1 -0
- package/lib/theme/useSystems.js +1 -0
- package/lib/theme/useTheme.js +1 -0
- package/lib/types/actions/action/Action.d.ts +18 -0
- package/lib/types/actions/action/Action.d.ts.map +1 -0
- package/lib/types/actions/action/Action.theme.d.ts +3 -0
- package/lib/types/actions/action/Action.theme.d.ts.map +1 -0
- package/lib/types/actions/action/ActionBase.d.ts +19 -0
- package/lib/types/actions/action/ActionBase.d.ts.map +1 -0
- package/lib/types/actions/action/ActionBase.theme.d.ts +3 -0
- package/lib/types/actions/action/ActionBase.theme.d.ts.map +1 -0
- package/lib/types/actions/action/IconAction.d.ts +15 -0
- package/lib/types/actions/action/IconAction.d.ts.map +1 -0
- package/lib/types/actions/action/IconAction.theme.d.ts +3 -0
- package/lib/types/actions/action/IconAction.theme.d.ts.map +1 -0
- package/lib/types/actions/action/IconActionBase.d.ts +16 -0
- package/lib/types/actions/action/IconActionBase.d.ts.map +1 -0
- package/lib/types/actions/action/IconActionBase.theme.d.ts +3 -0
- package/lib/types/actions/action/IconActionBase.theme.d.ts.map +1 -0
- package/lib/types/actions/action/PressableBase.d.ts +12 -0
- package/lib/types/actions/action/PressableBase.d.ts.map +1 -0
- package/lib/types/actions/action/StateTint.d.ts +9 -0
- package/lib/types/actions/action/StateTint.d.ts.map +1 -0
- package/lib/types/actions/action/index.d.ts +7 -0
- package/lib/types/actions/action/index.d.ts.map +1 -0
- package/lib/types/actions/button/Button.d.ts +30 -0
- package/lib/types/actions/button/Button.d.ts.map +1 -0
- package/lib/types/actions/button/Button.theme.d.ts +3 -0
- package/lib/types/actions/button/Button.theme.d.ts.map +1 -0
- package/lib/types/actions/button/ButtonBase.d.ts +20 -0
- package/lib/types/actions/button/ButtonBase.d.ts.map +1 -0
- package/lib/types/actions/button/ButtonBase.theme.d.ts +3 -0
- package/lib/types/actions/button/ButtonBase.theme.d.ts.map +1 -0
- package/lib/types/actions/button/IconButton.d.ts +20 -0
- package/lib/types/actions/button/IconButton.d.ts.map +1 -0
- package/lib/types/actions/button/IconButton.theme.d.ts +3 -0
- package/lib/types/actions/button/IconButton.theme.d.ts.map +1 -0
- package/lib/types/actions/button/IconButtonBase.d.ts +22 -0
- package/lib/types/actions/button/IconButtonBase.d.ts.map +1 -0
- package/lib/types/actions/button/IconButtonBase.theme.d.ts +3 -0
- package/lib/types/actions/button/IconButtonBase.theme.d.ts.map +1 -0
- package/lib/types/actions/button/index.d.ts +5 -0
- package/lib/types/actions/button/index.d.ts.map +1 -0
- package/lib/types/actions/index.d.ts +6 -0
- package/lib/types/actions/index.d.ts.map +1 -0
- package/lib/types/actions/surface/InteractionSurface.d.ts +7 -0
- package/lib/types/actions/surface/InteractionSurface.d.ts.map +1 -0
- package/lib/types/actions/surface/StateLayer.d.ts +13 -0
- package/lib/types/actions/surface/StateLayer.d.ts.map +1 -0
- package/lib/types/actions/surface/StateLayer.theme.d.ts +3 -0
- package/lib/types/actions/surface/StateLayer.theme.d.ts.map +1 -0
- package/lib/types/actions/surface/index.d.ts +3 -0
- package/lib/types/actions/surface/index.d.ts.map +1 -0
- package/lib/types/actions/swipeAction/SwipeAction.d.ts +9 -0
- package/lib/types/actions/swipeAction/SwipeAction.d.ts.map +1 -0
- package/lib/types/actions/swipeAction/SwipeAction.theme.d.ts +3 -0
- package/lib/types/actions/swipeAction/SwipeAction.theme.d.ts.map +1 -0
- package/lib/types/actions/swipeAction/index.d.ts +2 -0
- package/lib/types/actions/swipeAction/index.d.ts.map +1 -0
- package/lib/types/display/avatar/Avatar.d.ts +40 -0
- package/lib/types/display/avatar/Avatar.d.ts.map +1 -0
- package/lib/types/display/avatar/Avatar.theme.d.ts +3 -0
- package/lib/types/display/avatar/Avatar.theme.d.ts.map +1 -0
- package/lib/types/display/avatar/index.d.ts.map +1 -0
- package/lib/types/display/badge/Badge.d.ts +20 -0
- package/lib/types/display/badge/Badge.d.ts.map +1 -0
- package/lib/types/display/badge/Badge.theme.d.ts +3 -0
- package/lib/types/display/badge/Badge.theme.d.ts.map +1 -0
- package/lib/types/display/badge/index.d.ts +2 -0
- package/lib/types/display/badge/index.d.ts.map +1 -0
- package/lib/types/display/contentRow/ContentRow.d.ts +14 -0
- package/lib/types/display/contentRow/ContentRow.d.ts.map +1 -0
- package/lib/types/display/contentRow/ContentRow.theme.d.ts +3 -0
- package/lib/types/display/contentRow/ContentRow.theme.d.ts.map +1 -0
- package/lib/types/display/contentRow/index.d.ts +2 -0
- package/lib/types/display/contentRow/index.d.ts.map +1 -0
- package/lib/types/display/index.d.ts +7 -0
- package/lib/types/display/index.d.ts.map +1 -0
- package/lib/types/display/listItem/ListItem.d.ts +42 -0
- package/lib/types/display/listItem/ListItem.d.ts.map +1 -0
- package/lib/types/display/listItem/ListItem.theme.d.ts +3 -0
- package/lib/types/display/listItem/ListItem.theme.d.ts.map +1 -0
- package/lib/types/display/listItem/index.d.ts +2 -0
- package/lib/types/display/listItem/index.d.ts.map +1 -0
- package/lib/types/display/rating/Rating.d.ts +36 -0
- package/lib/types/display/rating/Rating.d.ts.map +1 -0
- package/lib/types/display/rating/Rating.theme.d.ts +3 -0
- package/lib/types/display/rating/Rating.theme.d.ts.map +1 -0
- package/lib/types/display/rating/index.d.ts +3 -0
- package/lib/types/display/rating/index.d.ts.map +1 -0
- package/lib/types/display/rating/ratingUtils.d.ts.map +1 -0
- package/lib/types/display/tag/Tag.d.ts +24 -0
- package/lib/types/display/tag/Tag.d.ts.map +1 -0
- package/lib/types/display/tag/Tag.theme.d.ts +3 -0
- package/lib/types/display/tag/Tag.theme.d.ts.map +1 -0
- package/lib/types/display/tag/TagIcon.d.ts +13 -0
- package/lib/types/display/tag/TagIcon.d.ts.map +1 -0
- package/lib/types/display/tag/TagIcon.theme.d.ts +3 -0
- package/lib/types/display/tag/TagIcon.theme.d.ts.map +1 -0
- package/lib/types/display/tag/index.d.ts.map +1 -0
- package/lib/types/feedback/index.d.ts +2 -0
- package/lib/types/feedback/index.d.ts.map +1 -0
- package/lib/types/feedback/toast/Toast.d.ts +22 -0
- package/lib/types/feedback/toast/Toast.d.ts.map +1 -0
- package/lib/types/feedback/toast/Toast.theme.d.ts +3 -0
- package/lib/types/feedback/toast/Toast.theme.d.ts.map +1 -0
- package/lib/types/feedback/toast/index.d.ts.map +1 -0
- package/lib/types/forms/field/Field.d.ts +38 -0
- package/lib/types/forms/field/Field.d.ts.map +1 -0
- package/lib/types/forms/field/Field.theme.d.ts +40 -0
- package/lib/types/forms/field/Field.theme.d.ts.map +1 -0
- package/lib/types/forms/field/FieldAction.d.ts +13 -0
- package/lib/types/forms/field/FieldAction.d.ts.map +1 -0
- package/lib/types/forms/field/FieldContext.d.ts +33 -0
- package/lib/types/forms/field/FieldContext.d.ts.map +1 -0
- package/lib/types/forms/field/FieldIcon.d.ts +12 -0
- package/lib/types/forms/field/FieldIcon.d.ts.map +1 -0
- package/lib/types/forms/field/FieldNumberInput.d.ts +14 -0
- package/lib/types/forms/field/FieldNumberInput.d.ts.map +1 -0
- package/lib/types/forms/field/FieldRow.d.ts +16 -0
- package/lib/types/forms/field/FieldRow.d.ts.map +1 -0
- package/lib/types/forms/field/FieldSurface.d.ts +16 -0
- package/lib/types/forms/field/FieldSurface.d.ts.map +1 -0
- package/lib/types/forms/field/FieldSurfaceContext.d.ts +17 -0
- package/lib/types/forms/field/FieldSurfaceContext.d.ts.map +1 -0
- package/lib/types/forms/field/FieldSurfacePressLayer.d.ts +11 -0
- package/lib/types/forms/field/FieldSurfacePressLayer.d.ts.map +1 -0
- package/lib/types/forms/field/FieldTextInput.d.ts +24 -0
- package/lib/types/forms/field/FieldTextInput.d.ts.map +1 -0
- package/lib/types/forms/field/a11y.d.ts +41 -0
- package/lib/types/forms/field/a11y.d.ts.map +1 -0
- package/lib/types/forms/field/index.d.ts +19 -0
- package/lib/types/forms/field/index.d.ts.map +1 -0
- package/lib/types/forms/field/useFieldControlFocus.d.ts +29 -0
- package/lib/types/forms/field/useFieldControlFocus.d.ts.map +1 -0
- package/lib/types/forms/field/useFieldControlRegistry.d.ts +10 -0
- package/lib/types/forms/field/useFieldControlRegistry.d.ts.map +1 -0
- package/lib/types/forms/formContainer/FormContainer.d.ts +13 -0
- package/lib/types/forms/formContainer/FormContainer.d.ts.map +1 -0
- package/lib/types/forms/formContainer/FormContainer.theme.d.ts +3 -0
- package/lib/types/forms/formContainer/FormContainer.theme.d.ts.map +1 -0
- package/lib/types/forms/formContainer/index.d.ts +2 -0
- package/lib/types/forms/formContainer/index.d.ts.map +1 -0
- package/lib/types/forms/formRow/FormRow.d.ts +13 -0
- package/lib/types/forms/formRow/FormRow.d.ts.map +1 -0
- package/lib/types/forms/formRow/FormRow.theme.d.ts +3 -0
- package/lib/types/forms/formRow/FormRow.theme.d.ts.map +1 -0
- package/lib/types/forms/formRow/index.d.ts +2 -0
- package/lib/types/forms/formRow/index.d.ts.map +1 -0
- package/lib/types/forms/index.d.ts +9 -0
- package/lib/types/forms/index.d.ts.map +1 -0
- package/lib/types/forms/input/TextInput.d.ts +8 -0
- package/lib/types/forms/input/TextInput.d.ts.map +1 -0
- package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.d.ts +8 -0
- package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.d.ts.map +1 -0
- package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.web.d.ts +9 -0
- package/lib/types/forms/input/comboboxInput/ComboboxBlurGuard.web.d.ts.map +1 -0
- package/lib/types/forms/input/comboboxInput/ComboboxInput.d.ts +8 -0
- package/lib/types/forms/input/comboboxInput/ComboboxInput.d.ts.map +1 -0
- package/lib/types/forms/input/comboboxInput/ComboboxInput.theme.d.ts +3 -0
- package/lib/types/forms/input/comboboxInput/ComboboxInput.theme.d.ts.map +1 -0
- package/lib/types/forms/input/comboboxInput/ComboboxInputBase.d.ts +73 -0
- package/lib/types/forms/input/comboboxInput/ComboboxInputBase.d.ts.map +1 -0
- package/lib/types/forms/input/comboboxInput/helpers.d.ts +13 -0
- package/lib/types/forms/input/comboboxInput/helpers.d.ts.map +1 -0
- package/lib/types/forms/input/comboboxInput/index.d.ts +4 -0
- package/lib/types/forms/input/comboboxInput/index.d.ts.map +1 -0
- package/lib/types/forms/input/comboboxInput/useComboboxController.d.ts +43 -0
- package/lib/types/forms/input/comboboxInput/useComboboxController.d.ts.map +1 -0
- package/lib/types/forms/input/counterInput/CounterControl.d.ts +17 -0
- package/lib/types/forms/input/counterInput/CounterControl.d.ts.map +1 -0
- package/lib/types/forms/input/counterInput/CounterInput.d.ts +19 -0
- package/lib/types/forms/input/counterInput/CounterInput.d.ts.map +1 -0
- package/lib/types/forms/input/counterInput/index.d.ts +3 -0
- package/lib/types/forms/input/counterInput/index.d.ts.map +1 -0
- package/lib/types/forms/input/index.d.ts +18 -0
- package/lib/types/forms/input/index.d.ts.map +1 -0
- package/lib/types/forms/input/numberInput/NumberInput.d.ts +47 -0
- package/lib/types/forms/input/numberInput/NumberInput.d.ts.map +1 -0
- package/lib/types/forms/input/numberInput/helpers.d.ts +16 -0
- package/lib/types/forms/input/numberInput/helpers.d.ts.map +1 -0
- package/lib/types/forms/input/numberInput/index.d.ts +3 -0
- package/lib/types/forms/input/numberInput/index.d.ts.map +1 -0
- package/lib/types/forms/input/ratingInput/AnimatedStar.d.ts +14 -0
- package/lib/types/forms/input/ratingInput/AnimatedStar.d.ts.map +1 -0
- package/lib/types/forms/input/ratingInput/RatingControl.d.ts +13 -0
- package/lib/types/forms/input/ratingInput/RatingControl.d.ts.map +1 -0
- package/lib/types/forms/input/ratingInput/RatingInput.d.ts +13 -0
- package/lib/types/forms/input/ratingInput/RatingInput.d.ts.map +1 -0
- package/lib/types/forms/input/ratingInput/RatingInput.theme.d.ts +10 -0
- package/lib/types/forms/input/ratingInput/RatingInput.theme.d.ts.map +1 -0
- package/lib/types/forms/input/ratingInput/helpers.d.ts +9 -0
- package/lib/types/forms/input/ratingInput/helpers.d.ts.map +1 -0
- package/lib/types/forms/input/ratingInput/index.d.ts +4 -0
- package/lib/types/forms/input/ratingInput/index.d.ts.map +1 -0
- package/lib/types/forms/input/selectionInput/SelectionControl.d.ts +14 -0
- package/lib/types/forms/input/selectionInput/SelectionControl.d.ts.map +1 -0
- package/lib/types/forms/input/selectionInput/SelectionInput.d.ts +30 -0
- package/lib/types/forms/input/selectionInput/SelectionInput.d.ts.map +1 -0
- package/lib/types/forms/input/selectionInput/SelectionInput.theme.d.ts +8 -0
- package/lib/types/forms/input/selectionInput/SelectionInput.theme.d.ts.map +1 -0
- package/lib/types/forms/input/selectionInput/index.d.ts +4 -0
- package/lib/types/forms/input/selectionInput/index.d.ts.map +1 -0
- package/lib/types/forms/input/shared/useSegmentedInputNavigation.d.ts +48 -0
- package/lib/types/forms/input/shared/useSegmentedInputNavigation.d.ts.map +1 -0
- package/lib/types/forms/input/timeInput/TimeInput.d.ts +31 -0
- package/lib/types/forms/input/timeInput/TimeInput.d.ts.map +1 -0
- package/lib/types/forms/input/timeInput/helpers.d.ts +14 -0
- package/lib/types/forms/input/timeInput/helpers.d.ts.map +1 -0
- package/lib/types/forms/input/timeInput/index.d.ts +3 -0
- package/lib/types/forms/input/timeInput/index.d.ts.map +1 -0
- package/lib/types/forms/input/toggleInput/ToggleControl.d.ts +13 -0
- package/lib/types/forms/input/toggleInput/ToggleControl.d.ts.map +1 -0
- package/lib/types/forms/input/toggleInput/ToggleInput.d.ts +19 -0
- package/lib/types/forms/input/toggleInput/ToggleInput.d.ts.map +1 -0
- package/lib/types/forms/input/toggleInput/ToggleInput.theme.d.ts +20 -0
- package/lib/types/forms/input/toggleInput/ToggleInput.theme.d.ts.map +1 -0
- package/lib/types/forms/input/toggleInput/index.d.ts +4 -0
- package/lib/types/forms/input/toggleInput/index.d.ts.map +1 -0
- package/lib/types/forms/input/valueItem.d.ts.map +1 -0
- package/lib/types/icons/Icon.d.ts +15 -0
- package/lib/types/icons/Icon.d.ts.map +1 -0
- package/lib/types/icons/Icon.theme.d.ts +3 -0
- package/lib/types/icons/Icon.theme.d.ts.map +1 -0
- package/lib/types/icons/IconBase.d.ts +14 -0
- package/lib/types/icons/IconBase.d.ts.map +1 -0
- package/lib/types/icons/IconBase.theme.d.ts +3 -0
- package/lib/types/icons/IconBase.theme.d.ts.map +1 -0
- package/lib/types/icons/IconComponentProps.d.ts +6 -0
- package/lib/types/icons/IconComponentProps.d.ts.map +1 -0
- package/lib/types/icons/index.d.ts +3 -3
- package/lib/types/icons/index.d.ts.map +1 -1
- package/lib/types/icons/ui/Check.d.ts +4 -0
- package/lib/types/icons/ui/Check.d.ts.map +1 -0
- package/lib/types/icons/ui/CircleFilled.d.ts +4 -0
- package/lib/types/icons/ui/CircleFilled.d.ts.map +1 -0
- package/lib/types/icons/ui/index.d.ts +1 -1
- package/lib/types/icons/ui/index.d.ts.map +1 -1
- package/lib/types/internal/defineComponentStyles.d.ts +7 -0
- package/lib/types/internal/defineComponentStyles.d.ts.map +1 -0
- package/lib/types/internal/index.d.ts +5 -0
- package/lib/types/internal/index.d.ts.map +1 -0
- package/lib/types/internal/useComponent.d.ts +26 -0
- package/lib/types/internal/useComponent.d.ts.map +1 -0
- package/lib/types/internal/useFocusVisible.d.ts +30 -0
- package/lib/types/internal/useFocusVisible.d.ts.map +1 -0
- package/lib/types/internal/useForwardedRef.d.ts +3 -0
- package/lib/types/internal/useForwardedRef.d.ts.map +1 -0
- package/lib/types/layout/collapsiblePanel/CollapsiblePanel.d.ts +10 -0
- package/lib/types/layout/collapsiblePanel/CollapsiblePanel.d.ts.map +1 -0
- package/lib/types/layout/collapsiblePanel/index.d.ts +2 -0
- package/lib/types/layout/collapsiblePanel/index.d.ts.map +1 -0
- package/lib/types/layout/index.d.ts +3 -0
- package/lib/types/layout/index.d.ts.map +1 -0
- package/lib/types/layout/swipeable/SwipeableContainer.d.ts +13 -0
- package/lib/types/layout/swipeable/SwipeableContainer.d.ts.map +1 -0
- package/lib/types/layout/swipeable/index.d.ts +2 -0
- package/lib/types/layout/swipeable/index.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/AnchoredContainer.d.ts +50 -0
- package/lib/types/overlays/anchoredContainer/AnchoredContainer.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/AnchoredContainer.ios.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/AnchoredContainer.theme.d.ts +3 -0
- package/lib/types/overlays/anchoredContainer/AnchoredContainer.theme.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/AnchoredContainer.web.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/InlineMount.d.ts +9 -0
- package/lib/types/overlays/anchoredContainer/InlineMount.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/OverlayMount.d.ts +11 -0
- package/lib/types/overlays/anchoredContainer/OverlayMount.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/helpers.d.ts +3 -0
- package/lib/types/overlays/anchoredContainer/helpers.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/index.d.ts +3 -0
- package/lib/types/overlays/anchoredContainer/index.d.ts.map +1 -0
- package/lib/types/overlays/anchoredContainer/useAnchoredContainerPosition.d.ts +29 -0
- package/lib/types/overlays/anchoredContainer/useAnchoredContainerPosition.d.ts.map +1 -0
- package/lib/types/overlays/index.d.ts +3 -0
- package/lib/types/overlays/index.d.ts.map +1 -0
- package/lib/types/overlays/menu/Menu.d.ts +27 -0
- package/lib/types/overlays/menu/Menu.d.ts.map +1 -0
- package/lib/types/overlays/menu/Menu.theme.d.ts +3 -0
- package/lib/types/overlays/menu/Menu.theme.d.ts.map +1 -0
- package/lib/types/overlays/menu/MenuItem.d.ts +17 -0
- package/lib/types/overlays/menu/MenuItem.d.ts.map +1 -0
- package/lib/types/overlays/menu/MenuItem.theme.d.ts +3 -0
- package/lib/types/overlays/menu/MenuItem.theme.d.ts.map +1 -0
- package/lib/types/overlays/menu/index.d.ts.map +1 -0
- package/lib/types/theme/ThemeContext.d.ts +12 -0
- package/lib/types/theme/ThemeContext.d.ts.map +1 -0
- package/lib/types/theme/ThemeProvider.d.ts +26 -0
- package/lib/types/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/types/theme/colors.d.ts +28 -0
- package/lib/types/theme/colors.d.ts.map +1 -0
- package/lib/types/theme/createAppTheme.d.ts +30 -0
- package/lib/types/theme/createAppTheme.d.ts.map +1 -0
- package/lib/types/theme/icons.d.ts +129 -0
- package/lib/types/theme/icons.d.ts.map +1 -0
- package/lib/types/theme/index.d.ts +8 -1
- package/lib/types/theme/index.d.ts.map +1 -1
- package/lib/types/theme/mergeTheme.d.ts +12 -0
- package/lib/types/theme/mergeTheme.d.ts.map +1 -0
- package/lib/types/theme/palette.d.ts +57 -0
- package/lib/types/theme/palette.d.ts.map +1 -0
- package/lib/types/theme/resolveTheme.d.ts +13 -0
- package/lib/types/theme/resolveTheme.d.ts.map +1 -0
- package/lib/types/theme/resolveThemeGraph.d.ts +24 -0
- package/lib/types/theme/resolveThemeGraph.d.ts.map +1 -0
- package/lib/types/theme/systems.d.ts +61 -0
- package/lib/types/theme/systems.d.ts.map +1 -0
- package/lib/types/theme/theme.d.ts +68 -78
- package/lib/types/theme/theme.d.ts.map +1 -1
- package/lib/types/theme/themeDefinitions.d.ts +6 -0
- package/lib/types/theme/themeDefinitions.d.ts.map +1 -0
- package/lib/types/theme/useSystems.d.ts +24 -0
- package/lib/types/theme/useSystems.d.ts.map +1 -0
- package/lib/types/theme/useTheme.d.ts +8 -0
- package/lib/types/theme/useTheme.d.ts.map +1 -0
- package/lib/types/typography/index.d.ts +3 -0
- package/lib/types/typography/index.d.ts.map +1 -0
- package/lib/types/typography/text/HighlightedText.d.ts +16 -0
- package/lib/types/typography/text/HighlightedText.d.ts.map +1 -0
- package/lib/types/typography/text/HighlightedText.theme.d.ts +3 -0
- package/lib/types/typography/text/HighlightedText.theme.d.ts.map +1 -0
- package/lib/types/typography/text/Text.d.ts +21 -0
- package/lib/types/typography/text/Text.d.ts.map +1 -0
- package/lib/types/typography/text/Text.theme.d.ts +3 -0
- package/lib/types/typography/text/Text.theme.d.ts.map +1 -0
- package/lib/types/typography/text/index.d.ts +3 -0
- package/lib/types/typography/text/index.d.ts.map +1 -0
- package/lib/typography/index.js +1 -0
- package/lib/typography/text/HighlightedText.js +1 -0
- package/lib/typography/text/HighlightedText.theme.js +1 -0
- package/lib/typography/text/Text.js +1 -0
- package/lib/typography/text/Text.theme.js +1 -0
- package/lib/typography/text/index.js +1 -0
- package/package.json +30 -23
- package/lib/common/index.js +0 -1
- package/lib/common/typography.js +0 -1
- package/lib/components/action/Action.js +0 -1
- package/lib/components/action/Action.styles.js +0 -1
- package/lib/components/action/ActionBase.js +0 -1
- package/lib/components/action/IconAction.js +0 -1
- package/lib/components/action/IconAction.styles.js +0 -1
- package/lib/components/action/IconActionBase.js +0 -1
- package/lib/components/action/IconActionBase.styles.js +0 -1
- package/lib/components/action/index.js +0 -1
- package/lib/components/alert/AlertIndicator.js +0 -1
- package/lib/components/alert/AlertIndicator.styles.js +0 -1
- package/lib/components/alert/index.js +0 -1
- package/lib/components/avatar/Avatar.js +0 -1
- package/lib/components/avatar/Avatar.styles.js +0 -1
- package/lib/components/button/Button.js +0 -1
- package/lib/components/button/Button.styles.js +0 -1
- package/lib/components/button/ButtonBase.js +0 -1
- package/lib/components/button/ButtonBase.styles.js +0 -1
- package/lib/components/button/IconButton.js +0 -1
- package/lib/components/button/IconButton.styles.js +0 -1
- package/lib/components/button/IconButtonBase.js +0 -1
- package/lib/components/button/IconButtonBase.styles.js +0 -1
- package/lib/components/container/FormContainer.js +0 -1
- package/lib/components/container/FormRow.js +0 -1
- package/lib/components/container/Panel.js +0 -1
- package/lib/components/container/anchoredContainer/AnchoredContainer.ios.js +0 -1
- package/lib/components/container/anchoredContainer/AnchoredContainer.js +0 -1
- package/lib/components/container/anchoredContainer/AnchoredContainer.styles.js +0 -1
- package/lib/components/container/anchoredContainer/AnchoredContainer.web.js +0 -1
- package/lib/components/container/anchoredContainer/InlineMount.js +0 -1
- package/lib/components/container/anchoredContainer/OverlayMount.js +0 -1
- package/lib/components/container/anchoredContainer/helpers.js +0 -1
- package/lib/components/container/anchoredContainer/useAnchoredContainerPosition.js +0 -1
- package/lib/components/container/index.js +0 -1
- package/lib/components/icon/Icon.js +0 -1
- package/lib/components/icon/Icon.styles.js +0 -1
- package/lib/components/icon/IconBase.js +0 -1
- package/lib/components/icon/IconBase.styles.js +0 -1
- package/lib/components/icon/InteractiveIcon.js +0 -1
- package/lib/components/icon/InteractiveIcon.styles.js +0 -1
- package/lib/components/icon/index.js +0 -1
- package/lib/components/index.js +0 -1
- package/lib/components/input/CounterInput.js +0 -1
- package/lib/components/input/InputAction.js +0 -1
- package/lib/components/input/InputAction.styles.js +0 -1
- package/lib/components/input/InputBase.js +0 -1
- package/lib/components/input/InputBase.styles.js +0 -1
- package/lib/components/input/InputRowContainer.js +0 -1
- package/lib/components/input/InputScaffold.js +0 -1
- package/lib/components/input/InputScaffold.styles.js +0 -1
- package/lib/components/input/NumberInput.js +0 -1
- package/lib/components/input/NumberInputBase.js +0 -1
- package/lib/components/input/RatingInput.js +0 -1
- package/lib/components/input/SelectionInput.js +0 -1
- package/lib/components/input/SelectionInput.styles.js +0 -1
- package/lib/components/input/TextInput.js +0 -1
- package/lib/components/input/TimeInput.js +0 -1
- package/lib/components/input/ToggleInput.js +0 -1
- package/lib/components/input/ToggleInput.styles.js +0 -1
- package/lib/components/input/dropdownInput/DropdownBlurGuard.js +0 -1
- package/lib/components/input/dropdownInput/DropdownBlurGuard.web.js +0 -1
- package/lib/components/input/dropdownInput/DropdownInput.js +0 -1
- package/lib/components/input/dropdownInput/DropdownInput.styles.js +0 -1
- package/lib/components/input/dropdownInput/DropdownInputBase.js +0 -1
- package/lib/components/input/dropdownInput/helpers.js +0 -1
- package/lib/components/input/dropdownInput/index.js +0 -1
- package/lib/components/input/dropdownInput/useDropdownController.js +0 -1
- package/lib/components/input/index.js +0 -1
- package/lib/components/listItem/ListItem.js +0 -1
- package/lib/components/listItem/ListItem.styles.js +0 -1
- package/lib/components/listItem/ListItemAlert.js +0 -1
- package/lib/components/listItem/ListItemAvatar.js +0 -1
- package/lib/components/listItem/ListItemFooter.js +0 -1
- package/lib/components/listItem/ListItemRow.js +0 -1
- package/lib/components/listItem/index.js +0 -1
- package/lib/components/menu/Menu.js +0 -1
- package/lib/components/menu/Menu.styles.js +0 -1
- package/lib/components/menu/MenuItem.js +0 -1
- package/lib/components/menu/MenuItem.styles.js +0 -1
- package/lib/components/rating/Rating.js +0 -1
- package/lib/components/rating/Rating.styles.js +0 -1
- package/lib/components/rating/index.js +0 -1
- package/lib/components/swipe/SwipeAction.js +0 -1
- package/lib/components/swipe/SwipeAction.styles.js +0 -1
- package/lib/components/swipe/SwipeableContainer.js +0 -1
- package/lib/components/swipe/index.js +0 -1
- package/lib/components/tag/Tag.js +0 -1
- package/lib/components/tag/Tag.styles.js +0 -1
- package/lib/components/tag/TagIcon.js +0 -1
- package/lib/components/text/HighlightedText.js +0 -1
- package/lib/components/text/HighlightedText.styles.js +0 -1
- package/lib/components/text/InteractiveText.js +0 -1
- package/lib/components/text/InteractiveText.styles.js +0 -1
- package/lib/components/text/Text.js +0 -1
- package/lib/components/text/Text.styles.js +0 -1
- package/lib/components/text/index.js +0 -1
- package/lib/components/toast/Toast.js +0 -1
- package/lib/components/toast/Toast.styles.js +0 -1
- package/lib/hooks/index.js +0 -1
- package/lib/hooks/useControlledState.js +0 -1
- package/lib/hooks/useForwardedRef.js +0 -1
- package/lib/hooks/usePersistentKeyboardHeight.js +0 -1
- package/lib/hooks/useTheme.js +0 -1
- package/lib/hooks/useThemedStyles.js +0 -1
- package/lib/icons/componentIcons.js +0 -1
- package/lib/providers/ThemeContext.js +0 -1
- package/lib/providers/ThemeProvider.js +0 -1
- package/lib/providers/index.js +0 -1
- package/lib/style/createThemedStyles.js +0 -1
- package/lib/style/index.js +0 -1
- package/lib/style/styleFactory.js +0 -1
- package/lib/style/styles.js +0 -1
- package/lib/types/common/index.d.ts +0 -3
- package/lib/types/common/index.d.ts.map +0 -1
- package/lib/types/common/typography.d.ts +0 -6
- package/lib/types/common/typography.d.ts.map +0 -1
- package/lib/types/common/valueItem.d.ts.map +0 -1
- package/lib/types/components/action/Action.d.ts +0 -11
- package/lib/types/components/action/Action.d.ts.map +0 -1
- package/lib/types/components/action/Action.styles.d.ts +0 -10
- package/lib/types/components/action/Action.styles.d.ts.map +0 -1
- package/lib/types/components/action/ActionBase.d.ts +0 -9
- package/lib/types/components/action/ActionBase.d.ts.map +0 -1
- package/lib/types/components/action/IconAction.d.ts +0 -10
- package/lib/types/components/action/IconAction.d.ts.map +0 -1
- package/lib/types/components/action/IconAction.styles.d.ts +0 -18
- package/lib/types/components/action/IconAction.styles.d.ts.map +0 -1
- package/lib/types/components/action/IconActionBase.d.ts +0 -11
- package/lib/types/components/action/IconActionBase.d.ts.map +0 -1
- package/lib/types/components/action/IconActionBase.styles.d.ts +0 -14
- package/lib/types/components/action/IconActionBase.styles.d.ts.map +0 -1
- package/lib/types/components/action/index.d.ts +0 -5
- package/lib/types/components/action/index.d.ts.map +0 -1
- package/lib/types/components/alert/AlertIndicator.d.ts +0 -10
- package/lib/types/components/alert/AlertIndicator.d.ts.map +0 -1
- package/lib/types/components/alert/AlertIndicator.styles.d.ts +0 -11
- package/lib/types/components/alert/AlertIndicator.styles.d.ts.map +0 -1
- package/lib/types/components/alert/index.d.ts +0 -2
- package/lib/types/components/alert/index.d.ts.map +0 -1
- package/lib/types/components/avatar/Avatar.d.ts +0 -19
- package/lib/types/components/avatar/Avatar.d.ts.map +0 -1
- package/lib/types/components/avatar/Avatar.styles.d.ts +0 -22
- package/lib/types/components/avatar/Avatar.styles.d.ts.map +0 -1
- package/lib/types/components/avatar/index.d.ts.map +0 -1
- package/lib/types/components/button/Button.d.ts +0 -12
- package/lib/types/components/button/Button.d.ts.map +0 -1
- package/lib/types/components/button/Button.styles.d.ts +0 -15
- package/lib/types/components/button/Button.styles.d.ts.map +0 -1
- package/lib/types/components/button/ButtonBase.d.ts +0 -10
- package/lib/types/components/button/ButtonBase.d.ts.map +0 -1
- package/lib/types/components/button/ButtonBase.styles.d.ts +0 -15
- package/lib/types/components/button/ButtonBase.styles.d.ts.map +0 -1
- package/lib/types/components/button/IconButton.d.ts +0 -11
- package/lib/types/components/button/IconButton.d.ts.map +0 -1
- package/lib/types/components/button/IconButton.styles.d.ts +0 -15
- package/lib/types/components/button/IconButton.styles.d.ts.map +0 -1
- package/lib/types/components/button/IconButtonBase.d.ts +0 -10
- package/lib/types/components/button/IconButtonBase.d.ts.map +0 -1
- package/lib/types/components/button/IconButtonBase.styles.d.ts +0 -15
- package/lib/types/components/button/IconButtonBase.styles.d.ts.map +0 -1
- package/lib/types/components/button/index.d.ts +0 -5
- package/lib/types/components/button/index.d.ts.map +0 -1
- package/lib/types/components/container/FormContainer.d.ts +0 -12
- package/lib/types/components/container/FormContainer.d.ts.map +0 -1
- package/lib/types/components/container/FormRow.d.ts +0 -12
- package/lib/types/components/container/FormRow.d.ts.map +0 -1
- package/lib/types/components/container/Panel.d.ts +0 -10
- package/lib/types/components/container/Panel.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.d.ts +0 -45
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.ios.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.styles.d.ts +0 -6
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.styles.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.web.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/InlineMount.d.ts +0 -8
- package/lib/types/components/container/anchoredContainer/InlineMount.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/OverlayMount.d.ts +0 -10
- package/lib/types/components/container/anchoredContainer/OverlayMount.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/helpers.d.ts +0 -5
- package/lib/types/components/container/anchoredContainer/helpers.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/index.d.ts +0 -3
- package/lib/types/components/container/anchoredContainer/index.d.ts.map +0 -1
- package/lib/types/components/container/anchoredContainer/useAnchoredContainerPosition.d.ts +0 -29
- package/lib/types/components/container/anchoredContainer/useAnchoredContainerPosition.d.ts.map +0 -1
- package/lib/types/components/container/index.d.ts +0 -6
- package/lib/types/components/container/index.d.ts.map +0 -1
- package/lib/types/components/icon/Icon.d.ts +0 -10
- package/lib/types/components/icon/Icon.d.ts.map +0 -1
- package/lib/types/components/icon/Icon.styles.d.ts +0 -9
- package/lib/types/components/icon/Icon.styles.d.ts.map +0 -1
- package/lib/types/components/icon/IconBase.d.ts +0 -8
- package/lib/types/components/icon/IconBase.d.ts.map +0 -1
- package/lib/types/components/icon/IconBase.styles.d.ts +0 -8
- package/lib/types/components/icon/IconBase.styles.d.ts.map +0 -1
- package/lib/types/components/icon/IconComponentProps.d.ts +0 -6
- package/lib/types/components/icon/IconComponentProps.d.ts.map +0 -1
- package/lib/types/components/icon/InteractiveIcon.d.ts +0 -10
- package/lib/types/components/icon/InteractiveIcon.d.ts.map +0 -1
- package/lib/types/components/icon/InteractiveIcon.styles.d.ts +0 -11
- package/lib/types/components/icon/InteractiveIcon.styles.d.ts.map +0 -1
- package/lib/types/components/icon/index.d.ts +0 -5
- package/lib/types/components/icon/index.d.ts.map +0 -1
- package/lib/types/components/index.d.ts +0 -22
- package/lib/types/components/index.d.ts.map +0 -1
- package/lib/types/components/input/CounterInput.d.ts +0 -13
- package/lib/types/components/input/CounterInput.d.ts.map +0 -1
- package/lib/types/components/input/InputAction.d.ts +0 -7
- package/lib/types/components/input/InputAction.d.ts.map +0 -1
- package/lib/types/components/input/InputAction.styles.d.ts +0 -7
- package/lib/types/components/input/InputAction.styles.d.ts.map +0 -1
- package/lib/types/components/input/InputBase.d.ts +0 -13
- package/lib/types/components/input/InputBase.d.ts.map +0 -1
- package/lib/types/components/input/InputBase.styles.d.ts +0 -20
- package/lib/types/components/input/InputBase.styles.d.ts.map +0 -1
- package/lib/types/components/input/InputRowContainer.d.ts +0 -13
- package/lib/types/components/input/InputRowContainer.d.ts.map +0 -1
- package/lib/types/components/input/InputScaffold.d.ts +0 -26
- package/lib/types/components/input/InputScaffold.d.ts.map +0 -1
- package/lib/types/components/input/InputScaffold.styles.d.ts +0 -13
- package/lib/types/components/input/InputScaffold.styles.d.ts.map +0 -1
- package/lib/types/components/input/NumberInput.d.ts +0 -39
- package/lib/types/components/input/NumberInput.d.ts.map +0 -1
- package/lib/types/components/input/NumberInputBase.d.ts +0 -19
- package/lib/types/components/input/NumberInputBase.d.ts.map +0 -1
- package/lib/types/components/input/RatingInput.d.ts +0 -14
- package/lib/types/components/input/RatingInput.d.ts.map +0 -1
- package/lib/types/components/input/SelectionInput.d.ts +0 -30
- package/lib/types/components/input/SelectionInput.d.ts.map +0 -1
- package/lib/types/components/input/SelectionInput.styles.d.ts +0 -15
- package/lib/types/components/input/SelectionInput.styles.d.ts.map +0 -1
- package/lib/types/components/input/TextInput.d.ts +0 -7
- package/lib/types/components/input/TextInput.d.ts.map +0 -1
- package/lib/types/components/input/TimeInput.d.ts +0 -20
- package/lib/types/components/input/TimeInput.d.ts.map +0 -1
- package/lib/types/components/input/ToggleInput.d.ts +0 -15
- package/lib/types/components/input/ToggleInput.d.ts.map +0 -1
- package/lib/types/components/input/ToggleInput.styles.d.ts +0 -20
- package/lib/types/components/input/ToggleInput.styles.d.ts.map +0 -1
- package/lib/types/components/input/dropdownInput/DropdownBlurGuard.d.ts +0 -8
- package/lib/types/components/input/dropdownInput/DropdownBlurGuard.d.ts.map +0 -1
- package/lib/types/components/input/dropdownInput/DropdownBlurGuard.web.d.ts +0 -9
- package/lib/types/components/input/dropdownInput/DropdownBlurGuard.web.d.ts.map +0 -1
- package/lib/types/components/input/dropdownInput/DropdownInput.d.ts +0 -5
- package/lib/types/components/input/dropdownInput/DropdownInput.d.ts.map +0 -1
- package/lib/types/components/input/dropdownInput/DropdownInput.styles.d.ts +0 -6
- package/lib/types/components/input/dropdownInput/DropdownInput.styles.d.ts.map +0 -1
- package/lib/types/components/input/dropdownInput/DropdownInputBase.d.ts +0 -72
- package/lib/types/components/input/dropdownInput/DropdownInputBase.d.ts.map +0 -1
- package/lib/types/components/input/dropdownInput/helpers.d.ts +0 -13
- package/lib/types/components/input/dropdownInput/helpers.d.ts.map +0 -1
- package/lib/types/components/input/dropdownInput/index.d.ts +0 -4
- package/lib/types/components/input/dropdownInput/index.d.ts.map +0 -1
- package/lib/types/components/input/dropdownInput/useDropdownController.d.ts +0 -43
- package/lib/types/components/input/dropdownInput/useDropdownController.d.ts.map +0 -1
- package/lib/types/components/input/index.d.ts +0 -24
- package/lib/types/components/input/index.d.ts.map +0 -1
- package/lib/types/components/listItem/ListItem.d.ts +0 -34
- package/lib/types/components/listItem/ListItem.d.ts.map +0 -1
- package/lib/types/components/listItem/ListItem.styles.d.ts +0 -10
- package/lib/types/components/listItem/ListItem.styles.d.ts.map +0 -1
- package/lib/types/components/listItem/ListItemAlert.d.ts +0 -6
- package/lib/types/components/listItem/ListItemAlert.d.ts.map +0 -1
- package/lib/types/components/listItem/ListItemAvatar.d.ts +0 -6
- package/lib/types/components/listItem/ListItemAvatar.d.ts.map +0 -1
- package/lib/types/components/listItem/ListItemFooter.d.ts +0 -6
- package/lib/types/components/listItem/ListItemFooter.d.ts.map +0 -1
- package/lib/types/components/listItem/ListItemRow.d.ts +0 -6
- package/lib/types/components/listItem/ListItemRow.d.ts.map +0 -1
- package/lib/types/components/listItem/index.d.ts +0 -6
- package/lib/types/components/listItem/index.d.ts.map +0 -1
- package/lib/types/components/menu/Menu.d.ts +0 -20
- package/lib/types/components/menu/Menu.d.ts.map +0 -1
- package/lib/types/components/menu/Menu.styles.d.ts +0 -12
- package/lib/types/components/menu/Menu.styles.d.ts.map +0 -1
- package/lib/types/components/menu/MenuItem.d.ts +0 -10
- package/lib/types/components/menu/MenuItem.d.ts.map +0 -1
- package/lib/types/components/menu/MenuItem.styles.d.ts +0 -8
- package/lib/types/components/menu/MenuItem.styles.d.ts.map +0 -1
- package/lib/types/components/menu/index.d.ts.map +0 -1
- package/lib/types/components/rating/Rating.d.ts +0 -30
- package/lib/types/components/rating/Rating.d.ts.map +0 -1
- package/lib/types/components/rating/Rating.styles.d.ts +0 -12
- package/lib/types/components/rating/Rating.styles.d.ts.map +0 -1
- package/lib/types/components/rating/index.d.ts +0 -3
- package/lib/types/components/rating/index.d.ts.map +0 -1
- package/lib/types/components/rating/ratingUtils.d.ts.map +0 -1
- package/lib/types/components/swipe/SwipeAction.d.ts +0 -6
- package/lib/types/components/swipe/SwipeAction.d.ts.map +0 -1
- package/lib/types/components/swipe/SwipeAction.styles.d.ts +0 -6
- package/lib/types/components/swipe/SwipeAction.styles.d.ts.map +0 -1
- package/lib/types/components/swipe/SwipeableContainer.d.ts +0 -13
- package/lib/types/components/swipe/SwipeableContainer.d.ts.map +0 -1
- package/lib/types/components/swipe/index.d.ts +0 -3
- package/lib/types/components/swipe/index.d.ts.map +0 -1
- package/lib/types/components/tag/Tag.d.ts +0 -14
- package/lib/types/components/tag/Tag.d.ts.map +0 -1
- package/lib/types/components/tag/Tag.styles.d.ts +0 -8
- package/lib/types/components/tag/Tag.styles.d.ts.map +0 -1
- package/lib/types/components/tag/TagIcon.d.ts +0 -3
- package/lib/types/components/tag/TagIcon.d.ts.map +0 -1
- package/lib/types/components/tag/index.d.ts.map +0 -1
- package/lib/types/components/text/HighlightedText.d.ts +0 -12
- package/lib/types/components/text/HighlightedText.d.ts.map +0 -1
- package/lib/types/components/text/HighlightedText.styles.d.ts +0 -8
- package/lib/types/components/text/HighlightedText.styles.d.ts.map +0 -1
- package/lib/types/components/text/InteractiveText.d.ts +0 -13
- package/lib/types/components/text/InteractiveText.d.ts.map +0 -1
- package/lib/types/components/text/InteractiveText.styles.d.ts +0 -10
- package/lib/types/components/text/InteractiveText.styles.d.ts.map +0 -1
- package/lib/types/components/text/Text.d.ts +0 -9
- package/lib/types/components/text/Text.d.ts.map +0 -1
- package/lib/types/components/text/Text.styles.d.ts +0 -15
- package/lib/types/components/text/Text.styles.d.ts.map +0 -1
- package/lib/types/components/text/index.d.ts +0 -4
- package/lib/types/components/text/index.d.ts.map +0 -1
- package/lib/types/components/toast/Toast.d.ts +0 -9
- package/lib/types/components/toast/Toast.d.ts.map +0 -1
- package/lib/types/components/toast/Toast.styles.d.ts +0 -11
- package/lib/types/components/toast/Toast.styles.d.ts.map +0 -1
- package/lib/types/components/toast/index.d.ts.map +0 -1
- package/lib/types/hooks/index.d.ts +0 -6
- package/lib/types/hooks/index.d.ts.map +0 -1
- package/lib/types/hooks/useControlledState.d.ts +0 -8
- package/lib/types/hooks/useControlledState.d.ts.map +0 -1
- package/lib/types/hooks/useForwardedRef.d.ts +0 -3
- package/lib/types/hooks/useForwardedRef.d.ts.map +0 -1
- package/lib/types/hooks/usePersistentKeyboardHeight.d.ts +0 -4
- package/lib/types/hooks/usePersistentKeyboardHeight.d.ts.map +0 -1
- package/lib/types/hooks/useTheme.d.ts +0 -7
- package/lib/types/hooks/useTheme.d.ts.map +0 -1
- package/lib/types/hooks/useThemedStyles.d.ts +0 -53
- package/lib/types/hooks/useThemedStyles.d.ts.map +0 -1
- package/lib/types/icons/componentIcons.d.ts +0 -125
- package/lib/types/icons/componentIcons.d.ts.map +0 -1
- package/lib/types/providers/ThemeContext.d.ts +0 -10
- package/lib/types/providers/ThemeContext.d.ts.map +0 -1
- package/lib/types/providers/ThemeProvider.d.ts +0 -20
- package/lib/types/providers/ThemeProvider.d.ts.map +0 -1
- package/lib/types/providers/index.d.ts +0 -3
- package/lib/types/providers/index.d.ts.map +0 -1
- package/lib/types/style/createThemedStyles.d.ts +0 -5
- package/lib/types/style/createThemedStyles.d.ts.map +0 -1
- package/lib/types/style/index.d.ts +0 -4
- package/lib/types/style/index.d.ts.map +0 -1
- package/lib/types/style/styleFactory.d.ts +0 -3
- package/lib/types/style/styleFactory.d.ts.map +0 -1
- package/lib/types/style/styles.d.ts +0 -51
- package/lib/types/style/styles.d.ts.map +0 -1
- /package/lib/{components → actions}/button/index.js +0 -0
- /package/lib/{components → display}/avatar/index.js +0 -0
- /package/lib/{components → display}/rating/ratingUtils.js +0 -0
- /package/lib/{components → display}/tag/index.js +0 -0
- /package/lib/{components → feedback}/toast/index.js +0 -0
- /package/lib/{common → forms/input}/valueItem.js +0 -0
- /package/lib/{components/icon → icons}/IconComponentProps.js +0 -0
- /package/lib/{components/container → overlays}/anchoredContainer/index.js +0 -0
- /package/lib/{components → overlays}/menu/index.js +0 -0
- /package/lib/types/{components → display}/avatar/index.d.ts +0 -0
- /package/lib/types/{components → display}/rating/ratingUtils.d.ts +0 -0
- /package/lib/types/{components → display}/tag/index.d.ts +0 -0
- /package/lib/types/{components → feedback}/toast/index.d.ts +0 -0
- /package/lib/types/{common → forms/input}/valueItem.d.ts +0 -0
- /package/lib/types/{components/container → overlays}/anchoredContainer/AnchoredContainer.ios.d.ts +0 -0
- /package/lib/types/{components/container → overlays}/anchoredContainer/AnchoredContainer.web.d.ts +0 -0
- /package/lib/types/{components → overlays}/menu/index.d.ts +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { fieldAria } from "./a11y";
|
|
2
|
+
export type { FieldComponentProps, FieldProps } from "./Field";
|
|
3
|
+
export { Field } from "./Field";
|
|
4
|
+
export type { FieldTheme, InputVariant } from "./Field.theme";
|
|
5
|
+
export type { FieldActionProps } from "./FieldAction";
|
|
6
|
+
export { FieldAction } from "./FieldAction";
|
|
7
|
+
export { useFieldControlState } from "./FieldContext";
|
|
8
|
+
export type { FieldIconProps } from "./FieldIcon";
|
|
9
|
+
export { FieldIcon } from "./FieldIcon";
|
|
10
|
+
export type { FieldNumberInputProps } from "./FieldNumberInput";
|
|
11
|
+
export { FieldNumberInput } from "./FieldNumberInput";
|
|
12
|
+
export type { FieldRowProps } from "./FieldRow";
|
|
13
|
+
export { FieldRow } from "./FieldRow";
|
|
14
|
+
export type { FieldSurfaceProps } from "./FieldSurface";
|
|
15
|
+
export { FieldSurface } from "./FieldSurface";
|
|
16
|
+
export type { FieldTextInputProps } from "./FieldTextInput";
|
|
17
|
+
export { FieldTextInput } from "./FieldTextInput";
|
|
18
|
+
export { useFieldControlFocus } from "./useFieldControlFocus";
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC9D,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { TextInputProps, ViewProps } from "react-native";
|
|
2
|
+
type FieldFocusHandlerInput = Pick<TextInputProps, "onFocus" | "onBlur" | "onPressIn" | "onPressOut">;
|
|
3
|
+
type FieldFocusProps = ViewProps & TextInputProps;
|
|
4
|
+
type UseFieldControlFocusOptions = {
|
|
5
|
+
focusable?: boolean;
|
|
6
|
+
pressEvents?: boolean;
|
|
7
|
+
focus?: () => void;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Wires focus behavior for a control inside a Field.
|
|
11
|
+
*
|
|
12
|
+
* Tracks focus-visible, registers the control for imperative focus, and reports
|
|
13
|
+
* focus to an enclosing FieldSurface (which owns the ring when nested). Returns
|
|
14
|
+
* the focus-ring style and handlers to spread onto the control.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useFieldControlFocus: ({ focusable, pressEvents, focus, }?: UseFieldControlFocusOptions) => {
|
|
17
|
+
focusRingStyle: {
|
|
18
|
+
outlineColor: string;
|
|
19
|
+
outlineStyle: "solid";
|
|
20
|
+
outlineWidth: number;
|
|
21
|
+
outlineOffset?: number;
|
|
22
|
+
position?: "relative";
|
|
23
|
+
zIndex?: number;
|
|
24
|
+
};
|
|
25
|
+
getFocusProps: (handlers?: FieldFocusHandlerInput) => FieldFocusProps;
|
|
26
|
+
isNestedInSurface: boolean;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=useFieldControlFocus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFieldControlFocus.d.ts","sourceRoot":"","sources":["../../../../src/forms/field/useFieldControlFocus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQ9D,KAAK,sBAAsB,GAAG,IAAI,CAC9B,cAAc,EACd,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,YAAY,CACpD,CAAC;AAEF,KAAK,eAAe,GAAG,SAAS,GAAG,cAAc,CAAC;AAElD,KAAK,2BAA2B,GAAG;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAAI,qCAIlC,2BAAgC;;;;;;;;;+BAejB,sBAAsB,KACjC,eAAe;;CA6BrB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FieldControlRegistration } from "./FieldContext";
|
|
2
|
+
export type FieldControlRegistry = {
|
|
3
|
+
registerControl: (registration: FieldControlRegistration) => () => void;
|
|
4
|
+
focusFirstControl: () => void;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Tracks registered field controls.
|
|
8
|
+
*/
|
|
9
|
+
export declare const useFieldControlRegistry: (disabled: boolean) => FieldControlRegistry;
|
|
10
|
+
//# sourceMappingURL=useFieldControlRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFieldControlRegistry.d.ts","sourceRoot":"","sources":["../../../../src/forms/field/useFieldControlRegistry.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,MAAM,oBAAoB,GAAG;IAC/B,eAAe,EAAE,CAAC,YAAY,EAAE,wBAAwB,KAAK,MAAM,IAAI,CAAC;IACxE,iBAAiB,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAChC,UAAU,OAAO,KAClB,oBAoBF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FC, ReactNode } from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
|
+
export interface FormContainerTheme {
|
|
5
|
+
gap: number;
|
|
6
|
+
}
|
|
7
|
+
export interface FormContainerProps {
|
|
8
|
+
theme?: DeepPartial<FormContainerTheme>;
|
|
9
|
+
style?: StyleProp<ViewStyle>;
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const FormContainer: FC<FormContainerProps>;
|
|
13
|
+
//# sourceMappingURL=FormContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormContainer.d.ts","sourceRoot":"","sources":["../../../../src/forms/formContainer/FormContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAIH,KAAK,SAAS,EAEd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,WAAW,kBAAkB;IAC/B,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,kBAAkB;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAuBhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormContainer.theme.d.ts","sourceRoot":"","sources":["../../../../src/forms/formContainer/FormContainer.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,yBAAyB,EAAE,YAAY,CAAC,eAAe,CAIlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/formContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FC, type ReactNode } from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
|
+
export interface FormRowTheme {
|
|
5
|
+
gap: number;
|
|
6
|
+
}
|
|
7
|
+
export interface FormRowProps {
|
|
8
|
+
theme?: DeepPartial<FormRowTheme>;
|
|
9
|
+
style?: StyleProp<ViewStyle>;
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const FormRow: FC<FormRowProps>;
|
|
13
|
+
//# sourceMappingURL=FormRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRow.d.ts","sourceRoot":"","sources":["../../../../src/forms/formRow/FormRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,EAAkB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,WAAW,YAAY;IACzB,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IACzB,KAAK,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAwBpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRow.theme.d.ts","sourceRoot":"","sources":["../../../../src/forms/formRow/FormRow.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,SAAS,CAItD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/formRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type { FieldActionProps, FieldComponentProps, FieldIconProps, FieldNumberInputProps, FieldProps, FieldRowProps, FieldSurfaceProps, FieldTextInputProps, InputVariant, } from "./field";
|
|
2
|
+
export { Field, FieldAction, FieldIcon, FieldNumberInput, FieldRow, FieldSurface, FieldTextInput, } from "./field";
|
|
3
|
+
export type { FormContainerProps } from "./formContainer";
|
|
4
|
+
export { FormContainer } from "./formContainer";
|
|
5
|
+
export type { FormRowProps } from "./formRow";
|
|
6
|
+
export { FormRow } from "./formRow";
|
|
7
|
+
export type { ComboboxInputHandle, ComboboxInputProps, ComboboxValue, CounterInputProps, FractionValue, NumberInputHandle, NumberInputPlaceholders, NumberInputProps, NumberInputValue, NumberValue, RangeValue, RatingInputProps, SelectionInputProps, TextInputProps, TimeInputHandle, TimeInputPlaceholders, TimeInputProps, TimeInputValue, ToggleInputProps, ValueItem, ValueItemComplex, ValueItemSimple, } from "./input";
|
|
8
|
+
export { ComboboxInput, CounterInput, NumberInput, RatingInput, SelectionInput, TextInput, TimeInput, ToggleInput, } from "./input";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,GACf,MAAM,SAAS,CAAC;AACjB,OAAO,EACH,KAAK,EACL,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,cAAc,GACjB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACR,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,eAAe,GAClB,MAAM,SAAS,CAAC;AACjB,OAAO,EACH,aAAa,EACb,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,SAAS,EACT,WAAW,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FC } from "react";
|
|
2
|
+
import { type FieldComponentProps, type FieldTextInputProps } from "../field";
|
|
3
|
+
export type TextInputProps = FieldComponentProps & Omit<FieldTextInputProps, "style">;
|
|
4
|
+
/**
|
|
5
|
+
* Single-line text field.
|
|
6
|
+
*/
|
|
7
|
+
export declare const TextInput: FC<TextInputProps>;
|
|
8
|
+
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../src/forms/input/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAEH,KAAK,mBAAmB,EAGxB,KAAK,mBAAmB,EAC3B,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAC5C,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA2BxC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PropsWithChildren } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Prevents the input from losing focus when interacting with the combobox.
|
|
4
|
+
* On native this is a no-op; on web it cancels the default `mousedown`
|
|
5
|
+
* behaviour so a click on a menu item can complete without blurring the input.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ComboboxBlurGuard: ({ children }: PropsWithChildren) => import("react").ReactNode;
|
|
8
|
+
//# sourceMappingURL=ComboboxBlurGuard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComboboxBlurGuard.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/comboboxInput/ComboboxBlurGuard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,cAAc,iBAAiB,8BAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PropsWithChildren } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Prevents the input from losing focus when interacting with the combobox.
|
|
4
|
+
* Cancels the default `mousedown` behaviour (which would blur the input and
|
|
5
|
+
* unmount the combobox before the click lands) so a click on a menu item can
|
|
6
|
+
* complete.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ComboboxBlurGuard: ({ children }: PropsWithChildren) => import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ComboboxBlurGuard.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComboboxBlurGuard.web.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/comboboxInput/ComboboxBlurGuard.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAW/C;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,cAAc,iBAAiB,gCAEhE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FieldComponentProps } from "../../field";
|
|
2
|
+
import { type ComboboxInputBaseProps } from "./ComboboxInputBase";
|
|
3
|
+
export interface ComboboxInputTheme {
|
|
4
|
+
panelGap: number;
|
|
5
|
+
}
|
|
6
|
+
export type ComboboxInputProps<T = string> = Pick<ComboboxInputBaseProps<T>, "autoCapitalize" | "returnKeyType" | "returnKeyLabel" | "onBlur" | "placeholder" | "onChangeText" | "controllerRef" | "clearButtonMode" | "maxLength" | "onSubmitEditing" | "autoFocus" | "items" | "value" | "defaultValue" | "onChange" | "openOnFocus" | "allowsCustomValue" | "blurOnSelect" | "filterItems" | "minimumSearchLength" | "maxSuggestionCount" | "containerPosition" | "ref"> & FieldComponentProps;
|
|
7
|
+
export declare const ComboboxInput: <T>({ label, hideLabel, help, error, required, disabled, readOnly, variant, style, onChange, ...props }: ComboboxInputProps<T>) => import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ComboboxInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/comboboxInput/ComboboxInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAS,KAAK,mBAAmB,EAAgB,MAAM,aAAa,CAAC;AAC5E,OAAO,EAEH,KAAK,sBAAsB,EAC9B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,MAAM,IAAI,IAAI,CAC7C,sBAAsB,CAAC,CAAC,CAAC,EACvB,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,cAAc,GACd,eAAe,GACf,iBAAiB,GACjB,WAAW,GACX,iBAAiB,GACjB,WAAW,GACX,OAAO,GACP,OAAO,GACP,cAAc,GACd,UAAU,GACV,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,aAAa,GACb,qBAAqB,GACrB,oBAAoB,GACpB,mBAAmB,GACnB,KAAK,CACV,GACG,mBAAmB,CAAC;AAExB,eAAO,MAAM,aAAa,GAAI,CAAC,EAAG,qGAY/B,kBAAkB,CAAC,CAAC,CAAC,gCAwBvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComboboxInput.theme.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/comboboxInput/ComboboxInput.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,eAAO,MAAM,yBAAyB,EAAE,YAAY,CAAC,eAAe,CAIlE,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { type Ref } from "react";
|
|
2
|
+
import type { TextInput as DefaultTextInput, View } from "react-native";
|
|
3
|
+
import type { AnimatedRef } from "react-native-reanimated";
|
|
4
|
+
import { type AnchoredContainerProps } from "../../../overlays/anchoredContainer";
|
|
5
|
+
import { type FieldTextInputProps } from "../../field";
|
|
6
|
+
import type { ValueItem } from "../valueItem";
|
|
7
|
+
import { type ComboboxValue } from "./helpers";
|
|
8
|
+
export type { ComboboxValue } from "./helpers";
|
|
9
|
+
export interface ComboboxInputHandle {
|
|
10
|
+
setInputValue: (text: string) => void;
|
|
11
|
+
clear: () => void;
|
|
12
|
+
open: () => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
focus: () => void;
|
|
15
|
+
blur: () => void;
|
|
16
|
+
}
|
|
17
|
+
export type ComboboxInputBaseProps<T = string> = Pick<FieldTextInputProps, "autoCapitalize" | "returnKeyType" | "returnKeyLabel" | "onBlur" | "onFocus" | "onKeyPress" | "placeholder" | "clearButtonMode" | "maxLength" | "onSubmitEditing" | "autoFocus" | "style"> & {
|
|
18
|
+
items?: Array<ValueItem<T>>;
|
|
19
|
+
/**
|
|
20
|
+
* The selected item's key. Controlled when supplied; otherwise the
|
|
21
|
+
* component manages selection internally (seed it with `defaultValue`).
|
|
22
|
+
*/
|
|
23
|
+
value?: ComboboxValue<T>;
|
|
24
|
+
/** Initial selection for uncontrolled usage. */
|
|
25
|
+
defaultValue?: ComboboxValue<T>;
|
|
26
|
+
/**
|
|
27
|
+
* Called when the selection changes. The item is `undefined` for a custom
|
|
28
|
+
* (free-typed) value; `inputValue` is always the current input text.
|
|
29
|
+
*/
|
|
30
|
+
onChange?: (item: ValueItem<T> | undefined, inputValue: string) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Notification for text changes: user typing, imperative set/clear, and
|
|
33
|
+
* reverts to the selected label on blur/escape. Not called on selection
|
|
34
|
+
* (use `onChange` for that).
|
|
35
|
+
*/
|
|
36
|
+
onChangeText?: (text: string) => void;
|
|
37
|
+
/** Imperative controls (set text, clear, open/close, focus/blur). */
|
|
38
|
+
controllerRef?: Ref<ComboboxInputHandle>;
|
|
39
|
+
/**
|
|
40
|
+
* Whether focusing the input opens the list of all options.
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
openOnFocus?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether free-typed values that don't match an item are kept and reported
|
|
46
|
+
* through `onChange` (rather than reverting to the selected item on blur).
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
allowsCustomValue?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Whether selecting an item blurs (and closes) the input.
|
|
52
|
+
* @default true
|
|
53
|
+
*/
|
|
54
|
+
blurOnSelect?: boolean;
|
|
55
|
+
/** Overrides the default label/description matching. */
|
|
56
|
+
filterItems?: (item: ValueItem<T>, query: string) => boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Minimum number of characters required before typed suggestions appear.
|
|
59
|
+
* @default 1
|
|
60
|
+
*/
|
|
61
|
+
minimumSearchLength?: number;
|
|
62
|
+
/** Optional cap on the number of rendered items. */
|
|
63
|
+
maxSuggestionCount?: number;
|
|
64
|
+
containerPosition?: AnchoredContainerProps["position"];
|
|
65
|
+
/**
|
|
66
|
+
* Anchor for the iOS overlay. When omitted, iOS falls back to the inline
|
|
67
|
+
* mount, which can clip inside scrollable or clipped parents.
|
|
68
|
+
*/
|
|
69
|
+
anchorRef?: AnimatedRef<View>;
|
|
70
|
+
ref?: Ref<DefaultTextInput>;
|
|
71
|
+
};
|
|
72
|
+
export declare const ComboboxInputBase: <T>(props: ComboboxInputBaseProps<T>) => import("react").JSX.Element;
|
|
73
|
+
//# sourceMappingURL=ComboboxInputBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComboboxInputBase.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/comboboxInput/ComboboxInputBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAiC,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,EAEH,KAAK,sBAAsB,EAC9B,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAEH,KAAK,mBAAmB,EAE3B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,KAAK,aAAa,EAAc,MAAM,WAAW,CAAC;AAG3D,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,WAAW,mBAAmB;IAChC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,MAAM,MAAM,sBAAsB,CAAC,CAAC,GAAG,MAAM,IAAI,IAAI,CACjD,mBAAmB,EACjB,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,SAAS,GACT,YAAY,GACZ,aAAa,GACb,iBAAiB,GACjB,WAAW,GACX,iBAAiB,GACjB,WAAW,GACX,OAAO,CACZ,GAAG;IACA,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAE5B;;;OAGG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAEzB,gDAAgD;IAChD,YAAY,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAEhC;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAExE;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEtC,qEAAqE;IACrE,aAAa,CAAC,EAAE,GAAG,CAAC,mBAAmB,CAAC,CAAC;IAEzC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,wDAAwD;IACxD,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAE7D;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,oDAAoD;IACpD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,iBAAiB,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAEvD;;;OAGG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAE9B,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;CAC/B,CAAC;AAIF,eAAO,MAAM,iBAAiB,GAAI,CAAC,EAAG,OAAO,sBAAsB,CAAC,CAAC,CAAC,gCAgIrE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ValueItem } from "../valueItem";
|
|
2
|
+
export type ComboboxValue<T> = T extends string | number ? T : string;
|
|
3
|
+
export declare const getItemKey: <T>(item: ValueItem<T>) => ComboboxValue<T>;
|
|
4
|
+
export type ComboboxFilterOptions<T> = {
|
|
5
|
+
filterItems?: (item: ValueItem<T>, query: string) => boolean;
|
|
6
|
+
maxSuggestionCount?: number;
|
|
7
|
+
minimumSearchLength?: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const filterComboboxItems: <T>(items: Array<ValueItem<T>>, query: string, { filterItems, maxSuggestionCount, minimumSearchLength, }: ComboboxFilterOptions<T>) => {
|
|
10
|
+
filteredItems: ValueItem<T>[];
|
|
11
|
+
meetsMinimum: boolean;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/comboboxInput/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,CAAC,GAAG,MAAM,CAAC;AAEtE,eAAO,MAAM,UAAU,GAAI,CAAC,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,KAAG,aAAa,CAAC,CAAC,CACL,CAAC;AAE9D,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI;IACnC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAC7D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,EACjC,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAC1B,OAAO,MAAM,EACb,2DAIG,qBAAqB,CAAC,CAAC,CAAC;;;CAiC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/comboboxInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
import type { BlurEvent, TextInput as DefaultTextInput, FocusEvent, TextInputKeyPressEvent } from "react-native";
|
|
3
|
+
import type { FieldTextInputProps } from "../../field";
|
|
4
|
+
import type { ValueItem } from "../valueItem";
|
|
5
|
+
import { type ComboboxValue } from "./helpers";
|
|
6
|
+
export type ComboboxControllerOptions<T> = {
|
|
7
|
+
items: Array<ValueItem<T>>;
|
|
8
|
+
value: ComboboxValue<T> | undefined;
|
|
9
|
+
defaultValue: ComboboxValue<T> | undefined;
|
|
10
|
+
isValueControlled: boolean;
|
|
11
|
+
interactive: boolean;
|
|
12
|
+
onChange?: (item: ValueItem<T> | undefined, inputValue: string) => void;
|
|
13
|
+
onChangeText?: (text: string) => void;
|
|
14
|
+
onFocus?: FieldTextInputProps["onFocus"];
|
|
15
|
+
onBlur?: FieldTextInputProps["onBlur"];
|
|
16
|
+
onKeyPress?: FieldTextInputProps["onKeyPress"];
|
|
17
|
+
onSubmitEditing?: FieldTextInputProps["onSubmitEditing"];
|
|
18
|
+
openOnFocus: boolean;
|
|
19
|
+
allowsCustomValue: boolean;
|
|
20
|
+
blurOnSelect: boolean;
|
|
21
|
+
filterItems?: (item: ValueItem<T>, query: string) => boolean;
|
|
22
|
+
minimumSearchLength: number;
|
|
23
|
+
maxSuggestionCount?: number;
|
|
24
|
+
inputRef: RefObject<DefaultTextInput | null>;
|
|
25
|
+
isMenuInverted?: boolean;
|
|
26
|
+
};
|
|
27
|
+
export declare const useComboboxController: <T>({ items, value, defaultValue, isValueControlled, interactive, onChange, onChangeText, onFocus, onBlur, onKeyPress, onSubmitEditing, openOnFocus, allowsCustomValue, blurOnSelect, filterItems, minimumSearchLength, maxSuggestionCount, inputRef, isMenuInverted, }: ComboboxControllerOptions<T>) => {
|
|
28
|
+
displayText: string;
|
|
29
|
+
query: string;
|
|
30
|
+
filteredItems: ValueItem<T>[];
|
|
31
|
+
showContainer: boolean;
|
|
32
|
+
activeIndex: number;
|
|
33
|
+
handleFocus: (e: FocusEvent) => void;
|
|
34
|
+
handleBlur: (e: BlurEvent) => void;
|
|
35
|
+
handleKeyPress: (e: TextInputKeyPressEvent) => void;
|
|
36
|
+
handleSubmitEditing: (e: import("react-native").TextInputSubmitEditingEvent) => void;
|
|
37
|
+
selectItem: (item: ValueItem<T>) => void;
|
|
38
|
+
updateInputText: (next: string) => void;
|
|
39
|
+
clear: () => void;
|
|
40
|
+
open: () => void;
|
|
41
|
+
close: () => void;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=useComboboxController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useComboboxController.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/comboboxInput/useComboboxController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AACpE,OAAO,KAAK,EACR,SAAS,EACT,SAAS,IAAI,gBAAgB,EAC7B,UAAU,EACV,sBAAsB,EACzB,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,KAAK,aAAa,EAAmC,MAAM,WAAW,CAAC;AAQhF,MAAM,MAAM,yBAAyB,CAAC,CAAC,IAAI;IACvC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACpC,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IAC3C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACzC,MAAM,CAAC,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAC/C,eAAe,CAAC,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;IACzD,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAC7D,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC7C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAE,qQAoBtC,yBAAyB,CAAC,CAAC,CAAC;;;;;;;;;;uBA+ED,SAAS,CAAC,CAAC,CAAC;4BAwDP,MAAM;;;;CA2JxC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FC } from "react";
|
|
2
|
+
import { type FieldNumberInputProps } from "../../field";
|
|
3
|
+
import type { CounterInputProps } from "./CounterInput";
|
|
4
|
+
export type CounterControlProps = {
|
|
5
|
+
value?: string;
|
|
6
|
+
onChange?: (value: string) => void;
|
|
7
|
+
disableKeyboardInput?: boolean;
|
|
8
|
+
interval: number;
|
|
9
|
+
min: number;
|
|
10
|
+
max: number;
|
|
11
|
+
keyboardType: NonNullable<CounterInputProps["keyboardType"]>;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
maxLength?: number;
|
|
14
|
+
onSubmitEditing?: FieldNumberInputProps["onSubmitEditing"];
|
|
15
|
+
};
|
|
16
|
+
export declare const CounterControl: FC<CounterControlProps>;
|
|
17
|
+
//# sourceMappingURL=CounterControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CounterControl.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/counterInput/CounterControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,EAGH,KAAK,qBAAqB,EAI7B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,WAAW,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;CAC9D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAwElD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FC } from "react";
|
|
2
|
+
import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
|
|
3
|
+
import { type FieldComponentProps, type FieldNumberInputProps } from "../../field";
|
|
4
|
+
export type CounterInputIcons = ComponentIconAssets<"decrease" | "increase">;
|
|
5
|
+
export type CounterInputProps = FieldComponentProps & Pick<FieldNumberInputProps, "placeholder" | "maxLength" | "onSubmitEditing" | "keyboardType"> & {
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
disableKeyboardInput?: boolean;
|
|
9
|
+
interval?: number;
|
|
10
|
+
min?: number;
|
|
11
|
+
max?: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Numeric input with increment and decrement actions.
|
|
15
|
+
*
|
|
16
|
+
* ArrowUp/ArrowDown and the actions step by `interval` within `min` and `max`.
|
|
17
|
+
*/
|
|
18
|
+
export declare const CounterInput: FC<CounterInputProps>;
|
|
19
|
+
//# sourceMappingURL=CounterInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CounterInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/counterInput/CounterInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAEH,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC7B,MAAM,aAAa,CAAC;AAGrB,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,UAAU,GAAG,UAAU,CAAC,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAC/C,IAAI,CACA,qBAAqB,EACrB,aAAa,GAAG,WAAW,GAAG,iBAAiB,GAAG,cAAc,CACnE,GAAG;IACA,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEN;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA6B9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/counterInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type { ComboboxInputProps } from "./comboboxInput";
|
|
2
|
+
export { ComboboxInput, type ComboboxInputHandle, type ComboboxValue, } from "./comboboxInput";
|
|
3
|
+
export type { CounterInputProps } from "./counterInput";
|
|
4
|
+
export { CounterInput } from "./counterInput";
|
|
5
|
+
export type { FractionValue, NumberInputHandle, NumberInputPlaceholders, NumberInputProps, NumberInputValue, NumberValue, RangeValue, } from "./numberInput";
|
|
6
|
+
export { NumberInput } from "./numberInput";
|
|
7
|
+
export type { RatingInputProps } from "./ratingInput";
|
|
8
|
+
export { RatingInput } from "./ratingInput";
|
|
9
|
+
export type { SelectionInputProps } from "./selectionInput";
|
|
10
|
+
export { SelectionInput } from "./selectionInput";
|
|
11
|
+
export type { TextInputProps } from "./TextInput";
|
|
12
|
+
export { TextInput } from "./TextInput";
|
|
13
|
+
export type { TimeInputHandle, TimeInputPlaceholders, TimeInputProps, TimeInputValue, } from "./timeInput";
|
|
14
|
+
export { TimeInput } from "./timeInput";
|
|
15
|
+
export type { ToggleInputProps } from "./toggleInput";
|
|
16
|
+
export { ToggleInput } from "./toggleInput";
|
|
17
|
+
export type { ValueItem, ValueItemComplex, ValueItemSimple, } from "./valueItem";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/input/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EACH,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,aAAa,GACrB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACR,aAAa,EACb,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACR,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,cAAc,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACR,SAAS,EACT,gBAAgB,EAChB,eAAe,GAClB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type FC, type Ref } from "react";
|
|
2
|
+
import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
|
|
3
|
+
import { type FieldComponentProps, type FieldNumberInputProps } from "../../field";
|
|
4
|
+
import { type SegmentedInputHandle } from "../shared/useSegmentedInputNavigation";
|
|
5
|
+
export type NumberInputHandle = SegmentedInputHandle & {
|
|
6
|
+
clear: () => void;
|
|
7
|
+
};
|
|
8
|
+
export type NumberValue = {
|
|
9
|
+
representation: "number";
|
|
10
|
+
value: string;
|
|
11
|
+
};
|
|
12
|
+
export type RangeValue = {
|
|
13
|
+
representation: "range";
|
|
14
|
+
value: [string, string];
|
|
15
|
+
};
|
|
16
|
+
export type FractionValue = {
|
|
17
|
+
representation: "fraction";
|
|
18
|
+
value: [string, string, string];
|
|
19
|
+
};
|
|
20
|
+
export type Representations = "number" | "fraction" | "range";
|
|
21
|
+
export type NumberInputValue = NumberValue | FractionValue | RangeValue;
|
|
22
|
+
export type NumberInputPlaceholders = {
|
|
23
|
+
value?: string;
|
|
24
|
+
start?: string;
|
|
25
|
+
end?: string;
|
|
26
|
+
whole?: string;
|
|
27
|
+
numerator?: string;
|
|
28
|
+
denominator?: string;
|
|
29
|
+
};
|
|
30
|
+
export type NumberInputIcons = ComponentIconAssets<Representations>;
|
|
31
|
+
export type NumberInputProps = FieldComponentProps & Pick<FieldNumberInputProps, "maxLength" | "onSubmitEditing" | "returnKeyType" | "enterKeyHint" | "submitBehavior"> & {
|
|
32
|
+
keyboardType?: "decimal-pad" | "number-pad";
|
|
33
|
+
enabledRepresentations?: Representations[];
|
|
34
|
+
value?: NumberInputValue;
|
|
35
|
+
placeholder?: NumberInputPlaceholders;
|
|
36
|
+
ref?: Ref<NumberInputHandle>;
|
|
37
|
+
onChange?: (e: NumberInputValue) => void;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Segmented numeric input.
|
|
41
|
+
*
|
|
42
|
+
* ArrowUp/ArrowDown step the focused segment. Segments use ArrowLeft/
|
|
43
|
+
* ArrowRight and Backspace navigation. The final segment uses `returnKeyType`,
|
|
44
|
+
* `enterKeyHint`, and `submitBehavior`.
|
|
45
|
+
*/
|
|
46
|
+
export declare const NumberInput: FC<NumberInputProps>;
|
|
47
|
+
//# sourceMappingURL=NumberInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/numberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAY,KAAK,GAAG,EAAuB,MAAM,OAAO,CAAC;AAGzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAG9E,OAAO,EAGH,KAAK,mBAAmB,EAExB,KAAK,qBAAqB,EAG7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACH,KAAK,oBAAoB,EAE5B,MAAM,uCAAuC,CAAC;AAU/C,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IAAE,cAAc,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AACtE,MAAM,MAAM,UAAU,GAAG;IAAE,cAAc,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAAC;AAC9E,MAAM,MAAM,aAAa,GAAG;IACxB,cAAc,EAAE,UAAU,CAAC;IAC3B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAE9D,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,aAAa,GAAG,UAAU,CAAC;AAExE,MAAM,MAAM,uBAAuB,GAAG;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,eAAe,CAAC,CAAC;AAEpE,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAC9C,IAAI,CACA,qBAAqB,EACnB,WAAW,GACX,iBAAiB,GACjB,eAAe,GACf,cAAc,GACd,gBAAgB,CACrB,GAAG;IACA,YAAY,CAAC,EAAE,aAAa,GAAG,YAAY,CAAC;IAC5C,sBAAsB,CAAC,EAAE,eAAe,EAAE,CAAC;IAC3C,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC,GAAG,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC5C,CAAC;AAaN;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAwI5C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SegmentedInputDisplaySegment } from "../shared/useSegmentedInputNavigation";
|
|
2
|
+
import type { NumberInputPlaceholders, NumberInputValue, Representations } from "./NumberInput";
|
|
3
|
+
type NumberInputSegmentKey = "primary" | "secondary" | "tertiary";
|
|
4
|
+
export type NumberInputSegment = SegmentedInputDisplaySegment<NumberInputSegmentKey>;
|
|
5
|
+
export declare const getClearedNumberInputValue: (representation: Representations) => NumberInputValue;
|
|
6
|
+
export declare const getNextMode: (enabledRepresentations: Representations[], current: Representations) => Representations;
|
|
7
|
+
export declare const getNextValue: (nextMode: Representations, value: NumberInputValue) => NumberInputValue | undefined;
|
|
8
|
+
export declare const getNumberInputSegments: ({ value, getPlaceholder, keyboardType, }: {
|
|
9
|
+
value: NumberInputValue;
|
|
10
|
+
getPlaceholder: (key: keyof NumberInputPlaceholders) => string | undefined;
|
|
11
|
+
keyboardType: "decimal-pad" | "number-pad";
|
|
12
|
+
}) => NumberInputSegment[];
|
|
13
|
+
export declare const updateNumberInputSegment: (value: NumberInputValue, segmentIndex: number, text: string) => NumberInputValue;
|
|
14
|
+
export declare const getNumberInputSegmentStepValue: (value: NumberInputValue, segmentIndex: number, direction: 1 | -1) => NumberInputValue;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/numberInput/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EACR,uBAAuB,EACvB,gBAAgB,EAChB,eAAe,EAClB,MAAM,eAAe,CAAC;AAEvB,KAAK,qBAAqB,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAC1B,4BAA4B,CAAC,qBAAqB,CAAC,CAAC;AAkCxD,eAAO,MAAM,0BAA0B,GACnC,gBAAgB,eAAe,KAChC,gBAAkD,CAAC;AAEtD,eAAO,MAAM,WAAW,GACpB,wBAAwB,eAAe,EAAE,EACzC,SAAS,eAAe,oBAQ3B,CAAC;AAEF,eAAO,MAAM,YAAY,GACrB,UAAU,eAAe,EACzB,OAAO,gBAAgB,KACxB,gBAAgB,GAAG,SAmBrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,0CAIpC;IACC,KAAK,EAAE,gBAAgB,CAAC;IACxB,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,uBAAuB,KAAK,MAAM,GAAG,SAAS,CAAC;IAC3E,YAAY,EAAE,aAAa,GAAG,YAAY,CAAC;CAC9C,KAAG,kBAAkB,EAsErB,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACjC,OAAO,gBAAgB,EACvB,cAAc,MAAM,EACpB,MAAM,MAAM,KACb,gBAKF,CAAC;AASF,eAAO,MAAM,8BAA8B,GACvC,OAAO,gBAAgB,EACvB,cAAc,MAAM,EACpB,WAAW,CAAC,GAAG,CAAC,CAAC,KAClB,gBAKF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/numberInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FC, ReactElement } from "react";
|
|
2
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
3
|
+
type AnimatedStarProps = {
|
|
4
|
+
index: number;
|
|
5
|
+
rating: SharedValue<number>;
|
|
6
|
+
size: number;
|
|
7
|
+
interacting: SharedValue<number>;
|
|
8
|
+
empty: ReactElement;
|
|
9
|
+
half: ReactElement;
|
|
10
|
+
full: ReactElement;
|
|
11
|
+
};
|
|
12
|
+
export declare const AnimatedStar: FC<AnimatedStarProps>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=AnimatedStar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedStar.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/AnimatedStar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAiB,EACb,KAAK,WAAW,EAGnB,MAAM,yBAAyB,CAAC;AAIjC,KAAK,iBAAiB,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkD9C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FC } from "react";
|
|
2
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
|
+
import type { RatingInputTheme } from "./RatingInput.theme";
|
|
4
|
+
type RatingControlProps = {
|
|
5
|
+
max: number;
|
|
6
|
+
onChange?: (value: number) => void;
|
|
7
|
+
scale?: number;
|
|
8
|
+
themeOverrides?: DeepPartial<RatingInputTheme>;
|
|
9
|
+
value: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const RatingControl: FC<RatingControlProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=RatingControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RatingControl.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/RatingControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAA+C,MAAM,OAAO,CAAC;AAU7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAiBtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAQ5D,KAAK,kBAAkB,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsMhD,CAAC"}
|