@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 @@
|
|
|
1
|
+
var UNSAFE_KEYS=new Set(["__proto__","constructor","prototype"]);var isPlainObject=value=>{if(value===null||typeof value!=="object")return false;var prototype=Object.getPrototypeOf(value);return prototype===Object.prototype||prototype===null;};var cloneValue=value=>{if(Array.isArray(value)){return value.map(item=>cloneValue(item));}if(isPlainObject(value)){var result={};for(var key of Object.keys(value)){if(UNSAFE_KEYS.has(key))continue;result[key]=cloneValue(value[key]);}return result;}return value;};var mergeInto=(target,override)=>{for(var key of Object.keys(override)){if(UNSAFE_KEYS.has(key))continue;var overrideValue=override[key];if(overrideValue===undefined)continue;var targetValue=target[key];if(Array.isArray(overrideValue)){target[key]=overrideValue.map(item=>cloneValue(item));}else if(isPlainObject(targetValue)&&isPlainObject(overrideValue)){mergeInto(targetValue,overrideValue);}else{target[key]=cloneValue(overrideValue);}}};var mergeValue=(base,override)=>{if(override===undefined)return cloneValue(base);if(Array.isArray(override)){return override.map(item=>cloneValue(item));}if(isPlainObject(base)&&isPlainObject(override)){var result=cloneValue(base);mergeInto(result,override);return result;}return cloneValue(override);};export var mergeTheme=(defaults,overrides)=>{if(overrides===undefined)return cloneValue(defaults);return mergeValue(defaults,overrides);};
|
package/lib/theme/palette.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{Platform,StyleSheet}from"react-native";import{lightColorScheme}from"./colors";import{mergeTheme}from"./mergeTheme";export var defaultPalette={font:{family:{sans:Platform.select({ios:"System",android:"sans-serif",default:"system-ui"})??"system-ui",mono:Platform.select({ios:"Menlo",android:"monospace",default:"monospace"})??"monospace"},size:{tiny:10,small:12,regular:14,large:16,xLarge:20,xxLarge:28}},color:lightColorScheme,spacing:{large:24,medium:16,small:8,tiny:4},border:{radius:{tight:4,regular:8,loose:16},width:{thick:2,regular:1,thin:StyleSheet.hairlineWidth}}};export var createPalette=overrides=>mergeTheme(defaultPalette,overrides);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defaultPalette}from"./palette";import{resolveThemeGraph}from"./resolveThemeGraph";import{definitions}from"./themeDefinitions";var validateOverrides=overrides=>{if(!overrides||typeof __DEV__==="undefined"||!__DEV__)return;for(var key of Object.keys(overrides)){if(!Object.hasOwn(definitions,key)){throw new Error(`Unknown theme override key: ${key}`);}}};export var resolveTheme=(palette=defaultPalette,overrides)=>resolveThemeGraph({definitions,palette,overrides,validateOverrides});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeTheme}from"./mergeTheme";export var resolveThemeGraph=({definitions,palette,overrides,context={},validateOverrides})=>{validateOverrides?.(overrides);var keys=Object.keys(definitions);var cache=new Map();var stack=[];function resolveKey(key){if(cache.has(key)){return cache.get(key);}var cycleStart=stack.indexOf(key);if(cycleStart!==-1){var cycle=[...stack.slice(cycleStart),key].join(" -> ");throw new Error(`Theme dependency cycle: ${cycle}`);}stack.push(key);try{var factory=definitions[key];var defaults=factory({palette,theme:reader,...context});var override=overrides?.[key];var resolved=mergeTheme(defaults,override);cache.set(key,resolved);return resolved;}finally{stack.pop();}}var reader=Object.create(null);var _loop=function(key){Object.defineProperty(reader,key,{enumerable:false,configurable:false,get:()=>resolveKey(key)});};for(var key of keys){_loop(key);}return Object.fromEntries(keys.map(key=>[key,resolveKey(key)]));};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeTheme}from"./mergeTheme";var hasWarnedAboutFocusRingColor=false;var resolveFocusRingColor=color=>{if(typeof color==="string")return color;if(!hasWarnedAboutFocusRingColor&&typeof __DEV__!=="undefined"&&__DEV__){hasWarnedAboutFocusRingColor=true;console.warn("Focus ring colors must be strings. Falling back to transparent.");}return"transparent";};var createDefaultFocusRing=({border,color})=>({color:resolveFocusRingColor(color.primary),width:border.width.regular,offset:border.width.regular});var createDefaultSystems=palette=>({interaction:{focusRing:createDefaultFocusRing(palette),disabled:{opacity:0.5},state:{hoverOpacity:0.08,pressedOpacity:0.2,pressDuration:50,hoverDuration:100}},shadow:{color:"#000000",opacity:0.08,radius:16,offset:{width:0,height:2},elevation:8},accessibility:{maxFontSizeMultiplier:1.2},touch:{hitSlop:{default:16,large:20}}});export var createSystems=(palette,overrides)=>mergeTheme(createDefaultSystems(palette),overrides);
|
package/lib/theme/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defaultActionTheme}from"../actions/action/Action.theme";import{defaultActionBaseTheme}from"../actions/action/ActionBase.theme";import{defaultIconActionTheme}from"../actions/action/IconAction.theme";import{defaultIconActionBaseTheme}from"../actions/action/IconActionBase.theme";import{defaultButtonTheme}from"../actions/button/Button.theme";import{defaultButtonBaseTheme}from"../actions/button/ButtonBase.theme";import{defaultIconButtonTheme}from"../actions/button/IconButton.theme";import{defaultIconButtonBaseTheme}from"../actions/button/IconButtonBase.theme";import{defaultStateLayerTheme}from"../actions/surface/StateLayer.theme";import{defaultSwipeActionTheme}from"../actions/swipeAction/SwipeAction.theme";import{defaultAvatarTheme}from"../display/avatar/Avatar.theme";import{defaultBadgeTheme}from"../display/badge/Badge.theme";import{defaultContentRowTheme}from"../display/contentRow/ContentRow.theme";import{defaultListItemTheme}from"../display/listItem/ListItem.theme";import{defaultRatingTheme}from"../display/rating/Rating.theme";import{defaultTagTheme}from"../display/tag/Tag.theme";import{defaultTagIconTheme}from"../display/tag/TagIcon.theme";import{defaultToggleIndicatorTheme}from"../display/toggleIndicator/ToggleIndicator.theme";import{defaultToastTheme}from"../feedback/toast/Toast.theme";import{defaultFieldTheme}from"../forms/field/Field.theme";import{defaultFormContainerTheme}from"../forms/formContainer/FormContainer.theme";import{defaultFormRowTheme}from"../forms/formRow/FormRow.theme";import{defaultComboboxInputTheme}from"../forms/input/comboboxInput/ComboboxInput.theme";import{defaultRatingInputTheme}from"../forms/input/ratingInput/RatingInput.theme";import{defaultSelectionInputTheme}from"../forms/input/selectionInput/SelectionInput.theme";import{defaultToggleInputTheme}from"../forms/input/toggleInput/ToggleInput.theme";import{defaultIconTheme}from"../icons/Icon.theme";import{defaultIconBaseTheme}from"../icons/IconBase.theme";import{defaultAnchoredContainerTheme}from"../overlays/anchoredContainer/AnchoredContainer.theme";import{defaultMenuTheme}from"../overlays/menu/Menu.theme";import{defaultMenuItemTheme}from"../overlays/menu/MenuItem.theme";import{defaultHighlightedTextTheme}from"../typography/text/HighlightedText.theme";import{defaultTextTheme}from"../typography/text/Text.theme";export var definitions={text:defaultTextTheme,highlightedText:defaultHighlightedTextTheme,iconBase:defaultIconBaseTheme,icon:defaultIconTheme,action:defaultActionTheme,actionBase:defaultActionBaseTheme,iconActionBase:defaultIconActionBaseTheme,iconAction:defaultIconActionTheme,buttonBase:defaultButtonBaseTheme,button:defaultButtonTheme,iconButtonBase:defaultIconButtonBaseTheme,iconButton:defaultIconButtonTheme,stateLayer:defaultStateLayerTheme,field:defaultFieldTheme,selectionInput:defaultSelectionInputTheme,toggleInput:defaultToggleInputTheme,toggleIndicator:defaultToggleIndicatorTheme,comboboxInput:defaultComboboxInputTheme,rating:defaultRatingTheme,ratingInput:defaultRatingInputTheme,badge:defaultBadgeTheme,tag:defaultTagTheme,tagIcon:defaultTagIconTheme,contentRow:defaultContentRowTheme,listItem:defaultListItemTheme,menu:defaultMenuTheme,menuItem:defaultMenuItemTheme,avatar:defaultAvatarTheme,toast:defaultToastTheme,swipeAction:defaultSwipeActionTheme,anchoredContainer:defaultAnchoredContainerTheme,formContainer:defaultFormContainerTheme,formRow:defaultFormRowTheme};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as _c}from"react/compiler-runtime";import{Platform}from"react-native";import{useThemeContext}from"./useTheme";var createShadowStyle=({color,offset,opacity,radius,elevation})=>{if(Platform.OS==="web"){var shadowColor=typeof color==="string"?color:"black";return{boxShadow:`${offset.width}px ${offset.height}px ${radius}px color-mix(in srgb, ${shadowColor} ${opacity*100}%, transparent)`};}return{shadowColor:color,shadowOffset:offset,shadowOpacity:opacity,shadowRadius:radius,elevation};};var createFocusRingStyle=({color,width,offset},visible)=>visible?{outlineColor:color,outlineOffset:offset,outlineStyle:"solid",outlineWidth:width,position:"relative",zIndex:1}:{outlineColor:"transparent",outlineStyle:"solid",outlineWidth:0};var createDisabledStyle=opacity=>({opacity});export var useSystems=()=>{var $=_c(20);var _useThemeContext=useThemeContext(),systems=_useThemeContext.systems;var _systems$interaction=systems.interaction,focusRing=_systems$interaction.focusRing,disabled=_systems$interaction.disabled,state=_systems$interaction.state;var t0;if($[0]!==focusRing){t0=createFocusRingStyle(focusRing,true);$[0]=focusRing;$[1]=t0;}else{t0=$[1];}var visibleFocusRingStyle=t0;var t1;if($[2]!==focusRing){t1=createFocusRingStyle(focusRing,false);$[2]=focusRing;$[3]=t1;}else{t1=$[3];}var hiddenFocusRingStyle=t1;var t2;if($[4]!==disabled.opacity){t2=createDisabledStyle(disabled.opacity);$[4]=disabled.opacity;$[5]=t2;}else{t2=$[5];}var disabledStyle=t2;var t3;if($[6]!==systems.shadow){t3=createShadowStyle(systems.shadow);$[6]=systems.shadow;$[7]=t3;}else{t3=$[7];}var shadowStyle=t3;var t4;if($[8]!==hiddenFocusRingStyle||$[9]!==visibleFocusRingStyle){t4=visible=>visible?visibleFocusRingStyle:hiddenFocusRingStyle;$[8]=hiddenFocusRingStyle;$[9]=visibleFocusRingStyle;$[10]=t4;}else{t4=$[10];}var t5;if($[11]!==disabledStyle){t5=isDisabled=>isDisabled?disabledStyle:undefined;$[11]=disabledStyle;$[12]=t5;}else{t5=$[12];}var t6;if($[13]!==shadowStyle||$[14]!==state||$[15]!==systems.accessibility.maxFontSizeMultiplier||$[16]!==systems.touch.hitSlop||$[17]!==t4||$[18]!==t5){t6={getFocusRingStyle:t4,getDisabledStyle:t5,shadowStyle,state,maxFontSizeMultiplier:systems.accessibility.maxFontSizeMultiplier,hitSlop:systems.touch.hitSlop};$[13]=shadowStyle;$[14]=state;$[15]=systems.accessibility.maxFontSizeMultiplier;$[16]=systems.touch.hitSlop;$[17]=t4;$[18]=t5;$[19]=t6;}else{t6=$[19];}return t6;};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{use}from"react";import{ThemeContext}from"./ThemeContext";export var useThemeContext=()=>use(ThemeContext);export var usePalette=()=>use(ThemeContext).palette;
|
|
@@ -2,16 +2,17 @@ import type { FC } from "react";
|
|
|
2
2
|
import type { ColorValue } from "react-native";
|
|
3
3
|
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
4
|
import { type ActionBaseProps } from "./ActionBase";
|
|
5
|
-
|
|
6
|
-
export type
|
|
5
|
+
type ActionVariant = "primary" | "secondary" | "destructive";
|
|
6
|
+
export type ActionTheme = {
|
|
7
7
|
label: {
|
|
8
8
|
color: Record<ActionVariant, ColorValue>;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
export interface ActionProps extends Pick<ActionBaseProps, "
|
|
11
|
+
export interface ActionProps extends Pick<ActionBaseProps, "style" | "disabled" | "highlighted" | "onPress"> {
|
|
12
12
|
label: string;
|
|
13
13
|
variant?: ActionVariant;
|
|
14
|
-
|
|
14
|
+
theme?: DeepPartial<ActionTheme>;
|
|
15
15
|
}
|
|
16
16
|
export declare const Action: FC<ActionProps>;
|
|
17
|
+
export {};
|
|
17
18
|
//# sourceMappingURL=Action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/Action.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAGhE,KAAK,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,EAAE;QACH,KAAK,EAAE,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;KAC5C,CAAC;CACL,CAAC;AAEF,MAAM,WAAW,WACb,SAAQ,IAAI,CACR,eAAe,EACf,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CACnD;IACD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAsBlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/Action.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CAUpD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FC, ReactNode } from "react";
|
|
2
|
+
import { type PressableProps, type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
|
+
export type ActionState = {
|
|
5
|
+
pressed: boolean;
|
|
6
|
+
hovered?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type ActionBaseTheme = {
|
|
9
|
+
borderRadius: number;
|
|
10
|
+
};
|
|
11
|
+
export interface ActionBaseProps extends Pick<PressableProps, "hitSlop" | "tabIndex" | "onFocus" | "onBlur" | "accessibilityLabel" | "role" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-checked" | "onPress"> {
|
|
12
|
+
style?: StyleProp<ViewStyle>;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
highlighted?: boolean;
|
|
15
|
+
theme?: DeepPartial<ActionBaseTheme>;
|
|
16
|
+
children?: ReactNode | ((state: ActionState) => ReactNode);
|
|
17
|
+
}
|
|
18
|
+
export declare const ActionBase: FC<ActionBaseProps>;
|
|
19
|
+
//# sourceMappingURL=ActionBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionBase.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/ActionBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,SAAS,EAEd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAMtD,MAAM,MAAM,WAAW,GAAG;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,eACb,SAAQ,IAAI,CACR,cAAc,EACZ,SAAS,GACT,UAAU,GACV,SAAS,GACT,QAAQ,GACR,oBAAoB,GACpB,MAAM,GACN,mBAAmB,GACnB,oBAAoB,GACpB,oBAAoB,GACpB,cAAc,GACd,SAAS,CACd;IACD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,WAAW,KAAK,SAAS,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmE1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionBase.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/ActionBase.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,YAAY,CAI5D,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
|
+
import type { IconComponentProps } from "../../icons/IconComponentProps";
|
|
4
|
+
import { type IconActionBaseProps } from "./IconActionBase";
|
|
5
|
+
type IconActionVariant = "primary" | "secondary" | "destructive";
|
|
6
|
+
export type IconActionTheme = {
|
|
7
|
+
color: Record<IconActionVariant, ColorValue>;
|
|
8
|
+
};
|
|
9
|
+
export interface IconActionProps extends Omit<IconActionBaseProps, "theme"> {
|
|
10
|
+
variant?: IconActionVariant;
|
|
11
|
+
theme?: DeepPartial<IconActionTheme>;
|
|
12
|
+
}
|
|
13
|
+
export declare const IconAction: <G extends string>({ variant, theme: themeOverrides, ...props }: IconActionProps & IconComponentProps<G>) => import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=IconAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconAction.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/IconAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,KAAK,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;AAEjE,MAAM,MAAM,eAAe,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACvE,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,8CAI1C,eAAe,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCAMzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconAction.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/IconAction.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,YAAY,CAI5D,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
|
+
import type { IconComponentProps } from "../../icons/IconComponentProps";
|
|
4
|
+
import { type ActionBaseProps } from "./ActionBase";
|
|
5
|
+
export type IconActionBaseTheme = {
|
|
6
|
+
gap: number;
|
|
7
|
+
color: ColorValue;
|
|
8
|
+
};
|
|
9
|
+
export interface IconActionBaseProps extends Pick<ActionBaseProps, "onPress" | "disabled" | "highlighted" | "style" | "tabIndex" | "hitSlop" | "accessibilityLabel" | "onFocus" | "onBlur"> {
|
|
10
|
+
label?: string;
|
|
11
|
+
iconPosition?: "start" | "end";
|
|
12
|
+
iconSize?: number;
|
|
13
|
+
theme?: DeepPartial<IconActionBaseTheme>;
|
|
14
|
+
}
|
|
15
|
+
export declare const IconActionBase: <G extends string>({ label, iconPosition, iconSize, theme: themeOverrides, iconName, iconSet, ...actionProps }: IconActionBaseProps & IconComponentProps<G>) => import("react").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=IconActionBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconActionBase.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/IconActionBase.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,gCAAgC,CAAC;AAGzE,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAGhE,MAAM,MAAM,mBAAmB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,mBACb,SAAQ,IAAI,CACR,eAAe,EACb,SAAS,GACT,UAAU,GACV,aAAa,GACb,OAAO,GACP,UAAU,GACV,SAAS,GACT,oBAAoB,GACpB,SAAS,GACT,QAAQ,CACb;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;CAC5C;AAED,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,EAAE,6FAQ9C,mBAAmB,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCA0B7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconActionBase.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/IconActionBase.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,0BAA0B,EAAE,YAAY,CAAC,gBAAgB,CAKpE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ComponentPropsWithRef, type FC, type ReactNode } from "react";
|
|
2
|
+
import { Pressable } from "react-native";
|
|
3
|
+
type PressableBaseState = {
|
|
4
|
+
pressed: boolean;
|
|
5
|
+
hovered: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type PressableBaseProps = Omit<ComponentPropsWithRef<typeof Pressable>, "children"> & {
|
|
8
|
+
children?: ReactNode | ((state: PressableBaseState) => ReactNode);
|
|
9
|
+
};
|
|
10
|
+
export declare const PressableBase: FC<PressableBaseProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=PressableBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PressableBase.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/PressableBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,EAAE,EACP,KAAK,SAAS,EAEjB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,KAAK,kBAAkB,GAAG;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACjC,qBAAqB,CAAC,OAAO,SAAS,CAAC,EACvC,UAAU,CACb,GAAG;IACA,QAAQ,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,kBAAkB,KAAK,SAAS,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA2BhD,CAAC"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type { FC, ReactNode } from "react";
|
|
2
2
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import type { ActionState } from "./ActionBase";
|
|
4
|
-
export type StateTintStyles = {
|
|
5
|
-
hoverOpacity: number;
|
|
6
|
-
pressedOpacity: number;
|
|
7
|
-
};
|
|
8
4
|
export interface StateTintProps extends ActionState {
|
|
9
5
|
style?: StyleProp<ViewStyle>;
|
|
10
6
|
children?: ReactNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateTint.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/StateTint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,cAAe,SAAQ,WAAW;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAuBxC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Action, type ActionProps } from "./Action";
|
|
2
|
+
export { ActionBase, type ActionBaseProps, type ActionState, } from "./ActionBase";
|
|
3
|
+
export { IconAction, type IconActionProps } from "./IconAction";
|
|
4
|
+
export { IconActionBase, type IconActionBaseProps } from "./IconActionBase";
|
|
5
|
+
export { PressableBase } from "./PressableBase";
|
|
6
|
+
export { StateTint } from "./StateTint";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/action/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EACH,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,WAAW,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
2
|
import type { ColorValue } from "react-native";
|
|
3
3
|
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
|
-
import { type ButtonBaseProps, type
|
|
5
|
-
export type ButtonSize = "medium" | "large";
|
|
4
|
+
import { type ButtonBaseProps, type ButtonBaseTheme } from "./ButtonBase";
|
|
6
5
|
export type ButtonVariant = "primary" | "destructive";
|
|
7
6
|
export type ButtonAppearance = "prominent" | "subtle";
|
|
8
|
-
export type
|
|
7
|
+
export type ButtonAppearanceTheme = {
|
|
9
8
|
prominent: {
|
|
10
9
|
container: Record<ButtonVariant, ColorValue>;
|
|
11
10
|
content: Record<ButtonVariant, ColorValue>;
|
|
@@ -15,17 +14,17 @@ export type ButtonAppearanceStyles = {
|
|
|
15
14
|
content: Record<ButtonVariant, ColorValue>;
|
|
16
15
|
};
|
|
17
16
|
};
|
|
18
|
-
export type
|
|
17
|
+
export type ButtonTheme = {
|
|
19
18
|
container: {
|
|
20
|
-
borderRadius:
|
|
19
|
+
borderRadius: ButtonBaseTheme["borderRadius"];
|
|
21
20
|
};
|
|
22
|
-
appearance:
|
|
21
|
+
appearance: ButtonAppearanceTheme;
|
|
23
22
|
};
|
|
24
|
-
export interface ButtonProps extends Pick<ButtonBaseProps, "onPress" | "disabled" | "width" | "
|
|
23
|
+
export interface ButtonProps extends Pick<ButtonBaseProps, "onPress" | "disabled" | "highlighted" | "width" | "style"> {
|
|
25
24
|
variant?: ButtonVariant;
|
|
26
25
|
appearance?: ButtonAppearance;
|
|
27
26
|
label: string;
|
|
28
|
-
|
|
27
|
+
theme?: DeepPartial<ButtonTheme>;
|
|
29
28
|
}
|
|
30
29
|
export declare const Button: FC<ButtonProps>;
|
|
31
30
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,EAEH,KAAK,eAAe,EACpB,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,aAAa,CAAC;AACtD,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG;IAChC,SAAS,EAAE;QACP,SAAS,EAAE,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;QAC7C,OAAO,EAAE,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;KAC9C,CAAC;IACF,MAAM,EAAE;QACJ,SAAS,EAAE,UAAU,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;KAC9C,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,SAAS,EAAE;QACP,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC,CAAC;KACjD,CAAC;IACF,UAAU,EAAE,qBAAqB,CAAC;CACrC,CAAC;AAEF,MAAM,WAAW,WACb,SAAQ,IAAI,CACR,eAAe,EACf,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,OAAO,GAAG,OAAO,CAC7D;IACD,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CA4BlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/Button.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CA8BrD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { FC } from "react";
|
|
|
2
2
|
import { type ColorValue, type DimensionValue } from "react-native";
|
|
3
3
|
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
4
|
import { type InteractionSurfaceProps } from "../surface";
|
|
5
|
-
export type
|
|
5
|
+
export type ButtonBaseTheme = {
|
|
6
6
|
height: DimensionValue;
|
|
7
7
|
width: {
|
|
8
8
|
medium: DimensionValue;
|
|
@@ -12,9 +12,9 @@ export type ButtonBaseStyles = {
|
|
|
12
12
|
borderRadius: number | `${number}%`;
|
|
13
13
|
backgroundColor: ColorValue;
|
|
14
14
|
};
|
|
15
|
-
export interface ButtonBaseProps extends Pick<InteractionSurfaceProps, "children" | "disabled" | "onPress" | "
|
|
15
|
+
export interface ButtonBaseProps extends Pick<InteractionSurfaceProps, "children" | "disabled" | "highlighted" | "onPress" | "style" | "hitSlop" | "tabIndex" | "accessibilityLabel" | "onFocus" | "onBlur"> {
|
|
16
16
|
width?: "auto" | "medium";
|
|
17
|
-
|
|
17
|
+
theme?: DeepPartial<ButtonBaseTheme>;
|
|
18
18
|
}
|
|
19
19
|
export declare const ButtonBase: FC<ButtonBaseProps>;
|
|
20
20
|
//# sourceMappingURL=ButtonBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonBase.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/ButtonBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAQ,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE9E,MAAM,MAAM,eAAe,GAAG;IAC1B,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE;QACH,MAAM,EAAE,cAAc,CAAC;KAC1B,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC;IACpC,eAAe,EAAE,UAAU,CAAC;CAC/B,CAAC;AAEF,MAAM,WAAW,eACb,SAAQ,IAAI,CACR,uBAAuB,EACrB,UAAU,GACV,UAAU,GACV,aAAa,GACb,SAAS,GACT,OAAO,GACP,SAAS,GACT,UAAU,GACV,oBAAoB,GACpB,SAAS,GACT,QAAQ,CACb;IACD,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAkB1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonBase.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/ButtonBase.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,YAAY,CAW5D,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
2
|
+
import type { IconComponentProps } from "../../icons/IconComponentProps";
|
|
3
|
+
import type { ButtonAppearance, ButtonAppearanceTheme, ButtonVariant } from "./Button";
|
|
4
|
+
import { type IconButtonBaseProps } from "./IconButtonBase";
|
|
5
|
+
type IconButtonVariant = ButtonVariant;
|
|
6
|
+
export type IconButtonTheme = {
|
|
7
|
+
container: {
|
|
8
|
+
size: number;
|
|
9
|
+
};
|
|
10
|
+
appearance: ButtonAppearanceTheme;
|
|
11
|
+
};
|
|
12
|
+
export interface IconButtonProps extends Pick<IconButtonBaseProps, "onPress" | "disabled" | "highlighted" | "style"> {
|
|
13
|
+
variant?: IconButtonVariant;
|
|
14
|
+
appearance?: ButtonAppearance;
|
|
15
|
+
theme?: DeepPartial<IconButtonTheme>;
|
|
16
|
+
onPress?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const IconButton: <G extends string>({ variant, appearance, theme: themeOverrides, ...props }: IconButtonProps & IconComponentProps<G>) => import("react").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,OAAO,KAAK,EACR,gBAAgB,EAChB,qBAAqB,EACrB,aAAa,EAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,KAAK,iBAAiB,GAAG,aAAa,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG;IAC1B,SAAS,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,UAAU,EAAE,qBAAqB,CAAC;CACrC,CAAC;AAEF,MAAM,WAAW,eACb,SAAQ,IAAI,CACR,mBAAmB,EACnB,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,OAAO,CACnD;IACD,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,KAAK,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,0DAK1C,eAAe,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCAuBzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/IconButton.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,YAAY,CA8B7D,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ColorValue, DimensionValue } from "react-native";
|
|
2
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
|
+
import type { IconComponentProps } from "../../icons/IconComponentProps";
|
|
4
|
+
import type { ButtonBaseProps, ButtonBaseTheme } from "./ButtonBase";
|
|
5
|
+
export type IconButtonBaseTheme = {
|
|
6
|
+
container: {
|
|
7
|
+
size: DimensionValue;
|
|
8
|
+
padding: number;
|
|
9
|
+
borderRadius: ButtonBaseTheme["borderRadius"];
|
|
10
|
+
backgroundColor: ColorValue;
|
|
11
|
+
};
|
|
12
|
+
icon: {
|
|
13
|
+
size: number;
|
|
14
|
+
color: ColorValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export interface IconButtonBaseProps extends Pick<ButtonBaseProps, "onPress" | "disabled" | "highlighted" | "style" | "hitSlop" | "tabIndex" | "accessibilityLabel" | "onFocus" | "onBlur"> {
|
|
18
|
+
theme?: DeepPartial<IconButtonBaseTheme>;
|
|
19
|
+
onPress?: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const IconButtonBase: <G extends string>({ theme: themeOverrides, style, iconName, iconSet, ...props }: IconButtonBaseProps & IconComponentProps<G>) => import("react").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=IconButtonBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButtonBase.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/IconButtonBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGzE,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAC9B,SAAS,EAAE;QACP,IAAI,EAAE,cAAc,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC,CAAC;QAC9C,eAAe,EAAE,UAAU,CAAC;KAC/B,CAAC;IACF,IAAI,EAAE;QACF,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,UAAU,CAAC;KACrB,CAAC;CACL,CAAC;AAEF,MAAM,WAAW,mBACb,SAAQ,IAAI,CACR,eAAe,EACb,SAAS,GACT,UAAU,GACV,aAAa,GACb,OAAO,GACP,SAAS,GACT,UAAU,GACV,oBAAoB,GACpB,SAAS,GACT,QAAQ,CACb;IACD,KAAK,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,EAAE,+DAM9C,mBAAmB,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCAgB7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButtonBase.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/IconButtonBase.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,0BAA0B,EAAE,YAAY,CAAC,gBAAgB,CAcpE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Button, type ButtonAppearance, type ButtonProps } from "./Button";
|
|
2
|
+
export { ButtonBase, type ButtonBaseProps } from "./ButtonBase";
|
|
3
|
+
export { IconButton, type IconButtonProps } from "./IconButton";
|
|
4
|
+
export { IconButtonBase, type IconButtonBaseProps } from "./IconButtonBase";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { ActionBaseProps, ActionProps, IconActionBaseProps, IconActionProps, } from "./action";
|
|
2
|
+
export { Action, ActionBase, IconAction, IconActionBase } from "./action";
|
|
3
|
+
export type { ButtonAppearance, ButtonBaseProps, ButtonProps, IconButtonBaseProps, IconButtonProps, } from "./button";
|
|
4
|
+
export { Button, ButtonBase, IconButton, IconButtonBase } from "./button";
|
|
5
|
+
export { SwipeAction, type SwipeActionProps } from "./swipeAction";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,eAAe,GAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1E,YAAY,EACR,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,eAAe,GAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FC, ReactNode } from "react";
|
|
2
2
|
import { type ActionBaseProps } from "../action";
|
|
3
|
-
export interface InteractionSurfaceProps extends Pick<ActionBaseProps, "
|
|
3
|
+
export interface InteractionSurfaceProps extends Pick<ActionBaseProps, "style" | "disabled" | "highlighted" | "onPress" | "hitSlop" | "tabIndex" | "accessibilityLabel" | "onFocus" | "onBlur"> {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
}
|
|
6
6
|
export declare const InteractionSurface: FC<InteractionSurfaceProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionSurface.d.ts","sourceRoot":"","sources":["../../../../src/actions/surface/InteractionSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAG7D,MAAM,WAAW,uBACb,SAAQ,IAAI,CACR,eAAe,EACb,OAAO,GACP,UAAU,GACV,aAAa,GACb,SAAS,GACT,SAAS,GACT,UAAU,GACV,oBAAoB,GACpB,SAAS,GACT,QAAQ,CACb;IACD,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAY1D,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
2
|
import { type ColorValue, type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
4
|
import type { ActionState } from "../action";
|
|
4
|
-
export type
|
|
5
|
+
export type StateLayerTheme = {
|
|
5
6
|
color: ColorValue;
|
|
6
|
-
hoverOpacity: number;
|
|
7
|
-
pressedOpacity: number;
|
|
8
7
|
};
|
|
9
8
|
export interface StateLayerProps extends ActionState {
|
|
10
9
|
style?: StyleProp<ViewStyle>;
|
|
10
|
+
theme?: DeepPartial<StateLayerTheme>;
|
|
11
11
|
}
|
|
12
12
|
export declare const StateLayer: FC<StateLayerProps>;
|
|
13
13
|
//# sourceMappingURL=StateLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateLayer.d.ts","sourceRoot":"","sources":["../../../../src/actions/surface/StateLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EACH,KAAK,UAAU,EACf,KAAK,SAAS,EAEd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG;IAC1B,KAAK,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAyB1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateLayer.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/surface/StateLayer.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,YAAY,CAI5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/surface/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAClB,KAAK,uBAAuB,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { IconComponentProps } from "../../icons/IconComponentProps";
|
|
1
2
|
import { type IconButtonProps } from "../button";
|
|
2
|
-
|
|
3
|
-
export type SwipeActionStyles = {
|
|
3
|
+
export type SwipeActionTheme = {
|
|
4
4
|
width: number;
|
|
5
5
|
};
|
|
6
6
|
export interface SwipeActionProps extends Pick<IconButtonProps, "onPress" | "variant"> {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeAction.d.ts","sourceRoot":"","sources":["../../../../src/actions/swipeAction/SwipeAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,gBACb,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,SAAS,CAAC;CAAG;AAE3D,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EACxC,OAAO,gBAAgB,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCAUlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeAction.theme.d.ts","sourceRoot":"","sources":["../../../../src/actions/swipeAction/SwipeAction.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,aAAa,CAE9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/swipeAction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import type { FC, ReactNode } from "react";
|
|
2
2
|
import { type ColorValue, type StyleProp, type TextStyle, type ViewStyle } from "react-native";
|
|
3
3
|
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
|
+
type AvatarColorSet = {
|
|
5
|
+
background: ColorValue;
|
|
6
|
+
foreground: ColorValue;
|
|
7
|
+
};
|
|
8
|
+
type AvatarColorSets = [AvatarColorSet, ...AvatarColorSet[]];
|
|
4
9
|
type AvatarSize = "small" | "regular" | "large";
|
|
5
|
-
export type
|
|
10
|
+
export type AvatarTheme = {
|
|
6
11
|
size: {
|
|
7
12
|
[Key in AvatarSize]: number;
|
|
8
13
|
};
|
|
@@ -13,11 +18,9 @@ export type AvatarStyles = {
|
|
|
13
18
|
label: {
|
|
14
19
|
fontWeight: TextStyle["fontWeight"];
|
|
15
20
|
fontSize: number;
|
|
21
|
+
paddingHorizontal: number;
|
|
16
22
|
};
|
|
17
|
-
colors:
|
|
18
|
-
background: ColorValue;
|
|
19
|
-
foreground: ColorValue;
|
|
20
|
-
}>;
|
|
23
|
+
colors: AvatarColorSets;
|
|
21
24
|
};
|
|
22
25
|
export interface AvatarProps {
|
|
23
26
|
firstName?: string;
|
|
@@ -29,8 +32,8 @@ export interface AvatarProps {
|
|
|
29
32
|
imageUri?: string;
|
|
30
33
|
size?: AvatarSize;
|
|
31
34
|
action?: ReactNode;
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
theme?: DeepPartial<AvatarTheme>;
|
|
36
|
+
style?: StyleProp<ViewStyle>;
|
|
34
37
|
}
|
|
35
38
|
export declare const Avatar: FC<AvatarProps>;
|
|
36
39
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/display/avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EACH,KAAK,UAAU,EAEf,KAAK,SAAS,EACd,KAAK,SAAS,EAEd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,KAAK,cAAc,GAAG;IAAE,UAAU,EAAE,UAAU,CAAC;IAAC,UAAU,EAAE,UAAU,CAAA;CAAE,CAAC;AACzE,KAAK,eAAe,GAAG,CAAC,cAAc,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC;AAiB7D,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE;SAAG,GAAG,IAAI,UAAU,GAAG,MAAM;KAAE,CAAC;IACtC,QAAQ,EAAE;QACN,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;KACxC,CAAC;IACF,KAAK,EAAE;QACH,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC;QACjB,iBAAiB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,MAAM,EAAE,eAAe,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,KAAK,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IAEjC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAmElC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.theme.d.ts","sourceRoot":"","sources":["../../../../src/display/avatar/Avatar.theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CA4BpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/display/avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC"}
|