@workday/canvas-kit-react 7.0.0-alpha.0-next.7 → 7.0.0-alpha.80-next.8
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/badge/README.md +2 -3
- package/banner/lib/BannerIcon.tsx +2 -2
- package/button/README.md +68 -1
- package/button/index.ts +1 -1
- package/button/lib/{parts/ButtonContainer.tsx → BaseButton.tsx} +123 -66
- package/button/lib/DeleteButton.tsx +7 -4
- package/button/lib/PrimaryButton.tsx +86 -109
- package/button/lib/SecondaryButton.tsx +41 -64
- package/button/lib/TertiaryButton.tsx +86 -53
- package/button/lib/ToolbarDropdownButton.tsx +12 -11
- package/button/lib/ToolbarIconButton.tsx +22 -17
- package/button/lib/parts/ButtonLabel.tsx +17 -2
- package/button/lib/parts/ButtonLabelIcon.tsx +30 -54
- package/button/lib/parts/index.tsx +0 -2
- package/button/lib/types.ts +2 -2
- package/card/lib/Card.tsx +1 -1
- package/common/lib/parts/_brand-assets.ts +5 -5
- package/common/lib/utils/StaticStates.tsx +6 -5
- package/dist/commonjs/banner/lib/BannerIcon.js +2 -2
- package/dist/commonjs/button/index.d.ts +1 -1
- package/dist/commonjs/button/index.d.ts.map +1 -1
- package/dist/commonjs/button/index.js +3 -3
- package/dist/commonjs/button/lib/BaseButton.d.ts +31 -0
- package/dist/commonjs/button/lib/BaseButton.d.ts.map +1 -0
- package/dist/commonjs/button/lib/BaseButton.js +198 -0
- package/dist/commonjs/button/lib/DeleteButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/DeleteButton.js +4 -3
- package/dist/commonjs/button/lib/PrimaryButton.d.ts +4 -76
- package/dist/commonjs/button/lib/PrimaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/PrimaryButton.js +15 -36
- package/dist/commonjs/button/lib/SecondaryButton.d.ts +0 -5
- package/dist/commonjs/button/lib/SecondaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/SecondaryButton.js +13 -36
- package/dist/commonjs/button/lib/TertiaryButton.d.ts +2 -2
- package/dist/commonjs/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/TertiaryButton.js +66 -38
- package/dist/commonjs/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ToolbarDropdownButton.js +7 -7
- package/dist/commonjs/button/lib/ToolbarIconButton.d.ts +5 -2
- package/dist/commonjs/button/lib/ToolbarIconButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ToolbarIconButton.js +5 -11
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +4 -4
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts.map +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabel.js +35 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts +4 -3
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.js +13 -62
- package/dist/commonjs/button/lib/parts/index.d.ts +0 -2
- package/dist/commonjs/button/lib/parts/index.d.ts.map +1 -1
- package/dist/commonjs/button/lib/parts/index.js +1 -5
- package/dist/commonjs/button/lib/types.d.ts +2 -2
- package/dist/commonjs/button/lib/types.d.ts.map +1 -1
- package/dist/commonjs/card/lib/Card.js +1 -1
- package/dist/commonjs/common/lib/parts/_brand-assets.d.ts.map +1 -1
- package/dist/commonjs/common/lib/parts/_brand-assets.js +5 -5
- package/dist/commonjs/common/lib/utils/StaticStates.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/StaticStates.js +5 -2
- package/dist/commonjs/icon/lib/AccentIcon.d.ts +3 -5
- package/dist/commonjs/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AccentIcon.js +8 -24
- package/dist/commonjs/icon/lib/AppletIcon.d.ts +5 -6
- package/dist/commonjs/icon/lib/AppletIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AppletIcon.js +13 -27
- package/dist/commonjs/icon/lib/Graphic.d.ts +3 -5
- package/dist/commonjs/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +8 -24
- package/dist/commonjs/icon/lib/Icon.d.ts +2 -5
- package/dist/commonjs/icon/lib/Icon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Icon.js +10 -25
- package/dist/commonjs/icon/lib/Svg.d.ts +4 -6
- package/dist/commonjs/icon/lib/Svg.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Svg.js +11 -27
- package/dist/commonjs/icon/lib/SystemIcon.d.ts +5 -6
- package/dist/commonjs/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIcon.js +8 -24
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts +3 -6
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +7 -25
- package/dist/commonjs/layout/lib/Box.d.ts +18 -1
- package/dist/commonjs/layout/lib/Box.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Box.js +42 -2
- package/dist/commonjs/layout/lib/Flex.d.ts +1 -1
- package/dist/commonjs/layout/lib/Flex.js +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Controls.d.ts +2 -2
- package/dist/commonjs/pagination/lib/Pagination/Controls.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Controls.js +4 -4
- package/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts +1 -2
- package/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageButton.js +34 -9
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +1 -1
- package/dist/commonjs/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +5 -6
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.js +4 -0
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +9 -7
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControl.js +21 -57
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts +8 -0
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts.map +1 -0
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.js +106 -0
- package/dist/commonjs/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/commonjs/side-panel/lib/SidePanel.js +2 -2
- package/dist/commonjs/tabs/lib/Tabs.d.ts +2 -2
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +1 -2
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.js +1 -1
- package/dist/commonjs/tabs/lib/menu/Menu.d.ts +1 -1
- package/dist/commonjs/tabs/lib/menu/MenuItem.d.ts +1 -2
- package/dist/commonjs/tabs/lib/menu/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/InputIconContainer.d.ts +1 -1
- package/dist/commonjs/text-input/lib/InputIconContainer.d.ts.map +1 -1
- package/dist/commonjs/toast/lib/Toast.d.ts.map +1 -1
- package/dist/commonjs/toast/lib/Toast.js +1 -1
- package/dist/commonjs/tokens/lib/depth.d.ts +48 -17
- package/dist/commonjs/tokens/lib/depth.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/depth.js +14 -9
- package/dist/commonjs/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/commonjs/tooltip/lib/useTooltip.d.ts +1 -1
- package/dist/es6/banner/lib/BannerIcon.js +2 -2
- package/dist/es6/button/index.d.ts +1 -1
- package/dist/es6/button/index.d.ts.map +1 -1
- package/dist/es6/button/index.js +1 -1
- package/dist/es6/button/lib/BaseButton.d.ts +31 -0
- package/dist/es6/button/lib/BaseButton.d.ts.map +1 -0
- package/dist/es6/button/lib/BaseButton.js +174 -0
- package/dist/es6/button/lib/DeleteButton.d.ts.map +1 -1
- package/dist/es6/button/lib/DeleteButton.js +4 -3
- package/dist/es6/button/lib/PrimaryButton.d.ts +4 -76
- package/dist/es6/button/lib/PrimaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/PrimaryButton.js +15 -35
- package/dist/es6/button/lib/SecondaryButton.d.ts +0 -5
- package/dist/es6/button/lib/SecondaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/SecondaryButton.js +13 -36
- package/dist/es6/button/lib/TertiaryButton.d.ts +2 -2
- package/dist/es6/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/TertiaryButton.js +68 -40
- package/dist/es6/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/es6/button/lib/ToolbarDropdownButton.js +8 -8
- package/dist/es6/button/lib/ToolbarIconButton.d.ts +5 -2
- package/dist/es6/button/lib/ToolbarIconButton.d.ts.map +1 -1
- package/dist/es6/button/lib/ToolbarIconButton.js +7 -13
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts +4 -4
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts.map +1 -1
- package/dist/es6/button/lib/parts/ButtonLabel.js +33 -2
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts +4 -3
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/es6/button/lib/parts/ButtonLabelIcon.js +13 -42
- package/dist/es6/button/lib/parts/index.d.ts +0 -2
- package/dist/es6/button/lib/parts/index.d.ts.map +1 -1
- package/dist/es6/button/lib/parts/index.js +0 -2
- package/dist/es6/button/lib/types.d.ts +2 -2
- package/dist/es6/button/lib/types.d.ts.map +1 -1
- package/dist/es6/card/lib/Card.js +1 -1
- package/dist/es6/common/lib/parts/_brand-assets.d.ts.map +1 -1
- package/dist/es6/common/lib/parts/_brand-assets.js +5 -5
- package/dist/es6/common/lib/utils/StaticStates.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/StaticStates.js +5 -2
- package/dist/es6/icon/lib/AccentIcon.d.ts +3 -5
- package/dist/es6/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AccentIcon.js +8 -24
- package/dist/es6/icon/lib/AppletIcon.d.ts +5 -6
- package/dist/es6/icon/lib/AppletIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AppletIcon.js +11 -25
- package/dist/es6/icon/lib/Graphic.d.ts +3 -5
- package/dist/es6/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/es6/icon/lib/Graphic.js +8 -24
- package/dist/es6/icon/lib/Icon.d.ts +2 -5
- package/dist/es6/icon/lib/Icon.d.ts.map +1 -1
- package/dist/es6/icon/lib/Icon.js +8 -24
- package/dist/es6/icon/lib/Svg.d.ts +4 -6
- package/dist/es6/icon/lib/Svg.d.ts.map +1 -1
- package/dist/es6/icon/lib/Svg.js +10 -27
- package/dist/es6/icon/lib/SystemIcon.d.ts +5 -6
- package/dist/es6/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIcon.js +8 -24
- package/dist/es6/icon/lib/SystemIconCircle.d.ts +3 -6
- package/dist/es6/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +8 -26
- package/dist/es6/layout/lib/Box.d.ts +18 -1
- package/dist/es6/layout/lib/Box.d.ts.map +1 -1
- package/dist/es6/layout/lib/Box.js +40 -1
- package/dist/es6/layout/lib/Flex.d.ts +1 -1
- package/dist/es6/layout/lib/Flex.js +1 -1
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/pagination/lib/Pagination/Controls.d.ts +2 -2
- package/dist/es6/pagination/lib/Pagination/Controls.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Controls.js +5 -5
- package/dist/es6/pagination/lib/Pagination/PageButton.d.ts +1 -2
- package/dist/es6/pagination/lib/Pagination/PageButton.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageButton.js +35 -10
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCard.js +1 -1
- package/dist/es6/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCloseIcon.js +6 -7
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.js +4 -0
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +9 -7
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControl.js +20 -57
- package/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts +8 -0
- package/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts.map +1 -0
- package/dist/es6/segmented-control/lib/SegmentedControlButton.js +100 -0
- package/dist/es6/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/es6/side-panel/lib/SidePanel.js +3 -3
- package/dist/es6/tabs/lib/Tabs.d.ts +2 -2
- package/dist/es6/tabs/lib/TabsItem.d.ts +1 -2
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.js +1 -1
- package/dist/es6/tabs/lib/menu/Menu.d.ts +1 -1
- package/dist/es6/tabs/lib/menu/MenuItem.d.ts +1 -2
- package/dist/es6/tabs/lib/menu/MenuItem.d.ts.map +1 -1
- package/dist/es6/text-input/lib/InputIconContainer.d.ts +1 -1
- package/dist/es6/text-input/lib/InputIconContainer.d.ts.map +1 -1
- package/dist/es6/toast/lib/Toast.d.ts.map +1 -1
- package/dist/es6/toast/lib/Toast.js +1 -1
- package/dist/es6/tokens/lib/depth.d.ts +48 -17
- package/dist/es6/tokens/lib/depth.d.ts.map +1 -1
- package/dist/es6/tokens/lib/depth.js +14 -9
- package/dist/es6/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/es6/tooltip/lib/useTooltip.d.ts +1 -1
- package/icon/README.md +0 -30
- package/icon/lib/AccentIcon.tsx +17 -16
- package/icon/lib/AppletIcon.tsx +18 -12
- package/icon/lib/Graphic.tsx +15 -8
- package/icon/lib/Icon.tsx +10 -8
- package/icon/lib/Svg.tsx +12 -14
- package/icon/lib/SystemIcon.tsx +21 -12
- package/icon/lib/SystemIconCircle.tsx +17 -14
- package/layout/lib/Box.tsx +41 -1
- package/layout/lib/Flex.tsx +1 -1
- package/modal/lib/ModalCard.tsx +1 -1
- package/modal/lib/ModalOverflowOverlay.tsx +1 -1
- package/package.json +5 -5
- package/pagination/lib/Pagination/Controls.tsx +6 -10
- package/pagination/lib/Pagination/PageButton.tsx +38 -17
- package/pagination/lib/Pagination/Pagination.tsx +5 -5
- package/popup/lib/PopupCard.tsx +1 -1
- package/popup/lib/PopupCloseIcon.tsx +7 -8
- package/popup/lib/hooks/useDisableBodyScroll.ts +6 -0
- package/segmented-control/README.md +8 -9
- package/segmented-control/lib/SegmentedControl.tsx +39 -78
- package/segmented-control/lib/SegmentedControlButton.tsx +109 -0
- package/side-panel/README.md +3 -3
- package/side-panel/lib/SidePanel.tsx +4 -5
- package/tabs/lib/TabsList.tsx +1 -1
- package/text-input/lib/InputIconContainer.tsx +1 -1
- package/toast/lib/Toast.tsx +1 -0
- package/tokens/README.md +11 -8
- package/tokens/lib/depth.ts +60 -24
- package/tooltip/README.md +6 -5
- package/tooltip/lib/Tooltip.tsx +1 -1
- package/tooltip/lib/useTooltip.tsx +1 -1
- package/ts3.5/dist/commonjs/button/index.d.ts +1 -1
- package/ts3.5/dist/commonjs/button/lib/BaseButton.d.ts +31 -0
- package/ts3.5/dist/commonjs/button/lib/PrimaryButton.d.ts +4 -76
- package/ts3.5/dist/commonjs/button/lib/SecondaryButton.d.ts +0 -5
- package/ts3.5/dist/commonjs/button/lib/TertiaryButton.d.ts +2 -2
- package/ts3.5/dist/commonjs/button/lib/ToolbarIconButton.d.ts +5 -2
- package/ts3.5/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +4 -4
- package/ts3.5/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts +4 -3
- package/ts3.5/dist/commonjs/button/lib/parts/index.d.ts +0 -2
- package/ts3.5/dist/commonjs/button/lib/types.d.ts +2 -2
- package/ts3.5/dist/commonjs/icon/lib/AccentIcon.d.ts +3 -5
- package/ts3.5/dist/commonjs/icon/lib/AppletIcon.d.ts +5 -6
- package/ts3.5/dist/commonjs/icon/lib/Graphic.d.ts +3 -5
- package/ts3.5/dist/commonjs/icon/lib/Icon.d.ts +2 -5
- package/ts3.5/dist/commonjs/icon/lib/Svg.d.ts +4 -6
- package/ts3.5/dist/commonjs/icon/lib/SystemIcon.d.ts +5 -6
- package/ts3.5/dist/commonjs/icon/lib/SystemIconCircle.d.ts +3 -6
- package/ts3.5/dist/commonjs/layout/lib/Box.d.ts +18 -1
- package/ts3.5/dist/commonjs/layout/lib/Flex.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/Controls.d.ts +2 -2
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts +1 -2
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/ts3.5/dist/commonjs/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/ts3.5/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +9 -7
- package/ts3.5/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts +8 -0
- package/ts3.5/dist/commonjs/tabs/lib/Tabs.d.ts +2 -2
- package/ts3.5/dist/commonjs/tabs/lib/TabsItem.d.ts +1 -2
- package/ts3.5/dist/commonjs/tabs/lib/menu/Menu.d.ts +1 -1
- package/ts3.5/dist/commonjs/tabs/lib/menu/MenuItem.d.ts +1 -2
- package/ts3.5/dist/commonjs/text-input/lib/InputIconContainer.d.ts +1 -1
- package/ts3.5/dist/commonjs/tokens/lib/depth.d.ts +48 -17
- package/ts3.5/dist/commonjs/tooltip/lib/Tooltip.d.ts +1 -1
- package/ts3.5/dist/commonjs/tooltip/lib/useTooltip.d.ts +1 -1
- package/ts3.5/dist/es6/button/index.d.ts +1 -1
- package/ts3.5/dist/es6/button/lib/BaseButton.d.ts +31 -0
- package/ts3.5/dist/es6/button/lib/PrimaryButton.d.ts +4 -76
- package/ts3.5/dist/es6/button/lib/SecondaryButton.d.ts +0 -5
- package/ts3.5/dist/es6/button/lib/TertiaryButton.d.ts +2 -2
- package/ts3.5/dist/es6/button/lib/ToolbarIconButton.d.ts +5 -2
- package/ts3.5/dist/es6/button/lib/parts/ButtonLabel.d.ts +4 -4
- package/ts3.5/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts +4 -3
- package/ts3.5/dist/es6/button/lib/parts/index.d.ts +0 -2
- package/ts3.5/dist/es6/button/lib/types.d.ts +2 -2
- package/ts3.5/dist/es6/icon/lib/AccentIcon.d.ts +3 -5
- package/ts3.5/dist/es6/icon/lib/AppletIcon.d.ts +5 -6
- package/ts3.5/dist/es6/icon/lib/Graphic.d.ts +3 -5
- package/ts3.5/dist/es6/icon/lib/Icon.d.ts +2 -5
- package/ts3.5/dist/es6/icon/lib/Svg.d.ts +4 -6
- package/ts3.5/dist/es6/icon/lib/SystemIcon.d.ts +5 -6
- package/ts3.5/dist/es6/icon/lib/SystemIconCircle.d.ts +3 -6
- package/ts3.5/dist/es6/layout/lib/Box.d.ts +18 -1
- package/ts3.5/dist/es6/layout/lib/Flex.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/Controls.d.ts +2 -2
- package/ts3.5/dist/es6/pagination/lib/Pagination/PageButton.d.ts +1 -2
- package/ts3.5/dist/es6/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/ts3.5/dist/es6/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/ts3.5/dist/es6/segmented-control/lib/SegmentedControl.d.ts +9 -7
- package/ts3.5/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts +8 -0
- package/ts3.5/dist/es6/tabs/lib/Tabs.d.ts +2 -2
- package/ts3.5/dist/es6/tabs/lib/TabsItem.d.ts +1 -2
- package/ts3.5/dist/es6/tabs/lib/menu/Menu.d.ts +1 -1
- package/ts3.5/dist/es6/tabs/lib/menu/MenuItem.d.ts +1 -2
- package/ts3.5/dist/es6/text-input/lib/InputIconContainer.d.ts +1 -1
- package/ts3.5/dist/es6/tokens/lib/depth.d.ts +48 -17
- package/ts3.5/dist/es6/tooltip/lib/Tooltip.d.ts +1 -1
- package/ts3.5/dist/es6/tooltip/lib/useTooltip.d.ts +1 -1
- package/button/lib/IconButton.tsx +0 -279
- package/button/lib/parts/ButtonLabelData.tsx +0 -16
- package/dist/commonjs/button/lib/IconButton.d.ts +0 -44
- package/dist/commonjs/button/lib/IconButton.d.ts.map +0 -1
- package/dist/commonjs/button/lib/IconButton.js +0 -219
- package/dist/commonjs/button/lib/parts/ButtonContainer.d.ts +0 -33
- package/dist/commonjs/button/lib/parts/ButtonContainer.d.ts.map +0 -1
- package/dist/commonjs/button/lib/parts/ButtonContainer.js +0 -126
- package/dist/commonjs/button/lib/parts/ButtonLabelData.d.ts +0 -3
- package/dist/commonjs/button/lib/parts/ButtonLabelData.d.ts.map +0 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelData.js +0 -45
- package/dist/es6/button/lib/IconButton.d.ts +0 -44
- package/dist/es6/button/lib/IconButton.d.ts.map +0 -1
- package/dist/es6/button/lib/IconButton.js +0 -197
- package/dist/es6/button/lib/parts/ButtonContainer.d.ts +0 -33
- package/dist/es6/button/lib/parts/ButtonContainer.d.ts.map +0 -1
- package/dist/es6/button/lib/parts/ButtonContainer.js +0 -120
- package/dist/es6/button/lib/parts/ButtonLabelData.d.ts +0 -3
- package/dist/es6/button/lib/parts/ButtonLabelData.d.ts.map +0 -1
- package/dist/es6/button/lib/parts/ButtonLabelData.js +0 -22
- package/ts3.5/dist/commonjs/button/lib/IconButton.d.ts +0 -44
- package/ts3.5/dist/commonjs/button/lib/parts/ButtonContainer.d.ts +0 -33
- package/ts3.5/dist/commonjs/button/lib/parts/ButtonLabelData.d.ts +0 -3
- package/ts3.5/dist/es6/button/lib/IconButton.d.ts +0 -44
- package/ts3.5/dist/es6/button/lib/parts/ButtonContainer.d.ts +0 -33
- package/ts3.5/dist/es6/button/lib/parts/ButtonLabelData.d.ts +0 -3
|
@@ -6,10 +6,11 @@ import {
|
|
|
6
6
|
Themeable,
|
|
7
7
|
EmotionCanvasTheme,
|
|
8
8
|
createComponent,
|
|
9
|
+
styled,
|
|
10
|
+
StyledType,
|
|
9
11
|
} from '@workday/canvas-kit-react/common';
|
|
10
|
-
import {SystemIcon} from '@workday/canvas-kit-react/icon';
|
|
11
12
|
import {ButtonColors} from './types';
|
|
12
|
-
import {
|
|
13
|
+
import {BaseButton} from './BaseButton';
|
|
13
14
|
import {chevronDownSmallIcon} from '@workday/canvas-system-icons-web';
|
|
14
15
|
import {ToolbarIconButtonProps} from './ToolbarIconButton';
|
|
15
16
|
|
|
@@ -17,7 +18,7 @@ export interface ToolbarDropdownButtonProps
|
|
|
17
18
|
extends Omit<ToolbarIconButtonProps, 'toggled' | 'onToggleChange'>,
|
|
18
19
|
Themeable {}
|
|
19
20
|
|
|
20
|
-
const
|
|
21
|
+
const StyledToolbarDropdownButton = styled(BaseButton)<StyledType & ToolbarDropdownButtonProps>({
|
|
21
22
|
padding: space.zero,
|
|
22
23
|
minWidth: space.l,
|
|
23
24
|
width: 'auto',
|
|
@@ -37,7 +38,7 @@ const containerStyles = {
|
|
|
37
38
|
marginRight: 0,
|
|
38
39
|
width: 18, // decrease the space between a custom icon and the chevron per design
|
|
39
40
|
},
|
|
40
|
-
};
|
|
41
|
+
});
|
|
41
42
|
|
|
42
43
|
export const ToolbarDropdownButton = createComponent('button')({
|
|
43
44
|
displayName: 'ToolbarDropdownButton',
|
|
@@ -55,28 +56,27 @@ export const ToolbarDropdownButton = createComponent('button')({
|
|
|
55
56
|
Element
|
|
56
57
|
) => {
|
|
57
58
|
return (
|
|
58
|
-
<
|
|
59
|
+
<StyledToolbarDropdownButton
|
|
59
60
|
ref={ref}
|
|
60
61
|
as={Element}
|
|
61
62
|
colors={getToolbarDropdownButtonColors(theme)}
|
|
62
|
-
extraStyles={containerStyles}
|
|
63
63
|
{...elemProps}
|
|
64
64
|
>
|
|
65
65
|
{icon ? (
|
|
66
|
-
<
|
|
66
|
+
<BaseButton.Icon
|
|
67
67
|
className={'wdc-toolbar-dropdown-btn-custom-icon'}
|
|
68
68
|
icon={icon}
|
|
69
|
-
|
|
69
|
+
shouldMirrorIcon={shouldMirrorIcon}
|
|
70
70
|
/>
|
|
71
71
|
) : (
|
|
72
72
|
children
|
|
73
73
|
)}
|
|
74
|
-
<
|
|
74
|
+
<BaseButton.Icon
|
|
75
75
|
className={'wdc-toolbar-dropdown-btn-arrow'}
|
|
76
76
|
icon={chevronDownSmallIcon}
|
|
77
|
-
|
|
77
|
+
shouldMirrorIcon={shouldMirrorIcon}
|
|
78
78
|
/>
|
|
79
|
-
</
|
|
79
|
+
</StyledToolbarDropdownButton>
|
|
80
80
|
);
|
|
81
81
|
},
|
|
82
82
|
});
|
|
@@ -102,6 +102,7 @@ const getToolbarDropdownButtonColors = (theme: EmotionCanvasTheme): ButtonColors
|
|
|
102
102
|
disabled: {
|
|
103
103
|
icon: colors.soap600,
|
|
104
104
|
background: 'transparent',
|
|
105
|
+
opacity: '1',
|
|
105
106
|
},
|
|
106
107
|
};
|
|
107
108
|
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {colors, space
|
|
2
|
+
import {borderRadius, colors, space} from '@workday/canvas-kit-react/tokens';
|
|
3
3
|
import {
|
|
4
4
|
focusRing,
|
|
5
5
|
useTheme,
|
|
6
6
|
Themeable,
|
|
7
7
|
EmotionCanvasTheme,
|
|
8
8
|
createComponent,
|
|
9
|
+
styled,
|
|
10
|
+
StyledType,
|
|
9
11
|
} from '@workday/canvas-kit-react/common';
|
|
10
|
-
import {SystemIcon} from '@workday/canvas-kit-react/icon';
|
|
11
12
|
import {ButtonColors} from './types';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
13
|
+
import {BaseButton} from './BaseButton';
|
|
14
|
+
import {TertiaryButtonProps} from './TertiaryButton';
|
|
14
15
|
|
|
15
16
|
export interface ToolbarIconButtonProps
|
|
16
|
-
extends Omit<
|
|
17
|
-
Themeable {
|
|
17
|
+
extends Omit<TertiaryButtonProps, 'size' | 'variant'>,
|
|
18
|
+
Themeable {
|
|
19
|
+
onToggleChange?: (toggled: boolean | undefined) => void;
|
|
20
|
+
toggled?: boolean;
|
|
21
|
+
shouldMirrorIcon?: boolean;
|
|
22
|
+
}
|
|
18
23
|
|
|
19
|
-
const
|
|
20
|
-
padding: 0,
|
|
21
|
-
minWidth: space.l,
|
|
22
|
-
width: space.l,
|
|
23
|
-
height: space.l,
|
|
24
|
-
borderRadius: borderRadius.m,
|
|
24
|
+
const StyledToolbarIconButton = styled(BaseButton)<StyledType & ToolbarIconButtonProps>({
|
|
25
25
|
['& .wd-icon']: {
|
|
26
26
|
display: 'inline-block',
|
|
27
27
|
verticalAlign: 'middle',
|
|
28
28
|
width: 20,
|
|
29
29
|
height: 20,
|
|
30
30
|
},
|
|
31
|
-
};
|
|
31
|
+
});
|
|
32
32
|
|
|
33
33
|
export const ToolbarIconButton = createComponent('button')({
|
|
34
34
|
displayName: 'ToolbarIconButton',
|
|
@@ -61,18 +61,22 @@ export const ToolbarIconButton = createComponent('button')({
|
|
|
61
61
|
}, [toggled, onToggleChange]);
|
|
62
62
|
|
|
63
63
|
return (
|
|
64
|
-
<
|
|
64
|
+
<StyledToolbarIconButton
|
|
65
65
|
ref={ref}
|
|
66
66
|
as={Element}
|
|
67
67
|
colors={getToolbarIconButtonColors(theme, toggled)}
|
|
68
68
|
size={'small'}
|
|
69
69
|
fillIcon={toggled}
|
|
70
|
-
extraStyles={containerStyles}
|
|
71
70
|
aria-pressed={toggled}
|
|
71
|
+
padding="zero"
|
|
72
|
+
minWidth={space.l}
|
|
73
|
+
width={space.l}
|
|
74
|
+
height={space.l}
|
|
75
|
+
borderRadius={borderRadius.m}
|
|
72
76
|
{...elemProps}
|
|
73
77
|
>
|
|
74
|
-
{icon ? <
|
|
75
|
-
</
|
|
78
|
+
{icon ? <BaseButton.Icon icon={icon} shouldMirrorIcon={shouldMirrorIcon} /> : children}
|
|
79
|
+
</StyledToolbarIconButton>
|
|
76
80
|
);
|
|
77
81
|
},
|
|
78
82
|
});
|
|
@@ -104,6 +108,7 @@ const getToolbarIconButtonColors = (theme: EmotionCanvasTheme, toggled?: boolean
|
|
|
104
108
|
disabled: {
|
|
105
109
|
icon: toggled ? themePrimary.light : colors.soap600,
|
|
106
110
|
background: toggled ? themePrimary.lightest : 'transparent',
|
|
111
|
+
opacity: '1',
|
|
107
112
|
},
|
|
108
113
|
};
|
|
109
114
|
};
|
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {styled, createComponent, StyledType} from '@workday/canvas-kit-react/common';
|
|
3
|
+
import {Box, BoxProps} from '@workday/canvas-kit-react/layout';
|
|
2
4
|
|
|
3
|
-
export
|
|
5
|
+
export interface ButtonLabelProps extends BoxProps {}
|
|
6
|
+
|
|
7
|
+
const StyledButtonLabel = styled(Box.as('span'))<StyledType>({
|
|
4
8
|
position: 'relative', // Fixes an IE issue with text within button moving on click
|
|
5
9
|
textOverflow: 'ellipsis',
|
|
6
10
|
overflow: 'hidden',
|
|
7
11
|
whiteSpace: 'nowrap',
|
|
8
12
|
});
|
|
13
|
+
|
|
14
|
+
export const ButtonLabel = createComponent('span')({
|
|
15
|
+
displayName: 'ButtonLabel',
|
|
16
|
+
Component: ({children, ...elemProps}: ButtonLabelProps, ref, Element) => {
|
|
17
|
+
return (
|
|
18
|
+
<StyledButtonLabel as={Element} ref={ref} {...elemProps}>
|
|
19
|
+
{children}
|
|
20
|
+
</StyledButtonLabel>
|
|
21
|
+
);
|
|
22
|
+
},
|
|
23
|
+
});
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import {CanvasSystemIcon} from '@workday/design-assets-types';
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import {ButtonSizes, IconPositions} from '../types';
|
|
4
|
+
import {createComponent} from '@workday/canvas-kit-react/common';
|
|
5
5
|
import {SystemIcon} from '@workday/canvas-kit-react/icon';
|
|
6
|
-
import {
|
|
6
|
+
import {BoxProps} from '@workday/canvas-kit-react/layout';
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
export interface ButtonLabelIconProps {
|
|
8
|
+
export interface ButtonLabelIconProps extends BoxProps {
|
|
10
9
|
/**
|
|
11
10
|
* There are four button sizes: `extraSmall`, `small`, `medium`, and `large`.
|
|
12
11
|
*
|
|
@@ -21,7 +20,7 @@ export interface ButtonLabelIconProps {
|
|
|
21
20
|
/**
|
|
22
21
|
* Button icon positions can either be `left` or `right`.
|
|
23
22
|
* If no value is provided, it defaults to `left`.
|
|
24
|
-
* @default '
|
|
23
|
+
* @default 'start'
|
|
25
24
|
*/
|
|
26
25
|
iconPosition?: IconPositions;
|
|
27
26
|
/**
|
|
@@ -38,52 +37,29 @@ const iconSizes: Record<ButtonSizes, number> = {
|
|
|
38
37
|
large: 24,
|
|
39
38
|
};
|
|
40
39
|
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
return {
|
|
52
|
-
marginLeft: `-${balancingMargin} !important`,
|
|
53
|
-
marginRight: undefined,
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
const ButtonLabelIconStyled = styled('span', {
|
|
59
|
-
shouldForwardProp: prop => isPropValid(prop) && prop !== 'size',
|
|
60
|
-
})<ButtonLabelIconProps>(
|
|
61
|
-
{
|
|
62
|
-
display: 'inline-block',
|
|
63
|
-
},
|
|
64
|
-
({size}) => ({
|
|
65
|
-
width: size ? iconSizes[size] : iconSizes.medium,
|
|
66
|
-
height: size ? iconSizes[size] : iconSizes.medium,
|
|
67
|
-
}),
|
|
68
|
-
getIconPositionStyles
|
|
69
|
-
);
|
|
70
|
-
|
|
71
|
-
export const ButtonLabelIcon = ({
|
|
72
|
-
icon,
|
|
73
|
-
size,
|
|
74
|
-
iconPosition,
|
|
75
|
-
shouldMirrorIcon = false,
|
|
76
|
-
...elemProps
|
|
77
|
-
}: ButtonLabelIconProps) => {
|
|
78
|
-
if (icon === undefined) {
|
|
79
|
-
return null;
|
|
80
|
-
}
|
|
40
|
+
export const ButtonLabelIcon = createComponent('span')({
|
|
41
|
+
displayName: 'ButtonLabelIconNew',
|
|
42
|
+
Component: (
|
|
43
|
+
{icon, size = 'medium', shouldMirrorIcon = false, ...elemProps}: ButtonLabelIconProps,
|
|
44
|
+
ref,
|
|
45
|
+
Element
|
|
46
|
+
) => {
|
|
47
|
+
if (icon === undefined) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
81
50
|
|
|
82
|
-
|
|
51
|
+
const iconSize = iconSizes[size];
|
|
83
52
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
53
|
+
return (
|
|
54
|
+
<SystemIcon
|
|
55
|
+
size={iconSize}
|
|
56
|
+
icon={icon}
|
|
57
|
+
shouldMirror={shouldMirrorIcon}
|
|
58
|
+
width={size ? iconSizes[size] : iconSizes.large}
|
|
59
|
+
height={size ? iconSizes[size] : iconSizes.large}
|
|
60
|
+
display="inline-block"
|
|
61
|
+
{...elemProps}
|
|
62
|
+
/>
|
|
63
|
+
);
|
|
64
|
+
},
|
|
65
|
+
});
|
package/button/lib/types.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface ButtonStateColors {
|
|
|
9
9
|
icon?: string;
|
|
10
10
|
iconFill?: boolean;
|
|
11
11
|
label?: string;
|
|
12
|
-
|
|
12
|
+
opacity?: string;
|
|
13
13
|
}
|
|
14
14
|
export interface ButtonColors {
|
|
15
15
|
default: ButtonStateColors;
|
|
@@ -30,4 +30,4 @@ export interface ButtonColors {
|
|
|
30
30
|
export type ButtonSizes = 'extraSmall' | 'small' | 'medium' | 'large';
|
|
31
31
|
// TODO: Remove TertiaryButtonSizes in favor of button sizes when we add Tertiary large
|
|
32
32
|
export type TertiaryButtonSizes = 'extraSmall' | 'small' | 'medium';
|
|
33
|
-
export type IconPositions = '
|
|
33
|
+
export type IconPositions = 'start' | 'end';
|
package/card/lib/Card.tsx
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const CDN_URI = '//design.workday.com/images/';
|
|
2
2
|
|
|
3
|
-
export const dubLogoBlue = `<img src="${CDN_URI}ck-dub-logo-blue.svg">`;
|
|
3
|
+
export const dubLogoBlue = `<img src="${CDN_URI}ck-dub-logo-blue.svg" alt="">`;
|
|
4
4
|
|
|
5
|
-
export const dubLogoWhite = `<img src="${CDN_URI}ck-dub-logo-white.svg">`;
|
|
5
|
+
export const dubLogoWhite = `<img src="${CDN_URI}ck-dub-logo-white.svg" alt="">`;
|
|
6
6
|
|
|
7
|
-
export const wdayLogoBlue = `<img src="${CDN_URI}ck-wday-logo-blue.svg">`;
|
|
7
|
+
export const wdayLogoBlue = `<img src="${CDN_URI}ck-wday-logo-blue.svg" alt="">`;
|
|
8
8
|
|
|
9
|
-
export const wdayLogoWhite = `<img src="${CDN_URI}ck-wday-logo-white.svg">`;
|
|
9
|
+
export const wdayLogoWhite = `<img src="${CDN_URI}ck-wday-logo-white.svg" alt="">`;
|
|
10
10
|
|
|
11
|
-
export const miniWdayLogoBlue = `<img src="${CDN_URI}ck-mini-wday-logo-blue.svg">`;
|
|
11
|
+
export const miniWdayLogoBlue = `<img src="${CDN_URI}ck-mini-wday-logo-blue.svg" alt="">`;
|
|
@@ -16,11 +16,12 @@ export const convertToStaticStates = (obj?: CSSProperties): CSSProperties | unde
|
|
|
16
16
|
const newKey = key
|
|
17
17
|
.replace(/^:/, '&:') // handle shorthand like ":focus"
|
|
18
18
|
.replace(/,(\s+):/g, ',$1&:') // handle selectors like ":focus, :hover"
|
|
19
|
-
.replace(/:(focus|hover|active)/g, '.$1')
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
.replace(/:(focus|hover|active)/g, '.$1');
|
|
20
|
+
|
|
21
|
+
// Remove any selectors that use data-whatinput. Leaving them in would cause focus rings to disappear when the user clicks with a mouse.
|
|
22
|
+
if (/data-whatinput/.test(key)) {
|
|
23
|
+
return result;
|
|
24
|
+
}
|
|
24
25
|
const value =
|
|
25
26
|
typeof obj[key] === 'object' ? convertToStaticStates(obj[key] as CSSProperties) : obj[key];
|
|
26
27
|
const newObj = {...result, [newKey]: value};
|
|
@@ -42,7 +42,7 @@ exports.BannerIcon = common_1.createComponent('span')({
|
|
|
42
42
|
var _b = _a.icon, icon = _b === void 0 ? canvas_system_icons_web_1.exclamationTriangleIcon : _b, model = _a.model, elemProps = __rest(_a, ["icon", "model"]);
|
|
43
43
|
var localModel = common_1.useModelContext(Banner_1.BannerModelContext, model);
|
|
44
44
|
// SystemIcon is still a class based component so we need to set ref manually.
|
|
45
|
-
var _c = hooks_1.useBannerIcon(localModel, elemProps
|
|
46
|
-
return react_1.default.createElement(StyledBannerIcon, __assign({ icon: icon !== null && icon !== void 0 ? icon : defaultIcon,
|
|
45
|
+
var _c = hooks_1.useBannerIcon(localModel, elemProps), defaultIcon = _c.icon, props = __rest(_c, ["icon"]);
|
|
46
|
+
return react_1.default.createElement(StyledBannerIcon, __assign({ icon: icon !== null && icon !== void 0 ? icon : defaultIcon, ref: ref }, props));
|
|
47
47
|
},
|
|
48
48
|
});
|
|
@@ -3,9 +3,9 @@ export { SecondaryButton, SecondaryButtonProps } from './lib/SecondaryButton';
|
|
|
3
3
|
export { TertiaryButton, TertiaryButtonProps } from './lib/TertiaryButton';
|
|
4
4
|
export { DeleteButton, DeleteButtonProps } from './lib/DeleteButton';
|
|
5
5
|
export { DeprecatedButton as deprecated_Button, DeprecatedButtonProps, } from './lib/deprecated_Button';
|
|
6
|
-
export { IconButton, IconButtonProps } from './lib/IconButton';
|
|
7
6
|
export { ToolbarIconButton, ToolbarIconButtonProps } from './lib/ToolbarIconButton';
|
|
8
7
|
export { ToolbarDropdownButton, ToolbarDropdownButtonProps } from './lib/ToolbarDropdownButton';
|
|
9
8
|
export { Hyperlink, HyperlinkProps } from './lib/Hyperlink';
|
|
9
|
+
export { BaseButton, ButtonContainerProps } from './lib/BaseButton';
|
|
10
10
|
export * from './lib/types';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAC,eAAe,EAAE,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAC,YAAY,EAAE,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,gBAAgB,IAAI,iBAAiB,EACrC,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAC,eAAe,EAAE,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAC,YAAY,EAAE,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,gBAAgB,IAAI,iBAAiB,EACrC,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,iBAAiB,EAAE,sBAAsB,EAAC,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAC,qBAAqB,EAAE,0BAA0B,EAAC,MAAM,6BAA6B,CAAC;AAC9F,OAAO,EAAC,SAAS,EAAE,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAE,oBAAoB,EAAC,MAAM,kBAAkB,CAAC;AAClE,cAAc,aAAa,CAAC"}
|
|
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.
|
|
13
|
+
exports.BaseButton = exports.Hyperlink = exports.ToolbarDropdownButton = exports.ToolbarIconButton = exports.deprecated_Button = exports.DeleteButton = exports.TertiaryButton = exports.SecondaryButton = exports.PrimaryButton = void 0;
|
|
14
14
|
var PrimaryButton_1 = require("./lib/PrimaryButton");
|
|
15
15
|
Object.defineProperty(exports, "PrimaryButton", { enumerable: true, get: function () { return PrimaryButton_1.PrimaryButton; } });
|
|
16
16
|
var SecondaryButton_1 = require("./lib/SecondaryButton");
|
|
@@ -21,12 +21,12 @@ var DeleteButton_1 = require("./lib/DeleteButton");
|
|
|
21
21
|
Object.defineProperty(exports, "DeleteButton", { enumerable: true, get: function () { return DeleteButton_1.DeleteButton; } });
|
|
22
22
|
var deprecated_Button_1 = require("./lib/deprecated_Button");
|
|
23
23
|
Object.defineProperty(exports, "deprecated_Button", { enumerable: true, get: function () { return deprecated_Button_1.DeprecatedButton; } });
|
|
24
|
-
var IconButton_1 = require("./lib/IconButton");
|
|
25
|
-
Object.defineProperty(exports, "IconButton", { enumerable: true, get: function () { return IconButton_1.IconButton; } });
|
|
26
24
|
var ToolbarIconButton_1 = require("./lib/ToolbarIconButton");
|
|
27
25
|
Object.defineProperty(exports, "ToolbarIconButton", { enumerable: true, get: function () { return ToolbarIconButton_1.ToolbarIconButton; } });
|
|
28
26
|
var ToolbarDropdownButton_1 = require("./lib/ToolbarDropdownButton");
|
|
29
27
|
Object.defineProperty(exports, "ToolbarDropdownButton", { enumerable: true, get: function () { return ToolbarDropdownButton_1.ToolbarDropdownButton; } });
|
|
30
28
|
var Hyperlink_1 = require("./lib/Hyperlink");
|
|
31
29
|
Object.defineProperty(exports, "Hyperlink", { enumerable: true, get: function () { return Hyperlink_1.Hyperlink; } });
|
|
30
|
+
var BaseButton_1 = require("./lib/BaseButton");
|
|
31
|
+
Object.defineProperty(exports, "BaseButton", { enumerable: true, get: function () { return BaseButton_1.BaseButton; } });
|
|
32
32
|
__exportStar(require("./lib/types"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { GrowthBehavior } from '@workday/canvas-kit-react/common';
|
|
3
|
+
import { BoxProps } from '@workday/canvas-kit-react/layout';
|
|
4
|
+
import { ButtonColors, ButtonSizes, IconPositions, TertiaryButtonSizes } from './types';
|
|
5
|
+
import { CanvasSystemIcon } from '@workday/design-assets-types';
|
|
6
|
+
export interface ButtonContainerProps extends BoxProps, GrowthBehavior {
|
|
7
|
+
colors?: ButtonColors;
|
|
8
|
+
/**
|
|
9
|
+
* There are four button sizes: `extraSmall`, `small`, `medium`, and `large`.
|
|
10
|
+
* If no size is provided, it will default to `medium`.
|
|
11
|
+
*
|
|
12
|
+
* @default 'medium'
|
|
13
|
+
*/
|
|
14
|
+
size?: ButtonSizes;
|
|
15
|
+
/**
|
|
16
|
+
* The ref to the button that the styled component renders.
|
|
17
|
+
*/
|
|
18
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the icon should received filled (colored background layer) or regular styles.
|
|
21
|
+
* Corresponds to `toggled` in ToolbarIconButton
|
|
22
|
+
*/
|
|
23
|
+
fillIcon?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare const getMinWidthStyles: (children: React.ReactNode, size: ButtonSizes | TertiaryButtonSizes) => "24px" | "32px" | "40px" | "80px" | "auto" | "48px" | "112px" | "96px";
|
|
26
|
+
export declare const getPaddingStyles: (children: React.ReactNode, size: ButtonSizes | TertiaryButtonSizes, icon: CanvasSystemIcon | undefined, iconPosition: IconPositions | undefined) => string | 0;
|
|
27
|
+
export declare const BaseButton: import("../../common").ElementComponent<"button", ButtonContainerProps> & {
|
|
28
|
+
Icon: import("../../common").ElementComponent<"span", import("./parts/ButtonLabelIcon").ButtonLabelIconProps>;
|
|
29
|
+
Label: import("../../common").ElementComponent<"span", import("./parts/ButtonLabel").ButtonLabelProps>;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=BaseButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../button/lib/BaseButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAEL,cAAc,EAMf,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAa,MAAM,kCAAkC,CAAC;AAGtE,OAAO,EAAC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAGtF,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAE9D,MAAM,WAAW,oBAAqB,SAAQ,QAAQ,EAAE,cAAc;IACpE,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAgLD,eAAO,MAAM,iBAAiB,aAClB,MAAM,SAAS,QACnB,WAAW,GAAG,mBAAmB,2EAcxC,CAAC;AAEF,eAAO,MAAM,gBAAgB,aACjB,MAAM,SAAS,QACnB,WAAW,GAAG,mBAAmB,QACjC,gBAAgB,GAAG,SAAS,gBACpB,aAAa,GAAG,SAAS,eAiDxC,CAAC;AAEF,eAAO,MAAM,UAAU;;;CAarB,CAAC"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
+
if (mod && mod.__esModule) return mod;
|
|
27
|
+
var result = {};
|
|
28
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
+
__setModuleDefault(result, mod);
|
|
30
|
+
return result;
|
|
31
|
+
};
|
|
32
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
33
|
+
var t = {};
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
37
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
38
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
39
|
+
t[p[i]] = s[p[i]];
|
|
40
|
+
}
|
|
41
|
+
return t;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
|
+
exports.BaseButton = exports.getPaddingStyles = exports.getMinWidthStyles = void 0;
|
|
45
|
+
var React = __importStar(require("react"));
|
|
46
|
+
var ButtonLabelIcon_1 = require("./parts/ButtonLabelIcon");
|
|
47
|
+
var ButtonLabel_1 = require("./parts/ButtonLabel");
|
|
48
|
+
var common_1 = require("@workday/canvas-kit-react/common");
|
|
49
|
+
var layout_1 = require("@workday/canvas-kit-react/layout");
|
|
50
|
+
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
51
|
+
function getIconColorSelectors(_a, color, fill) {
|
|
52
|
+
var themePrimary = _a.canvas.palette.primary;
|
|
53
|
+
return {
|
|
54
|
+
'&:focus span, &:hover span, & span': {
|
|
55
|
+
'.wd-icon-fill, .wd-icon-accent, .wd-icon-accent2': {
|
|
56
|
+
fill: color,
|
|
57
|
+
},
|
|
58
|
+
'.wd-icon-background': {
|
|
59
|
+
fill: fill ? color : undefined,
|
|
60
|
+
},
|
|
61
|
+
'.wd-icon-background ~ .wd-icon-accent, .wd-icon-background ~ .wd-icon-accent2': {
|
|
62
|
+
fill: fill
|
|
63
|
+
? color === themePrimary.contrast
|
|
64
|
+
? themePrimary.main
|
|
65
|
+
: themePrimary.contrast
|
|
66
|
+
: color,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
var ButtonContainer = common_1.styled('button')(__assign(__assign({}, tokens_1.type.levels.subtext.large), { cursor: 'pointer', display: 'inline-flex', alignItems: 'center', justifyContent: 'center', boxSizing: 'border-box', boxShadow: 'none', outline: 'none', fontWeight: tokens_1.type.properties.fontWeights.bold, lineHeight: 'normal', whiteSpace: 'nowrap', WebkitFontSmoothing: 'antialiased', MozOsxFontSmoothing: 'grayscale', borderRadius: tokens_1.borderRadius.circle, position: 'relative', verticalAlign: 'middle', overflow: 'hidden', border: '1px solid transparent', background: 'transparent', transition: 'box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear', '&:disabled, &:disabled:active': {
|
|
72
|
+
cursor: 'default',
|
|
73
|
+
boxShadow: 'none',
|
|
74
|
+
opacity: 0.4,
|
|
75
|
+
}, '&:hover:active': { transitionDuration: '40ms' }, '& > *:first-of-type': {
|
|
76
|
+
marginLeft: '0',
|
|
77
|
+
}, '& > *:last-of-type': {
|
|
78
|
+
marginRight: 0,
|
|
79
|
+
} }), function (_a) {
|
|
80
|
+
var size = _a.size;
|
|
81
|
+
switch (size) {
|
|
82
|
+
case 'large':
|
|
83
|
+
return __assign(__assign({}, tokens_1.type.levels.body.small), { fontWeight: tokens_1.type.properties.fontWeights.bold, height: '48px', '& > * ': {
|
|
84
|
+
margin: "0 " + tokens_1.spaceNumbers.xxs / 2 + "px",
|
|
85
|
+
} });
|
|
86
|
+
case 'medium':
|
|
87
|
+
default:
|
|
88
|
+
return {
|
|
89
|
+
height: tokens_1.space.xl,
|
|
90
|
+
'& > * ': {
|
|
91
|
+
margin: "0 " + tokens_1.spaceNumbers.xxs / 2 + "px",
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
case 'small':
|
|
95
|
+
return {
|
|
96
|
+
height: tokens_1.space.l,
|
|
97
|
+
'& > * ': {
|
|
98
|
+
margin: "0 " + tokens_1.spaceNumbers.xxxs / 2 + "px",
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
case 'extraSmall':
|
|
102
|
+
return __assign(__assign({}, tokens_1.type.levels.subtext.medium), { fontWeight: tokens_1.type.properties.fontWeights.bold, height: tokens_1.space.m, '& > * ': {
|
|
103
|
+
margin: "0 " + tokens_1.spaceNumbers.xxxs / 2 + "px",
|
|
104
|
+
} });
|
|
105
|
+
}
|
|
106
|
+
}, function (_a) {
|
|
107
|
+
var grow = _a.grow;
|
|
108
|
+
return grow && { width: '100%', maxWidth: '100%' };
|
|
109
|
+
}, function (_a) {
|
|
110
|
+
var colors = _a.colors, fillIcon = _a.fillIcon, theme = _a.theme;
|
|
111
|
+
if (!colors) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
var baseStyles = __assign({ backgroundColor: colors.default.background, borderColor: colors.default.border, color: colors.default.label }, (colors.default.icon && __assign({ '.wd-icon-fill, .wd-icon-accent, .wd-icon-accent2, .wd-icon-background': {
|
|
115
|
+
transition: 'fill 120ms ease-in',
|
|
116
|
+
} }, getIconColorSelectors(theme, colors.default.icon, fillIcon))));
|
|
117
|
+
var hoverStyles = {
|
|
118
|
+
'&:hover': __assign({ backgroundColor: colors.hover.background, borderColor: colors.hover.border, color: colors.hover.label }, (colors.hover.icon && getIconColorSelectors(theme, colors.hover.icon, fillIcon))),
|
|
119
|
+
};
|
|
120
|
+
var activeStyles = {
|
|
121
|
+
'&:active, &:focus:active, &:hover:active': __assign({ backgroundColor: colors.active.background, borderColor: colors.active.border, color: colors.active.label }, (colors.active.icon && getIconColorSelectors(theme, colors.active.icon, fillIcon))),
|
|
122
|
+
};
|
|
123
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, baseStyles), { '&:focus': __assign(__assign({ backgroundColor: colors.focus.background, borderColor: colors.focus.border, color: colors.focus.label }, (colors.focus.focusRing || common_1.focusRing({ separation: 2 }, theme))), (colors.focus.icon && getIconColorSelectors(theme, colors.focus.icon, fillIcon))) }), activeStyles), hoverStyles), { '&:disabled, &:active:disabled, &:focus:disabled, &:hover:disabled': __assign({ backgroundColor: colors.disabled.background, borderColor: colors.disabled.border, color: colors.disabled.label, opacity: colors.disabled.opacity }, (colors.disabled.icon && getIconColorSelectors(theme, colors.disabled.icon, fillIcon))) }), common_1.mouseFocusBehavior({
|
|
124
|
+
'&:focus': __assign(__assign(__assign(__assign({}, baseStyles), { outline: 'none', boxShadow: 'none', animation: 'none' }), hoverStyles), activeStyles),
|
|
125
|
+
}));
|
|
126
|
+
}, layout_1.boxStyleFn);
|
|
127
|
+
var getMinWidthStyles = function (children, size) {
|
|
128
|
+
switch (size) {
|
|
129
|
+
case 'large':
|
|
130
|
+
return children ? '112px' : '48px';
|
|
131
|
+
case 'medium':
|
|
132
|
+
return children ? '96px' : tokens_1.space.xl;
|
|
133
|
+
case 'small':
|
|
134
|
+
return children ? tokens_1.space.xxxl : tokens_1.space.l;
|
|
135
|
+
case 'extraSmall':
|
|
136
|
+
return children ? 'auto' : tokens_1.space.m;
|
|
137
|
+
default:
|
|
138
|
+
return children ? '96px' : tokens_1.space.xl;
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
exports.getMinWidthStyles = getMinWidthStyles;
|
|
142
|
+
var getPaddingStyles = function (children, size, icon, iconPosition) {
|
|
143
|
+
// In order to calculate the correct padding, we need to know its children
|
|
144
|
+
// and what side the icon is on and if there's an icon provided
|
|
145
|
+
if (!children) {
|
|
146
|
+
// icon buttons do not have any padding
|
|
147
|
+
return 0;
|
|
148
|
+
}
|
|
149
|
+
// If there are children AND an icon
|
|
150
|
+
// 1. We check what side the icon is in
|
|
151
|
+
// 2. Adjust padding to visually center the icon and text
|
|
152
|
+
// If there is children (most likely just text)
|
|
153
|
+
// 1. We keep the padding the same on both side
|
|
154
|
+
switch (size) {
|
|
155
|
+
case 'large':
|
|
156
|
+
return icon
|
|
157
|
+
? iconPosition === 'start'
|
|
158
|
+
? "0 " + tokens_1.space.l + " 0 " + tokens_1.space.m
|
|
159
|
+
: "0 " + tokens_1.space.m + " 0 " + tokens_1.space.l
|
|
160
|
+
: "0 " + tokens_1.space.l;
|
|
161
|
+
case 'medium':
|
|
162
|
+
return icon
|
|
163
|
+
? iconPosition === 'start'
|
|
164
|
+
? "0 " + tokens_1.space.m + " 0 20px"
|
|
165
|
+
: "0 20px 0 " + tokens_1.space.m
|
|
166
|
+
: "0 " + tokens_1.space.m;
|
|
167
|
+
case 'small':
|
|
168
|
+
return icon
|
|
169
|
+
? iconPosition === 'start'
|
|
170
|
+
? "0 " + tokens_1.space.s + " 0 " + tokens_1.space.xs
|
|
171
|
+
: "0 " + tokens_1.space.xs + " 0 " + tokens_1.space.s
|
|
172
|
+
: "0 " + tokens_1.space.s;
|
|
173
|
+
case 'extraSmall':
|
|
174
|
+
return icon
|
|
175
|
+
? iconPosition === 'start'
|
|
176
|
+
? "0 " + tokens_1.space.xs + " 0 " + tokens_1.space.xxs
|
|
177
|
+
: "0 " + tokens_1.space.xxs + " 0 " + tokens_1.space.xs
|
|
178
|
+
: "0 " + tokens_1.space.xs;
|
|
179
|
+
default:
|
|
180
|
+
return icon
|
|
181
|
+
? iconPosition === 'start'
|
|
182
|
+
? "0 " + tokens_1.space.m + " 0 20px"
|
|
183
|
+
: "0 20px 0 " + tokens_1.space.m
|
|
184
|
+
: "0 " + tokens_1.space.m;
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
exports.getPaddingStyles = getPaddingStyles;
|
|
188
|
+
exports.BaseButton = common_1.createComponent('button')({
|
|
189
|
+
displayName: 'Button',
|
|
190
|
+
Component: function (_a, ref, Element) {
|
|
191
|
+
var children = _a.children, elemProps = __rest(_a, ["children"]);
|
|
192
|
+
return (React.createElement(ButtonContainer, __assign({ as: Element, ref: ref }, elemProps), children));
|
|
193
|
+
},
|
|
194
|
+
subComponents: {
|
|
195
|
+
Icon: ButtonLabelIcon_1.ButtonLabelIcon,
|
|
196
|
+
Label: ButtonLabel_1.ButtonLabel,
|
|
197
|
+
},
|
|
198
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteButton.d.ts","sourceRoot":"","sources":["../../../../button/lib/DeleteButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACL,cAAc,EAEd,SAAS,EAGV,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SAAQ,SAAS,EAAE,cAAc;IAClE;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;
|
|
1
|
+
{"version":3,"file":"DeleteButton.d.ts","sourceRoot":"","sources":["../../../../button/lib/DeleteButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACL,cAAc,EAEd,SAAS,EAGV,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SAAQ,SAAS,EAAE,cAAc;IAClE;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AA0BD,eAAO,MAAM,YAAY,sEA0BvB,CAAC"}
|