@trilogy-ds/react 0.0.1-beta-4 → 0.0.1-beta.10
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 +117 -0
- package/lib/components/accordion/Accordion.d.ts +3 -7
- package/lib/components/accordion/Accordion.js +7 -10
- package/lib/components/accordion/Accordion.js.map +1 -1
- package/lib/components/accordion/Accordion.native.d.ts +4 -7
- package/lib/components/accordion/Accordion.native.js +6 -8
- package/lib/components/accordion/Accordion.native.js.map +1 -1
- package/lib/components/accordion/AccordionProps.d.ts +0 -1
- package/lib/components/accordion/body/AccordionBody.d.ts +2 -2
- package/lib/components/accordion/body/AccordionBody.js +8 -6
- package/lib/components/accordion/body/AccordionBody.js.map +1 -1
- package/lib/components/accordion/body/AccordionBody.native.d.ts +2 -2
- package/lib/components/accordion/body/AccordionBody.native.js +3 -3
- package/lib/components/accordion/body/AccordionBody.native.js.map +1 -1
- package/lib/components/accordion/header/AccordionHeader.d.ts +2 -2
- package/lib/components/accordion/header/AccordionHeader.js +6 -6
- package/lib/components/accordion/header/AccordionHeader.js.map +1 -1
- package/lib/components/accordion/header/AccordionHeader.native.d.ts +2 -2
- package/lib/components/accordion/header/AccordionHeader.native.js +6 -6
- package/lib/components/accordion/header/AccordionHeader.native.js.map +1 -1
- package/lib/components/accordion/item/AccordionItem.d.ts +1 -1
- package/lib/components/accordion/item/AccordionItem.js +9 -11
- package/lib/components/accordion/item/AccordionItem.js.map +1 -1
- package/lib/components/accordion/item/AccordionItem.native.d.ts +2 -2
- package/lib/components/accordion/item/AccordionItem.native.js +38 -36
- package/lib/components/accordion/item/AccordionItem.native.js.map +1 -1
- package/lib/components/alert/Alert.d.ts +1 -1
- package/lib/components/alert/Alert.js +13 -13
- package/lib/components/alert/Alert.js.map +1 -1
- package/lib/components/alert/Alert.native.d.ts +2 -2
- package/lib/components/alert/Alert.native.js +29 -22
- package/lib/components/alert/Alert.native.js.map +1 -1
- package/lib/components/autocomplete/AutoComplete.native.d.ts +2 -2
- package/lib/components/autocomplete/AutoComplete.native.js +19 -14
- package/lib/components/autocomplete/AutoComplete.native.js.map +1 -1
- package/lib/components/autocomplete/AutoCompleteProps.d.ts +2 -1
- package/lib/components/autocomplete/AutoCompleteProps.js +1 -1
- package/lib/components/autocomplete/AutoCompleteProps.js.map +1 -1
- package/lib/components/autocomplete/index.d.ts +1 -0
- package/lib/components/autocomplete/index.js +1 -0
- package/lib/components/autocomplete/index.js.map +1 -1
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +3 -3
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +6 -6
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js.map +1 -1
- package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +2 -2
- package/lib/components/autocomplete/item/AutoCompleteItem.js +6 -6
- package/lib/components/autocomplete/item/AutoCompleteItem.js.map +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +2 -2
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +7 -7
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js.map +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +3 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +8 -8
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js.map +1 -1
- package/lib/components/autolayout/AutoLayout.d.ts +2 -2
- package/lib/components/autolayout/AutoLayout.helpers.d.ts +6 -6
- package/lib/components/autolayout/AutoLayout.helpers.js +24 -14
- package/lib/components/autolayout/AutoLayout.helpers.js.map +1 -1
- package/lib/components/autolayout/AutoLayout.js +2 -2
- package/lib/components/autolayout/AutoLayout.js.map +1 -1
- package/lib/components/autolayout/AutoLayout.native.d.ts +2 -2
- package/lib/components/autolayout/AutoLayout.native.js +7 -7
- package/lib/components/autolayout/AutoLayout.native.js.map +1 -1
- package/lib/components/autolayout/AutoLayoutProps.d.ts +4 -4
- package/lib/components/autolayout/AutoLayoutWrapper.d.ts +2 -2
- package/lib/components/autolayout/AutoLayoutWrapper.js +3 -3
- package/lib/components/autolayout/AutoLayoutWrapper.js.map +1 -1
- package/lib/components/autolayout/DefaultSpacingMatrix.d.ts +1 -1
- package/lib/components/autolayout/DefaultSpacingMatrix.js +6 -0
- package/lib/components/autolayout/DefaultSpacingMatrix.js.map +1 -1
- package/lib/components/badge/Badge.d.ts +1 -1
- package/lib/components/badge/Badge.js +15 -13
- package/lib/components/badge/Badge.js.map +1 -1
- package/lib/components/badge/Badge.native.d.ts +2 -2
- package/lib/components/badge/Badge.native.js +15 -13
- package/lib/components/badge/Badge.native.js.map +1 -1
- package/lib/components/badge/BadgeEnum.d.ts +1 -2
- package/lib/components/badge/BadgeEnum.js +1 -2
- package/lib/components/badge/BadgeEnum.js.map +1 -1
- package/lib/components/box/Box.native.d.ts +2 -2
- package/lib/components/box/Box.native.js +34 -27
- package/lib/components/box/Box.native.js.map +1 -1
- package/lib/components/box/content/BoxContent.d.ts +1 -1
- package/lib/components/box/content/BoxContent.js +7 -7
- package/lib/components/box/content/BoxContent.js.map +1 -1
- package/lib/components/box/content/BoxContent.native.d.ts +2 -2
- package/lib/components/box/content/BoxContent.native.js +9 -7
- package/lib/components/box/content/BoxContent.native.js.map +1 -1
- package/lib/components/box/footer/BoxFooter.d.ts +1 -1
- package/lib/components/box/footer/BoxFooter.js +7 -7
- package/lib/components/box/footer/BoxFooter.js.map +1 -1
- package/lib/components/box/footer/BoxFooter.native.d.ts +2 -2
- package/lib/components/box/footer/BoxFooter.native.js +9 -7
- package/lib/components/box/footer/BoxFooter.native.js.map +1 -1
- package/lib/components/box/header/BoxHeader.d.ts +1 -1
- package/lib/components/box/header/BoxHeader.js +9 -9
- package/lib/components/box/header/BoxHeader.js.map +1 -1
- package/lib/components/box/header/BoxHeader.native.d.ts +2 -2
- package/lib/components/box/header/BoxHeader.native.js +18 -13
- package/lib/components/box/header/BoxHeader.native.js.map +1 -1
- package/lib/components/box/item/BoxItem.d.ts +1 -1
- package/lib/components/box/item/BoxItem.js +5 -5
- package/lib/components/box/item/BoxItem.js.map +1 -1
- package/lib/components/box/item/BoxItem.native.d.ts +2 -2
- package/lib/components/box/item/BoxItem.native.js +6 -6
- package/lib/components/box/item/BoxItem.native.js.map +1 -1
- package/lib/components/box/table-container/BoxTableContainer.d.ts +1 -1
- package/lib/components/box/table-container/BoxTableContainer.js +5 -5
- package/lib/components/box/table-container/BoxTableContainer.js.map +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +2 -2
- package/lib/components/box/table-container/BoxTableContainer.native.js +3 -3
- package/lib/components/box/table-container/BoxTableContainer.native.js.map +1 -1
- package/lib/components/breadcrumb/Breadcrumb.d.ts +1 -1
- package/lib/components/breadcrumb/Breadcrumb.js +5 -5
- package/lib/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/Breadcrumb.native.d.ts +2 -2
- package/lib/components/breadcrumb/Breadcrumb.native.js +6 -6
- package/lib/components/breadcrumb/Breadcrumb.native.js.map +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +8 -8
- package/lib/components/breadcrumb/item/BreadcrumbItem.js.map +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +2 -2
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +8 -6
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js.map +1 -1
- package/lib/components/button/Button.d.ts +2 -2
- package/lib/components/button/Button.js +20 -20
- package/lib/components/button/Button.js.map +1 -1
- package/lib/components/button/Button.native.d.ts +2 -2
- package/lib/components/button/Button.native.js +118 -82
- package/lib/components/button/Button.native.js.map +1 -1
- package/lib/components/button/ButtonEnum.d.ts +6 -5
- package/lib/components/button/ButtonEnum.js +8 -7
- package/lib/components/button/ButtonEnum.js.map +1 -1
- package/lib/components/button/ButtonProps.d.ts +2 -2
- package/lib/components/button/list/ButtonList.d.ts +1 -1
- package/lib/components/button/list/ButtonList.js +6 -6
- package/lib/components/button/list/ButtonList.js.map +1 -1
- package/lib/components/button/list/ButtonList.native.d.ts +3 -3
- package/lib/components/button/list/ButtonList.native.js +9 -9
- package/lib/components/button/list/ButtonList.native.js.map +1 -1
- package/lib/components/card/Card.native.d.ts +3 -3
- package/lib/components/card/Card.native.js +36 -26
- package/lib/components/card/Card.native.js.map +1 -1
- package/lib/components/card/content/CardContent.d.ts +2 -2
- package/lib/components/card/content/CardContent.js +12 -12
- package/lib/components/card/content/CardContent.js.map +1 -1
- package/lib/components/card/content/CardContent.native.d.ts +1 -1
- package/lib/components/card/content/CardContent.native.js +7 -7
- package/lib/components/card/content/CardContent.native.js.map +1 -1
- package/lib/components/card/content/CardContentProps.d.ts +2 -2
- package/lib/components/card/image/CardImage.d.ts +1 -1
- package/lib/components/card/image/CardImage.js +8 -8
- package/lib/components/card/image/CardImage.js.map +1 -1
- package/lib/components/checkbox/Checkbox.d.ts +2 -2
- package/lib/components/checkbox/Checkbox.js +16 -49
- package/lib/components/checkbox/Checkbox.js.map +1 -1
- package/lib/components/checkbox/Checkbox.native.d.ts +3 -6
- package/lib/components/checkbox/Checkbox.native.js +91 -79
- package/lib/components/checkbox/Checkbox.native.js.map +1 -1
- package/lib/components/checkbox/CheckboxProps.d.ts +1 -25
- package/lib/components/chips/Chips.d.ts +1 -1
- package/lib/components/chips/Chips.js +7 -7
- package/lib/components/chips/Chips.js.map +1 -1
- package/lib/components/chips/Chips.native.d.ts +2 -2
- package/lib/components/chips/Chips.native.js +16 -16
- package/lib/components/chips/Chips.native.js.map +1 -1
- package/lib/components/chips/list/ChipsList.d.ts +1 -1
- package/lib/components/chips/list/ChipsList.js +6 -6
- package/lib/components/chips/list/ChipsList.js.map +1 -1
- package/lib/components/columns/Columns.d.ts +1 -1
- package/lib/components/columns/Columns.js +6 -6
- package/lib/components/columns/Columns.js.map +1 -1
- package/lib/components/columns/item/ColumnsItem.d.ts +1 -1
- package/lib/components/columns/item/ColumnsItem.js +7 -7
- package/lib/components/columns/item/ColumnsItem.js.map +1 -1
- package/lib/components/container/Container.d.ts +1 -1
- package/lib/components/container/Container.js +10 -10
- package/lib/components/container/Container.js.map +1 -1
- package/lib/components/container/Container.native.d.ts +2 -2
- package/lib/components/container/Container.native.js +19 -12
- package/lib/components/container/Container.native.js.map +1 -1
- package/lib/components/countdown/Countdown.native.js +1 -1
- package/lib/components/countdown/Countdown.native.js.map +1 -1
- package/lib/components/disclaimer/Disclaimer.d.ts +1 -1
- package/lib/components/disclaimer/Disclaimer.js +13 -13
- package/lib/components/disclaimer/Disclaimer.js.map +1 -1
- package/lib/components/disclaimer/Disclaimer.native.d.ts +2 -2
- package/lib/components/disclaimer/Disclaimer.native.js +6 -6
- package/lib/components/disclaimer/Disclaimer.native.js.map +1 -1
- package/lib/components/disclaimer/item/DisclaimerItem.d.ts +1 -1
- package/lib/components/disclaimer/item/DisclaimerItem.js +5 -5
- package/lib/components/disclaimer/item/DisclaimerItem.js.map +1 -1
- package/lib/components/disclaimer/item/DisclaimerItem.native.d.ts +2 -2
- package/lib/components/disclaimer/item/DisclaimerItem.native.js +5 -5
- package/lib/components/disclaimer/item/DisclaimerItem.native.js.map +1 -1
- package/lib/components/divider/Divider.d.ts +1 -1
- package/lib/components/divider/Divider.js +9 -9
- package/lib/components/divider/Divider.js.map +1 -1
- package/lib/components/divider/Divider.native.d.ts +2 -2
- package/lib/components/divider/Divider.native.js +24 -20
- package/lib/components/divider/Divider.native.js.map +1 -1
- package/lib/components/dropdown/divider/DropdownDivider.d.ts +1 -1
- package/lib/components/dropdown/divider/DropdownDivider.js +6 -6
- package/lib/components/dropdown/divider/DropdownDivider.js.map +1 -1
- package/lib/components/dropdown/divider/DropdownDivider.native.d.ts +1 -1
- package/lib/components/dropdown/divider/DropdownDivider.native.js +3 -3
- package/lib/components/dropdown/divider/DropdownDivider.native.js.map +1 -1
- package/lib/components/dropdown/item/DropdownItem.native.d.ts +3 -3
- package/lib/components/dropdown/item/DropdownItem.native.js +3 -3
- package/lib/components/dropdown/item/DropdownItem.native.js.map +1 -1
- package/lib/components/dropdown/menu/DropdownMenu.d.ts +1 -1
- package/lib/components/dropdown/menu/DropdownMenu.js +6 -6
- package/lib/components/dropdown/menu/DropdownMenu.js.map +1 -1
- package/lib/components/dropdown/menu/DropdownMenu.native.d.ts +1 -1
- package/lib/components/dropdown/menu/DropdownMenu.native.js +2 -2
- package/lib/components/dropdown/menu/DropdownMenu.native.js.map +1 -1
- package/lib/components/enumsComponentsName.d.ts +1 -22
- package/lib/components/enumsComponentsName.js +1 -22
- package/lib/components/enumsComponentsName.js.map +1 -1
- package/lib/components/fab/Fab.d.ts +3 -2
- package/lib/components/fab/Fab.js +16 -15
- package/lib/components/fab/Fab.js.map +1 -1
- package/lib/components/fab/Fab.native.d.ts +4 -3
- package/lib/components/fab/Fab.native.js +22 -21
- package/lib/components/fab/Fab.native.js.map +1 -1
- package/lib/components/fab/FabProps.d.ts +4 -3
- package/lib/components/hero/Hero.d.ts +2 -2
- package/lib/components/hero/Hero.js +13 -11
- package/lib/components/hero/Hero.js.map +1 -1
- package/lib/components/hero/Hero.native.d.ts +3 -3
- package/lib/components/hero/Hero.native.js +28 -20
- package/lib/components/hero/Hero.native.js.map +1 -1
- package/lib/components/icon/Icon.d.ts +1 -1
- package/lib/components/icon/Icon.js +22 -18
- package/lib/components/icon/Icon.js.map +1 -1
- package/lib/components/icon/Icon.native.d.ts +2 -2
- package/lib/components/icon/Icon.native.js +33 -27
- package/lib/components/icon/Icon.native.js.map +1 -1
- package/lib/components/icon/IconEnum.d.ts +4 -7
- package/lib/components/icon/IconEnum.js +3 -6
- package/lib/components/icon/IconEnum.js.map +1 -1
- package/lib/components/icon/IconNameEnum.d.ts +1 -0
- package/lib/components/icon/IconNameEnum.js +1 -0
- package/lib/components/icon/IconNameEnum.js.map +1 -1
- package/lib/components/icon/circle/CircleIcon.d.ts +2 -2
- package/lib/components/icon/circle/CircleIcon.js +11 -11
- package/lib/components/icon/circle/CircleIcon.js.map +1 -1
- package/lib/components/icon/circle/CircleIcon.native.d.ts +2 -2
- package/lib/components/icon/circle/CircleIcon.native.js +22 -18
- package/lib/components/icon/circle/CircleIcon.native.js.map +1 -1
- package/lib/components/icon/status/StatusIcon.d.ts +2 -2
- package/lib/components/icon/status/StatusIcon.js +11 -13
- package/lib/components/icon/status/StatusIcon.js.map +1 -1
- package/lib/components/icon/text/TextIcon.d.ts +1 -1
- package/lib/components/icon/text/TextIcon.js +16 -14
- package/lib/components/icon/text/TextIcon.js.map +1 -1
- package/lib/components/image/Image.d.ts +1 -1
- package/lib/components/image/Image.js +7 -7
- package/lib/components/image/Image.js.map +1 -1
- package/lib/components/image/Image.native.d.ts +2 -2
- package/lib/components/image/Image.native.js +10 -9
- package/lib/components/image/Image.native.js.map +1 -1
- package/lib/components/index.d.ts +55 -60
- package/lib/components/index.js +55 -60
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/Input.d.ts +3 -2
- package/lib/components/input/Input.js +76 -66
- package/lib/components/input/Input.js.map +1 -1
- package/lib/components/input/Input.native.d.ts +5 -3
- package/lib/components/input/Input.native.js +216 -131
- package/lib/components/input/Input.native.js.map +1 -1
- package/lib/components/input/InputProps.d.ts +6 -7
- package/lib/components/input/index.d.ts +1 -0
- package/lib/components/input/index.js +1 -0
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/link/Link.d.ts +2 -4
- package/lib/components/link/Link.js +13 -15
- package/lib/components/link/Link.js.map +1 -1
- package/lib/components/link/Link.native.d.ts +3 -4
- package/lib/components/link/Link.native.js +75 -49
- package/lib/components/link/Link.native.js.map +1 -1
- package/lib/components/link/LinkProps.d.ts +0 -5
- package/lib/components/list/List.d.ts +1 -1
- package/lib/components/list/List.js +5 -5
- package/lib/components/list/List.js.map +1 -1
- package/lib/components/list/List.native.d.ts +2 -2
- package/lib/components/list/List.native.js +3 -3
- package/lib/components/list/List.native.js.map +1 -1
- package/lib/components/list/item/ListItem.d.ts +1 -1
- package/lib/components/list/item/ListItem.js +8 -8
- package/lib/components/list/item/ListItem.js.map +1 -1
- package/lib/components/list/item/ListItem.native.d.ts +3 -3
- package/lib/components/list/item/ListItem.native.js +20 -20
- package/lib/components/list/item/ListItem.native.js.map +1 -1
- package/lib/components/list/item/description/ListItemDescription.d.ts +2 -2
- package/lib/components/list/item/description/ListItemDescription.js +5 -5
- package/lib/components/list/item/description/ListItemDescription.js.map +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +3 -3
- package/lib/components/list/item/description/ListItemDescription.native.js +6 -6
- package/lib/components/list/item/description/ListItemDescription.native.js.map +1 -1
- package/lib/components/modal/Modal.d.ts +1 -1
- package/lib/components/modal/Modal.js +31 -28
- package/lib/components/modal/Modal.js.map +1 -1
- package/lib/components/modal/Modal.native.d.ts +2 -2
- package/lib/components/modal/Modal.native.js +57 -41
- package/lib/components/modal/Modal.native.js.map +1 -1
- package/lib/components/modal/ModalFooter.d.ts +2 -2
- package/lib/components/modal/ModalFooter.js +6 -6
- package/lib/components/modal/ModalFooter.js.map +1 -1
- package/lib/components/modal/ModalTitle.d.ts +2 -2
- package/lib/components/modal/ModalTitle.js +7 -7
- package/lib/components/modal/ModalTitle.js.map +1 -1
- package/lib/components/notification/Notification.d.ts +1 -1
- package/lib/components/notification/Notification.js +23 -18
- package/lib/components/notification/Notification.js.map +1 -1
- package/lib/components/notification/Notification.native.d.ts +2 -2
- package/lib/components/notification/Notification.native.js +40 -40
- package/lib/components/notification/Notification.native.js.map +1 -1
- package/lib/components/notification/NotificationEnum.js +10 -9
- package/lib/components/notification/NotificationEnum.js.map +1 -1
- package/lib/components/notification/deletable/DeletableNotification.d.ts +2 -2
- package/lib/components/notification/deletable/DeletableNotification.js +2 -2
- package/lib/components/notification/deletable/DeletableNotification.js.map +1 -1
- package/lib/components/notification/deletable/DeletableNotification.native.d.ts +3 -3
- package/lib/components/notification/deletable/DeletableNotification.native.js +33 -33
- package/lib/components/notification/deletable/DeletableNotification.native.js.map +1 -1
- package/lib/components/otp/Otp.d.ts +2 -3
- package/lib/components/otp/Otp.js +28 -27
- package/lib/components/otp/Otp.js.map +1 -1
- package/lib/components/otp/Otp.native.d.ts +2 -2
- package/lib/components/otp/Otp.native.js +38 -38
- package/lib/components/otp/Otp.native.js.map +1 -1
- package/lib/components/pagination/Pagination.native.d.ts +2 -2
- package/lib/components/pagination/Pagination.native.js +32 -32
- package/lib/components/pagination/Pagination.native.js.map +1 -1
- package/lib/components/popover/Popover.d.ts +1 -1
- package/lib/components/popover/Popover.js +7 -7
- package/lib/components/popover/Popover.js.map +1 -1
- package/lib/components/popover/Popover.native.d.ts +3 -3
- package/lib/components/popover/Popover.native.js +41 -29
- package/lib/components/popover/Popover.native.js.map +1 -1
- package/lib/components/price/Price.d.ts +3 -4
- package/lib/components/price/Price.js +32 -51
- package/lib/components/price/Price.js.map +1 -1
- package/lib/components/price/Price.native.d.ts +3 -5
- package/lib/components/price/Price.native.js +63 -74
- package/lib/components/price/Price.native.js.map +1 -1
- package/lib/components/price/PriceEnum.d.ts +0 -5
- package/lib/components/price/PriceEnum.js +0 -5
- package/lib/components/price/PriceEnum.js.map +1 -1
- package/lib/components/price/PriceProps.d.ts +3 -6
- package/lib/components/product-tour/ProductTour.native.d.ts +1 -1
- package/lib/components/product-tour/ProductTour.native.js +3 -3
- package/lib/components/product-tour/ProductTour.native.js.map +1 -1
- package/lib/components/progress/Progress.d.ts +1 -1
- package/lib/components/progress/Progress.js +11 -11
- package/lib/components/progress/Progress.js.map +1 -1
- package/lib/components/progress/Progress.native.d.ts +2 -2
- package/lib/components/progress/Progress.native.js +26 -23
- package/lib/components/progress/Progress.native.js.map +1 -1
- package/lib/components/progress/item/ProgressItem.d.ts +1 -1
- package/lib/components/progress/item/ProgressItem.js +7 -7
- package/lib/components/progress/item/ProgressItem.js.map +1 -1
- package/lib/components/progress/radial/ProgressRadial.d.ts +1 -1
- package/lib/components/progress/radial/ProgressRadial.js +26 -19
- package/lib/components/progress/radial/ProgressRadial.js.map +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +2 -2
- package/lib/components/progress/radial/ProgressRadial.native.js +31 -28
- package/lib/components/progress/radial/ProgressRadial.native.js.map +1 -1
- package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -3
- package/lib/components/progress/radial/item/ProgressRadialtem.d.ts +2 -2
- package/lib/components/progress/radial/item/ProgressRadialtem.js +5 -5
- package/lib/components/progress/radial/item/ProgressRadialtem.js.map +1 -1
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.ts +1 -1
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js +5 -5
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js.map +1 -1
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.d.ts +1 -1
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js +47 -21
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js.map +1 -1
- package/lib/components/radio/Radio.d.ts +2 -2
- package/lib/components/radio/Radio.js +18 -49
- package/lib/components/radio/Radio.js.map +1 -1
- package/lib/components/radio/Radio.native.d.ts +4 -6
- package/lib/components/radio/Radio.native.js +86 -76
- package/lib/components/radio/Radio.native.js.map +1 -1
- package/lib/components/radio/RadioProps.d.ts +0 -16
- package/lib/components/radio/list/RadioList.d.ts +1 -1
- package/lib/components/radio/list/RadioList.js +6 -6
- package/lib/components/radio/list/RadioList.js.map +1 -1
- package/lib/components/radio/list/RadioList.native.d.ts +3 -3
- package/lib/components/radio/list/RadioList.native.js +9 -9
- package/lib/components/radio/list/RadioList.native.js.map +1 -1
- package/lib/components/range/Range.d.ts +4 -2
- package/lib/components/range/Range.js +31 -29
- package/lib/components/range/Range.js.map +1 -1
- package/lib/components/range/Range.native.d.ts +3 -3
- package/lib/components/range/Range.native.js +19 -15
- package/lib/components/range/Range.native.js.map +1 -1
- package/lib/components/range/RangeProps.d.ts +10 -7
- package/lib/components/rows/Rows.d.ts +1 -1
- package/lib/components/rows/Rows.js +5 -5
- package/lib/components/rows/Rows.js.map +1 -1
- package/lib/components/rows/Rows.native.d.ts +2 -2
- package/lib/components/rows/Rows.native.js +5 -5
- package/lib/components/rows/Rows.native.js.map +1 -1
- package/lib/components/rows/item/RowItem.d.ts +1 -1
- package/lib/components/rows/item/RowItem.js +6 -6
- package/lib/components/rows/item/RowItem.js.map +1 -1
- package/lib/components/rows/item/RowItem.native.d.ts +2 -2
- package/lib/components/rows/item/RowItem.native.js +3 -3
- package/lib/components/rows/item/RowItem.native.js.map +1 -1
- package/lib/components/scroll-view/ScrollView.d.ts +2 -2
- package/lib/components/scroll-view/ScrollView.js +7 -7
- package/lib/components/scroll-view/ScrollView.js.map +1 -1
- package/lib/components/scroll-view/ScrollView.native.d.ts +3 -3
- package/lib/components/scroll-view/ScrollView.native.js +17 -10
- package/lib/components/scroll-view/ScrollView.native.js.map +1 -1
- package/lib/components/section/Section.native.d.ts +2 -2
- package/lib/components/section/Section.native.js +11 -9
- package/lib/components/section/Section.native.js.map +1 -1
- package/lib/components/segment-control/SegmentControl.native.d.ts +2 -2
- package/lib/components/segment-control/SegmentControl.native.js +14 -15
- package/lib/components/segment-control/SegmentControl.native.js.map +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +2 -2
- package/lib/components/segment-control/item/SegmentControlItem.native.js +18 -15
- package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
- package/lib/components/select/Select.d.ts +1 -1
- package/lib/components/select/Select.js +7 -7
- package/lib/components/select/Select.js.map +1 -1
- package/lib/components/select/Select.native.d.ts +2 -2
- package/lib/components/select/Select.native.js +37 -29
- package/lib/components/select/Select.native.js.map +1 -1
- package/lib/components/select/option/SelectNativeOption.d.ts +1 -1
- package/lib/components/select/option/SelectNativeOption.js +1 -1
- package/lib/components/select/option/SelectNativeOption.js.map +1 -1
- package/lib/components/select/option/SelectOption.d.ts +1 -1
- package/lib/components/select/option/SelectOption.js +7 -7
- package/lib/components/select/option/SelectOption.js.map +1 -1
- package/lib/components/select/option/SelectOption.native.d.ts +2 -2
- package/lib/components/select/option/SelectOption.native.js +4 -4
- package/lib/components/select/option/SelectOption.native.js.map +1 -1
- package/lib/components/select/web/SelectDynamic.d.ts +2 -2
- package/lib/components/select/web/SelectDynamic.js +15 -15
- package/lib/components/select/web/SelectDynamic.js.map +1 -1
- package/lib/components/select/web/SelectNative.d.ts +1 -1
- package/lib/components/select/web/SelectNative.js +8 -8
- package/lib/components/select/web/SelectNative.js.map +1 -1
- package/lib/components/selector/item/SelectorItem.native.js +7 -7
- package/lib/components/selector/item/SelectorItem.native.js.map +1 -1
- package/lib/components/slider/Slider.d.ts +1 -2
- package/lib/components/slider/Slider.js +15 -16
- package/lib/components/slider/Slider.js.map +1 -1
- package/lib/components/slider/Slider.native.d.ts +2 -2
- package/lib/components/slider/Slider.native.js +33 -26
- package/lib/components/slider/Slider.native.js.map +1 -1
- package/lib/components/slider/index.d.ts +2 -0
- package/lib/components/slider/index.js +1 -0
- package/lib/components/slider/index.js.map +1 -1
- package/lib/components/slider/item/SliderItem.d.ts +1 -1
- package/lib/components/slider/item/SliderItem.js +7 -7
- package/lib/components/slider/item/SliderItem.js.map +1 -1
- package/lib/components/slider/item/SliderItem.native.d.ts +2 -2
- package/lib/components/slider/item/SliderItem.native.js +4 -4
- package/lib/components/slider/item/SliderItem.native.js.map +1 -1
- package/lib/components/spacer/Spacer.d.ts +1 -1
- package/lib/components/spacer/Spacer.js +3 -3
- package/lib/components/spacer/Spacer.js.map +1 -1
- package/lib/components/spacer/Spacer.native.d.ts +2 -2
- package/lib/components/spacer/Spacer.native.js +3 -3
- package/lib/components/spacer/Spacer.native.js.map +1 -1
- package/lib/components/stepper/Stepper.d.ts +1 -1
- package/lib/components/stepper/Stepper.js +7 -7
- package/lib/components/stepper/Stepper.js.map +1 -1
- package/lib/components/stepper/Stepper.native.d.ts +2 -2
- package/lib/components/stepper/Stepper.native.js +30 -19
- package/lib/components/stepper/Stepper.native.js.map +1 -1
- package/lib/components/stepper/step/StepperStep.native.d.ts +2 -2
- package/lib/components/stepper/step/StepperStep.native.js +9 -9
- package/lib/components/stepper/step/StepperStep.native.js.map +1 -1
- package/lib/components/sticker/Sticker.d.ts +2 -3
- package/lib/components/sticker/Sticker.js +12 -12
- package/lib/components/sticker/Sticker.js.map +1 -1
- package/lib/components/sticker/Sticker.native.d.ts +2 -2
- package/lib/components/sticker/Sticker.native.js +36 -26
- package/lib/components/sticker/Sticker.native.js.map +1 -1
- package/lib/components/switch/Switch.d.ts +1 -1
- package/lib/components/switch/Switch.js +16 -10
- package/lib/components/switch/Switch.js.map +1 -1
- package/lib/components/switch/Switch.native.d.ts +2 -2
- package/lib/components/switch/Switch.native.js +14 -12
- package/lib/components/switch/Switch.native.js.map +1 -1
- package/lib/components/table/Table.d.ts +1 -1
- package/lib/components/table/Table.js +6 -6
- package/lib/components/table/Table.js.map +1 -1
- package/lib/components/table/Table.native.d.ts +2 -2
- package/lib/components/table/Table.native.js +13 -9
- package/lib/components/table/Table.native.js.map +1 -1
- package/lib/components/table/body/TableBody.d.ts +1 -1
- package/lib/components/table/body/TableBody.js +7 -8
- package/lib/components/table/body/TableBody.js.map +1 -1
- package/lib/components/table/body/TableBody.native.d.ts +2 -2
- package/lib/components/table/body/TableBody.native.js +6 -6
- package/lib/components/table/body/TableBody.native.js.map +1 -1
- package/lib/components/table/head/TableHead.d.ts +1 -1
- package/lib/components/table/head/TableHead.js +7 -7
- package/lib/components/table/head/TableHead.js.map +1 -1
- package/lib/components/table/head/TableHead.native.d.ts +2 -2
- package/lib/components/table/head/TableHead.native.js +6 -6
- package/lib/components/table/head/TableHead.native.js.map +1 -1
- package/lib/components/table/td/TableTd.d.ts +1 -1
- package/lib/components/table/td/TableTd.js +5 -5
- package/lib/components/table/td/TableTd.js.map +1 -1
- package/lib/components/table/td/TableTd.native.d.ts +2 -2
- package/lib/components/table/td/TableTd.native.js +9 -9
- package/lib/components/table/td/TableTd.native.js.map +1 -1
- package/lib/components/table/th/TableTh.d.ts +1 -1
- package/lib/components/table/th/TableTh.js +5 -5
- package/lib/components/table/th/TableTh.js.map +1 -1
- package/lib/components/table/th/TableTh.native.d.ts +2 -2
- package/lib/components/table/th/TableTh.native.js +10 -10
- package/lib/components/table/th/TableTh.native.js.map +1 -1
- package/lib/components/table/tr/TableTr.d.ts +1 -1
- package/lib/components/table/tr/TableTr.js +7 -7
- package/lib/components/table/tr/TableTr.js.map +1 -1
- package/lib/components/table/tr/TableTr.native.js +6 -5
- package/lib/components/table/tr/TableTr.native.js.map +1 -1
- package/lib/components/tabs/Tabs.native.js +1 -1
- package/lib/components/tabs/Tabs.native.js.map +1 -1
- package/lib/components/tabs/item/TabsItem.d.ts +1 -1
- package/lib/components/tabs/item/TabsItem.js +12 -13
- package/lib/components/tabs/item/TabsItem.js.map +1 -1
- package/lib/components/tabs/item/TabsItem.native.d.ts +2 -2
- package/lib/components/tabs/item/TabsItem.native.js +26 -20
- package/lib/components/tabs/item/TabsItem.native.js.map +1 -1
- package/lib/components/tag/Tag.d.ts +1 -1
- package/lib/components/tag/Tag.js +14 -10
- package/lib/components/tag/Tag.js.map +1 -1
- package/lib/components/tag/Tag.native.d.ts +2 -2
- package/lib/components/tag/Tag.native.js +22 -18
- package/lib/components/tag/Tag.native.js.map +1 -1
- package/lib/components/tag/TagEnum.d.ts +0 -1
- package/lib/components/tag/TagEnum.js +0 -1
- package/lib/components/tag/TagEnum.js.map +1 -1
- package/lib/components/tag/list/TagList.d.ts +1 -1
- package/lib/components/tag/list/TagList.js +6 -6
- package/lib/components/tag/list/TagList.js.map +1 -1
- package/lib/components/tag/list/TagList.native.d.ts +2 -2
- package/lib/components/tag/list/TagList.native.js +12 -8
- package/lib/components/tag/list/TagList.native.js.map +1 -1
- package/lib/components/text/Text.d.ts +1 -1
- package/lib/components/text/Text.js +14 -13
- package/lib/components/text/Text.js.map +1 -1
- package/lib/components/text/Text.native.d.ts +2 -2
- package/lib/components/text/Text.native.js +35 -28
- package/lib/components/text/Text.native.js.map +1 -1
- package/lib/components/textarea/Textarea.native.d.ts +2 -2
- package/lib/components/textarea/Textarea.native.js +43 -36
- package/lib/components/textarea/Textarea.native.js.map +1 -1
- package/lib/components/timeline/Timeline.d.ts +1 -1
- package/lib/components/timeline/Timeline.js +6 -6
- package/lib/components/timeline/Timeline.js.map +1 -1
- package/lib/components/timeline/Timeline.native.d.ts +3 -3
- package/lib/components/timeline/Timeline.native.js +4 -4
- package/lib/components/timeline/Timeline.native.js.map +1 -1
- package/lib/components/timeline/content/TimelineContent.d.ts +1 -1
- package/lib/components/timeline/content/TimelineContent.js +7 -7
- package/lib/components/timeline/content/TimelineContent.js.map +1 -1
- package/lib/components/timeline/content/TimelineContent.native.d.ts +2 -2
- package/lib/components/timeline/content/TimelineContent.native.js +13 -11
- package/lib/components/timeline/content/TimelineContent.native.js.map +1 -1
- package/lib/components/timeline/item/TimelineItem.d.ts +1 -1
- package/lib/components/timeline/item/TimelineItem.js +5 -5
- package/lib/components/timeline/item/TimelineItem.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarker.d.ts +1 -1
- package/lib/components/timeline/marker/TimelineMarker.js +8 -8
- package/lib/components/timeline/marker/TimelineMarker.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +3 -3
- package/lib/components/timeline/marker/TimelineMarker.native.js +26 -26
- package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
- package/lib/components/title/Title.native.d.ts +2 -2
- package/lib/components/title/Title.native.js +37 -31
- package/lib/components/title/Title.native.js.map +1 -1
- package/lib/components/toaster/Toaster.native.d.ts +2 -2
- package/lib/components/toaster/Toaster.native.js +17 -17
- package/lib/components/toaster/Toaster.native.js.map +1 -1
- package/lib/components/toaster/ToasterEnum.js +10 -9
- package/lib/components/toaster/ToasterEnum.js.map +1 -1
- package/lib/components/toaster/context/ToasterContext.d.ts +2 -2
- package/lib/components/toaster/context/ToasterContext.js +5 -2
- package/lib/components/toaster/context/ToasterContext.js.map +1 -1
- package/lib/components/toolbar/Toolbar.d.ts +1 -1
- package/lib/components/toolbar/Toolbar.js +7 -7
- package/lib/components/toolbar/Toolbar.js.map +1 -1
- package/lib/components/toolbar/group/ToolbarGroup.d.ts +1 -1
- package/lib/components/toolbar/group/ToolbarGroup.js +6 -6
- package/lib/components/toolbar/group/ToolbarGroup.js.map +1 -1
- package/lib/components/toolbar/item/ToolbarItem.d.ts +1 -1
- package/lib/components/toolbar/item/ToolbarItem.js +6 -6
- package/lib/components/toolbar/item/ToolbarItem.js.map +1 -1
- package/lib/components/toolbar/space/ToolbarSpace.d.ts +1 -1
- package/lib/components/toolbar/space/ToolbarSpace.js +5 -5
- package/lib/components/toolbar/space/ToolbarSpace.js.map +1 -1
- package/lib/components/view/View.d.ts +1 -1
- package/lib/components/view/View.js +16 -11
- package/lib/components/view/View.js.map +1 -1
- package/lib/components/view/View.native.d.ts +2 -2
- package/lib/components/view/View.native.js +14 -12
- package/lib/components/view/View.native.js.map +1 -1
- package/lib/context/index.d.ts +1 -1
- package/lib/context/index.js +2 -2
- package/lib/context/index.js.map +1 -1
- package/lib/context/interfaces.d.ts +1 -3
- package/lib/context/providerStyled.d.ts +2 -2
- package/lib/context/providerStyled.js +8 -8
- package/lib/context/providerStyled.js.map +1 -1
- package/lib/context/providerStyledMangled.d.ts +3 -3
- package/lib/context/providerStyledMangled.js +6 -6
- package/lib/context/providerStyledMangled.js.map +1 -1
- package/lib/context/providerTheme.js +1 -0
- package/lib/context/providerTheme.js.map +1 -1
- package/lib/context/providerTheme.native.d.ts +3 -23
- package/lib/context/providerTheme.native.js +8 -24
- package/lib/context/providerTheme.native.js.map +1 -1
- package/lib/objects/Typography/TypographyBold.d.ts +2 -1
- package/lib/objects/Typography/TypographyBold.js +1 -0
- package/lib/objects/Typography/TypographyBold.js.map +1 -1
- package/lib/objects/Typography/TypographyColor.d.ts +4 -8
- package/lib/objects/Typography/TypographyColor.js +33 -40
- package/lib/objects/Typography/TypographyColor.js.map +1 -1
- package/lib/objects/atoms/Background.d.ts +3 -3
- package/lib/objects/atoms/Background.js +1 -1
- package/lib/objects/atoms/Background.js.map +1 -1
- package/lib/objects/atoms/Text.d.ts +3 -9
- package/lib/objects/atoms/Text.js +22 -44
- package/lib/objects/atoms/Text.js.map +1 -1
- package/lib/objects/facets/Color.d.ts +25 -25
- package/lib/objects/facets/Color.js +75 -116
- package/lib/objects/facets/Color.js.map +1 -1
- package/lib/objects/facets/Color.native.d.ts +19 -18
- package/lib/objects/facets/Color.native.js +51 -75
- package/lib/objects/facets/Color.native.js.map +1 -1
- package/lib/objects/facets/Variant.d.ts +2 -3
- package/lib/objects/facets/Variant.js +28 -19
- package/lib/objects/facets/Variant.js.map +1 -1
- package/lib/tsconfig.json +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +9 -5
- package/lib/components/info-block/InfoBlock.d.ts +0 -12
- package/lib/components/info-block/InfoBlock.js +0 -25
- package/lib/components/info-block/InfoBlock.js.map +0 -1
- package/lib/components/info-block/InfoBlock.native.d.ts +0 -14
- package/lib/components/info-block/InfoBlock.native.js +0 -51
- package/lib/components/info-block/InfoBlock.native.js.map +0 -1
- package/lib/components/info-block/InfoBlockEnum.d.ts +0 -6
- package/lib/components/info-block/InfoBlockEnum.js +0 -7
- package/lib/components/info-block/InfoBlockEnum.js.map +0 -1
- package/lib/components/info-block/InfoBlockProps.d.ts +0 -7
- package/lib/components/info-block/InfoBlockProps.js +0 -2
- package/lib/components/info-block/InfoBlockProps.js.map +0 -1
- package/lib/components/info-block/action/InfoBlockAction.d.ts +0 -11
- package/lib/components/info-block/action/InfoBlockAction.js +0 -20
- package/lib/components/info-block/action/InfoBlockAction.js.map +0 -1
- package/lib/components/info-block/action/InfoBlockAction.native.d.ts +0 -12
- package/lib/components/info-block/action/InfoBlockAction.native.js +0 -20
- package/lib/components/info-block/action/InfoBlockAction.native.js.map +0 -1
- package/lib/components/info-block/action/InfoBlockActionProps.d.ts +0 -6
- package/lib/components/info-block/action/InfoBlockActionProps.js +0 -2
- package/lib/components/info-block/action/InfoBlockActionProps.js.map +0 -1
- package/lib/components/info-block/action/index.d.ts +0 -2
- package/lib/components/info-block/action/index.js +0 -3
- package/lib/components/info-block/action/index.js.map +0 -1
- package/lib/components/info-block/content/InfoBlockContent.d.ts +0 -11
- package/lib/components/info-block/content/InfoBlockContent.js +0 -24
- package/lib/components/info-block/content/InfoBlockContent.js.map +0 -1
- package/lib/components/info-block/content/InfoBlockContent.native.d.ts +0 -12
- package/lib/components/info-block/content/InfoBlockContent.native.js +0 -21
- package/lib/components/info-block/content/InfoBlockContent.native.js.map +0 -1
- package/lib/components/info-block/content/InfoBlockContentProps.d.ts +0 -7
- package/lib/components/info-block/content/InfoBlockContentProps.js +0 -2
- package/lib/components/info-block/content/InfoBlockContentProps.js.map +0 -1
- package/lib/components/info-block/content/index.d.ts +0 -2
- package/lib/components/info-block/content/index.js +0 -3
- package/lib/components/info-block/content/index.js.map +0 -1
- package/lib/components/info-block/header/InfoBlockHeader.d.ts +0 -12
- package/lib/components/info-block/header/InfoBlockHeader.js +0 -36
- package/lib/components/info-block/header/InfoBlockHeader.js.map +0 -1
- package/lib/components/info-block/header/InfoBlockHeader.native.d.ts +0 -13
- package/lib/components/info-block/header/InfoBlockHeader.native.js +0 -43
- package/lib/components/info-block/header/InfoBlockHeader.native.js.map +0 -1
- package/lib/components/info-block/header/InfoBlockHeaderProps.d.ts +0 -9
- package/lib/components/info-block/header/InfoBlockHeaderProps.js +0 -2
- package/lib/components/info-block/header/InfoBlockHeaderProps.js.map +0 -1
- package/lib/components/info-block/header/index.d.ts +0 -2
- package/lib/components/info-block/header/index.js +0 -3
- package/lib/components/info-block/header/index.js.map +0 -1
- package/lib/components/info-block/index.d.ts +0 -6
- package/lib/components/info-block/index.js +0 -7
- package/lib/components/info-block/index.js.map +0 -1
- package/lib/components/menu/Menu.d.ts +0 -11
- package/lib/components/menu/Menu.js +0 -18
- package/lib/components/menu/Menu.js.map +0 -1
- package/lib/components/menu/Menu.native.d.ts +0 -12
- package/lib/components/menu/Menu.native.js +0 -30
- package/lib/components/menu/Menu.native.js.map +0 -1
- package/lib/components/menu/MenuProps.d.ts +0 -11
- package/lib/components/menu/MenuProps.js +0 -2
- package/lib/components/menu/MenuProps.js.map +0 -1
- package/lib/components/menu/index.d.ts +0 -6
- package/lib/components/menu/index.js +0 -7
- package/lib/components/menu/index.js.map +0 -1
- package/lib/components/menu/item/MenuItem.d.ts +0 -15
- package/lib/components/menu/item/MenuItem.js +0 -34
- package/lib/components/menu/item/MenuItem.js.map +0 -1
- package/lib/components/menu/item/MenuItem.native.d.ts +0 -12
- package/lib/components/menu/item/MenuItem.native.js +0 -49
- package/lib/components/menu/item/MenuItem.native.js.map +0 -1
- package/lib/components/menu/item/MenuItemProps.d.ts +0 -27
- package/lib/components/menu/item/MenuItemProps.js +0 -2
- package/lib/components/menu/item/MenuItemProps.js.map +0 -1
- package/lib/components/menu/item/index.d.ts +0 -2
- package/lib/components/menu/item/index.js +0 -3
- package/lib/components/menu/item/index.js.map +0 -1
- package/lib/components/menu/link/MenuLink.d.ts +0 -10
- package/lib/components/menu/link/MenuLink.js +0 -17
- package/lib/components/menu/link/MenuLink.js.map +0 -1
- package/lib/components/menu/link/MenuLink.native.d.ts +0 -14
- package/lib/components/menu/link/MenuLink.native.js +0 -37
- package/lib/components/menu/link/MenuLink.native.js.map +0 -1
- package/lib/components/menu/link/MenuLinkProps.d.ts +0 -7
- package/lib/components/menu/link/MenuLinkProps.js +0 -2
- package/lib/components/menu/link/MenuLinkProps.js.map +0 -1
- package/lib/components/menu/link/index.d.ts +0 -2
- package/lib/components/menu/link/index.js +0 -3
- package/lib/components/menu/link/index.js.map +0 -1
- package/lib/components/menu/scrolling/MenuScrolling.d.ts +0 -11
- package/lib/components/menu/scrolling/MenuScrolling.js +0 -25
- package/lib/components/menu/scrolling/MenuScrolling.js.map +0 -1
- package/lib/components/menu/scrolling/MenuScrolling.native.d.ts +0 -12
- package/lib/components/menu/scrolling/MenuScrolling.native.js +0 -13
- package/lib/components/menu/scrolling/MenuScrolling.native.js.map +0 -1
- package/lib/components/menu/scrolling/MenuScrollingProps.d.ts +0 -9
- package/lib/components/menu/scrolling/MenuScrollingProps.js +0 -2
- package/lib/components/menu/scrolling/MenuScrollingProps.js.map +0 -1
- package/lib/components/menu/scrolling/index.d.ts +0 -2
- package/lib/components/menu/scrolling/index.js +0 -3
- package/lib/components/menu/scrolling/index.js.map +0 -1
- package/lib/components/menu/subItem/SubMenuItem.d.ts +0 -9
- package/lib/components/menu/subItem/SubMenuItem.js +0 -15
- package/lib/components/menu/subItem/SubMenuItem.js.map +0 -1
- package/lib/components/menu/subItem/SubMenuItem.native.d.ts +0 -12
- package/lib/components/menu/subItem/SubMenuItem.native.js +0 -13
- package/lib/components/menu/subItem/SubMenuItem.native.js.map +0 -1
- package/lib/components/menu/subItem/SubMenuItemProps.d.ts +0 -14
- package/lib/components/menu/subItem/SubMenuItemProps.js +0 -2
- package/lib/components/menu/subItem/SubMenuItemProps.js.map +0 -1
- package/lib/components/menu/subItem/index.d.ts +0 -2
- package/lib/components/menu/subItem/index.js +0 -3
- package/lib/components/menu/subItem/index.js.map +0 -1
- package/lib/components/options/Options.d.ts +0 -10
- package/lib/components/options/Options.js +0 -18
- package/lib/components/options/Options.js.map +0 -1
- package/lib/components/options/Options.native.d.ts +0 -12
- package/lib/components/options/Options.native.js +0 -19
- package/lib/components/options/Options.native.js.map +0 -1
- package/lib/components/options/OptionsEnum.d.ts +0 -5
- package/lib/components/options/OptionsEnum.js +0 -6
- package/lib/components/options/OptionsEnum.js.map +0 -1
- package/lib/components/options/OptionsProps.d.ts +0 -10
- package/lib/components/options/OptionsProps.js +0 -2
- package/lib/components/options/OptionsProps.js.map +0 -1
- package/lib/components/options/index.d.ts +0 -4
- package/lib/components/options/index.js +0 -5
- package/lib/components/options/index.js.map +0 -1
- package/lib/components/options/item/OptionsItem.d.ts +0 -21
- package/lib/components/options/item/OptionsItem.js +0 -71
- package/lib/components/options/item/OptionsItem.js.map +0 -1
- package/lib/components/options/item/OptionsItem.native.d.ts +0 -22
- package/lib/components/options/item/OptionsItem.native.js +0 -150
- package/lib/components/options/item/OptionsItem.native.js.map +0 -1
- package/lib/components/options/item/OptionsItemProps.d.ts +0 -38
- package/lib/components/options/item/OptionsItemProps.js +0 -2
- package/lib/components/options/item/OptionsItemProps.js.map +0 -1
- package/lib/components/options/item/index.d.ts +0 -3
- package/lib/components/options/item/index.js +0 -4
- package/lib/components/options/item/index.js.map +0 -1
- package/lib/components/slice/Slice.d.ts +0 -14
- package/lib/components/slice/Slice.js +0 -27
- package/lib/components/slice/Slice.js.map +0 -1
- package/lib/components/slice/Slice.native.d.ts +0 -13
- package/lib/components/slice/Slice.native.js +0 -23
- package/lib/components/slice/Slice.native.js.map +0 -1
- package/lib/components/slice/SliceProps.d.ts +0 -9
- package/lib/components/slice/SliceProps.js +0 -2
- package/lib/components/slice/SliceProps.js.map +0 -1
- package/lib/components/slice/body/SliceBody.d.ts +0 -9
- package/lib/components/slice/body/SliceBody.js +0 -16
- package/lib/components/slice/body/SliceBody.js.map +0 -1
- package/lib/components/slice/body/SliceBody.native.d.ts +0 -13
- package/lib/components/slice/body/SliceBody.native.js +0 -14
- package/lib/components/slice/body/SliceBody.native.js.map +0 -1
- package/lib/components/slice/body/SliceBodyProps.d.ts +0 -5
- package/lib/components/slice/body/SliceBodyProps.js +0 -2
- package/lib/components/slice/body/SliceBodyProps.js.map +0 -1
- package/lib/components/slice/body/index.d.ts +0 -2
- package/lib/components/slice/body/index.js +0 -3
- package/lib/components/slice/body/index.js.map +0 -1
- package/lib/components/slice/content/SliceContent.d.ts +0 -10
- package/lib/components/slice/content/SliceContent.js +0 -17
- package/lib/components/slice/content/SliceContent.js.map +0 -1
- package/lib/components/slice/content/SliceContent.native.d.ts +0 -12
- package/lib/components/slice/content/SliceContent.native.js +0 -19
- package/lib/components/slice/content/SliceContent.native.js.map +0 -1
- package/lib/components/slice/content/SliceContentProps.d.ts +0 -5
- package/lib/components/slice/content/SliceContentProps.js +0 -2
- package/lib/components/slice/content/SliceContentProps.js.map +0 -1
- package/lib/components/slice/content/index.d.ts +0 -2
- package/lib/components/slice/content/index.js +0 -3
- package/lib/components/slice/content/index.js.map +0 -1
- package/lib/components/slice/cta/SliceCta.d.ts +0 -10
- package/lib/components/slice/cta/SliceCta.js +0 -17
- package/lib/components/slice/cta/SliceCta.js.map +0 -1
- package/lib/components/slice/cta/SliceCta.native.d.ts +0 -12
- package/lib/components/slice/cta/SliceCta.native.js +0 -19
- package/lib/components/slice/cta/SliceCta.native.js.map +0 -1
- package/lib/components/slice/cta/SliceCtaProps.d.ts +0 -5
- package/lib/components/slice/cta/SliceCtaProps.js +0 -2
- package/lib/components/slice/cta/SliceCtaProps.js.map +0 -1
- package/lib/components/slice/cta/index.d.ts +0 -2
- package/lib/components/slice/cta/index.js +0 -3
- package/lib/components/slice/cta/index.js.map +0 -1
- package/lib/components/slice/icon/SliceIcon.d.ts +0 -13
- package/lib/components/slice/icon/SliceIcon.js +0 -22
- package/lib/components/slice/icon/SliceIcon.js.map +0 -1
- package/lib/components/slice/icon/SliceIcon.native.d.ts +0 -15
- package/lib/components/slice/icon/SliceIcon.native.js +0 -23
- package/lib/components/slice/icon/SliceIcon.native.js.map +0 -1
- package/lib/components/slice/icon/SliceIconProps.d.ts +0 -9
- package/lib/components/slice/icon/SliceIconProps.js +0 -2
- package/lib/components/slice/icon/SliceIconProps.js.map +0 -1
- package/lib/components/slice/icon/index.d.ts +0 -2
- package/lib/components/slice/icon/index.js +0 -3
- package/lib/components/slice/icon/index.js.map +0 -1
- package/lib/components/slice/image/SliceImage.d.ts +0 -13
- package/lib/components/slice/image/SliceImage.js +0 -26
- package/lib/components/slice/image/SliceImage.js.map +0 -1
- package/lib/components/slice/image/SliceImage.native.d.ts +0 -14
- package/lib/components/slice/image/SliceImage.native.js +0 -22
- package/lib/components/slice/image/SliceImage.native.js.map +0 -1
- package/lib/components/slice/image/SliceImageProps.d.ts +0 -8
- package/lib/components/slice/image/SliceImageProps.js +0 -2
- package/lib/components/slice/image/SliceImageProps.js.map +0 -1
- package/lib/components/slice/image/index.d.ts +0 -2
- package/lib/components/slice/image/index.js +0 -3
- package/lib/components/slice/image/index.js.map +0 -1
- package/lib/components/slice/index.d.ts +0 -8
- package/lib/components/slice/index.js +0 -9
- package/lib/components/slice/index.js.map +0 -1
- package/lib/components/slice/list/SliceList.d.ts +0 -11
- package/lib/components/slice/list/SliceList.js +0 -19
- package/lib/components/slice/list/SliceList.js.map +0 -1
- package/lib/components/slice/list/SliceList.native.d.ts +0 -13
- package/lib/components/slice/list/SliceList.native.js +0 -14
- package/lib/components/slice/list/SliceList.native.js.map +0 -1
- package/lib/components/slice/list/SliceListProps.d.ts +0 -7
- package/lib/components/slice/list/SliceListProps.js +0 -2
- package/lib/components/slice/list/SliceListProps.js.map +0 -1
- package/lib/components/slice/list/index.d.ts +0 -2
- package/lib/components/slice/list/index.js +0 -3
- package/lib/components/slice/list/index.js.map +0 -1
- package/lib/components/slider/utils/slider.d.ts +0 -0
- package/lib/components/slider/utils/slider.js +0 -153
- package/lib/components/slider/utils/slider.js.map +0 -1
- package/lib/components/tile/Tile.d.ts +0 -17
- package/lib/components/tile/Tile.js +0 -35
- package/lib/components/tile/Tile.js.map +0 -1
- package/lib/components/tile/Tile.native.d.ts +0 -13
- package/lib/components/tile/Tile.native.js +0 -22
- package/lib/components/tile/Tile.native.js.map +0 -1
- package/lib/components/tile/TileEnum.d.ts +0 -5
- package/lib/components/tile/TileEnum.js +0 -6
- package/lib/components/tile/TileEnum.js.map +0 -1
- package/lib/components/tile/TileProps.d.ts +0 -17
- package/lib/components/tile/TileProps.js +0 -2
- package/lib/components/tile/TileProps.js.map +0 -1
- package/lib/components/tile/index.d.ts +0 -2
- package/lib/components/tile/index.js +0 -3
- package/lib/components/tile/index.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { StyleSheet, View } from
|
|
3
|
-
import MultiSlider from
|
|
4
|
-
import { Text, TextLevels } from
|
|
5
|
-
import { getColorStyle, TrilogyColor, TypographyBold } from
|
|
6
|
-
import { ComponentName } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { StyleSheet, View } from "react-native";
|
|
3
|
+
import MultiSlider from "@ptomasroos/react-native-multi-slider";
|
|
4
|
+
import { Text, TextLevels } from "../text";
|
|
5
|
+
import { getColorStyle, TrilogyColor, TypographyBold } from "../../objects";
|
|
6
|
+
import { ComponentName } from "../enumsComponentsName";
|
|
7
7
|
/**
|
|
8
8
|
* Range Component
|
|
9
9
|
* - -------------------------- MOBILE PROPERTIES -------------------------------
|
|
@@ -22,7 +22,7 @@ import { ComponentName } from '../enumsComponentsName';
|
|
|
22
22
|
* @param valueCursorMin {number} number of input min
|
|
23
23
|
* @param valueCursorMax {number} number of input max
|
|
24
24
|
*/
|
|
25
|
-
const Range = ({ min, max, label, labelValueCursorMin, labelValueCursorMax, onChange }) => {
|
|
25
|
+
const Range = ({ min, max, label, labelValueCursorMin, labelValueCursorMax, onChange, }) => {
|
|
26
26
|
const [values, setValues] = React.useState([0, 100]);
|
|
27
27
|
const [width, setWidth] = React.useState(0);
|
|
28
28
|
const styles = StyleSheet.create({
|
|
@@ -30,8 +30,8 @@ const Range = ({ min, max, label, labelValueCursorMin, labelValueCursorMax, onCh
|
|
|
30
30
|
width: 20,
|
|
31
31
|
height: 20,
|
|
32
32
|
borderRadius: 20,
|
|
33
|
-
backgroundColor:
|
|
34
|
-
shadowColor:
|
|
33
|
+
backgroundColor: "white",
|
|
34
|
+
shadowColor: "#000",
|
|
35
35
|
shadowOffset: {
|
|
36
36
|
width: 0,
|
|
37
37
|
height: 2,
|
|
@@ -40,7 +40,11 @@ const Range = ({ min, max, label, labelValueCursorMin, labelValueCursorMax, onCh
|
|
|
40
40
|
shadowRadius: 3.84,
|
|
41
41
|
elevation: 5,
|
|
42
42
|
},
|
|
43
|
-
markerLabels: {
|
|
43
|
+
markerLabels: {
|
|
44
|
+
flexDirection: "row",
|
|
45
|
+
justifyContent: "space-between",
|
|
46
|
+
marginTop: -6,
|
|
47
|
+
},
|
|
44
48
|
});
|
|
45
49
|
const Marker = () => React.createElement(View, { style: styles.marker });
|
|
46
50
|
return (React.createElement(View, { onLayout: (event) => {
|
|
@@ -51,19 +55,19 @@ const Range = ({ min, max, label, labelValueCursorMin, labelValueCursorMax, onCh
|
|
|
51
55
|
React.createElement(Text, { level: TextLevels.THREE }, label && label)),
|
|
52
56
|
React.createElement(MultiSlider, { values: [values[0], values[1]], sliderLength: width, onValuesChange: (e) => {
|
|
53
57
|
setValues(e);
|
|
54
|
-
onChange && onChange({ inputName:
|
|
58
|
+
onChange && onChange({ inputName: "range", inputValue: e });
|
|
55
59
|
}, min: min, max: max, step: 1, allowOverlap: false, snapped: true, customMarker: Marker, selectedStyle: {
|
|
56
|
-
backgroundColor: getColorStyle(TrilogyColor.
|
|
60
|
+
backgroundColor: getColorStyle(TrilogyColor.MAIN),
|
|
57
61
|
height: 4,
|
|
58
62
|
}, unselectedStyle: {
|
|
59
|
-
backgroundColor:
|
|
63
|
+
backgroundColor: "#e1e1e1",
|
|
60
64
|
height: 4,
|
|
61
65
|
} }),
|
|
62
66
|
React.createElement(View, { style: styles.markerLabels },
|
|
63
|
-
React.createElement(View, { style: { flexDirection:
|
|
67
|
+
React.createElement(View, { style: { flexDirection: "row" } },
|
|
64
68
|
React.createElement(Text, { level: TextLevels.THREE, typo: TypographyBold.TEXT_WEIGHT_SEMIBOLD }, values[0]),
|
|
65
69
|
labelValueCursorMin && (React.createElement(Text, { level: TextLevels.THREE, typo: TypographyBold.TEXT_WEIGHT_SEMIBOLD }, labelValueCursorMin))),
|
|
66
|
-
React.createElement(View, { style: { flexDirection:
|
|
70
|
+
React.createElement(View, { style: { flexDirection: "row" } },
|
|
67
71
|
React.createElement(Text, { level: TextLevels.THREE, typo: TypographyBold.TEXT_WEIGHT_SEMIBOLD }, values[1]),
|
|
68
72
|
labelValueCursorMax && (React.createElement(Text, { level: TextLevels.THREE, typo: TypographyBold.TEXT_WEIGHT_SEMIBOLD }, labelValueCursorMax))))));
|
|
69
73
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Range.native.js","sourceRoot":"","sources":["../../../components/range/Range.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Range.native.js","sourceRoot":"","sources":["../../../components/range/Range.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAE/C,OAAO,WAAW,MAAM,uCAAuC,CAAA;AAC/D,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAEtD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,KAAK,GAAG,CAAC,EACb,GAAG,EACH,GAAG,EACH,KAAK,EACL,mBAAmB,EACnB,mBAAmB,EACnB,QAAQ,GACG,EAAe,EAAE;IAC5B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAW,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAA;IAC9D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAA;IAEnD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAC/B,MAAM,EAAE;YACN,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;YACV,YAAY,EAAE,EAAE;YACh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a,EAAE;gBACb,eAAe,EAAE,aAAa,CAAC,YAAY,CAAC,IAAI,CAAC;gBACjD,MAAM,EAAE,CAAC;aACV,EACD,eAAe,EAAE;gBACf,eAAe,EAAE,SAAS;gBAC1B,MAAM,EAAE,CAAC;aACV,GACD;QACF,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,YAAY;YAC9B,oBAAC,IAAI,IAAC,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;gBACnC,oBAAC,IAAI,IACH,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,IAAI,EAAE,cAAc,CAAC,oBAAoB,IAExC,MAAM,CAAC,CAAC,CAAC,CACL;gBACN,mBAAmB,IAAI,CACtB,oBAAC,IAAI,IACH,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,IAAI,EAAE,cAAc,CAAC,oBAAoB,IAExC,mBAAmB,CACf,CACR,CACI;YAEP,oBAAC,IAAI,IAAC,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;gBACnC,oBAAC,IAAI,IACH,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,IAAI,EAAE,cAAc,CAAC,oBAAoB,IAExC,MAAM,CAAC,CAAC,CAAC,CACL;gBACN,mBAAmB,IAAI,CACtB,oBAAC,IAAI,IACH,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,IAAI,EAAE,cAAc,CAAC,oBAAoB,IAExC,mBAAmB,CACf,CACR,CACI,CACF,CACF,CACR,CAAA;AACH,CAAC,CAAA;AAED,KAAK,CAAC,WAAW,GAAG,aAAa,CAAC,KAAK,CAAA;AAEvC,eAAe,KAAK,CAAA"}
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
* range Interface
|
|
3
3
|
*/
|
|
4
4
|
import { Accessibility } from '../../objects';
|
|
5
|
-
export
|
|
5
|
+
export type InputChangeEventHandlerNative = (event: {
|
|
6
|
+
inputValue: number[];
|
|
6
7
|
inputName: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
}) => void;
|
|
9
|
+
export type InputChangeEventHandlerWeb = (event: {
|
|
10
|
+
inputValue: number;
|
|
11
|
+
inputName: string | undefined;
|
|
12
|
+
}) => void;
|
|
10
13
|
export interface RangeProps extends Accessibility {
|
|
11
14
|
min: number;
|
|
12
15
|
max: number;
|
|
@@ -15,12 +18,12 @@ export interface RangeProps extends Accessibility {
|
|
|
15
18
|
valueCursorMax?: number;
|
|
16
19
|
labelValueCursorMin?: string;
|
|
17
20
|
labelValueCursorMax?: string;
|
|
18
|
-
onChangeMin?:
|
|
19
|
-
onChangeMax?:
|
|
21
|
+
onChangeMin?: InputChangeEventHandlerWeb;
|
|
22
|
+
onChangeMax?: InputChangeEventHandlerWeb;
|
|
20
23
|
nameMin?: string;
|
|
21
24
|
idMin?: string;
|
|
22
25
|
nameMax?: string;
|
|
23
26
|
idMax?: string;
|
|
24
27
|
gap?: number;
|
|
25
|
-
onChange?:
|
|
28
|
+
onChange?: InputChangeEventHandlerNative;
|
|
26
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { hashClass } from
|
|
3
|
-
import clsx from
|
|
4
|
-
import { useTrilogyContext } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { hashClass } from "../../helpers";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { useTrilogyContext } from "../../context";
|
|
5
5
|
/**
|
|
6
6
|
* Rows Component
|
|
7
7
|
* @param children {React.ReactNode} Rows children
|
|
@@ -10,7 +10,7 @@ import { useTrilogyContext } from '../../context';
|
|
|
10
10
|
*/
|
|
11
11
|
const Rows = ({ className, ...others }) => {
|
|
12
12
|
const { styled } = useTrilogyContext();
|
|
13
|
-
return React.createElement("div", { className: hashClass(styled, clsx(
|
|
13
|
+
return (React.createElement("div", { className: hashClass(styled, clsx("rows", className)), ...others }));
|
|
14
14
|
};
|
|
15
15
|
export default Rows;
|
|
16
16
|
//# sourceMappingURL=Rows.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rows.js","sourceRoot":"","sources":["../../../components/rows/Rows.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Rows.js","sourceRoot":"","sources":["../../../components/rows/Rows.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAEjD;;;;;GAKG;AACH,MAAM,IAAI,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,MAAM,EAAa,EAAe,EAAE;IAChE,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACtC,OAAO,CACL,6BAAK,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,KAAM,MAAM,GAAI,CAC3E,CAAA;AACH,CAAC,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { RowsProps } from
|
|
3
|
-
import { ComponentName } from
|
|
2
|
+
import { RowsProps } from "./RowsProps";
|
|
3
|
+
import { ComponentName } from "../enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* Rows Component
|
|
6
6
|
* @param children {React.ReactNode} Rows children
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { StyleSheet, View } from
|
|
3
|
-
import { ComponentName } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { StyleSheet, View } from "react-native";
|
|
3
|
+
import { ComponentName } from "../enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* Rows Component
|
|
6
6
|
* @param children {React.ReactNode} Rows children
|
|
@@ -8,8 +8,8 @@ import { ComponentName } from '../enumsComponentsName';
|
|
|
8
8
|
const Rows = ({ children, ...others }) => {
|
|
9
9
|
const styles = StyleSheet.create({
|
|
10
10
|
rows: {
|
|
11
|
-
display:
|
|
12
|
-
flexDirection:
|
|
11
|
+
display: "flex",
|
|
12
|
+
flexDirection: "column",
|
|
13
13
|
flex: 1,
|
|
14
14
|
},
|
|
15
15
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rows.native.js","sourceRoot":"","sources":["../../../components/rows/Rows.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Rows.native.js","sourceRoot":"","sources":["../../../components/rows/Rows.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAE/C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAEtD;;;GAGG;AACH,MAAM,IAAI,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,MAAM,EAAa,EAAe,EAAE;IAC/D,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAC/B,IAAI,EAAE;YACJ,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,QAAQ;YACvB,IAAI,EAAE,CAAC;SACR;KACF,CAAC,CAAA;IAEF,OAAO,CACL,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,KAAM,MAAM,IACjC,QAAQ,CACJ,CACR,CAAA;AACH,CAAC,CAAA;AAED,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC,IAAI,CAAA;AAErC,eAAe,IAAI,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { is } from
|
|
3
|
-
import { hashClass } from
|
|
4
|
-
import clsx from
|
|
5
|
-
import { useTrilogyContext } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { is } from "../../../services/classify";
|
|
3
|
+
import { hashClass } from "../../../helpers";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import { useTrilogyContext } from "../../../context";
|
|
6
6
|
/**
|
|
7
7
|
* Rows Item Component
|
|
8
8
|
* @param narrow {boolean} Align same elements horizontaly
|
|
@@ -12,7 +12,7 @@ import { useTrilogyContext } from '../../../context';
|
|
|
12
12
|
*/
|
|
13
13
|
const RowItem = ({ className, narrow, ...others }) => {
|
|
14
14
|
const { styled } = useTrilogyContext();
|
|
15
|
-
const classes = hashClass(styled, clsx(
|
|
15
|
+
const classes = hashClass(styled, clsx("row", narrow && is("narrow"), className));
|
|
16
16
|
return React.createElement("div", { className: classes, ...others });
|
|
17
17
|
};
|
|
18
18
|
export default RowItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowItem.js","sourceRoot":"","sources":["../../../../components/rows/item/RowItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"RowItem.js","sourceRoot":"","sources":["../../../../components/rows/item/RowItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,4BAA4B,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEpD;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,CAAC,EACf,SAAS,EACT,MAAM,EACN,GAAG,MAAM,EACK,EAAe,EAAE;IAC/B,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACtC,MAAM,OAAO,GAAG,SAAS,CACvB,MAAM,EACN,IAAI,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,CAC/C,CAAA;IACD,OAAO,6BAAK,SAAS,EAAE,OAAO,KAAM,MAAM,GAAI,CAAA;AAChD,CAAC,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { RowsItemProps } from
|
|
3
|
-
import { ComponentName } from
|
|
2
|
+
import { RowsItemProps } from "./RowItemProps";
|
|
3
|
+
import { ComponentName } from "../../enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* Rows Item Component
|
|
6
6
|
* @param narrow {boolean} Align same elements horizontaly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { StyleSheet, View } from
|
|
3
|
-
import { ComponentName } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { StyleSheet, View } from "react-native";
|
|
3
|
+
import { ComponentName } from "../../enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* Rows Item Component
|
|
6
6
|
* @param narrow {boolean} Align same elements horizontaly
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowItem.native.js","sourceRoot":"","sources":["../../../../components/rows/item/RowItem.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"RowItem.native.js","sourceRoot":"","sources":["../../../../components/rows/item/RowItem.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAE/C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD;;;;GAIG;AACH,MAAM,OAAO,GAAG,CAAC,EACf,QAAQ,EACR,MAAM,EACN,GAAG,MAAM,EACK,EAAe,EAAE;IAC/B,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAC/B,OAAO,EAAE;YACP,QAAQ,EAAE,CAAC,MAAM,IAAI,CAAC,CAAC,IAAI,CAAC;YAC5B,OAAO,EAAE,CAAC;YACV,UAAU,EAAE,CAAC;SACd;KACF,CAAC,CAAA;IAEF,OAAO,CACL,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,OAAO,KAAM,MAAM,IACpC,QAAQ,CACJ,CACR,CAAA;AACH,CAAC,CAAA;AAED,OAAO,CAAC,WAAW,GAAG,aAAa,CAAC,QAAQ,CAAA;AAE5C,eAAe,OAAO,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { useTrilogyContext } from "../../context";
|
|
3
3
|
import { hashClass } from "../../helpers";
|
|
4
4
|
import clsx from "clsx";
|
|
@@ -23,16 +23,16 @@ const ScrollView = React.forwardRef(({ id, scrollDirection, children }, ref) =>
|
|
|
23
23
|
const scrollDirectionClassName = () => {
|
|
24
24
|
switch (scrollDirection) {
|
|
25
25
|
case ScrollDirectionEnum === null || ScrollDirectionEnum === void 0 ? void 0 : ScrollDirectionEnum.HORIZONTAL:
|
|
26
|
-
return is(
|
|
26
|
+
return is("horizontal");
|
|
27
27
|
case ScrollDirectionEnum === null || ScrollDirectionEnum === void 0 ? void 0 : ScrollDirectionEnum.VERTICAL:
|
|
28
|
-
return is(
|
|
28
|
+
return is("vertical");
|
|
29
29
|
default:
|
|
30
|
-
return
|
|
30
|
+
return "";
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
const classes = hashClass(styled, clsx(
|
|
34
|
-
return React.createElement("div", { ref: ref, className: classes, id: id }, children);
|
|
33
|
+
const classes = hashClass(styled, clsx("scroll-view", scrollDirection && scrollDirectionClassName()));
|
|
34
|
+
return (React.createElement("div", { ref: ref, className: classes, id: id }, children));
|
|
35
35
|
});
|
|
36
|
-
ScrollView.displayName =
|
|
36
|
+
ScrollView.displayName = "ScrollView";
|
|
37
37
|
export default ScrollView;
|
|
38
38
|
//# sourceMappingURL=ScrollView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollView.js","sourceRoot":"","sources":["../../../components/scroll-view/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ScrollView.js","sourceRoot":"","sources":["../../../components/scroll-view/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAEnD;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CACjC,CAAC,EAAE,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAe,EAAE;IACtD,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,MAAM,wBAAwB,GAAG,GAAG,EAAE;QACpC,QAAQ,eAAe,EAAE;YACvB,KAAK,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,UAAU;gBAClC,OAAO,EAAE,CAAC,YAAY,CAAC,CAAA;YACzB,KAAK,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,QAAQ;gBAChC,OAAO,EAAE,CAAC,UAAU,CAAC,CAAA;YACvB;gBACE,OAAO,EAAE,CAAA;SACZ;IACH,CAAC,CAAA;IAED,MAAM,OAAO,GAAG,SAAS,CACvB,MAAM,EACN,IAAI,CAAC,aAAa,EAAE,eAAe,IAAI,wBAAwB,EAAE,CAAC,CACnE,CAAA;IACD,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,IACtC,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,UAAU,CAAC,WAAW,GAAG,YAAY,CAAA;AAErC,eAAe,UAAU,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { ScrollView as ScrollViewNative } from
|
|
3
|
-
import { ScrollViewProps } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ScrollView as ScrollViewNative } from "react-native";
|
|
3
|
+
import { ScrollViewProps } from "./ScrollViewProps";
|
|
4
4
|
declare const ScrollView: React.ForwardRefExoticComponent<ScrollViewProps & React.RefAttributes<ScrollViewNative>>;
|
|
5
5
|
export default ScrollView;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { StyleSheet, Platform, ScrollView as ScrollViewNative, View, RefreshControl } from
|
|
3
|
-
import { getColorStyle, ScrollDirectionEnum } from
|
|
4
|
-
import { ComponentName } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { StyleSheet, Platform, ScrollView as ScrollViewNative, View, RefreshControl, } from "react-native";
|
|
3
|
+
import { getColorStyle, ScrollDirectionEnum } from "../../objects";
|
|
4
|
+
import { ComponentName } from "../enumsComponentsName";
|
|
5
5
|
const ScrollView = React.forwardRef(({ children, footer, bounce, centerContent, refresh, onRefresh, refreshControlColor, id, scrollDirection, ...others }, ref) => {
|
|
6
6
|
const [refreshing, setRefreshing] = React.useState(false);
|
|
7
7
|
const wait = (timeout) => {
|
|
@@ -12,10 +12,14 @@ const ScrollView = React.forwardRef(({ children, footer, bounce, centerContent,
|
|
|
12
12
|
wait(2000).then(() => setRefreshing(false));
|
|
13
13
|
}, []);
|
|
14
14
|
const styles = StyleSheet.create({
|
|
15
|
-
stickyContent: {
|
|
15
|
+
stickyContent: {
|
|
16
|
+
flexGrow: 1,
|
|
17
|
+
justifyContent: "space-between",
|
|
18
|
+
flexDirection: "column",
|
|
19
|
+
},
|
|
16
20
|
});
|
|
17
21
|
if (footer) {
|
|
18
|
-
return (React.createElement(ScrollViewNative, { horizontal: scrollDirection === ScrollDirectionEnum.HORIZONTAL, testID: id, showsVerticalScrollIndicator: false, contentContainerStyle: styles.stickyContent, bounces: bounce && Platform.OS ===
|
|
22
|
+
return (React.createElement(ScrollViewNative, { horizontal: scrollDirection === ScrollDirectionEnum.HORIZONTAL, testID: id, showsVerticalScrollIndicator: false, contentContainerStyle: styles.stickyContent, bounces: bounce && Platform.OS === "ios" && true, overScrollMode: (bounce && Platform.OS === "android" && "always") || "never", ...(refresh && {
|
|
19
23
|
refreshControl: (React.createElement(RefreshControl, { tintColor: refreshControlColor && getColorStyle(refreshControlColor), colors: refreshControlColor && [getColorStyle(refreshControlColor)], refreshing: refreshing, onRefresh: () => {
|
|
20
24
|
onRefreshing();
|
|
21
25
|
if (onRefresh) {
|
|
@@ -23,17 +27,20 @@ const ScrollView = React.forwardRef(({ children, footer, bounce, centerContent,
|
|
|
23
27
|
}
|
|
24
28
|
} })),
|
|
25
29
|
}), ...others },
|
|
26
|
-
React.createElement(View, { style: {
|
|
27
|
-
|
|
30
|
+
React.createElement(View, { style: {
|
|
31
|
+
flex: 1,
|
|
32
|
+
justifyContent: centerContent ? "center" : "flex-start",
|
|
33
|
+
} }, children),
|
|
34
|
+
React.createElement(View, { style: { justifyContent: "flex-end" } }, footer)));
|
|
28
35
|
}
|
|
29
|
-
return (React.createElement(ScrollViewNative, { horizontal: scrollDirection === ScrollDirectionEnum.HORIZONTAL, testID: id, contentContainerStyle: { flexGrow: 1 }, ref: ref, showsVerticalScrollIndicator: false, bounces: bounce && Platform.OS ===
|
|
36
|
+
return (React.createElement(ScrollViewNative, { horizontal: scrollDirection === ScrollDirectionEnum.HORIZONTAL, testID: id, contentContainerStyle: { flexGrow: 1 }, ref: ref, showsVerticalScrollIndicator: false, bounces: bounce && Platform.OS === "ios" && true, overScrollMode: (bounce && Platform.OS === "android" && "always") || "never", ...(refresh && {
|
|
30
37
|
refreshControl: (React.createElement(RefreshControl, { tintColor: refreshControlColor && getColorStyle(refreshControlColor), colors: refreshControlColor && [getColorStyle(refreshControlColor)], refreshing: refreshing, onRefresh: () => {
|
|
31
38
|
onRefreshing();
|
|
32
39
|
if (onRefresh) {
|
|
33
40
|
onRefresh();
|
|
34
41
|
}
|
|
35
42
|
} })),
|
|
36
|
-
}), ...others }, centerContent ? React.createElement(View, { style: { flex: 1, justifyContent:
|
|
43
|
+
}), ...others }, centerContent ? (React.createElement(View, { style: { flex: 1, justifyContent: "center" } }, children)) : (children)));
|
|
37
44
|
});
|
|
38
45
|
ScrollView.displayName = ComponentName.ScrollView;
|
|
39
46
|
export default ScrollView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollView.native.js","sourceRoot":"","sources":["../../../components/scroll-view/ScrollView.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ScrollView.native.js","sourceRoot":"","sources":["../../../components/scroll-view/ScrollView.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,UAAU,EACV,QAAQ,EACR,UAAU,IAAI,gBAAgB,EAC9B,IAAI,EACJ,cAAc,GACf,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAqBtD,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CACjC,CACE,EACE,QAAQ,EACR,MAAM,EACN,MAAM,EACN,aAAa,EACb,OAAO,EACP,SAAS,EACT,mBAAmB,EACnB,EAAE,EACF,eAAe,EACf,GAAG,MAAM,EACO,EAClB,GAAkB,EACL,EAAE;IACf,MAAM,CAAC,UAAU,EAAE,aAA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AE,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAG,QAAQ,CAAQ,CACtE,CAAC,CAAC,CAAC,CACF,QAAQ,CACT,CACgB,CACpB,CAAA;AACH,CAAC,CACF,CAAA;AAED,UAAU,CAAC,WAAW,GAAG,aAAa,CAAC,UAAU,CAAA;AAEjD,eAAe,UAAU,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SectionProps } from
|
|
3
|
-
import { ComponentName } from
|
|
2
|
+
import { SectionProps } from "./SectionProps";
|
|
3
|
+
import { ComponentName } from "../enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* Section Component - Manages the main margins of the page and takes up all the available width.
|
|
6
6
|
* @param children {ReactNode} Section children
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { ImageBackground, StyleSheet, View } from
|
|
3
|
-
import { AutoLayoutWrapper } from
|
|
4
|
-
import { getBackgroundStyle, getColorStyle, TrilogyColor } from
|
|
5
|
-
import { ComponentName } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ImageBackground, StyleSheet, View } from "react-native";
|
|
3
|
+
import { AutoLayoutWrapper } from "../autolayout";
|
|
4
|
+
import { getBackgroundStyle, getColorStyle, TrilogyColor } from "../../objects";
|
|
5
|
+
import { ComponentName } from "../enumsComponentsName";
|
|
6
6
|
/**
|
|
7
7
|
* Section Component - Manages the main margins of the page and takes up all the available width.
|
|
8
8
|
* @param children {ReactNode} Section children
|
|
@@ -22,15 +22,17 @@ const Section = ({ autolayout = true, background, backgroundSrc, children, paddi
|
|
|
22
22
|
paddingBottom: paddingless || verticalPaddingless ? 0 : 32,
|
|
23
23
|
paddingRight: paddingless ? 0 : 24,
|
|
24
24
|
paddingLeft: paddingless ? 0 : 24,
|
|
25
|
-
width: fullwidth ?
|
|
25
|
+
width: fullwidth ? "100%" : "auto",
|
|
26
26
|
},
|
|
27
27
|
sectionImage: {
|
|
28
|
-
width:
|
|
28
|
+
width: "100%",
|
|
29
29
|
minHeight: 100,
|
|
30
|
-
height:
|
|
30
|
+
height: "auto",
|
|
31
31
|
},
|
|
32
32
|
});
|
|
33
|
-
return (React.createElement(View, { style: styles.section }, backgroundSrc ? (React.createElement(ImageBackground, { style: styles.sectionImage, source: typeof backgroundSrc ===
|
|
33
|
+
return (React.createElement(View, { style: styles.section }, backgroundSrc ? (React.createElement(ImageBackground, { style: styles.sectionImage, source: typeof backgroundSrc === "number"
|
|
34
|
+
? backgroundSrc
|
|
35
|
+
: { uri: backgroundSrc } },
|
|
34
36
|
React.createElement(AutoLayoutWrapper, { ...{ autolayout } }, children))) : (React.createElement(AutoLayoutWrapper, { ...{ autolayout } }, children))));
|
|
35
37
|
};
|
|
36
38
|
Section.displayName = ComponentName.Section;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.native.js","sourceRoot":"","sources":["../../../components/section/Section.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Section.native.js","sourceRoot":"","sources":["../../../components/section/Section.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAEtD;;;;;;;;;GASG;AACH,MAAM,OAAO,GAAG,CAAC,EACf,UAAU,GAAG,IAAI,EACjB,UAAU,EACV,aAAa,EACb,QAAQ,EACR,WAAW,EACX,mBAAmB,EACnB,SAAS,GACI,EAAe,EAAE;IAC9B,MAAM,QAAQ,GAAG,aAAa,CAAC,YAAY,CA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}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SegmentControlProps } from
|
|
3
|
-
import { ComponentName } from
|
|
2
|
+
import { SegmentControlProps } from "./SegmentControlProps";
|
|
3
|
+
import { ComponentName } from "../enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* SegmentControl Component
|
|
6
6
|
* @param children {ReactNode} Children for SegmentedControl
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React, { useState } from
|
|
2
|
-
import { StyleSheet } from
|
|
3
|
-
import { View } from
|
|
4
|
-
import { Text, TextLevels } from
|
|
5
|
-
import SegmentedControlItem from
|
|
6
|
-
import {
|
|
7
|
-
import { ComponentName } from
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { StyleSheet } from "react-native";
|
|
3
|
+
import { View } from "../view";
|
|
4
|
+
import { Text, TextLevels } from "../text";
|
|
5
|
+
import SegmentedControlItem from "./item";
|
|
6
|
+
import { getColorStyle, TrilogyColor } from "../../objects/facets/Color";
|
|
7
|
+
import { ComponentName } from "../enumsComponentsName";
|
|
8
8
|
/**
|
|
9
9
|
* SegmentControl Component
|
|
10
10
|
* @param children {ReactNode} Children for SegmentedControl
|
|
@@ -17,7 +17,7 @@ import { ComponentName } from '../enumsComponentsName';
|
|
|
17
17
|
const SegmentControl = ({ children, onClick, activeIndex, disabled, marginless, inverted, ...others }) => {
|
|
18
18
|
const [activateIndex, setActivateIndex] = useState(activeIndex || 0);
|
|
19
19
|
const isActive = (index, childPropsActive) => {
|
|
20
|
-
if (typeof childPropsActive !==
|
|
20
|
+
if (typeof childPropsActive !== "undefined" && !activateIndex) {
|
|
21
21
|
return childPropsActive;
|
|
22
22
|
}
|
|
23
23
|
if (index === activateIndex) {
|
|
@@ -39,13 +39,11 @@ const SegmentControl = ({ children, onClick, activeIndex, disabled, marginless,
|
|
|
39
39
|
paddingRight: marginless ? 0 : 10,
|
|
40
40
|
},
|
|
41
41
|
segmentedControl: {
|
|
42
|
-
flexDirection:
|
|
43
|
-
width:
|
|
44
|
-
backgroundColor:
|
|
42
|
+
flexDirection: "row",
|
|
43
|
+
width: "100%",
|
|
44
|
+
backgroundColor: getColorStyle(TrilogyColor.NEUTRAL_DARK, 1),
|
|
45
45
|
borderRadius: 4,
|
|
46
46
|
padding: 4,
|
|
47
|
-
borderWidth: 1,
|
|
48
|
-
borderColor: mixColors(TrilogyColor.GREY, -80),
|
|
49
47
|
paddingRight: -4,
|
|
50
48
|
},
|
|
51
49
|
});
|
|
@@ -55,7 +53,8 @@ const SegmentControl = ({ children, onClick, activeIndex, disabled, marginless,
|
|
|
55
53
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
56
54
|
children.map((child, index) => {
|
|
57
55
|
const props = {
|
|
58
|
-
inverted: Boolean(isActive(index, child.props.active) && inverted) ||
|
|
56
|
+
inverted: Boolean(isActive(index, child.props.active) && inverted) ||
|
|
57
|
+
false,
|
|
59
58
|
active: Boolean(isActive(index, child.props.active)) || false,
|
|
60
59
|
disabled: child.props.disabled,
|
|
61
60
|
key: index,
|
|
@@ -70,7 +69,7 @@ const SegmentControl = ({ children, onClick, activeIndex, disabled, marginless,
|
|
|
70
69
|
},
|
|
71
70
|
};
|
|
72
71
|
if (index < 5) {
|
|
73
|
-
return typeof child.valueOf() ===
|
|
72
|
+
return typeof child.valueOf() === "string" ? (React.createElement(SegmentedControlItem, { disabled: props.disabled, active: props.active, onClick: (e) => onClick === null || onClick === void 0 ? void 0 : onClick(e) },
|
|
74
73
|
React.createElement(Text, { level: TextLevels.ONE }, String(child)))) : (React.cloneElement(child, props));
|
|
75
74
|
}
|
|
76
75
|
}))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentControl.native.js","sourceRoot":"","sources":["../../../components/segment-control/SegmentControl.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,oBAAoB,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SegmentControl.native.js","sourceRoot":"","sources":["../../../components/segment-control/SegmentControl.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,oBAAoB,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAEtD;;;;;;;;GAQG;AACH,MAAM,cAAc,GAAG,CAAC,EACtB,QAAQ,EACR,OAAO,EACP,WAAW,EACX,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,GAAG,MAAM,EACW,EAAe,EAAE;IACrC,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAC,WAAW,IAAI,CAAC,CAAC,CAAA;IAEpE,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,gBAAiC,EAAE,EAAE;QACpE,IAAI,OAAO,gBAAgB,KAAK,WAAW,IAAI,CAAC,aAAa,EAAE;YAC7D,OAAO,gBAAgB,CAAA;SACxB;QACD,IAAI,KAAK,KAAK,aAAa,EAAE;YAC3B,OAAO,IAAI,CAAA;SACZ;IACH,CAAC,CAAA;IAED,MAAM,YAAY,GAAG,CAAC,CAAmB,EAAE,KAAa,EAAE,EAAE;QAC1D,IA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QAAQ,EAAE,KAAK;oBACf,OAAO,EAAE,CAAC,KAAuB,EAAE,EAAE;wBACnC,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;wBAC1B,IAAI,KAAK,EAAE;4BACT,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE;gCACvB,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;6BAC3B;yBACF;oBACH,CAAC;iBACF,CAAA;gBACD,IAAI,KAAK,GAAG,CAAC,EAAE;oBACb,OAAO,OAAO,KAAK,CAAC,OAAO,EAAE,KAAK,QAAQ,CAAC,CAAC,CAAC,CAC3C,oBAAC,oBAAoB,IACnB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,OAAO,EAAE,CAAC,CAAU,EAAE,EAAE,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC;wBAErC,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU,CAAC,GAAG,IAAG,MAAM,CAAC,KAAK,CAAC,CAAQ,CAC9B,CACxB,CAAC,CAAC,CAAC,CACF,KAAK,CAAC,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,CACjC,CAAA;iBACF;YACH,CAAC,CAAC,CACC,CACF,CACR,CAAA;AACH,CAAC,CAAA;AAED,cAAc,CAAC,WAAW,GAAG,aAAa,CAAC,cAAc,CAAA;AAEzD,eAAe,cAAc,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SegmentControlItemProps } from
|
|
3
|
-
import { ComponentName } from
|
|
2
|
+
import { SegmentControlItemProps } from "./SegmentControlItemProps";
|
|
3
|
+
import { ComponentName } from "../../enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* SegmentControlItem Item Component
|
|
6
6
|
* @param active {boolean} active Segment Control item
|