@fountain-ui/core 2.0.0-beta.91 → 2.0.0-beta.93
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/build/commonjs/Button/Button.js +51 -63
- package/build/commonjs/Button/Button.js.map +1 -1
- package/build/commonjs/Button/ButtonProps.js +11 -0
- package/build/commonjs/Button/ButtonProps.js.map +1 -1
- package/build/commonjs/Button/LegacyButton.js +144 -0
- package/build/commonjs/Button/LegacyButton.js.map +1 -0
- package/build/commonjs/Button/LegacyButtonProps.js +2 -0
- package/build/commonjs/Button/LegacyButtonProps.js.map +1 -0
- package/build/commonjs/Button/index.js +2 -2
- package/build/commonjs/Button/index.js.map +1 -1
- package/build/commonjs/Button/useVariantStyleMap.js +95 -0
- package/build/commonjs/Button/useVariantStyleMap.js.map +1 -0
- package/build/commonjs/ButtonSet/ButtonSet.js +54 -0
- package/build/commonjs/ButtonSet/ButtonSet.js.map +1 -0
- package/build/commonjs/ButtonSet/ButtonSetProps.js +11 -0
- package/build/commonjs/ButtonSet/ButtonSetProps.js.map +1 -0
- package/build/commonjs/ButtonSet/index.js +30 -0
- package/build/commonjs/ButtonSet/index.js.map +1 -0
- package/build/commonjs/ButtonSet/useVariantStyleMap.js +85 -0
- package/build/commonjs/ButtonSet/useVariantStyleMap.js.map +1 -0
- package/build/commonjs/Checkbox/Checkbox.js +33 -23
- package/build/commonjs/Checkbox/Checkbox.js.map +1 -1
- package/build/commonjs/Checkbox/CheckboxProps.js +7 -0
- package/build/commonjs/Checkbox/CheckboxProps.js.map +1 -1
- package/build/commonjs/Checkbox/LegacyCheckbox.js +65 -0
- package/build/commonjs/Checkbox/LegacyCheckbox.js.map +1 -0
- package/build/commonjs/Checkbox/LegacyCheckboxProps.js +2 -0
- package/build/commonjs/Checkbox/LegacyCheckboxProps.js.map +1 -0
- package/build/commonjs/Checkbox/index.js +2 -2
- package/build/commonjs/Checkbox/index.js.map +1 -1
- package/build/commonjs/Checkbox/useVariantStyleMap.js +70 -0
- package/build/commonjs/Checkbox/useVariantStyleMap.js.map +1 -0
- package/build/commonjs/CheckboxGroup/CheckboxGroup.js +50 -0
- package/build/commonjs/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/build/commonjs/CheckboxGroup/CheckboxGroupProps.js +2 -0
- package/build/commonjs/CheckboxGroup/CheckboxGroupProps.js.map +1 -0
- package/build/commonjs/CheckboxGroup/index.js +16 -0
- package/build/commonjs/CheckboxGroup/index.js.map +1 -0
- package/build/commonjs/Divider/Divider.js +16 -4
- package/build/commonjs/Divider/Divider.js.map +1 -1
- package/build/commonjs/Divider/DividerProps.js +9 -0
- package/build/commonjs/Divider/DividerProps.js.map +1 -1
- package/build/commonjs/Divider/LegacyDivider.js +114 -0
- package/build/commonjs/Divider/LegacyDivider.js.map +1 -0
- package/build/commonjs/Divider/LegacyDividerProps.js +2 -0
- package/build/commonjs/Divider/LegacyDividerProps.js.map +1 -0
- package/build/commonjs/Divider/index.js +2 -2
- package/build/commonjs/Divider/index.js.map +1 -1
- package/build/commonjs/IconButton/IconButton.js +39 -42
- package/build/commonjs/IconButton/IconButton.js.map +1 -1
- package/build/commonjs/IconButton/IconButtonProps.js +7 -0
- package/build/commonjs/IconButton/IconButtonProps.js.map +1 -1
- package/build/commonjs/IconButton/LegacyIconButton.js +88 -0
- package/build/commonjs/IconButton/LegacyIconButton.js.map +1 -0
- package/build/commonjs/IconButton/LegacyIconButtonProps.js +2 -0
- package/build/commonjs/IconButton/LegacyIconButtonProps.js.map +1 -0
- package/build/commonjs/IconButton/index.js +2 -2
- package/build/commonjs/IconButton/index.js.map +1 -1
- package/build/commonjs/Modal/index.js +0 -10
- package/build/commonjs/Modal/index.js.map +1 -1
- package/build/commonjs/Radio/LegacyRadio.js +82 -0
- package/build/commonjs/Radio/LegacyRadio.js.map +1 -0
- package/build/commonjs/Radio/LegacyRadioProps.js +2 -0
- package/build/commonjs/Radio/LegacyRadioProps.js.map +1 -0
- package/build/commonjs/Radio/Radio.js +40 -19
- package/build/commonjs/Radio/Radio.js.map +1 -1
- package/build/commonjs/Radio/RadioProps.js.map +1 -1
- package/build/commonjs/Radio/index.js +2 -2
- package/build/commonjs/Radio/index.js.map +1 -1
- package/build/commonjs/RadioGroup/LegacyRadioGroup.js +31 -0
- package/build/commonjs/RadioGroup/LegacyRadioGroup.js.map +1 -0
- package/build/commonjs/RadioGroup/RadioGroup.js +28 -2
- package/build/commonjs/RadioGroup/RadioGroup.js.map +1 -1
- package/build/commonjs/RadioGroup/index.js +2 -2
- package/build/commonjs/RadioGroup/index.js.map +1 -1
- package/build/commonjs/ShadowView/ShadowView.js +35 -0
- package/build/commonjs/ShadowView/ShadowView.js.map +1 -0
- package/build/commonjs/ShadowView/ShadowView.native.js +35 -0
- package/build/commonjs/ShadowView/ShadowView.native.js.map +1 -0
- package/build/commonjs/ShadowView/ShadowViewProps.js +2 -0
- package/build/commonjs/ShadowView/ShadowViewProps.js.map +1 -0
- package/build/commonjs/ShadowView/index.js +16 -0
- package/build/commonjs/ShadowView/index.js.map +1 -0
- package/build/commonjs/SvgIcon/LegacySvgIcon.js +43 -0
- package/build/commonjs/SvgIcon/LegacySvgIcon.js.map +1 -0
- package/build/commonjs/SvgIcon/LegacySvgIconProps.js +2 -0
- package/build/commonjs/SvgIcon/LegacySvgIconProps.js.map +1 -0
- package/build/commonjs/SvgIcon/SvgIcon.js +16 -4
- package/build/commonjs/SvgIcon/SvgIcon.js.map +1 -1
- package/build/commonjs/SvgIcon/SvgIconProps.js +15 -0
- package/build/commonjs/SvgIcon/SvgIconProps.js.map +1 -1
- package/build/commonjs/SvgIcon/index.js +2 -2
- package/build/commonjs/SvgIcon/index.js.map +1 -1
- package/build/commonjs/Toggle/Toggle.js +110 -0
- package/build/commonjs/Toggle/Toggle.js.map +1 -0
- package/build/commonjs/Toggle/ToggleProps.js +2 -0
- package/build/commonjs/Toggle/ToggleProps.js.map +1 -0
- package/build/commonjs/Toggle/index.js +16 -0
- package/build/commonjs/Toggle/index.js.map +1 -0
- package/build/commonjs/Typography/LegacyTypography.js +142 -0
- package/build/commonjs/Typography/LegacyTypography.js.map +1 -0
- package/build/commonjs/Typography/LegacyTypographyProps.js +2 -0
- package/build/commonjs/Typography/LegacyTypographyProps.js.map +1 -0
- package/build/commonjs/Typography/Typography.js +15 -54
- package/build/commonjs/Typography/Typography.js.map +1 -1
- package/build/commonjs/Typography/TypographyProps.js +7 -0
- package/build/commonjs/Typography/TypographyProps.js.map +1 -1
- package/build/commonjs/Typography/index.js +2 -2
- package/build/commonjs/Typography/index.js.map +1 -1
- package/build/commonjs/hooks/useCollapsibleAppBar.js +11 -2
- package/build/commonjs/hooks/useCollapsibleAppBar.js.map +1 -1
- package/build/commonjs/index.js +80 -3
- package/build/commonjs/index.js.map +1 -1
- package/build/commonjs/internal/icons/Check.js +23 -0
- package/build/commonjs/internal/icons/Check.js.map +1 -0
- package/build/commonjs/internal/icons/CheckboxOn.js +23 -0
- package/build/commonjs/internal/icons/CheckboxOn.js.map +1 -0
- package/build/commonjs/internal/icons/index.js +16 -0
- package/build/commonjs/internal/icons/index.js.map +1 -1
- package/build/commonjs/styles/createFontStyle.js.map +1 -1
- package/build/commonjs/utils/cloneElementSafely.js.map +1 -1
- package/build/commonjs/utils/createSvgIcon.js +15 -3
- package/build/commonjs/utils/createSvgIcon.js.map +1 -1
- package/build/commonjs/utils/index.js.map +1 -1
- package/build/module/Button/Button.js +53 -63
- package/build/module/Button/Button.js.map +1 -1
- package/build/module/Button/ButtonProps.js +3 -1
- package/build/module/Button/ButtonProps.js.map +1 -1
- package/build/module/Button/LegacyButton.js +127 -0
- package/build/module/Button/LegacyButton.js.map +1 -0
- package/build/module/Button/LegacyButtonProps.js +2 -0
- package/build/module/Button/LegacyButtonProps.js.map +1 -0
- package/build/module/Button/index.js +1 -1
- package/build/module/Button/index.js.map +1 -1
- package/build/module/Button/useVariantStyleMap.js +85 -0
- package/build/module/Button/useVariantStyleMap.js.map +1 -0
- package/build/module/ButtonSet/ButtonSet.js +34 -0
- package/build/module/ButtonSet/ButtonSet.js.map +1 -0
- package/build/module/ButtonSet/ButtonSetProps.js +3 -0
- package/build/module/ButtonSet/ButtonSetProps.js.map +1 -0
- package/build/module/ButtonSet/index.js +3 -0
- package/build/module/ButtonSet/index.js.map +1 -0
- package/build/module/ButtonSet/useVariantStyleMap.js +76 -0
- package/build/module/ButtonSet/useVariantStyleMap.js.map +1 -0
- package/build/module/Checkbox/Checkbox.js +32 -26
- package/build/module/Checkbox/Checkbox.js.map +1 -1
- package/build/module/Checkbox/CheckboxProps.js +1 -1
- package/build/module/Checkbox/CheckboxProps.js.map +1 -1
- package/build/module/Checkbox/LegacyCheckbox.js +52 -0
- package/build/module/Checkbox/LegacyCheckbox.js.map +1 -0
- package/build/module/Checkbox/LegacyCheckboxProps.js +2 -0
- package/build/module/Checkbox/LegacyCheckboxProps.js.map +1 -0
- package/build/module/Checkbox/index.js +1 -1
- package/build/module/Checkbox/index.js.map +1 -1
- package/build/module/Checkbox/useVariantStyleMap.js +59 -0
- package/build/module/Checkbox/useVariantStyleMap.js.map +1 -0
- package/build/module/CheckboxGroup/CheckboxGroup.js +34 -0
- package/build/module/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/build/module/CheckboxGroup/CheckboxGroupProps.js +2 -0
- package/build/module/CheckboxGroup/CheckboxGroupProps.js.map +1 -0
- package/build/module/CheckboxGroup/index.js +2 -0
- package/build/module/CheckboxGroup/index.js.map +1 -0
- package/build/module/Divider/Divider.js +17 -4
- package/build/module/Divider/Divider.js.map +1 -1
- package/build/module/Divider/DividerProps.js +2 -1
- package/build/module/Divider/DividerProps.js.map +1 -1
- package/build/module/Divider/LegacyDivider.js +100 -0
- package/build/module/Divider/LegacyDivider.js.map +1 -0
- package/build/module/Divider/LegacyDividerProps.js +2 -0
- package/build/module/Divider/LegacyDividerProps.js.map +1 -0
- package/build/module/Divider/index.js +1 -1
- package/build/module/Divider/index.js.map +1 -1
- package/build/module/IconButton/IconButton.js +36 -40
- package/build/module/IconButton/IconButton.js.map +1 -1
- package/build/module/IconButton/IconButtonProps.js +1 -1
- package/build/module/IconButton/IconButtonProps.js.map +1 -1
- package/build/module/IconButton/LegacyIconButton.js +73 -0
- package/build/module/IconButton/LegacyIconButton.js.map +1 -0
- package/build/module/IconButton/LegacyIconButtonProps.js +2 -0
- package/build/module/IconButton/LegacyIconButtonProps.js.map +1 -0
- package/build/module/IconButton/index.js +1 -1
- package/build/module/IconButton/index.js.map +1 -1
- package/build/module/Modal/index.js +0 -1
- package/build/module/Modal/index.js.map +1 -1
- package/build/module/Radio/LegacyRadio.js +63 -0
- package/build/module/Radio/LegacyRadio.js.map +1 -0
- package/build/module/Radio/LegacyRadioProps.js +2 -0
- package/build/module/Radio/LegacyRadioProps.js.map +1 -0
- package/build/module/Radio/Radio.js +35 -18
- package/build/module/Radio/Radio.js.map +1 -1
- package/build/module/Radio/RadioProps.js.map +1 -1
- package/build/module/Radio/index.js +1 -1
- package/build/module/Radio/index.js.map +1 -1
- package/build/module/RadioGroup/LegacyRadioGroup.js +18 -0
- package/build/module/RadioGroup/LegacyRadioGroup.js.map +1 -0
- package/build/module/RadioGroup/RadioGroup.js +21 -2
- package/build/module/RadioGroup/RadioGroup.js.map +1 -1
- package/build/module/RadioGroup/index.js +1 -1
- package/build/module/RadioGroup/index.js.map +1 -1
- package/build/module/ShadowView/ShadowView.js +23 -0
- package/build/module/ShadowView/ShadowView.js.map +1 -0
- package/build/module/ShadowView/ShadowView.native.js +23 -0
- package/build/module/ShadowView/ShadowView.native.js.map +1 -0
- package/build/module/ShadowView/ShadowViewProps.js +2 -0
- package/build/module/ShadowView/ShadowViewProps.js.map +1 -0
- package/build/module/ShadowView/index.js +2 -0
- package/build/module/ShadowView/index.js.map +1 -0
- package/build/module/SvgIcon/LegacySvgIcon.js +30 -0
- package/build/module/SvgIcon/LegacySvgIcon.js.map +1 -0
- package/build/module/SvgIcon/LegacySvgIconProps.js +2 -0
- package/build/module/SvgIcon/LegacySvgIconProps.js.map +1 -0
- package/build/module/SvgIcon/SvgIcon.js +15 -4
- package/build/module/SvgIcon/SvgIcon.js.map +1 -1
- package/build/module/SvgIcon/SvgIconProps.js +7 -1
- package/build/module/SvgIcon/SvgIconProps.js.map +1 -1
- package/build/module/SvgIcon/index.js +1 -1
- package/build/module/SvgIcon/index.js.map +1 -1
- package/build/module/Toggle/Toggle.js +90 -0
- package/build/module/Toggle/Toggle.js.map +1 -0
- package/build/module/Toggle/ToggleProps.js +2 -0
- package/build/module/Toggle/ToggleProps.js.map +1 -0
- package/build/module/Toggle/index.js +2 -0
- package/build/module/Toggle/index.js.map +1 -0
- package/build/module/Typography/LegacyTypography.js +126 -0
- package/build/module/Typography/LegacyTypography.js.map +1 -0
- package/build/module/Typography/LegacyTypographyProps.js +2 -0
- package/build/module/Typography/LegacyTypographyProps.js.map +1 -0
- package/build/module/Typography/Typography.js +15 -54
- package/build/module/Typography/Typography.js.map +1 -1
- package/build/module/Typography/TypographyProps.js +1 -1
- package/build/module/Typography/TypographyProps.js.map +1 -1
- package/build/module/Typography/index.js +1 -1
- package/build/module/Typography/index.js.map +1 -1
- package/build/module/hooks/useCollapsibleAppBar.js +12 -3
- package/build/module/hooks/useCollapsibleAppBar.js.map +1 -1
- package/build/module/index.js +9 -1
- package/build/module/index.js.map +1 -1
- package/build/module/internal/icons/Check.js +9 -0
- package/build/module/internal/icons/Check.js.map +1 -0
- package/build/module/internal/icons/CheckboxOn.js +9 -0
- package/build/module/internal/icons/CheckboxOn.js.map +1 -0
- package/build/module/internal/icons/index.js +2 -0
- package/build/module/internal/icons/index.js.map +1 -1
- package/build/module/styles/createFontStyle.js.map +1 -1
- package/build/module/utils/cloneElementSafely.js.map +1 -1
- package/build/module/utils/createSvgIcon.js +14 -3
- package/build/module/utils/createSvgIcon.js.map +1 -1
- package/build/module/utils/index.js.map +1 -1
- package/build/typescript/Button/ButtonProps.d.ts +13 -11
- package/build/typescript/Button/LegacyButton.d.ts +3 -0
- package/build/typescript/Button/LegacyButtonProps.d.ts +51 -0
- package/build/typescript/Button/index.d.ts +2 -2
- package/build/typescript/Button/useVariantStyleMap.d.ts +9 -0
- package/build/typescript/ButtonSet/ButtonSet.d.ts +3 -0
- package/build/typescript/ButtonSet/ButtonSetProps.d.ts +20 -0
- package/build/typescript/ButtonSet/index.d.ts +3 -0
- package/build/typescript/ButtonSet/useVariantStyleMap.d.ts +10 -0
- package/build/typescript/Checkbox/CheckboxProps.d.ts +10 -14
- package/build/typescript/Checkbox/LegacyCheckbox.d.ts +3 -0
- package/build/typescript/Checkbox/LegacyCheckboxProps.d.ts +36 -0
- package/build/typescript/Checkbox/index.d.ts +2 -2
- package/build/typescript/Checkbox/useVariantStyleMap.d.ts +9 -0
- package/build/typescript/CheckboxGroup/CheckboxGroup.d.ts +3 -0
- package/build/typescript/CheckboxGroup/CheckboxGroupProps.d.ts +11 -0
- package/build/typescript/CheckboxGroup/index.d.ts +2 -0
- package/build/typescript/Divider/DividerProps.d.ts +12 -9
- package/build/typescript/Divider/LegacyDivider.d.ts +3 -0
- package/build/typescript/Divider/LegacyDividerProps.d.ts +41 -0
- package/build/typescript/Divider/index.d.ts +2 -2
- package/build/typescript/IconButton/IconButtonProps.d.ts +7 -10
- package/build/typescript/IconButton/LegacyIconButton.d.ts +3 -0
- package/build/typescript/IconButton/LegacyIconButtonProps.d.ts +26 -0
- package/build/typescript/IconButton/index.d.ts +2 -2
- package/build/typescript/Modal/index.d.ts +0 -2
- package/build/typescript/Radio/LegacyRadio.d.ts +3 -0
- package/build/typescript/Radio/LegacyRadioProps.d.ts +43 -0
- package/build/typescript/Radio/RadioProps.d.ts +9 -14
- package/build/typescript/Radio/index.d.ts +2 -2
- package/build/typescript/RadioGroup/LegacyRadioGroup.d.ts +3 -0
- package/build/typescript/RadioGroup/index.d.ts +1 -1
- package/build/typescript/ShadowView/ShadowView.d.ts +3 -0
- package/build/typescript/ShadowView/ShadowView.native.d.ts +3 -0
- package/build/typescript/ShadowView/ShadowViewProps.d.ts +11 -0
- package/build/typescript/ShadowView/index.d.ts +2 -0
- package/build/typescript/SvgIcon/LegacySvgIcon.d.ts +3 -0
- package/build/typescript/SvgIcon/LegacySvgIconProps.d.ts +35 -0
- package/build/typescript/SvgIcon/SvgIconProps.d.ts +17 -6
- package/build/typescript/SvgIcon/index.d.ts +2 -2
- package/build/typescript/Toggle/Toggle.d.ts +3 -0
- package/build/typescript/Toggle/ToggleProps.d.ts +19 -0
- package/build/typescript/Toggle/index.d.ts +2 -0
- package/build/typescript/Typography/LegacyTypography.d.ts +5 -0
- package/build/typescript/Typography/LegacyTypographyProps.d.ts +81 -0
- package/build/typescript/Typography/Typography.d.ts +1 -1
- package/build/typescript/Typography/TypographyProps.d.ts +12 -9
- package/build/typescript/Typography/index.d.ts +2 -2
- package/build/typescript/hooks/useCollapsibleAppBar.d.ts +1 -0
- package/build/typescript/index.d.ts +10 -2
- package/build/typescript/internal/icons/Check.d.ts +8 -0
- package/build/typescript/internal/icons/Checkbox.d.ts +2 -124
- package/build/typescript/internal/icons/CheckboxChecked.d.ts +2 -124
- package/build/typescript/internal/icons/CheckboxOn.d.ts +8 -0
- package/build/typescript/internal/icons/ChevronDown.d.ts +2 -124
- package/build/typescript/internal/icons/ChevronLeft.d.ts +2 -124
- package/build/typescript/internal/icons/ChevronRight.d.ts +2 -124
- package/build/typescript/internal/icons/Close.d.ts +2 -124
- package/build/typescript/internal/icons/Radio.d.ts +2 -124
- package/build/typescript/internal/icons/RadioChecked.d.ts +2 -124
- package/build/typescript/internal/icons/index.d.ts +2 -0
- package/build/typescript/styles/createFontStyle.d.ts +1 -1
- package/build/typescript/utils/cloneElementSafely.d.ts +1 -2
- package/build/typescript/utils/createSvgIcon.d.ts +8 -3
- package/build/typescript/utils/index.d.ts +1 -0
- package/package.json +2 -2
- package/src/Button/Button.tsx +53 -71
- package/src/Button/ButtonProps.ts +29 -12
- package/src/Button/LegacyButton.tsx +157 -0
- package/src/Button/LegacyButtonProps.ts +62 -0
- package/src/Button/index.ts +2 -2
- package/src/Button/useVariantStyleMap.ts +99 -0
- package/src/ButtonSet/ButtonSet.tsx +43 -0
- package/src/ButtonSet/ButtonSetProps.ts +27 -0
- package/src/ButtonSet/index.ts +3 -0
- package/src/ButtonSet/useVariantStyleMap.ts +84 -0
- package/src/Checkbox/Checkbox.tsx +48 -33
- package/src/Checkbox/CheckboxProps.ts +10 -15
- package/src/Checkbox/LegacyCheckbox.tsx +62 -0
- package/src/Checkbox/LegacyCheckboxProps.ts +42 -0
- package/src/Checkbox/index.ts +2 -2
- package/src/Checkbox/useVariantStyleMap.ts +71 -0
- package/src/CheckboxGroup/CheckboxGroup.tsx +47 -0
- package/src/CheckboxGroup/CheckboxGroupProps.ts +11 -0
- package/src/CheckboxGroup/index.ts +2 -0
- package/src/Divider/Divider.tsx +17 -8
- package/src/Divider/DividerProps.ts +14 -10
- package/src/Divider/LegacyDivider.tsx +114 -0
- package/src/Divider/LegacyDividerProps.ts +48 -0
- package/src/Divider/index.ts +2 -2
- package/src/IconButton/IconButton.tsx +36 -54
- package/src/IconButton/IconButtonProps.ts +12 -12
- package/src/IconButton/LegacyIconButton.tsx +96 -0
- package/src/IconButton/LegacyIconButtonProps.ts +31 -0
- package/src/IconButton/index.ts +2 -2
- package/src/Modal/index.ts +0 -2
- package/src/Radio/LegacyRadio.tsx +72 -0
- package/src/Radio/LegacyRadioProps.ts +50 -0
- package/src/Radio/Radio.tsx +47 -16
- package/src/Radio/RadioProps.ts +10 -16
- package/src/Radio/index.ts +2 -2
- package/src/RadioGroup/LegacyRadioGroup.tsx +20 -0
- package/src/RadioGroup/RadioGroup.tsx +31 -4
- package/src/RadioGroup/index.ts +2 -2
- package/src/ShadowView/ShadowView.native.tsx +37 -0
- package/src/ShadowView/ShadowView.tsx +33 -0
- package/src/ShadowView/ShadowViewProps.ts +11 -0
- package/src/ShadowView/index.ts +2 -0
- package/src/SvgIcon/LegacySvgIcon.tsx +36 -0
- package/src/SvgIcon/LegacySvgIconProps.ts +41 -0
- package/src/SvgIcon/SvgIcon.tsx +19 -5
- package/src/SvgIcon/SvgIconProps.ts +33 -6
- package/src/SvgIcon/index.ts +2 -2
- package/src/Toggle/Toggle.tsx +113 -0
- package/src/Toggle/ToggleProps.ts +21 -0
- package/src/Toggle/index.ts +2 -0
- package/src/Typography/LegacyTypography.tsx +107 -0
- package/src/Typography/LegacyTypographyProps.ts +122 -0
- package/src/Typography/Typography.tsx +24 -30
- package/src/Typography/TypographyProps.ts +29 -34
- package/src/Typography/index.ts +2 -2
- package/src/hooks/useCollapsibleAppBar.ts +12 -2
- package/src/index.ts +14 -2
- package/src/internal/icons/Check.tsx +13 -0
- package/src/internal/icons/CheckboxOn.tsx +13 -0
- package/src/internal/icons/index.ts +2 -0
- package/src/styles/createFontStyle.ts +1 -1
- package/src/utils/cloneElementSafely.ts +1 -1
- package/src/utils/createSvgIcon.tsx +29 -6
- package/src/utils/index.ts +1 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ButtonBaseProps } from '../ButtonBase';
|
|
3
|
+
import type { CommonComponentColor, OverridableComponentProps } from '../types';
|
|
4
|
+
export declare type IconButtonColor = CommonComponentColor;
|
|
5
|
+
export declare type IconButtonSize = 'medium' | 'large' | 'small' | 'tiny';
|
|
6
|
+
export default interface IconButtonProps extends OverridableComponentProps<ButtonBaseProps, {
|
|
7
|
+
/**
|
|
8
|
+
* The icon element.
|
|
9
|
+
*/
|
|
10
|
+
children: React.ReactElement;
|
|
11
|
+
/**
|
|
12
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
13
|
+
* @default 'primary'
|
|
14
|
+
*/
|
|
15
|
+
color?: IconButtonColor;
|
|
16
|
+
/**
|
|
17
|
+
* If present, this is typography displayed at the bottom of the icon.
|
|
18
|
+
*/
|
|
19
|
+
label?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The size of the button.
|
|
22
|
+
* @default 'medium'
|
|
23
|
+
*/
|
|
24
|
+
size?: IconButtonSize;
|
|
25
|
+
}> {
|
|
26
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './
|
|
2
|
-
export type { default as IconButtonProps } from './
|
|
1
|
+
export { default } from './LegacyIconButton';
|
|
2
|
+
export type { default as IconButtonProps } from './LegacyIconButtonProps';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export { default, createModalCloseEvent } from './Modal';
|
|
2
|
-
export { default as SimpleBackdrop } from './SimpleBackdrop';
|
|
3
|
-
export type { default as SimpleBackdropProps } from './SimpleBackdropProps';
|
|
4
2
|
export type { ModalCloseEvent } from './Modal';
|
|
5
3
|
export type { default as ModalProps, AnimationUnit } from './ModalProps';
|
|
6
4
|
export { ANIMATION_TYPE } from './ModalProps';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { OverridableComponentProps } from '../types';
|
|
3
|
+
import type { ButtonBaseProps } from '../ButtonBase';
|
|
4
|
+
declare type BaseProps = Omit<ButtonBaseProps, 'onPress' | 'children'>;
|
|
5
|
+
export default interface RadioProps extends OverridableComponentProps<BaseProps, {
|
|
6
|
+
/**
|
|
7
|
+
* If `true`, the component is checked.
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Content which is sharing pressable next to radio.
|
|
13
|
+
*/
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* If `true`, the radio is disabled.
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Callback fired when the component is pressed.
|
|
22
|
+
*/
|
|
23
|
+
onChange?: (newValue: string) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Value of the component.
|
|
26
|
+
*/
|
|
27
|
+
value: string;
|
|
28
|
+
/**
|
|
29
|
+
* Determines the placement of the icon relative to the children.
|
|
30
|
+
* @default 'left'
|
|
31
|
+
*/
|
|
32
|
+
iconPlacement?: 'right' | 'left';
|
|
33
|
+
/**
|
|
34
|
+
* Custom icon element to display when the radio is unchecked.
|
|
35
|
+
*/
|
|
36
|
+
uncheckedIcon?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Custom icon element to display when the radio is checked.
|
|
39
|
+
*/
|
|
40
|
+
checkedIcon?: React.ReactNode;
|
|
41
|
+
}> {
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -8,10 +8,14 @@ export default interface RadioProps extends OverridableComponentProps<BaseProps,
|
|
|
8
8
|
* @default false
|
|
9
9
|
*/
|
|
10
10
|
checked?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Custom icon element to display when the radio is checked.
|
|
13
|
+
*/
|
|
14
|
+
checkedIcon?: React.ReactNode;
|
|
11
15
|
/**
|
|
12
16
|
* Content which is sharing pressable next to radio.
|
|
13
17
|
*/
|
|
14
|
-
children?:
|
|
18
|
+
children?: string;
|
|
15
19
|
/**
|
|
16
20
|
* If `true`, the radio is disabled.
|
|
17
21
|
* @default false
|
|
@@ -22,22 +26,13 @@ export default interface RadioProps extends OverridableComponentProps<BaseProps,
|
|
|
22
26
|
*/
|
|
23
27
|
onChange?: (newValue: string) => void;
|
|
24
28
|
/**
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
value: string;
|
|
28
|
-
/**
|
|
29
|
-
* Determines the placement of the icon relative to the children.
|
|
30
|
-
* @default 'left'
|
|
31
|
-
*/
|
|
32
|
-
iconPlacement?: 'right' | 'left';
|
|
33
|
-
/**
|
|
34
|
-
* Custom icon element to display when the radio is unchecked.
|
|
29
|
+
* Element placed before the children.
|
|
35
30
|
*/
|
|
36
|
-
|
|
31
|
+
startIcon?: React.ReactElement;
|
|
37
32
|
/**
|
|
38
|
-
*
|
|
33
|
+
* Value of the component.
|
|
39
34
|
*/
|
|
40
|
-
|
|
35
|
+
value: string;
|
|
41
36
|
}> {
|
|
42
37
|
}
|
|
43
38
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './
|
|
2
|
-
export type { default as RadioProps } from './
|
|
1
|
+
export { default } from './LegacyRadio';
|
|
2
|
+
export type { default as RadioProps } from './LegacyRadioProps';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './
|
|
1
|
+
export { default } from './LegacyRadioGroup';
|
|
2
2
|
export type { default as RadioGroupProps } from './RadioGroupProps';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ViewProps } from 'react-native';
|
|
2
|
+
import type { ShadowVariant } from '@fountain-ui/styles';
|
|
3
|
+
import { OverridableComponentProps } from '../types';
|
|
4
|
+
export default interface ShadowViewProps extends OverridableComponentProps<ViewProps, {
|
|
5
|
+
/**
|
|
6
|
+
* Determines the darkness of the shadow.
|
|
7
|
+
* @default 100
|
|
8
|
+
*/
|
|
9
|
+
variant?: ShadowVariant;
|
|
10
|
+
}> {
|
|
11
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { SvgProps } from 'react-native-svg';
|
|
3
|
+
import type { CommonComponentColor, OverridableComponentProps } from '../types';
|
|
4
|
+
export declare type SvgIconColor = CommonComponentColor;
|
|
5
|
+
export default interface SvgIconProps extends OverridableComponentProps<SvgProps, {
|
|
6
|
+
/**
|
|
7
|
+
* Node passed into the SVG element.
|
|
8
|
+
*/
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
12
|
+
* @default 'primary'
|
|
13
|
+
*/
|
|
14
|
+
color?: SvgIconColor;
|
|
15
|
+
/**
|
|
16
|
+
* The color of the component. It is treated as higher priority than `color` prop if provided.
|
|
17
|
+
*/
|
|
18
|
+
fill?: SvgProps['fill'];
|
|
19
|
+
/**
|
|
20
|
+
* The height applied to the icon.
|
|
21
|
+
* @default 24
|
|
22
|
+
*/
|
|
23
|
+
height?: SvgProps['height'];
|
|
24
|
+
/**
|
|
25
|
+
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
26
|
+
* @default '0 0 20 20'
|
|
27
|
+
*/
|
|
28
|
+
viewBox?: SvgProps['viewBox'];
|
|
29
|
+
/**
|
|
30
|
+
* The width applied to the icon.
|
|
31
|
+
* @default 24
|
|
32
|
+
*/
|
|
33
|
+
width?: SvgProps['width'];
|
|
34
|
+
}> {
|
|
35
|
+
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { SvgProps } from 'react-native-svg';
|
|
3
|
-
import type {
|
|
4
|
-
export declare
|
|
3
|
+
import type { OverridableComponentProps } from '../types';
|
|
4
|
+
export declare const svgIconColors: readonly ["strong", "strongInverse", "base", "baseInverse", "baseOpacity", "baseOpacityInverse", "weak", "weakInverse", "weakOpacity", "weakOpacityInverse", "accent", "accentAlt"];
|
|
5
|
+
export declare type SvgIconColor = typeof svgIconColors[number];
|
|
6
|
+
export declare const svgIconSizeMap: {
|
|
7
|
+
readonly small: 16;
|
|
8
|
+
readonly medium: 20;
|
|
9
|
+
readonly large: 24;
|
|
10
|
+
};
|
|
11
|
+
export declare type SvgIconSize = keyof typeof svgIconSizeMap;
|
|
12
|
+
export declare const svgIconSizes: ("medium" | "small" | "large")[];
|
|
5
13
|
export default interface SvgIconProps extends OverridableComponentProps<SvgProps, {
|
|
6
14
|
/**
|
|
7
15
|
* Node passed into the SVG element.
|
|
@@ -9,7 +17,7 @@ export default interface SvgIconProps extends OverridableComponentProps<SvgProps
|
|
|
9
17
|
children: React.ReactNode;
|
|
10
18
|
/**
|
|
11
19
|
* The color of the component. It supports those theme colors that make sense for this component.
|
|
12
|
-
* @default '
|
|
20
|
+
* @default 'strong'
|
|
13
21
|
*/
|
|
14
22
|
color?: SvgIconColor;
|
|
15
23
|
/**
|
|
@@ -18,17 +26,20 @@ export default interface SvgIconProps extends OverridableComponentProps<SvgProps
|
|
|
18
26
|
fill?: SvgProps['fill'];
|
|
19
27
|
/**
|
|
20
28
|
* The height applied to the icon.
|
|
21
|
-
* @default 24
|
|
22
29
|
*/
|
|
23
30
|
height?: SvgProps['height'];
|
|
31
|
+
/**
|
|
32
|
+
* Determines the size of the viewport.
|
|
33
|
+
* @default 'medium'
|
|
34
|
+
*/
|
|
35
|
+
size?: SvgIconSize;
|
|
24
36
|
/**
|
|
25
37
|
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
26
|
-
* @default '0 0
|
|
38
|
+
* @default '0 0 24 24'
|
|
27
39
|
*/
|
|
28
40
|
viewBox?: SvgProps['viewBox'];
|
|
29
41
|
/**
|
|
30
42
|
* The width applied to the icon.
|
|
31
|
-
* @default 24
|
|
32
43
|
*/
|
|
33
44
|
width?: SvgProps['width'];
|
|
34
45
|
}> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './
|
|
2
|
-
export type { default as SvgIconProps } from './
|
|
1
|
+
export { default } from './LegacySvgIcon';
|
|
2
|
+
export type { default as SvgIconProps } from './LegacySvgIconProps';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ButtonBaseProps } from '../ButtonBase';
|
|
2
|
+
import type { OverridableComponentProps } from '../types';
|
|
3
|
+
export default interface ToggleProps extends OverridableComponentProps<Omit<ButtonBaseProps, 'children'>, {
|
|
4
|
+
/**
|
|
5
|
+
* If `true`, the component is checked.
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* If `true`, the switch is disabled.
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Callback fired when the switch is changed.
|
|
16
|
+
*/
|
|
17
|
+
onChange?: (newChecked: boolean) => void;
|
|
18
|
+
}> {
|
|
19
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Text } from 'react-native';
|
|
3
|
+
import TypographyProps from './LegacyTypographyProps';
|
|
4
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<Text>>>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccessibilityProps, TextProps } from 'react-native';
|
|
3
|
+
import type { ComponentProps } from '../types';
|
|
4
|
+
export declare type TypographyAlign = 'inherit' | 'left' | 'center' | 'right' | 'justify';
|
|
5
|
+
export declare type TypographyColor = 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'warning' | 'error' | 'accent' | 'textPrimary' | 'textSecondary' | 'textAccent' | 'textHint';
|
|
6
|
+
export declare type TypographyVariant = 'h1' | 'h2' | 'h3' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption1' | 'caption2' | 'flag' | 'button1' | 'button2';
|
|
7
|
+
export interface Accessibility {
|
|
8
|
+
accessibilityRole: AccessibilityProps['accessibilityRole'];
|
|
9
|
+
'area-level'?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface AccessibilityMap extends Partial<{
|
|
12
|
+
[key: string]: Accessibility;
|
|
13
|
+
}> {
|
|
14
|
+
}
|
|
15
|
+
export default interface TypographyProps extends ComponentProps<{
|
|
16
|
+
/**
|
|
17
|
+
* Applies HTML tag at web and communicates purpose of component at app
|
|
18
|
+
*/
|
|
19
|
+
accessibilityRole?: AccessibilityProps['accessibilityRole'];
|
|
20
|
+
/**
|
|
21
|
+
* Set the text-align on the component.
|
|
22
|
+
* The value 'justify' is not supported on Android and fallbacks to left.
|
|
23
|
+
* @default 'inherit'
|
|
24
|
+
*/
|
|
25
|
+
align?: TypographyAlign;
|
|
26
|
+
/**
|
|
27
|
+
* Applies HTML heading level
|
|
28
|
+
*/
|
|
29
|
+
ariaLevel?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies whether fonts should scale to respect Text Size accessibility settings.
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
disableFontScaling?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The content of the component.
|
|
37
|
+
*/
|
|
38
|
+
children?: React.ReactNode;
|
|
39
|
+
/**
|
|
40
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
41
|
+
* @default 'inherit'
|
|
42
|
+
*/
|
|
43
|
+
color?: TypographyColor;
|
|
44
|
+
/**
|
|
45
|
+
* The text ellipsis mode.
|
|
46
|
+
* @default 'tail'
|
|
47
|
+
*/
|
|
48
|
+
ellipsizeMode?: TextProps['ellipsizeMode'];
|
|
49
|
+
/**
|
|
50
|
+
* Internal use only. The hyperlink of the text.
|
|
51
|
+
*/
|
|
52
|
+
href?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Used to truncate the text with an ellipsis after computing the text
|
|
55
|
+
* layout, including line wrapping, such that the total number of lines
|
|
56
|
+
* does not exceed this number.
|
|
57
|
+
*/
|
|
58
|
+
numberOfLines?: TextProps['numberOfLines'];
|
|
59
|
+
/**
|
|
60
|
+
* Lets the user select text, to use the native copy and paste functionality.
|
|
61
|
+
*/
|
|
62
|
+
onPress?: TextProps['onPress'];
|
|
63
|
+
/**
|
|
64
|
+
* Lets the user select text, to use the native copy and paste functionality.
|
|
65
|
+
*/
|
|
66
|
+
selectable?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Applies the theme typography styles.
|
|
69
|
+
* @default 'body1'
|
|
70
|
+
*/
|
|
71
|
+
variant?: TypographyVariant;
|
|
72
|
+
/**
|
|
73
|
+
* Callback that is called when the text layout has been calculated.
|
|
74
|
+
*/
|
|
75
|
+
onTextLayout?: TextProps['onTextLayout'];
|
|
76
|
+
/**
|
|
77
|
+
* Callback that is called when the layout of the Text component changes.
|
|
78
|
+
*/
|
|
79
|
+
onLayout?: TextProps['onLayout'];
|
|
80
|
+
}> {
|
|
81
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Text } from 'react-native';
|
|
3
|
-
import TypographyProps from './TypographyProps';
|
|
3
|
+
import type TypographyProps from './TypographyProps';
|
|
4
4
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<Text>>>;
|
|
5
5
|
export default _default;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AccessibilityProps, TextProps } from 'react-native';
|
|
2
|
+
import type { AccessibilityProps, TextProps, TextStyle } from 'react-native';
|
|
3
|
+
import type { FontVariant, FontWeight } from '@fountain-ui/styles';
|
|
3
4
|
import type { ComponentProps } from '../types';
|
|
4
|
-
export declare type TypographyAlign = 'inherit' | '
|
|
5
|
-
export declare
|
|
6
|
-
export declare type
|
|
5
|
+
export declare type TypographyAlign = 'inherit' | TextStyle['textAlign'];
|
|
6
|
+
export declare const typographyColors: readonly ["inherit", "accent", "accentAlt", "strong", "strongInverse", "base", "baseInverse", "baseOpacity", "baseOpacityInverse", "weak", "weakOpacity", "weakInverse", "weakOpacityInverse"];
|
|
7
|
+
export declare type TypographyColor = typeof typographyColors[number];
|
|
7
8
|
export interface Accessibility {
|
|
8
9
|
accessibilityRole: AccessibilityProps['accessibilityRole'];
|
|
9
10
|
'area-level'?: number;
|
|
10
11
|
}
|
|
11
|
-
export
|
|
12
|
-
[key: string]: Accessibility;
|
|
13
|
-
}> {
|
|
14
|
-
}
|
|
12
|
+
export declare type AccessibilityMap = Partial<Record<FontVariant, Accessibility>>;
|
|
15
13
|
export default interface TypographyProps extends ComponentProps<{
|
|
16
14
|
/**
|
|
17
15
|
* Applies HTML tag at web and communicates purpose of component at app
|
|
@@ -68,7 +66,12 @@ export default interface TypographyProps extends ComponentProps<{
|
|
|
68
66
|
* Applies the theme typography styles.
|
|
69
67
|
* @default 'body1'
|
|
70
68
|
*/
|
|
71
|
-
variant?:
|
|
69
|
+
variant?: FontVariant;
|
|
70
|
+
/**
|
|
71
|
+
* Determines the font weight.
|
|
72
|
+
* @default 'medium'
|
|
73
|
+
*/
|
|
74
|
+
weight?: FontWeight;
|
|
72
75
|
/**
|
|
73
76
|
* Callback that is called when the text layout has been calculated.
|
|
74
77
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './
|
|
2
|
-
export type { default as TypographyProps } from './
|
|
1
|
+
export { default } from './LegacyTypography';
|
|
2
|
+
export type { default as TypographyProps } from './LegacyTypographyProps';
|
|
@@ -23,6 +23,7 @@ export interface CollapsibleAppBar {
|
|
|
23
23
|
onScroll: OnScroll;
|
|
24
24
|
onScrollViewChanged: (index: number) => void;
|
|
25
25
|
scrollContentInsets: ContentInsets;
|
|
26
|
+
isScrolled: boolean;
|
|
26
27
|
}
|
|
27
28
|
export default function useCollapsibleAppBar(userOptions?: Options): CollapsibleAppBar;
|
|
28
29
|
export {};
|
|
@@ -17,6 +17,8 @@ export { default as Button } from './Button';
|
|
|
17
17
|
export * from './Button';
|
|
18
18
|
export { default as ButtonBase } from './ButtonBase';
|
|
19
19
|
export * from './ButtonBase';
|
|
20
|
+
export { default as ButtonSet } from './ButtonSet';
|
|
21
|
+
export * from './ButtonSet';
|
|
20
22
|
export { default as Card } from './Card';
|
|
21
23
|
export * from './Card';
|
|
22
24
|
export { default as CardActions } from './CardActions';
|
|
@@ -27,6 +29,8 @@ export { default as CardMedia } from './CardMedia';
|
|
|
27
29
|
export * from './CardMedia';
|
|
28
30
|
export { default as Checkbox } from './Checkbox';
|
|
29
31
|
export * from './Checkbox';
|
|
32
|
+
export { default as CheckboxGroup } from './CheckboxGroup';
|
|
33
|
+
export * from './CheckboxGroup';
|
|
30
34
|
export { default as Chip } from './Chip';
|
|
31
35
|
export * from './Chip';
|
|
32
36
|
export { default as CircularProgress } from './CircularProgress';
|
|
@@ -70,8 +74,8 @@ export { default as Menu } from './Menu';
|
|
|
70
74
|
export * from './Menu';
|
|
71
75
|
export { default as MenuItem } from './MenuItem';
|
|
72
76
|
export * from './MenuItem';
|
|
73
|
-
export { default as Modal, createModalCloseEvent
|
|
74
|
-
export type { ModalCloseEvent
|
|
77
|
+
export { default as Modal, createModalCloseEvent } from './Modal';
|
|
78
|
+
export type { ModalCloseEvent } from './Modal';
|
|
75
79
|
export * from './Modal';
|
|
76
80
|
export { default as Pagination } from './Pagination';
|
|
77
81
|
export * from './Pagination';
|
|
@@ -87,6 +91,8 @@ export { default as RadioGroup } from './RadioGroup';
|
|
|
87
91
|
export * from './RadioGroup';
|
|
88
92
|
export { default as Row } from './Row';
|
|
89
93
|
export * from './Row';
|
|
94
|
+
export { default as ShadowView } from './ShadowView';
|
|
95
|
+
export * from './ShadowView';
|
|
90
96
|
export { default as Slide } from './Slide';
|
|
91
97
|
export * from './Slide';
|
|
92
98
|
export { default as Slider } from './Slider';
|
|
@@ -109,6 +115,8 @@ export { default as Tabs } from './Tabs';
|
|
|
109
115
|
export * from './Tabs';
|
|
110
116
|
export { default as TextField } from './TextField';
|
|
111
117
|
export * from './TextField';
|
|
118
|
+
export { default as Toggle } from './Toggle';
|
|
119
|
+
export * from './Toggle';
|
|
112
120
|
export { default as Toolbar } from './Toolbar';
|
|
113
121
|
export * from './Toolbar';
|
|
114
122
|
export { default as Tooltip } from './Tooltip';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: React.MemoExoticComponent<{
|
|
3
|
+
(props: (Omit<import("../../SvgIcon/SvgIconProps").default, "children"> | Omit<import("../..").SvgIconProps, "children">) & {
|
|
4
|
+
enableV2?: boolean | undefined;
|
|
5
|
+
}): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
@@ -1,129 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const _default: React.MemoExoticComponent<{
|
|
3
|
-
(props: {
|
|
4
|
-
|
|
5
|
-
fontFamily?: string | undefined;
|
|
6
|
-
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
7
|
-
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
8
|
-
letterSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
9
|
-
readonly fill?: import("react-native").ColorValue | undefined;
|
|
10
|
-
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
11
|
-
testID?: string | undefined;
|
|
12
|
-
fontVariant?: import("react-native-svg").FontVariant | undefined;
|
|
13
|
-
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
14
|
-
readonly height?: import("react-native-svg").NumberProp | undefined;
|
|
15
|
-
readonly width?: import("react-native-svg").NumberProp | undefined;
|
|
16
|
-
transform?: string | (import("react-native").PerpectiveTransform | import("react-native").RotateTransform | import("react-native").RotateXTransform | import("react-native").RotateYTransform | import("react-native").RotateZTransform | import("react-native").ScaleTransform | import("react-native").ScaleXTransform | import("react-native").ScaleYTransform | import("react-native").TranslateXTransform | import("react-native").TranslateYTransform | import("react-native").SkewXTransform | import("react-native").SkewYTransform | import("react-native").MatrixTransform)[] | import("react-native-svg").ColumnMajorTransformMatrix | undefined;
|
|
17
|
-
rotation?: import("react-native-svg").NumberProp | undefined;
|
|
18
|
-
scaleX?: import("react-native-svg").NumberProp | undefined;
|
|
19
|
-
scaleY?: import("react-native-svg").NumberProp | undefined;
|
|
20
|
-
translateX?: import("react-native-svg").NumberProp | undefined;
|
|
21
|
-
translateY?: import("react-native-svg").NumberProp | undefined;
|
|
22
|
-
readonly style?: import("@emotion/native").ReactNativeStyle | import("@emotion/native").ReactNativeStyle[] | undefined;
|
|
23
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
|
|
24
|
-
title?: string | undefined;
|
|
25
|
-
clipPath?: string | undefined;
|
|
26
|
-
marker?: string | undefined;
|
|
27
|
-
mask?: string | undefined;
|
|
28
|
-
scale?: import("react-native-svg").NumberArray | undefined;
|
|
29
|
-
skewX?: import("react-native-svg").NumberProp | undefined;
|
|
30
|
-
skewY?: import("react-native-svg").NumberProp | undefined;
|
|
31
|
-
readonly viewBox?: string | undefined;
|
|
32
|
-
preserveAspectRatio?: string | undefined;
|
|
33
|
-
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
34
|
-
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
35
|
-
stroke?: import("react-native").ColorValue | undefined;
|
|
36
|
-
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
37
|
-
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
38
|
-
strokeDasharray?: import("react-native-svg").NumberProp | readonly import("react-native-svg").NumberProp[] | undefined;
|
|
39
|
-
strokeDashoffset?: import("react-native-svg").NumberProp | undefined;
|
|
40
|
-
strokeLinecap?: import("react-native-svg").Linecap | undefined;
|
|
41
|
-
strokeLinejoin?: import("react-native-svg").Linejoin | undefined;
|
|
42
|
-
strokeMiterlimit?: import("react-native-svg").NumberProp | undefined;
|
|
43
|
-
vectorEffect?: import("react-native-svg").VectorEffect | undefined;
|
|
44
|
-
clipRule?: import("react-native-svg").FillRule | undefined;
|
|
45
|
-
translate?: import("react-native-svg").NumberArray | undefined;
|
|
46
|
-
origin?: import("react-native-svg").NumberArray | undefined;
|
|
47
|
-
originX?: import("react-native-svg").NumberProp | undefined;
|
|
48
|
-
originY?: import("react-native-svg").NumberProp | undefined;
|
|
49
|
-
skew?: import("react-native-svg").NumberArray | undefined;
|
|
50
|
-
x?: import("react-native-svg").NumberArray | undefined;
|
|
51
|
-
y?: import("react-native-svg").NumberArray | undefined;
|
|
52
|
-
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
53
|
-
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
54
|
-
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
55
|
-
onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
56
|
-
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
57
|
-
onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
58
|
-
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
59
|
-
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
60
|
-
onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
61
|
-
onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
62
|
-
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
63
|
-
onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
64
|
-
onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
65
|
-
disabled?: boolean | undefined;
|
|
66
|
-
onPress?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
67
|
-
onPressIn?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
68
|
-
onPressOut?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
69
|
-
onLongPress?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
70
|
-
delayPressIn?: number | undefined;
|
|
71
|
-
delayPressOut?: number | undefined;
|
|
72
|
-
delayLongPress?: number | undefined;
|
|
73
|
-
id?: string | undefined;
|
|
74
|
-
markerStart?: string | undefined;
|
|
75
|
-
markerMid?: string | undefined;
|
|
76
|
-
markerEnd?: string | undefined;
|
|
77
|
-
accessibilityLabel?: string | undefined;
|
|
78
|
-
accessible?: boolean | undefined;
|
|
79
|
-
font?: import("react-native-svg").FontObject | undefined;
|
|
80
|
-
fontStretch?: import("react-native-svg").FontStretch | undefined;
|
|
81
|
-
textAnchor?: import("react-native-svg").TextAnchor | undefined;
|
|
82
|
-
textDecoration?: import("react-native-svg").TextDecoration | undefined;
|
|
83
|
-
wordSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
84
|
-
kerning?: import("react-native-svg").NumberProp | undefined;
|
|
85
|
-
fontFeatureSettings?: string | undefined;
|
|
86
|
-
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
87
|
-
fontVariationSettings?: string | undefined;
|
|
88
|
-
hitSlop?: import("react-native").Insets | undefined;
|
|
89
|
-
removeClippedSubviews?: boolean | undefined;
|
|
90
|
-
nativeID?: string | undefined;
|
|
91
|
-
collapsable?: boolean | undefined;
|
|
92
|
-
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
93
|
-
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
94
|
-
focusable?: boolean | undefined;
|
|
95
|
-
shouldRasterizeIOS?: boolean | undefined;
|
|
96
|
-
isTVSelectable?: boolean | undefined;
|
|
97
|
-
hasTVPreferredFocus?: boolean | undefined;
|
|
98
|
-
tvParallaxProperties?: import("react-native").TVParallaxProperties | undefined;
|
|
99
|
-
tvParallaxShiftDistanceX?: number | undefined;
|
|
100
|
-
tvParallaxShiftDistanceY?: number | undefined;
|
|
101
|
-
tvParallaxTiltAngle?: number | undefined;
|
|
102
|
-
tvParallaxMagnification?: number | undefined;
|
|
103
|
-
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
104
|
-
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
105
|
-
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
106
|
-
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
107
|
-
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
108
|
-
accessibilityActions?: readonly Readonly<{
|
|
109
|
-
name: string;
|
|
110
|
-
label?: string | undefined;
|
|
111
|
-
}>[] | undefined;
|
|
112
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
113
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
114
|
-
accessibilityHint?: string | undefined;
|
|
115
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
116
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
|
|
117
|
-
accessibilityLabelledBy?: string | string[] | undefined;
|
|
118
|
-
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
|
|
119
|
-
importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
|
|
120
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
121
|
-
accessibilityLanguage?: string | undefined;
|
|
122
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
123
|
-
onAccessibilityEscape?: (() => void) | undefined;
|
|
124
|
-
onAccessibilityTap?: (() => void) | undefined;
|
|
125
|
-
onMagicTap?: (() => void) | undefined;
|
|
126
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
3
|
+
(props: (Omit<import("../../SvgIcon/SvgIconProps").default, "children"> | Omit<import("../..").SvgIconProps, "children">) & {
|
|
4
|
+
enableV2?: boolean | undefined;
|
|
127
5
|
}): JSX.Element;
|
|
128
6
|
displayName: string;
|
|
129
7
|
}>;
|