@telus-uds/components-web 4.19.0 → 5.0.0-alpha.0
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/.eslintrc.cjs +12 -0
- package/CHANGELOG.md +24 -1
- package/lib/cjs/Badge/Badge.js +26 -27
- package/lib/cjs/BlockQuote/BlockQuote.js +24 -25
- package/lib/cjs/Breadcrumbs/{Item/Item.js → BreadcrumbItem.js} +36 -37
- package/lib/cjs/Breadcrumbs/Breadcrumbs.js +8 -10
- package/lib/cjs/Callout/Callout.js +24 -25
- package/lib/cjs/Card/Card.js +79 -89
- package/lib/cjs/Card/CardContent.js +53 -29
- package/lib/cjs/Card/CardFooter.js +28 -18
- package/lib/cjs/Countdown/Countdown.js +7 -8
- package/lib/cjs/Countdown/Segment.js +10 -11
- package/lib/cjs/Countdown/dictionary.js +2 -2
- package/lib/cjs/Countdown/types.js +2 -6
- package/lib/cjs/Countdown/useCountdown.js +2 -2
- package/lib/cjs/DatePicker/CalendarContainer.js +66 -67
- package/lib/cjs/DatePicker/DatePicker.js +27 -28
- package/lib/cjs/DatePicker/dictionary.js +3 -4
- package/lib/cjs/DatePicker/reactDatesCss.js +2 -3
- package/lib/cjs/Disclaimer/Disclaimer.js +28 -13
- package/lib/cjs/Footnote/Footnote.js +108 -109
- package/lib/cjs/Footnote/FootnoteLink.js +28 -19
- package/lib/cjs/Footnote/dictionary.js +2 -2
- package/lib/cjs/IconButton/IconButton.js +3 -4
- package/lib/cjs/Image/Image.js +9 -3
- package/lib/cjs/Image/server.js +4 -6
- package/lib/cjs/List/List.js +7 -3
- package/lib/cjs/List/ListItem.js +3 -4
- package/lib/cjs/NavigationBar/NavigationBar.js +8 -9
- package/lib/cjs/NavigationBar/NavigationItem.js +10 -11
- package/lib/cjs/NavigationBar/NavigationSubMenu.js +10 -11
- package/lib/cjs/NavigationBar/collapseItems.js +2 -2
- package/lib/cjs/NavigationBar/resolveItemSelection.js +2 -2
- package/lib/cjs/OptimizeImage/OptimizeImage.js +6 -8
- package/lib/cjs/OptimizeImage/utils/getFallbackUrl.js +3 -4
- package/lib/cjs/OptimizeImage/utils/getImageUrls.js +9 -10
- package/lib/cjs/OptimizeImage/utils/getOptimizedUrl.js +3 -4
- package/lib/cjs/OptimizeImage/utils/hasWebpSupport.js +1 -1
- package/lib/cjs/OptimizeImage/utils/index.js +8 -9
- package/lib/cjs/OptimizeImage/utils/isSvgUrl.js +1 -1
- package/lib/cjs/OrderedList/OrderedList.js +6 -9
- package/lib/cjs/OrderedList/OrderedListBase.js +4 -7
- package/lib/cjs/OrderedList/{Item.js → OrderedListItem.js} +46 -39
- package/lib/cjs/OrderedList/{ItemBase.js → OrderedListItemBase.js} +7 -7
- package/lib/cjs/OrderedList/constants.js +0 -1
- package/lib/cjs/Paragraph/Paragraph.js +10 -11
- package/lib/cjs/PreviewCard/PreviewCard.js +18 -27
- package/lib/cjs/PreviewCard/{AuthorDate.js → PreviewCardAuthorDate.js} +6 -6
- package/lib/cjs/PriceLockup/PriceLockup.js +61 -60
- package/lib/cjs/PriceLockup/dictionary.js +2 -2
- package/lib/cjs/PriceLockup/tokens.js +3 -3
- package/lib/cjs/Progress/ProgressBar.js +14 -17
- package/lib/cjs/QuantitySelector/QuantitySelector.js +8 -9
- package/lib/cjs/QuantitySelector/{SideButton.js → QuantitySelectorSideButton.js} +5 -6
- package/lib/cjs/QuantitySelector/dictionary.js +2 -2
- package/lib/cjs/ResponsiveImage/ResponsiveImage.js +3 -4
- package/lib/cjs/Ribbon/Ribbon.js +56 -65
- package/lib/cjs/SkeletonProvider/SkeletonImage.js +3 -4
- package/lib/cjs/SkeletonProvider/SkeletonProvider.js +10 -10
- package/lib/cjs/SkeletonProvider/SkeletonTypography.js +3 -4
- package/lib/cjs/Span/Span.js +6 -7
- package/lib/cjs/Spinner/Spinner.js +29 -29
- package/lib/cjs/Spinner/SpinnerContent.js +6 -7
- package/lib/cjs/StoryCard/StoryCard.js +17 -22
- package/lib/cjs/Table/Table.js +32 -25
- package/lib/cjs/Table/{Body.js → TableBody.js} +5 -6
- package/lib/cjs/Table/{Cell.js → TableCell.js} +59 -61
- package/lib/cjs/Table/{Header.js → TableHeader.js} +7 -8
- package/lib/cjs/Table/{Row.js → TableRow.js} +18 -19
- package/lib/cjs/Table/{SubHeading.js → TableSubHeading.js} +7 -8
- package/lib/cjs/TermsAndConditions/ExpandCollapse.js +18 -19
- package/lib/cjs/TermsAndConditions/TermsAndConditions.js +44 -44
- package/lib/cjs/TermsAndConditions/dictionary.js +2 -2
- package/lib/cjs/Testimonial/Testimonial.js +24 -31
- package/lib/cjs/Toast/Toast.js +28 -30
- package/lib/cjs/Video/ControlBar/ControlBar.js +48 -47
- package/lib/cjs/Video/ControlBar/Controls/VideoButton/VideoButton.js +6 -6
- package/lib/cjs/Video/ControlBar/Controls/VideoMenu/VideoMenu.js +30 -32
- package/lib/cjs/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.js +35 -35
- package/lib/cjs/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.js +42 -42
- package/lib/cjs/Video/MiddleControlButton/MiddleControlButton.js +15 -15
- package/lib/cjs/Video/Video.js +27 -29
- package/lib/cjs/Video/videoText.js +3 -4
- package/lib/cjs/VideoPicker/VideoPicker.js +37 -33
- package/lib/cjs/VideoPicker/VideoPickerPlayer.js +5 -6
- package/lib/cjs/VideoPicker/VideoPickerThumbnail.js +28 -25
- package/lib/cjs/VideoPicker/VideoSlider.js +3 -4
- package/lib/cjs/WaffleGrid/WaffleGrid.js +51 -50
- package/lib/cjs/WebVideo/WebVideo.js +7 -8
- package/lib/cjs/baseExports.js +84 -0
- package/lib/cjs/index.js +179 -105
- package/lib/cjs/server.js +2 -3
- package/lib/cjs/shared/ConditionalWrapper/ConditionalWrapper.js +3 -3
- package/lib/cjs/shared/FullBleedContent/FullBleedContent.js +28 -22
- package/lib/cjs/shared/FullBleedContent/getFullBleedBorderRadius.js +2 -2
- package/lib/cjs/shared/FullBleedContent/index.js +11 -10
- package/lib/cjs/shared/FullBleedContent/useFullBleedContentProps.js +2 -2
- package/lib/cjs/shared/VideoSplash/SplashButton/SplashButton.js +9 -9
- package/lib/cjs/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.js +50 -50
- package/lib/cjs/shared/VideoSplash/VideoSplash.js +12 -12
- package/lib/cjs/shared/VideoSplash/helpers.js +2 -3
- package/lib/cjs/utils/index.js +14 -15
- package/lib/cjs/utils/isElementFocusable.js +2 -2
- package/lib/cjs/utils/logger.js +2 -6
- package/lib/cjs/utils/media.js +1 -1
- package/lib/cjs/utils/renderStructuredContent.js +3 -4
- package/lib/cjs/utils/scrollToAnchor.js +2 -2
- package/lib/cjs/utils/ssr.js +2 -2
- package/lib/cjs/utils/theming/get-theme-from-server.js +2 -3
- package/lib/cjs/utils/theming/with-client-theme.js +2 -2
- package/lib/cjs/utils/theming/with-server-theme.js +4 -4
- package/lib/cjs/utils/transforms.js +2 -5
- package/lib/cjs/utils/useOverlaidPosition.js +2 -2
- package/lib/cjs/utils/useTypographyTheme.js +2 -2
- package/lib/esm/Badge/Badge.js +25 -26
- package/lib/esm/BlockQuote/BlockQuote.js +23 -24
- package/lib/esm/Breadcrumbs/{Item/Item.js → BreadcrumbItem.js} +35 -36
- package/lib/esm/Breadcrumbs/Breadcrumbs.js +6 -7
- package/lib/esm/Callout/Callout.js +23 -24
- package/lib/esm/Card/Card.js +63 -71
- package/lib/esm/Card/CardContent.js +52 -28
- package/lib/esm/Card/CardFooter.js +27 -18
- package/lib/esm/Countdown/Countdown.js +4 -5
- package/lib/esm/Countdown/Segment.js +8 -9
- package/lib/esm/Countdown/dictionary.js +1 -1
- package/lib/esm/Countdown/types.js +1 -5
- package/lib/esm/Countdown/useCountdown.js +2 -3
- package/lib/esm/DatePicker/CalendarContainer.js +64 -65
- package/lib/esm/DatePicker/DatePicker.js +18 -19
- package/lib/esm/DatePicker/dictionary.js +2 -3
- package/lib/esm/DatePicker/reactDatesCss.js +1 -2
- package/lib/esm/Disclaimer/Disclaimer.js +27 -12
- package/lib/esm/Footnote/Footnote.js +104 -104
- package/lib/esm/Footnote/FootnoteLink.js +26 -17
- package/lib/esm/Footnote/dictionary.js +1 -1
- package/lib/esm/IconButton/IconButton.js +2 -3
- package/lib/esm/Image/Image.js +10 -1
- package/lib/esm/Image/server.js +4 -4
- package/lib/esm/List/List.js +2 -2
- package/lib/esm/List/ListItem.js +2 -3
- package/lib/esm/NavigationBar/NavigationBar.js +5 -6
- package/lib/esm/NavigationBar/NavigationItem.js +9 -10
- package/lib/esm/NavigationBar/NavigationSubMenu.js +7 -8
- package/lib/esm/NavigationBar/collapseItems.js +2 -3
- package/lib/esm/NavigationBar/resolveItemSelection.js +2 -3
- package/lib/esm/OptimizeImage/OptimizeImage.js +4 -6
- package/lib/esm/OptimizeImage/utils/getFallbackUrl.js +2 -2
- package/lib/esm/OptimizeImage/utils/getImageUrls.js +3 -3
- package/lib/esm/OptimizeImage/utils/getOptimizedUrl.js +2 -2
- package/lib/esm/OptimizeImage/utils/hasWebpSupport.js +1 -1
- package/lib/esm/OptimizeImage/utils/index.js +4 -4
- package/lib/esm/OptimizeImage/utils/isSvgUrl.js +1 -1
- package/lib/esm/OrderedList/OrderedList.js +4 -7
- package/lib/esm/OrderedList/OrderedListBase.js +3 -6
- package/lib/esm/OrderedList/{Item.js → OrderedListItem.js} +45 -38
- package/lib/esm/OrderedList/{ItemBase.js → OrderedListItemBase.js} +5 -6
- package/lib/esm/OrderedList/constants.js +0 -1
- package/lib/esm/Paragraph/Paragraph.js +9 -10
- package/lib/esm/PreviewCard/PreviewCard.js +16 -21
- package/lib/esm/PreviewCard/{AuthorDate.js → PreviewCardAuthorDate.js} +4 -5
- package/lib/esm/PriceLockup/PriceLockup.js +57 -56
- package/lib/esm/PriceLockup/dictionary.js +1 -1
- package/lib/esm/PriceLockup/tokens.js +1 -1
- package/lib/esm/Progress/ProgressBar.js +13 -16
- package/lib/esm/QuantitySelector/QuantitySelector.js +6 -7
- package/lib/esm/QuantitySelector/{SideButton.js → QuantitySelectorSideButton.js} +4 -5
- package/lib/esm/QuantitySelector/dictionary.js +1 -1
- package/lib/esm/ResponsiveImage/ResponsiveImage.js +2 -3
- package/lib/esm/Ribbon/Ribbon.js +55 -64
- package/lib/esm/SkeletonProvider/SkeletonImage.js +2 -3
- package/lib/esm/SkeletonProvider/SkeletonProvider.js +6 -7
- package/lib/esm/SkeletonProvider/SkeletonTypography.js +2 -3
- package/lib/esm/Span/Span.js +5 -6
- package/lib/esm/Spinner/Spinner.js +24 -24
- package/lib/esm/Spinner/SpinnerContent.js +5 -6
- package/lib/esm/StoryCard/StoryCard.js +15 -16
- package/lib/esm/Table/Table.js +31 -24
- package/lib/esm/Table/{Body.js → TableBody.js} +4 -5
- package/lib/esm/Table/{Cell.js → TableCell.js} +57 -58
- package/lib/esm/Table/{Header.js → TableHeader.js} +6 -7
- package/lib/esm/Table/{Row.js → TableRow.js} +17 -18
- package/lib/esm/Table/{SubHeading.js → TableSubHeading.js} +6 -7
- package/lib/esm/TermsAndConditions/ExpandCollapse.js +18 -19
- package/lib/esm/TermsAndConditions/TermsAndConditions.js +40 -40
- package/lib/esm/TermsAndConditions/dictionary.js +1 -1
- package/lib/esm/Testimonial/Testimonial.js +22 -29
- package/lib/esm/Toast/Toast.js +26 -27
- package/lib/esm/Video/ControlBar/ControlBar.js +33 -33
- package/lib/esm/Video/ControlBar/Controls/VideoButton/VideoButton.js +5 -6
- package/lib/esm/Video/ControlBar/Controls/VideoMenu/VideoMenu.js +28 -31
- package/lib/esm/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.js +33 -34
- package/lib/esm/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.js +38 -39
- package/lib/esm/Video/MiddleControlButton/MiddleControlButton.js +14 -15
- package/lib/esm/Video/Video.js +19 -21
- package/lib/esm/Video/videoText.js +2 -3
- package/lib/esm/VideoPicker/VideoPicker.js +32 -27
- package/lib/esm/VideoPicker/VideoPickerPlayer.js +3 -4
- package/lib/esm/VideoPicker/VideoPickerThumbnail.js +26 -23
- package/lib/esm/VideoPicker/VideoSlider.js +2 -3
- package/lib/esm/WaffleGrid/WaffleGrid.js +49 -46
- package/lib/esm/WebVideo/WebVideo.js +5 -6
- package/lib/esm/baseExports.js +1 -1
- package/lib/esm/index.js +46 -37
- package/lib/esm/server.js +1 -2
- package/lib/esm/shared/ConditionalWrapper/ConditionalWrapper.js +2 -3
- package/lib/esm/shared/FullBleedContent/FullBleedContent.js +25 -20
- package/lib/esm/shared/FullBleedContent/getFullBleedBorderRadius.js +2 -3
- package/lib/esm/shared/FullBleedContent/index.js +3 -4
- package/lib/esm/shared/FullBleedContent/useFullBleedContentProps.js +3 -5
- package/lib/esm/shared/VideoSplash/SplashButton/SplashButton.js +8 -9
- package/lib/esm/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.js +48 -49
- package/lib/esm/shared/VideoSplash/VideoSplash.js +8 -9
- package/lib/esm/shared/VideoSplash/helpers.js +1 -1
- package/lib/esm/utils/index.js +7 -7
- package/lib/esm/utils/isElementFocusable.js +2 -3
- package/lib/esm/utils/logger.js +0 -4
- package/lib/esm/utils/media.js +1 -1
- package/lib/esm/utils/renderStructuredContent.js +2 -3
- package/lib/esm/utils/scrollToAnchor.js +2 -3
- package/lib/esm/utils/ssr.js +2 -3
- package/lib/esm/utils/theming/get-theme-from-server.js +1 -1
- package/lib/esm/utils/theming/with-client-theme.js +2 -3
- package/lib/esm/utils/theming/with-server-theme.js +3 -4
- package/lib/esm/utils/transforms.js +1 -4
- package/lib/esm/utils/useOverlaidPosition.js +2 -3
- package/lib/esm/utils/useTypographyTheme.js +2 -3
- package/package.json +13 -22
- package/src/Badge/Badge.jsx +18 -20
- package/src/BlockQuote/BlockQuote.jsx +16 -18
- package/src/Breadcrumbs/{Item/Item.jsx → BreadcrumbItem.jsx} +20 -21
- package/src/Breadcrumbs/Breadcrumbs.jsx +6 -9
- package/src/Callout/Callout.jsx +16 -18
- package/src/Card/Card.jsx +59 -80
- package/src/Card/CardContent.jsx +52 -28
- package/src/Card/CardFooter.jsx +26 -12
- package/src/Countdown/Countdown.jsx +3 -5
- package/src/Countdown/Segment.jsx +6 -8
- package/src/Countdown/dictionary.js +1 -1
- package/src/Countdown/types.js +0 -2
- package/src/Countdown/useCountdown.js +1 -3
- package/src/DatePicker/CalendarContainer.jsx +65 -67
- package/src/DatePicker/DatePicker.jsx +17 -19
- package/src/DatePicker/dictionary.js +1 -3
- package/src/DatePicker/reactDatesCss.js +1 -3
- package/src/Disclaimer/Disclaimer.jsx +15 -8
- package/src/Footnote/Footnote.jsx +104 -93
- package/src/Footnote/FootnoteLink.jsx +16 -13
- package/src/Footnote/dictionary.js +1 -1
- package/src/IconButton/IconButton.jsx +1 -3
- package/src/Image/Image.jsx +9 -1
- package/src/Image/server.js +4 -4
- package/src/List/List.jsx +2 -2
- package/src/List/ListItem.jsx +1 -3
- package/src/NavigationBar/NavigationBar.jsx +4 -6
- package/src/NavigationBar/NavigationItem.jsx +6 -8
- package/src/NavigationBar/NavigationSubMenu.jsx +7 -8
- package/src/NavigationBar/collapseItems.js +1 -3
- package/src/NavigationBar/resolveItemSelection.js +1 -3
- package/src/OptimizeImage/OptimizeImage.jsx +3 -6
- package/src/OptimizeImage/utils/getFallbackUrl.js +2 -2
- package/src/OptimizeImage/utils/getImageUrls.js +3 -3
- package/src/OptimizeImage/utils/getOptimizedUrl.js +2 -9
- package/src/OptimizeImage/utils/hasWebpSupport.js +1 -1
- package/src/OptimizeImage/utils/index.js +4 -4
- package/src/OptimizeImage/utils/isSvgUrl.js +1 -1
- package/src/OrderedList/OrderedList.jsx +3 -8
- package/src/OrderedList/OrderedListBase.jsx +2 -7
- package/src/OrderedList/{Item.jsx → OrderedListItem.jsx} +44 -32
- package/src/OrderedList/{ItemBase.jsx → OrderedListItemBase.jsx} +4 -4
- package/src/OrderedList/constants.js +0 -1
- package/src/Paragraph/Paragraph.jsx +7 -9
- package/src/PreviewCard/PreviewCard.jsx +16 -32
- package/src/PreviewCard/{AuthorDate.jsx → PreviewCardAuthorDate.jsx} +3 -5
- package/src/PriceLockup/PriceLockup.jsx +33 -31
- package/src/PriceLockup/dictionary.js +1 -1
- package/src/PriceLockup/tokens.js +1 -1
- package/src/Progress/ProgressBar.jsx +33 -30
- package/src/QuantitySelector/QuantitySelector.jsx +5 -7
- package/src/QuantitySelector/{SideButton.jsx → QuantitySelectorSideButton.jsx} +3 -4
- package/src/QuantitySelector/dictionary.js +1 -1
- package/src/ResponsiveImage/ResponsiveImage.jsx +1 -3
- package/src/Ribbon/Ribbon.jsx +35 -44
- package/src/SkeletonProvider/SkeletonImage.jsx +1 -3
- package/src/SkeletonProvider/SkeletonProvider.jsx +5 -9
- package/src/SkeletonProvider/SkeletonTypography.jsx +1 -3
- package/src/Span/Span.jsx +11 -11
- package/src/Spinner/Spinner.jsx +17 -19
- package/src/Spinner/SpinnerContent.jsx +4 -6
- package/src/StoryCard/StoryCard.jsx +15 -16
- package/src/Table/Table.jsx +81 -75
- package/src/Table/{Body.jsx → TableBody.jsx} +3 -5
- package/src/Table/{Cell.jsx → TableCell.jsx} +69 -65
- package/src/Table/{Header.jsx → TableHeader.jsx} +6 -8
- package/src/Table/{Row.jsx → TableRow.jsx} +11 -12
- package/src/Table/{SubHeading.jsx → TableSubHeading.jsx} +6 -8
- package/src/TermsAndConditions/ExpandCollapse.jsx +18 -19
- package/src/TermsAndConditions/TermsAndConditions.jsx +37 -37
- package/src/TermsAndConditions/dictionary.js +1 -1
- package/src/Testimonial/Testimonial.jsx +20 -28
- package/src/Toast/Toast.jsx +36 -35
- package/src/Video/ControlBar/ControlBar.jsx +28 -25
- package/src/Video/ControlBar/Controls/VideoButton/VideoButton.jsx +4 -6
- package/src/Video/ControlBar/Controls/VideoMenu/VideoMenu.jsx +26 -30
- package/src/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.jsx +31 -33
- package/src/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.jsx +40 -40
- package/src/Video/MiddleControlButton/MiddleControlButton.jsx +10 -12
- package/src/Video/Video.jsx +697 -683
- package/src/Video/videoText.js +1 -3
- package/src/VideoPicker/VideoPicker.jsx +37 -25
- package/src/VideoPicker/VideoPickerPlayer.jsx +2 -4
- package/src/VideoPicker/VideoPickerThumbnail.jsx +26 -15
- package/src/VideoPicker/VideoSlider.jsx +1 -3
- package/src/WaffleGrid/WaffleGrid.jsx +31 -27
- package/src/WebVideo/WebVideo.jsx +4 -6
- package/src/baseExports.js +27 -13
- package/src/index.js +46 -37
- package/src/server.js +1 -2
- package/src/shared/ConditionalWrapper/ConditionalWrapper.jsx +1 -3
- package/src/shared/FullBleedContent/FullBleedContent.jsx +26 -19
- package/src/shared/FullBleedContent/getFullBleedBorderRadius.js +1 -3
- package/src/shared/FullBleedContent/index.js +3 -8
- package/src/shared/FullBleedContent/useFullBleedContentProps.js +2 -5
- package/src/shared/VideoSplash/SplashButton/SplashButton.jsx +5 -7
- package/src/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.jsx +25 -25
- package/src/shared/VideoSplash/VideoSplash.jsx +7 -9
- package/src/shared/VideoSplash/helpers.js +1 -1
- package/src/utils/index.js +7 -7
- package/src/utils/isElementFocusable.js +1 -3
- package/src/utils/logger.js +0 -5
- package/src/utils/media.js +1 -1
- package/src/utils/renderStructuredContent.jsx +1 -3
- package/src/utils/scrollToAnchor.js +1 -3
- package/src/utils/ssr.js +1 -3
- package/src/utils/theming/get-theme-from-server.js +1 -1
- package/src/utils/theming/with-client-theme.jsx +1 -3
- package/src/utils/theming/with-server-theme.jsx +2 -4
- package/src/utils/transforms.js +0 -2
- package/src/utils/useOverlaidPosition.js +1 -3
- package/src/utils/useTypographyTheme.js +1 -3
- package/types/Autocomplete.d.ts +1 -3
- package/types/Badge.d.ts +1 -3
- package/types/BaseProvider.d.ts +1 -3
- package/types/BlockQuote.d.ts +1 -3
- package/types/Box.d.ts +1 -3
- package/types/BreadcrumbItem.d.ts +1 -3
- package/types/Breadcrumbs.d.ts +2 -4
- package/types/Callout.d.ts +1 -3
- package/types/Card.d.ts +1 -3
- package/types/Cell.d.ts +1 -3
- package/types/ControlBar.d.ts +1 -3
- package/types/Countdown.d.ts +1 -3
- package/types/DatePicker.d.ts +1 -3
- package/types/FileUpload.d.ts +1 -3
- package/types/Footnote.d.ts +1 -3
- package/types/FootnoteLink.d.ts +1 -3
- package/types/Listbox.d.ts +1 -3
- package/types/MiddleControlButton.d.ts +1 -3
- package/types/MultiSelectFilter.d.ts +1 -3
- package/types/PriceLockup.d.ts +1 -3
- package/types/QuantitySelector.d.ts +1 -3
- package/types/Ribbon.d.ts +1 -3
- package/types/Spinner.d.ts +1 -3
- package/types/Table.d.ts +1 -3
- package/types/Tooltip.d.ts +1 -3
- package/types/TooltipButton.d.ts +1 -3
- package/types/Typography.d.ts +1 -3
- package/types/Video.d.ts +1 -3
- package/types/VideoButton.d.ts +1 -3
- package/types/VideoMenu.d.ts +1 -3
- package/types/VideoProgressBar.d.ts +1 -3
- package/types/VolumeSlider.d.ts +1 -3
- package/types/WebVideo.d.ts +1 -3
- package/lib/cjs/Badge/index.js +0 -9
- package/lib/cjs/BlockQuote/index.js +0 -9
- package/lib/cjs/Breadcrumbs/index.js +0 -13
- package/lib/cjs/Callout/index.js +0 -9
- package/lib/cjs/Card/index.js +0 -9
- package/lib/cjs/Countdown/index.js +0 -9
- package/lib/cjs/DatePicker/index.js +0 -9
- package/lib/cjs/Disclaimer/index.js +0 -13
- package/lib/cjs/Footnote/index.js +0 -11
- package/lib/cjs/IconButton/index.js +0 -9
- package/lib/cjs/Image/index.js +0 -20
- package/lib/cjs/List/index.js +0 -17
- package/lib/cjs/NavigationBar/index.js +0 -11
- package/lib/cjs/OptimizeImage/index.js +0 -9
- package/lib/cjs/OrderedList/index.js +0 -17
- package/lib/cjs/Paragraph/index.js +0 -9
- package/lib/cjs/PreviewCard/index.js +0 -9
- package/lib/cjs/PriceLockup/index.js +0 -9
- package/lib/cjs/Progress/index.js +0 -11
- package/lib/cjs/QuantitySelector/index.js +0 -9
- package/lib/cjs/ResponsiveImage/index.js +0 -9
- package/lib/cjs/Ribbon/index.js +0 -9
- package/lib/cjs/SkeletonProvider/index.js +0 -9
- package/lib/cjs/Span/index.js +0 -9
- package/lib/cjs/Spinner/index.js +0 -9
- package/lib/cjs/StoryCard/index.js +0 -9
- package/lib/cjs/Table/index.js +0 -24
- package/lib/cjs/TermsAndConditions/index.js +0 -13
- package/lib/cjs/Testimonial/index.js +0 -9
- package/lib/cjs/Toast/index.js +0 -9
- package/lib/cjs/Video/index.js +0 -9
- package/lib/cjs/VideoPicker/index.js +0 -9
- package/lib/cjs/WaffleGrid/index.js +0 -9
- package/lib/cjs/WebVideo/index.js +0 -9
- package/lib/cjs/shared/ConditionalWrapper/index.js +0 -9
- package/lib/esm/Badge/index.js +0 -2
- package/lib/esm/BlockQuote/index.js +0 -2
- package/lib/esm/Breadcrumbs/index.js +0 -1
- package/lib/esm/Callout/index.js +0 -2
- package/lib/esm/Card/index.js +0 -2
- package/lib/esm/Countdown/index.js +0 -2
- package/lib/esm/DatePicker/index.js +0 -2
- package/lib/esm/Disclaimer/index.js +0 -1
- package/lib/esm/Footnote/index.js +0 -4
- package/lib/esm/IconButton/index.js +0 -2
- package/lib/esm/Image/index.js +0 -9
- package/lib/esm/List/index.js +0 -5
- package/lib/esm/NavigationBar/index.js +0 -4
- package/lib/esm/OptimizeImage/index.js +0 -2
- package/lib/esm/OrderedList/index.js +0 -5
- package/lib/esm/Paragraph/index.js +0 -2
- package/lib/esm/PreviewCard/index.js +0 -2
- package/lib/esm/PriceLockup/index.js +0 -2
- package/lib/esm/Progress/index.js +0 -4
- package/lib/esm/QuantitySelector/index.js +0 -2
- package/lib/esm/ResponsiveImage/index.js +0 -2
- package/lib/esm/Ribbon/index.js +0 -2
- package/lib/esm/SkeletonProvider/index.js +0 -2
- package/lib/esm/Span/index.js +0 -2
- package/lib/esm/Spinner/index.js +0 -2
- package/lib/esm/StoryCard/index.js +0 -2
- package/lib/esm/Table/index.js +0 -17
- package/lib/esm/TermsAndConditions/index.js +0 -1
- package/lib/esm/Testimonial/index.js +0 -2
- package/lib/esm/Toast/index.js +0 -2
- package/lib/esm/Video/index.js +0 -2
- package/lib/esm/VideoPicker/index.js +0 -2
- package/lib/esm/WaffleGrid/index.js +0 -2
- package/lib/esm/WebVideo/index.js +0 -2
- package/lib/esm/shared/ConditionalWrapper/index.js +0 -2
- package/src/Badge/index.js +0 -3
- package/src/BlockQuote/index.js +0 -3
- package/src/Breadcrumbs/index.js +0 -1
- package/src/Callout/index.js +0 -3
- package/src/Card/index.js +0 -3
- package/src/Countdown/index.js +0 -3
- package/src/DatePicker/index.js +0 -3
- package/src/Disclaimer/index.js +0 -1
- package/src/Footnote/index.js +0 -6
- package/src/IconButton/index.js +0 -3
- package/src/Image/index.js +0 -10
- package/src/List/index.js +0 -8
- package/src/NavigationBar/index.js +0 -6
- package/src/OptimizeImage/index.js +0 -3
- package/src/OrderedList/index.js +0 -8
- package/src/Paragraph/index.js +0 -3
- package/src/PreviewCard/index.js +0 -3
- package/src/PriceLockup/index.js +0 -3
- package/src/Progress/index.js +0 -6
- package/src/QuantitySelector/index.js +0 -3
- package/src/ResponsiveImage/index.js +0 -3
- package/src/Ribbon/index.js +0 -3
- package/src/SkeletonProvider/index.js +0 -3
- package/src/Span/index.js +0 -3
- package/src/Spinner/index.js +0 -3
- package/src/StoryCard/index.js +0 -3
- package/src/Table/index.js +0 -20
- package/src/TermsAndConditions/index.js +0 -1
- package/src/Testimonial/index.js +0 -3
- package/src/Toast/index.js +0 -3
- package/src/Video/index.js +0 -3
- package/src/VideoPicker/index.js +0 -3
- package/src/WaffleGrid/index.js +0 -3
- package/src/WebVideo/index.js +0 -3
- package/src/shared/ConditionalWrapper/index.js +0 -3
|
@@ -2,9 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Icon, Portal, selectSystemProps, Typography, useCopy, useTheme, useResponsiveProp, useThemeTokens, useViewport, getTokensPropType } from '@telus-uds/components-base';
|
|
4
4
|
import styled, { createGlobalStyle } from 'styled-components';
|
|
5
|
-
import OrderedListBase from '../OrderedList/OrderedListBase';
|
|
5
|
+
import { OrderedListBase } from '../OrderedList/OrderedListBase';
|
|
6
|
+
import { OrderedListItemBase } from '../OrderedList/OrderedListItemBase';
|
|
6
7
|
import { htmlAttrs, media, renderStructuredContent, isElementFocusable } from '../utils';
|
|
7
|
-
import defaultDictionary from './dictionary';
|
|
8
|
+
import { dictionary as defaultDictionary } from './dictionary';
|
|
8
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
10
|
const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
|
|
10
11
|
const viewportBreakpoint = 1440;
|
|
@@ -18,20 +19,20 @@ const StyledFootnote = /*#__PURE__*/styled.div.withConfig({
|
|
|
18
19
|
componentId: "components-web__sc-1563bo5-0"
|
|
19
20
|
})(_ref => {
|
|
20
21
|
let {
|
|
21
|
-
footnoteBackground,
|
|
22
|
-
isVisible,
|
|
23
|
-
footnoteBorderTop,
|
|
24
|
-
isScrollable,
|
|
25
|
-
isMobileFullScreen
|
|
22
|
+
$footnoteBackground,
|
|
23
|
+
$isVisible,
|
|
24
|
+
$footnoteBorderTop,
|
|
25
|
+
$isScrollable,
|
|
26
|
+
$isMobileFullScreen
|
|
26
27
|
} = _ref;
|
|
27
28
|
return {
|
|
28
29
|
position: 'fixed',
|
|
29
|
-
overflowY: isVisible && isScrollable ? 'scroll' : 'hidden',
|
|
30
|
+
overflowY: $isVisible && $isScrollable ? 'scroll' : 'hidden',
|
|
30
31
|
top: 0,
|
|
31
32
|
left: window.innerWidth >= viewportBreakpoint ? '50%' : 0,
|
|
32
33
|
height: '100vh',
|
|
33
34
|
width: '100vw',
|
|
34
|
-
backgroundColor: footnoteBackground,
|
|
35
|
+
backgroundColor: $footnoteBackground,
|
|
35
36
|
display: 'block',
|
|
36
37
|
transform: 'translateY(100%)',
|
|
37
38
|
translate: window.innerWidth >= viewportBreakpoint ? '-50%' : '',
|
|
@@ -40,20 +41,20 @@ const StyledFootnote = /*#__PURE__*/styled.div.withConfig({
|
|
|
40
41
|
transition: 'none'
|
|
41
42
|
},
|
|
42
43
|
zIndex: 99999,
|
|
43
|
-
visibility: isVisible ? 'visible' : 'hidden',
|
|
44
|
-
...media().from(isMobileFullScreen ? 'md' : 'xs').css({
|
|
44
|
+
visibility: $isVisible ? 'visible' : 'hidden',
|
|
45
|
+
...media().from($isMobileFullScreen ? 'md' : 'xs').css({
|
|
45
46
|
top: 'auto',
|
|
46
47
|
bottom: 0,
|
|
47
48
|
height: 'auto',
|
|
48
49
|
maxHeight: '50vh',
|
|
49
|
-
borderTop: footnoteBorderTop
|
|
50
|
+
borderTop: $footnoteBorderTop
|
|
50
51
|
})
|
|
51
52
|
};
|
|
52
53
|
}, _ref2 => {
|
|
53
54
|
let {
|
|
54
|
-
isOpen
|
|
55
|
+
$isOpen
|
|
55
56
|
} = _ref2;
|
|
56
|
-
if (isOpen) {
|
|
57
|
+
if ($isOpen) {
|
|
57
58
|
return {
|
|
58
59
|
transform: 'translateY(0)'
|
|
59
60
|
};
|
|
@@ -72,20 +73,20 @@ const StyledHeader = /*#__PURE__*/styled.div.withConfig({
|
|
|
72
73
|
componentId: "components-web__sc-1563bo5-2"
|
|
73
74
|
})(_ref3 => {
|
|
74
75
|
let {
|
|
75
|
-
footnoteHeaderPaddingLeft,
|
|
76
|
-
footnoteHeaderPaddingRight,
|
|
77
|
-
footnoteHeaderPaddingTop,
|
|
78
|
-
footnoteHeaderPaddingBottom
|
|
76
|
+
$footnoteHeaderPaddingLeft,
|
|
77
|
+
$footnoteHeaderPaddingRight,
|
|
78
|
+
$footnoteHeaderPaddingTop,
|
|
79
|
+
$footnoteHeaderPaddingBottom
|
|
79
80
|
} = _ref3;
|
|
80
81
|
return {
|
|
81
82
|
alignItems: 'center',
|
|
82
83
|
display: 'flex',
|
|
83
84
|
flexDirection: 'row',
|
|
84
85
|
justifyContent: 'space-between',
|
|
85
|
-
paddingTop: footnoteHeaderPaddingTop,
|
|
86
|
-
paddingBottom: footnoteHeaderPaddingBottom,
|
|
87
|
-
paddingRight: footnoteHeaderPaddingRight,
|
|
88
|
-
paddingLeft: footnoteHeaderPaddingLeft
|
|
86
|
+
paddingTop: $footnoteHeaderPaddingTop,
|
|
87
|
+
paddingBottom: $footnoteHeaderPaddingBottom,
|
|
88
|
+
paddingRight: $footnoteHeaderPaddingRight,
|
|
89
|
+
paddingLeft: $footnoteHeaderPaddingLeft
|
|
89
90
|
};
|
|
90
91
|
});
|
|
91
92
|
const StyledFootnoteBody = /*#__PURE__*/styled.div.withConfig({
|
|
@@ -93,11 +94,11 @@ const StyledFootnoteBody = /*#__PURE__*/styled.div.withConfig({
|
|
|
93
94
|
componentId: "components-web__sc-1563bo5-3"
|
|
94
95
|
})(_ref4 => {
|
|
95
96
|
let {
|
|
96
|
-
footnoteBodyBackground,
|
|
97
|
-
footnoteBodyPadding,
|
|
98
|
-
headerHeight,
|
|
99
|
-
bodyHeight,
|
|
100
|
-
isTextVisible
|
|
97
|
+
$footnoteBodyBackground,
|
|
98
|
+
$footnoteBodyPadding,
|
|
99
|
+
$headerHeight,
|
|
100
|
+
$bodyHeight,
|
|
101
|
+
$isTextVisible
|
|
101
102
|
} = _ref4;
|
|
102
103
|
return {
|
|
103
104
|
overflow: 'auto',
|
|
@@ -106,14 +107,14 @@ const StyledFootnoteBody = /*#__PURE__*/styled.div.withConfig({
|
|
|
106
107
|
'@media() (prefers-reduced-motion: reduce)': {
|
|
107
108
|
transition: 'height 1ms ease-out, opacity 1ms ease-out'
|
|
108
109
|
},
|
|
109
|
-
backgroundColor: footnoteBodyBackground,
|
|
110
|
-
padding: footnoteBodyPadding,
|
|
111
|
-
maxHeight: `calc(100vh - ${headerHeight}px)`,
|
|
110
|
+
backgroundColor: $footnoteBodyBackground,
|
|
111
|
+
padding: $footnoteBodyPadding,
|
|
112
|
+
maxHeight: `calc(100vh - ${$headerHeight}px)`,
|
|
112
113
|
...media().from('md').css({
|
|
113
|
-
maxHeight: `calc(50vh - ${headerHeight}px)`
|
|
114
|
+
maxHeight: `calc(50vh - ${$headerHeight}px)`
|
|
114
115
|
}),
|
|
115
|
-
height: bodyHeight,
|
|
116
|
-
opacity: isTextVisible ? 1 : 0
|
|
116
|
+
height: $bodyHeight,
|
|
117
|
+
opacity: $isTextVisible ? 1 : 0
|
|
117
118
|
};
|
|
118
119
|
});
|
|
119
120
|
const List = /*#__PURE__*/styled(OrderedListBase).withConfig({
|
|
@@ -121,38 +122,38 @@ const List = /*#__PURE__*/styled(OrderedListBase).withConfig({
|
|
|
121
122
|
componentId: "components-web__sc-1563bo5-4"
|
|
122
123
|
})(_ref5 => {
|
|
123
124
|
let {
|
|
124
|
-
listPaddingLeft
|
|
125
|
+
$listPaddingLeft
|
|
125
126
|
} = _ref5;
|
|
126
127
|
return {
|
|
127
128
|
listStylePosition: 'outside',
|
|
128
|
-
paddingLeft: listPaddingLeft
|
|
129
|
+
paddingLeft: $listPaddingLeft
|
|
129
130
|
};
|
|
130
131
|
});
|
|
131
|
-
const ListItem = /*#__PURE__*/styled(
|
|
132
|
+
const ListItem = /*#__PURE__*/styled(OrderedListItemBase).withConfig({
|
|
132
133
|
displayName: "Footnote__ListItem",
|
|
133
134
|
componentId: "components-web__sc-1563bo5-5"
|
|
134
135
|
})(_ref6 => {
|
|
135
136
|
let {
|
|
136
|
-
listItemMarkerFontSize,
|
|
137
|
-
listItemMarkerLineHeight,
|
|
138
|
-
listItemColor,
|
|
139
|
-
listItemFontSize,
|
|
140
|
-
listItemLineHeight,
|
|
141
|
-
listItemPaddingLeft
|
|
137
|
+
$listItemMarkerFontSize,
|
|
138
|
+
$listItemMarkerLineHeight,
|
|
139
|
+
$listItemColor,
|
|
140
|
+
$listItemFontSize,
|
|
141
|
+
$listItemLineHeight,
|
|
142
|
+
$listItemPaddingLeft
|
|
142
143
|
} = _ref6;
|
|
143
144
|
return {
|
|
144
145
|
display: 'list-item',
|
|
145
146
|
'&::marker': {
|
|
146
147
|
fontFamily: 'HNforTELUSSA400normal',
|
|
147
|
-
fontSize: listItemMarkerFontSize,
|
|
148
|
-
lineHeight: listItemMarkerLineHeight,
|
|
148
|
+
fontSize: $listItemMarkerFontSize,
|
|
149
|
+
lineHeight: $listItemMarkerLineHeight,
|
|
149
150
|
textAlign: 'end !important'
|
|
150
151
|
},
|
|
151
|
-
color: listItemColor,
|
|
152
|
+
color: $listItemColor,
|
|
152
153
|
fontFamily: 'HNforTELUSSA400normal',
|
|
153
|
-
fontSize: listItemFontSize,
|
|
154
|
-
lineHeight: listItemLineHeight,
|
|
155
|
-
paddingLeft: listItemPaddingLeft
|
|
154
|
+
fontSize: $listItemFontSize,
|
|
155
|
+
lineHeight: $listItemLineHeight,
|
|
156
|
+
paddingLeft: $listItemPaddingLeft
|
|
156
157
|
};
|
|
157
158
|
});
|
|
158
159
|
const CloseButton = /*#__PURE__*/styled.button.withConfig({
|
|
@@ -160,11 +161,11 @@ const CloseButton = /*#__PURE__*/styled.button.withConfig({
|
|
|
160
161
|
componentId: "components-web__sc-1563bo5-6"
|
|
161
162
|
})(_ref7 => {
|
|
162
163
|
let {
|
|
163
|
-
closeButtonBorder,
|
|
164
|
-
closeButtonHeight,
|
|
165
|
-
closeButtonBackgroundColor,
|
|
166
|
-
closeButtonMargin,
|
|
167
|
-
closeButtonWidth
|
|
164
|
+
$closeButtonBorder,
|
|
165
|
+
$closeButtonHeight,
|
|
166
|
+
$closeButtonBackgroundColor,
|
|
167
|
+
$closeButtonMargin,
|
|
168
|
+
$closeButtonWidth
|
|
168
169
|
} = _ref7;
|
|
169
170
|
return {
|
|
170
171
|
alignItems: 'center',
|
|
@@ -172,11 +173,11 @@ const CloseButton = /*#__PURE__*/styled.button.withConfig({
|
|
|
172
173
|
cursor: 'pointer',
|
|
173
174
|
display: 'flex',
|
|
174
175
|
justifyContent: 'center',
|
|
175
|
-
backgroundColor: closeButtonBackgroundColor,
|
|
176
|
-
border: closeButtonBorder,
|
|
177
|
-
height: closeButtonHeight,
|
|
178
|
-
margin: closeButtonMargin,
|
|
179
|
-
width: closeButtonWidth
|
|
176
|
+
backgroundColor: $closeButtonBackgroundColor,
|
|
177
|
+
border: $closeButtonBorder,
|
|
178
|
+
height: $closeButtonHeight,
|
|
179
|
+
margin: $closeButtonMargin,
|
|
180
|
+
width: $closeButtonWidth
|
|
180
181
|
};
|
|
181
182
|
});
|
|
182
183
|
const ContentContainer = /*#__PURE__*/styled.div.withConfig({
|
|
@@ -190,10 +191,10 @@ const ContentContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
190
191
|
maxWidth: '1200px'
|
|
191
192
|
}, _ref8 => {
|
|
192
193
|
let {
|
|
193
|
-
maxWidth
|
|
194
|
+
$maxWidth
|
|
194
195
|
} = _ref8;
|
|
195
196
|
return {
|
|
196
|
-
width: maxWidth
|
|
197
|
+
width: $maxWidth
|
|
197
198
|
};
|
|
198
199
|
});
|
|
199
200
|
const StyledCustomContentContainer = /*#__PURE__*/styled.div.withConfig({
|
|
@@ -201,16 +202,16 @@ const StyledCustomContentContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
201
202
|
componentId: "components-web__sc-1563bo5-8"
|
|
202
203
|
})(_ref9 => {
|
|
203
204
|
let {
|
|
204
|
-
listItemColor,
|
|
205
|
-
listItemFontSize,
|
|
206
|
-
listItemLineHeight,
|
|
207
|
-
listItemPaddingLeft
|
|
205
|
+
$listItemColor,
|
|
206
|
+
$listItemFontSize,
|
|
207
|
+
$listItemLineHeight,
|
|
208
|
+
$listItemPaddingLeft
|
|
208
209
|
} = _ref9;
|
|
209
210
|
return {
|
|
210
|
-
fontSize: listItemFontSize,
|
|
211
|
-
lineHeight: listItemLineHeight,
|
|
212
|
-
paddingLeft: listItemPaddingLeft,
|
|
213
|
-
color: listItemColor,
|
|
211
|
+
fontSize: $listItemFontSize,
|
|
212
|
+
lineHeight: $listItemLineHeight,
|
|
213
|
+
paddingLeft: $listItemPaddingLeft,
|
|
214
|
+
color: $listItemColor,
|
|
214
215
|
fontFamily: 'HNforTELUSSA400normal'
|
|
215
216
|
};
|
|
216
217
|
});
|
|
@@ -243,7 +244,7 @@ const usePrevious = value => {
|
|
|
243
244
|
* - When `Footnote` is open, the inert prop must be set on all children of body excluding the Footnote
|
|
244
245
|
* - When `Footnote` is closed, focus must return to the initiating element
|
|
245
246
|
*/
|
|
246
|
-
const Footnote = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
247
|
+
export const Footnote = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
247
248
|
const {
|
|
248
249
|
copy = 'en',
|
|
249
250
|
number,
|
|
@@ -458,10 +459,10 @@ const Footnote = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
458
459
|
}
|
|
459
460
|
if (/*#__PURE__*/React.isValidElement(data.content)) {
|
|
460
461
|
return /*#__PURE__*/_jsx(StyledCustomContentContainer, {
|
|
461
|
-
listItemColor: listItemColor,
|
|
462
|
-
listItemFontSize: listItemFontSize,
|
|
463
|
-
listItemLineHeight: listItemLineHeight,
|
|
464
|
-
listItemPaddingLeft: listItemPaddingLeft,
|
|
462
|
+
$listItemColor: listItemColor,
|
|
463
|
+
$listItemFontSize: listItemFontSize,
|
|
464
|
+
$listItemLineHeight: listItemLineHeight,
|
|
465
|
+
$listItemPaddingLeft: listItemPaddingLeft,
|
|
465
466
|
ref: contentRef,
|
|
466
467
|
children: data.content
|
|
467
468
|
});
|
|
@@ -469,14 +470,14 @@ const Footnote = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
469
470
|
return /*#__PURE__*/_jsx(List, {
|
|
470
471
|
start: data.number,
|
|
471
472
|
ref: contentRef,
|
|
472
|
-
listPaddingLeft: listPaddingLeft,
|
|
473
|
+
$listPaddingLeft: listPaddingLeft,
|
|
473
474
|
children: /*#__PURE__*/_jsx(ListItem, {
|
|
474
|
-
listItemMarkerFontSize: listItemMarkerFontSize,
|
|
475
|
-
listItemMarkerLineHeight: listItemMarkerLineHeight,
|
|
476
|
-
listItemColor: listItemColor,
|
|
477
|
-
listItemFontSize: listItemFontSize,
|
|
478
|
-
listItemLineHeight: listItemLineHeight,
|
|
479
|
-
listItemPaddingLeft: listItemPaddingLeft,
|
|
475
|
+
$listItemMarkerFontSize: listItemMarkerFontSize,
|
|
476
|
+
$listItemMarkerLineHeight: listItemMarkerLineHeight,
|
|
477
|
+
$listItemColor: listItemColor,
|
|
478
|
+
$listItemFontSize: listItemFontSize,
|
|
479
|
+
$listItemLineHeight: listItemLineHeight,
|
|
480
|
+
$listItemPaddingLeft: listItemPaddingLeft,
|
|
480
481
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
481
482
|
tokens: {
|
|
482
483
|
fontSize: listItemFontSize,
|
|
@@ -508,25 +509,25 @@ const Footnote = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
508
509
|
ref: ref,
|
|
509
510
|
children: [isOpen && /*#__PURE__*/_jsx(GlobalBodyScrollLock, {}), /*#__PURE__*/_jsx(StyledFootnote, {
|
|
510
511
|
ref: footnoteRef,
|
|
511
|
-
isOpen: isOpen,
|
|
512
|
-
isVisible: isVisible,
|
|
512
|
+
$isOpen: isOpen,
|
|
513
|
+
$isVisible: isVisible,
|
|
513
514
|
onTransitionEnd: handleStyledFootnoteTransitionEnd,
|
|
514
515
|
tabIndex: 0,
|
|
515
|
-
footnoteBackground: footnoteBackground,
|
|
516
|
-
footnoteBorderTop: `${footnoteBorderTopSizeMd}px solid ${footnoteBorderColorMd}`,
|
|
517
|
-
isScrollable: isScrollable,
|
|
518
|
-
isMobileFullScreen: isMobileFullScreen,
|
|
516
|
+
$footnoteBackground: footnoteBackground,
|
|
517
|
+
$footnoteBorderTop: `${footnoteBorderTopSizeMd}px solid ${footnoteBorderColorMd}`,
|
|
518
|
+
$isScrollable: isScrollable,
|
|
519
|
+
$isMobileFullScreen: isMobileFullScreen,
|
|
519
520
|
children: /*#__PURE__*/_jsxs(ContentContainer, {
|
|
520
|
-
maxWidth: maxWidth,
|
|
521
|
+
$maxWidth: maxWidth,
|
|
521
522
|
children: [/*#__PURE__*/_jsx(StyledFootnoteHeader, {
|
|
522
523
|
ref: headerRef,
|
|
523
524
|
viewport: viewport,
|
|
524
525
|
children: /*#__PURE__*/_jsxs(StyledHeader, {
|
|
525
|
-
footnoteHeaderPaddingLeft: footnoteHeaderPaddingLeft,
|
|
526
|
-
footnoteHeaderPaddingRight: footnoteHeaderPaddingRight,
|
|
527
|
-
footnoteHeaderPaddingTop: footnoteHeaderPaddingTop,
|
|
528
|
-
footnoteHeaderPaddingBottom: footnoteHeaderPaddingBottom,
|
|
529
|
-
headerMargin: headerMargin,
|
|
526
|
+
$footnoteHeaderPaddingLeft: footnoteHeaderPaddingLeft,
|
|
527
|
+
$footnoteHeaderPaddingRight: footnoteHeaderPaddingRight,
|
|
528
|
+
$footnoteHeaderPaddingTop: footnoteHeaderPaddingTop,
|
|
529
|
+
$footnoteHeaderPaddingBottom: footnoteHeaderPaddingBottom,
|
|
530
|
+
$headerMargin: headerMargin,
|
|
530
531
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
531
532
|
tokens: {
|
|
532
533
|
fontSize: headerFontSize,
|
|
@@ -538,11 +539,11 @@ const Footnote = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
538
539
|
children: getCopy('heading')
|
|
539
540
|
}), /*#__PURE__*/_jsx(CloseButton, {
|
|
540
541
|
ref: closeButtonRef,
|
|
541
|
-
closeButtonBorder: `${closeButtonBorderSize} solid ${closeButtonBorderColor}`,
|
|
542
|
-
closeButtonWidth: `${closeButtonWidth}px`,
|
|
543
|
-
closeButtonHeight: `${closeButtonHeight}px`,
|
|
544
|
-
closeButtonBackgroundColor: closeButtonBackgroundColor,
|
|
545
|
-
closeButtonMargin: `${closeButtonMarginTop}px ${closeButtonMarginRight}px ${closeButtonMarginBottom}px ${closeButtonMarginLeft}px`,
|
|
542
|
+
$closeButtonBorder: `${closeButtonBorderSize} solid ${closeButtonBorderColor}`,
|
|
543
|
+
$closeButtonWidth: `${closeButtonWidth}px`,
|
|
544
|
+
$closeButtonHeight: `${closeButtonHeight}px`,
|
|
545
|
+
$closeButtonBackgroundColor: closeButtonBackgroundColor,
|
|
546
|
+
$closeButtonMargin: `${closeButtonMarginTop}px ${closeButtonMarginRight}px ${closeButtonMarginBottom}px ${closeButtonMarginLeft}px`,
|
|
546
547
|
onClick: event => {
|
|
547
548
|
closeFootnote(event, {
|
|
548
549
|
returnFocus: true
|
|
@@ -559,13 +560,13 @@ const Footnote = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
559
560
|
})
|
|
560
561
|
}), /*#__PURE__*/_jsx(StyledFootnoteBody, {
|
|
561
562
|
ref: bodyRef,
|
|
562
|
-
bodyHeight: bodyHeight,
|
|
563
|
-
headerHeight: headerHeight,
|
|
564
|
-
isTextVisible: isTextVisible,
|
|
563
|
+
$bodyHeight: bodyHeight,
|
|
564
|
+
$headerHeight: headerHeight,
|
|
565
|
+
$isTextVisible: isTextVisible,
|
|
565
566
|
onTransitionEnd: handleTransitionEnd,
|
|
566
567
|
maxWidth: theme.contentMaxWidth,
|
|
567
|
-
footnoteBodyBackground: footnoteBodyBackground,
|
|
568
|
-
footnoteBodyPadding: `${footnoteBodyPaddingTop}px ${footnoteBodyPaddingRight}px ${footnoteBodyPaddingBottom}px ${footnoteBodyPaddingLeft}px`,
|
|
568
|
+
$footnoteBodyBackground: footnoteBodyBackground,
|
|
569
|
+
$footnoteBodyPadding: `${footnoteBodyPaddingTop}px ${footnoteBodyPaddingRight}px ${footnoteBodyPaddingBottom}px ${footnoteBodyPaddingLeft}px`,
|
|
569
570
|
children: getFootnoteBodyContent()
|
|
570
571
|
})]
|
|
571
572
|
})
|
|
@@ -624,5 +625,4 @@ Footnote.propTypes = {
|
|
|
624
625
|
* A boolean flag used to disable isMobileFullScreen of Footnote for mobile view
|
|
625
626
|
*/
|
|
626
627
|
isMobileFullScreen: PropTypes.bool
|
|
627
|
-
};
|
|
628
|
-
export default Footnote;
|
|
628
|
+
};
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { applyTextStyles, selectSystemProps, useCopy, useThemeTokens, variantProp } from '@telus-uds/components-base';
|
|
4
4
|
import styled from 'styled-components';
|
|
5
|
-
import dictionary from './dictionary';
|
|
5
|
+
import { dictionary } from './dictionary';
|
|
6
6
|
import { htmlAttrs } from '../utils';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
|
|
@@ -11,26 +11,31 @@ const StyledSup = /*#__PURE__*/styled.sup.withConfig({
|
|
|
11
11
|
componentId: "components-web__sc-17nd7xo-0"
|
|
12
12
|
})(_ref => {
|
|
13
13
|
let {
|
|
14
|
-
fontSize,
|
|
15
|
-
lineHeight,
|
|
16
|
-
paddingLeft,
|
|
17
|
-
paddingRight,
|
|
18
|
-
|
|
14
|
+
$fontSize,
|
|
15
|
+
$lineHeight,
|
|
16
|
+
$paddingLeft,
|
|
17
|
+
$paddingRight,
|
|
18
|
+
$fontName,
|
|
19
|
+
$fontWeight,
|
|
20
|
+
$color
|
|
19
21
|
} = _ref;
|
|
20
22
|
return {
|
|
21
23
|
border: 0,
|
|
22
|
-
color: 'inherit',
|
|
24
|
+
color: $color ?? 'inherit',
|
|
23
25
|
cursor: 'pointer',
|
|
24
26
|
// we want to fallback on 'smaller' but have a valid size when a custom font size is provided.
|
|
25
|
-
fontSize: fontSize ? `${fontSize}px` : 'smaller',
|
|
26
|
-
lineHeight: lineHeight ?? `${fontSize * 2}px`,
|
|
27
|
+
fontSize: $fontSize ? `${$fontSize}px` : 'smaller',
|
|
28
|
+
lineHeight: $lineHeight ?? `${$fontSize * 2}px`,
|
|
27
29
|
margin: 0,
|
|
28
30
|
paddingVertical: 0,
|
|
29
|
-
paddingLeft,
|
|
30
|
-
paddingRight,
|
|
31
|
+
paddingLeft: $paddingLeft,
|
|
32
|
+
paddingRight: $paddingRight,
|
|
31
33
|
textDecoration: 'underline',
|
|
32
34
|
// apply font family
|
|
33
|
-
...applyTextStyles(
|
|
35
|
+
...applyTextStyles({
|
|
36
|
+
fontName: $fontName,
|
|
37
|
+
fontWeight: $fontWeight
|
|
38
|
+
})
|
|
34
39
|
};
|
|
35
40
|
});
|
|
36
41
|
|
|
@@ -43,7 +48,7 @@ const StyledSup = /*#__PURE__*/styled.sup.withConfig({
|
|
|
43
48
|
* - Avoid using FootnoteLink if there is only one annotation on a page. Consider including
|
|
44
49
|
* the annotation as part of the content whenever possible.
|
|
45
50
|
*/
|
|
46
|
-
const FootnoteLink = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
51
|
+
export const FootnoteLink = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
47
52
|
let {
|
|
48
53
|
copy = 'en',
|
|
49
54
|
number = [],
|
|
@@ -83,8 +88,13 @@ const FootnoteLink = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
|
83
88
|
onClick: event => handleOnClick(event, index),
|
|
84
89
|
tabIndex: 0,
|
|
85
90
|
...selectProps(rest),
|
|
86
|
-
|
|
87
|
-
|
|
91
|
+
$fontSize: fontSize ?? themeTokens.fontSize,
|
|
92
|
+
$lineHeight: themeTokens.lineHeight,
|
|
93
|
+
$paddingLeft: themeTokens.paddingLeft,
|
|
94
|
+
$paddingRight: themeTokens.paddingRight,
|
|
95
|
+
$fontName: themeTokens.fontName,
|
|
96
|
+
$fontWeight: themeTokens.fontWeight,
|
|
97
|
+
$color: themeTokens.color,
|
|
88
98
|
children: `${num}${index !== numbers.length - 1 ? ',' : ''}`
|
|
89
99
|
}, num))
|
|
90
100
|
});
|
|
@@ -114,5 +124,4 @@ FootnoteLink.propTypes = {
|
|
|
114
124
|
* Override default `fontSize` to set specific font size value
|
|
115
125
|
*/
|
|
116
126
|
fontSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
117
|
-
};
|
|
118
|
-
export default FootnoteLink;
|
|
127
|
+
};
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { IconButton as IconButtonBase, useThemeTokens, getTokensPropType } from '@telus-uds/components-base';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
const IconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
5
|
+
export const IconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
6
6
|
let {
|
|
7
7
|
icon = null,
|
|
8
8
|
action,
|
|
@@ -51,5 +51,4 @@ IconButton.propTypes = {
|
|
|
51
51
|
* To set a custom icon
|
|
52
52
|
*/
|
|
53
53
|
icon: PropTypes.func
|
|
54
|
-
};
|
|
55
|
-
export default IconButton;
|
|
54
|
+
};
|
package/lib/esm/Image/Image.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import PropTypes from 'prop-types';
|
|
3
5
|
import { htmlAttrs, selectSystemProps, getTokensPropType } from '@telus-uds/components-base/server';
|
|
4
6
|
import { warn } from '../utils/logger';
|
|
7
|
+
import { withClientTheme } from '../utils/theming/with-client-theme';
|
|
5
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
9
|
const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
|
|
7
10
|
const Image = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -80,4 +83,10 @@ Image.propTypes = {
|
|
|
80
83
|
tokens: getTokensPropType('Image')
|
|
81
84
|
};
|
|
82
85
|
Image.displayName = 'Image';
|
|
83
|
-
|
|
86
|
+
|
|
87
|
+
// Export unwrapped component for react-docgen to extract info for docsite
|
|
88
|
+
export { Image as DefaultImage };
|
|
89
|
+
|
|
90
|
+
// Export wrapped component as main Image export
|
|
91
|
+
const ClientThemedImage = withClientTheme(Image);
|
|
92
|
+
export { ClientThemedImage as Image };
|
package/lib/esm/Image/server.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import withServerTheme from '../utils/theming/with-server-theme';
|
|
2
|
-
import
|
|
3
|
-
const ServerThemedImage = withServerTheme(
|
|
4
|
-
export
|
|
1
|
+
import { withServerTheme } from '../utils/theming/with-server-theme';
|
|
2
|
+
import { DefaultImage } from './Image';
|
|
3
|
+
const ServerThemedImage = withServerTheme(DefaultImage, 'Image');
|
|
4
|
+
export { ServerThemedImage };
|
package/lib/esm/List/List.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { List } from '@telus-uds/components-base';
|
|
2
|
+
export { List };
|
package/lib/esm/List/ListItem.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { ListItem as ListItemBase, Typography } from '@telus-uds/components-base';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
const ListItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
5
|
+
export const ListItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
6
6
|
let {
|
|
7
7
|
children,
|
|
8
8
|
title,
|
|
@@ -23,5 +23,4 @@ ListItem.displayName = 'ListItem';
|
|
|
23
23
|
ListItem.propTypes = {
|
|
24
24
|
children: PropTypes.node.isRequired,
|
|
25
25
|
title: PropTypes.string
|
|
26
|
-
};
|
|
27
|
-
export default ListItem;
|
|
26
|
+
};
|
|
@@ -3,9 +3,9 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import { selectSystemProps, StackView, Typography, useHash, useInputValue, useResponsiveProp, withLinkRouter, variantProp, resolveContentMaxWidth, useTheme } from '@telus-uds/components-base';
|
|
4
4
|
import styled from 'styled-components';
|
|
5
5
|
import { htmlAttrs, scrollToAnchor } from '../utils';
|
|
6
|
-
import NavigationItem from './NavigationItem';
|
|
7
|
-
import NavigationSubMenu from './NavigationSubMenu';
|
|
8
|
-
import collapseItems from './collapseItems';
|
|
6
|
+
import { NavigationItem } from './NavigationItem';
|
|
7
|
+
import { NavigationSubMenu } from './NavigationSubMenu';
|
|
8
|
+
import { collapseItems } from './collapseItems';
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
|
|
11
11
|
const Heading = /*#__PURE__*/styled.div.withConfig({
|
|
@@ -42,7 +42,7 @@ const ContentWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
|
42
42
|
* NavigationBar can be used to allow customers to consistently navigate across
|
|
43
43
|
* key pages within a specific product line
|
|
44
44
|
*/
|
|
45
|
-
const NavigationBar = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
45
|
+
export const NavigationBar = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
46
46
|
let {
|
|
47
47
|
accessibilityRole = 'navigation',
|
|
48
48
|
heading,
|
|
@@ -321,5 +321,4 @@ NavigationBar.propTypes = {
|
|
|
321
321
|
sm: PropTypes.oneOfType([PropTypes.oneOf(['max', 'full']), PropTypes.number]),
|
|
322
322
|
xs: PropTypes.oneOfType([PropTypes.oneOf(['max', 'full']), PropTypes.number])
|
|
323
323
|
})
|
|
324
|
-
};
|
|
325
|
-
export default NavigationBar;
|
|
324
|
+
};
|
|
@@ -11,17 +11,17 @@ const ItemContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
11
11
|
componentId: "components-web__sc-ql9x7c-0"
|
|
12
12
|
})(_ref => {
|
|
13
13
|
let {
|
|
14
|
-
targetWidth,
|
|
15
|
-
viewport
|
|
14
|
+
$targetWidth,
|
|
15
|
+
$viewport
|
|
16
16
|
} = _ref;
|
|
17
17
|
return {
|
|
18
18
|
display: 'flex',
|
|
19
19
|
flexDirection: 'column',
|
|
20
20
|
justifyContent: 'center',
|
|
21
|
-
maxWidth: viewport !== 'xs' ? `${Math.max(defaultMaxWidth, targetWidth ?? 0)}px` : '100%',
|
|
22
|
-
flexGrow: targetWidth ? 1 : 0,
|
|
21
|
+
maxWidth: $viewport !== 'xs' ? `${Math.max(defaultMaxWidth, $targetWidth ?? 0)}px` : '100%',
|
|
22
|
+
flexGrow: $targetWidth ? 1 : 0,
|
|
23
23
|
flexShrink: 1,
|
|
24
|
-
...(viewport === 'xs' && {
|
|
24
|
+
...($viewport === 'xs' && {
|
|
25
25
|
width: '100%',
|
|
26
26
|
flex: 1
|
|
27
27
|
})
|
|
@@ -33,7 +33,7 @@ const ItemContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
33
33
|
*
|
|
34
34
|
* This is rendered automatically by `NavigationBar` and isn't intended be used directly.
|
|
35
35
|
*/
|
|
36
|
-
const NavigationItem = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
36
|
+
export const NavigationItem = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
37
37
|
let {
|
|
38
38
|
accessibilityRole = 'link',
|
|
39
39
|
// @todo switch to 'button' for dropdowns
|
|
@@ -75,8 +75,8 @@ const NavigationItem = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
|
75
75
|
return tokensWithoutWidth;
|
|
76
76
|
};
|
|
77
77
|
return /*#__PURE__*/_jsx(ItemContainer, {
|
|
78
|
-
targetWidth: targetWidth,
|
|
79
|
-
viewport: viewport,
|
|
78
|
+
$targetWidth: targetWidth,
|
|
79
|
+
$viewport: viewport,
|
|
80
80
|
children: /*#__PURE__*/_jsx(Button, {
|
|
81
81
|
accessibilityRole: accessibilityRole,
|
|
82
82
|
accessibilityState: accessibilityState,
|
|
@@ -104,5 +104,4 @@ NavigationItem.propTypes = {
|
|
|
104
104
|
onClick: PropTypes.func,
|
|
105
105
|
selected: PropTypes.bool,
|
|
106
106
|
children: PropTypes.oneOfType([PropTypes.string, PropTypes.func]).isRequired
|
|
107
|
-
};
|
|
108
|
-
export default NavigationItem;
|
|
107
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { Icon, useResponsiveProp, useThemeTokens, Listbox, getTokensPropType } from '@telus-uds/components-base';
|
|
4
|
-
import NavigationItem from './NavigationItem';
|
|
5
|
-
import useOverlaidPosition from '../utils/useOverlaidPosition';
|
|
6
|
-
import resolveItemSelection from './resolveItemSelection';
|
|
3
|
+
import { Icon, useResponsiveProp, useThemeTokens, Listbox, ListboxOverlay, getTokensPropType } from '@telus-uds/components-base';
|
|
4
|
+
import { NavigationItem } from './NavigationItem';
|
|
5
|
+
import { useOverlaidPosition } from '../utils/useOverlaidPosition';
|
|
6
|
+
import { resolveItemSelection } from './resolveItemSelection';
|
|
7
7
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
const MIN_WIDTH = 192;
|
|
9
9
|
const MAX_WIDTH = 289;
|
|
@@ -50,7 +50,7 @@ const getResponsiveBreakpoints = sourceWidth => ({
|
|
|
50
50
|
*
|
|
51
51
|
* This is rendered automatically by `NavigationBar` and isn't intended be used directly.
|
|
52
52
|
*/
|
|
53
|
-
const NavigationSubMenu = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
53
|
+
export const NavigationSubMenu = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
54
54
|
let {
|
|
55
55
|
children,
|
|
56
56
|
id,
|
|
@@ -129,7 +129,7 @@ const NavigationSubMenu = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
129
129
|
}, `${id}_icon`)];
|
|
130
130
|
}
|
|
131
131
|
}), isOpen && /*#__PURE__*/_jsxs(_Fragment, {
|
|
132
|
-
children: [/*#__PURE__*/_jsx(
|
|
132
|
+
children: [/*#__PURE__*/_jsx(ListboxOverlay, {
|
|
133
133
|
overlaidPosition: overlaidPosition,
|
|
134
134
|
maxWidth: maxWidth,
|
|
135
135
|
minWidth: minWidth,
|
|
@@ -174,5 +174,4 @@ NavigationSubMenu.propTypes = {
|
|
|
174
174
|
linkRouterProps: PropTypes.object,
|
|
175
175
|
itemsContainerRef: PropTypes.object,
|
|
176
176
|
variant: PropTypes.object
|
|
177
|
-
};
|
|
178
|
-
export default NavigationSubMenu;
|
|
177
|
+
};
|