@reillymc/react-native-components 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/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 +7 -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/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 +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/{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 +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/{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 +3 -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 +28 -25
- package/lib/types/theme/icons.d.ts.map +1 -1
- package/lib/types/theme/index.d.ts +8 -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/systems.d.ts +61 -0
- package/lib/types/theme/systems.d.ts.map +1 -0
- package/lib/types/theme/theme.d.ts +68 -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 { 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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FC } from "react";
|
|
2
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
|
+
import type { RatingIconVariant, RatingProps } from "../../../display/rating";
|
|
4
|
+
import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
|
|
5
|
+
import { type FieldComponentProps } from "../../field";
|
|
6
|
+
import type { RatingInputTheme } from "./RatingInput.theme";
|
|
7
|
+
export type RatingInputIcons = ComponentIconAssets<RatingIconVariant>;
|
|
8
|
+
export type RatingInputProps = FieldComponentProps & Pick<RatingProps, "max" | "value" | "scale"> & {
|
|
9
|
+
theme?: DeepPartial<RatingInputTheme>;
|
|
10
|
+
onChange?: (value: number) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const RatingInput: FC<RatingInputProps>;
|
|
13
|
+
//# sourceMappingURL=RatingInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RatingInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/RatingInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAS,KAAK,mBAAmB,EAAgB,MAAM,aAAa,CAAC;AAE5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAC9C,IAAI,CAAC,WAAW,EAAE,KAAK,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG;IAC3C,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEN,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAqB5C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
|
+
import type { RatingIconVariant } from "../../../display/rating";
|
|
3
|
+
import type { ThemeFactory } from "../../../theme/theme";
|
|
4
|
+
export type RatingInputTheme = {
|
|
5
|
+
icon: {
|
|
6
|
+
color: Record<RatingIconVariant, ColorValue>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare const defaultRatingInputTheme: ThemeFactory<"ratingInput">;
|
|
10
|
+
//# sourceMappingURL=RatingInput.theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RatingInput.theme.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/RatingInput.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE;QACF,KAAK,EAAE,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;KAChD,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,aAAa,CAM9D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const animationConfig: {
|
|
2
|
+
easing: import("react-native-reanimated").EasingFunction;
|
|
3
|
+
duration: number;
|
|
4
|
+
scale: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const calculateRating: (x: number, width: number, max: number) => number;
|
|
7
|
+
export declare const computeIconSize: (width: number | undefined, padding: number, height: number, max: number) => number;
|
|
8
|
+
export declare const KEYBOARD_STEP = 0.5;
|
|
9
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;CAI3B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,GAAG,MAAM,EAAE,OAAO,MAAM,EAAE,KAAK,MAAM,WASpE,CAAC;AAEF,eAAO,MAAM,eAAe,GACxB,OAAO,MAAM,GAAG,SAAS,EACzB,SAAS,MAAM,EACf,QAAQ,MAAM,EACd,KAAK,MAAM,WAQd,CAAC;AAEF,eAAO,MAAM,aAAa,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/ratingInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
2
|
+
import type { ValueItem } from "../valueItem";
|
|
3
|
+
import type { SelectionInputTheme } from "./SelectionInput.theme";
|
|
4
|
+
type SelectionControlProps<T> = {
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
selectionMode: "single" | "multi";
|
|
7
|
+
selection?: ValueItem<T> | Array<ValueItem<T>>;
|
|
8
|
+
themeOverrides?: DeepPartial<SelectionInputTheme>;
|
|
9
|
+
onAdd?: () => void;
|
|
10
|
+
onRemoveItem?: (item: ValueItem<T> | undefined) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const SelectionControl: <T>({ placeholder, selectionMode, selection, themeOverrides, onAdd, onRemoveItem, }: SelectionControlProps<T>) => import("react").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=SelectionControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionControl.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/selectionInput/SelectionControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAWtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,KAAK,qBAAqB,CAAC,CAAC,IAAI;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,QAAQ,GAAG,OAAO,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/C,cAAc,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAClD,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,iFAOlC,qBAAqB,CAAC,CAAC,CAAC,gCAgE1B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
2
|
+
import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
|
|
3
|
+
import { type FieldComponentProps } from "../../field";
|
|
4
|
+
import type { ValueItem } from "../valueItem";
|
|
5
|
+
import type { SelectionInputTheme } from "./SelectionInput.theme";
|
|
6
|
+
export type SelectionInputIcons = ComponentIconAssets<"showOptions">;
|
|
7
|
+
interface SingleSelection<T> {
|
|
8
|
+
selectionMode: "single";
|
|
9
|
+
selection?: ValueItem<T>;
|
|
10
|
+
}
|
|
11
|
+
interface MultiSelection<T> {
|
|
12
|
+
selectionMode: "multi";
|
|
13
|
+
selection?: Array<ValueItem<T>>;
|
|
14
|
+
}
|
|
15
|
+
export type SelectionInputProps<T = string> = FieldComponentProps & {
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
theme?: DeepPartial<SelectionInputTheme>;
|
|
18
|
+
onRemoveItem?: (item: ValueItem<T> | undefined) => void;
|
|
19
|
+
onAdd?: () => void;
|
|
20
|
+
} & (SingleSelection<T> | MultiSelection<T>);
|
|
21
|
+
/**
|
|
22
|
+
* Selection field with a full-surface press layer to trigger external
|
|
23
|
+
* picker UI flow.
|
|
24
|
+
*/
|
|
25
|
+
export declare const SelectionInput: {
|
|
26
|
+
<T>({ placeholder, selectionMode, selection, theme: themeOverrides, onAdd, onRemoveItem, ...fieldProps }: SelectionInputProps<T>): import("react").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=SelectionInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/selectionInput/SelectionInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAS,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,aAAa,CAAC,CAAC;AAErE,UAAU,eAAe,CAAC,CAAC;IACvB,aAAa,EAAE,QAAQ,CAAC;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;CAC5B;AAED,UAAU,cAAc,CAAC,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;CACnC;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,MAAM,IAAI,mBAAmB,GAAG;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,cAAc;KAAI,CAAC,wGAQ7B,mBAAmB,CAAC,CAAC,CAAC;;CAWxB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ThemeFactory } from "../../../theme/theme";
|
|
2
|
+
export type SelectionInputTheme = {
|
|
3
|
+
selectionContainer: {
|
|
4
|
+
gap: number;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const defaultSelectionInputTheme: ThemeFactory<"selectionInput">;
|
|
8
|
+
//# sourceMappingURL=SelectionInput.theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionInput.theme.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/selectionInput/SelectionInput.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAC9B,kBAAkB,EAAE;QAChB,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,YAAY,CAAC,gBAAgB,CAMpE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/selectionInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type Ref } from "react";
|
|
2
|
+
import type { TextInput } from "react-native";
|
|
3
|
+
import type { FieldNumberInputProps } from "../../field";
|
|
4
|
+
type SegmentedInputSegment<K extends string = string> = {
|
|
5
|
+
key: K;
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
type SegmentedInputProps = Omit<FieldNumberInputProps, "ref" | "onKeyPress" | "onSelectionChange" | "value">;
|
|
9
|
+
export type SegmentedInputDisplaySegment<K extends string = string> = SegmentedInputSegment<K> & {
|
|
10
|
+
separator?: string;
|
|
11
|
+
inputProps?: SegmentedInputProps;
|
|
12
|
+
};
|
|
13
|
+
export type SegmentedInputHandle = {
|
|
14
|
+
focus: () => void;
|
|
15
|
+
blur: () => void;
|
|
16
|
+
};
|
|
17
|
+
type SegmentedInputNavigationOptions<K extends string> = {
|
|
18
|
+
segments: readonly SegmentedInputSegment<K>[];
|
|
19
|
+
externalRefs?: Partial<Record<K, Ref<TextInput>>>;
|
|
20
|
+
onSubmitEditing?: FieldNumberInputProps["onSubmitEditing"];
|
|
21
|
+
finalReturnKeyType?: FieldNumberInputProps["returnKeyType"];
|
|
22
|
+
finalEnterKeyHint?: FieldNumberInputProps["enterKeyHint"];
|
|
23
|
+
finalSubmitBehavior?: FieldNumberInputProps["submitBehavior"];
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Coordinates ordered field input slots. Tracks refs and selection, moves
|
|
27
|
+
* focus with ArrowLeft/ArrowRight at text edges and Backspace from empty
|
|
28
|
+
* slots, and preserves focus-ring modality.
|
|
29
|
+
*
|
|
30
|
+
* Next on non-final slots focuses the next slot without calling
|
|
31
|
+
* `onSubmitEditing`; the final slot uses the caller's return-key configuration
|
|
32
|
+
* and submits normally.
|
|
33
|
+
*/
|
|
34
|
+
export declare const useSegmentedInputNavigation: <K extends string>({ segments, externalRefs, onSubmitEditing, finalReturnKeyType, finalEnterKeyHint, finalSubmitBehavior, }: SegmentedInputNavigationOptions<K>) => {
|
|
35
|
+
getSegmentInputProps: (key: K) => {
|
|
36
|
+
ref: (node: TextInput | null) => void;
|
|
37
|
+
onSelectionChange: (e: import("react-native").TextInputSelectionChangeEvent) => void;
|
|
38
|
+
onKeyPress: (e: import("react-native").TextInputKeyPressEvent) => void;
|
|
39
|
+
returnKeyType: import("react-native").ReturnKeyTypeOptions;
|
|
40
|
+
enterKeyHint: import("react-native").EnterKeyHintTypeOptions | undefined;
|
|
41
|
+
submitBehavior: import("react-native").SubmitBehavior | undefined;
|
|
42
|
+
onSubmitEditing: ((e: import("react-native").TextInputSubmitEditingEvent) => void) | undefined;
|
|
43
|
+
};
|
|
44
|
+
focusSegment: (key: K) => void;
|
|
45
|
+
blurSegments: () => void;
|
|
46
|
+
};
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=useSegmentedInputNavigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSegmentedInputNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/shared/useSegmentedInputNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAqB,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,KAAK,qBAAqB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IACpD,GAAG,EAAE,CAAC,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,mBAAmB,GAAG,IAAI,CAC3B,qBAAqB,EACrB,KAAK,GAAG,YAAY,GAAG,mBAAmB,GAAG,OAAO,CACvD,CAAC;AAEF,MAAM,MAAM,4BAA4B,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAC9D,qBAAqB,CAAC,CAAC,CAAC,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AAEN,MAAM,MAAM,oBAAoB,GAAG;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AA4EF,KAAK,+BAA+B,CAAC,CAAC,SAAS,MAAM,IAAI;IACrD,QAAQ,EAAE,SAAS,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAClD,eAAe,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;IAC3D,kBAAkB,CAAC,EAAE,qBAAqB,CAAC,eAAe,CAAC,CAAC;IAC5D,iBAAiB,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAC;IAC1D,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;CACjE,CAAC;AAiBF;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,MAAM,EAAE,0GAO3D,+BAA+B,CAAC,CAAC,CAAC;gCA8EE,CAAC;oBA3EU,SAAS,GAAG,IAAI,KAAK,IAAI;;;;;;;;wBAwE5C,CAAC;;CA+C/B,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type FC, type Ref } from "react";
|
|
2
|
+
import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
|
|
3
|
+
import { type FieldComponentProps, type FieldNumberInputProps } from "../../field";
|
|
4
|
+
import { type SegmentedInputHandle } from "../shared/useSegmentedInputNavigation";
|
|
5
|
+
export type TimeInputValue = {
|
|
6
|
+
hours: string;
|
|
7
|
+
minutes: string;
|
|
8
|
+
};
|
|
9
|
+
export type TimeInputHandle = SegmentedInputHandle & {
|
|
10
|
+
clear: () => void;
|
|
11
|
+
};
|
|
12
|
+
export type TimeInputIcons = ComponentIconAssets<"time">;
|
|
13
|
+
export type TimeInputPlaceholders = {
|
|
14
|
+
hours?: string;
|
|
15
|
+
minutes?: string;
|
|
16
|
+
};
|
|
17
|
+
export type TimeInputProps = FieldComponentProps & Pick<FieldNumberInputProps, "onSubmitEditing" | "returnKeyType" | "enterKeyHint" | "submitBehavior"> & {
|
|
18
|
+
value?: TimeInputValue;
|
|
19
|
+
placeholder?: TimeInputPlaceholders;
|
|
20
|
+
ref?: Ref<TimeInputHandle>;
|
|
21
|
+
onChange?: (e: TimeInputValue) => void;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Hours and minutes input.
|
|
25
|
+
*
|
|
26
|
+
* ArrowUp/ArrowDown step the focused segment; minute steps roll over. Segments
|
|
27
|
+
* use ArrowLeft/ArrowRight and Backspace navigation. The final segment uses
|
|
28
|
+
* `returnKeyType`, `enterKeyHint`, and `submitBehavior`.
|
|
29
|
+
*/
|
|
30
|
+
export declare const TimeInput: FC<TimeInputProps>;
|
|
31
|
+
//# sourceMappingURL=TimeInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/timeInput/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAY,KAAK,GAAG,EAAuB,MAAM,OAAO,CAAC;AAGzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAG9E,OAAO,EAEH,KAAK,mBAAmB,EAGxB,KAAK,qBAAqB,EAG7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACH,KAAK,oBAAoB,EAE5B,MAAM,uCAAuC,CAAC;AAO/C,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhE,MAAM,MAAM,eAAe,GAAG,oBAAoB,GAAG;IACjD,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAC5C,IAAI,CACA,qBAAqB,EACrB,iBAAiB,GAAG,eAAe,GAAG,cAAc,GAAG,gBAAgB,CAC1E,GAAG;IACA,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEN;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAiGxC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SegmentedInputDisplaySegment } from "../shared/useSegmentedInputNavigation";
|
|
2
|
+
import type { TimeInputPlaceholders, TimeInputValue } from "./TimeInput";
|
|
3
|
+
type TimeInputSegmentKey = "hours" | "minutes";
|
|
4
|
+
export type TimeInputSegment = SegmentedInputDisplaySegment<TimeInputSegmentKey>;
|
|
5
|
+
export declare const DEFAULT_TIME_VALUE: TimeInputValue;
|
|
6
|
+
export declare const TIME_SEGMENT_MAX_LENGTH = 2;
|
|
7
|
+
type TimeInputSegmentsOptions = {
|
|
8
|
+
value: TimeInputValue;
|
|
9
|
+
placeholder?: TimeInputPlaceholders;
|
|
10
|
+
onChange?: (e: TimeInputValue) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const getTimeInputSegments: ({ value, placeholder, onChange, }: TimeInputSegmentsOptions) => TimeInputSegment[];
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/timeInput/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,KAAK,mBAAmB,GAAG,OAAO,GAAG,SAAS,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GACxB,4BAA4B,CAAC,mBAAmB,CAAC,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,cAGhC,CAAC;AAEF,eAAO,MAAM,uBAAuB,IAAI,CAAC;AAOzC,KAAK,wBAAwB,GAAG;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,mCAIlC,wBAAwB,KAAG,gBAAgB,EAgE7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/timeInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,eAAe,EACf,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,cAAc,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
2
|
+
import type { IconComponentProps } from "../../../icons/IconComponentProps";
|
|
3
|
+
import type { ToggleAppearance, ToggleInputTheme } from "./ToggleInput.theme";
|
|
4
|
+
type ToggleControlProps<G extends string> = {
|
|
5
|
+
label?: string;
|
|
6
|
+
value: boolean;
|
|
7
|
+
onChange?: (value: boolean) => void;
|
|
8
|
+
appearance: ToggleAppearance;
|
|
9
|
+
themeOverrides?: DeepPartial<ToggleInputTheme>;
|
|
10
|
+
} & Partial<IconComponentProps<G>>;
|
|
11
|
+
export declare const ToggleControl: <G extends string>({ label, value, onChange, appearance, themeOverrides, iconSet, iconName, }: ToggleControlProps<G>) => import("react").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=ToggleControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleControl.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/toggleInput/ToggleControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAQ5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,KAAK,kBAAkB,CAAC,CAAC,SAAS,MAAM,IAAI;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,cAAc,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CAClD,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnC,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,EAAE,4EAQ7C,kBAAkB,CAAC,CAAC,CAAC,gCA2DvB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
2
|
+
import type { ComponentIconAssets } from "../../../icons/componentIconAssets";
|
|
3
|
+
import type { IconComponentProps } from "../../../icons/IconComponentProps";
|
|
4
|
+
import { type FieldComponentProps } from "../../field";
|
|
5
|
+
import type { ToggleAppearance, ToggleInputTheme } from "./ToggleInput.theme";
|
|
6
|
+
export type ToggleInputIcons = ComponentIconAssets<"outline" | "fill" | "check">;
|
|
7
|
+
export type ToggleInputProps<G extends string> = Omit<FieldComponentProps, "error" | "required" | "hideLabel"> & {
|
|
8
|
+
value?: boolean;
|
|
9
|
+
onChange?: (value: boolean) => void;
|
|
10
|
+
appearance?: ToggleAppearance;
|
|
11
|
+
theme?: DeepPartial<ToggleInputTheme>;
|
|
12
|
+
} & Partial<IconComponentProps<G>>;
|
|
13
|
+
/**
|
|
14
|
+
* Toggle field with an inline label.
|
|
15
|
+
*
|
|
16
|
+
* Selected toggles show the provided icon, or a built-in check when omitted.
|
|
17
|
+
*/
|
|
18
|
+
export declare const ToggleInput: <G extends string>({ label, value, onChange, appearance, theme: themeOverrides, iconSet, iconName, ...fieldProps }: ToggleInputProps<G>) => import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=ToggleInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleInput.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/toggleInput/ToggleInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAS,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAC9C,SAAS,GAAG,MAAM,GAAG,OAAO,CAC/B,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CACjD,mBAAmB,EACnB,OAAO,GAAG,UAAU,GAAG,WAAW,CACrC,GAAG;IACA,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACzC,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnC;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAAE,iGAS3C,gBAAgB,CAAC,CAAC,CAAC,gCAcrB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
|
+
import type { ThemeFactory } from "../../../theme/theme";
|
|
3
|
+
import type { InputVariant } from "../../field";
|
|
4
|
+
export type ToggleAppearance = "primary" | "secondary";
|
|
5
|
+
export type ToggleInputTheme = {
|
|
6
|
+
indicator: {
|
|
7
|
+
surfaceSize: Record<InputVariant, number>;
|
|
8
|
+
iconSize: Record<InputVariant, number>;
|
|
9
|
+
color: {
|
|
10
|
+
selected: Record<ToggleAppearance, ColorValue>;
|
|
11
|
+
deselected: ColorValue;
|
|
12
|
+
icon: Record<ToggleAppearance, ColorValue>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
gap: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const defaultToggleInputTheme: ThemeFactory<"toggleInput">;
|
|
20
|
+
//# sourceMappingURL=ToggleInput.theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleInput.theme.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/toggleInput/ToggleInput.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,WAAW,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,SAAS,EAAE;QACP,WAAW,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QAC1C,QAAQ,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QACvC,KAAK,EAAE;YACH,QAAQ,EAAE,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;YAC/C,UAAU,EAAE,UAAU,CAAC;YACvB,IAAI,EAAE,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;SAC9C,CAAC;KACL,CAAC;IACF,KAAK,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,aAAa,CA+B/D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/input/toggleInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valueItem.d.ts","sourceRoot":"","sources":["../../../../src/forms/input/valueItem.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,CAAC,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,CAAC,CAAC;CACZ,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GACvD,eAAe,CAAC,CAAC,CAAC,GAClB,gBAAgB,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
2
|
+
import { type IconBaseTheme } from "./IconBase";
|
|
3
|
+
import type { IconComponentProps } from "./IconComponentProps";
|
|
4
|
+
type IconSize = "small" | "medium" | "large";
|
|
5
|
+
export interface IconTheme {
|
|
6
|
+
color: IconBaseTheme["color"];
|
|
7
|
+
size: Record<IconSize, IconBaseTheme["size"]>;
|
|
8
|
+
}
|
|
9
|
+
export type IconProps = {
|
|
10
|
+
size?: IconSize;
|
|
11
|
+
theme?: DeepPartial<IconTheme>;
|
|
12
|
+
};
|
|
13
|
+
export declare const Icon: <G extends string>({ size, theme: themeOverrides, ...iconProps }: IconProps & IconComponentProps<G>) => import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,KAAK,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7C,MAAM,WAAW,SAAS;IACtB,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;CACjD;AAED,MAAM,MAAM,SAAS,GAAG;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,EAAE,+CAIpC,SAAS,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCAMnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.theme.d.ts","sourceRoot":"","sources":["../../../src/icons/Icon.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,MAAM,CAOhD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
|
+
import type { IconComponentProps } from "./IconComponentProps";
|
|
4
|
+
export interface IconBaseTheme {
|
|
5
|
+
color: ColorValue;
|
|
6
|
+
size: number;
|
|
7
|
+
}
|
|
8
|
+
export type IconBaseProps<G extends string> = IconComponentProps<G> & {
|
|
9
|
+
size?: IconBaseTheme["size"];
|
|
10
|
+
color?: IconBaseTheme["color"];
|
|
11
|
+
theme?: DeepPartial<IconBaseTheme>;
|
|
12
|
+
};
|
|
13
|
+
export declare const IconBase: <G extends string>({ iconSet: IconSet, iconName, size, color, theme: themeOverrides, }: IconBaseProps<G>) => import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=IconBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../src/icons/IconBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG;IAClE,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,MAAM,EAAE,qEAMxC,aAAa,CAAC,CAAC,CAAC,gCAUlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconBase.theme.d.ts","sourceRoot":"","sources":["../../../src/icons/IconBase.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,UAAU,CAMxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconComponentProps.d.ts","sourceRoot":"","sources":["../../../src/icons/IconComponentProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,MAAM;IAChD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACpB,QAAQ,EAAE,CAAC,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentIconAssets.d.ts","sourceRoot":"","sources":["../../../src/icons/componentIconAssets.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { IconSet, IconSetGlyphMap, IconSetItemProps } from "./base";
|
|
2
|
+
export { Icon, type IconProps } from "./Icon";
|
|
3
|
+
export type { IconComponentProps } from "./IconComponentProps";
|
|
2
4
|
export { type UiIconName, UiIcons } from "./ui";
|
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Check.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Check.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAOtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircleFilled.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/CircleFilled.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,gBAAgB,CAI7C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { IconSet } from "../base";
|
|
2
|
-
export type UiIconName = "exclamation" | "dash" | "plus" | "infinity" | "number" | "arrow-both" | "chevron-down" | "clock" | "circle" | "star-empty" | "star-half" | "star-full";
|
|
2
|
+
export type UiIconName = "exclamation" | "dash" | "plus" | "infinity" | "number" | "arrow-both" | "chevron-down" | "clock" | "circle" | "circle-filled" | "check" | "star-empty" | "star-half" | "star-full";
|
|
3
3
|
export declare const UiIcons: IconSet<UiIconName>;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,SAAS,CAAC;AAgBxD,MAAM,MAAM,UAAU,GAChB,aAAa,GACb,MAAM,GACN,MAAM,GACN,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,cAAc,GACd,OAAO,GACP,QAAQ,GACR,eAAe,GACf,OAAO,GACP,YAAY,GACZ,WAAW,GACX,WAAW,CAAC;AAmBlB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,UAAU,CAMvC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
export type PropFilter<Props, Keys extends keyof Props> = Required<Pick<Props, Keys>>;
|
|
3
|
+
type StyleFactory<ThemeSlice, Props, T> = (theme: ThemeSlice, props: Props) => T & StyleSheet.NamedStyles<T>;
|
|
4
|
+
type StylesFactory<ThemeSlice, Props, T> = Props extends undefined ? (theme: ThemeSlice) => T : (theme: ThemeSlice, props: Props) => T;
|
|
5
|
+
export declare const defineStyles: <ThemeSlice, T extends StyleSheet.NamedStyles<T>, Props = undefined>(factory: StyleFactory<ThemeSlice, Props, T>) => StylesFactory<ThemeSlice, Props, T>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=defineComponentStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defineComponentStyles.d.ts","sourceRoot":"","sources":["../../../src/internal/defineComponentStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,UAAU,CAAC,KAAK,EAAE,IAAI,SAAS,MAAM,KAAK,IAAI,QAAQ,CAC9D,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CACpB,CAAC;AAEF,KAAK,YAAY,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,IAAI,CACtC,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,KAAK,KACX,CAAC,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;AAEnC,KAAK,aAAa,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,IAAI,KAAK,SAAS,SAAS,GAC5D,CAAC,KAAK,EAAE,UAAU,KAAK,CAAC,GACxB,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC;AAE7C,eAAO,MAAM,YAAY,GACrB,UAAU,EACV,CAAC,SAAS,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,EACnC,KAAK,GAAG,SAAS,EAEjB,SAAS,YAAY,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC,KAGe,aAAa,CACnE,UAAU,EACV,KAAK,EACL,CAAC,CACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { defineStyles, type PropFilter, } from "./defineComponentStyles";
|
|
2
|
+
export { useComponent } from "./useComponent";
|
|
3
|
+
export { focusPreservingFocusVisible, useFocusVisible, } from "./useFocusVisible";
|
|
4
|
+
export { useForwardedRef } from "./useForwardedRef";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/internal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,KAAK,UAAU,GAClB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACH,2BAA2B,EAC3B,eAAe,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
2
|
+
import type { Icons } from "../theme/icons";
|
|
3
|
+
import type { Theme } from "../theme/theme";
|
|
4
|
+
type ComponentKey = keyof Theme | keyof Icons;
|
|
5
|
+
type ComponentTheme<K extends ComponentKey> = K extends keyof Theme ? Theme[K] : undefined;
|
|
6
|
+
type ComponentIcons<K extends ComponentKey> = K extends keyof Icons ? Icons[K] : undefined;
|
|
7
|
+
type ComponentOptions<K extends ComponentKey> = {
|
|
8
|
+
themeOverrides?: K extends keyof Theme ? DeepPartial<Theme[K]> : never;
|
|
9
|
+
};
|
|
10
|
+
type ComponentThemeOptions<K extends keyof Theme, T, Props> = {
|
|
11
|
+
themeOverrides?: DeepPartial<Theme[K]>;
|
|
12
|
+
createStyles?: (theme: Theme[K], props: Props) => T;
|
|
13
|
+
props?: Props;
|
|
14
|
+
};
|
|
15
|
+
export declare function useComponent<K extends keyof Theme, T = undefined, Props = undefined>(key: K, options?: ComponentThemeOptions<K, T, Props>): {
|
|
16
|
+
theme: Theme[K];
|
|
17
|
+
icons: ComponentIcons<K>;
|
|
18
|
+
styles: T;
|
|
19
|
+
};
|
|
20
|
+
export declare function useComponent<K extends ComponentKey>(key: K, options?: ComponentOptions<K>): {
|
|
21
|
+
theme: ComponentTheme<K>;
|
|
22
|
+
icons: ComponentIcons<K>;
|
|
23
|
+
styles: undefined;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=useComponent.d.ts.map
|