@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
|
@@ -13,14 +13,14 @@ import { PriceProps } from "./PriceProps";
|
|
|
13
13
|
* @param inline {boolean} Inline display Price
|
|
14
14
|
* @param accessibilityLabel {string} Accessibility label
|
|
15
15
|
* @param testId {string} Test Id for Test Integration
|
|
16
|
-
* @param
|
|
16
|
+
* @param overline {string} Price overline
|
|
17
17
|
* @param tagAmount {number} Tag amount
|
|
18
18
|
* @param tagSymbol {number} Tag symbol
|
|
19
19
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
20
20
|
* @param className {string} Additionnal CSS Classes
|
|
21
|
-
* @param
|
|
21
|
+
* @param strikedAmount {boolean} Striked Amount Price
|
|
22
22
|
* - --------------- NATIVE PROPERTIES ----------------------------------
|
|
23
23
|
* @param accessibilityActivate {boolean}
|
|
24
24
|
*/
|
|
25
|
-
declare const Price: ({ className, amount, mention, period, showCents, level, inverted, align,
|
|
25
|
+
declare const Price: ({ className, amount, mention, period, showCents, level, inverted, align, inline, testId, accessibilityLabel, strikedAmount, overline, tagAmount, tagSymbol, ...others }: PriceProps) => JSX.Element;
|
|
26
26
|
export default Price;
|
|
@@ -6,6 +6,7 @@ import { Alignable, TypographyColor, TypographyBold } from "../../objects";
|
|
|
6
6
|
import { checkCents } from "./PriceHelpers";
|
|
7
7
|
import { hashClass } from "../../helpers";
|
|
8
8
|
import { useTrilogyContext } from "../../context";
|
|
9
|
+
import { PriceLevel } from "./PriceEnum";
|
|
9
10
|
/**
|
|
10
11
|
* Price Component
|
|
11
12
|
* @param amount {number} Amount for Price
|
|
@@ -19,19 +20,20 @@ import { useTrilogyContext } from "../../context";
|
|
|
19
20
|
* @param inline {boolean} Inline display Price
|
|
20
21
|
* @param accessibilityLabel {string} Accessibility label
|
|
21
22
|
* @param testId {string} Test Id for Test Integration
|
|
22
|
-
* @param
|
|
23
|
+
* @param overline {string} Price overline
|
|
23
24
|
* @param tagAmount {number} Tag amount
|
|
24
25
|
* @param tagSymbol {number} Tag symbol
|
|
25
26
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
26
27
|
* @param className {string} Additionnal CSS Classes
|
|
27
|
-
* @param
|
|
28
|
+
* @param strikedAmount {boolean} Striked Amount Price
|
|
28
29
|
* - --------------- NATIVE PROPERTIES ----------------------------------
|
|
29
30
|
* @param accessibilityActivate {boolean}
|
|
30
31
|
*/
|
|
31
|
-
const Price = ({ className, amount, mention, period, showCents, level, inverted, align,
|
|
32
|
+
const Price = ({ className, amount, mention, period, showCents = true, level, inverted, align, inline, testId, accessibilityLabel, strikedAmount, overline, tagAmount, tagSymbol, ...others }) => {
|
|
32
33
|
var _a;
|
|
33
34
|
const { styled } = useTrilogyContext();
|
|
34
|
-
const classes = hashClass(styled, clsx("price",
|
|
35
|
+
const classes = hashClass(styled, clsx("price", level && is(`level-${level}`), inverted && is("inverted"), inline && is("inlined"), overline && has("suptitle"), className));
|
|
36
|
+
const classesStriked = hashClass(styled, clsx("price", level && level == PriceLevel.ONE && is(`level-3`) || level == PriceLevel.TWO && is(`level-4`) || level == PriceLevel.THREE && is(`level-5`) || level == PriceLevel.FOUR && is(`level-6`) || is(`level-7`), inverted && is("inverted"), inline && is("inlined"), strikedAmount && is("striked"), overline && has("suptitle"), className));
|
|
35
37
|
const priceParentNode = hashClass(styled, clsx((align == Alignable.ALIGNED_START && has("text-left")) ||
|
|
36
38
|
(align == Alignable.ALIGNED_CENTER && has("text-centered")) ||
|
|
37
39
|
(align == Alignable.ALIGNED_END && has("text-right")) ||
|
|
@@ -40,14 +42,30 @@ const Price = ({ className, amount, mention, period, showCents, level, inverted,
|
|
|
40
42
|
const absoluteAmount = Math.abs(amount);
|
|
41
43
|
const absoluteWhole = Math.floor(absoluteAmount);
|
|
42
44
|
const whole = isNegative ? -absoluteWhole : absoluteWhole;
|
|
45
|
+
const isNegativeStriked = strikedAmount && strikedAmount < 0;
|
|
46
|
+
const absoluteAmountStriked = strikedAmount && Math.abs(strikedAmount);
|
|
47
|
+
const absoluteWholeStriked = absoluteAmountStriked && Math.floor(absoluteAmountStriked);
|
|
48
|
+
const wholeStriked = isNegativeStriked && absoluteWholeStriked ? -absoluteWholeStriked : absoluteWholeStriked;
|
|
43
49
|
let cents = checkCents(((_a = absoluteAmount.toString().split(/[.,]/)[1]) === null || _a === void 0 ? void 0 : _a.substring(0, 2)) || "");
|
|
44
50
|
cents = (cents && cents.length === 1 && `${cents}0`) || cents;
|
|
45
51
|
const centsDisplayed = (inline && showCents && `,${cents || "00"} €`) ||
|
|
46
52
|
(showCents && `€${cents || "00"}`) ||
|
|
47
53
|
"€";
|
|
48
|
-
const returnComponent = (React.createElement("
|
|
49
|
-
React.createElement("
|
|
50
|
-
|
|
54
|
+
const returnComponent = (React.createElement("div", { className: hashClass(styled, clsx("price-container")) },
|
|
55
|
+
overline && React.createElement("p", { className: hashClass(styled, clsx("overline")) }, overline),
|
|
56
|
+
strikedAmount && (React.createElement(React.Fragment, null,
|
|
57
|
+
React.createElement("span", { "aria-hidden": "true", "data-testid": testId, className: classesStriked, ...others },
|
|
58
|
+
React.createElement(Text, { markup: TextMarkup.SPAN }, `${wholeStriked}`),
|
|
59
|
+
React.createElement("span", { className: hashClass(styled, clsx("price-details")) },
|
|
60
|
+
React.createElement("span", { className: hashClass(styled, clsx("cents")) },
|
|
61
|
+
inline && centsDisplayed === "€" ? (React.createElement(React.Fragment, null,
|
|
62
|
+
"\u00A0",
|
|
63
|
+
centsDisplayed)) : (centsDisplayed),
|
|
64
|
+
mention && React.createElement("sup", null, mention)),
|
|
65
|
+
period && (React.createElement("span", { className: hashClass(styled, clsx("period")) },
|
|
66
|
+
"/",
|
|
67
|
+
period)))))),
|
|
68
|
+
React.createElement("span", { "aria-hidden": "true", "data-testid": testId, "aria-label": accessibilityLabel, className: classes, ...others },
|
|
51
69
|
React.createElement(Text, { markup: TextMarkup.SPAN }, `${whole}`),
|
|
52
70
|
React.createElement("span", { className: hashClass(styled, clsx("price-details")) },
|
|
53
71
|
React.createElement("span", { className: hashClass(styled, clsx("cents")) },
|
|
@@ -58,14 +76,15 @@ const Price = ({ className, amount, mention, period, showCents, level, inverted,
|
|
|
58
76
|
period && (React.createElement("span", { className: hashClass(styled, clsx("period")) },
|
|
59
77
|
"/",
|
|
60
78
|
period)))),
|
|
61
|
-
tagAmount && (React.createElement("span", { className: hashClass(styled, clsx(('price-tag'))) },
|
|
79
|
+
tagAmount && (React.createElement("span", { ...{ role: 'paragraph' }, className: hashClass(styled, clsx(('price-tag'))) },
|
|
62
80
|
React.createElement(Text, { markup: TextMarkup.SPAN, typo: [TypographyBold.TEXT_WEIGHT_SEMIBOLD, TypographyColor.TEXT_WHITE] },
|
|
63
81
|
tagAmount,
|
|
64
82
|
" ",
|
|
65
83
|
tagSymbol ? tagSymbol : '€'),
|
|
66
84
|
tagSymbol === '€' && period && React.createElement(Text, { markup: TextMarkup.SPAN, typo: [TypographyBold.TEXT_WEIGHT_NORMAL, TypographyColor.TEXT_WHITE] },
|
|
67
85
|
"\u00A0/",
|
|
68
|
-
period)))
|
|
86
|
+
period))),
|
|
87
|
+
accessibilityLabel && React.createElement("p", { className: 'sr-only' }, accessibilityLabel)));
|
|
69
88
|
if (align) {
|
|
70
89
|
return React.createElement("div", { className: priceParentNode }, returnComponent);
|
|
71
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../components/price/Price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,IAAI,MAAM,MAAM,CAAA;AAEvB,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../components/price/Price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,IAAI,MAAM,MAAM,CAAA;AAEvB,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAExC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MA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ted Price Color
|
|
13
13
|
* @param children {React.ReactNode}
|
|
14
14
|
* @param align {Alignable} Price alignement
|
|
15
|
-
* @param alert {AlertState} Alert Variant (INFO|SUCCESS|WARNING|ERROR)
|
|
16
15
|
* @param inline {boolean} Inline display Price
|
|
17
16
|
* @param testId {string} id for test
|
|
18
17
|
* @param accessibilityLabel {string}
|
|
19
|
-
* @param
|
|
18
|
+
* @param overline {string} Price overline
|
|
20
19
|
* @param tagAmount {number} Tag amount
|
|
21
20
|
* @param tagSymbol {number} Tag symbol
|
|
22
21
|
*/
|
|
23
22
|
declare const Price: {
|
|
24
|
-
({ amount, mention, period, showCents, level, inverted, align,
|
|
23
|
+
({ amount, mention, period, showCents, level, inverted, align, inline, testId, accessibilityLabel, strikedAmount, overline, style, tagAmount, tagSymbol, ...others }: PriceProps): JSX.Element;
|
|
25
24
|
displayName: ComponentName;
|
|
26
25
|
};
|
|
27
26
|
export default Price;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { useContext, useMemo } from "react";
|
|
2
2
|
import { StyleSheet, Text, View } from "react-native";
|
|
3
3
|
import { Text as TrilogyText } from '../../components/text';
|
|
4
|
+
import { Spacer, SpacerSize } from "../../components/spacer";
|
|
4
5
|
import { PriceLevel } from "./PriceEnum";
|
|
5
|
-
import { Alignable,
|
|
6
|
+
import { Alignable, getColorStyle, TrilogyColor, TypographyBold, TypographyColor, getTypographyBoldStyle } from "../../objects";
|
|
6
7
|
import { checkCents } from "./PriceHelpers";
|
|
7
8
|
import { ComponentName } from "../../components/enumsComponentsName";
|
|
8
9
|
import { StatesContext } from "../../context/providerStates";
|
|
9
|
-
import { getTypographyBoldStyle } from "../../objects";
|
|
10
10
|
/**
|
|
11
11
|
* Price Component
|
|
12
12
|
* @param amount {number} Amount for Price
|
|
@@ -18,76 +18,83 @@ import { getTypographyBoldStyle } from "../../objects";
|
|
|
18
18
|
* @param inverted {boolean} Inverted Price Color
|
|
19
19
|
* @param children {React.ReactNode}
|
|
20
20
|
* @param align {Alignable} Price alignement
|
|
21
|
-
* @param alert {AlertState} Alert Variant (INFO|SUCCESS|WARNING|ERROR)
|
|
22
21
|
* @param inline {boolean} Inline display Price
|
|
23
22
|
* @param testId {string} id for test
|
|
24
23
|
* @param accessibilityLabel {string}
|
|
25
|
-
* @param
|
|
24
|
+
* @param overline {string} Price overline
|
|
26
25
|
* @param tagAmount {number} Tag amount
|
|
27
26
|
* @param tagSymbol {number} Tag symbol
|
|
28
27
|
*/
|
|
29
|
-
const Price = ({ amount, mention, period, showCents, level, inverted, align,
|
|
30
|
-
var _a;
|
|
28
|
+
const Price = ({ amount, mention, period, showCents = true, level, inverted, align, inline, testId, accessibilityLabel, strikedAmount, overline, style, tagAmount, tagSymbol, ...others }) => {
|
|
29
|
+
var _a, _b;
|
|
31
30
|
const statesContext = useContext(StatesContext);
|
|
32
31
|
const isNegative = amount < 0;
|
|
33
32
|
const absoluteAmount = Math.abs(amount);
|
|
34
33
|
const absoluteWhole = Math.floor(absoluteAmount);
|
|
35
34
|
const whole = isNegative ? -absoluteWhole : absoluteWhole;
|
|
36
35
|
const cents = checkCents(((_a = absoluteAmount.toString().split(/[.,]/)[1]) === null || _a === void 0 ? void 0 : _a.substring(0, 2)) || "");
|
|
36
|
+
const isNegativeStriked = strikedAmount && strikedAmount < 0;
|
|
37
|
+
const absoluteAmountStriked = strikedAmount && Math.abs(strikedAmount);
|
|
38
|
+
const absoluteWholeStriked = absoluteAmountStriked && Math.floor(absoluteAmountStriked);
|
|
39
|
+
const wholeStriked = absoluteWholeStriked && isNegativeStriked ? -absoluteWholeStriked : absoluteWholeStriked;
|
|
40
|
+
const centsStriked = absoluteAmountStriked && checkCents(((_b = absoluteAmountStriked.toString().split(/[.,]/)[1]) === null || _b === void 0 ? void 0 : _b.substring(0, 2)) || "");
|
|
37
41
|
const primaryColor = getColorStyle(TrilogyColor.MAIN);
|
|
38
42
|
const secondaryColor = getColorStyle(TrilogyColor.MAIN);
|
|
39
43
|
const invertedColor = getColorStyle(TrilogyColor.BACKGROUND);
|
|
40
|
-
const priceLevel = (level == PriceLevel.
|
|
41
|
-
(level == PriceLevel.
|
|
42
|
-
(level == PriceLevel.
|
|
43
|
-
(level == PriceLevel.
|
|
44
|
-
(level == PriceLevel.
|
|
45
|
-
(level == PriceLevel.
|
|
46
|
-
(level == PriceLevel.
|
|
44
|
+
const priceLevel = (level == PriceLevel.ONE && 64) ||
|
|
45
|
+
(level == PriceLevel.TWO && 56) ||
|
|
46
|
+
(level == PriceLevel.THREE && 44) ||
|
|
47
|
+
(level == PriceLevel.FOUR && 32) ||
|
|
48
|
+
(level == PriceLevel.FIVE && 28) ||
|
|
49
|
+
(level == PriceLevel.SIX && 24) ||
|
|
50
|
+
(level == PriceLevel.SEVEN && 20) ||
|
|
47
51
|
44;
|
|
48
52
|
const centsLevel = priceLevel * 0.4;
|
|
49
53
|
const suptitleLevel = priceLevel * 0.2;
|
|
50
|
-
const
|
|
51
|
-
(
|
|
52
|
-
(
|
|
53
|
-
(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
const priceLevelStriked = (level == PriceLevel.ONE && 44) ||
|
|
55
|
+
(level == PriceLevel.TWO && 32) ||
|
|
56
|
+
(level == PriceLevel.THREE && 28) ||
|
|
57
|
+
(level == PriceLevel.FOUR && 24) ||
|
|
58
|
+
20;
|
|
59
|
+
const centsLevelStriked = priceLevelStriked * 0.4;
|
|
60
|
+
const color = useMemo(() => (inverted && invertedColor) ||
|
|
61
|
+
statesContext.inverted && invertedColor ||
|
|
62
|
+
primaryColor ||
|
|
63
|
+
!inverted && secondaryColor ||
|
|
64
|
+
primaryColor, [inverted, invertedColor, statesContext.inverted, primaryColor, secondaryColor]);
|
|
58
65
|
const strikedRotateByLevel = () => {
|
|
59
|
-
return ((level == PriceLevel.
|
|
60
|
-
(level == PriceLevel.
|
|
61
|
-
(level == PriceLevel.
|
|
62
|
-
(level == PriceLevel.
|
|
63
|
-
(level == PriceLevel.
|
|
64
|
-
(level == PriceLevel.
|
|
65
|
-
(level == PriceLevel.
|
|
66
|
-
(level == PriceLevel.
|
|
67
|
-
(level == PriceLevel.
|
|
68
|
-
(level == PriceLevel.
|
|
69
|
-
(level == PriceLevel.
|
|
70
|
-
(level == PriceLevel.
|
|
71
|
-
(level == PriceLevel.
|
|
72
|
-
(level == PriceLevel.
|
|
66
|
+
return ((level == PriceLevel.SEVEN && (showCents || period) && "-18deg") ||
|
|
67
|
+
(level == PriceLevel.SIX && (showCents || period) && "-19deg") ||
|
|
68
|
+
(level == PriceLevel.FIVE && (showCents || period) && "-18deg") ||
|
|
69
|
+
(level == PriceLevel.FOUR && (showCents || period) && "-16deg") ||
|
|
70
|
+
(level == PriceLevel.THREE && (showCents || period) && "-16deg") ||
|
|
71
|
+
(level == PriceLevel.TWO && (showCents || period) && "-16deg") ||
|
|
72
|
+
(level == PriceLevel.ONE && (showCents || period) && "-15deg") ||
|
|
73
|
+
(level == PriceLevel.ONE && "-17deg") ||
|
|
74
|
+
(level == PriceLevel.TWO && "-18deg") ||
|
|
75
|
+
(level == PriceLevel.THREE && "-20deg") ||
|
|
76
|
+
(level == PriceLevel.FOUR && "-18deg") ||
|
|
77
|
+
(level == PriceLevel.FIVE && "-18deg") ||
|
|
78
|
+
(level == PriceLevel.SIX && "-22deg") ||
|
|
79
|
+
(level == PriceLevel.SEVEN && "-22deg") ||
|
|
73
80
|
(!level && (showCents || period) && "-15deg") ||
|
|
74
81
|
"-20deg");
|
|
75
82
|
};
|
|
76
83
|
const strikedBottomByLevel = () => {
|
|
77
|
-
return ((level == PriceLevel.
|
|
78
|
-
(level == PriceLevel.
|
|
79
|
-
(level == PriceLevel.
|
|
80
|
-
(level == PriceLevel.
|
|
81
|
-
(level == PriceLevel.
|
|
82
|
-
(level == PriceLevel.
|
|
83
|
-
(level == PriceLevel.
|
|
84
|
-
(level == PriceLevel.
|
|
85
|
-
(level == PriceLevel.
|
|
86
|
-
(level == PriceLevel.
|
|
87
|
-
(level == PriceLevel.
|
|
88
|
-
(level == PriceLevel.
|
|
89
|
-
(level == PriceLevel.
|
|
90
|
-
(level == PriceLevel.
|
|
84
|
+
return ((level == PriceLevel.SEVEN && (showCents || period) && 12) ||
|
|
85
|
+
(level == PriceLevel.SIX && (showCents || period) && 15) ||
|
|
86
|
+
(level == PriceLevel.FIVE && (showCents || period) && 18) ||
|
|
87
|
+
(level == PriceLevel.FOUR && (showCents || period) && 19) ||
|
|
88
|
+
(level == PriceLevel.THREE && (showCents || period) && 26) ||
|
|
89
|
+
(level == PriceLevel.TWO && (showCents || period) && 33) ||
|
|
90
|
+
(level == PriceLevel.ONE && (showCents || period) && 37) ||
|
|
91
|
+
(level == PriceLevel.ONE && 34) ||
|
|
92
|
+
(level == PriceLevel.TWO && 30) ||
|
|
93
|
+
(level == PriceLevel.THREE && 24) ||
|
|
94
|
+
(level == PriceLevel.FOUR && 18) ||
|
|
95
|
+
(level == PriceLevel.FIVE && 16) ||
|
|
96
|
+
(level == PriceLevel.SIX && 14) ||
|
|
97
|
+
(level == PriceLevel.SEVEN && 12) ||
|
|
91
98
|
(!level && (showCents || period) && 25) ||
|
|
92
99
|
25);
|
|
93
100
|
};
|
|
@@ -102,9 +109,9 @@ const Price = ({ amount, mention, period, showCents, level, inverted, align, ale
|
|
|
102
109
|
priceContainer: {
|
|
103
110
|
padding: 0,
|
|
104
111
|
paddingLeft: (inline && 0) ||
|
|
105
|
-
(level == PriceLevel.
|
|
106
|
-
(level == PriceLevel.
|
|
107
|
-
(level == PriceLevel.
|
|
112
|
+
(level == PriceLevel.FIVE && 2) ||
|
|
113
|
+
(level == PriceLevel.SIX && 2) ||
|
|
114
|
+
(level == PriceLevel.SEVEN && 2) ||
|
|
108
115
|
4,
|
|
109
116
|
flexDirection: "column",
|
|
110
117
|
justifyContent: "center",
|
|
@@ -112,24 +119,44 @@ const Price = ({ amount, mention, period, showCents, level, inverted, align, ale
|
|
|
112
119
|
position: "relative",
|
|
113
120
|
},
|
|
114
121
|
price: {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
(level == PriceLevel.LEVEL7 && "normal") ||
|
|
122
|
+
fontWeight: (level == PriceLevel.SIX && "normal") ||
|
|
123
|
+
(level == PriceLevel.SEVEN && "normal") ||
|
|
118
124
|
"bold",
|
|
119
|
-
color: color,
|
|
120
125
|
fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD)
|
|
121
126
|
},
|
|
127
|
+
priceFontSize: {
|
|
128
|
+
fontSize: priceLevel,
|
|
129
|
+
},
|
|
130
|
+
priceFontSizeStriked: {
|
|
131
|
+
fontSize: priceLevelStriked,
|
|
132
|
+
},
|
|
133
|
+
priceColor: {
|
|
134
|
+
color: color
|
|
135
|
+
},
|
|
136
|
+
priceStrikedColor: {
|
|
137
|
+
color: getColorStyle(TrilogyColor.MAIN_FADE)
|
|
138
|
+
},
|
|
122
139
|
cents: {
|
|
123
140
|
fontWeight: "bold",
|
|
124
141
|
color: color,
|
|
125
|
-
fontSize: centsLevel,
|
|
126
142
|
fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD)
|
|
127
143
|
},
|
|
144
|
+
centsFontSize: {
|
|
145
|
+
fontSize: centsLevel,
|
|
146
|
+
},
|
|
147
|
+
centsFontSizeStriked: {
|
|
148
|
+
fontSize: centsLevelStriked,
|
|
149
|
+
},
|
|
128
150
|
period: {
|
|
129
151
|
color: color,
|
|
130
|
-
fontSize: centsLevel,
|
|
131
152
|
fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD)
|
|
132
153
|
},
|
|
154
|
+
periodFontSize: {
|
|
155
|
+
fontSize: centsLevel,
|
|
156
|
+
},
|
|
157
|
+
periodFontSizeStriked: {
|
|
158
|
+
fontSize: centsLevelStriked,
|
|
159
|
+
},
|
|
133
160
|
inlinePeriod: {
|
|
134
161
|
color: color,
|
|
135
162
|
fontSize: priceLevel,
|
|
@@ -150,8 +177,8 @@ const Price = ({ amount, mention, period, showCents, level, inverted, align, ale
|
|
|
150
177
|
paddingLeft: 4,
|
|
151
178
|
marginBottom: -3,
|
|
152
179
|
color: color,
|
|
153
|
-
fontWeight: (level == PriceLevel.
|
|
154
|
-
(level == PriceLevel.
|
|
180
|
+
fontWeight: (level == PriceLevel.SIX && "normal") ||
|
|
181
|
+
(level == PriceLevel.SEVEN && "normal") ||
|
|
155
182
|
"bold",
|
|
156
183
|
},
|
|
157
184
|
tag: {
|
|
@@ -190,36 +217,48 @@ const Price = ({ amount, mention, period, showCents, level, inverted, align, ale
|
|
|
190
217
|
: priceText
|
|
191
218
|
? priceText
|
|
192
219
|
: "NotSpecified";
|
|
193
|
-
return (React.createElement(View,
|
|
194
|
-
|
|
195
|
-
React.createElement(View, { style:
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
showCents && cents),
|
|
201
|
-
React.createElement(Text, { style: [styles.inlinePeriod, style === null || style === void 0 ? void 0 : style.inlinePeriod] },
|
|
202
|
-
mention,
|
|
203
|
-
period && ` / ${period}`))) : (React.createElement(View, { style: [{ flexDirection: "row" }] },
|
|
204
|
-
striked && React.createElement(Text, { style: [styles.striked, style === null || style === void 0 ? void 0 : style.striked] }),
|
|
205
|
-
React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
|
|
206
|
-
React.createElement(Text, { style: [styles.price, style === null || style === void 0 ? void 0 : style.price] }, `${whole}`)),
|
|
207
|
-
React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
|
|
208
|
-
React.createElement(Text, { style: [styles.cents, style === null || style === void 0 ? void 0 : style.cents] },
|
|
220
|
+
return (React.createElement(View, null,
|
|
221
|
+
overline && React.createElement(Text, { style: [styles.suptitle, style === null || style === void 0 ? void 0 : style.suptitle] }, overline),
|
|
222
|
+
React.createElement(View, { style: tagAmount ? { flexDirection: 'row', alignItems: 'center' } : {} },
|
|
223
|
+
React.createElement(View, { style: [styles.container, style === null || style === void 0 ? void 0 : style.container], accessible: !!priceAccessibilityLabel, accessibilityLabel: priceAccessibilityLabel, testID: priceTestId, ...others }, inline ? (React.createElement(View, { style: [styles.priceContainer, { flexDirection: "row" }] },
|
|
224
|
+
strikedAmount && React.createElement(Text, { style: [styles.striked, style === null || style === void 0 ? void 0 : style.striked] }),
|
|
225
|
+
React.createElement(Text, { style: [styles.price, styles.priceFontSize, styles.priceColor, style === null || style === void 0 ? void 0 : style.price] },
|
|
226
|
+
whole,
|
|
209
227
|
"\u20AC",
|
|
210
|
-
showCents &&
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
228
|
+
showCents && cents),
|
|
229
|
+
React.createElement(Text, { style: [styles.inlinePeriod, styles.priceColor, style === null || style === void 0 ? void 0 : style.inlinePeriod] },
|
|
230
|
+
mention,
|
|
231
|
+
period && ` / ${period}`))) : (React.createElement(React.Fragment, null,
|
|
232
|
+
strikedAmount && (React.createElement(View, { style: [{ flexDirection: "row" }] },
|
|
233
|
+
strikedAmount && React.createElement(Text, { style: [styles.striked, style === null || style === void 0 ? void 0 : style.striked] }),
|
|
234
|
+
React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
|
|
235
|
+
React.createElement(Text, { style: [styles.price, styles.priceFontSizeStriked, styles.priceStrikedColor, style === null || style === void 0 ? void 0 : style.price] }, `${wholeStriked}`)),
|
|
236
|
+
React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
|
|
237
|
+
React.createElement(Text, { style: [styles.cents, styles.centsFontSizeStriked, styles.priceStrikedColor, style === null || style === void 0 ? void 0 : style.cents] },
|
|
238
|
+
"\u20AC",
|
|
239
|
+
showCents && (centsStriked || "00"),
|
|
240
|
+
mention && mention),
|
|
241
|
+
React.createElement(Text, { style: [styles.period, styles.periodFontSizeStriked, styles.priceStrikedColor, style === null || style === void 0 ? void 0 : style.period] }, period && `/${period}`)))),
|
|
242
|
+
amount && strikedAmount && React.createElement(Spacer, { horizontal: true, size: SpacerSize.ONE }),
|
|
243
|
+
amount && (React.createElement(View, { style: [{ flexDirection: "row" }] },
|
|
244
|
+
React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
|
|
245
|
+
React.createElement(Text, { style: [styles.price, styles.priceFontSize, styles.priceColor, style === null || style === void 0 ? void 0 : style.price] }, `${whole}`)),
|
|
246
|
+
React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
|
|
247
|
+
React.createElement(Text, { style: [styles.cents, styles.centsFontSize, styles.priceColor, style === null || style === void 0 ? void 0 : style.cents] },
|
|
248
|
+
"\u20AC",
|
|
249
|
+
showCents && (cents || "00"),
|
|
250
|
+
mention && mention),
|
|
251
|
+
React.createElement(Text, { style: [styles.period, styles.periodFontSize, styles.priceColor, style === null || style === void 0 ? void 0 : style.period] }, period && `/${period}`))))))),
|
|
252
|
+
tagAmount && (React.createElement(View, { style: { flexDirection: 'row', alignItems: 'center', marginLeft: 5 } },
|
|
253
|
+
React.createElement(View, { style: [styles.tagArrow, style === null || style === void 0 ? void 0 : style.tagArrow] }),
|
|
254
|
+
React.createElement(View, { style: [styles.tag, style === null || style === void 0 ? void 0 : style.tag] },
|
|
255
|
+
React.createElement(TrilogyText, { style: [styles.tagTextAmount, style === null || style === void 0 ? void 0 : style.tagTextAmount], typo: [TypographyBold.TEXT_WEIGHT_SEMIBOLD, TypographyColor.TEXT_WHITE] },
|
|
256
|
+
tagAmount,
|
|
257
|
+
" ",
|
|
258
|
+
tagSymbol ? tagSymbol : '€'),
|
|
259
|
+
tagSymbol === '€' && period && React.createElement(TrilogyText, { style: [styles.tagTextPeriod, style === null || style === void 0 ? void 0 : style.tagTextPeriod], typo: [TypographyBold.TEXT_WEIGHT_NORMAL, TypographyColor.TEXT_WHITE] },
|
|
260
|
+
" /",
|
|
261
|
+
period)))))));
|
|
223
262
|
};
|
|
224
263
|
Price.displayName = ComponentName.Price;
|
|
225
264
|
export default Price;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Price.native.js","sourceRoot":"","sources":["../../../components/price/Price.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACtH,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAElD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,KAAK,GAAG,CAAC,EACE,MAAM,EACN,OAAO,EACP,MAAM,EACN,SAAS,EACT,KAAK,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,kBAAkB,EAClB,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,GAAG,MAAM,EACE,EAAe,EAAE;;IAC3C,MAAM,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC,CAAA;IAE/C,MAAM,UAAU,GAAG,MAAM,GAAG,CAAC,CAAA;IAC7B,MAAM,cAAc,GAAG,I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SAAS,CAAC,CAAC,CAAC,GAAG,CAAe;oBACjM,SAAS,KAAK,GAAG,IAAI,MAAM,IAAI,oBAAC,WAAW,IAAC,KAAK,EAAE,CAAC,MAAM,CAAC,aAAa,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,CAAC,EAAE,IAAI,EAAE,CAAC,cAAc,CAAC,kBAAkB,EAAE,eAAe,CAAC,UAAU,CAAC;;wBAAK,MAAM,CAAe,CAC5L,CACF,CACR,CACI,CACF,CACR,CAAA;AACH,CAAC,CAAA;AAED,KAAK,CAAC,WAAW,GAAG,aAAa,CAAC,KAAK,CAAA;AAEvC,eAAe,KAAK,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare enum PriceLevel {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
ONE = 1,
|
|
3
|
+
TWO = 2,
|
|
4
|
+
THREE = 3,
|
|
5
|
+
FOUR = 4,
|
|
6
|
+
FIVE = 5,
|
|
7
|
+
SIX = 6,
|
|
8
|
+
SEVEN = 7
|
|
9
9
|
}
|
|
10
|
-
export type PriceLevelValues =
|
|
10
|
+
export type PriceLevelValues = PriceLevel;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export var PriceLevel;
|
|
2
2
|
(function (PriceLevel) {
|
|
3
|
-
PriceLevel[PriceLevel["
|
|
4
|
-
PriceLevel[PriceLevel["
|
|
5
|
-
PriceLevel[PriceLevel["
|
|
6
|
-
PriceLevel[PriceLevel["
|
|
7
|
-
PriceLevel[PriceLevel["
|
|
8
|
-
PriceLevel[PriceLevel["
|
|
9
|
-
PriceLevel[PriceLevel["
|
|
3
|
+
PriceLevel[PriceLevel["ONE"] = 1] = "ONE";
|
|
4
|
+
PriceLevel[PriceLevel["TWO"] = 2] = "TWO";
|
|
5
|
+
PriceLevel[PriceLevel["THREE"] = 3] = "THREE";
|
|
6
|
+
PriceLevel[PriceLevel["FOUR"] = 4] = "FOUR";
|
|
7
|
+
PriceLevel[PriceLevel["FIVE"] = 5] = "FIVE";
|
|
8
|
+
PriceLevel[PriceLevel["SIX"] = 6] = "SIX";
|
|
9
|
+
PriceLevel[PriceLevel["SEVEN"] = 7] = "SEVEN";
|
|
10
10
|
})(PriceLevel || (PriceLevel = {}));
|
|
11
11
|
//# sourceMappingURL=PriceEnum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceEnum.js","sourceRoot":"","sources":["../../../components/price/PriceEnum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAQX;AARD,WAAY,UAAU;IACpB
|
|
1
|
+
{"version":3,"file":"PriceEnum.js","sourceRoot":"","sources":["../../../components/price/PriceEnum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,yCAAO,CAAA;IACP,yCAAO,CAAA;IACP,6CAAS,CAAA;IACT,2CAAQ,CAAA;IACR,2CAAQ,CAAA;IACR,yCAAO,CAAA;IACP,6CAAS,CAAA;AACX,CAAC,EARW,UAAU,KAAV,UAAU,QAQrB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import { Invertable } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { Accessibility, AlignableProps } from '../../objects';
|
|
3
|
+
import { Invertable } from '../../objects/facets/Invertable';
|
|
4
|
+
import { Styles } from '../../types';
|
|
5
|
+
import { PriceLevel, PriceLevelValues } from './PriceEnum';
|
|
6
6
|
/**
|
|
7
7
|
* Price Interface
|
|
8
8
|
*/
|
|
9
|
-
export interface PriceProps extends Invertable, Accessibility, AlignableProps
|
|
9
|
+
export interface PriceProps extends Invertable, Accessibility, AlignableProps {
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
amount: number;
|
|
12
12
|
mention?: string;
|
|
@@ -15,8 +15,8 @@ export interface PriceProps extends Invertable, Accessibility, AlignableProps, A
|
|
|
15
15
|
inline?: boolean;
|
|
16
16
|
level?: PriceLevel | PriceLevelValues;
|
|
17
17
|
className?: string;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
strikedAmount?: number;
|
|
19
|
+
overline?: string;
|
|
20
20
|
style?: Styles;
|
|
21
21
|
tagAmount?: number;
|
|
22
22
|
tagSymbol?: '€' | '%' | string;
|