@nexara/nativeflow 0.1.7 → 0.1.8
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 +1 -1
- package/lib/commonjs/components/Avatar/AvatarImage.js +3 -9
- package/lib/commonjs/components/Avatar/AvatarImage.js.map +1 -1
- package/lib/commonjs/components/Avatar/AvatarText.js +2 -4
- package/lib/commonjs/components/Avatar/AvatarText.js.map +1 -1
- package/lib/commonjs/components/Button/Button.js +23 -24
- package/lib/commonjs/components/Button/Button.js.map +1 -1
- package/lib/commonjs/components/Button/utils.js +34 -27
- package/lib/commonjs/components/Button/utils.js.map +1 -1
- package/lib/commonjs/components/CheckBox/CheckBox.js +41 -38
- package/lib/commonjs/components/CheckBox/CheckBox.js.map +1 -1
- package/lib/commonjs/components/Chip/Chip.js +21 -25
- package/lib/commonjs/components/Chip/Chip.js.map +1 -1
- package/lib/commonjs/components/Chip/utils.js +31 -18
- package/lib/commonjs/components/Chip/utils.js.map +1 -1
- package/lib/commonjs/components/Dialog/Dialog.js +14 -11
- package/lib/commonjs/components/Dialog/Dialog.js.map +1 -1
- package/lib/commonjs/components/Dialog/DialogBody.js +7 -7
- package/lib/commonjs/components/Dialog/DialogBody.js.map +1 -1
- package/lib/commonjs/components/Dialog/DialogDescription.js +7 -9
- package/lib/commonjs/components/Dialog/DialogDescription.js.map +1 -1
- package/lib/commonjs/components/Dialog/DialogFoot.js +13 -19
- package/lib/commonjs/components/Dialog/DialogFoot.js.map +1 -1
- package/lib/commonjs/components/Dialog/DialogHead.js +20 -27
- package/lib/commonjs/components/Dialog/DialogHead.js.map +1 -1
- package/lib/commonjs/components/Divider/Divider.js +4 -8
- package/lib/commonjs/components/Divider/Divider.js.map +1 -1
- package/lib/commonjs/components/Grid/Grid.js +3 -4
- package/lib/commonjs/components/Grid/Grid.js.map +1 -1
- package/lib/commonjs/components/Icon/Icon.js +2 -3
- package/lib/commonjs/components/Icon/Icon.js.map +1 -1
- package/lib/commonjs/components/IconButton/IconButton.js +1 -2
- package/lib/commonjs/components/IconButton/IconButton.js.map +1 -1
- package/lib/commonjs/components/Link/Link.js +13 -17
- package/lib/commonjs/components/Link/Link.js.map +1 -1
- package/lib/commonjs/components/Menu/Menu.js +12 -8
- package/lib/commonjs/components/Menu/Menu.js.map +1 -1
- package/lib/commonjs/components/Menu/MenuItem.js +3 -5
- package/lib/commonjs/components/Menu/MenuItem.js.map +1 -1
- package/lib/commonjs/components/Menu/MenuItemLabel.js +2 -8
- package/lib/commonjs/components/Menu/MenuItemLabel.js.map +1 -1
- package/lib/commonjs/components/Portal/PortalContext.js +1 -2
- package/lib/commonjs/components/Portal/PortalContext.js.map +1 -1
- package/lib/commonjs/components/Portal/PortalProvider.js +1 -2
- package/lib/commonjs/components/Portal/PortalProvider.js.map +1 -1
- package/lib/commonjs/components/Progress/Progress.js +6 -7
- package/lib/commonjs/components/Progress/Progress.js.map +1 -1
- package/lib/commonjs/components/Provider/NativeProvider.js +1 -2
- package/lib/commonjs/components/Provider/NativeProvider.js.map +1 -1
- package/lib/commonjs/components/Radio/RadioGroup.js +46 -0
- package/lib/commonjs/components/Radio/RadioGroup.js.map +1 -0
- package/lib/commonjs/components/Radio/RadioItem.js +77 -0
- package/lib/commonjs/components/Radio/RadioItem.js.map +1 -0
- package/lib/commonjs/components/Radio/index.js +15 -0
- package/lib/commonjs/components/Radio/index.js.map +1 -0
- package/lib/commonjs/components/Slider/Slider.js +4 -4
- package/lib/commonjs/components/Slider/Slider.js.map +1 -1
- package/lib/commonjs/components/Stack/HStack.js +3 -9
- package/lib/commonjs/components/Stack/HStack.js.map +1 -1
- package/lib/commonjs/components/Stack/VStack.js +4 -10
- package/lib/commonjs/components/Stack/VStack.js.map +1 -1
- package/lib/commonjs/components/StyledComponents/StyledText.js +20 -9
- package/lib/commonjs/components/StyledComponents/StyledText.js.map +1 -1
- package/lib/commonjs/components/StyledComponents/StyledView.js +3 -3
- package/lib/commonjs/components/StyledComponents/StyledView.js.map +1 -1
- package/lib/commonjs/components/Surface/Surface.js +24 -21
- package/lib/commonjs/components/Surface/Surface.js.map +1 -1
- package/lib/commonjs/components/Switch/Switch.js +13 -10
- package/lib/commonjs/components/Switch/Switch.js.map +1 -1
- package/lib/commonjs/components/UserInput/UserInput.js +17 -14
- package/lib/commonjs/components/UserInput/UserInput.js.map +1 -1
- package/lib/commonjs/components/UserInput/generateColors.js +3 -3
- package/lib/commonjs/components/UserInput/generateColors.js.map +1 -1
- package/lib/commonjs/constants/typographySizes.js +11 -7
- package/lib/commonjs/constants/typographySizes.js.map +1 -1
- package/lib/commonjs/helpers/ResponsiveCalculations.js +25 -31
- package/lib/commonjs/helpers/ResponsiveCalculations.js.map +1 -1
- package/lib/commonjs/index.js +23 -42
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/themes/DarkTheme.js +185 -25
- package/lib/commonjs/themes/DarkTheme.js.map +1 -1
- package/lib/commonjs/themes/LightTheme.js +89 -81
- package/lib/commonjs/themes/LightTheme.js.map +1 -1
- package/lib/commonjs/types/divider.type.js +6 -0
- package/lib/commonjs/types/divider.type.js.map +1 -0
- package/lib/commonjs/types/index.js +44 -0
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/commonjs/types/link.type.js +6 -0
- package/lib/commonjs/types/link.type.js.map +1 -0
- package/lib/commonjs/types/radio.type.js +6 -0
- package/lib/commonjs/types/radio.type.js.map +1 -0
- package/lib/commonjs/types/surface.type.js +6 -0
- package/lib/commonjs/types/surface.type.js.map +1 -0
- package/lib/module/components/Avatar/AvatarImage.js +3 -8
- package/lib/module/components/Avatar/AvatarImage.js.map +1 -1
- package/lib/module/components/Avatar/AvatarText.js +2 -3
- package/lib/module/components/Avatar/AvatarText.js.map +1 -1
- package/lib/module/components/Button/Button.js +22 -22
- package/lib/module/components/Button/Button.js.map +1 -1
- package/lib/module/components/Button/utils.js +34 -27
- package/lib/module/components/Button/utils.js.map +1 -1
- package/lib/module/components/CheckBox/CheckBox.js +35 -30
- package/lib/module/components/CheckBox/CheckBox.js.map +1 -1
- package/lib/module/components/Chip/Chip.js +22 -26
- package/lib/module/components/Chip/Chip.js.map +1 -1
- package/lib/module/components/Chip/utils.js +30 -18
- package/lib/module/components/Chip/utils.js.map +1 -1
- package/lib/module/components/Dialog/Dialog.js +13 -9
- package/lib/module/components/Dialog/Dialog.js.map +1 -1
- package/lib/module/components/Dialog/DialogBody.js +9 -8
- package/lib/module/components/Dialog/DialogBody.js.map +1 -1
- package/lib/module/components/Dialog/DialogDescription.js +8 -9
- package/lib/module/components/Dialog/DialogDescription.js.map +1 -1
- package/lib/module/components/Dialog/DialogFoot.js +14 -17
- package/lib/module/components/Dialog/DialogFoot.js.map +1 -1
- package/lib/module/components/Dialog/DialogHead.js +22 -27
- package/lib/module/components/Dialog/DialogHead.js.map +1 -1
- package/lib/module/components/Divider/Divider.js +5 -8
- package/lib/module/components/Divider/Divider.js.map +1 -1
- package/lib/module/components/Grid/Grid.js +4 -3
- package/lib/module/components/Grid/Grid.js.map +1 -1
- package/lib/module/components/Icon/Icon.js +1 -1
- package/lib/module/components/Icon/Icon.js.map +1 -1
- package/lib/module/components/IconButton/IconButton.js.map +1 -1
- package/lib/module/components/Link/Link.js +15 -19
- package/lib/module/components/Link/Link.js.map +1 -1
- package/lib/module/components/Menu/Menu.js +11 -6
- package/lib/module/components/Menu/Menu.js.map +1 -1
- package/lib/module/components/Menu/MenuItem.js +4 -5
- package/lib/module/components/Menu/MenuItem.js.map +1 -1
- package/lib/module/components/Menu/MenuItemLabel.js +2 -7
- package/lib/module/components/Menu/MenuItemLabel.js.map +1 -1
- package/lib/module/components/Progress/Progress.js +7 -6
- package/lib/module/components/Progress/Progress.js.map +1 -1
- package/lib/module/components/Radio/RadioGroup.js +41 -0
- package/lib/module/components/Radio/RadioGroup.js.map +1 -0
- package/lib/module/components/Radio/RadioItem.js +73 -0
- package/lib/module/components/Radio/RadioItem.js.map +1 -0
- package/lib/module/components/Radio/index.js +10 -0
- package/lib/module/components/Radio/index.js.map +1 -0
- package/lib/module/components/Slider/Slider.js +5 -5
- package/lib/module/components/Slider/Slider.js.map +1 -1
- package/lib/module/components/Stack/HStack.js +3 -7
- package/lib/module/components/Stack/HStack.js.map +1 -1
- package/lib/module/components/Stack/VStack.js +4 -8
- package/lib/module/components/Stack/VStack.js.map +1 -1
- package/lib/module/components/StyledComponents/StyledText.js +20 -8
- package/lib/module/components/StyledComponents/StyledText.js.map +1 -1
- package/lib/module/components/StyledComponents/StyledView.js +3 -3
- package/lib/module/components/StyledComponents/StyledView.js.map +1 -1
- package/lib/module/components/Surface/Surface.js +24 -20
- package/lib/module/components/Surface/Surface.js.map +1 -1
- package/lib/module/components/Switch/Switch.js +14 -11
- package/lib/module/components/Switch/Switch.js.map +1 -1
- package/lib/module/components/UserInput/UserInput.js +18 -15
- package/lib/module/components/UserInput/UserInput.js.map +1 -1
- package/lib/module/components/UserInput/generateColors.js +3 -3
- package/lib/module/components/UserInput/generateColors.js.map +1 -1
- package/lib/module/constants/typographySizes.js +11 -7
- package/lib/module/constants/typographySizes.js.map +1 -1
- package/lib/module/helpers/ResponsiveCalculations.js +25 -28
- package/lib/module/helpers/ResponsiveCalculations.js.map +1 -1
- package/lib/module/index.js +3 -4
- package/lib/module/index.js.map +1 -1
- package/lib/module/themes/DarkTheme.js +188 -24
- package/lib/module/themes/DarkTheme.js.map +1 -1
- package/lib/module/themes/LightTheme.js +88 -81
- package/lib/module/themes/LightTheme.js.map +1 -1
- package/lib/module/themes/index.js +0 -1
- package/lib/module/themes/index.js.map +1 -1
- package/lib/module/types/divider.type.js +4 -0
- package/lib/module/types/divider.type.js.map +1 -0
- package/lib/module/types/index.js +4 -0
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/types/link.type.js +4 -0
- package/lib/module/types/link.type.js.map +1 -0
- package/lib/module/types/radio.type.js +4 -0
- package/lib/module/types/radio.type.js.map +1 -0
- package/lib/module/types/surface.type.js +4 -0
- package/lib/module/types/surface.type.js.map +1 -0
- package/lib/typescript/commonjs/src/components/Avatar/AvatarImage.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Avatar/AvatarImage.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Avatar/AvatarText.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Avatar/AvatarText.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Button/Button.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Button/Button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Button/utils.d.ts +0 -1
- package/lib/typescript/commonjs/src/components/Button/utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/CheckBox/CheckBox.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Chip/Chip.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Chip/Chip.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Chip/utils.d.ts +3 -2
- package/lib/typescript/commonjs/src/components/Chip/utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/DialogBody.d.ts +4 -4
- package/lib/typescript/commonjs/src/components/Dialog/DialogBody.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/DialogDescription.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Dialog/DialogDescription.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/DialogFoot.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Dialog/DialogFoot.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/DialogHead.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Dialog/DialogHead.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Divider/Divider.d.ts +3 -8
- package/lib/typescript/commonjs/src/components/Divider/Divider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Grid/Grid.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Grid/Grid.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Link/Link.d.ts +3 -10
- package/lib/typescript/commonjs/src/components/Link/Link.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Menu/Menu.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Menu/Menu.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Menu/MenuItem.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Menu/MenuItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Menu/MenuItemLabel.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Menu/MenuItemLabel.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Progress/Progress.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Progress/Progress.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Radio/RadioGroup.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/Radio/RadioGroup.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Radio/RadioItem.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/Radio/RadioItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Radio/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/components/Radio/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Stack/HStack.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Stack/HStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Stack/VStack.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Stack/VStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/StyledComponents/StyledText.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/StyledComponents/StyledText.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Surface/Surface.d.ts +3 -3
- package/lib/typescript/commonjs/src/components/Surface/Surface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Switch/Switch.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/Switch/Switch.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/UserInput/UserInput.d.ts +36 -2
- package/lib/typescript/commonjs/src/components/UserInput/UserInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/constants/typographySizes.d.ts +2 -8
- package/lib/typescript/commonjs/src/constants/typographySizes.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/helpers/ResponsiveCalculations.d.ts +0 -2
- package/lib/typescript/commonjs/src/helpers/ResponsiveCalculations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/themes/DarkTheme.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/themes/LightTheme.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/avatar.type.d.ts +0 -2
- package/lib/typescript/commonjs/src/types/avatar.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/button.type.d.ts +20 -20
- package/lib/typescript/commonjs/src/types/button.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/checkbox.type.d.ts +20 -14
- package/lib/typescript/commonjs/src/types/checkbox.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/chip.type.d.ts +21 -13
- package/lib/typescript/commonjs/src/types/chip.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/common.type.d.ts +71 -22
- package/lib/typescript/commonjs/src/types/common.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/dialog.type.d.ts +13 -12
- package/lib/typescript/commonjs/src/types/dialog.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/divider.type.d.ts +11 -0
- package/lib/typescript/commonjs/src/types/divider.type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/grid.type.d.ts +2 -1
- package/lib/typescript/commonjs/src/types/grid.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/link.type.d.ts +12 -0
- package/lib/typescript/commonjs/src/types/link.type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/menu.type.d.ts +2 -15
- package/lib/typescript/commonjs/src/types/menu.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/radio.type.d.ts +61 -0
- package/lib/typescript/commonjs/src/types/radio.type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/stack.type.d.ts +6 -14
- package/lib/typescript/commonjs/src/types/stack.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/styledComponents.type.d.ts +24 -71
- package/lib/typescript/commonjs/src/types/styledComponents.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/surface.type.d.ts +16 -0
- package/lib/typescript/commonjs/src/types/surface.type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/userInput.type.d.ts +10 -14
- package/lib/typescript/commonjs/src/types/userInput.type.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Avatar/AvatarImage.d.ts +2 -2
- package/lib/typescript/module/src/components/Avatar/AvatarImage.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Avatar/AvatarText.d.ts +2 -2
- package/lib/typescript/module/src/components/Avatar/AvatarText.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Button/Button.d.ts +2 -2
- package/lib/typescript/module/src/components/Button/Button.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Button/utils.d.ts +0 -1
- package/lib/typescript/module/src/components/Button/utils.d.ts.map +1 -1
- package/lib/typescript/module/src/components/CheckBox/CheckBox.d.ts +2 -2
- package/lib/typescript/module/src/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Chip/Chip.d.ts +2 -2
- package/lib/typescript/module/src/components/Chip/Chip.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Chip/utils.d.ts +3 -2
- package/lib/typescript/module/src/components/Chip/utils.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/DialogBody.d.ts +4 -4
- package/lib/typescript/module/src/components/Dialog/DialogBody.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/DialogDescription.d.ts +2 -2
- package/lib/typescript/module/src/components/Dialog/DialogDescription.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/DialogFoot.d.ts +2 -2
- package/lib/typescript/module/src/components/Dialog/DialogFoot.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/DialogHead.d.ts +2 -2
- package/lib/typescript/module/src/components/Dialog/DialogHead.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Divider/Divider.d.ts +3 -8
- package/lib/typescript/module/src/components/Divider/Divider.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Grid/Grid.d.ts +2 -2
- package/lib/typescript/module/src/components/Grid/Grid.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Link/Link.d.ts +3 -10
- package/lib/typescript/module/src/components/Link/Link.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Menu/Menu.d.ts +2 -2
- package/lib/typescript/module/src/components/Menu/Menu.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Menu/MenuItem.d.ts +2 -2
- package/lib/typescript/module/src/components/Menu/MenuItem.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Menu/MenuItemLabel.d.ts +2 -2
- package/lib/typescript/module/src/components/Menu/MenuItemLabel.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Progress/Progress.d.ts +2 -2
- package/lib/typescript/module/src/components/Progress/Progress.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Radio/RadioGroup.d.ts +5 -0
- package/lib/typescript/module/src/components/Radio/RadioGroup.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Radio/RadioItem.d.ts +5 -0
- package/lib/typescript/module/src/components/Radio/RadioItem.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Radio/index.d.ts +6 -0
- package/lib/typescript/module/src/components/Radio/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Stack/HStack.d.ts +2 -2
- package/lib/typescript/module/src/components/Stack/HStack.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Stack/VStack.d.ts +2 -2
- package/lib/typescript/module/src/components/Stack/VStack.d.ts.map +1 -1
- package/lib/typescript/module/src/components/StyledComponents/StyledText.d.ts +2 -2
- package/lib/typescript/module/src/components/StyledComponents/StyledText.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Surface/Surface.d.ts +3 -3
- package/lib/typescript/module/src/components/Surface/Surface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Switch/Switch.d.ts +2 -2
- package/lib/typescript/module/src/components/Switch/Switch.d.ts.map +1 -1
- package/lib/typescript/module/src/components/UserInput/UserInput.d.ts +36 -2
- package/lib/typescript/module/src/components/UserInput/UserInput.d.ts.map +1 -1
- package/lib/typescript/module/src/constants/typographySizes.d.ts +2 -8
- package/lib/typescript/module/src/constants/typographySizes.d.ts.map +1 -1
- package/lib/typescript/module/src/helpers/ResponsiveCalculations.d.ts +0 -2
- package/lib/typescript/module/src/helpers/ResponsiveCalculations.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +4 -4
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/themes/DarkTheme.d.ts.map +1 -1
- package/lib/typescript/module/src/themes/LightTheme.d.ts.map +1 -1
- package/lib/typescript/module/src/types/avatar.type.d.ts +0 -2
- package/lib/typescript/module/src/types/avatar.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/button.type.d.ts +20 -20
- package/lib/typescript/module/src/types/button.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/checkbox.type.d.ts +20 -14
- package/lib/typescript/module/src/types/checkbox.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/chip.type.d.ts +21 -13
- package/lib/typescript/module/src/types/chip.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/common.type.d.ts +71 -22
- package/lib/typescript/module/src/types/common.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/dialog.type.d.ts +13 -12
- package/lib/typescript/module/src/types/dialog.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/divider.type.d.ts +11 -0
- package/lib/typescript/module/src/types/divider.type.d.ts.map +1 -0
- package/lib/typescript/module/src/types/grid.type.d.ts +2 -1
- package/lib/typescript/module/src/types/grid.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/index.d.ts +4 -0
- package/lib/typescript/module/src/types/index.d.ts.map +1 -1
- package/lib/typescript/module/src/types/link.type.d.ts +12 -0
- package/lib/typescript/module/src/types/link.type.d.ts.map +1 -0
- package/lib/typescript/module/src/types/menu.type.d.ts +2 -15
- package/lib/typescript/module/src/types/menu.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/radio.type.d.ts +61 -0
- package/lib/typescript/module/src/types/radio.type.d.ts.map +1 -0
- package/lib/typescript/module/src/types/stack.type.d.ts +6 -14
- package/lib/typescript/module/src/types/stack.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/styledComponents.type.d.ts +24 -71
- package/lib/typescript/module/src/types/styledComponents.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/surface.type.d.ts +16 -0
- package/lib/typescript/module/src/types/surface.type.d.ts.map +1 -0
- package/lib/typescript/module/src/types/userInput.type.d.ts +10 -14
- package/lib/typescript/module/src/types/userInput.type.d.ts.map +1 -1
- package/package.json +9 -4
- package/src/components/Avatar/AvatarImage.tsx +2 -7
- package/src/components/Avatar/AvatarText.tsx +4 -4
- package/src/components/Button/Button.tsx +32 -26
- package/src/components/Button/utils.ts +30 -30
- package/src/components/CheckBox/CheckBox.tsx +30 -28
- package/src/components/Chip/Chip.tsx +23 -31
- package/src/components/Chip/utils.ts +34 -20
- package/src/components/Dialog/Dialog.tsx +11 -7
- package/src/components/Dialog/DialogBody.tsx +13 -13
- package/src/components/Dialog/DialogDescription.tsx +9 -9
- package/src/components/Dialog/DialogFoot.tsx +19 -21
- package/src/components/Dialog/DialogHead.tsx +15 -20
- package/src/components/Divider/Divider.tsx +7 -15
- package/src/components/Grid/Grid.tsx +6 -5
- package/src/components/Icon/Icon.tsx +1 -1
- package/src/components/IconButton/IconButton.tsx +2 -2
- package/src/components/Link/Link.tsx +20 -29
- package/src/components/Menu/Menu.tsx +9 -6
- package/src/components/Menu/MenuItem.tsx +6 -6
- package/src/components/Menu/MenuItemLabel.tsx +4 -9
- package/src/components/Progress/Progress.tsx +8 -7
- package/src/components/Radio/RadioGroup.tsx +40 -0
- package/src/components/Radio/RadioItem.tsx +72 -0
- package/src/components/Radio/index.ts +9 -0
- package/src/components/Slider/Slider.tsx +3 -3
- package/src/components/Stack/HStack.tsx +5 -8
- package/src/components/Stack/VStack.tsx +6 -11
- package/src/components/StyledComponents/StyledText.tsx +17 -8
- package/src/components/StyledComponents/StyledView.tsx +4 -4
- package/src/components/Surface/Surface.tsx +20 -27
- package/src/components/Switch/Switch.tsx +12 -10
- package/src/components/UserInput/UserInput.tsx +19 -16
- package/src/components/UserInput/generateColors.ts +3 -3
- package/src/constants/typographySizes.ts +13 -15
- package/src/helpers/ResponsiveCalculations.ts +25 -29
- package/src/index.ts +5 -6
- package/src/themes/DarkTheme.ts +169 -30
- package/src/themes/LightTheme.ts +78 -85
- package/src/themes/index.ts +0 -1
- package/src/types/avatar.type.ts +0 -3
- package/src/types/button.type.ts +20 -20
- package/src/types/checkbox.type.ts +22 -15
- package/src/types/chip.type.ts +24 -15
- package/src/types/common.type.ts +81 -23
- package/src/types/dialog.type.ts +15 -14
- package/src/types/divider.type.ts +15 -0
- package/src/types/grid.type.ts +2 -1
- package/src/types/index.ts +5 -1
- package/src/types/link.type.ts +15 -0
- package/src/types/menu.type.ts +2 -18
- package/src/types/radio.type.ts +78 -0
- package/src/types/stack.type.ts +7 -17
- package/src/types/styledComponents.type.ts +26 -74
- package/src/types/surface.type.ts +19 -0
- package/src/types/userInput.type.ts +10 -15
- package/lib/commonjs/components/Header/Header.js +0 -78
- package/lib/commonjs/components/Header/Header.js.map +0 -1
- package/lib/commonjs/helpers/LightenColorShades.js +0 -27
- package/lib/commonjs/helpers/LightenColorShades.js.map +0 -1
- package/lib/commonjs/themes/createTheme.js +0 -25
- package/lib/commonjs/themes/createTheme.js.map +0 -1
- package/lib/module/components/Header/Header.js +0 -73
- package/lib/module/components/Header/Header.js.map +0 -1
- package/lib/module/helpers/LightenColorShades.js +0 -23
- package/lib/module/helpers/LightenColorShades.js.map +0 -1
- package/lib/module/themes/createTheme.js +0 -25
- package/lib/module/themes/createTheme.js.map +0 -1
- package/lib/typescript/commonjs/src/components/Header/Header.d.ts +0 -16
- package/lib/typescript/commonjs/src/components/Header/Header.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/helpers/LightenColorShades.d.ts +0 -3
- package/lib/typescript/commonjs/src/helpers/LightenColorShades.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/themes/createTheme.d.ts +0 -1
- package/lib/typescript/commonjs/src/themes/createTheme.d.ts.map +0 -1
- package/lib/typescript/module/src/components/Header/Header.d.ts +0 -16
- package/lib/typescript/module/src/components/Header/Header.d.ts.map +0 -1
- package/lib/typescript/module/src/helpers/LightenColorShades.d.ts +0 -3
- package/lib/typescript/module/src/helpers/LightenColorShades.d.ts.map +0 -1
- package/lib/typescript/module/src/themes/createTheme.d.ts +0 -1
- package/lib/typescript/module/src/themes/createTheme.d.ts.map +0 -1
- package/src/components/Header/Header.tsx +0 -82
- package/src/helpers/LightenColorShades.ts +0 -27
- package/src/themes/createTheme.ts +0 -23
|
@@ -4,14 +4,14 @@ import React, { cloneElement, forwardRef, useEffect, useImperativeHandle, useRef
|
|
|
4
4
|
import { Keyboard, BackHandler, StyleSheet, Animated } from 'react-native';
|
|
5
5
|
import { dialogSizes } from "../../constants/index.js";
|
|
6
6
|
import Portal from "../Portal/Portal.js";
|
|
7
|
+
import { useTheme } from "../../hooks/index.js";
|
|
8
|
+
import { verticalScale } from "../../helpers/index.js";
|
|
7
9
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
8
10
|
const Dialog = /*#__PURE__*/forwardRef(({
|
|
9
|
-
variant = '
|
|
11
|
+
variant = 'classic',
|
|
10
12
|
size = 'lg',
|
|
11
13
|
fullScreen,
|
|
12
|
-
backdropColor
|
|
13
|
-
// backdropColor = 'red',
|
|
14
|
-
// animationDuration = 800,
|
|
14
|
+
backdropColor,
|
|
15
15
|
onClose,
|
|
16
16
|
containerStyle,
|
|
17
17
|
children
|
|
@@ -19,6 +19,7 @@ const Dialog = /*#__PURE__*/forwardRef(({
|
|
|
19
19
|
const [dialogVisible, setDialogVisible] = useState(false);
|
|
20
20
|
const scale = useRef(new Animated.Value(0.9)).current;
|
|
21
21
|
const opacity = useRef(new Animated.Value(0)).current;
|
|
22
|
+
const theme = useTheme();
|
|
22
23
|
useEffect(() => {
|
|
23
24
|
Animated.timing(opacity, {
|
|
24
25
|
toValue: dialogVisible ? 1 : 0,
|
|
@@ -47,7 +48,7 @@ const Dialog = /*#__PURE__*/forwardRef(({
|
|
|
47
48
|
}));
|
|
48
49
|
const backdropAnimatedStyles = {
|
|
49
50
|
opacity: opacity,
|
|
50
|
-
backgroundColor: backdropColor
|
|
51
|
+
backgroundColor: backdropColor ?? theme?.colors.background.backdrop
|
|
51
52
|
};
|
|
52
53
|
const modalContAnimatedStyles = {
|
|
53
54
|
transform: [{
|
|
@@ -58,7 +59,10 @@ const Dialog = /*#__PURE__*/forwardRef(({
|
|
|
58
59
|
const dynamicModalContStyles = {
|
|
59
60
|
minHeight: fullScreen ? '100%' : 'auto',
|
|
60
61
|
maxHeight: fullScreen ? '100%' : '80%',
|
|
61
|
-
width: `${dialogSizes[size]}
|
|
62
|
+
width: `${dialogSizes[size]}%`,
|
|
63
|
+
backgroundColor: theme?.colors.background.elevated,
|
|
64
|
+
borderColor: theme?.colors.border.default,
|
|
65
|
+
borderRadius: verticalScale(40)
|
|
62
66
|
};
|
|
63
67
|
const renderChildrenWithVariant = () => {
|
|
64
68
|
return React.Children.map(children, child => {
|
|
@@ -104,10 +108,10 @@ const STYLES = StyleSheet.create({
|
|
|
104
108
|
alignItems: 'center'
|
|
105
109
|
},
|
|
106
110
|
MODAL_CONT: {
|
|
107
|
-
backgroundColor: '#fff',
|
|
111
|
+
// backgroundColor: '#fff',
|
|
108
112
|
borderRadius: 5,
|
|
109
|
-
borderWidth: 1
|
|
110
|
-
borderColor: '#d4d4d4'
|
|
113
|
+
borderWidth: 1
|
|
114
|
+
// borderColor: '#d4d4d4'
|
|
111
115
|
}
|
|
112
116
|
});
|
|
113
117
|
//# sourceMappingURL=Dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","cloneElement","forwardRef","useEffect","useImperativeHandle","useRef","useState","Keyboard","BackHandler","StyleSheet","Animated","dialogSizes","Portal","jsx","_jsx","Fragment","_Fragment","Dialog","variant","size","fullScreen","backdropColor","onClose","containerStyle","children","ref","dialogVisible","setDialogVisible","scale","Value","current","opacity","timing","toValue","duration","useNativeDriver","start","spring","damping","stiffness","handler","addEventListener","hardwareBackPress","remove","open","close","backdropAnimatedStyles","backgroundColor","modalContAnimatedStyles","transform","dynamicModalContStyles","minHeight","maxHeight","width","renderChildrenWithVariant","Children","map","child","isValidElement","handleStartShouldSetResponder","dismiss","name","View","style","STYLES","BACKDROP_CONT","pointerEvents","onStartShouldSetResponder","MODAL_CONT","create","position","top","bottom","left","right","justifyContent","alignItems","
|
|
1
|
+
{"version":3,"names":["React","cloneElement","forwardRef","useEffect","useImperativeHandle","useRef","useState","Keyboard","BackHandler","StyleSheet","Animated","dialogSizes","Portal","useTheme","verticalScale","jsx","_jsx","Fragment","_Fragment","Dialog","variant","size","fullScreen","backdropColor","onClose","containerStyle","children","ref","dialogVisible","setDialogVisible","scale","Value","current","opacity","theme","timing","toValue","duration","useNativeDriver","start","spring","damping","stiffness","handler","addEventListener","hardwareBackPress","remove","open","close","backdropAnimatedStyles","backgroundColor","colors","background","backdrop","modalContAnimatedStyles","transform","dynamicModalContStyles","minHeight","maxHeight","width","elevated","borderColor","border","default","borderRadius","renderChildrenWithVariant","Children","map","child","isValidElement","handleStartShouldSetResponder","dismiss","name","View","style","STYLES","BACKDROP_CONT","pointerEvents","onStartShouldSetResponder","MODAL_CONT","create","position","top","bottom","left","right","justifyContent","alignItems","borderWidth"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Dialog/Dialog.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,YAAY,EAAEC,UAAU,EAAEC,SAAS,EAAEC,mBAAmB,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAEzG,SAASC,QAAQ,EAAEC,WAAW,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AAE1E,SAASC,WAAW,QAAQ,0BAAiB;AAC7C,OAAOC,MAAM,MAAM,qBAAkB;AAErC,SAASC,QAAQ,QAAQ,sBAAa;AACtC,SAASC,aAAa,QAAQ,wBAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAG9C,MAAMC,MAAM,gBAAGjB,UAAU,CAA8B,CAAC;EACpDkB,OAAO,GAAG,SAAS;EACnBC,IAAI,GAAG,IAAI;EACXC,UAAU;EACVC,aAAa;EACbC,OAAO;EACPC,cAAc;EACdC;AACJ,CAAC,EAAEC,GAAG,KAAK;EAEP,MAAM,CAACC,aAAa,EAAEC,gBAAgB,CAAC,GAAGvB,QAAQ,CAAC,KAAK,CAAC;EACzD,MAAMwB,KAAK,GAAGzB,MAAM,CAAC,IAAIK,QAAQ,CAACqB,KAAK,CAAC,GAAG,CAAC,CAAC,CAACC,OAAO;EACrD,MAAMC,OAAO,GAAG5B,MAAM,CAAC,IAAIK,QAAQ,CAACqB,KAAK,CAAC,CAAC,CAAC,CAAC,CAACC,OAAO;EACrD,MAAME,KAAK,GAAGrB,QAAQ,CAAC,CAAC;EAExBV,SAAS,CAAC,MAAM;IACZO,QAAQ,CA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BAAsB,EAAEF,uBAAuB,EAAE7B,cAAc,CAAE;UAC5FqD,yBAAyB,EAAEA,CAAA,KAAM,IAAK;UAAApD,QAAA,EAErCuC,yBAAyB,CAAC;QAAC,CACjB;MAAC,CACL;IAAC,CACZ;EAAC,CACX,CAAC;AACP,CAAC,CAAC;AACF,eAAe9C,MAAM;AAGrB,MAAMwD,MAAM,GAAGlE,UAAU,CAACuE,MAAM,CAAC;EAC7BJ,aAAa,EAAE;IACXK,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EAChB,CAAC;EACDR,UAAU,EAAE;IACR;IACAf,YAAY,EAAE,CAAC;IACfwB,WAAW,EAAE;IACb;EACJ;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { ScrollView } from 'react-native';
|
|
4
|
+
import { horizontalScale, verticalScale } from "../../helpers/ResponsiveCalculations.js";
|
|
5
|
+
import { StyledView } from "../StyledComponents/index.js";
|
|
6
6
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
7
7
|
const DialogBody = ({
|
|
8
8
|
variant,
|
|
9
9
|
scrollEnable = true,
|
|
10
10
|
containerStyle,
|
|
11
|
-
children
|
|
11
|
+
children,
|
|
12
|
+
...rest
|
|
12
13
|
}) => {
|
|
13
14
|
const style = {
|
|
14
|
-
paddingVertical: variant == 'default' ?
|
|
15
|
-
paddingHorizontal:
|
|
16
|
-
gap: 20
|
|
15
|
+
paddingVertical: variant == 'default' ? verticalScale(16) : 0,
|
|
16
|
+
paddingHorizontal: horizontalScale(variant == 'default' ? 16 : 25)
|
|
17
17
|
};
|
|
18
18
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
19
19
|
children: /*#__PURE__*/_jsx(ScrollView, {
|
|
20
20
|
scrollEnabled: scrollEnable,
|
|
21
|
-
children: /*#__PURE__*/_jsx(
|
|
21
|
+
children: /*#__PURE__*/_jsx(StyledView, {
|
|
22
22
|
style: [style, containerStyle],
|
|
23
23
|
pointerEvents: "box-none",
|
|
24
|
+
...rest,
|
|
24
25
|
children: children
|
|
25
26
|
})
|
|
26
27
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["ScrollView","horizontalScale","verticalScale","StyledView","jsx","_jsx","Fragment","_Fragment","DialogBody","variant","scrollEnable","containerStyle","children","rest","style","paddingVertical","paddingHorizontal","scrollEnabled","pointerEvents"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Dialog/DialogBody.tsx"],"mappings":";;AACA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,eAAe,EAAEC,aAAa,QAAQ,yCAAsC;AAErF,SAASC,UAAU,QAAQ,8BAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAOjD,MAAMC,UAAqB,GAAGA,CAAC;EAC3BC,OAAO;EACPC,YAAY,GAAG,IAAI;EACnBC,cAAc;EACdC,QAAQ;EACR,GAAGC;AACP,CAAC,KAAK;EACF,MAAMC,KAAK,GAAG;IACVC,eAAe,EAAEN,OAAO,IAAI,SAAS,GAAGP,aAAa,CAAC,EAAE,CAAC,GAAG,CAAC;IAC7Dc,iBAAiB,EAAEf,eAAe,CAACQ,OAAO,IAAI,SAAS,GAAG,EAAE,GAAG,EAAE;EACrE,CAAC;EACD,oBAAQJ,IAAA,CAAAE,SAAA;IAAAK,QAAA,eACJP,IAAA,CAACL,UAAU;MAACiB,aAAa,EAAEP,YAAa;MAAAE,QAAA,eACpCP,IAAA,CAACF,UAAU;QAACW,KAAK,EAAE,CAACA,KAAK,EAAEH,cAAc,CAAE;QAACO,aAAa,EAAC,UAAU;QAAA,GAAKL,IAAI;QAAAD,QAAA,EACxEA;MAAQ,CACD;IAAC,CACL;EAAC,CACf,CAAC;AACP,CAAC;AACD,eAAeJ,UAAU","ignoreList":[]}
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import React from 'react';
|
|
4
3
|
import { View } from 'react-native';
|
|
5
|
-
import {
|
|
4
|
+
import { verticalScale } from "../../helpers/ResponsiveCalculations.js";
|
|
6
5
|
import { StyledText } from "../StyledComponents/index.js";
|
|
7
6
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
8
7
|
const DialogDescription = ({
|
|
9
|
-
|
|
10
|
-
fs,
|
|
8
|
+
fScale = 'sm',
|
|
11
9
|
containerStyle,
|
|
12
10
|
textStyle,
|
|
13
|
-
children
|
|
11
|
+
children,
|
|
12
|
+
...rest
|
|
14
13
|
}) => {
|
|
15
14
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
16
15
|
children: /*#__PURE__*/_jsx(View, {
|
|
17
16
|
style: containerStyle,
|
|
18
17
|
children: /*#__PURE__*/_jsx(StyledText, {
|
|
19
18
|
style: [{
|
|
20
|
-
lineHeight:
|
|
19
|
+
lineHeight: verticalScale(20)
|
|
21
20
|
}, textStyle],
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
variant: "tertiary",
|
|
22
|
+
fScale: fScale,
|
|
23
|
+
...rest,
|
|
25
24
|
children: children
|
|
26
25
|
})
|
|
27
26
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["View","verticalScale","StyledText","jsx","_jsx","Fragment","_Fragment","DialogDescription","fScale","containerStyle","textStyle","children","rest","style","lineHeight","variant"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Dialog/DialogDescription.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,QAAQ,yCAAsC;AACpE,SAASC,UAAU,QAAQ,8BAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAGjD,MAAMC,iBAA6C,GAAGA,CAAC;EACnDC,MAAM,GAAG,IAAI;EACbC,cAAc;EACdC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACP,CAAC,KAAK;EACF,oBAAQR,IAAA,CAAAE,SAAA;IAAAK,QAAA,eACJP,IAAA,CAACJ,IAAI;MAACa,KAAK,EAAEJ,cAAe;MAAAE,QAAA,eACxBP,IAAA,CAACF,UAAU;QACPW,KAAK,EAAE,CAAC;UAAEC,UAAU,EAAEb,aAAa,CAAC,EAAE;QAAE,CAAC,EAAES,SAAS,CAAE;QACtDK,OAAO,EAAC,UAAU;QAClBP,MAAM,EAAEA,MAAO;QAAA,GACXI,IAAI;QAAAD,QAAA,EAEPA;MAAQ,CACD;IAAC,CACX;EAAC,CACT,CAAC;AACP,CAAC;AACD,eAAeJ,iBAAiB","ignoreList":[]}
|
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { moderateScale } from "../../helpers/ResponsiveCalculations.js";
|
|
3
|
+
import { horizontalScale, verticalScale } from "../../helpers/ResponsiveCalculations.js";
|
|
4
|
+
import { useTheme } from "../../hooks/index.js";
|
|
5
|
+
import { StyledView } from "../StyledComponents/index.js";
|
|
7
6
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
8
7
|
const DialogFoot = ({
|
|
9
8
|
variant,
|
|
10
9
|
containerStyle,
|
|
11
|
-
children
|
|
10
|
+
children,
|
|
11
|
+
...rest
|
|
12
12
|
}) => {
|
|
13
|
-
const
|
|
13
|
+
const theme = useTheme();
|
|
14
14
|
const dynamicStyles = {
|
|
15
15
|
borderTopWidth: variant === 'default' ? 0.7 : 0,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
borderColor: theme?.colors.border.subtle,
|
|
17
|
+
padding: verticalScale(variant === 'default' ? 16 : 20),
|
|
18
|
+
paddingHorizontal: horizontalScale(variant === 'default' ? 16 : 25),
|
|
19
|
+
justifyContent: 'flex-end',
|
|
20
|
+
flexDirection: 'row'
|
|
18
21
|
};
|
|
19
22
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
20
|
-
children: /*#__PURE__*/_jsx(
|
|
21
|
-
style: [
|
|
23
|
+
children: /*#__PURE__*/_jsx(StyledView, {
|
|
24
|
+
style: [dynamicStyles, containerStyle],
|
|
25
|
+
...rest,
|
|
22
26
|
children: children
|
|
23
27
|
})
|
|
24
28
|
});
|
|
25
29
|
};
|
|
26
30
|
export default DialogFoot;
|
|
27
|
-
const Styles = () => StyleSheet.create({
|
|
28
|
-
CONTAINER: {
|
|
29
|
-
borderColor: '#d4d4d4',
|
|
30
|
-
justifyContent: 'flex-end',
|
|
31
|
-
gap: moderateScale(15)
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
31
|
//# sourceMappingURL=DialogFoot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["horizontalScale","verticalScale","useTheme","StyledView","jsx","_jsx","Fragment","_Fragment","DialogFoot","variant","containerStyle","children","rest","theme","dynamicStyles","borderTopWidth","borderColor","colors","border","subtle","padding","paddingHorizontal","justifyContent","flexDirection","style"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Dialog/DialogFoot.tsx"],"mappings":";;AAEA,SAASA,eAAe,EAAEC,aAAa,QAAQ,yCAAsC;AAErF,SAASC,QAAQ,QAAQ,sBAAa;AACtC,SAASC,UAAU,QAAQ,8BAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAOjD,MAAMC,UAAqB,GAAGA,CAAC;EAC3BC,OAAO;EACPC,cAAc;EACdC,QAAQ;EACR,GAAGC;AACP,CAAC,KAAK;EACF,MAAMC,KAAK,GAAGX,QAAQ,CAAC,CAAC;EAExB,MAAMY,aAAwB,GAAG;IAC7BC,cAAc,EAAEN,OAAO,KAAK,SAAS,GAAG,GAAG,GAAG,CAAC;IAC/CO,WAAW,EAAEH,KAAK,EAAEI,MAAM,CAACC,MAAM,CAACC,MAAM;IACxCC,OAAO,EAAEnB,aAAa,CAACQ,OAAO,KAAK,SAAS,GAAG,EAAE,GAAG,EAAE,CAAC;IACvDY,iBAAiB,EAAErB,eAAe,CAACS,OAAO,KAAK,SAAS,GAAG,EAAE,GAAG,EAAE,CAAC;IACnEa,cAAc,EAAE,UAAU;IAC1BC,aAAa,EAAE;EACnB,CAAC;EACD,oBAAQlB,IAAA,CAAAE,SAAA;IAAAI,QAAA,eACJN,IAAA,CAACF,UAAU;MAACqB,KAAK,EAAE,CAACV,aAAa,EAAEJ,cAAc,CAAE;MAAA,GAAKE,IAAI;MAAAD,QAAA,EACvDA;IAAQ,CACD;EAAC,CACf,CAAC;AACP,CAAC;AACD,eAAeH,UAAU","ignoreList":[]}
|
|
@@ -1,55 +1,50 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import { View, StyleSheet
|
|
5
|
-
import {
|
|
6
|
-
import { X } from "../../assets/svg/index.js";
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { verticalScale } from "../../helpers/ResponsiveCalculations.js";
|
|
7
6
|
import { StyledText } from "../StyledComponents/index.js";
|
|
8
|
-
import {
|
|
7
|
+
import { useTheme } from "../../hooks/index.js";
|
|
8
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
9
9
|
const DialogHead = ({
|
|
10
10
|
variant = 'default',
|
|
11
|
-
title
|
|
12
|
-
|
|
11
|
+
title,
|
|
12
|
+
fScale = 'xl',
|
|
13
13
|
fs,
|
|
14
|
+
ff,
|
|
14
15
|
containerStyle,
|
|
15
|
-
|
|
16
|
+
titleStyle,
|
|
16
17
|
children
|
|
17
18
|
}) => {
|
|
19
|
+
const theme = useTheme();
|
|
18
20
|
const STYLES = useMemo(Styles, []);
|
|
19
21
|
const dynamicStyles = {
|
|
20
22
|
borderBottomWidth: variant == 'default' ? 0.7 : 0,
|
|
21
|
-
|
|
23
|
+
borderColor: theme?.colors.border.subtle,
|
|
24
|
+
padding: verticalScale(variant === 'default' ? 16 : 25)
|
|
22
25
|
};
|
|
23
26
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
24
|
-
children: /*#__PURE__*/
|
|
27
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
25
28
|
style: [STYLES.CONTAINER, dynamicStyles, containerStyle],
|
|
26
|
-
children:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
34
|
-
children: /*#__PURE__*/_jsx(X, {
|
|
35
|
-
color: "gray",
|
|
36
|
-
size: moderateScale(20)
|
|
37
|
-
})
|
|
38
|
-
})]
|
|
29
|
+
children: /*#__PURE__*/_jsx(StyledText, {
|
|
30
|
+
style: [STYLES.HEADER_TEXT, titleStyle],
|
|
31
|
+
fs: fs,
|
|
32
|
+
ff: ff,
|
|
33
|
+
fScale: fScale,
|
|
34
|
+
children: title || children
|
|
35
|
+
})
|
|
39
36
|
})
|
|
40
37
|
});
|
|
41
38
|
};
|
|
42
39
|
export default DialogHead;
|
|
43
40
|
const Styles = () => StyleSheet.create({
|
|
44
41
|
CONTAINER: {
|
|
45
|
-
|
|
46
|
-
paddingBottom: moderateScale(16),
|
|
42
|
+
paddingBottom: verticalScale(16),
|
|
47
43
|
justifyContent: 'space-between',
|
|
48
44
|
flexDirection: 'row'
|
|
49
45
|
},
|
|
50
46
|
HEADER_TEXT: {
|
|
51
|
-
fontWeight: 'bold'
|
|
52
|
-
color: '#000'
|
|
47
|
+
fontWeight: 'bold'
|
|
53
48
|
}
|
|
54
49
|
});
|
|
55
50
|
//# sourceMappingURL=DialogHead.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useMemo","View","StyleSheet","verticalScale","StyledText","useTheme","jsx","_jsx","Fragment","_Fragment","DialogHead","variant","title","fScale","fs","ff","containerStyle","titleStyle","children","theme","STYLES","Styles","dynamicStyles","borderBottomWidth","borderColor","colors","border","subtle","padding","style","CONTAINER","HEADER_TEXT","create","paddingBottom","justifyContent","flexDirection","fontWeight"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Dialog/DialogHead.tsx"],"mappings":";;AAAA,SAASA,OAAO,QAAiB,OAAO;AACxC,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SAASC,aAAa,QAAQ,yCAAsC;AACpE,SAASC,UAAU,QAAQ,8BAAqB;AAEhD,SAASC,QAAQ,QAAQ,sBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAOvC,MAAMC,UAAqB,GAAGA,CAAC;EAC3BC,OAAO,GAAG,SAAS;EACnBC,KAAK;EACLC,MAAM,GAAG,IAAI;EACbC,EAAE;EACFC,EAAE;EACFC,cAAc;EACdC,UAAU;EACVC;AACJ,CAAC,KAAK;EACF,MAAMC,KAAK,GAAGd,QAAQ,CAAC,CAAC;EACxB,MAAMe,MAAM,GAAGpB,OAAO,CAACqB,MAAM,EAAE,EAAE,CAAC;EAElC,MAAMC,aAAa,GAAG;IAClBC,iBAAiB,EAAEZ,OAAO,IAAI,SAAS,GAAG,GAAG,GAAG,CAAC;IACjDa,WAAW,EAAEL,KAAK,EAAEM,MAAM,CAACC,MAAM,CAACC,MAAM;IACxCC,OAAO,EAAEzB,aAAa,CAACQ,OAAO,KAAK,SAAS,GAAG,EAAE,GAAG,EAAE;EAC1D,CAAC;EACD,oBAAQJ,IAAA,CAAAE,SAAA;IAAAS,QAAA,eACJX,IAAA,CAACN,IAAI;MAAC4B,KAAK,EAAE,CAACT,MAAM,CAACU,SAAS,EAAER,aAAa,EAAEN,cAAc,CAAE;MAAAE,QAAA,eAC3DX,IAAA,CAACH,UAAU;QAACyB,KAAK,EAAE,CAACT,MAAM,CAACW,WAAW,EAAEd,UAAU,CAAE;QAACH,EAAE,EAAEA,EAAG;QAACC,EAAE,EAAEA,EAAG;QAACF,MAAM,EAAEA,MAAO;QAAAK,QAAA,EAAEN,KAAK,IAAIM;MAAQ,CAAa;IAAC,CACnH;EAAC,CACT,CAAC;AACP,CAAC;AACD,eAAeR,UAAU;AAIzB,MAAMW,MAAM,GAAGA,CAAA,KAAMnB,UAAU,CAAC8B,MAAM,CAAC;EACnCF,SAAS,EAAE;IACPG,aAAa,EAAE9B,aAAa,CAAC,EAAE,CAAC;IAChC+B,cAAc,EAAE,eAAe;IAC/BC,aAAa,EAAE;EACnB,CAAC;EACDJ,WAAW,EAAE;IACTK,UAAU,EAAE;EAChB;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import React from 'react';
|
|
4
3
|
import { StyledView } from "../StyledComponents/index.js";
|
|
5
4
|
import { useTheme } from "../../hooks/index.js";
|
|
6
|
-
import { jsx as _jsx
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
6
|
const Divider = ({
|
|
8
|
-
thickness = 0.
|
|
7
|
+
thickness = 0.7,
|
|
9
8
|
color,
|
|
10
9
|
style
|
|
11
10
|
}) => {
|
|
12
11
|
const theme = useTheme();
|
|
13
12
|
const dynamicStyles = {
|
|
14
13
|
borderWidth: thickness,
|
|
15
|
-
borderColor: color ?? theme?.colors.
|
|
14
|
+
borderColor: color ?? theme?.colors.border.subtle
|
|
16
15
|
};
|
|
17
|
-
return /*#__PURE__*/_jsx(
|
|
18
|
-
|
|
19
|
-
style: [dynamicStyles, style]
|
|
20
|
-
})
|
|
16
|
+
return /*#__PURE__*/_jsx(StyledView, {
|
|
17
|
+
style: [dynamicStyles, style]
|
|
21
18
|
});
|
|
22
19
|
};
|
|
23
20
|
export default Divider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["StyledView","useTheme","jsx","_jsx","Divider","thickness","color","style","theme","dynamicStyles","borderWidth","borderColor","colors","border","subtle"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Divider/Divider.tsx"],"mappings":";;AACA,SAASA,UAAU,QAAQ,8BAAqB;AAChD,SAASC,QAAQ,QAAQ,sBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIvC,MAAMC,OAAyB,GAAGA,CAAC;EAC/BC,SAAS,GAAG,GAAG;EACfC,KAAK;EACLC;AACJ,CAAC,KAAK;EACF,MAAMC,KAAK,GAAGP,QAAQ,CAAC,CAAC;EACxB,MAAMQ,aAAa,GAAG;IAClBC,WAAW,EAAEL,SAAS;IACtBM,WAAW,EAAEL,KAAK,IAAIE,KAAK,EAAEI,MAAM,CAACC,MAAM,CAACC;EAC/C,CAAC;EACD,oBACIX,IAAA,CAACH,UAAU;IAACO,KAAK,EAAE,CAACE,aAAa,EAAEF,KAAK;EAAE,CAAE,CAAC;AAErD,CAAC;AACD,eAAeH,OAAO","ignoreList":[]}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { StyleSheet } from "react-native";
|
|
5
5
|
import { getGridValue } from "../../helpers/index.js";
|
|
6
6
|
import { useConditionalWindowDimension } from "../../hooks/index.js";
|
|
7
|
+
import { StyledView } from "../StyledComponents/index.js";
|
|
7
8
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
8
9
|
const Grid = ({
|
|
9
10
|
container = false,
|
|
@@ -48,7 +49,7 @@ const Grid = ({
|
|
|
48
49
|
}
|
|
49
50
|
});
|
|
50
51
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
51
|
-
children: /*#__PURE__*/_jsx(
|
|
52
|
+
children: /*#__PURE__*/_jsx(StyledView, {
|
|
52
53
|
style: [STYLES.MAIN_CONT, containerStyle],
|
|
53
54
|
...rest,
|
|
54
55
|
children: children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useMemo","StyleSheet","getGridValue","useConditionalWindowDimension","StyledView","jsx","_jsx","Fragment","_Fragment","Grid","container","item","spacing","spacingH","spacingV","size","xs","sm","md","lg","xl","containerStyle","children","rest","Math","min","width","windowWidth","calculatedGridValue","STYLES","create","MAIN_CONT","flexDirection","flexWrap","paddingHorizontal","paddingVertical","gap","style"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Grid/Grid.tsx"],"mappings":";;AAAA,SAASA,OAAO,QAAiB,OAAO;AACxC,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,YAAY,QAAQ,wBAAe;AAC5C,SAASC,6BAA6B,QAAQ,sBAAa;AAE3D,SAASC,UAAU,QAAQ,8BAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAEjD,MAAMC,IAAmB,GAAGA,CAAC;EACzBC,SAAS,GAAG,KAAK;EACjBC,IAAI,GAAG,KAAK;EACZC,OAAO,GAAG,CAAC;EACXC,QAAQ,GAAG,CAAC;EACZC,QAAQ,GAAG,CAAC;EACZC,IAAI,GAAG,EAAE;EACTC,EAAE,GAAG,EAAE;EACPC,EAAE,GAAG,CAAC;EACNC,EAAE,GAAG,CAAC;EACNC,EAAE,GAAG,CAAC;EACNC,EAAE,GAAG,CAAC;EACNC,cAAc;EACdC,QAAQ;EACR,GAAGC;AACP,CAAC,KAAK;EACFb,SAAS,GAAG,CAACC,IAAI;EACjBK,EAAE,GAAGQ,IAAI,CAACC,GAAG,CAACT,EAA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reList":[]}
|
|
@@ -13,7 +13,7 @@ const Icon = ({
|
|
|
13
13
|
return /*#__PURE__*/React.cloneElement(renderIcon, {
|
|
14
14
|
...renderIcon?.props,
|
|
15
15
|
size: verticalScale(renderIcon?.props?.size ?? 17),
|
|
16
|
-
color: color ?? renderIcon?.props.color ?? theme?.colors.
|
|
16
|
+
color: color ?? renderIcon?.props.color ?? theme?.colors.typography.secondary
|
|
17
17
|
});
|
|
18
18
|
}, [color, theme, renderIcon.props]);
|
|
19
19
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","verticalScale","useTheme","Fragment","_Fragment","jsx","_jsx","Icon","renderIcon","color","theme","props","renderCallBackIcon","cloneElement","size","colors","
|
|
1
|
+
{"version":3,"names":["React","useMemo","verticalScale","useTheme","Fragment","_Fragment","jsx","_jsx","Icon","renderIcon","color","theme","props","renderCallBackIcon","cloneElement","size","colors","typography","secondary","children"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Icon/Icon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAkB,OAAO;AAChD,SAASC,aAAa,QAAQ,yCAAsC;AACpE,SAASC,QAAQ,QAAQ,sBAAa;AAAC,SAAAC,QAAA,IAAAC,SAAA,EAAAC,GAAA,IAAAC,IAAA;AAQvC,MAAMC,IAAyB,GAAGA,CAAC;EAC/BC,UAAU;EACVC;AACJ,CAAC,KAAK;EACF,MAAMC,KAAK,GAAGR,QAAQ,CAAC,CAACO,KAAK,IAAI,CAACD,UAAU,EAAEG,KAAK,CAACF,KAAK,CAAC;EAE1D,MAAMG,kBAAkB,GAAGZ,OAAO,CAAC,MAAM;IACrC,oBAAOD,KAAK,CAACc,YAAY,CAACL,UAAU,EAChC;MACI,GAAGA,UAAU,EAAEG,KAAK;MACpBG,IAAI,EAAEb,aAAa,CAACO,UAAU,EAAEG,KAAK,EAAEG,IAAI,IAAI,EAAE,CAAC;MAClDL,KAAK,EAAEA,KAAK,IAAKD,UAAU,EAAEG,KAAK,CAACF,KAAK,IAAIC,KAAK,EAAEK,MAAM,CAACC,UAAU,CAACC;IACzE,CACJ,CAAC;EACL,CAAC,EAAE,CAACR,KAAK,EAAEC,KAAK,EAAEF,UAAU,CAACG,KAAK,CAAC,CAAC;EAEpC,oBAAQL,IAAA,CAAAF,SAAA;IAAAc,QAAA,EACHN;EAAkB,CACrB,CAAC;AACP,CAAC;AACD,eAAeL,IAAI","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","isValidElement","TouchableOpacity","Icon","jsx","_jsx","Fragment","_Fragment","IconButton","rippleColor","children","style","rest","size","props","borderRadius","height","width","justifyContent","alignItems","renderIcon","cloneElement"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/IconButton/IconButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,cAAc,QAAQ,OAAO;AAE7C,SAASC,gBAAgB,QAAoC,cAAc;AAC3E,OAAOC,IAAI,MAAM,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAQhC,MAAMC,UAAqC,GAAGA,CAAC;EAC3CC,WAAW;EACXC,QAAQ;EACRC,KAAK;EACL,GAAGC;AACP,CAAC,KAAK;EAEF,IAAIC,IAAI,GAAG,EAAE;EAEb,IAAI,EAAE,aAAAZ,cAAc,CAACS,QAAQ,CAAC,IAAI,MAAM,IAAIA,QAAQ,CAACI,KAAK,CAAC,EAAE;IACzD;EACJ;EACAD,IAAI,GAAGH,QAAQ,CAACI,KAAK,CAACD,IAAI,
|
|
1
|
+
{"version":3,"names":["React","isValidElement","TouchableOpacity","Icon","jsx","_jsx","Fragment","_Fragment","IconButton","rippleColor","children","style","rest","size","props","borderRadius","height","width","justifyContent","alignItems","renderIcon","cloneElement"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/IconButton/IconButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,cAAc,QAAQ,OAAO;AAE7C,SAASC,gBAAgB,QAAoC,cAAc;AAC3E,OAAOC,IAAI,MAAM,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAQhC,MAAMC,UAAqC,GAAGA,CAAC;EAC3CC,WAAW;EACXC,QAAQ;EACRC,KAAK;EACL,GAAGC;AACP,CAAC,KAAK;EAEF,IAAIC,IAAI,GAAG,EAAE;EAEb,IAAI,EAAE,aAAAZ,cAAc,CAACS,QAAQ,CAAC,IAAI,MAAM,IAAIA,QAAQ,CAACI,KAAK,CAAC,EAAE;IACzD;EACJ;EACAD,IAAI,GAAGH,QAAQ,CAACI,KAAK,CAACD,IAAI,GAAI,GAAG;EAEjC,oBAAQR,IAAA,CAAAE,SAAA;IAAAG,QAAA,eACJL,IAAA,CAACH;IACG;IAAA;MACAS,KAAK,EAAE,CAAC;QACJI,YAAY,EAAE,GAAG;QACjBC,MAAM,EAAEH,IAAI;QACZI,KAAK,EAAEJ,IAAI;QACXK,cAAc,EAAE,QAAQ;QACxBC,UAAU,EAAE;MAChB,CAAC,EAAER,KAAK,CAAE;MAAA,GACNC,IAAI;MAAAF,QAAA,eAERL,IAAA,CAACF,IAAI;QACDiB,UAAU,eAAEpB,KAAK,CAACqB,YAAY,CAACX,QAAmC;MAAE,CACvE;IAAC,CACY;EAAC,CACrB,CAAC;AACP,CAAC;AACD,eAAeF,UAAU","ignoreList":[]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { StyledText } from "../StyledComponents/index.js";
|
|
4
|
-
import { Linking, StyleSheet, TouchableOpacity } from "react-native";
|
|
5
3
|
import { useCallback } from "react";
|
|
6
|
-
import {
|
|
4
|
+
import { StyledText } from "../StyledComponents/index.js";
|
|
5
|
+
import { Linking, StyleSheet } from "react-native";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
const Link = ({
|
|
8
|
-
title = '',
|
|
8
|
+
title = 'Link',
|
|
9
9
|
href,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
style,
|
|
11
|
+
...rest
|
|
12
12
|
}) => {
|
|
13
13
|
const onUserPress = useCallback(async () => {
|
|
14
14
|
const supported = await Linking.canOpenURL(href);
|
|
@@ -16,24 +16,20 @@ const Link = ({
|
|
|
16
16
|
await Linking.openURL(href);
|
|
17
17
|
}
|
|
18
18
|
}, [href]);
|
|
19
|
-
return /*#__PURE__*/_jsx(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
style: [STYLES.TEXT, style],
|
|
26
|
-
children: title
|
|
27
|
-
})
|
|
28
|
-
})
|
|
19
|
+
return /*#__PURE__*/_jsx(StyledText, {
|
|
20
|
+
color: "#0000FF",
|
|
21
|
+
style: [STYLES.TEXT, style],
|
|
22
|
+
onPress: onUserPress,
|
|
23
|
+
...rest,
|
|
24
|
+
children: title
|
|
29
25
|
});
|
|
30
26
|
};
|
|
31
27
|
export default Link;
|
|
32
28
|
const STYLES = StyleSheet.create({
|
|
33
29
|
TEXT: {
|
|
34
|
-
borderBottomColor: '#0000FF',
|
|
35
|
-
borderBottomWidth: 0.8,
|
|
36
|
-
alignSelf: 'flex-start'
|
|
30
|
+
// borderBottomColor: '#0000FF',
|
|
31
|
+
// borderBottomWidth: 0.8,
|
|
32
|
+
// alignSelf: 'flex-start',
|
|
37
33
|
}
|
|
38
34
|
});
|
|
39
35
|
//# sourceMappingURL=Link.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyledText","Linking","StyleSheet","
|
|
1
|
+
{"version":3,"names":["useCallback","StyledText","Linking","StyleSheet","jsx","_jsx","Link","title","href","style","rest","onUserPress","supported","canOpenURL","openURL","color","STYLES","TEXT","onPress","children","create"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Link/Link.tsx"],"mappings":";;AAAA,SAASA,WAAW,QAAiB,OAAO;AAC5C,SAASC,UAAU,QAAQ,8BAAqB;AAChD,SAASC,OAAO,EAAEC,UAAU,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAInD,MAAMC,IAAmB,GAAGA,CAAC;EACzBC,KAAK,GAAG,MAAM;EACdC,IAAI;EACJC,KAAK;EACL,GAAGC;AACP,CAAC,KAAK;EACF,MAAMC,WAAW,GAAGX,WAAW,CAAC,YAAY;IACxC,MAAMY,SAAS,GAAG,MAAMV,OAAO,CAACW,UAAU,CAACL,IAAI,CAAC;IAChD,IAAII,SAAS,EAAE;MACX,MAAMV,OAAO,CAACY,OAAO,CAACN,IAAI,CAAC;IAC/B;EACJ,CAAC,EAAE,CAACA,IAAI,CAAC,CAAC;EACV,oBACIH,IAAA,CAACJ,UAAU;IACPc,KAAK,EAAC,SAAS;IACfN,KAAK,EAAE,CAACO,MAAM,CAACC,IAAI,EAAER,KAAK,CAAE;IAC5BS,OAAO,EAAEP,WAAY;IAAA,GACjBD,IAAI;IAAAS,QAAA,EAEPZ;EAAK,CACE,CAAC;AAErB,CAAC;AAED,eAAeD,IAAI;AAEnB,MAAMU,MAAM,GAAGb,UAAU,CAACiB,MAAM,CAAC;EAC7BH,IAAI,EAAE;IACF;IACA;IACA;EAAA;AAER,CAAC,CAAC","ignoreList":[]}
|
|
@@ -6,6 +6,7 @@ import { StyledView } from "../StyledComponents/index.js";
|
|
|
6
6
|
import Portal from "../Portal/Portal.js";
|
|
7
7
|
import { positionCalculations } from "./calculations.js";
|
|
8
8
|
import { horizontalScale, verticalScale } from "../../helpers/ResponsiveCalculations.js";
|
|
9
|
+
import { useTheme } from "../../hooks/index.js";
|
|
9
10
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
11
|
const Menu = ({
|
|
11
12
|
placement = 'top',
|
|
@@ -31,6 +32,7 @@ const Menu = ({
|
|
|
31
32
|
});
|
|
32
33
|
const buttonRef = useRef(null);
|
|
33
34
|
const animatedScaleRef = useRef(new Animated.Value(1)).current;
|
|
35
|
+
const theme = useTheme();
|
|
34
36
|
const positions = useCallback(() => positionCalculations(anchorLayoutRef.current, menuLayoutRef.current, placement), [menuLayoutRef, anchorLayoutRef, placement])();
|
|
35
37
|
const STYLES = useMemo(Styles, []);
|
|
36
38
|
useEffect(() => {
|
|
@@ -88,7 +90,8 @@ const Menu = ({
|
|
|
88
90
|
const pointerEvent = isVisible && !disableBuiltInState || isOpen && disableBuiltInState ? 'auto' : 'none';
|
|
89
91
|
const dynamicStyles = {
|
|
90
92
|
left: positions.left,
|
|
91
|
-
top: positions.top
|
|
93
|
+
top: positions.top,
|
|
94
|
+
backgroundColor: theme?.colors.background.elevated
|
|
92
95
|
};
|
|
93
96
|
const menuAnimatedStyle = {
|
|
94
97
|
transform: [{
|
|
@@ -125,11 +128,13 @@ const Menu = ({
|
|
|
125
128
|
})
|
|
126
129
|
})
|
|
127
130
|
}), /*#__PURE__*/_jsx(StyledView, {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
children: /*#__PURE__*/_jsx(StyledView, {
|
|
132
|
+
ref: buttonRef,
|
|
133
|
+
onLayout: measureLayout,
|
|
134
|
+
alignSelf: "flex-start",
|
|
135
|
+
children: anchor && /*#__PURE__*/React.isValidElement(anchor) && /*#__PURE__*/React.cloneElement(anchor, {
|
|
136
|
+
onPress: onOpen
|
|
137
|
+
})
|
|
133
138
|
})
|
|
134
139
|
})]
|
|
135
140
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useRef","useCallback","useEffect","useMemo","StyleSheet","Pressable","ScrollView","Animated","StyledView","Portal","positionCalculations","horizontalScale","verticalScale","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","Menu","placement","anchor","disableBuiltInState","isOpen","onRequestOpen","onRequestClose","onSelect","style","children","isVisible","setIsVisible","anchorLayoutRef","pageY","pageX","height","width","menuLayoutRef","buttonRef","animatedScaleRef","Value","current","positions","STYLES","Styles","timing","toValue","duration","useNativeDriver","start","measureLayout","Promise","resolve","measure","_x","_y","onOpen","onClose","renderChildren","Children","toArray","map","child","isValidElement","cloneElement","onPress","props","name","scale","Number","pointerEvent","dynamicStyles","left","top","menuAnimatedStyle","transform","opacity","absoluteFill","pointerEvents","View","onStartShouldSetResponder","MENU_CONT","onLayout","nativeEvent","layout","
|
|
1
|
+
{"version":3,"names":["React","useState","useRef","useCallback","useEffect","useMemo","StyleSheet","Pressable","ScrollView","Animated","StyledView","Portal","positionCalculations","horizontalScale","verticalScale","useTheme","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","Menu","placement","anchor","disableBuiltInState","isOpen","onRequestOpen","onRequestClose","onSelect","style","children","isVisible","setIsVisible","anchorLayoutRef","pageY","pageX","height","width","menuLayoutRef","buttonRef","animatedScaleRef","Value","current","theme","positions","STYLES","Styles","timing","toValue","duration","useNativeDriver","start","measureLayout","Promise","resolve","measure","_x","_y","onOpen","onClose","renderChildren","Children","toArray","map","child","isValidElement","cloneElement","onPress","props","name","scale","Number","pointerEvent","dynamicStyles","left","top","backgroundColor","colors","background","elevated","menuAnimatedStyle","transform","opacity","absoluteFill","pointerEvents","View","onStartShouldSetResponder","MENU_CONT","onLayout","nativeEvent","layout","ref","alignSelf","create","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","position","borderRadius","maxHeight","minWidth","paddingVertical"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Menu/Menu.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,MAAM,EAAEC,WAAW,EAAEC,SAAS,EAAEC,OAAO,QAAkB,OAAO;AAC1F,SAASC,UAAU,EAAEC,SAAS,EAAQC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AAChF,SAASC,UAAU,QAAQ,8BAAqB;AAChD,OAAOC,MAAM,MAAM,qBAAkB;AACrC,SAASC,oBAAoB,QAAQ,mBA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