@trilogy-ds/react 0.0.1-beta-112 → 0.0.1-beta-115
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 +2 -1
- package/lib/components/accordion/body/AccordionBody.js +2 -1
- package/lib/components/accordion/body/AccordionBody.js.map +1 -1
- package/lib/components/accordion/body/AccordionBody.native.d.ts +1 -1
- package/lib/components/accordion/body/AccordionBody.native.js +1 -1
- package/lib/components/accordion/body/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 +7 -7
- package/lib/components/alert/Alert.js +14 -14
- package/lib/components/alert/Alert.js.map +1 -1
- package/lib/components/alert/Alert.native.d.ts +7 -6
- package/lib/components/alert/Alert.native.js +14 -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 +22 -12
- package/lib/components/autocomplete/AutoComplete.js.map +1 -0
- package/lib/components/autocomplete/AutoComplete.native.d.ts +25 -0
- package/lib/components/{input/autocomplete → autocomplete}/AutoComplete.native.js +24 -3
- 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 +4 -3
- package/lib/components/badge/Badge.js +9 -12
- package/lib/components/badge/Badge.js.map +1 -1
- package/lib/components/badge/Badge.native.d.ts +4 -3
- package/lib/components/badge/Badge.native.js +9 -11
- 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 +3 -4
- package/lib/components/badge/BadgePropsDefaults.js +83 -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 +13 -14
- 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/BoxFooter.d.ts +2 -1
- package/lib/components/box/footer/BoxFooter.js +2 -1
- package/lib/components/box/footer/BoxFooter.js.map +1 -1
- package/lib/components/box/footer/BoxFooter.native.d.ts +1 -1
- package/lib/components/box/footer/BoxFooter.native.js +1 -1
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +87 -0
- package/lib/components/box/header/BoxHeader.d.ts +3 -1
- package/lib/components/box/header/BoxHeader.js +3 -1
- package/lib/components/box/header/BoxHeader.js.map +1 -1
- package/lib/components/box/header/BoxHeader.native.d.ts +1 -1
- package/lib/components/box/header/BoxHeader.native.js +1 -1
- package/lib/components/box/header/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/BoxItem.d.ts +2 -1
- package/lib/components/box/item/BoxItem.js +2 -1
- package/lib/components/box/item/BoxItem.js.map +1 -1
- package/lib/components/box/item/BoxItem.native.d.ts +1 -1
- package/lib/components/box/item/BoxItem.native.js +1 -1
- package/lib/components/box/item/BoxItemPropsDefaults.js +35 -0
- package/lib/components/box/table-container/BoxTableContainer.d.ts +3 -1
- package/lib/components/box/table-container/BoxTableContainer.js +3 -1
- package/lib/components/box/table-container/BoxTableContainer.js.map +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.js +1 -1
- package/lib/components/box/table-container/BoxTableContainerPropsDefaults.js +45 -0
- package/lib/components/breadcrumb/Breadcrumb.d.ts +3 -2
- package/lib/components/breadcrumb/Breadcrumb.js +5 -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/BreadcrumbItem.d.ts +1 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +1 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.js.map +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +1 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +1 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.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.d.ts +1 -1
- package/lib/components/button/Button.js +1 -1
- package/lib/components/button/Button.native.js +10 -10
- package/lib/components/button/Button.native.js.map +1 -1
- package/lib/components/button/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 +10 -3
- package/lib/components/card/Card.js +13 -7
- package/lib/components/card/Card.js.map +1 -1
- package/lib/components/card/Card.native.d.ts +2 -3
- package/lib/components/card/Card.native.js +7 -8
- package/lib/components/card/Card.native.js.map +1 -1
- package/lib/components/card/CardPropsDefaults.js +220 -0
- package/lib/components/card/content/CardContent.d.ts +1 -0
- package/lib/components/card/content/CardContent.js +1 -0
- package/lib/components/card/content/CardContent.js.map +1 -1
- package/lib/components/card/content/CardContent.native.d.ts +0 -1
- package/lib/components/card/content/CardContent.native.js +0 -1
- 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 +2 -2
- package/lib/components/card/image/CardImage.js +2 -2
- package/lib/components/card/image/CardImage.native.d.ts +1 -1
- package/lib/components/card/image/CardImage.native.js +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.d.ts +3 -0
- package/lib/components/checkbox/Checkbox.js +3 -0
- package/lib/components/checkbox/Checkbox.js.map +1 -1
- package/lib/components/checkbox/Checkbox.native.d.ts +5 -0
- package/lib/components/checkbox/Checkbox.native.js +13 -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 +2 -2
- package/lib/components/chips/Chips.js +5 -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 +5 -7
- package/lib/components/columns/Columns.js +9 -10
- package/lib/components/columns/Columns.js.map +1 -1
- package/lib/components/columns/Columns.native.d.ts +5 -5
- package/lib/components/columns/Columns.native.js +63 -49
- package/lib/components/columns/Columns.native.js.map +1 -1
- package/lib/components/columns/ColumnsProps.d.ts +6 -6
- package/lib/components/columns/ColumnsPropsDefaults.js +124 -0
- package/lib/components/columns/ColumnsTypes.d.ts +3 -0
- package/lib/components/columns/ColumnsTypes.js +1 -1
- package/lib/components/columns/ColumnsTypes.js.map +1 -1
- 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 +3 -3
- package/lib/components/columns/item/ColumnsItem.js +6 -5
- package/lib/components/columns/item/ColumnsItem.js.map +1 -1
- package/lib/components/columns/item/ColumnsItem.native.d.ts +4 -2
- package/lib/components/columns/item/ColumnsItem.native.js +12 -11
- package/lib/components/columns/item/ColumnsItem.native.js.map +1 -1
- package/lib/components/columns/item/ColumnsItemProps.d.ts +1 -1
- package/lib/components/columns/item/ColumnsItemPropsDefaults.js +323 -0
- package/lib/components/container/Container.d.ts +7 -2
- package/lib/components/container/Container.js +8 -3
- package/lib/components/container/Container.js.map +1 -1
- package/lib/components/container/Container.native.d.ts +4 -2
- package/lib/components/container/Container.native.js +10 -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 +4 -2
- package/lib/components/countdown/Countdown.js +5 -3
- 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.d.ts +1 -1
- package/lib/components/divider/Divider.js +1 -1
- package/lib/components/divider/Divider.native.d.ts +1 -1
- package/lib/components/divider/Divider.native.js +3 -3
- package/lib/components/divider/Divider.native.js.map +1 -1
- package/lib/components/divider/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/Fab.d.ts +1 -0
- package/lib/components/fab/Fab.js +1 -0
- package/lib/components/fab/Fab.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 +5 -1
- package/lib/components/hero/Hero.js +6 -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 +8 -8
- 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.d.ts +4 -2
- package/lib/components/icon/Icon.js +5 -3
- package/lib/components/icon/Icon.js.map +1 -1
- package/lib/components/icon/Icon.native.d.ts +1 -1
- package/lib/components/icon/Icon.native.js +2 -2
- package/lib/components/icon/Icon.native.js.map +1 -1
- package/lib/components/icon/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 +49 -42
- 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.d.ts +2 -0
- package/lib/components/link/Link.js +4 -2
- package/lib/components/link/Link.js.map +1 -1
- package/lib/components/link/Link.native.d.ts +2 -1
- package/lib/components/link/Link.native.js +12 -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 +6 -4
- package/lib/components/list/List.js +8 -5
- package/lib/components/list/List.js.map +1 -1
- package/lib/components/list/List.native.d.ts +4 -0
- package/lib/components/list/List.native.js +4 -0
- package/lib/components/list/List.native.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.d.ts +3 -1
- package/lib/components/list/item/ListItem.js +3 -1
- package/lib/components/list/item/ListItem.js.map +1 -1
- package/lib/components/list/item/ListItem.native.d.ts +11 -0
- package/lib/components/list/item/ListItem.native.js +12 -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/ListItemDescription.d.ts +3 -2
- package/lib/components/list/item/description/ListItemDescription.js +3 -2
- package/lib/components/list/item/description/ListItemDescription.js.map +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +4 -0
- package/lib/components/list/item/description/ListItemDescription.native.js +4 -0
- package/lib/components/list/item/description/ListItemDescription.native.js.map +1 -1
- 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 +6 -6
- package/lib/components/modal/Modal.js +19 -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/ModalFooter.d.ts +3 -2
- package/lib/components/modal/footer/ModalFooter.js +3 -2
- package/lib/components/modal/footer/ModalFooter.js.map +1 -1
- package/lib/components/modal/footer/ModalFooter.native.d.ts +4 -0
- package/lib/components/modal/footer/ModalFooter.native.js +4 -0
- package/lib/components/modal/footer/ModalFooter.native.js.map +1 -1
- 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.d.ts +2 -1
- package/lib/components/modal/title/ModalTitle.js +3 -2
- package/lib/components/modal/title/ModalTitle.js.map +1 -1
- package/lib/components/modal/title/ModalTitle.native.d.ts +6 -0
- package/lib/components/modal/title/ModalTitle.native.js +6 -0
- package/lib/components/modal/title/ModalTitle.native.js.map +1 -1
- package/lib/components/modal/title/ModalTitlePropsDefaults.js +92 -0
- package/lib/components/otp/Otp.d.ts +4 -1
- package/lib/components/otp/Otp.js +81 -87
- package/lib/components/otp/Otp.js.map +1 -1
- package/lib/components/otp/Otp.native.d.ts +2 -0
- package/lib/components/otp/Otp.native.js +3 -1
- 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/Pagination.d.ts +1 -0
- package/lib/components/pagination/Pagination.js +6 -6
- package/lib/components/pagination/Pagination.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/Popover.d.ts +3 -1
- package/lib/components/popover/Popover.js +3 -1
- package/lib/components/popover/Popover.js.map +1 -1
- package/lib/components/popover/Popover.native.d.ts +0 -2
- package/lib/components/popover/Popover.native.js +0 -2
- package/lib/components/popover/Popover.native.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 +4 -4
- package/lib/components/price/Price.js +29 -10
- package/lib/components/price/Price.js.map +1 -1
- package/lib/components/price/Price.native.d.ts +3 -3
- package/lib/components/price/Price.native.js +129 -88
- 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/ProductTour.d.ts +3 -3
- package/lib/components/product-tour/ProductTour.js +3 -3
- 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 +6 -6
- package/lib/components/progress/item/ProgressItem.js +10 -9
- package/lib/components/progress/item/ProgressItem.js.map +1 -1
- package/lib/components/progress/item/ProgressItem.native.d.ts +2 -3
- package/lib/components/progress/item/ProgressItem.native.js +2 -3
- 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.d.ts +18 -0
- package/lib/components/progress/radial/ProgressRadial.js +20 -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.d.ts +7 -2
- package/lib/components/radio/Radio.js +7 -2
- package/lib/components/radio/Radio.js.map +1 -1
- package/lib/components/radio/Radio.native.d.ts +9 -7
- package/lib/components/radio/Radio.native.js +21 -18
- 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.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.d.ts +6 -3
- package/lib/components/range/Range.js +7 -4
- package/lib/components/range/Range.js.map +1 -1
- package/lib/components/range/Range.native.d.ts +3 -0
- package/lib/components/range/Range.native.js +3 -0
- package/lib/components/range/Range.native.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 +6 -2
- package/lib/components/rows/Rows.native.js +5 -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/ScrollView.d.ts +3 -1
- package/lib/components/scroll-view/ScrollView.js +3 -1
- package/lib/components/scroll-view/ScrollView.js.map +1 -1
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +127 -0
- package/lib/components/section/Section.d.ts +10 -5
- package/lib/components/section/Section.js +14 -8
- package/lib/components/section/Section.js.map +1 -1
- package/lib/components/section/Section.native.d.ts +6 -6
- package/lib/components/section/Section.native.js +8 -8
- package/lib/components/section/Section.native.js.map +1 -1
- package/lib/components/section/SectionProps.d.ts +2 -2
- package/lib/components/section/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.d.ts +4 -1
- package/lib/components/segment-control/SegmentControl.js +4 -1
- package/lib/components/segment-control/SegmentControl.js.map +1 -1
- package/lib/components/segment-control/SegmentControl.native.d.ts +4 -4
- package/lib/components/segment-control/SegmentControl.native.js +5 -5
- package/lib/components/segment-control/SegmentControl.native.js.map +1 -1
- package/lib/components/segment-control/SegmentControlProps.d.ts +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.d.ts +2 -0
- package/lib/components/segment-control/item/SegmentControlItem.js +2 -0
- package/lib/components/segment-control/item/SegmentControlItem.js.map +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.js +2 -2
- package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
- package/lib/components/segment-control/item/SegmentControlItemPropsDefaults.js +55 -0
- package/lib/components/select/ISelectOptionDefaults.js +23 -0
- package/lib/components/select/Select.d.ts +3 -3
- package/lib/components/select/Select.js +3 -3
- package/lib/components/select/Select.native.d.ts +4 -1
- package/lib/components/select/Select.native.js +4 -1
- package/lib/components/select/Select.native.js.map +1 -1
- 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 +18 -14
- package/lib/components/select/option/SelectOption.native.js.map +1 -1
- package/lib/components/select/option/SelectOptionPropsDefaults.js +134 -0
- package/lib/components/select/web/SelectDynamic.js +3 -2
- package/lib/components/select/web/SelectDynamic.js.map +1 -1
- package/lib/components/selector/Selector.d.ts +7 -0
- package/lib/components/selector/Selector.js +7 -0
- package/lib/components/selector/Selector.js.map +1 -1
- package/lib/components/selector/Selector.native.d.ts +7 -3
- package/lib/components/selector/Selector.native.js +7 -3
- package/lib/components/selector/Selector.native.js.map +1 -1
- package/lib/components/selector/SelectorEndDefaults.js +10 -0
- package/lib/components/selector/SelectorPropsDefaults.js +128 -0
- package/lib/components/selector/item/SelectorItem.d.ts +6 -1
- package/lib/components/selector/item/SelectorItem.js +6 -1
- package/lib/components/selector/item/SelectorItem.js.map +1 -1
- package/lib/components/selector/item/SelectorItem.native.d.ts +4 -0
- package/lib/components/selector/item/SelectorItem.native.js +5 -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 +12 -7
- package/lib/components/spacer/SpacerEnum.js +12 -7
- package/lib/components/spacer/SpacerEnum.js.map +1 -1
- package/lib/components/spacer/SpacerProps.d.ts +2 -2
- package/lib/components/spacer/SpacerPropsDefaults.js +27 -0
- package/lib/components/stepper/Stepper.d.ts +4 -3
- package/lib/components/stepper/Stepper.js +9 -6
- 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 +8 -5
- package/lib/components/stepper/step/StepperStep.js +10 -6
- package/lib/components/stepper/step/StepperStep.js.map +1 -1
- package/lib/components/stepper/step/StepperStep.native.d.ts +2 -3
- package/lib/components/stepper/step/StepperStep.native.js +3 -4
- 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 +3 -2
- package/lib/components/sticker/Sticker.js +4 -3
- package/lib/components/sticker/Sticker.js.map +1 -1
- package/lib/components/sticker/Sticker.native.d.ts +3 -3
- package/lib/components/sticker/Sticker.native.js +3 -3
- package/lib/components/sticker/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 +5 -5
- package/lib/components/switch/Switch.js +7 -7
- package/lib/components/switch/Switch.js.map +1 -1
- package/lib/components/switch/Switch.native.d.ts +3 -3
- package/lib/components/switch/Switch.native.js +7 -8
- 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 +7 -5
- package/lib/components/tabs/Tabs.js +10 -7
- package/lib/components/tabs/Tabs.js.map +1 -1
- package/lib/components/tabs/Tabs.native.d.ts +2 -1
- package/lib/components/tabs/Tabs.native.js +2 -1
- package/lib/components/tabs/Tabs.native.js.map +1 -1
- package/lib/components/tabs/TabsProps.d.ts +0 -4
- package/lib/components/tabs/TabsPropsDefaults.js +144 -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 +6 -5
- package/lib/components/tabs/item/TabsItem.js +9 -7
- package/lib/components/tabs/item/TabsItem.js.map +1 -1
- package/lib/components/tabs/item/TabsItem.native.d.ts +1 -0
- package/lib/components/tabs/item/TabsItem.native.js +2 -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.d.ts +6 -4
- package/lib/components/tag/Tag.js +15 -32
- package/lib/components/tag/Tag.js.map +1 -1
- package/lib/components/tag/Tag.native.d.ts +8 -10
- package/lib/components/tag/Tag.native.js +27 -57
- package/lib/components/tag/Tag.native.js.map +1 -1
- package/lib/components/tag/TagClickEventDefaults.js +1 -0
- package/lib/components/tag/TagProps.d.ts +0 -4
- package/lib/components/tag/TagPropsDefaults.js +104 -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 +3 -3
- package/lib/components/tag/list/TagList.js +5 -4
- 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 +12 -4
- package/lib/components/textarea/Textarea.js +20 -7
- package/lib/components/textarea/Textarea.js.map +1 -1
- package/lib/components/textarea/Textarea.native.d.ts +2 -2
- package/lib/components/textarea/Textarea.native.js +67 -51
- 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 -4
- 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.d.ts +2 -1
- package/lib/components/timeline/content/TimelineContent.js +3 -2
- package/lib/components/timeline/content/TimelineContent.js.map +1 -1
- package/lib/components/timeline/content/TimelineContent.native.d.ts +3 -3
- package/lib/components/timeline/content/TimelineContent.native.js +3 -3
- package/lib/components/timeline/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 +4 -3
- package/lib/components/timeline/item/TimelineItem.js +6 -4
- package/lib/components/timeline/item/TimelineItem.js.map +1 -1
- package/lib/components/timeline/item/TimelineItem.native.d.ts +8 -4
- package/lib/components/timeline/item/TimelineItem.native.js +7 -3
- package/lib/components/timeline/item/TimelineItem.native.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.d.ts +4 -3
- package/lib/components/timeline/marker/TimelineMarker.js +4 -3
- package/lib/components/timeline/marker/TimelineMarker.js.map +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +3 -1
- package/lib/components/timeline/marker/TimelineMarker.native.js +10 -8
- 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.d.ts +4 -2
- package/lib/components/title/Title.js +6 -4
- package/lib/components/title/Title.js.map +1 -1
- package/lib/components/title/Title.native.d.ts +7 -5
- package/lib/components/title/Title.native.js +17 -14
- 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 +3 -2
- package/lib/components/view/View.js +4 -3
- package/lib/components/view/View.js.map +1 -1
- package/lib/components/view/View.native.d.ts +7 -8
- package/lib/components/view/View.native.js +8 -9
- package/lib/components/view/View.native.js.map +1 -1
- package/lib/components/view/ViewProps.d.ts +2 -1
- package/lib/components/view/ViewProps.js +1 -0
- package/lib/components/view/ViewProps.js.map +1 -1
- package/lib/components/view/ViewPropsDefaults.js +223 -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/Justifiable.d.ts +1 -1
- package/lib/objects/facets/Status.d.ts +29 -2
- package/lib/objects/facets/Status.js +14 -14
- package/lib/objects/facets/Status.js.map +1 -1
- package/lib/objects/facets/Variant.js +1 -1
- package/lib/objects/facets/Variant.js.map +1 -1
- package/lib/objects/facets/index.d.ts +1 -1
- package/lib/objects/facets/index.js +1 -1
- package/lib/objects/facets/index.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/lib/components/accordion/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 -14
- 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 -31
- 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 -18
- 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 -10
- 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 -21
- 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 -12
- 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.d.ts +0 -4
- 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 -17
- 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 -13
- 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 -12
- 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 -18
- 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 -16
- 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 -10
- 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 -12
- 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 -16
- 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 -13
- 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 -12
- 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 -34
- 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 -10
- 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
|
@@ -0,0 +1,380 @@
|
|
|
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
|
+
"disabled": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"values": [
|
|
19
|
+
"undefined",
|
|
20
|
+
"false",
|
|
21
|
+
"true"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"markup": {
|
|
25
|
+
"type": "enum",
|
|
26
|
+
"values": [
|
|
27
|
+
"undefined",
|
|
28
|
+
"a",
|
|
29
|
+
"button",
|
|
30
|
+
"input",
|
|
31
|
+
"button",
|
|
32
|
+
"input",
|
|
33
|
+
"a"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"href": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"values": [
|
|
39
|
+
"undefined",
|
|
40
|
+
"string"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"className": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"values": [
|
|
46
|
+
"undefined",
|
|
47
|
+
"string"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"to": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"values": [
|
|
53
|
+
"undefined",
|
|
54
|
+
"string"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"id": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"values": [
|
|
60
|
+
"undefined",
|
|
61
|
+
"string"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"loading": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"values": [
|
|
67
|
+
"undefined",
|
|
68
|
+
"false",
|
|
69
|
+
"true"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"name": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"values": [
|
|
75
|
+
"undefined",
|
|
76
|
+
"string"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"routerLink": {
|
|
80
|
+
"type": "function",
|
|
81
|
+
"values": [
|
|
82
|
+
"undefined",
|
|
83
|
+
"symbol",
|
|
84
|
+
"object",
|
|
85
|
+
"text",
|
|
86
|
+
"search",
|
|
87
|
+
"a",
|
|
88
|
+
"abbr",
|
|
89
|
+
"address",
|
|
90
|
+
"area",
|
|
91
|
+
"article",
|
|
92
|
+
"aside",
|
|
93
|
+
"audio",
|
|
94
|
+
"b",
|
|
95
|
+
"base",
|
|
96
|
+
"bdi",
|
|
97
|
+
"bdo",
|
|
98
|
+
"big",
|
|
99
|
+
"blockquote",
|
|
100
|
+
"body",
|
|
101
|
+
"br",
|
|
102
|
+
"button",
|
|
103
|
+
"canvas",
|
|
104
|
+
"caption",
|
|
105
|
+
"center",
|
|
106
|
+
"cite",
|
|
107
|
+
"code",
|
|
108
|
+
"col",
|
|
109
|
+
"colgroup",
|
|
110
|
+
"data",
|
|
111
|
+
"datalist",
|
|
112
|
+
"dd",
|
|
113
|
+
"del",
|
|
114
|
+
"details",
|
|
115
|
+
"dfn",
|
|
116
|
+
"dialog",
|
|
117
|
+
"div",
|
|
118
|
+
"dl",
|
|
119
|
+
"dt",
|
|
120
|
+
"em",
|
|
121
|
+
"embed",
|
|
122
|
+
"fieldset",
|
|
123
|
+
"figcaption",
|
|
124
|
+
"figure",
|
|
125
|
+
"footer",
|
|
126
|
+
"form",
|
|
127
|
+
"h1",
|
|
128
|
+
"h2",
|
|
129
|
+
"h3",
|
|
130
|
+
"h4",
|
|
131
|
+
"h5",
|
|
132
|
+
"h6",
|
|
133
|
+
"head",
|
|
134
|
+
"header",
|
|
135
|
+
"hgroup",
|
|
136
|
+
"hr",
|
|
137
|
+
"html",
|
|
138
|
+
"i",
|
|
139
|
+
"iframe",
|
|
140
|
+
"img",
|
|
141
|
+
"input",
|
|
142
|
+
"ins",
|
|
143
|
+
"kbd",
|
|
144
|
+
"keygen",
|
|
145
|
+
"label",
|
|
146
|
+
"legend",
|
|
147
|
+
"li",
|
|
148
|
+
"link",
|
|
149
|
+
"main",
|
|
150
|
+
"map",
|
|
151
|
+
"mark",
|
|
152
|
+
"menu",
|
|
153
|
+
"menuitem",
|
|
154
|
+
"meta",
|
|
155
|
+
"meter",
|
|
156
|
+
"nav",
|
|
157
|
+
"noindex",
|
|
158
|
+
"noscript",
|
|
159
|
+
"ol",
|
|
160
|
+
"optgroup",
|
|
161
|
+
"option",
|
|
162
|
+
"output",
|
|
163
|
+
"p",
|
|
164
|
+
"param",
|
|
165
|
+
"picture",
|
|
166
|
+
"pre",
|
|
167
|
+
"progress",
|
|
168
|
+
"q",
|
|
169
|
+
"rp",
|
|
170
|
+
"rt",
|
|
171
|
+
"ruby",
|
|
172
|
+
"s",
|
|
173
|
+
"samp",
|
|
174
|
+
"slot",
|
|
175
|
+
"script",
|
|
176
|
+
"section",
|
|
177
|
+
"select",
|
|
178
|
+
"small",
|
|
179
|
+
"source",
|
|
180
|
+
"span",
|
|
181
|
+
"strong",
|
|
182
|
+
"style",
|
|
183
|
+
"sub",
|
|
184
|
+
"summary",
|
|
185
|
+
"sup",
|
|
186
|
+
"table",
|
|
187
|
+
"template",
|
|
188
|
+
"tbody",
|
|
189
|
+
"td",
|
|
190
|
+
"textarea",
|
|
191
|
+
"tfoot",
|
|
192
|
+
"th",
|
|
193
|
+
"thead",
|
|
194
|
+
"time",
|
|
195
|
+
"title",
|
|
196
|
+
"tr",
|
|
197
|
+
"track",
|
|
198
|
+
"u",
|
|
199
|
+
"ul",
|
|
200
|
+
"var",
|
|
201
|
+
"video",
|
|
202
|
+
"wbr",
|
|
203
|
+
"webview",
|
|
204
|
+
"svg",
|
|
205
|
+
"animate",
|
|
206
|
+
"animateMotion",
|
|
207
|
+
"animateTransform",
|
|
208
|
+
"circle",
|
|
209
|
+
"clipPath",
|
|
210
|
+
"defs",
|
|
211
|
+
"desc",
|
|
212
|
+
"ellipse",
|
|
213
|
+
"feBlend",
|
|
214
|
+
"feColorMatrix",
|
|
215
|
+
"feComponentTransfer",
|
|
216
|
+
"feComposite",
|
|
217
|
+
"feConvolveMatrix",
|
|
218
|
+
"feDiffuseLighting",
|
|
219
|
+
"feDisplacementMap",
|
|
220
|
+
"feDistantLight",
|
|
221
|
+
"feDropShadow",
|
|
222
|
+
"feFlood",
|
|
223
|
+
"feFuncA",
|
|
224
|
+
"feFuncB",
|
|
225
|
+
"feFuncG",
|
|
226
|
+
"feFuncR",
|
|
227
|
+
"feGaussianBlur",
|
|
228
|
+
"feImage",
|
|
229
|
+
"feMerge",
|
|
230
|
+
"feMergeNode",
|
|
231
|
+
"feMorphology",
|
|
232
|
+
"feOffset",
|
|
233
|
+
"fePointLight",
|
|
234
|
+
"feSpecularLighting",
|
|
235
|
+
"feSpotLight",
|
|
236
|
+
"feTile",
|
|
237
|
+
"feTurbulence",
|
|
238
|
+
"filter",
|
|
239
|
+
"foreignObject",
|
|
240
|
+
"g",
|
|
241
|
+
"image",
|
|
242
|
+
"line",
|
|
243
|
+
"linearGradient",
|
|
244
|
+
"marker",
|
|
245
|
+
"mask",
|
|
246
|
+
"metadata",
|
|
247
|
+
"mpath",
|
|
248
|
+
"path",
|
|
249
|
+
"pattern",
|
|
250
|
+
"polygon",
|
|
251
|
+
"polyline",
|
|
252
|
+
"radialGradient",
|
|
253
|
+
"rect",
|
|
254
|
+
"set",
|
|
255
|
+
"stop",
|
|
256
|
+
"switch",
|
|
257
|
+
"textPath",
|
|
258
|
+
"tspan",
|
|
259
|
+
"use",
|
|
260
|
+
"view",
|
|
261
|
+
"ComponentClass<any, any>",
|
|
262
|
+
"FunctionComponent<any>"
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"type": {
|
|
266
|
+
"type": "enum",
|
|
267
|
+
"values": [
|
|
268
|
+
"undefined",
|
|
269
|
+
"button",
|
|
270
|
+
"button",
|
|
271
|
+
"reset",
|
|
272
|
+
"submit",
|
|
273
|
+
"reset",
|
|
274
|
+
"submit"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"iconName": {
|
|
278
|
+
"type": "enum",
|
|
279
|
+
"values": [
|
|
280
|
+
"undefined",
|
|
281
|
+
"tri-alert",
|
|
282
|
+
"tri-arrow-down",
|
|
283
|
+
"tri-arrow-left",
|
|
284
|
+
"tri-arrow-right",
|
|
285
|
+
"tri-arrow-up",
|
|
286
|
+
"tri-bell",
|
|
287
|
+
"tri-check-circle",
|
|
288
|
+
"tri-check",
|
|
289
|
+
"tri-exclamation-circle",
|
|
290
|
+
"tri-eye-slash",
|
|
291
|
+
"tri-eye",
|
|
292
|
+
"tri-infos-circle",
|
|
293
|
+
"tri-search",
|
|
294
|
+
"tri-times",
|
|
295
|
+
"tri-trash",
|
|
296
|
+
"tri-picto-faciliti",
|
|
297
|
+
"tri-picto-handicapzero",
|
|
298
|
+
"tri-picto-la-fibre",
|
|
299
|
+
"tri-picto-payment-americanexpress",
|
|
300
|
+
"tri-picto-payment-cb",
|
|
301
|
+
"tri-picto-payment-mastercard",
|
|
302
|
+
"tri-picto-payment-paypal",
|
|
303
|
+
"tri-picto-payment-visa",
|
|
304
|
+
"tri-alert",
|
|
305
|
+
"tri-arrow-down",
|
|
306
|
+
"tri-arrow-left",
|
|
307
|
+
"tri-arrow-right",
|
|
308
|
+
"tri-arrow-up",
|
|
309
|
+
"tri-bell",
|
|
310
|
+
"tri-check-circle",
|
|
311
|
+
"tri-check",
|
|
312
|
+
"tri-exclamation-circle",
|
|
313
|
+
"tri-eye-slash",
|
|
314
|
+
"tri-eye",
|
|
315
|
+
"tri-infos-circle",
|
|
316
|
+
"tri-search",
|
|
317
|
+
"tri-times",
|
|
318
|
+
"tri-trash",
|
|
319
|
+
"tri-picto-faciliti",
|
|
320
|
+
"tri-picto-handicapzero",
|
|
321
|
+
"tri-picto-la-fibre",
|
|
322
|
+
"tri-picto-payment-americanexpress",
|
|
323
|
+
"tri-picto-payment-cb",
|
|
324
|
+
"tri-picto-payment-mastercard",
|
|
325
|
+
"tri-picto-payment-paypal",
|
|
326
|
+
"tri-picto-payment-visa"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
"variant": {
|
|
330
|
+
"type": "enum",
|
|
331
|
+
"values": [
|
|
332
|
+
"undefined",
|
|
333
|
+
"CONVERSION",
|
|
334
|
+
"PRIMARY",
|
|
335
|
+
"SECONDARY",
|
|
336
|
+
"GHOST",
|
|
337
|
+
"CONVERSION",
|
|
338
|
+
"PRIMARY",
|
|
339
|
+
"SECONDARY",
|
|
340
|
+
"GHOST"
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
"testId": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"values": [
|
|
346
|
+
"undefined",
|
|
347
|
+
"string"
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
"accessibilityLabel": {
|
|
351
|
+
"type": "string",
|
|
352
|
+
"values": [
|
|
353
|
+
"undefined",
|
|
354
|
+
"string"
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
"accessibilityActivate": {
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"values": [
|
|
360
|
+
"undefined",
|
|
361
|
+
"false",
|
|
362
|
+
"true"
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"fullwidth": {
|
|
366
|
+
"type": "boolean",
|
|
367
|
+
"values": [
|
|
368
|
+
"undefined",
|
|
369
|
+
"false",
|
|
370
|
+
"true"
|
|
371
|
+
]
|
|
372
|
+
},
|
|
373
|
+
"onClick": {
|
|
374
|
+
"type": "function",
|
|
375
|
+
"values": [
|
|
376
|
+
"undefined",
|
|
377
|
+
"ClickEvent"
|
|
378
|
+
]
|
|
379
|
+
}
|
|
380
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAEnC,cAAc,cAAc,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -3,12 +3,12 @@ import { AutoLayoutWrapper } from "../../../components/autolayout";
|
|
|
3
3
|
import { SpacerSize } from "../../../components/spacer";
|
|
4
4
|
import { SpacingMatrixMode } from "../../../components/autolayout/SpacingMatrix";
|
|
5
5
|
import { ComponentName } from "../../../components/enumsComponentsName";
|
|
6
|
-
const {
|
|
6
|
+
const { THREE, TWO } = SpacerSize;
|
|
7
7
|
const { INSERT_SPACE_BETWEEN } = SpacingMatrixMode;
|
|
8
8
|
const SPACING_MATRIX = [
|
|
9
|
-
[INSERT_SPACE_BETWEEN, "Button", "Divider",
|
|
10
|
-
[INSERT_SPACE_BETWEEN, "Divider", "Button",
|
|
11
|
-
[INSERT_SPACE_BETWEEN, "Button", "Button",
|
|
9
|
+
[INSERT_SPACE_BETWEEN, "Button", "Divider", TWO],
|
|
10
|
+
[INSERT_SPACE_BETWEEN, "Divider", "Button", TWO],
|
|
11
|
+
[INSERT_SPACE_BETWEEN, "Button", "Button", THREE],
|
|
12
12
|
];
|
|
13
13
|
/**
|
|
14
14
|
* ButtonList Native Component
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonList.native.js","sourceRoot":"","sources":["../../../../components/button/list/ButtonList.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAA;AAKzE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"ButtonList.native.js","sourceRoot":"","sources":["../../../../components/button/list/ButtonList.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAA;AAKzE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,UAAU,CAAA;AACjC,MAAM,EAAE,oBAAoB,EAAE,GAAG,iBAAiB,CAAA;AAElD,MAAM,cAAc,GAAkB;IACpC,CAAC,oBAAoB,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,CAAC;IAChD,CAAC,oBAAoB,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,CAAC;IAChD,CAAC,oBAAoB,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC;CAClD,CAAA;AAED;;;;GAIG;AAEH;;GAEG;AACH,MAAM,UAAU,GAAG,CAAC,EAClB,UAAU,GAAG,cAAc,EAC3B,QAAQ,GACQ,EAAe,EAAE;IACjC,OAAO,oBAAC,iBAAiB,OAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAI,CAAA;AAC5D,CAAC,CAAA;AAED,UAAU,CAAC,WAAW,GAAG,aAAa,CAAC,UAAU,CAAA;AAEjD,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"children": {
|
|
3
|
+
"type": "react",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"JSXElementConstructor<any>>",
|
|
7
|
+
"ButtonListChildrenTypes[]"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"autolayout": {
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"values": [
|
|
13
|
+
"undefined",
|
|
14
|
+
"false",
|
|
15
|
+
"true",
|
|
16
|
+
"SpacingMatrix"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"className": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"string"
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
"isMobile": {
|
|
10
|
+
"type": "boolean",
|
|
11
|
+
"values": [
|
|
12
|
+
"undefined",
|
|
13
|
+
"false",
|
|
14
|
+
"true"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"vertical": {
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"values": [
|
|
20
|
+
"undefined",
|
|
21
|
+
"false",
|
|
22
|
+
"true"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"children": {
|
|
26
|
+
"type": "react",
|
|
27
|
+
"values": [
|
|
28
|
+
"undefined",
|
|
29
|
+
"JSXElementConstructor<any>>",
|
|
30
|
+
"ButtonListChildrenTypes[]"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"autolayout": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"values": [
|
|
36
|
+
"undefined",
|
|
37
|
+
"false",
|
|
38
|
+
"true",
|
|
39
|
+
"SpacingMatrix"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"centered": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"values": [
|
|
45
|
+
"undefined",
|
|
46
|
+
"false",
|
|
47
|
+
"true"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { CardProps } from "./CardProps";
|
|
3
|
+
export declare const CardContext: React.Context<{
|
|
4
|
+
horizontal: boolean;
|
|
5
|
+
}>;
|
|
3
6
|
/**
|
|
4
7
|
* Card Component
|
|
5
8
|
* @param flat {boolean} Adding border for Card content
|
|
6
9
|
* @param horizontal {boolean} Horizontal Card orientation
|
|
7
|
-
* @param
|
|
10
|
+
* @param backgroundColor {TrilogyColor} Card Background Color
|
|
8
11
|
* @param inverted {boolean} Inverted Card Color
|
|
9
12
|
* @param floating {boolean} Floating card
|
|
10
13
|
* @param onClick {Function} onClick Event
|
|
@@ -17,6 +20,10 @@ import { CardProps } from "./CardProps";
|
|
|
17
20
|
* @param to {string} Card link
|
|
18
21
|
* @param fullheight
|
|
19
22
|
* @param markup {BoxMarkup} Clickable Card => CardMarkup.A Not clickable box => CardMarkup.DIV || null
|
|
23
|
+
* @param backgroundSrc {string} Source of background Image
|
|
24
|
+
* @param align { Alignable | AlignableValues} align content
|
|
25
|
+
* @param justify {JustifiableProps.justify?} Justifiable | "JUSTIFIED_CENTER" | "JUSTIFIED_START" | "JUSTIFIED_END" | "SPACE_BETWEEN" | undefined
|
|
26
|
+
* @param testId {string} Test Id for Test Integration
|
|
20
27
|
*/
|
|
21
|
-
declare const Card:
|
|
28
|
+
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLElement>>;
|
|
22
29
|
export default Card;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import React, { useEffect, useState } from "react";
|
|
1
|
+
import React, { useEffect, useState, createContext } from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { CardMarkup } from "./CardProps";
|
|
4
4
|
import { has, is } from "../../services/classify";
|
|
5
5
|
import { getAlignClassName, getBackgroundClassName } from "../../objects";
|
|
6
6
|
import { hashClass } from "../../helpers";
|
|
7
7
|
import { useTrilogyContext } from "../../context";
|
|
8
|
+
export const CardContext = createContext({ horizontal: false });
|
|
8
9
|
/**
|
|
9
10
|
* Card Component
|
|
10
11
|
* @param flat {boolean} Adding border for Card content
|
|
11
12
|
* @param horizontal {boolean} Horizontal Card orientation
|
|
12
|
-
* @param
|
|
13
|
+
* @param backgroundColor {TrilogyColor} Card Background Color
|
|
13
14
|
* @param inverted {boolean} Inverted Card Color
|
|
14
15
|
* @param floating {boolean} Floating card
|
|
15
16
|
* @param onClick {Function} onClick Event
|
|
@@ -22,8 +23,13 @@ import { useTrilogyContext } from "../../context";
|
|
|
22
23
|
* @param to {string} Card link
|
|
23
24
|
* @param fullheight
|
|
24
25
|
* @param markup {BoxMarkup} Clickable Card => CardMarkup.A Not clickable box => CardMarkup.DIV || null
|
|
26
|
+
* @param backgroundSrc {string} Source of background Image
|
|
27
|
+
* @param align { Alignable | AlignableValues} align content
|
|
28
|
+
* @param justify {JustifiableProps.justify?} Justifiable | "JUSTIFIED_CENTER" | "JUSTIFIED_START" | "JUSTIFIED_END" | "SPACE_BETWEEN" | undefined
|
|
29
|
+
* @param testId {string} Test Id for Test Integration
|
|
25
30
|
*/
|
|
26
|
-
const Card = (
|
|
31
|
+
const Card = React.forwardRef((props, ref) => {
|
|
32
|
+
const { className, backgroundColor, backgroundSrc, inverted, flat, horizontal, floating, align, justify, skeleton, onClick, reversed, testId, markup, to, fullheight, active, ...others } = props;
|
|
27
33
|
const [isLoading, setIsLoading] = useState(skeleton || false);
|
|
28
34
|
const { styled } = useTrilogyContext();
|
|
29
35
|
useEffect(() => {
|
|
@@ -32,15 +38,15 @@ const Card = ({ className, background, backgroundSrc, inverted, flat, horizontal
|
|
|
32
38
|
const hoverStyle = {
|
|
33
39
|
cursor: "pointer",
|
|
34
40
|
};
|
|
35
|
-
const classes = hashClass(styled, clsx("card",
|
|
41
|
+
const classes = hashClass(styled, clsx("card", backgroundColor && has(getBackgroundClassName(backgroundColor)), backgroundSrc && has("background"), (inverted && is("inverted")) || is("base"), flat && !floating && is("flat"), horizontal && [is("horizontal"), is("vcentered")], floating && !flat && is("floating"), align && is(getAlignClassName(align)), justify && is(justify), isLoading ? is("loading") : is("loaded"), reversed && is("reversed"), className, fullheight && is("fullheight"), active && is("active")));
|
|
36
42
|
if (markup === CardMarkup.A) {
|
|
37
43
|
return (React.createElement("a", { "data-testid": testId, href: to, onClick: (e) => {
|
|
38
44
|
// eslint-disable-next-line no-unused-expressions
|
|
39
45
|
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
40
46
|
e.stopPropagation();
|
|
41
|
-
}, ...others, className: classes }));
|
|
47
|
+
}, ...others, className: classes, ref: ref }));
|
|
42
48
|
}
|
|
43
|
-
return (React.createElement("div", { "data-testid": testId, onClick: onClick && onClick, className: classes,
|
|
44
|
-
};
|
|
49
|
+
return (React.createElement("div", { "data-testid": testId, onClick: onClick && onClick, className: classes, style: onClick && { ...hoverStyle }, ...others, ref: ref }));
|
|
50
|
+
});
|
|
45
51
|
export default Card;
|
|
46
52
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../components/card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../components/card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AACjE,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,UAAU,EAAa,MAAM,aAAa,CAAA;AACnD,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAA;AAE/D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAgB,EAAE,GAAiC,EAAE,EAAE;IACpF,MAAM,EACJ,SAAS,EACT,eAAe,EACf,aAAa,EACb,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,MAAM,EACN,MAAM,EACN,EAAE,EACF,UAAU,EACV,MAAM,EACN,GAAG,MAAM,EACV,GAAG,KAAK,CAAA;IAET,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,QAAQ,IAAI,KAAK,CAAC,CAAA;IACtE,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,SAAS,CAAC,GAAG,EAAE;QACb,YAAY,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;IACjC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA;IAEd,MAAM,UAAU,GAAwB;QACtC,MAAM,EAAE,SAAS;KAClB,CAAA;IAED,MAAM,OAAO,GAAG,SAAS,CACvB,MAAM,EACN,IAAI,CACF,MAAM,EACN,eAAe,IAAI,GAAG,CAAC,sBAAsB,CAAC,eAAe,CAAC,CAAC,EAC/D,aAAa,IAAI,GAAG,CAAC,YAAY,CAAC,EAClC,CAAC,QAAQ,IAAI,EAAE,CAAC,UAAU,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,EAE1C,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,MAAM,CAAC,EAC/B,UAAU,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EACjD,QAAQ,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,UAAU,CAAC,EACnC,KAAK,IAAI,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,EACrC,OAAO,IAAI,EAAE,CAAC,OAAO,CAAC,EACtB,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,EACxC,QAAQ,IAAI,EAAE,CAAC,UAAU,CAAC,EAC1B,SAAS,EACT,UAAU,IAAI,EAAE,CAAC,YAAY,CAAC,EAC9B,MAAM,IAAI,EAAE,CAAC,QAAQ,CAAC,CACvB,CACF,CAAA;IAED,IAAI,MAAM,KAAK,UAAU,CAAC,CAAC,EAAE;QAC3B,OAAO,CACL,0CACe,MAAM,EACnB,IAAI,EAAE,EAAE,EACR,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gBACb,iDAAiD;gBACjD,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC,CAAA;gBACZ,CAAC,CAAC,eAAe,EAAE,CAAA;YACrB,CAAC,KACG,MAAM,EACV,SAAS,EAAE,OAAO,EAClB,GAAG,EAAE,GAAyC,GAC9C,CACH,CAAA;KACF;IAED,OAAO,CACL,4CACe,MAAM,EACnB,OAAO,EAAE,OAAO,IAAI,OAAO,EAC3B,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,OAAO,IAAI,EAAE,GAAG,UAAU,EAAE,KAC/B,MAAM,EACV,GAAG,EAAE,GAAsC,GAC3C,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AACF,eAAe,IAAI,CAAA"}
|
|
@@ -17,15 +17,14 @@ export declare const CardContext: React.Context<{
|
|
|
17
17
|
* @param onClick {Function} onClick Event
|
|
18
18
|
* @param skeleton {boolean} Loading card
|
|
19
19
|
* @param reversed {boolean} Reversed card
|
|
20
|
-
* @param
|
|
20
|
+
* @param backgroundColor {TrilogyColor} Card Background Color
|
|
21
21
|
* @param inverted {boolean} Inverted Card Color
|
|
22
|
-
* @param backgroundColor
|
|
23
22
|
* @param fullheight {boolean}
|
|
24
23
|
* @param active {boolean} Activated box
|
|
25
24
|
* @param others
|
|
26
25
|
*/
|
|
27
26
|
declare const Card: {
|
|
28
|
-
({ children, flat, horizontal, floating, onClick, skeleton,
|
|
27
|
+
({ children, flat, horizontal, floating, onClick, skeleton, backgroundColor, reversed, fullheight, active, inverted, ...others }: CardProps): JSX.Element;
|
|
29
28
|
displayName: ComponentName;
|
|
30
29
|
};
|
|
31
30
|
export default Card;
|
|
@@ -3,7 +3,6 @@ import { Platform, StyleSheet, TouchableOpacity, View } from "react-native";
|
|
|
3
3
|
import { getColorStyle, TrilogyColor } from "../../objects/facets/Color";
|
|
4
4
|
import ContentLoader, { Rect } from "react-content-loader/native";
|
|
5
5
|
import { ComponentName } from "../../components/enumsComponentsName";
|
|
6
|
-
import { getBackgroundStyle } from "../../objects/atoms/Background";
|
|
7
6
|
import { StatesContext } from "../../context/providerStates";
|
|
8
7
|
export const CardContext = createContext({
|
|
9
8
|
floating: false,
|
|
@@ -21,14 +20,13 @@ export const CardContext = createContext({
|
|
|
21
20
|
* @param onClick {Function} onClick Event
|
|
22
21
|
* @param skeleton {boolean} Loading card
|
|
23
22
|
* @param reversed {boolean} Reversed card
|
|
24
|
-
* @param
|
|
23
|
+
* @param backgroundColor {TrilogyColor} Card Background Color
|
|
25
24
|
* @param inverted {boolean} Inverted Card Color
|
|
26
|
-
* @param backgroundColor
|
|
27
25
|
* @param fullheight {boolean}
|
|
28
26
|
* @param active {boolean} Activated box
|
|
29
27
|
* @param others
|
|
30
28
|
*/
|
|
31
|
-
const Card = ({ children, flat, horizontal, floating, onClick, skeleton,
|
|
29
|
+
const Card = ({ children, flat, horizontal, floating, onClick, skeleton, backgroundColor, reversed, fullheight, active, inverted, ...others }) => {
|
|
32
30
|
const borderColor = "#ccc";
|
|
33
31
|
const cardRadius = 6;
|
|
34
32
|
const colorBgc = getColorStyle(TrilogyColor.BACKGROUND);
|
|
@@ -39,9 +37,10 @@ const Card = ({ children, flat, horizontal, floating, onClick, skeleton, backgro
|
|
|
39
37
|
borderWidth: (flat && 1) || (active && 2) || 0,
|
|
40
38
|
borderColor: (flat && borderColor) ||
|
|
41
39
|
(active && getColorStyle(TrilogyColor.MAIN)) ||
|
|
40
|
+
(active === false && getColorStyle(TrilogyColor.NEUTRAL)) ||
|
|
42
41
|
"transparent",
|
|
43
42
|
borderRadius: cardRadius,
|
|
44
|
-
backgroundColor:
|
|
43
|
+
backgroundColor: backgroundColor ? getColorStyle(backgroundColor) : colorBgc,
|
|
45
44
|
flex: fullheight ? 1 : 0,
|
|
46
45
|
},
|
|
47
46
|
horizontal: {
|
|
@@ -64,7 +63,7 @@ const Card = ({ children, flat, horizontal, floating, onClick, skeleton, backgro
|
|
|
64
63
|
skeleton: {
|
|
65
64
|
width: "100%",
|
|
66
65
|
minHeight: 50,
|
|
67
|
-
backgroundColor: getColorStyle(TrilogyColor.
|
|
66
|
+
backgroundColor: getColorStyle(TrilogyColor.NEUTRAL_FADE),
|
|
68
67
|
overflow: "hidden",
|
|
69
68
|
borderRadius: cardRadius,
|
|
70
69
|
},
|
|
@@ -92,7 +91,7 @@ const Card = ({ children, flat, horizontal, floating, onClick, skeleton, backgro
|
|
|
92
91
|
return onClick ? (React.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } },
|
|
93
92
|
React.createElement(CardContext.Provider, { value: {
|
|
94
93
|
floating: floating || false,
|
|
95
|
-
backgroundColor:
|
|
94
|
+
backgroundColor: backgroundColor || "white",
|
|
96
95
|
horizontal: horizontal || false,
|
|
97
96
|
reversed: reversed || false,
|
|
98
97
|
active: active || false,
|
|
@@ -101,7 +100,7 @@ const Card = ({ children, flat, horizontal, floating, onClick, skeleton, backgro
|
|
|
101
100
|
React.createElement(TouchableOpacity, { testID: 'card-click-test', style: { width: "100%" }, onPress: onClick, activeOpacity: 0.85 }, cardView))))) : (React.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } },
|
|
102
101
|
React.createElement(CardContext.Provider, { value: {
|
|
103
102
|
floating: floating || false,
|
|
104
|
-
backgroundColor:
|
|
103
|
+
backgroundColor: backgroundColor || "white",
|
|
105
104
|
horizontal: horizontal || false,
|
|
106
105
|
reversed: reversed || false,
|
|
107
106
|
active: active || false,
|