@trilogy-ds/react 0.0.3-fix-timepicker → 0.0.3-storybook
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 +5 -3
- package/lib/components/accordion/Accordion.js +6 -4
- 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 +12 -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 +6 -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 +6 -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 +12 -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 +7 -7
- 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 +6 -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 +6 -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 +17 -15
- 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 +98 -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 +22 -16
- 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 +19 -11
- 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 +6 -4
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +10 -6
- package/lib/components/progress/radial/ProgressRadial.native.js +17 -20
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +18 -18
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +1 -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/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 +6 -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 +6 -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 +12 -12
- package/lib/components/table/head/TableHeadPropsDefaults.js +12 -12
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +6 -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 +32 -32
- package/lib/tsconfig.json +1 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -2
- package/package.json +9 -9
|
@@ -45,24 +45,24 @@ export default {
|
|
|
45
45
|
"type": "enum",
|
|
46
46
|
"values": [
|
|
47
47
|
"undefined",
|
|
48
|
+
"span",
|
|
49
|
+
"div",
|
|
48
50
|
"p",
|
|
51
|
+
"h1",
|
|
49
52
|
"h2",
|
|
50
53
|
"h3",
|
|
51
54
|
"h4",
|
|
52
55
|
"h5",
|
|
53
56
|
"h6",
|
|
54
|
-
"
|
|
55
|
-
"h1",
|
|
57
|
+
"p",
|
|
56
58
|
"span",
|
|
59
|
+
"div",
|
|
57
60
|
"h1",
|
|
58
61
|
"h2",
|
|
59
62
|
"h3",
|
|
60
63
|
"h4",
|
|
61
64
|
"h5",
|
|
62
|
-
"h6"
|
|
63
|
-
"p",
|
|
64
|
-
"span",
|
|
65
|
-
"div"
|
|
65
|
+
"h6"
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
"style": {
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import { ViewProps } from
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from './ViewProps';
|
|
3
3
|
/**
|
|
4
|
-
* View Component (DIV
|
|
5
|
-
* @param children {ReactNode} View child
|
|
6
|
-
* @param flexable {boolean} Flexable view
|
|
7
|
-
* @param style {CSSProperties} View custom style
|
|
4
|
+
* View Component (DIV equivalent)
|
|
5
|
+
* @param children {ReactNode} View child elements
|
|
8
6
|
* @param onClick {Function} Click Event
|
|
9
|
-
* @param backgroundColor {TrilogyColor} View
|
|
10
|
-
* @param backgroundSrc {string} View
|
|
11
|
-
* @param
|
|
12
|
-
* @param
|
|
13
|
-
* @param justify {
|
|
14
|
-
* @param align {
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
7
|
+
* @param backgroundColor {TrilogyColor} View background color
|
|
8
|
+
* @param backgroundSrc {string} View background image source
|
|
9
|
+
* @param fullwidth {boolean} Full width view (default: true)
|
|
10
|
+
* @param flexable {boolean} Enable flex layout
|
|
11
|
+
* @param justify {JustifyProps} Justify content alignment
|
|
12
|
+
* @param align {AlignProps} Align items alignment
|
|
13
|
+
* @param testId {string} Test Id for Test Integration
|
|
14
|
+
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
15
|
+
* @param className {string} Additional CSS Classes
|
|
16
|
+
* @param id {string} Custom id attribute
|
|
17
|
+
* @param loading {Loading} Loading state
|
|
18
|
+
* @param markup {ViewMarkup} HTML markup element
|
|
19
19
|
* @param inverted {boolean} Inverted View Color
|
|
20
|
-
*
|
|
20
|
+
* @param style {CSSProperties} Custom inline style
|
|
21
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
21
22
|
* @param bottom {boolean} Bottom position
|
|
22
23
|
*/
|
|
23
24
|
declare const View: React.ForwardRefExoticComponent<ViewProps & React.RefAttributes<any>>;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import { has, is } from
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
2
|
+
import { useTrilogyContext } from '../../context';
|
|
3
|
+
import { hashClass } from '../../helpers';
|
|
4
|
+
import { getAlignClassName, getBackgroundClassName, getJustifyClassName, getLoadingClassName } from '../../objects';
|
|
5
|
+
import { has, is } from '../../services';
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { ViewMarkup } from './ViewProps';
|
|
9
9
|
/**
|
|
10
|
-
* View Component (DIV
|
|
11
|
-
* @param children {ReactNode} View child
|
|
12
|
-
* @param flexable {boolean} Flexable view
|
|
13
|
-
* @param style {CSSProperties} View custom style
|
|
10
|
+
* View Component (DIV equivalent)
|
|
11
|
+
* @param children {ReactNode} View child elements
|
|
14
12
|
* @param onClick {Function} Click Event
|
|
15
|
-
* @param backgroundColor {TrilogyColor} View
|
|
16
|
-
* @param backgroundSrc {string} View
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
19
|
-
* @param justify {
|
|
20
|
-
* @param align {
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
24
|
-
* @param
|
|
13
|
+
* @param backgroundColor {TrilogyColor} View background color
|
|
14
|
+
* @param backgroundSrc {string} View background image source
|
|
15
|
+
* @param fullwidth {boolean} Full width view (default: true)
|
|
16
|
+
* @param flexable {boolean} Enable flex layout
|
|
17
|
+
* @param justify {JustifyProps} Justify content alignment
|
|
18
|
+
* @param align {AlignProps} Align items alignment
|
|
19
|
+
* @param testId {string} Test Id for Test Integration
|
|
20
|
+
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
21
|
+
* @param className {string} Additional CSS Classes
|
|
22
|
+
* @param id {string} Custom id attribute
|
|
23
|
+
* @param loading {Loading} Loading state
|
|
24
|
+
* @param markup {ViewMarkup} HTML markup element
|
|
25
25
|
* @param inverted {boolean} Inverted View Color
|
|
26
|
-
*
|
|
26
|
+
* @param style {CSSProperties} Custom inline style
|
|
27
|
+
* - -------------------------- NATIVE PROPERTIES -------------------------------
|
|
27
28
|
* @param bottom {boolean} Bottom position
|
|
28
29
|
*/
|
|
29
30
|
var View = React.forwardRef(function (_a, ref) {
|
|
30
31
|
var children = _a.children, style = _a.style, className = _a.className, loading = _a.loading, onClick = _a.onClick, backgroundColor = _a.backgroundColor, backgroundSrc = _a.backgroundSrc, inverted = _a.inverted, _b = _a.fullwidth, fullwidth = _b === void 0 ? true : _b, markup = _a.markup, flexable = _a.flexable, justify = _a.justify, align = _a.align, testId = _a.testId, others = __rest(_a, ["children", "style", "className", "loading", "onClick", "backgroundColor", "backgroundSrc", "inverted", "fullwidth", "markup", "flexable", "justify", "align", "testId"]);
|
|
31
32
|
var styled = useTrilogyContext().styled;
|
|
32
33
|
var isCorrectMarkup = function (stringMarkup) {
|
|
33
|
-
if (stringMarkup in ViewMarkup ||
|
|
34
|
-
Object.values(ViewMarkup).includes(stringMarkup))
|
|
34
|
+
if (stringMarkup in ViewMarkup || Object.values(ViewMarkup).includes(stringMarkup))
|
|
35
35
|
return true;
|
|
36
36
|
};
|
|
37
|
-
var Tag = markup && isCorrectMarkup(markup) ? markup :
|
|
38
|
-
var classes = hashClass(styled, clsx(typeof loading ===
|
|
37
|
+
var Tag = markup && isCorrectMarkup(markup) ? markup : 'div';
|
|
38
|
+
var classes = hashClass(styled, clsx(typeof loading === 'string' && is(getLoadingClassName(loading)), typeof loading === 'boolean' ? is('loading') : is('loaded'), backgroundColor && has(getBackgroundClassName(backgroundColor)), backgroundSrc && has('background'), (inverted && is('inverted')) || is('base'), fullwidth && is('fullwidth'), flexable && is('flex'), typeof justify === 'string' && is(getJustifyClassName(justify)), typeof align === 'string' && is(getAlignClassName(align)), className));
|
|
39
39
|
return (React.createElement(Tag, __assign({ ref: ref, onClick: onClick, style: style, className: classes, "data-testid": testId }, (backgroundSrc && {
|
|
40
40
|
style: {
|
|
41
41
|
backgroundImage: "url(".concat(backgroundSrc, ")"),
|
|
42
|
-
backgroundSize:
|
|
43
|
-
backgroundPosition:
|
|
42
|
+
backgroundSize: 'cover',
|
|
43
|
+
backgroundPosition: '50%',
|
|
44
44
|
},
|
|
45
45
|
}), others), children));
|
|
46
46
|
});
|
|
47
47
|
export default View;
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmlldy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXBvbmVudHMvdmlldy9WaWV3LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sV0FBVyxDQUFBO0FBQzdDLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFDckMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLHNCQUFzQixFQUFFLG1CQUFtQixFQUFFLG1CQUFtQixFQUFFLE1BQU0sV0FBVyxDQUFBO0FBQy9HLE9BQU8sRUFBRSxHQUFHLEVBQUUsRUFBRSxFQUFFLE1BQU0sWUFBWSxDQUFBO0FBQ3BDLE9BQU8sSUFBSSxNQUFNLE1BQU0sQ0FBQTtBQUN2QixPQUFPLEtBQUssS0FBSyxNQUFNLE9BQU8sQ0FBQTtBQUM5QixPQUFPLEVBQUUsVUFBVSxFQUF3QyxNQUFNLGFBQWEsQ0FBQTtBQUU5RTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FvQkc7QUFDSCxJQUFNLElBQUksR0FBRyxLQUFLLENBQUMsVUFBVSxDQUMzQixVQUNFLEVBZ0JDLEVBQ0QsR0FBRztJQWhCRCxJQUFBLFFBQVEsY0FBQSxFQUNSLEtBQUssV0FBQSxFQUNMLFNBQVMsZUFBQSxFQUNULE9BQU8sYUFBQSxFQUNQLE9BQU8sYUFBQSxFQUNQLGVBQWUscUJBQUEsRUFDZixhQUFhLG1CQUFBLEVBQ2IsUUFBUSxjQUFBLEVBQ1IsaUJBQWdCLEVBQWhCLFNBQVMsbUJBQUcsSUFBSSxLQUFBLEVBQ2hCLE1BQU0sWUFBQSxFQUNOLFFBQVEsY0FBQSxFQUNSLE9BQU8sYUFBQSxFQUNQLEtBQUssV0FBQSxFQUNMLE1BQU0sWUFBQSxFQUNILE1BQU0sY0FmWCx5S0FnQkMsQ0FEVTtJQUlILElBQUEsTUFBTSxHQUFLLGlCQUFpQixFQUFFLE9BQXhCLENBQXdCO0lBRXRDLElBQU0sZUFBZSxHQUFHLFVBQUMsWUFBMkM7UUFDbEUsSUFBSSxZQUFZLElBQUksVUFBVSxJQUFJLE1BQU0sQ0FBQyxNQUFNLENBQUMsVUFBVSxDQUFDLENBQUMsUUFBUSxDQUFDLFlBQTBCLENBQUM7WUFBRSxPQUFPLElBQUksQ0FBQTtJQUMvRyxDQUFDLENBQUE7SUFFRCxJQUFNLEdBQUcsR0FBUSxNQUFNLElBQUksZUFBZSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQTtJQUVuRSxJQUFNLE9BQU8sR0FBRyxTQUFTLENBQ3ZCLE1BQU0sRUFDTixJQUFJLENBQ0YsT0FBTyxPQUFPLEtBQUssUUFBUSxJQUFJLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQyxPQUFPLENBQUMsQ0FBQyxFQUMvRCxPQUFPLE9BQU8sS0FBSyxTQUFTLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLFFBQVEsQ0FBQyxFQUMzRCxlQUFlLElBQUksR0FBRyxDQUFDLHNCQUFzQixDQUFDLGVBQWUsQ0FBQyxDQUFDLEVBQy9ELGFBQWEsSUFBSSxHQUFHLENBQUMsWUFBWSxDQUFDLEVBQ2xDLENBQUMsUUFBUSxJQUFJLEVBQUUsQ0FBQyxVQUFVLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQyxNQUFNLENBQUMsRUFDMUMsU0FBUyxJQUFJLEVBQUUsQ0FBQyxXQUFXLENBQUMsRUFDNUIsUUFBUSxJQUFJLEVBQUUsQ0FBQyxNQUFNLENBQUMsRUFDdEIsT0FBTyxPQUFPLEtBQUssUUFBUSxJQUFJLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQyxPQUFPLENBQUMsQ0FBQyxFQUMvRCxPQUFPLEtBQUssS0FBSyxRQUFRLElBQUksRUFBRSxDQUFDLGlCQUFpQixDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQ3pELFNBQVMsQ0FDVixDQUNGLENBQUE7SUFFRCxPQUFPLENBQ0wsb0JBQUMsR0FBRyxhQUNGLEdBQUcsRUFBRSxHQUFHLEVBQ1IsT0FBTyxFQUFFLE9BQU8sRUFDaEIsS0FBSyxFQUFFLEtBQUssRUFDWixTQUFTLEVBQUUsT0FBTyxpQkFDTCxNQUFNLElBQ2YsQ0FBQyxhQUFhLElBQUk7UUFDcEIsS0FBSyxFQUFFO1lBQ0wsZUFBZSxFQUFFLGNBQU8sYUFBYSxNQUFHO1lBQ3hDLGNBQWMsRUFBRSxPQUFPO1lBQ3ZCLGtCQUFrQixFQUFFLEtBQUs7U0FDMUI7S0FDRixDQUFDLEVBQ0UsTUFBTSxHQUVULFFBQVEsQ0FDTCxDQUNQLENBQUE7QUFDSCxDQUFDLENBQ0YsQ0FBQTtBQUVELGVBQWUsSUFBSSxDQUFBIn0=
|
|
@@ -54,23 +54,23 @@ export default {
|
|
|
54
54
|
"type": "enum",
|
|
55
55
|
"values": [
|
|
56
56
|
"undefined",
|
|
57
|
-
"p",
|
|
58
57
|
"button",
|
|
58
|
+
"input",
|
|
59
59
|
"a",
|
|
60
|
-
"
|
|
61
|
-
"details",
|
|
62
|
-
"dialog",
|
|
60
|
+
"span",
|
|
63
61
|
"div",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"input",
|
|
67
|
-
"label",
|
|
62
|
+
"p",
|
|
63
|
+
"ul",
|
|
68
64
|
"li",
|
|
65
|
+
"label",
|
|
69
66
|
"main",
|
|
70
|
-
"ol",
|
|
71
|
-
"span",
|
|
72
67
|
"summary",
|
|
73
|
-
"
|
|
68
|
+
"details",
|
|
69
|
+
"ol",
|
|
70
|
+
"dl",
|
|
71
|
+
"dt",
|
|
72
|
+
"dd",
|
|
73
|
+
"dialog",
|
|
74
74
|
"button",
|
|
75
75
|
"input",
|
|
76
76
|
"a",
|
|
@@ -113,15 +113,6 @@ export default {
|
|
|
113
113
|
"type": "enum",
|
|
114
114
|
"values": [
|
|
115
115
|
"undefined",
|
|
116
|
-
"CENTER",
|
|
117
|
-
"START",
|
|
118
|
-
"END",
|
|
119
|
-
"CENTER",
|
|
120
|
-
"START",
|
|
121
|
-
"END",
|
|
122
|
-
"SPACE_BETWEEN",
|
|
123
|
-
"SPACE_AROUND",
|
|
124
|
-
"SPACE_EVENLY",
|
|
125
116
|
"JUSTIFIED_CENTER",
|
|
126
117
|
"JUSTIFIED_START",
|
|
127
118
|
"JUSTIFIED_END",
|
|
@@ -130,6 +121,15 @@ export default {
|
|
|
130
121
|
"JUSTIFIED_START",
|
|
131
122
|
"JUSTIFIED_END",
|
|
132
123
|
"SPACE_BETWEEN",
|
|
124
|
+
"CENTER",
|
|
125
|
+
"START",
|
|
126
|
+
"END",
|
|
127
|
+
"SPACE_BETWEEN",
|
|
128
|
+
"SPACE_AROUND",
|
|
129
|
+
"SPACE_EVENLY",
|
|
130
|
+
"CENTER",
|
|
131
|
+
"START",
|
|
132
|
+
"END",
|
|
133
133
|
"SPACE_AROUND",
|
|
134
134
|
"SPACE_EVENLY"
|
|
135
135
|
]
|
|
@@ -146,6 +146,9 @@ export default {
|
|
|
146
146
|
"type": "enum",
|
|
147
147
|
"values": [
|
|
148
148
|
"undefined",
|
|
149
|
+
"CENTER",
|
|
150
|
+
"START",
|
|
151
|
+
"END",
|
|
149
152
|
"ALIGNED_CENTER",
|
|
150
153
|
"ALIGNED_START",
|
|
151
154
|
"ALIGNED_END",
|
|
@@ -158,9 +161,6 @@ export default {
|
|
|
158
161
|
"START",
|
|
159
162
|
"END",
|
|
160
163
|
"STRETCH",
|
|
161
|
-
"CENTER",
|
|
162
|
-
"START",
|
|
163
|
-
"END",
|
|
164
164
|
"STRETCH"
|
|
165
165
|
]
|
|
166
166
|
},
|
|
@@ -168,6 +168,9 @@ export default {
|
|
|
168
168
|
"type": "enum",
|
|
169
169
|
"values": [
|
|
170
170
|
"undefined",
|
|
171
|
+
"CENTER",
|
|
172
|
+
"START",
|
|
173
|
+
"END",
|
|
171
174
|
"ALIGNED_CENTER",
|
|
172
175
|
"ALIGNED_START",
|
|
173
176
|
"ALIGNED_END",
|
|
@@ -180,9 +183,6 @@ export default {
|
|
|
180
183
|
"START",
|
|
181
184
|
"END",
|
|
182
185
|
"STRETCH",
|
|
183
|
-
"CENTER",
|
|
184
|
-
"START",
|
|
185
|
-
"END",
|
|
186
186
|
"STRETCH"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
@@ -190,12 +190,6 @@ export default {
|
|
|
190
190
|
"type": "enum",
|
|
191
191
|
"values": [
|
|
192
192
|
"undefined",
|
|
193
|
-
"SUCCESS",
|
|
194
|
-
"INFO",
|
|
195
|
-
"WARNING",
|
|
196
|
-
"ERROR",
|
|
197
|
-
"MAIN",
|
|
198
|
-
"ACCENT",
|
|
199
193
|
"WHITE",
|
|
200
194
|
"MAIN",
|
|
201
195
|
"MAIN_FADE",
|
|
@@ -218,13 +212,19 @@ export default {
|
|
|
218
212
|
"STROKE",
|
|
219
213
|
"STROKE_FADE",
|
|
220
214
|
"WHITE",
|
|
215
|
+
"MAIN",
|
|
221
216
|
"MAIN_FADE",
|
|
217
|
+
"ACCENT",
|
|
222
218
|
"ACCENT_FADE",
|
|
223
219
|
"FONT",
|
|
224
220
|
"FONT_PLACEHOLDER",
|
|
221
|
+
"SUCCESS",
|
|
225
222
|
"SUCCESS_FADE",
|
|
223
|
+
"INFO",
|
|
226
224
|
"INFO_FADE",
|
|
225
|
+
"WARNING",
|
|
227
226
|
"WARNING_FADE",
|
|
227
|
+
"ERROR",
|
|
228
228
|
"ERROR_FADE",
|
|
229
229
|
"DISABLED",
|
|
230
230
|
"DISABLED_FADE",
|
package/lib/tsconfig.json
CHANGED
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.3-
|
|
1
|
+
export declare const version = "0.0.3-storybook";
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var version = "0.0.3-
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export var version = "0.0.3-storybook";
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLElBQU0sT0FBTyxHQUFHLGlCQUFpQixDQUFBIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trilogy-ds/react",
|
|
3
|
-
"version": "0.0.3-
|
|
3
|
+
"version": "0.0.3-storybook",
|
|
4
4
|
"author": "Bouygues Telecom",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,27 +17,23 @@
|
|
|
17
17
|
"description": "Trilogy react framework design system for Bouygues Telecom",
|
|
18
18
|
"license": "UNLICENSED",
|
|
19
19
|
"scripts": {
|
|
20
|
-
"test": "jest --config jest.config.web.ts --updateSnapshot --coverage",
|
|
20
|
+
"test": "jest --config jest/jest.config.web.ts --updateSnapshot --coverage",
|
|
21
21
|
"check-types": "tsc --noemit",
|
|
22
|
-
"test:native": "jest --config jest.config.native.ts --updateSnapshot --coverage --silent=false",
|
|
22
|
+
"test:native": "jest --config jest/jest.config.native.ts --updateSnapshot --coverage --silent=false",
|
|
23
23
|
"prebuild": "node -p \"'export const version = ' + JSON.stringify(require('./package.json').version)\" > version.ts",
|
|
24
24
|
"build": "rimraf lib && npm run prebuild && tsc -p ./tsconfig.build.json && tsc-alias && cp -R ../../config/native/react-native.config.js ./lib/"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@ptomasroos/react-native-multi-slider": "^2.2.2",
|
|
28
|
-
"@react-native-picker/picker": "^2.6.1",
|
|
29
28
|
"@react-native-community/datetimepicker": "8.2.0",
|
|
30
29
|
"@trilogy-ds/assets": "*",
|
|
31
30
|
"@trilogy-ds/locales": "en",
|
|
32
31
|
"@trilogy-ds/styles": "*",
|
|
33
32
|
"clsx": "^2.1.0",
|
|
34
|
-
"color": "^4.2.3",
|
|
35
33
|
"react-native-gesture-handler": "^2.16.0",
|
|
36
|
-
"react-native-modal": "^13.0.1",
|
|
37
34
|
"react-native-svg": "^15.11.1",
|
|
38
35
|
"react-native-toast-message": "^2.2.0",
|
|
39
|
-
"rollup-plugin-copy": "^3.5.0"
|
|
40
|
-
"shortid": "^2.2.16"
|
|
36
|
+
"rollup-plugin-copy": "^3.5.0"
|
|
41
37
|
},
|
|
42
38
|
"devDependencies": {
|
|
43
39
|
"jest-util": "^29.7.0"
|
|
@@ -45,11 +41,15 @@
|
|
|
45
41
|
"peerDependencies": {
|
|
46
42
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
47
43
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
48
|
-
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
44
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
45
|
+
"react-native-reanimated": ">=2.15.0 <4.0.0"
|
|
49
46
|
},
|
|
50
47
|
"peerDependenciesMeta": {
|
|
51
48
|
"@types/react": {
|
|
52
49
|
"optional": true
|
|
50
|
+
},
|
|
51
|
+
"react-native-reanimated": {
|
|
52
|
+
"optional": true
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|