@trilogy-ds/react 4.16.3 → 4.18.0-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/accordion/Accordion.d.ts +6 -4
- package/lib/components/accordion/Accordion.js +7 -5
- package/lib/components/accordion/Accordion.native.d.ts +4 -1
- package/lib/components/accordion/Accordion.native.js +7 -4
- package/lib/components/accordion/item/AccordionItem.d.ts +5 -2
- package/lib/components/accordion/item/AccordionItem.js +6 -3
- package/lib/components/accordion/item/AccordionItem.native.d.ts +3 -1
- package/lib/components/accordion/item/AccordionItem.native.js +7 -5
- package/lib/components/accordion/item/body/AccordionBody.d.ts +2 -1
- package/lib/components/accordion/item/body/AccordionBody.js +5 -4
- package/lib/components/accordion/item/body/AccordionBody.native.d.ts +2 -0
- package/lib/components/accordion/item/body/AccordionBody.native.js +3 -1
- package/lib/components/accordion/item/header/AccordionHeader.d.ts +4 -3
- package/lib/components/accordion/item/header/AccordionHeader.js +5 -4
- package/lib/components/accordion/item/header/AccordionHeader.native.d.ts +3 -1
- package/lib/components/accordion/item/header/AccordionHeader.native.js +4 -2
- package/lib/components/alert/Alert.native.d.ts +3 -3
- package/lib/components/alert/Alert.native.js +3 -3
- package/lib/components/alert/ToasterDocs.d.ts +21 -0
- package/lib/components/alert/ToasterDocs.js +8 -0
- package/lib/components/autocomplete/AutoComplete.d.ts +12 -12
- package/lib/components/autocomplete/AutoComplete.js +12 -12
- package/lib/components/autocomplete/AutoComplete.native.d.ts +10 -10
- package/lib/components/autocomplete/AutoComplete.native.js +10 -10
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +21 -21
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +21 -21
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +7 -1
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +11 -5
- package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +7 -2
- package/lib/components/autocomplete/item/AutoCompleteItem.js +8 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +5 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +6 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +8 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +9 -1
- package/lib/components/autolayout/AutoLayout.d.ts +7 -1
- package/lib/components/autolayout/AutoLayout.js +8 -2
- package/lib/components/autolayout/AutoLayout.native.d.ts +6 -6
- package/lib/components/autolayout/AutoLayout.native.js +6 -6
- package/lib/components/badge/Badge.d.ts +7 -6
- package/lib/components/badge/Badge.js +8 -7
- package/lib/components/badge/Badge.native.d.ts +6 -7
- package/lib/components/badge/Badge.native.js +7 -8
- package/lib/components/badge/BadgePropsDefaults.js +2 -2
- package/lib/components/box/Box.d.ts +9 -7
- package/lib/components/box/Box.js +12 -9
- package/lib/components/box/Box.native.d.ts +8 -9
- package/lib/components/box/Box.native.js +27 -18
- package/lib/components/box/BoxPropsDefaults.js +20 -12
- package/lib/components/box/content/BoxContent.d.ts +2 -1
- package/lib/components/box/content/BoxContent.js +3 -2
- package/lib/components/box/content/BoxContent.native.d.ts +4 -2
- package/lib/components/box/content/BoxContent.native.js +16 -7
- package/lib/components/box/content/BoxContentPropsDefaults.js +10 -6
- package/lib/components/box/context/boxContext.d.ts +10 -2
- package/lib/components/box/context/boxContext.js +13 -2
- package/lib/components/box/footer/BoxFooter.d.ts +2 -1
- package/lib/components/box/footer/BoxFooter.js +3 -2
- package/lib/components/box/footer/BoxFooter.native.d.ts +3 -1
- package/lib/components/box/footer/BoxFooter.native.js +10 -5
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +10 -6
- package/lib/components/box/header/BoxHeader.d.ts +3 -3
- package/lib/components/box/header/BoxHeader.js +3 -3
- package/lib/components/box/header/BoxHeader.native.d.ts +2 -0
- package/lib/components/box/header/BoxHeader.native.js +10 -4
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +16 -12
- package/lib/components/box/item/BoxItem.d.ts +2 -0
- package/lib/components/box/item/BoxItem.js +3 -1
- package/lib/components/box/item/BoxItem.native.d.ts +4 -2
- package/lib/components/box/item/BoxItem.native.js +7 -5
- package/lib/components/box/table-container/BoxTableContainer.d.ts +1 -1
- package/lib/components/box/table-container/BoxTableContainer.js +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +2 -1
- package/lib/components/box/table-container/BoxTableContainer.native.js +5 -4
- package/lib/components/breadcrumb/Breadcrumb.d.ts +1 -0
- package/lib/components/breadcrumb/Breadcrumb.js +2 -1
- package/lib/components/breadcrumb/Breadcrumb.native.d.ts +2 -1
- package/lib/components/breadcrumb/Breadcrumb.native.js +3 -2
- package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +1 -2
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +2 -3
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +2 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +3 -2
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +21 -21
- package/lib/components/button/Button.d.ts +6 -7
- package/lib/components/button/Button.js +7 -8
- package/lib/components/button/Button.native.d.ts +7 -7
- package/lib/components/button/Button.native.js +10 -10
- package/lib/components/button/ButtonPropsDefaults.js +22 -22
- package/lib/components/button/list/ButtonList.d.ts +5 -3
- package/lib/components/button/list/ButtonList.js +6 -4
- package/lib/components/button/list/ButtonList.native.d.ts +3 -1
- package/lib/components/button/list/ButtonList.native.js +6 -4
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +3 -3
- package/lib/components/calendar/Calendar.d.ts +9 -6
- package/lib/components/calendar/Calendar.js +12 -9
- package/lib/components/calendar/Calendar.native.d.ts +8 -7
- package/lib/components/calendar/Calendar.native.js +270 -267
- package/lib/components/calendar/CalendarProps.d.ts +2 -1
- package/lib/components/calendar/CalendarPropsDefaults.js +7 -0
- package/lib/components/card/Card.d.ts +6 -2
- package/lib/components/card/Card.js +7 -3
- package/lib/components/card/Card.native.d.ts +7 -7
- package/lib/components/card/Card.native.js +9 -9
- package/lib/components/card/content/CardContent.d.ts +2 -1
- package/lib/components/card/content/CardContent.js +3 -2
- package/lib/components/card/content/CardContent.native.d.ts +3 -1
- package/lib/components/card/content/CardContent.native.js +6 -4
- package/lib/components/card/image/CardImage.d.ts +2 -0
- package/lib/components/card/image/CardImage.js +3 -1
- package/lib/components/card/image/CardImage.native.d.ts +3 -2
- package/lib/components/card/image/CardImage.native.js +4 -3
- package/lib/components/checkbox/Checkbox.d.ts +8 -7
- package/lib/components/checkbox/Checkbox.js +9 -8
- package/lib/components/checkbox/Checkbox.native.d.ts +4 -4
- package/lib/components/checkbox/Checkbox.native.js +7 -7
- package/lib/components/checkbox/list/CheckboxList.d.ts +3 -0
- package/lib/components/checkbox/list/CheckboxList.js +4 -1
- package/lib/components/checkbox/list/CheckboxList.native.d.ts +2 -3
- package/lib/components/checkbox/list/CheckboxList.native.js +3 -4
- package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +3 -3
- package/lib/components/checkbox/tiles/CheckboxTiles.d.ts +4 -1
- package/lib/components/checkbox/tiles/CheckboxTiles.js +5 -2
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.ts +10 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +13 -3
- package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +8 -8
- package/lib/components/checkbox/tiles/tile/CheckboxTile.d.ts +16 -13
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +17 -14
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +18 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +22 -4
- package/lib/components/checkbox/tiles/tile/CheckboxTilePropsDefaults.js +1 -1
- package/lib/components/chips/Chips.d.ts +3 -4
- package/lib/components/chips/Chips.js +4 -5
- package/lib/components/chips/Chips.native.d.ts +1 -0
- package/lib/components/chips/Chips.native.js +4 -3
- package/lib/components/chips/list/ChipsList.d.ts +5 -3
- package/lib/components/chips/list/ChipsList.js +6 -4
- package/lib/components/chips/list/ChipsList.native.d.ts +2 -0
- package/lib/components/chips/list/ChipsList.native.js +5 -3
- package/lib/components/columns/Columns.d.ts +7 -3
- package/lib/components/columns/Columns.js +8 -4
- package/lib/components/columns/Columns.native.d.ts +9 -4
- package/lib/components/columns/Columns.native.js +12 -7
- package/lib/components/columns/ColumnsPropsDefaults.js +6 -6
- package/lib/components/columns/column/Column.d.ts +4 -4
- package/lib/components/columns/column/Column.js +5 -5
- package/lib/components/columns/column/Column.native.d.ts +4 -4
- package/lib/components/columns/column/Column.native.js +4 -4
- package/lib/components/columns/column/ColumnPropsDefaults.js +20 -20
- package/lib/components/container/Container.d.ts +5 -4
- package/lib/components/container/Container.js +7 -6
- package/lib/components/container/Container.native.d.ts +3 -1
- package/lib/components/container/Container.native.js +6 -4
- package/lib/components/countdown/Countdown.d.ts +5 -6
- package/lib/components/countdown/Countdown.js +15 -16
- package/lib/components/countdown/Countdown.native.d.ts +5 -5
- package/lib/components/countdown/Countdown.native.js +44 -38
- package/lib/components/datepicker/DatePicker.d.ts +14 -13
- package/lib/components/datepicker/DatePicker.js +15 -14
- package/lib/components/datepicker/DatePicker.native.d.ts +12 -10
- package/lib/components/datepicker/DatePicker.native.js +13 -11
- package/lib/components/datepicker/DatePickerPropsDefaults.js +1 -1
- package/lib/components/divider/Divider.d.ts +6 -5
- package/lib/components/divider/Divider.js +7 -6
- package/lib/components/divider/Divider.native.d.ts +5 -5
- package/lib/components/divider/Divider.native.js +9 -9
- package/lib/components/dropdown/Dropdown.d.ts +4 -3
- package/lib/components/dropdown/Dropdown.js +5 -4
- package/lib/components/dropdown/group/DropdownGroup.d.ts +1 -0
- package/lib/components/dropdown/group/DropdownGroup.js +3 -2
- package/lib/components/fab/Fab.d.ts +15 -13
- package/lib/components/fab/Fab.js +16 -14
- package/lib/components/fab/Fab.native.d.ts +12 -10
- package/lib/components/fab/Fab.native.js +13 -11
- package/lib/components/flex-box/FlexBox.d.ts +15 -10
- package/lib/components/flex-box/FlexBox.js +16 -11
- package/lib/components/flex-box/FlexBox.native.d.ts +14 -0
- package/lib/components/flex-box/FlexBox.native.js +18 -4
- package/lib/components/flex-box/FlexBoxPropsDefaults.js +3 -3
- package/lib/components/flex-box/flex-item/FlexItem.d.ts +4 -17
- package/lib/components/flex-box/flex-item/FlexItem.js +5 -18
- package/lib/components/flex-box/flex-item/FlexItem.native.d.ts +3 -18
- package/lib/components/flex-box/flex-item/FlexItem.native.js +6 -21
- package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +7 -7
- package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +6 -6
- package/lib/components/hero/Hero.d.ts +4 -4
- package/lib/components/hero/Hero.js +4 -4
- package/lib/components/hero/Hero.native.d.ts +5 -6
- package/lib/components/hero/Hero.native.js +9 -10
- package/lib/components/hero/HeroPropsDefaults.js +10 -6
- package/lib/components/icon/Icon.d.ts +9 -9
- package/lib/components/icon/Icon.js +10 -10
- package/lib/components/icon/Icon.native.d.ts +7 -11
- package/lib/components/icon/Icon.native.js +10 -14
- package/lib/components/icon/IconPropsDefaults.js +10 -6
- package/lib/components/image/Image.d.ts +9 -7
- package/lib/components/image/Image.js +10 -8
- package/lib/components/image/Image.native.d.ts +4 -4
- package/lib/components/image/Image.native.js +7 -7
- package/lib/components/image/ImagePropsDefaults.js +6 -6
- package/lib/components/input/Input.d.ts +16 -14
- package/lib/components/input/Input.js +18 -16
- package/lib/components/input/Input.native.d.ts +21 -17
- package/lib/components/input/Input.native.js +22 -18
- package/lib/components/input/InputChangeEventWebDefaults.js +2 -2
- package/lib/components/input/InputPropsDefaults.js +21 -21
- package/lib/components/link/Link.d.ts +10 -12
- package/lib/components/link/Link.js +11 -13
- package/lib/components/link/Link.native.d.ts +6 -7
- package/lib/components/link/Link.native.js +7 -8
- package/lib/components/link/LinkDefaults.js +21 -21
- package/lib/components/link/LinkPropsDefaults.js +31 -31
- package/lib/components/link/LinkPropsNativeDefaults.js +29 -29
- package/lib/components/list/List.d.ts +6 -3
- package/lib/components/list/List.js +7 -4
- package/lib/components/list/List.native.d.ts +5 -3
- package/lib/components/list/List.native.js +6 -4
- package/lib/components/list/item/ListItem.d.ts +4 -1
- package/lib/components/list/item/ListItem.js +5 -2
- package/lib/components/list/item/ListItem.native.d.ts +1 -0
- package/lib/components/list/item/ListItem.native.js +4 -3
- package/lib/components/list/item/description/ListItemDescription.d.ts +1 -0
- package/lib/components/list/item/description/ListItemDescription.js +2 -1
- package/lib/components/modal/Modal.d.ts +10 -4
- package/lib/components/modal/Modal.js +11 -5
- package/lib/components/modal/Modal.native.d.ts +9 -6
- package/lib/components/modal/Modal.native.js +100 -36
- package/lib/components/modal/body/ModalBody.d.ts +3 -2
- package/lib/components/modal/body/ModalBody.js +4 -3
- package/lib/components/modal/body/ModalBody.native.d.ts +3 -2
- package/lib/components/modal/body/ModalBody.native.js +6 -5
- package/lib/components/modal/footer/ModalFooter.d.ts +2 -1
- package/lib/components/modal/footer/ModalFooter.js +3 -2
- package/lib/components/modal/footer/ModalFooter.native.d.ts +2 -0
- package/lib/components/modal/footer/ModalFooter.native.js +5 -3
- package/lib/components/otp/Otp.d.ts +6 -2
- package/lib/components/otp/Otp.js +7 -3
- package/lib/components/otp/Otp.native.d.ts +4 -2
- package/lib/components/otp/Otp.native.js +7 -5
- package/lib/components/pagination/Pagination.d.ts +6 -5
- package/lib/components/pagination/Pagination.js +7 -6
- package/lib/components/pagination/Pagination.native.d.ts +4 -3
- package/lib/components/pagination/Pagination.native.js +7 -6
- package/lib/components/popover/Popover.d.ts +2 -3
- package/lib/components/popover/Popover.js +3 -4
- package/lib/components/popover/Popover.native.d.ts +1 -2
- package/lib/components/popover/Popover.native.js +2 -3
- package/lib/components/popover/PopoverPropsDefaults.js +1 -1
- package/lib/components/popover/PopoverWebPropsDefaults.js +1 -1
- package/lib/components/price/Price.d.ts +10 -10
- package/lib/components/price/Price.js +10 -10
- package/lib/components/price/Price.native.d.ts +11 -11
- package/lib/components/price/Price.native.js +23 -14
- package/lib/components/price/PricePropsDefaults.js +6 -6
- package/lib/components/product-tour/ProductTour.d.ts +2 -2
- package/lib/components/product-tour/ProductTour.js +2 -2
- package/lib/components/product-tour/ProductTourPropsDefaults.js +2 -2
- package/lib/components/product-tour/ProductTourWebPropsDefaults.js +2 -2
- package/lib/components/progress/Progress.d.ts +13 -5
- package/lib/components/progress/Progress.js +29 -16
- package/lib/components/progress/Progress.native.d.ts +10 -6
- package/lib/components/progress/Progress.native.js +11 -7
- package/lib/components/progress/item/ProgressItem.d.ts +5 -3
- package/lib/components/progress/item/ProgressItem.js +6 -4
- package/lib/components/progress/item/ProgressItem.native.d.ts +2 -4
- package/lib/components/progress/item/ProgressItem.native.js +3 -5
- package/lib/components/progress/radial/ProgressRadial.d.ts +5 -3
- package/lib/components/progress/radial/ProgressRadial.js +8 -6
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +10 -6
- package/lib/components/progress/radial/ProgressRadial.native.js +11 -7
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +26 -18
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +3 -1
- package/lib/components/progress/radial/item/ProgressRadialtem.d.ts +6 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.js +7 -1
- package/lib/components/prompt/Prompt.d.ts +7 -5
- package/lib/components/prompt/Prompt.js +8 -6
- package/lib/components/prompt/Prompt.native.d.ts +8 -0
- package/lib/components/prompt/Prompt.native.js +9 -1
- package/lib/components/prompt/files/PromptFiles.js +2 -2
- package/lib/components/prompt/files/file/PromptFile.js +2 -2
- package/lib/components/prompt/textarea/PromptTextarea.d.ts +3 -3
- package/lib/components/prompt/textarea/PromptTextarea.js +3 -3
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.d.ts +2 -3
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.js +3 -4
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.d.ts +7 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.js +8 -1
- package/lib/components/prompt/toolbar/submit/PromptSubmit.d.ts +2 -2
- package/lib/components/prompt/toolbar/submit/PromptSubmit.js +2 -2
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.d.ts +8 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.js +9 -1
- package/lib/components/radio/Radio.d.ts +7 -6
- package/lib/components/radio/Radio.js +8 -7
- package/lib/components/radio/Radio.native.d.ts +5 -5
- package/lib/components/radio/Radio.native.js +5 -5
- package/lib/components/radio/list/RadioList.d.ts +5 -2
- package/lib/components/radio/list/RadioList.js +9 -6
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +3 -3
- package/lib/components/radio/tiles/RadioTiles.d.ts +1 -0
- package/lib/components/radio/tiles/RadioTiles.js +2 -1
- package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +8 -8
- package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +1 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.js +2 -1
- package/lib/components/radio/tiles/tile/RadioTileNativePropsDefaults.js +1 -1
- package/lib/components/radio/tiles/tile/RadioTilePropsCommonDefaults.js +1 -1
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +1 -1
- package/lib/components/range/Range.d.ts +18 -18
- package/lib/components/range/Range.js +20 -21
- package/lib/components/range/Range.native.d.ts +7 -8
- package/lib/components/range/Range.native.js +8 -9
- package/lib/components/rows/Rows.d.ts +4 -1
- package/lib/components/rows/Rows.js +8 -5
- package/lib/components/rows/row/Row.d.ts +2 -0
- package/lib/components/rows/row/Row.js +3 -1
- package/lib/components/scroll-view/ScrollView.d.ts +15 -15
- package/lib/components/scroll-view/ScrollView.js +25 -25
- package/lib/components/scroll-view/ScrollView.native.d.ts +12 -0
- package/lib/components/scroll-view/ScrollView.native.js +13 -1
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +10 -6
- package/lib/components/section/Section.d.ts +8 -7
- package/lib/components/section/Section.js +13 -12
- package/lib/components/section/Section.native.d.ts +5 -4
- package/lib/components/section/Section.native.js +6 -5
- package/lib/components/section/SectionPropsDefaults.js +10 -6
- package/lib/components/segment-control/SegmentControl.d.ts +6 -5
- package/lib/components/segment-control/SegmentControl.js +7 -6
- package/lib/components/segment-control/SegmentControl.native.d.ts +2 -3
- package/lib/components/segment-control/SegmentControl.native.js +3 -4
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +3 -3
- package/lib/components/segment-control/item/SegmentControlItem.d.ts +2 -1
- package/lib/components/segment-control/item/SegmentControlItem.js +3 -2
- package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.js +1 -1
- package/lib/components/select/Select.js +1 -1
- package/lib/components/select/Select.native.d.ts +6 -5
- package/lib/components/select/Select.native.js +7 -6
- package/lib/components/skeleton/Skeleton.d.ts +12 -11
- package/lib/components/skeleton/Skeleton.js +13 -12
- package/lib/components/spacer/Spacer.d.ts +7 -3
- package/lib/components/spacer/Spacer.js +8 -4
- package/lib/components/stepper/Stepper.d.ts +4 -3
- package/lib/components/stepper/Stepper.js +5 -4
- package/lib/components/stepper/Stepper.native.d.ts +0 -1
- package/lib/components/stepper/Stepper.native.js +1 -2
- package/lib/components/stepper/step/Step.d.ts +4 -3
- package/lib/components/stepper/step/Step.js +5 -4
- package/lib/components/sticker/Sticker.d.ts +10 -9
- package/lib/components/sticker/Sticker.js +17 -16
- package/lib/components/sticker/Sticker.native.d.ts +3 -4
- package/lib/components/sticker/Sticker.native.js +4 -5
- package/lib/components/sticker/StickerPropsDefaults.js +1 -1
- package/lib/components/switch/Switch.d.ts +7 -5
- package/lib/components/switch/Switch.js +13 -11
- package/lib/components/switch/Switch.native.d.ts +3 -4
- package/lib/components/switch/Switch.native.js +60 -19
- package/lib/components/table/Table.d.ts +6 -5
- package/lib/components/table/Table.js +12 -11
- package/lib/components/table/body/TableBodyPropsDefaults.js +20 -12
- package/lib/components/table/head/TableHeadPropsDefaults.js +20 -12
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +10 -6
- package/lib/components/tabs/Tabs.d.ts +4 -3
- package/lib/components/tabs/Tabs.js +5 -4
- package/lib/components/tabs/Tabs.native.d.ts +1 -0
- package/lib/components/tabs/Tabs.native.js +2 -1
- package/lib/components/tabs/TabsPropsDefaults.js +6 -6
- package/lib/components/tabs/tab-list/TabList.d.ts +5 -5
- package/lib/components/tabs/tab-list/TabList.js +5 -5
- package/lib/components/tabs/tab-list/TabList.native.d.ts +1 -5
- package/lib/components/tabs/tab-list/TabList.native.js +2 -6
- package/lib/components/tabs/tab-list/TabListPropsDefaults.js +3 -3
- package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +21 -21
- package/lib/components/tabs/tab-panels/TabPanels.d.ts +4 -4
- package/lib/components/tabs/tab-panels/TabPanels.js +4 -4
- package/lib/components/tabs/tab-panels/TabPanels.native.d.ts +1 -3
- package/lib/components/tabs/tab-panels/TabPanels.native.js +2 -4
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.d.ts +4 -3
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +5 -4
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.ts +1 -3
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +2 -4
- package/lib/components/tag/Tag.d.ts +6 -5
- package/lib/components/tag/Tag.js +7 -6
- package/lib/components/tag/list/TagList.d.ts +4 -1
- package/lib/components/tag/list/TagList.js +5 -2
- package/lib/components/tag/list/TagList.native.d.ts +1 -1
- package/lib/components/tag/list/TagList.native.js +1 -1
- package/lib/components/tag/list/TagListPropsDefaults.js +3 -3
- package/lib/components/text/Text.d.ts +13 -12
- package/lib/components/text/Text.js +14 -13
- package/lib/components/text/TextPropsDefaults.js +3 -3
- package/lib/components/textarea/Textarea.d.ts +5 -4
- package/lib/components/textarea/Textarea.js +6 -5
- package/lib/components/textarea/Textarea.native.d.ts +7 -10
- package/lib/components/textarea/Textarea.native.js +8 -11
- package/lib/components/timeline/Timeline.d.ts +4 -3
- package/lib/components/timeline/Timeline.js +8 -7
- package/lib/components/timeline/content/TimelineContent.d.ts +2 -1
- package/lib/components/timeline/content/TimelineContent.js +3 -2
- package/lib/components/timeline/item/TimelineItem.d.ts +2 -1
- package/lib/components/timeline/item/TimelineItem.js +6 -5
- package/lib/components/timeline/marker/TimelineMarker.d.ts +1 -1
- package/lib/components/timeline/marker/TimelineMarker.js +6 -6
- package/lib/components/timepicker/Timepicker.d.ts +14 -10
- package/lib/components/timepicker/Timepicker.js +15 -11
- package/lib/components/timepicker/Timepicker.native.d.ts +13 -0
- package/lib/components/timepicker/Timepicker.native.js +14 -1
- package/lib/components/timepicker/circular/TimepickerCircular.d.ts +1 -1
- package/lib/components/timepicker/circular/TimepickerCircular.js +20 -38
- package/lib/components/timepicker/circular/TimepickerCircular.native.d.ts +1 -1
- package/lib/components/timepicker/circular/TimepickerCircular.native.js +18 -29
- package/lib/components/title/Title.d.ts +12 -11
- package/lib/components/title/Title.js +18 -17
- package/lib/components/title/Title.native.js +2 -2
- package/lib/components/title/TitlePropsDefaults.js +6 -6
- package/lib/components/view/View.d.ts +18 -17
- package/lib/components/view/View.js +29 -29
- package/lib/components/view/ViewPropsDefaults.js +36 -32
- package/lib/context/providerTheme.native.js +3 -3
- package/lib/objects/facets/Color.d.ts +2 -0
- package/lib/objects/facets/Color.js +5 -25
- package/lib/objects/facets/defaultColors.d.ts +25 -0
- package/lib/objects/facets/defaultColors.js +26 -0
- package/lib/tsconfig.json +1 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -2
- package/package.json +19 -10
|
@@ -116,6 +116,16 @@ export default {
|
|
|
116
116
|
"values": [
|
|
117
117
|
"undefined",
|
|
118
118
|
"number",
|
|
119
|
+
"button",
|
|
120
|
+
"search",
|
|
121
|
+
"time",
|
|
122
|
+
"image",
|
|
123
|
+
"text",
|
|
124
|
+
"checkbox",
|
|
125
|
+
"radio",
|
|
126
|
+
"string & {}",
|
|
127
|
+
"color",
|
|
128
|
+
"hidden",
|
|
119
129
|
"text",
|
|
120
130
|
"number",
|
|
121
131
|
"password",
|
|
@@ -123,28 +133,18 @@ export default {
|
|
|
123
133
|
"date",
|
|
124
134
|
"datetime-local",
|
|
125
135
|
"email",
|
|
126
|
-
"text",
|
|
127
136
|
"password",
|
|
128
|
-
"search",
|
|
129
137
|
"date",
|
|
130
138
|
"datetime-local",
|
|
131
139
|
"email",
|
|
132
|
-
"button",
|
|
133
|
-
"checkbox",
|
|
134
|
-
"color",
|
|
135
140
|
"file",
|
|
136
|
-
"hidden",
|
|
137
|
-
"image",
|
|
138
141
|
"month",
|
|
139
|
-
"radio",
|
|
140
142
|
"range",
|
|
141
143
|
"reset",
|
|
142
144
|
"submit",
|
|
143
145
|
"tel",
|
|
144
|
-
"time",
|
|
145
146
|
"url",
|
|
146
|
-
"week"
|
|
147
|
-
"string & {}"
|
|
147
|
+
"week"
|
|
148
148
|
]
|
|
149
149
|
},
|
|
150
150
|
"label": {
|
|
@@ -317,29 +317,29 @@ export default {
|
|
|
317
317
|
"values": [
|
|
318
318
|
"undefined",
|
|
319
319
|
"success",
|
|
320
|
-
"warning",
|
|
321
|
-
"danger",
|
|
322
320
|
"error",
|
|
321
|
+
"warning",
|
|
323
322
|
"default",
|
|
324
323
|
"success",
|
|
325
324
|
"warning",
|
|
326
325
|
"danger",
|
|
327
326
|
"error",
|
|
328
|
-
"default"
|
|
327
|
+
"default",
|
|
328
|
+
"danger"
|
|
329
329
|
]
|
|
330
330
|
},
|
|
331
331
|
"onStatusChange": {
|
|
332
332
|
"type": "function",
|
|
333
333
|
"values": [
|
|
334
334
|
"undefined",
|
|
335
|
-
"InputStatus |
|
|
335
|
+
"InputStatus | danger) => void"
|
|
336
336
|
]
|
|
337
337
|
},
|
|
338
338
|
"customValidator": {
|
|
339
339
|
"type": "function",
|
|
340
340
|
"values": [
|
|
341
341
|
"undefined",
|
|
342
|
-
"InputStatus |
|
|
342
|
+
"InputStatus | danger"
|
|
343
343
|
]
|
|
344
344
|
},
|
|
345
345
|
"patternValidator": {
|
|
@@ -395,10 +395,10 @@ export default {
|
|
|
395
395
|
"values": [
|
|
396
396
|
"undefined",
|
|
397
397
|
"none",
|
|
398
|
+
"none",
|
|
398
399
|
"sentences",
|
|
399
400
|
"words",
|
|
400
401
|
"characters",
|
|
401
|
-
"none",
|
|
402
402
|
"sentences",
|
|
403
403
|
"words",
|
|
404
404
|
"characters"
|
|
@@ -412,6 +412,7 @@ export default {
|
|
|
412
412
|
"type": "enum",
|
|
413
413
|
"values": [
|
|
414
414
|
"undefined",
|
|
415
|
+
"name",
|
|
415
416
|
"password",
|
|
416
417
|
"email",
|
|
417
418
|
"tel",
|
|
@@ -484,7 +485,6 @@ export default {
|
|
|
484
485
|
"given-name",
|
|
485
486
|
"honorific-prefix",
|
|
486
487
|
"honorific-suffix",
|
|
487
|
-
"name",
|
|
488
488
|
"new-password",
|
|
489
489
|
"off",
|
|
490
490
|
"one-time-code",
|
|
@@ -524,9 +524,9 @@ export default {
|
|
|
524
524
|
"type": "enum",
|
|
525
525
|
"values": [
|
|
526
526
|
"undefined",
|
|
527
|
-
"password",
|
|
528
527
|
"none",
|
|
529
528
|
"name",
|
|
529
|
+
"password",
|
|
530
530
|
"username",
|
|
531
531
|
"nickname",
|
|
532
532
|
"none",
|
|
@@ -586,8 +586,8 @@ export default {
|
|
|
586
586
|
"type": "enum",
|
|
587
587
|
"values": [
|
|
588
588
|
"undefined",
|
|
589
|
-
"url",
|
|
590
589
|
"default",
|
|
590
|
+
"url",
|
|
591
591
|
"default",
|
|
592
592
|
"email-address",
|
|
593
593
|
"numeric",
|
|
@@ -641,8 +641,8 @@ export default {
|
|
|
641
641
|
"values": [
|
|
642
642
|
"undefined",
|
|
643
643
|
"search",
|
|
644
|
-
"default",
|
|
645
644
|
"none",
|
|
645
|
+
"default",
|
|
646
646
|
"done",
|
|
647
647
|
"go",
|
|
648
648
|
"next",
|
|
@@ -116,6 +116,16 @@ export default {
|
|
|
116
116
|
"values": [
|
|
117
117
|
"undefined",
|
|
118
118
|
"number",
|
|
119
|
+
"button",
|
|
120
|
+
"search",
|
|
121
|
+
"time",
|
|
122
|
+
"image",
|
|
123
|
+
"text",
|
|
124
|
+
"checkbox",
|
|
125
|
+
"radio",
|
|
126
|
+
"string & {}",
|
|
127
|
+
"color",
|
|
128
|
+
"hidden",
|
|
119
129
|
"text",
|
|
120
130
|
"number",
|
|
121
131
|
"password",
|
|
@@ -123,28 +133,18 @@ export default {
|
|
|
123
133
|
"date",
|
|
124
134
|
"datetime-local",
|
|
125
135
|
"email",
|
|
126
|
-
"text",
|
|
127
136
|
"password",
|
|
128
|
-
"search",
|
|
129
137
|
"date",
|
|
130
138
|
"datetime-local",
|
|
131
139
|
"email",
|
|
132
|
-
"button",
|
|
133
|
-
"checkbox",
|
|
134
|
-
"color",
|
|
135
140
|
"file",
|
|
136
|
-
"hidden",
|
|
137
|
-
"image",
|
|
138
141
|
"month",
|
|
139
|
-
"radio",
|
|
140
142
|
"range",
|
|
141
143
|
"reset",
|
|
142
144
|
"submit",
|
|
143
145
|
"tel",
|
|
144
|
-
"time",
|
|
145
146
|
"url",
|
|
146
|
-
"week"
|
|
147
|
-
"string & {}"
|
|
147
|
+
"week"
|
|
148
148
|
]
|
|
149
149
|
},
|
|
150
150
|
"label": {
|
|
@@ -317,29 +317,29 @@ export default {
|
|
|
317
317
|
"values": [
|
|
318
318
|
"undefined",
|
|
319
319
|
"success",
|
|
320
|
-
"warning",
|
|
321
|
-
"danger",
|
|
322
320
|
"error",
|
|
321
|
+
"warning",
|
|
323
322
|
"default",
|
|
324
323
|
"success",
|
|
325
324
|
"warning",
|
|
326
325
|
"danger",
|
|
327
326
|
"error",
|
|
328
|
-
"default"
|
|
327
|
+
"default",
|
|
328
|
+
"danger"
|
|
329
329
|
]
|
|
330
330
|
},
|
|
331
331
|
"onStatusChange": {
|
|
332
332
|
"type": "function",
|
|
333
333
|
"values": [
|
|
334
334
|
"undefined",
|
|
335
|
-
"InputStatus |
|
|
335
|
+
"InputStatus | danger) => void"
|
|
336
336
|
]
|
|
337
337
|
},
|
|
338
338
|
"customValidator": {
|
|
339
339
|
"type": "function",
|
|
340
340
|
"values": [
|
|
341
341
|
"undefined",
|
|
342
|
-
"InputStatus |
|
|
342
|
+
"InputStatus | danger"
|
|
343
343
|
]
|
|
344
344
|
},
|
|
345
345
|
"patternValidator": {
|
|
@@ -395,10 +395,10 @@ export default {
|
|
|
395
395
|
"values": [
|
|
396
396
|
"undefined",
|
|
397
397
|
"none",
|
|
398
|
+
"none",
|
|
398
399
|
"sentences",
|
|
399
400
|
"words",
|
|
400
401
|
"characters",
|
|
401
|
-
"none",
|
|
402
402
|
"sentences",
|
|
403
403
|
"words",
|
|
404
404
|
"characters"
|
|
@@ -412,6 +412,7 @@ export default {
|
|
|
412
412
|
"type": "enum",
|
|
413
413
|
"values": [
|
|
414
414
|
"undefined",
|
|
415
|
+
"name",
|
|
415
416
|
"password",
|
|
416
417
|
"email",
|
|
417
418
|
"tel",
|
|
@@ -484,7 +485,6 @@ export default {
|
|
|
484
485
|
"given-name",
|
|
485
486
|
"honorific-prefix",
|
|
486
487
|
"honorific-suffix",
|
|
487
|
-
"name",
|
|
488
488
|
"new-password",
|
|
489
489
|
"off",
|
|
490
490
|
"one-time-code",
|
|
@@ -524,9 +524,9 @@ export default {
|
|
|
524
524
|
"type": "enum",
|
|
525
525
|
"values": [
|
|
526
526
|
"undefined",
|
|
527
|
-
"password",
|
|
528
527
|
"none",
|
|
529
528
|
"name",
|
|
529
|
+
"password",
|
|
530
530
|
"username",
|
|
531
531
|
"nickname",
|
|
532
532
|
"none",
|
|
@@ -586,8 +586,8 @@ export default {
|
|
|
586
586
|
"type": "enum",
|
|
587
587
|
"values": [
|
|
588
588
|
"undefined",
|
|
589
|
-
"url",
|
|
590
589
|
"default",
|
|
590
|
+
"url",
|
|
591
591
|
"default",
|
|
592
592
|
"email-address",
|
|
593
593
|
"numeric",
|
|
@@ -641,8 +641,8 @@ export default {
|
|
|
641
641
|
"values": [
|
|
642
642
|
"undefined",
|
|
643
643
|
"search",
|
|
644
|
-
"default",
|
|
645
644
|
"none",
|
|
645
|
+
"default",
|
|
646
646
|
"done",
|
|
647
647
|
"go",
|
|
648
648
|
"next",
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AutoCompleteItemProps } from './AutoCompleteItemProps';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* AutoCompleteItem Component
|
|
5
|
+
* @param item {string | Item} item value
|
|
6
|
+
* @param testId {string} Test Id for Test Integration
|
|
7
|
+
* @param onSelect {Function} Callback when selecting an item
|
|
8
|
+
*/
|
|
9
|
+
declare const AutoCompleteItemNative: ({ item, testId, onSelect }: AutoCompleteItemProps) => JSX.Element;
|
|
4
10
|
export default AutoCompleteItemNative;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
import { getLabel } from '../../../components/autocomplete/Autocomplete.helpers';
|
|
2
|
+
import { Text } from '../../../components/text';
|
|
1
3
|
import * as React from 'react';
|
|
2
4
|
import { StyleSheet, TouchableOpacity } from 'react-native';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* AutoCompleteItem Component
|
|
7
|
+
* @param item {string | Item} item value
|
|
8
|
+
* @param testId {string} Test Id for Test Integration
|
|
9
|
+
* @param onSelect {Function} Callback when selecting an item
|
|
10
|
+
*/
|
|
5
11
|
var AutoCompleteItemNative = function (_a) {
|
|
6
|
-
var item = _a.item, onSelect = _a.onSelect;
|
|
7
|
-
return (React.createElement(TouchableOpacity, { style: styles.itemList, onPress: onSelect },
|
|
12
|
+
var item = _a.item, testId = _a.testId, onSelect = _a.onSelect;
|
|
13
|
+
return (React.createElement(TouchableOpacity, { style: styles.itemList, onPress: onSelect, testID: testId },
|
|
8
14
|
React.createElement(Text, null, getLabel(item))));
|
|
9
15
|
};
|
|
10
16
|
var styles = StyleSheet.create({
|
|
@@ -13,4 +19,4 @@ var styles = StyleSheet.create({
|
|
|
13
19
|
},
|
|
14
20
|
});
|
|
15
21
|
export default AutoCompleteItemNative;
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXV0b0NvbXBsZXRlSWVtLm5hdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvYXV0b2NvbXBsZXRlL2l0ZW0vQXV0b0NvbXBsZXRlSWVtLm5hdGl2ZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGdEQUFnRCxDQUFBO0FBQ3pFLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUN4QyxPQUFPLEtBQUssS0FBSyxNQUFNLE9BQU8sQ0FBQTtBQUM5QixPQUFPLEVBQUUsVUFBVSxFQUFFLGdCQUFnQixFQUFFLE1BQU0sY0FBYyxDQUFBO0FBRzNEOzs7OztHQUtHO0FBQ0gsSUFBTSxzQkFBc0IsR0FBRyxVQUFDLEVBQWlEO1FBQS9DLElBQUksVUFBQSxFQUFFLE1BQU0sWUFBQSxFQUFFLFFBQVEsY0FBQTtJQUN0RCxPQUFPLENBQ0wsb0JBQUMsZ0JBQWdCLElBQUMsS0FBSyxFQUFFLE1BQU0sQ0FBQyxRQUFRLEVBQUUsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTTtRQUN6RSxvQkFBQyxJQUFJLFFBQUUsUUFBUSxDQUFDLElBQUksQ0FBQyxDQUFRLENBQ1osQ0FDcEIsQ0FBQTtBQUNILENBQUMsQ0FBQTtBQUNELElBQU0sTUFBTSxHQUFHLFVBQVUsQ0FBQyxNQUFNLENBQUM7SUFDL0IsUUFBUSxFQUFFO1FBQ1IsT0FBTyxFQUFFLEVBQUU7S0FDWjtDQUNGLENBQUMsQ0FBQTtBQUVGLGVBQWUsc0JBQXNCLENBQUEifQ==
|
|
@@ -3,10 +3,15 @@ import { Item } from '../AutoCompleteProps';
|
|
|
3
3
|
import { AutoCompleteItemProps } from './AutoCompleteItemProps';
|
|
4
4
|
/**
|
|
5
5
|
* AutoCompleteItem Component
|
|
6
|
+
* @param item {string | Item} item value
|
|
7
|
+
* @param testId {string} Test Id for Test Integration
|
|
8
|
+
* - ------------------ WEB PROPERTIES -----------------------
|
|
6
9
|
* @param suggestionSelected {Function} select item
|
|
7
10
|
* @param active {boolean} isActive
|
|
8
|
-
*
|
|
9
|
-
* @param
|
|
11
|
+
* @param children {ReactNode} Children
|
|
12
|
+
* @param id {string} Custom id attribute
|
|
13
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
14
|
+
* @param onSelect {Function} Callback when selecting an item
|
|
10
15
|
*/
|
|
11
16
|
declare const AutoCompleteItem: <T extends string | Item<unknown>>({ children, suggestionSelected, testId, item, active, id, }: AutoCompleteItemProps<T>) => JSX.Element;
|
|
12
17
|
export default AutoCompleteItem;
|
|
@@ -6,10 +6,15 @@ import { hashClass } from '../../../helpers';
|
|
|
6
6
|
import { is } from '../../../services';
|
|
7
7
|
/**
|
|
8
8
|
* AutoCompleteItem Component
|
|
9
|
+
* @param item {string | Item} item value
|
|
10
|
+
* @param testId {string} Test Id for Test Integration
|
|
11
|
+
* - ------------------ WEB PROPERTIES -----------------------
|
|
9
12
|
* @param suggestionSelected {Function} select item
|
|
10
13
|
* @param active {boolean} isActive
|
|
11
|
-
*
|
|
12
|
-
* @param
|
|
14
|
+
* @param children {ReactNode} Children
|
|
15
|
+
* @param id {string} Custom id attribute
|
|
16
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
17
|
+
* @param onSelect {Function} Callback when selecting an item
|
|
13
18
|
*/
|
|
14
19
|
var AutoCompleteItem = function (_a) {
|
|
15
20
|
var children = _a.children, suggestionSelected = _a.suggestionSelected, testId = _a.testId, item = _a.item, active = _a.active, id = _a.id;
|
|
@@ -18,4 +23,4 @@ var AutoCompleteItem = function (_a) {
|
|
|
18
23
|
return (React.createElement("div", { id: id, onMouseOver: function () { return setIsActive(true); }, onMouseOut: function () { return setIsActive(false); }, role: 'listitem', "data-testid": testId, className: hashClass(styled, clsx('autocomplete-item', active && is('active'), isActive && is('active'))), onClick: function () { return (suggestionSelected ? suggestionSelected(item) : ''); } }, children));
|
|
19
24
|
};
|
|
20
25
|
export default AutoCompleteItem;
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXV0b0NvbXBsZXRlSXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvYXV0b2NvbXBsZXRlL2l0ZW0vQXV0b0NvbXBsZXRlSXRlbS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sSUFBSSxNQUFNLE1BQU0sQ0FBQTtBQUN2QixPQUFPLEtBQUssS0FBSyxNQUFNLE9BQU8sQ0FBQTtBQUM5QixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFDN0MsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLFdBQVcsQ0FBQTtBQUNyQyxPQUFPLEVBQUUsRUFBRSxFQUFFLE1BQU0sWUFBWSxDQUFBO0FBSS9COzs7Ozs7Ozs7OztHQVdHO0FBQ0gsSUFBTSxnQkFBZ0IsR0FBRyxVQUFtQyxFQU9qQztRQU56QixRQUFRLGNBQUEsRUFDUixrQkFBa0Isd0JBQUEsRUFDbEIsTUFBTSxZQUFBLEVBQ04sSUFBSSxVQUFBLEVBQ0osTUFBTSxZQUFBLEVBQ04sRUFBRSxRQUFBO0lBRU0sSUFBQSxNQUFNLEdBQUssaUJBQWlCLEVBQUUsT0FBeEIsQ0FBd0I7SUFDaEMsSUFBQSxLQUFBLE9BQTBCLEtBQUssQ0FBQyxRQUFRLENBQUMsS0FBSyxDQUFDLElBQUEsRUFBOUMsUUFBUSxRQUFBLEVBQUUsV0FBVyxRQUF5QixDQUFBO0lBRXJELE9BQU8sQ0FDTCw2QkFDRSxFQUFFLEVBQUUsRUFBRSxFQUNOLFdBQVcsRUFBRSxjQUFNLE9BQUEsV0FBVyxDQUFDLElBQUksQ0FBQyxFQUFqQixDQUFpQixFQUNwQyxVQUFVLEVBQUUsY0FBTSxPQUFBLFdBQVcsQ0FBQyxLQUFLLENBQUMsRUFBbEIsQ0FBa0IsRUFDcEMsSUFBSSxFQUFDLFVBQVUsaUJBQ0YsTUFBTSxFQUNuQixTQUFTLEVBQUUsU0FBUyxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsbUJBQW1CLEVBQUUsTUFBTSxJQUFJLEVBQUUsQ0FBQyxRQUFRLENBQUMsRUFBRSxRQUFRLElBQUksRUFBRSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsRUFDekcsT0FBTyxFQUFFLGNBQU0sT0FBQSxDQUFDLGtCQUFrQixDQUFDLENBQUMsQ0FBQyxrQkFBa0IsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLEVBQXBELENBQW9ELElBRWxFLFFBQVEsQ0FDTCxDQUNQLENBQUE7QUFDSCxDQUFDLENBQUE7QUFFRCxlQUFlLGdCQUFnQixDQUFBIn0=
|
|
@@ -3,10 +3,15 @@ import { AutoCompleteMenuProps } from './AutoCompleteMenuProps';
|
|
|
3
3
|
/**
|
|
4
4
|
* AutoCompleteMenu Component
|
|
5
5
|
* @param children {ReactNode} Children
|
|
6
|
+
* @param id {string} Custom id attribute
|
|
7
|
+
* @param testId {string} Test Id for Test Integration
|
|
6
8
|
* - ------------------ WEB PROPERTIES -----------------------
|
|
7
9
|
* @param className {string} Additional CSS Classes
|
|
8
10
|
* @param absolute {boolean} Absolute position for Menu
|
|
9
11
|
* @param fullwidth {boolean} Fullwidth size for Menu
|
|
12
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
13
|
+
* @param suggestions {Array} Suggestions list for AutoComplete
|
|
14
|
+
* @param handleSelectItem {Function} Callback when selecting an item
|
|
10
15
|
*/
|
|
11
16
|
declare const AutoCompleteMenu: ({ children, className, id, absolute, fullwidth, testId }: AutoCompleteMenuProps) => JSX.Element;
|
|
12
17
|
export default AutoCompleteMenu;
|
|
@@ -6,10 +6,15 @@ import { is } from '../../../services';
|
|
|
6
6
|
/**
|
|
7
7
|
* AutoCompleteMenu Component
|
|
8
8
|
* @param children {ReactNode} Children
|
|
9
|
+
* @param id {string} Custom id attribute
|
|
10
|
+
* @param testId {string} Test Id for Test Integration
|
|
9
11
|
* - ------------------ WEB PROPERTIES -----------------------
|
|
10
12
|
* @param className {string} Additional CSS Classes
|
|
11
13
|
* @param absolute {boolean} Absolute position for Menu
|
|
12
14
|
* @param fullwidth {boolean} Fullwidth size for Menu
|
|
15
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
16
|
+
* @param suggestions {Array} Suggestions list for AutoComplete
|
|
17
|
+
* @param handleSelectItem {Function} Callback when selecting an item
|
|
13
18
|
*/
|
|
14
19
|
var AutoCompleteMenu = function (_a) {
|
|
15
20
|
var children = _a.children, className = _a.className, id = _a.id, absolute = _a.absolute, fullwidth = _a.fullwidth, testId = _a.testId;
|
|
@@ -17,4 +22,4 @@ var AutoCompleteMenu = function (_a) {
|
|
|
17
22
|
return (React.createElement("div", { id: id, role: 'list', "data-testid": testId, className: hashClass(styled, clsx('autocomplete-menu', absolute && is('absolute'), fullwidth && is('fullwidth'), className)) }, children));
|
|
18
23
|
};
|
|
19
24
|
export default AutoCompleteMenu;
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,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MvRixJQUVBLFFBQVEsQ0FDTCxDQUNQLENBQUE7QUFDSCxDQUFDLENBQUE7QUFFRCxlQUFlLGdCQUFnQixDQUFBIn0=
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AutoCompleteMenuProps } from './AutoCompleteMenuProps';
|
|
3
|
+
/**
|
|
4
|
+
* AutoCompleteMenu Component
|
|
5
|
+
* @param children {ReactNode} Children
|
|
6
|
+
* @param id {string} Custom id attribute
|
|
7
|
+
* @param testId {string} Test Id for Test Integration
|
|
8
|
+
* @param suggestions {Array} Suggestions list for AutoComplete
|
|
9
|
+
* @param handleSelectItem {Function} Callback when selecting an item
|
|
10
|
+
*/
|
|
3
11
|
declare const AutoCompleteMenuNative: ({ suggestions, handleSelectItem }: AutoCompleteMenuProps) => JSX.Element;
|
|
4
12
|
export default AutoCompleteMenuNative;
|
|
@@ -2,6 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import { FlatList, StyleSheet } from 'react-native';
|
|
3
3
|
import { TrilogyColor, getColorStyle } from '../../../objects';
|
|
4
4
|
import AutoCompleteItemNative from '../../../components/autocomplete/item/AutoCompleteIem.native';
|
|
5
|
+
/**
|
|
6
|
+
* AutoCompleteMenu Component
|
|
7
|
+
* @param children {ReactNode} Children
|
|
8
|
+
* @param id {string} Custom id attribute
|
|
9
|
+
* @param testId {string} Test Id for Test Integration
|
|
10
|
+
* @param suggestions {Array} Suggestions list for AutoComplete
|
|
11
|
+
* @param handleSelectItem {Function} Callback when selecting an item
|
|
12
|
+
*/
|
|
5
13
|
var AutoCompleteMenuNative = function (_a) {
|
|
6
14
|
var suggestions = _a.suggestions, handleSelectItem = _a.handleSelectItem;
|
|
7
15
|
var styles = StyleSheet.create({
|
|
@@ -28,4 +36,4 @@ var AutoCompleteMenuNative = function (_a) {
|
|
|
28
36
|
}, keyExtractor: function (item, index) { return String(index); } }));
|
|
29
37
|
};
|
|
30
38
|
export default AutoCompleteMenuNative;
|
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QUVGLE9BQU8sQ0FDTCxvQkFBQyxRQUFRLElBQ1AseUJBQXlCLEVBQUMsU0FBUyxFQUNuQyxtQkFBbUIsUUFDbkIsYUFBYSxFQUFFLElBQUksRUFDbkIsS0FBSyxFQUFFLE1BQU0sQ0FBQyxJQUFJLEVBQ2xCLElBQUksRUFBRSxXQUFXLEVBQ2pCLFVBQVUsRUFBRSxVQUFDLEVBQVE7Z0JBQU4sSUFBSSxVQUFBO1lBQ2pCLE9BQUEsc0JBQXNCLENBQUM7Z0JBQ3JCLElBQUksRUFBRSxJQUFJO2dCQUNWLFFBQVEsRUFBRTtvQkFDUixnQkFBZ0IsSUFBSSxnQkFBZ0IsQ0FBQyxJQUFJLENBQUMsQ0FBQTtnQkFDNUMsQ0FBQzthQUNGLENBQUM7UUFMRixDQUtFLEVBRUosWUFBWSxFQUFFLFVBQUMsSUFBSSxFQUFFLEtBQUssSUFBSyxPQUFBLE1BQU0sQ0FBQyxLQUFLLENBQUMsRUFBYixDQUFhLEdBQzVDLENBQ0gsQ0FBQTtBQUNILENBQUMsQ0FBQTtBQUVELGVBQWUsc0JBQXNCLENBQUEifQ==
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AutoLayoutProps } from '../../components/autolayout/AutoLayoutProps';
|
|
3
3
|
/**
|
|
4
|
-
* AutoLayout Component
|
|
4
|
+
* AutoLayout Component - Automatic layout wrapper with edge insets and spacing
|
|
5
|
+
* @param children {React.ReactNode} Child components to layout
|
|
6
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
7
|
+
* @param edges {EdgeType[]} Edges to apply spacing to ('top' | 'bottom')
|
|
8
|
+
* @param edgeSize {SpacerSize} Spacing size for safe area edges
|
|
9
|
+
* @param noSpace {boolean} Disable automatic spacing
|
|
10
|
+
* @param matrix {SpacingMatrix} Custom spacing matrix for between children spacing (overrides default matrix)
|
|
5
11
|
*/
|
|
6
12
|
declare const AutoLayout: React.FC<AutoLayoutProps>;
|
|
7
13
|
export default AutoLayout;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* AutoLayout Component
|
|
3
|
+
* AutoLayout Component - Automatic layout wrapper with edge insets and spacing
|
|
4
|
+
* @param children {React.ReactNode} Child components to layout
|
|
5
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
6
|
+
* @param edges {EdgeType[]} Edges to apply spacing to ('top' | 'bottom')
|
|
7
|
+
* @param edgeSize {SpacerSize} Spacing size for safe area edges
|
|
8
|
+
* @param noSpace {boolean} Disable automatic spacing
|
|
9
|
+
* @param matrix {SpacingMatrix} Custom spacing matrix for between children spacing (overrides default matrix)
|
|
4
10
|
*/
|
|
5
11
|
var AutoLayout = function (_a) {
|
|
6
12
|
var children = _a.children;
|
|
@@ -8,4 +14,4 @@ var AutoLayout = function (_a) {
|
|
|
8
14
|
return React.createElement("div", { className: 'autolayout' }, children);
|
|
9
15
|
};
|
|
10
16
|
export default AutoLayout;
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXV0b0xheW91dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXBvbmVudHMvYXV0b2xheW91dC9BdXRvTGF5b3V0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssS0FBSyxNQUFNLE9BQU8sQ0FBQTtBQUk5Qjs7Ozs7Ozs7R0FRRztBQUNILElBQU0sVUFBVSxHQUE4QixVQUFDLEVBQVk7UUFBVixRQUFRLGNBQUE7SUFDdkQseURBQXlEO0lBQ3pELE9BQU8sNkJBQUssU0FBUyxFQUFFLFlBQVksSUFBRyxRQUFRLENBQU8sQ0FBQTtBQUN2RCxDQUFDLENBQUE7QUFFRCxlQUFlLFVBQVUsQ0FBQSJ9
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AutoLayoutProps } from '../../components/autolayout/AutoLayoutProps';
|
|
3
3
|
/**
|
|
4
|
-
* AutoLayout Component
|
|
5
|
-
* @param children
|
|
6
|
-
* @param
|
|
7
|
-
* @param
|
|
8
|
-
* @param
|
|
9
|
-
* @param
|
|
4
|
+
* AutoLayout Component - Automatic layout wrapper with edge insets and spacing
|
|
5
|
+
* @param children {React.ReactNode} Child components to layout
|
|
6
|
+
* @param edges {EdgeType[]} Edges to apply spacing to ('top' | 'bottom')
|
|
7
|
+
* @param edgeSize {SpacerSize} Spacing size for safe area edges
|
|
8
|
+
* @param noSpace {boolean} Disable automatic spacing
|
|
9
|
+
* @param matrix {SpacingMatrix} Custom spacing matrix for between children spacing (overrides default matrix)
|
|
10
10
|
*/
|
|
11
11
|
declare const AutoLayout: React.FC<AutoLayoutProps>;
|
|
12
12
|
export default AutoLayout;
|
|
@@ -4,12 +4,12 @@ import { DEFAULT_SPACING_MATRIX } from '../../components/autolayout/DefaultSpaci
|
|
|
4
4
|
import { ComponentName } from '../../components/enumsComponentsName';
|
|
5
5
|
import { Spacer, SpacerSize } from '../../components/spacer';
|
|
6
6
|
/**
|
|
7
|
-
* AutoLayout Component
|
|
8
|
-
* @param children
|
|
9
|
-
* @param
|
|
10
|
-
* @param
|
|
11
|
-
* @param
|
|
12
|
-
* @param
|
|
7
|
+
* AutoLayout Component - Automatic layout wrapper with edge insets and spacing
|
|
8
|
+
* @param children {React.ReactNode} Child components to layout
|
|
9
|
+
* @param edges {EdgeType[]} Edges to apply spacing to ('top' | 'bottom')
|
|
10
|
+
* @param edgeSize {SpacerSize} Spacing size for safe area edges
|
|
11
|
+
* @param noSpace {boolean} Disable automatic spacing
|
|
12
|
+
* @param matrix {SpacingMatrix} Custom spacing matrix for between children spacing (overrides default matrix)
|
|
13
13
|
*/
|
|
14
14
|
var AutoLayout = function (_a) {
|
|
15
15
|
var children = _a.children, _b = _a.matrix, matrix = _b === void 0 ? DEFAULT_SPACING_MATRIX : _b, edges = _a.edges, _c = _a.edgeSize, edgeSize = _c === void 0 ? SpacerSize.TWO : _c, noSpace = _a.noSpace;
|
|
@@ -2,16 +2,17 @@ import * as React from 'react';
|
|
|
2
2
|
import { BadgeProps } from './BadgeProps';
|
|
3
3
|
/**
|
|
4
4
|
* Badge Component
|
|
5
|
-
* @param children {React.ReactNode}
|
|
6
|
-
* @param id
|
|
5
|
+
* @param children {React.ReactNode} Content inside the badge (e.g. Icon)
|
|
7
6
|
* @param label {string|number} Badge content text
|
|
8
7
|
* @param inverted {boolean} Inverted style for Badge
|
|
8
|
+
* @param status {StatusState} Badge status variant (INFO|SUCCESS|WARNING|ERROR)
|
|
9
|
+
* @param variant {BadgeVariant} Badge color variant (SUCCESS|INFO|WARNING|ERROR|MAIN|ACCENT)
|
|
10
|
+
* @param position {BadgePositionEnum} Badge position relative to parent element
|
|
9
11
|
* @param onClick {Function} onClick Event for Badge
|
|
10
|
-
* @param
|
|
11
|
-
* @param
|
|
12
|
-
* @param others
|
|
12
|
+
* @param testId {string} Test Id for Test Integration
|
|
13
|
+
* @param id {string} Custom id attribute
|
|
13
14
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
14
|
-
* @param className {string} Additional CSS Classes
|
|
15
|
+
* @param className {string} Additional CSS Classes
|
|
15
16
|
*/
|
|
16
17
|
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
17
18
|
export default Badge;
|
|
@@ -11,16 +11,17 @@ import * as React from 'react';
|
|
|
11
11
|
import { ComponentName } from '../enumsComponentsName';
|
|
12
12
|
/**
|
|
13
13
|
* Badge Component
|
|
14
|
-
* @param children {React.ReactNode}
|
|
15
|
-
* @param id
|
|
14
|
+
* @param children {React.ReactNode} Content inside the badge (e.g. Icon)
|
|
16
15
|
* @param label {string|number} Badge content text
|
|
17
16
|
* @param inverted {boolean} Inverted style for Badge
|
|
17
|
+
* @param status {StatusState} Badge status variant (INFO|SUCCESS|WARNING|ERROR)
|
|
18
|
+
* @param variant {BadgeVariant} Badge color variant (SUCCESS|INFO|WARNING|ERROR|MAIN|ACCENT)
|
|
19
|
+
* @param position {BadgePositionEnum} Badge position relative to parent element
|
|
18
20
|
* @param onClick {Function} onClick Event for Badge
|
|
19
|
-
* @param
|
|
20
|
-
* @param
|
|
21
|
-
* @param others
|
|
21
|
+
* @param testId {string} Test Id for Test Integration
|
|
22
|
+
* @param id {string} Custom id attribute
|
|
22
23
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
23
|
-
* @param className {string} Additional CSS Classes
|
|
24
|
+
* @param className {string} Additional CSS Classes
|
|
24
25
|
*/
|
|
25
26
|
var Badge = React.forwardRef(function (_a, ref) {
|
|
26
27
|
var className = _a.className, children = _a.children, id = _a.id, label = _a.label, inverted = _a.inverted, onClick = _a.onClick, variant = _a.variant, position = _a.position, status = _a.status, testId = _a.testId, others = __rest(_a, ["className", "children", "id", "label", "inverted", "onClick", "variant", "position", "status", "testId"]);
|
|
@@ -61,4 +62,4 @@ var Badge = React.forwardRef(function (_a, ref) {
|
|
|
61
62
|
});
|
|
62
63
|
Badge.displayName = ComponentName.Badge;
|
|
63
64
|
export default Badge;
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQmFkZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL2JhZGdlL0JhZGdlLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLElBQUksRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLE1BQU0sbUJBQW1CLENBQUE7QUFDN0QsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sV0FBVyxDQUFBO0FBQzdDLE9BQ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 @@ import React from 'react';
|
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
/**
|
|
5
5
|
* Badge Component
|
|
6
|
-
* @param children {React.ReactNode}
|
|
7
|
-
* @param id
|
|
6
|
+
* @param children {React.ReactNode} Content inside the badge (e.g. Icon)
|
|
8
7
|
* @param label {string|number} Badge content text
|
|
9
8
|
* @param inverted {boolean} Inverted style for Badge
|
|
9
|
+
* @param status {StatusState} Badge status variant (INFO|SUCCESS|WARNING|ERROR)
|
|
10
|
+
* @param variant {BadgeVariant} Badge color variant (SUCCESS|INFO|WARNING|ERROR|MAIN|ACCENT)
|
|
11
|
+
* @param position {BadgePositionEnum} Badge position relative to parent element
|
|
10
12
|
* @param onClick {Function} onClick Event for Badge
|
|
11
|
-
* @param
|
|
12
|
-
* @param
|
|
13
|
-
* @param others
|
|
14
|
-
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
15
|
-
* @param className {string} Additional CSS Classes (ONLY FOR WEB)
|
|
13
|
+
* @param testId {string} Test Id for Test Integration
|
|
14
|
+
* @param id {string} Custom id attribute
|
|
16
15
|
*/
|
|
17
16
|
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<View>>;
|
|
18
17
|
export default Badge;
|