@trilogy-ds/react 0.0.1-beta-110 → 0.0.1-beta-112
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 +1 -1
- package/lib/components/accordion/Accordion.example.d.ts +3 -0
- package/lib/components/accordion/Accordion.example.js +19 -0
- package/lib/components/accordion/Accordion.example.js.map +1 -0
- package/lib/components/accordion/Accordion.js +3 -4
- package/lib/components/accordion/Accordion.js.map +1 -1
- package/lib/components/accordion/body/AccordionBody.d.ts +1 -2
- package/lib/components/accordion/body/AccordionBody.js +1 -2
- 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/AccordionBodyProps.d.ts +1 -0
- package/lib/components/accordion/header/AccordionHeader.js +1 -1
- package/lib/components/accordion/header/AccordionHeader.js.map +1 -1
- package/lib/components/accordion/index.d.ts +2 -1
- package/lib/components/accordion/index.js +2 -1
- package/lib/components/accordion/index.js.map +1 -1
- package/lib/components/accordion/item/AccordionItem.js +1 -2
- package/lib/components/accordion/item/AccordionItem.js.map +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/alert/Alert.d.ts +7 -7
- package/lib/components/alert/Alert.example.d.ts +3 -0
- package/lib/components/alert/Alert.example.js +14 -0
- package/lib/components/alert/Alert.example.js.map +1 -0
- package/lib/components/alert/Alert.js +14 -14
- package/lib/components/alert/Alert.js.map +1 -1
- package/lib/components/alert/Alert.native.d.ts +6 -7
- package/lib/components/alert/Alert.native.js +15 -14
- package/lib/components/alert/Alert.native.js.map +1 -1
- package/lib/components/alert/AlertProps.d.ts +4 -3
- package/lib/components/alert/context/ToasterContextProps.d.ts +3 -3
- package/lib/components/alert/index.d.ts +2 -1
- package/lib/components/alert/index.js +2 -1
- package/lib/components/alert/index.js.map +1 -1
- package/lib/components/autolayout/AutoLayout.native.js +1 -1
- package/lib/components/autolayout/AutoLayout.native.js.map +1 -1
- package/lib/components/autolayout/DefaultSpacingMatrix.js +74 -31
- package/lib/components/autolayout/DefaultSpacingMatrix.js.map +1 -1
- package/lib/components/badge/Badge.d.ts +3 -4
- package/lib/components/badge/Badge.example.d.ts +3 -0
- package/lib/components/badge/Badge.example.js +5 -0
- package/lib/components/badge/Badge.example.js.map +1 -0
- package/lib/components/badge/Badge.js +12 -9
- package/lib/components/badge/Badge.js.map +1 -1
- package/lib/components/badge/Badge.native.d.ts +3 -4
- package/lib/components/badge/Badge.native.js +11 -9
- package/lib/components/badge/Badge.native.js.map +1 -1
- package/lib/components/badge/BadgeEnum.d.ts +5 -0
- package/lib/components/badge/BadgeEnum.js +5 -0
- package/lib/components/badge/BadgeEnum.js.map +1 -1
- package/lib/components/badge/BadgeProps.d.ts +4 -3
- package/lib/components/badge/index.d.ts +2 -1
- package/lib/components/badge/index.js +2 -1
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/box/Box.d.ts +3 -3
- package/lib/components/box/Box.example.d.ts +3 -0
- package/lib/components/box/Box.example.js +31 -0
- package/lib/components/box/Box.example.js.map +1 -0
- package/lib/components/box/Box.js +4 -4
- package/lib/components/box/Box.js.map +1 -1
- package/lib/components/box/Box.native.d.ts +3 -3
- package/lib/components/box/Box.native.js +14 -13
- package/lib/components/box/Box.native.js.map +1 -1
- package/lib/components/box/BoxProps.d.ts +1 -1
- package/lib/components/box/content/BoxContent.d.ts +2 -2
- package/lib/components/box/content/BoxContent.js +3 -3
- 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 +6 -4
- package/lib/components/box/content/BoxContent.native.js.map +1 -1
- package/lib/components/box/footer/BoxFooter.d.ts +1 -2
- package/lib/components/box/footer/BoxFooter.js +1 -2
- 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/header/BoxHeader.d.ts +1 -3
- package/lib/components/box/header/BoxHeader.js +1 -3
- 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/index.d.ts +2 -1
- package/lib/components/box/index.js +2 -1
- package/lib/components/box/index.js.map +1 -1
- package/lib/components/box/item/BoxItem.d.ts +1 -2
- package/lib/components/box/item/BoxItem.js +1 -2
- 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/table-container/BoxTableContainer.d.ts +1 -3
- package/lib/components/box/table-container/BoxTableContainer.js +1 -3
- 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/breadcrumb/Breadcrumb.d.ts +2 -3
- package/lib/components/breadcrumb/Breadcrumb.example.d.ts +3 -0
- package/lib/components/breadcrumb/Breadcrumb.example.js +9 -0
- package/lib/components/breadcrumb/Breadcrumb.example.js.map +1 -0
- package/lib/components/breadcrumb/Breadcrumb.js +3 -5
- package/lib/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/index.d.ts +2 -1
- package/lib/components/breadcrumb/index.js +2 -1
- package/lib/components/breadcrumb/index.js.map +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +0 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +0 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.js.map +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +0 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +0 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js.map +1 -1
- package/lib/components/button/Button.d.ts +1 -1
- package/lib/components/button/Button.example.d.ts +3 -0
- package/lib/components/button/Button.example.js +10 -0
- package/lib/components/button/Button.example.js.map +1 -0
- package/lib/components/button/Button.js +1 -1
- package/lib/components/button/Button.native.js +10 -10
- package/lib/components/button/Button.native.js.map +1 -1
- package/lib/components/button/index.d.ts +2 -1
- package/lib/components/button/index.js +2 -1
- package/lib/components/button/index.js.map +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/card/Card.d.ts +3 -10
- package/lib/components/card/Card.example.d.ts +3 -0
- package/lib/components/card/Card.example.js +25 -0
- package/lib/components/card/Card.example.js.map +1 -0
- package/lib/components/card/Card.js +7 -13
- package/lib/components/card/Card.js.map +1 -1
- package/lib/components/card/Card.native.d.ts +3 -2
- package/lib/components/card/Card.native.js +8 -7
- package/lib/components/card/Card.native.js.map +1 -1
- package/lib/components/card/content/CardContent.d.ts +0 -1
- package/lib/components/card/content/CardContent.js +0 -1
- package/lib/components/card/content/CardContent.js.map +1 -1
- package/lib/components/card/content/CardContent.native.d.ts +1 -0
- package/lib/components/card/content/CardContent.native.js +1 -0
- package/lib/components/card/content/CardContent.native.js.map +1 -1
- package/lib/components/card/content/CardContentProps.d.ts +1 -0
- package/lib/components/card/image/CardImage.d.ts +2 -2
- package/lib/components/card/image/CardImage.js +2 -2
- package/lib/components/card/image/CardImage.native.d.ts +1 -1
- package/lib/components/card/image/CardImage.native.js +8 -11
- package/lib/components/card/image/CardImage.native.js.map +1 -1
- package/lib/components/card/image/CardImageProps.d.ts +2 -0
- package/lib/components/card/index.d.ts +2 -1
- package/lib/components/card/index.js +2 -1
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/checkbox/Checkbox.d.ts +0 -3
- package/lib/components/checkbox/Checkbox.example.d.ts +3 -0
- package/lib/components/checkbox/Checkbox.example.js +18 -0
- package/lib/components/checkbox/Checkbox.example.js.map +1 -0
- package/lib/components/checkbox/Checkbox.js +0 -3
- package/lib/components/checkbox/Checkbox.js.map +1 -1
- package/lib/components/checkbox/Checkbox.native.d.ts +0 -5
- package/lib/components/checkbox/Checkbox.native.js +8 -13
- package/lib/components/checkbox/Checkbox.native.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +2 -1
- package/lib/components/checkbox/index.js +2 -1
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/chips/Chips.d.ts +2 -2
- package/lib/components/chips/Chips.example.d.ts +3 -0
- package/lib/components/chips/Chips.example.js +13 -0
- package/lib/components/chips/Chips.example.js.map +1 -0
- package/lib/components/chips/Chips.js +6 -5
- package/lib/components/chips/Chips.js.map +1 -1
- package/lib/components/chips/Chips.native.d.ts +2 -1
- package/lib/components/chips/Chips.native.js +8 -6
- package/lib/components/chips/Chips.native.js.map +1 -1
- package/lib/components/chips/ChipsProps.d.ts +1 -0
- package/lib/components/chips/index.d.ts +2 -1
- package/lib/components/chips/index.js +2 -1
- package/lib/components/chips/index.js.map +1 -1
- package/lib/components/chips/list/ChipsList.d.ts +2 -2
- package/lib/components/chips/list/ChipsList.js +3 -4
- package/lib/components/chips/list/ChipsList.js.map +1 -1
- package/lib/components/columns/Columns.d.ts +7 -5
- package/lib/components/columns/Columns.example.d.ts +3 -0
- package/lib/components/columns/Columns.example.js +16 -0
- package/lib/components/columns/Columns.example.js.map +1 -0
- package/lib/components/columns/Columns.js +10 -9
- package/lib/components/columns/Columns.js.map +1 -1
- package/lib/components/columns/Columns.native.d.ts +5 -5
- package/lib/components/columns/Columns.native.js +49 -63
- package/lib/components/columns/Columns.native.js.map +1 -1
- package/lib/components/columns/ColumnsProps.d.ts +6 -6
- package/lib/components/columns/ColumnsTypes.d.ts +0 -3
- package/lib/components/columns/ColumnsTypes.js +1 -1
- package/lib/components/columns/ColumnsTypes.js.map +1 -1
- package/lib/components/columns/index.d.ts +2 -1
- package/lib/components/columns/index.js +2 -1
- package/lib/components/columns/index.js.map +1 -1
- package/lib/components/columns/item/ColumnsItem.d.ts +3 -3
- package/lib/components/columns/item/ColumnsItem.js +5 -6
- package/lib/components/columns/item/ColumnsItem.js.map +1 -1
- package/lib/components/columns/item/ColumnsItem.native.d.ts +2 -4
- package/lib/components/columns/item/ColumnsItem.native.js +11 -12
- 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.d.ts +2 -7
- package/lib/components/container/Container.example.d.ts +3 -0
- package/lib/components/container/Container.example.js +9 -0
- package/lib/components/container/Container.example.js.map +1 -0
- package/lib/components/container/Container.js +3 -8
- package/lib/components/container/Container.js.map +1 -1
- package/lib/components/container/Container.native.d.ts +2 -4
- package/lib/components/container/Container.native.js +8 -10
- package/lib/components/container/Container.native.js.map +1 -1
- package/lib/components/container/index.d.ts +2 -1
- package/lib/components/container/index.js +2 -1
- package/lib/components/container/index.js.map +1 -1
- package/lib/components/countdown/Countdown.d.ts +2 -4
- package/lib/components/countdown/Countdown.example.d.ts +3 -0
- package/lib/components/countdown/Countdown.example.js +10 -0
- package/lib/components/countdown/Countdown.example.js.map +1 -0
- package/lib/components/countdown/Countdown.js +3 -5
- package/lib/components/countdown/Countdown.js.map +1 -1
- package/lib/components/countdown/Countdown.native.d.ts +1 -2
- package/lib/components/countdown/Countdown.native.js +3 -4
- package/lib/components/countdown/Countdown.native.js.map +1 -1
- package/lib/components/countdown/CountdownProps.d.ts +0 -1
- package/lib/components/countdown/index.d.ts +2 -1
- package/lib/components/countdown/index.js +2 -1
- package/lib/components/countdown/index.js.map +1 -1
- package/lib/components/divider/Divider.d.ts +1 -1
- package/lib/components/divider/Divider.example.d.ts +3 -0
- package/lib/components/divider/Divider.example.js +5 -0
- package/lib/components/divider/Divider.example.js.map +1 -0
- package/lib/components/divider/Divider.js +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/index.d.ts +2 -1
- package/lib/components/divider/index.js +2 -1
- package/lib/components/divider/index.js.map +1 -1
- package/lib/components/enumsComponentsName.d.ts +1 -2
- package/lib/components/enumsComponentsName.js +1 -2
- package/lib/components/enumsComponentsName.js.map +1 -1
- package/lib/components/fab/Fab.d.ts +0 -1
- package/lib/components/fab/Fab.example.d.ts +3 -0
- package/lib/components/fab/Fab.example.js +10 -0
- package/lib/components/fab/Fab.example.js.map +1 -0
- package/lib/components/fab/Fab.js +0 -1
- package/lib/components/fab/Fab.js.map +1 -1
- package/lib/components/fab/FabProps.d.ts +2 -2
- package/lib/components/fab/index.d.ts +2 -1
- package/lib/components/fab/index.js +2 -1
- package/lib/components/fab/index.js.map +1 -1
- package/lib/components/hero/Hero.d.ts +1 -5
- package/lib/components/hero/Hero.example.d.ts +3 -0
- package/lib/components/hero/Hero.example.js +21 -0
- package/lib/components/hero/Hero.example.js.map +1 -0
- package/lib/components/hero/Hero.js +2 -6
- package/lib/components/hero/Hero.js.map +1 -1
- package/lib/components/hero/Hero.native.d.ts +2 -2
- package/lib/components/hero/Hero.native.js +8 -8
- package/lib/components/hero/Hero.native.js.map +1 -1
- package/lib/components/hero/index.d.ts +2 -1
- package/lib/components/hero/index.js +2 -1
- package/lib/components/hero/index.js.map +1 -1
- package/lib/components/icon/Icon.d.ts +2 -4
- package/lib/components/icon/Icon.example.d.ts +3 -0
- package/lib/components/icon/Icon.example.js +12 -0
- package/lib/components/icon/Icon.example.js.map +1 -0
- package/lib/components/icon/Icon.js +3 -5
- package/lib/components/icon/Icon.js.map +1 -1
- package/lib/components/icon/Icon.native.d.ts +1 -1
- package/lib/components/icon/Icon.native.js +2 -2
- package/lib/components/icon/Icon.native.js.map +1 -1
- package/lib/components/icon/index.d.ts +2 -1
- package/lib/components/icon/index.js +2 -1
- package/lib/components/icon/index.js.map +1 -1
- package/lib/components/icon/text/TextIcon.d.ts +2 -4
- package/lib/components/icon/text/TextIcon.js +17 -15
- package/lib/components/icon/text/TextIcon.js.map +1 -1
- package/lib/components/image/Image.example.d.ts +3 -0
- package/lib/components/image/Image.example.js +5 -0
- package/lib/components/image/Image.example.js.map +1 -0
- package/lib/components/image/index.d.ts +2 -1
- package/lib/components/image/index.js +2 -1
- package/lib/components/image/index.js.map +1 -1
- 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.d.ts +72 -2
- package/lib/components/input/Input.example.d.ts +3 -0
- package/lib/components/input/Input.example.js +5 -0
- package/lib/components/input/Input.example.js.map +1 -0
- package/lib/components/input/Input.js +34 -19
- package/lib/components/input/Input.js.map +1 -1
- package/lib/components/input/Input.native.d.ts +4 -4
- package/lib/components/input/Input.native.js +42 -49
- package/lib/components/input/Input.native.js.map +1 -1
- package/lib/components/input/InputProps.d.ts +12 -21
- package/lib/components/input/autocomplete/AutoComplete.d.ts +24 -0
- package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.js +12 -22
- package/lib/components/input/autocomplete/AutoComplete.js.map +1 -0
- package/lib/components/input/autocomplete/AutoComplete.native.d.ts +4 -0
- package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.native.js +3 -24
- package/lib/components/input/autocomplete/AutoComplete.native.js.map +1 -0
- package/lib/components/input/autocomplete/AutoCompleteProps.d.ts +29 -0
- package/lib/components/input/autocomplete/AutoCompleteProps.js.map +1 -0
- package/lib/components/input/autocomplete/Autocomplete.helpers.js.map +1 -0
- package/lib/components/input/autocomplete/index.js.map +1 -0
- package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteIem.native.js +2 -2
- package/lib/components/input/autocomplete/item/AutoCompleteIem.native.js.map +1 -0
- package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItem.js +3 -3
- package/lib/components/input/autocomplete/item/AutoCompleteItem.js.map +1 -0
- package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItemProps.d.ts +1 -1
- package/lib/components/input/autocomplete/item/AutoCompleteItemProps.js.map +1 -0
- package/lib/components/input/autocomplete/item/index.js.map +1 -0
- package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.js +3 -3
- package/lib/components/input/autocomplete/menu/AutoCompleteMenu.js.map +1 -0
- package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.native.js +3 -3
- package/lib/components/input/autocomplete/menu/AutoCompleteMenu.native.js.map +1 -0
- package/lib/components/input/autocomplete/menu/AutoCompleteMenuProps.js.map +1 -0
- package/lib/components/input/autocomplete/menu/index.js.map +1 -0
- package/lib/components/input/autocomplete/utils/debounce.js.map +1 -0
- package/lib/components/input/autocomplete/utils/index.js.map +1 -0
- package/lib/components/input/gauge/InputGauge.native.js +1 -1
- package/lib/components/input/gauge/InputGauge.native.js.map +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/index.d.ts +2 -1
- package/lib/components/input/index.js +2 -1
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/link/Link.d.ts +0 -2
- package/lib/components/link/Link.example.d.ts +3 -0
- package/lib/components/link/Link.example.js +15 -0
- package/lib/components/link/Link.example.js.map +1 -0
- package/lib/components/link/Link.js +2 -4
- package/lib/components/link/Link.js.map +1 -1
- package/lib/components/link/Link.native.d.ts +1 -2
- package/lib/components/link/Link.native.js +10 -12
- package/lib/components/link/Link.native.js.map +1 -1
- package/lib/components/link/LinkProps.d.ts +1 -0
- package/lib/components/link/index.d.ts +2 -1
- package/lib/components/link/index.js +2 -1
- package/lib/components/link/index.js.map +1 -1
- package/lib/components/list/List.d.ts +4 -6
- package/lib/components/list/List.example.d.ts +3 -0
- package/lib/components/list/List.example.js +17 -0
- package/lib/components/list/List.example.js.map +1 -0
- package/lib/components/list/List.js +5 -8
- package/lib/components/list/List.js.map +1 -1
- package/lib/components/list/List.native.d.ts +0 -4
- package/lib/components/list/List.native.js +0 -4
- package/lib/components/list/List.native.js.map +1 -1
- package/lib/components/list/index.d.ts +2 -1
- package/lib/components/list/index.js +2 -1
- package/lib/components/list/index.js.map +1 -1
- package/lib/components/list/item/ListItem.d.ts +1 -3
- package/lib/components/list/item/ListItem.js +1 -3
- package/lib/components/list/item/ListItem.js.map +1 -1
- package/lib/components/list/item/ListItem.native.d.ts +0 -11
- package/lib/components/list/item/ListItem.native.js +1 -12
- package/lib/components/list/item/ListItem.native.js.map +1 -1
- package/lib/components/list/item/description/ListItemDescription.d.ts +2 -3
- package/lib/components/list/item/description/ListItemDescription.js +2 -3
- package/lib/components/list/item/description/ListItemDescription.js.map +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +0 -4
- package/lib/components/list/item/description/ListItemDescription.native.js +0 -4
- package/lib/components/list/item/description/ListItemDescription.native.js.map +1 -1
- package/lib/components/modal/Modal.d.ts +6 -6
- package/lib/components/modal/Modal.example.d.ts +3 -0
- package/lib/components/modal/Modal.example.js +5 -0
- package/lib/components/modal/Modal.example.js.map +1 -0
- package/lib/components/modal/Modal.js +19 -19
- package/lib/components/modal/Modal.js.map +1 -1
- package/lib/components/modal/ModalProps.d.ts +5 -1
- package/lib/components/modal/footer/ModalFooter.d.ts +2 -3
- package/lib/components/modal/footer/ModalFooter.js +2 -3
- package/lib/components/modal/footer/ModalFooter.js.map +1 -1
- package/lib/components/modal/footer/ModalFooter.native.d.ts +0 -4
- package/lib/components/modal/footer/ModalFooter.native.js +0 -4
- package/lib/components/modal/footer/ModalFooter.native.js.map +1 -1
- package/lib/components/modal/index.d.ts +2 -1
- package/lib/components/modal/index.js +2 -1
- package/lib/components/modal/index.js.map +1 -1
- package/lib/components/modal/title/ModalTitle.d.ts +1 -2
- package/lib/components/modal/title/ModalTitle.js +2 -3
- package/lib/components/modal/title/ModalTitle.js.map +1 -1
- package/lib/components/modal/title/ModalTitle.native.d.ts +0 -6
- package/lib/components/modal/title/ModalTitle.native.js +0 -6
- package/lib/components/modal/title/ModalTitle.native.js.map +1 -1
- package/lib/components/otp/Otp.d.ts +1 -4
- package/lib/components/otp/Otp.example.d.ts +3 -0
- package/lib/components/otp/Otp.example.js +13 -0
- package/lib/components/otp/Otp.example.js.map +1 -0
- package/lib/components/otp/Otp.js +87 -81
- package/lib/components/otp/Otp.js.map +1 -1
- package/lib/components/otp/Otp.native.d.ts +0 -2
- package/lib/components/otp/Otp.native.js +1 -3
- package/lib/components/otp/Otp.native.js.map +1 -1
- package/lib/components/otp/index.d.ts +2 -1
- package/lib/components/otp/index.js +2 -1
- package/lib/components/otp/index.js.map +1 -1
- package/lib/components/pagination/Pagination.d.ts +0 -1
- package/lib/components/pagination/Pagination.example.d.ts +3 -0
- package/lib/components/pagination/Pagination.example.js +5 -0
- package/lib/components/pagination/Pagination.example.js.map +1 -0
- package/lib/components/pagination/Pagination.js +6 -6
- package/lib/components/pagination/Pagination.js.map +1 -1
- package/lib/components/pagination/index.d.ts +2 -1
- package/lib/components/pagination/index.js +2 -1
- package/lib/components/pagination/index.js.map +1 -1
- package/lib/components/popover/Popover.d.ts +1 -3
- package/lib/components/popover/Popover.example.d.ts +3 -0
- package/lib/components/popover/Popover.example.js +7 -0
- package/lib/components/popover/Popover.example.js.map +1 -0
- package/lib/components/popover/Popover.js +1 -3
- package/lib/components/popover/Popover.js.map +1 -1
- package/lib/components/popover/Popover.native.d.ts +2 -0
- package/lib/components/popover/Popover.native.js +2 -0
- package/lib/components/popover/Popover.native.js.map +1 -1
- package/lib/components/popover/index.d.ts +2 -1
- package/lib/components/popover/index.js +2 -1
- package/lib/components/popover/index.js.map +1 -1
- package/lib/components/price/Price.d.ts +4 -4
- package/lib/components/price/Price.example.d.ts +3 -0
- package/lib/components/price/Price.example.js +12 -0
- package/lib/components/price/Price.example.js.map +1 -0
- package/lib/components/price/Price.js +10 -29
- package/lib/components/price/Price.js.map +1 -1
- package/lib/components/price/Price.native.d.ts +3 -3
- package/lib/components/price/Price.native.js +88 -129
- package/lib/components/price/Price.native.js.map +1 -1
- package/lib/components/price/PriceEnum.d.ts +8 -8
- package/lib/components/price/PriceEnum.js +7 -7
- package/lib/components/price/PriceEnum.js.map +1 -1
- package/lib/components/price/PriceProps.d.ts +7 -7
- package/lib/components/price/index.d.ts +2 -1
- package/lib/components/price/index.js +2 -1
- package/lib/components/price/index.js.map +1 -1
- package/lib/components/product-tour/ProductTour.d.ts +3 -3
- package/lib/components/product-tour/ProductTour.js +3 -3
- package/lib/components/progress/Progress.d.ts +3 -3
- package/lib/components/progress/Progress.example.d.ts +3 -0
- package/lib/components/progress/Progress.example.js +7 -0
- package/lib/components/progress/Progress.example.js.map +1 -0
- package/lib/components/progress/Progress.js +6 -7
- 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 +6 -6
- package/lib/components/progress/Progress.native.js.map +1 -1
- package/lib/components/progress/ProgressProps.d.ts +2 -2
- package/lib/components/progress/index.d.ts +2 -1
- package/lib/components/progress/index.js +2 -1
- package/lib/components/progress/index.js.map +1 -1
- package/lib/components/progress/item/ProgressItem.d.ts +6 -6
- package/lib/components/progress/item/ProgressItem.js +9 -10
- package/lib/components/progress/item/ProgressItem.js.map +1 -1
- package/lib/components/progress/item/ProgressItem.native.d.ts +3 -2
- package/lib/components/progress/item/ProgressItem.native.js +3 -2
- package/lib/components/progress/item/ProgressItem.native.js.map +1 -1
- package/lib/components/progress/item/ProgressItemProps.d.ts +2 -2
- package/lib/components/progress/radial/ProgressRadial.d.ts +0 -18
- package/lib/components/progress/radial/ProgressRadial.js +1 -20
- package/lib/components/progress/radial/ProgressRadial.js.map +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +3 -3
- package/lib/components/progress/radial/ProgressRadial.native.js +12 -10
- package/lib/components/progress/radial/ProgressRadial.native.js.map +1 -1
- package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -3
- package/lib/components/radio/Radio.d.ts +2 -7
- package/lib/components/radio/Radio.example.d.ts +3 -0
- package/lib/components/radio/Radio.example.js +18 -0
- package/lib/components/radio/Radio.example.js.map +1 -0
- package/lib/components/radio/Radio.js +2 -7
- package/lib/components/radio/Radio.js.map +1 -1
- package/lib/components/radio/Radio.native.d.ts +7 -9
- package/lib/components/radio/Radio.native.js +18 -21
- package/lib/components/radio/Radio.native.js.map +1 -1
- package/lib/components/radio/index.d.ts +2 -1
- package/lib/components/radio/index.js +2 -1
- package/lib/components/radio/index.js.map +1 -1
- package/lib/components/radio/list/RadioList.js.map +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/range/Range.d.ts +3 -6
- package/lib/components/range/Range.example.d.ts +3 -0
- package/lib/components/range/Range.example.js +5 -0
- package/lib/components/range/Range.example.js.map +1 -0
- package/lib/components/range/Range.js +4 -7
- package/lib/components/range/Range.js.map +1 -1
- package/lib/components/range/Range.native.d.ts +0 -3
- package/lib/components/range/Range.native.js +0 -3
- package/lib/components/range/Range.native.js.map +1 -1
- package/lib/components/range/index.d.ts +2 -1
- package/lib/components/range/index.js +2 -1
- package/lib/components/range/index.js.map +1 -1
- package/lib/components/rows/Rows.d.ts +2 -3
- package/lib/components/rows/Rows.example.d.ts +3 -0
- package/lib/components/rows/Rows.example.js +16 -0
- package/lib/components/rows/Rows.example.js.map +1 -0
- package/lib/components/rows/Rows.js +3 -6
- package/lib/components/rows/Rows.js.map +1 -1
- package/lib/components/rows/Rows.native.d.ts +2 -6
- package/lib/components/rows/Rows.native.js +2 -5
- package/lib/components/rows/Rows.native.js.map +1 -1
- package/lib/components/rows/RowsProps.d.ts +0 -1
- package/lib/components/rows/index.d.ts +2 -1
- package/lib/components/rows/index.js +2 -1
- package/lib/components/rows/index.js.map +1 -1
- package/lib/components/rows/item/RowItem.d.ts +2 -2
- package/lib/components/rows/item/RowItem.js +3 -4
- package/lib/components/rows/item/RowItem.js.map +1 -1
- package/lib/components/rows/item/RowItem.native.js +1 -3
- package/lib/components/rows/item/RowItem.native.js.map +1 -1
- package/lib/components/scroll-view/ScrollView.d.ts +1 -3
- package/lib/components/scroll-view/ScrollView.js +1 -3
- package/lib/components/scroll-view/ScrollView.js.map +1 -1
- package/lib/components/section/Section.d.ts +5 -10
- package/lib/components/section/Section.example.d.ts +3 -0
- package/lib/components/section/Section.example.js +16 -0
- package/lib/components/section/Section.example.js.map +1 -0
- package/lib/components/section/Section.js +8 -14
- package/lib/components/section/Section.js.map +1 -1
- package/lib/components/section/Section.native.d.ts +6 -6
- package/lib/components/section/Section.native.js +8 -8
- package/lib/components/section/Section.native.js.map +1 -1
- package/lib/components/section/SectionProps.d.ts +2 -2
- package/lib/components/section/index.d.ts +2 -1
- package/lib/components/section/index.js +2 -1
- package/lib/components/section/index.js.map +1 -1
- package/lib/components/segment-control/SegmentControl.d.ts +1 -4
- package/lib/components/segment-control/SegmentControl.example.d.ts +3 -0
- package/lib/components/segment-control/SegmentControl.example.js +9 -0
- package/lib/components/segment-control/SegmentControl.example.js.map +1 -0
- package/lib/components/segment-control/SegmentControl.js +1 -4
- package/lib/components/segment-control/SegmentControl.js.map +1 -1
- package/lib/components/segment-control/SegmentControl.native.d.ts +4 -4
- package/lib/components/segment-control/SegmentControl.native.js +5 -5
- package/lib/components/segment-control/SegmentControl.native.js.map +1 -1
- package/lib/components/segment-control/SegmentControlProps.d.ts +4 -1
- package/lib/components/segment-control/index.d.ts +2 -1
- package/lib/components/segment-control/index.js +2 -1
- package/lib/components/segment-control/index.js.map +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.d.ts +0 -2
- package/lib/components/segment-control/item/SegmentControlItem.js +0 -2
- package/lib/components/segment-control/item/SegmentControlItem.js.map +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.js +2 -2
- package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
- package/lib/components/select/Select.d.ts +3 -3
- package/lib/components/select/Select.example.d.ts +3 -0
- package/lib/components/select/Select.example.js +8 -0
- package/lib/components/select/Select.example.js.map +1 -0
- package/lib/components/select/Select.js +3 -3
- package/lib/components/select/Select.native.d.ts +1 -4
- package/lib/components/select/Select.native.js +1 -4
- package/lib/components/select/Select.native.js.map +1 -1
- package/lib/components/select/index.d.ts +2 -1
- package/lib/components/select/index.js +2 -1
- package/lib/components/select/index.js.map +1 -1
- package/lib/components/select/option/SelectOption.d.ts +2 -2
- package/lib/components/select/option/SelectOption.js +3 -4
- package/lib/components/select/option/SelectOption.js.map +1 -1
- package/lib/components/select/option/SelectOption.native.js +14 -18
- package/lib/components/select/option/SelectOption.native.js.map +1 -1
- package/lib/components/select/web/SelectDynamic.js +2 -3
- package/lib/components/select/web/SelectDynamic.js.map +1 -1
- package/lib/components/selector/Selector.d.ts +0 -7
- package/lib/components/selector/Selector.js +0 -7
- package/lib/components/selector/Selector.js.map +1 -1
- package/lib/components/selector/Selector.native.d.ts +3 -7
- package/lib/components/selector/Selector.native.js +3 -7
- package/lib/components/selector/Selector.native.js.map +1 -1
- package/lib/components/selector/item/SelectorItem.d.ts +1 -6
- package/lib/components/selector/item/SelectorItem.js +1 -6
- package/lib/components/selector/item/SelectorItem.js.map +1 -1
- package/lib/components/selector/item/SelectorItem.native.d.ts +0 -4
- package/lib/components/selector/item/SelectorItem.native.js +1 -5
- package/lib/components/selector/item/SelectorItem.native.js.map +1 -1
- package/lib/components/spacer/Spacer.d.ts +1 -1
- package/lib/components/spacer/Spacer.js +1 -1
- package/lib/components/spacer/Spacer.native.d.ts +2 -1
- package/lib/components/spacer/Spacer.native.js +2 -1
- package/lib/components/spacer/Spacer.native.js.map +1 -1
- package/lib/components/spacer/SpacerEnum.d.ts +7 -12
- package/lib/components/spacer/SpacerEnum.js +7 -12
- package/lib/components/spacer/SpacerEnum.js.map +1 -1
- package/lib/components/spacer/SpacerProps.d.ts +2 -2
- package/lib/components/stepper/Stepper.d.ts +3 -4
- package/lib/components/stepper/Stepper.example.d.ts +3 -0
- package/lib/components/stepper/Stepper.example.js +10 -0
- package/lib/components/stepper/Stepper.example.js.map +1 -0
- package/lib/components/stepper/Stepper.js +6 -9
- package/lib/components/stepper/Stepper.js.map +1 -1
- package/lib/components/stepper/Stepper.native.js +2 -1
- package/lib/components/stepper/Stepper.native.js.map +1 -1
- package/lib/components/stepper/index.d.ts +2 -1
- package/lib/components/stepper/index.js +2 -1
- package/lib/components/stepper/index.js.map +1 -1
- package/lib/components/stepper/step/StepperStep.d.ts +5 -8
- package/lib/components/stepper/step/StepperStep.js +6 -10
- package/lib/components/stepper/step/StepperStep.js.map +1 -1
- package/lib/components/stepper/step/StepperStep.native.d.ts +3 -2
- package/lib/components/stepper/step/StepperStep.native.js +4 -3
- 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.example.d.ts +3 -0
- package/lib/components/sticker/Sticker.example.js +10 -0
- package/lib/components/sticker/Sticker.example.js.map +1 -0
- package/lib/components/sticker/Sticker.js +3 -4
- package/lib/components/sticker/Sticker.js.map +1 -1
- package/lib/components/sticker/Sticker.native.d.ts +3 -3
- package/lib/components/sticker/Sticker.native.js +3 -3
- package/lib/components/sticker/index.d.ts +2 -1
- package/lib/components/sticker/index.js +2 -1
- package/lib/components/sticker/index.js.map +1 -1
- package/lib/components/switch/Switch.d.ts +5 -5
- package/lib/components/switch/Switch.example.d.ts +3 -0
- package/lib/components/switch/Switch.example.js +12 -0
- package/lib/components/switch/Switch.example.js.map +1 -0
- package/lib/components/switch/Switch.js +7 -7
- package/lib/components/switch/Switch.js.map +1 -1
- package/lib/components/switch/Switch.native.d.ts +3 -3
- package/lib/components/switch/Switch.native.js +8 -7
- package/lib/components/switch/Switch.native.js.map +1 -1
- package/lib/components/switch/SwitchProps.d.ts +2 -2
- package/lib/components/switch/index.d.ts +2 -1
- package/lib/components/switch/index.js +2 -1
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/table/Table.example.d.ts +3 -0
- package/lib/components/table/Table.example.js +19 -0
- package/lib/components/table/Table.example.js.map +1 -0
- package/lib/components/table/Table.native.js +1 -1
- package/lib/components/table/Table.native.js.map +1 -1
- package/lib/components/table/index.d.ts +2 -1
- package/lib/components/table/index.js +2 -1
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/td/TableTd.native.js +2 -2
- package/lib/components/table/td/TableTd.native.js.map +1 -1
- package/lib/components/table/th/TableTh.native.js +2 -2
- package/lib/components/table/th/TableTh.native.js.map +1 -1
- package/lib/components/table/tr/TableTr.native.js +1 -1
- package/lib/components/table/tr/TableTr.native.js.map +1 -1
- package/lib/components/tabs/Tabs.d.ts +5 -7
- package/lib/components/tabs/Tabs.example.d.ts +3 -0
- package/lib/components/tabs/Tabs.example.js +16 -0
- package/lib/components/tabs/Tabs.example.js.map +1 -0
- package/lib/components/tabs/Tabs.js +7 -10
- package/lib/components/tabs/Tabs.js.map +1 -1
- package/lib/components/tabs/Tabs.native.d.ts +1 -2
- package/lib/components/tabs/Tabs.native.js +1 -2
- package/lib/components/tabs/Tabs.native.js.map +1 -1
- package/lib/components/tabs/TabsProps.d.ts +4 -0
- package/lib/components/tabs/index.d.ts +2 -1
- package/lib/components/tabs/index.js +2 -1
- package/lib/components/tabs/index.js.map +1 -1
- package/lib/components/tabs/item/TabsItem.d.ts +5 -6
- package/lib/components/tabs/item/TabsItem.js +7 -9
- package/lib/components/tabs/item/TabsItem.js.map +1 -1
- package/lib/components/tabs/item/TabsItem.native.d.ts +0 -1
- package/lib/components/tabs/item/TabsItem.native.js +1 -2
- package/lib/components/tabs/item/TabsItem.native.js.map +1 -1
- package/lib/components/tag/Tag.d.ts +4 -6
- package/lib/components/tag/Tag.example.d.ts +3 -0
- package/lib/components/tag/Tag.example.js +13 -0
- package/lib/components/tag/Tag.example.js.map +1 -0
- package/lib/components/tag/Tag.js +32 -15
- package/lib/components/tag/Tag.js.map +1 -1
- package/lib/components/tag/Tag.native.d.ts +10 -8
- package/lib/components/tag/Tag.native.js +57 -27
- package/lib/components/tag/Tag.native.js.map +1 -1
- package/lib/components/tag/TagProps.d.ts +4 -0
- package/lib/components/tag/index.d.ts +2 -1
- package/lib/components/tag/index.js +2 -1
- package/lib/components/tag/index.js.map +1 -1
- package/lib/components/tag/list/TagList.d.ts +3 -3
- package/lib/components/tag/list/TagList.js +4 -5
- package/lib/components/tag/list/TagList.js.map +1 -1
- package/lib/components/text/Text.example.d.ts +3 -0
- package/lib/components/text/Text.example.js +5 -0
- package/lib/components/text/Text.example.js.map +1 -0
- package/lib/components/text/Text.native.js +8 -9
- package/lib/components/text/Text.native.js.map +1 -1
- package/lib/components/text/TextEnum.d.ts +5 -5
- package/lib/components/text/TextEnum.js +4 -4
- package/lib/components/text/TextEnum.js.map +1 -1
- package/lib/components/text/index.d.ts +2 -1
- package/lib/components/text/index.js +2 -1
- package/lib/components/text/index.js.map +1 -1
- package/lib/components/textarea/Textarea.d.ts +4 -12
- package/lib/components/textarea/Textarea.example.d.ts +3 -0
- package/lib/components/textarea/Textarea.example.js +12 -0
- package/lib/components/textarea/Textarea.example.js.map +1 -0
- package/lib/components/textarea/Textarea.js +7 -20
- package/lib/components/textarea/Textarea.js.map +1 -1
- package/lib/components/textarea/Textarea.native.d.ts +2 -2
- package/lib/components/textarea/Textarea.native.js +51 -67
- package/lib/components/textarea/Textarea.native.js.map +1 -1
- package/lib/components/textarea/TextareaProps.d.ts +4 -2
- package/lib/components/textarea/index.d.ts +2 -1
- package/lib/components/textarea/index.js +2 -1
- package/lib/components/textarea/index.js.map +1 -1
- package/lib/components/timeline/Timeline.d.ts +2 -2
- package/lib/components/timeline/Timeline.example.d.ts +3 -0
- package/lib/components/timeline/Timeline.example.js +34 -0
- package/lib/components/timeline/Timeline.example.js.map +1 -0
- package/lib/components/timeline/Timeline.js +4 -4
- package/lib/components/timeline/Timeline.js.map +1 -1
- package/lib/components/timeline/content/TimelineContent.d.ts +1 -2
- package/lib/components/timeline/content/TimelineContent.js +2 -3
- package/lib/components/timeline/content/TimelineContent.js.map +1 -1
- package/lib/components/timeline/content/TimelineContent.native.d.ts +3 -3
- package/lib/components/timeline/content/TimelineContent.native.js +3 -3
- package/lib/components/timeline/index.d.ts +2 -1
- package/lib/components/timeline/index.js +2 -1
- package/lib/components/timeline/index.js.map +1 -1
- package/lib/components/timeline/item/TimelineItem.d.ts +3 -4
- package/lib/components/timeline/item/TimelineItem.js +4 -6
- package/lib/components/timeline/item/TimelineItem.js.map +1 -1
- package/lib/components/timeline/item/TimelineItem.native.d.ts +4 -8
- package/lib/components/timeline/item/TimelineItem.native.js +3 -7
- package/lib/components/timeline/item/TimelineItem.native.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarker.d.ts +3 -4
- package/lib/components/timeline/marker/TimelineMarker.js +3 -4
- package/lib/components/timeline/marker/TimelineMarker.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +1 -3
- package/lib/components/timeline/marker/TimelineMarker.native.js +8 -10
- package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
- package/lib/components/title/Title.d.ts +2 -4
- package/lib/components/title/Title.example.d.ts +3 -0
- package/lib/components/title/Title.example.js +10 -0
- package/lib/components/title/Title.example.js.map +1 -0
- package/lib/components/title/Title.js +4 -6
- package/lib/components/title/Title.js.map +1 -1
- package/lib/components/title/Title.native.d.ts +5 -7
- package/lib/components/title/Title.native.js +14 -17
- package/lib/components/title/Title.native.js.map +1 -1
- package/lib/components/title/TitleEnum.d.ts +7 -7
- package/lib/components/title/TitleEnum.js +6 -6
- package/lib/components/title/TitleEnum.js.map +1 -1
- package/lib/components/title/index.d.ts +2 -1
- package/lib/components/title/index.js +2 -1
- package/lib/components/title/index.js.map +1 -1
- package/lib/components/toaster/Toaster.d.ts +11 -0
- package/lib/components/toaster/Toaster.js +93 -0
- package/lib/components/toaster/Toaster.js.map +1 -0
- package/lib/components/toaster/Toaster.native.d.ts +15 -0
- package/lib/components/toaster/Toaster.native.js +93 -0
- package/lib/components/toaster/Toaster.native.js.map +1 -0
- package/lib/components/toaster/ToasterEnum.d.ts +1 -0
- package/lib/components/toaster/ToasterEnum.js +16 -0
- package/lib/components/toaster/ToasterEnum.js.map +1 -0
- package/lib/components/toaster/ToasterProps.d.ts +27 -0
- package/lib/components/toaster/ToasterProps.js +6 -0
- package/lib/components/toaster/ToasterProps.js.map +1 -0
- package/lib/components/toaster/context/ToasterContext.d.ts +7 -0
- package/lib/components/toaster/context/ToasterContext.js +8 -0
- package/lib/components/toaster/context/ToasterContext.js.map +1 -0
- package/lib/components/toaster/context/ToasterContextProps.d.ts +27 -0
- package/lib/components/toaster/context/ToasterContextProps.js +2 -0
- package/lib/components/toaster/context/ToasterContextProps.js.map +1 -0
- package/lib/components/toaster/context/index.d.ts +2 -0
- package/lib/components/toaster/context/index.js +3 -0
- package/lib/components/toaster/context/index.js.map +1 -0
- package/lib/components/toaster/index.d.ts +3 -0
- package/lib/components/toaster/index.js +4 -0
- package/lib/components/toaster/index.js.map +1 -0
- package/lib/components/view/View.d.ts +2 -3
- package/lib/components/view/View.js +3 -4
- package/lib/components/view/View.js.map +1 -1
- package/lib/components/view/View.native.d.ts +8 -7
- package/lib/components/view/View.native.js +9 -8
- package/lib/components/view/View.native.js.map +1 -1
- package/lib/components/view/ViewProps.d.ts +1 -2
- package/lib/components/view/ViewProps.js +0 -1
- package/lib/components/view/ViewProps.js.map +1 -1
- package/lib/context/index.d.ts +1 -3
- package/lib/context/index.js +2 -2
- package/lib/context/index.js.map +1 -1
- package/lib/context/provider.native.d.ts +1 -4
- package/lib/context/provider.native.js +2 -2
- package/lib/context/provider.native.js.map +1 -1
- package/lib/context/providerStyled.d.ts +4 -6
- package/lib/context/providerStyled.js +20 -23
- package/lib/context/providerStyled.js.map +1 -1
- package/lib/context/providerStyled.native.d.ts +1 -4
- package/lib/context/providerStyled.native.js +2 -2
- package/lib/context/providerStyled.native.js.map +1 -1
- package/lib/context/providerStyledMangled.d.ts +10 -0
- package/lib/context/providerStyledMangled.js +14 -0
- package/lib/context/providerStyledMangled.js.map +1 -0
- package/lib/context/providerStyledMangled.native.d.ts +1 -0
- package/lib/context/providerStyledMangled.native.js +4 -0
- package/lib/context/providerStyledMangled.native.js.map +1 -0
- package/lib/context/providerTheme.d.ts +3 -5
- package/lib/context/providerTheme.js +5 -4
- package/lib/context/providerTheme.js.map +1 -1
- package/lib/hash.json +1 -1
- package/lib/helpers/hashClassesHelpers.js +2 -3
- package/lib/helpers/hashClassesHelpers.js.map +1 -1
- package/lib/objects/Typography/TypographyColor.d.ts +1 -0
- package/lib/objects/Typography/TypographyColor.js +23 -18
- package/lib/objects/Typography/TypographyColor.js.map +1 -1
- package/lib/objects/atoms/Background.d.ts +17 -2
- package/lib/objects/atoms/Background.js +14 -1
- package/lib/objects/atoms/Background.js.map +1 -1
- package/lib/objects/atoms/Text.js +3 -1
- package/lib/objects/atoms/Text.js.map +1 -1
- package/lib/objects/facets/Alert.d.ts +36 -0
- package/lib/objects/facets/Alert.js +70 -0
- package/lib/objects/facets/Alert.js.map +1 -0
- package/lib/objects/facets/Color.d.ts +5 -10
- package/lib/objects/facets/Color.js +53 -56
- package/lib/objects/facets/Color.js.map +1 -1
- package/lib/objects/facets/Justifiable.d.ts +1 -1
- package/lib/objects/facets/Status.d.ts +2 -29
- package/lib/objects/facets/Status.js +14 -14
- package/lib/objects/facets/Status.js.map +1 -1
- package/lib/objects/facets/Variant.js +1 -1
- package/lib/objects/facets/Variant.js.map +1 -1
- package/lib/objects/facets/index.d.ts +1 -1
- package/lib/objects/facets/index.js +1 -1
- package/lib/objects/facets/index.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/lib/components/accordion/AccordionPropsDefaults.js +0 -45
- package/lib/components/accordion/body/AccordionBodyPropsDefaults.js +0 -52
- package/lib/components/accordion/header/AccordionHeaderPropsDefaults.js +0 -60
- package/lib/components/accordion/item/AccordionItemPropsDefaults.js +0 -68
- package/lib/components/accordion/item/OnClickCallbackDefaults.js +0 -1
- package/lib/components/alert/AlertPropsDefaults.js +0 -155
- package/lib/components/alert/ToasterStatusPropsDefaults.js +0 -227
- package/lib/components/alert/context/ToastConfigDefaults.js +0 -24
- package/lib/components/alert/context/ToastPropsDefaults.js +0 -129
- package/lib/components/autocomplete/AutoComplete.d.ts +0 -4
- package/lib/components/autocomplete/AutoComplete.js.map +0 -1
- package/lib/components/autocomplete/AutoComplete.native.d.ts +0 -25
- package/lib/components/autocomplete/AutoComplete.native.js.map +0 -1
- package/lib/components/autocomplete/AutoCompleteProps.d.ts +0 -49
- package/lib/components/autocomplete/AutoCompleteProps.js.map +0 -1
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +0 -752
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +0 -752
- package/lib/components/autocomplete/Autocomplete.helpers.js.map +0 -1
- package/lib/components/autocomplete/ItemDefaults.js +0 -10
- package/lib/components/autocomplete/ItemSelectedEventDefaults.js +0 -10
- package/lib/components/autocomplete/index.js.map +0 -1
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js.map +0 -1
- package/lib/components/autocomplete/item/AutoCompleteItem.js.map +0 -1
- package/lib/components/autocomplete/item/AutoCompleteItemProps.js.map +0 -1
- package/lib/components/autocomplete/item/AutoCompleteItemPropsDefaults.js +0 -56
- package/lib/components/autocomplete/item/index.js.map +0 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js.map +0 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js.map +0 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js.map +0 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenuPropsDefaults.js +0 -60
- package/lib/components/autocomplete/menu/index.js.map +0 -1
- package/lib/components/autocomplete/utils/debounce.js.map +0 -1
- package/lib/components/autocomplete/utils/index.js.map +0 -1
- package/lib/components/badge/BadgePropsDefaults.js +0 -83
- package/lib/components/box/BoxPropsDefaults.js +0 -216
- package/lib/components/box/content/BoxContentPropsDefaults.js +0 -102
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +0 -87
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +0 -118
- package/lib/components/box/item/BoxItemPropsDefaults.js +0 -35
- package/lib/components/box/table-container/BoxTableContainerPropsDefaults.js +0 -45
- package/lib/components/breadcrumb/BreadcrumbPropsDefaults.js +0 -38
- package/lib/components/breadcrumb/BreadcrumbWebPropsDefaults.js +0 -45
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsDefaults.js +0 -53
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +0 -253
- package/lib/components/button/ButtonPropsDefaults.js +0 -380
- package/lib/components/button/list/ButtonListPropsDefaults.js +0 -19
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +0 -50
- package/lib/components/card/CardPropsDefaults.js +0 -220
- package/lib/components/card/content/CardContentPropsDefaults.js +0 -153
- package/lib/components/card/image/CardImagePropsDefaults.js +0 -52
- package/lib/components/checkbox/CheckboxChangeEventDefaults.js +0 -21
- package/lib/components/checkbox/CheckboxClickEventDefaults.js +0 -21
- package/lib/components/checkbox/CheckboxPropsDefaults.js +0 -200
- package/lib/components/chips/ChipsPropsDefaults.js +0 -75
- package/lib/components/chips/list/ChipsListPropsDefaults.js +0 -25
- package/lib/components/columns/ColumnsPropsDefaults.js +0 -124
- package/lib/components/columns/item/ColumnsItemPropsDefaults.js +0 -323
- package/lib/components/container/ContainerPropsDefaults.js +0 -185
- package/lib/components/countdown/CountdownPropsDefaults.js +0 -57
- package/lib/components/divider/DividerPropsDefaults.js +0 -210
- package/lib/components/fab/FabPropsDefaults.js +0 -171
- package/lib/components/hero/HeroPropsDefaults.js +0 -144
- package/lib/components/icon/IconPropsDefaults.js +0 -307
- package/lib/components/icon/circle/CircleIconPropsDefaults.js +0 -168
- package/lib/components/icon/status/StatusIconPropsDefaults.js +0 -126
- package/lib/components/icon/text/TextIconPropsDefaults.js +0 -160
- package/lib/components/image/ImagePropsDefaults.js +0 -75
- package/lib/components/input/ILengthVerifyDefaults.js +0 -16
- package/lib/components/input/IValidationRulesDefaults.js +0 -41
- package/lib/components/input/InputChangeEventNativeDefaults.js +0 -17
- package/lib/components/input/InputChangeEventWebDefaults.js +0 -21
- package/lib/components/input/InputClickEventDefaults.js +0 -19
- package/lib/components/input/InputKeyboardEventDefaults.js +0 -27
- package/lib/components/input/InputNativeEventsDefaults.js +0 -37
- package/lib/components/input/InputPropsDefaults.js +0 -654
- package/lib/components/input/InputWebEventsDefaults.js +0 -51
- package/lib/components/link/LinkPropsDefaults.js +0 -367
- package/lib/components/list/ListPropsDefaults.js +0 -53
- package/lib/components/list/item/ListItemPropsDefaults.js +0 -119
- package/lib/components/list/item/description/ListItemDescriptionPropsDefaults.js +0 -23
- package/lib/components/modal/CloseButtonPropsDefaults.js +0 -9
- package/lib/components/modal/ModalContentButtonPropsDefaults.js +0 -16
- package/lib/components/modal/ModalPropsDefaults.js +0 -325
- package/lib/components/modal/footer/ModalFooterPropsDefaults.js +0 -23
- package/lib/components/modal/title/ModalTitlePropsDefaults.js +0 -92
- package/lib/components/otp/OtpPropsDefaults.js +0 -97
- package/lib/components/pagination/PaginationPropsDefaults.js +0 -63
- package/lib/components/popover/PopoverPropsDefaults.js +0 -60
- package/lib/components/popover/PopoverWebPropsDefaults.js +0 -89
- package/lib/components/price/PricePropsDefaults.js +0 -159
- package/lib/components/product-tour/ProductTourPropsDefaults.js +0 -85
- package/lib/components/product-tour/ProductTourWebPropsDefaults.js +0 -92
- package/lib/components/progress/ProgressPropsDefaults.js +0 -95
- package/lib/components/progress/item/ProgressItemPropsDefaults.js +0 -84
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +0 -165
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +0 -54
- package/lib/components/radio/RadioPropsDefaults.js +0 -216
- package/lib/components/radio/list/RadioListPropsDefaults.js +0 -19
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +0 -50
- package/lib/components/range/RangePropsDefaults.js +0 -123
- package/lib/components/rows/RowsPropsDefaults.js +0 -31
- package/lib/components/rows/item/RowsItemPropsDefaults.js +0 -31
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +0 -127
- package/lib/components/section/SectionPropsDefaults.js +0 -118
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +0 -61
- package/lib/components/segment-control/item/SegmentControlItemPropsDefaults.js +0 -55
- package/lib/components/select/ISelectOptionDefaults.js +0 -23
- package/lib/components/select/SelectChangeEventDefaults.js +0 -37
- package/lib/components/select/SelectPropsDefaults.js +0 -187
- package/lib/components/select/option/SelectOptionPropsDefaults.js +0 -134
- package/lib/components/selector/SelectorEndDefaults.js +0 -10
- package/lib/components/selector/SelectorPropsDefaults.js +0 -128
- package/lib/components/selector/item/SelectorItemPropsDefaults.js +0 -84
- package/lib/components/spacer/SpacerPropsDefaults.js +0 -27
- package/lib/components/stepper/StepperPropsDefaults.js +0 -31
- package/lib/components/stepper/step/StepperStepPropsDefaults.js +0 -136
- package/lib/components/sticker/StickerPropsDefaults.js +0 -71
- package/lib/components/styleComponent/default/index.d.ts +0 -1
- package/lib/components/styleComponent/default/index.js +0 -2
- package/lib/components/styleComponent/default/index.js.map +0 -1
- package/lib/components/styleComponent/default/styleComponent.d.ts +0 -6
- package/lib/components/styleComponent/default/styleComponent.js +0 -7
- package/lib/components/styleComponent/default/styleComponent.js.map +0 -1
- package/lib/components/styleComponent/default/styleComponent.native.d.ts +0 -5
- package/lib/components/styleComponent/default/styleComponent.native.js +0 -6
- package/lib/components/styleComponent/default/styleComponent.native.js.map +0 -1
- package/lib/components/styleComponent/index.d.ts +0 -2
- package/lib/components/styleComponent/index.js +0 -3
- package/lib/components/styleComponent/index.js.map +0 -1
- package/lib/components/styleComponent/mangled/index.d.ts +0 -1
- package/lib/components/styleComponent/mangled/index.js +0 -2
- package/lib/components/styleComponent/mangled/index.js.map +0 -1
- package/lib/components/styleComponent/mangled/styleComponentMangled.d.ts +0 -6
- package/lib/components/styleComponent/mangled/styleComponentMangled.js +0 -7
- package/lib/components/styleComponent/mangled/styleComponentMangled.js.map +0 -1
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.ts +0 -5
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +0 -6
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js.map +0 -1
- package/lib/components/switch/SwitchChangeEventDefaults.js +0 -13
- package/lib/components/switch/SwitchPropsDefaults.js +0 -105
- package/lib/components/table/TablePropsDefaults.js +0 -63
- package/lib/components/table/body/TableBodyPropsDefaults.js +0 -107
- package/lib/components/table/head/TableHeadPropsDefaults.js +0 -107
- package/lib/components/table/td/TableTdPropsDefaults.js +0 -44
- package/lib/components/table/th/TableThPropsDefaults.js +0 -44
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +0 -102
- package/lib/components/tabs/TabsPropsDefaults.js +0 -144
- package/lib/components/tabs/item/TabsItemPropsDefaults.js +0 -336
- package/lib/components/tag/TagClickEventDefaults.js +0 -1
- package/lib/components/tag/TagPropsDefaults.js +0 -104
- package/lib/components/tag/list/TagListPropsDefaults.js +0 -47
- package/lib/components/text/TextPropsDefaults.js +0 -192
- package/lib/components/textarea/TextareaChangeEventDefaults.js +0 -10
- package/lib/components/timeline/TimelinePropsDefaults.js +0 -39
- package/lib/components/timeline/content/TimelineContentPropsDefaults.js +0 -51
- package/lib/components/timeline/content/TimelineContentWebPropsDefaults.js +0 -58
- package/lib/components/timeline/item/TimelineItemPropsDefaults.js +0 -48
- package/lib/components/timeline/item/TimelineItemWebPropsDefaults.js +0 -55
- package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +0 -113
- package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +0 -127
- package/lib/components/title/TitlePropsDefaults.js +0 -165
- package/lib/components/view/ViewPropsDefaults.js +0 -223
- /package/lib/components/{autocomplete → input/autocomplete}/AutoCompleteProps.js +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/Autocomplete.helpers.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/Autocomplete.helpers.js +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/index.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/index.js +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteIem.native.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItem.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItemProps.js +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/item/index.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/item/index.js +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.native.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenuProps.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenuProps.js +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/menu/index.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/menu/index.js +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/utils/debounce.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/utils/debounce.js +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/utils/index.d.ts +0 -0
- /package/lib/components/{autocomplete → input/autocomplete}/utils/index.js +0 -0
|
@@ -7,14 +7,14 @@ import { useTrilogyContext } from '../../context';
|
|
|
7
7
|
/**
|
|
8
8
|
* Product Tour Component
|
|
9
9
|
* @param children {React.ReactNode} Title child
|
|
10
|
+
* @param className {string} Additionnal css classes
|
|
10
11
|
* @param active {boolean} Display component
|
|
11
12
|
* @param arrowDirection {ArrowDirection} UP|BOTTOM||LEFT|RIGHT - Display arrow
|
|
12
|
-
* @param arrowAlign {ArrowAlign} ONE_FIFTH|ONE_QUARTER|ONE_THRID|TWO_FIFTHS|THREE_FIFTHS|
|
|
13
|
+
* @param arrowAlign {ArrowAlign} ONE_FIFTH|ONE_QUARTER|ONE_THRID|TWO_FIFTHS|THREE_FIFTHS|
|
|
14
|
+
* TWO_THIRDS|THREE_QUARTERS|FOUR_FIFTHS
|
|
13
15
|
* @param closeable {boolean} Display close icon
|
|
14
16
|
* @param avatarSrc {string} Display avatar if source
|
|
15
17
|
* @param avatarDirection {AvatarDirection} LEFT|RIGHT
|
|
16
|
-
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
17
|
-
* @param className {string} Additionnal css classes
|
|
18
18
|
*/
|
|
19
19
|
const ProductTour = ({ children, className, active, arrowDirection, arrowAlign, closeable, avatarSrc, avatarDirection, ...others }) => {
|
|
20
20
|
const [display, setDisplay] = useState(active || false);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ProgressProps } from "./ProgressProps";
|
|
3
3
|
/**
|
|
4
4
|
* Progress component
|
|
5
5
|
* @param children {ReactNode} Use Children it only if stacked progress
|
|
6
6
|
* @param percent {number} Progress percent
|
|
7
7
|
* @param maxPercent {number} Default max percent is 100
|
|
8
|
-
* @param
|
|
8
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
|
|
9
9
|
* @param small {boolean} Small progress
|
|
10
10
|
* @param stacked {boolean} Stacked progress
|
|
11
11
|
* @param uniqueLegend {string} Unique legend
|
|
@@ -14,5 +14,5 @@ import { ProgressProps } from "./ProgressProps";
|
|
|
14
14
|
* -------------------------- WEB PROPERTIES -------------------------------
|
|
15
15
|
* @param className {string} Additionnal CSS classes
|
|
16
16
|
*/
|
|
17
|
-
declare const Progress:
|
|
17
|
+
declare const Progress: ({ children, className, percent, maxPercent, alert, small, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }: ProgressProps) => JSX.Element;
|
|
18
18
|
export default Progress;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Progress } from './index';
|
|
3
|
+
const ProgressExample = React.createElement(React.Fragment, null,
|
|
4
|
+
React.createElement(Progress, { alert: 'INFO', percent: 30, uniqueLegend: 'My unique legend' }),
|
|
5
|
+
React.createElement(Progress, { alert: 'INFO', firstExtremLegend: '0 Go', percent: 15, secondExtremLegend: '5 Go' }));
|
|
6
|
+
export default ProgressExample;
|
|
7
|
+
//# sourceMappingURL=Progress.example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.example.js","sourceRoot":"","sources":["../../../components/progress/Progress.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,eAAe,GAEnB;IACE,oBAAC,QAAQ,IACP,KAAK,EAAC,MAAM,EACZ,OAAO,EAAE,EAAE,EACX,YAAY,EAAC,kBAAkB,GAC/B;IACF,oBAAC,QAAQ,IACP,KAAK,EAAC,MAAM,EACZ,iBAAiB,EAAC,MAAM,EACxB,OAAO,EAAE,EAAE,EACX,kBAAkB,EAAC,MAAM,GACzB,CACD,CAAA;AAEL,eAAe,eAAe,CAAA"}
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { is, has } from "../../services/index";
|
|
3
3
|
import { Text, TextLevels } from "../text";
|
|
4
4
|
import { Columns, ColumnsItem } from "../columns";
|
|
5
|
-
import {
|
|
5
|
+
import { getAlertClassName } from "../../objects";
|
|
6
6
|
import { hashClass } from "../../helpers";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { useTrilogyContext } from "../../context";
|
|
@@ -11,7 +11,7 @@ import { useTrilogyContext } from "../../context";
|
|
|
11
11
|
* @param children {ReactNode} Use Children it only if stacked progress
|
|
12
12
|
* @param percent {number} Progress percent
|
|
13
13
|
* @param maxPercent {number} Default max percent is 100
|
|
14
|
-
* @param
|
|
14
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
|
|
15
15
|
* @param small {boolean} Small progress
|
|
16
16
|
* @param stacked {boolean} Stacked progress
|
|
17
17
|
* @param uniqueLegend {string} Unique legend
|
|
@@ -20,13 +20,12 @@ import { useTrilogyContext } from "../../context";
|
|
|
20
20
|
* -------------------------- WEB PROPERTIES -------------------------------
|
|
21
21
|
* @param className {string} Additionnal CSS classes
|
|
22
22
|
*/
|
|
23
|
-
const Progress =
|
|
24
|
-
const { children, className, percent, maxPercent = 100, status, small, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others } = props;
|
|
23
|
+
const Progress = ({ children, className, percent, maxPercent = 100, alert, small, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }) => {
|
|
25
24
|
const { styled } = useTrilogyContext();
|
|
26
|
-
const classes = hashClass(styled, clsx("progress",
|
|
25
|
+
const classes = hashClass(styled, clsx("progress", alert && is(getAlertClassName(alert)), !alert && is("primary"), small && is("small"), className));
|
|
27
26
|
const stackedClasses = hashClass(styled, clsx("progress", stacked && is("stacked"), className));
|
|
28
27
|
if (children && stacked) {
|
|
29
|
-
return (React.createElement("div", {
|
|
28
|
+
return (React.createElement("div", { className: stackedClasses, ...others }, children));
|
|
30
29
|
}
|
|
31
30
|
return (React.createElement(React.Fragment, null,
|
|
32
31
|
React.createElement("progress", { className: classes, value: percent, max: maxPercent, ...others }, percent),
|
|
@@ -36,6 +35,6 @@ const Progress = React.forwardRef((props, ref) => {
|
|
|
36
35
|
React.createElement(Text, { level: TextLevels.TWO }, firstExtremLegend)),
|
|
37
36
|
React.createElement(ColumnsItem, { narrow: true },
|
|
38
37
|
React.createElement(Text, { level: TextLevels.TWO }, secondExtremLegend))))));
|
|
39
|
-
}
|
|
38
|
+
};
|
|
40
39
|
export default Progress;
|
|
41
40
|
//# sourceMappingURL=Progress.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.js","sourceRoot":"","sources":["../../../components/progress/Progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Progress.js","sourceRoot":"","sources":["../../../components/progress/Progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;;;;;;;;;;GAaG;AACH,MAAM,QAAQ,GAAG,CAAC,EAChB,QAAQ,EACR,SAAS,EACT,OAAO,EACP,UAAU,GAAG,GAAG,EAChB,KAAK,EACL,KAAK,EACL,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,GAAG,MAAM,EACK,EAAe,EAAE;IAC/B,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,MAAM,OAAO,GAAG,SAAS,CACvB,MAAM,EACN,IAAI,CACF,UAAU,EACV,KAAK,IAAI,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,EACrC,CAAC,KAAK,IAAI,EAAE,CAAC,SAAS,CAAC,EACvB,KAAK,IAAI,EAAE,CAAC,OAAO,CAAC,EACpB,SAAS,CACV,CACF,CAAA;IAED,MAAM,cAAc,GAAG,SAAS,CAC9B,MAAM,EACN,IAAI,CAAC,UAAU,EAAE,OAAO,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CACtD,CAAA;IAED,IAAI,QAAQ,IAAI,OAAO,EAAE;QACvB,OAAO,CACL,6BAAK,SAAS,EAAE,cAAc,KAAM,MAAM,IACvC,QAAQ,CACL,CACP,CAAA;KACF;IAED,OAAO,CACL;QACE,kCACE,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,OAAO,EACd,GAAG,EAAE,UAAU,KACX,MAAM,IAET,OAAO,CACC;QACV,YAAY,IAAI,CACf,oBAAC,IAAI,IAAC,SAAS,EAAE,GAAG,CAAC,eAAe,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,IACzD,YAAY,CACR,CACR;QACA,iBAAiB,IAAI,kBAAkB,IAAI,CAC1C,oBAAC,OAAO,IAAC,MAAM,QAAC,UAAU,EAAE,CAAC;YAC3B,oBAAC,WAAW;gBACV,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU,CAAC,GAAG,IAAG,iBAAiB,CAAQ,CAC3C;YACd,oBAAC,WAAW,IAAC,MAAM;gBACjB,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU,CAAC,GAAG,IAAG,kBAAkB,CAAQ,CAC5C,CACN,CACX,CACA,CACJ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -5,14 +5,14 @@ import { ComponentName } from "../../components/enumsComponentsName";
|
|
|
5
5
|
* Progress component
|
|
6
6
|
* @param children {ReactNode} Use Children it only if stacked progress
|
|
7
7
|
* @param percent {number} Progress percent
|
|
8
|
-
* @param
|
|
8
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
|
|
9
9
|
* @param stacked {boolean} Stacked progress
|
|
10
10
|
* @param uniqueLegend {stringabsolute} Unique legend
|
|
11
11
|
* @param firstExtremLegend {string} First extremity legend, only with secondExtremLegend property
|
|
12
12
|
* @param secondExtremLegend {string} Second extremity legend, only with firstExtremLegend property
|
|
13
13
|
*/
|
|
14
14
|
declare const Progress: {
|
|
15
|
-
({ children, percent,
|
|
15
|
+
({ children, percent, alert, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }: ProgressProps): JSX.Element;
|
|
16
16
|
displayName: ComponentName;
|
|
17
17
|
};
|
|
18
18
|
export default Progress;
|
|
@@ -2,19 +2,19 @@ import React, { useEffect, useRef } from "react";
|
|
|
2
2
|
import { Animated, StyleSheet } from "react-native";
|
|
3
3
|
import { View } from "../../components/view";
|
|
4
4
|
import { Text, TextLevels } from "../../components/text";
|
|
5
|
-
import {
|
|
5
|
+
import { getAlertStyle, getColorStyle, TrilogyColor } from "../../objects";
|
|
6
6
|
import { ComponentName } from "../../components/enumsComponentsName";
|
|
7
7
|
/**
|
|
8
8
|
* Progress component
|
|
9
9
|
* @param children {ReactNode} Use Children it only if stacked progress
|
|
10
10
|
* @param percent {number} Progress percent
|
|
11
|
-
* @param
|
|
11
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
|
|
12
12
|
* @param stacked {boolean} Stacked progress
|
|
13
13
|
* @param uniqueLegend {stringabsolute} Unique legend
|
|
14
14
|
* @param firstExtremLegend {string} First extremity legend, only with secondExtremLegend property
|
|
15
15
|
* @param secondExtremLegend {string} Second extremity legend, only with firstExtremLegend property
|
|
16
16
|
*/
|
|
17
|
-
const Progress = ({ children, percent,
|
|
17
|
+
const Progress = ({ children, percent, alert, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }) => {
|
|
18
18
|
const animation = useRef(new Animated.Value(0)).current;
|
|
19
19
|
useEffect(() => {
|
|
20
20
|
// eslint-disable-next-line no-unused-expressions
|
|
@@ -36,13 +36,13 @@ const Progress = ({ children, percent, status, stacked, uniqueLegend, firstExtre
|
|
|
36
36
|
flexDirection: "row",
|
|
37
37
|
width: "100%",
|
|
38
38
|
height: height,
|
|
39
|
-
backgroundColor: getColorStyle(TrilogyColor.
|
|
39
|
+
backgroundColor: getColorStyle(TrilogyColor.FONT, 1),
|
|
40
40
|
borderRadius: 15,
|
|
41
41
|
},
|
|
42
42
|
percent: {
|
|
43
43
|
alignSelf: "flex-start",
|
|
44
44
|
height: height,
|
|
45
|
-
backgroundColor:
|
|
45
|
+
backgroundColor: getAlertStyle(alert) || getColorStyle(TrilogyColor.MAIN),
|
|
46
46
|
borderRadius: 15,
|
|
47
47
|
},
|
|
48
48
|
progressItemFirst: {
|
|
@@ -83,7 +83,7 @@ const Progress = ({ children, percent, status, stacked, uniqueLegend, firstExtre
|
|
|
83
83
|
index === 0 && styles.progressItemFirst,
|
|
84
84
|
index === children.length - 1 && styles.progressItemSecond,
|
|
85
85
|
{
|
|
86
|
-
backgroundColor:
|
|
86
|
+
backgroundColor: getAlertStyle(child.props.alert),
|
|
87
87
|
height: height,
|
|
88
88
|
},
|
|
89
89
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.native.js","sourceRoot":"","sources":["../../../components/progress/Progress.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEnD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Progress.native.js","sourceRoot":"","sources":["../../../components/progress/Progress.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,UAAU,E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AC,kBAAkB;wBAC1D;4BACE,eAAe,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC;4BACjD,MAAM,EAAE,MAAM;yBACf;qBACF;iBACF,CAAC,CAAC;gBACL,KAAK,CACR,CACE,CACR,CAAA;KACF;IAED,OAAO,CACL;QACE,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,KAAM,MAAM;YACtC,oBAAC,QAAQ,CAAC,IAAI,IAAC,KAAK,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,IAC9C,QAAQ,CACK,CACX;QACN,YAAY,IAAI,CACf,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,YAAY,EAAE,KAAK,EAAE,UAAU,CAAC,KAAK,IACtD,YAAY,CACR,CACR;QACA,iBAAiB,IAAI,kBAAkB,IAAI,CAAC,YAAY,IAAI,CAC3D,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,YAAY;YAC9B,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU,CAAC,KAAK,IAAG,iBAAiB,CAAQ;YACzD,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU,CAAC,KAAK,IAAG,kBAAkB,CAAQ,CACrD,CACR,CACA,CACJ,CAAA;AACH,CAAC,CAAA;AAED,QAAQ,CAAC,WAAW,GAAG,aAAa,CAAC,QAAQ,CAAA;AAE7C,eAAe,QAAQ,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { AlertProps } from '../../objects/facets/Alert';
|
|
3
3
|
import { Stacked } from '../../objects/facets/Stacked';
|
|
4
4
|
/**
|
|
5
5
|
* Progress Interface
|
|
6
6
|
*/
|
|
7
|
-
export interface ProgressProps extends
|
|
7
|
+
export interface ProgressProps extends AlertProps, Stacked {
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
percent?: number;
|
|
10
10
|
maxPercent?: number;
|
|
@@ -2,4 +2,5 @@ import Progress from './Progress';
|
|
|
2
2
|
import ProgressItem from './item';
|
|
3
3
|
import ProgressRadial from './radial';
|
|
4
4
|
import ProgressRadialItem from './radial/item/ProgressRadialtem';
|
|
5
|
-
|
|
5
|
+
import ProgressExample from './Progress.example';
|
|
6
|
+
export { Progress, ProgressItem, ProgressRadial, ProgressRadialItem, ProgressExample };
|
|
@@ -2,5 +2,6 @@ import Progress from './Progress';
|
|
|
2
2
|
import ProgressItem from './item';
|
|
3
3
|
import ProgressRadial from './radial';
|
|
4
4
|
import ProgressRadialItem from './radial/item/ProgressRadialtem';
|
|
5
|
-
|
|
5
|
+
import ProgressExample from './Progress.example';
|
|
6
|
+
export { Progress, ProgressItem, ProgressRadial, ProgressRadialItem, ProgressExample };
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,YAAY,MAAM,QAAQ,CAAA;AACjC,OAAO,cAAc,MAAM,UAAU,CAAA;AACrC,OAAO,kBAAkB,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,YAAY,MAAM,QAAQ,CAAA;AACjC,OAAO,cAAc,MAAM,UAAU,CAAA;AACrC,OAAO,kBAAkB,MAAM,iCAAiC,CAAA;AAChE,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ProgressItemProps } from "./ProgressItemProps";
|
|
3
3
|
/**
|
|
4
4
|
* Progress Item component - Only if stacked
|
|
5
5
|
* @param percent {number} Progress percent
|
|
6
|
-
* @param
|
|
6
|
+
* @param minPercent {number} Default min percent is 100
|
|
7
|
+
* @param maxPercent {number} Default max percent is 100
|
|
8
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
|
|
7
9
|
* @param children {React.ReactNode}
|
|
10
|
+
* @param accessibilityLabel {string} Accessibility label
|
|
8
11
|
* -------------------------- WEB PROPERTIES -------------------------------
|
|
9
12
|
* @param className {string} Additionnal CSS classes
|
|
10
|
-
* @param accessibilityLabel {string} Accessibility label
|
|
11
|
-
* @param minPercent {number} Default min percent is 100
|
|
12
|
-
* @param maxPercent {number} Default max percent is 100
|
|
13
13
|
*/
|
|
14
|
-
declare const ProgressItem:
|
|
14
|
+
declare const ProgressItem: ({ className, percent, maxPercent, minPercent, alert, accessibilityLabel, ...others }: ProgressItemProps) => JSX.Element;
|
|
15
15
|
export default ProgressItem;
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { is } from "../../../services/index";
|
|
3
|
-
import {
|
|
3
|
+
import { getAlertClassName } from "../../../objects";
|
|
4
4
|
import { hashClass } from "../../../helpers";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { useTrilogyContext } from "../../../context";
|
|
7
7
|
/**
|
|
8
8
|
* Progress Item component - Only if stacked
|
|
9
9
|
* @param percent {number} Progress percent
|
|
10
|
-
* @param
|
|
10
|
+
* @param minPercent {number} Default min percent is 100
|
|
11
|
+
* @param maxPercent {number} Default max percent is 100
|
|
12
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
|
|
11
13
|
* @param children {React.ReactNode}
|
|
14
|
+
* @param accessibilityLabel {string} Accessibility label
|
|
12
15
|
* -------------------------- WEB PROPERTIES -------------------------------
|
|
13
16
|
* @param className {string} Additionnal CSS classes
|
|
14
|
-
* @param accessibilityLabel {string} Accessibility label
|
|
15
|
-
* @param minPercent {number} Default min percent is 100
|
|
16
|
-
* @param maxPercent {number} Default max percent is 100
|
|
17
17
|
*/
|
|
18
|
-
const ProgressItem =
|
|
19
|
-
const { className, percent, maxPercent = 100, minPercent = 0, status, accessibilityLabel, ...others } = props;
|
|
18
|
+
const ProgressItem = ({ className, percent, maxPercent = 100, minPercent = 0, alert, accessibilityLabel, ...others }) => {
|
|
20
19
|
const { styled } = useTrilogyContext();
|
|
21
|
-
const classes = hashClass(styled, clsx("progress-bar",
|
|
22
|
-
return (React.createElement("div", {
|
|
23
|
-
}
|
|
20
|
+
const classes = hashClass(styled, clsx("progress-bar", alert && is(getAlertClassName(alert)), !alert && is("primary"), className));
|
|
21
|
+
return (React.createElement("div", { ...(percent && { style: { width: `${percent}%` } }), className: classes, role: 'progressbar', "aria-valuenow": percent, "aria-valuemin": minPercent, "aria-valuemax": maxPercent, "aria-label": accessibilityLabel, ...others }));
|
|
22
|
+
};
|
|
24
23
|
export default ProgressItem;
|
|
25
24
|
//# sourceMappingURL=ProgressItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressItem.js","sourceRoot":"","sources":["../../../../components/progress/item/ProgressItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ProgressItem.js","sourceRoot":"","sources":["../../../../components/progress/item/ProgressItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;;;;;;;GAUG;AACH,MAAM,YAAY,GAAG,CAAC,EACpB,SAAS,EACT,OAAO,EACP,UAAU,GAAG,GAAG,EAChB,UAAU,GAAG,CAAC,EACd,KAAK,EACL,kBAAkB,EAClB,GAAG,MAAM,EACS,EAAe,EAAE;IACnC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,MAAM,OAAO,GAAG,SAAS,CACvB,MAAM,EACN,IAAI,CACF,cAAc,EACd,KAAK,IAAI,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,EACrC,CAAC,KAAK,IAAI,EAAE,CAAC,SAAS,CAAC,EACvB,SAAS,CACV,CACF,CAAA;IAED,OAAO,CACL,gCACM,CAAC,OAAO,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,GAAG,EAAE,EAAE,CAAC,EACpD,SAAS,EAAE,OAAO,EAClB,IAAI,EAAC,aAAa,mBACH,OAAO,mBACP,UAAU,mBACV,UAAU,gBACb,kBAAkB,KAC1B,MAAM,GACV,CACH,CAAA;AACH,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -4,11 +4,12 @@ import { ComponentName } from '../../../components/enumsComponentsName';
|
|
|
4
4
|
/**
|
|
5
5
|
* Progress Item component - Only if stacked
|
|
6
6
|
* @param percent {number} Progress percent
|
|
7
|
-
* @param
|
|
7
|
+
* @param minPercent {number} Default min percent is 100
|
|
8
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
|
|
8
9
|
* @param children {React.ReactNode}
|
|
9
10
|
*/
|
|
10
11
|
declare const ProgressItem: {
|
|
11
|
-
({ children, percent,
|
|
12
|
+
({ children, percent, alert, ...others }: ProgressItemProps): JSX.Element;
|
|
12
13
|
dispmayName: ComponentName;
|
|
13
14
|
};
|
|
14
15
|
export default ProgressItem;
|
|
@@ -4,11 +4,12 @@ import { ComponentName } from '../../../components/enumsComponentsName';
|
|
|
4
4
|
/**
|
|
5
5
|
* Progress Item component - Only if stacked
|
|
6
6
|
* @param percent {number} Progress percent
|
|
7
|
-
* @param
|
|
7
|
+
* @param minPercent {number} Default min percent is 100
|
|
8
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
|
|
8
9
|
* @param children {React.ReactNode}
|
|
9
10
|
*/
|
|
10
11
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
|
-
const ProgressItem = ({ children, percent,
|
|
12
|
+
const ProgressItem = ({ children, percent, alert, ...others }) => {
|
|
12
13
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13
14
|
const givenProps = others;
|
|
14
15
|
const givenstyle = givenProps.style;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressItem.native.js","sourceRoot":"","sources":["../../../../components/progress/item/ProgressItem.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE
|
|
1
|
+
{"version":3,"file":"ProgressItem.native.js","sourceRoot":"","sources":["../../../../components/progress/item/ProgressItem.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE;;;;;;GAMG;AACH,6DAA6D;AAC7D,MAAM,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,MAAM,EAAqB,EAAe,EAAE;IAC/F,8DAA8D;IAC9D,MAAM,UAAU,GAAG,MAAa,CAAA;IAChC,MAAM,UAAU,GAAG,UAAU,CAAC,KAAK,CAAA;IAEnC,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;IAEvD,SAAS,CAAC,GAAG,EAAE;QACb,iDAAiD;QACjD,OAAO;YACL,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAE;gBACzB,OAAO,EAAE,OAAO;gBAChB,QAAQ,EAAE,IAAI;gBACd,eAAe,EAAE,KAAK;aACvB,CAAC,CAAC,KAAK,EAAE,CAAA;IACd,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAA;IAExB,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC;QAClC,UAAU,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC;QACpB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;QAC3B,WAAW,EAAE,OAAO;KACrB,CAAC,CAAA;IAEF,OAAO,CACL,oBAAC,QAAQ,CAAC,IAAI,OAAK,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,GAAG,UAAU,CAAC,IACzD,QAAQ,CACK,CACjB,CAAA;AACH,CAAC,CAAA;AAED,YAAY,CAAC,WAAW,GAAG,aAAa,CAAC,YAAY,CAAA;AAErD,eAAe,YAAY,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Accessibility,
|
|
2
|
+
import { Accessibility, AlertProps } from '../../../objects/facets';
|
|
3
3
|
/**
|
|
4
4
|
* Progress Item Interface
|
|
5
5
|
*/
|
|
6
|
-
export interface ProgressItemProps extends
|
|
6
|
+
export interface ProgressItemProps extends AlertProps, Accessibility {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
percent: number;
|
|
9
9
|
minPercent?: number;
|
|
@@ -1,22 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ProgressRadialProps } from './ProgressRadialProps';
|
|
3
|
-
/**
|
|
4
|
-
* Progress Radial component
|
|
5
|
-
* @param percent {number} Progress percent
|
|
6
|
-
* @param label {string} Custom label
|
|
7
|
-
* @param description {string} Custom description
|
|
8
|
-
* @param children {React.ReactNode}
|
|
9
|
-
* @param secondPercent {number} Second progress percent
|
|
10
|
-
* @param skeleton {boolean} Skeleton Progress Radial
|
|
11
|
-
* - --------------- NATIVE PROPERTIES ----------------------------------
|
|
12
|
-
* @param status {StatusState} Progress status variant (SUCCESS|INFO|WARNING|ERROR|TERTIARY)
|
|
13
|
-
* @param secondStatus {StatusState} Second Progress status variant (SUCCESS|INFO|WARNING|ERROR|TERTIARY)
|
|
14
|
-
* @param full {boolean} Full progressRadial
|
|
15
|
-
* @param disk {boolean} Disk ProgressRadial
|
|
16
|
-
* @param align {Alignable} Progress Radial Alignement
|
|
17
|
-
* - --------------- WEB PROPERTIES -------------------------------------
|
|
18
|
-
* @param className {string} Additionnal CSS Classes
|
|
19
|
-
* @param small {boolean} Display small progress radial
|
|
20
|
-
*/
|
|
21
3
|
declare const ProgressRadial: ({ children, percent, secondPercent, label, description, skeleton, className, small, ...others }: ProgressRadialProps) => JSX.Element;
|
|
22
4
|
export default ProgressRadial;
|
|
@@ -5,25 +5,6 @@ import { hashClass } from '../../../helpers';
|
|
|
5
5
|
import { useTrilogyContext } from '../../../context';
|
|
6
6
|
import { Title, TitleLevels } from '../../title';
|
|
7
7
|
import { Text, TextLevels } from '../../text';
|
|
8
|
-
import { getColorStyle } from "../../../objects/facets/Color";
|
|
9
|
-
/**
|
|
10
|
-
* Progress Radial component
|
|
11
|
-
* @param percent {number} Progress percent
|
|
12
|
-
* @param label {string} Custom label
|
|
13
|
-
* @param description {string} Custom description
|
|
14
|
-
* @param children {React.ReactNode}
|
|
15
|
-
* @param secondPercent {number} Second progress percent
|
|
16
|
-
* @param skeleton {boolean} Skeleton Progress Radial
|
|
17
|
-
* - --------------- NATIVE PROPERTIES ----------------------------------
|
|
18
|
-
* @param status {StatusState} Progress status variant (SUCCESS|INFO|WARNING|ERROR|TERTIARY)
|
|
19
|
-
* @param secondStatus {StatusState} Second Progress status variant (SUCCESS|INFO|WARNING|ERROR|TERTIARY)
|
|
20
|
-
* @param full {boolean} Full progressRadial
|
|
21
|
-
* @param disk {boolean} Disk ProgressRadial
|
|
22
|
-
* @param align {Alignable} Progress Radial Alignement
|
|
23
|
-
* - --------------- WEB PROPERTIES -------------------------------------
|
|
24
|
-
* @param className {string} Additionnal CSS Classes
|
|
25
|
-
* @param small {boolean} Display small progress radial
|
|
26
|
-
*/
|
|
27
8
|
const ProgressRadial = ({ children, percent = 0, secondPercent = 0, label, description, skeleton, className, small, ...others }) => {
|
|
28
9
|
const { styled } = useTrilogyContext();
|
|
29
10
|
const [firstProgressCurrentValue, setFirstProgressCurrentValue] = useState(0);
|
|
@@ -43,7 +24,7 @@ const ProgressRadial = ({ children, percent = 0, secondPercent = 0, label, descr
|
|
|
43
24
|
const secondProgressStartDegree = firstProgressDegree;
|
|
44
25
|
let styleBackground;
|
|
45
26
|
styleBackground = `radial-gradient(circle at center, white 58%, transparent 58.1%),`;
|
|
46
|
-
styleBackground += `conic-gradient(#0C7B91 0 ${firstProgressDegree}deg,
|
|
27
|
+
styleBackground += `conic-gradient(#0C7B91 0 ${firstProgressDegree}deg, #25465f ${secondProgressStartDegree}deg ${secondProgressStartDegree + secondProgressDegree}deg, gainsboro ${secondProgressStartDegree + secondProgressDegree}deg 360deg)`;
|
|
47
28
|
progressRadial.style.background = styleBackground;
|
|
48
29
|
};
|
|
49
30
|
useEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressRadial.js","sourceRoot":"","sources":["../../../../components/progress/radial/ProgressRadial.tsx"],"names":[],"mappings":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AK,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;YAClD,CAAC,CAAC,CAAA;YACF,gBAAgB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAA;QACjD,CAAC,CAAA;QAED,gBAAgB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAA;QAE/C,UAAU;QACV,OAAO,GAAG,EAAE,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAA;IACrD,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAA;IAE5B,SAAS,CAAC,GAAG,EAAE;QACb,qBAAqB,CAAC,yBAAyB,EAAE,0BAA0B,CAAC,CAAA;IAC9E,CAAC,EAAE,CAAC,yBAAyB,EAAE,0BAA0B,CAAC,CAAC,CAAA;IAE3D,OAAO,CACL,gCAAS,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,iBAAiB;QACzD,6BAAK,SAAS,EAAE,cAAc;YAC3B,KAAK,IAAI,oBAAC,KAAK,IAAC,KAAK,EAAE,WAAW,CAAC,GAAG,EAAE,UAAU,UAAE,KAAK,CAAS;YAClE,WAAW,IAAI,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,UAAU,UAAE,WAAW,CAAQ;YAC3E,CAAC,KAAK,IAAI,CAAC,WAAW,IAAI,QAAQ,CAC/B,CACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -6,17 +6,17 @@ import { ComponentName } from "../../../components/enumsComponentsName";
|
|
|
6
6
|
* @param percent {number} Progress percent
|
|
7
7
|
* @param label {string} Custom label
|
|
8
8
|
* @param description {string} Custom description
|
|
9
|
-
* @param
|
|
9
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR|TERTIARY)
|
|
10
10
|
* @param full {boolean} Full progressRadial
|
|
11
11
|
* @param disk {boolean} Disk ProgressRadial
|
|
12
12
|
* @param children {React.ReactNode}
|
|
13
|
-
* @param
|
|
13
|
+
* @param secondAlert {AlertState} Second Progress alert variant (SUCCESS|INFO|WARNING|ERROR|TERTIARY)
|
|
14
14
|
* @param secondPercent {number} Second progress percent
|
|
15
15
|
* @param align {Alignable} Progress Radial Alignement
|
|
16
16
|
* @param skeleton {boolean} Skeleton Progress Radial
|
|
17
17
|
*/
|
|
18
18
|
declare const ProgressRadial: {
|
|
19
|
-
({ percent, label, description,
|
|
19
|
+
({ percent, label, description, alert, full, disk, secondPercent, secondAlert, align, skeleton, ...others }: ProgressRadialProps): JSX.Element;
|
|
20
20
|
displayName: ComponentName;
|
|
21
21
|
};
|
|
22
22
|
export default ProgressRadial;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { Platform, StyleSheet, View } from "react-native";
|
|
3
3
|
import { AnimatedCircularProgress } from "./react-native-circular-progress";
|
|
4
4
|
import { Text, TextLevels } from "../../../components/text";
|
|
5
|
-
import { getAlignStyle, TypographyAlign, } from "../../../objects";
|
|
5
|
+
import { getAlertStyle, getAlignStyle, TypographyAlign, } from "../../../objects";
|
|
6
6
|
import { getColorStyle, TrilogyColor } from "../../../objects/facets/Color";
|
|
7
7
|
import ContentLoader, { Circle } from "react-content-loader/native";
|
|
8
8
|
import { ComponentName } from "../../../components/enumsComponentsName";
|
|
@@ -11,21 +11,23 @@ import { ComponentName } from "../../../components/enumsComponentsName";
|
|
|
11
11
|
* @param percent {number} Progress percent
|
|
12
12
|
* @param label {string} Custom label
|
|
13
13
|
* @param description {string} Custom description
|
|
14
|
-
* @param
|
|
14
|
+
* @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR|TERTIARY)
|
|
15
15
|
* @param full {boolean} Full progressRadial
|
|
16
16
|
* @param disk {boolean} Disk ProgressRadial
|
|
17
17
|
* @param children {React.ReactNode}
|
|
18
|
-
* @param
|
|
18
|
+
* @param secondAlert {AlertState} Second Progress alert variant (SUCCESS|INFO|WARNING|ERROR|TERTIARY)
|
|
19
19
|
* @param secondPercent {number} Second progress percent
|
|
20
20
|
* @param align {Alignable} Progress Radial Alignement
|
|
21
21
|
* @param skeleton {boolean} Skeleton Progress Radial
|
|
22
22
|
*/
|
|
23
|
-
const ProgressRadial = ({ percent, label, description,
|
|
24
|
-
const color =
|
|
25
|
-
const backgroundColor = getColorStyle(TrilogyColor.
|
|
23
|
+
const ProgressRadial = ({ percent, label, description, alert, full, disk, secondPercent, secondAlert, align, skeleton, ...others }) => {
|
|
24
|
+
const color = getAlertStyle(alert) || getColorStyle(TrilogyColor.MAIN);
|
|
25
|
+
const backgroundColor = getColorStyle(TrilogyColor.FONT, 1);
|
|
26
26
|
const percentWidth = percent || 0;
|
|
27
27
|
const secondFill = secondPercent ? { secondFill: secondPercent } : null;
|
|
28
|
-
const secondFillColor =
|
|
28
|
+
const secondFillColor = secondAlert
|
|
29
|
+
? { secondFillTintColor: getAlertStyle(secondAlert) }
|
|
30
|
+
: null;
|
|
29
31
|
const progressRadialWidth = 100;
|
|
30
32
|
const progressRadialSkeletonRadius = 50;
|
|
31
33
|
const styles = StyleSheet.create({
|
|
@@ -49,13 +51,13 @@ const ProgressRadial = ({ percent, label, description, status, full, disk, secon
|
|
|
49
51
|
backgroundColor: color,
|
|
50
52
|
},
|
|
51
53
|
labelDisk: {
|
|
52
|
-
color: getColorStyle(TrilogyColor.
|
|
54
|
+
color: getColorStyle(TrilogyColor.BACKGROUND),
|
|
53
55
|
textAlign: "center",
|
|
54
56
|
fontSize: 20,
|
|
55
57
|
fontWeight: "500",
|
|
56
58
|
},
|
|
57
59
|
descriptionDisk: {
|
|
58
|
-
color: getColorStyle(TrilogyColor.
|
|
60
|
+
color: getColorStyle(TrilogyColor.BACKGROUND),
|
|
59
61
|
textAlign: "center",
|
|
60
62
|
fontWeight: "400",
|
|
61
63
|
},
|
|
@@ -67,7 +69,7 @@ const ProgressRadial = ({ percent, label, description, status, full, disk, secon
|
|
|
67
69
|
width: progressRadialWidth,
|
|
68
70
|
height: progressRadialWidth,
|
|
69
71
|
borderRadius: progressRadialSkeletonRadius,
|
|
70
|
-
backgroundColor: getColorStyle(TrilogyColor.
|
|
72
|
+
backgroundColor: getColorStyle(TrilogyColor.DISABLED, 1),
|
|
71
73
|
overflow: "hidden",
|
|
72
74
|
},
|
|
73
75
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressRadial.native.js","sourceRoot":"","sources":["../../../../components/progress/radial/ProgressRadial.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAA;AAC3E,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,eAAe,GAAG,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"ProgressRadial.native.js","sourceRoot":"","sources":["../../../../components/progress/radial/ProgressRadial.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAA;AAC3E,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,GAAG,MAAM,WAAW,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,aAAa,EAAE,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE;;;;;;;;;;;;;GAaG;AACH,MAAM,cAA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EAAE,UAAU,CAAC,IAAI,IACpD,WAAW,IAAI,EAAE,CACb,CACR,CAAC,CAAC,CAAC,CACF,oBAAC,IAAI,QAAE,WAAW,CAAQ,CAC3B,CACI,CACR,CACwB,CACtB,CACR,CAAA;AACH,CAAC,CAAA;AAED,cAAc,CAAC,WAAW,GAAG,aAAa,CAAC,cAAc,CAAA;AAEzD,eAAe,cAAc,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AlertProps, AlertState, AlertStateValues, AlignableProps } from '../../../objects';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ProgressRadialItemProps } from './item/ProgressRadialItemProps';
|
|
4
4
|
/**
|
|
5
5
|
* Progress Radial Interface
|
|
6
6
|
*/
|
|
7
|
-
export interface ProgressRadialProps extends
|
|
7
|
+
export interface ProgressRadialProps extends AlertProps, AlignableProps {
|
|
8
8
|
children?: React.ReactElement<ProgressRadialItemProps> | React.ReactNode;
|
|
9
9
|
percent?: number;
|
|
10
10
|
label?: string | React.ReactNode;
|
|
@@ -13,7 +13,7 @@ export interface ProgressRadialProps extends StatusProps, AlignableProps {
|
|
|
13
13
|
full?: boolean;
|
|
14
14
|
disk?: boolean;
|
|
15
15
|
secondPercent?: number;
|
|
16
|
-
|
|
16
|
+
secondAlert?: AlertState | AlertStateValues;
|
|
17
17
|
skeleton?: boolean;
|
|
18
18
|
stacked?: boolean;
|
|
19
19
|
small?: boolean;
|
|
@@ -3,6 +3,7 @@ import { RadioProps } from "./RadioProps";
|
|
|
3
3
|
/**
|
|
4
4
|
* Radio Component
|
|
5
5
|
* @param checked {boolean} Checked Radio
|
|
6
|
+
* @param className {string} Additionnal CSS Classes
|
|
6
7
|
* @param disabled {boolean} Disabled
|
|
7
8
|
* @param readOnly {boolean} readonly Radio
|
|
8
9
|
* @param id {string} Id for button, by default id is generate
|
|
@@ -13,14 +14,8 @@ import { RadioProps } from "./RadioProps";
|
|
|
13
14
|
* @param value {string} Value for radio
|
|
14
15
|
* @param iconTile {IconName} Icon for Radio
|
|
15
16
|
* @param narrow {boolean} Apply narrow
|
|
16
|
-
* @param children {React.ReactNode} If Children is provided, don't use label / Icon / Description
|
|
17
|
-
* @param tile {boolean} Radio Tile
|
|
18
|
-
* @param description {string} Description for Radio tile
|
|
19
|
-
* @param horizontalTile {boolean} display horizontal Radio tile
|
|
20
|
-
* -------------------------- WEB PROPERTIES -------------------------------
|
|
21
|
-
* @param className {string} Additionnal CSS Classes
|
|
22
|
-
* @param testId {string} Test Id for Test Integration
|
|
23
17
|
* @param marginless {boolean} delete margin
|
|
18
|
+
* @param children {React.ReactNode} If Children is provided, don't use label / Icon / Description
|
|
24
19
|
*/
|
|
25
20
|
declare const Radio: ({ checked, className, disabled, readonly, id, label, onChange, onClick, name, value, tile, description, iconTile, horizontalTile, children, narrow, marginless, testId, ...others }: RadioProps) => JSX.Element;
|
|
26
21
|
export default Radio;
|