@trilogy-ds/react 0.0.1-beta.49 → 0.0.1-beta.50
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/lib/components/accordion/Accordion.d.ts +0 -1
- package/lib/components/accordion/Accordion.js +1 -2
- package/lib/components/accordion/Accordion.js.map +1 -1
- package/lib/components/accordion/Accordion.native.d.ts +1 -1
- package/lib/components/accordion/Accordion.native.js +1 -1
- package/lib/components/accordion/Accordion.native.js.map +1 -1
- package/lib/components/accordion/body/AccordionBody.js.map +1 -1
- package/lib/components/accordion/body/AccordionBody.native.d.ts +1 -1
- package/lib/components/accordion/body/AccordionBody.native.js +1 -1
- package/lib/components/accordion/body/AccordionBody.native.js.map +1 -1
- package/lib/components/accordion/body/test/AccordionBody.test.d.ts +1 -0
- package/lib/components/accordion/body/test/AccordionBody.test.js +13 -0
- package/lib/components/accordion/body/test/AccordionBody.test.js.map +1 -0
- package/lib/components/accordion/header/AccordionHeader.js.map +1 -1
- package/lib/components/accordion/header/AccordionHeader.native.d.ts +1 -1
- package/lib/components/accordion/header/AccordionHeader.native.js +1 -1
- package/lib/components/accordion/header/AccordionHeader.native.js.map +1 -1
- package/lib/components/accordion/header/test/AccordionHeader.test.d.ts +1 -0
- package/lib/components/accordion/header/test/AccordionHeader.test.js +35 -0
- package/lib/components/accordion/header/test/AccordionHeader.test.js.map +1 -0
- package/lib/components/accordion/item/AccordionItem.js.map +1 -1
- package/lib/components/accordion/item/AccordionItem.native.d.ts +1 -1
- package/lib/components/accordion/item/AccordionItem.native.js +4 -4
- package/lib/components/accordion/item/AccordionItem.native.js.map +1 -1
- package/lib/components/accordion/item/test/AccordionItem.test.d.ts +1 -0
- package/lib/components/accordion/item/test/AccordionItem.test.js +71 -0
- package/lib/components/accordion/item/test/AccordionItem.test.js.map +1 -0
- package/lib/components/accordion/test/Accordion.test.d.ts +1 -0
- package/lib/components/accordion/test/Accordion.test.js +14 -0
- package/lib/components/accordion/test/Accordion.test.js.map +1 -0
- package/lib/components/alert/Alert.js +3 -3
- package/lib/components/alert/Alert.js.map +1 -1
- package/lib/components/alert/Alert.native.d.ts +1 -1
- package/lib/components/alert/Alert.native.js +7 -7
- package/lib/components/alert/Alert.native.js.map +1 -1
- package/lib/components/alert/AlertProps.d.ts +2 -2
- package/lib/components/alert/context/ToasterContextProps.d.ts +2 -2
- package/lib/components/alert/test/Alert.test.d.ts +1 -0
- package/lib/components/alert/test/Alert.test.js +87 -0
- package/lib/components/alert/test/Alert.test.js.map +1 -0
- package/lib/components/autolayout/AutoLayout.helpers.d.ts +1 -1
- package/lib/components/autolayout/AutoLayout.helpers.js +2 -2
- package/lib/components/autolayout/AutoLayout.helpers.js.map +1 -1
- package/lib/components/autolayout/AutoLayout.native.js +2 -2
- package/lib/components/autolayout/AutoLayout.native.js.map +1 -1
- package/lib/components/autolayout/AutoLayoutProps.d.ts +1 -1
- package/lib/components/autolayout/DefaultSpacingMatrix.js +1 -1
- package/lib/components/autolayout/DefaultSpacingMatrix.js.map +1 -1
- package/lib/components/autolayout/SpacingMatrix.d.ts +2 -2
- package/lib/components/autolayout/test/AutoLayout.test.d.ts +1 -0
- package/lib/components/autolayout/test/AutoLayout.test.js +13 -0
- package/lib/components/autolayout/test/AutoLayout.test.js.map +1 -0
- package/lib/components/badge/Badge.js +1 -1
- package/lib/components/badge/Badge.js.map +1 -1
- package/lib/components/badge/Badge.native.d.ts +1 -1
- package/lib/components/badge/Badge.native.js +1 -1
- package/lib/components/badge/Badge.native.js.map +1 -1
- package/lib/components/badge/BadgeProps.d.ts +1 -1
- package/lib/components/badge/test/Badge.test.d.ts +1 -0
- package/lib/components/badge/test/Badge.test.js +57 -0
- package/lib/components/badge/test/Badge.test.js.map +1 -0
- package/lib/components/box/Box.js.map +1 -1
- package/lib/components/box/Box.native.d.ts +1 -1
- package/lib/components/box/Box.native.js +1 -1
- package/lib/components/box/Box.native.js.map +1 -1
- package/lib/components/box/content/BoxContent.js.map +1 -1
- package/lib/components/box/content/BoxContent.native.d.ts +1 -1
- package/lib/components/box/content/BoxContent.native.js +1 -1
- package/lib/components/box/content/BoxContent.native.js.map +1 -1
- package/lib/components/box/footer/BoxFooter.js.map +1 -1
- package/lib/components/box/footer/BoxFooter.native.d.ts +1 -1
- package/lib/components/box/footer/BoxFooter.native.js +1 -1
- package/lib/components/box/footer/BoxFooter.native.js.map +1 -1
- package/lib/components/box/header/BoxHeader.js +1 -1
- package/lib/components/box/header/BoxHeader.js.map +1 -1
- package/lib/components/box/header/BoxHeader.native.d.ts +1 -1
- package/lib/components/box/header/BoxHeader.native.js +1 -1
- package/lib/components/box/header/BoxHeader.native.js.map +1 -1
- package/lib/components/box/item/BoxItem.js.map +1 -1
- package/lib/components/box/item/BoxItem.native.d.ts +1 -1
- package/lib/components/box/item/BoxItem.native.js +1 -1
- package/lib/components/box/item/BoxItem.native.js.map +1 -1
- package/lib/components/box/table-container/BoxTableContainer.js.map +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.js +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.js.map +1 -1
- package/lib/components/box/test/Box.test.d.ts +1 -0
- package/lib/components/box/test/Box.test.js +96 -0
- package/lib/components/box/test/Box.test.js.map +1 -0
- package/lib/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/Breadcrumb.native.d.ts +1 -1
- package/lib/components/breadcrumb/Breadcrumb.native.js +2 -2
- package/lib/components/breadcrumb/Breadcrumb.native.js.map +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.js.map +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +2 -2
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js.map +1 -1
- package/lib/components/breadcrumb/test/Breadcrumb.test.d.ts +1 -0
- package/lib/components/breadcrumb/test/Breadcrumb.test.js +25 -0
- package/lib/components/breadcrumb/test/Breadcrumb.test.js.map +1 -0
- package/lib/components/breadcrumb/test/BreadcrumbItem.test.d.ts +1 -0
- package/lib/components/breadcrumb/test/BreadcrumbItem.test.js +45 -0
- package/lib/components/breadcrumb/test/BreadcrumbItem.test.js.map +1 -0
- package/lib/components/button/Button.js +1 -1
- package/lib/components/button/Button.js.map +1 -1
- package/lib/components/button/Button.native.d.ts +1 -1
- package/lib/components/button/Button.native.js +4 -5
- package/lib/components/button/Button.native.js.map +1 -1
- package/lib/components/button/ButtonProps.d.ts +1 -1
- package/lib/components/button/list/ButtonList.js.map +1 -1
- package/lib/components/button/list/ButtonList.native.d.ts +1 -1
- package/lib/components/button/list/ButtonList.native.js +4 -4
- package/lib/components/button/list/ButtonList.native.js.map +1 -1
- package/lib/components/button/list/ButtonListProps.d.ts +2 -2
- package/lib/components/button/test/Button.test.d.ts +1 -0
- package/lib/components/button/test/Button.test.js +120 -0
- package/lib/components/button/test/Button.test.js.map +1 -0
- package/lib/components/button/test/ButtonList.test.d.ts +1 -0
- package/lib/components/button/test/ButtonList.test.js +39 -0
- package/lib/components/button/test/ButtonList.test.js.map +1 -0
- package/lib/components/card/Card.js.map +1 -1
- package/lib/components/card/Card.native.d.ts +1 -1
- package/lib/components/card/Card.native.js +1 -1
- package/lib/components/card/Card.native.js.map +1 -1
- package/lib/components/card/content/CardContent.js +3 -3
- 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 +4 -4
- package/lib/components/card/content/CardContent.native.js.map +1 -1
- package/lib/components/card/content/CardContentProps.d.ts +3 -3
- package/lib/components/card/image/CardImage.js.map +1 -1
- package/lib/components/card/image/CardImage.native.d.ts +1 -1
- package/lib/components/card/image/CardImage.native.js +2 -2
- package/lib/components/card/image/CardImage.native.js.map +1 -1
- package/lib/components/card/image/test/CardImage.test.d.ts +1 -0
- package/lib/components/card/image/test/CardImage.test.js +25 -0
- package/lib/components/card/image/test/CardImage.test.js.map +1 -0
- package/lib/components/card/test/Card.test.d.ts +1 -0
- package/lib/components/card/test/Card.test.js +69 -0
- package/lib/components/card/test/Card.test.js.map +1 -0
- package/lib/components/checkbox/Checkbox.js +1 -1
- package/lib/components/checkbox/Checkbox.js.map +1 -1
- package/lib/components/checkbox/Checkbox.native.d.ts +1 -1
- package/lib/components/checkbox/Checkbox.native.js +5 -5
- package/lib/components/checkbox/Checkbox.native.js.map +1 -1
- package/lib/components/checkbox/CheckboxProps.d.ts +1 -1
- package/lib/components/checkbox/test/Checkbox.test.d.ts +1 -0
- package/lib/components/checkbox/test/Checkbox.test.js +30 -0
- package/lib/components/checkbox/test/Checkbox.test.js.map +1 -0
- package/lib/components/chips/Chips.js.map +1 -1
- package/lib/components/chips/Chips.native.d.ts +1 -1
- package/lib/components/chips/Chips.native.js +3 -3
- package/lib/components/chips/Chips.native.js.map +1 -1
- package/lib/components/chips/list/ChipsList.js.map +1 -1
- package/lib/components/chips/list/ChipsList.native.d.ts +1 -1
- package/lib/components/chips/list/ChipsList.native.js +1 -1
- package/lib/components/chips/list/ChipsList.native.js.map +1 -1
- package/lib/components/chips/list/test/ChipsList.test.d.ts +1 -0
- package/lib/components/chips/list/test/ChipsList.test.js +16 -0
- package/lib/components/chips/list/test/ChipsList.test.js.map +1 -0
- package/lib/components/chips/test/Chips.test.d.ts +1 -0
- package/lib/components/chips/test/Chips.test.js +32 -0
- package/lib/components/chips/test/Chips.test.js.map +1 -0
- package/lib/components/columns/Columns.js.map +1 -1
- package/lib/components/columns/Columns.native.d.ts +1 -1
- package/lib/components/columns/Columns.native.js +2 -2
- package/lib/components/columns/Columns.native.js.map +1 -1
- package/lib/components/columns/item/ColumnsItem.js.map +1 -1
- package/lib/components/columns/item/ColumnsItem.native.d.ts +1 -1
- package/lib/components/columns/item/ColumnsItem.native.js +2 -2
- package/lib/components/columns/item/ColumnsItem.native.js.map +1 -1
- package/lib/components/columns/item/ColumnsItemProps.d.ts +1 -1
- package/lib/components/container/Container.js.map +1 -1
- package/lib/components/container/Container.native.d.ts +1 -1
- package/lib/components/container/Container.native.js +1 -1
- package/lib/components/container/Container.native.js.map +1 -1
- package/lib/components/container/test/Container.test.d.ts +1 -0
- package/lib/components/container/test/Container.test.js +26 -0
- package/lib/components/container/test/Container.test.js.map +1 -0
- package/lib/components/countdown/Countdown.js.map +1 -1
- package/lib/components/countdown/Countdown.native.d.ts +1 -1
- package/lib/components/countdown/Countdown.native.js +2 -2
- package/lib/components/countdown/Countdown.native.js.map +1 -1
- package/lib/components/countdown/test/Countdown.test.d.ts +1 -0
- package/lib/components/countdown/test/Countdown.test.js +60 -0
- package/lib/components/countdown/test/Countdown.test.js.map +1 -0
- package/lib/components/divider/Divider.js.map +1 -1
- package/lib/components/divider/Divider.native.d.ts +1 -1
- package/lib/components/divider/Divider.native.js +3 -3
- package/lib/components/divider/Divider.native.js.map +1 -1
- package/lib/components/divider/DividerProps.d.ts +1 -1
- package/lib/components/divider/test/Divider.test.d.ts +1 -0
- package/lib/components/divider/test/Divider.test.js +37 -0
- package/lib/components/divider/test/Divider.test.js.map +1 -0
- package/lib/components/enumsComponentsName.d.ts +0 -5
- package/lib/components/enumsComponentsName.js +0 -5
- package/lib/components/enumsComponentsName.js.map +1 -1
- package/lib/components/fab/Fab.js +1 -1
- package/lib/components/fab/Fab.js.map +1 -1
- package/lib/components/fab/Fab.native.d.ts +1 -1
- package/lib/components/fab/Fab.native.js +3 -3
- package/lib/components/fab/Fab.native.js.map +1 -1
- package/lib/components/fab/FabProps.d.ts +1 -1
- package/lib/components/fab/test/Fab.test.d.ts +1 -0
- package/lib/components/fab/test/Fab.test.js +19 -0
- package/lib/components/fab/test/Fab.test.js.map +1 -0
- package/lib/components/hero/Hero.js.map +1 -1
- package/lib/components/hero/Hero.native.d.ts +1 -1
- package/lib/components/hero/Hero.native.js +1 -1
- package/lib/components/hero/Hero.native.js.map +1 -1
- package/lib/components/hero/test/Hero.test.d.ts +1 -0
- package/lib/components/hero/test/Hero.test.js +47 -0
- package/lib/components/hero/test/Hero.test.js.map +1 -0
- package/lib/components/icon/Icon.js.map +1 -1
- package/lib/components/icon/Icon.native.js.map +1 -1
- package/lib/components/icon/IconProps.d.ts +1 -3
- package/lib/components/icon/circle/CircleIcon.d.ts +1 -1
- package/lib/components/icon/circle/CircleIcon.js +1 -1
- package/lib/components/icon/circle/CircleIcon.js.map +1 -1
- package/lib/components/icon/circle/CircleIcon.native.d.ts +1 -1
- package/lib/components/icon/circle/CircleIcon.native.js +5 -5
- package/lib/components/icon/circle/CircleIcon.native.js.map +1 -1
- package/lib/components/icon/circle/CircleIconProps.d.ts +1 -1
- package/lib/components/icon/status/StatusIcon.d.ts +1 -1
- package/lib/components/icon/status/StatusIcon.js +2 -2
- package/lib/components/icon/status/StatusIcon.js.map +1 -1
- package/lib/components/icon/status/StatusIcon.native.d.ts +1 -1
- package/lib/components/icon/status/StatusIcon.native.js +1 -1
- package/lib/components/icon/status/StatusIcon.native.js.map +1 -1
- package/lib/components/icon/status/StatusIconProps.d.ts +2 -2
- package/lib/components/icon/test/Icon.test.d.ts +1 -0
- package/lib/components/icon/test/Icon.test.js +73 -0
- package/lib/components/icon/test/Icon.test.js.map +1 -0
- package/lib/components/icon/text/TextIcon.d.ts +1 -1
- package/lib/components/icon/text/TextIcon.js +2 -2
- package/lib/components/icon/text/TextIcon.js.map +1 -1
- package/lib/components/icon/text/TextIcon.native.d.ts +1 -1
- package/lib/components/icon/text/TextIcon.native.js +3 -3
- package/lib/components/icon/text/TextIcon.native.js.map +1 -1
- package/lib/components/icon/text/TextIconProps.d.ts +2 -2
- package/lib/components/image/Image.js.map +1 -1
- package/lib/components/image/Image.native.d.ts +1 -1
- package/lib/components/image/Image.native.js +1 -1
- package/lib/components/image/Image.native.js.map +1 -1
- package/lib/components/image/test/Image.test.d.ts +1 -0
- package/lib/components/image/test/Image.test.js +44 -0
- package/lib/components/image/test/Image.test.js.map +1 -0
- package/lib/components/index.d.ts +0 -1
- package/lib/components/index.js +0 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/Input.js +2 -3
- package/lib/components/input/Input.js.map +1 -1
- package/lib/components/input/Input.native.d.ts +1 -1
- package/lib/components/input/Input.native.js +3 -3
- package/lib/components/input/Input.native.js.map +1 -1
- package/lib/components/input/autocomplete/AutoComplete.js +1 -1
- package/lib/components/input/autocomplete/AutoComplete.js.map +1 -1
- package/lib/components/input/autocomplete/AutoCompleteProps.d.ts +1 -1
- package/lib/components/input/autocomplete/item/AutoCompleteIem.native.js +2 -2
- package/lib/components/input/autocomplete/item/AutoCompleteIem.native.js.map +1 -1
- package/lib/components/input/autocomplete/item/AutoCompleteItem.d.ts +1 -1
- package/lib/components/input/autocomplete/item/AutoCompleteItem.js +2 -2
- package/lib/components/input/autocomplete/item/AutoCompleteItem.js.map +1 -1
- package/lib/components/input/autocomplete/item/AutoCompleteItemProps.d.ts +1 -1
- package/lib/components/input/autocomplete/menu/AutoCompleteMenu.js.map +1 -1
- package/lib/components/input/autocomplete/menu/AutoCompleteMenu.native.js +1 -1
- package/lib/components/input/autocomplete/menu/AutoCompleteMenu.native.js.map +1 -1
- package/lib/components/input/autocomplete/test/Autocomplete.test.d.ts +1 -0
- package/lib/components/input/autocomplete/test/Autocomplete.test.js +211 -0
- package/lib/components/input/autocomplete/test/Autocomplete.test.js.map +1 -0
- package/lib/components/input/gauge/InputGauge.d.ts +1 -1
- package/lib/components/input/gauge/InputGauge.js +1 -1
- package/lib/components/input/gauge/InputGauge.js.map +1 -1
- package/lib/components/input/gauge/InputGauge.native.d.ts +1 -1
- package/lib/components/input/gauge/InputGauge.native.js +2 -2
- package/lib/components/input/gauge/InputGauge.native.js.map +1 -1
- package/lib/components/input/gauge/hook/useGauge.d.ts +1 -1
- package/lib/components/input/gauge/hook/useGauge.js +1 -1
- package/lib/components/input/gauge/hook/useGauge.js.map +1 -1
- package/lib/components/input/test/Input.native.test.d.ts +1 -0
- package/lib/components/input/test/Input.native.test.js +121 -0
- package/lib/components/input/test/Input.native.test.js.map +1 -0
- package/lib/components/input/test/Input.test.d.ts +1 -0
- package/lib/components/input/test/Input.test.js +247 -0
- package/lib/components/input/test/Input.test.js.map +1 -0
- package/lib/components/link/Link.js +2 -2
- package/lib/components/link/Link.js.map +1 -1
- package/lib/components/link/Link.native.d.ts +1 -1
- package/lib/components/link/Link.native.js +3 -3
- package/lib/components/link/Link.native.js.map +1 -1
- package/lib/components/link/LinkProps.d.ts +2 -2
- package/lib/components/link/test/link.test.d.ts +1 -0
- package/lib/components/link/test/link.test.js +40 -0
- package/lib/components/link/test/link.test.js.map +1 -0
- package/lib/components/list/List.js.map +1 -1
- package/lib/components/list/List.native.d.ts +1 -1
- package/lib/components/list/List.native.js +2 -2
- package/lib/components/list/List.native.js.map +1 -1
- package/lib/components/list/item/ListItem.js +2 -2
- package/lib/components/list/item/ListItem.js.map +1 -1
- package/lib/components/list/item/ListItem.native.d.ts +1 -1
- package/lib/components/list/item/ListItem.native.js +5 -5
- package/lib/components/list/item/ListItem.native.js.map +1 -1
- package/lib/components/list/item/ListItemProps.d.ts +1 -1
- package/lib/components/list/item/description/ListItemDescription.js.map +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.js +3 -3
- package/lib/components/list/item/description/ListItemDescription.native.js.map +1 -1
- package/lib/components/list/item/test/ListItem.test.d.ts +1 -0
- package/lib/components/list/item/test/ListItem.test.js +20 -0
- package/lib/components/list/item/test/ListItem.test.js.map +1 -0
- package/lib/components/list/test/List.test.d.ts +1 -0
- package/lib/components/list/test/List.test.js +28 -0
- package/lib/components/list/test/List.test.js.map +1 -0
- package/lib/components/modal/Modal.js +4 -4
- package/lib/components/modal/Modal.js.map +1 -1
- package/lib/components/modal/Modal.native.d.ts +1 -1
- package/lib/components/modal/Modal.native.js +5 -5
- package/lib/components/modal/Modal.native.js.map +1 -1
- package/lib/components/modal/ModalProps.d.ts +1 -1
- package/lib/components/modal/footer/ModalFooter.js.map +1 -1
- package/lib/components/modal/footer/ModalFooter.native.d.ts +1 -1
- package/lib/components/modal/footer/ModalFooter.native.js +3 -3
- package/lib/components/modal/footer/ModalFooter.native.js.map +1 -1
- package/lib/components/modal/test/Modal.test.d.ts +1 -0
- package/lib/components/modal/test/Modal.test.js +170 -0
- package/lib/components/modal/test/Modal.test.js.map +1 -0
- package/lib/components/modal/test/ModalFooter.test.d.ts +1 -0
- package/lib/components/modal/test/ModalFooter.test.js +24 -0
- package/lib/components/modal/test/ModalFooter.test.js.map +1 -0
- package/lib/components/modal/test/ModalTitle.test.d.ts +1 -0
- package/lib/components/modal/test/ModalTitle.test.js +17 -0
- package/lib/components/modal/test/ModalTitle.test.js.map +1 -0
- package/lib/components/modal/title/ModalTitle.js +1 -1
- package/lib/components/modal/title/ModalTitle.js.map +1 -1
- package/lib/components/modal/title/ModalTitle.native.d.ts +1 -1
- package/lib/components/modal/title/ModalTitle.native.js +4 -4
- package/lib/components/modal/title/ModalTitle.native.js.map +1 -1
- package/lib/components/modal/title/ModalTitleProps.d.ts +1 -1
- package/lib/components/otp/Otp.js +1 -1
- package/lib/components/otp/Otp.js.map +1 -1
- package/lib/components/otp/Otp.native.d.ts +1 -1
- package/lib/components/otp/Otp.native.js +4 -4
- package/lib/components/otp/Otp.native.js.map +1 -1
- package/lib/components/otp/test/Otp.test.d.ts +1 -0
- package/lib/components/otp/test/Otp.test.js +27 -0
- package/lib/components/otp/test/Otp.test.js.map +1 -0
- package/lib/components/pagination/Pagination.js +1 -1
- package/lib/components/pagination/Pagination.js.map +1 -1
- package/lib/components/pagination/Pagination.native.d.ts +1 -1
- package/lib/components/pagination/Pagination.native.js +5 -5
- package/lib/components/pagination/Pagination.native.js.map +1 -1
- package/lib/components/pagination/test/Pagination.test.d.ts +1 -0
- package/lib/components/pagination/test/Pagination.test.js +34 -0
- package/lib/components/pagination/test/Pagination.test.js.map +1 -0
- package/lib/components/popover/Popover.js +2 -2
- package/lib/components/popover/Popover.js.map +1 -1
- package/lib/components/popover/Popover.native.d.ts +1 -1
- package/lib/components/popover/Popover.native.js +2 -2
- package/lib/components/popover/Popover.native.js.map +1 -1
- package/lib/components/popover/test/Popover.test.d.ts +1 -0
- package/lib/components/popover/test/Popover.test.js +49 -0
- package/lib/components/popover/test/Popover.test.js.map +1 -0
- package/lib/components/price/Price.js.map +1 -1
- package/lib/components/price/Price.native.d.ts +1 -1
- package/lib/components/price/Price.native.js +2 -2
- package/lib/components/price/Price.native.js.map +1 -1
- package/lib/components/price/test/Price.test.d.ts +1 -0
- package/lib/components/price/test/Price.test.js +30 -0
- package/lib/components/price/test/Price.test.js.map +1 -0
- package/lib/components/product-tour/ProductTour.js.map +1 -1
- package/lib/components/product-tour/ProductTour.native.d.ts +1 -1
- package/lib/components/product-tour/ProductTour.native.js +1 -1
- package/lib/components/product-tour/ProductTour.native.js.map +1 -1
- package/lib/components/product-tour/test/ProductTour.test.d.ts +1 -0
- package/lib/components/product-tour/test/ProductTour.test.js +11 -0
- package/lib/components/product-tour/test/ProductTour.test.js.map +1 -0
- package/lib/components/progress/Progress.js.map +1 -1
- package/lib/components/progress/Progress.native.d.ts +1 -1
- package/lib/components/progress/Progress.native.js +3 -3
- package/lib/components/progress/Progress.native.js.map +1 -1
- package/lib/components/progress/item/ProgressItem.js.map +1 -1
- package/lib/components/progress/item/ProgressItem.native.d.ts +1 -1
- package/lib/components/progress/item/ProgressItem.native.js +1 -1
- package/lib/components/progress/item/ProgressItem.native.js.map +1 -1
- package/lib/components/progress/radial/ProgressRadial.js.map +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.js +2 -2
- package/lib/components/progress/radial/ProgressRadial.native.js.map +1 -1
- package/lib/components/progress/radial/item/ProgressRadialtem.js.map +1 -1
- package/lib/components/progress/radial/test/ProgressRadial.test.d.ts +1 -0
- package/lib/components/progress/radial/test/ProgressRadial.test.js +33 -0
- package/lib/components/progress/radial/test/ProgressRadial.test.js.map +1 -0
- package/lib/components/progress/test/Progress.test.d.ts +1 -0
- package/lib/components/progress/test/Progress.test.js +57 -0
- package/lib/components/progress/test/Progress.test.js.map +1 -0
- package/lib/components/radio/Radio.d.ts +1 -1
- package/lib/components/radio/Radio.js +3 -3
- package/lib/components/radio/Radio.js.map +1 -1
- package/lib/components/radio/Radio.native.d.ts +1 -1
- package/lib/components/radio/Radio.native.js +4 -4
- package/lib/components/radio/Radio.native.js.map +1 -1
- package/lib/components/radio/RadioProps.d.ts +1 -1
- package/lib/components/radio/list/RadioList.js.map +1 -1
- package/lib/components/radio/list/RadioList.native.d.ts +1 -1
- package/lib/components/radio/list/RadioList.native.js +4 -4
- package/lib/components/radio/list/RadioList.native.js.map +1 -1
- package/lib/components/radio/list/RadioListProps.d.ts +2 -2
- package/lib/components/radio/test/radio.test.d.ts +1 -0
- package/lib/components/radio/test/radio.test.js +50 -0
- package/lib/components/radio/test/radio.test.js.map +1 -0
- package/lib/components/range/Range.js.map +1 -1
- package/lib/components/range/Range.native.d.ts +1 -1
- package/lib/components/range/Range.native.js +1 -1
- package/lib/components/range/Range.native.js.map +1 -1
- package/lib/components/range/test/Range.test.d.ts +1 -0
- package/lib/components/range/test/Range.test.js +11 -0
- package/lib/components/range/test/Range.test.js.map +1 -0
- package/lib/components/rows/Rows.js.map +1 -1
- package/lib/components/rows/Rows.native.d.ts +1 -1
- package/lib/components/rows/Rows.native.js +1 -1
- package/lib/components/rows/Rows.native.js.map +1 -1
- package/lib/components/rows/item/RowItem.js.map +1 -1
- package/lib/components/rows/item/RowItem.native.d.ts +1 -1
- package/lib/components/rows/item/RowItem.native.js +1 -1
- package/lib/components/rows/item/RowItem.native.js.map +1 -1
- package/lib/components/rows/test/Row.test.d.ts +1 -0
- package/lib/components/rows/test/Row.test.js +18 -0
- package/lib/components/rows/test/Row.test.js.map +1 -0
- package/lib/components/scroll-view/ScrollView.js.map +1 -1
- package/lib/components/scroll-view/ScrollView.native.js +1 -1
- package/lib/components/scroll-view/ScrollView.native.js.map +1 -1
- package/lib/components/section/Section.js.map +1 -1
- package/lib/components/section/Section.native.d.ts +1 -1
- package/lib/components/section/Section.native.js +2 -2
- package/lib/components/section/Section.native.js.map +1 -1
- package/lib/components/section/test/Section.test.d.ts +1 -0
- package/lib/components/section/test/Section.test.js +30 -0
- package/lib/components/section/test/Section.test.js.map +1 -0
- package/lib/components/segment-control/SegmentControl.js.map +1 -1
- package/lib/components/segment-control/SegmentControl.native.d.ts +1 -1
- package/lib/components/segment-control/SegmentControl.native.js +3 -3
- package/lib/components/segment-control/SegmentControl.native.js.map +1 -1
- package/lib/components/segment-control/SegmentControlProps.d.ts +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.js.map +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.js +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
- package/lib/components/segment-control/test/SegmentControl.test.d.ts +1 -0
- package/lib/components/segment-control/test/SegmentControl.test.js +28 -0
- package/lib/components/segment-control/test/SegmentControl.test.js.map +1 -0
- package/lib/components/select/Select.native.d.ts +1 -1
- package/lib/components/select/Select.native.js +3 -3
- package/lib/components/select/Select.native.js.map +1 -1
- package/lib/components/select/option/SelectOption.js +1 -1
- package/lib/components/select/option/SelectOption.js.map +1 -1
- package/lib/components/select/option/SelectOption.native.d.ts +1 -1
- 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/option/SelectOptionProps.d.ts +1 -1
- package/lib/components/select/option/test/SelectOption.test.d.ts +1 -0
- package/lib/components/select/option/test/SelectOption.test.js +70 -0
- package/lib/components/select/option/test/SelectOption.test.js.map +1 -0
- package/lib/components/select/test/Select.test.d.ts +1 -0
- package/lib/components/select/test/Select.test.js +115 -0
- package/lib/components/select/test/Select.test.js.map +1 -0
- package/lib/components/select/web/SelectDynamic.d.ts +1 -1
- package/lib/components/select/web/SelectDynamic.js +4 -4
- 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 +6 -6
- package/lib/components/select/web/SelectNative.js.map +1 -1
- package/lib/components/selector/Selector.js +1 -1
- package/lib/components/selector/Selector.js.map +1 -1
- package/lib/components/selector/Selector.native.js +1 -1
- package/lib/components/selector/Selector.native.js.map +1 -1
- package/lib/components/selector/item/SelectorItem.js +1 -1
- package/lib/components/selector/item/SelectorItem.js.map +1 -1
- package/lib/components/selector/item/SelectorItem.native.js +2 -2
- package/lib/components/selector/item/SelectorItem.native.js.map +1 -1
- package/lib/components/selector/test/Selector.test.d.ts +1 -0
- package/lib/components/selector/test/Selector.test.js +26 -0
- package/lib/components/selector/test/Selector.test.js.map +1 -0
- package/lib/components/spacer/Spacer.native.d.ts +1 -1
- package/lib/components/spacer/Spacer.native.js +1 -1
- package/lib/components/spacer/Spacer.native.js.map +1 -1
- package/lib/components/spacer/test/Spacer.test.d.ts +1 -0
- package/lib/components/spacer/test/Spacer.test.js +21 -0
- package/lib/components/spacer/test/Spacer.test.js.map +1 -0
- package/lib/components/stepper/Stepper.js.map +1 -1
- package/lib/components/stepper/Stepper.native.d.ts +1 -1
- package/lib/components/stepper/Stepper.native.js +4 -4
- package/lib/components/stepper/Stepper.native.js.map +1 -1
- package/lib/components/stepper/step/StepperStep.js +2 -2
- package/lib/components/stepper/step/StepperStep.js.map +1 -1
- package/lib/components/stepper/step/StepperStep.native.d.ts +1 -1
- package/lib/components/stepper/step/StepperStep.native.js +1 -1
- package/lib/components/stepper/step/StepperStep.native.js.map +1 -1
- package/lib/components/stepper/step/StepperStepProps.d.ts +1 -1
- package/lib/components/stepper/test/stepper.test.d.ts +1 -0
- package/lib/components/stepper/test/stepper.test.js +37 -0
- package/lib/components/stepper/test/stepper.test.js.map +1 -0
- package/lib/components/sticker/Sticker.js.map +1 -1
- package/lib/components/sticker/Sticker.native.d.ts +1 -1
- package/lib/components/sticker/Sticker.native.js +2 -2
- package/lib/components/sticker/Sticker.native.js.map +1 -1
- package/lib/components/sticker/test/Sticker.test.d.ts +1 -0
- package/lib/components/sticker/test/Sticker.test.js +48 -0
- package/lib/components/sticker/test/Sticker.test.js.map +1 -0
- package/lib/components/switch/Switch.js.map +1 -1
- package/lib/components/switch/Switch.native.d.ts +1 -1
- package/lib/components/switch/Switch.native.js +1 -1
- package/lib/components/switch/Switch.native.js.map +1 -1
- package/lib/components/switch/test/Switch.native.test.d.ts +1 -0
- package/lib/components/switch/test/Switch.native.test.js +38 -0
- package/lib/components/switch/test/Switch.native.test.js.map +1 -0
- package/lib/components/switch/test/Switch.test.d.ts +1 -0
- package/lib/components/switch/test/Switch.test.js +18 -0
- package/lib/components/switch/test/Switch.test.js.map +1 -0
- package/lib/components/table/Table.js +2 -2
- package/lib/components/table/Table.js.map +1 -1
- package/lib/components/table/Table.native.d.ts +1 -1
- package/lib/components/table/Table.native.js +1 -1
- package/lib/components/table/Table.native.js.map +1 -1
- package/lib/components/table/body/TableBody.js +2 -2
- package/lib/components/table/body/TableBody.js.map +1 -1
- package/lib/components/table/body/TableBody.native.d.ts +1 -1
- package/lib/components/table/body/TableBody.native.js +1 -1
- package/lib/components/table/body/TableBody.native.js.map +1 -1
- package/lib/components/table/head/TableHead.js.map +1 -1
- package/lib/components/table/head/TableHead.native.d.ts +1 -1
- package/lib/components/table/head/TableHead.native.js +1 -1
- package/lib/components/table/head/TableHead.native.js.map +1 -1
- package/lib/components/table/td/TableTd.js +2 -2
- package/lib/components/table/td/TableTd.js.map +1 -1
- package/lib/components/table/td/TableTd.native.d.ts +1 -1
- package/lib/components/table/td/TableTd.native.js +1 -1
- package/lib/components/table/td/TableTd.native.js.map +1 -1
- package/lib/components/table/test/Table.test.d.ts +1 -0
- package/lib/components/table/test/Table.test.js +146 -0
- package/lib/components/table/test/Table.test.js.map +1 -0
- package/lib/components/table/test/TableBody.test.d.ts +1 -0
- package/lib/components/table/test/TableBody.test.js +41 -0
- package/lib/components/table/test/TableBody.test.js.map +1 -0
- package/lib/components/table/test/TableHead.test.d.ts +1 -0
- package/lib/components/table/test/TableHead.test.js +41 -0
- package/lib/components/table/test/TableHead.test.js.map +1 -0
- package/lib/components/table/test/TableTr.test.d.ts +1 -0
- package/lib/components/table/test/TableTr.test.js +48 -0
- package/lib/components/table/test/TableTr.test.js.map +1 -0
- package/lib/components/table/th/TableTh.js +2 -2
- package/lib/components/table/th/TableTh.js.map +1 -1
- package/lib/components/table/th/TableTh.native.d.ts +1 -1
- package/lib/components/table/th/TableTh.native.js +3 -3
- package/lib/components/table/th/TableTh.native.js.map +1 -1
- package/lib/components/table/tr/TableTr.js +2 -2
- package/lib/components/table/tr/TableTr.js.map +1 -1
- package/lib/components/table/tr/TableTr.native.d.ts +1 -1
- package/lib/components/table/tr/TableTr.native.js +4 -4
- package/lib/components/table/tr/TableTr.native.js.map +1 -1
- package/lib/components/tabs/Tabs.js +3 -3
- package/lib/components/tabs/Tabs.js.map +1 -1
- package/lib/components/tabs/Tabs.native.d.ts +1 -1
- package/lib/components/tabs/Tabs.native.js +2 -2
- package/lib/components/tabs/Tabs.native.js.map +1 -1
- package/lib/components/tabs/item/TabsItem.js +3 -3
- package/lib/components/tabs/item/TabsItem.js.map +1 -1
- package/lib/components/tabs/item/TabsItem.native.d.ts +1 -1
- package/lib/components/tabs/item/TabsItem.native.js +3 -3
- package/lib/components/tabs/item/TabsItem.native.js.map +1 -1
- package/lib/components/tabs/item/TabsItemProps.d.ts +1 -1
- package/lib/components/tabs/test/tabs.test.d.ts +1 -0
- package/lib/components/tabs/test/tabs.test.js +48 -0
- package/lib/components/tabs/test/tabs.test.js.map +1 -0
- package/lib/components/tag/Tag.js.map +1 -1
- package/lib/components/tag/Tag.native.d.ts +1 -1
- package/lib/components/tag/Tag.native.js +2 -2
- package/lib/components/tag/Tag.native.js.map +1 -1
- package/lib/components/tag/TagProps.d.ts +1 -1
- package/lib/components/tag/list/TagList.js.map +1 -1
- package/lib/components/tag/list/TagList.native.d.ts +1 -1
- package/lib/components/tag/list/TagList.native.js +1 -1
- package/lib/components/tag/list/TagList.native.js.map +1 -1
- package/lib/components/tag/test/Tag.test.d.ts +1 -0
- package/lib/components/tag/test/Tag.test.js +60 -0
- package/lib/components/tag/test/Tag.test.js.map +1 -0
- package/lib/components/tag/test/TagList.test.d.ts +1 -0
- package/lib/components/tag/test/TagList.test.js +36 -0
- package/lib/components/tag/test/TagList.test.js.map +1 -0
- package/lib/components/text/Text.js +3 -3
- package/lib/components/text/Text.js.map +1 -1
- package/lib/components/text/Text.native.d.ts +1 -1
- package/lib/components/text/Text.native.js +1 -1
- package/lib/components/text/Text.native.js.map +1 -1
- package/lib/components/text/TextProps.d.ts +1 -1
- package/lib/components/text/test/Text.test.d.ts +1 -0
- package/lib/components/text/test/Text.test.js +114 -0
- package/lib/components/text/test/Text.test.js.map +1 -0
- package/lib/components/textarea/Textarea.js +2 -2
- package/lib/components/textarea/Textarea.js.map +1 -1
- package/lib/components/textarea/Textarea.native.js +4 -7
- package/lib/components/textarea/Textarea.native.js.map +1 -1
- package/lib/components/textarea/TextareaProps.d.ts +4 -4
- package/lib/components/textarea/test/textarea.test.d.ts +1 -0
- package/lib/components/textarea/test/textarea.test.js +44 -0
- package/lib/components/textarea/test/textarea.test.js.map +1 -0
- package/lib/components/timeline/Timeline.js.map +1 -1
- package/lib/components/timeline/Timeline.native.d.ts +1 -1
- package/lib/components/timeline/Timeline.native.js +1 -1
- package/lib/components/timeline/Timeline.native.js.map +1 -1
- package/lib/components/timeline/content/TimelineContent.js +2 -2
- package/lib/components/timeline/content/TimelineContent.js.map +1 -1
- package/lib/components/timeline/content/TimelineContent.native.d.ts +1 -1
- package/lib/components/timeline/content/TimelineContent.native.js +5 -5
- package/lib/components/timeline/content/TimelineContent.native.js.map +1 -1
- package/lib/components/timeline/content/test/TimelineContent.test.d.ts +1 -0
- package/lib/components/timeline/content/test/TimelineContent.test.js +24 -0
- package/lib/components/timeline/content/test/TimelineContent.test.js.map +1 -0
- package/lib/components/timeline/item/TimelineItem.js.map +1 -1
- package/lib/components/timeline/item/TimelineItem.native.d.ts +1 -1
- package/lib/components/timeline/item/TimelineItem.native.js +2 -2
- package/lib/components/timeline/item/TimelineItem.native.js.map +1 -1
- package/lib/components/timeline/item/test/TimelineItem.test.d.ts +1 -0
- package/lib/components/timeline/item/test/TimelineItem.test.js +26 -0
- package/lib/components/timeline/item/test/TimelineItem.test.js.map +1 -0
- package/lib/components/timeline/marker/TimelineMarker.js +1 -1
- package/lib/components/timeline/marker/TimelineMarker.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.js +3 -3
- package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarkerProps.d.ts +1 -1
- package/lib/components/timeline/marker/test/TimelineMarker.test.d.ts +1 -0
- package/lib/components/timeline/marker/test/TimelineMarker.test.js +19 -0
- package/lib/components/timeline/marker/test/TimelineMarker.test.js.map +1 -0
- package/lib/components/timeline/test/Timeline.test.d.ts +1 -0
- package/lib/components/timeline/test/Timeline.test.js +51 -0
- package/lib/components/timeline/test/Timeline.test.js.map +1 -0
- package/lib/components/title/Title.js +2 -2
- package/lib/components/title/Title.js.map +1 -1
- package/lib/components/title/Title.native.d.ts +1 -1
- package/lib/components/title/Title.native.js +1 -1
- package/lib/components/title/Title.native.js.map +1 -1
- package/lib/components/title/test/Title.test.d.ts +1 -0
- package/lib/components/title/test/Title.test.js +87 -0
- package/lib/components/title/test/Title.test.js.map +1 -0
- package/lib/components/toaster/Toaster.js +8 -6
- package/lib/components/toaster/Toaster.js.map +1 -1
- package/lib/components/toaster/Toaster.native.d.ts +1 -1
- package/lib/components/toaster/Toaster.native.js +7 -7
- package/lib/components/toaster/Toaster.native.js.map +1 -1
- package/lib/components/toaster/ToasterEnum.js.map +1 -1
- package/lib/components/toaster/ToasterProps.d.ts +1 -1
- package/lib/components/toaster/context/ToasterContextProps.d.ts +2 -2
- package/lib/components/toaster/test/Toaster.test.d.ts +1 -0
- package/lib/components/toaster/test/Toaster.test.js +96 -0
- package/lib/components/toaster/test/Toaster.test.js.map +1 -0
- package/lib/components/view/View.js.map +1 -1
- package/lib/components/view/View.native.d.ts +1 -1
- package/lib/components/view/View.native.js +1 -1
- package/lib/components/view/View.native.js.map +1 -1
- package/lib/components/view/ViewProps.js.map +1 -1
- package/lib/components/view/test/View.test.d.ts +1 -0
- package/lib/components/view/test/View.test.js +30 -0
- package/lib/components/view/test/View.test.js.map +1 -0
- package/lib/context/test/provider.test.d.ts +1 -0
- package/lib/context/test/provider.test.js +30 -0
- package/lib/context/test/provider.test.js.map +1 -0
- package/lib/objects/Typography/TypographyBold.js.map +1 -1
- package/lib/objects/Typography/TypographyColor.js +1 -1
- package/lib/objects/Typography/TypographyColor.js.map +1 -1
- package/lib/objects/atoms/Background.d.ts +2 -2
- package/lib/objects/atoms/Background.js +1 -1
- package/lib/objects/atoms/Background.js.map +1 -1
- package/lib/objects/facets/Alert.js.map +1 -1
- package/lib/objects/facets/Clickable.d.ts +1 -1
- package/lib/objects/facets/Color.js.map +1 -1
- package/lib/tsconfig.json +1 -8
- package/package.json +1 -1
- package/lib/components/dropdown/Dropdown.d.ts +0 -14
- package/lib/components/dropdown/Dropdown.js +0 -37
- package/lib/components/dropdown/Dropdown.js.map +0 -1
- package/lib/components/dropdown/Dropdown.native.d.ts +0 -8
- package/lib/components/dropdown/Dropdown.native.js +0 -26
- package/lib/components/dropdown/Dropdown.native.js.map +0 -1
- package/lib/components/dropdown/DropdownProps.d.ts +0 -14
- package/lib/components/dropdown/DropdownProps.js +0 -2
- package/lib/components/dropdown/DropdownProps.js.map +0 -1
- package/lib/components/dropdown/divider/DropdownDivider.d.ts +0 -8
- package/lib/components/dropdown/divider/DropdownDivider.js +0 -16
- package/lib/components/dropdown/divider/DropdownDivider.js.map +0 -1
- package/lib/components/dropdown/divider/DropdownDivider.native.d.ts +0 -7
- package/lib/components/dropdown/divider/DropdownDivider.native.js +0 -9
- package/lib/components/dropdown/divider/DropdownDivider.native.js.map +0 -1
- package/lib/components/dropdown/divider/DropdownDividerProps.d.ts +0 -6
- package/lib/components/dropdown/divider/DropdownDividerProps.js +0 -2
- package/lib/components/dropdown/divider/DropdownDividerProps.js.map +0 -1
- package/lib/components/dropdown/divider/index.d.ts +0 -2
- package/lib/components/dropdown/divider/index.js +0 -3
- package/lib/components/dropdown/divider/index.js.map +0 -1
- package/lib/components/dropdown/index.d.ts +0 -6
- package/lib/components/dropdown/index.js +0 -7
- package/lib/components/dropdown/index.js.map +0 -1
- package/lib/components/dropdown/item/DropdownItem.d.ts +0 -18
- package/lib/components/dropdown/item/DropdownItem.js +0 -57
- package/lib/components/dropdown/item/DropdownItem.js.map +0 -1
- package/lib/components/dropdown/item/DropdownItem.native.d.ts +0 -8
- package/lib/components/dropdown/item/DropdownItem.native.js +0 -10
- package/lib/components/dropdown/item/DropdownItem.native.js.map +0 -1
- package/lib/components/dropdown/item/DropdownItemProps.d.ts +0 -47
- package/lib/components/dropdown/item/DropdownItemProps.js +0 -2
- package/lib/components/dropdown/item/DropdownItemProps.js.map +0 -1
- package/lib/components/dropdown/item/index.d.ts +0 -2
- package/lib/components/dropdown/item/index.js +0 -3
- package/lib/components/dropdown/item/index.js.map +0 -1
- package/lib/components/dropdown/menu/DropdownMenu.d.ts +0 -9
- package/lib/components/dropdown/menu/DropdownMenu.js +0 -17
- package/lib/components/dropdown/menu/DropdownMenu.js.map +0 -1
- package/lib/components/dropdown/menu/DropdownMenu.native.d.ts +0 -8
- package/lib/components/dropdown/menu/DropdownMenu.native.js +0 -9
- package/lib/components/dropdown/menu/DropdownMenu.native.js.map +0 -1
- package/lib/components/dropdown/menu/DropdownMenuProps.d.ts +0 -13
- package/lib/components/dropdown/menu/DropdownMenuProps.js +0 -2
- package/lib/components/dropdown/menu/DropdownMenuProps.js.map +0 -1
- package/lib/components/dropdown/menu/index.d.ts +0 -2
- package/lib/components/dropdown/menu/index.js +0 -3
- package/lib/components/dropdown/menu/index.js.map +0 -1
- package/lib/components/dropdown/trigger/DropdownTrigger.d.ts +0 -13
- package/lib/components/dropdown/trigger/DropdownTrigger.js +0 -43
- package/lib/components/dropdown/trigger/DropdownTrigger.js.map +0 -1
- package/lib/components/dropdown/trigger/DropdownTrigger.native.d.ts +0 -8
- package/lib/components/dropdown/trigger/DropdownTrigger.native.js +0 -17
- package/lib/components/dropdown/trigger/DropdownTrigger.native.js.map +0 -1
- package/lib/components/dropdown/trigger/DropdownTriggerProps.d.ts +0 -23
- package/lib/components/dropdown/trigger/DropdownTriggerProps.js +0 -2
- package/lib/components/dropdown/trigger/DropdownTriggerProps.js.map +0 -1
- package/lib/components/dropdown/trigger/index.d.ts +0 -2
- package/lib/components/dropdown/trigger/index.js +0 -3
- package/lib/components/dropdown/trigger/index.js.map +0 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { fireEvent, render, screen } from "@testing-library/react";
|
|
3
|
+
import Box from "../Box";
|
|
4
|
+
import { BoxMarkup } from "../BoxProps";
|
|
5
|
+
import { BoxContent, BoxFooter, BoxHeader, BoxTableContainer } from "../index";
|
|
6
|
+
import BoxItem from "../item";
|
|
7
|
+
describe("Box component", () => {
|
|
8
|
+
test("renders without crashing", () => {
|
|
9
|
+
const { getByTestId } = render(React.createElement(Box, { testId: "box" },
|
|
10
|
+
React.createElement(BoxContent, null, "Im a box")));
|
|
11
|
+
const box = getByTestId("box");
|
|
12
|
+
expect(box).toBeInTheDocument();
|
|
13
|
+
});
|
|
14
|
+
test("renders children", () => {
|
|
15
|
+
const { getByText } = render(React.createElement(Box, null,
|
|
16
|
+
React.createElement(BoxHeader, null, "Box Header"),
|
|
17
|
+
React.createElement(BoxContent, null, " Box Content")));
|
|
18
|
+
expect(getByText("Box Content")).toBeInTheDocument();
|
|
19
|
+
});
|
|
20
|
+
test("calls onClick handler when clicked", () => {
|
|
21
|
+
const onClick = jest.fn();
|
|
22
|
+
const { getByTestId } = render(React.createElement(Box, { onClick: onClick, testId: "box" }, "Box Cliquable"));
|
|
23
|
+
fireEvent.click(getByTestId("box"));
|
|
24
|
+
expect(onClick).toHaveBeenCalled();
|
|
25
|
+
});
|
|
26
|
+
test("renders as an anchor if provided a `to` prop", () => {
|
|
27
|
+
const { container } = render(React.createElement(Box, { to: "/" }));
|
|
28
|
+
expect(container.querySelector("a")).toBeInTheDocument();
|
|
29
|
+
});
|
|
30
|
+
test("applies the `markup` prop when provided", () => {
|
|
31
|
+
const { container } = render(React.createElement(Box, { markup: BoxMarkup.A }));
|
|
32
|
+
expect(container.querySelector("a")).toBeInTheDocument();
|
|
33
|
+
});
|
|
34
|
+
test("have the `flat` prop className to the component", () => {
|
|
35
|
+
const { container } = render(React.createElement(Box, { flat: true }, "Flat Box"));
|
|
36
|
+
expect(container.firstChild).toHaveClass("is-flat");
|
|
37
|
+
});
|
|
38
|
+
test("have the `float` prop className to the component", () => {
|
|
39
|
+
const { container } = render(React.createElement(Box, { hat: true },
|
|
40
|
+
React.createElement(BoxHeader, null, "Sticker hat Box")));
|
|
41
|
+
expect(container.firstChild).toHaveClass("has-hat");
|
|
42
|
+
});
|
|
43
|
+
test("Check box footer className", () => {
|
|
44
|
+
const { container } = render(React.createElement(BoxFooter, null, "Box Footer"));
|
|
45
|
+
expect(container.firstChild).toHaveClass("box-footer");
|
|
46
|
+
});
|
|
47
|
+
test("Check box Item className", () => {
|
|
48
|
+
const { container } = render(React.createElement(BoxItem, null, "Box Item"));
|
|
49
|
+
expect(container.firstChild).toHaveClass("box-item");
|
|
50
|
+
});
|
|
51
|
+
test("Check box Table Container", () => {
|
|
52
|
+
const { container } = render(React.createElement(BoxTableContainer, null, "Box Table"));
|
|
53
|
+
expect(container.firstChild).toHaveClass("box table-container");
|
|
54
|
+
});
|
|
55
|
+
test("adds a `data-testid` attribute to the component", () => {
|
|
56
|
+
const { container } = render(React.createElement(Box, { testId: "box" }));
|
|
57
|
+
expect(container.firstChild).toHaveAttribute("data-testid", "box");
|
|
58
|
+
});
|
|
59
|
+
test("Should render box with markup A", () => {
|
|
60
|
+
const fn = jest.fn();
|
|
61
|
+
const { getByTestId } = render(React.createElement(Box, { onClick: fn, testId: "box", markup: "A", to: "test" }));
|
|
62
|
+
const box = getByTestId("box");
|
|
63
|
+
fireEvent.click(box);
|
|
64
|
+
expect(box).toHaveAttribute("href", "test");
|
|
65
|
+
expect(box).toBeInTheDocument();
|
|
66
|
+
expect(fn).toHaveBeenCalled();
|
|
67
|
+
});
|
|
68
|
+
test("Should have classes", () => {
|
|
69
|
+
const { getByTestId } = render(React.createElement(Box, { testId: "box", shadowless: true, background: "SUCCESS", backgroundSrc: "test", leftBorder: "SUCCESS", flat: true, hat: true }));
|
|
70
|
+
const box = getByTestId("box");
|
|
71
|
+
expect(box).toHaveClass("box is-shadowless has-background-success is-loaded has-background is-highlighted is-success is-flat has-hat");
|
|
72
|
+
});
|
|
73
|
+
test("Should have skeleton", () => {
|
|
74
|
+
const { getByTestId } = render(React.createElement(Box, { testId: "box", skeleton: true }));
|
|
75
|
+
const box = getByTestId("box");
|
|
76
|
+
expect(box).toHaveClass("box is-loading");
|
|
77
|
+
});
|
|
78
|
+
test("Should have classes content", () => {
|
|
79
|
+
const { getByTestId } = render(React.createElement(BoxContent, { testId: "boxContent", background: "SUCCESS" }));
|
|
80
|
+
const boxContent = getByTestId("boxContent");
|
|
81
|
+
expect(boxContent).toHaveClass("box-content has-background-success");
|
|
82
|
+
});
|
|
83
|
+
test("Should have classes footer", () => {
|
|
84
|
+
const { getByTestId } = render(React.createElement(BoxFooter, { testId: "boxFooter", backgroundColor: "SUCCESS" }));
|
|
85
|
+
const boxFooter = getByTestId("boxFooter");
|
|
86
|
+
expect(boxFooter).toHaveClass("box-footer has-background-success");
|
|
87
|
+
});
|
|
88
|
+
test("Should have classes header", () => {
|
|
89
|
+
const { getByTestId } = render(React.createElement(BoxHeader, { testId: "boxHeader", centered: true, pulledLeft: true, pulledRight: true, variant: "SUCCESS", help: "HELP" }));
|
|
90
|
+
const boxFooter = getByTestId("boxHeader");
|
|
91
|
+
const help = screen.getByTestId("boxHeader-help");
|
|
92
|
+
expect(boxFooter).toHaveClass("box-header has-text-centered has-text-left has-text-right has-background-success");
|
|
93
|
+
expect(help).toBeInTheDocument();
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
//# sourceMappingURL=Box.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.test.js","sourceRoot":"","sources":["../../../../components/box/test/Box.test.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC/E,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC7B,IAAI,CAAC,0BAA0B,EAAE,GAAG,EAAE;QACpC,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAC5B,oBAAC,GAAG,IAAC,MAAM,EAAE,KAAK;YAChB,oBAAC,UAAU,mBAAsB,CAC7B,CACP,CAAC;QACF,MAAM,GAAG,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;QAC/B,MAAM,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAClC,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,kBAAkB,EAAE,GAAG,EAAE;QAC5B,MAAM,EAAE,SAAS,EAAE,GAAG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F,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../../components/breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../../components/breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;;;GAMG;AACH,MAAM,UAAU,GAAG,CAAC,EAClB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,GAAG,MAAM,EACU,EAAe,EAAE;IACpC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,OAAO,CACL,4CACe,MAAM,EACnB,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC,gBAChD,aAAa,KACpB,MAAM;QAEV,gCAAK,QAAQ,CAAM,CACf,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BreadcrumbProps } from "./BreadcrumbProps";
|
|
3
|
-
import { ComponentName } from "
|
|
3
|
+
import { ComponentName } from "../../components/enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* Breadcrumb Native Component
|
|
6
6
|
* @param children {React.ReactNode} Breadcrumb Children
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { ComponentName } from "
|
|
2
|
+
import { ComponentName } from "../../components/enumsComponentsName";
|
|
3
3
|
import { StyleSheet, View } from "react-native";
|
|
4
|
-
import { Icon } from "
|
|
4
|
+
import { Icon } from "../../components/icon";
|
|
5
5
|
/**
|
|
6
6
|
* Breadcrumb Native Component
|
|
7
7
|
* @param children {React.ReactNode} Breadcrumb Children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.native.js","sourceRoot":"","sources":["../../../components/breadcrumb/Breadcrumb.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Breadcrumb.native.js","sourceRoot":"","sources":["../../../components/breadcrumb/Breadcrumb.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAExC;;;;GAIG;AACH,MAAM,UAAU,GAAG,CAAC,EAClB,QAAQ,EACR,MAAM,EACN,GAAG,MAAM,EACO,EAAe,EAAE;IACjC,MAAM,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC,OAAO,CACtC,GAAG,EAAE,CACH,UAAU,CAAC,MAAM,CAAC;QAChB,cAAc,EAAE;YACd,aAAa,EAAE,KAAK;YACpB,QAAQ,EAAE,MAAM;SACjB;KACF,CAAC,EACJ,EAAE,CACH,CAAA;IAED,OAAO,CACL,oBAAC,IAAI,IAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,cAAc,CAAC,KAAM,MAAM,IACtD,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtB,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC7C;YACG,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC;YACzB,KAAK,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,CAC/B,oBAAC,IAAI,IACH,IAAI,EAAC,SAAS,EACd,IAAI,EAAC,iBAAiB,EACtB,KAAK,EAAC,gBAAgB,EACtB,KAAK,EAAE,EAAE,gBAAgB,EAAE,CAAC,EAAE,GAC9B,CACH,CACA,CACJ,CAAC;QACJ,CAAC,CAAC,QAAQ,CACP,CACR,CAAA;AACH,CAAC,CAAA;AAED,UAAU,CAAC,WAAW,GAAG,aAAa,CAAC,UAAU,CAAA;AAEjD,eAAe,UAAU,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { is } from "../../../services/classify";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { hashClass } from "../../../helpers";
|
|
5
5
|
import { useTrilogyContext } from "../../../context";
|
|
6
|
-
import { Link } from '
|
|
6
|
+
import { Link } from '../../../components/link';
|
|
7
7
|
/**
|
|
8
8
|
* Breadcrumb Item Component
|
|
9
9
|
* @param children {string} Breadcrumb Item Text
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItem.js","sourceRoot":"","sources":["../../../../components/breadcrumb/item/BreadcrumbItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BreadcrumbItem.js","sourceRoot":"","sources":["../../../../components/breadcrumb/item/BreadcrumbItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,qBAA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
|
|
2
|
+
import { ComponentName } from "../../../components/enumsComponentsName";
|
|
3
|
+
import { Text } from "../../../components/text";
|
|
4
4
|
import { Linking, StyleSheet, TouchableOpacity } from "react-native";
|
|
5
5
|
import { getColorStyle, TrilogyColor, TypographyBold } from "../../../objects";
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItem.native.js","sourceRoot":"","sources":["../../../../components/breadcrumb/item/BreadcrumbItem.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,aAAa,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"BreadcrumbItem.native.js","sourceRoot":"","sources":["../../../../components/breadcrumb/item/BreadcrumbItem.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAA;AAE9D,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAA;AAClE,OAAO,EAAC,aAAa,EAAE,YAAY,EAAE,cAAc,EAAC,MAAM,WAAW,CAAA;AAErE;;;;;;GAMG;AACH,MAAM,cAAc,GAAG,CAAC,EACtB,QAAQ,EACR,MAAM,EACN,EAAE,EACF,MAAM,EACN,OAAO,EACP,GAAG,MAAM,EACW,EAAe,EAAE;IACrC,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,CAAC,MAAM,CAAC;QACtC,SAAS,EAAE;YACT,KAAK,EAAE,aAAa,CAAC,YAAY,CAAC,IAAI,CAAC;YACvC,kBAAkB,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM;YAClD,mBAAmB,EAAE,OAAO;SAC7B;KACF,CAAC,CAAA;IAEF,OAAO,CACL,oBAAC,gBAAgB,IACf,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACb,IAAI,EAAE;gBAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;YAC3B,IAAI,OAAO;gBAAE,OAAO,CAAC,CAAC,CAAC,CAAA;QACzB,CAAC,KACG,MAAM;QAEV,oBAAC,IAAI,IAAC,IAAI,EAAE,cAAc,CAAC,kBAAkB,EAAE,KAAK,EAAE,EAAE,GAAG,SAAS,EAAE,IAAG,QAAQ,CAAQ,CACxE,CACpB,CAAA;AACH,CAAC,CAAA;AAED,cAAc,CAAC,WAAW,GAAG,aAAa,CAAC,cAAc,CAAA;AAEzD,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
// Testing methods
|
|
4
|
+
import { render, screen } from "@testing-library/react";
|
|
5
|
+
import renderer from "react-test-renderer";
|
|
6
|
+
// Component to test
|
|
7
|
+
import { Breadcrumb } from "..";
|
|
8
|
+
describe("Breadcrumb component", () => {
|
|
9
|
+
test("should have a Breadcrumb in document", () => {
|
|
10
|
+
render(React.createElement(Breadcrumb, null));
|
|
11
|
+
expect(screen.getByRole("navigation")).toBeInTheDocument();
|
|
12
|
+
expect(screen.getByRole("navigation")).toHaveClass("breadcrumb");
|
|
13
|
+
});
|
|
14
|
+
test("should have a aria-label", () => {
|
|
15
|
+
render(React.createElement(Breadcrumb, null));
|
|
16
|
+
expect(screen.getByRole("navigation").getAttribute("aria-label")).toBe("breadcrumbs");
|
|
17
|
+
});
|
|
18
|
+
test("snapshot", () => {
|
|
19
|
+
const tree = renderer
|
|
20
|
+
.create(React.createElement(Breadcrumb, { className: "className" }, "toto"))
|
|
21
|
+
.toJSON();
|
|
22
|
+
expect(tree).toMatchSnapshot();
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
//# source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CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
// Testing methods
|
|
4
|
+
import { render, screen } from "@testing-library/react";
|
|
5
|
+
import renderer from "react-test-renderer";
|
|
6
|
+
import { is } from "../../../services";
|
|
7
|
+
// Component to test
|
|
8
|
+
import { BreadcrumbItem } from "..";
|
|
9
|
+
describe("BreadcrumbItem component", () => {
|
|
10
|
+
test("should have a BreadcrumbItem in document", () => {
|
|
11
|
+
render(React.createElement(BreadcrumbItem, null));
|
|
12
|
+
expect(screen.getByRole("listitem")).toBeInTheDocument();
|
|
13
|
+
});
|
|
14
|
+
test("should contain toto as text", () => {
|
|
15
|
+
render(React.createElement(BreadcrumbItem, null, "toto"));
|
|
16
|
+
expect(screen.getByText("toto")).toBeInTheDocument();
|
|
17
|
+
});
|
|
18
|
+
test('should have "is-active" className', () => {
|
|
19
|
+
render(React.createElement(BreadcrumbItem, { active: true }));
|
|
20
|
+
expect(screen.getByRole("listitem")).toHaveClass(is("active"));
|
|
21
|
+
});
|
|
22
|
+
test('should not have "is-active" className', () => {
|
|
23
|
+
render(React.createElement(BreadcrumbItem, { active: false }));
|
|
24
|
+
expect(screen.getByRole("listitem")).not.toHaveClass(is("active"));
|
|
25
|
+
});
|
|
26
|
+
test("should have a href", () => {
|
|
27
|
+
render(React.createElement(BreadcrumbItem, { href: "https://www.test.com" }, "HREF"));
|
|
28
|
+
expect(screen.getByText("HREF")).toHaveAttribute("href", "https://www.test.com");
|
|
29
|
+
});
|
|
30
|
+
test("should render breadcrumb with router link", () => {
|
|
31
|
+
var _a;
|
|
32
|
+
const { getByTestId } = render(React.createElement(BreadcrumbItem, { testId: "breadcrumb", routerLink: "a", to: "https://www.test.com" }, "HREF"));
|
|
33
|
+
const breadcrumb = getByTestId("breadcrumb");
|
|
34
|
+
expect((_a = breadcrumb.firstChild) === null || _a === void 0 ? void 0 : _a.nodeName).toBe("A");
|
|
35
|
+
expect(breadcrumb.firstChild).toHaveAttribute("to", "https://www.test.com");
|
|
36
|
+
expect(breadcrumb).toBeInTheDocument();
|
|
37
|
+
});
|
|
38
|
+
test("snapshot", () => {
|
|
39
|
+
const tree = renderer
|
|
40
|
+
.create(React.createElement(BreadcrumbItem, { className: "className", href: "href", active: true }, "toto"))
|
|
41
|
+
.toJSON();
|
|
42
|
+
expect(tree).toMatchSnapshot();
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=BreadcrumbItem.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BreadcrumbItem.test.js","sourceRoot":"","sources":["../../../../components/breadcrumb/test/BreadcrumbItem.test.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,kBAAkB;AAClB,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AAEvC,oBAAoB;AACpB,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEpC,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACxC,IAAI,CAAC,0CAA0C,EAAE,GAAG,EAAE;QACpD,MAAM,CAAC,oBAAC,cAAc,OAAG,CAAC,CAAC;QAE3B,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAC3D,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,6BAA6B,EAAE,GAAG,EAAE;QACvC,MAAM,CAAC,oBAAC,cAAc,eAAsB,CAAC,CAAC;QAE9C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAA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B,CAAC,CAAC;QAC5E,MAAM,CAAC,UAAU,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACzC,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;QACpB,MAAM,IAAI,GAAG,QAAQ;aAClB,MAAM,CACL,oBAAC,cAAc,IAAC,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,iBAE3C,CAClB;aACA,MAAM,EAAE,CAAC;QAEZ,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { getButtonVariantClassName } from "../../objects/facets/Color";
|
|
|
5
5
|
import { ButtonMarkup, } from "./ButtonEnum";
|
|
6
6
|
import { hashClass } from "../../helpers";
|
|
7
7
|
import { useTrilogyContext } from "../../context";
|
|
8
|
-
import { Icon } from "
|
|
8
|
+
import { Icon } from "../../components/icon";
|
|
9
9
|
/**
|
|
10
10
|
* Button component
|
|
11
11
|
* @param loading {boolean} Loading button
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAErC,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,YAAY,GAA2D,MAAM,cAAc,CAAA;AAEpG,OAAO,EAAE,SAAS,EAAE,MAAM,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AAI,UAAU,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE;QACnC,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAsB,CAAA;QACvE,OAAO,CACL,oBAAC,UAAU,kBACG,kBAAkB,iBACjB,MAAM,EACnB,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,OAAO,KACd,MAAM;YAET,QAAQ,IAAI,CACX,oBAAC,IAAI,IAAC,SAAS,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,GAAI,CACtE;YACA,QAAQ,CACE,CACd,CAAA;KACF;IAED,OAAO,CACL,2BACE,EAAE,EAAE,EAAE,iBACO,MAAM,gBACP,kBAAkB,EAC9B,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACb,iDAAiD;YACjD,CAAC,UAAU,KAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC,CAAA,CAAA;YAC3B,CAAC,CAAC,eAAe,EAAE,CAAA;QACrB,CAAC,KACG,MAAM;QAET,QAAQ,IAAI,CACX,oBAAC,IAAI,IAAC,SAAS,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,GAAI,CACtE;QACA,QAAQ,CACP,CACL,CAAA;AACH,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ActivityIndicator, StyleSheet, Text, TouchableOpacity, } from "react-native";
|
|
3
|
-
import { getLoadingClassName, getVariantClassName } from "../../objects";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { View } from "../view";
|
|
3
|
+
import { TrilogyColor, getButtonColorStyle, getColorStyle, getLoadingClassName, getVariantClassName } from "../../objects/facets";
|
|
4
|
+
import { ComponentName } from "../../components/enumsComponentsName";
|
|
5
|
+
import { Icon, IconSize } from "../../components/icon";
|
|
6
|
+
import { View } from "../../components/view";
|
|
8
7
|
import { ButtonVariant } from "./ButtonEnum";
|
|
9
8
|
/*
|
|
10
9
|
* Helpers (reduce complexity of component to meet sonarqube requirements)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.native.js","sourceRoot":"","sources":["../../../components/button/Button.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,IAAI,EACJ,gBAAgB,GACjB,MAAM,cAAc,CAAA;AACrB,OAAO,
|
|
1
|
+
{"version":3,"file":"Button.native.js","sourceRoot":"","sources":["../../../components/button/Button.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,IAAI,EACJ,gBAAgB,GACjB,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAG5C;;GAEG;AAEH,MAAM,mBAAmB,GAAG,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,OAAO,GACK,EAAU,EAAE;IACxB,OAAO,CACL,CAAC,OAAO,OAAO,KAAK,QAAQ;QAC5B,mBAAmB,CAAC,OAAO,CAAC,KAAK,SAAS;QAC1C,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,IAAI,IACH,KAAK,EACH,CAAC,CAAC,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,MAAM,CAAC,YAAY,CAAC,IAGhE,QAAQ,CACJ,CACR;QACA,CAAC,OAAO,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,IAAI,CACnE,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,mBAAmB;YACpC,CAAC,QAAQ,CAAC,CAAC,CAAC,CACX,oBAAC,IAAI,IACH,IAAI,EAAE,QAAQ,EACd,IAAI,EAAE,QAAQ,CAAC,KAAK,EACpB,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAChC,CACH,CAAC,CAAC,CAAC,CACF,oBAAC,IAAI,IACH,IAAI,EAAE,QAAQ,EACd,IAAI,EAAE,QAAQ,CAAC,KAAK,EACpB,KAAK,EAAE,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,GAC3C,CACH;YACD,oBAAC,IAAI,IACH,KAAK,EACH,CAAC,CAAC,QAAQ,IAAI,MAAM,CAAC,cAAc,CAAC;oBACpC,CAAC,QAAQ,IAAI,MAAM,CAAC,gBAAgB,CAAC,IAGtC,QAAQ,CACJ,CACF,CACR,CACgB,CACpB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,WAAW,GAAG,aAAa,CAAC,MAAM,CAAA;AAEzC,eAAe,MAAM,CAAA"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { ButtonMarkup, ButtonMarkupValues, ButtonType, ButtonTypeValues, ButtonVariant, ButtonVariantValues } from './ButtonEnum';
|
|
3
3
|
import { Fullwidth } from '../../objects/facets/Fullwidth';
|
|
4
4
|
import { Accessibility, Clickable } from '../../objects/facets';
|
|
5
|
-
import { IconName, IconNameValues } from '
|
|
5
|
+
import { IconName, IconNameValues } from '../../components/icon';
|
|
6
6
|
/**
|
|
7
7
|
* Button Interface
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonList.js","sourceRoot":"","sources":["../../../../components/button/list/ButtonList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ButtonList.js","sourceRoot":"","sources":["../../../../components/button/list/ButtonList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAA;AAChC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;;;;;GAQG;AAEH,MAAM,UAAU,GAAG,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,GAAG,MAAM,EACU,EAAe,EAAE;IACpC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,OAAO,CACL,6BACE,SAAS,EAAE,SAAS,CAClB,MAAM,EACN,IAAI,CACF,SAAS,EACT,SAAS,EACT,QAAQ,IAAI,GAAG,CAAC,eAAe,CAAC,EAChC,QAAQ,IAAI,WAAW,EACvB,QAAQ,IAAI,aAAa,CAC1B,CACF,KACG,MAAM,GACV,CACH,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ButtonListProps } from "./ButtonListProps";
|
|
3
|
-
import { ComponentName } from "
|
|
3
|
+
import { ComponentName } from "../../../components/enumsComponentsName";
|
|
4
4
|
/**
|
|
5
5
|
* ButtonList Native Component
|
|
6
6
|
* @param children {ReactNode} ButtonList children
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { AutoLayoutWrapper } from "
|
|
3
|
-
import { SpacerSize } from "
|
|
4
|
-
import { SpacingMatrixMode } from "
|
|
5
|
-
import { ComponentName } from "
|
|
2
|
+
import { AutoLayoutWrapper } from "../../../components/autolayout";
|
|
3
|
+
import { SpacerSize } from "../../../components/spacer";
|
|
4
|
+
import { SpacingMatrixMode } from "../../../components/autolayout/SpacingMatrix";
|
|
5
|
+
import { ComponentName } from "../../../components/enumsComponentsName";
|
|
6
6
|
const { MEDIUM, SMALL } = SpacerSize;
|
|
7
7
|
const { INSERT_SPACE_BETWEEN } = SpacingMatrixMode;
|
|
8
8
|
const SPACING_MATRIX = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonList.native.js","sourceRoot":"","sources":["../../../../components/button/list/ButtonList.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ButtonList.native.js","sourceRoot":"","sources":["../../../../components/button/list/ButtonList.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAA;AAKzE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,UAAU,CAAA;AACpC,MAAM,EAAE,oBAAoB,EAAE,GAAG,iBAAiB,CAAA;AAElD,MAAM,cAAc,GAAkB;IACpC,CAAC,oBAAoB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,CAAC;IAClD,CAAC,oBAAoB,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC;IAClD,CAAC,oBAAoB,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC;CACnD,CAAA;AAED;;;;GAIG;AAEH;;GAEG;AACH,MAAM,UAAU,GAAG,CAAC,EAClB,UAAU,GAAG,cAAc,EAC3B,QAAQ,GACQ,EAAe,EAAE;IACjC,OAAO,oBAAC,iBAAiB,OAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAI,CAAA;AAC5D,CAAC,CAAA;AAED,UAAU,CAAC,WAAW,GAAG,aAAa,CAAC,UAAU,CAAA;AAEjD,eAAe,UAAU,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Centerable, Layout } from '../../../objects';
|
|
3
|
-
import type { DividerProps } from '
|
|
4
|
-
import type { ButtonProps } from '
|
|
3
|
+
import type { DividerProps } from '../../../components/divider/DividerProps';
|
|
4
|
+
import type { ButtonProps } from '../../../components/button/ButtonProps';
|
|
5
5
|
type ButtonListChildrenTypes = React.ReactElement<ButtonProps | DividerProps> | undefined;
|
|
6
6
|
/**
|
|
7
7
|
* Button List Interface
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import renderer from 'react-test-renderer';
|
|
4
|
+
import { is } from '../../../services/index';
|
|
5
|
+
// Testing methods
|
|
6
|
+
import { fireEvent, render, screen } from '@testing-library/react';
|
|
7
|
+
// Component to test
|
|
8
|
+
import { getEnumNames } from '../../../helpers';
|
|
9
|
+
import { getButtonVariantClassName } from '../../../objects';
|
|
10
|
+
import { Button, ButtonMarkup, ButtonVariant } from '../';
|
|
11
|
+
describe('Button component', () => {
|
|
12
|
+
test('should have "button" className', () => {
|
|
13
|
+
const { getByRole } = render(React.createElement(Button, null));
|
|
14
|
+
const button = getByRole('button');
|
|
15
|
+
expect(button).toBeInTheDocument();
|
|
16
|
+
expect(button).toHaveClass('button');
|
|
17
|
+
});
|
|
18
|
+
test('should contain toto as text', () => {
|
|
19
|
+
const { getByText } = render(React.createElement(Button, null, "toto"));
|
|
20
|
+
expect(getByText('toto')).toBeInTheDocument();
|
|
21
|
+
});
|
|
22
|
+
test('should have a correct html tag', () => {
|
|
23
|
+
const { getByText } = render(React.createElement(Button, null, "toto"));
|
|
24
|
+
expect(getByText('toto')).toBeTruthy();
|
|
25
|
+
getEnumNames(ButtonMarkup).forEach((element) => {
|
|
26
|
+
const { getByText } = render(React.createElement(Button, { markup: element }, element));
|
|
27
|
+
expect(getByText(element)).toBeTruthy();
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
test('should have "is-loading" className', () => {
|
|
31
|
+
const { getByText } = render(React.createElement(Button, { loading: true }, "LOADING"));
|
|
32
|
+
expect(getByText('LOADING')).toHaveClass(is('loading'));
|
|
33
|
+
expect(getByText('LOADING')).not.toHaveClass(is('loaded'));
|
|
34
|
+
});
|
|
35
|
+
test('should have "is-loaded" className', () => {
|
|
36
|
+
const { getByText } = render(React.createElement(Button, null, "DEFAULT"));
|
|
37
|
+
expect(getByText('DEFAULT')).toHaveClass(is('loaded'));
|
|
38
|
+
expect(getByText('DEFAULT')).not.toHaveClass(is('loading'));
|
|
39
|
+
});
|
|
40
|
+
test('shouldn have "is-loaded" className', () => {
|
|
41
|
+
const { getByText } = render(React.createElement(Button, { loading: false }, "LOADED"));
|
|
42
|
+
expect(getByText('LOADED')).toHaveClass(is('loaded'));
|
|
43
|
+
expect(getByText('LOADED')).not.toHaveClass(is('loading'));
|
|
44
|
+
});
|
|
45
|
+
test('should have disabled attribut', () => {
|
|
46
|
+
render(React.createElement(Button, { disabled: true }, "DISABLED"));
|
|
47
|
+
render(React.createElement(Button, { disabled: true }, "DISABLED_BIS"));
|
|
48
|
+
expect(screen.getByText('DISABLED')).toBeDisabled();
|
|
49
|
+
expect(screen.getByText('DISABLED_BIS')).toBeDisabled();
|
|
50
|
+
});
|
|
51
|
+
test('should not have disabled attribut', () => {
|
|
52
|
+
render(React.createElement(Button, null, "DEFAULT"));
|
|
53
|
+
render(React.createElement(Button, { disabled: false }, "DISABLED"));
|
|
54
|
+
expect(screen.getByText('DEFAULT')).not.toBeDisabled();
|
|
55
|
+
expect(screen.getByText('DISABLED')).not.toBeDisabled();
|
|
56
|
+
});
|
|
57
|
+
test('should have a correct variant className', () => {
|
|
58
|
+
getEnumNames(ButtonVariant).forEach((element) => {
|
|
59
|
+
render(React.createElement(Button, { variant: element }, element));
|
|
60
|
+
expect(screen.getByText(element)).toHaveClass(is(getButtonVariantClassName(element)));
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
test('should have "is-fullwidth" className', () => {
|
|
64
|
+
render(React.createElement(Button, { fullwidth: true }, "FULLWIDTH"));
|
|
65
|
+
expect(screen.getByText('FULLWIDTH')).toHaveClass(is('fullwidth'));
|
|
66
|
+
});
|
|
67
|
+
test('should not have "is-fullwidth" className', () => {
|
|
68
|
+
render(React.createElement(Button, null, "DEFAULT"));
|
|
69
|
+
render(React.createElement(Button, { fullwidth: false }, "FULLWIDTH"));
|
|
70
|
+
expect(screen.getByText('DEFAULT')).not.toHaveClass(is('fullwidth'));
|
|
71
|
+
expect(screen.getByText('FULLWIDTH')).not.toHaveClass(is('fullwidth'));
|
|
72
|
+
});
|
|
73
|
+
test('should onClick attribut work', () => {
|
|
74
|
+
const mockCallBack = jest.fn();
|
|
75
|
+
render(React.createElement(Button, { onClick: mockCallBack }, "DEFAULT"));
|
|
76
|
+
fireEvent.click(screen.getByText('DEFAULT'));
|
|
77
|
+
expect(mockCallBack).toHaveBeenCalled();
|
|
78
|
+
});
|
|
79
|
+
test('should be disabled', () => {
|
|
80
|
+
const mockCallBack = jest.fn();
|
|
81
|
+
render(React.createElement(Button, { disabled: true, onClick: mockCallBack }, "DEFAULT"));
|
|
82
|
+
fireEvent.click(screen.getByText('DEFAULT'));
|
|
83
|
+
expect(screen.getByText('DEFAULT')).toBeDisabled();
|
|
84
|
+
expect(mockCallBack).not.toHaveBeenCalled();
|
|
85
|
+
});
|
|
86
|
+
test('should be disabled with input tag', () => {
|
|
87
|
+
const mockCallBack = jest.fn();
|
|
88
|
+
const { getByTestId } = render(React.createElement(Button, { testId: 'btn', markup: 'input', disabled: true, onClick: mockCallBack }, "DEFAULT"));
|
|
89
|
+
const btn = getByTestId('btn');
|
|
90
|
+
fireEvent.click(btn);
|
|
91
|
+
expect(btn).toBeDisabled();
|
|
92
|
+
expect(mockCallBack).not.toHaveBeenCalled();
|
|
93
|
+
});
|
|
94
|
+
test('should be disabled with <a> tag', () => {
|
|
95
|
+
const mockCallBack = jest.fn();
|
|
96
|
+
const { getByTestId } = render(React.createElement(Button, { testId: 'btn', markup: 'a', disabled: true, onClick: mockCallBack }, "DEFAULT"));
|
|
97
|
+
const btn = getByTestId('btn');
|
|
98
|
+
fireEvent.click(btn);
|
|
99
|
+
expect(mockCallBack).not.toHaveBeenCalled();
|
|
100
|
+
});
|
|
101
|
+
test('should execute onclick with input tag', () => {
|
|
102
|
+
const mockCallBack = jest.fn();
|
|
103
|
+
const { getByTestId } = render(React.createElement(Button, { testId: 'btn', markup: 'input', onClick: mockCallBack }, "DEFAULT"));
|
|
104
|
+
const btn = getByTestId('btn');
|
|
105
|
+
fireEvent.click(btn);
|
|
106
|
+
expect(mockCallBack).toHaveBeenCalled();
|
|
107
|
+
});
|
|
108
|
+
test('should be routerlink', () => {
|
|
109
|
+
const { getByTestId } = render(React.createElement(Button, { routerLink: 'a', to: 'test', testId: 'btn', markup: 'a' }, "DEFAULT"));
|
|
110
|
+
const btn = getByTestId('btn');
|
|
111
|
+
expect(btn).toBeInTheDocument();
|
|
112
|
+
});
|
|
113
|
+
test('snapshot', () => {
|
|
114
|
+
const tree = renderer
|
|
115
|
+
.create(React.createElement(Button, { onClick: jest.fn(), loading: false, markup: ButtonMarkup.INPUT, className: 'className', id: 'id', disabled: false, variant: ButtonVariant.PRIMARY, fullwidth: true }, "SnapShot"))
|
|
116
|
+
.toJSON();
|
|
117
|
+
expect(tree).toMatchSnapshot();
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
//# sourceMappingURL=Button.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.test.js","sourceRoot":"","sources":["../../../../components/button/test/Button.test.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,QAAQ,MAAM,qBAAqB,CAAA;AAC1C,OAAO,EAAE,EAAE,EAAE,MAAM,yBAAyB,CAAA;AAE5C,kBAAkB;AAClB,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAElE,oBAAoB;AACpB,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAA;AACrD,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AAEzD,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,IAAI,CAAC,gCAAgC,EAAE,GAAG,EAAE;QAC1C,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,oBAAC,MAAM,OAAG,CAAC,CAAA;QACxC,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAA;QAClC,MAAM,CAAC,MAAM,CAAC,CAAC,iBAAiB,EAAE,CAAA;QAClC,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;IACtC,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,6BAA6B,EAAE,GAAG,EAAE;QACvC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,oBAAC,MAAM,eAAc,CAAC,CAAA;QACnD,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAA;IAC/C,CAAC,C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