@elliemae/ds-mobile 2.2.1 → 2.3.0-alpha.4
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/cjs/Accordion/Accordion.js +51 -55
- package/cjs/Accordion/Accordion.js.map +7 -0
- package/cjs/Accordion/index.js +28 -12
- package/cjs/Accordion/index.js.map +7 -0
- package/cjs/Accordion/propTypes.js +53 -22
- package/cjs/Accordion/propTypes.js.map +7 -0
- package/cjs/CategoryBox/CategoryBox.js +74 -73
- package/cjs/CategoryBox/CategoryBox.js.map +7 -0
- package/cjs/CategoryBox/index.js +36 -10
- package/cjs/CategoryBox/index.js.map +7 -0
- package/cjs/CollectionBox/CollectionBox.js +96 -84
- package/cjs/CollectionBox/CollectionBox.js.map +7 -0
- package/cjs/CollectionBox/index.js +36 -10
- package/cjs/CollectionBox/index.js.map +7 -0
- package/cjs/FullPageContainer/FullPageContainer.js +48 -42
- package/cjs/FullPageContainer/FullPageContainer.js.map +7 -0
- package/cjs/FullPageContainer/FullPageContainerScroll.js +45 -43
- package/cjs/FullPageContainer/FullPageContainerScroll.js.map +7 -0
- package/cjs/FullPageContainer/index.js +37 -11
- package/cjs/FullPageContainer/index.js.map +7 -0
- package/cjs/FullPageContainer/useMobileHeight.js +40 -18
- package/cjs/FullPageContainer/useMobileHeight.js.map +7 -0
- package/cjs/GlobalHeader/MobileGlobalHeader.js +105 -132
- package/cjs/GlobalHeader/MobileGlobalHeader.js.map +7 -0
- package/cjs/GlobalHeader/index.js +36 -10
- package/cjs/GlobalHeader/index.js.map +7 -0
- package/cjs/GlobalHeader/styles.js +114 -39
- package/cjs/GlobalHeader/styles.js.map +7 -0
- package/cjs/GroupBox/GroupBox.js +77 -79
- package/cjs/GroupBox/GroupBox.js.map +7 -0
- package/cjs/GroupBox/index.js +36 -10
- package/cjs/GroupBox/index.js.map +7 -0
- package/cjs/Icons/EM_logo.js +41 -18
- package/cjs/Icons/EM_logo.js.map +7 -0
- package/cjs/InfiniteLoader/Infiniteloader.js +64 -77
- package/cjs/InfiniteLoader/Infiniteloader.js.map +7 -0
- package/cjs/InfiniteLoader/Loader.js +46 -27
- package/cjs/InfiniteLoader/Loader.js.map +7 -0
- package/cjs/InfiniteLoader/VirtualizedInfiniteLoader.js +77 -82
- package/cjs/InfiniteLoader/VirtualizedInfiniteLoader.js.map +7 -0
- package/cjs/InfiniteLoader/index.js +39 -13
- package/cjs/InfiniteLoader/index.js.map +7 -0
- package/cjs/InfiniteLoader/styled.js +50 -15
- package/cjs/InfiniteLoader/styled.js.map +7 -0
- package/cjs/LoadingPage/Page.js +79 -78
- package/cjs/LoadingPage/Page.js.map +7 -0
- package/cjs/LoadingPage/index.js +37 -10
- package/cjs/LoadingPage/index.js.map +7 -0
- package/cjs/MobileActionToolbar/MobileActionToolbar.js +59 -47
- package/cjs/MobileActionToolbar/MobileActionToolbar.js.map +7 -0
- package/cjs/MobileActionToolbar/MobileActionToolbarItem.js +48 -48
- package/cjs/MobileActionToolbar/MobileActionToolbarItem.js.map +7 -0
- package/cjs/MobileActionToolbar/index.js +38 -13
- package/cjs/MobileActionToolbar/index.js.map +7 -0
- package/cjs/MobileBanner/MobileBanner.js +105 -99
- package/cjs/MobileBanner/MobileBanner.js.map +7 -0
- package/cjs/MobileBanner/defaultProps.js +38 -11
- package/cjs/MobileBanner/defaultProps.js.map +7 -0
- package/cjs/MobileBanner/index.d.js +27 -2
- package/cjs/MobileBanner/index.d.js.map +7 -0
- package/cjs/MobileBanner/index.js +38 -12
- package/cjs/MobileBanner/index.js.map +7 -0
- package/cjs/MobileBanner/propTypes.js +46 -19
- package/cjs/MobileBanner/propTypes.js.map +7 -0
- package/cjs/MobileBanner/styles.js +127 -173
- package/cjs/MobileBanner/styles.js.map +7 -0
- package/cjs/MobileBanner/utils/bannerTypes.js +38 -10
- package/cjs/MobileBanner/utils/bannerTypes.js.map +7 -0
- package/cjs/MobileBanner/utils/icons.js +40 -18
- package/cjs/MobileBanner/utils/icons.js.map +7 -0
- package/cjs/MobileBanner/utils/styleHelpers.js +90 -41
- package/cjs/MobileBanner/utils/styleHelpers.js.map +7 -0
- package/cjs/MobileCard/ActionAddon.js +66 -34
- package/cjs/MobileCard/ActionAddon.js.map +7 -0
- package/cjs/MobileCard/Card.js +163 -124
- package/cjs/MobileCard/Card.js.map +7 -0
- package/cjs/MobileCard/CardIcons.js +102 -33
- package/cjs/MobileCard/CardIcons.js.map +7 -0
- package/cjs/MobileCard/ExpandChevron.js +55 -31
- package/cjs/MobileCard/ExpandChevron.js.map +7 -0
- package/cjs/MobileCard/ExpandableRegion.js +75 -50
- package/cjs/MobileCard/ExpandableRegion.js.map +7 -0
- package/cjs/MobileCard/Group.js +91 -84
- package/cjs/MobileCard/Group.js.map +7 -0
- package/cjs/MobileCard/StyledCard.js +44 -16
- package/cjs/MobileCard/StyledCard.js.map +7 -0
- package/cjs/MobileCard/index.js +45 -18
- package/cjs/MobileCard/index.js.map +7 -0
- package/cjs/MobileCard/props.js +48 -60
- package/cjs/MobileCard/props.js.map +7 -0
- package/cjs/MobileCard/useHeight.js +43 -18
- package/cjs/MobileCard/useHeight.js.map +7 -0
- package/cjs/MobileContextMenu/MobileContextMenu.js +191 -187
- package/cjs/MobileContextMenu/MobileContextMenu.js.map +7 -0
- package/cjs/MobileContextMenu/MobileContextMenuGroup.js +75 -87
- package/cjs/MobileContextMenu/MobileContextMenuGroup.js.map +7 -0
- package/cjs/MobileContextMenu/MobileContextMenuItem.js +146 -147
- package/cjs/MobileContextMenu/MobileContextMenuItem.js.map +7 -0
- package/cjs/MobileContextMenu/index.js +30 -16
- package/cjs/MobileContextMenu/index.js.map +7 -0
- package/cjs/MobileDatePicker/Input.js +74 -38
- package/cjs/MobileDatePicker/Input.js.map +7 -0
- package/cjs/MobileDatePicker/MobileDatePicker.js +70 -87
- package/cjs/MobileDatePicker/MobileDatePicker.js.map +7 -0
- package/cjs/MobileDatePicker/index.js +28 -10
- package/cjs/MobileDatePicker/index.js.map +7 -0
- package/cjs/MobileDropdownMenu/MobileDropdownInput.js +93 -58
- package/cjs/MobileDropdownMenu/MobileDropdownInput.js.map +7 -0
- package/cjs/MobileDropdownMenu/MobileDropdownMenu.js +88 -83
- package/cjs/MobileDropdownMenu/MobileDropdownMenu.js.map +7 -0
- package/cjs/MobileDropdownMenu/index.js +36 -12
- package/cjs/MobileDropdownMenu/index.js.map +7 -0
- package/cjs/MobileEmtpyState/MobileEmptyState.js +58 -37
- package/cjs/MobileEmtpyState/MobileEmptyState.js.map +7 -0
- package/cjs/MobileEmtpyState/index.js +37 -11
- package/cjs/MobileEmtpyState/index.js.map +7 -0
- package/cjs/MobileFilterbar/Filterbar.js +67 -40
- package/cjs/MobileFilterbar/Filterbar.js.map +7 -0
- package/cjs/MobileFilterbar/FilterbarItem.js +49 -33
- package/cjs/MobileFilterbar/FilterbarItem.js.map +7 -0
- package/cjs/MobileFilterbar/FilterbarSort.js +56 -42
- package/cjs/MobileFilterbar/FilterbarSort.js.map +7 -0
- package/cjs/MobileFilterbar/index.js +42 -16
- package/cjs/MobileFilterbar/index.js.map +7 -0
- package/cjs/MobileFooter/Action.js +68 -58
- package/cjs/MobileFooter/Action.js.map +7 -0
- package/cjs/MobileFooter/Footer.js +62 -57
- package/cjs/MobileFooter/Footer.js.map +7 -0
- package/cjs/MobileFooter/Text.js +48 -30
- package/cjs/MobileFooter/Text.js.map +7 -0
- package/cjs/MobileFooter/index.js +42 -16
- package/cjs/MobileFooter/index.js.map +7 -0
- package/cjs/MobileListItem/MobileListItem.js +80 -55
- package/cjs/MobileListItem/MobileListItem.js.map +7 -0
- package/cjs/MobileListItem/index.js +28 -10
- package/cjs/MobileListItem/index.js.map +7 -0
- package/cjs/MobilePageHeader/MobilePageHeader.js +149 -121
- package/cjs/MobilePageHeader/MobilePageHeader.js.map +7 -0
- package/cjs/MobilePageHeader/index.js +28 -10
- package/cjs/MobilePageHeader/index.js.map +7 -0
- package/cjs/MobileSelectList/MobileSelectList.js +144 -132
- package/cjs/MobileSelectList/MobileSelectList.js.map +7 -0
- package/cjs/MobileSelectList/index.js +28 -9
- package/cjs/MobileSelectList/index.js.map +7 -0
- package/cjs/MobileSelectList/styled.js +78 -52
- package/cjs/MobileSelectList/styled.js.map +7 -0
- package/cjs/MobileSeparator/Separator.js +56 -61
- package/cjs/MobileSeparator/Separator.js.map +7 -0
- package/cjs/MobileSeparator/index.js +37 -10
- package/cjs/MobileSeparator/index.js.map +7 -0
- package/cjs/MobileTimePicker/Input.js +74 -38
- package/cjs/MobileTimePicker/Input.js.map +7 -0
- package/cjs/MobileTimePicker/MobileTimePicker.js +74 -90
- package/cjs/MobileTimePicker/MobileTimePicker.js.map +7 -0
- package/cjs/MobileTimePicker/index.js +28 -10
- package/cjs/MobileTimePicker/index.js.map +7 -0
- package/cjs/MobileTouchable/MobileTouchable.js +69 -57
- package/cjs/MobileTouchable/MobileTouchable.js.map +7 -0
- package/cjs/MobileTouchable/index.js +28 -9
- package/cjs/MobileTouchable/index.js.map +7 -0
- package/cjs/Modal/Modal.js +135 -129
- package/cjs/Modal/Modal.js.map +7 -0
- package/cjs/Modal/index.js +36 -10
- package/cjs/Modal/index.js.map +7 -0
- package/cjs/Modal/styled.js +94 -42
- package/cjs/Modal/styled.js.map +7 -0
- package/cjs/PageFilter/PageFilter.js +115 -76
- package/cjs/PageFilter/PageFilter.js.map +7 -0
- package/cjs/PageForm/PageForm.js +63 -50
- package/cjs/PageForm/PageForm.js.map +7 -0
- package/cjs/PageList/PageList.js +60 -38
- package/cjs/PageList/PageList.js.map +7 -0
- package/cjs/PageList/index.js +28 -10
- package/cjs/PageList/index.js.map +7 -0
- package/cjs/PageSearch/PageSearch.js +72 -42
- package/cjs/PageSearch/PageSearch.js.map +7 -0
- package/cjs/PageSummary/PageSummary.js +66 -55
- package/cjs/PageSummary/PageSummary.js.map +7 -0
- package/cjs/PageSummary/Tags.js +65 -36
- package/cjs/PageSummary/Tags.js.map +7 -0
- package/cjs/SideNav/SideNav.js +83 -110
- package/cjs/SideNav/SideNav.js.map +7 -0
- package/cjs/SideNav/index.js +36 -10
- package/cjs/SideNav/index.js.map +7 -0
- package/cjs/SideNav/styles.js +128 -42
- package/cjs/SideNav/styles.js.map +7 -0
- package/cjs/SwipeToRefresh/ProgressIndicator.js +51 -28
- package/cjs/SwipeToRefresh/ProgressIndicator.js.map +7 -0
- package/cjs/SwipeToRefresh/ProgressLoader.js +75 -54
- package/cjs/SwipeToRefresh/ProgressLoader.js.map +7 -0
- package/cjs/SwipeToRefresh/SwipeToRefresh.js +67 -64
- package/cjs/SwipeToRefresh/SwipeToRefresh.js.map +7 -0
- package/cjs/SwipeToRefresh/styled.js +57 -28
- package/cjs/SwipeToRefresh/styled.js.map +7 -0
- package/cjs/SwipeToRefresh/useSwipe.js +54 -44
- package/cjs/SwipeToRefresh/useSwipe.js.map +7 -0
- package/cjs/Tabs/index.js +51 -55
- package/cjs/Tabs/index.js.map +7 -0
- package/cjs/Tabs/propTypes.js +49 -24
- package/cjs/Tabs/propTypes.js.map +7 -0
- package/cjs/index.js +94 -132
- package/cjs/index.js.map +7 -0
- package/esm/Accordion/Accordion.js +20 -41
- package/esm/Accordion/Accordion.js.map +7 -0
- package/esm/Accordion/index.js +3 -1
- package/esm/Accordion/index.js.map +7 -0
- package/esm/Accordion/propTypes.js +24 -17
- package/esm/Accordion/propTypes.js.map +7 -0
- package/esm/CategoryBox/CategoryBox.js +44 -62
- package/esm/CategoryBox/CategoryBox.js.map +7 -0
- package/esm/CategoryBox/index.js +7 -1
- package/esm/CategoryBox/index.js.map +7 -0
- package/esm/CollectionBox/CollectionBox.js +66 -73
- package/esm/CollectionBox/CollectionBox.js.map +7 -0
- package/esm/CollectionBox/index.js +7 -1
- package/esm/CollectionBox/index.js.map +7 -0
- package/esm/FullPageContainer/FullPageContainer.js +18 -32
- package/esm/FullPageContainer/FullPageContainer.js.map +7 -0
- package/esm/FullPageContainer/FullPageContainerScroll.js +16 -34
- package/esm/FullPageContainer/FullPageContainerScroll.js.map +7 -0
- package/esm/FullPageContainer/index.js +8 -2
- package/esm/FullPageContainer/index.js.map +7 -0
- package/esm/FullPageContainer/useMobileHeight.js +9 -12
- package/esm/FullPageContainer/useMobileHeight.js.map +7 -0
- package/esm/GlobalHeader/MobileGlobalHeader.js +68 -113
- package/esm/GlobalHeader/MobileGlobalHeader.js.map +7 -0
- package/esm/GlobalHeader/index.js +7 -1
- package/esm/GlobalHeader/index.js.map +7 -0
- package/esm/GlobalHeader/styles.js +85 -25
- package/esm/GlobalHeader/styles.js.map +7 -0
- package/esm/GroupBox/GroupBox.js +48 -69
- package/esm/GroupBox/GroupBox.js.map +7 -0
- package/esm/GroupBox/index.js +7 -1
- package/esm/GroupBox/index.js.map +7 -0
- package/esm/Icons/EM_logo.js +12 -12
- package/esm/Icons/EM_logo.js.map +7 -0
- package/esm/InfiniteLoader/Infiniteloader.js +31 -64
- package/esm/InfiniteLoader/Infiniteloader.js.map +7 -0
- package/esm/InfiniteLoader/Loader.js +17 -18
- package/esm/InfiniteLoader/Loader.js.map +7 -0
- package/esm/InfiniteLoader/VirtualizedInfiniteLoader.js +46 -70
- package/esm/InfiniteLoader/VirtualizedInfiniteLoader.js.map +7 -0
- package/esm/InfiniteLoader/index.js +13 -2
- package/esm/InfiniteLoader/index.js.map +7 -0
- package/esm/InfiniteLoader/styled.js +21 -7
- package/esm/InfiniteLoader/styled.js.map +7 -0
- package/esm/LoadingPage/Page.js +47 -63
- package/esm/LoadingPage/Page.js.map +7 -0
- package/esm/LoadingPage/index.js +8 -2
- package/esm/LoadingPage/index.js.map +7 -0
- package/esm/MobileActionToolbar/MobileActionToolbar.js +28 -34
- package/esm/MobileActionToolbar/MobileActionToolbar.js.map +7 -0
- package/esm/MobileActionToolbar/MobileActionToolbarItem.js +18 -35
- package/esm/MobileActionToolbar/MobileActionToolbarItem.js.map +7 -0
- package/esm/MobileActionToolbar/index.js +9 -2
- package/esm/MobileActionToolbar/index.js.map +7 -0
- package/esm/MobileBanner/MobileBanner.js +75 -78
- package/esm/MobileBanner/MobileBanner.js.map +7 -0
- package/esm/MobileBanner/defaultProps.js +8 -6
- package/esm/MobileBanner/defaultProps.js.map +7 -0
- package/esm/MobileBanner/index.d.js +2 -1
- package/esm/MobileBanner/index.d.js.map +7 -0
- package/esm/MobileBanner/index.js +9 -2
- package/esm/MobileBanner/index.js.map +7 -0
- package/esm/MobileBanner/propTypes.js +16 -14
- package/esm/MobileBanner/propTypes.js.map +7 -0
- package/esm/MobileBanner/styles.js +99 -156
- package/esm/MobileBanner/styles.js.map +7 -0
- package/esm/MobileBanner/utils/bannerTypes.js +9 -6
- package/esm/MobileBanner/utils/bannerTypes.js.map +7 -0
- package/esm/MobileBanner/utils/icons.js +11 -10
- package/esm/MobileBanner/utils/icons.js.map +7 -0
- package/esm/MobileBanner/utils/styleHelpers.js +57 -24
- package/esm/MobileBanner/utils/styleHelpers.js.map +7 -0
- package/esm/MobileCard/ActionAddon.js +37 -24
- package/esm/MobileCard/ActionAddon.js.map +7 -0
- package/esm/MobileCard/Card.js +125 -104
- package/esm/MobileCard/Card.js.map +7 -0
- package/esm/MobileCard/CardIcons.js +76 -27
- package/esm/MobileCard/CardIcons.js.map +7 -0
- package/esm/MobileCard/ExpandChevron.js +25 -21
- package/esm/MobileCard/ExpandChevron.js.map +7 -0
- package/esm/MobileCard/ExpandableRegion.js +44 -39
- package/esm/MobileCard/ExpandableRegion.js.map +7 -0
- package/esm/MobileCard/Group.js +62 -72
- package/esm/MobileCard/Group.js.map +7 -0
- package/esm/MobileCard/StyledCard.js +15 -8
- package/esm/MobileCard/StyledCard.js.map +7 -0
- package/esm/MobileCard/index.js +14 -9
- package/esm/MobileCard/index.js.map +7 -0
- package/esm/MobileCard/props.js +19 -56
- package/esm/MobileCard/props.js.map +7 -0
- package/esm/MobileCard/useHeight.js +9 -9
- package/esm/MobileCard/useHeight.js.map +7 -0
- package/esm/MobileContextMenu/MobileContextMenu.js +159 -171
- package/esm/MobileContextMenu/MobileContextMenu.js.map +7 -0
- package/esm/MobileContextMenu/MobileContextMenuGroup.js +45 -74
- package/esm/MobileContextMenu/MobileContextMenuGroup.js.map +7 -0
- package/esm/MobileContextMenu/MobileContextMenuItem.js +117 -135
- package/esm/MobileContextMenu/MobileContextMenuItem.js.map +7 -0
- package/esm/MobileContextMenu/index.js +5 -3
- package/esm/MobileContextMenu/index.js.map +7 -0
- package/esm/MobileDatePicker/Input.js +44 -27
- package/esm/MobileDatePicker/Input.js.map +7 -0
- package/esm/MobileDatePicker/MobileDatePicker.js +37 -73
- package/esm/MobileDatePicker/MobileDatePicker.js.map +7 -0
- package/esm/MobileDatePicker/index.js +3 -1
- package/esm/MobileDatePicker/index.js.map +7 -0
- package/esm/MobileDropdownMenu/MobileDropdownInput.js +64 -45
- package/esm/MobileDropdownMenu/MobileDropdownInput.js.map +7 -0
- package/esm/MobileDropdownMenu/MobileDropdownMenu.js +59 -70
- package/esm/MobileDropdownMenu/MobileDropdownMenu.js.map +7 -0
- package/esm/MobileDropdownMenu/index.js +7 -2
- package/esm/MobileDropdownMenu/index.js.map +7 -0
- package/esm/MobileEmtpyState/MobileEmptyState.js +29 -27
- package/esm/MobileEmtpyState/MobileEmptyState.js.map +7 -0
- package/esm/MobileEmtpyState/index.js +8 -2
- package/esm/MobileEmtpyState/index.js.map +7 -0
- package/esm/MobileFilterbar/Filterbar.js +38 -30
- package/esm/MobileFilterbar/Filterbar.js.map +7 -0
- package/esm/MobileFilterbar/FilterbarItem.js +20 -24
- package/esm/MobileFilterbar/FilterbarItem.js.map +7 -0
- package/esm/MobileFilterbar/FilterbarSort.js +27 -32
- package/esm/MobileFilterbar/FilterbarSort.js.map +7 -0
- package/esm/MobileFilterbar/index.js +19 -3
- package/esm/MobileFilterbar/index.js.map +7 -0
- package/esm/MobileFooter/Action.js +40 -48
- package/esm/MobileFooter/Action.js.map +7 -0
- package/esm/MobileFooter/Footer.js +31 -43
- package/esm/MobileFooter/Footer.js.map +7 -0
- package/esm/MobileFooter/Text.js +19 -20
- package/esm/MobileFooter/Text.js.map +7 -0
- package/esm/MobileFooter/index.js +13 -3
- package/esm/MobileFooter/index.js.map +7 -0
- package/esm/MobileListItem/MobileListItem.js +47 -41
- package/esm/MobileListItem/MobileListItem.js.map +7 -0
- package/esm/MobileListItem/index.js +3 -1
- package/esm/MobileListItem/index.js.map +7 -0
- package/esm/MobilePageHeader/MobilePageHeader.js +114 -103
- package/esm/MobilePageHeader/MobilePageHeader.js.map +7 -0
- package/esm/MobilePageHeader/index.js +3 -1
- package/esm/MobilePageHeader/index.js.map +7 -0
- package/esm/MobileSelectList/MobileSelectList.js +112 -119
- package/esm/MobileSelectList/MobileSelectList.js.map +7 -0
- package/esm/MobileSelectList/index.js +3 -1
- package/esm/MobileSelectList/index.js.map +7 -0
- package/esm/MobileSelectList/styled.js +47 -35
- package/esm/MobileSelectList/styled.js.map +7 -0
- package/esm/MobileSeparator/Separator.js +27 -51
- package/esm/MobileSeparator/Separator.js.map +7 -0
- package/esm/MobileSeparator/index.js +8 -2
- package/esm/MobileSeparator/index.js.map +7 -0
- package/esm/MobileTimePicker/Input.js +44 -27
- package/esm/MobileTimePicker/Input.js.map +7 -0
- package/esm/MobileTimePicker/MobileTimePicker.js +41 -76
- package/esm/MobileTimePicker/MobileTimePicker.js.map +7 -0
- package/esm/MobileTimePicker/index.js +3 -1
- package/esm/MobileTimePicker/index.js.map +7 -0
- package/esm/MobileTouchable/MobileTouchable.js +36 -43
- package/esm/MobileTouchable/MobileTouchable.js.map +7 -0
- package/esm/MobileTouchable/index.js +3 -1
- package/esm/MobileTouchable/index.js.map +7 -0
- package/esm/Modal/Modal.js +98 -110
- package/esm/Modal/Modal.js.map +7 -0
- package/esm/Modal/index.js +7 -1
- package/esm/Modal/index.js.map +7 -0
- package/esm/Modal/styled.js +65 -27
- package/esm/Modal/styled.js.map +7 -0
- package/esm/PageFilter/PageFilter.js +83 -64
- package/esm/PageFilter/PageFilter.js.map +7 -0
- package/esm/PageForm/PageForm.js +34 -40
- package/esm/PageForm/PageForm.js.map +7 -0
- package/esm/PageList/PageList.js +31 -28
- package/esm/PageList/PageList.js.map +7 -0
- package/esm/PageList/index.js +3 -1
- package/esm/PageList/index.js.map +7 -0
- package/esm/PageSearch/PageSearch.js +43 -32
- package/esm/PageSearch/PageSearch.js.map +7 -0
- package/esm/PageSummary/PageSummary.js +38 -47
- package/esm/PageSummary/PageSummary.js.map +7 -0
- package/esm/PageSummary/Tags.js +37 -26
- package/esm/PageSummary/Tags.js.map +7 -0
- package/esm/SideNav/SideNav.js +48 -95
- package/esm/SideNav/SideNav.js.map +7 -0
- package/esm/SideNav/index.js +7 -1
- package/esm/SideNav/index.js.map +7 -0
- package/esm/SideNav/styles.js +99 -27
- package/esm/SideNav/styles.js.map +7 -0
- package/esm/SwipeToRefresh/ProgressIndicator.js +21 -19
- package/esm/SwipeToRefresh/ProgressIndicator.js.map +7 -0
- package/esm/SwipeToRefresh/ProgressLoader.js +46 -46
- package/esm/SwipeToRefresh/ProgressLoader.js.map +7 -0
- package/esm/SwipeToRefresh/SwipeToRefresh.js +36 -53
- package/esm/SwipeToRefresh/SwipeToRefresh.js.map +7 -0
- package/esm/SwipeToRefresh/styled.js +28 -17
- package/esm/SwipeToRefresh/styled.js.map +7 -0
- package/esm/SwipeToRefresh/useSwipe.js +19 -34
- package/esm/SwipeToRefresh/useSwipe.js.map +7 -0
- package/esm/Tabs/index.js +20 -41
- package/esm/Tabs/index.js.map +7 -0
- package/esm/Tabs/propTypes.js +20 -19
- package/esm/Tabs/propTypes.js.map +7 -0
- package/esm/index.js +75 -44
- package/esm/index.js.map +7 -0
- package/package.json +15 -15
- package/cjs/MobileTimePicker/MobileTimePicker.stories.js +0 -35
- package/esm/MobileTimePicker/MobileTimePicker.stories.js +0 -26
|
@@ -1,21 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var defaultProps_exports = {};
|
|
29
|
+
__export(defaultProps_exports, {
|
|
30
|
+
defaultProps: () => defaultProps
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_bannerTypes = require("./utils/bannerTypes");
|
|
7
34
|
const defaultProps = {
|
|
8
|
-
type:
|
|
35
|
+
type: import_bannerTypes.MOBILE_BANNER_TYPES.SUCCESS,
|
|
9
36
|
isOpen: false,
|
|
10
37
|
closeButtonOnClick: () => null,
|
|
11
38
|
actionLinkLabel: null,
|
|
12
39
|
actionLinkHref: null,
|
|
13
40
|
actionLinkOnClick: () => null,
|
|
14
|
-
label:
|
|
15
|
-
body:
|
|
41
|
+
label: "",
|
|
42
|
+
body: "",
|
|
16
43
|
showCloseButton: true,
|
|
17
44
|
containerProps: {},
|
|
18
45
|
focusOnOpen: false
|
|
19
46
|
};
|
|
20
|
-
|
|
21
|
-
|
|
47
|
+
module.exports = __toCommonJS(defaultProps_exports);
|
|
48
|
+
//# sourceMappingURL=defaultProps.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/MobileBanner/defaultProps.ts", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import { MOBILE_BANNER_TYPES } from './utils/bannerTypes';\n\nexport const defaultProps = {\n type: MOBILE_BANNER_TYPES.SUCCESS,\n isOpen: false,\n closeButtonOnClick: () => null,\n actionLinkLabel: null,\n actionLinkHref: null,\n actionLinkOnClick: () => null,\n label: '',\n body: '',\n showCloseButton: true,\n containerProps: {},\n focusOnOpen: false,\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,yBAAoC;AAE7B,MAAM,eAAe;AAAA,EAC1B,MAAM,uCAAoB;AAAA,EAC1B,QAAQ;AAAA,EACR,oBAAoB,MAAM;AAAA,EAC1B,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,mBAAmB,MAAM;AAAA,EACzB,OAAO;AAAA,EACP,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,aAAa;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
9
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(module2))
|
|
11
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
12
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
13
|
+
}
|
|
14
|
+
return target;
|
|
15
|
+
};
|
|
16
|
+
var __toESM = (module2, isNodeMode) => {
|
|
17
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
20
|
+
return (module2, temp) => {
|
|
21
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
22
|
+
};
|
|
23
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
24
|
+
var index_d_exports = {};
|
|
25
|
+
var React = __toESM(require("react"));
|
|
26
|
+
module.exports = __toCommonJS(index_d_exports);
|
|
27
|
+
//# sourceMappingURL=index.d.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/MobileBanner/index.d.ts", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { MOBILE_BANNER_TYPES } from './utils/bannerTypes';\n\ntype MobileBannerTypesT = typeof MOBILE_BANNER_TYPES[keyof typeof MOBILE_BANNER_TYPES];\n\nexport interface MobileBannerPropsT {\n type: MobileBannerTypesT;\n isOpen: boolean;\n closeButtonOnClick: () => void | null;\n actionLinkLabel: string;\n actionLinkHref: string;\n actionLinkOnClick: () => void | null;\n label: string;\n body: string;\n showCloseButton?: boolean;\n containerProps: Record<string, unknown>;\n focusOnOpen?: boolean;\n}\n\nexport interface StyledBannerContainerT {\n type: MobileBannerTypesT;\n isOpen: boolean;\n isAnimating: boolean;\n height: number;\n}\n\nexport interface StyledInnerContainerT {\n type: MobileBannerTypesT;\n isOpen: boolean;\n isAnimating: boolean;\n ref: React.MutableRefObject<HTMLDivElement>;\n}\n\nexport interface StyledContentT {\n showCloseButton: boolean;\n}\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA,YAAuB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var MobileBanner_exports = {};
|
|
29
|
+
__export(MobileBanner_exports, {
|
|
30
|
+
DSMobileBanner: () => import_MobileBanner.DSMobileBanner,
|
|
31
|
+
DSMobileBannerWithSchema: () => import_MobileBanner.DSMobileBannerWithSchema,
|
|
32
|
+
MOBILE_BANNER_TYPES: () => import_bannerTypes.MOBILE_BANNER_TYPES
|
|
33
|
+
});
|
|
34
|
+
var React = __toESM(require("react"));
|
|
35
|
+
var import_MobileBanner = require("./MobileBanner");
|
|
36
|
+
var import_bannerTypes = require("./utils/bannerTypes");
|
|
37
|
+
module.exports = __toCommonJS(MobileBanner_exports);
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/MobileBanner/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["export { DSMobileBanner, DSMobileBannerWithSchema } from './MobileBanner';\nexport { MOBILE_BANNER_TYPES } from './utils/bannerTypes';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAAyD;AACzD,yBAAoC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,21 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var propTypes_exports = {};
|
|
29
|
+
__export(propTypes_exports, {
|
|
30
|
+
propTypes: () => propTypes
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_react_desc = require("react-desc");
|
|
7
34
|
const propTypes = {
|
|
8
|
-
type:
|
|
9
|
-
isOpen:
|
|
10
|
-
closeButtonOnClick:
|
|
11
|
-
actionLinkLabel:
|
|
12
|
-
actionLinkHref:
|
|
13
|
-
actionLinkOnClick:
|
|
14
|
-
label:
|
|
15
|
-
body:
|
|
16
|
-
showCloseButton:
|
|
17
|
-
containerProps:
|
|
18
|
-
focusOnOpen:
|
|
35
|
+
type: import_react_desc.PropTypes.oneOf(["info", "success", "warning", "error"]).description("Type of banner"),
|
|
36
|
+
isOpen: import_react_desc.PropTypes.bool.description("Whether the banner is open or not"),
|
|
37
|
+
closeButtonOnClick: import_react_desc.PropTypes.func.description("OnClick function used in the close button"),
|
|
38
|
+
actionLinkLabel: import_react_desc.PropTypes.string.description("Label used in the the action link"),
|
|
39
|
+
actionLinkHref: import_react_desc.PropTypes.string.description("Href used in the the action link"),
|
|
40
|
+
actionLinkOnClick: import_react_desc.PropTypes.string.description("OnClick function used in the action link"),
|
|
41
|
+
label: import_react_desc.PropTypes.string.description("Label text for the banner"),
|
|
42
|
+
body: import_react_desc.PropTypes.string.description("Body text for the banner"),
|
|
43
|
+
showCloseButton: import_react_desc.PropTypes.bool.description("Whether the close button should be visible or not"),
|
|
44
|
+
containerProps: import_react_desc.PropTypes.shape({}).description("Set of properties attached to the banner container"),
|
|
45
|
+
focusOnOpen: import_react_desc.PropTypes.bool.description("Whether the banner should get focus when its openedWhether the banner should get focus when it's opened")
|
|
19
46
|
};
|
|
20
|
-
|
|
21
|
-
|
|
47
|
+
module.exports = __toCommonJS(propTypes_exports);
|
|
48
|
+
//# sourceMappingURL=propTypes.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/MobileBanner/propTypes.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import { PropTypes } from 'react-desc';\n\nexport const propTypes = {\n type: PropTypes.oneOf(['info', 'success', 'warning', 'error']).description('Type of banner'),\n isOpen: PropTypes.bool.description('Whether the banner is open or not'),\n closeButtonOnClick: PropTypes.func.description('OnClick function used in the close button'),\n actionLinkLabel: PropTypes.string.description('Label used in the the action link'),\n actionLinkHref: PropTypes.string.description('Href used in the the action link'),\n actionLinkOnClick: PropTypes.string.description('OnClick function used in the action link'),\n label: PropTypes.string.description('Label text for the banner'),\n body: PropTypes.string.description('Body text for the banner'),\n showCloseButton: PropTypes.bool.description('Whether the close button should be visible or not'),\n containerProps: PropTypes.shape({}).description('Set of properties attached to the banner container'),\n focusOnOpen: PropTypes.bool.description(\n \"Whether the banner should get focus when its openedWhether the banner should get focus when it's opened\",\n ),\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAA0B;AAEnB,MAAM,YAAY;AAAA,EACvB,MAAM,4BAAU,MAAM,CAAC,QAAQ,WAAW,WAAW,UAAU,YAAY;AAAA,EAC3E,QAAQ,4BAAU,KAAK,YAAY;AAAA,EACnC,oBAAoB,4BAAU,KAAK,YAAY;AAAA,EAC/C,iBAAiB,4BAAU,OAAO,YAAY;AAAA,EAC9C,gBAAgB,4BAAU,OAAO,YAAY;AAAA,EAC7C,mBAAmB,4BAAU,OAAO,YAAY;AAAA,EAChD,OAAO,4BAAU,OAAO,YAAY;AAAA,EACpC,MAAM,4BAAU,OAAO,YAAY;AAAA,EACnC,iBAAiB,4BAAU,KAAK,YAAY;AAAA,EAC5C,gBAAgB,4BAAU,MAAM,IAAI,YAAY;AAAA,EAChD,aAAa,4BAAU,KAAK,YAC1B;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,174 +1,128 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var styles_exports = {};
|
|
29
|
+
__export(styles_exports, {
|
|
30
|
+
StyledActionLink: () => StyledActionLink,
|
|
31
|
+
StyledBannerContainer: () => StyledBannerContainer,
|
|
32
|
+
StyledCloseButton: () => StyledCloseButton,
|
|
33
|
+
StyledCloseButtonContainer: () => StyledCloseButtonContainer,
|
|
34
|
+
StyledContent: () => StyledContent,
|
|
35
|
+
StyledIconContainer: () => StyledIconContainer,
|
|
36
|
+
StyledInnerContainer: () => StyledInnerContainer,
|
|
37
|
+
StyledSubTitle: () => StyledSubTitle,
|
|
38
|
+
StyledTextContent: () => StyledTextContent,
|
|
39
|
+
StyledTitle: () => StyledTitle
|
|
39
40
|
});
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
})([
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
})(["text-decoration:none;float:right;margin-left:", ";line-height:1.1;font-size:", ";font-weight:", ";color:", ";"], _ref18 => {
|
|
129
|
-
let {
|
|
130
|
-
theme
|
|
131
|
-
} = _ref18;
|
|
132
|
-
return theme.space.xs;
|
|
133
|
-
}, _ref19 => {
|
|
134
|
-
let {
|
|
135
|
-
theme
|
|
136
|
-
} = _ref19;
|
|
137
|
-
return dsSystem.toMobile(theme.fontSizes.title[600]);
|
|
138
|
-
}, _ref20 => {
|
|
139
|
-
let {
|
|
140
|
-
theme
|
|
141
|
-
} = _ref20;
|
|
142
|
-
return theme.fontWeights.regular;
|
|
143
|
-
}, _ref21 => {
|
|
144
|
-
let {
|
|
145
|
-
theme
|
|
146
|
-
} = _ref21;
|
|
147
|
-
return theme.colors.brand[600];
|
|
148
|
-
});
|
|
149
|
-
const StyledBannerContainer = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
150
|
-
componentId: "sc-4jnp92-9"
|
|
151
|
-
})(["overflow:hidden;height:", ";", ";"], _ref22 => {
|
|
152
|
-
let {
|
|
153
|
-
isOpen
|
|
154
|
-
} = _ref22;
|
|
155
|
-
return isOpen ? 'auto' : '0px';
|
|
156
|
-
}, _ref23 => {
|
|
157
|
-
let {
|
|
158
|
-
isAnimating,
|
|
159
|
-
isOpen,
|
|
160
|
-
height
|
|
161
|
-
} = _ref23;
|
|
162
|
-
return styleHelpers.handleAnimation(isAnimating, isOpen, height);
|
|
163
|
-
});
|
|
164
|
-
|
|
165
|
-
exports.StyledActionLink = StyledActionLink;
|
|
166
|
-
exports.StyledBannerContainer = StyledBannerContainer;
|
|
167
|
-
exports.StyledCloseButton = StyledCloseButton;
|
|
168
|
-
exports.StyledCloseButtonContainer = StyledCloseButtonContainer;
|
|
169
|
-
exports.StyledContent = StyledContent;
|
|
170
|
-
exports.StyledIconContainer = StyledIconContainer;
|
|
171
|
-
exports.StyledInnerContainer = StyledInnerContainer;
|
|
172
|
-
exports.StyledSubTitle = StyledSubTitle;
|
|
173
|
-
exports.StyledTextContent = StyledTextContent;
|
|
174
|
-
exports.StyledTitle = StyledTitle;
|
|
41
|
+
var React = __toESM(require("react"));
|
|
42
|
+
var import_styled_components = __toESM(require("styled-components"));
|
|
43
|
+
var import_ds_system = require("@elliemae/ds-system");
|
|
44
|
+
var import_ds_button = __toESM(require("@elliemae/ds-button"));
|
|
45
|
+
var import_styleHelpers = require("./utils/styleHelpers");
|
|
46
|
+
const StyledInnerContainer = import_styled_components.default.div`
|
|
47
|
+
display: flex;
|
|
48
|
+
min-height: 68px;
|
|
49
|
+
width: 100%;
|
|
50
|
+
background-color: ${({ theme }) => theme.colors.neutral["000"]};
|
|
51
|
+
border-bottom: 4px solid ${({ type, theme }) => (0, import_styleHelpers.handleBorderColor)(type, theme)};
|
|
52
|
+
transform: translateY(${({ isOpen }) => isOpen ? "0" : "-100%"});
|
|
53
|
+
${({ isAnimating, isOpen }) => (0, import_styleHelpers.handleAnimation)(isAnimating, isOpen)};
|
|
54
|
+
`;
|
|
55
|
+
const StyledTextContent = import_styled_components.default.div`
|
|
56
|
+
width: 100%;
|
|
57
|
+
`;
|
|
58
|
+
const StyledTitle = import_styled_components.default.div`
|
|
59
|
+
color: ${({ theme }) => theme.colors.neutral[700]};
|
|
60
|
+
font-size: ${({ theme }) => (0, import_ds_system.toMobile)(theme.fontSizes.title[700])};
|
|
61
|
+
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
62
|
+
margin-bottom: ${({ theme }) => theme.space.xxs};
|
|
63
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
64
|
+
@media {
|
|
65
|
+
-webkit-font-smoothing: subpixel-antialiased; // fix safari bold render
|
|
66
|
+
-webkit-text-stroke: 0.4px ${({ theme }) => theme.colors.neutral[700]}; // fix safari bold render
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
@media screen and (min--moz-device-pixel-ratio: 0) {
|
|
70
|
+
-webkit-font-smoothing: subpixel-antialiased; // fix safari bold render
|
|
71
|
+
-webkit-text-stroke: 0.4px ${({ theme }) => theme.colors.neutral[700]}; // fix safari bold render
|
|
72
|
+
}
|
|
73
|
+
`;
|
|
74
|
+
const StyledSubTitle = import_styled_components.default.div`
|
|
75
|
+
font-size: ${({ theme }) => (0, import_ds_system.toMobile)(theme.fontSizes.title[600])};
|
|
76
|
+
font-weight: ${({ theme }) => theme.fontWeights.regular};
|
|
77
|
+
`;
|
|
78
|
+
const StyledIconContainer = import_styled_components.default.div`
|
|
79
|
+
margin-top: 10px;
|
|
80
|
+
margin-right: ${({ theme }) => theme.space.xxs};
|
|
81
|
+
margin-left: ${({ theme }) => theme.space.xs};
|
|
82
|
+
`;
|
|
83
|
+
const StyledContent = import_styled_components.default.div`
|
|
84
|
+
width: 100%;
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
margin: ${({ theme }) => theme.space.xxs2} 0;
|
|
88
|
+
margin-right: ${({ showCloseButton }) => !showCloseButton ? "28px" : "0"};
|
|
89
|
+
`;
|
|
90
|
+
const StyledCloseButtonContainer = import_styled_components.default.div`
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: flex-start;
|
|
93
|
+
margin-top: 6px;
|
|
94
|
+
margin-right: 6px;
|
|
95
|
+
`;
|
|
96
|
+
const StyledCloseButton = (0, import_styled_components.default)(import_ds_button.default)`
|
|
97
|
+
position: relative;
|
|
98
|
+
&:focus {
|
|
99
|
+
&:after {
|
|
100
|
+
display: block;
|
|
101
|
+
content: ' ';
|
|
102
|
+
position: absolute;
|
|
103
|
+
top: 0;
|
|
104
|
+
left: 0;
|
|
105
|
+
width: 100%;
|
|
106
|
+
height: 100%;
|
|
107
|
+
border: 2px solid ${({ theme }) => theme.colors.brand[700]};
|
|
108
|
+
border-radius: 2px;
|
|
109
|
+
pointer-events: none;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
`;
|
|
113
|
+
const StyledActionLink = import_styled_components.default.a`
|
|
114
|
+
text-decoration: none;
|
|
115
|
+
float: right;
|
|
116
|
+
margin-left: ${({ theme }) => theme.space.xs};
|
|
117
|
+
line-height: 1.1;
|
|
118
|
+
font-size: ${({ theme }) => (0, import_ds_system.toMobile)(theme.fontSizes.title[600])};
|
|
119
|
+
font-weight: ${({ theme }) => theme.fontWeights.regular};
|
|
120
|
+
color: ${({ theme }) => theme.colors.brand[600]};
|
|
121
|
+
`;
|
|
122
|
+
const StyledBannerContainer = import_styled_components.default.div`
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
height: ${({ isOpen }) => isOpen ? "auto" : "0px"};
|
|
125
|
+
${({ isAnimating, isOpen, height }) => (0, import_styleHelpers.handleAnimation)(isAnimating, isOpen, height)};
|
|
126
|
+
`;
|
|
127
|
+
module.exports = __toCommonJS(styles_exports);
|
|
128
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/MobileBanner/styles.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import styled from 'styled-components';\nimport { toMobile } from '@elliemae/ds-system';\nimport DSButton from '@elliemae/ds-button';\nimport type { StyledBannerContainerT, StyledContentT, StyledInnerContainerT } from './index.d';\nimport { handleAnimation, handleBorderColor } from './utils/styleHelpers';\n\nexport const StyledInnerContainer = styled.div<StyledInnerContainerT>`\n display: flex;\n min-height: 68px;\n width: 100%;\n background-color: ${({ theme }) => theme.colors.neutral['000']};\n border-bottom: 4px solid ${({ type, theme }) => handleBorderColor(type, theme)};\n transform: translateY(${({ isOpen }) => (isOpen ? '0' : '-100%')});\n ${({ isAnimating, isOpen }) => handleAnimation(isAnimating, isOpen)};\n`;\n\nexport const StyledTextContent = styled.div`\n width: 100%;\n`;\n\nexport const StyledTitle = styled.div`\n color: ${({ theme }) => theme.colors.neutral[700]};\n font-size: ${({ theme }) => toMobile(theme.fontSizes.title[700])};\n font-weight: ${({ theme }) => theme.fontWeights.semibold};\n margin-bottom: ${({ theme }) => theme.space.xxs};\n @media not all and (min-resolution: 0.001dpcm) {\n @media {\n -webkit-font-smoothing: subpixel-antialiased; // fix safari bold render\n -webkit-text-stroke: 0.4px ${({ theme }) => theme.colors.neutral[700]}; // fix safari bold render\n }\n }\n @media screen and (min--moz-device-pixel-ratio: 0) {\n -webkit-font-smoothing: subpixel-antialiased; // fix safari bold render\n -webkit-text-stroke: 0.4px ${({ theme }) => theme.colors.neutral[700]}; // fix safari bold render\n }\n`;\n\nexport const StyledSubTitle = styled.div`\n font-size: ${({ theme }) => toMobile(theme.fontSizes.title[600])};\n font-weight: ${({ theme }) => theme.fontWeights.regular};\n`;\n\nexport const StyledIconContainer = styled.div`\n margin-top: 10px;\n margin-right: ${({ theme }) => theme.space.xxs};\n margin-left: ${({ theme }) => theme.space.xs};\n`;\n\nexport const StyledContent = styled.div<StyledContentT>`\n width: 100%;\n display: flex;\n flex-direction: column;\n margin: ${({ theme }) => theme.space.xxs2} 0;\n margin-right: ${({ showCloseButton }) => (!showCloseButton ? '28px' : '0')};\n`;\n\nexport const StyledCloseButtonContainer = styled.div`\n display: flex;\n align-items: flex-start;\n margin-top: 6px;\n margin-right: 6px;\n`;\nexport const StyledCloseButton = styled(DSButton)`\n position: relative;\n &:focus {\n &:after {\n display: block;\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 2px solid ${({ theme }) => theme.colors.brand[700]};\n border-radius: 2px;\n pointer-events: none;\n }\n }\n`;\n\nexport const StyledActionLink = styled.a`\n text-decoration: none;\n float: right;\n margin-left: ${({ theme }) => theme.space.xs};\n line-height: 1.1;\n font-size: ${({ theme }) => toMobile(theme.fontSizes.title[600])};\n font-weight: ${({ theme }) => theme.fontWeights.regular};\n color: ${({ theme }) => theme.colors.brand[600]};\n`;\n\nexport const StyledBannerContainer = styled.div<StyledBannerContainerT>`\n overflow: hidden;\n height: ${({ isOpen }) => (isOpen ? 'auto' : '0px')};\n ${({ isAnimating, isOpen, height }) => handleAnimation(isAnimating, isOpen, height)};\n`;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,+BAAmB;AACnB,uBAAyB;AACzB,uBAAqB;AAErB,0BAAmD;AAE5C,MAAM,uBAAuB,iCAAO;AAAA;AAAA;AAAA;AAAA,sBAIrB,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA,6BAC7B,CAAC,EAAE,MAAM,YAAY,2CAAkB,MAAM;AAAA,0BAChD,CAAC,EAAE,aAAc,SAAS,MAAM;AAAA,IACtD,CAAC,EAAE,aAAa,aAAa,yCAAgB,aAAa;AAAA;AAGvD,MAAM,oBAAoB,iCAAO;AAAA;AAAA;AAIjC,MAAM,cAAc,iCAAO;AAAA,WACvB,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA,eAChC,CAAC,EAAE,YAAY,+BAAS,MAAM,UAAU,MAAM;AAAA,iBAC5C,CAAC,EAAE,YAAY,MAAM,YAAY;AAAA,mBAC/B,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA,mCAIX,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,iCAKtC,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAAA;AAI9D,MAAM,iBAAiB,iCAAO;AAAA,eACtB,CAAC,EAAE,YAAY,+BAAS,MAAM,UAAU,MAAM;AAAA,iBAC5C,CAAC,EAAE,YAAY,MAAM,YAAY;AAAA;AAG3C,MAAM,sBAAsB,iCAAO;AAAA;AAAA,kBAExB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,iBAC5B,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA;AAGrC,MAAM,gBAAgB,iCAAO;AAAA;AAAA;AAAA;AAAA,YAIxB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,kBACrB,CAAC,EAAE,sBAAuB,CAAC,kBAAkB,SAAS;AAAA;AAGjE,MAAM,6BAA6B,iCAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAM1C,MAAM,oBAAoB,sCAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAWd,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAOrD,MAAM,mBAAmB,iCAAO;AAAA;AAAA;AAAA,iBAGtB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA;AAAA,eAE7B,CAAC,EAAE,YAAY,+BAAS,MAAM,UAAU,MAAM;AAAA,iBAC5C,CAAC,EAAE,YAAY,MAAM,YAAY;AAAA,WACvC,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAGtC,MAAM,wBAAwB,iCAAO;AAAA;AAAA,YAEhC,CAAC,EAAE,aAAc,SAAS,SAAS;AAAA,IAC3C,CAAC,EAAE,aAAa,QAAQ,aAAa,yCAAgB,aAAa,QAAQ;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,12 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var bannerTypes_exports = {};
|
|
29
|
+
__export(bannerTypes_exports, {
|
|
30
|
+
MOBILE_BANNER_TYPES: () => MOBILE_BANNER_TYPES
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
5
33
|
const MOBILE_BANNER_TYPES = {
|
|
6
|
-
INFO:
|
|
7
|
-
SUCCESS:
|
|
8
|
-
WARNING:
|
|
9
|
-
ERROR:
|
|
34
|
+
INFO: "info",
|
|
35
|
+
SUCCESS: "success",
|
|
36
|
+
WARNING: "warning",
|
|
37
|
+
ERROR: "error"
|
|
10
38
|
};
|
|
11
|
-
|
|
12
|
-
|
|
39
|
+
module.exports = __toCommonJS(bannerTypes_exports);
|
|
40
|
+
//# sourceMappingURL=bannerTypes.js.map
|