@trilogy-ds/react 0.0.1-alpha-prompt
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/README.md +117 -0
- package/lib/components/accordion/Accordion.d.ts +11 -0
- package/lib/components/accordion/Accordion.js +22 -0
- package/lib/components/accordion/Accordion.native.d.ts +9 -0
- package/lib/components/accordion/Accordion.native.js +22 -0
- package/lib/components/accordion/AccordionProps.d.ts +11 -0
- package/lib/components/accordion/AccordionProps.js +2 -0
- package/lib/components/accordion/AccordionPropsDefaults.js +30 -0
- package/lib/components/accordion/index.d.ts +5 -0
- package/lib/components/accordion/index.js +6 -0
- package/lib/components/accordion/item/AccordionItem.d.ts +13 -0
- package/lib/components/accordion/item/AccordionItem.helper.d.ts +10 -0
- package/lib/components/accordion/item/AccordionItem.helper.js +9 -0
- package/lib/components/accordion/item/AccordionItem.js +42 -0
- package/lib/components/accordion/item/AccordionItem.native.d.ts +13 -0
- package/lib/components/accordion/item/AccordionItem.native.js +144 -0
- package/lib/components/accordion/item/AccordionItemProps.d.ts +27 -0
- package/lib/components/accordion/item/AccordionItemProps.js +2 -0
- package/lib/components/accordion/item/AccordionItemPropsDefaults.js +54 -0
- package/lib/components/accordion/item/OnClickCallbackDefaults.js +1 -0
- package/lib/components/accordion/item/body/AccordionBody.d.ts +11 -0
- package/lib/components/accordion/item/body/AccordionBody.js +23 -0
- package/lib/components/accordion/item/body/AccordionBody.native.d.ts +9 -0
- package/lib/components/accordion/item/body/AccordionBody.native.js +18 -0
- package/lib/components/accordion/item/body/AccordionBodyProps.d.ts +12 -0
- package/lib/components/accordion/item/body/AccordionBodyProps.js +2 -0
- package/lib/components/accordion/item/body/AccordionBodyPropsDefaults.js +37 -0
- package/lib/components/accordion/item/body/index.d.ts +2 -0
- package/lib/components/accordion/item/body/index.js +3 -0
- package/lib/components/accordion/item/header/AccordionHeader.d.ts +11 -0
- package/lib/components/accordion/item/header/AccordionHeader.js +21 -0
- package/lib/components/accordion/item/header/AccordionHeader.native.d.ts +9 -0
- package/lib/components/accordion/item/header/AccordionHeader.native.js +21 -0
- package/lib/components/accordion/item/header/AccordionHeaderProps.d.ts +11 -0
- package/lib/components/accordion/item/header/AccordionHeaderProps.js +2 -0
- package/lib/components/accordion/item/header/AccordionHeaderPropsDefaults.js +30 -0
- package/lib/components/accordion/item/header/index.d.ts +2 -0
- package/lib/components/accordion/item/header/index.js +3 -0
- package/lib/components/accordion/item/index.d.ts +2 -0
- package/lib/components/accordion/item/index.js +3 -0
- package/lib/components/alert/Alert.d.ts +28 -0
- package/lib/components/alert/Alert.js +144 -0
- package/lib/components/alert/Alert.native.d.ts +34 -0
- package/lib/components/alert/Alert.native.js +151 -0
- package/lib/components/alert/AlertEnum.d.ts +9 -0
- package/lib/components/alert/AlertEnum.js +10 -0
- package/lib/components/alert/AlertProps.d.ts +50 -0
- package/lib/components/alert/AlertProps.js +11 -0
- package/lib/components/alert/AlertPropsDefaults.js +181 -0
- package/lib/components/alert/ToasterStatusPropsDefaults.js +253 -0
- package/lib/components/alert/context/ToastConfigDefaults.js +24 -0
- package/lib/components/alert/context/ToastPropsDefaults.js +140 -0
- package/lib/components/alert/context/ToasterContext.d.ts +7 -0
- package/lib/components/alert/context/ToasterContext.js +5 -0
- package/lib/components/alert/context/ToasterContextProps.d.ts +30 -0
- package/lib/components/alert/context/ToasterContextProps.js +2 -0
- package/lib/components/alert/context/index.d.ts +2 -0
- package/lib/components/alert/context/index.js +3 -0
- package/lib/components/alert/index.d.ts +3 -0
- package/lib/components/alert/index.js +4 -0
- package/lib/components/autocomplete/AutoComplete.d.ts +35 -0
- package/lib/components/autocomplete/AutoComplete.js +168 -0
- package/lib/components/autocomplete/AutoComplete.native.d.ts +27 -0
- package/lib/components/autocomplete/AutoComplete.native.js +119 -0
- package/lib/components/autocomplete/AutoCompleteProps.d.ts +53 -0
- package/lib/components/autocomplete/AutoCompleteProps.js +2 -0
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +755 -0
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +755 -0
- package/lib/components/autocomplete/Autocomplete.helpers.d.ts +3 -0
- package/lib/components/autocomplete/Autocomplete.helpers.js +13 -0
- package/lib/components/autocomplete/ItemDefaults.js +10 -0
- package/lib/components/autocomplete/ItemSelectedEventDefaults.js +10 -0
- package/lib/components/autocomplete/index.d.ts +5 -0
- package/lib/components/autocomplete/index.js +6 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +4 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +16 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +12 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.js +21 -0
- package/lib/components/autocomplete/item/AutoCompleteItemProps.d.ts +12 -0
- package/lib/components/autocomplete/item/AutoCompleteItemProps.js +2 -0
- package/lib/components/autocomplete/item/AutoCompleteItemPropsDefaults.js +70 -0
- package/lib/components/autocomplete/item/index.d.ts +2 -0
- package/lib/components/autocomplete/item/index.js +3 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +12 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +20 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +4 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +31 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.d.ts +10 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js +2 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuPropsDefaults.js +67 -0
- package/lib/components/autocomplete/menu/index.d.ts +2 -0
- package/lib/components/autocomplete/menu/index.js +3 -0
- package/lib/components/autocomplete/utils/debounce.d.ts +1 -0
- package/lib/components/autocomplete/utils/debounce.js +27 -0
- package/lib/components/autocomplete/utils/index.d.ts +1 -0
- package/lib/components/autocomplete/utils/index.js +2 -0
- package/lib/components/autolayout/AutoLayout.d.ts +7 -0
- package/lib/components/autolayout/AutoLayout.helpers.d.ts +24 -0
- package/lib/components/autolayout/AutoLayout.helpers.js +136 -0
- package/lib/components/autolayout/AutoLayout.js +11 -0
- package/lib/components/autolayout/AutoLayout.native.d.ts +12 -0
- package/lib/components/autolayout/AutoLayout.native.js +30 -0
- package/lib/components/autolayout/AutoLayoutProps.d.ts +15 -0
- package/lib/components/autolayout/AutoLayoutProps.js +2 -0
- package/lib/components/autolayout/AutoLayoutWrapper.d.ts +12 -0
- package/lib/components/autolayout/AutoLayoutWrapper.js +22 -0
- package/lib/components/autolayout/DefaultSpacingMatrix.d.ts +6 -0
- package/lib/components/autolayout/DefaultSpacingMatrix.js +41 -0
- package/lib/components/autolayout/SpacingMatrix.d.ts +25 -0
- package/lib/components/autolayout/SpacingMatrix.js +12 -0
- package/lib/components/autolayout/index.d.ts +2 -0
- package/lib/components/autolayout/index.js +3 -0
- package/lib/components/badge/Badge.d.ts +17 -0
- package/lib/components/badge/Badge.js +64 -0
- package/lib/components/badge/Badge.native.d.ts +18 -0
- package/lib/components/badge/Badge.native.js +118 -0
- package/lib/components/badge/BadgeEnum.d.ts +10 -0
- package/lib/components/badge/BadgeEnum.js +11 -0
- package/lib/components/badge/BadgeProps.d.ts +25 -0
- package/lib/components/badge/BadgeProps.js +10 -0
- package/lib/components/badge/BadgePropsDefaults.js +113 -0
- package/lib/components/badge/index.d.ts +3 -0
- package/lib/components/badge/index.js +4 -0
- package/lib/components/box/Box.d.ts +23 -0
- package/lib/components/box/Box.js +50 -0
- package/lib/components/box/Box.native.d.ts +22 -0
- package/lib/components/box/Box.native.js +114 -0
- package/lib/components/box/BoxProps.d.ts +27 -0
- package/lib/components/box/BoxProps.js +2 -0
- package/lib/components/box/BoxPropsDefaults.js +221 -0
- package/lib/components/box/content/BoxContent.d.ts +13 -0
- package/lib/components/box/content/BoxContent.js +30 -0
- package/lib/components/box/content/BoxContent.native.d.ts +11 -0
- package/lib/components/box/content/BoxContent.native.js +34 -0
- package/lib/components/box/content/BoxContentProps.d.ts +14 -0
- package/lib/components/box/content/BoxContentProps.js +2 -0
- package/lib/components/box/content/BoxContentPropsDefaults.js +105 -0
- package/lib/components/box/content/index.d.ts +2 -0
- package/lib/components/box/content/index.js +3 -0
- package/lib/components/box/context/boxContext.d.ts +4 -0
- package/lib/components/box/context/boxContext.js +3 -0
- package/lib/components/box/footer/BoxFooter.d.ts +12 -0
- package/lib/components/box/footer/BoxFooter.js +24 -0
- package/lib/components/box/footer/BoxFooter.native.d.ts +10 -0
- package/lib/components/box/footer/BoxFooter.native.js +27 -0
- package/lib/components/box/footer/BoxFooterProps.d.ts +15 -0
- package/lib/components/box/footer/BoxFooterProps.js +2 -0
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +90 -0
- package/lib/components/box/footer/index.d.ts +2 -0
- package/lib/components/box/footer/index.js +3 -0
- package/lib/components/box/header/BoxHeader.d.ts +14 -0
- package/lib/components/box/header/BoxHeader.js +36 -0
- package/lib/components/box/header/BoxHeader.native.d.ts +10 -0
- package/lib/components/box/header/BoxHeader.native.js +57 -0
- package/lib/components/box/header/BoxHeaderProps.d.ts +15 -0
- package/lib/components/box/header/BoxHeaderProps.js +2 -0
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +127 -0
- package/lib/components/box/header/index.d.ts +2 -0
- package/lib/components/box/header/index.js +3 -0
- package/lib/components/box/index.d.ts +9 -0
- package/lib/components/box/index.js +10 -0
- package/lib/components/box/item/BoxItem.d.ts +11 -0
- package/lib/components/box/item/BoxItem.js +21 -0
- package/lib/components/box/item/BoxItem.native.d.ts +10 -0
- package/lib/components/box/item/BoxItem.native.js +26 -0
- package/lib/components/box/item/BoxItemEnum.d.ts +11 -0
- package/lib/components/box/item/BoxItemEnum.js +13 -0
- package/lib/components/box/item/BoxItemProps.d.ts +10 -0
- package/lib/components/box/item/BoxItemProps.js +2 -0
- package/lib/components/box/item/BoxItemPropsDefaults.js +42 -0
- package/lib/components/box/item/index.d.ts +3 -0
- package/lib/components/box/item/index.js +4 -0
- package/lib/components/box/table-container/BoxTableContainer.d.ts +11 -0
- package/lib/components/box/table-container/BoxTableContainer.js +21 -0
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +9 -0
- package/lib/components/box/table-container/BoxTableContainer.native.js +18 -0
- package/lib/components/box/table-container/BoxTableContainerProps.d.ts +12 -0
- package/lib/components/box/table-container/BoxTableContainerProps.js +2 -0
- package/lib/components/box/table-container/BoxTableContainerPropsDefaults.js +37 -0
- package/lib/components/box/table-container/index.d.ts +2 -0
- package/lib/components/box/table-container/index.js +3 -0
- package/lib/components/breadcrumb/Breadcrumb.d.ts +12 -0
- package/lib/components/breadcrumb/Breadcrumb.js +24 -0
- package/lib/components/breadcrumb/Breadcrumb.native.d.ts +10 -0
- package/lib/components/breadcrumb/Breadcrumb.native.js +29 -0
- package/lib/components/breadcrumb/BreadcrumbProps.d.ts +18 -0
- package/lib/components/breadcrumb/BreadcrumbProps.js +2 -0
- package/lib/components/breadcrumb/BreadcrumbPropsDefaults.js +30 -0
- package/lib/components/breadcrumb/BreadcrumbWebPropsDefaults.js +44 -0
- package/lib/components/breadcrumb/index.d.ts +3 -0
- package/lib/components/breadcrumb/index.js +4 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +18 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +34 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +13 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +35 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.ts +20 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.js +2 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsDefaults.js +45 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +252 -0
- package/lib/components/breadcrumb/item/index.d.ts +2 -0
- package/lib/components/breadcrumb/item/index.js +3 -0
- package/lib/components/button/Button.d.ts +26 -0
- package/lib/components/button/Button.js +79 -0
- package/lib/components/button/Button.native.d.ts +17 -0
- package/lib/components/button/Button.native.js +140 -0
- package/lib/components/button/ButtonEnum.d.ts +32 -0
- package/lib/components/button/ButtonEnum.js +30 -0
- package/lib/components/button/ButtonProps.d.ts +27 -0
- package/lib/components/button/ButtonProps.js +2 -0
- package/lib/components/button/ButtonPropsDefaults.js +380 -0
- package/lib/components/button/index.d.ts +4 -0
- package/lib/components/button/index.js +5 -0
- package/lib/components/button/list/ButtonList.d.ts +12 -0
- package/lib/components/button/list/ButtonList.js +25 -0
- package/lib/components/button/list/ButtonList.native.d.ts +9 -0
- package/lib/components/button/list/ButtonList.native.js +15 -0
- package/lib/components/button/list/ButtonListEnum.d.ts +5 -0
- package/lib/components/button/list/ButtonListEnum.js +6 -0
- package/lib/components/button/list/ButtonListProps.d.ts +24 -0
- package/lib/components/button/list/ButtonListProps.js +2 -0
- package/lib/components/button/list/ButtonListPropsDefaults.js +10 -0
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +56 -0
- package/lib/components/button/list/index.d.ts +3 -0
- package/lib/components/button/list/index.js +4 -0
- package/lib/components/button/spin-white.json +1 -0
- package/lib/components/button/spin.json +1 -0
- package/lib/components/calendar/Calendar.d.ts +15 -0
- package/lib/components/calendar/Calendar.js +342 -0
- package/lib/components/calendar/Calendar.native.d.ts +16 -0
- package/lib/components/calendar/Calendar.native.js +558 -0
- package/lib/components/calendar/CalendarProps.d.ts +11 -0
- package/lib/components/calendar/CalendarProps.js +2 -0
- package/lib/components/calendar/CalendarPropsDefaults.js +63 -0
- package/lib/components/calendar/index.d.ts +3 -0
- package/lib/components/calendar/index.js +4 -0
- package/lib/components/card/Card.d.ts +20 -0
- package/lib/components/card/Card.js +40 -0
- package/lib/components/card/Card.native.d.ts +25 -0
- package/lib/components/card/Card.native.js +108 -0
- package/lib/components/card/CardProps.d.ts +23 -0
- package/lib/components/card/CardProps.js +2 -0
- package/lib/components/card/CardPropsDefaults.js +107 -0
- package/lib/components/card/content/CardContent.d.ts +11 -0
- package/lib/components/card/content/CardContent.js +21 -0
- package/lib/components/card/content/CardContent.native.d.ts +9 -0
- package/lib/components/card/content/CardContent.native.js +24 -0
- package/lib/components/card/content/CardContentProps.d.ts +12 -0
- package/lib/components/card/content/CardContentProps.js +2 -0
- package/lib/components/card/content/CardContentPropsDefaults.js +37 -0
- package/lib/components/card/content/index.d.ts +2 -0
- package/lib/components/card/content/index.js +3 -0
- package/lib/components/card/image/CardImage.d.ts +15 -0
- package/lib/components/card/image/CardImage.js +33 -0
- package/lib/components/card/image/CardImage.native.d.ts +14 -0
- package/lib/components/card/image/CardImage.native.js +45 -0
- package/lib/components/card/image/CardImageEnum.d.ts +13 -0
- package/lib/components/card/image/CardImageEnum.js +11 -0
- package/lib/components/card/image/CardImageProps.d.ts +15 -0
- package/lib/components/card/image/CardImageProps.js +2 -0
- package/lib/components/card/image/CardImagePropsDefaults.js +59 -0
- package/lib/components/card/image/index.d.ts +2 -0
- package/lib/components/card/image/index.js +3 -0
- package/lib/components/card/index.d.ts +5 -0
- package/lib/components/card/index.js +6 -0
- package/lib/components/checkbox/Checkbox.d.ts +19 -0
- package/lib/components/checkbox/Checkbox.js +48 -0
- package/lib/components/checkbox/Checkbox.native.d.ts +16 -0
- package/lib/components/checkbox/Checkbox.native.js +67 -0
- package/lib/components/checkbox/CheckboxCommonPropsDefaults.js +76 -0
- package/lib/components/checkbox/CheckboxProps.d.ts +35 -0
- package/lib/components/checkbox/CheckboxProps.js +2 -0
- package/lib/components/checkbox/CheckboxWithChildrenDefaults.js +94 -0
- package/lib/components/checkbox/CheckboxWithLabelDefaults.js +84 -0
- package/lib/components/checkbox/index.d.ts +6 -0
- package/lib/components/checkbox/index.js +7 -0
- package/lib/components/checkbox/list/CheckboxList.d.ts +14 -0
- package/lib/components/checkbox/list/CheckboxList.js +36 -0
- package/lib/components/checkbox/list/CheckboxList.native.d.ts +10 -0
- package/lib/components/checkbox/list/CheckboxList.native.js +40 -0
- package/lib/components/checkbox/list/CheckboxListProps.d.ts +27 -0
- package/lib/components/checkbox/list/CheckboxListProps.js +2 -0
- package/lib/components/checkbox/list/CheckboxListPropsDefaults.js +17 -0
- package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +76 -0
- package/lib/components/checkbox/list/index.d.ts +2 -0
- package/lib/components/checkbox/list/index.js +3 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.d.ts +12 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.js +42 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.ts +5 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +22 -0
- package/lib/components/checkbox/tiles/CheckboxTilesProps.d.ts +13 -0
- package/lib/components/checkbox/tiles/CheckboxTilesProps.js +2 -0
- package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +81 -0
- package/lib/components/checkbox/tiles/index.d.ts +2 -0
- package/lib/components/checkbox/tiles/index.js +3 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.d.ts +22 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +52 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +5 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +110 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.d.ts +18 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.js +2 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTilePropsDefaults.js +117 -0
- package/lib/components/checkbox/tiles/tile/index.d.ts +2 -0
- package/lib/components/checkbox/tiles/tile/index.js +3 -0
- package/lib/components/chips/Chips.d.ts +16 -0
- package/lib/components/chips/Chips.js +30 -0
- package/lib/components/chips/Chips.native.d.ts +13 -0
- package/lib/components/chips/Chips.native.js +61 -0
- package/lib/components/chips/ChipsProps.d.ts +18 -0
- package/lib/components/chips/ChipsProps.js +2 -0
- package/lib/components/chips/ChipsPropsDefaults.js +67 -0
- package/lib/components/chips/index.d.ts +3 -0
- package/lib/components/chips/index.js +4 -0
- package/lib/components/chips/list/ChipsList.d.ts +13 -0
- package/lib/components/chips/list/ChipsList.js +25 -0
- package/lib/components/chips/list/ChipsList.native.d.ts +13 -0
- package/lib/components/chips/list/ChipsList.native.js +24 -0
- package/lib/components/chips/list/ChipsListProps.d.ts +14 -0
- package/lib/components/chips/list/ChipsListProps.js +2 -0
- package/lib/components/chips/list/ChipsListPropsDefaults.js +54 -0
- package/lib/components/chips/list/index.d.ts +2 -0
- package/lib/components/chips/list/index.js +3 -0
- package/lib/components/columns/Columns.d.ts +17 -0
- package/lib/components/columns/Columns.js +31 -0
- package/lib/components/columns/Columns.native.d.ts +13 -0
- package/lib/components/columns/Columns.native.js +78 -0
- package/lib/components/columns/ColumnsProps.d.ts +20 -0
- package/lib/components/columns/ColumnsProps.js +2 -0
- package/lib/components/columns/ColumnsPropsDefaults.js +139 -0
- package/lib/components/columns/ColumnsTypes.d.ts +15 -0
- package/lib/components/columns/ColumnsTypes.js +16 -0
- package/lib/components/columns/column/Column.d.ts +28 -0
- package/lib/components/columns/column/Column.js +41 -0
- package/lib/components/columns/column/Column.native.d.ts +12 -0
- package/lib/components/columns/column/Column.native.js +38 -0
- package/lib/components/columns/column/ColumnProps.d.ts +28 -0
- package/lib/components/columns/column/ColumnProps.js +2 -0
- package/lib/components/columns/column/ColumnPropsDefaults.js +334 -0
- package/lib/components/columns/column/index.d.ts +2 -0
- package/lib/components/columns/column/index.js +3 -0
- package/lib/components/columns/context/index.d.ts +8 -0
- package/lib/components/columns/context/index.js +9 -0
- package/lib/components/columns/index.d.ts +4 -0
- package/lib/components/columns/index.js +5 -0
- package/lib/components/container/Container.d.ts +12 -0
- package/lib/components/container/Container.js +24 -0
- package/lib/components/container/Container.native.d.ts +9 -0
- package/lib/components/container/Container.native.js +25 -0
- package/lib/components/container/ContainerProps.d.ts +9 -0
- package/lib/components/container/ContainerProps.js +2 -0
- package/lib/components/container/ContainerPropsDefaults.js +38 -0
- package/lib/components/container/index.d.ts +1 -0
- package/lib/components/container/index.js +2 -0
- package/lib/components/countdown/Countdown.d.ts +17 -0
- package/lib/components/countdown/Countdown.js +130 -0
- package/lib/components/countdown/Countdown.native.d.ts +15 -0
- package/lib/components/countdown/Countdown.native.js +166 -0
- package/lib/components/countdown/CountdownEnum.d.ts +16 -0
- package/lib/components/countdown/CountdownEnum.js +33 -0
- package/lib/components/countdown/CountdownProps.d.ts +16 -0
- package/lib/components/countdown/CountdownProps.js +2 -0
- package/lib/components/countdown/CountdownPropsDefaults.js +56 -0
- package/lib/components/countdown/index.d.ts +3 -0
- package/lib/components/countdown/index.js +4 -0
- package/lib/components/datepicker/DatePicker.d.ts +22 -0
- package/lib/components/datepicker/DatePicker.js +428 -0
- package/lib/components/datepicker/DatePicker.native.d.ts +19 -0
- package/lib/components/datepicker/DatePicker.native.js +307 -0
- package/lib/components/datepicker/DatePickerEnum.d.ts +7 -0
- package/lib/components/datepicker/DatePickerEnum.js +8 -0
- package/lib/components/datepicker/DatePickerProps.d.ts +37 -0
- package/lib/components/datepicker/DatePickerProps.js +2 -0
- package/lib/components/datepicker/DatePickerPropsDefaults.js +117 -0
- package/lib/components/datepicker/HandleKeyPressDefaults.js +14 -0
- package/lib/components/datepicker/SegmentDefaults.js +33 -0
- package/lib/components/datepicker/SegmentsDefaults.js +14 -0
- package/lib/components/datepicker/index.d.ts +2 -0
- package/lib/components/datepicker/index.js +3 -0
- package/lib/components/divider/Divider.d.ts +15 -0
- package/lib/components/divider/Divider.js +32 -0
- package/lib/components/divider/Divider.native.d.ts +14 -0
- package/lib/components/divider/Divider.native.js +75 -0
- package/lib/components/divider/DividerProps.d.ts +15 -0
- package/lib/components/divider/DividerProps.js +2 -0
- package/lib/components/divider/DividerPropsDefaults.js +107 -0
- package/lib/components/divider/index.d.ts +2 -0
- package/lib/components/divider/index.js +3 -0
- package/lib/components/dropdown/Dropdown.d.ts +13 -0
- package/lib/components/dropdown/Dropdown.js +88 -0
- package/lib/components/dropdown/Dropdown.native.d.ts +4 -0
- package/lib/components/dropdown/Dropdown.native.js +8 -0
- package/lib/components/dropdown/DropdownProps.d.ts +15 -0
- package/lib/components/dropdown/DropdownProps.js +2 -0
- package/lib/components/dropdown/DropdownPropsDefaults.js +53 -0
- package/lib/components/dropdown/context/DropdownContext.d.ts +15 -0
- package/lib/components/dropdown/context/DropdownContext.js +35 -0
- package/lib/components/dropdown/context/index.d.ts +1 -0
- package/lib/components/dropdown/context/index.js +2 -0
- package/lib/components/dropdown/group/DropdownGroup.d.ts +12 -0
- package/lib/components/dropdown/group/DropdownGroup.js +24 -0
- package/lib/components/dropdown/group/DropdownGroup.native.d.ts +4 -0
- package/lib/components/dropdown/group/DropdownGroup.native.js +8 -0
- package/lib/components/dropdown/group/DropdownGroupProps.d.ts +14 -0
- package/lib/components/dropdown/group/DropdownGroupProps.js +2 -0
- package/lib/components/dropdown/group/DropdownGroupPropsDefaults.js +52 -0
- package/lib/components/dropdown/group/index.d.ts +2 -0
- package/lib/components/dropdown/group/index.js +3 -0
- package/lib/components/dropdown/index.d.ts +6 -0
- package/lib/components/dropdown/index.js +7 -0
- package/lib/components/dropdown/item/DropdownItem.d.ts +12 -0
- package/lib/components/dropdown/item/DropdownItem.js +46 -0
- package/lib/components/dropdown/item/DropdownItem.native.d.ts +4 -0
- package/lib/components/dropdown/item/DropdownItem.native.js +8 -0
- package/lib/components/dropdown/item/DropdownItemProps.d.ts +15 -0
- package/lib/components/dropdown/item/DropdownItemProps.js +2 -0
- package/lib/components/dropdown/item/DropdownItemPropsDefaults.js +99 -0
- package/lib/components/dropdown/item/index.d.ts +2 -0
- package/lib/components/dropdown/item/index.js +3 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.d.ts +13 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.js +61 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.d.ts +4 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.js +8 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.d.ts +13 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.js +2 -0
- package/lib/components/dropdown/trigger/DropdownTriggerPropsDefaults.js +44 -0
- package/lib/components/dropdown/trigger/index.d.ts +2 -0
- package/lib/components/dropdown/trigger/index.js +3 -0
- package/lib/components/enums.d.ts +3 -0
- package/lib/components/enums.js +4 -0
- package/lib/components/enumsComponentsName.d.ts +180 -0
- package/lib/components/enumsComponentsName.js +182 -0
- package/lib/components/fab/Fab.d.ts +20 -0
- package/lib/components/fab/Fab.js +54 -0
- package/lib/components/fab/Fab.native.d.ts +18 -0
- package/lib/components/fab/Fab.native.js +64 -0
- package/lib/components/fab/FabProps.d.ts +21 -0
- package/lib/components/fab/FabProps.js +2 -0
- package/lib/components/fab/FabPropsDefaults.js +178 -0
- package/lib/components/fab/index.d.ts +2 -0
- package/lib/components/fab/index.js +3 -0
- package/lib/components/flex-box/FlexBox.d.ts +18 -0
- package/lib/components/flex-box/FlexBox.js +70 -0
- package/lib/components/flex-box/FlexBox.native.d.ts +5 -0
- package/lib/components/flex-box/FlexBox.native.js +58 -0
- package/lib/components/flex-box/FlexBoxProps.d.ts +34 -0
- package/lib/components/flex-box/FlexBoxProps.js +2 -0
- package/lib/components/flex-box/FlexBoxPropsDefaults.js +128 -0
- package/lib/components/flex-box/ResponsiveValueDefaults.js +37 -0
- package/lib/components/flex-box/context/index.d.ts +7 -0
- package/lib/components/flex-box/context/index.js +8 -0
- package/lib/components/flex-box/flex-item/FlexItem.d.ts +28 -0
- package/lib/components/flex-box/flex-item/FlexItem.js +42 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.d.ts +29 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.js +56 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.d.ts +23 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.js +2 -0
- package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +101 -0
- package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +110 -0
- package/lib/components/flex-box/index.d.ts +3 -0
- package/lib/components/flex-box/index.js +4 -0
- package/lib/components/hero/Hero.d.ts +18 -0
- package/lib/components/hero/Hero.js +34 -0
- package/lib/components/hero/Hero.native.d.ts +16 -0
- package/lib/components/hero/Hero.native.js +95 -0
- package/lib/components/hero/HeroProps.d.ts +16 -0
- package/lib/components/hero/HeroProps.js +2 -0
- package/lib/components/hero/HeroPropsDefaults.js +117 -0
- package/lib/components/hero/heroEnum.d.ts +6 -0
- package/lib/components/hero/heroEnum.js +8 -0
- package/lib/components/hero/index.d.ts +1 -0
- package/lib/components/hero/index.js +2 -0
- package/lib/components/icon/Icon.d.ts +21 -0
- package/lib/components/icon/Icon.js +40 -0
- package/lib/components/icon/Icon.native.d.ts +22 -0
- package/lib/components/icon/Icon.native.js +124 -0
- package/lib/components/icon/IconEnum.d.ts +72 -0
- package/lib/components/icon/IconEnum.js +61 -0
- package/lib/components/icon/IconNameEnum.d.ts +31 -0
- package/lib/components/icon/IconNameEnum.js +32 -0
- package/lib/components/icon/IconProps.d.ts +19 -0
- package/lib/components/icon/IconProps.js +2 -0
- package/lib/components/icon/IconPropsDefaults.js +197 -0
- package/lib/components/icon/index.d.ts +4 -0
- package/lib/components/icon/index.js +5 -0
- package/lib/components/image/Image.d.ts +19 -0
- package/lib/components/image/Image.js +43 -0
- package/lib/components/image/Image.native.d.ts +17 -0
- package/lib/components/image/Image.native.js +55 -0
- package/lib/components/image/ImageProps.d.ts +20 -0
- package/lib/components/image/ImageProps.js +7 -0
- package/lib/components/image/ImagePropsDefaults.js +129 -0
- package/lib/components/image/index.d.ts +3 -0
- package/lib/components/image/index.js +4 -0
- package/lib/components/index.d.ts +53 -0
- package/lib/components/index.js +55 -0
- package/lib/components/input/ILengthVerifyDefaults.js +16 -0
- package/lib/components/input/ISecurityRulesDefaults.js +23 -0
- package/lib/components/input/IValidationRulesDefaults.js +41 -0
- package/lib/components/input/Input.d.ts +50 -0
- package/lib/components/input/Input.js +206 -0
- package/lib/components/input/Input.native.d.ts +39 -0
- package/lib/components/input/Input.native.js +276 -0
- package/lib/components/input/InputChangeEventNativeDefaults.js +17 -0
- package/lib/components/input/InputChangeEventWebDefaults.js +28 -0
- package/lib/components/input/InputClickEventDefaults.js +19 -0
- package/lib/components/input/InputEnum.d.ts +187 -0
- package/lib/components/input/InputEnum.js +187 -0
- package/lib/components/input/InputKeyboardEventDefaults.js +27 -0
- package/lib/components/input/InputNativeEventsDefaults.js +37 -0
- package/lib/components/input/InputProps.d.ts +114 -0
- package/lib/components/input/InputProps.js +2 -0
- package/lib/components/input/InputPropsDefaults.js +657 -0
- package/lib/components/input/InputWebEventsDefaults.js +51 -0
- package/lib/components/input/gauge/InputGauge.d.ts +11 -0
- package/lib/components/input/gauge/InputGauge.js +34 -0
- package/lib/components/input/gauge/InputGauge.native.d.ts +9 -0
- package/lib/components/input/gauge/InputGauge.native.js +65 -0
- package/lib/components/input/gauge/hook/useGauge.d.ts +40 -0
- package/lib/components/input/gauge/hook/useGauge.js +104 -0
- package/lib/components/input/index.d.ts +4 -0
- package/lib/components/input/index.js +5 -0
- package/lib/components/link/Link.d.ts +24 -0
- package/lib/components/link/Link.js +53 -0
- package/lib/components/link/Link.native.d.ts +16 -0
- package/lib/components/link/Link.native.js +58 -0
- package/lib/components/link/LinkDefaults.js +349 -0
- package/lib/components/link/LinkProps.d.ts +29 -0
- package/lib/components/link/LinkProps.js +2 -0
- package/lib/components/link/LinkPropsDefaults.js +425 -0
- package/lib/components/link/LinkPropsNativeDefaults.js +420 -0
- package/lib/components/link/index.d.ts +2 -0
- package/lib/components/link/index.js +3 -0
- package/lib/components/list/List.d.ts +11 -0
- package/lib/components/list/List.js +24 -0
- package/lib/components/list/List.native.d.ts +11 -0
- package/lib/components/list/List.native.js +20 -0
- package/lib/components/list/ListProps.d.ts +14 -0
- package/lib/components/list/ListProps.js +2 -0
- package/lib/components/list/ListPropsDefaults.js +60 -0
- package/lib/components/list/context/ListContext.d.ts +3 -0
- package/lib/components/list/context/ListContext.js +8 -0
- package/lib/components/list/context/ListContextProps.d.ts +7 -0
- package/lib/components/list/context/ListContextProps.js +2 -0
- package/lib/components/list/context/ListContextPropsDefaults.js +24 -0
- package/lib/components/list/context/index.d.ts +2 -0
- package/lib/components/list/context/index.js +3 -0
- package/lib/components/list/index.d.ts +4 -0
- package/lib/components/list/index.js +5 -0
- package/lib/components/list/item/ListItem.d.ts +11 -0
- package/lib/components/list/item/ListItem.js +26 -0
- package/lib/components/list/item/ListItem.native.d.ts +11 -0
- package/lib/components/list/item/ListItem.native.js +62 -0
- package/lib/components/list/item/ListItemProps.d.ts +23 -0
- package/lib/components/list/item/ListItemProps.js +8 -0
- package/lib/components/list/item/ListItemPropsDefaults.js +118 -0
- package/lib/components/list/item/description/ListItemDescription.d.ts +10 -0
- package/lib/components/list/item/description/ListItemDescription.js +19 -0
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +8 -0
- package/lib/components/list/item/description/ListItemDescription.native.js +18 -0
- package/lib/components/list/item/description/ListItemDescriptionProps.d.ts +11 -0
- package/lib/components/list/item/description/ListItemDescriptionProps.js +2 -0
- package/lib/components/list/item/description/ListItemDescriptionPropsDefaults.js +23 -0
- package/lib/components/list/item/description/index.d.ts +3 -0
- package/lib/components/list/item/description/index.js +4 -0
- package/lib/components/list/item/index.d.ts +4 -0
- package/lib/components/list/item/index.js +5 -0
- package/lib/components/modal/Modal.d.ts +17 -0
- package/lib/components/modal/Modal.js +98 -0
- package/lib/components/modal/Modal.native.d.ts +15 -0
- package/lib/components/modal/Modal.native.js +78 -0
- package/lib/components/modal/ModalEnum.d.ts +28 -0
- package/lib/components/modal/ModalEnum.js +30 -0
- package/lib/components/modal/ModalProps.d.ts +24 -0
- package/lib/components/modal/ModalProps.js +2 -0
- package/lib/components/modal/ModalPropsDefaults.js +127 -0
- package/lib/components/modal/body/ModalBody.d.ts +11 -0
- package/lib/components/modal/body/ModalBody.js +20 -0
- package/lib/components/modal/body/ModalBody.native.d.ts +10 -0
- package/lib/components/modal/body/ModalBody.native.js +27 -0
- package/lib/components/modal/body/ModalBodyProps.d.ts +11 -0
- package/lib/components/modal/body/ModalBodyProps.js +2 -0
- package/lib/components/modal/body/ModalBodyPropsDefaults.js +30 -0
- package/lib/components/modal/context/ModalContext.d.ts +3 -0
- package/lib/components/modal/context/ModalContext.js +8 -0
- package/lib/components/modal/context/ModalContextProps.d.ts +8 -0
- package/lib/components/modal/context/ModalContextProps.js +2 -0
- package/lib/components/modal/context/ModalContextPropsDefaults.js +25 -0
- package/lib/components/modal/context/index.d.ts +2 -0
- package/lib/components/modal/context/index.js +3 -0
- package/lib/components/modal/footer/ModalFooter.d.ts +11 -0
- package/lib/components/modal/footer/ModalFooter.js +20 -0
- package/lib/components/modal/footer/ModalFooter.native.d.ts +9 -0
- package/lib/components/modal/footer/ModalFooter.native.js +35 -0
- package/lib/components/modal/footer/ModalFooterProps.d.ts +11 -0
- package/lib/components/modal/footer/ModalFooterProps.js +2 -0
- package/lib/components/modal/footer/ModalFooterPropsDefaults.js +30 -0
- package/lib/components/modal/index.d.ts +5 -0
- package/lib/components/modal/index.js +6 -0
- package/lib/components/otp/Otp.d.ts +19 -0
- package/lib/components/otp/Otp.js +133 -0
- package/lib/components/otp/Otp.native.d.ts +17 -0
- package/lib/components/otp/Otp.native.js +140 -0
- package/lib/components/otp/OtpProps.d.ts +20 -0
- package/lib/components/otp/OtpProps.js +2 -0
- package/lib/components/otp/OtpPropsDefaults.js +97 -0
- package/lib/components/otp/index.d.ts +2 -0
- package/lib/components/otp/index.js +3 -0
- package/lib/components/pagination/Pagination.d.ts +14 -0
- package/lib/components/pagination/Pagination.js +93 -0
- package/lib/components/pagination/Pagination.native.d.ts +12 -0
- package/lib/components/pagination/Pagination.native.js +136 -0
- package/lib/components/pagination/PaginationEnum.d.ts +6 -0
- package/lib/components/pagination/PaginationEnum.js +2 -0
- package/lib/components/pagination/PaginationProps.d.ts +15 -0
- package/lib/components/pagination/PaginationProps.js +2 -0
- package/lib/components/pagination/PaginationPropsDefaults.js +55 -0
- package/lib/components/pagination/index.d.ts +3 -0
- package/lib/components/pagination/index.js +4 -0
- package/lib/components/popover/Popover.d.ts +17 -0
- package/lib/components/popover/Popover.js +31 -0
- package/lib/components/popover/Popover.native.d.ts +12 -0
- package/lib/components/popover/Popover.native.js +93 -0
- package/lib/components/popover/PopoverEnum.d.ts +23 -0
- package/lib/components/popover/PopoverEnum.js +18 -0
- package/lib/components/popover/PopoverProps.d.ts +22 -0
- package/lib/components/popover/PopoverProps.js +2 -0
- package/lib/components/popover/PopoverPropsDefaults.js +60 -0
- package/lib/components/popover/PopoverWebPropsDefaults.js +88 -0
- package/lib/components/popover/index.d.ts +3 -0
- package/lib/components/popover/index.js +4 -0
- package/lib/components/price/Price.d.ts +22 -0
- package/lib/components/price/Price.js +91 -0
- package/lib/components/price/Price.native.d.ts +21 -0
- package/lib/components/price/Price.native.js +245 -0
- package/lib/components/price/PriceEnum.d.ts +10 -0
- package/lib/components/price/PriceEnum.js +11 -0
- package/lib/components/price/PriceHelpers.d.ts +1 -0
- package/lib/components/price/PriceHelpers.js +8 -0
- package/lib/components/price/PriceProps.d.ts +21 -0
- package/lib/components/price/PriceProps.js +2 -0
- package/lib/components/price/PricePropsDefaults.js +152 -0
- package/lib/components/price/index.d.ts +3 -0
- package/lib/components/price/index.js +4 -0
- package/lib/components/product-tour/ProductTour.d.ts +16 -0
- package/lib/components/product-tour/ProductTour.js +39 -0
- package/lib/components/product-tour/ProductTour.native.d.ts +9 -0
- package/lib/components/product-tour/ProductTour.native.js +14 -0
- package/lib/components/product-tour/ProductTourProps.d.ts +63 -0
- package/lib/components/product-tour/ProductTourProps.js +33 -0
- package/lib/components/product-tour/ProductTourPropsDefaults.js +85 -0
- package/lib/components/product-tour/ProductTourWebPropsDefaults.js +99 -0
- package/lib/components/product-tour/index.d.ts +3 -0
- package/lib/components/product-tour/index.js +4 -0
- package/lib/components/progress/Progress.d.ts +12 -0
- package/lib/components/progress/Progress.js +38 -0
- package/lib/components/progress/Progress.native.d.ts +13 -0
- package/lib/components/progress/Progress.native.js +99 -0
- package/lib/components/progress/ProgressProps.d.ts +19 -0
- package/lib/components/progress/ProgressProps.js +2 -0
- package/lib/components/progress/ProgressPropsDefaults.js +95 -0
- package/lib/components/progress/index.d.ts +5 -0
- package/lib/components/progress/index.js +6 -0
- package/lib/components/progress/item/ProgressItem.d.ts +15 -0
- package/lib/components/progress/item/ProgressItem.js +28 -0
- package/lib/components/progress/item/ProgressItem.native.d.ts +12 -0
- package/lib/components/progress/item/ProgressItem.native.js +34 -0
- package/lib/components/progress/item/ProgressItemProps.d.ts +20 -0
- package/lib/components/progress/item/ProgressItemProps.js +2 -0
- package/lib/components/progress/item/ProgressItemPropsDefaults.js +76 -0
- package/lib/components/progress/item/index.d.ts +2 -0
- package/lib/components/progress/item/index.js +3 -0
- package/lib/components/progress/radial/ProgressRadial.d.ts +16 -0
- package/lib/components/progress/radial/ProgressRadial.js +76 -0
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +17 -0
- package/lib/components/progress/radial/ProgressRadial.native.js +91 -0
- package/lib/components/progress/radial/ProgressRadialProps.d.ts +23 -0
- package/lib/components/progress/radial/ProgressRadialProps.js +2 -0
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +255 -0
- package/lib/components/progress/radial/index.d.ts +2 -0
- package/lib/components/progress/radial/index.js +3 -0
- package/lib/components/progress/radial/item/ProgressRadialItemProps.d.ts +8 -0
- package/lib/components/progress/radial/item/ProgressRadialItemProps.js +2 -0
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +63 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.d.ts +4 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.js +12 -0
- package/lib/components/progress/radial/item/index.d.ts +2 -0
- package/lib/components/progress/radial/item/index.js +3 -0
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.ts +50 -0
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js +75 -0
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.d.ts +65 -0
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js +123 -0
- package/lib/components/progress/radial/react-native-circular-progress/index.d.ts +3 -0
- package/lib/components/progress/radial/react-native-circular-progress/index.js +4 -0
- package/lib/components/prompt/Prompt.d.ts +4 -0
- package/lib/components/prompt/Prompt.js +22 -0
- package/lib/components/prompt/Prompt.native.d.ts +5 -0
- package/lib/components/prompt/Prompt.native.js +25 -0
- package/lib/components/prompt/PromptProps.d.ts +14 -0
- package/lib/components/prompt/PromptProps.js +6 -0
- package/lib/components/prompt/PromptPropsDefaults.js +44 -0
- package/lib/components/prompt/context/index.d.ts +18 -0
- package/lib/components/prompt/context/index.js +21 -0
- package/lib/components/prompt/files/PromptFiles.d.ts +4 -0
- package/lib/components/prompt/files/PromptFiles.js +23 -0
- package/lib/components/prompt/files/PromptFiles.native.d.ts +5 -0
- package/lib/components/prompt/files/PromptFiles.native.js +25 -0
- package/lib/components/prompt/files/PromptFilesProps.d.ts +10 -0
- package/lib/components/prompt/files/PromptFilesProps.js +2 -0
- package/lib/components/prompt/files/PromptFilesPropsDefaults.js +44 -0
- package/lib/components/prompt/files/file/PromptFile.d.ts +4 -0
- package/lib/components/prompt/files/file/PromptFile.js +40 -0
- package/lib/components/prompt/files/file/PromptFile.native.d.ts +5 -0
- package/lib/components/prompt/files/file/PromptFile.native.js +71 -0
- package/lib/components/prompt/files/file/PromptFileProps.d.ts +13 -0
- package/lib/components/prompt/files/file/PromptFileProps.js +2 -0
- package/lib/components/prompt/files/file/PromptFilePropsDefaults.js +55 -0
- package/lib/components/prompt/files/file/index.d.ts +2 -0
- package/lib/components/prompt/files/file/index.js +3 -0
- package/lib/components/prompt/files/index.d.ts +2 -0
- package/lib/components/prompt/files/index.js +3 -0
- package/lib/components/prompt/index.d.ts +13 -0
- package/lib/components/prompt/index.js +14 -0
- package/lib/components/prompt/textarea/PromptTextarea.d.ts +4 -0
- package/lib/components/prompt/textarea/PromptTextarea.js +27 -0
- package/lib/components/prompt/textarea/PromptTextarea.native.d.ts +5 -0
- package/lib/components/prompt/textarea/PromptTextarea.native.js +37 -0
- package/lib/components/prompt/textarea/PromptTextareaProps.d.ts +14 -0
- package/lib/components/prompt/textarea/PromptTextareaProps.js +2 -0
- package/lib/components/prompt/textarea/PromptTextareaPropsDefaults.js +65 -0
- package/lib/components/prompt/textarea/index.d.ts +3 -0
- package/lib/components/prompt/textarea/index.js +4 -0
- package/lib/components/prompt/toolbar/PromptToolbar.d.ts +4 -0
- package/lib/components/prompt/toolbar/PromptToolbar.js +15 -0
- package/lib/components/prompt/toolbar/PromptToolbar.native.d.ts +5 -0
- package/lib/components/prompt/toolbar/PromptToolbar.native.js +23 -0
- package/lib/components/prompt/toolbar/PromptToolbarProps.d.ts +10 -0
- package/lib/components/prompt/toolbar/PromptToolbarProps.js +2 -0
- package/lib/components/prompt/toolbar/PromptToolbarPropsDefaults.js +44 -0
- package/lib/components/prompt/toolbar/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/index.js +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.d.ts +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.js +72 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.js +23 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.d.ts +14 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.js +2 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophonePropsDefaults.js +73 -0
- package/lib/components/prompt/toolbar/microphone/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/microphone/index.js +4 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.d.ts +4 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.js +39 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.d.ts +5 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.js +42 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitProps.d.ts +16 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitProps.js +6 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitPropsDefaults.js +52 -0
- package/lib/components/prompt/toolbar/submit/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/submit/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.js +15 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.native.d.ts +5 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.native.js +22 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsProps.d.ts +10 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsPropsDefaults.js +44 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.js +16 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.native.js +24 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.d.ts +15 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonPropsDefaults.js +127 -0
- package/lib/components/prompt/toolbar/tools/button/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/button/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.js +19 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.js +26 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.d.ts +10 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFilePropsDefaults.js +37 -0
- package/lib/components/prompt/toolbar/tools/inputFile/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/inputFile/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.d.ts +5 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.js +45 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.js +19 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelectProps.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelectProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/select/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.js +11 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.native.js +11 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOptionProps.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOptionProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/select/options/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/options/index.js +4 -0
- package/lib/components/radio/EventHandlerDefaults.js +21 -0
- package/lib/components/radio/Radio.d.ts +18 -0
- package/lib/components/radio/Radio.js +39 -0
- package/lib/components/radio/Radio.native.d.ts +16 -0
- package/lib/components/radio/Radio.native.js +65 -0
- package/lib/components/radio/RadioNativePropsDefaults.js +9 -0
- package/lib/components/radio/RadioProps.d.ts +31 -0
- package/lib/components/radio/RadioProps.js +2 -0
- package/lib/components/radio/RadioPropsDefaults.js +83 -0
- package/lib/components/radio/index.d.ts +5 -0
- package/lib/components/radio/index.js +6 -0
- package/lib/components/radio/list/RadioList.d.ts +14 -0
- package/lib/components/radio/list/RadioList.js +36 -0
- package/lib/components/radio/list/RadioList.native.d.ts +10 -0
- package/lib/components/radio/list/RadioList.native.js +40 -0
- package/lib/components/radio/list/RadioListProps.d.ts +27 -0
- package/lib/components/radio/list/RadioListProps.js +2 -0
- package/lib/components/radio/list/RadioListPropsDefaults.js +17 -0
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +76 -0
- package/lib/components/radio/list/index.d.ts +2 -0
- package/lib/components/radio/list/index.js +3 -0
- package/lib/components/radio/tiles/RadioTiles.d.ts +14 -0
- package/lib/components/radio/tiles/RadioTiles.js +44 -0
- package/lib/components/radio/tiles/RadioTiles.native.d.ts +12 -0
- package/lib/components/radio/tiles/RadioTiles.native.js +35 -0
- package/lib/components/radio/tiles/RadioTilesProps.d.ts +13 -0
- package/lib/components/radio/tiles/RadioTilesProps.js +2 -0
- package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +81 -0
- package/lib/components/radio/tiles/index.d.ts +2 -0
- package/lib/components/radio/tiles/index.js +3 -0
- package/lib/components/radio/tiles/tile/RadioTile.d.ts +23 -0
- package/lib/components/radio/tiles/tile/RadioTile.js +55 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +20 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.js +124 -0
- package/lib/components/radio/tiles/tile/RadioTileNativePropsDefaults.js +110 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +22 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.js +2 -0
- package/lib/components/radio/tiles/tile/RadioTilePropsCommonDefaults.js +103 -0
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +184 -0
- package/lib/components/radio/tiles/tile/index.d.ts +2 -0
- package/lib/components/radio/tiles/tile/index.js +3 -0
- package/lib/components/range/Range.d.ts +27 -0
- package/lib/components/range/Range.js +104 -0
- package/lib/components/range/Range.native.d.ts +16 -0
- package/lib/components/range/Range.native.js +71 -0
- package/lib/components/range/RangeNativePropsDefaults.js +9 -0
- package/lib/components/range/RangeProps.d.ts +34 -0
- package/lib/components/range/RangeProps.js +2 -0
- package/lib/components/range/RangePropsDefaults.js +116 -0
- package/lib/components/range/index.d.ts +2 -0
- package/lib/components/range/index.js +3 -0
- package/lib/components/rows/Rows.d.ts +10 -0
- package/lib/components/rows/Rows.js +21 -0
- package/lib/components/rows/Rows.native.d.ts +10 -0
- package/lib/components/rows/Rows.native.js +26 -0
- package/lib/components/rows/RowsProps.d.ts +13 -0
- package/lib/components/rows/RowsProps.js +2 -0
- package/lib/components/rows/RowsPropsDefaults.js +47 -0
- package/lib/components/rows/index.d.ts +3 -0
- package/lib/components/rows/index.js +4 -0
- package/lib/components/rows/row/Row.d.ts +11 -0
- package/lib/components/rows/row/Row.js +23 -0
- package/lib/components/rows/row/Row.native.d.ts +10 -0
- package/lib/components/rows/row/Row.native.js +22 -0
- package/lib/components/rows/row/RowProps.d.ts +12 -0
- package/lib/components/rows/row/RowProps.js +2 -0
- package/lib/components/rows/row/RowPropsDefaults.js +38 -0
- package/lib/components/rows/row/index.d.ts +2 -0
- package/lib/components/rows/row/index.js +3 -0
- package/lib/components/scroll-view/ScrollView.d.ts +20 -0
- package/lib/components/scroll-view/ScrollView.js +42 -0
- package/lib/components/scroll-view/ScrollView.native.d.ts +5 -0
- package/lib/components/scroll-view/ScrollView.native.js +50 -0
- package/lib/components/scroll-view/ScrollViewProps.d.ts +20 -0
- package/lib/components/scroll-view/ScrollViewProps.js +2 -0
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +131 -0
- package/lib/components/scroll-view/index.d.ts +2 -0
- package/lib/components/scroll-view/index.js +3 -0
- package/lib/components/section/Section.d.ts +15 -0
- package/lib/components/section/Section.js +30 -0
- package/lib/components/section/Section.native.d.ts +12 -0
- package/lib/components/section/Section.native.js +31 -0
- package/lib/components/section/SectionProps.d.ts +16 -0
- package/lib/components/section/SectionProps.js +2 -0
- package/lib/components/section/SectionPropsDefaults.js +103 -0
- package/lib/components/section/index.d.ts +2 -0
- package/lib/components/section/index.js +3 -0
- package/lib/components/segment-control/SegmentControl.d.ts +14 -0
- package/lib/components/segment-control/SegmentControl.js +62 -0
- package/lib/components/segment-control/SegmentControl.native.d.ts +11 -0
- package/lib/components/segment-control/SegmentControl.native.js +76 -0
- package/lib/components/segment-control/SegmentControlProps.d.ts +15 -0
- package/lib/components/segment-control/SegmentControlProps.js +2 -0
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +66 -0
- package/lib/components/segment-control/index.d.ts +3 -0
- package/lib/components/segment-control/index.js +4 -0
- package/lib/components/segment-control/item/SegmentControlItem.d.ts +14 -0
- package/lib/components/segment-control/item/SegmentControlItem.js +35 -0
- package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +13 -0
- package/lib/components/segment-control/item/SegmentControlItem.native.js +54 -0
- package/lib/components/segment-control/item/SegmentControlItemProps.d.ts +14 -0
- package/lib/components/segment-control/item/SegmentControlItemProps.js +2 -0
- package/lib/components/segment-control/item/SegmentControlItemPropsDefaults.js +53 -0
- package/lib/components/segment-control/item/index.d.ts +2 -0
- package/lib/components/segment-control/item/index.js +3 -0
- package/lib/components/select/ISelectOptionDefaults.js +23 -0
- package/lib/components/select/PropsDefaults.js +177 -0
- package/lib/components/select/Select.d.ts +26 -0
- package/lib/components/select/Select.js +55 -0
- package/lib/components/select/Select.native.d.ts +17 -0
- package/lib/components/select/Select.native.js +134 -0
- package/lib/components/select/SelectChangeEventDefaults.js +41 -0
- package/lib/components/select/SelectChangeEventNativeDefaults.js +37 -0
- package/lib/components/select/SelectEnum.d.ts +5 -0
- package/lib/components/select/SelectEnum.js +6 -0
- package/lib/components/select/SelectNativePropsDefaults.js +212 -0
- package/lib/components/select/SelectProps.d.ts +51 -0
- package/lib/components/select/SelectProps.js +2 -0
- package/lib/components/select/SelectPropsDefaults.js +212 -0
- package/lib/components/select/context/index.d.ts +13 -0
- package/lib/components/select/context/index.js +10 -0
- package/lib/components/select/index.d.ts +3 -0
- package/lib/components/select/index.js +4 -0
- package/lib/components/select/option/SelectOption.d.ts +18 -0
- package/lib/components/select/option/SelectOption.js +64 -0
- package/lib/components/select/option/SelectOption.native.d.ts +11 -0
- package/lib/components/select/option/SelectOption.native.js +57 -0
- package/lib/components/select/option/SelectOptionProps.d.ts +18 -0
- package/lib/components/select/option/SelectOptionProps.js +2 -0
- package/lib/components/select/option/SelectOptionPropsDefaults.js +126 -0
- package/lib/components/select/option/index.d.ts +2 -0
- package/lib/components/select/option/index.js +3 -0
- package/lib/components/select/web/SelectDynamic.d.ts +6 -0
- package/lib/components/select/web/SelectDynamic.js +85 -0
- package/lib/components/select/web/SelectNative.d.ts +4 -0
- package/lib/components/select/web/SelectNative.js +65 -0
- package/lib/components/select/web/index.d.ts +2 -0
- package/lib/components/select/web/index.js +3 -0
- package/lib/components/skeleton/Skeleton.d.ts +17 -0
- package/lib/components/skeleton/Skeleton.js +19 -0
- package/lib/components/skeleton/Skeleton.native.d.ts +16 -0
- package/lib/components/skeleton/Skeleton.native.js +70 -0
- package/lib/components/skeleton/SkeletonProps.d.ts +13 -0
- package/lib/components/skeleton/SkeletonProps.js +2 -0
- package/lib/components/skeleton/SkeletonPropsDefaults.js +80 -0
- package/lib/components/skeleton/index.d.ts +3 -0
- package/lib/components/skeleton/index.js +4 -0
- package/lib/components/spacer/Spacer.d.ts +9 -0
- package/lib/components/spacer/Spacer.js +25 -0
- package/lib/components/spacer/Spacer.native.d.ts +10 -0
- package/lib/components/spacer/Spacer.native.js +21 -0
- package/lib/components/spacer/SpacerEnum.d.ts +17 -0
- package/lib/components/spacer/SpacerEnum.js +19 -0
- package/lib/components/spacer/SpacerProps.d.ts +9 -0
- package/lib/components/spacer/SpacerProps.js +2 -0
- package/lib/components/spacer/SpacerPropsDefaults.js +41 -0
- package/lib/components/spacer/index.d.ts +3 -0
- package/lib/components/spacer/index.js +4 -0
- package/lib/components/stepper/Stepper.d.ts +11 -0
- package/lib/components/stepper/Stepper.js +56 -0
- package/lib/components/stepper/Stepper.native.d.ts +10 -0
- package/lib/components/stepper/Stepper.native.js +95 -0
- package/lib/components/stepper/StepperProps.d.ts +11 -0
- package/lib/components/stepper/StepperProps.js +2 -0
- package/lib/components/stepper/StepperPropsDefaults.js +30 -0
- package/lib/components/stepper/index.d.ts +4 -0
- package/lib/components/stepper/index.js +5 -0
- package/lib/components/stepper/step/Step.d.ts +16 -0
- package/lib/components/stepper/step/Step.js +37 -0
- package/lib/components/stepper/step/Step.native.d.ts +12 -0
- package/lib/components/stepper/step/Step.native.js +56 -0
- package/lib/components/stepper/step/StepEnum.d.ts +13 -0
- package/lib/components/stepper/step/StepEnum.js +11 -0
- package/lib/components/stepper/step/StepProps.d.ts +16 -0
- package/lib/components/stepper/step/StepProps.js +2 -0
- package/lib/components/stepper/step/StepPropsDefaults.js +115 -0
- package/lib/components/stepper/step/index.d.ts +2 -0
- package/lib/components/stepper/step/index.js +3 -0
- package/lib/components/sticker/Sticker.d.ts +16 -0
- package/lib/components/sticker/Sticker.js +32 -0
- package/lib/components/sticker/Sticker.native.d.ts +15 -0
- package/lib/components/sticker/Sticker.native.js +62 -0
- package/lib/components/sticker/StickerProps.d.ts +12 -0
- package/lib/components/sticker/StickerProps.js +2 -0
- package/lib/components/sticker/StickerPropsDefaults.js +115 -0
- package/lib/components/sticker/index.d.ts +2 -0
- package/lib/components/sticker/index.js +3 -0
- package/lib/components/styleComponent/default/index.d.ts +1 -0
- package/lib/components/styleComponent/default/index.js +2 -0
- package/lib/components/styleComponent/default/styleComponent.d.ts +6 -0
- package/lib/components/styleComponent/default/styleComponent.js +8 -0
- package/lib/components/styleComponent/default/styleComponent.native.d.ts +5 -0
- package/lib/components/styleComponent/default/styleComponent.native.js +7 -0
- package/lib/components/styleComponent/index.d.ts +2 -0
- package/lib/components/styleComponent/index.js +3 -0
- package/lib/components/styleComponent/mangled/index.d.ts +1 -0
- package/lib/components/styleComponent/mangled/index.js +2 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.d.ts +6 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.js +8 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.ts +5 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +7 -0
- package/lib/components/switch/Switch.d.ts +20 -0
- package/lib/components/switch/Switch.js +65 -0
- package/lib/components/switch/Switch.native.d.ts +15 -0
- package/lib/components/switch/Switch.native.js +45 -0
- package/lib/components/switch/SwitchChangeEventDefaults.js +13 -0
- package/lib/components/switch/SwitchProps.d.ts +23 -0
- package/lib/components/switch/SwitchProps.js +2 -0
- package/lib/components/switch/SwitchPropsDefaults.js +105 -0
- package/lib/components/switch/index.d.ts +2 -0
- package/lib/components/switch/index.js +3 -0
- package/lib/components/table/Table.d.ts +15 -0
- package/lib/components/table/Table.js +28 -0
- package/lib/components/table/Table.native.d.ts +10 -0
- package/lib/components/table/Table.native.js +33 -0
- package/lib/components/table/TableProps.d.ts +17 -0
- package/lib/components/table/TableProps.js +7 -0
- package/lib/components/table/TablePropsDefaults.js +63 -0
- package/lib/components/table/body/TableBody.d.ts +12 -0
- package/lib/components/table/body/TableBody.js +26 -0
- package/lib/components/table/body/TableBody.native.d.ts +9 -0
- package/lib/components/table/body/TableBody.native.js +22 -0
- package/lib/components/table/body/TableBodyProps.d.ts +11 -0
- package/lib/components/table/body/TableBodyProps.js +2 -0
- package/lib/components/table/body/TableBodyPropsDefaults.js +122 -0
- package/lib/components/table/body/index.d.ts +2 -0
- package/lib/components/table/body/index.js +3 -0
- package/lib/components/table/head/TableHead.d.ts +12 -0
- package/lib/components/table/head/TableHead.js +26 -0
- package/lib/components/table/head/TableHead.native.d.ts +9 -0
- package/lib/components/table/head/TableHead.native.js +21 -0
- package/lib/components/table/head/TableHeadProps.d.ts +11 -0
- package/lib/components/table/head/TableHeadProps.js +2 -0
- package/lib/components/table/head/TableHeadPropsDefaults.js +122 -0
- package/lib/components/table/head/index.d.ts +2 -0
- package/lib/components/table/head/index.js +3 -0
- package/lib/components/table/index.d.ts +8 -0
- package/lib/components/table/index.js +9 -0
- package/lib/components/table/td/TableTd.d.ts +12 -0
- package/lib/components/table/td/TableTd.js +23 -0
- package/lib/components/table/td/TableTd.native.d.ts +9 -0
- package/lib/components/table/td/TableTd.native.js +30 -0
- package/lib/components/table/td/TableTdProps.d.ts +11 -0
- package/lib/components/table/td/TableTdProps.js +2 -0
- package/lib/components/table/td/TableTdPropsDefaults.js +51 -0
- package/lib/components/table/td/index.d.ts +2 -0
- package/lib/components/table/td/index.js +3 -0
- package/lib/components/table/th/TableTh.d.ts +13 -0
- package/lib/components/table/th/TableTh.js +24 -0
- package/lib/components/table/th/TableTh.native.d.ts +8 -0
- package/lib/components/table/th/TableTh.native.js +33 -0
- package/lib/components/table/th/TableThProps.d.ts +11 -0
- package/lib/components/table/th/TableThProps.js +2 -0
- package/lib/components/table/th/TableThPropsDefaults.js +51 -0
- package/lib/components/table/th/index.d.ts +2 -0
- package/lib/components/table/th/index.js +3 -0
- package/lib/components/table/tr/TableTr.d.ts +16 -0
- package/lib/components/table/tr/TableTr.js +29 -0
- package/lib/components/table/tr/TableTr.native.d.ts +10 -0
- package/lib/components/table/tr/TableTr.native.js +42 -0
- package/lib/components/table/tr/TableTrProps.d.ts +17 -0
- package/lib/components/table/tr/TableTrProps.js +2 -0
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +106 -0
- package/lib/components/table/tr/index.d.ts +2 -0
- package/lib/components/table/tr/index.js +3 -0
- package/lib/components/tabs/Tabs.d.ts +15 -0
- package/lib/components/tabs/Tabs.js +40 -0
- package/lib/components/tabs/Tabs.native.d.ts +11 -0
- package/lib/components/tabs/Tabs.native.js +33 -0
- package/lib/components/tabs/TabsProps.d.ts +16 -0
- package/lib/components/tabs/TabsProps.js +2 -0
- package/lib/components/tabs/TabsPropsDefaults.js +126 -0
- package/lib/components/tabs/context/index.d.ts +11 -0
- package/lib/components/tabs/context/index.js +10 -0
- package/lib/components/tabs/index.d.ts +6 -0
- package/lib/components/tabs/index.js +7 -0
- package/lib/components/tabs/tab-list/TabList.d.ts +13 -0
- package/lib/components/tabs/tab-list/TabList.js +90 -0
- package/lib/components/tabs/tab-list/TabList.native.d.ts +14 -0
- package/lib/components/tabs/tab-list/TabList.native.js +86 -0
- package/lib/components/tabs/tab-list/TabListProps.d.ts +13 -0
- package/lib/components/tabs/tab-list/TabListProps.js +2 -0
- package/lib/components/tabs/tab-list/TabListPropsDefaults.js +59 -0
- package/lib/components/tabs/tab-list/index.d.ts +2 -0
- package/lib/components/tabs/tab-list/index.js +3 -0
- package/lib/components/tabs/tab-list/tab/Tab.d.ts +19 -0
- package/lib/components/tabs/tab-list/tab/Tab.js +51 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.d.ts +16 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.js +68 -0
- package/lib/components/tabs/tab-list/tab/TabProps.d.ts +20 -0
- package/lib/components/tabs/tab-list/tab/TabProps.js +2 -0
- package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +327 -0
- package/lib/components/tabs/tab-list/tab/index.d.ts +2 -0
- package/lib/components/tabs/tab-list/tab/index.js +3 -0
- package/lib/components/tabs/tab-panels/TabPanels.d.ts +12 -0
- package/lib/components/tabs/tab-panels/TabPanels.js +28 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.d.ts +13 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.js +33 -0
- package/lib/components/tabs/tab-panels/TabPanelsProps.d.ts +12 -0
- package/lib/components/tabs/tab-panels/TabPanelsProps.js +2 -0
- package/lib/components/tabs/tab-panels/TabPanelsPropsDefaults.js +37 -0
- package/lib/components/tabs/tab-panels/index.d.ts +2 -0
- package/lib/components/tabs/tab-panels/index.js +3 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.d.ts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +26 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.ts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +44 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.ts +13 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.js +2 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelPropsDefaults.js +37 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.d.ts +2 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.js +3 -0
- package/lib/components/tag/Tag.d.ts +15 -0
- package/lib/components/tag/Tag.js +32 -0
- package/lib/components/tag/Tag.native.d.ts +14 -0
- package/lib/components/tag/Tag.native.js +57 -0
- package/lib/components/tag/TagEnum.d.ts +16 -0
- package/lib/components/tag/TagEnum.js +14 -0
- package/lib/components/tag/TagProps.d.ts +17 -0
- package/lib/components/tag/TagProps.js +2 -0
- package/lib/components/tag/TagPropsDefaults.js +97 -0
- package/lib/components/tag/index.d.ts +4 -0
- package/lib/components/tag/index.js +5 -0
- package/lib/components/tag/list/TagList.d.ts +11 -0
- package/lib/components/tag/list/TagList.js +23 -0
- package/lib/components/tag/list/TagList.native.d.ts +10 -0
- package/lib/components/tag/list/TagList.native.js +31 -0
- package/lib/components/tag/list/TagListProps.d.ts +13 -0
- package/lib/components/tag/list/TagListProps.js +2 -0
- package/lib/components/tag/list/TagListPropsDefaults.js +60 -0
- package/lib/components/tag/list/index.d.ts +2 -0
- package/lib/components/tag/list/index.js +3 -0
- package/lib/components/text/Text.d.ts +19 -0
- package/lib/components/text/Text.js +56 -0
- package/lib/components/text/Text.native.d.ts +17 -0
- package/lib/components/text/Text.native.js +77 -0
- package/lib/components/text/TextEnum.d.ts +24 -0
- package/lib/components/text/TextEnum.js +19 -0
- package/lib/components/text/TextProps.d.ts +29 -0
- package/lib/components/text/TextProps.js +2 -0
- package/lib/components/text/TextPropsDefaults.js +151 -0
- package/lib/components/text/index.d.ts +3 -0
- package/lib/components/text/index.js +4 -0
- package/lib/components/textarea/Textarea.d.ts +26 -0
- package/lib/components/textarea/Textarea.js +69 -0
- package/lib/components/textarea/Textarea.native.d.ts +32 -0
- package/lib/components/textarea/Textarea.native.js +122 -0
- package/lib/components/textarea/TextareaChangeEventDefaults.js +10 -0
- package/lib/components/textarea/TextareaProps.d.ts +46 -0
- package/lib/components/textarea/TextareaProps.js +2 -0
- package/lib/components/textarea/index.d.ts +2 -0
- package/lib/components/textarea/index.js +3 -0
- package/lib/components/timeline/Timeline.d.ts +11 -0
- package/lib/components/timeline/Timeline.js +23 -0
- package/lib/components/timeline/Timeline.native.d.ts +15 -0
- package/lib/components/timeline/Timeline.native.js +30 -0
- package/lib/components/timeline/TimelineProps.d.ts +12 -0
- package/lib/components/timeline/TimelineProps.js +2 -0
- package/lib/components/timeline/TimelinePropsDefaults.js +38 -0
- package/lib/components/timeline/content/TimelineContent.d.ts +15 -0
- package/lib/components/timeline/content/TimelineContent.js +34 -0
- package/lib/components/timeline/content/TimelineContent.native.d.ts +13 -0
- package/lib/components/timeline/content/TimelineContent.native.js +48 -0
- package/lib/components/timeline/content/TimelineContentProps.d.ts +20 -0
- package/lib/components/timeline/content/TimelineContentProps.js +2 -0
- package/lib/components/timeline/content/TimelineContentPropsDefaults.js +44 -0
- package/lib/components/timeline/content/TimelineContentWebPropsDefaults.js +58 -0
- package/lib/components/timeline/content/index.d.ts +2 -0
- package/lib/components/timeline/content/index.js +3 -0
- package/lib/components/timeline/index.d.ts +5 -0
- package/lib/components/timeline/index.js +6 -0
- package/lib/components/timeline/item/TimelineItem.d.ts +13 -0
- package/lib/components/timeline/item/TimelineItem.js +24 -0
- package/lib/components/timeline/item/TimelineItem.native.d.ts +18 -0
- package/lib/components/timeline/item/TimelineItem.native.js +38 -0
- package/lib/components/timeline/item/TimelineItemProps.d.ts +22 -0
- package/lib/components/timeline/item/TimelineItemProps.js +2 -0
- package/lib/components/timeline/item/TimelineItemPropsDefaults.js +40 -0
- package/lib/components/timeline/item/TimelineItemWebPropsDefaults.js +54 -0
- package/lib/components/timeline/item/index.d.ts +2 -0
- package/lib/components/timeline/item/index.js +3 -0
- package/lib/components/timeline/marker/TimelineMarker.d.ts +13 -0
- package/lib/components/timeline/marker/TimelineMarker.js +29 -0
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +11 -0
- package/lib/components/timeline/marker/TimelineMarker.native.js +54 -0
- package/lib/components/timeline/marker/TimelineMarkerProps.d.ts +18 -0
- package/lib/components/timeline/marker/TimelineMarkerProps.js +2 -0
- package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +75 -0
- package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +96 -0
- package/lib/components/timeline/marker/index.d.ts +2 -0
- package/lib/components/timeline/marker/index.js +3 -0
- package/lib/components/title/Title.d.ts +24 -0
- package/lib/components/title/Title.js +76 -0
- package/lib/components/title/Title.native.d.ts +19 -0
- package/lib/components/title/Title.native.js +95 -0
- package/lib/components/title/TitleEnum.d.ts +27 -0
- package/lib/components/title/TitleEnum.js +25 -0
- package/lib/components/title/TitleProps.d.ts +24 -0
- package/lib/components/title/TitleProps.js +2 -0
- package/lib/components/title/TitlePropsDefaults.js +142 -0
- package/lib/components/title/index.d.ts +3 -0
- package/lib/components/title/index.js +4 -0
- package/lib/components/view/View.d.ts +24 -0
- package/lib/components/view/View.js +48 -0
- package/lib/components/view/View.native.d.ts +18 -0
- package/lib/components/view/View.native.js +51 -0
- package/lib/components/view/ViewEnum.d.ts +22 -0
- package/lib/components/view/ViewEnum.js +21 -0
- package/lib/components/view/ViewProps.d.ts +40 -0
- package/lib/components/view/ViewProps.js +21 -0
- package/lib/components/view/ViewPropsDefaults.js +257 -0
- package/lib/components/view/index.d.ts +3 -0
- package/lib/components/view/index.js +4 -0
- package/lib/context/index.d.ts +10 -0
- package/lib/context/index.js +14 -0
- package/lib/context/index.native.d.ts +1 -0
- package/lib/context/index.native.js +4 -0
- package/lib/context/interfaces.d.ts +8 -0
- package/lib/context/interfaces.js +2 -0
- package/lib/context/provider.d.ts +20 -0
- package/lib/context/provider.js +40 -0
- package/lib/context/provider.native.d.ts +4 -0
- package/lib/context/provider.native.js +5 -0
- package/lib/context/providerStates.d.ts +6 -0
- package/lib/context/providerStates.js +7 -0
- package/lib/context/providerStyled.d.ts +14 -0
- package/lib/context/providerStyled.js +34 -0
- package/lib/context/providerStyled.native.d.ts +4 -0
- package/lib/context/providerStyled.native.js +5 -0
- package/lib/context/providerTheme.d.ts +12 -0
- package/lib/context/providerTheme.js +16 -0
- package/lib/context/providerTheme.native.d.ts +18 -0
- package/lib/context/providerTheme.native.js +20 -0
- package/lib/events/OnChangeEvent.d.ts +8 -0
- package/lib/events/OnChangeEvent.js +2 -0
- package/lib/events/OnClickEvent.d.ts +8 -0
- package/lib/events/OnClickEvent.js +2 -0
- package/lib/helpers/WrapperReactNativeTesting.d.ts +4 -0
- package/lib/helpers/WrapperReactNativeTesting.js +9 -0
- package/lib/helpers/clickOutside.d.ts +1 -0
- package/lib/helpers/clickOutside.js +16 -0
- package/lib/helpers/device.d.ts +19 -0
- package/lib/helpers/device.js +35 -0
- package/lib/helpers/device.native.d.ts +19 -0
- package/lib/helpers/device.native.js +36 -0
- package/lib/helpers/enumHelpers.d.ts +11 -0
- package/lib/helpers/enumHelpers.js +10 -0
- package/lib/helpers/hashClassesHelpers.d.ts +6 -0
- package/lib/helpers/hashClassesHelpers.js +20 -0
- package/lib/helpers/index.d.ts +4 -0
- package/lib/helpers/index.js +5 -0
- package/lib/helpers/require.d.ts +2 -0
- package/lib/helpers/require.js +3 -0
- package/lib/helpers/testHelpers.d.ts +1 -0
- package/lib/helpers/testHelpers.js +13 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +7 -0
- package/lib/objects/Typography/TypographyAlign.d.ts +18 -0
- package/lib/objects/Typography/TypographyAlign.js +27 -0
- package/lib/objects/Typography/TypographyBold.d.ts +24 -0
- package/lib/objects/Typography/TypographyBold.js +49 -0
- package/lib/objects/Typography/TypographyColor.d.ts +24 -0
- package/lib/objects/Typography/TypographyColor.js +58 -0
- package/lib/objects/Typography/TypographyTransform.d.ts +13 -0
- package/lib/objects/Typography/TypographyTransform.js +11 -0
- package/lib/objects/Typography/index.d.ts +4 -0
- package/lib/objects/Typography/index.js +5 -0
- package/lib/objects/atoms/Background.d.ts +15 -0
- package/lib/objects/atoms/Background.js +10 -0
- package/lib/objects/atoms/Text.d.ts +21 -0
- package/lib/objects/atoms/Text.js +37 -0
- package/lib/objects/atoms/index.d.ts +2 -0
- package/lib/objects/atoms/index.js +3 -0
- package/lib/objects/facets/Accessibility.d.ts +3 -0
- package/lib/objects/facets/Accessibility.js +2 -0
- package/lib/objects/facets/Alignable.d.ts +39 -0
- package/lib/objects/facets/Alignable.js +68 -0
- package/lib/objects/facets/Alternate.d.ts +3 -0
- package/lib/objects/facets/Alternate.js +2 -0
- package/lib/objects/facets/Centerable.d.ts +3 -0
- package/lib/objects/facets/Centerable.js +2 -0
- package/lib/objects/facets/ChildrenWithNoText.d.ts +7 -0
- package/lib/objects/facets/ChildrenWithNoText.js +2 -0
- package/lib/objects/facets/Clickable.d.ts +4 -0
- package/lib/objects/facets/Clickable.js +2 -0
- package/lib/objects/facets/Clipped.d.ts +3 -0
- package/lib/objects/facets/Clipped.js +2 -0
- package/lib/objects/facets/Color.d.ts +51 -0
- package/lib/objects/facets/Color.js +158 -0
- package/lib/objects/facets/CommonProps.d.ts +4 -0
- package/lib/objects/facets/CommonProps.js +2 -0
- package/lib/objects/facets/Dev.d.ts +3 -0
- package/lib/objects/facets/Dev.js +2 -0
- package/lib/objects/facets/Direction.d.ts +7 -0
- package/lib/objects/facets/Direction.js +8 -0
- package/lib/objects/facets/Flexable.d.ts +3 -0
- package/lib/objects/facets/Flexable.js +2 -0
- package/lib/objects/facets/Fullheight.d.ts +3 -0
- package/lib/objects/facets/Fullheight.js +2 -0
- package/lib/objects/facets/Fullwidth.d.ts +3 -0
- package/lib/objects/facets/Fullwidth.js +2 -0
- package/lib/objects/facets/Hat.d.ts +3 -0
- package/lib/objects/facets/Hat.js +2 -0
- package/lib/objects/facets/Hidden.d.ts +12 -0
- package/lib/objects/facets/Hidden.js +2 -0
- package/lib/objects/facets/Invertable.d.ts +3 -0
- package/lib/objects/facets/Invertable.js +2 -0
- package/lib/objects/facets/Justifiable.d.ts +37 -0
- package/lib/objects/facets/Justifiable.js +91 -0
- package/lib/objects/facets/Layout.d.ts +4 -0
- package/lib/objects/facets/Layout.js +2 -0
- package/lib/objects/facets/Loadable.d.ts +20 -0
- package/lib/objects/facets/Loadable.js +24 -0
- package/lib/objects/facets/Marginless.d.ts +3 -0
- package/lib/objects/facets/Marginless.js +2 -0
- package/lib/objects/facets/Narrow.d.ts +3 -0
- package/lib/objects/facets/Narrow.js +2 -0
- package/lib/objects/facets/Paddingless.d.ts +3 -0
- package/lib/objects/facets/Paddingless.js +2 -0
- package/lib/objects/facets/Position.d.ts +4 -0
- package/lib/objects/facets/Position.js +2 -0
- package/lib/objects/facets/Radius.d.ts +2 -0
- package/lib/objects/facets/Radius.js +14 -0
- package/lib/objects/facets/Referenceable.d.ts +7 -0
- package/lib/objects/facets/Referenceable.js +2 -0
- package/lib/objects/facets/ScrollDirection.d.ts +8 -0
- package/lib/objects/facets/ScrollDirection.js +6 -0
- package/lib/objects/facets/Small.d.ts +3 -0
- package/lib/objects/facets/Small.js +2 -0
- package/lib/objects/facets/Stacked.d.ts +3 -0
- package/lib/objects/facets/Stacked.js +2 -0
- package/lib/objects/facets/Status.d.ts +63 -0
- package/lib/objects/facets/Status.js +70 -0
- package/lib/objects/facets/Sticky.d.ts +9 -0
- package/lib/objects/facets/Sticky.js +6 -0
- package/lib/objects/facets/Variant.d.ts +27 -0
- package/lib/objects/facets/Variant.js +57 -0
- package/lib/objects/facets/VerticalPaddingless.d.ts +3 -0
- package/lib/objects/facets/VerticalPaddingless.js +2 -0
- package/lib/objects/facets/index.d.ts +30 -0
- package/lib/objects/facets/index.js +31 -0
- package/lib/objects/index.d.ts +3 -0
- package/lib/objects/index.js +4 -0
- package/lib/react-native.config.js +5 -0
- package/lib/services/classify.d.ts +4 -0
- package/lib/services/classify.js +15 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.js +2 -0
- package/lib/tsconfig.build.json +13 -0
- package/lib/tsconfig.json +52 -0
- package/lib/types/index.d.ts +3 -0
- package/lib/types/index.js +2 -0
- package/lib/version.d.ts +1 -0
- package/lib/version.js +2 -0
- package/lib/version.json +3 -0
- package/package.json +58 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import clsx from 'clsx';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useTrilogyContext } from '../../../context';
|
|
4
|
+
import { hashClass } from '../../../helpers';
|
|
5
|
+
import { getColorClassName, TrilogyColor } from '../../../objects';
|
|
6
|
+
import { is } from '../../../services';
|
|
7
|
+
import { Icon, IconSize } from '../../../components/icon';
|
|
8
|
+
import { ComponentName } from '../../../components/enumsComponentsName';
|
|
9
|
+
/**
|
|
10
|
+
* ListItem Component
|
|
11
|
+
* @param className {string} Additional CSS Classes
|
|
12
|
+
* @param children {React.ReactNode}
|
|
13
|
+
* @param iconName {IconName} Icon name
|
|
14
|
+
* @param status {ListIconStatus} Status success|error
|
|
15
|
+
*/
|
|
16
|
+
var ListItem = React.forwardRef(function (_a, ref) {
|
|
17
|
+
var className = _a.className, id = _a.id, children = _a.children, iconName = _a.iconName, status = _a.status, testId = _a.testId;
|
|
18
|
+
var styled = useTrilogyContext().styled;
|
|
19
|
+
var classes = clsx('list-item', className, status && is(getColorClassName(TrilogyColor[status])));
|
|
20
|
+
return (React.createElement("li", { ref: ref, id: id, className: hashClass(styled, clsx(classes)), "data-testid": testId },
|
|
21
|
+
iconName && (React.createElement(Icon, { className: status && clsx(is(getColorClassName(TrilogyColor[status]))), name: iconName, size: IconSize.SMALL })),
|
|
22
|
+
React.createElement("div", { className: hashClass(styled, clsx('list-item-content')) },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QUcsSUFBSSxDQUFDLFdBQVcsRUFBRSxTQUFTLEVBQUUsTUFBTSxJQUFJLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFFbkcsT0FBTyxDQUNMLDRCQUFJLEdBQUcsRUFBRSxHQUFHLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxTQUFTLEVBQUUsU0FBUyxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsT0FBTyxDQUFDLENBQUMsaUJBQWUsTUFBTTtRQUNuRixRQUFRLElBQUksQ0FDWCxvQkFBQyxJQUFJLElBQ0gsU0FBUyxFQUFFLE1BQU0sSUFBSSxJQUFJLENBQUMsRUFBRSxDQUFDLGlCQUFpQixDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFDdEUsSUFBSSxFQUFFLFFBQVEsRUFDZCxJQUFJLEVBQUUsUUFBUSxDQUFDLEtBQUssR0FDcEIsQ0FDSDtRQUNELDZCQUFLLFNBQVMsRUFBRSxTQUFTLENBQUMsTUFBTSxFQUFFLElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDLElBQUcsUUFBUSxDQUFPLENBQzNFLENBQ04sQ0FBQTtBQUNILENBQUMsQ0FBQyxDQUFBO0FBRUYsUUFBUSxDQUFDLFdBQVcsR0FBRyxhQUFhLENBQUMsUUFBUSxDQUFBO0FBQzdDLGVBQWUsUUFBUSxDQUFBIn0=
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ListItemProps } from '../../../components/list/item/ListItemProps';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
/**
|
|
5
|
+
* ListItem Component
|
|
6
|
+
* @param children {React.ReactNode}
|
|
7
|
+
* @param iconName {IconName} Icon name
|
|
8
|
+
* @param status {ListIconStatus} Status success|error
|
|
9
|
+
*/
|
|
10
|
+
declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<View>>;
|
|
11
|
+
export default ListItem;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ComponentName } from '../../../components/enumsComponentsName';
|
|
3
|
+
import { Icon } from '../../../components/icon';
|
|
4
|
+
import { ListContext } from '../../../components/list/context';
|
|
5
|
+
import { Text, TextLevels } from '../../../components/text';
|
|
6
|
+
import { getColorStyle, TrilogyColor, TypographyBold } from '../../../objects';
|
|
7
|
+
import React, { useContext, useEffect, useId, useMemo } from 'react';
|
|
8
|
+
import { StyleSheet, View } from 'react-native';
|
|
9
|
+
/**
|
|
10
|
+
* ListItem Component
|
|
11
|
+
* @param children {React.ReactNode}
|
|
12
|
+
* @param iconName {IconName} Icon name
|
|
13
|
+
* @param status {ListIconStatus} Status success|error
|
|
14
|
+
*/
|
|
15
|
+
var ListItem = React.forwardRef(function (_a, ref) {
|
|
16
|
+
var children = _a.children, status = _a.status, iconName = _a.iconName;
|
|
17
|
+
var id = useId();
|
|
18
|
+
var _b = useContext(ListContext), ordered = _b.ordered, chilIndexes = _b.chilIndexes, setChildIndexes = _b.setChildIndexes, divider = _b.divider;
|
|
19
|
+
var isLastItem = chilIndexes[chilIndexes.length - 1] === id;
|
|
20
|
+
useEffect(function () {
|
|
21
|
+
setChildIndexes(function (prev) { return __spreadArray(__spreadArray([], __read(prev), false), [id], false); });
|
|
22
|
+
}, [id]);
|
|
23
|
+
var styles = StyleSheet.create({
|
|
24
|
+
text: {
|
|
25
|
+
paddingHorizontal: 16,
|
|
26
|
+
},
|
|
27
|
+
content: {
|
|
28
|
+
flexDirection: 'row',
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
paddingVertical: iconName ? 8 : 2,
|
|
31
|
+
borderBottomWidth: divider && !isLastItem ? 1 : 0,
|
|
32
|
+
borderBottomColor: getColorStyle(TrilogyColor.NEUTRAL),
|
|
33
|
+
},
|
|
34
|
+
disc: {
|
|
35
|
+
alignSelf: 'center',
|
|
36
|
+
width: 4,
|
|
37
|
+
height: 4,
|
|
38
|
+
backgroundColor: getColorStyle(TrilogyColor.MAIN),
|
|
39
|
+
borderRadius: 4,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
var getComponent = useMemo(function () {
|
|
43
|
+
if (typeof children === 'object')
|
|
44
|
+
return React.createElement(View, { style: styles.text }, children);
|
|
45
|
+
if (['string', 'number'].includes(typeof children)) {
|
|
46
|
+
return (React.createElement(Text, { style: styles.text, level: TextLevels.ONE }, children));
|
|
47
|
+
}
|
|
48
|
+
}, [children]);
|
|
49
|
+
return (React.createElement(View, { ref: ref, style: [styles.content] },
|
|
50
|
+
ordered && !iconName && (React.createElement(View, null,
|
|
51
|
+
React.createElement(Text, { typo: [TypographyBold.TEXT_WEIGHT_SEMIBOLD] },
|
|
52
|
+
chilIndexes.indexOf(id) + 1,
|
|
53
|
+
"."))),
|
|
54
|
+
!iconName && !ordered && (React.createElement(View, null,
|
|
55
|
+
React.createElement(View, { style: styles.disc }))),
|
|
56
|
+
iconName && (React.createElement(View, null,
|
|
57
|
+
React.createElement(Icon, { size: 'small', name: iconName, color: status }))),
|
|
58
|
+
React.createElement(View, { style: { flexGrow: 1 } }, getComponent)));
|
|
59
|
+
});
|
|
60
|
+
ListItem.displayName = ComponentName.ListItem;
|
|
61
|
+
export default ListItem;
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGlzdEl0ZW0ubmF0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vY29tcG9uZW50cy9saXN0L2l0ZW0vTGlzdEl0ZW0ubmF0aXZlLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtDQUFrQyxDQUFBO0FBQ2hFLE9BQU8sRUF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
+
/**
|
|
2
|
+
* ListItem Interface
|
|
3
|
+
*/
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
import { Animated, type View } from 'react-native';
|
|
6
|
+
import { IconName, IconNameValues } from '../../../components/icon';
|
|
7
|
+
import { Accessibility, Dev } from '../../../objects';
|
|
8
|
+
import { CommonProps } from '../../../objects/facets/CommonProps';
|
|
9
|
+
export declare enum ListIconStatus {
|
|
10
|
+
SUCCESS = "SUCCESS",
|
|
11
|
+
INFO = "INFO",
|
|
12
|
+
WARNING = "WARNING",
|
|
13
|
+
ERROR = "ERROR"
|
|
14
|
+
}
|
|
15
|
+
export type ListIconStatusValues = `${ListIconStatus}`;
|
|
16
|
+
export interface ListItemProps extends Accessibility, Dev, CommonProps {
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
iconName?: IconName | IconNameValues;
|
|
19
|
+
status?: ListIconStatus | ListIconStatusValues;
|
|
20
|
+
}
|
|
21
|
+
export type AnimatedInterpolationProps = Animated.AnimatedInterpolation<number | string>;
|
|
22
|
+
export type ListItemRef = HTMLLIElement;
|
|
23
|
+
export type ListItemNativeRef = View;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var ListIconStatus;
|
|
2
|
+
(function (ListIconStatus) {
|
|
3
|
+
ListIconStatus["SUCCESS"] = "SUCCESS";
|
|
4
|
+
ListIconStatus["INFO"] = "INFO";
|
|
5
|
+
ListIconStatus["WARNING"] = "WARNING";
|
|
6
|
+
ListIconStatus["ERROR"] = "ERROR";
|
|
7
|
+
})(ListIconStatus || (ListIconStatus = {}));
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGlzdEl0ZW1Qcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvbGlzdC9pdGVtL0xpc3RJdGVtUHJvcHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBU0EsTUFBTSxDQUFOLElBQVksY0FLWDtBQUxELFdBQVksY0FBYztJQUN4QixxQ0FBbUIsQ0FBQTtJQUNuQiwrQkFBYSxDQUFBO0lBQ2IscUNBQW1CLENBQUE7SUFDbkIsaUNBQWUsQ0FBQTtBQUNqQixDQUFDLEVBTFcsY0FBYyxLQUFkLGNBQWMsUUFLekIifQ==
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"children": {
|
|
3
|
+
"type": "react",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"null",
|
|
7
|
+
"string",
|
|
8
|
+
"number",
|
|
9
|
+
"false",
|
|
10
|
+
"true",
|
|
11
|
+
"JSXElementConstructor<any>>",
|
|
12
|
+
"ReactNode>",
|
|
13
|
+
"ReactPortal"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"iconName": {
|
|
17
|
+
"type": "enum",
|
|
18
|
+
"values": [
|
|
19
|
+
"undefined",
|
|
20
|
+
"tri-alert",
|
|
21
|
+
"tri-arrow-down",
|
|
22
|
+
"tri-arrow-left",
|
|
23
|
+
"tri-arrow-right",
|
|
24
|
+
"tri-arrow-up",
|
|
25
|
+
"tri-attachment",
|
|
26
|
+
"tri-bell",
|
|
27
|
+
"tri-calendar",
|
|
28
|
+
"tri-check-circle",
|
|
29
|
+
"tri-check",
|
|
30
|
+
"tri-exclamation-circle",
|
|
31
|
+
"tri-eye-slash",
|
|
32
|
+
"tri-eye",
|
|
33
|
+
"tri-file-attached",
|
|
34
|
+
"tri-infos-circle",
|
|
35
|
+
"tri-micro",
|
|
36
|
+
"tri-search",
|
|
37
|
+
"tri-times",
|
|
38
|
+
"tri-trash",
|
|
39
|
+
"tri-picto-faciliti",
|
|
40
|
+
"tri-picto-handicapzero",
|
|
41
|
+
"tri-picto-la-fibre",
|
|
42
|
+
"tri-picto-payment-americanexpress",
|
|
43
|
+
"tri-picto-payment-cb",
|
|
44
|
+
"tri-picto-payment-mastercard",
|
|
45
|
+
"tri-picto-payment-paypal",
|
|
46
|
+
"tri-picto-payment-visa",
|
|
47
|
+
"tri-alert",
|
|
48
|
+
"tri-arrow-down",
|
|
49
|
+
"tri-arrow-left",
|
|
50
|
+
"tri-arrow-right",
|
|
51
|
+
"tri-arrow-up",
|
|
52
|
+
"tri-attachment",
|
|
53
|
+
"tri-bell",
|
|
54
|
+
"tri-calendar",
|
|
55
|
+
"tri-check-circle",
|
|
56
|
+
"tri-check",
|
|
57
|
+
"tri-exclamation-circle",
|
|
58
|
+
"tri-eye-slash",
|
|
59
|
+
"tri-eye",
|
|
60
|
+
"tri-file-attached",
|
|
61
|
+
"tri-infos-circle",
|
|
62
|
+
"tri-micro",
|
|
63
|
+
"tri-search",
|
|
64
|
+
"tri-times",
|
|
65
|
+
"tri-trash",
|
|
66
|
+
"tri-picto-faciliti",
|
|
67
|
+
"tri-picto-handicapzero",
|
|
68
|
+
"tri-picto-la-fibre",
|
|
69
|
+
"tri-picto-payment-americanexpress",
|
|
70
|
+
"tri-picto-payment-cb",
|
|
71
|
+
"tri-picto-payment-mastercard",
|
|
72
|
+
"tri-picto-payment-paypal",
|
|
73
|
+
"tri-picto-payment-visa"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"status": {
|
|
77
|
+
"type": "enum",
|
|
78
|
+
"values": [
|
|
79
|
+
"undefined",
|
|
80
|
+
"SUCCESS",
|
|
81
|
+
"INFO",
|
|
82
|
+
"WARNING",
|
|
83
|
+
"ERROR",
|
|
84
|
+
"SUCCESS",
|
|
85
|
+
"INFO",
|
|
86
|
+
"WARNING",
|
|
87
|
+
"ERROR"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"accessibilityLabel": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"values": [
|
|
93
|
+
"undefined",
|
|
94
|
+
"string"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"testId": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"values": [
|
|
100
|
+
"undefined",
|
|
101
|
+
"string"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"id": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"values": [
|
|
107
|
+
"undefined",
|
|
108
|
+
"string"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"className": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"values": [
|
|
114
|
+
"undefined",
|
|
115
|
+
"string"
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ListItemDescriptionProps } from "./ListItemDescriptionProps";
|
|
3
|
+
/**
|
|
4
|
+
* ListItemDescription Component
|
|
5
|
+
* @param children {React.ReactNode}
|
|
6
|
+
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
7
|
+
* @param className {string} Additional CSS Classes
|
|
8
|
+
*/
|
|
9
|
+
declare const ListItemDescription: React.ForwardRefExoticComponent<ListItemDescriptionProps & React.RefAttributes<HTMLElement>>;
|
|
10
|
+
export default ListItemDescription;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import { hashClass } from "../../../../helpers";
|
|
4
|
+
import { useTrilogyContext } from "../../../../context";
|
|
5
|
+
import { ComponentName } from "../../../../components/enumsComponentsName";
|
|
6
|
+
/**
|
|
7
|
+
* ListItemDescription Component
|
|
8
|
+
* @param children {React.ReactNode}
|
|
9
|
+
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
10
|
+
* @param className {string} Additional CSS Classes
|
|
11
|
+
*/
|
|
12
|
+
var ListItemDescription = React.forwardRef(function (_a, ref) {
|
|
13
|
+
var children = _a.children, className = _a.className;
|
|
14
|
+
var styled = useTrilogyContext().styled;
|
|
15
|
+
return React.createElement("dd", { ref: ref, className: hashClass(styled, clsx(className)) }, children);
|
|
16
|
+
});
|
|
17
|
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G1CQUFtQixDQUFBIn0=
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ListItemDescriptionProps } from "./ListItemDescriptionProps";
|
|
3
|
+
/**
|
|
4
|
+
* ListItemDescription Component
|
|
5
|
+
* @param children {React.ReactNode}
|
|
6
|
+
*/
|
|
7
|
+
declare const ListItemDescription: React.ForwardRefExoticComponent<ListItemDescriptionProps & React.RefAttributes<import("react-native/types").View>>;
|
|
8
|
+
export default ListItemDescription;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Text } from "../../../../components/text";
|
|
3
|
+
import { View } from "../../../../components/view";
|
|
4
|
+
import { ComponentName } from "../../../../components/enumsComponentsName";
|
|
5
|
+
/**
|
|
6
|
+
* ListItemDescription Component
|
|
7
|
+
* @param children {React.ReactNode}
|
|
8
|
+
*/
|
|
9
|
+
var ListItemDescription = React.forwardRef(function (_a, ref) {
|
|
10
|
+
var children = _a.children;
|
|
11
|
+
if (["string", "number"].includes(typeof children)) {
|
|
12
|
+
return React.createElement(Text, null, children);
|
|
13
|
+
}
|
|
14
|
+
return React.createElement(View, { ref: ref }, children);
|
|
15
|
+
});
|
|
16
|
+
ListItemDescription.displayName = ComponentName.ListItemDescription;
|
|
17
|
+
export default ListItemDescription;
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGlzdEl0ZW1EZXNjcmlwdGlvbi5uYXRpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9jb21wb25lbnRzL2xpc3QvaXRlbS9kZXNjcmlwdGlvbi9MaXN0SXRlbURlc2NyaXB0aW9uLm5hdGl2ZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEtBQUssTUFBTSxPQUFPLENBQUE7QUFDOUIsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLG1CQUFtQixDQUFBO0FBQ3hDLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUV4QyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFFaEU7OztHQUdHO0FBQ0gsSUFBTSxtQkFBbUIsR0FBRyxLQUFLLENBQUMsVUFBVSxDQUF5RCxVQUFDLEVBRXJHLEVBQUUsR0FBRztRQURKLFFBQVEsY0FBQTtJQUVSLElBQUksQ0FBQyxRQUFRLEVBQUUsUUFBUSxDQUFDLENBQUMsUUFBUSxDQUFDLE9BQU8sUUFBUSxDQUFDLEVBQUU7UUFDbEQsT0FBTyxvQkFBQyxJQUFJLFFBQUUsUUFBUSxDQUFRLENBQUE7S0FDL0I7SUFFRCxPQUFPLG9CQUFDLElBQUksSUFBQyxHQUFHLEVBQUUsR0FBRyxJQUFHLFFBQVEsQ0FBUSxDQUFBO0FBQzFDLENBQUMsQ0FBQyxDQUFBO0FBRUYsbUJBQW1CLENBQUMsV0FBVyxHQUFHLGFBQWEsQ0FBQyxtQkFBbUIsQ0FBQTtBQUVuRSxlQUFlLG1CQUFtQixDQUFBIn0=
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ListItem Interface
|
|
3
|
+
*/
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
import { View } from 'react-native';
|
|
6
|
+
export interface ListItemDescriptionProps {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export type ListItemDescriptionRef = HTMLElement;
|
|
11
|
+
export type ListItemDescriptionNativeRef = View;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGlzdEl0ZW1EZXNjcmlwdGlvblByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9saXN0L2l0ZW0vZGVzY3JpcHRpb24vTGlzdEl0ZW1EZXNjcmlwdGlvblByb3BzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"children": {
|
|
3
|
+
"type": "react",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"null",
|
|
7
|
+
"string",
|
|
8
|
+
"number",
|
|
9
|
+
"false",
|
|
10
|
+
"true",
|
|
11
|
+
"JSXElementConstructor<any>>",
|
|
12
|
+
"ReactNode>",
|
|
13
|
+
"ReactPortal"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"className": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"values": [
|
|
19
|
+
"undefined",
|
|
20
|
+
"string"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import ListItemDescription from './ListItemDescription';
|
|
2
|
+
export * from './ListItemDescriptionProps';
|
|
3
|
+
export { ListItemDescription };
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9jb21wb25lbnRzL2xpc3QvaXRlbS9kZXNjcmlwdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLG1CQUFtQixNQUFNLHVCQUF1QixDQUFBO0FBRXZELGNBQWMsNEJBQTRCLENBQUE7QUFFMUMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLENBQUEifQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import ListItem from './ListItem';
|
|
2
|
+
export * from './description';
|
|
3
|
+
export * from './ListItemProps';
|
|
4
|
+
export { ListItem };
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jb21wb25lbnRzL2xpc3QvaXRlbS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFFBQVEsTUFBTSxZQUFZLENBQUE7QUFFakMsY0FBYyxlQUFlLENBQUE7QUFDN0IsY0FBYyxpQkFBaUIsQ0FBQTtBQUMvQixPQUFPLEVBQUUsUUFBUSxFQUFFLENBQUEifQ==
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ModalProps } from './ModalProps';
|
|
3
|
+
/**
|
|
4
|
+
* Modal Component
|
|
5
|
+
* @param active {boolean} Activated Modal
|
|
6
|
+
* @param title {string} Title Modal
|
|
7
|
+
* @param onClose {Function} Additional close custom function
|
|
8
|
+
* @param onOpen {Function} Additional open custom function
|
|
9
|
+
* @param children {React.ReactNode}
|
|
10
|
+
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
11
|
+
* @param className {string} Additional CSS Classes
|
|
12
|
+
* @param panel {boolean} Panel Side Modal
|
|
13
|
+
* @param accessibilityLabel {string} Accessibility label
|
|
14
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
15
|
+
*/
|
|
16
|
+
declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export default Modal;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { __assign, __read, __rest } from "tslib";
|
|
2
|
+
import { ButtonType } from '../../components/button';
|
|
3
|
+
import { Title, TitleLevels, TitleMarkup } from '../../components/title';
|
|
4
|
+
import { useTrilogyContext } from '../../context/index';
|
|
5
|
+
import { hashClass } from '../../helpers/hashClassesHelpers';
|
|
6
|
+
import { is } from '../../services';
|
|
7
|
+
import translation from '@trilogy-ds/locales/lib/modal';
|
|
8
|
+
import clsx from 'clsx';
|
|
9
|
+
import React, { useCallback, useEffect, useId, useRef, useState } from 'react';
|
|
10
|
+
import { ComponentName } from '../enumsComponentsName';
|
|
11
|
+
/**
|
|
12
|
+
* Modal Component
|
|
13
|
+
* @param active {boolean} Activated Modal
|
|
14
|
+
* @param title {string} Title Modal
|
|
15
|
+
* @param onClose {Function} Additional close custom function
|
|
16
|
+
* @param onOpen {Function} Additional open custom function
|
|
17
|
+
* @param children {React.ReactNode}
|
|
18
|
+
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
19
|
+
* @param className {string} Additional CSS Classes
|
|
20
|
+
* @param panel {boolean} Panel Side Modal
|
|
21
|
+
* @param accessibilityLabel {string} Accessibility label
|
|
22
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
23
|
+
*/
|
|
24
|
+
var Modal = React.forwardRef(function (_a, ref) {
|
|
25
|
+
var children = _a.children, className = _a.className, id = _a.id, _b = _a.accessibilityLabel, accessibilityLabel = _b === void 0 ? 'Close' : _b, active = _a.active, onClose = _a.onClose, unClosable = _a.unClosable, panel = _a.panel, size = _a.size, _c = _a.hideCloseButton, hideCloseButton = _c === void 0 ? false : _c, trigger = _a.trigger, title = _a.title, others = __rest(_a, ["children", "className", "id", "accessibilityLabel", "active", "onClose", "unClosable", "panel", "size", "hideCloseButton", "trigger", "title"]);
|
|
26
|
+
var modalContentRef = useRef(null);
|
|
27
|
+
var _d = __read(useState(active || false), 2), display = _d[0], setDisplay = _d[1];
|
|
28
|
+
var styled = useTrilogyContext().styled;
|
|
29
|
+
var refBtnModal = useRef(null);
|
|
30
|
+
var refModal = useRef(null);
|
|
31
|
+
var modalGeneratedId = useId();
|
|
32
|
+
var focusableElementsRef = useRef(null);
|
|
33
|
+
var currentFocusIndexRef = useRef(0);
|
|
34
|
+
var handleClose = React.useCallback(function (onCloseFunc, e) {
|
|
35
|
+
if (!unClosable) {
|
|
36
|
+
setDisplay(false);
|
|
37
|
+
refBtnModal.current && refBtnModal.current.focus();
|
|
38
|
+
if (onCloseFunc)
|
|
39
|
+
onCloseFunc(e);
|
|
40
|
+
}
|
|
41
|
+
}, [refBtnModal.current]);
|
|
42
|
+
var classes = hashClass(styled, clsx('modal', display && is('active'), size && is(size), panel && is('panel'), className));
|
|
43
|
+
var onKeyDown = useCallback(function (e) {
|
|
44
|
+
if (display && e.key === 'Tab') {
|
|
45
|
+
e.preventDefault();
|
|
46
|
+
if (focusableElementsRef.current) {
|
|
47
|
+
var currentIndex = currentFocusIndexRef.current;
|
|
48
|
+
var offset = e.shiftKey ? -1 : 1;
|
|
49
|
+
var nextIndex = (currentIndex + offset + focusableElementsRef.current.length) % focusableElementsRef.current.length;
|
|
50
|
+
currentFocusIndexRef.current = nextIndex;
|
|
51
|
+
focusableElementsRef.current[nextIndex].focus();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
if (!unClosable && display && e.key === 'Escape') {
|
|
55
|
+
e.preventDefault();
|
|
56
|
+
setDisplay(false);
|
|
57
|
+
refBtnModal.current && refBtnModal.current.focus();
|
|
58
|
+
currentFocusIndexRef.current = 0;
|
|
59
|
+
onClose && onClose();
|
|
60
|
+
}
|
|
61
|
+
}, [display, focusableElementsRef, currentFocusIndexRef, refBtnModal, onClose]);
|
|
62
|
+
useEffect(function () {
|
|
63
|
+
setDisplay(function (prev) {
|
|
64
|
+
if (prev) {
|
|
65
|
+
refBtnModal.current && refBtnModal.current.focus();
|
|
66
|
+
currentFocusIndexRef.current = 0;
|
|
67
|
+
}
|
|
68
|
+
return active || false;
|
|
69
|
+
});
|
|
70
|
+
}, [active, currentFocusIndexRef, refBtnModal]);
|
|
71
|
+
useEffect(function () {
|
|
72
|
+
!hideCloseButton && display && focusableElementsRef.current && focusableElementsRef.current[0].focus();
|
|
73
|
+
}, [hideCloseButton, display, focusableElementsRef]);
|
|
74
|
+
useEffect(function () {
|
|
75
|
+
if (modalContentRef.current) {
|
|
76
|
+
focusableElementsRef.current = modalContentRef.current.querySelectorAll('button:not(:disabled), input:not(:disabled), a, select:not(:disabled), textarea:not(:disabled), details:not([aria-disabled="true"]) > summary');
|
|
77
|
+
}
|
|
78
|
+
}, [modalContentRef, focusableElementsRef]);
|
|
79
|
+
return (React.createElement("div", { onKeyDown: onKeyDown, ref: refModal },
|
|
80
|
+
trigger && React.cloneElement(trigger, { ref: refBtnModal, 'aria-haspopup': 'dialog' }),
|
|
81
|
+
React.createElement("div", __assign({ ref: ref, id: id, className: classes, role: 'dialog', "aria-labelledby": modalGeneratedId, "aria-modal": true, onClick: function (e) {
|
|
82
|
+
var _a;
|
|
83
|
+
if (!((_a = modalContentRef === null || modalContentRef === void 0 ? void 0 : modalContentRef.current) === null || _a === void 0 ? void 0 : _a.contains(e.target))) {
|
|
84
|
+
handleClose(onClose, e);
|
|
85
|
+
}
|
|
86
|
+
} }, others),
|
|
87
|
+
React.createElement("div", { ref: modalContentRef, className: hashClass(styled, clsx('modal-content')) },
|
|
88
|
+
React.createElement("div", { className: hashClass(styled, clsx('modal-header')) },
|
|
89
|
+
!hideCloseButton && !unClosable && (React.createElement("button", { onClick: function (e) {
|
|
90
|
+
handleClose(onClose, e);
|
|
91
|
+
}, className: hashClass(styled, clsx('modal-close', is('large'))), type: ButtonType.BUTTON },
|
|
92
|
+
React.createElement("span", { className: hashClass(styled, clsx('sr-only')) }, translation.accessibilityLabelButtonClose))),
|
|
93
|
+
React.createElement(Title, { id: modalGeneratedId, level: TitleLevels.THREE, markup: TitleMarkup.H1 }, title)),
|
|
94
|
+
children && children))));
|
|
95
|
+
});
|
|
96
|
+
Modal.displayName = ComponentName.Modal;
|
|
97
|
+
export default Modal;
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTW9kYWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL21vZGFsL01vZGFs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9BQU8sRUFBRSxVQUFDLENBQW1COzRCQUMzQixXQUFXLENBQUMsT0FBTyxFQUFFLENBQUMsQ0FBQyxDQUFBO3dCQUN6QixDQUFDLEVBQ0QsU0FBUyxFQUFFLFNBQVMsQ0FBQyxNQUFNLEVBQUUsSUFBSSxDQUFDLGFBQWEsRUFBRSxFQUFFLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUM5RCxJQUFJLEVBQUUsVUFBVSxDQUFDLE1BQU07d0JBRXZCLDhCQUFNLFNBQVMsRUFBRSxTQUFTLENBQUMsTUFBTSxFQUFFLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxJQUNoRCxXQUFXLENBQUMsNkJBQTZCLENBQ3JDLENBQ0EsQ0FDVjtvQkFDRCxvQkFBQyxLQUFLLElBQUMsRUFBRSxFQUFFLGdCQUFnQixFQUFFLEtBQUssRUFBRSxXQUFXLENBQUMsS0FBSyxFQUFFLE1BQU0sRUFBRSxXQUFXLENBQUMsRUFBRSxJQUMxRSxLQUFLLENBQ0EsQ0FDSjtnQkFDTCxRQUFRLElBQUksUUFBUSxDQUNqQixDQUNGLENBQ0YsQ0FDUCxDQUFBO0FBQ0gsQ0FBQyxDQUNGLENBQUE7QUFFRCxLQUFLLENBQUMsV0FBVyxHQUFHLGFBQWEsQ0FBQyxLQUFLLENBQUE7QUFFdkMsZUFBZSxLQUFLLENBQUEifQ==
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { ModalProps } from './ModalProps';
|
|
4
|
+
/**
|
|
5
|
+
* Modal Component
|
|
6
|
+
* @param active {boolean} Activated Modal
|
|
7
|
+
* @param title {string} Title Modal
|
|
8
|
+
* @param onClose {Function} Additional close custom function
|
|
9
|
+
* @param onOpen {Function} Additional open custom function
|
|
10
|
+
* @param children {React.ReactNode}
|
|
11
|
+
* @param onModalHide {Function} Callback on Hide
|
|
12
|
+
* @param unClosable {boolean} unClosable Native Modal
|
|
13
|
+
*/
|
|
14
|
+
declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<View>>;
|
|
15
|
+
export default Modal;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { __assign, __read, __rest } from "tslib";
|
|
2
|
+
import { ComponentName } from '../../components/enumsComponentsName';
|
|
3
|
+
import { isAndroid } from '../../helpers/device.native';
|
|
4
|
+
import { Alignable, getColorStyle, TrilogyColor } from '../../objects';
|
|
5
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
6
|
+
import { Dimensions, StyleSheet, TouchableOpacity, View, } from 'react-native';
|
|
7
|
+
import ModalRN from 'react-native-modal';
|
|
8
|
+
import { Column, Columns } from '../columns';
|
|
9
|
+
import { Icon, IconName, IconSize } from '../icon';
|
|
10
|
+
import { Title } from '../title';
|
|
11
|
+
import { ModalContext } from './context/ModalContext';
|
|
12
|
+
/**
|
|
13
|
+
* Modal Component
|
|
14
|
+
* @param active {boolean} Activated Modal
|
|
15
|
+
* @param title {string} Title Modal
|
|
16
|
+
* @param onClose {Function} Additional close custom function
|
|
17
|
+
* @param onOpen {Function} Additional open custom function
|
|
18
|
+
* @param children {React.ReactNode}
|
|
19
|
+
* @param onModalHide {Function} Callback on Hide
|
|
20
|
+
* @param unClosable {boolean} unClosable Native Modal
|
|
21
|
+
*/
|
|
22
|
+
var Modal = React.forwardRef(function (_a, ref) {
|
|
23
|
+
var children = _a.children, _b = _a.active, active = _b === void 0 ? false : _b, onClose = _a.onClose, onModalHide = _a.onModalHide, _c = _a.hideCloseButton, hideCloseButton = _c === void 0 ? false : _c, _d = _a.unClosable, unClosable = _d === void 0 ? false : _d, trigger = _a.trigger, title = _a.title, others = __rest(_a, ["children", "active", "onClose", "onModalHide", "hideCloseButton", "unClosable", "trigger", "title"]);
|
|
24
|
+
var scrollViewRef = useRef(null);
|
|
25
|
+
var _e = __read(useState(0), 2), scrollOffset = _e[0], setScrollOffset = _e[1];
|
|
26
|
+
var _f = __read(useState(active || false), 2), visible = _f[0], setVisible = _f[1];
|
|
27
|
+
var _g = __read(useState(active || false), 2), isFooter = _g[0], setIsFooter = _g[1];
|
|
28
|
+
var handleOnScroll = function (event) {
|
|
29
|
+
setScrollOffset(event.nativeEvent.contentOffset.y);
|
|
30
|
+
};
|
|
31
|
+
var handleScrollTo = function (p) {
|
|
32
|
+
if (scrollViewRef.current)
|
|
33
|
+
scrollViewRef.current.scrollTo(p);
|
|
34
|
+
};
|
|
35
|
+
var handleClose = function (e) {
|
|
36
|
+
if (onClose)
|
|
37
|
+
onClose(e);
|
|
38
|
+
setVisible(false);
|
|
39
|
+
};
|
|
40
|
+
useEffect(function () {
|
|
41
|
+
setVisible(active);
|
|
42
|
+
}, [active]);
|
|
43
|
+
return (React.createElement(ModalContext.Provider, { value: { scrollViewRef: scrollViewRef, handleOnScroll: handleOnScroll, isFooter: isFooter, setIsFooter: setIsFooter } },
|
|
44
|
+
trigger,
|
|
45
|
+
React.createElement(ModalRN, __assign({ isVisible: visible, onBackdropPress: unClosable ? undefined : function () { return handleClose({}); }, onSwipeComplete: unClosable ? undefined : handleClose, swipeDirection: unClosable ? undefined : ['down'], scrollTo: handleScrollTo, scrollOffset: scrollOffset, scrollOffsetMax: 100, propagateSwipe: true, style: [styles.modal], onModalHide: onModalHide }, others),
|
|
46
|
+
React.createElement(View, { ref: ref, style: [styles.body, { backgroundColor: getColorStyle(TrilogyColor.BACKGROUND) }] },
|
|
47
|
+
React.createElement(View, { style: { paddingVertical: !title && (hideCloseButton || unClosable) ? 8 : 16 } },
|
|
48
|
+
React.createElement(Columns, { verticalAlign: Alignable.ALIGNED_CENTER },
|
|
49
|
+
React.createElement(Column, null,
|
|
50
|
+
React.createElement(Title, { level: 4 }, title)),
|
|
51
|
+
!hideCloseButton && !unClosable && (React.createElement(Column, { narrow: true },
|
|
52
|
+
React.createElement(TouchableOpacity, { onPress: handleClose },
|
|
53
|
+
React.createElement(Icon, { name: IconName.TIMES, size: IconSize.MEDIUM, color: TrilogyColor.MAIN })))))),
|
|
54
|
+
children))));
|
|
55
|
+
});
|
|
56
|
+
Modal.displayName = ComponentName.Modal;
|
|
57
|
+
export default Modal;
|
|
58
|
+
var styles = StyleSheet.create({
|
|
59
|
+
modal: {
|
|
60
|
+
justifyContent: 'flex-end',
|
|
61
|
+
margin: 0,
|
|
62
|
+
},
|
|
63
|
+
body: {
|
|
64
|
+
paddingHorizontal: 16,
|
|
65
|
+
maxHeight: isAndroid ? Dimensions.get('screen').height / 1.15 : Dimensions.get('screen').height / 1.1,
|
|
66
|
+
shadowColor: '#000',
|
|
67
|
+
shadowOffset: {
|
|
68
|
+
width: 0,
|
|
69
|
+
height: 2,
|
|
70
|
+
},
|
|
71
|
+
shadowOpacity: 0.25,
|
|
72
|
+
shadowRadius: 3.84,
|
|
73
|
+
elevation: 5,
|
|
74
|
+
borderTopLeftRadius: 6,
|
|
75
|
+
borderTopRightRadius: 6,
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTW9kYWwubmF0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vY29tcG9uZW50cy9tb2RhbC9Nb2RhbC5uYXRpdmUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFDaEUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLHlCQUF5QixDQUFBO0FBQ25ELE9BQU8sRUFBRSxTQUFTLEVBQUUsYUFBYSxFQUFFLFlBQVksRUFBRSxNQUFNLFdBQVcsQ0FBQTtBQUNsRSxPQUFPLEtBQUssRUFBRSxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLE1BQU0sT0FBTyxDQUFBO0FBQzFELE9BQU8sRUFDTCxVQUFV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