@trilogy-ds/react 0.0.3-beta-v4 → 0.0.4-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 +32 -31
- 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 +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 +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 +16 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonPropsDefaults.js +135 -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,10 +1,11 @@
|
|
|
1
|
-
import { __read } from "tslib";
|
|
1
|
+
import { __assign, __read, __rest } from "tslib";
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
3
|
import SegmentControlItem from './item';
|
|
4
4
|
import { hashClass } from '../../helpers';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { useTrilogyContext } from '../../context';
|
|
7
7
|
import { getJustifiedClassName } from '../../objects';
|
|
8
|
+
import { ComponentName } from '../enumsComponentsName';
|
|
8
9
|
/**
|
|
9
10
|
* SegmentControl Component
|
|
10
11
|
* @param children {ReactNode} Children for SegmentControl
|
|
@@ -12,11 +13,11 @@ import { getJustifiedClassName } from '../../objects';
|
|
|
12
13
|
* @param activeIndex {number} default active SegmentControl index
|
|
13
14
|
* @param disabled {boolean} disabled SegmentControl
|
|
14
15
|
* - -------------- WEB PROPERTIES ---------------
|
|
15
|
-
* @param className {string}
|
|
16
|
+
* @param className {string} Additional CSS Classes
|
|
16
17
|
* - -------------- NATIVE PROPERTIES ---------------
|
|
17
18
|
*/
|
|
18
|
-
var SegmentControl = function (_a) {
|
|
19
|
-
var className = _a.className, id = _a.id, onClick = _a.onClick, children = _a.children, activeIndex = _a.activeIndex, align = _a.align;
|
|
19
|
+
var SegmentControl = React.forwardRef(function (_a, ref) {
|
|
20
|
+
var className = _a.className, id = _a.id, onClick = _a.onClick, children = _a.children, activeIndex = _a.activeIndex, align = _a.align, others = __rest(_a, ["className", "id", "onClick", "children", "activeIndex", "align"]);
|
|
20
21
|
var styled = useTrilogyContext().styled;
|
|
21
22
|
var classes = hashClass(styled, clsx('segmented-control', align && getJustifiedClassName(align), className));
|
|
22
23
|
var _b = __read(useState(activeIndex || 0), 2), activateIndex = _b[0], setActivateIndex = _b[1];
|
|
@@ -36,7 +37,7 @@ var SegmentControl = function (_a) {
|
|
|
36
37
|
React.useEffect(function () {
|
|
37
38
|
setActivateIndex(activateIndex);
|
|
38
39
|
}, [activateIndex]);
|
|
39
|
-
return (React.createElement("div", { id: id, className: classes }, children &&
|
|
40
|
+
return (React.createElement("div", __assign({ ref: ref, id: id, className: classes }, others), children &&
|
|
40
41
|
Array.isArray(children) &&
|
|
41
42
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
42
43
|
children.map(function (child, index) {
|
|
@@ -55,6 +56,7 @@ var SegmentControl = function (_a) {
|
|
|
55
56
|
};
|
|
56
57
|
return child && typeof child.valueOf() === 'string' ? (React.createElement(SegmentControlItem, { disabled: props.disabled, active: props.active, key: props.key, onClick: function (e) { return onClick === null || onClick === void 0 ? void 0 : onClick(e); } }, child)) : (React.cloneElement(child, props));
|
|
57
58
|
})));
|
|
58
|
-
};
|
|
59
|
+
});
|
|
60
|
+
SegmentControl.displayName = ComponentName.SegmentControl;
|
|
59
61
|
export default SegmentControl;
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VnbWVudENvbnRyb2wuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL3NlZ21lbnQtY29udHJvbC9TZWdtZW50Q29udHJvbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sS0FBSyxFQUFFLEVBQUUsUUFBUSxFQUFFLE1BQU0sT0FBTyxDQUFBO0FBQ3ZDLE9BQU8sa0JBQWtCLE1BQU0sUUFBUSxDQUFBO0FBRXZDLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFDckMsT0FBTyxJQUFJLE1BQU0sTUFBTSxDQUFBO0FBQ3ZCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLFdBQVcsQ0FBQTtBQUM3QyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFDakQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFBO0FBRXREOzs7Ozs7Ozs7R0FTRztBQUNILElBQU0sY0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FFBQVEsRUFBRSxLQUFLLENBQUMsUUFBUSxFQUN4QixNQUFNLEVBQUUsS0FBSyxDQUFDLE1BQU0sRUFDcEIsR0FBRyxFQUFFLEtBQUssQ0FBQyxHQUFHLEVBQ2QsT0FBTyxFQUFFLFVBQUMsQ0FBVSxJQUFLLE9BQUEsT0FBTyxhQUFQLE9BQU8sdUJBQVAsT0FBTyxDQUFHLENBQUMsQ0FBQyxFQUFaLENBQVksSUFFcEMsS0FBSyxDQUNhLENBQ3RCLENBQUMsQ0FBQyxDQUFDLENBQ0YsS0FBSyxDQUFDLFlBQVksQ0FBQyxLQUFLLEVBQUUsS0FBSyxDQUFDLENBQ2pDLENBQUE7UUFDSCxDQUFDLENBQUMsQ0FDQSxDQUNQLENBQUE7QUFDSCxDQUFDLENBQUMsQ0FBQTtBQUVGLGNBQWMsQ0FBQyxXQUFXLEdBQUcsYUFBYSxDQUFDLGNBQWMsQ0FBQTtBQUN6RCxlQUFlLGNBQWMsQ0FBQSJ9
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SegmentControlProps } from './SegmentControlProps';
|
|
3
|
-
import { ComponentName } from '../../components/enumsComponentsName';
|
|
4
3
|
/**
|
|
5
4
|
* SegmentControl Component
|
|
6
5
|
* @param children {ReactNode} Children for SegmentControl
|
|
@@ -8,8 +7,5 @@ import { ComponentName } from '../../components/enumsComponentsName';
|
|
|
8
7
|
* @param activeIndex {number} default active SegmentControl index
|
|
9
8
|
* @param disabled {boolean} disabled SegmentControl
|
|
10
9
|
*/
|
|
11
|
-
declare const SegmentControl:
|
|
12
|
-
({ children, onClick, activeIndex, ...others }: SegmentControlProps): JSX.Element;
|
|
13
|
-
displayName: ComponentName;
|
|
14
|
-
};
|
|
10
|
+
declare const SegmentControl: React.ForwardRefExoticComponent<SegmentControlProps & React.RefAttributes<import("react-native").View>>;
|
|
15
11
|
export default SegmentControl;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __assign, __read, __rest } from "tslib";
|
|
2
|
+
import { ComponentName } from '../../components/enumsComponentsName';
|
|
3
|
+
import { Text, TextLevels } from '../../components/text';
|
|
4
|
+
import { View } from '../../components/view';
|
|
5
|
+
import { getColorStyle, TrilogyColor } from '../../objects/facets/Color';
|
|
2
6
|
import React, { useState } from 'react';
|
|
3
7
|
import { StyleSheet } from 'react-native';
|
|
4
|
-
import { View } from '../../components/view';
|
|
5
|
-
import { Text, TextLevels } from '../../components/text';
|
|
6
8
|
import SegmentedControlItem from './item';
|
|
7
|
-
import { getColorStyle, TrilogyColor } from '../../objects/facets/Color';
|
|
8
|
-
import { ComponentName } from '../../components/enumsComponentsName';
|
|
9
9
|
/**
|
|
10
10
|
* SegmentControl Component
|
|
11
11
|
* @param children {ReactNode} Children for SegmentControl
|
|
@@ -13,7 +13,7 @@ import { ComponentName } from '../../components/enumsComponentsName';
|
|
|
13
13
|
* @param activeIndex {number} default active SegmentControl index
|
|
14
14
|
* @param disabled {boolean} disabled SegmentControl
|
|
15
15
|
*/
|
|
16
|
-
var SegmentControl = function (_a) {
|
|
16
|
+
var SegmentControl = React.forwardRef(function (_a, ref) {
|
|
17
17
|
var children = _a.children, onClick = _a.onClick, activeIndex = _a.activeIndex, others = __rest(_a, ["children", "onClick", "activeIndex"]);
|
|
18
18
|
var _b = __read(useState(activeIndex || 0), 2), activateIndex = _b[0], setActivateIndex = _b[1];
|
|
19
19
|
var isActive = function (index, childPropsActive) {
|
|
@@ -38,13 +38,15 @@ var SegmentControl = function (_a) {
|
|
|
38
38
|
segmentedControl: {
|
|
39
39
|
flexDirection: 'row',
|
|
40
40
|
width: '100%',
|
|
41
|
-
backgroundColor: getColorStyle(TrilogyColor.
|
|
41
|
+
backgroundColor: getColorStyle(TrilogyColor.BACKGROUND),
|
|
42
42
|
borderRadius: 4,
|
|
43
43
|
padding: 4,
|
|
44
44
|
paddingRight: -4,
|
|
45
|
+
borderWidth: 1,
|
|
46
|
+
borderColor: getColorStyle(TrilogyColor.NEUTRAL),
|
|
45
47
|
},
|
|
46
48
|
});
|
|
47
|
-
return (React.createElement(View, { style: styles.padding },
|
|
49
|
+
return (React.createElement(View, { ref: ref, style: styles.padding },
|
|
48
50
|
React.createElement(View, __assign({ style: styles.segmentedControl }, others), children &&
|
|
49
51
|
Array.isArray(children) &&
|
|
50
52
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -68,7 +70,7 @@ var SegmentControl = function (_a) {
|
|
|
68
70
|
React.createElement(Text, { level: TextLevels.ONE }, String(child)))) : (React.cloneElement(child, props));
|
|
69
71
|
}
|
|
70
72
|
}))));
|
|
71
|
-
};
|
|
73
|
+
});
|
|
72
74
|
SegmentControl.displayName = ComponentName.SegmentControl;
|
|
73
75
|
export default SegmentControl;
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VnbWVudENvbnRyb2wubmF0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vY29tcG9uZW50cy9zZWdtZW50LWNvbnRyb2wvU2VnbWVudENvbnRyb2wubmF0aXZlLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtDQUFrQyxDQUFBO0FBQ2hFLE9BQU8sRUFBRSxJQUFJLEVBQUUsVUFBVSxFQUFFLE1BQU0sbUJBQW1CLENBQUE7QUFDcEQsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLG1CQUFtQixDQUFBO0FBQ3hDLE9BQU8sRUFBRSxhQUFhLEVBQUUsWUFBWSxFQUFFLE1BQU0sd0JBQXdCLENBQUE7QUFDcEUsT0FBTyxLQUFLLEVBQUUsRUFBRSxRQUFRLEVBQUUsTUFBTSxPQUFPLENBQUE7QUFDdkMsT0FBTyxFQUFFLFVBQVUsRUFB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DLE9BQU8sRUFBRTtnQ0FDdkIsS0FBSyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUE7NkJBQzNCO3lCQUNGO29CQUNILENBQUM7aUJBQ0YsQ0FBQTtnQkFDRCxJQUFJLEtBQUssR0FBRyxDQUFDLEVBQUU7b0JBQ2IsT0FBTyxPQUFPLEtBQUssQ0FBQyxPQUFPLEVBQUUsS0FBSyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQzNDLG9CQUFDLG9CQUFvQixJQUNuQixRQUFRLEVBQUUsS0FBSyxDQUFDLFFBQVEsRUFDeEIsTUFBTSxFQUFFLEtBQUssQ0FBQyxNQUFNLEVBQ3BCLE9BQU8sRUFBRSxVQUFDLENBQVUsSUFBSyxPQUFBLE9BQU8sYUFBUCxPQUFPLHVCQUFQLE9BQU8sQ0FBRyxDQUFDLENBQUMsRUFBWixDQUFZO3dCQUVyQyxvQkFBQyxJQUFJLElBQUMsS0FBSyxFQUFFLFVBQVUsQ0FBQyxHQUFHLElBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFRLENBQzlCLENBQ3hCLENBQUMsQ0FBQyxDQUFDLENBQ0YsS0FBSyxDQUFDLFlBQVksQ0FBQyxLQUFLLEVBQUUsS0FBSyxDQUFDLENBQ2pDLENBQUE7aUJBQ0Y7WUFDSCxDQUFDLENBQUMsQ0FDQyxDQUNGLENBQ1IsQ0FBQTtBQUNILENBQUMsQ0FBQyxDQUFBO0FBRUYsY0FBYyxDQUFDLFdBQVcsR0FBRyxhQUFhLENBQUMsY0FBYyxDQUFBO0FBRXpELGVBQWUsY0FBYyxDQUFBIn0=
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { AlignableProps } from '../../objects';
|
|
3
|
+
import type { View } from 'react-native';
|
|
2
4
|
import { Clickable } from '../../objects/facets/Clickable';
|
|
3
5
|
import { CommonProps } from '../../objects/facets/CommonProps';
|
|
4
|
-
import { Alignable, AlignableValues } from '../../objects';
|
|
5
6
|
/**
|
|
6
7
|
* SegmentedControl Interface
|
|
7
8
|
*/
|
|
8
9
|
export interface SegmentControlProps extends Clickable, CommonProps {
|
|
9
10
|
children: React.ReactNode;
|
|
10
11
|
activeIndex?: number;
|
|
11
|
-
align?:
|
|
12
|
+
align?: AlignableProps['align'];
|
|
12
13
|
}
|
|
14
|
+
export type SegmentControlRef = HTMLDivElement;
|
|
15
|
+
export type SegmentControlNativeRef = View;
|
|
@@ -27,9 +27,19 @@ export default {
|
|
|
27
27
|
"ALIGNED_CENTER",
|
|
28
28
|
"ALIGNED_START",
|
|
29
29
|
"ALIGNED_END",
|
|
30
|
+
"ALIGNED_STRETCH",
|
|
30
31
|
"ALIGNED_CENTER",
|
|
31
32
|
"ALIGNED_START",
|
|
32
|
-
"ALIGNED_END"
|
|
33
|
+
"ALIGNED_END",
|
|
34
|
+
"ALIGNED_STRETCH",
|
|
35
|
+
"CENTER",
|
|
36
|
+
"START",
|
|
37
|
+
"END",
|
|
38
|
+
"STRETCH",
|
|
39
|
+
"CENTER",
|
|
40
|
+
"START",
|
|
41
|
+
"END",
|
|
42
|
+
"STRETCH"
|
|
33
43
|
]
|
|
34
44
|
},
|
|
35
45
|
"onClick": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SegmentControlItemProps } from './SegmentControlItemProps';
|
|
3
3
|
/**
|
|
4
4
|
* SegmentControl Item Component
|
|
@@ -8,7 +8,7 @@ import { SegmentControlItemProps } from './SegmentControlItemProps';
|
|
|
8
8
|
* @param disabled {boolean} disable onClick on item
|
|
9
9
|
* @param inverted {boolean} invert color of active item
|
|
10
10
|
* - -------------- WEB PROPERTIES ---------------
|
|
11
|
-
* @param className {string}
|
|
11
|
+
* @param className {string} Additional CSS Classes
|
|
12
12
|
*/
|
|
13
|
-
declare const SegmentControlItem:
|
|
13
|
+
declare const SegmentControlItem: React.ForwardRefExoticComponent<SegmentControlItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
export default SegmentControlItem;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { __read } from "tslib";
|
|
2
|
-
import
|
|
1
|
+
import { __assign, __read, __rest } from "tslib";
|
|
2
|
+
import { ComponentName } from '../../../components/enumsComponentsName';
|
|
3
|
+
import { useTrilogyContext } from '../../../context';
|
|
3
4
|
import { hashClass } from '../../../helpers';
|
|
4
5
|
import clsx from 'clsx';
|
|
5
|
-
import {
|
|
6
|
+
import React, { useEffect, useState } from 'react';
|
|
6
7
|
/**
|
|
7
8
|
* SegmentControl Item Component
|
|
8
9
|
* @param active {boolean} active segmentedControl item
|
|
@@ -11,23 +12,24 @@ import { useTrilogyContext } from '../../../context';
|
|
|
11
12
|
* @param disabled {boolean} disable onClick on item
|
|
12
13
|
* @param inverted {boolean} invert color of active item
|
|
13
14
|
* - -------------- WEB PROPERTIES ---------------
|
|
14
|
-
* @param className {string}
|
|
15
|
+
* @param className {string} Additional CSS Classes
|
|
15
16
|
*/
|
|
16
|
-
var SegmentControlItem = function (_a) {
|
|
17
|
-
var active = _a.active, onClick = _a.onClick, disabled = _a.disabled, className = _a.className, id = _a.id, children = _a.children;
|
|
17
|
+
var SegmentControlItem = React.forwardRef(function (_a, ref) {
|
|
18
|
+
var active = _a.active, onClick = _a.onClick, disabled = _a.disabled, className = _a.className, id = _a.id, children = _a.children, others = __rest(_a, ["active", "onClick", "disabled", "className", "id", "children"]);
|
|
18
19
|
var _b = __read(useState(active || false), 2), activeItem = _b[0], setActiveItem = _b[1];
|
|
19
20
|
var styled = useTrilogyContext().styled;
|
|
20
21
|
useEffect(function () {
|
|
21
22
|
setActiveItem(active || false);
|
|
22
23
|
}, [active]);
|
|
23
|
-
return (React.createElement("button", { id: id, disabled: disabled, className: hashClass(styled, clsx('segmented-control-item', className, { 'is-active': activeItem })), onClick: function (e) {
|
|
24
|
+
return (React.createElement("button", __assign({ type: 'button', ref: ref, id: id, disabled: disabled, className: hashClass(styled, clsx('segmented-control-item', className, { 'is-active': activeItem })), onClick: function (e) {
|
|
24
25
|
var target = e.target;
|
|
25
26
|
setActiveItem(active || false);
|
|
26
27
|
target.active = active;
|
|
27
28
|
if (onClick) {
|
|
28
29
|
onClick(e);
|
|
29
30
|
}
|
|
30
|
-
} }, children));
|
|
31
|
-
};
|
|
31
|
+
} }, others), children));
|
|
32
|
+
});
|
|
33
|
+
SegmentControlItem.displayName = ComponentName.SegmentControlItem;
|
|
32
34
|
export default SegmentControlItem;
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VnbWVudENvbnRyb2xJdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vY29tcG9uZW50cy9zZWdtZW50LWNvbnRyb2wvaXRlbS9TZWdtZW50Q29udHJvbEl0ZW0udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFDaEUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sV0FBVyxDQUFBO0FBQzdDLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFDckMsT0FBTyxJQUFJLE1BQU0sTUFBTSxDQUFBO0FBQ3ZCLE9BQU8sS0FBSyxFQUFFLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLE9BQU8sQ0FBQTtBQUdsRDs7Ozs7Ozs7O0dBU0c7QUFDSCxJQUFNLGtCQUFrQixHQUFHLEtBQUssQ0FBQyxVQUFVLENBQ3pDLFVBQUMsRUFBaUUsRUFBRSxHQUFHO0lBQXBFLElBQUEsTUFBTSxZQUFBLEVBQUUsT0FBTyxhQUFBLEVBQUUsUUFBUSxjQUFBLE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LENBQUE7QUFFRCxrQkFBa0IsQ0FBQyxXQUFXLEdBQUcsYUFBYSxDQUFDLGtCQUFrQixDQUFBO0FBQ2pFLGVBQWUsa0JBQWtCLENBQUEifQ==
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TouchableOpacity } from 'react-native';
|
|
2
3
|
import { SegmentControlItemProps } from './SegmentControlItemProps';
|
|
3
|
-
import { ComponentName } from '../../../components/enumsComponentsName';
|
|
4
4
|
/**
|
|
5
5
|
* SegmentControlItem Item Component
|
|
6
6
|
* @param active {boolean} active Segment Control item
|
|
@@ -9,8 +9,5 @@ import { ComponentName } from '../../../components/enumsComponentsName';
|
|
|
9
9
|
* @param disabled {boolean} disable onClick on item
|
|
10
10
|
* @param inverted {boolean} invert color of active item
|
|
11
11
|
*/
|
|
12
|
-
declare const SegmentControlItem:
|
|
13
|
-
({ active, children, onClick, disabled, ...others }: SegmentControlItemProps): JSX.Element;
|
|
14
|
-
displayName: ComponentName;
|
|
15
|
-
};
|
|
12
|
+
declare const SegmentControlItem: React.ForwardRefExoticComponent<SegmentControlItemProps & React.RefAttributes<TouchableOpacity>>;
|
|
16
13
|
export default SegmentControlItem;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __assign, __read, __rest } from "tslib";
|
|
2
|
+
import { ComponentName } from '../../../components/enumsComponentsName';
|
|
3
|
+
import { getColorStyle, TrilogyColor } from '../../../objects/facets/Color';
|
|
2
4
|
import React, { useEffect, useState } from 'react';
|
|
3
5
|
import { StyleSheet, Text, TouchableOpacity } from 'react-native';
|
|
4
|
-
import { getColorStyle, TrilogyColor } from '../../../objects/facets/Color';
|
|
5
|
-
import { ComponentName } from '../../../components/enumsComponentsName';
|
|
6
6
|
/**
|
|
7
7
|
* SegmentControlItem Item Component
|
|
8
8
|
* @param active {boolean} active Segment Control item
|
|
@@ -11,7 +11,7 @@ import { ComponentName } from '../../../components/enumsComponentsName';
|
|
|
11
11
|
* @param disabled {boolean} disable onClick on item
|
|
12
12
|
* @param inverted {boolean} invert color of active item
|
|
13
13
|
*/
|
|
14
|
-
var SegmentControlItem = function (_a) {
|
|
14
|
+
var SegmentControlItem = React.forwardRef(function (_a, ref) {
|
|
15
15
|
var active = _a.active, children = _a.children, onClick = _a.onClick, disabled = _a.disabled, others = __rest(_a, ["active", "children", "onClick", "disabled"]);
|
|
16
16
|
var _b = __read(useState(active || false), 2), activeItem = _b[0], setActiveItem = _b[1];
|
|
17
17
|
var styles = StyleSheet.create({
|
|
@@ -23,14 +23,14 @@ var SegmentControlItem = function (_a) {
|
|
|
23
23
|
alignItems: 'center',
|
|
24
24
|
backgroundColor: (activeItem && getColorStyle(TrilogyColor.MAIN)) ||
|
|
25
25
|
(disabled && getColorStyle(TrilogyColor.DISABLED_FADE)) ||
|
|
26
|
-
getColorStyle(TrilogyColor.
|
|
26
|
+
getColorStyle(TrilogyColor.BACKGROUND),
|
|
27
27
|
},
|
|
28
28
|
text: {
|
|
29
|
-
paddingHorizontal:
|
|
29
|
+
paddingHorizontal: 10,
|
|
30
30
|
color: (activeItem && getColorStyle(TrilogyColor.BACKGROUND)) ||
|
|
31
31
|
(!activeItem && disabled && getColorStyle(TrilogyColor.DISABLED)) ||
|
|
32
32
|
getColorStyle(TrilogyColor.MAIN),
|
|
33
|
-
marginVertical:
|
|
33
|
+
marginVertical: 12,
|
|
34
34
|
fontSize: 16,
|
|
35
35
|
textAlign: 'center',
|
|
36
36
|
textAlignVertical: 'center',
|
|
@@ -40,7 +40,7 @@ var SegmentControlItem = function (_a) {
|
|
|
40
40
|
useEffect(function () {
|
|
41
41
|
setActiveItem(active || false);
|
|
42
42
|
}, [active]);
|
|
43
|
-
return (React.createElement(TouchableOpacity, __assign({ disabled: disabled, style: [styles.tabsItem], onPress: function (e) {
|
|
43
|
+
return (React.createElement(TouchableOpacity, __assign({ ref: ref, disabled: disabled, style: [styles.tabsItem], onPress: function (e) {
|
|
44
44
|
if (!disabled) {
|
|
45
45
|
setActiveItem(active || false);
|
|
46
46
|
if (onClick) {
|
|
@@ -48,7 +48,7 @@ var SegmentControlItem = function (_a) {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
} }, others), children && typeof children.valueOf() === 'string' && (React.createElement(Text, { style: styles.text, ellipsizeMode: 'tail', numberOfLines: 1 }, String(children)))));
|
|
51
|
-
};
|
|
51
|
+
});
|
|
52
52
|
SegmentControlItem.displayName = ComponentName.SegmentControlItem;
|
|
53
53
|
export default SegmentControlItem;
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VnbWVudENvbnRyb2xJdGVtLm5hdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvc2VnbWVudC1jb250cm9sL2l0ZW0vU2VnbWVudENvbnRyb2xJdGVtLm5hdGl2ZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQTtBQUNoRSxPQUFPLEVBQUUsYUFBYSxFQUFFLFlBQVksRUFBRSxNQUFNLHdCQUF3QixDQUFBO0FBQ3BFLE9BQU8sS0FBSyxFQUFFLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLE9BQU8sQ0FBQTtBQUNsRCxPQUFPLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUdqRTs7Ozs7OztHQU9HO0FBQ0gsSUFBTSxrQkFBa0IsR0FBRyxLQUFLLENBQUMsVUFBVSxDQUF1RCxVQUFDLEVBTWxHLEVBQUUsR0FBRztJQUxKLElBQUEsTUFBTSxZQUFBLEVBQ04sUUFBUSxjQUFBLEVBQ1IsT0FBTy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import type { TouchableOpacity } from 'react-native';
|
|
2
3
|
import { Clickable } from '../../../objects';
|
|
3
4
|
import { CommonProps } from '../../../objects/facets/CommonProps';
|
|
4
5
|
/**
|
|
@@ -9,3 +10,5 @@ export interface SegmentControlItemProps extends Clickable, CommonProps {
|
|
|
9
10
|
active?: boolean;
|
|
10
11
|
disabled?: boolean;
|
|
11
12
|
}
|
|
13
|
+
export type SegmentControlItemRef = HTMLButtonElement;
|
|
14
|
+
export type SegmentControlItemNativeRef = TouchableOpacity;
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"onFocus": {
|
|
3
|
+
"type": "function",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"ParamEventSelectFocus) => void"
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
"onBlur": {
|
|
10
|
+
"type": "function",
|
|
11
|
+
"values": [
|
|
12
|
+
"undefined",
|
|
13
|
+
"FocusEventHandler<HTMLSelectElement>",
|
|
14
|
+
"(event: unknown) => void"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"label": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"values": [
|
|
20
|
+
"undefined",
|
|
21
|
+
"string"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"children": {
|
|
25
|
+
"type": "react",
|
|
26
|
+
"values": [
|
|
27
|
+
"undefined",
|
|
28
|
+
"null",
|
|
29
|
+
"string",
|
|
30
|
+
"number",
|
|
31
|
+
"false",
|
|
32
|
+
"true",
|
|
33
|
+
"JSXElementConstructor<any>>",
|
|
34
|
+
"ReactNode>",
|
|
35
|
+
"ReactPortal"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"disabled": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"values": [
|
|
41
|
+
"undefined",
|
|
42
|
+
"false",
|
|
43
|
+
"true"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"iconName": {
|
|
47
|
+
"type": "enum",
|
|
48
|
+
"values": [
|
|
49
|
+
"undefined",
|
|
50
|
+
"tri-alert",
|
|
51
|
+
"tri-arrow-down",
|
|
52
|
+
"tri-arrow-left",
|
|
53
|
+
"tri-arrow-right",
|
|
54
|
+
"tri-arrow-up",
|
|
55
|
+
"tri-bell",
|
|
56
|
+
"tri-calendar",
|
|
57
|
+
"tri-check-circle",
|
|
58
|
+
"tri-check",
|
|
59
|
+
"tri-exclamation-circle",
|
|
60
|
+
"tri-eye-slash",
|
|
61
|
+
"tri-eye",
|
|
62
|
+
"tri-file-attached",
|
|
63
|
+
"tri-infos-circle",
|
|
64
|
+
"tri-micro",
|
|
65
|
+
"tri-search",
|
|
66
|
+
"tri-times",
|
|
67
|
+
"tri-trash",
|
|
68
|
+
"tri-picto-faciliti",
|
|
69
|
+
"tri-picto-handicapzero",
|
|
70
|
+
"tri-picto-la-fibre",
|
|
71
|
+
"tri-picto-payment-americanexpress",
|
|
72
|
+
"tri-picto-payment-cb",
|
|
73
|
+
"tri-picto-payment-mastercard",
|
|
74
|
+
"tri-picto-payment-paypal",
|
|
75
|
+
"tri-picto-payment-visa",
|
|
76
|
+
"tri-paperclip",
|
|
77
|
+
"tri-alert",
|
|
78
|
+
"tri-arrow-down",
|
|
79
|
+
"tri-arrow-left",
|
|
80
|
+
"tri-arrow-right",
|
|
81
|
+
"tri-arrow-up",
|
|
82
|
+
"tri-bell",
|
|
83
|
+
"tri-calendar",
|
|
84
|
+
"tri-check-circle",
|
|
85
|
+
"tri-check",
|
|
86
|
+
"tri-exclamation-circle",
|
|
87
|
+
"tri-eye-slash",
|
|
88
|
+
"tri-eye",
|
|
89
|
+
"tri-file-attached",
|
|
90
|
+
"tri-infos-circle",
|
|
91
|
+
"tri-micro",
|
|
92
|
+
"tri-search",
|
|
93
|
+
"tri-times",
|
|
94
|
+
"tri-trash",
|
|
95
|
+
"tri-picto-faciliti",
|
|
96
|
+
"tri-picto-handicapzero",
|
|
97
|
+
"tri-picto-la-fibre",
|
|
98
|
+
"tri-picto-payment-americanexpress",
|
|
99
|
+
"tri-picto-payment-cb",
|
|
100
|
+
"tri-picto-payment-mastercard",
|
|
101
|
+
"tri-picto-payment-paypal",
|
|
102
|
+
"tri-picto-payment-visa",
|
|
103
|
+
"tri-paperclip"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"selected": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"values": [
|
|
109
|
+
"undefined",
|
|
110
|
+
"string",
|
|
111
|
+
"number",
|
|
112
|
+
"string[]"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"name": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"values": [
|
|
118
|
+
"undefined",
|
|
119
|
+
"string"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"multiple": {
|
|
123
|
+
"type": "boolean",
|
|
124
|
+
"values": [
|
|
125
|
+
"undefined",
|
|
126
|
+
"false",
|
|
127
|
+
"true"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"placeholder": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"values": [
|
|
133
|
+
"undefined",
|
|
134
|
+
"string"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"custom": {
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"values": [
|
|
140
|
+
"undefined",
|
|
141
|
+
"false",
|
|
142
|
+
"true"
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
"status": {
|
|
146
|
+
"type": "enum",
|
|
147
|
+
"values": [
|
|
148
|
+
"undefined",
|
|
149
|
+
"success",
|
|
150
|
+
"error",
|
|
151
|
+
"success",
|
|
152
|
+
"error"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"required": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"values": [
|
|
158
|
+
"undefined",
|
|
159
|
+
"false",
|
|
160
|
+
"true"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"sample": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"values": [
|
|
166
|
+
"undefined",
|
|
167
|
+
"string"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"help": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"values": [
|
|
173
|
+
"undefined",
|
|
174
|
+
"string"
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
};
|
|
@@ -1,11 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
import { SelectProps } from './SelectProps';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SelectProps, SelectRef } from './SelectProps';
|
|
3
3
|
/**
|
|
4
4
|
* Select Component
|
|
5
|
+
* @param id {string} Select id
|
|
6
|
+
* @param name {string} Select name
|
|
7
|
+
* @param selected {string} Selected value
|
|
5
8
|
* @param children {React.ReactNode} Children for Select
|
|
9
|
+
* @param label {string} label for select
|
|
10
|
+
* @param iconName {IconName} icon for left of selector
|
|
11
|
+
* @param onChange {Function} onChange Event
|
|
12
|
+
* @param disabled {boolean} disable Select
|
|
13
|
+
* @param multiple {boolean} select multiple options
|
|
14
|
+
* @param nullable {boolean} Unselect Select Option Item
|
|
15
|
+
* @param status {InputStatus} Select with status - (SUCCESS|WARNING|ERROR|DEFAULT)
|
|
16
|
+
* @param help {string} Help for select
|
|
17
|
+
* @param sample {string} Sample for select (below label)
|
|
6
18
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
7
|
-
* @param
|
|
8
|
-
*
|
|
19
|
+
* @param className {string} Additional CSS Classes
|
|
20
|
+
* @param accessibilityLabel {string} Accessibility label
|
|
21
|
+
* @param onFocus {Function} OnFocus Select Event
|
|
22
|
+
* @param onBlur {Function} onBlur Select Event
|
|
23
|
+
* @param custom {boolean} Display native-old select web
|
|
9
24
|
*/
|
|
10
|
-
declare const Select: (
|
|
25
|
+
declare const Select: React.ForwardRefExoticComponent<SelectProps<import("./SelectProps").SelectChangeEvent> & React.RefAttributes<SelectRef>>;
|
|
11
26
|
export default Select;
|
|
@@ -1,18 +1,55 @@
|
|
|
1
|
-
import { __assign, __rest } from "tslib";
|
|
1
|
+
import { __assign, __read, __rest } from "tslib";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { ComponentName } from '../enumsComponentsName';
|
|
4
|
+
import { SelectContext } from './context';
|
|
3
5
|
import { SelectDynamic, SelectNative } from './web';
|
|
4
6
|
/**
|
|
5
7
|
* Select Component
|
|
8
|
+
* @param id {string} Select id
|
|
9
|
+
* @param name {string} Select name
|
|
10
|
+
* @param selected {string} Selected value
|
|
6
11
|
* @param children {React.ReactNode} Children for Select
|
|
12
|
+
* @param label {string} label for select
|
|
13
|
+
* @param iconName {IconName} icon for left of selector
|
|
14
|
+
* @param onChange {Function} onChange Event
|
|
15
|
+
* @param disabled {boolean} disable Select
|
|
16
|
+
* @param multiple {boolean} select multiple options
|
|
17
|
+
* @param nullable {boolean} Unselect Select Option Item
|
|
18
|
+
* @param status {InputStatus} Select with status - (SUCCESS|WARNING|ERROR|DEFAULT)
|
|
19
|
+
* @param help {string} Help for select
|
|
20
|
+
* @param sample {string} Sample for select (below label)
|
|
7
21
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
8
|
-
* @param
|
|
9
|
-
*
|
|
22
|
+
* @param className {string} Additional CSS Classes
|
|
23
|
+
* @param accessibilityLabel {string} Accessibility label
|
|
24
|
+
* @param onFocus {Function} OnFocus Select Event
|
|
25
|
+
* @param onBlur {Function} onBlur Select Event
|
|
26
|
+
* @param custom {boolean} Display native-old select web
|
|
10
27
|
*/
|
|
11
|
-
var Select = function (_a) {
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
28
|
+
var Select = React.forwardRef(function (_a, ref) {
|
|
29
|
+
var selected = _a.selected, props = __rest(_a, ["selected"]);
|
|
30
|
+
var _b = __read(React.useState(false), 2), isVisibleOptions = _b[0], setIsVisibleOptions = _b[1];
|
|
31
|
+
var _c = __read(React.useState([]), 2), selectedOptionValues = _c[0], setSelectedOptionValues = _c[1];
|
|
32
|
+
React.useEffect(function () {
|
|
33
|
+
var value = typeof selected === 'string' || typeof selected === 'number'
|
|
34
|
+
? [selected]
|
|
35
|
+
: !selected || selected === null
|
|
36
|
+
? []
|
|
37
|
+
: selected;
|
|
38
|
+
setSelectedOptionValues(value);
|
|
39
|
+
}, [selected]);
|
|
40
|
+
if (props.custom || props.multiple)
|
|
41
|
+
return (React.createElement(SelectContext.Provider, { value: {
|
|
42
|
+
custom: props.custom || false,
|
|
43
|
+
multiple: props.multiple || false,
|
|
44
|
+
selectedOptionValues: selectedOptionValues,
|
|
45
|
+
isVisibleOptions: isVisibleOptions,
|
|
46
|
+
setSelectedOptionValues: setSelectedOptionValues,
|
|
47
|
+
setIsVisibleOptions: setIsVisibleOptions,
|
|
48
|
+
onChange: props.onChange,
|
|
49
|
+
} },
|
|
50
|
+
React.createElement(SelectDynamic, __assign({ ref: ref, selected: selected }, props))));
|
|
51
|
+
return React.createElement(SelectNative, __assign({ ref: ref, selected: selected }, props));
|
|
52
|
+
});
|
|
53
|
+
Select.displayName = ComponentName.Select;
|
|
17
54
|
export default Select;
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VsZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vY29tcG9uZW50cy9zZWxlY3QvU2VsZWN0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxLQUFLLEtBQUssTUFBTSxPQUFPLENBQUE7QUFFOUIsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFBO0FBQ3RELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFFekMsT0FBTyxFQUFFLGFBQWEsRUFBRSxZQUFZLEVBQUUsTUFBT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