@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.SpinnerContent = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _componentsBase = require("@telus-uds/components-base");
|
|
@@ -18,13 +18,13 @@ const Container = /*#__PURE__*/_styledComponents.default.div.withConfig({
|
|
|
18
18
|
componentId: "components-web__sc-1c8bd8e-0"
|
|
19
19
|
})(_ref => {
|
|
20
20
|
let {
|
|
21
|
-
overlay
|
|
21
|
+
$overlay
|
|
22
22
|
} = _ref;
|
|
23
23
|
return {
|
|
24
24
|
display: 'inline-flex',
|
|
25
25
|
flexDirection: 'column',
|
|
26
26
|
alignItems: 'center',
|
|
27
|
-
...(overlay && {
|
|
27
|
+
...($overlay && {
|
|
28
28
|
position: 'absolute',
|
|
29
29
|
top: '50%',
|
|
30
30
|
left: '50%',
|
|
@@ -33,7 +33,7 @@ const Container = /*#__PURE__*/_styledComponents.default.div.withConfig({
|
|
|
33
33
|
})
|
|
34
34
|
};
|
|
35
35
|
});
|
|
36
|
-
const SpinnerContent = /*#__PURE__*/_react.default.forwardRef((_ref2, ref) => {
|
|
36
|
+
const SpinnerContent = exports.SpinnerContent = /*#__PURE__*/_react.default.forwardRef((_ref2, ref) => {
|
|
37
37
|
let {
|
|
38
38
|
label,
|
|
39
39
|
labelPosition,
|
|
@@ -46,7 +46,7 @@ const SpinnerContent = /*#__PURE__*/_react.default.forwardRef((_ref2, ref) => {
|
|
|
46
46
|
...rest
|
|
47
47
|
} = _ref2;
|
|
48
48
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Container, {
|
|
49
|
-
overlay: overlay,
|
|
49
|
+
$overlay: overlay,
|
|
50
50
|
ref: ref,
|
|
51
51
|
"aria-label": label,
|
|
52
52
|
role: "status",
|
|
@@ -89,5 +89,4 @@ SpinnerContent.propTypes = {
|
|
|
89
89
|
* If true, it should render a static spinner
|
|
90
90
|
*/
|
|
91
91
|
isStatic: _propTypes.default.bool
|
|
92
|
-
};
|
|
93
|
-
var _default = exports.default = SpinnerContent;
|
|
92
|
+
};
|
|
@@ -3,15 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.StoryCardBase = exports.StoryCard = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _componentsBase = require("@telus-uds/components-base");
|
|
10
10
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
11
|
-
var _FullBleedContent =
|
|
11
|
+
var _FullBleedContent = require("../shared/FullBleedContent");
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
14
|
// Passes React Native-oriented system props through UDS PressableCardBase
|
|
17
15
|
const [selectProps, selectedSystemPropTypes] = (0, _componentsBase.selectSystemProps)([_componentsBase.a11yProps, _componentsBase.focusHandlerProps, _componentsBase.viewProps]);
|
|
@@ -23,11 +21,11 @@ const FullBleedOffsetOuter = /*#__PURE__*/_styledComponents.default.div.withConf
|
|
|
23
21
|
componentId: "components-web__sc-yhvivu-0"
|
|
24
22
|
})(_ref => {
|
|
25
23
|
let {
|
|
26
|
-
borderOffset
|
|
24
|
+
$borderOffset
|
|
27
25
|
} = _ref;
|
|
28
26
|
return {
|
|
29
27
|
overflow: 'hidden',
|
|
30
|
-
marginTop: borderOffset * 2
|
|
28
|
+
marginTop: $borderOffset * 2
|
|
31
29
|
};
|
|
32
30
|
});
|
|
33
31
|
const FullBleedOffsetInner = /*#__PURE__*/_styledComponents.default.div.withConfig({
|
|
@@ -35,11 +33,11 @@ const FullBleedOffsetInner = /*#__PURE__*/_styledComponents.default.div.withConf
|
|
|
35
33
|
componentId: "components-web__sc-yhvivu-1"
|
|
36
34
|
})(_ref2 => {
|
|
37
35
|
let {
|
|
38
|
-
borderOffset
|
|
36
|
+
$borderOffset
|
|
39
37
|
} = _ref2;
|
|
40
38
|
return {
|
|
41
39
|
position: 'relative',
|
|
42
|
-
margin: 0 - borderOffset
|
|
40
|
+
margin: 0 - $borderOffset
|
|
43
41
|
};
|
|
44
42
|
});
|
|
45
43
|
|
|
@@ -54,14 +52,13 @@ const FullBleedOffsetInner = /*#__PURE__*/_styledComponents.default.div.withConf
|
|
|
54
52
|
* - Use `href` to set the target URL
|
|
55
53
|
* - Use `fullBleedContent` to set the thumbnail image
|
|
56
54
|
*/
|
|
57
|
-
const StoryCard = /*#__PURE__*/_react.default.forwardRef((_ref3, ref) => {
|
|
55
|
+
const StoryCard = exports.StoryCardBase = /*#__PURE__*/_react.default.forwardRef((_ref3, ref) => {
|
|
58
56
|
let {
|
|
59
57
|
tag,
|
|
60
58
|
date,
|
|
61
59
|
title,
|
|
62
60
|
description,
|
|
63
|
-
|
|
64
|
-
fullBleedContent = fullBleedImage,
|
|
61
|
+
fullBleedContent,
|
|
65
62
|
onPress,
|
|
66
63
|
href,
|
|
67
64
|
tokens,
|
|
@@ -160,10 +157,10 @@ const StoryCard = /*#__PURE__*/_react.default.forwardRef((_ref3, ref) => {
|
|
|
160
157
|
children: description
|
|
161
158
|
})]
|
|
162
159
|
}), Boolean(fullBleedContentProps.src || fullBleedContentProps.content) && /*#__PURE__*/(0, _jsxRuntime.jsx)(FullBleedOffsetOuter, {
|
|
163
|
-
borderOffset: borderOffset,
|
|
160
|
+
$borderOffset: borderOffset,
|
|
164
161
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(FullBleedOffsetInner, {
|
|
165
|
-
borderOffset: borderOffset,
|
|
166
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_FullBleedContent.
|
|
162
|
+
$borderOffset: borderOffset,
|
|
163
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_FullBleedContent.FullBleedContent, {
|
|
167
164
|
borderRadius: fullBleedBorderRadius,
|
|
168
165
|
...fullBleedContentProps
|
|
169
166
|
})
|
|
@@ -205,15 +202,13 @@ StoryCard.propTypes = {
|
|
|
205
202
|
* Text giving a short description of the story. One paragraph of plain text.
|
|
206
203
|
*/
|
|
207
204
|
description: _propTypes.default.string.isRequired,
|
|
208
|
-
/**
|
|
209
|
-
* Full bleed image to be placed on the card, deprecated in favor of `fullBleedContent`.
|
|
210
|
-
*
|
|
211
|
-
* @deprecated
|
|
212
|
-
*/
|
|
213
|
-
fullBleedImage: _propTypes.default.exact(_FullBleedContent.default.propTypes || {}),
|
|
214
205
|
/**
|
|
215
206
|
* Full bleed image to be placed on the card.
|
|
216
207
|
*/
|
|
217
|
-
fullBleedContent: _propTypes.default.exact(_FullBleedContent.
|
|
208
|
+
fullBleedContent: _propTypes.default.exact(_FullBleedContent.FullBleedContent.propTypes || {})
|
|
218
209
|
};
|
|
219
|
-
|
|
210
|
+
|
|
211
|
+
// Export unwrapped component for react-docgen to extract info for docsite
|
|
212
|
+
|
|
213
|
+
// Export wrapped component as main StoryCard export
|
|
214
|
+
const StoryCardWithRouter = exports.StoryCard = (0, _componentsBase.withLinkRouter)(StoryCard);
|
package/lib/cjs/Table/Table.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.useTableContext = exports.
|
|
6
|
+
exports.useTableContext = exports.Table = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _componentsBase = require("@telus-uds/components-base");
|
|
@@ -16,17 +16,17 @@ const [selectProps, selectedSystemPropTypes] = (0, _componentsBase.selectSystemP
|
|
|
16
16
|
const StyledContainer = /*#__PURE__*/_styledComponents.default.div.withConfig({
|
|
17
17
|
displayName: "Table__StyledContainer",
|
|
18
18
|
componentId: "components-web__sc-10d9q3m-0"
|
|
19
|
-
})(["overflow:auto;padding-bottom:", ";"], props => props
|
|
19
|
+
})(["overflow:auto;padding-bottom:", ";"], props => props.$isScrollable ? `${props.$tablePaddingBottom}px` : 0);
|
|
20
20
|
const StyledTable = /*#__PURE__*/_styledComponents.default.table.withConfig({
|
|
21
21
|
displayName: "Table__StyledTable",
|
|
22
22
|
componentId: "components-web__sc-10d9q3m-1"
|
|
23
23
|
})(["margin:0;padding:0;width:", ";border:", ";border-collapse:collapse;"], _ref => {
|
|
24
24
|
let {
|
|
25
|
-
fullWidth,
|
|
26
|
-
tableWidth
|
|
25
|
+
$fullWidth,
|
|
26
|
+
$tableWidth
|
|
27
27
|
} = _ref;
|
|
28
|
-
return fullWidth ? '100%' : `${tableWidth}px`;
|
|
29
|
-
}, props => `${props
|
|
28
|
+
return $fullWidth ? '100%' : `${$tableWidth}px`;
|
|
29
|
+
}, props => `${props.$borderWidth}px solid ${props.$borderColor}`);
|
|
30
30
|
const TableContext = /*#__PURE__*/_react.default.createContext({});
|
|
31
31
|
const useTableContext = () => _react.default.useContext(TableContext);
|
|
32
32
|
|
|
@@ -39,13 +39,13 @@ const useTableContext = () => _react.default.useContext(TableContext);
|
|
|
39
39
|
* - Right-align prices and numbers that display decimal points
|
|
40
40
|
*
|
|
41
41
|
* ### Building up a `Table`
|
|
42
|
-
* - Use `
|
|
43
|
-
* - Use `
|
|
44
|
-
* - Use `
|
|
45
|
-
* - Use `
|
|
42
|
+
* - Use `TableHeader` and `TableBody` as direct children of `Table`
|
|
43
|
+
* - Use `TableSubHeading` to render an intermediate data heading row
|
|
44
|
+
* - Use `TableRow` and `TableCell` to build up the tabular data
|
|
45
|
+
* - Use `TableCell`'s `type` prop to visually mark it as a row heading (`type="rowHeading"`)
|
|
46
46
|
*/
|
|
47
47
|
exports.useTableContext = useTableContext;
|
|
48
|
-
const Table = _ref2 => {
|
|
48
|
+
const Table = exports.Table = /*#__PURE__*/_react.default.forwardRef((_ref2, ref) => {
|
|
49
49
|
let {
|
|
50
50
|
children,
|
|
51
51
|
spacing = 'default',
|
|
@@ -61,7 +61,8 @@ const Table = _ref2 => {
|
|
|
61
61
|
borderColor,
|
|
62
62
|
borderWidth
|
|
63
63
|
} = themeTokens;
|
|
64
|
-
const
|
|
64
|
+
const internalRef = _react.default.useRef();
|
|
65
|
+
const containerRef = ref ?? internalRef;
|
|
65
66
|
const tableRef = _react.default.useRef();
|
|
66
67
|
const [containerWidth, setContainerWidth] = _react.default.useState(0);
|
|
67
68
|
const [tableWidth, setTableWidth] = _react.default.useState(0);
|
|
@@ -88,8 +89,8 @@ const Table = _ref2 => {
|
|
|
88
89
|
const isScrollable = tableWidth > containerWidth;
|
|
89
90
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledContainer, {
|
|
90
91
|
ref: containerRef,
|
|
91
|
-
isScrollable: isScrollable,
|
|
92
|
-
tablePaddingBottom: tablePaddingBottom,
|
|
92
|
+
$isScrollable: isScrollable,
|
|
93
|
+
$tablePaddingBottom: tablePaddingBottom,
|
|
93
94
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(TableContext.Provider, {
|
|
94
95
|
value: {
|
|
95
96
|
text,
|
|
@@ -100,25 +101,31 @@ const Table = _ref2 => {
|
|
|
100
101
|
themeTokens
|
|
101
102
|
},
|
|
102
103
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledTable, {
|
|
103
|
-
borderColor: borderColor,
|
|
104
|
-
borderWidth: borderWidth,
|
|
105
|
-
tableWidth: tableWidth,
|
|
104
|
+
$borderColor: borderColor,
|
|
105
|
+
$borderWidth: borderWidth,
|
|
106
|
+
$tableWidth: tableWidth,
|
|
106
107
|
cellSpacing: 0,
|
|
107
108
|
ref: tableRef,
|
|
108
|
-
fullWidth: fullWidth,
|
|
109
|
+
$fullWidth: fullWidth,
|
|
109
110
|
...selectProps(rest),
|
|
110
111
|
children: children
|
|
111
112
|
})
|
|
112
113
|
})
|
|
113
114
|
});
|
|
114
|
-
};
|
|
115
|
+
});
|
|
116
|
+
Table.displayName = 'Table';
|
|
115
117
|
Table.propTypes = {
|
|
116
118
|
...selectedSystemPropTypes,
|
|
119
|
+
/** Theme tokens for Table */
|
|
117
120
|
tokens: (0, _componentsBase.getTokensPropType)('Table'),
|
|
121
|
+
/** Table content (rows, headers, etc) */
|
|
118
122
|
children: _propTypes.default.node,
|
|
119
|
-
/**
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
/** Sets text style */
|
|
124
|
+
text: _propTypes.default.oneOf(['medium', 'small']),
|
|
125
|
+
/** Table spacing variant */
|
|
126
|
+
spacing: _propTypes.default.oneOf(['default', 'compact']),
|
|
127
|
+
/** If true, table takes 100% width of container */
|
|
128
|
+
fullWidth: _propTypes.default.bool,
|
|
129
|
+
/** Variant for Table styling */
|
|
130
|
+
variant: _propTypes.default.object
|
|
131
|
+
};
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.TableBody = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
const
|
|
11
|
+
const TableBody = exports.TableBody = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
12
12
|
let {
|
|
13
13
|
children
|
|
14
14
|
} = _ref;
|
|
@@ -17,8 +17,7 @@ const Body = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
|
17
17
|
children: children
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
TableBody.displayName = 'TableBody';
|
|
21
|
+
TableBody.propTypes = {
|
|
22
22
|
children: _propTypes.default.node
|
|
23
|
-
};
|
|
24
|
-
var _default = exports.default = Body;
|
|
23
|
+
};
|
|
@@ -3,15 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.TableCell = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _componentsBase = require("@telus-uds/components-base");
|
|
10
10
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
11
11
|
var _Table = require("./Table");
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
function
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
15
|
const HEADER_TYPE = {
|
|
17
16
|
HEADING: 'heading',
|
|
@@ -28,51 +27,51 @@ const stickyStyles = _ref => {
|
|
|
28
27
|
};
|
|
29
28
|
const sharedStyles = /*#__PURE__*/(0, _styledComponents.css)(["", ""], _ref2 => {
|
|
30
29
|
let {
|
|
31
|
-
isSticky,
|
|
32
|
-
align,
|
|
33
|
-
cellPaddingTop,
|
|
34
|
-
cellPaddingRight,
|
|
35
|
-
cellPaddingBottom,
|
|
36
|
-
cellPaddingLeft,
|
|
37
|
-
cellBorderWidth,
|
|
38
|
-
cellBorderColor,
|
|
39
|
-
cellBorderTopWidth,
|
|
40
|
-
cellMinWidth,
|
|
41
|
-
cellBackground,
|
|
42
|
-
cellStickyShadow,
|
|
43
|
-
stickyBackgroundColor,
|
|
44
|
-
cellBottomLeftBorderRadius,
|
|
45
|
-
cellBottomRightBorderRadius,
|
|
46
|
-
cellTopLeftBorderRadius,
|
|
47
|
-
cellTopRightBorderRadius,
|
|
48
|
-
type
|
|
30
|
+
$isSticky,
|
|
31
|
+
$align,
|
|
32
|
+
$cellPaddingTop,
|
|
33
|
+
$cellPaddingRight,
|
|
34
|
+
$cellPaddingBottom,
|
|
35
|
+
$cellPaddingLeft,
|
|
36
|
+
$cellBorderWidth,
|
|
37
|
+
$cellBorderColor,
|
|
38
|
+
$cellBorderTopWidth,
|
|
39
|
+
$cellMinWidth,
|
|
40
|
+
$cellBackground,
|
|
41
|
+
$cellStickyShadow,
|
|
42
|
+
$stickyBackgroundColor,
|
|
43
|
+
$cellBottomLeftBorderRadius,
|
|
44
|
+
$cellBottomRightBorderRadius,
|
|
45
|
+
$cellTopLeftBorderRadius,
|
|
46
|
+
$cellTopRightBorderRadius,
|
|
47
|
+
$type
|
|
49
48
|
} = _ref2;
|
|
50
|
-
return (0, _styledComponents.css)(["text-align:", ";min-width:", "px;padding:", "px ", "px ", "px ", "px;background-color:", ";", ";border-style:", ";border-color:", ";border-width:", "px;border-top-width:", "px;border-bottom-left-radius:", "px;border-bottom-right-radius:", "px;border-top-left-radius:", "px;border-top-right-radius:", "px;"], align, cellMinWidth, cellPaddingTop, cellPaddingRight, cellPaddingBottom, cellPaddingLeft, cellBackground, isSticky && stickyStyles({
|
|
51
|
-
type,
|
|
52
|
-
cellStickyShadow,
|
|
53
|
-
stickyBackgroundColor
|
|
54
|
-
}), cellBorderWidth || cellBorderTopWidth ? 'solid' : 'none', cellBorderColor, cellBorderWidth, cellBorderTopWidth || cellBorderWidth, cellBottomLeftBorderRadius, cellBottomRightBorderRadius, cellTopLeftBorderRadius, cellTopRightBorderRadius);
|
|
49
|
+
return (0, _styledComponents.css)(["text-align:", ";min-width:", "px;padding:", "px ", "px ", "px ", "px;background-color:", ";", ";border-style:", ";border-color:", ";border-width:", "px;border-top-width:", "px;border-bottom-left-radius:", "px;border-bottom-right-radius:", "px;border-top-left-radius:", "px;border-top-right-radius:", "px;"], $align, $cellMinWidth, $cellPaddingTop, $cellPaddingRight, $cellPaddingBottom, $cellPaddingLeft, $cellBackground, $isSticky && stickyStyles({
|
|
50
|
+
type: $type,
|
|
51
|
+
cellStickyShadow: $cellStickyShadow,
|
|
52
|
+
stickyBackgroundColor: $stickyBackgroundColor
|
|
53
|
+
}), $cellBorderWidth || $cellBorderTopWidth ? 'solid' : 'none', $cellBorderColor, $cellBorderWidth, $cellBorderTopWidth || $cellBorderWidth, $cellBottomLeftBorderRadius, $cellBottomRightBorderRadius, $cellTopLeftBorderRadius, $cellTopRightBorderRadius);
|
|
55
54
|
});
|
|
56
55
|
const createStyledCell = htmlElement => _styledComponents.default[htmlElement].withConfig({
|
|
57
|
-
displayName: "
|
|
58
|
-
componentId: "components-web__sc-
|
|
56
|
+
displayName: "TableCell__createStyledCell",
|
|
57
|
+
componentId: "components-web__sc-c4xf99-0"
|
|
59
58
|
})(["", ";box-shadow:", ";", ""], sharedStyles, _ref3 => {
|
|
60
59
|
let {
|
|
61
|
-
cellBoxShadowColor,
|
|
62
|
-
type
|
|
60
|
+
$cellBoxShadowColor,
|
|
61
|
+
$type
|
|
63
62
|
} = _ref3;
|
|
64
|
-
return type === HEADER_TYPE.HEADING ? `inset 0 1px 0 ${cellBoxShadowColor}, inset 0 -1px 0 ${cellBoxShadowColor}` : `inset 0 1px 0 ${cellBoxShadowColor}`;
|
|
63
|
+
return $type === HEADER_TYPE.HEADING ? `inset 0 1px 0 ${$cellBoxShadowColor}, inset 0 -1px 0 ${$cellBoxShadowColor}` : `inset 0 1px 0 ${$cellBoxShadowColor}`;
|
|
65
64
|
}, _ref4 => {
|
|
66
65
|
let {
|
|
67
|
-
display
|
|
66
|
+
$display
|
|
68
67
|
} = _ref4;
|
|
69
|
-
return display && `*:not(:empty) {
|
|
70
|
-
display: ${display};
|
|
68
|
+
return $display && `*:not(:empty) {
|
|
69
|
+
display: ${$display};
|
|
71
70
|
}`;
|
|
72
71
|
});
|
|
73
72
|
const StyledHeaderCell = createStyledCell('th');
|
|
74
73
|
const StyledDataCell = createStyledCell('td');
|
|
75
|
-
const
|
|
74
|
+
const TableCell = exports.TableCell = /*#__PURE__*/_react.default.forwardRef((_ref5, ref) => {
|
|
76
75
|
let {
|
|
77
76
|
children,
|
|
78
77
|
isFirstInRow,
|
|
@@ -121,25 +120,25 @@ const Cell = /*#__PURE__*/_react.default.forwardRef((_ref5, ref) => {
|
|
|
121
120
|
...variant
|
|
122
121
|
});
|
|
123
122
|
const sharedProps = {
|
|
124
|
-
align,
|
|
125
|
-
isSticky: isTableScrollable && isFirstInRow,
|
|
126
|
-
cellBackground,
|
|
127
|
-
cellMinWidth,
|
|
128
|
-
cellStickyShadow: (0, _componentsBase.applyShadowToken)(cellStickyShadow).boxShadow,
|
|
129
|
-
cellPaddingTop,
|
|
130
|
-
cellPaddingRight,
|
|
131
|
-
cellPaddingLeft,
|
|
132
|
-
cellPaddingBottom,
|
|
133
|
-
cellBorderWidth,
|
|
134
|
-
cellBorderColor,
|
|
135
|
-
cellBorderTopWidth,
|
|
136
|
-
cellTopLeftBorderRadius,
|
|
137
|
-
cellTopRightBorderRadius,
|
|
138
|
-
cellBottomLeftBorderRadius,
|
|
139
|
-
cellBottomRightBorderRadius,
|
|
140
|
-
stickyBackgroundColor,
|
|
141
|
-
cellBoxShadowColor,
|
|
142
|
-
display,
|
|
123
|
+
$align: align,
|
|
124
|
+
$isSticky: isTableScrollable && isFirstInRow,
|
|
125
|
+
$cellBackground: cellBackground,
|
|
126
|
+
$cellMinWidth: cellMinWidth,
|
|
127
|
+
$cellStickyShadow: (0, _componentsBase.applyShadowToken)(cellStickyShadow).boxShadow,
|
|
128
|
+
$cellPaddingTop: cellPaddingTop,
|
|
129
|
+
$cellPaddingRight: cellPaddingRight,
|
|
130
|
+
$cellPaddingLeft: cellPaddingLeft,
|
|
131
|
+
$cellPaddingBottom: cellPaddingBottom,
|
|
132
|
+
$cellBorderWidth: cellBorderWidth,
|
|
133
|
+
$cellBorderColor: cellBorderColor,
|
|
134
|
+
$cellBorderTopWidth: cellBorderTopWidth,
|
|
135
|
+
$cellTopLeftBorderRadius: cellTopLeftBorderRadius,
|
|
136
|
+
$cellTopRightBorderRadius: cellTopRightBorderRadius,
|
|
137
|
+
$cellBottomLeftBorderRadius: cellBottomLeftBorderRadius,
|
|
138
|
+
$cellBottomRightBorderRadius: cellBottomRightBorderRadius,
|
|
139
|
+
$stickyBackgroundColor: stickyBackgroundColor,
|
|
140
|
+
$cellBoxShadowColor: cellBoxShadowColor,
|
|
141
|
+
$display: display,
|
|
143
142
|
ref
|
|
144
143
|
};
|
|
145
144
|
const typographyTokens = {
|
|
@@ -154,7 +153,7 @@ const Cell = /*#__PURE__*/_react.default.forwardRef((_ref5, ref) => {
|
|
|
154
153
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledHeaderCell, {
|
|
155
154
|
scope: "col",
|
|
156
155
|
...sharedProps,
|
|
157
|
-
type: type,
|
|
156
|
+
$type: type,
|
|
158
157
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_componentsBase.Typography, {
|
|
159
158
|
tokens: typographyTokens,
|
|
160
159
|
children: children
|
|
@@ -164,7 +163,7 @@ const Cell = /*#__PURE__*/_react.default.forwardRef((_ref5, ref) => {
|
|
|
164
163
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledHeaderCell, {
|
|
165
164
|
scope: "col",
|
|
166
165
|
...sharedProps,
|
|
167
|
-
type: type,
|
|
166
|
+
$type: type,
|
|
168
167
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_componentsBase.Typography, {
|
|
169
168
|
tokens: typographyTokens,
|
|
170
169
|
children: children
|
|
@@ -174,7 +173,7 @@ const Cell = /*#__PURE__*/_react.default.forwardRef((_ref5, ref) => {
|
|
|
174
173
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledHeaderCell, {
|
|
175
174
|
scope: "row",
|
|
176
175
|
...sharedProps,
|
|
177
|
-
type: type,
|
|
176
|
+
$type: type,
|
|
178
177
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_componentsBase.Typography, {
|
|
179
178
|
tokens: typographyTokens,
|
|
180
179
|
children: children
|
|
@@ -190,8 +189,8 @@ const Cell = /*#__PURE__*/_react.default.forwardRef((_ref5, ref) => {
|
|
|
190
189
|
});
|
|
191
190
|
}
|
|
192
191
|
});
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
TableCell.displayName = 'TableCell';
|
|
193
|
+
TableCell.propTypes = {
|
|
195
194
|
type: _propTypes.default.oneOf(['default', 'heading', 'subHeading', 'rowHeading']),
|
|
196
195
|
tokens: _propTypes.default.object,
|
|
197
196
|
children: _propTypes.default.node,
|
|
@@ -204,5 +203,4 @@ Cell.propTypes = {
|
|
|
204
203
|
* Defines the text alignment within the cell
|
|
205
204
|
*/
|
|
206
205
|
align: _propTypes.default.oneOf(['left', 'center', 'right'])
|
|
207
|
-
};
|
|
208
|
-
var _default = exports.default = Cell;
|
|
206
|
+
};
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.TableHeader = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _componentsBase = require("@telus-uds/components-base");
|
|
10
|
-
var
|
|
10
|
+
var _TableRow = require("./TableRow");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
const
|
|
13
|
+
const TableHeader = exports.TableHeader = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
14
14
|
let {
|
|
15
15
|
children,
|
|
16
16
|
tokens
|
|
17
17
|
} = _ref;
|
|
18
18
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("thead", {
|
|
19
19
|
ref: ref,
|
|
20
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
20
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TableRow.TableRow, {
|
|
21
21
|
tokens: tokens,
|
|
22
22
|
children: _react.default.Children.map(children, child =>
|
|
23
23
|
/*#__PURE__*/
|
|
@@ -28,9 +28,8 @@ const Header = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
|
28
28
|
})
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
TableHeader.displayName = 'TableHeader';
|
|
32
|
+
TableHeader.propTypes = {
|
|
33
33
|
children: _propTypes.default.node,
|
|
34
34
|
tokens: (0, _componentsBase.getTokensPropType)('Table')
|
|
35
|
-
};
|
|
36
|
-
var _default = exports.default = Header;
|
|
35
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.TableRow = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
@@ -11,35 +11,35 @@ var _Table = require("./Table");
|
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
13
|
const StyledTR = /*#__PURE__*/_styledComponents.default.tr.withConfig({
|
|
14
|
-
displayName: "
|
|
15
|
-
componentId: "components-web__sc-
|
|
14
|
+
displayName: "TableRow__StyledTR",
|
|
15
|
+
componentId: "components-web__sc-1rnznqr-0"
|
|
16
16
|
})(["&:hover{background-color:", " !important;}border-style:", ";border-color:", ";border-width:", "px;border-top-width:", "px;"], _ref => {
|
|
17
17
|
let {
|
|
18
|
-
tokens
|
|
18
|
+
$tokens
|
|
19
19
|
} = _ref;
|
|
20
|
-
return tokens?.rowHoverBackgroundColor;
|
|
20
|
+
return $tokens?.rowHoverBackgroundColor;
|
|
21
21
|
}, _ref2 => {
|
|
22
22
|
let {
|
|
23
|
-
tokens
|
|
23
|
+
$tokens
|
|
24
24
|
} = _ref2;
|
|
25
|
-
return tokens?.rowBorderWidth || tokens?.rowBorderTopWidth ? 'solid' : 'none';
|
|
25
|
+
return $tokens?.rowBorderWidth || $tokens?.rowBorderTopWidth ? 'solid' : 'none';
|
|
26
26
|
}, _ref3 => {
|
|
27
27
|
let {
|
|
28
|
-
tokens
|
|
28
|
+
$tokens
|
|
29
29
|
} = _ref3;
|
|
30
|
-
return tokens?.rowBorderColor;
|
|
30
|
+
return $tokens?.rowBorderColor;
|
|
31
31
|
}, _ref4 => {
|
|
32
32
|
let {
|
|
33
|
-
tokens
|
|
33
|
+
$tokens
|
|
34
34
|
} = _ref4;
|
|
35
|
-
return `${tokens?.rowBorderWidth}` || 0;
|
|
35
|
+
return `${$tokens?.rowBorderWidth}` || 0;
|
|
36
36
|
}, _ref5 => {
|
|
37
37
|
let {
|
|
38
|
-
tokens
|
|
38
|
+
$tokens
|
|
39
39
|
} = _ref5;
|
|
40
|
-
return `${tokens?.rowBorderTopWidth}` || tokens?.rowBorderWidth;
|
|
40
|
+
return `${$tokens?.rowBorderTopWidth}` || $tokens?.rowBorderWidth;
|
|
41
41
|
});
|
|
42
|
-
const
|
|
42
|
+
const TableRow = exports.TableRow = /*#__PURE__*/_react.default.forwardRef((_ref6, ref) => {
|
|
43
43
|
let {
|
|
44
44
|
children,
|
|
45
45
|
tokens: rowTokens
|
|
@@ -53,14 +53,14 @@ const Row = /*#__PURE__*/_react.default.forwardRef((_ref6, ref) => {
|
|
|
53
53
|
};
|
|
54
54
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledTR, {
|
|
55
55
|
ref: ref,
|
|
56
|
-
tokens: mergedTokens,
|
|
56
|
+
$tokens: mergedTokens,
|
|
57
57
|
children: _react.default.Children.map(children, (child, index) => /*#__PURE__*/_react.default.cloneElement(child, {
|
|
58
58
|
isFirstInRow: index === 0
|
|
59
59
|
}))
|
|
60
60
|
});
|
|
61
61
|
});
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
TableRow.displayName = 'TableRow';
|
|
63
|
+
TableRow.propTypes = {
|
|
64
64
|
tokens: _propTypes.default.shape({
|
|
65
65
|
borderColor: _propTypes.default.string,
|
|
66
66
|
topBorderWidth: _propTypes.default.string,
|
|
@@ -70,5 +70,4 @@ Row.propTypes = {
|
|
|
70
70
|
rowHoverBackgroundColor: _propTypes.default.string
|
|
71
71
|
}),
|
|
72
72
|
children: _propTypes.default.node
|
|
73
|
-
};
|
|
74
|
-
var _default = exports.default = Row;
|
|
73
|
+
};
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.TableSubHeading = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _componentsBase = require("@telus-uds/components-base");
|
|
10
|
-
var
|
|
10
|
+
var _TableRow = require("./TableRow");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
const
|
|
13
|
+
const TableSubHeading = exports.TableSubHeading = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
14
14
|
let {
|
|
15
15
|
children,
|
|
16
16
|
tokens
|
|
17
17
|
} = _ref;
|
|
18
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
18
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TableRow.TableRow, {
|
|
19
19
|
ref: ref,
|
|
20
20
|
tokens: tokens,
|
|
21
21
|
children: _react.default.Children.map(children, child =>
|
|
@@ -26,9 +26,8 @@ const Header = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
|
26
26
|
}))
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
TableSubHeading.displayName = 'TableSubHeading';
|
|
30
|
+
TableSubHeading.propTypes = {
|
|
31
31
|
children: _propTypes.default.node,
|
|
32
32
|
tokens: (0, _componentsBase.getTokensPropType)('Table')
|
|
33
|
-
};
|
|
34
|
-
var _default = exports.default = Header;
|
|
33
|
+
};
|