@trilogy-ds/react 0.0.1-beta-101 → 0.0.1-beta-104
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.js +4 -3
- package/lib/components/accordion/Accordion.js.map +1 -1
- package/lib/components/accordion/AccordionPropsDefaults.js +45 -0
- package/lib/components/accordion/body/AccordionBody.d.ts +0 -1
- package/lib/components/accordion/body/AccordionBody.js +0 -1
- package/lib/components/accordion/body/AccordionBody.js.map +1 -1
- package/lib/components/accordion/body/AccordionBodyProps.d.ts +0 -1
- package/lib/components/accordion/body/AccordionBodyPropsDefaults.js +52 -0
- package/lib/components/accordion/header/AccordionHeader.js +1 -1
- package/lib/components/accordion/header/AccordionHeader.js.map +1 -1
- package/lib/components/accordion/header/AccordionHeaderPropsDefaults.js +60 -0
- package/lib/components/accordion/index.d.ts +1 -2
- package/lib/components/accordion/index.js +1 -2
- package/lib/components/accordion/index.js.map +1 -1
- package/lib/components/accordion/item/AccordionItem.js +2 -1
- 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/accordion/item/AccordionItemPropsDefaults.js +68 -0
- package/lib/components/accordion/item/OnClickCallbackDefaults.js +1 -0
- package/lib/components/alert/Alert.d.ts +4 -5
- package/lib/components/alert/Alert.js +11 -12
- 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 +13 -15
- package/lib/components/alert/Alert.native.js.map +1 -1
- package/lib/components/alert/AlertProps.d.ts +3 -4
- package/lib/components/alert/AlertPropsDefaults.js +155 -0
- package/lib/components/alert/ToasterStatusPropsDefaults.js +227 -0
- package/lib/components/alert/context/ToastConfigDefaults.js +24 -0
- package/lib/components/alert/context/ToastPropsDefaults.js +129 -0
- package/lib/components/alert/context/ToasterContextProps.d.ts +3 -3
- package/lib/components/alert/index.d.ts +1 -2
- package/lib/components/alert/index.js +1 -2
- package/lib/components/alert/index.js.map +1 -1
- package/lib/components/autocomplete/AutoComplete.d.ts +4 -0
- package/lib/components/{input/autocomplete → autocomplete}/AutoComplete.js +10 -9
- package/lib/components/autocomplete/AutoComplete.js.map +1 -0
- package/lib/components/{input/autocomplete → autocomplete}/AutoComplete.native.d.ts +2 -2
- package/lib/components/{input/autocomplete → autocomplete}/AutoComplete.native.js +1 -1
- package/lib/components/autocomplete/AutoComplete.native.js.map +1 -0
- package/lib/components/autocomplete/AutoCompleteProps.d.ts +49 -0
- package/lib/components/autocomplete/AutoCompleteProps.js.map +1 -0
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +752 -0
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +752 -0
- package/lib/components/autocomplete/Autocomplete.helpers.js.map +1 -0
- package/lib/components/autocomplete/ItemDefaults.js +10 -0
- package/lib/components/autocomplete/ItemSelectedEventDefaults.js +10 -0
- package/lib/components/autocomplete/index.js.map +1 -0
- package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteIem.native.js +2 -2
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js.map +1 -0
- package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteItem.js +3 -3
- package/lib/components/autocomplete/item/AutoCompleteItem.js.map +1 -0
- package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteItemProps.d.ts +1 -1
- package/lib/components/autocomplete/item/AutoCompleteItemProps.js.map +1 -0
- package/lib/components/autocomplete/item/AutoCompleteItemPropsDefaults.js +56 -0
- package/lib/components/autocomplete/item/index.js.map +1 -0
- package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenu.js +3 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js.map +1 -0
- package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenu.native.js +3 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js.map +1 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js.map +1 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuPropsDefaults.js +60 -0
- package/lib/components/autocomplete/menu/index.js.map +1 -0
- package/lib/components/autocomplete/utils/debounce.js.map +1 -0
- package/lib/components/autocomplete/utils/index.js.map +1 -0
- 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 +31 -74
- package/lib/components/autolayout/DefaultSpacingMatrix.js.map +1 -1
- package/lib/components/badge/Badge.d.ts +2 -3
- package/lib/components/badge/Badge.js +6 -12
- package/lib/components/badge/Badge.js.map +1 -1
- package/lib/components/badge/Badge.native.d.ts +2 -3
- package/lib/components/badge/Badge.native.js +6 -10
- package/lib/components/badge/Badge.native.js.map +1 -1
- package/lib/components/badge/BadgeEnum.d.ts +0 -5
- package/lib/components/badge/BadgeEnum.js +0 -5
- package/lib/components/badge/BadgeEnum.js.map +1 -1
- package/lib/components/badge/BadgeProps.d.ts +1 -3
- package/lib/components/badge/BadgePropsDefaults.js +75 -0
- package/lib/components/badge/index.d.ts +1 -2
- package/lib/components/badge/index.js +1 -2
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/box/Box.d.ts +3 -3
- 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 -15
- package/lib/components/box/Box.native.js.map +1 -1
- package/lib/components/box/BoxProps.d.ts +1 -1
- package/lib/components/box/BoxPropsDefaults.js +216 -0
- 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 +4 -6
- package/lib/components/box/content/BoxContent.native.js.map +1 -1
- package/lib/components/box/content/BoxContentPropsDefaults.js +102 -0
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +87 -0
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +118 -0
- package/lib/components/box/index.d.ts +1 -2
- package/lib/components/box/index.js +1 -2
- package/lib/components/box/index.js.map +1 -1
- package/lib/components/box/item/BoxItemPropsDefaults.js +35 -0
- package/lib/components/box/table-container/BoxTableContainerPropsDefaults.js +45 -0
- package/lib/components/breadcrumb/Breadcrumb.d.ts +2 -2
- package/lib/components/breadcrumb/Breadcrumb.js +4 -3
- package/lib/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/BreadcrumbPropsDefaults.js +38 -0
- package/lib/components/breadcrumb/BreadcrumbWebPropsDefaults.js +45 -0
- package/lib/components/breadcrumb/index.d.ts +1 -2
- package/lib/components/breadcrumb/index.js +1 -2
- package/lib/components/breadcrumb/index.js.map +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsDefaults.js +53 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +253 -0
- package/lib/components/button/Button.native.js +13 -13
- package/lib/components/button/Button.native.js.map +1 -1
- package/lib/components/button/ButtonPropsDefaults.js +380 -0
- package/lib/components/button/index.d.ts +1 -2
- package/lib/components/button/index.js +1 -2
- 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/button/list/ButtonListPropsDefaults.js +19 -0
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +50 -0
- package/lib/components/card/Card.d.ts +6 -3
- package/lib/components/card/Card.js +9 -7
- 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 +11 -11
- package/lib/components/card/Card.native.js.map +1 -1
- package/lib/components/card/CardPropsDefaults.js +220 -0
- package/lib/components/card/content/CardContent.native.d.ts +0 -1
- package/lib/components/card/content/CardContent.native.js +3 -4
- package/lib/components/card/content/CardContent.native.js.map +1 -1
- package/lib/components/card/content/CardContentProps.d.ts +0 -1
- package/lib/components/card/content/CardContentPropsDefaults.js +153 -0
- package/lib/components/card/image/CardImage.d.ts +0 -1
- package/lib/components/card/image/CardImage.js +0 -1
- 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 +11 -8
- package/lib/components/card/image/CardImage.native.js.map +1 -1
- package/lib/components/card/image/CardImageProps.d.ts +0 -2
- package/lib/components/card/image/CardImagePropsDefaults.js +52 -0
- package/lib/components/card/index.d.ts +1 -2
- package/lib/components/card/index.js +1 -2
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/checkbox/Checkbox.native.js +8 -8
- package/lib/components/checkbox/Checkbox.native.js.map +1 -1
- package/lib/components/checkbox/CheckboxChangeEventDefaults.js +21 -0
- package/lib/components/checkbox/CheckboxClickEventDefaults.js +21 -0
- package/lib/components/checkbox/CheckboxPropsDefaults.js +200 -0
- package/lib/components/checkbox/index.d.ts +1 -2
- package/lib/components/checkbox/index.js +1 -2
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/chips/Chips.d.ts +1 -2
- package/lib/components/chips/Chips.js +4 -6
- package/lib/components/chips/Chips.js.map +1 -1
- package/lib/components/chips/Chips.native.d.ts +1 -2
- package/lib/components/chips/Chips.native.js +6 -8
- package/lib/components/chips/Chips.native.js.map +1 -1
- package/lib/components/chips/ChipsProps.d.ts +0 -1
- package/lib/components/chips/ChipsPropsDefaults.js +75 -0
- package/lib/components/chips/index.d.ts +1 -2
- package/lib/components/chips/index.js +1 -2
- 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 +4 -3
- package/lib/components/chips/list/ChipsList.js.map +1 -1
- package/lib/components/chips/list/ChipsListPropsDefaults.js +25 -0
- package/lib/components/columns/Columns.d.ts +2 -3
- package/lib/components/columns/Columns.js +5 -5
- package/lib/components/columns/Columns.js.map +1 -1
- package/lib/components/columns/ColumnsProps.d.ts +1 -3
- package/lib/components/columns/ColumnsPropsDefaults.js +89 -0
- package/lib/components/columns/index.d.ts +1 -2
- package/lib/components/columns/index.js +1 -2
- 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 +4 -3
- package/lib/components/columns/item/ColumnsItem.js.map +1 -1
- package/lib/components/columns/item/ColumnsItem.native.js +3 -0
- package/lib/components/columns/item/ColumnsItem.native.js.map +1 -1
- package/lib/components/columns/item/ColumnsItemPropsDefaults.js +323 -0
- package/lib/components/container/Container.d.ts +2 -2
- 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/ContainerPropsDefaults.js +185 -0
- package/lib/components/container/index.d.ts +1 -2
- package/lib/components/container/index.js +1 -2
- package/lib/components/container/index.js.map +1 -1
- package/lib/components/countdown/Countdown.d.ts +2 -1
- package/lib/components/countdown/Countdown.js +3 -2
- package/lib/components/countdown/Countdown.js.map +1 -1
- package/lib/components/countdown/Countdown.native.d.ts +2 -1
- package/lib/components/countdown/Countdown.native.js +4 -3
- package/lib/components/countdown/Countdown.native.js.map +1 -1
- package/lib/components/countdown/CountdownProps.d.ts +1 -0
- package/lib/components/countdown/CountdownPropsDefaults.js +57 -0
- package/lib/components/countdown/index.d.ts +1 -2
- package/lib/components/countdown/index.js +1 -2
- package/lib/components/countdown/index.js.map +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/DividerPropsDefaults.js +210 -0
- package/lib/components/divider/index.d.ts +1 -2
- package/lib/components/divider/index.js +1 -2
- package/lib/components/divider/index.js.map +1 -1
- package/lib/components/enumsComponentsName.d.ts +2 -1
- package/lib/components/enumsComponentsName.js +2 -1
- package/lib/components/enumsComponentsName.js.map +1 -1
- package/lib/components/fab/FabProps.d.ts +2 -2
- package/lib/components/fab/FabPropsDefaults.js +171 -0
- package/lib/components/fab/index.d.ts +1 -2
- package/lib/components/fab/index.js +1 -2
- package/lib/components/fab/index.js.map +1 -1
- package/lib/components/hero/Hero.d.ts +2 -1
- package/lib/components/hero/Hero.js +3 -2
- 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 +10 -10
- package/lib/components/hero/Hero.native.js.map +1 -1
- package/lib/components/hero/HeroPropsDefaults.js +144 -0
- package/lib/components/hero/index.d.ts +1 -2
- package/lib/components/hero/index.js +1 -2
- package/lib/components/hero/index.js.map +1 -1
- 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/IconPropsDefaults.js +307 -0
- package/lib/components/icon/circle/CircleIconPropsDefaults.js +168 -0
- package/lib/components/icon/index.d.ts +1 -2
- package/lib/components/icon/index.js +1 -2
- package/lib/components/icon/index.js.map +1 -1
- package/lib/components/icon/status/StatusIconPropsDefaults.js +126 -0
- package/lib/components/icon/text/TextIcon.d.ts +4 -2
- package/lib/components/icon/text/TextIcon.js +15 -17
- package/lib/components/icon/text/TextIcon.js.map +1 -1
- package/lib/components/icon/text/TextIconPropsDefaults.js +160 -0
- package/lib/components/image/ImagePropsDefaults.js +75 -0
- package/lib/components/image/index.d.ts +1 -2
- package/lib/components/image/index.js +1 -2
- package/lib/components/image/index.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +1 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/ILengthVerifyDefaults.js +16 -0
- package/lib/components/input/IValidationRulesDefaults.js +41 -0
- package/lib/components/input/Input.d.ts +2 -72
- package/lib/components/input/Input.js +19 -34
- 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 +48 -41
- package/lib/components/input/Input.native.js.map +1 -1
- package/lib/components/input/InputChangeEventNativeDefaults.js +17 -0
- package/lib/components/input/InputChangeEventWebDefaults.js +21 -0
- package/lib/components/input/InputClickEventDefaults.js +19 -0
- package/lib/components/input/InputKeyboardEventDefaults.js +27 -0
- package/lib/components/input/InputNativeEventsDefaults.js +37 -0
- package/lib/components/input/InputProps.d.ts +21 -12
- package/lib/components/input/InputPropsDefaults.js +654 -0
- package/lib/components/input/InputWebEventsDefaults.js +51 -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 +1 -2
- package/lib/components/input/index.js +1 -2
- package/lib/components/input/index.js.map +1 -1
- 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 +0 -1
- 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 +0 -1
- package/lib/components/link/LinkPropsDefaults.js +367 -0
- package/lib/components/link/index.d.ts +1 -2
- package/lib/components/link/index.js +1 -2
- package/lib/components/link/index.js.map +1 -1
- package/lib/components/list/List.d.ts +2 -2
- package/lib/components/list/List.js +4 -3
- package/lib/components/list/List.js.map +1 -1
- package/lib/components/list/ListPropsDefaults.js +53 -0
- package/lib/components/list/index.d.ts +1 -2
- package/lib/components/list/index.js +1 -2
- 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/list/item/ListItemPropsDefaults.js +119 -0
- package/lib/components/list/item/description/ListItemDescriptionPropsDefaults.js +23 -0
- package/lib/components/modal/CloseButtonPropsDefaults.js +9 -0
- package/lib/components/modal/Modal.d.ts +1 -6
- package/lib/components/modal/Modal.js +14 -19
- package/lib/components/modal/Modal.js.map +1 -1
- package/lib/components/modal/ModalContentButtonPropsDefaults.js +16 -0
- package/lib/components/modal/ModalProps.d.ts +1 -5
- package/lib/components/modal/ModalPropsDefaults.js +325 -0
- package/lib/components/modal/footer/ModalFooterPropsDefaults.js +23 -0
- package/lib/components/modal/index.d.ts +1 -2
- package/lib/components/modal/index.js +1 -2
- 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/modal/title/ModalTitlePropsDefaults.js +92 -0
- package/lib/components/otp/Otp.d.ts +0 -12
- package/lib/components/otp/Otp.js +77 -98
- package/lib/components/otp/Otp.js.map +1 -1
- package/lib/components/otp/Otp.native.js +2 -2
- package/lib/components/otp/Otp.native.js.map +1 -1
- package/lib/components/otp/OtpPropsDefaults.js +97 -0
- package/lib/components/otp/index.d.ts +1 -2
- package/lib/components/otp/index.js +1 -2
- package/lib/components/otp/index.js.map +1 -1
- package/lib/components/pagination/PaginationPropsDefaults.js +63 -0
- package/lib/components/pagination/index.d.ts +1 -2
- package/lib/components/pagination/index.js +1 -2
- package/lib/components/pagination/index.js.map +1 -1
- package/lib/components/popover/PopoverPropsDefaults.js +60 -0
- package/lib/components/popover/PopoverWebPropsDefaults.js +89 -0
- package/lib/components/popover/index.d.ts +1 -2
- package/lib/components/popover/index.js +1 -2
- package/lib/components/popover/index.js.map +1 -1
- package/lib/components/price/Price.d.ts +3 -3
- package/lib/components/price/Price.js +28 -9
- package/lib/components/price/Price.js.map +1 -1
- package/lib/components/price/Price.native.d.ts +2 -3
- package/lib/components/price/Price.native.js +128 -89
- 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/PricePropsDefaults.js +159 -0
- package/lib/components/price/index.d.ts +1 -2
- package/lib/components/price/index.js +1 -2
- package/lib/components/price/index.js.map +1 -1
- package/lib/components/product-tour/ProductTourPropsDefaults.js +85 -0
- package/lib/components/product-tour/ProductTourWebPropsDefaults.js +92 -0
- package/lib/components/progress/Progress.d.ts +3 -3
- package/lib/components/progress/Progress.js +7 -6
- 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/ProgressPropsDefaults.js +95 -0
- package/lib/components/progress/index.d.ts +1 -2
- package/lib/components/progress/index.js +1 -2
- 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 +7 -6
- 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/item/ProgressItemPropsDefaults.js +84 -0
- package/lib/components/progress/radial/ProgressRadial.js +2 -1
- 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 +10 -12
- package/lib/components/progress/radial/ProgressRadial.native.js.map +1 -1
- package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -3
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +165 -0
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +54 -0
- package/lib/components/radio/Radio.native.js +12 -11
- package/lib/components/radio/Radio.native.js.map +1 -1
- package/lib/components/radio/RadioPropsDefaults.js +216 -0
- package/lib/components/radio/index.d.ts +1 -2
- package/lib/components/radio/index.js +1 -2
- 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/radio/list/RadioListPropsDefaults.js +19 -0
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +50 -0
- package/lib/components/range/Range.js +1 -1
- package/lib/components/range/Range.js.map +1 -1
- package/lib/components/range/RangePropsDefaults.js +123 -0
- package/lib/components/range/index.d.ts +1 -2
- package/lib/components/range/index.js +1 -2
- package/lib/components/range/index.js.map +1 -1
- package/lib/components/rows/Rows.d.ts +3 -2
- package/lib/components/rows/Rows.js +6 -3
- package/lib/components/rows/Rows.js.map +1 -1
- package/lib/components/rows/Rows.native.d.ts +5 -2
- package/lib/components/rows/Rows.native.js +4 -2
- package/lib/components/rows/Rows.native.js.map +1 -1
- package/lib/components/rows/RowsProps.d.ts +1 -0
- package/lib/components/rows/RowsPropsDefaults.js +31 -0
- package/lib/components/rows/index.d.ts +1 -2
- package/lib/components/rows/index.js +1 -2
- 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 +4 -3
- package/lib/components/rows/item/RowItem.js.map +1 -1
- package/lib/components/rows/item/RowItem.native.js +3 -1
- package/lib/components/rows/item/RowItem.native.js.map +1 -1
- package/lib/components/rows/item/RowsItemPropsDefaults.js +31 -0
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +127 -0
- package/lib/components/section/Section.d.ts +3 -3
- package/lib/components/section/Section.js +7 -6
- 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/SectionPropsDefaults.js +118 -0
- package/lib/components/section/index.d.ts +1 -2
- package/lib/components/section/index.js +1 -2
- package/lib/components/section/index.js.map +1 -1
- 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 +1 -4
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +61 -0
- package/lib/components/segment-control/index.d.ts +1 -2
- package/lib/components/segment-control/index.js +1 -2
- 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/segment-control/item/SegmentControlItemPropsDefaults.js +55 -0
- package/lib/components/select/ISelectOptionDefaults.js +23 -0
- package/lib/components/select/SelectChangeEventDefaults.js +37 -0
- package/lib/components/select/SelectPropsDefaults.js +187 -0
- package/lib/components/select/index.d.ts +1 -2
- package/lib/components/select/index.js +1 -2
- 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 +4 -3
- package/lib/components/select/option/SelectOption.js.map +1 -1
- package/lib/components/select/option/SelectOption.native.js +19 -7
- package/lib/components/select/option/SelectOption.native.js.map +1 -1
- package/lib/components/select/option/SelectOptionPropsDefaults.js +134 -0
- package/lib/components/selector/SelectorEndDefaults.js +10 -0
- package/lib/components/selector/SelectorPropsDefaults.js +128 -0
- package/lib/components/selector/item/SelectorItem.native.js +1 -1
- package/lib/components/selector/item/SelectorItem.native.js.map +1 -1
- package/lib/components/selector/item/SelectorItemPropsDefaults.js +84 -0
- 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 +1 -2
- package/lib/components/spacer/Spacer.native.js +1 -2
- package/lib/components/spacer/Spacer.native.js.map +1 -1
- package/lib/components/spacer/SpacerEnum.d.ts +11 -6
- package/lib/components/spacer/SpacerEnum.js +11 -7
- package/lib/components/spacer/SpacerEnum.js.map +1 -1
- package/lib/components/spacer/SpacerPropsDefaults.js +37 -0
- package/lib/components/stepper/Stepper.d.ts +2 -2
- package/lib/components/stepper/Stepper.js +7 -5
- package/lib/components/stepper/Stepper.js.map +1 -1
- package/lib/components/stepper/Stepper.native.js +1 -2
- package/lib/components/stepper/Stepper.native.js.map +1 -1
- package/lib/components/stepper/StepperPropsDefaults.js +31 -0
- package/lib/components/stepper/index.d.ts +1 -2
- package/lib/components/stepper/index.js +1 -2
- 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 +4 -3
- 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/stepper/step/StepperStepPropsDefaults.js +136 -0
- package/lib/components/sticker/Sticker.d.ts +2 -2
- package/lib/components/sticker/Sticker.js +3 -3
- package/lib/components/sticker/Sticker.js.map +1 -1
- package/lib/components/sticker/StickerPropsDefaults.js +71 -0
- package/lib/components/sticker/index.d.ts +1 -2
- package/lib/components/sticker/index.js +1 -2
- package/lib/components/sticker/index.js.map +1 -1
- package/lib/components/styleComponent/default/index.d.ts +1 -0
- package/lib/components/styleComponent/default/index.js +2 -0
- package/lib/components/styleComponent/default/index.js.map +1 -0
- package/lib/components/styleComponent/default/styleComponent.d.ts +6 -0
- package/lib/components/styleComponent/default/styleComponent.js +7 -0
- package/lib/components/styleComponent/default/styleComponent.js.map +1 -0
- package/lib/components/styleComponent/default/styleComponent.native.d.ts +5 -0
- package/lib/components/styleComponent/default/styleComponent.native.js +6 -0
- package/lib/components/styleComponent/default/styleComponent.native.js.map +1 -0
- package/lib/components/styleComponent/index.d.ts +2 -0
- package/lib/components/styleComponent/index.js +3 -0
- package/lib/components/styleComponent/index.js.map +1 -0
- package/lib/components/styleComponent/mangled/index.d.ts +1 -0
- package/lib/components/styleComponent/mangled/index.js +2 -0
- package/lib/components/styleComponent/mangled/index.js.map +1 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.d.ts +6 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.js +7 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.js.map +1 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.ts +5 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +6 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js.map +1 -0
- package/lib/components/switch/Switch.d.ts +2 -2
- 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 +6 -7
- package/lib/components/switch/Switch.native.js.map +1 -1
- package/lib/components/switch/SwitchChangeEventDefaults.js +13 -0
- package/lib/components/switch/SwitchProps.d.ts +2 -2
- package/lib/components/switch/SwitchPropsDefaults.js +105 -0
- package/lib/components/switch/index.d.ts +1 -2
- package/lib/components/switch/index.js +1 -2
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/table/Table.native.js +1 -1
- package/lib/components/table/Table.native.js.map +1 -1
- package/lib/components/table/TablePropsDefaults.js +63 -0
- package/lib/components/table/body/TableBodyPropsDefaults.js +107 -0
- package/lib/components/table/head/TableHeadPropsDefaults.js +107 -0
- package/lib/components/table/index.d.ts +1 -2
- package/lib/components/table/index.js +1 -2
- 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/td/TableTdPropsDefaults.js +44 -0
- 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/th/TableThPropsDefaults.js +44 -0
- package/lib/components/table/tr/TableTr.native.js +1 -1
- package/lib/components/table/tr/TableTr.native.js.map +1 -1
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +102 -0
- package/lib/components/tabs/Tabs.d.ts +2 -2
- package/lib/components/tabs/Tabs.js +4 -3
- package/lib/components/tabs/Tabs.js.map +1 -1
- package/lib/components/tabs/TabsPropsDefaults.js +160 -0
- package/lib/components/tabs/index.d.ts +1 -2
- package/lib/components/tabs/index.js +1 -2
- 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 +5 -4
- 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/tabs/item/TabsItemPropsDefaults.js +336 -0
- package/lib/components/tag/Tag.native.js +3 -2
- package/lib/components/tag/Tag.native.js.map +1 -1
- package/lib/components/tag/TagClickEventDefaults.js +1 -0
- package/lib/components/tag/TagPropsDefaults.js +119 -0
- package/lib/components/tag/index.d.ts +1 -2
- package/lib/components/tag/index.js +1 -2
- 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 +4 -3
- package/lib/components/tag/list/TagList.js.map +1 -1
- package/lib/components/tag/list/TagListPropsDefaults.js +47 -0
- package/lib/components/text/Text.native.js +9 -8
- 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/TextPropsDefaults.js +192 -0
- package/lib/components/text/index.d.ts +1 -2
- package/lib/components/text/index.js +1 -2
- package/lib/components/text/index.js.map +1 -1
- package/lib/components/textarea/Textarea.d.ts +3 -3
- package/lib/components/textarea/Textarea.js +11 -6
- package/lib/components/textarea/Textarea.js.map +1 -1
- package/lib/components/textarea/Textarea.native.js +29 -15
- package/lib/components/textarea/Textarea.native.js.map +1 -1
- package/lib/components/textarea/TextareaChangeEventDefaults.js +10 -0
- package/lib/components/textarea/TextareaProps.d.ts +2 -0
- package/lib/components/textarea/index.d.ts +1 -2
- package/lib/components/textarea/index.js +1 -2
- package/lib/components/textarea/index.js.map +1 -1
- package/lib/components/timeline/Timeline.d.ts +2 -2
- package/lib/components/timeline/Timeline.js +4 -4
- package/lib/components/timeline/Timeline.js.map +1 -1
- package/lib/components/timeline/TimelinePropsDefaults.js +39 -0
- package/lib/components/timeline/content/TimelineContent.js +1 -1
- package/lib/components/timeline/content/TimelineContent.js.map +1 -1
- package/lib/components/timeline/content/TimelineContent.native.js +1 -1
- package/lib/components/timeline/content/TimelineContentPropsDefaults.js +51 -0
- package/lib/components/timeline/content/TimelineContentWebPropsDefaults.js +58 -0
- package/lib/components/timeline/index.d.ts +1 -2
- package/lib/components/timeline/index.js +1 -2
- 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 +4 -3
- package/lib/components/timeline/item/TimelineItem.js.map +1 -1
- package/lib/components/timeline/item/TimelineItemPropsDefaults.js +48 -0
- package/lib/components/timeline/item/TimelineItemWebPropsDefaults.js +55 -0
- package/lib/components/timeline/marker/TimelineMarker.native.js +7 -7
- package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +113 -0
- package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +127 -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 +10 -9
- 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/TitlePropsDefaults.js +165 -0
- package/lib/components/title/index.d.ts +1 -2
- package/lib/components/title/index.js +1 -2
- package/lib/components/title/index.js.map +1 -1
- 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/components/view/ViewPropsDefaults.js +221 -0
- package/lib/context/index.d.ts +3 -1
- package/lib/context/index.js +2 -2
- package/lib/context/index.js.map +1 -1
- package/lib/context/provider.native.d.ts +4 -1
- package/lib/context/provider.native.js +2 -2
- package/lib/context/provider.native.js.map +1 -1
- package/lib/context/providerStyled.d.ts +6 -4
- package/lib/context/providerStyled.js +23 -20
- package/lib/context/providerStyled.js.map +1 -1
- package/lib/context/providerStyled.native.d.ts +4 -1
- package/lib/context/providerStyled.native.js +2 -2
- package/lib/context/providerStyled.native.js.map +1 -1
- package/lib/context/providerTheme.d.ts +5 -3
- package/lib/context/providerTheme.js +4 -5
- package/lib/context/providerTheme.js.map +1 -1
- package/lib/hash.json +1 -1
- package/lib/helpers/hashClassesHelpers.js +3 -2
- package/lib/helpers/hashClassesHelpers.js.map +1 -1
- package/lib/objects/Typography/TypographyColor.d.ts +0 -1
- package/lib/objects/Typography/TypographyColor.js +18 -23
- package/lib/objects/Typography/TypographyColor.js.map +1 -1
- package/lib/objects/atoms/Background.d.ts +2 -17
- package/lib/objects/atoms/Background.js +1 -14
- package/lib/objects/atoms/Background.js.map +1 -1
- package/lib/objects/atoms/Text.js +1 -3
- package/lib/objects/atoms/Text.js.map +1 -1
- package/lib/objects/facets/Color.d.ts +10 -5
- package/lib/objects/facets/Color.js +56 -53
- package/lib/objects/facets/Color.js.map +1 -1
- package/lib/objects/facets/Status.d.ts +63 -0
- package/lib/objects/facets/Status.js +70 -0
- package/lib/objects/facets/Status.js.map +1 -0
- 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/Accordion.example.d.ts +0 -3
- package/lib/components/accordion/Accordion.example.js +0 -19
- package/lib/components/accordion/Accordion.example.js.map +0 -1
- package/lib/components/alert/Alert.example.d.ts +0 -3
- package/lib/components/alert/Alert.example.js +0 -15
- package/lib/components/alert/Alert.example.js.map +0 -1
- package/lib/components/badge/Badge.example.d.ts +0 -3
- package/lib/components/badge/Badge.example.js +0 -5
- package/lib/components/badge/Badge.example.js.map +0 -1
- package/lib/components/box/Box.example.d.ts +0 -3
- package/lib/components/box/Box.example.js +0 -32
- package/lib/components/box/Box.example.js.map +0 -1
- package/lib/components/breadcrumb/Breadcrumb.example.d.ts +0 -3
- package/lib/components/breadcrumb/Breadcrumb.example.js +0 -9
- package/lib/components/breadcrumb/Breadcrumb.example.js.map +0 -1
- package/lib/components/button/Button.example.d.ts +0 -3
- package/lib/components/button/Button.example.js +0 -10
- package/lib/components/button/Button.example.js.map +0 -1
- package/lib/components/card/Card.example.d.ts +0 -3
- package/lib/components/card/Card.example.js +0 -25
- package/lib/components/card/Card.example.js.map +0 -1
- package/lib/components/checkbox/Checkbox.example.d.ts +0 -3
- package/lib/components/checkbox/Checkbox.example.js +0 -20
- package/lib/components/checkbox/Checkbox.example.js.map +0 -1
- package/lib/components/chips/Chips.example.d.ts +0 -3
- package/lib/components/chips/Chips.example.js +0 -13
- package/lib/components/chips/Chips.example.js.map +0 -1
- package/lib/components/columns/Columns.example.d.ts +0 -3
- package/lib/components/columns/Columns.example.js +0 -16
- package/lib/components/columns/Columns.example.js.map +0 -1
- package/lib/components/container/Container.example.d.ts +0 -3
- package/lib/components/container/Container.example.js +0 -9
- package/lib/components/container/Container.example.js.map +0 -1
- package/lib/components/countdown/Countdown.example.d.ts +0 -3
- package/lib/components/countdown/Countdown.example.js +0 -11
- package/lib/components/countdown/Countdown.example.js.map +0 -1
- package/lib/components/divider/Divider.example.d.ts +0 -3
- package/lib/components/divider/Divider.example.js +0 -5
- package/lib/components/divider/Divider.example.js.map +0 -1
- package/lib/components/fab/Fab.example.d.ts +0 -3
- package/lib/components/fab/Fab.example.js +0 -10
- package/lib/components/fab/Fab.example.js.map +0 -1
- package/lib/components/hero/Hero.example.d.ts +0 -3
- package/lib/components/hero/Hero.example.js +0 -14
- package/lib/components/hero/Hero.example.js.map +0 -1
- package/lib/components/icon/Icon.example.d.ts +0 -3
- package/lib/components/icon/Icon.example.js +0 -8
- package/lib/components/icon/Icon.example.js.map +0 -1
- package/lib/components/image/Image.example.d.ts +0 -3
- package/lib/components/image/Image.example.js +0 -5
- package/lib/components/image/Image.example.js.map +0 -1
- package/lib/components/input/Input.example.d.ts +0 -3
- package/lib/components/input/Input.example.js +0 -5
- package/lib/components/input/Input.example.js.map +0 -1
- package/lib/components/input/autocomplete/AutoComplete.d.ts +0 -24
- package/lib/components/input/autocomplete/AutoComplete.js.map +0 -1
- package/lib/components/input/autocomplete/AutoComplete.native.js.map +0 -1
- package/lib/components/input/autocomplete/AutoCompleteProps.d.ts +0 -29
- package/lib/components/input/autocomplete/AutoCompleteProps.js.map +0 -1
- package/lib/components/input/autocomplete/Autocomplete.helpers.js.map +0 -1
- package/lib/components/input/autocomplete/index.js.map +0 -1
- package/lib/components/input/autocomplete/item/AutoCompleteIem.native.js.map +0 -1
- package/lib/components/input/autocomplete/item/AutoCompleteItem.js.map +0 -1
- package/lib/components/input/autocomplete/item/AutoCompleteItemProps.js.map +0 -1
- package/lib/components/input/autocomplete/item/index.js.map +0 -1
- package/lib/components/input/autocomplete/menu/AutoCompleteMenu.js.map +0 -1
- package/lib/components/input/autocomplete/menu/AutoCompleteMenu.native.js.map +0 -1
- package/lib/components/input/autocomplete/menu/AutoCompleteMenuProps.js.map +0 -1
- package/lib/components/input/autocomplete/menu/index.js.map +0 -1
- package/lib/components/input/autocomplete/utils/debounce.js.map +0 -1
- package/lib/components/input/autocomplete/utils/index.js.map +0 -1
- package/lib/components/link/Link.example.d.ts +0 -3
- package/lib/components/link/Link.example.js +0 -15
- package/lib/components/link/Link.example.js.map +0 -1
- package/lib/components/list/List.example.d.ts +0 -3
- package/lib/components/list/List.example.js +0 -18
- package/lib/components/list/List.example.js.map +0 -1
- package/lib/components/modal/Modal.example.d.ts +0 -3
- package/lib/components/modal/Modal.example.js +0 -5
- package/lib/components/modal/Modal.example.js.map +0 -1
- package/lib/components/otp/Otp.example.d.ts +0 -3
- package/lib/components/otp/Otp.example.js +0 -12
- package/lib/components/otp/Otp.example.js.map +0 -1
- package/lib/components/pagination/Pagination.example.d.ts +0 -3
- package/lib/components/pagination/Pagination.example.js +0 -5
- package/lib/components/pagination/Pagination.example.js.map +0 -1
- package/lib/components/popover/Popover.example.d.ts +0 -3
- package/lib/components/popover/Popover.example.js +0 -7
- package/lib/components/popover/Popover.example.js.map +0 -1
- package/lib/components/price/Price.example.d.ts +0 -3
- package/lib/components/price/Price.example.js +0 -5
- package/lib/components/price/Price.example.js.map +0 -1
- package/lib/components/progress/Progress.example.d.ts +0 -3
- package/lib/components/progress/Progress.example.js +0 -7
- package/lib/components/progress/Progress.example.js.map +0 -1
- package/lib/components/radio/Radio.example.d.ts +0 -3
- package/lib/components/radio/Radio.example.js +0 -8
- package/lib/components/radio/Radio.example.js.map +0 -1
- package/lib/components/range/Range.example.d.ts +0 -3
- package/lib/components/range/Range.example.js +0 -5
- package/lib/components/range/Range.example.js.map +0 -1
- package/lib/components/rows/Rows.example.d.ts +0 -3
- package/lib/components/rows/Rows.example.js +0 -16
- package/lib/components/rows/Rows.example.js.map +0 -1
- package/lib/components/section/Section.example.d.ts +0 -3
- package/lib/components/section/Section.example.js +0 -12
- package/lib/components/section/Section.example.js.map +0 -1
- package/lib/components/segment-control/SegmentControl.example.d.ts +0 -3
- package/lib/components/segment-control/SegmentControl.example.js +0 -9
- package/lib/components/segment-control/SegmentControl.example.js.map +0 -1
- package/lib/components/select/Select.example.d.ts +0 -3
- package/lib/components/select/Select.example.js +0 -8
- package/lib/components/select/Select.example.js.map +0 -1
- package/lib/components/stepper/Stepper.example.d.ts +0 -3
- package/lib/components/stepper/Stepper.example.js +0 -10
- package/lib/components/stepper/Stepper.example.js.map +0 -1
- package/lib/components/sticker/Sticker.example.d.ts +0 -3
- package/lib/components/sticker/Sticker.example.js +0 -8
- package/lib/components/sticker/Sticker.example.js.map +0 -1
- package/lib/components/switch/Switch.example.d.ts +0 -3
- package/lib/components/switch/Switch.example.js +0 -5
- package/lib/components/switch/Switch.example.js.map +0 -1
- package/lib/components/table/Table.example.d.ts +0 -3
- package/lib/components/table/Table.example.js +0 -19
- package/lib/components/table/Table.example.js.map +0 -1
- package/lib/components/tabs/Tabs.example.d.ts +0 -3
- package/lib/components/tabs/Tabs.example.js +0 -8
- package/lib/components/tabs/Tabs.example.js.map +0 -1
- package/lib/components/tag/Tag.example.d.ts +0 -3
- package/lib/components/tag/Tag.example.js +0 -6
- package/lib/components/tag/Tag.example.js.map +0 -1
- package/lib/components/text/Text.example.d.ts +0 -3
- package/lib/components/text/Text.example.js +0 -5
- package/lib/components/text/Text.example.js.map +0 -1
- package/lib/components/textarea/Textarea.example.d.ts +0 -3
- package/lib/components/textarea/Textarea.example.js +0 -5
- package/lib/components/textarea/Textarea.example.js.map +0 -1
- package/lib/components/timeline/Timeline.example.d.ts +0 -3
- package/lib/components/timeline/Timeline.example.js +0 -17
- package/lib/components/timeline/Timeline.example.js.map +0 -1
- package/lib/components/title/Title.example.d.ts +0 -3
- package/lib/components/title/Title.example.js +0 -8
- package/lib/components/title/Title.example.js.map +0 -1
- package/lib/components/toaster/Toaster.d.ts +0 -11
- package/lib/components/toaster/Toaster.js +0 -93
- package/lib/components/toaster/Toaster.js.map +0 -1
- package/lib/components/toaster/Toaster.native.d.ts +0 -15
- package/lib/components/toaster/Toaster.native.js +0 -93
- package/lib/components/toaster/Toaster.native.js.map +0 -1
- package/lib/components/toaster/ToasterEnum.d.ts +0 -1
- package/lib/components/toaster/ToasterEnum.js +0 -16
- package/lib/components/toaster/ToasterEnum.js.map +0 -1
- package/lib/components/toaster/ToasterProps.d.ts +0 -27
- package/lib/components/toaster/ToasterProps.js +0 -6
- package/lib/components/toaster/ToasterProps.js.map +0 -1
- package/lib/components/toaster/context/ToasterContext.d.ts +0 -7
- package/lib/components/toaster/context/ToasterContext.js +0 -8
- package/lib/components/toaster/context/ToasterContext.js.map +0 -1
- package/lib/components/toaster/context/ToasterContextProps.d.ts +0 -27
- package/lib/components/toaster/context/ToasterContextProps.js +0 -2
- package/lib/components/toaster/context/ToasterContextProps.js.map +0 -1
- package/lib/components/toaster/context/index.d.ts +0 -2
- package/lib/components/toaster/context/index.js +0 -3
- package/lib/components/toaster/context/index.js.map +0 -1
- package/lib/components/toaster/index.d.ts +0 -3
- package/lib/components/toaster/index.js +0 -4
- package/lib/components/toaster/index.js.map +0 -1
- package/lib/context/providerStyledMangled.d.ts +0 -10
- package/lib/context/providerStyledMangled.js +0 -14
- package/lib/context/providerStyledMangled.js.map +0 -1
- package/lib/context/providerStyledMangled.native.d.ts +0 -1
- package/lib/context/providerStyledMangled.native.js +0 -4
- package/lib/context/providerStyledMangled.native.js.map +0 -1
- package/lib/objects/facets/Alert.d.ts +0 -36
- package/lib/objects/facets/Alert.js +0 -70
- package/lib/objects/facets/Alert.js.map +0 -1
- /package/lib/components/{input/autocomplete → autocomplete}/AutoCompleteProps.js +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/Autocomplete.helpers.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/Autocomplete.helpers.js +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/index.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/index.js +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteIem.native.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteItem.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteItemProps.js +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/item/index.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/item/index.js +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenu.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenu.native.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenuProps.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenuProps.js +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/menu/index.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/menu/index.js +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/utils/debounce.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/utils/debounce.js +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/utils/index.d.ts +0 -0
- /package/lib/components/{input/autocomplete → autocomplete}/utils/index.js +0 -0
|
@@ -5,7 +5,7 @@ import { Spacer, SpacerSize } from "../../components/spacer";
|
|
|
5
5
|
import { View } from "../../components/view";
|
|
6
6
|
import { Text, TextLevels } from "../../components/text";
|
|
7
7
|
import { Title, TitleLevels } from "../../components/title";
|
|
8
|
-
import {
|
|
8
|
+
import { getStatusIconName, getStatusStyle } from "../../objects/facets/Status";
|
|
9
9
|
import { getColorStyle, TrilogyColor } from "../../objects/facets/Color";
|
|
10
10
|
import { ToasterAlertPosition } from "./AlertProps";
|
|
11
11
|
import { Icon, IconName, IconSize } from "../../components/icon";
|
|
@@ -18,7 +18,7 @@ import LibToast from "react-native-toast-message";
|
|
|
18
18
|
* @param params {ToasterShowContext}
|
|
19
19
|
*/
|
|
20
20
|
const showToast = (params) => {
|
|
21
|
-
const { position, duration, offset, title, description, onClick, closable, onHide, iconName,
|
|
21
|
+
const { position, duration, offset, title, description, onClick, closable, onHide, iconName, status, } = params;
|
|
22
22
|
LibToast.show({
|
|
23
23
|
type: "tomatoToast",
|
|
24
24
|
position: position || ToasterAlertPosition.BOTTOM,
|
|
@@ -34,19 +34,18 @@ const showToast = (params) => {
|
|
|
34
34
|
* @param iconName {IconName} Custom icon
|
|
35
35
|
* @param title {string} Alert title content
|
|
36
36
|
* @param description {string|ReactNode} Aleert description content
|
|
37
|
-
* @param
|
|
37
|
+
* @param status {StatusState} Status Variant (INFO|SUCCESS|WARNING|ERROR)
|
|
38
38
|
* @param info (boolean) Small info alert use it without button and arrow
|
|
39
39
|
* @param onClick {Function} onClick Event for all alert
|
|
40
40
|
*/
|
|
41
|
-
const Alert = ({
|
|
42
|
-
const backgroundColor =
|
|
43
|
-
const fontColor = getAlertStyle(alert) || getColorStyle(TrilogyColor.MAIN);
|
|
41
|
+
const Alert = ({ status, iconName, title, description, onClick, display, ...others }) => {
|
|
42
|
+
const { color, backgroundColor } = getStatusStyle(status);
|
|
44
43
|
let alertView;
|
|
45
44
|
const styles = StyleSheet.create({
|
|
46
45
|
container: {
|
|
47
46
|
width: "100%",
|
|
48
47
|
paddingTop: 10,
|
|
49
|
-
borderColor:
|
|
48
|
+
borderColor: status !== undefined ? color : backgroundColor,
|
|
50
49
|
paddingBottom: 10,
|
|
51
50
|
borderWidth: 1,
|
|
52
51
|
backgroundColor: backgroundColor,
|
|
@@ -58,7 +57,7 @@ const Alert = ({ alert, iconName, title, description, onClick, display, ...other
|
|
|
58
57
|
icon: {
|
|
59
58
|
justifyContent: "center",
|
|
60
59
|
alignItems: "center",
|
|
61
|
-
color:
|
|
60
|
+
color: status !== undefined ? color : getColorStyle(TrilogyColor.MAIN),
|
|
62
61
|
},
|
|
63
62
|
description: {
|
|
64
63
|
justifyContent: "center",
|
|
@@ -78,10 +77,10 @@ const Alert = ({ alert, iconName, title, description, onClick, display, ...other
|
|
|
78
77
|
React.createElement(View, { style: [styles.container, others.style] },
|
|
79
78
|
React.createElement(Columns, null,
|
|
80
79
|
React.createElement(ColumnsItem, { size: 1 },
|
|
81
|
-
React.createElement(Icon, { style: styles.icon, name: iconName ? iconName :
|
|
80
|
+
React.createElement(Icon, { style: styles.icon, name: iconName ? iconName : getStatusIconName(status) })),
|
|
82
81
|
React.createElement(ColumnsItem, { size: 11 },
|
|
83
82
|
React.createElement(Text, { style: styles.containerTitle, level: TextLevels.ONE, typo: TypographyBold.TEXT_WEIGHT_SEMIBOLD }, title),
|
|
84
|
-
React.createElement(Spacer, { size: SpacerSize.
|
|
83
|
+
React.createElement(Spacer, { size: SpacerSize.ONE }))),
|
|
85
84
|
description && (React.createElement(Columns, null,
|
|
86
85
|
React.createElement(ColumnsItem, { size: 1 }),
|
|
87
86
|
React.createElement(ColumnsItem, { size: 11 }, typeof description.valueOf() === "string" ? (React.createElement(Text, { level: TextLevels.TWO, style: styles.description }, description)) : (description))))));
|
|
@@ -97,14 +96,13 @@ const Alert = ({ alert, iconName, title, description, onClick, display, ...other
|
|
|
97
96
|
* @param title {string} Notification title content
|
|
98
97
|
* @param description {string|ReactNode} Notification description content
|
|
99
98
|
* @param iconName {IconName} Custom icon
|
|
100
|
-
* @param
|
|
99
|
+
* @param status {StatusState} Alert Variant (INFO|SUCCESS|WARNING|ERROR)
|
|
101
100
|
* @param onClick {Function} onClick Event for all notification
|
|
102
101
|
* @param closable {Function} onClick Event on cross icon
|
|
103
102
|
*/
|
|
104
103
|
export const ToasterAlert = ({ props }) => {
|
|
105
|
-
const { title, description, iconName,
|
|
106
|
-
const color
|
|
107
|
-
const backgroundColor = getColorStyle(alert, 1);
|
|
104
|
+
const { title, description, iconName, status, closable, onClick } = props;
|
|
105
|
+
const { color, backgroundColor } = getStatusStyle(status);
|
|
108
106
|
const styles = StyleSheet.create({
|
|
109
107
|
toaster: {
|
|
110
108
|
padding: 24,
|
|
@@ -129,7 +127,7 @@ export const ToasterAlert = ({ props }) => {
|
|
|
129
127
|
React.createElement(ColumnsItem, null,
|
|
130
128
|
title && React.createElement(Title, { level: TitleLevels.SIX }, title),
|
|
131
129
|
description && (React.createElement(React.Fragment, null,
|
|
132
|
-
React.createElement(Spacer, { size: SpacerSize.
|
|
130
|
+
React.createElement(Spacer, { size: SpacerSize.TWO }),
|
|
133
131
|
React.createElement(Text, { level: TextLevels.THREE }, description)))),
|
|
134
132
|
closable && (React.createElement(ColumnsItem, { size: 1 },
|
|
135
133
|
React.createElement(TouchableOpacity, { onPress: (e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.native.js","sourceRoot":"","sources":["../../../components/alert/Alert.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Alert.native.js","sourceRoot":"","sources":["../../../components/alert/Alert.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,iBAAiB,E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,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EAAE,QAAQ,EAAsB,EAAe,EAAE;IACpF,MAAM,WAAW,GAAG;QAClB,WAAW,EAAE,YAAY;KAC1B,CAAA;IAED,OAAO,CACL,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE;QACrE,QAAQ;QACT,oBAAC,QAAQ,IAAC,MAAM,EAAE,WAAW,GAAI,CACT,CAC3B,CAAA;AACH,CAAC,CAAA;AAED,KAAK,CAAC,WAAW,GAAG,aAAa,CAAC,KAAK,CAAA;AAEvC,eAAe,KAAK,CAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Clickable } from '../../objects/facets/Clickable';
|
|
3
|
-
import { Accessibility,
|
|
3
|
+
import { Accessibility, StatusProps } from '../../objects/facets';
|
|
4
4
|
import { IconName, IconNameValues } from '../../components/icon/IconNameEnum';
|
|
5
5
|
import { ClickEvent } from "../../events/OnClickEvent";
|
|
6
6
|
export declare enum ToasterAlertPosition {
|
|
7
7
|
TOP = "top",
|
|
8
8
|
BOTTOM = "bottom"
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
10
|
+
export interface ToasterStatusProps extends StatusProps, Clickable, Accessibility {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
className?: string;
|
|
13
13
|
toasterChildren?: React.ReactNode;
|
|
@@ -26,12 +26,11 @@ export interface ToasterAlertProps extends AlertProps, Clickable, Accessibility
|
|
|
26
26
|
/**
|
|
27
27
|
* Alert Interface
|
|
28
28
|
*/
|
|
29
|
-
export interface AlertProps extends
|
|
29
|
+
export interface AlertProps extends StatusProps, Clickable, Accessibility {
|
|
30
30
|
iconName?: IconName | IconNameValues;
|
|
31
31
|
title?: string | React.ReactNode;
|
|
32
32
|
description?: string | React.ReactNode;
|
|
33
33
|
className?: string;
|
|
34
|
-
iconClassname?: string;
|
|
35
34
|
display?: boolean;
|
|
36
35
|
toaster?: boolean;
|
|
37
36
|
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"iconName": {
|
|
3
|
+
"type": "enum",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"tri-alert",
|
|
7
|
+
"tri-arrow-down",
|
|
8
|
+
"tri-arrow-left",
|
|
9
|
+
"tri-arrow-right",
|
|
10
|
+
"tri-arrow-up",
|
|
11
|
+
"tri-bell",
|
|
12
|
+
"tri-check-circle",
|
|
13
|
+
"tri-check",
|
|
14
|
+
"tri-exclamation-circle",
|
|
15
|
+
"tri-eye-slash",
|
|
16
|
+
"tri-eye",
|
|
17
|
+
"tri-infos-circle",
|
|
18
|
+
"tri-search",
|
|
19
|
+
"tri-times",
|
|
20
|
+
"tri-trash",
|
|
21
|
+
"tri-picto-faciliti",
|
|
22
|
+
"tri-picto-handicapzero",
|
|
23
|
+
"tri-picto-la-fibre",
|
|
24
|
+
"tri-picto-payment-americanexpress",
|
|
25
|
+
"tri-picto-payment-cb",
|
|
26
|
+
"tri-picto-payment-mastercard",
|
|
27
|
+
"tri-picto-payment-paypal",
|
|
28
|
+
"tri-picto-payment-visa",
|
|
29
|
+
"tri-alert",
|
|
30
|
+
"tri-arrow-down",
|
|
31
|
+
"tri-arrow-left",
|
|
32
|
+
"tri-arrow-right",
|
|
33
|
+
"tri-arrow-up",
|
|
34
|
+
"tri-bell",
|
|
35
|
+
"tri-check-circle",
|
|
36
|
+
"tri-check",
|
|
37
|
+
"tri-exclamation-circle",
|
|
38
|
+
"tri-eye-slash",
|
|
39
|
+
"tri-eye",
|
|
40
|
+
"tri-infos-circle",
|
|
41
|
+
"tri-search",
|
|
42
|
+
"tri-times",
|
|
43
|
+
"tri-trash",
|
|
44
|
+
"tri-picto-faciliti",
|
|
45
|
+
"tri-picto-handicapzero",
|
|
46
|
+
"tri-picto-la-fibre",
|
|
47
|
+
"tri-picto-payment-americanexpress",
|
|
48
|
+
"tri-picto-payment-cb",
|
|
49
|
+
"tri-picto-payment-mastercard",
|
|
50
|
+
"tri-picto-payment-paypal",
|
|
51
|
+
"tri-picto-payment-visa"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"title": {
|
|
55
|
+
"type": "react",
|
|
56
|
+
"values": [
|
|
57
|
+
"undefined",
|
|
58
|
+
"null",
|
|
59
|
+
"string",
|
|
60
|
+
"number",
|
|
61
|
+
"false",
|
|
62
|
+
"true",
|
|
63
|
+
"JSXElementConstructor<any>>",
|
|
64
|
+
"ReactNode>",
|
|
65
|
+
"ReactPortal"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"description": {
|
|
69
|
+
"type": "react",
|
|
70
|
+
"values": [
|
|
71
|
+
"undefined",
|
|
72
|
+
"null",
|
|
73
|
+
"string",
|
|
74
|
+
"number",
|
|
75
|
+
"false",
|
|
76
|
+
"true",
|
|
77
|
+
"JSXElementConstructor<any>>",
|
|
78
|
+
"ReactNode>",
|
|
79
|
+
"ReactPortal"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"className": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"values": [
|
|
85
|
+
"undefined",
|
|
86
|
+
"string"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"display": {
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"values": [
|
|
92
|
+
"undefined",
|
|
93
|
+
"false",
|
|
94
|
+
"true"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"toaster": {
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"values": [
|
|
100
|
+
"undefined",
|
|
101
|
+
"false",
|
|
102
|
+
"true"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"status": {
|
|
106
|
+
"type": "enum",
|
|
107
|
+
"values": [
|
|
108
|
+
"undefined",
|
|
109
|
+
"SUCCESS",
|
|
110
|
+
"INFO",
|
|
111
|
+
"WARNING",
|
|
112
|
+
"ERROR",
|
|
113
|
+
"SUCCESS",
|
|
114
|
+
"INFO",
|
|
115
|
+
"WARNING",
|
|
116
|
+
"ERROR"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"id": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"values": [
|
|
122
|
+
"undefined",
|
|
123
|
+
"string"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"onClick": {
|
|
127
|
+
"type": "function",
|
|
128
|
+
"values": [
|
|
129
|
+
"undefined",
|
|
130
|
+
"ClickEvent"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"testId": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"values": [
|
|
136
|
+
"undefined",
|
|
137
|
+
"string"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"accessibilityLabel": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"values": [
|
|
143
|
+
"undefined",
|
|
144
|
+
"string"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"accessibilityActivate": {
|
|
148
|
+
"type": "boolean",
|
|
149
|
+
"values": [
|
|
150
|
+
"undefined",
|
|
151
|
+
"false",
|
|
152
|
+
"true"
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
};
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"children": {
|
|
3
|
+
"type": "react",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"null",
|
|
7
|
+
"string",
|
|
8
|
+
"number",
|
|
9
|
+
"false",
|
|
10
|
+
"true",
|
|
11
|
+
"JSXElementConstructor<any>>",
|
|
12
|
+
"ReactNode>",
|
|
13
|
+
"ReactPortal"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"className": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"values": [
|
|
19
|
+
"undefined",
|
|
20
|
+
"string"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"toasterChildren": {
|
|
24
|
+
"type": "react",
|
|
25
|
+
"values": [
|
|
26
|
+
"undefined",
|
|
27
|
+
"null",
|
|
28
|
+
"string",
|
|
29
|
+
"number",
|
|
30
|
+
"false",
|
|
31
|
+
"true",
|
|
32
|
+
"JSXElementConstructor<any>>",
|
|
33
|
+
"ReactNode>",
|
|
34
|
+
"ReactPortal"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"iconName": {
|
|
38
|
+
"type": "enum",
|
|
39
|
+
"values": [
|
|
40
|
+
"undefined",
|
|
41
|
+
"tri-alert",
|
|
42
|
+
"tri-arrow-down",
|
|
43
|
+
"tri-arrow-left",
|
|
44
|
+
"tri-arrow-right",
|
|
45
|
+
"tri-arrow-up",
|
|
46
|
+
"tri-bell",
|
|
47
|
+
"tri-check-circle",
|
|
48
|
+
"tri-check",
|
|
49
|
+
"tri-exclamation-circle",
|
|
50
|
+
"tri-eye-slash",
|
|
51
|
+
"tri-eye",
|
|
52
|
+
"tri-infos-circle",
|
|
53
|
+
"tri-search",
|
|
54
|
+
"tri-times",
|
|
55
|
+
"tri-trash",
|
|
56
|
+
"tri-picto-faciliti",
|
|
57
|
+
"tri-picto-handicapzero",
|
|
58
|
+
"tri-picto-la-fibre",
|
|
59
|
+
"tri-picto-payment-americanexpress",
|
|
60
|
+
"tri-picto-payment-cb",
|
|
61
|
+
"tri-picto-payment-mastercard",
|
|
62
|
+
"tri-picto-payment-paypal",
|
|
63
|
+
"tri-picto-payment-visa",
|
|
64
|
+
"tri-alert",
|
|
65
|
+
"tri-arrow-down",
|
|
66
|
+
"tri-arrow-left",
|
|
67
|
+
"tri-arrow-right",
|
|
68
|
+
"tri-arrow-up",
|
|
69
|
+
"tri-bell",
|
|
70
|
+
"tri-check-circle",
|
|
71
|
+
"tri-check",
|
|
72
|
+
"tri-exclamation-circle",
|
|
73
|
+
"tri-eye-slash",
|
|
74
|
+
"tri-eye",
|
|
75
|
+
"tri-infos-circle",
|
|
76
|
+
"tri-search",
|
|
77
|
+
"tri-times",
|
|
78
|
+
"tri-trash",
|
|
79
|
+
"tri-picto-faciliti",
|
|
80
|
+
"tri-picto-handicapzero",
|
|
81
|
+
"tri-picto-la-fibre",
|
|
82
|
+
"tri-picto-payment-americanexpress",
|
|
83
|
+
"tri-picto-payment-cb",
|
|
84
|
+
"tri-picto-payment-mastercard",
|
|
85
|
+
"tri-picto-payment-paypal",
|
|
86
|
+
"tri-picto-payment-visa"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"title": {
|
|
90
|
+
"type": "react",
|
|
91
|
+
"values": [
|
|
92
|
+
"undefined",
|
|
93
|
+
"null",
|
|
94
|
+
"string",
|
|
95
|
+
"number",
|
|
96
|
+
"false",
|
|
97
|
+
"true",
|
|
98
|
+
"JSXElementConstructor<any>>",
|
|
99
|
+
"ReactNode>",
|
|
100
|
+
"ReactPortal"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"description": {
|
|
104
|
+
"type": "react",
|
|
105
|
+
"values": [
|
|
106
|
+
"undefined",
|
|
107
|
+
"null",
|
|
108
|
+
"string",
|
|
109
|
+
"number",
|
|
110
|
+
"false",
|
|
111
|
+
"true",
|
|
112
|
+
"JSXElementConstructor<any>>",
|
|
113
|
+
"ReactNode>",
|
|
114
|
+
"ReactPortal"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"deletable": {
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"values": [
|
|
120
|
+
"undefined",
|
|
121
|
+
"false",
|
|
122
|
+
"true",
|
|
123
|
+
"ClickEvent"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"closable": {
|
|
127
|
+
"type": "function",
|
|
128
|
+
"values": [
|
|
129
|
+
"undefined",
|
|
130
|
+
"ClickEvent"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"position": {
|
|
134
|
+
"type": "enum",
|
|
135
|
+
"values": [
|
|
136
|
+
"undefined",
|
|
137
|
+
"top",
|
|
138
|
+
"bottom"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"duration": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"values": [
|
|
144
|
+
"undefined",
|
|
145
|
+
"number"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"offset": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"values": [
|
|
151
|
+
"undefined",
|
|
152
|
+
"number"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"display": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"values": [
|
|
158
|
+
"undefined",
|
|
159
|
+
"false",
|
|
160
|
+
"true"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"onShow": {
|
|
164
|
+
"type": "function",
|
|
165
|
+
"values": [
|
|
166
|
+
"undefined",
|
|
167
|
+
"() => void"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"onHide": {
|
|
171
|
+
"type": "function",
|
|
172
|
+
"values": [
|
|
173
|
+
"undefined",
|
|
174
|
+
"() => void"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"status": {
|
|
178
|
+
"type": "enum",
|
|
179
|
+
"values": [
|
|
180
|
+
"undefined",
|
|
181
|
+
"SUCCESS",
|
|
182
|
+
"INFO",
|
|
183
|
+
"WARNING",
|
|
184
|
+
"ERROR",
|
|
185
|
+
"SUCCESS",
|
|
186
|
+
"INFO",
|
|
187
|
+
"WARNING",
|
|
188
|
+
"ERROR"
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"id": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"values": [
|
|
194
|
+
"undefined",
|
|
195
|
+
"string"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"onClick": {
|
|
199
|
+
"type": "function",
|
|
200
|
+
"values": [
|
|
201
|
+
"undefined",
|
|
202
|
+
"ClickEvent"
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"testId": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"values": [
|
|
208
|
+
"undefined",
|
|
209
|
+
"string"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"accessibilityLabel": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"values": [
|
|
215
|
+
"undefined",
|
|
216
|
+
"string"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"accessibilityActivate": {
|
|
220
|
+
"type": "boolean",
|
|
221
|
+
"values": [
|
|
222
|
+
"undefined",
|
|
223
|
+
"false",
|
|
224
|
+
"true"
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"position": {
|
|
3
|
+
"type": "enum",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"top",
|
|
7
|
+
"bottom"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"duration": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"values": [
|
|
13
|
+
"undefined",
|
|
14
|
+
"number"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"offset": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"values": [
|
|
20
|
+
"undefined",
|
|
21
|
+
"number"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"title": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"values": []
|
|
5
|
+
},
|
|
6
|
+
"description": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"values": [
|
|
9
|
+
"undefined",
|
|
10
|
+
"string"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"iconName": {
|
|
14
|
+
"type": "enum",
|
|
15
|
+
"values": [
|
|
16
|
+
"undefined",
|
|
17
|
+
"tri-alert",
|
|
18
|
+
"tri-arrow-down",
|
|
19
|
+
"tri-arrow-left",
|
|
20
|
+
"tri-arrow-right",
|
|
21
|
+
"tri-arrow-up",
|
|
22
|
+
"tri-bell",
|
|
23
|
+
"tri-check-circle",
|
|
24
|
+
"tri-check",
|
|
25
|
+
"tri-exclamation-circle",
|
|
26
|
+
"tri-eye-slash",
|
|
27
|
+
"tri-eye",
|
|
28
|
+
"tri-infos-circle",
|
|
29
|
+
"tri-search",
|
|
30
|
+
"tri-times",
|
|
31
|
+
"tri-trash",
|
|
32
|
+
"tri-picto-faciliti",
|
|
33
|
+
"tri-picto-handicapzero",
|
|
34
|
+
"tri-picto-la-fibre",
|
|
35
|
+
"tri-picto-payment-americanexpress",
|
|
36
|
+
"tri-picto-payment-cb",
|
|
37
|
+
"tri-picto-payment-mastercard",
|
|
38
|
+
"tri-picto-payment-paypal",
|
|
39
|
+
"tri-picto-payment-visa",
|
|
40
|
+
"tri-alert",
|
|
41
|
+
"tri-arrow-down",
|
|
42
|
+
"tri-arrow-left",
|
|
43
|
+
"tri-arrow-right",
|
|
44
|
+
"tri-arrow-up",
|
|
45
|
+
"tri-bell",
|
|
46
|
+
"tri-check-circle",
|
|
47
|
+
"tri-check",
|
|
48
|
+
"tri-exclamation-circle",
|
|
49
|
+
"tri-eye-slash",
|
|
50
|
+
"tri-eye",
|
|
51
|
+
"tri-infos-circle",
|
|
52
|
+
"tri-search",
|
|
53
|
+
"tri-times",
|
|
54
|
+
"tri-trash",
|
|
55
|
+
"tri-picto-faciliti",
|
|
56
|
+
"tri-picto-handicapzero",
|
|
57
|
+
"tri-picto-la-fibre",
|
|
58
|
+
"tri-picto-payment-americanexpress",
|
|
59
|
+
"tri-picto-payment-cb",
|
|
60
|
+
"tri-picto-payment-mastercard",
|
|
61
|
+
"tri-picto-payment-paypal",
|
|
62
|
+
"tri-picto-payment-visa"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"onClick": {
|
|
66
|
+
"type": "function",
|
|
67
|
+
"values": [
|
|
68
|
+
"undefined",
|
|
69
|
+
"() => void"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"closable": {
|
|
73
|
+
"type": "function",
|
|
74
|
+
"values": [
|
|
75
|
+
"undefined",
|
|
76
|
+
"() => void"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"onHide": {
|
|
80
|
+
"type": "function",
|
|
81
|
+
"values": [
|
|
82
|
+
"undefined",
|
|
83
|
+
"() => void"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"status": {
|
|
87
|
+
"type": "enum",
|
|
88
|
+
"values": [
|
|
89
|
+
"undefined",
|
|
90
|
+
"SUCCESS",
|
|
91
|
+
"INFO",
|
|
92
|
+
"WARNING",
|
|
93
|
+
"ERROR",
|
|
94
|
+
"SUCCESS",
|
|
95
|
+
"INFO",
|
|
96
|
+
"WARNING",
|
|
97
|
+
"ERROR"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"id": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"values": [
|
|
103
|
+
"undefined",
|
|
104
|
+
"string"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"testId": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"values": [
|
|
110
|
+
"undefined",
|
|
111
|
+
"string"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"accessibilityLabel": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"values": [
|
|
117
|
+
"undefined",
|
|
118
|
+
"string"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"accessibilityActivate": {
|
|
122
|
+
"type": "boolean",
|
|
123
|
+
"values": [
|
|
124
|
+
"undefined",
|
|
125
|
+
"false",
|
|
126
|
+
"true"
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
};
|