@trilogy-ds/react 4.8.2-beta-2 → 4.9.0-beta-build-1
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.mts +11 -0
- package/lib/components/accordion/Accordion.js +15 -13
- package/lib/components/accordion/Accordion.mjs +22 -0
- package/lib/components/accordion/Accordion.native.d.mts +9 -0
- package/lib/components/accordion/Accordion.native.js +12 -10
- package/lib/components/accordion/Accordion.native.mjs +22 -0
- package/lib/components/accordion/AccordionProps.d.mts +11 -0
- package/lib/components/accordion/AccordionProps.js +2 -1
- package/lib/components/accordion/AccordionProps.mjs +2 -0
- package/lib/components/accordion/index.d.mts +5 -0
- package/lib/components/accordion/index.js +13 -6
- package/lib/components/accordion/index.mjs +6 -0
- package/lib/components/accordion/item/AccordionItem.d.mts +13 -0
- package/lib/components/accordion/item/AccordionItem.helper.d.mts +10 -0
- package/lib/components/accordion/item/AccordionItem.helper.js +6 -2
- package/lib/components/accordion/item/AccordionItem.helper.mjs +9 -0
- package/lib/components/accordion/item/AccordionItem.js +16 -14
- package/lib/components/accordion/item/AccordionItem.mjs +42 -0
- package/lib/components/accordion/item/AccordionItem.native.d.mts +13 -0
- package/lib/components/accordion/item/AccordionItem.native.js +43 -41
- package/lib/components/accordion/item/AccordionItem.native.mjs +144 -0
- package/lib/components/accordion/item/AccordionItemProps.d.mts +27 -0
- package/lib/components/accordion/item/AccordionItemProps.js +2 -1
- package/lib/components/accordion/item/AccordionItemProps.mjs +2 -0
- package/lib/components/accordion/item/body/AccordionBody.d.mts +11 -0
- package/lib/components/accordion/item/body/AccordionBody.js +14 -12
- package/lib/components/accordion/item/body/AccordionBody.mjs +23 -0
- package/lib/components/accordion/item/body/AccordionBody.native.d.mts +9 -0
- package/lib/components/accordion/item/body/AccordionBody.native.js +12 -10
- package/lib/components/accordion/item/body/AccordionBody.native.mjs +18 -0
- package/lib/components/accordion/item/body/AccordionBodyProps.d.mts +12 -0
- package/lib/components/accordion/item/body/AccordionBodyProps.js +2 -1
- package/lib/components/accordion/item/body/AccordionBodyProps.mjs +2 -0
- package/lib/components/accordion/item/body/index.d.mts +2 -0
- package/lib/components/accordion/item/body/index.js +6 -3
- package/lib/components/accordion/item/body/index.mjs +3 -0
- package/lib/components/accordion/item/header/AccordionHeader.d.mts +11 -0
- package/lib/components/accordion/item/header/AccordionHeader.js +14 -12
- package/lib/components/accordion/item/header/AccordionHeader.mjs +21 -0
- package/lib/components/accordion/item/header/AccordionHeader.native.d.mts +9 -0
- package/lib/components/accordion/item/header/AccordionHeader.native.js +11 -8
- package/lib/components/accordion/item/header/AccordionHeader.native.mjs +21 -0
- package/lib/components/accordion/item/header/AccordionHeaderProps.d.mts +11 -0
- package/lib/components/accordion/item/header/AccordionHeaderProps.js +2 -1
- package/lib/components/accordion/item/header/AccordionHeaderProps.mjs +2 -0
- package/lib/components/accordion/item/header/index.d.mts +2 -0
- package/lib/components/accordion/item/header/index.js +6 -3
- package/lib/components/accordion/item/header/index.mjs +3 -0
- package/lib/components/accordion/item/index.d.mts +2 -0
- package/lib/components/accordion/item/index.js +6 -3
- package/lib/components/accordion/item/index.mjs +3 -0
- package/lib/components/alert/Alert.d.mts +28 -0
- package/lib/components/alert/Alert.js +47 -43
- package/lib/components/alert/Alert.mjs +144 -0
- package/lib/components/alert/Alert.native.d.mts +34 -0
- package/lib/components/alert/Alert.native.js +61 -56
- package/lib/components/alert/Alert.native.mjs +150 -0
- package/lib/components/alert/AlertEnum.d.mts +9 -0
- package/lib/components/alert/AlertEnum.js +6 -3
- package/lib/components/alert/AlertEnum.mjs +10 -0
- package/lib/components/alert/AlertProps.d.mts +50 -0
- package/lib/components/alert/AlertProps.js +8 -5
- package/lib/components/alert/AlertProps.mjs +11 -0
- package/lib/components/alert/context/ToasterContext.d.mts +7 -0
- package/lib/components/alert/context/ToasterContext.js +7 -4
- package/lib/components/alert/context/ToasterContext.mjs +5 -0
- package/lib/components/alert/context/ToasterContextProps.d.mts +30 -0
- package/lib/components/alert/context/ToasterContextProps.js +2 -1
- package/lib/components/alert/context/ToasterContextProps.mjs +2 -0
- package/lib/components/alert/context/index.d.mts +2 -0
- package/lib/components/alert/context/index.js +6 -3
- package/lib/components/alert/context/index.mjs +3 -0
- package/lib/components/alert/index.d.mts +3 -0
- package/lib/components/alert/index.js +10 -4
- package/lib/components/alert/index.mjs +4 -0
- package/lib/components/autocomplete/AutoComplete.d.mts +35 -0
- package/lib/components/autocomplete/AutoComplete.js +40 -38
- package/lib/components/autocomplete/AutoComplete.mjs +168 -0
- package/lib/components/autocomplete/AutoComplete.native.d.mts +27 -0
- package/lib/components/autocomplete/AutoComplete.native.js +36 -34
- package/lib/components/autocomplete/AutoComplete.native.mjs +119 -0
- package/lib/components/autocomplete/AutoCompleteProps.d.mts +53 -0
- package/lib/components/autocomplete/AutoCompleteProps.js +2 -1
- package/lib/components/autocomplete/AutoCompleteProps.mjs +2 -0
- package/lib/components/autocomplete/Autocomplete.helpers.d.mts +3 -0
- package/lib/components/autocomplete/Autocomplete.helpers.js +9 -4
- package/lib/components/autocomplete/Autocomplete.helpers.mjs +13 -0
- package/lib/components/autocomplete/index.d.mts +5 -0
- package/lib/components/autocomplete/index.js +12 -6
- package/lib/components/autocomplete/index.mjs +6 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.mts +4 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +12 -9
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +16 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.d.mts +12 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.js +13 -11
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +21 -0
- package/lib/components/autocomplete/item/AutoCompleteItemProps.d.mts +12 -0
- package/lib/components/autocomplete/item/AutoCompleteItemProps.js +2 -1
- package/lib/components/autocomplete/item/AutoCompleteItemProps.mjs +2 -0
- package/lib/components/autocomplete/item/index.d.mts +2 -0
- package/lib/components/autocomplete/item/index.js +6 -3
- package/lib/components/autocomplete/item/index.mjs +3 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.mts +12 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +12 -9
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +20 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.mts +4 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +14 -11
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +31 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.d.mts +10 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js +2 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.mjs +2 -0
- package/lib/components/autocomplete/menu/index.d.mts +2 -0
- package/lib/components/autocomplete/menu/index.js +6 -3
- package/lib/components/autocomplete/menu/index.mjs +3 -0
- package/lib/components/autocomplete/utils/debounce.d.mts +1 -0
- package/lib/components/autocomplete/utils/debounce.js +9 -5
- package/lib/components/autocomplete/utils/debounce.mjs +27 -0
- package/lib/components/autocomplete/utils/index.d.mts +1 -0
- package/lib/components/autocomplete/utils/index.js +5 -2
- package/lib/components/autocomplete/utils/index.mjs +2 -0
- package/lib/components/autolayout/AutoLayout.d.mts +7 -0
- package/lib/components/autolayout/AutoLayout.helpers.d.mts +24 -0
- package/lib/components/autolayout/AutoLayout.helpers.js +30 -23
- package/lib/components/autolayout/AutoLayout.helpers.mjs +136 -0
- package/lib/components/autolayout/AutoLayout.js +6 -3
- package/lib/components/autolayout/AutoLayout.mjs +11 -0
- package/lib/components/autolayout/AutoLayout.native.d.mts +12 -0
- package/lib/components/autolayout/AutoLayout.native.js +16 -13
- package/lib/components/autolayout/AutoLayout.native.mjs +30 -0
- package/lib/components/autolayout/AutoLayoutProps.d.mts +15 -0
- package/lib/components/autolayout/AutoLayoutProps.js +2 -1
- package/lib/components/autolayout/AutoLayoutProps.mjs +2 -0
- package/lib/components/autolayout/AutoLayoutWrapper.d.mts +12 -0
- package/lib/components/autolayout/AutoLayoutWrapper.js +9 -6
- package/lib/components/autolayout/AutoLayoutWrapper.mjs +22 -0
- package/lib/components/autolayout/DefaultSpacingMatrix.d.mts +6 -0
- package/lib/components/autolayout/DefaultSpacingMatrix.js +40 -37
- package/lib/components/autolayout/DefaultSpacingMatrix.mjs +41 -0
- package/lib/components/autolayout/SpacingMatrix.d.mts +25 -0
- package/lib/components/autolayout/SpacingMatrix.js +6 -3
- package/lib/components/autolayout/SpacingMatrix.mjs +12 -0
- package/lib/components/autolayout/index.d.mts +2 -0
- package/lib/components/autolayout/index.js +11 -3
- package/lib/components/autolayout/index.mjs +3 -0
- package/lib/components/badge/Badge.d.mts +17 -0
- package/lib/components/badge/Badge.js +32 -30
- package/lib/components/badge/Badge.mjs +64 -0
- package/lib/components/badge/Badge.native.d.mts +18 -0
- package/lib/components/badge/Badge.native.js +46 -44
- package/lib/components/badge/Badge.native.mjs +118 -0
- package/lib/components/badge/BadgeEnum.d.mts +10 -0
- package/lib/components/badge/BadgeEnum.js +6 -3
- package/lib/components/badge/BadgeEnum.mjs +11 -0
- package/lib/components/badge/BadgeProps.d.mts +25 -0
- package/lib/components/badge/BadgeProps.js +6 -3
- package/lib/components/badge/BadgeProps.mjs +10 -0
- package/lib/components/badge/index.d.mts +3 -0
- package/lib/components/badge/index.js +8 -4
- package/lib/components/badge/index.mjs +4 -0
- package/lib/components/box/Box.d.mts +23 -0
- package/lib/components/box/Box.js +19 -17
- package/lib/components/box/Box.mjs +50 -0
- package/lib/components/box/Box.native.d.mts +22 -0
- package/lib/components/box/Box.native.js +40 -38
- package/lib/components/box/Box.native.mjs +117 -0
- package/lib/components/box/BoxProps.d.mts +27 -0
- package/lib/components/box/BoxProps.js +2 -1
- package/lib/components/box/BoxProps.mjs +2 -0
- package/lib/components/box/content/BoxContent.d.mts +13 -0
- package/lib/components/box/content/BoxContent.js +17 -15
- package/lib/components/box/content/BoxContent.mjs +30 -0
- package/lib/components/box/content/BoxContent.native.d.mts +11 -0
- package/lib/components/box/content/BoxContent.native.js +17 -15
- package/lib/components/box/content/BoxContent.native.mjs +34 -0
- package/lib/components/box/content/BoxContentProps.d.mts +14 -0
- package/lib/components/box/content/BoxContentProps.js +2 -1
- package/lib/components/box/content/BoxContentProps.mjs +2 -0
- package/lib/components/box/content/index.d.mts +2 -0
- package/lib/components/box/content/index.js +6 -3
- package/lib/components/box/content/index.mjs +3 -0
- package/lib/components/box/context/boxContext.d.mts +4 -0
- package/lib/components/box/context/boxContext.js +7 -3
- package/lib/components/box/context/boxContext.mjs +3 -0
- package/lib/components/box/footer/BoxFooter.d.mts +12 -0
- package/lib/components/box/footer/BoxFooter.js +16 -14
- package/lib/components/box/footer/BoxFooter.mjs +24 -0
- package/lib/components/box/footer/BoxFooter.native.d.mts +10 -0
- package/lib/components/box/footer/BoxFooter.native.js +14 -12
- package/lib/components/box/footer/BoxFooter.native.mjs +27 -0
- package/lib/components/box/footer/BoxFooterProps.d.mts +15 -0
- package/lib/components/box/footer/BoxFooterProps.js +2 -1
- package/lib/components/box/footer/BoxFooterProps.mjs +2 -0
- package/lib/components/box/footer/index.d.mts +2 -0
- package/lib/components/box/footer/index.js +6 -3
- package/lib/components/box/footer/index.mjs +3 -0
- package/lib/components/box/header/BoxHeader.d.mts +14 -0
- package/lib/components/box/header/BoxHeader.js +21 -19
- package/lib/components/box/header/BoxHeader.mjs +36 -0
- package/lib/components/box/header/BoxHeader.native.d.mts +10 -0
- package/lib/components/box/header/BoxHeader.native.js +21 -19
- package/lib/components/box/header/BoxHeader.native.mjs +57 -0
- package/lib/components/box/header/BoxHeaderProps.d.mts +15 -0
- package/lib/components/box/header/BoxHeaderProps.js +2 -1
- package/lib/components/box/header/BoxHeaderProps.mjs +2 -0
- package/lib/components/box/header/index.d.mts +2 -0
- package/lib/components/box/header/index.js +6 -3
- package/lib/components/box/header/index.mjs +3 -0
- package/lib/components/box/index.d.mts +9 -0
- package/lib/components/box/index.js +20 -10
- package/lib/components/box/index.mjs +10 -0
- package/lib/components/box/item/BoxItem.d.mts +11 -0
- package/lib/components/box/item/BoxItem.js +14 -12
- package/lib/components/box/item/BoxItem.mjs +21 -0
- package/lib/components/box/item/BoxItem.native.d.mts +10 -0
- package/lib/components/box/item/BoxItem.native.js +12 -10
- package/lib/components/box/item/BoxItem.native.mjs +26 -0
- package/lib/components/box/item/BoxItemEnum.d.mts +11 -0
- package/lib/components/box/item/BoxItemEnum.js +6 -3
- package/lib/components/box/item/BoxItemEnum.mjs +13 -0
- package/lib/components/box/item/BoxItemProps.d.mts +10 -0
- package/lib/components/box/item/BoxItemProps.js +2 -1
- package/lib/components/box/item/BoxItemProps.mjs +2 -0
- package/lib/components/box/item/index.d.mts +3 -0
- package/lib/components/box/item/index.js +7 -4
- package/lib/components/box/item/index.mjs +4 -0
- package/lib/components/box/table-container/BoxTableContainer.d.mts +11 -0
- package/lib/components/box/table-container/BoxTableContainer.js +14 -12
- package/lib/components/box/table-container/BoxTableContainer.mjs +21 -0
- package/lib/components/box/table-container/BoxTableContainer.native.d.mts +9 -0
- package/lib/components/box/table-container/BoxTableContainer.native.js +12 -10
- package/lib/components/box/table-container/BoxTableContainer.native.mjs +18 -0
- package/lib/components/box/table-container/BoxTableContainerProps.d.mts +12 -0
- package/lib/components/box/table-container/BoxTableContainerProps.js +2 -1
- package/lib/components/box/table-container/BoxTableContainerProps.mjs +2 -0
- package/lib/components/box/table-container/index.d.mts +2 -0
- package/lib/components/box/table-container/index.js +6 -3
- package/lib/components/box/table-container/index.mjs +3 -0
- package/lib/components/breadcrumb/Breadcrumb.d.mts +12 -0
- package/lib/components/breadcrumb/Breadcrumb.js +15 -13
- package/lib/components/breadcrumb/Breadcrumb.mjs +24 -0
- package/lib/components/breadcrumb/Breadcrumb.native.d.mts +10 -0
- package/lib/components/breadcrumb/Breadcrumb.native.js +14 -12
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +29 -0
- package/lib/components/breadcrumb/BreadcrumbProps.d.mts +18 -0
- package/lib/components/breadcrumb/BreadcrumbProps.js +2 -1
- package/lib/components/breadcrumb/BreadcrumbProps.mjs +2 -0
- package/lib/components/breadcrumb/index.d.mts +3 -0
- package/lib/components/breadcrumb/index.js +9 -4
- package/lib/components/breadcrumb/index.mjs +4 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.d.mts +18 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +16 -14
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +34 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.mts +13 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +18 -16
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +35 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.mts +20 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.js +2 -1
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.mjs +2 -0
- package/lib/components/breadcrumb/item/index.d.mts +2 -0
- package/lib/components/breadcrumb/item/index.js +6 -3
- package/lib/components/breadcrumb/item/index.mjs +3 -0
- package/lib/components/button/Button.d.mts +26 -0
- package/lib/components/button/Button.js +28 -26
- package/lib/components/button/Button.mjs +79 -0
- package/lib/components/button/Button.native.d.mts +17 -0
- package/lib/components/button/Button.native.js +64 -62
- package/lib/components/button/Button.native.mjs +140 -0
- package/lib/components/button/ButtonEnum.d.mts +32 -0
- package/lib/components/button/ButtonEnum.js +8 -4
- package/lib/components/button/ButtonEnum.mjs +30 -0
- package/lib/components/button/ButtonProps.d.mts +27 -0
- package/lib/components/button/ButtonProps.js +2 -1
- package/lib/components/button/ButtonProps.mjs +2 -0
- package/lib/components/button/index.d.mts +4 -0
- package/lib/components/button/index.js +10 -5
- package/lib/components/button/index.mjs +5 -0
- package/lib/components/button/list/ButtonList.d.mts +12 -0
- package/lib/components/button/list/ButtonList.js +17 -15
- package/lib/components/button/list/ButtonList.mjs +25 -0
- package/lib/components/button/list/ButtonList.native.d.mts +9 -0
- package/lib/components/button/list/ButtonList.native.js +10 -8
- package/lib/components/button/list/ButtonList.native.mjs +15 -0
- package/lib/components/button/list/ButtonListEnum.d.mts +5 -0
- package/lib/components/button/list/ButtonListEnum.js +6 -3
- package/lib/components/button/list/ButtonListEnum.mjs +6 -0
- package/lib/components/button/list/ButtonListProps.d.mts +24 -0
- package/lib/components/button/list/ButtonListProps.js +2 -1
- package/lib/components/button/list/ButtonListProps.mjs +2 -0
- package/lib/components/button/list/index.d.mts +3 -0
- package/lib/components/button/list/index.js +8 -4
- package/lib/components/button/list/index.mjs +4 -0
- package/lib/components/card/Card.d.mts +20 -0
- package/lib/components/card/Card.js +20 -17
- package/lib/components/card/Card.mjs +40 -0
- package/lib/components/card/Card.native.d.mts +25 -0
- package/lib/components/card/Card.native.js +38 -35
- package/lib/components/card/Card.native.mjs +112 -0
- package/lib/components/card/CardProps.d.mts +23 -0
- package/lib/components/card/CardProps.js +2 -1
- package/lib/components/card/CardProps.mjs +2 -0
- package/lib/components/card/content/CardContent.d.mts +11 -0
- package/lib/components/card/content/CardContent.js +14 -12
- package/lib/components/card/content/CardContent.mjs +21 -0
- package/lib/components/card/content/CardContent.native.d.mts +9 -0
- package/lib/components/card/content/CardContent.native.js +15 -13
- package/lib/components/card/content/CardContent.native.mjs +24 -0
- package/lib/components/card/content/CardContentProps.d.mts +12 -0
- package/lib/components/card/content/CardContentProps.js +2 -1
- package/lib/components/card/content/CardContentProps.mjs +2 -0
- package/lib/components/card/content/index.d.mts +2 -0
- package/lib/components/card/content/index.js +6 -3
- package/lib/components/card/content/index.mjs +3 -0
- package/lib/components/card/image/CardImage.d.mts +15 -0
- package/lib/components/card/image/CardImage.js +17 -15
- package/lib/components/card/image/CardImage.mjs +33 -0
- package/lib/components/card/image/CardImage.native.d.mts +14 -0
- package/lib/components/card/image/CardImage.native.js +20 -18
- package/lib/components/card/image/CardImage.native.mjs +45 -0
- package/lib/components/card/image/CardImageEnum.d.mts +13 -0
- package/lib/components/card/image/CardImageEnum.js +6 -3
- package/lib/components/card/image/CardImageEnum.mjs +11 -0
- package/lib/components/card/image/CardImageProps.d.mts +15 -0
- package/lib/components/card/image/CardImageProps.js +2 -1
- package/lib/components/card/image/CardImageProps.mjs +2 -0
- package/lib/components/card/image/index.d.mts +2 -0
- package/lib/components/card/image/index.js +6 -3
- package/lib/components/card/image/index.mjs +3 -0
- package/lib/components/card/index.d.mts +5 -0
- package/lib/components/card/index.js +12 -6
- package/lib/components/card/index.mjs +6 -0
- package/lib/components/checkbox/Checkbox.d.mts +19 -0
- package/lib/components/checkbox/Checkbox.js +19 -17
- package/lib/components/checkbox/Checkbox.mjs +48 -0
- package/lib/components/checkbox/Checkbox.native.d.mts +16 -0
- package/lib/components/checkbox/Checkbox.native.js +24 -22
- package/lib/components/checkbox/Checkbox.native.mjs +67 -0
- package/lib/components/checkbox/CheckboxProps.d.mts +35 -0
- package/lib/components/checkbox/CheckboxProps.js +2 -1
- package/lib/components/checkbox/CheckboxProps.mjs +2 -0
- package/lib/components/checkbox/index.d.mts +6 -0
- package/lib/components/checkbox/index.js +14 -7
- package/lib/components/checkbox/index.mjs +7 -0
- package/lib/components/checkbox/list/CheckboxList.d.mts +14 -0
- package/lib/components/checkbox/list/CheckboxList.js +17 -15
- package/lib/components/checkbox/list/CheckboxList.mjs +27 -0
- package/lib/components/checkbox/list/CheckboxList.native.d.mts +9 -0
- package/lib/components/checkbox/list/CheckboxList.native.js +14 -12
- package/lib/components/checkbox/list/CheckboxList.native.mjs +25 -0
- package/lib/components/checkbox/list/CheckboxListProps.d.mts +26 -0
- package/lib/components/checkbox/list/CheckboxListProps.js +2 -1
- package/lib/components/checkbox/list/CheckboxListProps.mjs +2 -0
- package/lib/components/checkbox/list/index.d.mts +2 -0
- package/lib/components/checkbox/list/index.js +7 -3
- package/lib/components/checkbox/list/index.mjs +3 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.d.mts +12 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.js +23 -21
- package/lib/components/checkbox/tiles/CheckboxTiles.mjs +41 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.mts +5 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +18 -16
- package/lib/components/checkbox/tiles/CheckboxTiles.native.mjs +22 -0
- package/lib/components/checkbox/tiles/CheckboxTilesProps.d.mts +13 -0
- package/lib/components/checkbox/tiles/CheckboxTilesProps.js +2 -1
- package/lib/components/checkbox/tiles/CheckboxTilesProps.mjs +2 -0
- package/lib/components/checkbox/tiles/index.d.mts +2 -0
- package/lib/components/checkbox/tiles/index.js +6 -3
- package/lib/components/checkbox/tiles/index.mjs +3 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.d.mts +22 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +29 -27
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +52 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.mts +5 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +49 -47
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +110 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.d.mts +18 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.js +2 -1
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.mjs +2 -0
- package/lib/components/checkbox/tiles/tile/index.d.mts +2 -0
- package/lib/components/checkbox/tiles/tile/index.js +6 -3
- package/lib/components/checkbox/tiles/tile/index.mjs +3 -0
- package/lib/components/chips/Chips.d.mts +16 -0
- package/lib/components/chips/Chips.js +17 -15
- package/lib/components/chips/Chips.mjs +30 -0
- package/lib/components/chips/Chips.native.d.mts +13 -0
- package/lib/components/chips/Chips.native.js +32 -30
- package/lib/components/chips/Chips.native.mjs +61 -0
- package/lib/components/chips/ChipsProps.d.mts +18 -0
- package/lib/components/chips/ChipsProps.js +2 -1
- package/lib/components/chips/ChipsProps.mjs +2 -0
- package/lib/components/chips/index.d.mts +3 -0
- package/lib/components/chips/index.js +9 -4
- package/lib/components/chips/index.mjs +4 -0
- package/lib/components/chips/list/ChipsList.d.mts +13 -0
- package/lib/components/chips/list/ChipsList.js +16 -14
- package/lib/components/chips/list/ChipsList.mjs +25 -0
- package/lib/components/chips/list/ChipsList.native.d.mts +13 -0
- package/lib/components/chips/list/ChipsList.native.js +15 -12
- package/lib/components/chips/list/ChipsList.native.mjs +24 -0
- package/lib/components/chips/list/ChipsListProps.d.mts +14 -0
- package/lib/components/chips/list/ChipsListProps.js +2 -1
- package/lib/components/chips/list/ChipsListProps.mjs +2 -0
- package/lib/components/chips/list/index.d.mts +2 -0
- package/lib/components/chips/list/index.js +6 -3
- package/lib/components/chips/list/index.mjs +3 -0
- package/lib/components/columns/Columns.d.mts +17 -0
- package/lib/components/columns/Columns.js +19 -17
- package/lib/components/columns/Columns.mjs +31 -0
- package/lib/components/columns/Columns.native.d.mts +13 -0
- package/lib/components/columns/Columns.native.js +27 -25
- package/lib/components/columns/Columns.native.mjs +75 -0
- package/lib/components/columns/ColumnsProps.d.mts +20 -0
- package/lib/components/columns/ColumnsProps.js +2 -1
- package/lib/components/columns/ColumnsProps.mjs +2 -0
- package/lib/components/columns/ColumnsTypes.d.mts +15 -0
- package/lib/components/columns/ColumnsTypes.js +7 -4
- package/lib/components/columns/ColumnsTypes.mjs +16 -0
- package/lib/components/columns/column/Column.d.mts +28 -0
- package/lib/components/columns/column/Column.js +18 -16
- package/lib/components/columns/column/Column.mjs +41 -0
- package/lib/components/columns/column/Column.native.d.mts +9 -0
- package/lib/components/columns/column/Column.native.js +18 -16
- package/lib/components/columns/column/Column.native.mjs +35 -0
- package/lib/components/columns/column/ColumnProps.d.mts +28 -0
- package/lib/components/columns/column/ColumnProps.js +2 -1
- package/lib/components/columns/column/ColumnProps.mjs +2 -0
- package/lib/components/columns/column/index.d.mts +2 -0
- package/lib/components/columns/column/index.js +6 -3
- package/lib/components/columns/column/index.mjs +3 -0
- package/lib/components/columns/context/index.d.mts +7 -0
- package/lib/components/columns/context/index.js +7 -3
- package/lib/components/columns/context/index.mjs +8 -0
- package/lib/components/columns/index.d.mts +4 -0
- package/lib/components/columns/index.js +10 -5
- package/lib/components/columns/index.mjs +5 -0
- package/lib/components/container/Container.d.mts +12 -0
- package/lib/components/container/Container.js +17 -15
- package/lib/components/container/Container.mjs +24 -0
- package/lib/components/container/Container.native.d.mts +9 -0
- package/lib/components/container/Container.native.js +15 -13
- package/lib/components/container/Container.native.mjs +25 -0
- package/lib/components/container/ContainerProps.d.mts +9 -0
- package/lib/components/container/ContainerProps.js +2 -1
- package/lib/components/container/ContainerProps.mjs +2 -0
- package/lib/components/container/index.d.mts +1 -0
- package/lib/components/container/index.js +9 -2
- package/lib/components/container/index.mjs +2 -0
- package/lib/components/countdown/Countdown.d.mts +17 -0
- package/lib/components/countdown/Countdown.js +42 -40
- package/lib/components/countdown/Countdown.mjs +130 -0
- package/lib/components/countdown/Countdown.native.d.mts +15 -0
- package/lib/components/countdown/Countdown.native.js +48 -46
- package/lib/components/countdown/Countdown.native.mjs +166 -0
- package/lib/components/countdown/CountdownEnum.d.mts +16 -0
- package/lib/components/countdown/CountdownEnum.js +10 -6
- package/lib/components/countdown/CountdownEnum.mjs +33 -0
- package/lib/components/countdown/CountdownProps.d.mts +16 -0
- package/lib/components/countdown/CountdownProps.js +2 -1
- package/lib/components/countdown/CountdownProps.mjs +2 -0
- package/lib/components/countdown/index.d.mts +3 -0
- package/lib/components/countdown/index.js +10 -4
- package/lib/components/countdown/index.mjs +4 -0
- package/lib/components/divider/Divider.d.mts +15 -0
- package/lib/components/divider/Divider.js +21 -19
- package/lib/components/divider/Divider.mjs +32 -0
- package/lib/components/divider/Divider.native.d.mts +14 -0
- package/lib/components/divider/Divider.native.js +25 -23
- package/lib/components/divider/Divider.native.mjs +75 -0
- package/lib/components/divider/DividerProps.d.mts +15 -0
- package/lib/components/divider/DividerProps.js +2 -1
- package/lib/components/divider/DividerProps.mjs +2 -0
- package/lib/components/divider/index.d.mts +2 -0
- package/lib/components/divider/index.js +7 -3
- package/lib/components/divider/index.mjs +3 -0
- package/lib/components/enums.d.mts +3 -0
- package/lib/components/enums.js +7 -4
- package/lib/components/enums.mjs +4 -0
- package/lib/components/enumsComponentsName.d.mts +163 -0
- package/lib/components/enumsComponentsName.d.ts +3 -2
- package/lib/components/enumsComponentsName.js +8 -4
- package/lib/components/enumsComponentsName.mjs +165 -0
- package/lib/components/fab/Fab.d.mts +20 -0
- package/lib/components/fab/Fab.js +22 -20
- package/lib/components/fab/Fab.mjs +54 -0
- package/lib/components/fab/Fab.native.d.mts +18 -0
- package/lib/components/fab/Fab.native.js +17 -14
- package/lib/components/fab/Fab.native.mjs +64 -0
- package/lib/components/fab/FabProps.d.mts +21 -0
- package/lib/components/fab/FabProps.js +2 -1
- package/lib/components/fab/FabProps.mjs +2 -0
- package/lib/components/fab/index.d.mts +2 -0
- package/lib/components/fab/index.js +7 -3
- package/lib/components/fab/index.mjs +3 -0
- package/lib/components/flex-box/DirectionDefaults.js +32 -0
- package/lib/components/flex-box/FlexBox.d.mts +17 -0
- package/lib/components/flex-box/FlexBox.d.ts +17 -0
- package/lib/components/flex-box/FlexBox.js +35 -0
- package/lib/components/flex-box/FlexBox.mjs +33 -0
- package/lib/components/flex-box/FlexBox.native.d.mts +5 -0
- package/lib/components/flex-box/FlexBox.native.d.ts +5 -0
- package/lib/components/flex-box/FlexBox.native.js +56 -0
- package/lib/components/flex-box/FlexBox.native.mjs +54 -0
- package/lib/components/flex-box/FlexBoxProps.d.mts +29 -0
- package/lib/components/flex-box/FlexBoxProps.d.ts +29 -0
- package/lib/components/flex-box/FlexBoxProps.js +3 -0
- package/lib/components/flex-box/FlexBoxProps.mjs +2 -0
- package/lib/components/{stack/StackPropsDefaults.js → flex-box/FlexBoxPropsDefaults.js} +49 -2
- package/lib/components/flex-box/context/index.d.mts +7 -0
- package/lib/components/flex-box/context/index.d.ts +7 -0
- package/lib/components/flex-box/context/index.js +12 -0
- package/lib/components/flex-box/context/index.mjs +8 -0
- package/lib/components/flex-box/flex-item/FlexItem.d.mts +28 -0
- package/lib/components/flex-box/flex-item/FlexItem.d.ts +28 -0
- package/lib/components/flex-box/flex-item/FlexItem.js +44 -0
- package/lib/components/flex-box/flex-item/FlexItem.mjs +42 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.d.mts +29 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.d.ts +29 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.js +58 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.mjs +56 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.d.mts +23 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.d.ts +23 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.js +3 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.mjs +2 -0
- package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +85 -0
- package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +110 -0
- package/lib/components/flex-box/index.d.mts +3 -0
- package/lib/components/flex-box/index.d.ts +3 -0
- package/lib/components/flex-box/index.js +9 -0
- package/lib/components/flex-box/index.mjs +4 -0
- package/lib/components/hero/Hero.d.mts +18 -0
- package/lib/components/hero/Hero.js +19 -17
- package/lib/components/hero/Hero.mjs +34 -0
- package/lib/components/hero/Hero.native.d.mts +16 -0
- package/lib/components/hero/Hero.native.js +32 -30
- package/lib/components/hero/Hero.native.mjs +95 -0
- package/lib/components/hero/HeroProps.d.mts +16 -0
- package/lib/components/hero/HeroProps.js +2 -1
- package/lib/components/hero/HeroProps.mjs +2 -0
- package/lib/components/hero/heroEnum.d.mts +6 -0
- package/lib/components/hero/heroEnum.js +6 -3
- package/lib/components/hero/heroEnum.mjs +8 -0
- package/lib/components/hero/index.d.mts +1 -0
- package/lib/components/hero/index.js +9 -2
- package/lib/components/hero/index.mjs +2 -0
- package/lib/components/icon/Icon.d.mts +21 -0
- package/lib/components/icon/Icon.js +22 -20
- package/lib/components/icon/Icon.mjs +40 -0
- package/lib/components/icon/Icon.native.d.mts +22 -0
- package/lib/components/icon/Icon.native.js +61 -59
- package/lib/components/icon/Icon.native.mjs +123 -0
- package/lib/components/icon/IconEnum.d.mts +72 -0
- package/lib/components/icon/IconEnum.js +16 -13
- package/lib/components/icon/IconEnum.mjs +61 -0
- package/lib/components/icon/IconNameEnum.d.mts +27 -0
- package/lib/components/icon/IconNameEnum.js +6 -3
- package/lib/components/icon/IconNameEnum.mjs +28 -0
- package/lib/components/icon/IconProps.d.mts +19 -0
- package/lib/components/icon/IconProps.js +2 -1
- package/lib/components/icon/IconProps.mjs +2 -0
- package/lib/components/icon/index.d.mts +4 -0
- package/lib/components/icon/index.js +9 -5
- package/lib/components/icon/index.mjs +5 -0
- package/lib/components/image/Image.d.mts +17 -0
- package/lib/components/image/Image.js +18 -16
- package/lib/components/image/Image.mjs +41 -0
- package/lib/components/image/Image.native.d.mts +15 -0
- package/lib/components/image/Image.native.js +14 -12
- package/lib/components/image/Image.native.mjs +32 -0
- package/lib/components/image/ImageProps.d.mts +18 -0
- package/lib/components/image/ImageProps.js +6 -3
- package/lib/components/image/ImageProps.mjs +7 -0
- package/lib/components/image/index.d.mts +3 -0
- package/lib/components/image/index.js +9 -4
- package/lib/components/image/index.mjs +4 -0
- package/lib/components/index.d.mts +49 -0
- package/lib/components/index.d.ts +1 -1
- package/lib/components/index.js +53 -50
- package/lib/components/index.mjs +51 -0
- package/lib/components/input/Input.d.mts +49 -0
- package/lib/components/input/Input.js +77 -75
- package/lib/components/input/Input.mjs +205 -0
- package/lib/components/input/Input.native.d.mts +39 -0
- package/lib/components/input/Input.native.js +127 -125
- package/lib/components/input/Input.native.mjs +350 -0
- package/lib/components/input/InputEnum.d.mts +187 -0
- package/lib/components/input/InputEnum.js +18 -15
- package/lib/components/input/InputEnum.mjs +187 -0
- package/lib/components/input/InputProps.d.mts +106 -0
- package/lib/components/input/InputProps.js +2 -1
- package/lib/components/input/InputProps.mjs +2 -0
- package/lib/components/input/gauge/InputGauge.d.mts +9 -0
- package/lib/components/input/gauge/InputGauge.js +25 -23
- package/lib/components/input/gauge/InputGauge.mjs +32 -0
- package/lib/components/input/gauge/InputGauge.native.d.mts +8 -0
- package/lib/components/input/gauge/InputGauge.native.js +27 -24
- package/lib/components/input/gauge/InputGauge.native.mjs +55 -0
- package/lib/components/input/gauge/hook/useGauge.d.mts +32 -0
- package/lib/components/input/gauge/hook/useGauge.js +26 -22
- package/lib/components/input/gauge/hook/useGauge.mjs +80 -0
- package/lib/components/input/index.d.mts +4 -0
- package/lib/components/input/index.js +9 -5
- package/lib/components/input/index.mjs +5 -0
- package/lib/components/link/Link.d.mts +23 -0
- package/lib/components/link/Link.js +19 -17
- package/lib/components/link/Link.mjs +52 -0
- package/lib/components/link/Link.native.d.mts +16 -0
- package/lib/components/link/Link.native.js +23 -21
- package/lib/components/link/Link.native.mjs +58 -0
- package/lib/components/link/LinkProps.d.mts +28 -0
- package/lib/components/link/LinkProps.js +2 -1
- package/lib/components/link/LinkProps.mjs +2 -0
- package/lib/components/link/index.d.mts +2 -0
- package/lib/components/link/index.js +7 -3
- package/lib/components/link/index.mjs +3 -0
- package/lib/components/list/List.d.mts +11 -0
- package/lib/components/list/List.js +16 -14
- package/lib/components/list/List.mjs +24 -0
- package/lib/components/list/List.native.d.mts +11 -0
- package/lib/components/list/List.native.js +14 -12
- package/lib/components/list/List.native.mjs +20 -0
- package/lib/components/list/ListProps.d.mts +14 -0
- package/lib/components/list/ListProps.js +2 -1
- package/lib/components/list/ListProps.mjs +2 -0
- package/lib/components/list/context/ListContext.d.mts +3 -0
- package/lib/components/list/context/ListContext.js +7 -3
- package/lib/components/list/context/ListContext.mjs +8 -0
- package/lib/components/list/context/ListContextProps.d.mts +7 -0
- package/lib/components/list/context/ListContextProps.js +2 -1
- package/lib/components/list/context/ListContextProps.mjs +2 -0
- package/lib/components/list/context/index.d.mts +2 -0
- package/lib/components/list/context/index.js +6 -3
- package/lib/components/list/context/index.mjs +3 -0
- package/lib/components/list/index.d.mts +4 -0
- package/lib/components/list/index.js +9 -5
- package/lib/components/list/index.mjs +5 -0
- package/lib/components/list/item/ListItem.d.mts +11 -0
- package/lib/components/list/item/ListItem.js +19 -16
- package/lib/components/list/item/ListItem.mjs +26 -0
- package/lib/components/list/item/ListItem.native.d.mts +11 -0
- package/lib/components/list/item/ListItem.native.js +32 -30
- package/lib/components/list/item/ListItem.native.mjs +62 -0
- package/lib/components/list/item/ListItemProps.d.mts +23 -0
- package/lib/components/list/item/ListItemProps.js +6 -3
- package/lib/components/list/item/ListItemProps.mjs +8 -0
- package/lib/components/list/item/description/ListItemDescription.d.mts +10 -0
- package/lib/components/list/item/description/ListItemDescription.js +13 -10
- package/lib/components/list/item/description/ListItemDescription.mjs +19 -0
- package/lib/components/list/item/description/ListItemDescription.native.d.mts +8 -0
- package/lib/components/list/item/description/ListItemDescription.native.js +12 -9
- package/lib/components/list/item/description/ListItemDescription.native.mjs +18 -0
- package/lib/components/list/item/description/ListItemDescriptionProps.d.mts +11 -0
- package/lib/components/list/item/description/ListItemDescriptionProps.js +2 -1
- package/lib/components/list/item/description/ListItemDescriptionProps.mjs +2 -0
- package/lib/components/list/item/description/index.d.mts +3 -0
- package/lib/components/list/item/description/index.js +8 -4
- package/lib/components/list/item/description/index.mjs +4 -0
- package/lib/components/list/item/index.d.mts +4 -0
- package/lib/components/list/item/index.js +9 -5
- package/lib/components/list/item/index.mjs +5 -0
- package/lib/components/modal/Modal.d.mts +17 -0
- package/lib/components/modal/Modal.js +40 -38
- package/lib/components/modal/Modal.mjs +98 -0
- package/lib/components/modal/Modal.native.d.mts +15 -0
- package/lib/components/modal/Modal.native.js +35 -33
- package/lib/components/modal/Modal.native.mjs +78 -0
- package/lib/components/modal/ModalEnum.d.mts +28 -0
- package/lib/components/modal/ModalEnum.js +10 -7
- package/lib/components/modal/ModalEnum.mjs +30 -0
- package/lib/components/modal/ModalProps.d.mts +24 -0
- package/lib/components/modal/ModalProps.js +2 -1
- package/lib/components/modal/ModalProps.mjs +2 -0
- package/lib/components/modal/body/ModalBody.d.mts +11 -0
- package/lib/components/modal/body/ModalBody.js +13 -10
- package/lib/components/modal/body/ModalBody.mjs +20 -0
- package/lib/components/modal/body/ModalBody.native.d.mts +10 -0
- package/lib/components/modal/body/ModalBody.native.js +18 -16
- package/lib/components/modal/body/ModalBody.native.mjs +27 -0
- package/lib/components/modal/body/ModalBodyProps.d.mts +11 -0
- package/lib/components/modal/body/ModalBodyProps.js +2 -1
- package/lib/components/modal/body/ModalBodyProps.mjs +2 -0
- package/lib/components/modal/context/ModalContext.d.mts +3 -0
- package/lib/components/modal/context/ModalContext.js +7 -3
- package/lib/components/modal/context/ModalContext.mjs +8 -0
- package/lib/components/modal/context/ModalContextProps.d.mts +8 -0
- package/lib/components/modal/context/ModalContextProps.js +2 -1
- package/lib/components/modal/context/ModalContextProps.mjs +2 -0
- package/lib/components/modal/context/index.d.mts +2 -0
- package/lib/components/modal/context/index.js +6 -3
- package/lib/components/modal/context/index.mjs +3 -0
- package/lib/components/modal/footer/ModalFooter.d.mts +11 -0
- package/lib/components/modal/footer/ModalFooter.js +13 -10
- package/lib/components/modal/footer/ModalFooter.mjs +20 -0
- package/lib/components/modal/footer/ModalFooter.native.d.mts +9 -0
- package/lib/components/modal/footer/ModalFooter.native.js +19 -17
- package/lib/components/modal/footer/ModalFooter.native.mjs +35 -0
- package/lib/components/modal/footer/ModalFooterProps.d.mts +11 -0
- package/lib/components/modal/footer/ModalFooterProps.js +2 -1
- package/lib/components/modal/footer/ModalFooterProps.mjs +2 -0
- package/lib/components/modal/index.d.mts +5 -0
- package/lib/components/modal/index.js +12 -6
- package/lib/components/modal/index.mjs +6 -0
- package/lib/components/otp/Otp.d.mts +19 -0
- package/lib/components/otp/Otp.js +30 -28
- package/lib/components/otp/Otp.mjs +133 -0
- package/lib/components/otp/Otp.native.d.mts +17 -0
- package/lib/components/otp/Otp.native.js +37 -35
- package/lib/components/otp/Otp.native.mjs +134 -0
- package/lib/components/otp/OtpProps.d.mts +20 -0
- package/lib/components/otp/OtpProps.js +2 -1
- package/lib/components/otp/OtpProps.mjs +2 -0
- package/lib/components/otp/index.d.mts +2 -0
- package/lib/components/otp/index.js +7 -3
- package/lib/components/otp/index.mjs +3 -0
- package/lib/components/pagination/Pagination.d.mts +14 -0
- package/lib/components/pagination/Pagination.js +34 -32
- package/lib/components/pagination/Pagination.mjs +93 -0
- package/lib/components/pagination/Pagination.native.d.mts +12 -0
- package/lib/components/pagination/Pagination.native.js +42 -40
- package/lib/components/pagination/Pagination.native.mjs +136 -0
- package/lib/components/pagination/PaginationEnum.d.mts +6 -0
- package/lib/components/pagination/PaginationEnum.js +2 -1
- package/lib/components/pagination/PaginationEnum.mjs +2 -0
- package/lib/components/pagination/PaginationProps.d.mts +15 -0
- package/lib/components/pagination/PaginationProps.js +2 -1
- package/lib/components/pagination/PaginationProps.mjs +2 -0
- package/lib/components/pagination/index.d.mts +3 -0
- package/lib/components/pagination/index.js +8 -4
- package/lib/components/pagination/index.mjs +4 -0
- package/lib/components/popover/Popover.d.mts +15 -0
- package/lib/components/popover/Popover.js +17 -15
- package/lib/components/popover/Popover.mjs +29 -0
- package/lib/components/popover/Popover.native.d.mts +12 -0
- package/lib/components/popover/Popover.native.js +31 -28
- package/lib/components/popover/Popover.native.mjs +93 -0
- package/lib/components/popover/PopoverEnum.d.mts +23 -0
- package/lib/components/popover/PopoverEnum.js +8 -5
- package/lib/components/popover/PopoverEnum.mjs +18 -0
- package/lib/components/popover/PopoverProps.d.mts +22 -0
- package/lib/components/popover/PopoverProps.js +2 -1
- package/lib/components/popover/PopoverProps.mjs +2 -0
- package/lib/components/popover/index.d.mts +3 -0
- package/lib/components/popover/index.js +8 -4
- package/lib/components/popover/index.mjs +4 -0
- package/lib/components/price/Price.d.mts +22 -0
- package/lib/components/price/Price.js +36 -34
- package/lib/components/price/Price.mjs +91 -0
- package/lib/components/price/Price.native.d.mts +21 -0
- package/lib/components/price/Price.native.js +96 -94
- package/lib/components/price/Price.native.mjs +245 -0
- package/lib/components/price/PriceEnum.d.mts +10 -0
- package/lib/components/price/PriceEnum.js +6 -3
- package/lib/components/price/PriceEnum.mjs +11 -0
- package/lib/components/price/PriceHelpers.d.mts +1 -0
- package/lib/components/price/PriceHelpers.js +6 -2
- package/lib/components/price/PriceHelpers.mjs +8 -0
- package/lib/components/price/PriceProps.d.mts +21 -0
- package/lib/components/price/PriceProps.js +2 -1
- package/lib/components/price/PriceProps.mjs +2 -0
- package/lib/components/price/index.d.mts +3 -0
- package/lib/components/price/index.js +8 -4
- package/lib/components/price/index.mjs +4 -0
- package/lib/components/product-tour/ProductTour.d.mts +16 -0
- package/lib/components/product-tour/ProductTour.js +26 -24
- package/lib/components/product-tour/ProductTour.mjs +39 -0
- package/lib/components/product-tour/ProductTour.native.d.mts +9 -0
- package/lib/components/product-tour/ProductTour.native.js +10 -7
- package/lib/components/product-tour/ProductTour.native.mjs +14 -0
- package/lib/components/product-tour/ProductTourProps.d.mts +63 -0
- package/lib/components/product-tour/ProductTourProps.js +10 -7
- package/lib/components/product-tour/ProductTourProps.mjs +33 -0
- package/lib/components/product-tour/index.d.mts +3 -0
- package/lib/components/product-tour/index.js +8 -4
- package/lib/components/product-tour/index.mjs +4 -0
- package/lib/components/progress/Progress.d.mts +12 -0
- package/lib/components/progress/Progress.js +23 -21
- package/lib/components/progress/Progress.mjs +38 -0
- package/lib/components/progress/Progress.native.d.mts +13 -0
- package/lib/components/progress/Progress.native.js +30 -28
- package/lib/components/progress/Progress.native.mjs +99 -0
- package/lib/components/progress/ProgressProps.d.mts +19 -0
- package/lib/components/progress/ProgressProps.js +2 -1
- package/lib/components/progress/ProgressProps.mjs +2 -0
- package/lib/components/progress/index.d.mts +5 -0
- package/lib/components/progress/index.js +13 -6
- package/lib/components/progress/index.mjs +6 -0
- package/lib/components/progress/item/ProgressItem.d.mts +15 -0
- package/lib/components/progress/item/ProgressItem.js +18 -16
- package/lib/components/progress/item/ProgressItem.mjs +28 -0
- package/lib/components/progress/item/ProgressItem.native.d.mts +12 -0
- package/lib/components/progress/item/ProgressItem.native.js +15 -13
- package/lib/components/progress/item/ProgressItem.native.mjs +34 -0
- package/lib/components/progress/item/ProgressItemProps.d.mts +20 -0
- package/lib/components/progress/item/ProgressItemProps.js +2 -1
- package/lib/components/progress/item/ProgressItemProps.mjs +2 -0
- package/lib/components/progress/item/index.d.mts +2 -0
- package/lib/components/progress/item/index.js +6 -3
- package/lib/components/progress/item/index.mjs +3 -0
- package/lib/components/progress/radial/ProgressRadial.d.mts +16 -0
- package/lib/components/progress/radial/ProgressRadial.js +30 -28
- package/lib/components/progress/radial/ProgressRadial.mjs +76 -0
- package/lib/components/progress/radial/ProgressRadial.native.d.mts +17 -0
- package/lib/components/progress/radial/ProgressRadial.native.js +36 -34
- package/lib/components/progress/radial/ProgressRadial.native.mjs +95 -0
- package/lib/components/progress/radial/ProgressRadialProps.d.mts +23 -0
- package/lib/components/progress/radial/ProgressRadialProps.js +2 -1
- package/lib/components/progress/radial/ProgressRadialProps.mjs +2 -0
- package/lib/components/progress/radial/index.d.mts +2 -0
- package/lib/components/progress/radial/index.js +6 -3
- package/lib/components/progress/radial/index.mjs +3 -0
- package/lib/components/progress/radial/item/ProgressRadialItemProps.d.mts +8 -0
- package/lib/components/progress/radial/item/ProgressRadialItemProps.js +2 -1
- package/lib/components/progress/radial/item/ProgressRadialItemProps.mjs +2 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.d.mts +4 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.js +11 -8
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +12 -0
- package/lib/components/progress/radial/item/index.d.mts +2 -0
- package/lib/components/progress/radial/item/index.js +6 -3
- package/lib/components/progress/radial/item/index.mjs +3 -0
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.mts +50 -0
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js +18 -16
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.mjs +75 -0
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.d.mts +65 -0
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js +39 -37
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.mjs +123 -0
- package/lib/components/progress/radial/react-native-circular-progress/index.d.mts +3 -0
- package/lib/components/progress/radial/react-native-circular-progress/index.js +9 -4
- package/lib/components/progress/radial/react-native-circular-progress/index.mjs +4 -0
- package/lib/components/radio/Radio.d.mts +18 -0
- package/lib/components/radio/Radio.js +17 -15
- package/lib/components/radio/Radio.mjs +39 -0
- package/lib/components/radio/Radio.native.d.mts +16 -0
- package/lib/components/radio/Radio.native.js +22 -19
- package/lib/components/radio/Radio.native.mjs +65 -0
- package/lib/components/radio/RadioProps.d.mts +24 -0
- package/lib/components/radio/RadioProps.js +2 -1
- package/lib/components/radio/RadioProps.mjs +2 -0
- package/lib/components/radio/index.d.mts +5 -0
- package/lib/components/radio/index.js +13 -6
- package/lib/components/radio/index.mjs +6 -0
- package/lib/components/radio/list/RadioList.d.mts +14 -0
- package/lib/components/radio/list/RadioList.js +17 -15
- package/lib/components/radio/list/RadioList.mjs +27 -0
- package/lib/components/radio/list/RadioList.native.d.mts +9 -0
- package/lib/components/radio/list/RadioList.native.js +14 -12
- package/lib/components/radio/list/RadioList.native.mjs +26 -0
- package/lib/components/radio/list/RadioListProps.d.mts +26 -0
- package/lib/components/radio/list/RadioListProps.js +2 -1
- package/lib/components/radio/list/RadioListProps.mjs +2 -0
- package/lib/components/radio/list/index.d.mts +2 -0
- package/lib/components/radio/list/index.js +7 -3
- package/lib/components/radio/list/index.mjs +3 -0
- package/lib/components/radio/tiles/RadioTiles.d.mts +14 -0
- package/lib/components/radio/tiles/RadioTiles.js +24 -22
- package/lib/components/radio/tiles/RadioTiles.mjs +44 -0
- package/lib/components/radio/tiles/RadioTiles.native.d.mts +12 -0
- package/lib/components/radio/tiles/RadioTiles.native.js +22 -20
- package/lib/components/radio/tiles/RadioTiles.native.mjs +35 -0
- package/lib/components/radio/tiles/RadioTilesProps.d.mts +13 -0
- package/lib/components/radio/tiles/RadioTilesProps.js +2 -1
- package/lib/components/radio/tiles/RadioTilesProps.mjs +2 -0
- package/lib/components/radio/tiles/index.d.mts +2 -0
- package/lib/components/radio/tiles/index.js +6 -3
- package/lib/components/radio/tiles/index.mjs +3 -0
- package/lib/components/radio/tiles/tile/RadioTile.d.mts +23 -0
- package/lib/components/radio/tiles/tile/RadioTile.js +28 -26
- package/lib/components/radio/tiles/tile/RadioTile.mjs +55 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.d.mts +20 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.js +52 -50
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +124 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.d.mts +17 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.js +2 -1
- package/lib/components/radio/tiles/tile/RadioTileProps.mjs +2 -0
- package/lib/components/radio/tiles/tile/index.d.mts +2 -0
- package/lib/components/radio/tiles/tile/index.js +6 -3
- package/lib/components/radio/tiles/tile/index.mjs +3 -0
- package/lib/components/range/Range.d.mts +27 -0
- package/lib/components/range/Range.js +25 -23
- package/lib/components/range/Range.mjs +104 -0
- package/lib/components/range/Range.native.d.mts +16 -0
- package/lib/components/range/Range.native.js +28 -26
- package/lib/components/range/Range.native.mjs +71 -0
- package/lib/components/range/RangeProps.d.mts +34 -0
- package/lib/components/range/RangeProps.js +2 -1
- package/lib/components/range/RangeProps.mjs +2 -0
- package/lib/components/range/index.d.mts +2 -0
- package/lib/components/range/index.js +7 -3
- package/lib/components/{stack/index.js → range/index.mjs} +3 -3
- package/lib/components/rows/Rows.d.mts +10 -0
- package/lib/components/rows/Rows.js +15 -13
- package/lib/components/rows/Rows.mjs +21 -0
- package/lib/components/rows/Rows.native.d.mts +10 -0
- package/lib/components/rows/Rows.native.js +14 -12
- package/lib/components/rows/Rows.native.mjs +26 -0
- package/lib/components/rows/RowsProps.d.mts +13 -0
- package/lib/components/rows/RowsProps.js +2 -1
- package/lib/components/rows/RowsProps.mjs +2 -0
- package/lib/components/rows/index.d.mts +3 -0
- package/lib/components/rows/index.js +9 -4
- package/lib/components/rows/index.mjs +4 -0
- package/lib/components/rows/row/Row.d.mts +11 -0
- package/lib/components/rows/row/Row.js +16 -14
- package/lib/components/rows/row/Row.mjs +23 -0
- package/lib/components/rows/row/Row.native.d.mts +10 -0
- package/lib/components/rows/row/Row.native.js +12 -10
- package/lib/components/rows/row/Row.native.mjs +22 -0
- package/lib/components/rows/row/RowProps.d.mts +12 -0
- package/lib/components/rows/row/RowProps.js +2 -1
- package/lib/components/rows/row/RowProps.mjs +2 -0
- package/lib/components/rows/row/index.d.mts +2 -0
- package/lib/components/rows/row/index.js +6 -3
- package/lib/components/rows/row/index.mjs +3 -0
- package/lib/components/scroll-view/ScrollView.d.mts +20 -0
- package/lib/components/scroll-view/ScrollView.js +19 -16
- package/lib/components/scroll-view/ScrollView.mjs +42 -0
- package/lib/components/scroll-view/ScrollView.native.d.mts +5 -0
- package/lib/components/scroll-view/ScrollView.native.js +21 -19
- package/lib/components/scroll-view/ScrollView.native.mjs +50 -0
- package/lib/components/scroll-view/ScrollViewProps.d.mts +20 -0
- package/lib/components/scroll-view/ScrollViewProps.js +2 -1
- package/lib/components/scroll-view/ScrollViewProps.mjs +2 -0
- package/lib/components/scroll-view/index.d.mts +2 -0
- package/lib/components/scroll-view/index.js +7 -3
- package/lib/components/scroll-view/index.mjs +3 -0
- package/lib/components/section/Section.d.mts +15 -0
- package/lib/components/section/Section.js +18 -16
- package/lib/components/section/Section.mjs +30 -0
- package/lib/components/section/Section.native.d.mts +12 -0
- package/lib/components/section/Section.native.js +17 -15
- package/lib/components/section/Section.native.mjs +31 -0
- package/lib/components/section/SectionProps.d.mts +16 -0
- package/lib/components/section/SectionProps.js +2 -1
- package/lib/components/section/SectionProps.mjs +2 -0
- package/lib/components/section/index.d.mts +2 -0
- package/lib/components/section/index.js +7 -3
- package/lib/components/section/index.mjs +3 -0
- package/lib/components/segment-control/SegmentControl.d.mts +14 -0
- package/lib/components/segment-control/SegmentControl.js +21 -19
- package/lib/components/segment-control/SegmentControl.mjs +62 -0
- package/lib/components/segment-control/SegmentControl.native.d.mts +11 -0
- package/lib/components/segment-control/SegmentControl.native.js +23 -21
- package/lib/components/segment-control/SegmentControl.native.mjs +76 -0
- package/lib/components/segment-control/SegmentControlProps.d.mts +15 -0
- package/lib/components/segment-control/SegmentControlProps.js +2 -1
- package/lib/components/segment-control/SegmentControlProps.mjs +2 -0
- package/lib/components/segment-control/index.d.mts +3 -0
- package/lib/components/segment-control/index.js +9 -4
- package/lib/components/segment-control/index.mjs +4 -0
- package/lib/components/segment-control/item/SegmentControlItem.d.mts +14 -0
- package/lib/components/segment-control/item/SegmentControlItem.js +17 -15
- package/lib/components/segment-control/item/SegmentControlItem.mjs +35 -0
- package/lib/components/segment-control/item/SegmentControlItem.native.d.mts +13 -0
- package/lib/components/segment-control/item/SegmentControlItem.native.js +23 -21
- package/lib/components/segment-control/item/SegmentControlItem.native.mjs +54 -0
- package/lib/components/segment-control/item/SegmentControlItemProps.d.mts +14 -0
- package/lib/components/segment-control/item/SegmentControlItemProps.js +2 -1
- package/lib/components/segment-control/item/SegmentControlItemProps.mjs +2 -0
- package/lib/components/segment-control/item/index.d.mts +2 -0
- package/lib/components/segment-control/item/index.js +6 -3
- package/lib/components/segment-control/item/index.mjs +3 -0
- package/lib/components/select/Select.d.mts +26 -0
- package/lib/components/select/Select.js +16 -14
- package/lib/components/select/Select.mjs +55 -0
- package/lib/components/select/Select.native.d.mts +17 -0
- package/lib/components/select/Select.native.js +37 -35
- package/lib/components/select/Select.native.mjs +134 -0
- package/lib/components/select/SelectEnum.d.mts +5 -0
- package/lib/components/select/SelectEnum.js +6 -3
- package/lib/components/select/SelectEnum.mjs +6 -0
- package/lib/components/select/SelectProps.d.mts +51 -0
- package/lib/components/select/SelectProps.js +2 -1
- package/lib/components/select/SelectProps.mjs +2 -0
- package/lib/components/select/context/index.d.mts +13 -0
- package/lib/components/select/context/index.js +7 -3
- package/lib/components/select/context/index.mjs +10 -0
- package/lib/components/select/index.d.mts +3 -0
- package/lib/components/select/index.js +9 -4
- package/lib/components/select/index.mjs +4 -0
- package/lib/components/select/option/SelectOption.d.mts +18 -0
- package/lib/components/select/option/SelectOption.js +22 -20
- package/lib/components/select/option/SelectOption.mjs +64 -0
- package/lib/components/select/option/SelectOption.native.d.mts +11 -0
- package/lib/components/select/option/SelectOption.native.js +30 -28
- package/lib/components/select/option/SelectOption.native.mjs +57 -0
- package/lib/components/select/option/SelectOptionProps.d.mts +18 -0
- package/lib/components/select/option/SelectOptionProps.js +2 -1
- package/lib/components/select/option/SelectOptionProps.mjs +2 -0
- package/lib/components/select/option/index.d.mts +2 -0
- package/lib/components/select/option/index.js +6 -3
- package/lib/components/select/option/index.mjs +3 -0
- package/lib/components/select/web/SelectDynamic.d.mts +6 -0
- package/lib/components/select/web/SelectDynamic.js +35 -33
- package/lib/components/select/web/SelectDynamic.mjs +85 -0
- package/lib/components/select/web/SelectNative.d.mts +4 -0
- package/lib/components/select/web/SelectNative.js +32 -30
- package/lib/components/select/web/SelectNative.mjs +65 -0
- package/lib/components/select/web/index.d.mts +2 -0
- package/lib/components/select/web/index.js +11 -3
- package/lib/components/select/web/index.mjs +3 -0
- package/lib/components/spacer/Spacer.d.mts +9 -0
- package/lib/components/spacer/Spacer.js +13 -10
- package/lib/components/spacer/Spacer.mjs +25 -0
- package/lib/components/spacer/Spacer.native.d.mts +10 -0
- package/lib/components/spacer/Spacer.native.js +11 -8
- package/lib/components/spacer/Spacer.native.mjs +21 -0
- package/lib/components/spacer/SpacerEnum.d.mts +17 -0
- package/lib/components/spacer/SpacerEnum.js +7 -4
- package/lib/components/spacer/SpacerEnum.mjs +19 -0
- package/lib/components/spacer/SpacerProps.d.mts +9 -0
- package/lib/components/spacer/SpacerProps.js +2 -1
- package/lib/components/spacer/SpacerProps.mjs +2 -0
- package/lib/components/spacer/index.d.mts +3 -0
- package/lib/components/spacer/index.js +8 -4
- package/lib/components/spacer/index.mjs +4 -0
- package/lib/components/stepper/Stepper.d.mts +11 -0
- package/lib/components/stepper/Stepper.js +18 -16
- package/lib/components/stepper/Stepper.mjs +56 -0
- package/lib/components/stepper/Stepper.native.d.mts +10 -0
- package/lib/components/stepper/Stepper.native.js +23 -21
- package/lib/components/stepper/Stepper.native.mjs +95 -0
- package/lib/components/stepper/StepperProps.d.mts +11 -0
- package/lib/components/stepper/StepperProps.js +2 -1
- package/lib/components/stepper/StepperProps.mjs +2 -0
- package/lib/components/stepper/index.d.mts +4 -0
- package/lib/components/stepper/index.js +10 -5
- package/lib/components/stepper/index.mjs +5 -0
- package/lib/components/stepper/step/Step.d.mts +16 -0
- package/lib/components/stepper/step/Step.js +22 -20
- package/lib/components/stepper/step/Step.mjs +37 -0
- package/lib/components/stepper/step/Step.native.d.mts +12 -0
- package/lib/components/stepper/step/Step.native.js +19 -17
- package/lib/components/stepper/step/Step.native.mjs +56 -0
- package/lib/components/stepper/step/StepEnum.d.mts +13 -0
- package/lib/components/stepper/step/StepEnum.js +6 -3
- package/lib/components/stepper/step/StepEnum.mjs +11 -0
- package/lib/components/stepper/step/StepProps.d.mts +16 -0
- package/lib/components/stepper/step/StepProps.js +2 -1
- package/lib/components/stepper/step/StepProps.mjs +2 -0
- package/lib/components/stepper/step/index.d.mts +2 -0
- package/lib/components/stepper/step/index.js +6 -3
- package/lib/components/stepper/step/index.mjs +3 -0
- package/lib/components/sticker/Sticker.d.mts +16 -0
- package/lib/components/sticker/Sticker.js +20 -18
- package/lib/components/sticker/Sticker.mjs +32 -0
- package/lib/components/sticker/Sticker.native.d.mts +15 -0
- package/lib/components/sticker/Sticker.native.js +22 -20
- package/lib/components/sticker/Sticker.native.mjs +62 -0
- package/lib/components/sticker/StickerProps.d.mts +12 -0
- package/lib/components/sticker/StickerProps.js +2 -1
- package/lib/components/sticker/StickerProps.mjs +2 -0
- package/lib/components/sticker/index.d.mts +2 -0
- package/lib/components/sticker/index.js +7 -3
- package/lib/components/sticker/index.mjs +3 -0
- package/lib/components/styleComponent/default/index.d.mts +1 -0
- package/lib/components/styleComponent/default/index.js +9 -2
- package/lib/components/styleComponent/default/index.mjs +2 -0
- package/lib/components/styleComponent/default/styleComponent.d.mts +6 -0
- package/lib/components/styleComponent/default/styleComponent.js +8 -5
- package/lib/components/styleComponent/default/styleComponent.mjs +8 -0
- package/lib/components/styleComponent/default/styleComponent.native.d.mts +5 -0
- package/lib/components/styleComponent/default/styleComponent.native.js +7 -4
- package/lib/components/styleComponent/default/styleComponent.native.mjs +7 -0
- package/lib/components/styleComponent/index.d.mts +2 -0
- package/lib/components/styleComponent/index.js +6 -3
- package/lib/components/styleComponent/index.mjs +3 -0
- package/lib/components/styleComponent/mangled/index.d.mts +1 -0
- package/lib/components/styleComponent/mangled/index.js +9 -2
- package/lib/components/styleComponent/mangled/index.mjs +2 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.d.mts +6 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.js +8 -5
- package/lib/components/styleComponent/mangled/styleComponentMangled.mjs +8 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.mts +5 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +7 -4
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.mjs +7 -0
- package/lib/components/switch/Switch.d.mts +20 -0
- package/lib/components/switch/Switch.js +23 -21
- package/lib/components/switch/Switch.mjs +65 -0
- package/lib/components/switch/Switch.native.d.mts +15 -0
- package/lib/components/switch/Switch.native.js +22 -20
- package/lib/components/switch/Switch.native.mjs +45 -0
- package/lib/components/switch/SwitchProps.d.mts +23 -0
- package/lib/components/switch/SwitchProps.js +2 -1
- package/lib/components/switch/SwitchProps.mjs +2 -0
- package/lib/components/switch/index.d.mts +2 -0
- package/lib/components/switch/index.js +7 -3
- package/lib/components/switch/index.mjs +3 -0
- package/lib/components/table/Table.d.mts +15 -0
- package/lib/components/table/Table.js +17 -15
- package/lib/components/table/Table.mjs +28 -0
- package/lib/components/table/Table.native.d.mts +10 -0
- package/lib/components/table/Table.native.js +15 -13
- package/lib/components/table/Table.native.mjs +33 -0
- package/lib/components/table/TableProps.d.mts +17 -0
- package/lib/components/table/TableProps.js +6 -3
- package/lib/components/table/TableProps.mjs +7 -0
- package/lib/components/table/body/TableBody.d.mts +12 -0
- package/lib/components/table/body/TableBody.js +18 -16
- package/lib/components/table/body/TableBody.mjs +26 -0
- package/lib/components/table/body/TableBody.native.d.mts +9 -0
- package/lib/components/table/body/TableBody.native.js +12 -10
- package/lib/components/table/body/TableBody.native.mjs +22 -0
- package/lib/components/table/body/TableBodyProps.d.mts +11 -0
- package/lib/components/table/body/TableBodyProps.js +2 -1
- package/lib/components/table/body/TableBodyProps.mjs +2 -0
- package/lib/components/table/body/index.d.mts +2 -0
- package/lib/components/table/body/index.js +6 -3
- package/lib/components/table/body/index.mjs +3 -0
- package/lib/components/table/head/TableHead.d.mts +12 -0
- package/lib/components/table/head/TableHead.js +18 -16
- package/lib/components/table/head/TableHead.mjs +26 -0
- package/lib/components/table/head/TableHead.native.d.mts +9 -0
- package/lib/components/table/head/TableHead.native.js +12 -10
- package/lib/components/table/head/TableHead.native.mjs +21 -0
- package/lib/components/table/head/TableHeadProps.d.mts +11 -0
- package/lib/components/table/head/TableHeadProps.js +2 -1
- package/lib/components/table/head/TableHeadProps.mjs +2 -0
- package/lib/components/table/head/index.d.mts +2 -0
- package/lib/components/table/head/index.js +6 -3
- package/lib/components/table/head/index.mjs +3 -0
- package/lib/components/table/index.d.mts +8 -0
- package/lib/components/table/index.js +18 -9
- package/lib/components/table/index.mjs +9 -0
- package/lib/components/table/td/TableTd.d.mts +12 -0
- package/lib/components/table/td/TableTd.js +15 -13
- package/lib/components/table/td/TableTd.mjs +23 -0
- package/lib/components/table/td/TableTd.native.d.mts +9 -0
- package/lib/components/table/td/TableTd.native.js +16 -14
- package/lib/components/table/td/TableTd.native.mjs +30 -0
- package/lib/components/table/td/TableTdProps.d.mts +11 -0
- package/lib/components/table/td/TableTdProps.js +2 -1
- package/lib/components/table/td/TableTdProps.mjs +2 -0
- package/lib/components/table/td/index.d.mts +2 -0
- package/lib/components/table/td/index.js +6 -3
- package/lib/components/table/td/index.mjs +3 -0
- package/lib/components/table/th/TableTh.d.mts +13 -0
- package/lib/components/table/th/TableTh.js +15 -13
- package/lib/components/table/th/TableTh.mjs +24 -0
- package/lib/components/table/th/TableTh.native.d.mts +8 -0
- package/lib/components/table/th/TableTh.native.js +18 -16
- package/lib/components/table/th/TableTh.native.mjs +33 -0
- package/lib/components/table/th/TableThProps.d.mts +11 -0
- package/lib/components/table/th/TableThProps.js +2 -1
- package/lib/components/table/th/TableThProps.mjs +2 -0
- package/lib/components/table/th/index.d.mts +2 -0
- package/lib/components/table/th/index.js +6 -3
- package/lib/components/table/th/index.mjs +3 -0
- package/lib/components/table/tr/TableTr.d.mts +16 -0
- package/lib/components/table/tr/TableTr.js +17 -15
- package/lib/components/table/tr/TableTr.mjs +29 -0
- package/lib/components/table/tr/TableTr.native.d.mts +10 -0
- package/lib/components/table/tr/TableTr.native.js +23 -21
- package/lib/components/table/tr/TableTr.native.mjs +42 -0
- package/lib/components/table/tr/TableTrProps.d.mts +17 -0
- package/lib/components/table/tr/TableTrProps.js +2 -1
- package/lib/components/table/tr/TableTrProps.mjs +2 -0
- package/lib/components/table/tr/index.d.mts +2 -0
- package/lib/components/table/tr/index.js +6 -3
- package/lib/components/table/tr/index.mjs +3 -0
- package/lib/components/tabs/Tabs.d.mts +15 -0
- package/lib/components/tabs/Tabs.js +21 -19
- package/lib/components/tabs/Tabs.mjs +40 -0
- package/lib/components/tabs/Tabs.native.d.mts +11 -0
- package/lib/components/tabs/Tabs.native.js +17 -15
- package/lib/components/tabs/Tabs.native.mjs +32 -0
- package/lib/components/tabs/TabsProps.d.mts +16 -0
- package/lib/components/tabs/TabsProps.js +2 -1
- package/lib/components/tabs/TabsProps.mjs +2 -0
- package/lib/components/tabs/context/index.d.mts +10 -0
- package/lib/components/tabs/context/index.js +7 -3
- package/lib/components/tabs/context/index.mjs +9 -0
- package/lib/components/tabs/index.d.mts +6 -0
- package/lib/components/tabs/index.js +15 -7
- package/lib/components/tabs/index.mjs +7 -0
- package/lib/components/tabs/tab-list/TabList.d.mts +13 -0
- package/lib/components/tabs/tab-list/TabList.js +44 -42
- package/lib/components/tabs/tab-list/TabList.mjs +90 -0
- package/lib/components/tabs/tab-list/TabList.native.d.mts +14 -0
- package/lib/components/tabs/tab-list/TabList.native.js +40 -38
- package/lib/components/tabs/tab-list/TabList.native.mjs +83 -0
- package/lib/components/tabs/tab-list/TabListProps.d.mts +13 -0
- package/lib/components/tabs/tab-list/TabListProps.js +2 -1
- package/lib/components/tabs/tab-list/TabListProps.mjs +2 -0
- package/lib/components/tabs/tab-list/index.d.mts +2 -0
- package/lib/components/tabs/tab-list/index.js +6 -3
- package/lib/components/tabs/tab-list/index.mjs +3 -0
- package/lib/components/tabs/tab-list/tab/Tab.d.mts +19 -0
- package/lib/components/tabs/tab-list/tab/Tab.js +26 -24
- package/lib/components/tabs/tab-list/tab/Tab.mjs +51 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.d.mts +16 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.js +32 -30
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +64 -0
- package/lib/components/tabs/tab-list/tab/TabProps.d.mts +20 -0
- package/lib/components/tabs/tab-list/tab/TabProps.js +2 -1
- package/lib/components/tabs/tab-list/tab/TabProps.mjs +2 -0
- package/lib/components/tabs/tab-list/tab/index.d.mts +2 -0
- package/lib/components/tabs/tab-list/tab/index.js +6 -3
- package/lib/components/tabs/tab-list/tab/index.mjs +3 -0
- package/lib/components/tabs/tab-panels/TabPanels.d.mts +12 -0
- package/lib/components/tabs/tab-panels/TabPanels.js +19 -17
- package/lib/components/tabs/tab-panels/TabPanels.mjs +28 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.d.mts +13 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.js +20 -18
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +33 -0
- package/lib/components/tabs/tab-panels/TabPanelsProps.d.mts +12 -0
- package/lib/components/tabs/tab-panels/TabPanelsProps.js +2 -1
- package/lib/components/tabs/tab-panels/TabPanelsProps.mjs +2 -0
- package/lib/components/tabs/tab-panels/index.d.mts +2 -0
- package/lib/components/tabs/tab-panels/index.js +6 -3
- package/lib/components/tabs/tab-panels/index.mjs +3 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.d.mts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +20 -18
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +26 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.mts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +20 -18
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.mjs +44 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.mts +13 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.js +2 -1
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.mjs +2 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.d.mts +2 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.js +6 -3
- package/lib/components/tabs/tab-panels/tab-panel/index.mjs +3 -0
- package/lib/components/tag/Tag.d.mts +15 -0
- package/lib/components/tag/Tag.js +21 -19
- package/lib/components/tag/Tag.mjs +32 -0
- package/lib/components/tag/Tag.native.d.mts +14 -0
- package/lib/components/tag/Tag.native.js +23 -21
- package/lib/components/tag/Tag.native.mjs +56 -0
- package/lib/components/tag/TagEnum.d.mts +16 -0
- package/lib/components/tag/TagEnum.js +6 -3
- package/lib/components/tag/TagEnum.mjs +14 -0
- package/lib/components/tag/TagProps.d.mts +17 -0
- package/lib/components/tag/TagProps.js +2 -1
- package/lib/components/tag/TagProps.mjs +2 -0
- package/lib/components/tag/index.d.mts +4 -0
- package/lib/components/tag/index.js +10 -5
- package/lib/components/tag/index.mjs +5 -0
- package/lib/components/tag/list/TagList.d.mts +11 -0
- package/lib/components/tag/list/TagList.js +16 -14
- package/lib/components/tag/list/TagList.mjs +23 -0
- package/lib/components/tag/list/TagList.native.d.mts +10 -0
- package/lib/components/tag/list/TagList.native.js +12 -10
- package/lib/components/tag/list/TagList.native.mjs +30 -0
- package/lib/components/tag/list/TagListProps.d.mts +13 -0
- package/lib/components/tag/list/TagListProps.js +2 -1
- package/lib/components/tag/list/TagListProps.mjs +2 -0
- package/lib/components/tag/list/index.d.mts +2 -0
- package/lib/components/tag/list/index.js +6 -3
- package/lib/components/tag/list/index.mjs +3 -0
- package/lib/components/text/Text.d.mts +19 -0
- package/lib/components/text/Text.js +27 -25
- package/lib/components/text/Text.mjs +56 -0
- package/lib/components/text/Text.native.d.mts +17 -0
- package/lib/components/text/Text.native.js +40 -38
- package/lib/components/text/Text.native.mjs +78 -0
- package/lib/components/text/TextEnum.d.mts +24 -0
- package/lib/components/text/TextEnum.js +8 -5
- package/lib/components/text/TextEnum.mjs +19 -0
- package/lib/components/text/TextProps.d.mts +29 -0
- package/lib/components/text/TextProps.js +2 -1
- package/lib/components/text/TextProps.mjs +2 -0
- package/lib/components/text/index.d.mts +3 -0
- package/lib/components/text/index.js +8 -4
- package/lib/components/text/index.mjs +4 -0
- package/lib/components/textarea/Textarea.d.mts +28 -0
- package/lib/components/textarea/Textarea.js +35 -33
- package/lib/components/textarea/Textarea.mjs +71 -0
- package/lib/components/textarea/Textarea.native.d.mts +33 -0
- package/lib/components/textarea/Textarea.native.js +55 -53
- package/lib/components/textarea/Textarea.native.mjs +154 -0
- package/lib/components/textarea/TextareaProps.d.mts +47 -0
- package/lib/components/textarea/TextareaProps.js +2 -1
- package/lib/components/textarea/TextareaProps.mjs +2 -0
- package/lib/components/textarea/index.d.mts +2 -0
- package/lib/components/textarea/index.js +7 -3
- package/lib/components/textarea/index.mjs +3 -0
- package/lib/components/timeline/Timeline.d.mts +11 -0
- package/lib/components/timeline/Timeline.js +16 -14
- package/lib/components/timeline/Timeline.mjs +23 -0
- package/lib/components/timeline/Timeline.native.d.mts +15 -0
- package/lib/components/timeline/Timeline.native.js +15 -12
- package/lib/components/timeline/Timeline.native.mjs +30 -0
- package/lib/components/timeline/TimelineProps.d.mts +12 -0
- package/lib/components/timeline/TimelineProps.js +2 -1
- package/lib/components/timeline/TimelineProps.mjs +2 -0
- package/lib/components/timeline/content/TimelineContent.d.mts +15 -0
- package/lib/components/timeline/content/TimelineContent.js +21 -19
- package/lib/components/timeline/content/TimelineContent.mjs +34 -0
- package/lib/components/timeline/content/TimelineContent.native.d.mts +13 -0
- package/lib/components/timeline/content/TimelineContent.native.js +24 -21
- package/lib/components/timeline/content/TimelineContent.native.mjs +48 -0
- package/lib/components/timeline/content/TimelineContentProps.d.mts +20 -0
- package/lib/components/timeline/content/TimelineContentProps.js +2 -1
- package/lib/components/timeline/content/TimelineContentProps.mjs +2 -0
- package/lib/components/timeline/content/index.d.mts +2 -0
- package/lib/components/timeline/content/index.js +6 -3
- package/lib/components/timeline/content/index.mjs +3 -0
- package/lib/components/timeline/index.d.mts +5 -0
- package/lib/components/timeline/index.js +13 -6
- package/lib/components/timeline/index.mjs +6 -0
- package/lib/components/timeline/item/TimelineItem.d.mts +13 -0
- package/lib/components/timeline/item/TimelineItem.js +15 -13
- package/lib/components/timeline/item/TimelineItem.mjs +24 -0
- package/lib/components/timeline/item/TimelineItem.native.d.mts +18 -0
- package/lib/components/timeline/item/TimelineItem.native.js +17 -13
- package/lib/components/timeline/item/TimelineItem.native.mjs +38 -0
- package/lib/components/timeline/item/TimelineItemProps.d.mts +22 -0
- package/lib/components/timeline/item/TimelineItemProps.js +2 -1
- package/lib/components/timeline/item/TimelineItemProps.mjs +2 -0
- package/lib/components/timeline/item/index.d.mts +2 -0
- package/lib/components/timeline/item/index.js +6 -3
- package/lib/components/timeline/item/index.mjs +3 -0
- package/lib/components/timeline/marker/TimelineMarker.d.mts +13 -0
- package/lib/components/timeline/marker/TimelineMarker.js +19 -17
- package/lib/components/timeline/marker/TimelineMarker.mjs +29 -0
- package/lib/components/timeline/marker/TimelineMarker.native.d.mts +11 -0
- package/lib/components/timeline/marker/TimelineMarker.native.js +33 -30
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +54 -0
- package/lib/components/timeline/marker/TimelineMarkerProps.d.mts +18 -0
- package/lib/components/timeline/marker/TimelineMarkerProps.js +2 -1
- package/lib/components/timeline/marker/TimelineMarkerProps.mjs +2 -0
- package/lib/components/timeline/marker/index.d.mts +2 -0
- package/lib/components/timeline/marker/index.js +6 -3
- package/lib/components/timeline/marker/index.mjs +3 -0
- package/lib/components/title/Title.d.mts +24 -0
- package/lib/components/title/Title.js +34 -32
- package/lib/components/title/Title.mjs +76 -0
- package/lib/components/title/Title.native.d.mts +19 -0
- package/lib/components/title/Title.native.js +41 -39
- package/lib/components/title/Title.native.mjs +99 -0
- package/lib/components/title/TitleEnum.d.mts +27 -0
- package/lib/components/title/TitleEnum.js +8 -5
- package/lib/components/title/TitleEnum.mjs +25 -0
- package/lib/components/title/TitleProps.d.mts +24 -0
- package/lib/components/title/TitleProps.js +2 -1
- package/lib/components/title/TitleProps.mjs +2 -0
- package/lib/components/title/index.d.mts +3 -0
- package/lib/components/title/index.js +8 -4
- package/lib/components/title/index.mjs +4 -0
- package/lib/components/view/View.d.mts +24 -0
- package/lib/components/view/View.js +18 -16
- package/lib/components/view/View.mjs +48 -0
- package/lib/components/view/View.native.d.mts +18 -0
- package/lib/components/view/View.native.js +20 -18
- package/lib/components/view/View.native.mjs +51 -0
- package/lib/components/view/ViewEnum.d.mts +22 -0
- package/lib/components/view/ViewEnum.js +8 -5
- package/lib/components/view/ViewEnum.mjs +21 -0
- package/lib/components/view/ViewProps.d.mts +40 -0
- package/lib/components/view/ViewProps.js +6 -3
- package/lib/components/view/ViewProps.mjs +21 -0
- package/lib/components/view/index.d.mts +3 -0
- package/lib/components/view/index.js +8 -4
- package/lib/components/view/index.mjs +4 -0
- package/lib/context/index.d.mts +10 -0
- package/lib/context/index.js +8 -3
- package/lib/context/index.mjs +14 -0
- package/lib/context/index.native.d.mts +1 -0
- package/lib/context/index.native.js +6 -2
- package/lib/context/index.native.mjs +4 -0
- package/lib/context/interfaces.d.mts +8 -0
- package/lib/context/interfaces.js +2 -1
- package/lib/context/interfaces.mjs +2 -0
- package/lib/context/provider.d.mts +20 -0
- package/lib/context/provider.js +16 -13
- package/lib/context/provider.mjs +40 -0
- package/lib/context/provider.native.d.mts +4 -0
- package/lib/context/provider.native.js +6 -2
- package/lib/context/provider.native.mjs +5 -0
- package/lib/context/providerStates.d.mts +6 -0
- package/lib/context/providerStates.js +6 -3
- package/lib/context/providerStates.mjs +7 -0
- package/lib/context/providerStyled.d.mts +14 -0
- package/lib/context/providerStyled.js +17 -14
- package/lib/context/providerStyled.mjs +34 -0
- package/lib/context/providerStyled.native.d.mts +4 -0
- package/lib/context/providerStyled.native.js +6 -2
- package/lib/context/providerStyled.native.mjs +5 -0
- package/lib/context/providerTheme.d.mts +12 -0
- package/lib/context/providerTheme.js +11 -6
- package/lib/context/providerTheme.mjs +16 -0
- package/lib/context/providerTheme.native.d.mts +18 -0
- package/lib/context/providerTheme.native.js +18 -14
- package/lib/context/providerTheme.native.mjs +20 -0
- package/lib/events/OnChangeEvent.d.mts +8 -0
- package/lib/events/OnChangeEvent.js +2 -1
- package/lib/events/OnChangeEvent.mjs +2 -0
- package/lib/events/OnClickEvent.d.mts +8 -0
- package/lib/events/OnClickEvent.js +2 -1
- package/lib/events/OnClickEvent.mjs +2 -0
- package/lib/helpers/WrapperReactNativeTesting.d.mts +4 -0
- package/lib/helpers/WrapperReactNativeTesting.js +11 -7
- package/lib/helpers/WrapperReactNativeTesting.mjs +9 -0
- package/lib/helpers/device.d.mts +19 -0
- package/lib/helpers/device.js +13 -9
- package/lib/helpers/device.mjs +35 -0
- package/lib/helpers/device.native.d.mts +19 -0
- package/lib/helpers/device.native.js +14 -10
- package/lib/helpers/device.native.mjs +36 -0
- package/lib/helpers/enumHelpers.d.mts +11 -0
- package/lib/helpers/enumHelpers.js +11 -5
- package/lib/helpers/enumHelpers.mjs +10 -0
- package/lib/helpers/hashClassesHelpers.d.mts +6 -0
- package/lib/helpers/hashClassesHelpers.js +8 -4
- package/lib/helpers/hashClassesHelpers.mjs +20 -0
- package/lib/helpers/index.d.mts +4 -0
- package/lib/helpers/index.js +8 -5
- package/lib/helpers/index.mjs +5 -0
- package/lib/helpers/require.d.mts +2 -0
- package/lib/helpers/require.js +8 -3
- package/lib/helpers/require.mjs +3 -0
- package/lib/helpers/testHelpers.d.mts +1 -0
- package/lib/helpers/testHelpers.js +8 -4
- package/lib/helpers/testHelpers.mjs +13 -0
- package/lib/index.d.mts +6 -0
- package/lib/index.js +10 -7
- package/lib/index.mjs +7 -0
- package/lib/objects/Typography/TypographyAlign.d.mts +18 -0
- package/lib/objects/Typography/TypographyAlign.js +8 -4
- package/lib/objects/Typography/TypographyAlign.mjs +27 -0
- package/lib/objects/Typography/TypographyBold.d.mts +24 -0
- package/lib/objects/Typography/TypographyBold.js +13 -8
- package/lib/objects/Typography/TypographyBold.mjs +49 -0
- package/lib/objects/Typography/TypographyColor.d.mts +24 -0
- package/lib/objects/Typography/TypographyColor.js +29 -25
- package/lib/objects/Typography/TypographyColor.mjs +58 -0
- package/lib/objects/Typography/TypographyTransform.d.mts +13 -0
- package/lib/objects/Typography/TypographyTransform.js +6 -3
- package/lib/objects/Typography/TypographyTransform.mjs +11 -0
- package/lib/objects/Typography/index.d.mts +4 -0
- package/lib/objects/Typography/index.js +8 -5
- package/lib/objects/Typography/index.mjs +5 -0
- package/lib/objects/atoms/Background.d.mts +15 -0
- package/lib/objects/atoms/Background.js +8 -4
- package/lib/objects/atoms/Background.mjs +10 -0
- package/lib/objects/atoms/Text.d.mts +21 -0
- package/lib/objects/atoms/Text.js +6 -2
- package/lib/objects/atoms/Text.mjs +37 -0
- package/lib/objects/atoms/index.d.mts +2 -0
- package/lib/objects/atoms/index.js +6 -3
- package/lib/objects/atoms/index.mjs +3 -0
- package/lib/objects/facets/Accessibility.d.mts +3 -0
- package/lib/objects/facets/Accessibility.js +2 -1
- package/lib/objects/facets/Accessibility.mjs +2 -0
- package/lib/objects/facets/Alignable.d.mts +32 -0
- package/lib/objects/facets/Alignable.d.ts +6 -0
- package/lib/objects/facets/Alignable.js +25 -5
- package/lib/objects/facets/Alignable.mjs +61 -0
- package/lib/objects/facets/Alternate.d.mts +3 -0
- package/lib/objects/facets/Alternate.js +2 -1
- package/lib/objects/facets/Alternate.mjs +2 -0
- package/lib/objects/facets/Centerable.d.mts +3 -0
- package/lib/objects/facets/Centerable.js +2 -1
- package/lib/objects/facets/Centerable.mjs +2 -0
- package/lib/objects/facets/ChildrenWithNoText.d.mts +7 -0
- package/lib/objects/facets/ChildrenWithNoText.js +2 -1
- package/lib/objects/facets/ChildrenWithNoText.mjs +2 -0
- package/lib/objects/facets/Clickable.d.mts +4 -0
- package/lib/objects/facets/Clickable.js +2 -1
- package/lib/objects/facets/Clickable.mjs +2 -0
- package/lib/objects/facets/Clipped.d.mts +3 -0
- package/lib/objects/facets/Clipped.js +2 -1
- package/lib/objects/facets/Clipped.mjs +2 -0
- package/lib/objects/facets/Color.d.mts +50 -0
- package/lib/objects/facets/Color.js +24 -16
- package/lib/objects/facets/Color.mjs +156 -0
- package/lib/objects/facets/CommonProps.d.mts +4 -0
- package/lib/objects/facets/CommonProps.js +2 -1
- package/lib/objects/facets/CommonProps.mjs +2 -0
- package/lib/objects/facets/Dev.d.mts +3 -0
- package/lib/objects/facets/Dev.js +2 -1
- package/lib/objects/facets/Dev.mjs +2 -0
- package/lib/objects/facets/Direction.d.mts +5 -0
- package/lib/objects/facets/Direction.js +6 -3
- package/lib/objects/facets/Direction.mjs +6 -0
- package/lib/objects/facets/Flexable.d.mts +3 -0
- package/lib/objects/facets/Flexable.js +2 -1
- package/lib/objects/facets/Flexable.mjs +2 -0
- package/lib/objects/facets/Fullheight.d.mts +3 -0
- package/lib/objects/facets/Fullheight.js +2 -1
- package/lib/objects/facets/Fullheight.mjs +2 -0
- package/lib/objects/facets/Fullwidth.d.mts +3 -0
- package/lib/objects/facets/Fullwidth.js +2 -1
- package/lib/objects/facets/Fullwidth.mjs +2 -0
- package/lib/objects/facets/Hat.d.mts +3 -0
- package/lib/objects/facets/Hat.js +2 -1
- package/lib/objects/facets/Hat.mjs +2 -0
- package/lib/objects/facets/Hidden.d.mts +12 -0
- package/lib/objects/facets/Hidden.js +2 -1
- package/lib/objects/facets/Hidden.mjs +2 -0
- package/lib/objects/facets/Invertable.d.mts +3 -0
- package/lib/objects/facets/Invertable.js +2 -1
- package/lib/objects/facets/Invertable.mjs +2 -0
- package/lib/objects/facets/Justifiable.d.mts +30 -0
- package/lib/objects/facets/Justifiable.d.ts +10 -2
- package/lib/objects/facets/Justifiable.js +33 -7
- package/lib/objects/facets/Justifiable.mjs +88 -0
- package/lib/objects/facets/Layout.d.mts +4 -0
- package/lib/objects/facets/Layout.js +2 -1
- package/lib/objects/facets/Layout.mjs +2 -0
- package/lib/objects/facets/Loadable.d.mts +20 -0
- package/lib/objects/facets/Loadable.js +8 -4
- package/lib/objects/facets/Loadable.mjs +24 -0
- package/lib/objects/facets/Marginless.d.mts +3 -0
- package/lib/objects/facets/Marginless.js +2 -1
- package/lib/objects/facets/Marginless.mjs +2 -0
- package/lib/objects/facets/Narrow.d.mts +3 -0
- package/lib/objects/facets/Narrow.js +2 -1
- package/lib/objects/facets/Narrow.mjs +2 -0
- package/lib/objects/facets/Paddingless.d.mts +3 -0
- package/lib/objects/facets/Paddingless.js +2 -1
- package/lib/objects/facets/Paddingless.mjs +2 -0
- package/lib/objects/facets/Position.d.mts +4 -0
- package/lib/objects/facets/Position.js +2 -1
- package/lib/objects/facets/Position.mjs +2 -0
- package/lib/objects/facets/Referenceable.d.mts +7 -0
- package/lib/objects/facets/Referenceable.js +2 -1
- package/lib/objects/facets/Referenceable.mjs +2 -0
- package/lib/objects/facets/ScrollDirection.d.mts +8 -0
- package/lib/objects/facets/ScrollDirection.js +6 -3
- package/lib/objects/facets/ScrollDirection.mjs +6 -0
- package/lib/objects/facets/Small.d.mts +3 -0
- package/lib/objects/facets/Small.js +2 -1
- package/lib/objects/facets/Small.mjs +2 -0
- package/lib/objects/facets/Stacked.d.mts +3 -0
- package/lib/objects/facets/Stacked.js +2 -1
- package/lib/objects/facets/Stacked.mjs +2 -0
- package/lib/objects/facets/Status.d.mts +63 -0
- package/lib/objects/facets/Status.js +26 -20
- package/lib/objects/facets/Status.mjs +70 -0
- package/lib/objects/facets/Sticky.d.mts +9 -0
- package/lib/objects/facets/Sticky.js +6 -3
- package/lib/objects/facets/Sticky.mjs +6 -0
- package/lib/objects/facets/Variant.d.mts +27 -0
- package/lib/objects/facets/Variant.js +16 -11
- package/lib/objects/facets/Variant.mjs +57 -0
- package/lib/objects/facets/VerticalPaddingless.d.mts +3 -0
- package/lib/objects/facets/VerticalPaddingless.js +2 -1
- package/lib/objects/facets/VerticalPaddingless.mjs +2 -0
- package/lib/objects/facets/index.d.mts +30 -0
- package/lib/objects/facets/index.js +34 -31
- package/lib/objects/facets/index.mjs +31 -0
- package/lib/objects/index.d.mts +3 -0
- package/lib/objects/index.js +7 -4
- package/lib/objects/index.mjs +4 -0
- package/lib/scripts/merge-esm-files.d.mts +1 -0
- package/lib/scripts/merge-esm-files.d.ts +1 -0
- package/lib/scripts/merge-esm-files.js +46 -0
- package/lib/scripts/merge-esm-files.mjs +46 -0
- package/lib/services/classify.d.mts +4 -0
- package/lib/services/classify.js +12 -7
- package/lib/services/classify.mjs +15 -0
- package/lib/services/index.d.mts +1 -0
- package/lib/services/index.js +5 -2
- package/lib/services/index.mjs +2 -0
- package/lib/tsconfig.esm.json +17 -0
- package/lib/tsconfig.json +3 -2
- package/lib/types/index.d.mts +3 -0
- package/lib/types/index.js +2 -1
- package/lib/types/index.mjs +2 -0
- package/lib/version.d.mts +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +5 -2
- package/lib/version.mjs +2 -0
- package/package.json +22 -5
- package/lib/components/stack/Stack.d.ts +0 -12
- package/lib/components/stack/Stack.js +0 -26
- package/lib/components/stack/Stack.native.d.ts +0 -10
- package/lib/components/stack/Stack.native.js +0 -32
- package/lib/components/stack/StackProps.d.ts +0 -17
- package/lib/components/stack/StackProps.js +0 -2
- package/lib/components/stack/index.d.ts +0 -2
- /package/lib/components/{stack/StackSizeDefaults.js → flex-box/FlexBoxSizeDefaults.js} +0 -0
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var enumsComponentsName_1 = require("../../components/enumsComponentsName");
|
|
5
|
+
var icon_1 = require("../../components/icon");
|
|
6
|
+
var view_1 = require("../../components/view");
|
|
7
|
+
var TypographyBold_1 = require("../../objects/Typography/TypographyBold");
|
|
8
|
+
var Color_1 = require("../../objects/facets/Color");
|
|
9
|
+
var Loadable_1 = require("../../objects/facets/Loadable");
|
|
10
|
+
var Variant_1 = require("../../objects/facets/Variant");
|
|
11
|
+
var React = tslib_1.__importStar(require("react"));
|
|
12
|
+
var react_native_1 = require("react-native");
|
|
13
|
+
var ButtonEnum_1 = require("./ButtonEnum");
|
|
12
14
|
/**
|
|
13
15
|
* Button Native Component
|
|
14
16
|
* @param loading {boolean} Loading button
|
|
@@ -22,65 +24,65 @@ import { ButtonVariant } from './ButtonEnum';
|
|
|
22
24
|
* @param iconName {IconName} If Icon, Button + Icon && Button IconName
|
|
23
25
|
*/
|
|
24
26
|
var Button = React.forwardRef(function (_a, ref) {
|
|
25
|
-
var children = _a.children, variant = _a.variant, onClick = _a.onClick, disabled = _a.disabled, loading = _a.loading, fullwidth = _a.fullwidth, testId = _a.testId, accessibilityLabel = _a.accessibilityLabel, iconName = _a.iconName, others = __rest(_a, ["children", "variant", "onClick", "disabled", "loading", "fullwidth", "testId", "accessibilityLabel", "iconName"]);
|
|
26
|
-
var loaderColor = getColorStyle(TrilogyColor.BACKGROUND);
|
|
27
|
-
var isLoading = typeof loading === 'string' && getLoadingClassName(loading) === 'loading';
|
|
27
|
+
var children = _a.children, variant = _a.variant, onClick = _a.onClick, disabled = _a.disabled, loading = _a.loading, fullwidth = _a.fullwidth, testId = _a.testId, accessibilityLabel = _a.accessibilityLabel, iconName = _a.iconName, others = tslib_1.__rest(_a, ["children", "variant", "onClick", "disabled", "loading", "fullwidth", "testId", "accessibilityLabel", "iconName"]);
|
|
28
|
+
var loaderColor = (0, Color_1.getColorStyle)(Color_1.TrilogyColor.BACKGROUND);
|
|
29
|
+
var isLoading = typeof loading === 'string' && (0, Loadable_1.getLoadingClassName)(loading) === 'loading';
|
|
28
30
|
var background = disabled
|
|
29
|
-
? TrilogyColor.NEUTRAL_FADE
|
|
31
|
+
? Color_1.TrilogyColor.NEUTRAL_FADE
|
|
30
32
|
: isLoading
|
|
31
|
-
? getButtonColorStyle(TrilogyColor.BACKGROUND)
|
|
33
|
+
? (0, Color_1.getButtonColorStyle)(Color_1.TrilogyColor.BACKGROUND)
|
|
32
34
|
: typeof loading === 'boolean' && loading
|
|
33
|
-
? TrilogyColor.NEUTRAL
|
|
34
|
-
: variant === ButtonVariant.SECONDARY
|
|
35
|
-
? TrilogyColor.MAIN_FADE
|
|
36
|
-
: variant === ButtonVariant.CONVERSION
|
|
37
|
-
? TrilogyColor.ACCENT
|
|
38
|
-
: variant === ButtonVariant.GHOST
|
|
39
|
-
? TrilogyColor.BACKGROUND
|
|
40
|
-
: TrilogyColor.MAIN;
|
|
41
|
-
var color = variant && ['secondary', 'ghost'].includes(getVariantClassName(variant))
|
|
42
|
-
? TrilogyColor.FONT
|
|
43
|
-
: TrilogyColor.BACKGROUND;
|
|
44
|
-
var borderColor = disabled && variant === ButtonVariant.PRIMARY
|
|
45
|
-
? TrilogyColor.DISABLED
|
|
46
|
-
: !disabled && !!loading && variant === ButtonVariant.PRIMARY
|
|
47
|
-
? TrilogyColor.DISABLED
|
|
48
|
-
: !disabled && variant === ButtonVariant.PRIMARY
|
|
49
|
-
? TrilogyColor.INFO_FADE
|
|
50
|
-
: TrilogyColor.BACKGROUND;
|
|
51
|
-
var styles = StyleSheet.create({
|
|
35
|
+
? Color_1.TrilogyColor.NEUTRAL
|
|
36
|
+
: variant === ButtonEnum_1.ButtonVariant.SECONDARY
|
|
37
|
+
? Color_1.TrilogyColor.MAIN_FADE
|
|
38
|
+
: variant === ButtonEnum_1.ButtonVariant.CONVERSION
|
|
39
|
+
? Color_1.TrilogyColor.ACCENT
|
|
40
|
+
: variant === ButtonEnum_1.ButtonVariant.GHOST
|
|
41
|
+
? Color_1.TrilogyColor.BACKGROUND
|
|
42
|
+
: Color_1.TrilogyColor.MAIN;
|
|
43
|
+
var color = variant && ['secondary', 'ghost'].includes((0, Variant_1.getVariantClassName)(variant))
|
|
44
|
+
? Color_1.TrilogyColor.FONT
|
|
45
|
+
: Color_1.TrilogyColor.BACKGROUND;
|
|
46
|
+
var borderColor = disabled && variant === ButtonEnum_1.ButtonVariant.PRIMARY
|
|
47
|
+
? Color_1.TrilogyColor.DISABLED
|
|
48
|
+
: !disabled && !!loading && variant === ButtonEnum_1.ButtonVariant.PRIMARY
|
|
49
|
+
? Color_1.TrilogyColor.DISABLED
|
|
50
|
+
: !disabled && variant === ButtonEnum_1.ButtonVariant.PRIMARY
|
|
51
|
+
? Color_1.TrilogyColor.INFO_FADE
|
|
52
|
+
: Color_1.TrilogyColor.BACKGROUND;
|
|
53
|
+
var styles = react_native_1.StyleSheet.create({
|
|
52
54
|
button: {
|
|
53
55
|
maxWidth: '100%',
|
|
54
56
|
minWidth: '100%',
|
|
55
|
-
paddingTop: variant === ButtonVariant.PRIMARY ? 13 : 15,
|
|
56
|
-
paddingBottom: variant === ButtonVariant.PRIMARY ? 13 : 15,
|
|
57
|
-
paddingLeft: variant === ButtonVariant.PRIMARY ? 13 : 15,
|
|
58
|
-
paddingRight: variant === ButtonVariant.PRIMARY ? 13 : 15,
|
|
57
|
+
paddingTop: variant === ButtonEnum_1.ButtonVariant.PRIMARY ? 13 : 15,
|
|
58
|
+
paddingBottom: variant === ButtonEnum_1.ButtonVariant.PRIMARY ? 13 : 15,
|
|
59
|
+
paddingLeft: variant === ButtonEnum_1.ButtonVariant.PRIMARY ? 13 : 15,
|
|
60
|
+
paddingRight: variant === ButtonEnum_1.ButtonVariant.PRIMARY ? 13 : 15,
|
|
59
61
|
justifyContent: 'center',
|
|
60
62
|
alignItems: 'center',
|
|
61
|
-
backgroundColor: getColorStyle(background),
|
|
63
|
+
backgroundColor: (0, Color_1.getColorStyle)(background),
|
|
62
64
|
borderRadius: 4,
|
|
63
65
|
minHeight: 45,
|
|
64
66
|
height: loading ? 52 : 'auto',
|
|
65
|
-
borderColor: getColorStyle(borderColor),
|
|
67
|
+
borderColor: (0, Color_1.getColorStyle)(borderColor),
|
|
66
68
|
},
|
|
67
69
|
text: {
|
|
68
|
-
fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD),
|
|
69
|
-
color: getColorStyle(color),
|
|
70
|
+
fontFamily: (0, TypographyBold_1.getTypographyBoldStyle)(TypographyBold_1.TypographyBold.TEXT_WEIGHT_SEMIBOLD),
|
|
71
|
+
color: (0, Color_1.getColorStyle)(color),
|
|
70
72
|
alignSelf: 'center',
|
|
71
73
|
alignItems: 'center',
|
|
72
74
|
fontWeight: 'bold',
|
|
73
75
|
justifyContent: 'center',
|
|
74
76
|
},
|
|
75
77
|
textDisabled: {
|
|
76
|
-
color: getColorStyle(TrilogyColor.DISABLED),
|
|
78
|
+
color: (0, Color_1.getColorStyle)(Color_1.TrilogyColor.DISABLED),
|
|
77
79
|
alignSelf: 'center',
|
|
78
80
|
alignItems: 'center',
|
|
79
81
|
fontWeight: 'bold',
|
|
80
82
|
justifyContent: 'center',
|
|
81
83
|
},
|
|
82
84
|
textDisabledIcon: {
|
|
83
|
-
color: getColorStyle(TrilogyColor.DISABLED_FADE),
|
|
85
|
+
color: (0, Color_1.getColorStyle)(Color_1.TrilogyColor.DISABLED_FADE),
|
|
84
86
|
alignSelf: 'center',
|
|
85
87
|
alignItems: 'center',
|
|
86
88
|
fontWeight: 'bold',
|
|
@@ -98,7 +100,7 @@ var Button = React.forwardRef(function (_a, ref) {
|
|
|
98
100
|
justifyContent: 'center',
|
|
99
101
|
},
|
|
100
102
|
buttonIconText: {
|
|
101
|
-
color: getColorStyle(color),
|
|
103
|
+
color: (0, Color_1.getColorStyle)(color),
|
|
102
104
|
alignSelf: 'center',
|
|
103
105
|
alignItems: 'center',
|
|
104
106
|
fontWeight: 'bold',
|
|
@@ -112,29 +114,29 @@ var Button = React.forwardRef(function (_a, ref) {
|
|
|
112
114
|
: typeof children === 'string'
|
|
113
115
|
? children
|
|
114
116
|
: 'NotSpecified';
|
|
115
|
-
return (React.createElement(TouchableOpacity, __assign({ ref: ref, accessible: !!buttonAccessibilityLabel, accessibilityLabel: buttonAccessibilityLabel, testID: buttonTestId, disabled: disabled || loading, style: [styles.button, fullwidth && styles.fullwidth], onPress: function (e) { return onClick === null || onClick === void 0 ? void 0 : onClick(e); } }, others),
|
|
116
|
-
loading && typeof loading === 'string' && getLoadingClassName(loading) === 'loading' && (React.createElement(View, { style: {
|
|
117
|
+
return (React.createElement(react_native_1.TouchableOpacity, tslib_1.__assign({ ref: ref, accessible: !!buttonAccessibilityLabel, accessibilityLabel: buttonAccessibilityLabel, testID: buttonTestId, disabled: disabled || loading, style: [styles.button, fullwidth && styles.fullwidth], onPress: function (e) { return onClick === null || onClick === void 0 ? void 0 : onClick(e); } }, others),
|
|
118
|
+
loading && typeof loading === 'string' && (0, Loadable_1.getLoadingClassName)(loading) === 'loading' && (React.createElement(view_1.View, { style: {
|
|
117
119
|
alignItems: 'center',
|
|
118
120
|
justifyContent: 'center',
|
|
119
121
|
height: 45,
|
|
120
122
|
} },
|
|
121
|
-
React.createElement(ActivityIndicator, { color: loaderColor, testID: 'activity-indicator' }))),
|
|
122
|
-
loading && typeof loading === 'boolean' && loading === true && (React.createElement(View, { style: {
|
|
123
|
+
React.createElement(react_native_1.ActivityIndicator, { color: loaderColor, testID: 'activity-indicator' }))),
|
|
124
|
+
loading && typeof loading === 'boolean' && loading === true && (React.createElement(view_1.View, { style: {
|
|
123
125
|
alignItems: 'center',
|
|
124
126
|
height: 45,
|
|
125
127
|
justifyContent: 'center',
|
|
126
128
|
} },
|
|
127
|
-
React.createElement(ActivityIndicator, { color: loaderColor, testID: 'activity-indicator' }))),
|
|
128
|
-
loading && typeof loading === 'string' && getLoadingClassName(loading) === 'loaded' && (React.createElement(Text, { style: (!disabled && styles.text) || (disabled && styles.textDisabled) }, children)),
|
|
129
|
-
!loading && children && typeof children === 'string' && !iconName && (React.createElement(Text, { style: (!disabled && styles.text) || (disabled && styles.textDisabled) }, children)),
|
|
130
|
-
!loading && children && typeof children === 'string' && iconName && (React.createElement(View, { style: styles.buttonIconContainer },
|
|
131
|
-
React.createElement(Icon, { name: iconName, size: IconSize.SMALL, color: disabled
|
|
132
|
-
? TrilogyColor.DISABLED
|
|
129
|
+
React.createElement(react_native_1.ActivityIndicator, { color: loaderColor, testID: 'activity-indicator' }))),
|
|
130
|
+
loading && typeof loading === 'string' && (0, Loadable_1.getLoadingClassName)(loading) === 'loaded' && (React.createElement(react_native_1.Text, { style: (!disabled && styles.text) || (disabled && styles.textDisabled) }, children)),
|
|
131
|
+
!loading && children && typeof children === 'string' && !iconName && (React.createElement(react_native_1.Text, { style: (!disabled && styles.text) || (disabled && styles.textDisabled) }, children)),
|
|
132
|
+
!loading && children && typeof children === 'string' && iconName && (React.createElement(view_1.View, { style: styles.buttonIconContainer },
|
|
133
|
+
React.createElement(icon_1.Icon, { name: iconName, size: icon_1.IconSize.SMALL, color: disabled
|
|
134
|
+
? Color_1.TrilogyColor.DISABLED
|
|
133
135
|
: variant === 'SECONDARY' || variant === 'GHOST'
|
|
134
|
-
? TrilogyColor.MAIN
|
|
135
|
-
: TrilogyColor.BACKGROUND, testId: 'button-icon' }),
|
|
136
|
-
React.createElement(Text, { style: (!disabled && styles.buttonIconText) || (disabled && styles.textDisabledIcon) }, children)))));
|
|
136
|
+
? Color_1.TrilogyColor.MAIN
|
|
137
|
+
: Color_1.TrilogyColor.BACKGROUND, testId: 'button-icon' }),
|
|
138
|
+
React.createElement(react_native_1.Text, { style: (!disabled && styles.buttonIconText) || (disabled && styles.textDisabledIcon) }, children)))));
|
|
137
139
|
});
|
|
138
|
-
Button.displayName = ComponentName.Button;
|
|
139
|
-
|
|
140
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
140
|
+
Button.displayName = enumsComponentsName_1.ComponentName.Button;
|
|
141
|
+
exports.default = Button;
|
|
142
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uLm5hdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXBvbmVudHMvYnV0dG9uL0J1dHRvbi5uYXRpdmUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHdFQUFnRTtBQUNoRSwwQ0FBa0Q7QUFDbEQsMENBQXdDO0FBQ3hDLHNFQUE0RjtBQUM1RixnREFBeUY7QUFDekYsc0RBQStEO0FBQy9ELG9EQUE4RDtBQUM5RCxtREFBOEI7QUFDOUIsNkNBQW9GO0FBQ3BGLDJDQUE0QztBQUc1Qzs7Ozs7Ozs7Ozs7R0FXRztBQUNILElBQU0sTUFBTSxHQUFHLEtBQUssQ0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QU87d0JBQ2hELENBQUMsQ0FBQyxvQkFBWSxDQUFDLElBQUk7d0JBQ25CLENBQUMsQ0FBQyxvQkFBWSxDQUFDLFVBQVUsRUFFN0IsTUFBTSxFQUFDLGFBQWEsR0FDcEI7WUFDRixvQkFBQyxtQkFBSSxJQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsUUFBUSxJQUFJLE1BQU0sQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDLFFBQVEsSUFBSSxNQUFNLENBQUMsZ0JBQWdCLENBQUMsSUFDdkYsUUFBUSxDQUNKLENBQ0YsQ0FDUixDQUNnQixDQUNwQixDQUFBO0FBQ0gsQ0FBQyxDQUNGLENBQUE7QUFFRCxNQUFNLENBQUMsV0FBVyxHQUFHLG1DQUFhLENBQUMsTUFBTSxDQUFBO0FBRXpDLGtCQUFlLE1BQU0sQ0FBQSJ9
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import { ComponentName } from '../../components/enumsComponentsName';
|
|
3
|
+
import { Icon, IconSize } from '../../components/icon';
|
|
4
|
+
import { View } from '../../components/view';
|
|
5
|
+
import { getTypographyBoldStyle, TypographyBold } from '../../objects/Typography/TypographyBold';
|
|
6
|
+
import { getButtonColorStyle, getColorStyle, TrilogyColor } from '../../objects/facets/Color';
|
|
7
|
+
import { getLoadingClassName } from '../../objects/facets/Loadable';
|
|
8
|
+
import { getVariantClassName } from '../../objects/facets/Variant';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
import { ActivityIndicator, StyleSheet, Text, TouchableOpacity } from 'react-native';
|
|
11
|
+
import { ButtonVariant } from './ButtonEnum';
|
|
12
|
+
/**
|
|
13
|
+
* Button Native Component
|
|
14
|
+
* @param loading {boolean} Loading button
|
|
15
|
+
* @param disabled {boolean} Disabled button
|
|
16
|
+
* @param variant {Color} Button color : primary|secondary
|
|
17
|
+
* @param children {React.ReactNode} Button child
|
|
18
|
+
* @param onClick {Function} Click Event
|
|
19
|
+
* @param fullwidth {boolean} Fullwidth button
|
|
20
|
+
* @param testId {string} id for test
|
|
21
|
+
* @param accessibilityLabel {string}
|
|
22
|
+
* @param iconName {IconName} If Icon, Button + Icon && Button IconName
|
|
23
|
+
*/
|
|
24
|
+
var Button = React.forwardRef(function (_a, ref) {
|
|
25
|
+
var children = _a.children, variant = _a.variant, onClick = _a.onClick, disabled = _a.disabled, loading = _a.loading, fullwidth = _a.fullwidth, testId = _a.testId, accessibilityLabel = _a.accessibilityLabel, iconName = _a.iconName, others = __rest(_a, ["children", "variant", "onClick", "disabled", "loading", "fullwidth", "testId", "accessibilityLabel", "iconName"]);
|
|
26
|
+
var loaderColor = getColorStyle(TrilogyColor.BACKGROUND);
|
|
27
|
+
var isLoading = typeof loading === 'string' && getLoadingClassName(loading) === 'loading';
|
|
28
|
+
var background = disabled
|
|
29
|
+
? TrilogyColor.NEUTRAL_FADE
|
|
30
|
+
: isLoading
|
|
31
|
+
? getButtonColorStyle(TrilogyColor.BACKGROUND)
|
|
32
|
+
: typeof loading === 'boolean' && loading
|
|
33
|
+
? TrilogyColor.NEUTRAL
|
|
34
|
+
: variant === ButtonVariant.SECONDARY
|
|
35
|
+
? TrilogyColor.MAIN_FADE
|
|
36
|
+
: variant === ButtonVariant.CONVERSION
|
|
37
|
+
? TrilogyColor.ACCENT
|
|
38
|
+
: variant === ButtonVariant.GHOST
|
|
39
|
+
? TrilogyColor.BACKGROUND
|
|
40
|
+
: TrilogyColor.MAIN;
|
|
41
|
+
var color = variant && ['secondary', 'ghost'].includes(getVariantClassName(variant))
|
|
42
|
+
? TrilogyColor.FONT
|
|
43
|
+
: TrilogyColor.BACKGROUND;
|
|
44
|
+
var borderColor = disabled && variant === ButtonVariant.PRIMARY
|
|
45
|
+
? TrilogyColor.DISABLED
|
|
46
|
+
: !disabled && !!loading && variant === ButtonVariant.PRIMARY
|
|
47
|
+
? TrilogyColor.DISABLED
|
|
48
|
+
: !disabled && variant === ButtonVariant.PRIMARY
|
|
49
|
+
? TrilogyColor.INFO_FADE
|
|
50
|
+
: TrilogyColor.BACKGROUND;
|
|
51
|
+
var styles = StyleSheet.create({
|
|
52
|
+
button: {
|
|
53
|
+
maxWidth: '100%',
|
|
54
|
+
minWidth: '100%',
|
|
55
|
+
paddingTop: variant === ButtonVariant.PRIMARY ? 13 : 15,
|
|
56
|
+
paddingBottom: variant === ButtonVariant.PRIMARY ? 13 : 15,
|
|
57
|
+
paddingLeft: variant === ButtonVariant.PRIMARY ? 13 : 15,
|
|
58
|
+
paddingRight: variant === ButtonVariant.PRIMARY ? 13 : 15,
|
|
59
|
+
justifyContent: 'center',
|
|
60
|
+
alignItems: 'center',
|
|
61
|
+
backgroundColor: getColorStyle(background),
|
|
62
|
+
borderRadius: 4,
|
|
63
|
+
minHeight: 45,
|
|
64
|
+
height: loading ? 52 : 'auto',
|
|
65
|
+
borderColor: getColorStyle(borderColor),
|
|
66
|
+
},
|
|
67
|
+
text: {
|
|
68
|
+
fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD),
|
|
69
|
+
color: getColorStyle(color),
|
|
70
|
+
alignSelf: 'center',
|
|
71
|
+
alignItems: 'center',
|
|
72
|
+
fontWeight: 'bold',
|
|
73
|
+
justifyContent: 'center',
|
|
74
|
+
},
|
|
75
|
+
textDisabled: {
|
|
76
|
+
color: getColorStyle(TrilogyColor.DISABLED),
|
|
77
|
+
alignSelf: 'center',
|
|
78
|
+
alignItems: 'center',
|
|
79
|
+
fontWeight: 'bold',
|
|
80
|
+
justifyContent: 'center',
|
|
81
|
+
},
|
|
82
|
+
textDisabledIcon: {
|
|
83
|
+
color: getColorStyle(TrilogyColor.DISABLED_FADE),
|
|
84
|
+
alignSelf: 'center',
|
|
85
|
+
alignItems: 'center',
|
|
86
|
+
fontWeight: 'bold',
|
|
87
|
+
justifyContent: 'center',
|
|
88
|
+
marginLeft: 12,
|
|
89
|
+
},
|
|
90
|
+
fullwidth: {
|
|
91
|
+
alignSelf: 'stretch',
|
|
92
|
+
},
|
|
93
|
+
buttonIconContainer: {
|
|
94
|
+
flexDirection: 'row',
|
|
95
|
+
alignSelf: 'center',
|
|
96
|
+
alignItems: 'center',
|
|
97
|
+
fontWeight: 'bold',
|
|
98
|
+
justifyContent: 'center',
|
|
99
|
+
},
|
|
100
|
+
buttonIconText: {
|
|
101
|
+
color: getColorStyle(color),
|
|
102
|
+
alignSelf: 'center',
|
|
103
|
+
alignItems: 'center',
|
|
104
|
+
fontWeight: 'bold',
|
|
105
|
+
justifyContent: 'center',
|
|
106
|
+
marginLeft: 8,
|
|
107
|
+
},
|
|
108
|
+
});
|
|
109
|
+
var buttonTestId = testId ? testId : typeof children === 'string' ? children : 'NotSpecified';
|
|
110
|
+
var buttonAccessibilityLabel = accessibilityLabel
|
|
111
|
+
? accessibilityLabel
|
|
112
|
+
: typeof children === 'string'
|
|
113
|
+
? children
|
|
114
|
+
: 'NotSpecified';
|
|
115
|
+
return (React.createElement(TouchableOpacity, __assign({ ref: ref, accessible: !!buttonAccessibilityLabel, accessibilityLabel: buttonAccessibilityLabel, testID: buttonTestId, disabled: disabled || loading, style: [styles.button, fullwidth && styles.fullwidth], onPress: function (e) { return onClick === null || onClick === void 0 ? void 0 : onClick(e); } }, others),
|
|
116
|
+
loading && typeof loading === 'string' && getLoadingClassName(loading) === 'loading' && (React.createElement(View, { style: {
|
|
117
|
+
alignItems: 'center',
|
|
118
|
+
justifyContent: 'center',
|
|
119
|
+
height: 45,
|
|
120
|
+
} },
|
|
121
|
+
React.createElement(ActivityIndicator, { color: loaderColor, testID: 'activity-indicator' }))),
|
|
122
|
+
loading && typeof loading === 'boolean' && loading === true && (React.createElement(View, { style: {
|
|
123
|
+
alignItems: 'center',
|
|
124
|
+
height: 45,
|
|
125
|
+
justifyContent: 'center',
|
|
126
|
+
} },
|
|
127
|
+
React.createElement(ActivityIndicator, { color: loaderColor, testID: 'activity-indicator' }))),
|
|
128
|
+
loading && typeof loading === 'string' && getLoadingClassName(loading) === 'loaded' && (React.createElement(Text, { style: (!disabled && styles.text) || (disabled && styles.textDisabled) }, children)),
|
|
129
|
+
!loading && children && typeof children === 'string' && !iconName && (React.createElement(Text, { style: (!disabled && styles.text) || (disabled && styles.textDisabled) }, children)),
|
|
130
|
+
!loading && children && typeof children === 'string' && iconName && (React.createElement(View, { style: styles.buttonIconContainer },
|
|
131
|
+
React.createElement(Icon, { name: iconName, size: IconSize.SMALL, color: disabled
|
|
132
|
+
? TrilogyColor.DISABLED
|
|
133
|
+
: variant === 'SECONDARY' || variant === 'GHOST'
|
|
134
|
+
? TrilogyColor.MAIN
|
|
135
|
+
: TrilogyColor.BACKGROUND, testId: 'button-icon' }),
|
|
136
|
+
React.createElement(Text, { style: (!disabled && styles.buttonIconText) || (disabled && styles.textDisabledIcon) }, children)))));
|
|
137
|
+
});
|
|
138
|
+
Button.displayName = ComponentName.Button;
|
|
139
|
+
export default Button;
|
|
140
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uLm5hdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXBvbmVudHMvYnV0dG9uL0J1dHRvbi5uYXRpdmUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFDaEUsT0FBTyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUNsRCxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sbUJBQW1CLENBQUE7QUFDeEMsT0FBTyxFQUFFLHNCQUFzQixFQUFFLGNBQWMsRUFBRSxNQUFNLHFDQUFxQyxDQUFBO0FBQzVGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxhQUFhLEVBQUUsWUFBWSxFQUFFLE1BQU0sd0JBQXdCLENB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QkFBbUI7WUFDckMsb0JBQUMsSUFBSSxJQUNILElBQUksRUFBRSxRQUFRLEVBQ2QsSUFBSSxFQUFFLFFBQVEsQ0FBQyxLQUFLLEVBQ3BCLEtBQUssRUFDSCxRQUFRO29CQUNOLENBQUMsQ0FBQyxZQUFZLENBQUMsUUFBUTtvQkFDdkIsQ0FBQyxDQUFDLE9BQU8sS0FBSyxXQUFXLElBQUksT0FBTyxLQUFLLE9BQU87d0JBQ2hELENBQUMsQ0FBQyxZQUFZLENBQUMsSUFBSTt3QkFDbkIsQ0FBQyxDQUFDLFlBQVksQ0FBQyxVQUFVLEVBRTdCLE1BQU0sRUFBQyxhQUFhLEdBQ3BCO1lBQ0Ysb0JBQUMsSUFBSSxJQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsUUFBUSxJQUFJLE1BQU0sQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDLFFBQVEsSUFBSSxNQUFNLENBQUMsZ0JBQWdCLENBQUMsSUFDdkYsUUFBUSxDQUNKLENBQ0YsQ0FDUixDQUNnQixDQUNwQixDQUFBO0FBQ0gsQ0FBQyxDQUNGLENBQUE7QUFFRCxNQUFNLENBQUMsV0FBVyxHQUFHLGFBQWEsQ0FBQyxNQUFNLENBQUE7QUFFekMsZUFBZSxNQUFNLENBQUEifQ==
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List of available Markup for Button
|
|
3
|
+
*/
|
|
4
|
+
declare enum ButtonMarkup {
|
|
5
|
+
BUTTON = "button",
|
|
6
|
+
INPUT = "input",
|
|
7
|
+
A = "a"
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List of available type of Button
|
|
11
|
+
*/
|
|
12
|
+
declare enum ButtonType {
|
|
13
|
+
BUTTON = "button",
|
|
14
|
+
RESET = "reset",
|
|
15
|
+
SUBMIT = "submit"
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Button Variant
|
|
19
|
+
*/
|
|
20
|
+
export declare enum ButtonVariant {
|
|
21
|
+
CONVERSION = "CONVERSION",
|
|
22
|
+
PRIMARY = "PRIMARY",
|
|
23
|
+
SECONDARY = "SECONDARY",
|
|
24
|
+
GHOST = "GHOST"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* List of available Markup values for Button
|
|
28
|
+
*/
|
|
29
|
+
export type ButtonMarkupValues = `${ButtonMarkup}`;
|
|
30
|
+
export type ButtonTypeValues = `${ButtonType}`;
|
|
31
|
+
export type ButtonVariantValues = `${ButtonVariant}`;
|
|
32
|
+
export { ButtonMarkup, ButtonType };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ButtonType = exports.ButtonMarkup = exports.ButtonVariant = void 0;
|
|
1
4
|
/**
|
|
2
5
|
* List of available Markup for Button
|
|
3
6
|
*/
|
|
@@ -7,6 +10,7 @@ var ButtonMarkup;
|
|
|
7
10
|
ButtonMarkup["INPUT"] = "input";
|
|
8
11
|
ButtonMarkup["A"] = "a";
|
|
9
12
|
})(ButtonMarkup || (ButtonMarkup = {}));
|
|
13
|
+
exports.ButtonMarkup = ButtonMarkup;
|
|
10
14
|
/**
|
|
11
15
|
* List of available type of Button
|
|
12
16
|
*/
|
|
@@ -16,15 +20,15 @@ var ButtonType;
|
|
|
16
20
|
ButtonType["RESET"] = "reset";
|
|
17
21
|
ButtonType["SUBMIT"] = "submit";
|
|
18
22
|
})(ButtonType || (ButtonType = {}));
|
|
23
|
+
exports.ButtonType = ButtonType;
|
|
19
24
|
/**
|
|
20
25
|
* Button Variant
|
|
21
26
|
*/
|
|
22
|
-
|
|
27
|
+
var ButtonVariant;
|
|
23
28
|
(function (ButtonVariant) {
|
|
24
29
|
ButtonVariant["CONVERSION"] = "CONVERSION";
|
|
25
30
|
ButtonVariant["PRIMARY"] = "PRIMARY";
|
|
26
31
|
ButtonVariant["SECONDARY"] = "SECONDARY";
|
|
27
32
|
ButtonVariant["GHOST"] = "GHOST";
|
|
28
|
-
})(ButtonVariant || (ButtonVariant = {}));
|
|
29
|
-
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uRW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXBvbmVudHMvYnV0dG9uL0J1dHRvbkVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxJQUFLLFlBSUo7QUFKRCxXQUFLLFlBQVk7SUFDZixpQ0FBaUIsQ0FBQTtJQUNqQiwrQkFBZSxDQUFBO0lBQ2YsdUJBQU8sQ0FBQTtBQUNULENBQUMsRUFKSSxZQUFZLEtBQVosWUFBWSxRQUloQjtBQUVEOztHQUVHO0FBQ0gsSUFBSyxVQUlKO0FBSkQsV0FBSyxVQUFVO0lBQ2IsK0JBQWlCLENBQUE7SUFDakIsNkJBQWUsQ0FBQTtJQUNmLCtCQUFpQixDQUFBO0FBQ25CLENBQUMsRUFKSSxVQUFVLEtBQVYsVUFBVSxRQUlkO0FBRUQ7O0dBRUc7QUFFSCxNQUFNLENBQU4sSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3ZCLDBDQUF5QixDQUFBO0lBQ3pCLG9DQUFtQixDQUFBO0lBQ25CLHdDQUF1QixDQUFBO0lBQ3ZCLGdDQUFlLENBQUE7QUFDakIsQ0FBQyxFQUxXLGFBQWEsS0FBYixhQUFhLFFBS3hCO0FBV0QsT0FBTyxFQUFFLFlBQVksRUFBRSxVQUFVLEVBQUUsQ0FBQSJ9
|
|
33
|
+
})(ButtonVariant = exports.ButtonVariant || (exports.ButtonVariant = {}));
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uRW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXBvbmVudHMvYnV0dG9uL0J1dHRvbkVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUE7O0dBRUc7QUFDSCxJQUFLLFlBSUo7QUFKRCxXQUFLLFlBQVk7SUFDZixpQ0FBaUIsQ0FBQTtJQUNqQiwrQkFBZSxDQUFBO0lBQ2YsdUJBQU8sQ0FBQTtBQUNULENBQUMsRUFKSSxZQUFZLEtBQVosWUFBWSxRQUloQjtBQStCUSxvQ0FBWTtBQTdCckI7O0dBRUc7QUFDSCxJQUFLLFVBSUo7QUFKRCxXQUFLLFVBQVU7SUFDYiwrQkFBaUIsQ0FBQTtJQUNqQiw2QkFBZSxDQUFBO0lBQ2YsK0JBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQUpJLFVBQVUsS0FBVixVQUFVLFFBSWQ7QUFzQnNCLGdDQUFVO0FBcEJqQzs7R0FFRztBQUVILElBQVksYUFLWDtBQUxELFdBQVksYUFBYTtJQUN2QiwwQ0FBeUIsQ0FBQTtJQUN6QixvQ0FBbUIsQ0FBQTtJQUNuQix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ2pCLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List of available Markup for Button
|
|
3
|
+
*/
|
|
4
|
+
var ButtonMarkup;
|
|
5
|
+
(function (ButtonMarkup) {
|
|
6
|
+
ButtonMarkup["BUTTON"] = "button";
|
|
7
|
+
ButtonMarkup["INPUT"] = "input";
|
|
8
|
+
ButtonMarkup["A"] = "a";
|
|
9
|
+
})(ButtonMarkup || (ButtonMarkup = {}));
|
|
10
|
+
/**
|
|
11
|
+
* List of available type of Button
|
|
12
|
+
*/
|
|
13
|
+
var ButtonType;
|
|
14
|
+
(function (ButtonType) {
|
|
15
|
+
ButtonType["BUTTON"] = "button";
|
|
16
|
+
ButtonType["RESET"] = "reset";
|
|
17
|
+
ButtonType["SUBMIT"] = "submit";
|
|
18
|
+
})(ButtonType || (ButtonType = {}));
|
|
19
|
+
/**
|
|
20
|
+
* Button Variant
|
|
21
|
+
*/
|
|
22
|
+
export var ButtonVariant;
|
|
23
|
+
(function (ButtonVariant) {
|
|
24
|
+
ButtonVariant["CONVERSION"] = "CONVERSION";
|
|
25
|
+
ButtonVariant["PRIMARY"] = "PRIMARY";
|
|
26
|
+
ButtonVariant["SECONDARY"] = "SECONDARY";
|
|
27
|
+
ButtonVariant["GHOST"] = "GHOST";
|
|
28
|
+
})(ButtonVariant || (ButtonVariant = {}));
|
|
29
|
+
export { ButtonMarkup, ButtonType };
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uRW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXBvbmVudHMvYnV0dG9uL0J1dHRvbkVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxJQUFLLFlBSUo7QUFKRCxXQUFLLFlBQVk7SUFDZixpQ0FBaUIsQ0FBQTtJQUNqQiwrQkFBZSxDQUFBO0lBQ2YsdUJBQU8sQ0FBQTtBQUNULENBQUMsRUFKSSxZQUFZLEtBQVosWUFBWSxRQUloQjtBQUVEOztHQUVHO0FBQ0gsSUFBSyxVQUlKO0FBSkQsV0FBSyxVQUFVO0lBQ2IsK0JBQWlCLENBQUE7SUFDakIsNkJBQWUsQ0FBQTtJQUNmLCtCQUFpQixDQUFBO0FBQ25CLENBQUMsRUFKSSxVQUFVLEtBQVYsVUFBVSxRQUlkO0FBRUQ7O0dBRUc7QUFFSCxNQUFNLENBQU4sSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3ZCLDBDQUF5QixDQUFBO0lBQ3pCLG9DQUFtQixDQUFBO0lBQ25CLHdDQUF1QixDQUFBO0lBQ3ZCLGdDQUFlLENBQUE7QUFDakIsQ0FBQyxFQUxXLGFBQWEsS0FBYixhQUFhLFFBS3hCO0FBV0QsT0FBTyxFQUFFLFlBQVksRUFBRSxVQUFVLEVBQUUsQ0FBQSJ9
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TouchableOpacity } from 'react-native';
|
|
3
|
+
import { IconName, IconNameValues } from '../../components/icon';
|
|
4
|
+
import { Accessibility } from '../../objects/facets/Accessibility';
|
|
5
|
+
import { Clickable } from '../../objects/facets/Clickable';
|
|
6
|
+
import { CommonProps } from '../../objects/facets/CommonProps';
|
|
7
|
+
import { Dev } from '../../objects/facets/Dev';
|
|
8
|
+
import { Fullwidth } from '../../objects/facets/Fullwidth';
|
|
9
|
+
import { ButtonMarkup, ButtonMarkupValues, ButtonType, ButtonTypeValues, ButtonVariant, ButtonVariantValues } from './ButtonEnum';
|
|
10
|
+
/**
|
|
11
|
+
* Button Interface
|
|
12
|
+
*/
|
|
13
|
+
export interface ButtonProps extends Accessibility, Fullwidth, Clickable, Dev, CommonProps {
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
markup?: ButtonMarkup | ButtonMarkupValues;
|
|
17
|
+
href?: string;
|
|
18
|
+
to?: string;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
name?: string;
|
|
21
|
+
routerLink?: React.ElementType;
|
|
22
|
+
type?: ButtonType | ButtonTypeValues;
|
|
23
|
+
iconName?: IconName | IconNameValues;
|
|
24
|
+
variant?: ButtonVariant | ButtonVariantValues;
|
|
25
|
+
}
|
|
26
|
+
export type ButtonRef = HTMLAnchorElement | HTMLElement | HTMLInputElement | HTMLButtonElement;
|
|
27
|
+
export type ButtonNativeRef = TouchableOpacity;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uUHJvcHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL2J1dHRvbi9CdXR0b25Qcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ButtonList = exports.Button = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var Button_1 = tslib_1.__importDefault(require("./Button"));
|
|
6
|
+
exports.Button = Button_1.default;
|
|
7
|
+
var list_1 = require("./list");
|
|
8
|
+
Object.defineProperty(exports, "ButtonList", { enumerable: true, get: function () { return list_1.ButtonList; } });
|
|
9
|
+
tslib_1.__exportStar(require("./ButtonEnum"), exports);
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL2J1dHRvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsNERBQTZCO0FBS3BCLGlCQUxGLGdCQUFNLENBS0U7QUFKZiwrQkFBbUM7QUFJbEIsMkZBSlIsaUJBQVUsT0FJUTtBQUYzQix1REFBNEIifQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import Button from './Button';
|
|
2
|
+
import { ButtonList } from './list';
|
|
3
|
+
export * from './ButtonEnum';
|
|
4
|
+
export { Button, ButtonList };
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL2J1dHRvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE1BQU0sTUFBTSxVQUFVLENBQUE7QUFDN0IsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLFFBQVEsQ0FBQTtBQUVuQyxjQUFjLGNBQWMsQ0FBQTtBQUU1QixPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxDQUFBIn0=
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ButtonListWebProps } from './ButtonListProps';
|
|
3
|
+
/**
|
|
4
|
+
* Button List Component
|
|
5
|
+
* @param children {ReactNode} ButtonList children
|
|
6
|
+
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
7
|
+
* @param id
|
|
8
|
+
* @param align
|
|
9
|
+
* @param direction
|
|
10
|
+
*/
|
|
11
|
+
declare const ButtonList: React.ForwardRefExoticComponent<ButtonListWebProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default ButtonList;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var enumsComponentsName_1 = require("../../../components/enumsComponentsName");
|
|
5
|
+
var context_1 = require("../../../context");
|
|
6
|
+
var helpers_1 = require("../../../helpers");
|
|
7
|
+
var Justifiable_1 = require("../../../objects/facets/Justifiable");
|
|
8
|
+
var classify_1 = require("../../../services/classify");
|
|
9
|
+
var clsx_1 = tslib_1.__importDefault(require("clsx"));
|
|
10
|
+
var React = tslib_1.__importStar(require("react"));
|
|
11
|
+
var ButtonListEnum_1 = require("./ButtonListEnum");
|
|
10
12
|
/**
|
|
11
13
|
* Button List Component
|
|
12
14
|
* @param children {ReactNode} ButtonList children
|
|
@@ -16,10 +18,10 @@ import { ButtonListDirectionEnum } from './ButtonListEnum';
|
|
|
16
18
|
* @param direction
|
|
17
19
|
*/
|
|
18
20
|
var ButtonList = React.forwardRef(function (_a, ref) {
|
|
19
|
-
var className = _a.className, id = _a.id, align = _a.align, direction = _a.direction, others = __rest(_a, ["className", "id", "align", "direction"]);
|
|
20
|
-
var styled = useTrilogyContext().styled;
|
|
21
|
-
return (React.createElement("div", __assign({ ref: ref, id: id, className: hashClass(styled,
|
|
21
|
+
var className = _a.className, id = _a.id, align = _a.align, direction = _a.direction, others = tslib_1.__rest(_a, ["className", "id", "align", "direction"]);
|
|
22
|
+
var styled = (0, context_1.useTrilogyContext)().styled;
|
|
23
|
+
return (React.createElement("div", tslib_1.__assign({ ref: ref, id: id, className: (0, helpers_1.hashClass)(styled, (0, clsx_1.default)('buttons', className, align && (0, classify_1.is)((0, Justifiable_1.getJustifiedClassName)(align)), direction === ButtonListEnum_1.ButtonListDirectionEnum.COLUMN && (0, classify_1.is)('vertical'))) }, others)));
|
|
22
24
|
});
|
|
23
|
-
ButtonList.displayName = ComponentName.ButtonList;
|
|
24
|
-
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
ButtonList.displayName = enumsComponentsName_1.ComponentName.ButtonList;
|
|
26
|
+
exports.default = ButtonList;
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uTGlzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvYnV0dG9uL2xpc3QvQnV0dG9uTGlzdC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs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