@trilogy-ds/react 0.0.5-beta-v4 → 0.0.6-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/lib/components/accordion/Accordion.d.ts +3 -3
- package/lib/components/accordion/Accordion.js +8 -6
- package/lib/components/accordion/Accordion.native.d.ts +4 -7
- package/lib/components/accordion/Accordion.native.js +8 -8
- package/lib/components/accordion/AccordionProps.d.ts +3 -0
- package/lib/components/accordion/item/AccordionItem.d.ts +4 -4
- package/lib/components/accordion/item/AccordionItem.js +24 -11
- package/lib/components/accordion/item/AccordionItem.native.d.ts +4 -7
- package/lib/components/accordion/item/AccordionItem.native.js +33 -36
- package/lib/components/accordion/item/AccordionItemProps.d.ts +3 -0
- package/lib/components/accordion/item/body/AccordionBody.d.ts +2 -2
- package/lib/components/accordion/item/body/AccordionBody.js +12 -8
- package/lib/components/accordion/item/body/AccordionBody.native.d.ts +4 -7
- package/lib/components/accordion/item/body/AccordionBody.native.js +7 -7
- package/lib/components/accordion/item/body/AccordionBodyProps.d.ts +4 -1
- package/lib/components/accordion/item/header/AccordionHeader.d.ts +2 -2
- package/lib/components/accordion/item/header/AccordionHeader.js +10 -8
- package/lib/components/accordion/item/header/AccordionHeader.native.d.ts +4 -7
- package/lib/components/accordion/item/header/AccordionHeader.native.js +10 -10
- package/lib/components/accordion/item/header/AccordionHeaderProps.d.ts +3 -0
- package/lib/components/alert/Alert.d.ts +7 -3
- package/lib/components/alert/Alert.js +71 -60
- package/lib/components/alert/Alert.native.d.ts +1 -5
- package/lib/components/alert/Alert.native.js +29 -40
- package/lib/components/alert/AlertEnum.d.ts +9 -0
- package/lib/components/alert/AlertEnum.js +10 -0
- package/lib/components/alert/AlertProps.d.ts +15 -2
- package/lib/components/alert/AlertProps.js +6 -1
- package/lib/components/alert/AlertPropsDefaults.js +27 -1
- package/lib/components/alert/ToasterStatusPropsDefaults.js +35 -1
- package/lib/components/alert/context/ToastPropsDefaults.js +27 -1
- package/lib/components/alert/context/ToasterContextProps.d.ts +4 -2
- package/lib/components/autocomplete/AutoComplete.d.ts +34 -3
- package/lib/components/autocomplete/AutoComplete.js +49 -45
- package/lib/components/autocomplete/AutoComplete.native.d.ts +5 -3
- package/lib/components/autocomplete/AutoComplete.native.js +12 -9
- package/lib/components/autocomplete/AutoCompleteProps.d.ts +4 -4
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +86 -60
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +86 -60
- package/lib/components/autocomplete/Autocomplete.helpers.js +7 -4
- package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +1 -1
- package/lib/components/autocomplete/item/AutoCompleteItem.js +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +1 -1
- package/lib/components/autolayout/AutoLayout.helpers.js +7 -5
- package/lib/components/autolayout/DefaultSpacingMatrix.js +4 -3
- package/lib/components/badge/Badge.d.ts +4 -4
- package/lib/components/badge/Badge.js +16 -12
- package/lib/components/badge/Badge.native.d.ts +13 -9
- package/lib/components/badge/Badge.native.js +87 -15
- package/lib/components/badge/BadgeProps.d.ts +17 -7
- package/lib/components/badge/BadgeProps.js +10 -2
- package/lib/components/badge/BadgePropsDefaults.js +18 -12
- package/lib/components/badge/index.d.ts +1 -0
- package/lib/components/badge/index.js +2 -1
- package/lib/components/box/Box.d.ts +4 -3
- package/lib/components/box/Box.js +17 -19
- package/lib/components/box/Box.native.d.ts +3 -7
- package/lib/components/box/Box.native.js +43 -58
- package/lib/components/box/BoxProps.d.ts +8 -1
- package/lib/components/box/BoxPropsDefaults.js +22 -2
- package/lib/components/box/content/BoxContent.d.ts +4 -3
- package/lib/components/box/content/BoxContent.js +18 -11
- package/lib/components/box/content/BoxContent.native.d.ts +5 -7
- package/lib/components/box/content/BoxContent.native.js +20 -11
- package/lib/components/box/content/BoxContentProps.d.ts +5 -1
- package/lib/components/box/content/BoxContentPropsDefaults.js +7 -1
- 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 +3 -4
- package/lib/components/box/footer/BoxFooter.js +11 -10
- package/lib/components/box/footer/BoxFooter.native.d.ts +4 -7
- package/lib/components/box/footer/BoxFooter.native.js +10 -12
- package/lib/components/box/footer/BoxFooterProps.d.ts +6 -1
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +7 -1
- package/lib/components/box/header/BoxHeader.d.ts +5 -4
- package/lib/components/box/header/BoxHeader.js +15 -11
- package/lib/components/box/header/BoxHeader.native.d.ts +4 -12
- package/lib/components/box/header/BoxHeader.native.js +8 -13
- package/lib/components/box/header/BoxHeaderProps.d.ts +6 -1
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +29 -3
- package/lib/components/box/item/BoxItem.d.ts +3 -3
- package/lib/components/box/item/BoxItem.js +10 -8
- package/lib/components/box/item/BoxItem.native.d.ts +4 -7
- package/lib/components/box/item/BoxItem.native.js +10 -10
- package/lib/components/box/item/BoxItemProps.d.ts +4 -1
- package/lib/components/box/table-container/BoxTableContainer.d.ts +4 -4
- package/lib/components/box/table-container/BoxTableContainer.js +11 -9
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +4 -7
- package/lib/components/box/table-container/BoxTableContainer.native.js +8 -8
- package/lib/components/box/table-container/BoxTableContainerProps.d.ts +3 -0
- package/lib/components/breadcrumb/Breadcrumb.d.ts +2 -2
- package/lib/components/breadcrumb/Breadcrumb.js +12 -9
- package/lib/components/breadcrumb/Breadcrumb.native.d.ts +4 -7
- package/lib/components/breadcrumb/Breadcrumb.native.js +11 -11
- package/lib/components/breadcrumb/BreadcrumbProps.d.ts +5 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +3 -3
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +13 -14
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +4 -7
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +12 -11
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.ts +6 -1
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +9 -9
- package/lib/components/button/Button.d.ts +4 -4
- package/lib/components/button/Button.js +24 -23
- package/lib/components/button/Button.native.d.ts +4 -7
- package/lib/components/button/Button.native.js +92 -133
- package/lib/components/button/ButtonProps.d.ts +8 -3
- package/lib/components/button/ButtonPropsDefaults.js +20 -12
- package/lib/components/button/list/ButtonList.d.ts +6 -2
- package/lib/components/button/list/ButtonList.js +17 -10
- package/lib/components/button/list/ButtonList.native.d.ts +4 -7
- package/lib/components/button/list/ButtonList.native.js +7 -7
- package/lib/components/button/list/ButtonListProps.d.ts +7 -4
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +11 -1
- package/lib/components/button/list/index.d.ts +1 -0
- package/lib/components/button/list/index.js +2 -1
- 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 +3 -4
- package/lib/components/card/Card.js +12 -11
- package/lib/components/card/Card.native.d.ts +3 -7
- package/lib/components/card/Card.native.js +26 -28
- package/lib/components/card/CardProps.d.ts +6 -1
- package/lib/components/card/content/CardContent.d.ts +3 -3
- package/lib/components/card/content/CardContent.js +10 -8
- package/lib/components/card/content/CardContent.native.d.ts +3 -14
- package/lib/components/card/content/CardContent.native.js +7 -55
- package/lib/components/card/content/CardContentProps.d.ts +4 -1
- package/lib/components/card/image/CardImage.d.ts +3 -3
- package/lib/components/card/image/CardImage.js +12 -10
- package/lib/components/card/image/CardImage.native.d.ts +3 -6
- package/lib/components/card/image/CardImage.native.js +16 -15
- package/lib/components/card/image/CardImageProps.d.ts +4 -1
- package/lib/components/checkbox/Checkbox.d.ts +6 -4
- package/lib/components/checkbox/Checkbox.js +27 -13
- package/lib/components/checkbox/Checkbox.native.d.ts +3 -6
- package/lib/components/checkbox/Checkbox.native.js +15 -109
- package/lib/components/checkbox/{CheckboxPropsDefaults.js → CheckboxCommonPropsDefaults.js} +8 -7
- package/lib/components/checkbox/CheckboxProps.d.ts +18 -4
- package/lib/components/checkbox/CheckboxWithChildrenDefaults.js +94 -0
- package/lib/components/checkbox/CheckboxWithLabelDefaults.js +84 -0
- package/lib/components/checkbox/index.d.ts +4 -2
- package/lib/components/checkbox/index.js +5 -3
- 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 +7 -5
- package/lib/components/checkbox/tiles/CheckboxTiles.js +19 -13
- 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 +5 -1
- package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +29 -2
- package/lib/components/checkbox/tiles/tile/CheckboxTile.d.ts +17 -5
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +33 -17
- 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 +7 -1
- package/lib/components/checkbox/tiles/tile/CheckboxTilePropsDefaults.js +18 -50
- package/lib/components/chips/Chips.d.ts +4 -4
- package/lib/components/chips/Chips.js +13 -11
- package/lib/components/chips/Chips.native.d.ts +4 -7
- package/lib/components/chips/Chips.native.js +15 -15
- package/lib/components/chips/ChipsProps.d.ts +6 -1
- package/lib/components/chips/list/ChipsList.d.ts +1 -1
- package/lib/components/chips/list/ChipsList.js +11 -9
- package/lib/components/chips/list/ChipsList.native.d.ts +2 -6
- package/lib/components/chips/list/ChipsList.native.js +5 -5
- package/lib/components/chips/list/ChipsListProps.d.ts +4 -0
- package/lib/components/chips/list/ChipsListPropsDefaults.js +7 -0
- package/lib/components/columns/Columns.d.ts +4 -4
- package/lib/components/columns/Columns.js +15 -12
- package/lib/components/columns/Columns.native.d.ts +3 -9
- package/lib/components/columns/Columns.native.js +44 -67
- package/lib/components/columns/ColumnsProps.d.ts +6 -2
- package/lib/components/columns/ColumnsPropsDefaults.js +30 -2
- package/lib/components/columns/column/Column.d.ts +4 -4
- package/lib/components/columns/column/Column.js +12 -10
- package/lib/components/columns/column/Column.native.d.ts +8 -11
- package/lib/components/columns/column/Column.native.js +31 -25
- package/lib/components/columns/column/ColumnProps.d.ts +4 -1
- package/lib/components/columns/column/ColumnPropsDefaults.js +36 -16
- package/lib/components/columns/column/index.d.ts +1 -1
- package/lib/components/columns/column/index.js +2 -2
- package/lib/components/columns/context/index.d.ts +8 -0
- package/lib/components/columns/context/index.js +9 -0
- package/lib/components/container/Container.d.ts +2 -3
- package/lib/components/container/Container.js +2 -2
- package/lib/components/container/Container.native.d.ts +1 -1
- package/lib/components/container/Container.native.js +3 -3
- package/lib/components/container/ContainerProps.d.ts +3 -0
- package/lib/components/countdown/Countdown.d.ts +3 -3
- package/lib/components/countdown/Countdown.js +11 -9
- package/lib/components/countdown/Countdown.native.d.ts +3 -6
- package/lib/components/countdown/Countdown.native.js +8 -8
- package/lib/components/countdown/CountdownProps.d.ts +4 -1
- 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 +4 -4
- package/lib/components/divider/Divider.js +16 -27
- package/lib/components/divider/Divider.native.d.ts +4 -7
- package/lib/components/divider/Divider.native.js +24 -24
- package/lib/components/divider/DividerProps.d.ts +3 -0
- package/lib/components/divider/DividerPropsDefaults.js +9 -1
- 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/enumsComponentsName.d.ts +30 -3
- package/lib/components/enumsComponentsName.js +30 -3
- package/lib/components/fab/Fab.d.ts +2 -2
- package/lib/components/fab/Fab.js +6 -4
- package/lib/components/fab/Fab.native.d.ts +3 -6
- package/lib/components/fab/Fab.native.js +4 -4
- package/lib/components/fab/FabProps.d.ts +3 -1
- package/lib/components/fab/FabPropsDefaults.js +9 -1
- 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 +2 -3
- package/lib/components/hero/Hero.js +2 -2
- package/lib/components/hero/Hero.native.js +11 -7
- package/lib/components/hero/HeroProps.d.ts +5 -0
- package/lib/components/hero/HeroPropsDefaults.js +17 -1
- package/lib/components/icon/Icon.d.ts +3 -3
- package/lib/components/icon/Icon.js +16 -13
- package/lib/components/icon/Icon.native.d.ts +4 -7
- package/lib/components/icon/Icon.native.js +35 -25
- package/lib/components/icon/IconNameEnum.d.ts +5 -1
- package/lib/components/icon/IconNameEnum.js +5 -1
- package/lib/components/icon/IconProps.d.ts +6 -3
- package/lib/components/icon/IconPropsDefaults.js +16 -26
- package/lib/components/image/Image.d.ts +8 -4
- package/lib/components/image/Image.js +17 -11
- package/lib/components/image/Image.native.d.ts +8 -8
- package/lib/components/image/Image.native.js +38 -14
- package/lib/components/image/ImageProps.d.ts +5 -1
- package/lib/components/image/ImagePropsDefaults.js +31 -2
- package/lib/components/index.d.ts +5 -0
- package/lib/components/index.js +6 -1
- package/lib/components/input/ISecurityRulesDefaults.js +23 -0
- package/lib/components/input/Input.d.ts +46 -3
- package/lib/components/input/Input.js +51 -39
- package/lib/components/input/Input.native.d.ts +4 -6
- package/lib/components/input/Input.native.js +61 -122
- package/lib/components/input/InputChangeEventWebDefaults.js +7 -0
- package/lib/components/input/InputEnum.d.ts +2 -1
- package/lib/components/input/InputEnum.js +1 -1
- package/lib/components/input/InputProps.d.ts +19 -4
- package/lib/components/input/InputPropsDefaults.js +86 -8
- package/lib/components/input/gauge/InputGauge.d.ts +4 -2
- package/lib/components/input/gauge/InputGauge.js +15 -13
- package/lib/components/input/gauge/InputGauge.native.d.ts +3 -2
- package/lib/components/input/gauge/InputGauge.native.js +27 -17
- package/lib/components/input/gauge/hook/useGauge.d.ts +11 -3
- package/lib/components/input/gauge/hook/useGauge.js +39 -15
- package/lib/components/link/Link.d.ts +5 -4
- package/lib/components/link/Link.js +14 -11
- package/lib/components/link/Link.native.d.ts +4 -8
- package/lib/components/link/Link.native.js +17 -65
- package/lib/components/link/LinkDefaults.js +349 -0
- package/lib/components/link/LinkProps.d.ts +13 -2
- package/lib/components/link/LinkPropsDefaults.js +101 -10
- package/lib/components/link/LinkPropsNativeDefaults.js +420 -0
- package/lib/components/list/List.d.ts +6 -5
- package/lib/components/list/List.js +16 -12
- package/lib/components/list/List.native.d.ts +6 -7
- package/lib/components/list/List.native.js +14 -9
- package/lib/components/list/ListProps.d.ts +4 -0
- package/lib/components/list/ListPropsDefaults.js +8 -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/item/ListItem.d.ts +4 -4
- package/lib/components/list/item/ListItem.js +8 -6
- package/lib/components/list/item/ListItem.native.d.ts +5 -8
- package/lib/components/list/item/ListItem.native.js +35 -56
- package/lib/components/list/item/ListItemProps.d.ts +6 -2
- package/lib/components/list/item/ListItemProps.js +3 -1
- package/lib/components/list/item/ListItemPropsDefaults.js +13 -1
- package/lib/components/list/item/description/ListItemDescription.d.ts +3 -3
- package/lib/components/list/item/description/ListItemDescription.js +7 -5
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +2 -6
- package/lib/components/list/item/description/ListItemDescription.native.js +4 -4
- package/lib/components/list/item/description/ListItemDescriptionProps.d.ts +3 -0
- package/lib/components/modal/Modal.d.ts +5 -6
- package/lib/components/modal/Modal.js +71 -73
- package/lib/components/modal/Modal.native.d.ts +5 -8
- package/lib/components/modal/Modal.native.js +62 -119
- package/lib/components/modal/ModalProps.d.ts +6 -3
- package/lib/components/modal/ModalPropsDefaults.js +4 -1
- package/lib/components/modal/body/ModalBody.d.ts +3 -3
- package/lib/components/modal/body/ModalBody.js +7 -5
- package/lib/components/modal/body/ModalBody.native.d.ts +3 -6
- package/lib/components/modal/body/ModalBody.native.js +17 -13
- package/lib/components/modal/body/ModalBodyProps.d.ts +3 -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 +3 -3
- package/lib/components/modal/footer/ModalFooter.js +9 -7
- package/lib/components/modal/footer/ModalFooter.native.d.ts +4 -7
- package/lib/components/modal/footer/ModalFooter.native.js +27 -15
- package/lib/components/modal/footer/ModalFooterProps.d.ts +3 -0
- package/lib/components/otp/Otp.d.ts +3 -3
- package/lib/components/otp/Otp.js +16 -10
- package/lib/components/otp/Otp.native.d.ts +4 -7
- package/lib/components/otp/Otp.native.js +46 -47
- package/lib/components/otp/OtpProps.d.ts +3 -0
- package/lib/components/pagination/Pagination.d.ts +4 -5
- package/lib/components/pagination/Pagination.js +11 -7
- package/lib/components/pagination/Pagination.native.d.ts +4 -7
- package/lib/components/pagination/Pagination.native.js +5 -5
- package/lib/components/pagination/PaginationProps.d.ts +3 -1
- package/lib/components/pagination/PaginationPropsDefaults.js +0 -7
- package/lib/components/popover/Popover.d.ts +8 -6
- package/lib/components/popover/Popover.js +17 -13
- package/lib/components/popover/Popover.native.d.ts +3 -6
- package/lib/components/popover/Popover.native.js +6 -6
- package/lib/components/popover/PopoverProps.d.ts +3 -0
- package/lib/components/price/Price.d.ts +3 -3
- package/lib/components/price/Price.js +18 -15
- package/lib/components/price/Price.native.d.ts +3 -6
- package/lib/components/price/Price.native.js +17 -16
- package/lib/components/price/PriceProps.d.ts +3 -0
- package/lib/components/price/PricePropsDefaults.js +22 -2
- package/lib/components/product-tour/ProductTour.d.ts +3 -3
- package/lib/components/product-tour/ProductTour.js +7 -5
- package/lib/components/product-tour/ProductTour.native.d.ts +3 -6
- package/lib/components/product-tour/ProductTour.native.js +4 -4
- package/lib/components/product-tour/ProductTourProps.d.ts +3 -0
- package/lib/components/product-tour/ProductTourProps.js +1 -1
- package/lib/components/progress/Progress.d.ts +2 -2
- package/lib/components/progress/Progress.js +16 -10
- package/lib/components/progress/Progress.native.d.ts +5 -7
- package/lib/components/progress/Progress.native.js +44 -22
- package/lib/components/progress/ProgressProps.d.ts +6 -0
- package/lib/components/progress/ProgressPropsDefaults.js +22 -0
- package/lib/components/progress/index.d.ts +2 -1
- package/lib/components/progress/index.js +3 -2
- 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 +3 -3
- package/lib/components/progress/radial/ProgressRadial.js +8 -6
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +3 -6
- package/lib/components/progress/radial/ProgressRadial.native.js +14 -17
- package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -0
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +36 -4
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +3 -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 +29 -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 +22 -0
- package/lib/components/prompt/context/index.js +40 -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 +26 -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 +78 -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 +3 -0
- package/lib/components/prompt/files/file/index.js +4 -0
- package/lib/components/prompt/files/index.d.ts +3 -0
- package/lib/components/prompt/files/index.js +4 -0
- package/lib/components/prompt/index.d.ts +14 -0
- package/lib/components/prompt/index.js +15 -0
- package/lib/components/prompt/textarea/PromptTextarea.d.ts +4 -0
- package/lib/components/prompt/textarea/PromptTextarea.js +32 -0
- package/lib/components/prompt/textarea/PromptTextarea.native.d.ts +5 -0
- package/lib/components/prompt/textarea/PromptTextarea.native.js +44 -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 +18 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.js +32 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.d.ts +11 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.js +2 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophonePropsDefaults.js +53 -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 +43 -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 +17 -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 +18 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonPropsDefaults.js +145 -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 +7 -6
- package/lib/components/radio/Radio.js +25 -20
- package/lib/components/radio/Radio.native.d.ts +8 -18
- package/lib/components/radio/Radio.native.js +26 -146
- package/lib/components/radio/RadioNativePropsDefaults.js +9 -0
- package/lib/components/radio/RadioProps.d.ts +12 -2
- package/lib/components/radio/RadioPropsDefaults.js +8 -0
- package/lib/components/radio/list/RadioList.d.ts +8 -7
- package/lib/components/radio/list/RadioList.js +27 -14
- package/lib/components/radio/list/RadioList.native.d.ts +3 -6
- package/lib/components/radio/list/RadioList.native.js +22 -7
- package/lib/components/radio/list/RadioListProps.d.ts +7 -2
- package/lib/components/radio/list/RadioListPropsDefaults.js +7 -0
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +25 -1
- package/lib/components/radio/tiles/RadioTiles.d.ts +10 -6
- package/lib/components/radio/tiles/RadioTiles.js +19 -11
- 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 +4 -0
- package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +29 -2
- package/lib/components/radio/tiles/tile/RadioTile.d.ts +19 -6
- package/lib/components/radio/tiles/tile/RadioTile.js +43 -24
- 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 +13 -2
- package/lib/components/radio/tiles/tile/RadioTilePropsCommonDefaults.js +103 -0
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +99 -64
- package/lib/components/range/Range.d.ts +13 -2
- package/lib/components/range/Range.js +45 -21
- package/lib/components/range/Range.native.d.ts +7 -9
- package/lib/components/range/Range.native.js +16 -15
- package/lib/components/range/RangeNativePropsDefaults.js +9 -0
- package/lib/components/range/RangeProps.d.ts +10 -2
- package/lib/components/range/RangePropsDefaults.js +15 -0
- package/lib/components/rows/Rows.d.ts +2 -2
- package/lib/components/rows/Rows.js +7 -5
- package/lib/components/rows/Rows.native.d.ts +3 -6
- package/lib/components/rows/Rows.native.js +4 -4
- package/lib/components/rows/RowsProps.d.ts +3 -0
- package/lib/components/rows/row/Row.d.ts +2 -2
- package/lib/components/rows/row/Row.js +7 -5
- package/lib/components/rows/row/Row.native.d.ts +3 -6
- package/lib/components/rows/row/Row.native.js +5 -5
- package/lib/components/rows/row/RowProps.d.ts +3 -0
- package/lib/components/scroll-view/ScrollView.d.ts +1 -1
- package/lib/components/scroll-view/ScrollView.js +4 -3
- package/lib/components/scroll-view/ScrollView.native.d.ts +3 -3
- package/lib/components/scroll-view/ScrollView.native.js +13 -12
- package/lib/components/scroll-view/ScrollViewProps.d.ts +3 -0
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +7 -1
- package/lib/components/section/Section.d.ts +2 -2
- package/lib/components/section/Section.js +7 -5
- package/lib/components/section/Section.native.d.ts +3 -6
- package/lib/components/section/Section.native.js +16 -19
- package/lib/components/section/SectionProps.d.ts +8 -0
- package/lib/components/section/SectionPropsDefaults.js +14 -1
- package/lib/components/segment-control/SegmentControl.d.ts +3 -3
- package/lib/components/segment-control/SegmentControl.js +9 -7
- package/lib/components/segment-control/SegmentControl.native.d.ts +2 -6
- package/lib/components/segment-control/SegmentControl.native.js +11 -9
- package/lib/components/segment-control/SegmentControlProps.d.ts +5 -2
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +11 -1
- package/lib/components/segment-control/item/SegmentControlItem.d.ts +3 -3
- package/lib/components/segment-control/item/SegmentControlItem.js +12 -10
- package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +3 -6
- package/lib/components/segment-control/item/SegmentControlItem.native.js +9 -9
- package/lib/components/segment-control/item/SegmentControlItemProps.d.ts +3 -0
- package/lib/components/select/PropsDefaults.js +177 -0
- package/lib/components/select/Select.d.ts +20 -5
- package/lib/components/select/Select.js +47 -10
- package/lib/components/select/Select.native.d.ts +3 -7
- package/lib/components/select/Select.native.js +12 -10
- package/lib/components/select/SelectChangeEventDefaults.js +4 -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 +24 -6
- package/lib/components/select/SelectPropsDefaults.js +51 -10
- package/lib/components/select/context/index.d.ts +13 -0
- package/lib/components/select/context/index.js +10 -0
- package/lib/components/select/option/SelectOption.d.ts +3 -3
- package/lib/components/select/option/SelectOption.js +47 -12
- package/lib/components/select/option/SelectOption.native.d.ts +3 -6
- package/lib/components/select/option/SelectOption.native.js +19 -21
- package/lib/components/select/option/SelectOptionProps.d.ts +3 -0
- package/lib/components/select/option/SelectOptionPropsDefaults.js +9 -1
- package/lib/components/select/web/SelectDynamic.d.ts +5 -3
- package/lib/components/select/web/SelectDynamic.js +68 -178
- package/lib/components/select/web/SelectNative.d.ts +3 -3
- package/lib/components/select/web/SelectNative.js +23 -10
- 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 +2 -2
- package/lib/components/spacer/Spacer.js +7 -5
- package/lib/components/spacer/Spacer.native.d.ts +3 -6
- package/lib/components/spacer/Spacer.native.js +4 -4
- package/lib/components/spacer/SpacerProps.d.ts +3 -0
- package/lib/components/stepper/Stepper.d.ts +2 -2
- package/lib/components/stepper/Stepper.js +8 -6
- package/lib/components/stepper/Stepper.native.d.ts +3 -6
- package/lib/components/stepper/Stepper.native.js +10 -8
- package/lib/components/stepper/StepperProps.d.ts +3 -0
- package/lib/components/stepper/step/Step.d.ts +2 -2
- package/lib/components/stepper/step/Step.js +7 -5
- package/lib/components/stepper/step/Step.native.d.ts +3 -7
- package/lib/components/stepper/step/Step.native.js +7 -10
- package/lib/components/stepper/step/StepProps.d.ts +3 -0
- package/lib/components/stepper/step/StepPropsDefaults.js +9 -1
- package/lib/components/sticker/Sticker.d.ts +4 -3
- package/lib/components/sticker/Sticker.js +13 -7
- package/lib/components/sticker/Sticker.native.d.ts +4 -6
- package/lib/components/sticker/Sticker.native.js +22 -13
- package/lib/components/sticker/StickerProps.d.ts +5 -2
- package/lib/components/sticker/StickerPropsDefaults.js +18 -3
- package/lib/components/sticker/index.d.ts +0 -1
- package/lib/components/sticker/index.js +1 -2
- package/lib/components/switch/Switch.d.ts +3 -3
- package/lib/components/switch/Switch.js +8 -7
- package/lib/components/switch/Switch.native.d.ts +4 -7
- package/lib/components/switch/Switch.native.js +13 -15
- package/lib/components/switch/SwitchProps.d.ts +3 -0
- package/lib/components/table/Table.d.ts +3 -3
- package/lib/components/table/Table.js +7 -5
- package/lib/components/table/Table.native.d.ts +3 -6
- package/lib/components/table/Table.native.js +4 -4
- package/lib/components/table/TableProps.d.ts +3 -0
- package/lib/components/table/TableProps.js +1 -1
- package/lib/components/table/body/TableBody.d.ts +3 -3
- package/lib/components/table/body/TableBody.js +7 -5
- package/lib/components/table/body/TableBody.native.d.ts +3 -6
- package/lib/components/table/body/TableBody.native.js +4 -4
- package/lib/components/table/body/TableBodyProps.d.ts +3 -0
- package/lib/components/table/body/TableBodyPropsDefaults.js +14 -2
- package/lib/components/table/head/TableHead.d.ts +3 -3
- package/lib/components/table/head/TableHead.js +7 -5
- package/lib/components/table/head/TableHead.native.d.ts +3 -6
- package/lib/components/table/head/TableHead.native.js +4 -4
- package/lib/components/table/head/TableHeadProps.d.ts +3 -0
- package/lib/components/table/head/TableHeadPropsDefaults.js +14 -2
- package/lib/components/table/td/TableTd.d.ts +3 -3
- package/lib/components/table/td/TableTd.js +7 -5
- package/lib/components/table/td/TableTd.native.d.ts +3 -6
- package/lib/components/table/td/TableTd.native.js +4 -4
- package/lib/components/table/td/TableTdProps.d.ts +3 -0
- package/lib/components/table/th/TableTh.d.ts +3 -3
- package/lib/components/table/th/TableTh.js +7 -5
- package/lib/components/table/th/TableTh.native.d.ts +2 -6
- package/lib/components/table/th/TableTh.native.js +4 -4
- package/lib/components/table/th/TableThProps.d.ts +3 -0
- package/lib/components/table/tr/TableTr.d.ts +3 -3
- package/lib/components/table/tr/TableTr.js +7 -5
- package/lib/components/table/tr/TableTr.native.d.ts +2 -6
- package/lib/components/table/tr/TableTr.native.js +5 -5
- package/lib/components/table/tr/TableTrProps.d.ts +3 -1
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +7 -1
- package/lib/components/tabs/Tabs.d.ts +7 -8
- package/lib/components/tabs/Tabs.js +28 -18
- 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 +4 -0
- package/lib/components/tabs/TabsPropsDefaults.js +30 -2
- package/lib/components/tabs/context/index.d.ts +11 -0
- package/lib/components/tabs/context/index.js +10 -0
- package/lib/components/tabs/tab-list/TabList.d.ts +2 -2
- package/lib/components/tabs/tab-list/TabList.js +75 -9
- 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 +5 -2
- package/lib/components/tabs/tab-list/TabListPropsDefaults.js +11 -1
- package/lib/components/tabs/tab-list/tab/Tab.d.ts +6 -5
- package/lib/components/tabs/tab-list/tab/Tab.js +37 -44
- 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 +3 -0
- package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +18 -10
- package/lib/components/tabs/tab-panels/TabPanels.d.ts +2 -2
- package/lib/components/tabs/tab-panels/TabPanels.js +14 -7
- 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 +3 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.d.ts +2 -2
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +13 -7
- 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 +3 -0
- package/lib/components/tag/Tag.d.ts +3 -3
- package/lib/components/tag/Tag.js +8 -6
- package/lib/components/tag/Tag.native.d.ts +3 -6
- package/lib/components/tag/Tag.native.js +10 -11
- package/lib/components/tag/TagProps.d.ts +3 -6
- package/lib/components/tag/TagPropsDefaults.js +5 -1
- package/lib/components/tag/list/TagList.d.ts +2 -2
- package/lib/components/tag/list/TagList.js +7 -5
- package/lib/components/tag/list/TagList.native.d.ts +3 -6
- package/lib/components/tag/list/TagList.native.js +5 -4
- package/lib/components/tag/list/TagListProps.d.ts +5 -2
- package/lib/components/tag/list/TagListPropsDefaults.js +11 -1
- package/lib/components/text/Text.d.ts +3 -4
- package/lib/components/text/Text.js +7 -6
- package/lib/components/text/Text.native.d.ts +3 -7
- package/lib/components/text/Text.native.js +14 -15
- package/lib/components/text/TextProps.d.ts +3 -0
- package/lib/components/textarea/Textarea.d.ts +5 -7
- package/lib/components/textarea/Textarea.js +35 -34
- package/lib/components/textarea/Textarea.native.d.ts +30 -2
- package/lib/components/textarea/Textarea.native.js +29 -57
- package/lib/components/textarea/TextareaProps.d.ts +4 -3
- package/lib/components/timeline/Timeline.d.ts +2 -2
- package/lib/components/timeline/Timeline.js +7 -5
- package/lib/components/timeline/Timeline.native.d.ts +2 -5
- package/lib/components/timeline/Timeline.native.js +4 -4
- package/lib/components/timeline/TimelineProps.d.ts +3 -0
- package/lib/components/timeline/content/TimelineContent.d.ts +6 -4
- package/lib/components/timeline/content/TimelineContent.js +15 -11
- package/lib/components/timeline/content/TimelineContent.native.d.ts +6 -10
- package/lib/components/timeline/content/TimelineContent.native.js +13 -14
- package/lib/components/timeline/content/TimelineContentProps.d.ts +3 -0
- package/lib/components/timeline/item/TimelineItem.d.ts +2 -2
- package/lib/components/timeline/item/TimelineItem.js +7 -5
- package/lib/components/timeline/item/TimelineItem.native.d.ts +3 -6
- package/lib/components/timeline/item/TimelineItem.native.js +6 -6
- package/lib/components/timeline/item/TimelineItemProps.d.ts +3 -0
- package/lib/components/timeline/marker/TimelineMarker.d.ts +4 -4
- package/lib/components/timeline/marker/TimelineMarker.js +8 -6
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +4 -7
- package/lib/components/timeline/marker/TimelineMarker.native.js +13 -11
- package/lib/components/timeline/marker/TimelineMarkerProps.d.ts +3 -0
- package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +9 -1
- package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +9 -1
- package/lib/components/title/Title.d.ts +4 -4
- package/lib/components/title/Title.js +7 -5
- package/lib/components/title/Title.native.d.ts +4 -7
- package/lib/components/title/Title.native.js +31 -42
- package/lib/components/title/TitleProps.d.ts +3 -0
- package/lib/components/title/TitlePropsDefaults.js +3 -3
- package/lib/components/view/View.d.ts +4 -4
- package/lib/components/view/View.js +6 -6
- package/lib/components/view/View.native.d.ts +2 -6
- package/lib/components/view/View.native.js +6 -6
- package/lib/components/view/ViewProps.d.ts +11 -2
- package/lib/components/view/ViewProps.js +8 -1
- package/lib/components/view/ViewPropsDefaults.js +62 -11
- package/lib/context/index.d.ts +1 -1
- package/lib/context/provider.d.ts +2 -1
- package/lib/context/provider.js +6 -4
- package/lib/context/providerStyled.js +5 -5
- package/lib/events/OnClickEvent.d.ts +1 -1
- package/lib/helpers/clickOutside.d.ts +1 -0
- package/lib/helpers/clickOutside.js +16 -0
- package/lib/helpers/device.d.ts +3 -0
- package/lib/helpers/device.js +5 -4
- package/lib/helpers/device.native.d.ts +19 -0
- package/lib/helpers/device.native.js +36 -0
- package/lib/helpers/hashClassesHelpers.d.ts +1 -1
- package/lib/helpers/hashClassesHelpers.js +5 -5
- package/lib/helpers/require.d.ts +2 -0
- package/lib/helpers/require.js +3 -0
- package/lib/objects/Typography/TypographyBold.js +2 -2
- package/lib/objects/Typography/TypographyColor.d.ts +1 -1
- package/lib/objects/Typography/TypographyColor.js +36 -38
- package/lib/objects/facets/Alignable.d.ts +18 -4
- package/lib/objects/facets/Alignable.js +28 -5
- package/lib/objects/facets/Color.d.ts +7 -4
- package/lib/objects/facets/Color.js +12 -2
- package/lib/objects/facets/Direction.d.ts +7 -0
- package/lib/objects/facets/Direction.js +8 -0
- package/lib/objects/facets/Justifiable.d.ts +24 -8
- package/lib/objects/facets/Justifiable.js +53 -19
- package/lib/objects/facets/Radius.d.ts +2 -0
- package/lib/objects/facets/Radius.js +14 -0
- package/lib/objects/facets/index.d.ts +1 -0
- package/lib/objects/facets/index.js +2 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -2
- package/lib/version.json +3 -0
- package/package.json +26 -7
- package/lib/components/sticker/StickerEnum.d.ts +0 -24
- package/lib/components/sticker/StickerEnum.js +0 -19
- package/lib/components/tag/TagClickEventDefaults.js +0 -1
- package/lib/hash.json +0 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
2
|
+
import { ComponentName } from '../../components/enumsComponentsName';
|
|
3
|
+
import { IconSize } from '../../components/icon/IconEnum';
|
|
4
|
+
import { StatesContext } from '../../context/providerStates';
|
|
5
|
+
import { TrilogyThemeContext } from '../../context/providerTheme.native';
|
|
6
|
+
import { isIOS } from '../../helpers/device.native';
|
|
7
7
|
import { getAlignStyle } from '../../objects/facets/Alignable';
|
|
8
8
|
import { getColorStyle, TrilogyColor } from '../../objects/facets/Color';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
9
|
+
import React, { useContext } from 'react';
|
|
10
|
+
import { StyleSheet, TouchableOpacity, View } from 'react-native';
|
|
11
|
+
import { Skeleton } from '../skeleton';
|
|
12
|
+
import { WithLocalSvg } from 'react-native-svg/css';
|
|
13
13
|
/**
|
|
14
14
|
* Icon Component
|
|
15
15
|
* @param size Size of Icon
|
|
@@ -27,11 +27,10 @@ import Text from '../../components/text/Text.native';
|
|
|
27
27
|
* @param align { Alignable | AlignableValues} align content
|
|
28
28
|
* @param skeleton {boolean} Icon Skeleton
|
|
29
29
|
*/
|
|
30
|
-
var Icon = function (_a) {
|
|
30
|
+
var Icon = React.forwardRef(function (_a, ref) {
|
|
31
31
|
var size = _a.size, name = _a.name, circled = _a.circled, stretched = _a.stretched, color = _a.color, backgroundColor = _a.backgroundColor, onClick = _a.onClick, align = _a.align, skeleton = _a.skeleton, testId = _a.testId, others = __rest(_a, ["size", "name", "circled", "stretched", "color", "backgroundColor", "onClick", "align", "skeleton", "testId"]);
|
|
32
32
|
var icons = useContext(TrilogyThemeContext).theme.icons;
|
|
33
33
|
var statesContext = useContext(StatesContext);
|
|
34
|
-
var content = '';
|
|
35
34
|
var style = {};
|
|
36
35
|
var defaultSize = (size === IconSize.HUGE && 66) ||
|
|
37
36
|
(size === IconSize.LARGE && 44) ||
|
|
@@ -42,6 +41,7 @@ var Icon = function (_a) {
|
|
|
42
41
|
var iconColor = (color && getColorStyle(color)) ||
|
|
43
42
|
(statesContext.inverted && getColorStyle(TrilogyColor.BACKGROUND)) ||
|
|
44
43
|
getColorStyle(TrilogyColor.MAIN);
|
|
44
|
+
var background = (backgroundColor && getColorStyle(backgroundColor)) || (circled && getColorStyle(TrilogyColor.MAIN)) || '';
|
|
45
45
|
var iconSkeletonRadius = (size === IconSize.HUGE && 50) ||
|
|
46
46
|
(size === IconSize.LARGE && 35) ||
|
|
47
47
|
(size === IconSize.MEDIUM && 25) ||
|
|
@@ -64,7 +64,13 @@ var Icon = function (_a) {
|
|
|
64
64
|
alignItems: 'center',
|
|
65
65
|
},
|
|
66
66
|
icon: {
|
|
67
|
-
transform:
|
|
67
|
+
transform: isIOS ? (stretched && [{ skewX: '20deg' }]) || [{ skewX: '0deg' }] : [],
|
|
68
|
+
},
|
|
69
|
+
iconContainer: {
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
justifyContent: 'center',
|
|
72
|
+
width: defaultSize,
|
|
73
|
+
height: defaultSize
|
|
68
74
|
},
|
|
69
75
|
stretched: {
|
|
70
76
|
justifyContent: 'center',
|
|
@@ -73,7 +79,7 @@ var Icon = function (_a) {
|
|
|
73
79
|
height: circledWidth,
|
|
74
80
|
backgroundColor: iconColor,
|
|
75
81
|
borderTopRightRadius: 10,
|
|
76
|
-
transform:
|
|
82
|
+
transform: isIOS ? (stretched && [{ skewX: '-20deg' }]) || [{ skewX: '0deg' }] : [],
|
|
77
83
|
},
|
|
78
84
|
skeleton: {
|
|
79
85
|
width: circledWidth,
|
|
@@ -82,13 +88,16 @@ var Icon = function (_a) {
|
|
|
82
88
|
backgroundColor: getColorStyle(TrilogyColor.NEUTRAL_FADE),
|
|
83
89
|
overflow: 'hidden',
|
|
84
90
|
},
|
|
91
|
+
circled: {
|
|
92
|
+
width: circledWidth,
|
|
93
|
+
height: circledWidth,
|
|
94
|
+
borderRadius: circledWidth,
|
|
95
|
+
backgroundColor: background,
|
|
96
|
+
alignItems: 'center',
|
|
97
|
+
justifyContent: 'center',
|
|
98
|
+
},
|
|
85
99
|
});
|
|
86
|
-
var IconSkeleton = function () { return (React.createElement(
|
|
87
|
-
React.createElement(View, { style: { opacity: 0 } }),
|
|
88
|
-
Platform.OS === 'android' && (React.createElement(View, null, (size === IconSize.HUGE && React.createElement(Circle, { cx: '50', cy: '50', r: '50' })) ||
|
|
89
|
-
(size === IconSize.LARGE && React.createElement(Circle, { cx: '33', cy: '33', r: '33' })) ||
|
|
90
|
-
(size === IconSize.MEDIUM && React.createElement(Circle, { cx: '23', cy: '23', r: '23' })) ||
|
|
91
|
-
(size === IconSize.SMALL && React.createElement(Circle, { cx: '15', cy: '15', r: '15' })) || React.createElement(Circle, { cx: '15', cy: '15', r: '15' }))))); };
|
|
100
|
+
var IconSkeleton = function () { return (React.createElement(Skeleton, { style: styles.skeleton, width: circledWidth, height: circledWidth, borderRadius: iconSkeletonRadius, testID: 'skeleton-id' })); };
|
|
92
101
|
if (skeleton) {
|
|
93
102
|
return React.createElement(IconSkeleton, null);
|
|
94
103
|
}
|
|
@@ -99,16 +108,17 @@ var Icon = function (_a) {
|
|
|
99
108
|
React.createElement(WithLocalSvg, { style: [styles.iconCircled, styles.icon], asset: icons[name.toString().replace('tri-picto-', '').replace('tri-', '')], width: defaultSize, height: defaultSize, color: getColorStyle(TrilogyColor.BACKGROUND) })));
|
|
100
109
|
}
|
|
101
110
|
else if (circled) {
|
|
102
|
-
iconView = React.createElement(
|
|
111
|
+
iconView = (React.createElement(View, { style: styles.circled, testID: "".concat(testId, "-circled") },
|
|
112
|
+
React.createElement(WithLocalSvg, { style: [styles.iconCircled, styles.icon], asset: icons[name.toString().replace('tri-picto-', '').replace('tri-', '')], width: defaultSize, height: defaultSize, color: iconColor })));
|
|
103
113
|
}
|
|
104
114
|
else {
|
|
105
|
-
iconView = (React.createElement(View, __assign({}, others),
|
|
115
|
+
iconView = (React.createElement(View, __assign({ style: styles.iconContainer }, others),
|
|
106
116
|
React.createElement(WithLocalSvg, { style: [styles.icon, style], asset: icons[name.toString().replace('tri-picto-', '').replace('tri-', '')], width: defaultSize, height: defaultSize, color: iconColor })));
|
|
107
117
|
}
|
|
108
118
|
}
|
|
109
|
-
return onClick ? (React.createElement(View, { style: styles.rootView, testID: testId },
|
|
110
|
-
React.createElement(TouchableOpacity, { style: { width: '100%' }, onPress: onClick, activeOpacity: 0.85, testID: "".concat(testId, "-pressable") }, iconView))) : (React.createElement(View, { style: styles.rootView, testID: testId }, iconView));
|
|
111
|
-
};
|
|
119
|
+
return onClick ? (React.createElement(View, { style: styles.rootView, testID: testId, ref: ref },
|
|
120
|
+
React.createElement(TouchableOpacity, { style: { width: '100%' }, onPress: onClick, activeOpacity: 0.85, testID: "".concat(testId, "-pressable") }, iconView))) : (React.createElement(View, { style: styles.rootView, testID: testId, ref: ref }, iconView));
|
|
121
|
+
});
|
|
112
122
|
Icon.displayName = ComponentName.Icon;
|
|
113
123
|
export default Icon;
|
|
114
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
124
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSWNvbi5uYXRpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL2ljb24vSWNvbi5uYXRpdmUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFDaEUsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLDRCQUE0QixDQUFBO0FBRXJELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQTtBQUN4RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQTtBQUNwRSxPQUFPLEVBQWEsS0FBSyxFQUFFLE1B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UFFLElBQUksRUFDbkIsTUFBTSxFQUFFLFVBQUcsTUFBTSxlQUFZLElBRTVCLFFBQVEsQ0FDUSxDQUNkLENBQ1IsQ0FBQyxDQUFDLENBQUMsQ0FDRixvQkFBQyxJQUFJLElBQUMsS0FBSyxFQUFFLE1BQU0sQ0FBQyxRQUFRLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsR0FBRyxJQUNuRCxRQUFRLENBQ0osQ0FDUixDQUFBO0FBQ0gsQ0FBQyxDQUNGLENBQUE7QUFFRCxJQUFJLENBQUMsV0FBVyxHQUFHLGFBQWEsQ0FBQyxJQUFJLENBQUE7QUFFckMsZUFBZSxJQUFJLENBQUEifQ==
|
|
@@ -5,12 +5,15 @@ export declare enum IconName {
|
|
|
5
5
|
ARROW_RIGHT = "tri-arrow-right",
|
|
6
6
|
ARROW_UP = "tri-arrow-up",
|
|
7
7
|
BELL = "tri-bell",
|
|
8
|
+
CALENDAR = "tri-calendar",
|
|
8
9
|
CHECK_CIRCLE = "tri-check-circle",
|
|
9
10
|
CHECK = "tri-check",
|
|
10
11
|
EXCLAMATION_CIRCLE = "tri-exclamation-circle",
|
|
11
12
|
EYE_SLASH = "tri-eye-slash",
|
|
12
13
|
EYE = "tri-eye",
|
|
14
|
+
FILE_ATTACHED = "tri-file-attached",
|
|
13
15
|
INFOS_CIRCLE = "tri-infos-circle",
|
|
16
|
+
MICRO = "tri-micro",
|
|
14
17
|
SEARCH = "tri-search",
|
|
15
18
|
TIMES = "tri-times",
|
|
16
19
|
TIMES_CIRCLE = "tri-times",
|
|
@@ -22,6 +25,7 @@ export declare enum IconName {
|
|
|
22
25
|
PICTO_PAYMENT_CB = "tri-picto-payment-cb",
|
|
23
26
|
PICTO_PAYMENT_MASTERCARD = "tri-picto-payment-mastercard",
|
|
24
27
|
PICTO_PAYMENT_PAYPAL = "tri-picto-payment-paypal",
|
|
25
|
-
PICTO_PAYMENT_VISA = "tri-picto-payment-visa"
|
|
28
|
+
PICTO_PAYMENT_VISA = "tri-picto-payment-visa",
|
|
29
|
+
PARPERCLIP = "tri-paperclip"
|
|
26
30
|
}
|
|
27
31
|
export type IconNameValues = `${IconName}`;
|
|
@@ -6,12 +6,15 @@ export var IconName;
|
|
|
6
6
|
IconName["ARROW_RIGHT"] = "tri-arrow-right";
|
|
7
7
|
IconName["ARROW_UP"] = "tri-arrow-up";
|
|
8
8
|
IconName["BELL"] = "tri-bell";
|
|
9
|
+
IconName["CALENDAR"] = "tri-calendar";
|
|
9
10
|
IconName["CHECK_CIRCLE"] = "tri-check-circle";
|
|
10
11
|
IconName["CHECK"] = "tri-check";
|
|
11
12
|
IconName["EXCLAMATION_CIRCLE"] = "tri-exclamation-circle";
|
|
12
13
|
IconName["EYE_SLASH"] = "tri-eye-slash";
|
|
13
14
|
IconName["EYE"] = "tri-eye";
|
|
15
|
+
IconName["FILE_ATTACHED"] = "tri-file-attached";
|
|
14
16
|
IconName["INFOS_CIRCLE"] = "tri-infos-circle";
|
|
17
|
+
IconName["MICRO"] = "tri-micro";
|
|
15
18
|
IconName["SEARCH"] = "tri-search";
|
|
16
19
|
IconName["TIMES"] = "tri-times";
|
|
17
20
|
IconName["TIMES_CIRCLE"] = "tri-times";
|
|
@@ -24,5 +27,6 @@ export var IconName;
|
|
|
24
27
|
IconName["PICTO_PAYMENT_MASTERCARD"] = "tri-picto-payment-mastercard";
|
|
25
28
|
IconName["PICTO_PAYMENT_PAYPAL"] = "tri-picto-payment-paypal";
|
|
26
29
|
IconName["PICTO_PAYMENT_VISA"] = "tri-picto-payment-visa";
|
|
30
|
+
IconName["PARPERCLIP"] = "tri-paperclip";
|
|
27
31
|
})(IconName || (IconName = {}));
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSWNvbk5hbWVFbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vY29tcG9uZW50cy9pY29uL0ljb25OYW1lRW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxRQTZCWDtBQTdCRCxXQUFZLFFBQVE7SUFDbEIsK0JBQW1CLENBQUE7SUFDbkIseUNBQTZCLENBQUE7SUFDN0IseUNBQTZCLENBQUE7SUFDN0IsMkNBQStCLENBQUE7SUFDL0IscUNBQXlCLENBQUE7SUFDekIsNkJBQWlCLENBQUE7SUFDakIscUNBQXlCLENBQUE7SUFDekIsNkNBQWlDLENBQUE7SUFDakMsK0JBQW1CLENBQUE7SUFDbkIseURBQTZDLENBQUE7SUFDN0MsdUNBQTJCLENBQUE7SUFDM0IsMkJBQWUsQ0FBQTtJQUNmLCtDQUFtQyxDQUFBO0lBQ25DLDZDQUFpQyxDQUFBO0lBQ2pDLCtCQUFtQixDQUFBO0lBQ25CLGlDQUFxQixDQUFBO0lBQ3JCLCtCQUFtQixDQUFBO0lBQ25CLHNDQUEwQixDQUFBO0lBQzFCLCtCQUFtQixDQUFBO0lBQ25CLGlEQUFxQyxDQUFBO0lBQ3JDLHlEQUE2QyxDQUFBO0lBQzdDLGlEQUFxQyxDQUFBO0lBQ3JDLCtFQUFtRSxDQUFBO0lBQ25FLHFEQUF5QyxDQUFBO0lBQ3pDLHFFQUF5RCxDQUFBO0lBQ3pELDZEQUFpRCxDQUFBO0lBQ2pELHlEQUE2QyxDQUFBO0lBQzdDLHdDQUE0QixDQUFBO0FBQzlCLENBQUMsRUE3QlcsUUFBUSxLQUFSLFFBQVEsUUE2Qm5CIn0=
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IconName, IconNameValues } from './IconNameEnum';
|
|
1
|
+
import { View } from 'react-native';
|
|
3
2
|
import { Accessibility, AlignableProps, Clickable, Dev, Stacked, TrilogyColor, TrilogyColorValues } from '../../objects';
|
|
4
3
|
import { CommonProps } from '../../objects/facets/CommonProps';
|
|
4
|
+
import { IconColor, IconColorValues, IconSize, IconSizeValues } from './IconEnum';
|
|
5
|
+
import { IconName, IconNameValues } from './IconNameEnum';
|
|
5
6
|
/**
|
|
6
7
|
* Icon Interface
|
|
7
8
|
*/
|
|
8
|
-
export interface IconProps extends Stacked, AlignableProps, Clickable, Accessibility, Dev, CommonProps {
|
|
9
|
+
export interface IconProps extends Stacked, Omit<AlignableProps, 'verticalAlign'>, Clickable, Accessibility, Dev, CommonProps {
|
|
9
10
|
name: IconName | IconNameValues;
|
|
10
11
|
size?: IconSize | IconSizeValues;
|
|
11
12
|
circled?: boolean;
|
|
@@ -14,3 +15,5 @@ export interface IconProps extends Stacked, AlignableProps, Clickable, Accessibi
|
|
|
14
15
|
backgroundColor?: TrilogyColor | TrilogyColorValues;
|
|
15
16
|
skeleton?: boolean;
|
|
16
17
|
}
|
|
18
|
+
export type IconRef = HTMLSpanElement;
|
|
19
|
+
export type IconNativeRef = View;
|
|
@@ -8,12 +8,15 @@ export default {
|
|
|
8
8
|
"tri-arrow-right",
|
|
9
9
|
"tri-arrow-up",
|
|
10
10
|
"tri-bell",
|
|
11
|
+
"tri-calendar",
|
|
11
12
|
"tri-check-circle",
|
|
12
13
|
"tri-check",
|
|
13
14
|
"tri-exclamation-circle",
|
|
14
15
|
"tri-eye-slash",
|
|
15
16
|
"tri-eye",
|
|
17
|
+
"tri-file-attached",
|
|
16
18
|
"tri-infos-circle",
|
|
19
|
+
"tri-micro",
|
|
17
20
|
"tri-search",
|
|
18
21
|
"tri-times",
|
|
19
22
|
"tri-trash",
|
|
@@ -25,18 +28,22 @@ export default {
|
|
|
25
28
|
"tri-picto-payment-mastercard",
|
|
26
29
|
"tri-picto-payment-paypal",
|
|
27
30
|
"tri-picto-payment-visa",
|
|
31
|
+
"tri-paperclip",
|
|
28
32
|
"tri-alert",
|
|
29
33
|
"tri-arrow-down",
|
|
30
34
|
"tri-arrow-left",
|
|
31
35
|
"tri-arrow-right",
|
|
32
36
|
"tri-arrow-up",
|
|
33
37
|
"tri-bell",
|
|
38
|
+
"tri-calendar",
|
|
34
39
|
"tri-check-circle",
|
|
35
40
|
"tri-check",
|
|
36
41
|
"tri-exclamation-circle",
|
|
37
42
|
"tri-eye-slash",
|
|
38
43
|
"tri-eye",
|
|
44
|
+
"tri-file-attached",
|
|
39
45
|
"tri-infos-circle",
|
|
46
|
+
"tri-micro",
|
|
40
47
|
"tri-search",
|
|
41
48
|
"tri-times",
|
|
42
49
|
"tri-trash",
|
|
@@ -47,7 +54,8 @@ export default {
|
|
|
47
54
|
"tri-picto-payment-cb",
|
|
48
55
|
"tri-picto-payment-mastercard",
|
|
49
56
|
"tri-picto-payment-paypal",
|
|
50
|
-
"tri-picto-payment-visa"
|
|
57
|
+
"tri-picto-payment-visa",
|
|
58
|
+
"tri-paperclip"
|
|
51
59
|
]
|
|
52
60
|
},
|
|
53
61
|
"size": {
|
|
@@ -103,7 +111,9 @@ export default {
|
|
|
103
111
|
"MAIN",
|
|
104
112
|
"MAIN_FADE",
|
|
105
113
|
"ACCENT",
|
|
114
|
+
"ACCENT_FADE",
|
|
106
115
|
"FONT",
|
|
116
|
+
"FONT_PLACEHOLDER",
|
|
107
117
|
"SUCCESS",
|
|
108
118
|
"SUCCESS_FADE",
|
|
109
119
|
"INFO",
|
|
@@ -116,9 +126,12 @@ export default {
|
|
|
116
126
|
"DISABLED_FADE",
|
|
117
127
|
"NEUTRAL",
|
|
118
128
|
"NEUTRAL_FADE",
|
|
129
|
+
"STROKE",
|
|
119
130
|
"WHITE",
|
|
120
131
|
"MAIN_FADE",
|
|
132
|
+
"ACCENT_FADE",
|
|
121
133
|
"FONT",
|
|
134
|
+
"FONT_PLACEHOLDER",
|
|
122
135
|
"SUCCESS_FADE",
|
|
123
136
|
"INFO_FADE",
|
|
124
137
|
"WARNING_FADE",
|
|
@@ -126,7 +139,8 @@ export default {
|
|
|
126
139
|
"DISABLED",
|
|
127
140
|
"DISABLED_FADE",
|
|
128
141
|
"NEUTRAL",
|
|
129
|
-
"NEUTRAL_FADE"
|
|
142
|
+
"NEUTRAL_FADE",
|
|
143
|
+
"STROKE"
|
|
130
144
|
]
|
|
131
145
|
},
|
|
132
146
|
"skeleton": {
|
|
@@ -145,30 +159,6 @@ export default {
|
|
|
145
159
|
"true"
|
|
146
160
|
]
|
|
147
161
|
},
|
|
148
|
-
"align": {
|
|
149
|
-
"type": "enum",
|
|
150
|
-
"values": [
|
|
151
|
-
"undefined",
|
|
152
|
-
"ALIGNED_CENTER",
|
|
153
|
-
"ALIGNED_START",
|
|
154
|
-
"ALIGNED_END",
|
|
155
|
-
"ALIGNED_CENTER",
|
|
156
|
-
"ALIGNED_START",
|
|
157
|
-
"ALIGNED_END"
|
|
158
|
-
]
|
|
159
|
-
},
|
|
160
|
-
"verticalAlign": {
|
|
161
|
-
"type": "enum",
|
|
162
|
-
"values": [
|
|
163
|
-
"undefined",
|
|
164
|
-
"ALIGNED_CENTER",
|
|
165
|
-
"ALIGNED_START",
|
|
166
|
-
"ALIGNED_END",
|
|
167
|
-
"ALIGNED_CENTER",
|
|
168
|
-
"ALIGNED_START",
|
|
169
|
-
"ALIGNED_END"
|
|
170
|
-
]
|
|
171
|
-
},
|
|
172
162
|
"onClick": {
|
|
173
163
|
"type": "function",
|
|
174
164
|
"values": [
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ImageProps } from './ImageProps';
|
|
3
3
|
/**
|
|
4
4
|
* Image Component
|
|
5
5
|
* @param src {string} Image source
|
|
6
6
|
* @param alt {string} Image alt
|
|
7
|
-
* @param
|
|
7
|
+
* @param radius {RadiusValues} Image border radius size
|
|
8
8
|
* @param width {number|string} Image width (Number if not percent else string)
|
|
9
9
|
* @param height {number|string} Image height (Number if not percent else string)
|
|
10
10
|
* @param onClick {Function} onClick Event
|
|
11
|
+
* @param align {Alignable} Align Image
|
|
12
|
+
* @param circled {boolean} Circled Image
|
|
13
|
+
* -------------------------- NATIVE PROPERTIES -------------------------------
|
|
14
|
+
* @param cache {ImageCache} Caching strategy for the image
|
|
11
15
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
12
|
-
* @param className {string}
|
|
16
|
+
* @param className {string} Additional CSS Classes (ONLY FOR WEB)
|
|
13
17
|
*/
|
|
14
|
-
declare const Image:
|
|
18
|
+
declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLElement>>;
|
|
15
19
|
export default Image;
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { has, is } from '../../services';
|
|
4
|
-
import clsx from 'clsx';
|
|
5
|
-
import { hashClass } from '../../helpers';
|
|
6
2
|
import { useTrilogyContext } from '../../context';
|
|
3
|
+
import { hashClass } from '../../helpers';
|
|
7
4
|
import { getJustifiedClassName } from '../../objects';
|
|
5
|
+
import { has, is } from '../../services';
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { ComponentName } from '../enumsComponentsName';
|
|
8
9
|
/**
|
|
9
10
|
* Image Component
|
|
10
11
|
* @param src {string} Image source
|
|
11
12
|
* @param alt {string} Image alt
|
|
12
|
-
* @param
|
|
13
|
+
* @param radius {RadiusValues} Image border radius size
|
|
13
14
|
* @param width {number|string} Image width (Number if not percent else string)
|
|
14
15
|
* @param height {number|string} Image height (Number if not percent else string)
|
|
15
16
|
* @param onClick {Function} onClick Event
|
|
17
|
+
* @param align {Alignable} Align Image
|
|
18
|
+
* @param circled {boolean} Circled Image
|
|
19
|
+
* -------------------------- NATIVE PROPERTIES -------------------------------
|
|
20
|
+
* @param cache {ImageCache} Caching strategy for the image
|
|
16
21
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
17
|
-
* @param className {string}
|
|
22
|
+
* @param className {string} Additional CSS Classes (ONLY FOR WEB)
|
|
18
23
|
*/
|
|
19
|
-
var Image = function (_a) {
|
|
20
|
-
var src = _a.src,
|
|
24
|
+
var Image = React.forwardRef(function (_a, ref) {
|
|
25
|
+
var src = _a.src, _b = _a.alt, alt = _b === void 0 ? '' : _b, className = _a.className, id = _a.id, circled = _a.circled, width = _a.width, height = _a.height, onClick = _a.onClick, radius = _a.radius, align = _a.align, others = __rest(_a, ["src", "alt", "className", "id", "circled", "width", "height", "onClick", "radius", "align"]);
|
|
21
26
|
var styled = useTrilogyContext().styled;
|
|
22
27
|
var classes = hashClass(styled, clsx('image', className, align && is(getJustifiedClassName(align))));
|
|
23
28
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -27,11 +32,12 @@ var Image = function (_a) {
|
|
|
27
32
|
height: height,
|
|
28
33
|
},
|
|
29
34
|
};
|
|
30
|
-
return (React.createElement("figure", __assign({ id: id, onClick: function (e) {
|
|
35
|
+
return (React.createElement("figure", __assign({ ref: ref, id: id, onClick: function (e) {
|
|
31
36
|
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
32
37
|
e.stopPropagation();
|
|
33
38
|
}, className: classes }, others),
|
|
34
39
|
React.createElement("img", { style: styles.image, className: hashClass(styled, clsx(radius && has("border-radius-".concat(radius)), circled ? is('circled') : '')), src: typeof src === 'string' ? src : '', alt: alt })));
|
|
35
|
-
};
|
|
40
|
+
});
|
|
41
|
+
Image.displayName = ComponentName.Image;
|
|
36
42
|
export default Image;
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW1hZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL2ltYWdlL0ltYWdlLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sV0FBVyxDQUFBO0FBQzdDLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFB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FLE1BQU07U0FDZjtLQUNGLENBQUE7SUFFRCxPQUFPLENBQ0wseUNBQ0UsR0FBRyxFQUFFLEdBQUcsRUFDUixFQUFFLEVBQUUsRUFBRSxFQUNOLE9BQU8sRUFBRSxVQUFDLENBQUM7WUFDVCxPQUFPLGFBQVAsT0FBTyx1QkFBUCxPQUFPLENBQUcsQ0FBQyxDQUFDLENBQUE7WUFDWixDQUFDLENBQUMsZUFBZSxFQUFFLENBQUE7UUFDckIsQ0FBQyxFQUNELFNBQVMsRUFBRSxPQUFPLElBQ2QsTUFBTTtRQUVWLDZCQUNFLEtBQUssRUFBRSxNQUFNLENBQUMsS0FBSyxFQUNuQixTQUFTLEVBQUUsU0FBUyxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsTUFBTSxJQUFJLEdBQUcsQ0FBQyx3QkFBaUIsTUFBTSxDQUFFLENBQUMsRUFBRSxPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFDMUcsR0FBRyxFQUFFLE9BQU8sR0FBRyxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQ3ZDLEdBQUcsRUFBRSxHQUFHLEdBQ1IsQ0FDSyxDQUNWLENBQUE7QUFDSCxDQUFDLENBQUMsQ0FBQTtBQUVGLEtBQUssQ0FBQyxXQUFXLEdBQUcsYUFBYSxDQUFDLEtBQUssQ0FBQTtBQUN2QyxlQUFlLEtBQUssQ0FBQSJ9
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Image as ImageNative } from 'react-native';
|
|
3
|
+
import { ImageProps } from './ImageProps';
|
|
4
4
|
/**
|
|
5
5
|
* Image Component
|
|
6
6
|
* @param src {string} Image source
|
|
7
7
|
* @param alt {string} Image alt
|
|
8
|
-
* @param
|
|
8
|
+
* @param radius {RadiusValues} Image border radius size
|
|
9
9
|
* @param width {number|string} Image width (Number if not percent else string)
|
|
10
10
|
* @param height {number|string} Image height (Number if not percent else string)
|
|
11
11
|
* @param onClick {Function} onClick Event
|
|
12
|
+
* @param circled {boolean} Circled Image
|
|
13
|
+
* -------------------------- NATIVE PROPERTIES -------------------------------
|
|
14
|
+
* @param cache {ImageCache} Caching strategy for the image
|
|
12
15
|
*/
|
|
13
|
-
declare const Image:
|
|
14
|
-
({ src, alt, circled, width, height, onClick, ...others }: ImageProps): JSX.Element;
|
|
15
|
-
displayName: ComponentName;
|
|
16
|
-
};
|
|
16
|
+
declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<ImageNative>>;
|
|
17
17
|
export default Image;
|
|
@@ -1,31 +1,55 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import { ComponentName } from '../../components/enumsComponentsName';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { Image as ImageNative, StyleSheet, TouchableOpacity, View } from 'react-native';
|
|
5
|
+
import { getRadiusStyle } from '../../objects/facets/Radius';
|
|
5
6
|
/**
|
|
6
7
|
* Image Component
|
|
7
8
|
* @param src {string} Image source
|
|
8
9
|
* @param alt {string} Image alt
|
|
9
|
-
* @param
|
|
10
|
+
* @param radius {RadiusValues} Image border radius size
|
|
10
11
|
* @param width {number|string} Image width (Number if not percent else string)
|
|
11
12
|
* @param height {number|string} Image height (Number if not percent else string)
|
|
12
13
|
* @param onClick {Function} onClick Event
|
|
14
|
+
* @param circled {boolean} Circled Image
|
|
15
|
+
* -------------------------- NATIVE PROPERTIES -------------------------------
|
|
16
|
+
* @param cache {ImageCache} Caching strategy for the image
|
|
13
17
|
*/
|
|
14
|
-
var Image = function (_a) {
|
|
15
|
-
var src = _a.src,
|
|
18
|
+
var Image = React.forwardRef(function (_a, ref) {
|
|
19
|
+
var src = _a.src, _b = _a.alt, alt = _b === void 0 ? '' : _b, circled = _a.circled, width = _a.width, height = _a.height, onClick = _a.onClick, cache = _a.cache, radius = _a.radius, others = __rest(_a, ["src", "alt", "circled", "width", "height", "onClick", "cache", "radius"]);
|
|
16
20
|
var styles = StyleSheet.create({
|
|
17
21
|
image: {
|
|
18
|
-
width: width ? width :
|
|
19
|
-
height: height ? height :
|
|
20
|
-
borderRadius: circled ? 100 :
|
|
21
|
-
overflow: circled ?
|
|
22
|
-
resizeMode:
|
|
22
|
+
width: width ? width : '100%',
|
|
23
|
+
height: height ? height : '100%',
|
|
24
|
+
borderRadius: circled ? 100 : getRadiusStyle(radius),
|
|
25
|
+
overflow: (circled || radius) ? 'hidden' : 'visible',
|
|
26
|
+
resizeMode: 'cover',
|
|
23
27
|
},
|
|
24
28
|
});
|
|
25
|
-
var
|
|
29
|
+
var getCachePolicy = function (cacheType) {
|
|
30
|
+
switch (cacheType) {
|
|
31
|
+
case 'immutable':
|
|
32
|
+
// Aggressive caching - image never changes, cache indefinitely
|
|
33
|
+
return 'force-cache';
|
|
34
|
+
case 'cacheOnly':
|
|
35
|
+
// Only load from cache, never fetch from network
|
|
36
|
+
return 'only-if-cached';
|
|
37
|
+
case 'web':
|
|
38
|
+
default:
|
|
39
|
+
// Standard web behavior - respect HTTP headers and cache intelligently
|
|
40
|
+
return 'default';
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
var imageSource = typeof src === 'number'
|
|
44
|
+
? src
|
|
45
|
+
: {
|
|
46
|
+
uri: src,
|
|
47
|
+
cache: getCachePolicy(cache)
|
|
48
|
+
};
|
|
49
|
+
var image = (React.createElement(ImageNative, __assign({ ref: ref, style: styles.image, accessibilityLabel: alt, source: imageSource }, others, { alt: alt })));
|
|
26
50
|
return onClick ? (React.createElement(View, null,
|
|
27
51
|
React.createElement(TouchableOpacity, { onPress: onClick, activeOpacity: 0.85 }, image))) : (image);
|
|
28
|
-
};
|
|
52
|
+
});
|
|
29
53
|
Image.displayName = ComponentName.Image;
|
|
30
54
|
export default Image;
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW1hZ2UubmF0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vY29tcG9uZW50cy9pbWFnZS9JbWFnZS5uYXRpdmUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFDaEUsT0FBTyxLQUFLLEtBQUssTUFBTSxPQUFPLENBQUE7QUFDOUIsT0FBTyxFQUFFLEtBQUssSUFBSSxXQUFXLEVBQUUsVUFBVSxFQUFFLGdCQUFnQixFQUFFLElBQUksRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUV2RixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUE7QUFFeEQ7Ozs7Ozs7Ozs7O0dBV0c7QUFDSCxJQUFNLEtBQUssR0FBRyxLQUFLLENBQUMsVUFBVSxDQUE2QixVQUFDLEVBQTRFLEVBQUUsR0FBRztJQUEvRSxJQUFBLEdBQUcsU0FBQSxFQUFFLFdBQVEsRUFBUixHQUFHLG1CQUFHLEVBQUUsS0FBQSxFQUFFLE9BQU8sYUFBQSxFQUFFLEtBQUssV0FBQSxFQUFFLE1BQU0sWUFBQSxFQUFFLE9BQU8sYUFBQSxFQUFFLEtBQUssV0FBQSxFQUFFLE1BQU0sWUFBQSxFQUFLLE1BQU0sY0FBMUUsMEVBQTRFLENBQUY7SUFDcEksSUFBTSxNQUFNLEdBQUcsVUFBVSxDQUFDLE1BQU0sQ0FBQztRQUMvQixLQUFLLEVBQUU7WUFDTCxLQUFLLEVBQUUsS0FBSyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMs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BQUUsV0FBVyxJQUNmLE1BQU0sSUFDVixHQUFHLEVBQUUsR0FBRyxJQUNSLENBQ0gsQ0FBQTtJQUVELE9BQU8sT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUNmLG9CQUFDLElBQUk7UUFDSCxvQkFBQyxnQkFBZ0IsSUFBQyxPQUFPLEVBQUUsT0FBTyxFQUFFLGFBQWEsRUFBRSxJQUFJLElBQ3BELEtBQUssQ0FDVyxDQUNkLENBQ1IsQ0FBQyxDQUFDLENBQUMsQ0FDRixLQUFLLENBQ04sQ0FBQTtBQUNILENBQUMsQ0FBQyxDQUFBO0FBRUYsS0FBSyxDQUFDLFdBQVcsR0FBRyxhQUFhLENBQUMsS0FBSyxDQUFBO0FBRXZDLGVBQWUsS0FBSyxDQUFBIn0=
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AlignableProps, Clickable } from '../../objects';
|
|
2
|
-
import { DimensionValue } from 'react-native';
|
|
2
|
+
import { DimensionValue, type Image } from 'react-native';
|
|
3
3
|
import { CommonProps } from '../../objects/facets/CommonProps';
|
|
4
4
|
export declare enum RadiusValues {
|
|
5
5
|
SMALL = "small",
|
|
6
6
|
MEDIUM = "medium",
|
|
7
7
|
LARGE = "large"
|
|
8
8
|
}
|
|
9
|
+
export type ImageCache = 'immutable' | 'web' | 'cacheOnly';
|
|
9
10
|
export interface ImageProps extends AlignableProps, Clickable, CommonProps {
|
|
10
11
|
src: string | number;
|
|
11
12
|
alt?: string;
|
|
@@ -13,4 +14,7 @@ export interface ImageProps extends AlignableProps, Clickable, CommonProps {
|
|
|
13
14
|
width?: DimensionValue | number | undefined;
|
|
14
15
|
height?: DimensionValue | number | undefined;
|
|
15
16
|
radius?: RadiusValues;
|
|
17
|
+
cache?: ImageCache;
|
|
16
18
|
}
|
|
19
|
+
export type ImageRef = HTMLElement;
|
|
20
|
+
export type ImageNativeRef = Image;
|
|
@@ -52,6 +52,15 @@ export default {
|
|
|
52
52
|
"large"
|
|
53
53
|
]
|
|
54
54
|
},
|
|
55
|
+
"cache": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"values": [
|
|
58
|
+
"undefined",
|
|
59
|
+
"immutable",
|
|
60
|
+
"web",
|
|
61
|
+
"cacheOnly"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
55
64
|
"align": {
|
|
56
65
|
"type": "enum",
|
|
57
66
|
"values": [
|
|
@@ -59,9 +68,19 @@ export default {
|
|
|
59
68
|
"ALIGNED_CENTER",
|
|
60
69
|
"ALIGNED_START",
|
|
61
70
|
"ALIGNED_END",
|
|
71
|
+
"ALIGNED_STRETCH",
|
|
62
72
|
"ALIGNED_CENTER",
|
|
63
73
|
"ALIGNED_START",
|
|
64
|
-
"ALIGNED_END"
|
|
74
|
+
"ALIGNED_END",
|
|
75
|
+
"ALIGNED_STRETCH",
|
|
76
|
+
"CENTER",
|
|
77
|
+
"START",
|
|
78
|
+
"END",
|
|
79
|
+
"STRETCH",
|
|
80
|
+
"CENTER",
|
|
81
|
+
"START",
|
|
82
|
+
"END",
|
|
83
|
+
"STRETCH"
|
|
65
84
|
]
|
|
66
85
|
},
|
|
67
86
|
"verticalAlign": {
|
|
@@ -71,9 +90,19 @@ export default {
|
|
|
71
90
|
"ALIGNED_CENTER",
|
|
72
91
|
"ALIGNED_START",
|
|
73
92
|
"ALIGNED_END",
|
|
93
|
+
"ALIGNED_STRETCH",
|
|
74
94
|
"ALIGNED_CENTER",
|
|
75
95
|
"ALIGNED_START",
|
|
76
|
-
"ALIGNED_END"
|
|
96
|
+
"ALIGNED_END",
|
|
97
|
+
"ALIGNED_STRETCH",
|
|
98
|
+
"CENTER",
|
|
99
|
+
"START",
|
|
100
|
+
"END",
|
|
101
|
+
"STRETCH",
|
|
102
|
+
"CENTER",
|
|
103
|
+
"START",
|
|
104
|
+
"END",
|
|
105
|
+
"STRETCH"
|
|
77
106
|
]
|
|
78
107
|
},
|
|
79
108
|
"onClick": {
|
|
@@ -6,14 +6,17 @@ export * from './badge';
|
|
|
6
6
|
export * from './box';
|
|
7
7
|
export * from './breadcrumb';
|
|
8
8
|
export * from './button';
|
|
9
|
+
export * from './calendar';
|
|
9
10
|
export * from './card';
|
|
10
11
|
export * from './checkbox';
|
|
11
12
|
export * from './chips';
|
|
12
13
|
export * from './columns';
|
|
13
14
|
export * from './container';
|
|
14
15
|
export * from './countdown';
|
|
16
|
+
export * from './datepicker';
|
|
15
17
|
export * from './divider';
|
|
16
18
|
export * from './fab';
|
|
19
|
+
export * from './flex-box';
|
|
17
20
|
export * from './hero';
|
|
18
21
|
export * from './icon';
|
|
19
22
|
export * from './image';
|
|
@@ -27,6 +30,7 @@ export * from './popover';
|
|
|
27
30
|
export * from './price';
|
|
28
31
|
export * from './product-tour';
|
|
29
32
|
export * from './progress';
|
|
33
|
+
export * from './prompt';
|
|
30
34
|
export * from './radio';
|
|
31
35
|
export * from './range';
|
|
32
36
|
export * from './rows';
|
|
@@ -34,6 +38,7 @@ export * from './scroll-view';
|
|
|
34
38
|
export * from './section';
|
|
35
39
|
export * from './segment-control';
|
|
36
40
|
export * from './select';
|
|
41
|
+
export * from './skeleton';
|
|
37
42
|
export * from './spacer';
|
|
38
43
|
export * from './stepper';
|
|
39
44
|
export * from './sticker';
|