@trilogy-ds/react 0.0.2-calendar → 0.0.2-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 +8 -6
- package/lib/components/accordion/Accordion.native.d.ts +4 -1
- package/lib/components/accordion/Accordion.native.js +7 -4
- package/lib/components/accordion/AccordionProps.d.ts +2 -1
- package/lib/components/accordion/AccordionPropsDefaults.js +7 -0
- package/lib/components/accordion/item/AccordionItem.d.ts +5 -2
- package/lib/components/accordion/item/AccordionItem.js +8 -5
- 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/AccordionItemProps.d.ts +2 -1
- package/lib/components/accordion/item/AccordionItemPropsDefaults.js +7 -0
- 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 +5 -3
- package/lib/components/accordion/item/header/AccordionHeader.d.ts +4 -3
- package/lib/components/accordion/item/header/AccordionHeader.js +7 -6
- 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/accordion/item/header/AccordionHeaderProps.d.ts +2 -1
- package/lib/components/accordion/item/header/AccordionHeaderPropsDefaults.js +7 -0
- package/lib/components/alert/Alert.js +4 -4
- package/lib/components/alert/Alert.native.d.ts +3 -3
- package/lib/components/alert/Alert.native.js +3 -3
- package/lib/components/alert/AlertPropsDefaults.js +13 -1
- package/lib/components/alert/ToasterDocs.d.ts +21 -0
- package/lib/components/alert/ToasterDocs.js +8 -0
- package/lib/components/alert/ToasterStatusPropsDefaults.js +13 -1
- package/lib/components/alert/context/ToastConfigDefaults.js +8 -0
- package/lib/components/alert/context/ToastPropsDefaults.js +13 -1
- package/lib/components/alert/context/ToasterContextProps.d.ts +2 -1
- package/lib/components/alert/index.d.ts +2 -1
- package/lib/components/alert/index.js +3 -2
- package/lib/components/autocomplete/AutoComplete.d.ts +12 -12
- package/lib/components/autocomplete/AutoComplete.js +46 -45
- 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 +63 -25
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +63 -25
- package/lib/components/autocomplete/Autocomplete.helpers.js +1 -1
- 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 +10 -2
- 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 +11 -10
- 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 +13 -10
- package/lib/components/box/Box.native.d.ts +8 -9
- package/lib/components/box/Box.native.js +35 -29
- package/lib/components/box/BoxPropsDefaults.js +18 -14
- package/lib/components/box/content/BoxContent.d.ts +2 -1
- package/lib/components/box/content/BoxContent.js +5 -4
- 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 +9 -7
- 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 +5 -4
- 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 +9 -7
- package/lib/components/box/header/BoxHeader.d.ts +3 -3
- package/lib/components/box/header/BoxHeader.js +6 -6
- 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/BoxHeaderProps.d.ts +2 -1
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +34 -9
- package/lib/components/box/item/BoxItem.d.ts +2 -0
- package/lib/components/box/item/BoxItem.js +5 -3
- 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/item/BoxItemProps.d.ts +2 -1
- package/lib/components/box/item/BoxItemPropsDefaults.js +7 -0
- 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 +4 -3
- 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 +3 -4
- 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 +15 -16
- 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 +35 -23
- package/lib/components/button/list/ButtonList.d.ts +5 -3
- package/lib/components/button/list/ButtonList.js +8 -6
- 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/ButtonListProps.d.ts +3 -3
- package/lib/components/button/list/ButtonListPropsDefaults.js +7 -0
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +16 -1
- package/lib/components/calendar/Calendar.d.ts +15 -5
- package/lib/components/calendar/Calendar.js +149 -51
- package/lib/components/calendar/Calendar.native.d.ts +17 -0
- package/lib/components/calendar/Calendar.native.js +561 -0
- package/lib/components/calendar/CalendarProps.d.ts +5 -4
- package/lib/components/calendar/CalendarPropsDefaults.js +8 -1
- package/lib/components/calendar/index.d.ts +1 -0
- package/lib/components/calendar/index.js +2 -1
- package/lib/components/card/Card.d.ts +6 -2
- package/lib/components/card/Card.js +10 -6
- package/lib/components/card/Card.native.d.ts +7 -7
- package/lib/components/card/Card.native.js +19 -21
- package/lib/components/card/CardProps.d.ts +2 -1
- package/lib/components/card/CardPropsDefaults.js +7 -0
- package/lib/components/card/content/CardContent.d.ts +2 -1
- package/lib/components/card/content/CardContent.js +5 -4
- 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/content/CardContentProps.d.ts +2 -1
- package/lib/components/card/content/CardContentPropsDefaults.js +7 -0
- package/lib/components/card/image/CardImage.d.ts +2 -0
- package/lib/components/card/image/CardImage.js +5 -3
- package/lib/components/card/image/CardImage.native.d.ts +3 -2
- package/lib/components/card/image/CardImage.native.js +4 -3
- package/lib/components/card/image/CardImageProps.d.ts +2 -2
- package/lib/components/card/image/CardImagePropsDefaults.js +7 -0
- package/lib/components/checkbox/Checkbox.d.ts +8 -7
- package/lib/components/checkbox/Checkbox.js +11 -10
- package/lib/components/checkbox/Checkbox.native.d.ts +4 -4
- package/lib/components/checkbox/Checkbox.native.js +7 -7
- package/lib/components/checkbox/CheckboxCommonPropsDefaults.js +7 -0
- package/lib/components/checkbox/CheckboxProps.d.ts +2 -1
- package/lib/components/checkbox/CheckboxWithChildrenDefaults.js +7 -0
- package/lib/components/checkbox/CheckboxWithLabelDefaults.js +7 -0
- package/lib/components/checkbox/list/CheckboxList.d.ts +3 -0
- package/lib/components/checkbox/list/CheckboxList.js +6 -3
- 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/CheckboxListProps.d.ts +4 -4
- package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +16 -1
- package/lib/components/checkbox/tiles/CheckboxTiles.d.ts +5 -1
- package/lib/components/checkbox/tiles/CheckboxTiles.js +31 -5
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.ts +10 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +44 -7
- package/lib/components/checkbox/tiles/CheckboxTilesProps.d.ts +4 -4
- package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +44 -2
- package/lib/components/checkbox/tiles/context/CheckboxTilesContext.d.ts +3 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContext.js +5 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContextProps.d.ts +3 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContextProps.js +2 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContextPropsDefaults.js +9 -0
- package/lib/components/checkbox/tiles/context/index.d.ts +2 -0
- package/lib/components/checkbox/tiles/context/index.js +3 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.d.ts +16 -13
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +34 -22
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +18 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +31 -9
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.d.ts +4 -6
- package/lib/components/checkbox/tiles/tile/CheckboxTilePropsDefaults.js +35 -2
- package/lib/components/chips/Chips.d.ts +3 -4
- package/lib/components/chips/Chips.js +6 -7
- package/lib/components/chips/Chips.native.d.ts +1 -0
- package/lib/components/chips/Chips.native.js +5 -4
- package/lib/components/chips/list/ChipsList.d.ts +5 -3
- package/lib/components/chips/list/ChipsList.js +8 -6
- package/lib/components/chips/list/ChipsList.native.d.ts +2 -0
- package/lib/components/chips/list/ChipsList.native.js +5 -3
- package/lib/components/chips/list/ChipsListProps.d.ts +2 -1
- package/lib/components/chips/list/ChipsListPropsDefaults.js +7 -0
- package/lib/components/columns/Columns.d.ts +7 -3
- package/lib/components/columns/Columns.js +10 -6
- package/lib/components/columns/Columns.native.d.ts +9 -4
- package/lib/components/columns/Columns.native.js +12 -7
- package/lib/components/columns/ColumnsProps.d.ts +2 -1
- package/lib/components/columns/ColumnsPropsDefaults.js +25 -2
- package/lib/components/columns/column/Column.d.ts +4 -4
- package/lib/components/columns/column/Column.js +7 -7
- package/lib/components/columns/column/Column.native.d.ts +4 -4
- package/lib/components/columns/column/Column.native.js +6 -6
- package/lib/components/columns/column/ColumnProps.d.ts +2 -1
- package/lib/components/columns/column/ColumnPropsDefaults.js +39 -16
- package/lib/components/container/Container.d.ts +5 -4
- package/lib/components/container/Container.js +8 -7
- package/lib/components/container/Container.native.d.ts +3 -1
- package/lib/components/container/Container.native.js +6 -4
- package/lib/components/container/ContainerProps.d.ts +2 -1
- package/lib/components/container/ContainerPropsDefaults.js +7 -0
- package/lib/components/countdown/Countdown.d.ts +5 -6
- package/lib/components/countdown/Countdown.js +17 -18
- package/lib/components/countdown/Countdown.native.d.ts +5 -5
- package/lib/components/countdown/Countdown.native.js +44 -38
- package/lib/components/countdown/CountdownProps.d.ts +2 -1
- package/lib/components/countdown/CountdownPropsDefaults.js +7 -0
- package/lib/components/datepicker/DatePicker.d.ts +23 -0
- package/lib/components/datepicker/DatePicker.js +429 -0
- package/lib/components/datepicker/DatePicker.native.d.ts +21 -0
- package/lib/components/datepicker/DatePicker.native.js +309 -0
- package/lib/components/datepicker/DatePickerEnum.d.ts +7 -0
- package/lib/components/datepicker/DatePickerEnum.js +8 -0
- package/lib/components/datepicker/DatePickerProps.d.ts +37 -0
- package/lib/components/datepicker/DatePickerProps.js +2 -0
- package/lib/components/datepicker/DatePickerPropsDefaults.js +117 -0
- package/lib/components/datepicker/HandleKeyPressDefaults.js +14 -0
- package/lib/components/datepicker/SegmentDefaults.js +33 -0
- package/lib/components/datepicker/SegmentsDefaults.js +14 -0
- package/lib/components/datepicker/index.d.ts +2 -0
- package/lib/components/datepicker/index.js +3 -0
- package/lib/components/divider/Divider.d.ts +6 -5
- package/lib/components/divider/Divider.js +9 -8
- package/lib/components/divider/Divider.native.d.ts +5 -5
- package/lib/components/divider/Divider.native.js +9 -9
- package/lib/components/divider/DividerProps.d.ts +2 -2
- package/lib/components/divider/DividerPropsDefaults.js +20 -1
- package/lib/components/dropdown/Dropdown.d.ts +14 -0
- package/lib/components/dropdown/Dropdown.js +89 -0
- package/lib/components/dropdown/Dropdown.native.d.ts +4 -0
- package/lib/components/dropdown/Dropdown.native.js +8 -0
- package/lib/components/dropdown/DropdownProps.d.ts +15 -0
- package/lib/components/dropdown/DropdownProps.js +2 -0
- package/lib/components/dropdown/DropdownPropsDefaults.js +53 -0
- package/lib/components/dropdown/context/DropdownContext.d.ts +15 -0
- package/lib/components/dropdown/context/DropdownContext.js +35 -0
- package/lib/components/dropdown/context/index.d.ts +1 -0
- package/lib/components/dropdown/context/index.js +2 -0
- package/lib/components/dropdown/group/DropdownGroup.d.ts +13 -0
- package/lib/components/dropdown/group/DropdownGroup.js +25 -0
- package/lib/components/dropdown/group/DropdownGroup.native.d.ts +4 -0
- package/lib/components/dropdown/group/DropdownGroup.native.js +8 -0
- package/lib/components/dropdown/group/DropdownGroupProps.d.ts +14 -0
- package/lib/components/dropdown/group/DropdownGroupProps.js +2 -0
- package/lib/components/dropdown/group/DropdownGroupPropsDefaults.js +52 -0
- package/lib/components/dropdown/group/index.d.ts +2 -0
- package/lib/components/dropdown/group/index.js +3 -0
- package/lib/components/dropdown/index.d.ts +6 -0
- package/lib/components/dropdown/index.js +7 -0
- package/lib/components/dropdown/item/DropdownItem.d.ts +12 -0
- package/lib/components/dropdown/item/DropdownItem.js +46 -0
- package/lib/components/dropdown/item/DropdownItem.native.d.ts +4 -0
- package/lib/components/dropdown/item/DropdownItem.native.js +8 -0
- package/lib/components/dropdown/item/DropdownItemProps.d.ts +15 -0
- package/lib/components/dropdown/item/DropdownItemProps.js +2 -0
- package/lib/components/dropdown/item/DropdownItemPropsDefaults.js +103 -0
- package/lib/components/dropdown/item/index.d.ts +2 -0
- package/lib/components/dropdown/item/index.js +3 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.d.ts +13 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.js +61 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.d.ts +4 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.js +8 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.d.ts +13 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.js +2 -0
- package/lib/components/dropdown/trigger/DropdownTriggerPropsDefaults.js +44 -0
- package/lib/components/dropdown/trigger/index.d.ts +2 -0
- package/lib/components/dropdown/trigger/index.js +3 -0
- package/lib/components/enumsComponentsName.d.ts +21 -2
- package/lib/components/enumsComponentsName.js +21 -2
- package/lib/components/fab/Fab.d.ts +15 -13
- package/lib/components/fab/Fab.js +18 -16
- package/lib/components/fab/Fab.native.d.ts +12 -10
- package/lib/components/fab/Fab.native.js +13 -11
- package/lib/components/fab/FabPropsDefaults.js +13 -1
- package/lib/components/flex-box/FlexBox.d.ts +15 -9
- package/lib/components/flex-box/FlexBox.js +63 -16
- package/lib/components/flex-box/FlexBox.native.d.ts +14 -0
- package/lib/components/flex-box/FlexBox.native.js +20 -4
- package/lib/components/flex-box/FlexBoxProps.d.ts +7 -1
- package/lib/components/flex-box/FlexBoxPropsDefaults.js +29 -5
- package/lib/components/flex-box/ResponsiveValueDefaults.js +14 -0
- package/lib/components/flex-box/flex-item/FlexItem.d.ts +4 -17
- package/lib/components/flex-box/flex-item/FlexItem.js +8 -21
- 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/FlexItemProps.d.ts +4 -3
- package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +26 -3
- package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +8 -8
- package/lib/components/hero/Hero.d.ts +4 -4
- package/lib/components/hero/Hero.js +7 -7
- package/lib/components/hero/Hero.native.d.ts +5 -6
- package/lib/components/hero/Hero.native.js +9 -10
- package/lib/components/hero/HeroProps.d.ts +2 -2
- package/lib/components/hero/HeroPropsDefaults.js +16 -7
- package/lib/components/icon/Icon.d.ts +9 -9
- package/lib/components/icon/Icon.js +12 -12
- package/lib/components/icon/Icon.native.d.ts +7 -11
- package/lib/components/icon/Icon.native.js +12 -21
- package/lib/components/icon/IconNameEnum.d.ts +7 -1
- package/lib/components/icon/IconNameEnum.js +7 -1
- package/lib/components/icon/IconPropsDefaults.js +22 -8
- package/lib/components/image/Image.d.ts +9 -5
- package/lib/components/image/Image.js +12 -8
- package/lib/components/image/Image.native.d.ts +5 -3
- package/lib/components/image/Image.native.js +29 -7
- package/lib/components/image/ImageProps.d.ts +4 -2
- package/lib/components/image/ImagePropsDefaults.js +34 -2
- package/lib/components/index.d.ts +4 -0
- package/lib/components/index.js +5 -1
- package/lib/components/input/Input.d.ts +17 -13
- package/lib/components/input/Input.js +35 -23
- package/lib/components/input/Input.native.d.ts +21 -17
- package/lib/components/input/Input.native.js +52 -115
- package/lib/components/input/InputChangeEventWebDefaults.js +2 -2
- package/lib/components/input/InputProps.d.ts +3 -2
- package/lib/components/input/InputPropsDefaults.js +63 -25
- package/lib/components/link/Link.d.ts +10 -11
- package/lib/components/link/Link.js +15 -16
- 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 +49 -22
- package/lib/components/link/LinkProps.d.ts +2 -0
- package/lib/components/link/LinkPropsDefaults.js +59 -32
- package/lib/components/link/LinkPropsNativeDefaults.js +57 -30
- 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/ListItemPropsDefaults.js +13 -1
- package/lib/components/list/item/description/ListItemDescription.d.ts +1 -0
- package/lib/components/list/item/description/ListItemDescription.js +5 -3
- package/lib/components/list/item/description/ListItemDescriptionProps.d.ts +2 -1
- package/lib/components/list/item/description/ListItemDescriptionPropsDefaults.js +7 -0
- package/lib/components/modal/Modal.d.ts +10 -4
- package/lib/components/modal/Modal.js +14 -8
- 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 +6 -5
- 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/body/ModalBodyProps.d.ts +2 -1
- package/lib/components/modal/body/ModalBodyPropsDefaults.js +7 -0
- package/lib/components/modal/footer/ModalFooter.d.ts +2 -1
- package/lib/components/modal/footer/ModalFooter.js +5 -4
- package/lib/components/modal/footer/ModalFooter.native.d.ts +2 -0
- package/lib/components/modal/footer/ModalFooter.native.js +5 -3
- package/lib/components/modal/footer/ModalFooterProps.d.ts +2 -1
- package/lib/components/modal/footer/ModalFooterPropsDefaults.js +7 -0
- package/lib/components/otp/Otp.d.ts +6 -2
- package/lib/components/otp/Otp.js +10 -6
- package/lib/components/otp/Otp.native.d.ts +4 -2
- package/lib/components/otp/Otp.native.js +8 -6
- package/lib/components/otp/OtpProps.d.ts +2 -1
- package/lib/components/otp/OtpPropsDefaults.js +7 -0
- package/lib/components/pagination/Pagination.d.ts +6 -5
- package/lib/components/pagination/Pagination.js +40 -38
- package/lib/components/pagination/Pagination.native.d.ts +6 -5
- package/lib/components/pagination/Pagination.native.js +11 -10
- package/lib/components/pagination/PaginationNativePropsDefaults.js +9 -0
- package/lib/components/pagination/PaginationProps.d.ts +7 -3
- package/lib/components/pagination/PaginationPropsDefaults.js +1 -1
- package/lib/components/popover/Popover.d.ts +4 -3
- package/lib/components/popover/Popover.js +7 -6
- 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 +30 -26
- 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 +18 -2
- 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 +22 -14
- package/lib/components/progress/Progress.native.d.ts +10 -6
- package/lib/components/progress/Progress.native.js +11 -7
- package/lib/components/progress/ProgressProps.d.ts +2 -1
- package/lib/components/progress/ProgressPropsDefaults.js +7 -0
- package/lib/components/progress/index.js +1 -1
- package/lib/components/progress/item/ProgressItem.d.ts +5 -3
- package/lib/components/progress/item/ProgressItem.js +8 -6
- 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/item/ProgressItemProps.d.ts +2 -2
- package/lib/components/progress/item/ProgressItemPropsDefaults.js +7 -0
- 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 +23 -30
- package/lib/components/progress/radial/ProgressRadialProps.d.ts +2 -2
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +43 -16
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +2 -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 +15 -0
- package/lib/components/prompt/Prompt.js +38 -0
- package/lib/components/prompt/Prompt.native.d.ts +13 -0
- package/lib/components/prompt/Prompt.native.js +38 -0
- package/lib/components/prompt/PromptProps.d.ts +16 -0
- package/lib/components/prompt/PromptProps.js +6 -0
- package/lib/components/prompt/PromptPropsDefaults.js +60 -0
- package/lib/components/prompt/context/index.d.ts +31 -0
- package/lib/components/prompt/context/index.js +47 -0
- package/lib/components/prompt/files/PromptFiles.d.ts +10 -0
- package/lib/components/prompt/files/PromptFiles.js +29 -0
- package/lib/components/prompt/files/PromptFiles.native.d.ts +5 -0
- package/lib/components/prompt/files/PromptFiles.native.js +26 -0
- package/lib/components/prompt/files/PromptFilesProps.d.ts +10 -0
- package/lib/components/prompt/files/PromptFilesProps.js +2 -0
- package/lib/components/prompt/files/PromptFilesPropsDefaults.js +44 -0
- package/lib/components/prompt/files/file/PromptFile.d.ts +13 -0
- package/lib/components/prompt/files/file/PromptFile.js +49 -0
- package/lib/components/prompt/files/file/PromptFile.native.d.ts +5 -0
- package/lib/components/prompt/files/file/PromptFile.native.js +78 -0
- package/lib/components/prompt/files/file/PromptFileProps.d.ts +13 -0
- package/lib/components/prompt/files/file/PromptFileProps.js +2 -0
- package/lib/components/prompt/files/file/PromptFilePropsDefaults.js +55 -0
- package/lib/components/prompt/files/file/index.d.ts +3 -0
- package/lib/components/prompt/files/file/index.js +4 -0
- package/lib/components/prompt/files/index.d.ts +3 -0
- package/lib/components/prompt/files/index.js +4 -0
- package/lib/components/prompt/index.d.ts +14 -0
- package/lib/components/prompt/index.js +15 -0
- package/lib/components/prompt/textarea/PromptTextarea.d.ts +15 -0
- package/lib/components/prompt/textarea/PromptTextarea.js +42 -0
- package/lib/components/prompt/textarea/PromptTextarea.native.d.ts +5 -0
- package/lib/components/prompt/textarea/PromptTextarea.native.js +47 -0
- package/lib/components/prompt/textarea/PromptTextareaProps.d.ts +16 -0
- package/lib/components/prompt/textarea/PromptTextareaProps.js +2 -0
- package/lib/components/prompt/textarea/PromptTextareaPropsDefaults.js +81 -0
- package/lib/components/prompt/textarea/index.d.ts +3 -0
- package/lib/components/prompt/textarea/index.js +4 -0
- package/lib/components/prompt/toolbar/PromptToolbar.d.ts +10 -0
- package/lib/components/prompt/toolbar/PromptToolbar.js +21 -0
- package/lib/components/prompt/toolbar/PromptToolbar.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/PromptToolbar.native.js +25 -0
- package/lib/components/prompt/toolbar/PromptToolbarProps.d.ts +10 -0
- package/lib/components/prompt/toolbar/PromptToolbarProps.js +2 -0
- package/lib/components/prompt/toolbar/PromptToolbarPropsDefaults.js +44 -0
- package/lib/components/prompt/toolbar/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/index.js +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.d.ts +13 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.js +34 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.d.ts +11 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.js +40 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.d.ts +12 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.js +2 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophonePropsDefaults.js +61 -0
- package/lib/components/prompt/toolbar/microphone/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/microphone/index.js +4 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.d.ts +15 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.js +54 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.d.ts +13 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.js +52 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitProps.d.ts +18 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitProps.js +6 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitPropsDefaults.js +68 -0
- package/lib/components/prompt/toolbar/submit/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/submit/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.d.ts +10 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.js +21 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.native.d.ts +5 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.native.js +22 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsProps.d.ts +10 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsPropsDefaults.js +44 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.d.ts +16 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.js +35 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.native.js +39 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.d.ts +19 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonPropsDefaults.js +157 -0
- package/lib/components/prompt/toolbar/tools/button/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/button/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.d.ts +13 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.js +37 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.js +30 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.d.ts +12 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFilePropsDefaults.js +53 -0
- package/lib/components/prompt/toolbar/tools/inputFile/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/inputFile/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.d.ts +16 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.js +62 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.js +22 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelectProps.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelectProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/select/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.d.ts +12 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.js +19 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.native.js +11 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOptionProps.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOptionProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/select/options/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/options/index.js +4 -0
- package/lib/components/radio/EventHandlerDefaults.js +21 -0
- package/lib/components/radio/Radio.d.ts +7 -6
- package/lib/components/radio/Radio.js +12 -11
- package/lib/components/radio/Radio.native.d.ts +7 -7
- package/lib/components/radio/Radio.native.js +6 -6
- package/lib/components/radio/RadioNativePropsDefaults.js +9 -0
- package/lib/components/radio/RadioProps.d.ts +11 -4
- package/lib/components/radio/RadioPropsDefaults.js +7 -0
- package/lib/components/radio/list/RadioList.d.ts +5 -2
- package/lib/components/radio/list/RadioList.js +11 -8
- package/lib/components/radio/list/RadioListProps.d.ts +3 -3
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +16 -1
- package/lib/components/radio/tiles/RadioTiles.d.ts +2 -0
- package/lib/components/radio/tiles/RadioTiles.js +27 -4
- package/lib/components/radio/tiles/RadioTiles.native.d.ts +1 -0
- package/lib/components/radio/tiles/RadioTiles.native.js +35 -7
- package/lib/components/radio/tiles/RadioTilesProps.d.ts +4 -5
- package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +44 -2
- package/lib/components/radio/tiles/context/RadioTilesContext.d.ts +3 -0
- package/lib/components/radio/tiles/context/RadioTilesContext.js +5 -0
- package/lib/components/radio/tiles/context/RadioTilesContextProps.d.ts +3 -0
- package/lib/components/radio/tiles/context/RadioTilesContextProps.js +2 -0
- package/lib/components/radio/tiles/context/RadioTilesContextPropsDefaults.js +9 -0
- package/lib/components/radio/tiles/context/index.d.ts +2 -0
- package/lib/components/radio/tiles/context/index.js +3 -0
- package/lib/components/radio/tiles/tile/RadioTile.js +18 -9
- package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +3 -2
- package/lib/components/radio/tiles/tile/RadioTile.native.js +9 -5
- package/lib/components/radio/tiles/tile/RadioTileNativePropsDefaults.js +128 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +10 -7
- package/lib/components/radio/tiles/tile/RadioTilePropsCommonDefaults.js +128 -0
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +23 -71
- package/lib/components/range/Range.d.ts +18 -18
- package/lib/components/range/Range.js +22 -23
- 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 +10 -7
- package/lib/components/rows/RowsProps.d.ts +2 -1
- package/lib/components/rows/RowsPropsDefaults.js +7 -0
- package/lib/components/rows/row/Row.d.ts +2 -0
- package/lib/components/rows/row/Row.js +5 -3
- package/lib/components/rows/row/RowProps.d.ts +2 -1
- package/lib/components/rows/row/RowPropsDefaults.js +7 -0
- package/lib/components/scroll-view/ScrollView.d.ts +15 -15
- package/lib/components/scroll-view/ScrollView.js +27 -27
- 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/ScrollViewProps.d.ts +2 -2
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +16 -7
- package/lib/components/section/Section.d.ts +8 -7
- package/lib/components/section/Section.js +15 -14
- package/lib/components/section/Section.native.d.ts +5 -4
- package/lib/components/section/Section.native.js +6 -5
- package/lib/components/section/SectionProps.d.ts +2 -2
- package/lib/components/section/SectionPropsDefaults.js +16 -7
- package/lib/components/segment-control/SegmentControl.d.ts +6 -5
- package/lib/components/segment-control/SegmentControl.js +9 -8
- 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/SegmentControlProps.d.ts +3 -3
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +16 -1
- package/lib/components/segment-control/item/SegmentControlItem.d.ts +2 -1
- package/lib/components/segment-control/item/SegmentControlItem.js +5 -4
- 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/segment-control/item/SegmentControlItemProps.d.ts +2 -2
- package/lib/components/segment-control/item/SegmentControlItemPropsDefaults.js +7 -0
- package/lib/components/select/PropsDefaults.js +21 -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 +13 -12
- package/lib/components/select/SelectNativePropsDefaults.js +21 -1
- package/lib/components/select/SelectProps.d.ts +1 -0
- package/lib/components/select/SelectPropsDefaults.js +21 -1
- package/lib/components/select/option/SelectOption.js +2 -2
- package/lib/components/select/option/SelectOptionPropsDefaults.js +13 -1
- package/lib/components/select/web/SelectDynamic.js +3 -3
- package/lib/components/select/web/SelectNative.js +2 -2
- package/lib/components/skeleton/Skeleton.d.ts +18 -0
- package/lib/components/skeleton/Skeleton.js +20 -0
- package/lib/components/skeleton/Skeleton.native.d.ts +16 -0
- package/lib/components/skeleton/Skeleton.native.js +70 -0
- package/lib/components/skeleton/SkeletonProps.d.ts +13 -0
- package/lib/components/skeleton/SkeletonProps.js +2 -0
- package/lib/components/skeleton/SkeletonPropsDefaults.js +80 -0
- package/lib/components/skeleton/index.d.ts +3 -0
- package/lib/components/skeleton/index.js +4 -0
- package/lib/components/spacer/Spacer.d.ts +7 -3
- package/lib/components/spacer/Spacer.js +10 -6
- package/lib/components/spacer/SpacerProps.d.ts +2 -1
- package/lib/components/spacer/SpacerPropsDefaults.js +7 -0
- package/lib/components/stepper/Stepper.d.ts +4 -3
- package/lib/components/stepper/Stepper.js +35 -23
- package/lib/components/stepper/Stepper.native.d.ts +0 -1
- package/lib/components/stepper/Stepper.native.js +15 -14
- package/lib/components/stepper/StepperProps.d.ts +2 -1
- package/lib/components/stepper/StepperPropsDefaults.js +7 -0
- package/lib/components/stepper/step/Step.d.ts +4 -3
- package/lib/components/stepper/step/Step.js +12 -20
- package/lib/components/stepper/step/StepProps.d.ts +2 -1
- package/lib/components/stepper/step/StepPropsDefaults.js +20 -1
- package/lib/components/sticker/Sticker.d.ts +10 -9
- package/lib/components/sticker/Sticker.js +19 -18
- package/lib/components/sticker/Sticker.native.d.ts +3 -4
- package/lib/components/sticker/Sticker.native.js +4 -5
- package/lib/components/sticker/StickerProps.d.ts +2 -2
- package/lib/components/sticker/StickerPropsDefaults.js +21 -2
- package/lib/components/switch/Switch.d.ts +7 -5
- package/lib/components/switch/Switch.js +15 -13
- package/lib/components/switch/Switch.native.d.ts +3 -4
- package/lib/components/switch/Switch.native.js +60 -19
- package/lib/components/switch/SwitchProps.d.ts +2 -1
- package/lib/components/switch/SwitchPropsDefaults.js +7 -0
- package/lib/components/table/Table.d.ts +6 -5
- package/lib/components/table/Table.js +14 -13
- package/lib/components/table/Table.native.js +2 -2
- package/lib/components/table/TableProps.d.ts +2 -1
- package/lib/components/table/TableProps.js +1 -1
- package/lib/components/table/TablePropsDefaults.js +7 -0
- package/lib/components/table/body/TableBody.js +3 -3
- package/lib/components/table/body/TableBodyProps.d.ts +2 -2
- package/lib/components/table/body/TableBodyPropsDefaults.js +25 -14
- package/lib/components/table/head/TableHead.js +3 -3
- package/lib/components/table/head/TableHeadProps.d.ts +2 -2
- package/lib/components/table/head/TableHeadPropsDefaults.js +25 -14
- package/lib/components/table/td/TableTd.js +3 -3
- package/lib/components/table/td/TableTd.native.js +3 -3
- package/lib/components/table/td/TableTdProps.d.ts +2 -2
- package/lib/components/table/td/TableTdPropsDefaults.js +7 -0
- package/lib/components/table/th/TableTh.js +3 -3
- package/lib/components/table/th/TableTh.native.js +2 -2
- package/lib/components/table/th/TableThProps.d.ts +2 -2
- package/lib/components/table/th/TableThPropsDefaults.js +7 -0
- package/lib/components/table/tr/TableTr.js +3 -3
- package/lib/components/table/tr/TableTrProps.d.ts +2 -2
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +16 -7
- package/lib/components/tabs/Tabs.d.ts +5 -4
- package/lib/components/tabs/Tabs.js +8 -7
- package/lib/components/tabs/Tabs.native.d.ts +1 -0
- package/lib/components/tabs/Tabs.native.js +4 -2
- package/lib/components/tabs/TabsPropsDefaults.js +18 -2
- package/lib/components/tabs/context/index.d.ts +1 -0
- package/lib/components/tabs/context/index.js +2 -1
- 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 +12 -13
- package/lib/components/tabs/tab-list/TabListProps.d.ts +2 -2
- package/lib/components/tabs/tab-list/TabListPropsDefaults.js +9 -1
- package/lib/components/tabs/tab-list/tab/Tab.native.js +8 -4
- package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +34 -22
- 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 +9 -8
- package/lib/components/tag/TagPropsDefaults.js +7 -1
- package/lib/components/tag/list/TagList.d.ts +4 -1
- package/lib/components/tag/list/TagList.js +7 -4
- 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/TagListProps.d.ts +3 -3
- package/lib/components/tag/list/TagListPropsDefaults.js +16 -1
- package/lib/components/text/Text.d.ts +13 -12
- package/lib/components/text/Text.js +16 -15
- package/lib/components/text/Text.native.js +7 -8
- package/lib/components/text/TextPropsDefaults.js +7 -3
- package/lib/components/textarea/Textarea.d.ts +5 -6
- package/lib/components/textarea/Textarea.js +9 -10
- package/lib/components/textarea/Textarea.native.d.ts +7 -11
- package/lib/components/textarea/Textarea.native.js +51 -80
- package/lib/components/textarea/TextareaProps.d.ts +2 -3
- package/lib/components/timeline/Timeline.d.ts +4 -3
- package/lib/components/timeline/Timeline.js +10 -9
- package/lib/components/timeline/TimelineProps.d.ts +2 -1
- package/lib/components/timeline/TimelinePropsDefaults.js +7 -0
- package/lib/components/timeline/content/TimelineContent.d.ts +2 -1
- package/lib/components/timeline/content/TimelineContent.js +6 -5
- package/lib/components/timeline/content/TimelineContentProps.d.ts +2 -1
- package/lib/components/timeline/content/TimelineContentPropsDefaults.js +7 -0
- package/lib/components/timeline/content/TimelineContentWebPropsDefaults.js +7 -0
- package/lib/components/timeline/item/TimelineItem.d.ts +2 -1
- package/lib/components/timeline/item/TimelineItem.js +8 -7
- package/lib/components/timeline/item/TimelineItemProps.d.ts +2 -1
- package/lib/components/timeline/item/TimelineItemPropsDefaults.js +7 -0
- package/lib/components/timeline/item/TimelineItemWebPropsDefaults.js +7 -0
- package/lib/components/timeline/marker/TimelineMarker.d.ts +1 -1
- package/lib/components/timeline/marker/TimelineMarker.js +8 -8
- package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +13 -1
- package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +13 -1
- package/lib/components/timepicker/BaseTimepickerPropsDefaults.js +52 -0
- package/lib/components/timepicker/CircularTimepickerPropsDefaults.js +56 -0
- package/lib/components/timepicker/DefaultTimepickerPropsDefaults.js +88 -0
- package/lib/components/timepicker/Timepicker.d.ts +20 -0
- package/lib/components/timepicker/Timepicker.js +30 -0
- package/lib/components/timepicker/Timepicker.native.d.ts +17 -0
- package/lib/components/timepicker/Timepicker.native.js +27 -0
- package/lib/components/timepicker/TimepickerProps.d.ts +23 -0
- package/lib/components/timepicker/TimepickerProps.js +2 -0
- package/lib/components/timepicker/circular/TimepickerCircular.d.ts +11 -0
- package/lib/components/timepicker/circular/TimepickerCircular.js +335 -0
- package/lib/components/timepicker/circular/TimepickerCircular.native.d.ts +12 -0
- package/lib/components/timepicker/circular/TimepickerCircular.native.js +478 -0
- package/lib/components/timepicker/circular/TimepickerCircularEnum.d.ts +7 -0
- package/lib/components/timepicker/circular/TimepickerCircularEnum.js +9 -0
- package/lib/components/timepicker/circular/TimepickerCircularProps.d.ts +7 -0
- package/lib/components/timepicker/circular/TimepickerCircularProps.js +2 -0
- package/lib/components/timepicker/circular/index.d.ts +3 -0
- package/lib/components/timepicker/circular/index.js +4 -0
- package/lib/components/timepicker/default/TimepickerDefault.d.ts +4 -0
- package/lib/components/timepicker/default/TimepickerDefault.js +206 -0
- package/lib/components/timepicker/default/TimepickerDefault.native.d.ts +5 -0
- package/lib/components/timepicker/default/TimepickerDefault.native.js +83 -0
- package/lib/components/timepicker/default/TimepickerDefaultProps.d.ts +6 -0
- package/lib/components/timepicker/default/TimepickerDefaultProps.js +2 -0
- package/lib/components/timepicker/default/TimepickerDefaultPropsDefaults.js +9 -0
- package/lib/components/timepicker/default/index.d.ts +2 -0
- package/lib/components/timepicker/default/index.js +3 -0
- package/lib/components/timepicker/default/selector/TimepickerSelector.d.ts +13 -0
- package/lib/components/timepicker/default/selector/TimepickerSelector.js +22 -0
- package/lib/components/timepicker/default/selector/TimepickerSelector.native.d.ts +13 -0
- package/lib/components/timepicker/default/selector/TimepickerSelector.native.js +62 -0
- package/lib/components/timepicker/default/selector/index.d.ts +2 -0
- package/lib/components/timepicker/default/selector/index.js +3 -0
- package/lib/components/timepicker/default/selector/item/TimepickerSelectorItem.d.ts +12 -0
- package/lib/components/timepicker/default/selector/item/TimepickerSelectorItem.js +14 -0
- package/lib/components/timepicker/default/selector/item/TimepickerSelectorItem.native.d.ts +12 -0
- package/lib/components/timepicker/default/selector/item/TimepickerSelectorItem.native.js +38 -0
- package/lib/components/timepicker/default/selector/item/index.d.ts +2 -0
- package/lib/components/timepicker/default/selector/item/index.js +3 -0
- package/lib/components/timepicker/index.d.ts +2 -0
- package/lib/components/timepicker/index.js +3 -0
- package/lib/components/title/Title.d.ts +12 -11
- package/lib/components/title/Title.js +20 -19
- package/lib/components/title/Title.native.js +6 -10
- package/lib/components/title/TitlePropsDefaults.js +6 -6
- package/lib/components/view/View.d.ts +18 -17
- package/lib/components/view/View.js +31 -31
- package/lib/components/view/ViewProps.d.ts +2 -2
- package/lib/components/view/ViewProps.js +1 -1
- package/lib/components/view/ViewPropsDefaults.js +57 -21
- package/lib/helpers/clickOutside.d.ts +1 -0
- package/lib/helpers/clickOutside.js +16 -0
- package/lib/helpers/require.js +1 -1
- package/lib/objects/Typography/TypographyColor.d.ts +3 -1
- package/lib/objects/Typography/TypographyColor.js +9 -1
- package/lib/objects/facets/Alignable.d.ts +10 -3
- package/lib/objects/facets/Alignable.js +12 -5
- package/lib/objects/facets/Color.d.ts +2 -1
- package/lib/objects/facets/Color.js +3 -1
- package/lib/objects/facets/Grid.d.ts +9 -0
- package/lib/objects/facets/Grid.js +2 -0
- package/lib/objects/facets/Justifiable.d.ts +12 -4
- package/lib/objects/facets/Justifiable.js +34 -28
- package/lib/objects/facets/Radius.d.ts +2 -0
- package/lib/objects/facets/Radius.js +14 -0
- package/lib/tsconfig.json +1 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -2
- package/package.json +18 -10
|
@@ -7,18 +7,18 @@ import { getColorStyle, TrilogyColor } from '../../objects/facets/Color';
|
|
|
7
7
|
import React, { useEffect, useState } from 'react';
|
|
8
8
|
import { StyleSheet, TouchableOpacity } from 'react-native';
|
|
9
9
|
/**
|
|
10
|
-
* Checkbox
|
|
10
|
+
* Checkbox Component
|
|
11
11
|
* @param checked {boolean} Checked Checkbox
|
|
12
12
|
* @param disabled {boolean} Disabled
|
|
13
|
-
* @param
|
|
13
|
+
* @param readOnly {boolean} readonly Checkbox
|
|
14
14
|
* @param id {string} Id for button, by default id is generate
|
|
15
|
-
* @param label {string} Label for Checkbox
|
|
16
|
-
* @param onClick {ClickEvent}
|
|
15
|
+
* @param label {string} Label for Checkbox // Incompatible with children
|
|
17
16
|
* @param onChange {ChangeEvent}
|
|
18
17
|
* @param name {string} Name for checkbox
|
|
18
|
+
* @param testId {string} Test Id for Test Integration
|
|
19
19
|
*/
|
|
20
20
|
var Checkbox = React.forwardRef(function (_a, ref) {
|
|
21
|
-
var _b = _a.id, id = _b === void 0 ? React.useId() : _b, checked = _a.checked, name = _a.name, onChange = _a.onChange, disabled = _a.disabled, readonly = _a.readonly, label = _a.label;
|
|
21
|
+
var _b = _a.id, id = _b === void 0 ? React.useId() : _b, checked = _a.checked, name = _a.name, onChange = _a.onChange, disabled = _a.disabled, readonly = _a.readonly, label = _a.label, testId = _a.testId;
|
|
22
22
|
var _c = __read(useState(checked || false), 2), _checked = _c[0], setChecked = _c[1];
|
|
23
23
|
useEffect(function () {
|
|
24
24
|
setChecked(checked || false);
|
|
@@ -59,9 +59,9 @@ var Checkbox = React.forwardRef(function (_a, ref) {
|
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
return (React.createElement(TouchableOpacity, { ref: ref, disabled: disabled, style: styles.container, onPress: function () { return handleClick(); } },
|
|
62
|
-
React.createElement(TouchableOpacity, { style: styles.checkBox, disabled: disabled, testID: id, onPressIn: function () { return handleClick(); } }, _checked && React.createElement(Icon, { size: IconSize.SMALLER, color: TrilogyColor.BACKGROUND, name: IconName.CHECK })),
|
|
62
|
+
React.createElement(TouchableOpacity, { style: styles.checkBox, disabled: disabled, testID: testId || id, onPressIn: function () { return handleClick(); } }, _checked && React.createElement(Icon, { size: IconSize.SMALLER, color: TrilogyColor.BACKGROUND, name: IconName.CHECK })),
|
|
63
63
|
label && typeof label.valueOf() === 'string' ? React.createElement(Text, { style: styles.label }, String(label)) : label));
|
|
64
64
|
});
|
|
65
65
|
Checkbox.displayName = ComponentName.Check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UsWUFBWSxDQUFDLFVBQVUsRUFBRSxJQUFJLEVBQUUsUUFBUSxDQUFDLEtBQUssR0FBSSxDQUNsRjtRQUNsQixLQUFLLElBQUksT0FBTyxLQUFLLENBQUMsT0FBTyxFQUFFLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQyxvQkFBQyxJQUFJLElBQUMsS0FBSyxFQUFFLE1BQU0sQ0FBQyxLQUFLLElBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFRLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FDeEYsQ0FDcEIsQ0FBQTtBQUNILENBQUMsQ0FDRixDQUFBO0FBRUQsUUFBUSxDQUFDLFdBQVcsR0FBRyxhQUFhLENBQUMsUUFBUSxDQUFBO0FBRTdDLGVBQWUsUUFBUSxDQUFBIn0=
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { TouchableOpacity } from 'react-native';
|
|
3
3
|
import { Accessibility } from '../../objects/facets/Accessibility';
|
|
4
4
|
import { CommonProps } from '../../objects/facets/CommonProps';
|
|
5
|
+
import { Dev } from '../../objects/facets/Dev';
|
|
5
6
|
export type CheckboxChangeEventHandler = (event: {
|
|
6
7
|
checkboxValue: string;
|
|
7
8
|
checkboxName: string;
|
|
@@ -13,7 +14,7 @@ export type CheckboxChangeEventHandler = (event: {
|
|
|
13
14
|
*/
|
|
14
15
|
export type CheckboxProps = Pick<CheckboxPropsPossibilities, keyof CheckboxPropsPossibilities>;
|
|
15
16
|
type CheckboxPropsPossibilities = CheckboxWithLabel | CheckboxWithChildren;
|
|
16
|
-
interface CheckboxCommonProps extends Accessibility, CommonProps {
|
|
17
|
+
interface CheckboxCommonProps extends Accessibility, CommonProps, Dev {
|
|
17
18
|
checked?: boolean;
|
|
18
19
|
disabled?: boolean;
|
|
19
20
|
readonly?: boolean;
|
|
@@ -3,12 +3,15 @@ import { CheckboxListWebProps } from './CheckboxListProps';
|
|
|
3
3
|
/**
|
|
4
4
|
* Checkbox List Component
|
|
5
5
|
* @param children {ReactNode} CheckboxList children
|
|
6
|
+
* @param label {string} Label for the CheckboxList group
|
|
6
7
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
7
8
|
* @param className {string} Additional CSS Classes
|
|
8
9
|
* @param align {boolean} align Checkboxes
|
|
9
10
|
* @param verticalDesktop {boolean} Vertical Checkboxes
|
|
10
11
|
* @param horizontalMobile {boolean} Expect mobile screen
|
|
11
12
|
* @param accessibilityLabelledBy {string} aria-labelledby attribute
|
|
13
|
+
* @param id {string} Custom id attribute
|
|
14
|
+
* @param testId {string} Test Id for Test Integration
|
|
12
15
|
*/
|
|
13
16
|
declare const CheckboxList: React.ForwardRefExoticComponent<CheckboxListWebProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
17
|
export default CheckboxList;
|
|
@@ -12,15 +12,18 @@ import { TypographyColor } from '../../../objects/Typography';
|
|
|
12
12
|
/**
|
|
13
13
|
* Checkbox List Component
|
|
14
14
|
* @param children {ReactNode} CheckboxList children
|
|
15
|
+
* @param label {string} Label for the CheckboxList group
|
|
15
16
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
16
17
|
* @param className {string} Additional CSS Classes
|
|
17
18
|
* @param align {boolean} align Checkboxes
|
|
18
19
|
* @param verticalDesktop {boolean} Vertical Checkboxes
|
|
19
20
|
* @param horizontalMobile {boolean} Expect mobile screen
|
|
20
21
|
* @param accessibilityLabelledBy {string} aria-labelledby attribute
|
|
22
|
+
* @param id {string} Custom id attribute
|
|
23
|
+
* @param testId {string} Test Id for Test Integration
|
|
21
24
|
*/
|
|
22
25
|
var CheckboxList = React.forwardRef(function (_a, ref) {
|
|
23
|
-
var className = _a.className, id = _a.id, align = _a.align, horizontalMobile = _a.horizontalMobile, verticalDesktop = _a.verticalDesktop, accessibilityLabelledBy = _a.accessibilityLabelledBy, children = _a.children, label = _a.label, others = __rest(_a, ["className", "id", "align", "horizontalMobile", "verticalDesktop", "accessibilityLabelledBy", "children", "label"]);
|
|
26
|
+
var className = _a.className, id = _a.id, align = _a.align, horizontalMobile = _a.horizontalMobile, verticalDesktop = _a.verticalDesktop, accessibilityLabelledBy = _a.accessibilityLabelledBy, children = _a.children, label = _a.label, testId = _a.testId, others = __rest(_a, ["className", "id", "align", "horizontalMobile", "verticalDesktop", "accessibilityLabelledBy", "children", "label", "testId"]);
|
|
24
27
|
var styled = useTrilogyContext().styled;
|
|
25
28
|
var groupLabelClasses = hashClass(styled, 'group-label');
|
|
26
29
|
return (React.createElement(React.Fragment, null,
|
|
@@ -29,8 +32,8 @@ var CheckboxList = React.forwardRef(function (_a, ref) {
|
|
|
29
32
|
isRequiredChild(children) && (React.createElement(Text, { markup: TextMarkup.SPAN, typo: TypographyColor.TEXT_ERROR },
|
|
30
33
|
' ',
|
|
31
34
|
"*")))),
|
|
32
|
-
React.createElement("div", __assign({ ref: ref, id: id, role:
|
|
35
|
+
React.createElement("div", __assign({ "data-testid": testId, ref: ref, id: id, role: 'group', "aria-labelledby": accessibilityLabelledBy, "aria-required": isRequiredChild(children) ? 'true' : undefined, className: hashClass(styled, clsx('checkboxes', className, align && is(getJustifiedClassName(align)), horizontalMobile && is('horizontal-mobile'), verticalDesktop && is('vertical-desktop'))) }, others), children)));
|
|
33
36
|
});
|
|
34
37
|
CheckboxList.displayName = ComponentName.CheckboxList;
|
|
35
38
|
export default CheckboxList;
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2hlY2tib3hMaXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vY29tcG9uZW50cy9jaGVja2JveC9saXN0L0NoZWNrYm94TGlzdC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQTtBQUNoRSxPQUFPLEVBQUUsaUJB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WUFDNUIsS0FBSztZQUNMLGVBQWUsQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUM1QixvQkFBQyxJQUFJLElBQUMsTUFBTSxFQUFFLFVBQVUsQ0FBQyxJQUFJLEVBQUUsSUFBSSxFQUFFLGVBQWUsQ0FBQyxVQUFVO2dCQUM1RCxHQUFHO29CQUNDLENBQ1IsQ0FDQyxDQUNMO1FBQ0QscURBQ2UsTUFBTSxFQUNuQixHQUFHLEVBQUUsR0FBRyxFQUNSLEVBQUUsRUFBRSxFQUFFLEVBQ04sSUFBSSxFQUFDLE9BQU8scUJBQ0ssdUJBQXVCLG1CQUN6QixlQUFlLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsU0FBUyxFQUM3RCxTQUFTLEVBQUUsU0FBUyxDQUNsQixNQUFNLEVBQ04sSUFBSSxDQUNGLFlBQVksRUFDWixTQUFTLEVBQ1QsS0FBSyxJQUFJLEVBQUUsQ0FBQyxxQkFBcUIsQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUN6QyxnQkFBZ0IsSUFBSSxFQUFFLENBQUMsbUJBQW1CLENBQUMsRUFDM0MsZUFBZSxJQUFJLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQyxDQUMxQyxDQUNGLElBQ0csTUFBTSxHQUVULFFBQVEsQ0FDTCxDQUNMLENBQ0osQ0FBQTtBQUNILENBQUMsQ0FDRixDQUFBO0FBRUQsWUFBWSxDQUFDLFdBQVcsR0FBRyxhQUFhLENBQUMsWUFBWSxDQUFBO0FBQ3JELGVBQWUsWUFBWSxDQUFBIn0=
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { CheckboxListProps } from './CheckboxListProps';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Checkbox List Component
|
|
5
5
|
* @param children {ReactNode} CheckboxList children
|
|
6
|
-
* @param
|
|
7
|
-
* @param label {string} CheckboxList label
|
|
6
|
+
* @param label {string} Label for the CheckboxList group
|
|
8
7
|
*/
|
|
9
8
|
declare const CheckboxList: React.ForwardRefExoticComponent<CheckboxListProps & React.RefAttributes<import("react-native").View>>;
|
|
10
9
|
export default CheckboxList;
|
|
@@ -16,10 +16,9 @@ var SPACING_MATRIX = [
|
|
|
16
16
|
[INSERT_SPACE_BETWEEN, 'Checkbox', 'Checkbox', THREE],
|
|
17
17
|
];
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Checkbox List Component
|
|
20
20
|
* @param children {ReactNode} CheckboxList children
|
|
21
|
-
* @param
|
|
22
|
-
* @param label {string} CheckboxList label
|
|
21
|
+
* @param label {string} Label for the CheckboxList group
|
|
23
22
|
*/
|
|
24
23
|
var CheckboxList = React.forwardRef(function (_a, ref) {
|
|
25
24
|
var children = _a.children, label = _a.label;
|
|
@@ -37,4 +36,4 @@ var CheckboxList = React.forwardRef(function (_a, ref) {
|
|
|
37
36
|
});
|
|
38
37
|
CheckboxList.displayName = ComponentName.CheckboxList;
|
|
39
38
|
export default CheckboxList;
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2hlY2tib3hMaXN0Lm5hdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvY2hlY2tib3gvbGlzdC9DaGVja2JveExpc3QubmF0aXZlLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0seUJBQXlCLENBQUE7QUFDM0QsT0FBTyxFQUFpQixpQkFBaUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFBO0FBQ3hGLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQTtBQUNoRSxPQUF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FVBQVUsRUFBRSxjQUFjLEVBQUU7UUFDbEQsS0FBSyxJQUFJLENBQ1Isb0JBQUMsSUFBSSxJQUFDLEtBQUssRUFBRSxNQUFNLENBQUMsS0FBSztZQUFHLEtBQUs7O1lBQUcsZUFBZSxDQUFDLFFBQVEsQ0FBQyxJQUFJLG9CQUFDLElBQUksSUFBQyxJQUFJLEVBQUUsZUFBZSxDQUFDLFVBQVUsUUFBVSxDQUFRLENBQzFIO1FBQ0EsUUFBUSxDQUNTLENBQ3JCLENBQUE7QUFDSCxDQUFDLENBQUMsQ0FBQTtBQUVGLFlBQVksQ0FBQyxXQUFXLEdBQUcsYUFBYSxDQUFDLFlBQVksQ0FBQTtBQUVyRCxlQUFlLFlBQVksQ0FBQSJ9
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
-
import type { DividerProps } from '../../../components/divider/DividerProps';
|
|
4
3
|
import type { CheckboxProps } from '../../../components/checkbox/CheckboxProps';
|
|
5
|
-
import {
|
|
4
|
+
import type { DividerProps } from '../../../components/divider/DividerProps';
|
|
5
|
+
import { AlignableProps, Dev } from '../../../objects';
|
|
6
6
|
import { CommonProps } from '../../../objects/facets/CommonProps';
|
|
7
7
|
type CheckboxListChildrenTypes = React.ReactElement<CheckboxProps | DividerProps> | undefined;
|
|
8
8
|
/**
|
|
@@ -15,8 +15,8 @@ export interface CheckboxListProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* Checkbox List Web Interface
|
|
17
17
|
*/
|
|
18
|
-
export interface CheckboxListWebProps extends CheckboxListProps, CommonProps {
|
|
19
|
-
align?:
|
|
18
|
+
export interface CheckboxListWebProps extends CheckboxListProps, CommonProps, Dev {
|
|
19
|
+
align?: AlignableProps['align'];
|
|
20
20
|
className?: string;
|
|
21
21
|
horizontalMobile?: boolean;
|
|
22
22
|
verticalDesktop?: boolean;
|
|
@@ -3,6 +3,9 @@ export default {
|
|
|
3
3
|
"type": "enum",
|
|
4
4
|
"values": [
|
|
5
5
|
"undefined",
|
|
6
|
+
"CENTER",
|
|
7
|
+
"START",
|
|
8
|
+
"END",
|
|
6
9
|
"ALIGNED_CENTER",
|
|
7
10
|
"ALIGNED_START",
|
|
8
11
|
"ALIGNED_END",
|
|
@@ -10,7 +13,12 @@ export default {
|
|
|
10
13
|
"ALIGNED_CENTER",
|
|
11
14
|
"ALIGNED_START",
|
|
12
15
|
"ALIGNED_END",
|
|
13
|
-
"ALIGNED_STRETCH"
|
|
16
|
+
"ALIGNED_STRETCH",
|
|
17
|
+
"CENTER",
|
|
18
|
+
"START",
|
|
19
|
+
"END",
|
|
20
|
+
"STRETCH",
|
|
21
|
+
"STRETCH"
|
|
14
22
|
]
|
|
15
23
|
},
|
|
16
24
|
"className": {
|
|
@@ -64,5 +72,12 @@ export default {
|
|
|
64
72
|
"undefined",
|
|
65
73
|
"string"
|
|
66
74
|
]
|
|
75
|
+
},
|
|
76
|
+
"testId": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"values": [
|
|
79
|
+
"undefined",
|
|
80
|
+
"string"
|
|
81
|
+
]
|
|
67
82
|
}
|
|
68
83
|
};
|
|
@@ -2,9 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
import { CheckboxTilesProps } from './CheckboxTilesProps';
|
|
3
3
|
/**
|
|
4
4
|
* CheckboxTiles
|
|
5
|
-
* @param id
|
|
5
|
+
* @param id {string} Custom id attribute
|
|
6
6
|
* @param align {Alignable}
|
|
7
7
|
* @param verticalAlign {Alignable}
|
|
8
|
+
* @param numberCols {GridSize | GridItemSize} number of columns for grid layout
|
|
9
|
+
* @param accessibilityLabelledBy {string} Id of the element that labels the group of checkboxes for accessibility
|
|
10
|
+
* @param children {React.ReactNode} CheckboxTile components as children
|
|
11
|
+
* @param testId {string} Test Id for Test Integration
|
|
8
12
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
9
13
|
* @param className {string} Additional CSS Classes
|
|
10
14
|
*/
|
|
@@ -2,21 +2,25 @@ import { __assign, __rest } from "tslib";
|
|
|
2
2
|
import { ComponentName } from '../../../components/enumsComponentsName';
|
|
3
3
|
import { useTrilogyContext } from '../../../context';
|
|
4
4
|
import { hashClass } from '../../../helpers/hashClassesHelpers';
|
|
5
|
+
import { isRequiredChild } from '../../../helpers/require';
|
|
5
6
|
import { getAlignClassName } from '../../../objects/facets/Alignable';
|
|
6
7
|
import { is } from '../../../services/classify';
|
|
7
|
-
import { isRequiredChild } from '../../../helpers/require';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* CheckboxTiles
|
|
12
|
-
* @param id
|
|
12
|
+
* @param id {string} Custom id attribute
|
|
13
13
|
* @param align {Alignable}
|
|
14
14
|
* @param verticalAlign {Alignable}
|
|
15
|
+
* @param numberCols {GridSize | GridItemSize} number of columns for grid layout
|
|
16
|
+
* @param accessibilityLabelledBy {string} Id of the element that labels the group of checkboxes for accessibility
|
|
17
|
+
* @param children {React.ReactNode} CheckboxTile components as children
|
|
18
|
+
* @param testId {string} Test Id for Test Integration
|
|
15
19
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
16
20
|
* @param className {string} Additional CSS Classes
|
|
17
21
|
*/
|
|
18
22
|
var CheckboxTiles = React.forwardRef(function (_a, ref) {
|
|
19
|
-
var id = _a.id, className = _a.className, children = _a.children, align = _a.align, verticalAlign = _a.verticalAlign, accessibilityLabelledBy = _a.accessibilityLabelledBy, others = __rest(_a, ["id", "className", "children", "align", "verticalAlign", "accessibilityLabelledBy"]);
|
|
23
|
+
var id = _a.id, className = _a.className, children = _a.children, align = _a.align, verticalAlign = _a.verticalAlign, accessibilityLabelledBy = _a.accessibilityLabelledBy, numberCols = _a.numberCols, testId = _a.testId, others = __rest(_a, ["id", "className", "children", "align", "verticalAlign", "accessibilityLabelledBy", "numberCols", "testId"]);
|
|
20
24
|
var styled = useTrilogyContext().styled;
|
|
21
25
|
var alignClass = null;
|
|
22
26
|
if (align) {
|
|
@@ -32,10 +36,32 @@ var CheckboxTiles = React.forwardRef(function (_a, ref) {
|
|
|
32
36
|
(getAlignClassName(verticalAlign) === 'aligned-start' && is('aligned-start')) ||
|
|
33
37
|
(getAlignClassName(verticalAlign) === 'aligned-center' && is('aligned-center')) ||
|
|
34
38
|
(getAlignClassName(verticalAlign) === 'aligned-end' && is('aligned-end')) ||
|
|
39
|
+
(getAlignClassName(verticalAlign) === 'aligned-stretch' && is('aligned-stretch')) ||
|
|
35
40
|
null;
|
|
36
41
|
}
|
|
37
|
-
|
|
42
|
+
var getGridColumnClasses = function () {
|
|
43
|
+
if (!numberCols)
|
|
44
|
+
return null;
|
|
45
|
+
if (typeof numberCols === 'number')
|
|
46
|
+
return "is-grid-cols-".concat(numberCols);
|
|
47
|
+
var responsiveClasses = [];
|
|
48
|
+
if (numberCols.mobile)
|
|
49
|
+
responsiveClasses.push("is-grid-cols-mobile-".concat(numberCols.mobile));
|
|
50
|
+
if (numberCols.tablet)
|
|
51
|
+
responsiveClasses.push("is-grid-cols-tablet-".concat(numberCols.tablet));
|
|
52
|
+
if (numberCols.touch)
|
|
53
|
+
responsiveClasses.push("is-grid-cols-touch-".concat(numberCols.touch));
|
|
54
|
+
if (numberCols.desktop)
|
|
55
|
+
responsiveClasses.push("is-grid-cols-desktop-".concat(numberCols.desktop));
|
|
56
|
+
if (numberCols.widescreen)
|
|
57
|
+
responsiveClasses.push("is-grid-cols-widescreen-".concat(numberCols.widescreen));
|
|
58
|
+
if (numberCols.fullhd)
|
|
59
|
+
responsiveClasses.push("is-grid-cols-fullhd-".concat(numberCols.fullhd));
|
|
60
|
+
return responsiveClasses.join(' ');
|
|
61
|
+
};
|
|
62
|
+
var gridColumnClasses = getGridColumnClasses();
|
|
63
|
+
return (React.createElement("div", __assign({ "data-testid": testId, ref: ref, id: id, role: 'group', "aria-labelledby": accessibilityLabelledBy, "aria-required": isRequiredChild(children) ? 'true' : undefined, className: hashClass(styled, clsx('checkbox-tiles', className, align && alignClass, verticalAlign && verticalAlignClass, gridColumnClasses && 'is-grid', gridColumnClasses && gridColumnClasses)) }, others), children));
|
|
38
64
|
});
|
|
39
65
|
CheckboxTiles.displayName = ComponentName.CheckboxTiles;
|
|
40
66
|
export default CheckboxTiles;
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2hlY2tib3hUaWxlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvY2hlY2tib3gvdGlsZXMvQ2hlY2tib3hUaWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQTtBQUNoRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFDN0MsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLDhCQUE4QixDQUFBO0FBQ3hELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUNuRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQTtBQUM5RCxPQUFPLEVBQUUsRUFBRSxFQUFFLE1BQU0scUJBQXFCLENBQUE7QUFDeEMsT0FBTyxJQUFJLE1BQU0sTUFBTSxDQUFBO0FBQ3ZCLE9BQU8sS0FBSyxLQUFLLE1BQU0sT0FBTyxDQUFBO0FBRzlCOzs7Ozs7Ozs7OztHQVdHO0FBQ0gsSUFBTSxhQUFhLEdBQUcsS0FBSyxDQUFDLFVBQVUsQ0FDcEMsVUFDRSxFQUF5RyxFQUN6RyxHQUFHO0lBREQsSUFBQSxFQUFFLFFBQUEsRUFBRSxTQUFTLGVBQUEsRUFBRSxRQUFRLGNBQUEsRUFB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GlCQUFpQixDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQTtJQUNwQyxDQUFDLENBQUE7SUFFRCxJQUFNLGlCQUFpQixHQUFHLG9CQUFvQixFQUFFLENBQUE7SUFFaEQsT0FBTyxDQUNMLHFEQUNlLE1BQU0sRUFDbkIsR0FBRyxFQUFFLEdBQUcsRUFDUixFQUFFLEVBQUUsRUFBRSxFQUNOLElBQUksRUFBRSxPQUFPLHFCQUNJLHVCQUF1QixtQkFDekIsZUFBZSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLFNBQVMsRUFDN0QsU0FBUyxFQUFFLFNBQVMsQ0FDbEIsTUFBTSxFQUNOLElBQUksQ0FDRixnQkFBZ0IsRUFDaEIsU0FBUyxFQUNULEtBQUssSUFBSSxVQUFVLEVBQ25CLGFBQWEsSUFBSSxrQkFBa0IsRUFDbkMsaUJBQWlCLElBQUksU0FBUyxFQUM5QixpQkFBaUIsSUFBSSxpQkFBaUIsQ0FDdkMsQ0FDRixJQUNHLE1BQU0sR0FFVCxRQUFRLENBQ0wsQ0FDUCxDQUFBO0FBQ0gsQ0FBQyxDQUNGLENBQUE7QUFFRCxhQUFhLENBQUMsV0FBVyxHQUFHLGFBQWEsQ0FBQyxhQUFhLENBQUE7QUFDdkQsZUFBZSxhQUFhLENBQUEifQ==
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
3
|
import { CheckboxTilesProps } from './CheckboxTilesProps';
|
|
4
|
+
/**
|
|
5
|
+
* CheckboxTiles
|
|
6
|
+
* @param id {string} Custom id attribute
|
|
7
|
+
* @param align {Alignable}
|
|
8
|
+
* @param verticalAlign {Alignable}
|
|
9
|
+
* @param numberCols {GridSize | GridItemSize} number of columns for grid layout
|
|
10
|
+
* @param accessibilityLabelledBy {string} Id of the element that labels the group of checkboxes for accessibility
|
|
11
|
+
* @param children {React.ReactNode} CheckboxTile components as children
|
|
12
|
+
* @param testId {string} Test Id for Test Integration
|
|
13
|
+
*/
|
|
4
14
|
declare const CheckboxTiles: React.ForwardRefExoticComponent<CheckboxTilesProps & React.RefAttributes<View>>;
|
|
5
15
|
export default CheckboxTiles;
|
|
@@ -2,21 +2,58 @@ import { __assign, __rest } from "tslib";
|
|
|
2
2
|
import { ComponentName } from '../../../components/enumsComponentsName';
|
|
3
3
|
import { SpacerSize } from '../../../components/spacer';
|
|
4
4
|
import { getAlignStyle } from '../../../objects/facets/Alignable';
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import React, { useCallback, useMemo } from 'react';
|
|
6
|
+
import { FlatList, StyleSheet, View } from 'react-native';
|
|
7
|
+
import { CheckboxTilesContext } from './context';
|
|
8
|
+
/**
|
|
9
|
+
* CheckboxTiles
|
|
10
|
+
* @param id {string} Custom id attribute
|
|
11
|
+
* @param align {Alignable}
|
|
12
|
+
* @param verticalAlign {Alignable}
|
|
13
|
+
* @param numberCols {GridSize | GridItemSize} number of columns for grid layout
|
|
14
|
+
* @param accessibilityLabelledBy {string} Id of the element that labels the group of checkboxes for accessibility
|
|
15
|
+
* @param children {React.ReactNode} CheckboxTile components as children
|
|
16
|
+
* @param testId {string} Test Id for Test Integration
|
|
17
|
+
*/
|
|
7
18
|
var CheckboxTiles = React.forwardRef(function (_a, ref) {
|
|
8
|
-
var children = _a.children, align = _a.align, verticalAlign = _a.verticalAlign, others = __rest(_a, ["children", "align", "verticalAlign"]);
|
|
19
|
+
var children = _a.children, align = _a.align, verticalAlign = _a.verticalAlign, numberCols = _a.numberCols, id = _a.id, testId = _a.testId, others = __rest(_a, ["children", "align", "verticalAlign", "numberCols", "id", "testId"]);
|
|
20
|
+
var childArray = useMemo(function () { return React.Children.toArray(children).filter(React.isValidElement); }, [children]);
|
|
21
|
+
var columnCount = useMemo(function () {
|
|
22
|
+
if (!numberCols || numberCols === 1)
|
|
23
|
+
return null;
|
|
24
|
+
if (typeof numberCols === 'number')
|
|
25
|
+
return numberCols;
|
|
26
|
+
if (numberCols.mobile === 1 || numberCols.tablet === 1)
|
|
27
|
+
return null;
|
|
28
|
+
return numberCols.mobile || numberCols.tablet;
|
|
29
|
+
}, [numberCols]);
|
|
9
30
|
var styles = StyleSheet.create({
|
|
10
31
|
container: {
|
|
11
|
-
justifyContent: getAlignStyle(align),
|
|
12
|
-
alignItems: (verticalAlign && getAlignStyle(verticalAlign)) || (align && getAlignStyle(align)),
|
|
13
32
|
flexDirection: 'row',
|
|
14
33
|
flexWrap: 'wrap',
|
|
15
34
|
gap: SpacerSize.TWO,
|
|
35
|
+
justifyContent: getAlignStyle(align),
|
|
36
|
+
alignItems: (verticalAlign && getAlignStyle(verticalAlign)) || (align && getAlignStyle(align)),
|
|
37
|
+
},
|
|
38
|
+
columnWrapper: {
|
|
39
|
+
gap: SpacerSize.TWO,
|
|
40
|
+
marginBottom: SpacerSize.TWO,
|
|
16
41
|
},
|
|
17
42
|
});
|
|
18
|
-
|
|
43
|
+
var renderItem = useCallback(function (_a) {
|
|
44
|
+
var item = _a.item, index = _a.index;
|
|
45
|
+
if (!columnCount)
|
|
46
|
+
return React.createElement(View, { style: { flex: 1 } }, item);
|
|
47
|
+
var isLastItem = index === childArray.length - 1;
|
|
48
|
+
var isOddItem = childArray.length % columnCount !== 0 && isLastItem;
|
|
49
|
+
return (React.createElement(View, { style: {
|
|
50
|
+
flex: isOddItem ? 0 : 1,
|
|
51
|
+
width: isOddItem ? "".concat(100 / columnCount, "%") : undefined,
|
|
52
|
+
} }, item));
|
|
53
|
+
}, [childArray.length, columnCount]);
|
|
54
|
+
var keyExtractor = useCallback(function (_, index) { return index.toString(); }, []);
|
|
55
|
+
return (React.createElement(CheckboxTilesContext.Provider, { value: { isGrid: columnCount !== null } }, columnCount !== null ? (React.createElement(FlatList, __assign({ testID: testId, id: id, ref: ref, data: childArray, numColumns: columnCount, scrollEnabled: false, renderItem: renderItem, keyExtractor: keyExtractor, columnWrapperStyle: [styles.columnWrapper], style: { overflow: 'visible' } }, others))) : (React.createElement(View, __assign({ id: id, ref: ref, style: [styles.container] }, others), children))));
|
|
19
56
|
});
|
|
20
57
|
CheckboxTiles.displayName = ComponentName.CheckboxTiles;
|
|
21
58
|
export default CheckboxTiles;
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2hlY2tib3hUaWxlcy5uYXRpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jb21wb25lbnRzL2NoZWNrYm94L3RpbGVzL0NoZWNrYm94VGlsZXMubmF0aXZlLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtDQUFrQyxDQUFBO0FBQ2hFLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQTtBQUNoRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sNEJBQTRCLENBQUE7QUFDMUQsT0FBTyxLQUFLLEVBQUUsRUFBd0IsV0FBVyxFQUFFLE9BQU8sRUFBRSxNQUFNLE9BQU8sQ0FBQTtBQUN6RSxPQUFPLEVBQUUsUUFBUSxFQUFFLFVBQVUsRUFBRSxJQUFJLEVBQUUsTUFBTSxjQUFjLENBQUE7QUFFekQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sV0FBVyxDQUFBO0FBRWhEOzs7Ozs7Ozs7R0FTRztBQUNILElBQU0sYUFBYSxHQUFHLEtBQUssQ0FBQyxVQUFVLENBQ3BDLFVBQUMsRUFBcUUsRUFBRSxHQUFHO0lBQXhFLElBQUEsUUFBUSxjQUFBLEVBQUUsS0FBSyxXQUFBLEVBQUUsYUFBYSxtQkFBQSxFQUFFLFVBQVUsZ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able';
|
|
4
4
|
import { CommonProps } from '../../../objects/facets/CommonProps';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export interface CheckboxTilesProps extends AlignableProps, CommonProps {
|
|
5
|
+
import { GridItemSize, GridSize } from '../../../objects/facets/Grid';
|
|
6
|
+
import { Dev } from '../../../objects/facets/Dev';
|
|
7
|
+
export interface CheckboxTilesProps extends AlignableProps, CommonProps, Dev {
|
|
9
8
|
children: React.ReactNode;
|
|
10
9
|
accessibilityLabelledBy?: string;
|
|
10
|
+
numberCols?: GridSize | GridItemSize;
|
|
11
11
|
}
|
|
12
12
|
export type CheckboxTilesRef = HTMLDivElement;
|
|
13
13
|
export type CheckboxTilesNativeRef = View;
|
|
@@ -20,10 +20,32 @@ export default {
|
|
|
20
20
|
"string"
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
|
+
"numberCols": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"values": [
|
|
26
|
+
"undefined",
|
|
27
|
+
"GridSize",
|
|
28
|
+
"1",
|
|
29
|
+
"2",
|
|
30
|
+
"3",
|
|
31
|
+
"4",
|
|
32
|
+
"5",
|
|
33
|
+
"6",
|
|
34
|
+
"7",
|
|
35
|
+
"8",
|
|
36
|
+
"9",
|
|
37
|
+
"10",
|
|
38
|
+
"11",
|
|
39
|
+
"12"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
23
42
|
"align": {
|
|
24
43
|
"type": "enum",
|
|
25
44
|
"values": [
|
|
26
45
|
"undefined",
|
|
46
|
+
"CENTER",
|
|
47
|
+
"START",
|
|
48
|
+
"END",
|
|
27
49
|
"ALIGNED_CENTER",
|
|
28
50
|
"ALIGNED_START",
|
|
29
51
|
"ALIGNED_END",
|
|
@@ -31,13 +53,21 @@ export default {
|
|
|
31
53
|
"ALIGNED_CENTER",
|
|
32
54
|
"ALIGNED_START",
|
|
33
55
|
"ALIGNED_END",
|
|
34
|
-
"ALIGNED_STRETCH"
|
|
56
|
+
"ALIGNED_STRETCH",
|
|
57
|
+
"CENTER",
|
|
58
|
+
"START",
|
|
59
|
+
"END",
|
|
60
|
+
"STRETCH",
|
|
61
|
+
"STRETCH"
|
|
35
62
|
]
|
|
36
63
|
},
|
|
37
64
|
"verticalAlign": {
|
|
38
65
|
"type": "enum",
|
|
39
66
|
"values": [
|
|
40
67
|
"undefined",
|
|
68
|
+
"CENTER",
|
|
69
|
+
"START",
|
|
70
|
+
"END",
|
|
41
71
|
"ALIGNED_CENTER",
|
|
42
72
|
"ALIGNED_START",
|
|
43
73
|
"ALIGNED_END",
|
|
@@ -45,7 +75,12 @@ export default {
|
|
|
45
75
|
"ALIGNED_CENTER",
|
|
46
76
|
"ALIGNED_START",
|
|
47
77
|
"ALIGNED_END",
|
|
48
|
-
"ALIGNED_STRETCH"
|
|
78
|
+
"ALIGNED_STRETCH",
|
|
79
|
+
"CENTER",
|
|
80
|
+
"START",
|
|
81
|
+
"END",
|
|
82
|
+
"STRETCH",
|
|
83
|
+
"STRETCH"
|
|
49
84
|
]
|
|
50
85
|
},
|
|
51
86
|
"id": {
|
|
@@ -61,5 +96,12 @@ export default {
|
|
|
61
96
|
"undefined",
|
|
62
97
|
"string"
|
|
63
98
|
]
|
|
99
|
+
},
|
|
100
|
+
"testId": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"values": [
|
|
103
|
+
"undefined",
|
|
104
|
+
"string"
|
|
105
|
+
]
|
|
64
106
|
}
|
|
65
107
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export var CheckboxTilesContext = React.createContext({
|
|
3
|
+
isGrid: false,
|
|
4
|
+
});
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2hlY2tib3hUaWxlc0NvbnRleHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9jb21wb25lbnRzL2NoZWNrYm94L3RpbGVzL2NvbnRleHQvQ2hlY2tib3hUaWxlc0NvbnRleHQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQTtBQUd6QixNQUFNLENBQUMsSUFBTSxvQkFBb0IsR0FBRyxLQUFLLENBQUMsYUFBYSxDQUE0QjtJQUNqRixNQUFNLEVBQUUsS0FBSztDQUNkLENBQUMsQ0FBQSJ9
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2hlY2tib3hUaWxlc0NvbnRleHRQcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvY2hlY2tib3gvdGlsZXMvY29udGV4dC9DaGVja2JveFRpbGVzQ29udGV4dFByb3BzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './CheckboxTilesContext';
|
|
2
|
+
export * from './CheckboxTilesContextProps';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9jb21wb25lbnRzL2NoZWNrYm94L3RpbGVzL2NvbnRleHQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQTtBQUN0QyxjQUFjLDZCQUE2QixDQUFBIn0=
|