@reillymc/react-native-components 0.12.0 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/{components → actions}/action/index.js +1 -1
- 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/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/{components/alert/AlertIndicator.styles.js → display/badge/Badge.theme.js} +1 -1
- 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/display/toggleIndicator/ToggleIndicator.js +1 -0
- package/lib/display/toggleIndicator/ToggleIndicator.theme.js +1 -0
- package/lib/display/toggleIndicator/index.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/{hooks/usePersistentKeyboardHeight.js → forms/field/FieldSurfaceContext.js} +1 -1
- 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/componentIconAssets.js +0 -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/index.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 -1
- package/lib/theme/index.js +1 -1
- package/lib/theme/mergeTheme.js +1 -0
- package/lib/theme/palette.js +1 -1
- package/lib/theme/resolveTheme.js +1 -0
- package/lib/theme/resolveThemeGraph.js +1 -0
- package/lib/theme/size.js +0 -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/{components → actions}/action/Action.d.ts +5 -4
- 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/{components → actions}/action/StateTint.d.ts +0 -4
- 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/{components → actions}/button/Button.d.ts +7 -8
- 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/{components → actions}/button/ButtonBase.d.ts +3 -3
- 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/{components → actions}/surface/InteractionSurface.d.ts +1 -1
- package/lib/types/actions/surface/InteractionSurface.d.ts.map +1 -0
- package/lib/types/{components → actions}/surface/StateLayer.d.ts +3 -3
- 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/{components/swipe → actions/swipeAction}/SwipeAction.d.ts +2 -2
- 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/{components → display}/avatar/Avatar.d.ts +10 -7
- 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 +2 -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 +8 -0
- package/lib/types/display/index.d.ts.map +1 -0
- package/lib/types/{components → display}/listItem/ListItem.d.ts +13 -12
- 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/{components → display}/rating/Rating.d.ts +4 -4
- 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 +3 -0
- package/lib/types/display/tag/index.d.ts.map +1 -0
- package/lib/types/display/toggleIndicator/ToggleIndicator.d.ts +25 -0
- package/lib/types/display/toggleIndicator/ToggleIndicator.d.ts.map +1 -0
- package/lib/types/display/toggleIndicator/ToggleIndicator.theme.d.ts +3 -0
- package/lib/types/display/toggleIndicator/ToggleIndicator.theme.d.ts.map +1 -0
- package/lib/types/display/toggleIndicator/index.d.ts +2 -0
- package/lib/types/display/toggleIndicator/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/{components → feedback}/toast/Toast.d.ts +8 -2
- 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 +2 -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 +41 -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/{components/container → forms/formContainer}/FormContainer.d.ts +5 -4
- 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/{components/container → forms/formRow}/FormRow.d.ts +5 -4
- 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 +12 -0
- package/lib/types/forms/input/toggleInput/ToggleControl.d.ts.map +1 -0
- package/lib/types/forms/input/toggleInput/ToggleInput.d.ts +18 -0
- package/lib/types/forms/input/toggleInput/ToggleInput.d.ts.map +1 -0
- package/lib/types/forms/input/toggleInput/ToggleInput.theme.d.ts +10 -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/{components/icon → icons}/IconComponentProps.d.ts +1 -1
- package/lib/types/icons/IconComponentProps.d.ts.map +1 -0
- package/lib/types/icons/componentIconAssets.d.ts +2 -0
- package/lib/types/icons/componentIconAssets.d.ts.map +1 -0
- package/lib/types/icons/index.d.ts +4 -1
- 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/{components/container/Panel.d.ts → layout/collapsiblePanel/CollapsiblePanel.d.ts} +3 -3
- 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/{components/swipe → layout/swipeable}/SwipeableContainer.d.ts +1 -1
- package/lib/types/{components/swipe → layout/swipeable}/SwipeableContainer.d.ts.map +1 -1
- 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 +4 -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 +4 -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/{components → overlays}/menu/MenuItem.d.ts +4 -1
- 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 +5 -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 +30 -27
- package/lib/types/theme/icons.d.ts.map +1 -1
- package/lib/types/theme/index.d.ts +9 -4
- 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 +55 -26
- package/lib/types/theme/palette.d.ts.map +1 -1
- 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/size.d.ts +2 -0
- package/lib/types/theme/size.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 +70 -42
- 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/{components → typography}/text/HighlightedText.d.ts +4 -3
- 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/{components → typography}/text/Text.d.ts +3 -1
- 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/package.json +32 -20
- 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/ActionBase.styles.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/StateTint.js +0 -1
- package/lib/components/action/StateTint.styles.js +0 -1
- package/lib/components/alert/AlertIndicator.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/FloatingContainer.js +0 -1
- package/lib/components/container/FloatingContainer.styles.js +0 -1
- package/lib/components/container/FloatingContainer.web.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/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/index.js +0 -1
- package/lib/components/index.js +0 -1
- package/lib/components/input/CounterInput.js +0 -1
- package/lib/components/input/DropdownInput.js +0 -1
- package/lib/components/input/DropdownInput.styles.js +0 -1
- package/lib/components/input/DropdownInputBase.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/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/surface/InteractionSurface.js +0 -1
- package/lib/components/surface/StateLayer.js +0 -1
- package/lib/components/surface/StateLayer.styles.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/Text.js +0 -1
- package/lib/components/text/Text.styles.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/useForwardedRef.js +0 -1
- package/lib/hooks/useTheme.js +0 -1
- package/lib/hooks/useThemedStyles.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/theme/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.map +0 -1
- package/lib/types/components/action/Action.styles.d.ts +0 -4
- package/lib/types/components/action/Action.styles.d.ts.map +0 -1
- package/lib/types/components/action/ActionBase.d.ts +0 -17
- package/lib/types/components/action/ActionBase.d.ts.map +0 -1
- package/lib/types/components/action/ActionBase.styles.d.ts +0 -3
- package/lib/types/components/action/ActionBase.styles.d.ts.map +0 -1
- package/lib/types/components/action/IconAction.d.ts +0 -14
- package/lib/types/components/action/IconAction.d.ts.map +0 -1
- package/lib/types/components/action/IconAction.styles.d.ts +0 -4
- package/lib/types/components/action/IconAction.styles.d.ts.map +0 -1
- package/lib/types/components/action/IconActionBase.d.ts +0 -15
- package/lib/types/components/action/IconActionBase.d.ts.map +0 -1
- package/lib/types/components/action/IconActionBase.styles.d.ts +0 -4
- package/lib/types/components/action/IconActionBase.styles.d.ts.map +0 -1
- package/lib/types/components/action/StateTint.d.ts.map +0 -1
- package/lib/types/components/action/StateTint.styles.d.ts +0 -3
- package/lib/types/components/action/StateTint.styles.d.ts.map +0 -1
- package/lib/types/components/action/index.d.ts +0 -6
- package/lib/types/components/action/index.d.ts.map +0 -1
- package/lib/types/components/alert/AlertIndicator.d.ts +0 -16
- package/lib/types/components/alert/AlertIndicator.d.ts.map +0 -1
- package/lib/types/components/alert/AlertIndicator.styles.d.ts +0 -4
- 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.map +0 -1
- package/lib/types/components/avatar/Avatar.styles.d.ts +0 -4
- package/lib/types/components/avatar/Avatar.styles.d.ts.map +0 -1
- package/lib/types/components/avatar/index.d.ts +0 -2
- package/lib/types/components/avatar/index.d.ts.map +0 -1
- package/lib/types/components/button/Button.d.ts.map +0 -1
- package/lib/types/components/button/Button.styles.d.ts +0 -4
- package/lib/types/components/button/Button.styles.d.ts.map +0 -1
- package/lib/types/components/button/ButtonBase.d.ts.map +0 -1
- package/lib/types/components/button/ButtonBase.styles.d.ts +0 -4
- package/lib/types/components/button/ButtonBase.styles.d.ts.map +0 -1
- package/lib/types/components/button/IconButton.d.ts +0 -19
- package/lib/types/components/button/IconButton.d.ts.map +0 -1
- package/lib/types/components/button/IconButton.styles.d.ts +0 -4
- package/lib/types/components/button/IconButton.styles.d.ts.map +0 -1
- package/lib/types/components/button/IconButtonBase.d.ts +0 -22
- package/lib/types/components/button/IconButtonBase.d.ts.map +0 -1
- package/lib/types/components/button/IconButtonBase.styles.d.ts +0 -4
- 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/FloatingContainer.d.ts +0 -22
- package/lib/types/components/container/FloatingContainer.d.ts.map +0 -1
- package/lib/types/components/container/FloatingContainer.styles.d.ts +0 -4
- package/lib/types/components/container/FloatingContainer.styles.d.ts.map +0 -1
- package/lib/types/components/container/FloatingContainer.web.d.ts +0 -4
- package/lib/types/components/container/FloatingContainer.web.d.ts.map +0 -1
- package/lib/types/components/container/FormContainer.d.ts.map +0 -1
- package/lib/types/components/container/FormRow.d.ts.map +0 -1
- package/lib/types/components/container/Panel.d.ts.map +0 -1
- package/lib/types/components/container/index.d.ts +0 -5
- package/lib/types/components/container/index.d.ts.map +0 -1
- package/lib/types/components/icon/Icon.d.ts +0 -15
- package/lib/types/components/icon/Icon.d.ts.map +0 -1
- package/lib/types/components/icon/Icon.styles.d.ts +0 -4
- package/lib/types/components/icon/Icon.styles.d.ts.map +0 -1
- package/lib/types/components/icon/IconBase.d.ts +0 -12
- package/lib/types/components/icon/IconBase.d.ts.map +0 -1
- package/lib/types/components/icon/IconBase.styles.d.ts +0 -4
- package/lib/types/components/icon/IconBase.styles.d.ts.map +0 -1
- package/lib/types/components/icon/IconComponentProps.d.ts.map +0 -1
- package/lib/types/components/icon/index.d.ts +0 -4
- package/lib/types/components/icon/index.d.ts.map +0 -1
- package/lib/types/components/index.d.ts +0 -24
- package/lib/types/components/index.d.ts.map +0 -1
- package/lib/types/components/input/CounterInput.d.ts +0 -11
- package/lib/types/components/input/CounterInput.d.ts.map +0 -1
- package/lib/types/components/input/DropdownInput.d.ts +0 -8
- package/lib/types/components/input/DropdownInput.d.ts.map +0 -1
- package/lib/types/components/input/DropdownInput.styles.d.ts +0 -4
- package/lib/types/components/input/DropdownInput.styles.d.ts.map +0 -1
- package/lib/types/components/input/DropdownInputBase.d.ts +0 -38
- package/lib/types/components/input/DropdownInputBase.d.ts.map +0 -1
- package/lib/types/components/input/InputAction.d.ts +0 -11
- package/lib/types/components/input/InputAction.d.ts.map +0 -1
- package/lib/types/components/input/InputAction.styles.d.ts +0 -4
- package/lib/types/components/input/InputAction.styles.d.ts.map +0 -1
- package/lib/types/components/input/InputBase.d.ts +0 -28
- package/lib/types/components/input/InputBase.d.ts.map +0 -1
- package/lib/types/components/input/InputBase.styles.d.ts +0 -4
- 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 -35
- package/lib/types/components/input/InputScaffold.d.ts.map +0 -1
- package/lib/types/components/input/InputScaffold.styles.d.ts +0 -4
- package/lib/types/components/input/InputScaffold.styles.d.ts.map +0 -1
- package/lib/types/components/input/NumberInput.d.ts +0 -31
- package/lib/types/components/input/NumberInput.d.ts.map +0 -1
- package/lib/types/components/input/NumberInputBase.d.ts +0 -20
- package/lib/types/components/input/NumberInputBase.d.ts.map +0 -1
- package/lib/types/components/input/RatingInput.d.ts +0 -15
- package/lib/types/components/input/RatingInput.d.ts.map +0 -1
- package/lib/types/components/input/SelectionInput.d.ts +0 -41
- package/lib/types/components/input/SelectionInput.d.ts.map +0 -1
- package/lib/types/components/input/SelectionInput.styles.d.ts +0 -4
- package/lib/types/components/input/SelectionInput.styles.d.ts.map +0 -1
- package/lib/types/components/input/TextInput.d.ts +0 -8
- package/lib/types/components/input/TextInput.d.ts.map +0 -1
- package/lib/types/components/input/TimeInput.d.ts +0 -17
- package/lib/types/components/input/TimeInput.d.ts.map +0 -1
- package/lib/types/components/input/ToggleInput.d.ts +0 -34
- package/lib/types/components/input/ToggleInput.d.ts.map +0 -1
- package/lib/types/components/input/ToggleInput.styles.d.ts +0 -4
- package/lib/types/components/input/ToggleInput.styles.d.ts.map +0 -1
- package/lib/types/components/input/index.d.ts +0 -26
- package/lib/types/components/input/index.d.ts.map +0 -1
- package/lib/types/components/listItem/ListItem.d.ts.map +0 -1
- package/lib/types/components/listItem/ListItem.styles.d.ts +0 -4
- 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 -16
- package/lib/types/components/menu/Menu.d.ts.map +0 -1
- package/lib/types/components/menu/Menu.styles.d.ts +0 -4
- package/lib/types/components/menu/Menu.styles.d.ts.map +0 -1
- package/lib/types/components/menu/MenuItem.d.ts.map +0 -1
- package/lib/types/components/menu/MenuItem.styles.d.ts +0 -4
- package/lib/types/components/menu/MenuItem.styles.d.ts.map +0 -1
- package/lib/types/components/menu/index.d.ts +0 -5
- package/lib/types/components/menu/index.d.ts.map +0 -1
- package/lib/types/components/rating/Rating.d.ts.map +0 -1
- package/lib/types/components/rating/Rating.styles.d.ts +0 -4
- 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/surface/InteractionSurface.d.ts.map +0 -1
- package/lib/types/components/surface/StateLayer.d.ts.map +0 -1
- package/lib/types/components/surface/StateLayer.styles.d.ts +0 -4
- package/lib/types/components/surface/StateLayer.styles.d.ts.map +0 -1
- package/lib/types/components/surface/index.d.ts +0 -3
- package/lib/types/components/surface/index.d.ts.map +0 -1
- package/lib/types/components/swipe/SwipeAction.d.ts.map +0 -1
- package/lib/types/components/swipe/SwipeAction.styles.d.ts +0 -4
- package/lib/types/components/swipe/SwipeAction.styles.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 -19
- package/lib/types/components/tag/Tag.d.ts.map +0 -1
- package/lib/types/components/tag/Tag.styles.d.ts +0 -4
- 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 +0 -3
- package/lib/types/components/tag/index.d.ts.map +0 -1
- package/lib/types/components/text/HighlightedText.d.ts.map +0 -1
- package/lib/types/components/text/HighlightedText.styles.d.ts +0 -3
- package/lib/types/components/text/HighlightedText.styles.d.ts.map +0 -1
- package/lib/types/components/text/Text.d.ts.map +0 -1
- package/lib/types/components/text/Text.styles.d.ts +0 -4
- package/lib/types/components/text/Text.styles.d.ts.map +0 -1
- package/lib/types/components/text/index.d.ts +0 -3
- package/lib/types/components/text/index.d.ts.map +0 -1
- package/lib/types/components/toast/Toast.d.ts.map +0 -1
- package/lib/types/components/toast/Toast.styles.d.ts +0 -4
- package/lib/types/components/toast/Toast.styles.d.ts.map +0 -1
- package/lib/types/components/toast/index.d.ts +0 -2
- package/lib/types/components/toast/index.d.ts.map +0 -1
- package/lib/types/hooks/index.d.ts +0 -5
- package/lib/types/hooks/index.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 -51
- package/lib/types/hooks/useThemedStyles.d.ts.map +0 -1
- package/lib/types/providers/ThemeContext.d.ts +0 -8
- package/lib/types/providers/ThemeContext.d.ts.map +0 -1
- package/lib/types/providers/ThemeProvider.d.ts +0 -15
- 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/theme/styles.d.ts +0 -59
- package/lib/types/theme/styles.d.ts.map +0 -1
- /package/lib/{components → actions}/button/index.js +0 -0
- /package/lib/{components → actions}/surface/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 → overlays}/menu/index.js +0 -0
- /package/lib/types/{components → display}/rating/ratingUtils.d.ts +0 -0
- /package/lib/types/{common → forms/input}/valueItem.d.ts +0 -0
- /package/lib/{components → typography}/text/index.js +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type FC, type ReactNode, type Ref } from "react";
|
|
2
|
+
import { type StyleProp, View, type ViewStyle } from "react-native";
|
|
3
|
+
export type FieldSurfaceProps = {
|
|
4
|
+
onPress?: () => void;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
ref?: Ref<View>;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Visible field styling layer.
|
|
11
|
+
*
|
|
12
|
+
* Should be used for any form input that requires standard input background and
|
|
13
|
+
* visual cues.
|
|
14
|
+
*/
|
|
15
|
+
export declare const FieldSurface: FC<FieldSurfaceProps>;
|
|
16
|
+
//# sourceMappingURL=FieldSurface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSurface.d.ts","sourceRoot":"","sources":["../../../../src/forms/field/FieldSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAY,MAAM,OAAO,CAAC;AACpE,OAAO,EAEH,KAAK,SAAS,EAEd,IAAI,EACJ,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAStB,MAAM,MAAM,iBAAiB,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAgE9C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type FieldSurfaceContextValue = {
|
|
2
|
+
reportFocus: (id: symbol, focusVisible: boolean) => void;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Focus-reporting channel used by nested slots to drive the
|
|
6
|
+
* surface focus ring.
|
|
7
|
+
*/
|
|
8
|
+
export declare const FieldSurfaceContext: import("react").Context<FieldSurfaceContextValue | null>;
|
|
9
|
+
/**
|
|
10
|
+
* Reports focus-visible state for one focusable slot to the enclosing
|
|
11
|
+
* FieldSurface, which keeps its shared ring visible while any slot is focused.
|
|
12
|
+
*/
|
|
13
|
+
export declare const useFieldFocus: () => {
|
|
14
|
+
isNestedInSurface: boolean;
|
|
15
|
+
reportFocusVisible: ((focusVisible: boolean) => void | undefined) | undefined;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=FieldSurfaceContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSurfaceContext.d.ts","sourceRoot":"","sources":["../../../../src/forms/field/FieldSurfaceContext.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,wBAAwB,GAAG;IACnC,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,0DACwB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,aAAa;;wCAWoB,OAAO;CAOpD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from "react";
|
|
2
|
+
export type FieldSurfacePressLayerProps = {
|
|
3
|
+
onPress: () => void;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Full-surface press/focus target that renders press and hover state.
|
|
7
|
+
*
|
|
8
|
+
* Should be used when a input behaves as an action / trigger.
|
|
9
|
+
*/
|
|
10
|
+
export declare const FieldSurfacePressLayer: FC<FieldSurfacePressLayerProps>;
|
|
11
|
+
//# sourceMappingURL=FieldSurfacePressLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSurfacePressLayer.d.ts","sourceRoot":"","sources":["../../../../src/forms/field/FieldSurfacePressLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAU,MAAM,OAAO,CAAC;AAWxC,MAAM,MAAM,2BAA2B,GAAG;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA6BlE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { FC, Ref } from "react";
|
|
2
|
+
import { TextInput, type TextInputProps } from "react-native";
|
|
3
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
|
+
import type { FieldTheme } from "./Field.theme";
|
|
5
|
+
type FieldTextInputTheme = DeepPartial<Pick<FieldTheme, "text"> & {
|
|
6
|
+
surface: Pick<FieldTheme["surface"], "padding">;
|
|
7
|
+
}>;
|
|
8
|
+
export type FieldTextInputProps = Omit<TextInputProps, "editable"> & {
|
|
9
|
+
/**
|
|
10
|
+
* Slot-level keyboard lock for controls that disable typing without
|
|
11
|
+
* disabling the field. Field disabled/read-only state comes from context.
|
|
12
|
+
*/
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
theme?: FieldTextInputTheme;
|
|
15
|
+
ref?: Ref<TextInput>;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Themed text input bound to field context.
|
|
19
|
+
*
|
|
20
|
+
* Should be used as the base of any textual form input elements.
|
|
21
|
+
*/
|
|
22
|
+
export declare const FieldTextInput: FC<FieldTextInputProps>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=FieldTextInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldTextInput.d.ts","sourceRoot":"","sources":["../../../../src/forms/field/FieldTextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,KAAK,mBAAmB,GAAG,WAAW,CAClC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG;IACvB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC;CACnD,CACJ,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG;IACjE;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,GAAG,CAAC,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA2ElD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { AccessibilityState, AccessibilityValue, TextInputProps, ViewProps } from "react-native";
|
|
2
|
+
type FieldAriaSource = {
|
|
3
|
+
labelId?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
describedBy?: string;
|
|
6
|
+
hint?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
readOnly?: boolean;
|
|
11
|
+
} | null;
|
|
12
|
+
type FieldLabelOverrides = {
|
|
13
|
+
label?: string;
|
|
14
|
+
};
|
|
15
|
+
type FieldAriaOverrides = FieldLabelOverrides & {
|
|
16
|
+
hint?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
invalid?: boolean;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
readOnly?: boolean;
|
|
21
|
+
state?: AccessibilityState;
|
|
22
|
+
value?: AccessibilityValue;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Builds the field accessible name and label association. `FieldRow` uses this
|
|
26
|
+
* without `fieldAria`, so the group does not inherit invalid/required/
|
|
27
|
+
* described-by state from its controls.
|
|
28
|
+
*/
|
|
29
|
+
export declare const fieldLabelA11y: (field: FieldAriaSource, overrides?: FieldLabelOverrides) => Pick<ViewProps, "accessibilityLabel" | "aria-labelledby">;
|
|
30
|
+
/**
|
|
31
|
+
* Single field-level accessibility prop builder for controls.
|
|
32
|
+
*
|
|
33
|
+
* Owns the accessible name, hint, label/description references, disabled/
|
|
34
|
+
* invalid/required/read-only state, and merged `accessibilityState`. Pass
|
|
35
|
+
* control-specific state and value through `state` and `value`; control
|
|
36
|
+
* semantics such as `role` and accessibility actions stay at the call site.
|
|
37
|
+
* This is the only cast site for props RN 0.85 does not type.
|
|
38
|
+
*/
|
|
39
|
+
export declare const fieldAria: (field: FieldAriaSource, overrides?: FieldAriaOverrides) => ViewProps & TextInputProps;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=a11y.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a11y.d.ts","sourceRoot":"","sources":["../../../../src/forms/field/a11y.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,SAAS,EACZ,MAAM,cAAc,CAAC;AAEtB,KAAK,eAAe,GAAG;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,IAAI,CAAC;AAET,KAAK,mBAAmB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,kBAAkB,GAAG,mBAAmB,GAAG;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GACvB,OAAO,eAAe,EACtB,YAAW,mBAAwB,KACpC,IAAI,CAAC,SAAS,EAAE,oBAAoB,GAAG,iBAAiB,CAGzD,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAClB,OAAO,eAAe,EACtB,YAAW,kBAAuB,KACnC,SAAS,GAAG,cA2Bd,CAAC"}
|
|
@@ -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"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { FC, ReactNode } from "react";
|
|
2
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
|
+
}
|
|
3
7
|
export interface FormContainerProps {
|
|
4
|
-
|
|
5
|
-
* Vertical gap between fields. Defaults to `spacing.medium`.
|
|
6
|
-
*/
|
|
7
|
-
gap?: number;
|
|
8
|
+
theme?: DeepPartial<FormContainerTheme>;
|
|
8
9
|
style?: StyleProp<ViewStyle>;
|
|
9
10
|
children?: ReactNode;
|
|
10
11
|
}
|
|
@@ -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"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { type FC, type ReactNode } from "react";
|
|
2
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
|
+
}
|
|
3
7
|
export interface FormRowProps {
|
|
4
|
-
|
|
5
|
-
* Horizontal gap between fields. Defaults to `spacing.small`.
|
|
6
|
-
*/
|
|
7
|
-
gap?: number;
|
|
8
|
+
theme?: DeepPartial<FormRowTheme>;
|
|
8
9
|
style?: StyleProp<ViewStyle>;
|
|
9
10
|
children?: ReactNode;
|
|
10
11
|
}
|
|
@@ -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, ToggleInputTheme, 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,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, ToggleInputTheme, } from "./toggleInput";
|
|
16
|
+
export { ToggleInput } from "./toggleInput";
|
|
17
|
+
export type { ValueItem, ValueItemComplex, ValueItemSimple, } from "./valueItem";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|