@trilogy-ds/react 0.0.1-beta-99 → 0.0.1-beta-103
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 -0
- package/lib/components/accordion/body/AccordionBody.js +1 -0
- package/lib/components/accordion/body/AccordionBody.js.map +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 +5 -4
- 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 +12 -11
- package/lib/components/alert/Alert.js.map +1 -1
- package/lib/components/alert/Alert.native.d.ts +6 -6
- package/lib/components/alert/Alert.native.js +15 -13
- 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 -2
- 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 -6
- package/lib/components/badge/Badge.js.map +1 -1
- package/lib/components/badge/Badge.native.d.ts +3 -2
- package/lib/components/badge/Badge.native.js +10 -6
- 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 +3 -1
- 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/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/breadcrumb/Breadcrumb.d.ts +2 -2
- 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 -4
- 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/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.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 -6
- 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 -9
- package/lib/components/card/Card.js.map +1 -1
- package/lib/components/card/Card.native.d.ts +2 -2
- package/lib/components/card/Card.native.js +7 -6
- package/lib/components/card/Card.native.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 +1 -0
- package/lib/components/card/image/CardImage.js +1 -0
- package/lib/components/card/image/CardImage.js.map +1 -1
- package/lib/components/card/image/CardImage.native.d.ts +1 -1
- package/lib/components/card/image/CardImage.native.js +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.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.native.js +8 -8
- 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 -1
- 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 -4
- 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 +3 -2
- 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 +5 -5
- package/lib/components/columns/Columns.js.map +1 -1
- package/lib/components/columns/ColumnsProps.d.ts +3 -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 +2 -2
- package/lib/components/columns/item/ColumnsItem.js +3 -4
- package/lib/components/columns/item/ColumnsItem.js.map +1 -1
- package/lib/components/columns/item/ColumnsItem.native.js +0 -3
- package/lib/components/columns/item/ColumnsItem.native.js.map +1 -1
- package/lib/components/container/Container.d.ts +2 -2
- 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 -3
- package/lib/components/container/Container.js.map +1 -1
- package/lib/components/container/Container.native.d.ts +2 -2
- package/lib/components/container/Container.native.js +8 -8
- 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 +1 -2
- 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 +2 -3
- 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.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.native.js +2 -2
- 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.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/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 -2
- package/lib/components/hero/Hero.example.d.ts +3 -0
- package/lib/components/hero/Hero.example.js +14 -0
- package/lib/components/hero/Hero.example.js.map +1 -0
- package/lib/components/hero/Hero.js +2 -3
- 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.example.d.ts +3 -0
- package/lib/components/icon/Icon.example.js +8 -0
- package/lib/components/icon/Icon.example.js.map +1 -0
- package/lib/components/icon/Icon.js +1 -1
- package/lib/components/icon/Icon.js.map +1 -1
- package/lib/components/icon/Icon.native.js +1 -1
- 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 +40 -47
- 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 +9 -10
- package/lib/components/input/autocomplete/AutoComplete.js.map +1 -0
- package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.native.d.ts +2 -2
- package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.native.js +1 -1
- 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.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 -2
- package/lib/components/link/Link.js.map +1 -1
- package/lib/components/link/Link.native.d.ts +1 -0
- package/lib/components/link/Link.native.js +10 -10
- 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 +2 -2
- 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 +3 -4
- package/lib/components/list/List.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.native.js +1 -1
- package/lib/components/list/item/ListItem.native.js.map +1 -1
- package/lib/components/modal/Modal.d.ts +6 -1
- 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 -14
- package/lib/components/modal/Modal.js.map +1 -1
- package/lib/components/modal/ModalProps.d.ts +5 -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.js +1 -1
- package/lib/components/modal/title/ModalTitle.js.map +1 -1
- package/lib/components/otp/Otp.d.ts +12 -0
- 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 +98 -77
- package/lib/components/otp/Otp.js.map +1 -1
- package/lib/components/otp/Otp.native.js +1 -1
- 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.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/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.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/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 +3 -3
- 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 +9 -28
- package/lib/components/price/Price.js.map +1 -1
- package/lib/components/price/Price.native.d.ts +3 -2
- package/lib/components/price/Price.native.js +88 -128
- 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/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 +3 -3
- package/lib/components/progress/item/ProgressItem.js +6 -7
- package/lib/components/progress/item/ProgressItem.js.map +1 -1
- package/lib/components/progress/item/ProgressItem.native.d.ts +2 -2
- package/lib/components/progress/item/ProgressItem.native.js +2 -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.js +1 -2
- 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.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.native.js +11 -12
- 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.native.js +4 -4
- package/lib/components/radio/list/RadioList.native.js.map +1 -1
- 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 +1 -1
- package/lib/components/range/Range.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 -5
- package/lib/components/rows/Rows.native.js +2 -4
- 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/section/Section.d.ts +3 -3
- package/lib/components/section/Section.example.d.ts +3 -0
- package/lib/components/section/Section.example.js +12 -0
- package/lib/components/section/Section.example.js.map +1 -0
- package/lib/components/section/Section.js +6 -7
- package/lib/components/section/Section.js.map +1 -1
- package/lib/components/section/Section.native.d.ts +2 -2
- package/lib/components/section/Section.native.js +4 -4
- 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.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.native.js +1 -1
- 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.native.js +2 -2
- package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
- 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/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 +1 -1
- package/lib/components/select/option/SelectOption.native.js.map +1 -1
- package/lib/components/selector/item/SelectorItem.native.js +1 -1
- 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 +6 -11
- package/lib/components/spacer/SpacerEnum.js +7 -11
- package/lib/components/spacer/SpacerEnum.js.map +1 -1
- package/lib/components/stepper/Stepper.d.ts +2 -2
- 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 +5 -7
- 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 +2 -2
- package/lib/components/stepper/step/StepperStep.js +3 -4
- package/lib/components/stepper/step/StepperStep.js.map +1 -1
- package/lib/components/stepper/step/StepperStep.native.js +1 -1
- package/lib/components/stepper/step/StepperStep.native.js.map +1 -1
- package/lib/components/sticker/Sticker.d.ts +2 -2
- 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 -3
- package/lib/components/sticker/Sticker.js.map +1 -1
- 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 +2 -2
- 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 +4 -4
- package/lib/components/switch/Switch.js.map +1 -1
- package/lib/components/switch/Switch.native.d.ts +2 -2
- package/lib/components/switch/Switch.native.js +7 -6
- 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 +2 -2
- 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 +3 -4
- package/lib/components/tabs/Tabs.js.map +1 -1
- 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 +2 -2
- package/lib/components/tabs/item/TabsItem.js +4 -5
- package/lib/components/tabs/item/TabsItem.js.map +1 -1
- package/lib/components/tabs/item/TabsItem.native.js +1 -1
- package/lib/components/tabs/item/TabsItem.native.js.map +1 -1
- 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.native.js +2 -3
- package/lib/components/tag/Tag.native.js.map +1 -1
- 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 +2 -2
- package/lib/components/tag/list/TagList.js +3 -4
- 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 +3 -3
- 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 +6 -11
- package/lib/components/textarea/Textarea.js.map +1 -1
- package/lib/components/textarea/Textarea.native.js +14 -28
- package/lib/components/textarea/Textarea.native.js.map +1 -1
- package/lib/components/textarea/TextareaProps.d.ts +0 -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.js +1 -1
- package/lib/components/timeline/content/TimelineContent.js.map +1 -1
- 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 +2 -2
- package/lib/components/timeline/item/TimelineItem.js +3 -4
- package/lib/components/timeline/item/TimelineItem.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.js +7 -7
- package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
- package/lib/components/title/Title.example.d.ts +3 -0
- package/lib/components/title/Title.example.js +8 -0
- package/lib/components/title/Title.example.js.map +1 -0
- package/lib/components/title/Title.js +2 -2
- package/lib/components/title/Title.js.map +1 -1
- package/lib/components/title/Title.native.js +9 -10
- 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 -2
- package/lib/components/view/View.js +3 -3
- package/lib/components/view/View.js.map +1 -1
- package/lib/components/view/View.native.d.ts +2 -2
- package/lib/components/view/View.native.js +3 -3
- package/lib/components/view/View.native.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 -9
- package/lib/objects/facets/Color.js +53 -54
- package/lib/objects/facets/Color.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/lib/version.js.map +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.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 -75
- package/lib/components/box/BoxPropsDefaults.js +0 -212
- package/lib/components/box/content/BoxContentPropsDefaults.js +0 -100
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +0 -85
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +0 -116
- 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 -218
- 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 -89
- package/lib/components/columns/item/ColumnsItemPropsDefaults.js +0 -323
- package/lib/components/container/ContainerPropsDefaults.js +0 -183
- package/lib/components/countdown/CountdownPropsDefaults.js +0 -57
- package/lib/components/divider/DividerPropsDefaults.js +0 -204
- package/lib/components/fab/FabPropsDefaults.js +0 -171
- package/lib/components/hero/HeroPropsDefaults.js +0 -142
- package/lib/components/icon/IconPropsDefaults.js +0 -305
- package/lib/components/icon/circle/CircleIconPropsDefaults.js +0 -166
- 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 -53
- 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 -125
- package/lib/components/section/SectionPropsDefaults.js +0 -116
- 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 -37
- 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 -103
- package/lib/components/table/head/TableHeadPropsDefaults.js +0 -103
- 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 -100
- package/lib/components/tabs/TabsPropsDefaults.js +0 -160
- package/lib/components/tabs/item/TabsItemPropsDefaults.js +0 -336
- package/lib/components/tag/TagClickEventDefaults.js +0 -1
- package/lib/components/tag/TagPropsDefaults.js +0 -119
- 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 -219
- package/lib/objects/facets/Status.d.ts +0 -63
- package/lib/objects/facets/Status.js +0 -70
- package/lib/objects/facets/Status.js.map +0 -1
- /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
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* New Text Levels
|
|
3
3
|
*/
|
|
4
4
|
export declare enum TextLevels {
|
|
5
|
-
ONE =
|
|
6
|
-
TWO =
|
|
7
|
-
THREE =
|
|
8
|
-
FOUR =
|
|
5
|
+
ONE = "ONE",
|
|
6
|
+
TWO = "TWO",
|
|
7
|
+
THREE = "THREE",
|
|
8
|
+
FOUR = "FOUR"
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Text size values
|
|
12
12
|
*/
|
|
13
|
-
export type TextLevelValues = TextLevels
|
|
13
|
+
export type TextLevelValues = `${TextLevels}`;
|
|
14
14
|
/**
|
|
15
15
|
* List of available Markup for Text
|
|
16
16
|
*/
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export var TextLevels;
|
|
5
5
|
(function (TextLevels) {
|
|
6
|
-
TextLevels[
|
|
7
|
-
TextLevels[
|
|
8
|
-
TextLevels[
|
|
9
|
-
TextLevels[
|
|
6
|
+
TextLevels["ONE"] = "ONE";
|
|
7
|
+
TextLevels["TWO"] = "TWO";
|
|
8
|
+
TextLevels["THREE"] = "THREE";
|
|
9
|
+
TextLevels["FOUR"] = "FOUR";
|
|
10
10
|
})(TextLevels || (TextLevels = {}));
|
|
11
11
|
/**
|
|
12
12
|
* List of available Markup for Text
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextEnum.js","sourceRoot":"","sources":["../../../components/text/TextEnum.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,
|
|
1
|
+
{"version":3,"file":"TextEnum.js","sourceRoot":"","sources":["../../../components/text/TextEnum.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,yBAAW,CAAA;IACX,6BAAe,CAAA;IACf,2BAAa,CAAA;AACf,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAOD;;GAEG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,qBAAO,CAAA;IACP,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,qBAAO,CAAA;AACT,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAA;AACzB,OAAO,WAAW,MAAM,gBAAgB,CAAA;AAExC,cAAc,YAAY,CAAA;AAE1B,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -3,8 +3,6 @@ import { TextareaProps } from './TextareaProps';
|
|
|
3
3
|
/**
|
|
4
4
|
* Textarea Component
|
|
5
5
|
* @param disabled {boolean} Disabled textarea
|
|
6
|
-
* @param label {string} Label for textarea
|
|
7
|
-
* @param sample {string} Sample for textarea (below label)
|
|
8
6
|
* @param name {string} Textarea name
|
|
9
7
|
* @param onChange {Function} OnChange textarea Event
|
|
10
8
|
* @param placeholder {string} Placeholder textarea
|
|
@@ -15,6 +13,8 @@ import { TextareaProps } from './TextareaProps';
|
|
|
15
13
|
* @param rows {number} Textarea rows
|
|
16
14
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
17
15
|
* @param className {string} Additionnal CSS Classes
|
|
16
|
+
* @param hovered {boolean} Hover mode
|
|
17
|
+
* @param focused {boolean} Fucus mode
|
|
18
18
|
* @param minLength {number} Textarea min length
|
|
19
19
|
* @param status {InputStatus} Textarea with status - (SUCCESS|WARNING|ERROR|DEFAULT)
|
|
20
20
|
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
@@ -25,5 +25,5 @@ import { TextareaProps } from './TextareaProps';
|
|
|
25
25
|
* @param textContentType {InputTextContentType} Give the keyboard and the system information
|
|
26
26
|
* @param keyboardType {InputKeyboardType} Keybaord type
|
|
27
27
|
*/
|
|
28
|
-
declare const Textarea: ({ className,
|
|
28
|
+
declare const Textarea: ({ className, disabled, onChange, focused, placeholder, defaultValue, hovered, help, status, statusIconName, dynamicPlaceholder, rows, ref, label, maxLength, minLength, iconName, typo, testId, ...others }: TextareaProps) => JSX.Element;
|
|
29
29
|
export default Textarea;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Textarea } from './index';
|
|
3
|
+
import { Columns, ColumnsItem } from '../columns';
|
|
4
|
+
const TextareaExample = React.createElement(Columns, null,
|
|
5
|
+
React.createElement(ColumnsItem, null,
|
|
6
|
+
React.createElement(Textarea, { label: 'Label dynamique', maxLength: 150, placeholder: 'placeholder' })),
|
|
7
|
+
React.createElement(ColumnsItem, null,
|
|
8
|
+
React.createElement(Textarea, { disabled: true, label: 'Label dynamique', placeholder: 'placeholder' })),
|
|
9
|
+
React.createElement(ColumnsItem, null,
|
|
10
|
+
React.createElement(Textarea, { iconName: 'tri-alert', label: 'Label dynamique', placeholder: 'placeholder' })));
|
|
11
|
+
export default TextareaExample;
|
|
12
|
+
//# sourceMappingURL=Textarea.example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.example.js","sourceRoot":"","sources":["../../../components/textarea/Textarea.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,eAAe,GAEnB,oBAAC,OAAO;IACJ,oBAAC,WAAW;QACV,oBAAC,QAAQ,IACP,KAAK,EAAC,iBAAiB,EACvB,SAAS,EAAE,GAAG,EACd,WAAW,EAAC,aAAa,GACzB,CACU;IACd,oBAAC,WAAW;QACV,oBAAC,QAAQ,IACP,QAAQ,QACR,KAAK,EAAC,iBAAiB,EACvB,WAAW,EAAC,aAAa,GACzB,CACU;IACd,oBAAC,WAAW;QACV,oBAAC,QAAQ,IACP,QAAQ,EAAC,WAAW,EACpB,KAAK,EAAC,iBAAiB,EACvB,WAAW,EAAC,aAAa,GACzB,CACU,CACN,CAAA;AAEd,eAAe,eAAe,CAAA"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
2
|
import React, { useEffect, useState } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { Text
|
|
4
|
+
import { Text } from '../../components/text';
|
|
5
5
|
import { has, is } from '../../services';
|
|
6
6
|
import { Icon } from '../../components/icon';
|
|
7
7
|
import { hashClass } from '../../helpers';
|
|
8
8
|
import { useTrilogyContext } from '../../context';
|
|
9
|
-
import { TypographyColor } from '../../objects';
|
|
10
9
|
/**
|
|
11
10
|
* Textarea Component
|
|
12
11
|
* @param disabled {boolean} Disabled textarea
|
|
13
|
-
* @param label {string} Label for textarea
|
|
14
|
-
* @param sample {string} Sample for textarea (below label)
|
|
15
12
|
* @param name {string} Textarea name
|
|
16
13
|
* @param onChange {Function} OnChange textarea Event
|
|
17
14
|
* @param placeholder {string} Placeholder textarea
|
|
@@ -22,6 +19,8 @@ import { TypographyColor } from '../../objects';
|
|
|
22
19
|
* @param rows {number} Textarea rows
|
|
23
20
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
24
21
|
* @param className {string} Additionnal CSS Classes
|
|
22
|
+
* @param hovered {boolean} Hover mode
|
|
23
|
+
* @param focused {boolean} Fucus mode
|
|
25
24
|
* @param minLength {number} Textarea min length
|
|
26
25
|
* @param status {InputStatus} Textarea with status - (SUCCESS|WARNING|ERROR|DEFAULT)
|
|
27
26
|
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
@@ -32,7 +31,7 @@ import { TypographyColor } from '../../objects';
|
|
|
32
31
|
* @param textContentType {InputTextContentType} Give the keyboard and the system information
|
|
33
32
|
* @param keyboardType {InputKeyboardType} Keybaord type
|
|
34
33
|
*/
|
|
35
|
-
const Textarea = ({ className,
|
|
34
|
+
const Textarea = ({ className, disabled, onChange, focused = true, placeholder, defaultValue, hovered = true, help, status, statusIconName, dynamicPlaceholder = true, rows, ref, label, maxLength, minLength, iconName, typo, testId, ...others }) => {
|
|
36
35
|
const [value, setValue] = useState(defaultValue || '');
|
|
37
36
|
const { styled } = useTrilogyContext();
|
|
38
37
|
useEffect(() => {
|
|
@@ -43,11 +42,7 @@ const Textarea = ({ className, sample, required, disabled, onChange, placeholder
|
|
|
43
42
|
const helpClasses = clsx('help');
|
|
44
43
|
const counterClasses = hashClass(styled, clsx('counter', maxLength));
|
|
45
44
|
return (React.createElement("div", { className: wrapperClasses },
|
|
46
|
-
!dynamicPlaceholder && React.createElement("label",
|
|
47
|
-
label,
|
|
48
|
-
" ",
|
|
49
|
-
label && required && React.createElement(Text, { markup: TextMarkup.SPAN, typo: TypographyColor.TEXT_ERROR }, "*")),
|
|
50
|
-
!dynamicPlaceholder && label && sample && React.createElement(Text, { className: 'textarea-sample', level: TextLevels.TWO, typo: TypographyColor.TEXT_DISABLED }, sample),
|
|
45
|
+
!dynamicPlaceholder && React.createElement("label", null, label),
|
|
51
46
|
React.createElement("textarea", { "data-testid": testId, minLength: minLength, disabled: disabled, ref: ref, ...others, className: classes, value: value, onChange: (e) => {
|
|
52
47
|
setValue(e.target.value);
|
|
53
48
|
if (onChange) {
|
|
@@ -56,7 +51,7 @@ const Textarea = ({ className, sample, required, disabled, onChange, placeholder
|
|
|
56
51
|
textareaValue: e.target.value,
|
|
57
52
|
});
|
|
58
53
|
}
|
|
59
|
-
}, placeholder: placeholder, rows: rows, maxLength: maxLength
|
|
54
|
+
}, placeholder: placeholder, rows: rows, maxLength: maxLength }),
|
|
60
55
|
dynamicPlaceholder && React.createElement("label", null, label),
|
|
61
56
|
iconName && React.createElement(Icon, { name: iconName, size: 'small' }),
|
|
62
57
|
statusIconName && React.createElement(Icon, { name: statusIconName, size: 'small' }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../../components/textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../../components/textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAExC,OAAO,EAAE,GAAG,E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State } from "react";
|
|
|
2
2
|
import { Animated, StyleSheet, Text, TextInput, View } from "react-native";
|
|
3
3
|
import { InputAutoCapitalize, InputKeyboardAppearance, InputKeyboardType, InputTextContentType, } from "../../components/input/InputEnum";
|
|
4
4
|
import { getColorStyle, TrilogyColor } from "../../objects/facets/Color";
|
|
5
|
-
import {
|
|
5
|
+
import { AlertState, getAlertStyle } from "../../objects/facets/Alert";
|
|
6
6
|
import { Icon } from "../../components/icon";
|
|
7
7
|
import { ComponentName } from "../../components/enumsComponentsName";
|
|
8
|
-
import { TypographyColor } from "../../objects";
|
|
9
|
-
import { Spacer, SpacerSize } from "../spacer";
|
|
10
|
-
import { TextLevels } from "../text/TextEnum";
|
|
11
|
-
import { Text as TrilogyText } from "../text";
|
|
12
8
|
/**
|
|
13
9
|
* Textarea Native Component
|
|
14
10
|
* @param name {string} Textarea name
|
|
15
|
-
* @param label {string} Textarea label
|
|
16
|
-
* @param sample {string} Textarea sample
|
|
17
11
|
* @param disabled {boolean} Disabled input
|
|
18
12
|
* @param onChange {Function} OnChange Input Event
|
|
19
13
|
* @param placeholder {string} Placeholder Input
|
|
@@ -29,7 +23,7 @@ import { Text as TrilogyText } from "../text";
|
|
|
29
23
|
* @param keyboardType {InputKeyboardType} Keybaord type
|
|
30
24
|
* @param maxLength {number} Textarea max length
|
|
31
25
|
*/
|
|
32
|
-
const Textarea = ({ defaultValue, name,
|
|
26
|
+
const Textarea = ({ defaultValue, name, onChange, disabled, help, placeholder, keyboardStyle, autoCapitalize, autoCorrect, textContentType, keyboardType, status, maxLength, dynamicPlaceholder = true, label, iconName, statusIconName, customHeight = 120, value, testId, ...others },
|
|
33
27
|
// eslint-disable-next-line
|
|
34
28
|
ref) => {
|
|
35
29
|
const [_value, setValue] = useState(value || "");
|
|
@@ -37,7 +31,7 @@ ref) => {
|
|
|
37
31
|
const [displayDynamicLabel, setDisplayDynamicLabel] = useState(false);
|
|
38
32
|
const textareaColor = isFocus
|
|
39
33
|
? getColorStyle(TrilogyColor.MAIN)
|
|
40
|
-
: getColorStyle(TrilogyColor.
|
|
34
|
+
: getColorStyle(TrilogyColor.FONT, 1);
|
|
41
35
|
const animation = useRef(new Animated.Value(0)).current;
|
|
42
36
|
useEffect(() => {
|
|
43
37
|
if (displayDynamicLabel) {
|
|
@@ -52,9 +46,9 @@ ref) => {
|
|
|
52
46
|
textarea: {
|
|
53
47
|
borderWidth: isFocus ? 2 : 1,
|
|
54
48
|
borderRadius: 3,
|
|
55
|
-
borderColor: (status && status === "success" &&
|
|
56
|
-
(status && status === "warning" &&
|
|
57
|
-
(status && status === "error" &&
|
|
49
|
+
borderColor: (status && status === "success" && getAlertStyle(AlertState.SUCCESS)) ||
|
|
50
|
+
(status && status === "warning" && getAlertStyle(AlertState.WARNING)) ||
|
|
51
|
+
(status && status === "error" && getAlertStyle(AlertState.ERROR)) ||
|
|
58
52
|
(status && status === "default" && textareaColor) ||
|
|
59
53
|
textareaColor,
|
|
60
54
|
height: customHeight,
|
|
@@ -65,15 +59,15 @@ ref) => {
|
|
|
65
59
|
textAlignVertical: "top",
|
|
66
60
|
color: getColorStyle(TrilogyColor.MAIN),
|
|
67
61
|
backgroundColor: disabled
|
|
68
|
-
? getColorStyle(TrilogyColor.
|
|
62
|
+
? getColorStyle(TrilogyColor.DISABLED, 1)
|
|
69
63
|
: getColorStyle(TrilogyColor.BACKGROUND),
|
|
70
64
|
/* width: '',*/
|
|
71
65
|
},
|
|
72
66
|
help: {
|
|
73
67
|
fontSize: 12,
|
|
74
|
-
color: (status && status === "success" &&
|
|
75
|
-
(status && status === "warning" &&
|
|
76
|
-
(status && status === "error" &&
|
|
68
|
+
color: (status && status === "success" && getAlertStyle(AlertState.SUCCESS)) ||
|
|
69
|
+
(status && status === "warning" && getAlertStyle(AlertState.WARNING)) ||
|
|
70
|
+
(status && status === "error" && getAlertStyle(AlertState.ERROR)) ||
|
|
77
71
|
(status && status === "default" && textareaColor) ||
|
|
78
72
|
textareaColor,
|
|
79
73
|
paddingLeft: 4,
|
|
@@ -95,34 +89,26 @@ ref) => {
|
|
|
95
89
|
top: 2,
|
|
96
90
|
left: iconName ? 40 : 8,
|
|
97
91
|
fontSize: 12,
|
|
98
|
-
color: getColorStyle(TrilogyColor.
|
|
92
|
+
color: getColorStyle(TrilogyColor.NEUTRAL_DARK),
|
|
99
93
|
backgroundColor: "transparent",
|
|
100
94
|
padding: 8,
|
|
101
95
|
paddingBottom: 4,
|
|
102
96
|
},
|
|
103
97
|
leftIcon: {
|
|
104
98
|
position: "absolute",
|
|
105
|
-
top:
|
|
99
|
+
top: 16,
|
|
106
100
|
left: 16,
|
|
107
101
|
zIndex: 10
|
|
108
102
|
},
|
|
109
103
|
rightIcon: {
|
|
110
104
|
position: "absolute",
|
|
111
|
-
top: dynamicPlaceholder
|
|
105
|
+
top: dynamicPlaceholder ? 16 : 32,
|
|
112
106
|
right: 16,
|
|
113
107
|
zIndex: 10
|
|
114
108
|
},
|
|
115
109
|
});
|
|
116
110
|
return (React.createElement(View, null,
|
|
117
|
-
!dynamicPlaceholder &&
|
|
118
|
-
React.createElement(TrilogyText, { typo: TypographyColor.TEXT_DISABLED },
|
|
119
|
-
label,
|
|
120
|
-
" ",
|
|
121
|
-
label && required && React.createElement(TrilogyText, { typo: TypographyColor.TEXT_ERROR }, "*")),
|
|
122
|
-
React.createElement(Spacer, { size: SpacerSize.THREE }))),
|
|
123
|
-
!dynamicPlaceholder && label && sample && (React.createElement(React.Fragment, null,
|
|
124
|
-
React.createElement(TrilogyText, { level: TextLevels.THREE, typo: TypographyColor.TEXT_DISABLED }, sample),
|
|
125
|
-
React.createElement(Spacer, { size: SpacerSize.THREE }))),
|
|
111
|
+
!dynamicPlaceholder && (React.createElement(Text, { style: { color: getColorStyle(TrilogyColor.MAIN) } }, label)),
|
|
126
112
|
iconName && (React.createElement(Text, { style: styles.leftIcon },
|
|
127
113
|
React.createElement(Icon, { name: iconName, size: 'small', testId: `${testId}-icon` }))),
|
|
128
114
|
React.createElement(TextInput, { maxLength: maxLength, value: _value, defaultValue: defaultValue, editable: !disabled, multiline: true, keyboardAppearance: keyboardStyle || InputKeyboardAppearance.DEFAULT, autoCapitalize: autoCapitalize || InputAutoCapitalize.NONE, autoCorrect: autoCorrect || false, textContentType: textContentType || InputTextContentType.NONE, keyboardType: keyboardType || InputKeyboardType.DEFAULT, onChangeText: (text) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.native.js","sourceRoot":"","sources":["../../../components/textarea/Textarea.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAE1E,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Textarea.native.js","sourceRoot":"","sources":["../../../components/textarea/Textarea.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAE1E,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,I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E,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,KAC3B,MAAM,EACV,GAAG,EAAE,GAAG,GACR;QAED,cAAc,IAAI,CACjB,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS;YAC3B,oBAAC,IAAI,IACH,IAAI,EAAE,cAAc,EACpB,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,MAAM,IAAK,MAAM,CAAC,WAAW,EAAgB,EACpD,MAAM,EAAE,GAAG,MAAM,aAAa,GAC9B,CACG,CACR;QAEA,mBAAmB,IAAI,kBAAkB,IAAI,CAC5C,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,YAAY,IAAG,KAAK,CAAQ,CACjD;QACA,SAAS,IAAI,CACZ,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,YAAY,IACvD,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,MAAM,SAAS,EAAE,CAAC,CAAC,CAAC,OAAO,SAAS,EAAE,CAC5D,CACR;QACA,IAAI,IAAI,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,OAAO,IAAG,IAAI,CAAQ,CACrE,CACR,CAAA;AACH,CAAC,CAAA;AAED,QAAQ,CAAC,WAAW,GAAG,aAAa,CAAC,QAAQ,CAAA;AAE7C,eAAe,UAAU,CAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -39,8 +39,6 @@ type TextareaPropsWeb = Accessibility & {
|
|
|
39
39
|
statusIconName?: IconName | IconNameValues;
|
|
40
40
|
typo?: TypographyColor | TypographyColorValues;
|
|
41
41
|
customHeight?: number;
|
|
42
|
-
required?: boolean;
|
|
43
|
-
sample?: string;
|
|
44
42
|
};
|
|
45
43
|
export type TextareaNativeProps = TextareaPropsWeb & ReferenceableNative<TextInput>;
|
|
46
44
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAEhD,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TimelineProps } from "./TimelineProps";
|
|
3
3
|
/**
|
|
4
4
|
* Timeline Component
|
|
@@ -8,5 +8,5 @@ import { TimelineProps } from "./TimelineProps";
|
|
|
8
8
|
* @param horizontal {boolean} timeline horizontal
|
|
9
9
|
* @param className {string} Additionnal CSS Classes
|
|
10
10
|
*/
|
|
11
|
-
declare const Timeline:
|
|
11
|
+
declare const Timeline: ({ className, notifications, horizontal, ...others }: TimelineProps) => JSX.Element;
|
|
12
12
|
export default Timeline;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Timeline, TimelineItem, TimelineMarker, TimelineContent } from './index';
|
|
3
|
+
import { Columns, ColumnsItem } from '../columns';
|
|
4
|
+
const TimelineExample = React.createElement(Columns, null,
|
|
5
|
+
React.createElement(ColumnsItem, null,
|
|
6
|
+
React.createElement(Timeline, null,
|
|
7
|
+
React.createElement(TimelineItem, { undone: true },
|
|
8
|
+
React.createElement(TimelineMarker, { iconName: 'tri-bell' }),
|
|
9
|
+
React.createElement(TimelineContent, { content: 'Modification de votre identifiant de connexion', contentLink: "Voir l'email", heading: '20 Septembre', link: 'link' })),
|
|
10
|
+
React.createElement(TimelineItem, { active: true },
|
|
11
|
+
React.createElement(TimelineMarker, { iconName: 'tri-bell' }),
|
|
12
|
+
React.createElement(TimelineContent, { content: 'SMS Bon voyage avec seuil usage inclus', contentLink: 'Voir le SMS', heading: '08 Juillet', link: 'link' })),
|
|
13
|
+
React.createElement(TimelineItem, { done: true },
|
|
14
|
+
React.createElement(TimelineMarker, { iconName: 'tri-bell' }),
|
|
15
|
+
React.createElement(TimelineContent, { content: 'Passage en boutique concernant un accessoire', heading: '06 Juillet' })),
|
|
16
|
+
React.createElement(TimelineItem, { done: true },
|
|
17
|
+
React.createElement(TimelineMarker, { iconName: 'tri-bell' }),
|
|
18
|
+
React.createElement(TimelineContent, { content: 'Modification de votre adresse de facturation', heading: '05 Mai' })))),
|
|
19
|
+
React.createElement(ColumnsItem, null,
|
|
20
|
+
React.createElement(Timeline, { horizontal: true },
|
|
21
|
+
React.createElement(TimelineItem, { done: true },
|
|
22
|
+
React.createElement(TimelineMarker, { iconName: 'tri-bell' }),
|
|
23
|
+
React.createElement(TimelineContent, { content: 'Modification de votre identifiant de connexion', contentLink: "Voir l'email", heading: '20 Septembre', link: 'https://bouyguestelecom.fr' })),
|
|
24
|
+
React.createElement(TimelineItem, { done: true },
|
|
25
|
+
React.createElement(TimelineMarker, { iconColor: 'WHITE', iconName: 'tri-bell' }),
|
|
26
|
+
React.createElement(TimelineContent, { content: 'SMS Bon voyage avec seuil usage inclus', contentLink: 'Voir le SMS', heading: '08 Juillet', link: 'link' })),
|
|
27
|
+
React.createElement(TimelineItem, { active: true },
|
|
28
|
+
React.createElement(TimelineMarker, { iconColor: 'WHITE', iconName: 'tri-bell' }),
|
|
29
|
+
React.createElement(TimelineContent, { content: 'SMS Bon voyage avec seuil usage inclus', contentLink: 'Voir le SMS', heading: '08 Juillet', link: 'link' })),
|
|
30
|
+
React.createElement(TimelineItem, { undone: true },
|
|
31
|
+
React.createElement(TimelineMarker, { iconColor: 'WHITE', iconName: 'tri-bell' }),
|
|
32
|
+
React.createElement(TimelineContent, { content: 'SMS Bon voyage avec seuil usage inclus', contentLink: 'Voir le SMS', heading: '08 Juillet', link: 'link' })))));
|
|
33
|
+
export default TimelineExample;
|
|
34
|
+
//# sourceMappingURL=Timeline.example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.example.js","sourceRoot":"","sources":["../../../components/timeline/Timeline.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACjF,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,eAAe,GAErB,oBAAC,OAAO;IACJ,oBAAC,WAAW;QACR,oBAAC,QAAQ;YACL,oBAAC,YAAY,IAAC,MAAM;gBAChB,oBAAC,cAAc,IAAC,QAAQ,EAAC,UAAU,GAAG;gBACtC,oBAAC,eAAe,IACZ,OAAO,EAAC,gDAAgD,EACxD,WAAW,EAAC,cAAc,EAC1B,OAAO,EAAC,cAAc,EACtB,IAAI,EAAC,MAAM,GACb,CACS;YACf,oBAAC,YAAY,IAAC,MAAM;gBAChB,oBAAC,cAAc,IAAC,QAAQ,EAAC,UAAU,GAAG;gBACtC,oBAAC,eAAe,IACZ,OAAO,EAAC,wCAAwC,EAChD,WAAW,EAAC,aAAa,EACzB,OAAO,EAAC,YAAY,EACpB,IAAI,EAAC,MAAM,GACb,CACS;YACf,oBAAC,YAAY,IAAC,IAAI;gBACd,oBAAC,cAAc,IAAC,QAAQ,EAAC,UAAU,GAAG;gBACtC,oBAAC,eAAe,IACZ,OAAO,EAAC,8CAA8C,EACtD,OAAO,EAAC,YAAY,GACtB,CACS;YACf,oBAAC,YAAY,IAAC,IAAI;gBACd,oBAAC,cAAc,IAAC,QAAQ,EAAC,UAAU,GAAG;gBACtC,oBAAC,eAAe,IACZ,OAAO,EAAC,8CAA8C,EACtD,OAAO,EAAC,QAAQ,GAClB,CACS,CACR,CACD;IACd,oBAAC,WAAW;QACR,oBAAC,QAAQ,IAAC,UAAU;YAChB,oBAAC,YAAY,IAAC,IAAI;gBACd,oBAAC,cAAc,IAAC,QAAQ,EAAC,UAAU,GAAG;gBACtC,oBAAC,eAAe,IACZ,OAAO,EAAC,gDAAgD,EACxD,WAAW,EAAC,cAAc,EAC1B,OAAO,EAAC,cAAc,EACtB,IAAI,EAAC,4BAA4B,GACnC,CACS;YACf,oBAAC,YAAY,IAAC,IAAI;gBACd,oBAAC,cAAc,IACX,SAAS,EAAC,OAAO,EACjB,QAAQ,EAAC,UAAU,GACrB;gBACF,oBAAC,eAAe,IACZ,OAAO,EAAC,wCAAwC,EAChD,WAAW,EAAC,aAAa,EACzB,OAAO,EAAC,YAAY,EACpB,IAAI,EAAC,MAAM,GACb,CACS;YACf,oBAAC,YAAY,IAAC,MAAM;gBAChB,oBAAC,cAAc,IACX,SAAS,EAAC,OAAO,EACjB,QAAQ,EAAC,UAAU,GACrB;gBACF,oBAAC,eAAe,IACZ,OAAO,EAAC,wCAAwC,EAChD,WAAW,EAAC,aAAa,EACzB,OAAO,EAAC,YAAY,EACpB,IAAI,EAAC,MAAM,GACb,CACS;YACf,oBAAC,YAAY,IAAC,MAAM;gBAChB,oBAAC,cAAc,IACX,SAAS,EAAC,OAAO,EACjB,QAAQ,EAAC,UAAU,GACrB;gBACF,oBAAC,eAAe,IACZ,OAAO,EAAC,wCAAwC,EAChD,WAAW,EAAC,aAAa,EACzB,OAAO,EAAC,YAAY,EACpB,IAAI,EAAC,MAAM,GACb,CACS,CACR,CACD,CACR,CAAA;AAEV,eAAe,eAAe,CAAA"}
|
|
@@ -11,11 +11,11 @@ import { is } from "../../services";
|
|
|
11
11
|
* @param horizontal {boolean} timeline horizontal
|
|
12
12
|
* @param className {string} Additionnal CSS Classes
|
|
13
13
|
*/
|
|
14
|
-
const Timeline =
|
|
15
|
-
const { className, notifications, horizontal, ...others } = props;
|
|
14
|
+
const Timeline = ({ className, notifications, horizontal, ...others }) => {
|
|
16
15
|
const { styled } = useTrilogyContext();
|
|
16
|
+
const timelineRef = React.useRef(null);
|
|
17
17
|
const classes = hashClass(styled, clsx("timeline", notifications && notifications, horizontal && is("horizontal"), className));
|
|
18
|
-
return React.createElement("div", { ref:
|
|
19
|
-
}
|
|
18
|
+
return React.createElement("div", { ref: timelineRef, className: classes, ...others });
|
|
19
|
+
};
|
|
20
20
|
export default Timeline;
|
|
21
21
|
//# sourceMappingURL=Timeline.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timeline.js","sourceRoot":"","sources":["../../../components/timeline/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAE/B;;;;;;;GAOG;AACH,MAAM,QAAQ,GAAG,
|
|
1
|
+
{"version":3,"file":"Timeline.js","sourceRoot":"","sources":["../../../components/timeline/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAE/B;;;;;;;GAOG;AACH,MAAM,QAAQ,GAAG,CAAC,EAChB,SAAS,EACT,aAAa,EACb,UAAU,EACV,GAAG,MAAM,EACK,EAAe,EAAE;IAC/B,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACtC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAiB,IAAI,CAAC,CAAA;IACtD,MAAM,OAAO,GAAG,SAAS,CACvB,MAAM,EACN,IAAI,CACF,UAAU,EACV,aAAa,IAAI,aAAa,EAC9B,UAAU,IAAI,EAAE,CAAC,YAAY,CAAC,EAC9B,SAAS,CACV,CACF,CAAA;IAED,OAAO,6BAAK,GAAG,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,KAAM,MAAM,GAAI,CAAA;AAClE,CAAC,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -24,7 +24,7 @@ const TimelineContent = ({ children, className, heading, content, link, contentL
|
|
|
24
24
|
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
25
25
|
e.stopPropagation();
|
|
26
26
|
} },
|
|
27
|
-
heading && (React.createElement(Text, { markup: TextMarkup.P }, heading)),
|
|
27
|
+
heading && (React.createElement(Text, { className: 'heading', markup: TextMarkup.P }, heading)),
|
|
28
28
|
content && (React.createElement(Text, { className: 'main-content', markup: TextMarkup.P }, content)),
|
|
29
29
|
link && React.createElement(Link, { href: link }, contentLink || link)));
|
|
30
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimelineContent.js","sourceRoot":"","sources":["../../../../components/timeline/content/TimelineContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,IAAI,MAAM,MAAM,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;;;;;;GASG;AACH,MAAM,eAAe,GAAG,CAAC,EACvB,QAAQ,EACR,SAAS,EACT,OAAO,EACP,OAAO,EACP,IAAI,EACJ,WAAW,EACX,OAAO,EACP,GAAG,MAAM,EACe,EAAe,EAAE;IACzC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACtC,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAC,CAAA;IAEtE,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,6BAAK,SAAS,EAAE,OAAO,KAAM,MAAM,IAChC,QAAQ,CACL,CACP,CAAA;KACF;IAED,OAAO,CACL,6BACE,SAAS,EAAE,OAAO,KACd,MAAM,EACV,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACb,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC,CAAA;YACZ,CAAC,CAAC,eAAe,EAAE,CAAA;QACrB,CAAC;QAEA,OAAO,IAAI,CACV,oBAAC,IAAI,IAAC,MAAM,EAAE,UAAU,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"TimelineContent.js","sourceRoot":"","sources":["../../../../components/timeline/content/TimelineContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,IAAI,MAAM,MAAM,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;;;;;;GASG;AACH,MAAM,eAAe,GAAG,CAAC,EACvB,QAAQ,EACR,SAAS,EACT,OAAO,EACP,OAAO,EACP,IAAI,EACJ,WAAW,EACX,OAAO,EACP,GAAG,MAAM,EACe,EAAe,EAAE;IACzC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACtC,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAC,CAAA;IAEtE,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,6BAAK,SAAS,EAAE,OAAO,KAAM,MAAM,IAChC,QAAQ,CACL,CACP,CAAA;KACF;IAED,OAAO,CACL,6BACE,SAAS,EAAE,OAAO,KACd,MAAM,EACV,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACb,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC,CAAA;YACZ,CAAC,CAAC,eAAe,EAAE,CAAA;QACrB,CAAC;QAEA,OAAO,IAAI,CACV,oBAAC,IAAI,IAAC,SAAS,EAAC,SAAS,EAAC,MAAM,EAAE,UAAU,CAAC,CAAC,IAC3C,OAAO,CACH,CACR;QACA,OAAO,IAAI,CACV,oBAAC,IAAI,IAAC,SAAS,EAAC,cAAc,EAAC,MAAM,EAAE,UAAU,CAAC,CAAC,IAChD,OAAO,CACH,CACR;QACA,IAAI,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAE,IAAI,IAAG,WAAW,IAAI,IAAI,CAAQ,CACnD,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -2,4 +2,5 @@ import TimelineContent from './content';
|
|
|
2
2
|
import TimelineItem from './item';
|
|
3
3
|
import TimelineMarker from './marker';
|
|
4
4
|
import Timeline from './Timeline';
|
|
5
|
-
|
|
5
|
+
import TimelineExample from './Timeline.example';
|
|
6
|
+
export { Timeline, TimelineItem, TimelineContent, TimelineMarker, TimelineExample };
|
|
@@ -2,5 +2,6 @@ import TimelineContent from './content';
|
|
|
2
2
|
import TimelineItem from './item';
|
|
3
3
|
import TimelineMarker from './marker';
|
|
4
4
|
import Timeline from './Timeline';
|
|
5
|
-
|
|
5
|
+
import TimelineExample from './Timeline.example';
|
|
6
|
+
export { Timeline, TimelineItem, TimelineContent, TimelineMarker, TimelineExample };
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,WAAW,CAAA;AACvC,OAAO,YAAY,MAAM,QAAQ,CAAA;AACjC,OAAO,cAAc,MAAM,UAAU,CAAA;AACrC,OAAO,QAAQ,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,WAAW,CAAA;AACvC,OAAO,YAAY,MAAM,QAAQ,CAAA;AACjC,OAAO,cAAc,MAAM,UAAU,CAAA;AACrC,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAEhD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TimelineItemWebProps } from "./TimelineItemProps";
|
|
3
3
|
/**
|
|
4
4
|
* Timeline Item Component
|
|
@@ -9,5 +9,5 @@ import { TimelineItemWebProps } from "./TimelineItemProps";
|
|
|
9
9
|
* @param undone {boolean} Undone Timeline Item
|
|
10
10
|
* @param cancel {boolean} Cancel Timeline Item
|
|
11
11
|
*/
|
|
12
|
-
declare const TimelineItem:
|
|
12
|
+
declare const TimelineItem: ({ className, done, active, undone, cancel, ...others }: TimelineItemWebProps) => JSX.Element;
|
|
13
13
|
export default TimelineItem;
|
|
@@ -11,11 +11,10 @@ import { hashClass } from "../../../helpers";
|
|
|
11
11
|
* @param undone {boolean} Undone Timeline Item
|
|
12
12
|
* @param cancel {boolean} Cancel Timeline Item
|
|
13
13
|
*/
|
|
14
|
-
const TimelineItem =
|
|
15
|
-
const { className, done, active, undone, cancel, ...others } = props;
|
|
14
|
+
const TimelineItem = ({ className, done, active, undone, cancel, ...others }) => {
|
|
16
15
|
const { styled } = useTrilogyContext();
|
|
17
16
|
const classes = hashClass(styled, clsx("timeline-item", done && "done", active && "active", undone && "undone", cancel && "cancel", className));
|
|
18
|
-
return React.createElement("div", {
|
|
19
|
-
}
|
|
17
|
+
return React.createElement("div", { className: classes, ...others });
|
|
18
|
+
};
|
|
20
19
|
export default TimelineItem;
|
|
21
20
|
//# sourceMappingURL=TimelineItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimelineItem.js","sourceRoot":"","sources":["../../../../components/timeline/item/TimelineItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,IAAI,MAAM,MAAM,CAAA;AAEvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC;;;;;;;;GAQG;AACH,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"TimelineItem.js","sourceRoot":"","sources":["../../../../components/timeline/item/TimelineItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,IAAI,MAAM,MAAM,CAAA;AAEvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC;;;;;;;;GAQG;AACH,MAAM,YAAY,GAAG,CAAC,EACpB,SAAS,EACT,IAAI,EACJ,MAAM,EACN,MAAM,EACN,MAAM,EACN,GAAG,MAAM,EACY,EAAe,EAAE;IACtC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACtC,MAAM,OAAO,GAAG,SAAS,CACvB,MAAM,EACN,IAAI,CACF,eAAe,EACf,IAAI,IAAI,MAAM,EACd,MAAM,IAAI,QAAQ,EAClB,MAAM,IAAI,QAAQ,EAClB,MAAM,IAAI,QAAQ,EAClB,SAAS,CACV,CACF,CAAA;IACD,OAAO,6BAAK,SAAS,EAAE,OAAO,KAAM,MAAM,GAAI,CAAA;AAChD,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -25,10 +25,10 @@ const TimelineMarker = ({ iconName, iconColor, testId }) => {
|
|
|
25
25
|
marginLeft: "auto",
|
|
26
26
|
marginRight: "auto",
|
|
27
27
|
borderColor: (active && getColorStyle(TrilogyColor.MAIN)) ||
|
|
28
|
-
(undone && getColorStyle(TrilogyColor.
|
|
29
|
-
(cancel && getColorStyle(TrilogyColor.
|
|
28
|
+
(undone && getColorStyle(TrilogyColor.NEUTRAL_LIGHT)) ||
|
|
29
|
+
(cancel && getColorStyle(TrilogyColor.NEUTRAL_DARK)) ||
|
|
30
30
|
(done && getColorStyle(TrilogyColor.MAIN)) ||
|
|
31
|
-
getColorStyle(TrilogyColor.
|
|
31
|
+
getColorStyle(TrilogyColor.NEUTRAL_LIGHT),
|
|
32
32
|
},
|
|
33
33
|
icon: {
|
|
34
34
|
alignSelf: "center",
|
|
@@ -39,14 +39,14 @@ const TimelineMarker = ({ iconName, iconColor, testId }) => {
|
|
|
39
39
|
React.createElement(Icon, { name: iconName, circled: true, color: !iconColor
|
|
40
40
|
? (active && TrilogyColor.BACKGROUND) ||
|
|
41
41
|
(undone && TrilogyColor.MAIN) ||
|
|
42
|
-
(cancel && TrilogyColor.
|
|
42
|
+
(cancel && TrilogyColor.BACKGROUND) ||
|
|
43
43
|
(done && TrilogyColor.BACKGROUND) ||
|
|
44
44
|
TrilogyColor.BACKGROUND
|
|
45
45
|
: iconColor, backgroundColor: (active && TrilogyColor.MAIN) ||
|
|
46
|
-
(undone && TrilogyColor.
|
|
47
|
-
(cancel && TrilogyColor.
|
|
46
|
+
(undone && TrilogyColor.NEUTRAL_LIGHT) ||
|
|
47
|
+
(cancel && TrilogyColor.NEUTRAL_DARK) ||
|
|
48
48
|
(done && TrilogyColor.MAIN) ||
|
|
49
|
-
TrilogyColor.
|
|
49
|
+
TrilogyColor.NEUTRAL_LIGHT, size: IconSize.SMALL })),
|
|
50
50
|
React.createElement(View, { style: styles.divider })));
|
|
51
51
|
};
|
|
52
52
|
TimelineMarker.displayName = ComponentName.TimelineMarker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimelineMarker.native.js","sourceRoot":"","sources":["../../../../components/timeline/marker/TimelineMarker.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE;;;GAGG;AACH,MAAM,cAAc,GAAG,CAAC,EACtB,QAAQ,EACR,SAAS,EACT,MAAM,EACc,EAAe,EAAE;IACrC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAA;IACxE,MAAM,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,qBAAqB,CAAC,CAAA;IAEpD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAC/B,MAAM,EAAE;YACN,IAAI,EAAE,CAAC;YACP,SAAS,EAAE,YAAY;YACvB,aAAa,EAAE,QAAQ;SACxB;QACD,OAAO,EAAE;YACP,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE;YACjC,WAAW,EAAE,OAAO;YACpB,eAAe,EAAE,CAAC;YAClB,UAAU,EAAE,MAAM;YAClB,WAAW,EAAE,MAAM;YACnB,WAAW,EACT,CAAC,MAAM,IAAI,aAAa,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC,MAAM,IAAI,aAAa,CAAC,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"TimelineMarker.native.js","sourceRoot":"","sources":["../../../../components/timeline/marker/TimelineMarker.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE;;;GAGG;AACH,MAAM,cAAc,GAAG,CAAC,EACtB,QAAQ,EACR,SAAS,EACT,MAAM,EACc,EAAe,EAAE;IACrC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAA;IACxE,MAAM,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,qBAAqB,CAAC,CAAA;IAEpD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAC/B,MAAM,EAAE;YACN,IAAI,EAAE,CAAC;YACP,SAAS,EAAE,YAAY;YACvB,aAAa,EAAE,QAAQ;SACxB;QACD,OAAO,EAAE;YACP,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE;YACjC,WAAW,EAAE,OAAO;YACpB,eAAe,EAAE,CAAC;YAClB,UAAU,EAAE,MAAM;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AM,CAAC,OAAO,GAAS,CAC/B,CACR,CAAA;AACH,CAAC,CAAA;AAED,cAAc,CAAC,WAAW,GAAG,aAAa,CAAC,cAAc,CAAA;AAEzD,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Title } from './index';
|
|
3
|
+
const TitleExample = React.createElement(React.Fragment, null,
|
|
4
|
+
React.createElement(Title, { level: 'ONE' }, "Ceci titre"),
|
|
5
|
+
React.createElement(Title, { subtitle: true }, "Ceci est un sous-titre"),
|
|
6
|
+
React.createElement(Title, { subtitle: true }, "Ceci est text surligner"));
|
|
7
|
+
export default TitleExample;
|
|
8
|
+
//# sourceMappingURL=Title.example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Title.example.js","sourceRoot":"","sources":["../../../components/title/Title.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,YAAY,GAEhB;IACE,oBAAC,KAAK,IACJ,KAAK,EAAC,KAAK,iBAGL;IACR,oBAAC,KAAK,IAAC,QAAQ,mCAEP;IACR,oBAAC,KAAK,IAAC,QAAQ,oCAEP,CACP,CAAA;AAEL,eAAe,YAAY,CAAA"}
|