@workday/canvas-kit-react 7.0.0-alpha.0-next.5 → 7.0.0-alpha.78-next.6
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/action-bar/lib/ActionBar.tsx +1 -1
- package/badge/README.md +2 -3
- package/banner/lib/Banner.tsx +1 -1
- package/banner/lib/BannerActionText.tsx +1 -1
- package/banner/lib/BannerIcon.tsx +2 -2
- package/banner/lib/BannerLabel.tsx +1 -1
- 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 +44 -66
- 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/card/lib/CardBody.tsx +1 -1
- package/card/lib/CardHeading.tsx +1 -1
- package/common/lib/parts/_brand-assets.ts +5 -5
- package/common/lib/utils/StaticStates.tsx +6 -5
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +1 -1
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBar.js +2 -2
- package/dist/commonjs/banner/lib/Banner.d.ts +1 -1
- package/dist/commonjs/banner/lib/Banner.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/Banner.js +1 -1
- package/dist/commonjs/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/commonjs/banner/lib/BannerActionText.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/BannerActionText.js +2 -2
- package/dist/commonjs/banner/lib/BannerIcon.js +2 -2
- package/dist/commonjs/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/commonjs/banner/lib/BannerLabel.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/BannerLabel.js +1 -1
- 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 +16 -38
- 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.d.ts +2 -2
- package/dist/commonjs/card/lib/Card.d.ts.map +1 -1
- package/dist/commonjs/card/lib/Card.js +2 -2
- package/dist/commonjs/card/lib/CardBody.d.ts +1 -1
- package/dist/commonjs/card/lib/CardBody.d.ts.map +1 -1
- package/dist/commonjs/card/lib/CardBody.js +2 -2
- package/dist/commonjs/card/lib/CardHeading.d.ts +1 -1
- package/dist/commonjs/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/commonjs/card/lib/CardHeading.js +2 -2
- 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/dialog/lib/Dialog.d.ts +1 -1
- 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/index.d.ts +0 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +0 -2
- package/dist/commonjs/layout/index.d.ts +12 -2
- package/dist/commonjs/layout/index.d.ts.map +1 -1
- package/dist/commonjs/layout/index.js +8 -2
- package/dist/commonjs/layout/lib/Box.d.ts +48 -0
- package/dist/commonjs/layout/lib/Box.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/Box.js +139 -0
- package/dist/commonjs/layout/lib/Flex.d.ts +26 -0
- package/dist/commonjs/layout/lib/Flex.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/Flex.js +83 -0
- package/dist/commonjs/layout/lib/Stack.d.ts +27 -0
- package/dist/commonjs/layout/lib/Stack.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/Stack.js +99 -0
- package/dist/commonjs/layout/lib/utils/border.d.ts +103 -0
- package/dist/commonjs/layout/lib/utils/border.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/border.js +153 -0
- package/dist/commonjs/layout/lib/utils/color.d.ts +26 -0
- package/dist/commonjs/layout/lib/utils/color.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/color.js +57 -0
- package/dist/commonjs/layout/lib/utils/depth.d.ts +22 -0
- package/dist/commonjs/layout/lib/utils/depth.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/depth.js +29 -0
- package/dist/commonjs/layout/lib/utils/flex.d.ts +36 -0
- package/dist/commonjs/layout/lib/utils/flex.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/flex.js +38 -0
- package/dist/commonjs/layout/lib/utils/flexItem.d.ts +33 -0
- package/dist/commonjs/layout/lib/utils/flexItem.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/flexItem.js +39 -0
- package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts +3 -0
- package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts.map +1 -0
- package/dist/commonjs/{button/lib/parts/ButtonLabelData.js → layout/lib/utils/getValidChildren.js} +7 -23
- package/dist/commonjs/layout/lib/utils/layout.d.ts +43 -0
- package/dist/commonjs/layout/lib/utils/layout.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/layout.js +43 -0
- package/dist/commonjs/layout/lib/utils/other.d.ts +5 -0
- package/dist/commonjs/layout/lib/utils/other.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/other.js +19 -0
- package/dist/commonjs/layout/lib/utils/position.d.ts +41 -0
- package/dist/commonjs/layout/lib/utils/position.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/position.js +78 -0
- package/dist/commonjs/layout/lib/utils/space.d.ts +64 -0
- package/dist/commonjs/layout/lib/utils/space.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/space.js +161 -0
- package/dist/commonjs/layout/lib/utils/stack.d.ts +26 -0
- package/dist/commonjs/layout/lib/utils/stack.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/stack.js +55 -0
- package/dist/commonjs/layout/lib/utils/types.d.ts +20 -0
- package/dist/commonjs/layout/lib/utils/types.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/types.js +2 -0
- package/dist/commonjs/modal/lib/Modal.d.ts +1 -1
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +2 -2
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.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 +5 -5
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.js +1 -1
- 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/PageList.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageList.js +1 -1
- 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/pagination/lib/Pagination/common/List.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/List.js +1 -1
- package/dist/commonjs/popup/lib/Popup.d.ts +1 -1
- package/dist/commonjs/popup/lib/PopupBody.d.ts +1 -1
- package/dist/commonjs/popup/lib/PopupBody.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCard.d.ts +1 -1
- package/dist/commonjs/popup/lib/PopupCard.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 +3 -5
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.js +2 -2
- package/dist/commonjs/tabs/lib/TabsList.d.ts +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.js +2 -2
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.js +2 -2
- 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/tabs/lib/menu/MenuItem.js +2 -2
- package/dist/commonjs/tabs/lib/menu/MenuList.d.ts +1 -1
- package/dist/commonjs/tabs/lib/menu/MenuList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/menu/MenuList.js +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/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/commonjs/tooltip/lib/useTooltip.d.ts +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.js +1 -1
- package/dist/es6/banner/lib/Banner.d.ts +1 -1
- package/dist/es6/banner/lib/Banner.d.ts.map +1 -1
- package/dist/es6/banner/lib/Banner.js +1 -1
- package/dist/es6/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/es6/banner/lib/BannerActionText.d.ts.map +1 -1
- package/dist/es6/banner/lib/BannerActionText.js +1 -1
- package/dist/es6/banner/lib/BannerIcon.js +2 -2
- package/dist/es6/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/es6/banner/lib/BannerLabel.d.ts.map +1 -1
- package/dist/es6/banner/lib/BannerLabel.js +1 -1
- 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 +16 -38
- 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.d.ts +2 -2
- package/dist/es6/card/lib/Card.d.ts.map +1 -1
- package/dist/es6/card/lib/Card.js +1 -1
- package/dist/es6/card/lib/CardBody.d.ts +1 -1
- package/dist/es6/card/lib/CardBody.d.ts.map +1 -1
- package/dist/es6/card/lib/CardBody.js +1 -1
- package/dist/es6/card/lib/CardHeading.d.ts +1 -1
- package/dist/es6/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/es6/card/lib/CardHeading.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/dialog/lib/Dialog.d.ts +1 -1
- 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/index.d.ts +0 -2
- package/dist/es6/index.d.ts.map +1 -1
- package/dist/es6/index.js +0 -2
- package/dist/es6/layout/index.d.ts +12 -2
- package/dist/es6/layout/index.d.ts.map +1 -1
- package/dist/es6/layout/index.js +8 -2
- package/dist/es6/layout/lib/Box.d.ts +48 -0
- package/dist/es6/layout/lib/Box.d.ts.map +1 -0
- package/dist/es6/layout/lib/Box.js +113 -0
- package/dist/es6/layout/lib/Flex.d.ts +26 -0
- package/dist/es6/layout/lib/Flex.d.ts.map +1 -0
- package/dist/es6/layout/lib/Flex.js +58 -0
- package/dist/es6/layout/lib/Stack.d.ts +27 -0
- package/dist/es6/layout/lib/Stack.d.ts.map +1 -0
- package/dist/es6/layout/lib/Stack.js +74 -0
- package/dist/es6/layout/lib/utils/border.d.ts +103 -0
- package/dist/es6/layout/lib/utils/border.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/border.js +149 -0
- package/dist/es6/layout/lib/utils/color.d.ts +26 -0
- package/dist/es6/layout/lib/utils/color.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/color.js +53 -0
- package/dist/es6/layout/lib/utils/depth.d.ts +22 -0
- package/dist/es6/layout/lib/utils/depth.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/depth.js +25 -0
- package/dist/es6/layout/lib/utils/flex.d.ts +36 -0
- package/dist/es6/layout/lib/utils/flex.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/flex.js +34 -0
- package/dist/es6/layout/lib/utils/flexItem.d.ts +33 -0
- package/dist/es6/layout/lib/utils/flexItem.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/flexItem.js +35 -0
- package/dist/es6/layout/lib/utils/getValidChildren.d.ts +3 -0
- package/dist/es6/layout/lib/utils/getValidChildren.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/getValidChildren.js +6 -0
- package/dist/es6/layout/lib/utils/layout.d.ts +43 -0
- package/dist/es6/layout/lib/utils/layout.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/layout.js +39 -0
- package/dist/es6/layout/lib/utils/other.d.ts +5 -0
- package/dist/es6/layout/lib/utils/other.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/other.js +15 -0
- package/dist/es6/layout/lib/utils/position.d.ts +41 -0
- package/dist/es6/layout/lib/utils/position.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/position.js +74 -0
- package/dist/es6/layout/lib/utils/space.d.ts +64 -0
- package/dist/es6/layout/lib/utils/space.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/space.js +157 -0
- package/dist/es6/layout/lib/utils/stack.d.ts +26 -0
- package/dist/es6/layout/lib/utils/stack.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/stack.js +51 -0
- package/dist/es6/layout/lib/utils/types.d.ts +20 -0
- package/dist/es6/layout/lib/utils/types.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/types.js +1 -0
- package/dist/es6/modal/lib/Modal.d.ts +1 -1
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.d.ts +1 -1
- package/dist/es6/modal/lib/ModalOverlay.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +1 -1
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.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 +6 -6
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.js +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.js +1 -1
- 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/PageList.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageList.js +1 -1
- 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/pagination/lib/Pagination/common/List.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/List.js +1 -1
- package/dist/es6/popup/lib/Popup.d.ts +1 -1
- package/dist/es6/popup/lib/PopupBody.d.ts +1 -1
- package/dist/es6/popup/lib/PopupBody.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCard.d.ts +1 -1
- package/dist/es6/popup/lib/PopupCard.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 +3 -5
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.js +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.js +2 -2
- package/dist/es6/tabs/lib/TabsPanel.d.ts +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.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/tabs/lib/menu/MenuItem.js +1 -1
- package/dist/es6/tabs/lib/menu/MenuList.d.ts +1 -1
- package/dist/es6/tabs/lib/menu/MenuList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/menu/MenuList.js +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/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/index.ts +0 -2
- package/layout/LICENSE +1 -0
- package/layout/README.md +31 -0
- package/layout/index.ts +13 -3
- package/layout/lib/Box.tsx +132 -0
- package/layout/lib/Flex.tsx +47 -0
- package/layout/lib/Stack.tsx +95 -0
- package/layout/lib/utils/border.ts +263 -0
- package/layout/lib/utils/color.ts +62 -0
- package/layout/lib/utils/depth.ts +37 -0
- package/layout/lib/utils/flex.ts +65 -0
- package/layout/lib/utils/flexItem.ts +56 -0
- package/layout/lib/utils/getValidChildren.ts +7 -0
- package/layout/lib/utils/layout.ts +77 -0
- package/layout/lib/utils/other.ts +20 -0
- package/layout/lib/utils/position.ts +96 -0
- package/layout/lib/utils/space.ts +207 -0
- package/layout/lib/utils/stack.ts +78 -0
- package/layout/lib/utils/types.ts +148 -0
- package/modal/lib/ModalOverflowOverlay.tsx +1 -1
- package/modal/lib/ModalOverlay.tsx +1 -1
- package/package.json +6 -5
- package/pagination/lib/Pagination/AdditionalDetails.tsx +1 -1
- package/pagination/lib/Pagination/Controls.tsx +7 -11
- package/pagination/lib/Pagination/GoTo/Form.tsx +1 -1
- package/pagination/lib/Pagination/Nav.tsx +1 -1
- package/pagination/lib/Pagination/PageButton.tsx +38 -17
- package/pagination/lib/Pagination/PageList.tsx +1 -1
- package/pagination/lib/Pagination/Pagination.tsx +5 -5
- package/pagination/lib/Pagination/common/List.tsx +1 -1
- 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/TabsItem.tsx +1 -2
- package/tabs/lib/TabsList.tsx +2 -2
- package/tabs/lib/TabsPanel.tsx +1 -1
- package/tabs/lib/menu/MenuItem.tsx +1 -1
- package/tabs/lib/menu/MenuList.tsx +1 -1
- package/text-input/lib/InputIconContainer.tsx +1 -1
- 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/action-bar/lib/ActionBar.d.ts +1 -1
- package/ts3.5/dist/commonjs/banner/lib/Banner.d.ts +1 -1
- package/ts3.5/dist/commonjs/banner/lib/BannerActionText.d.ts +1 -1
- package/ts3.5/dist/commonjs/banner/lib/BannerLabel.d.ts +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/card/lib/Card.d.ts +2 -2
- package/ts3.5/dist/commonjs/card/lib/CardBody.d.ts +1 -1
- package/ts3.5/dist/commonjs/card/lib/CardHeading.d.ts +1 -1
- package/ts3.5/dist/commonjs/dialog/lib/Dialog.d.ts +1 -1
- 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/index.d.ts +0 -2
- package/ts3.5/dist/commonjs/layout/index.d.ts +12 -2
- package/ts3.5/dist/commonjs/layout/lib/Box.d.ts +48 -0
- package/ts3.5/dist/commonjs/layout/lib/Flex.d.ts +26 -0
- package/ts3.5/dist/commonjs/layout/lib/Stack.d.ts +27 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/border.d.ts +103 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/color.d.ts +26 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/depth.d.ts +22 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/flex.d.ts +36 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/flexItem.d.ts +33 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/getValidChildren.d.ts +3 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/layout.d.ts +43 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/other.d.ts +5 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/position.d.ts +41 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/space.d.ts +64 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/stack.d.ts +26 -0
- package/ts3.5/dist/commonjs/layout/lib/utils/types.d.ts +20 -0
- package/ts3.5/dist/commonjs/modal/lib/Modal.d.ts +1 -1
- package/ts3.5/dist/commonjs/modal/lib/ModalOverlay.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.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/GoTo/Form.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts +1 -2
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +1 -1
- package/ts3.5/dist/commonjs/popup/lib/Popup.d.ts +1 -1
- package/ts3.5/dist/commonjs/popup/lib/PopupBody.d.ts +1 -1
- package/ts3.5/dist/commonjs/popup/lib/PopupCard.d.ts +1 -1
- 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 +3 -5
- package/ts3.5/dist/commonjs/tabs/lib/TabsList.d.ts +1 -1
- package/ts3.5/dist/commonjs/tabs/lib/TabsPanel.d.ts +1 -1
- 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/tabs/lib/menu/MenuList.d.ts +1 -1
- package/ts3.5/dist/commonjs/text-input/lib/InputIconContainer.d.ts +1 -1
- 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/action-bar/lib/ActionBar.d.ts +1 -1
- package/ts3.5/dist/es6/banner/lib/Banner.d.ts +1 -1
- package/ts3.5/dist/es6/banner/lib/BannerActionText.d.ts +1 -1
- package/ts3.5/dist/es6/banner/lib/BannerLabel.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/card/lib/Card.d.ts +2 -2
- package/ts3.5/dist/es6/card/lib/CardBody.d.ts +1 -1
- package/ts3.5/dist/es6/card/lib/CardHeading.d.ts +1 -1
- package/ts3.5/dist/es6/dialog/lib/Dialog.d.ts +1 -1
- 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/index.d.ts +0 -2
- package/ts3.5/dist/es6/layout/index.d.ts +12 -2
- package/ts3.5/dist/es6/layout/lib/Box.d.ts +48 -0
- package/ts3.5/dist/es6/layout/lib/Flex.d.ts +26 -0
- package/ts3.5/dist/es6/layout/lib/Stack.d.ts +27 -0
- package/ts3.5/dist/es6/layout/lib/utils/border.d.ts +103 -0
- package/ts3.5/dist/es6/layout/lib/utils/color.d.ts +26 -0
- package/ts3.5/dist/es6/layout/lib/utils/depth.d.ts +22 -0
- package/ts3.5/dist/es6/layout/lib/utils/flex.d.ts +36 -0
- package/ts3.5/dist/es6/layout/lib/utils/flexItem.d.ts +33 -0
- package/ts3.5/dist/es6/layout/lib/utils/getValidChildren.d.ts +3 -0
- package/ts3.5/dist/es6/layout/lib/utils/layout.d.ts +43 -0
- package/ts3.5/dist/es6/layout/lib/utils/other.d.ts +5 -0
- package/ts3.5/dist/es6/layout/lib/utils/position.d.ts +41 -0
- package/ts3.5/dist/es6/layout/lib/utils/space.d.ts +64 -0
- package/ts3.5/dist/es6/layout/lib/utils/stack.d.ts +26 -0
- package/ts3.5/dist/es6/layout/lib/utils/types.d.ts +20 -0
- package/ts3.5/dist/es6/modal/lib/Modal.d.ts +1 -1
- package/ts3.5/dist/es6/modal/lib/ModalOverlay.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/AdditionalDetails.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/GoTo/Form.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/PageButton.d.ts +1 -2
- package/ts3.5/dist/es6/pagination/lib/Pagination/PageList.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/List.d.ts +1 -1
- package/ts3.5/dist/es6/popup/lib/Popup.d.ts +1 -1
- package/ts3.5/dist/es6/popup/lib/PopupBody.d.ts +1 -1
- package/ts3.5/dist/es6/popup/lib/PopupCard.d.ts +1 -1
- 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 +3 -5
- package/ts3.5/dist/es6/tabs/lib/TabsList.d.ts +1 -1
- package/ts3.5/dist/es6/tabs/lib/TabsPanel.d.ts +1 -1
- 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/tabs/lib/menu/MenuList.d.ts +1 -1
- package/ts3.5/dist/es6/text-input/lib/InputIconContainer.d.ts +1 -1
- 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/cookie-banner/LICENSE +0 -51
- package/cookie-banner/README.md +0 -104
- package/cookie-banner/index.ts +0 -5
- package/cookie-banner/lib/CookieBanner.tsx +0 -152
- package/cookie-banner/package.json +0 -5
- 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/cookie-banner/index.d.ts +0 -5
- package/dist/commonjs/cookie-banner/index.d.ts.map +0 -1
- package/dist/commonjs/cookie-banner/index.js +0 -20
- package/dist/commonjs/cookie-banner/lib/CookieBanner.d.ts +0 -48
- package/dist/commonjs/cookie-banner/lib/CookieBanner.d.ts.map +0 -1
- package/dist/commonjs/cookie-banner/lib/CookieBanner.js +0 -143
- package/dist/commonjs/page-header/index.d.ts +0 -5
- package/dist/commonjs/page-header/index.d.ts.map +0 -1
- package/dist/commonjs/page-header/index.js +0 -20
- package/dist/commonjs/page-header/lib/PageHeader.d.ts +0 -39
- package/dist/commonjs/page-header/lib/PageHeader.d.ts.map +0 -1
- package/dist/commonjs/page-header/lib/PageHeader.js +0 -142
- 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/dist/es6/cookie-banner/index.d.ts +0 -5
- package/dist/es6/cookie-banner/index.d.ts.map +0 -1
- package/dist/es6/cookie-banner/index.js +0 -4
- package/dist/es6/cookie-banner/lib/CookieBanner.d.ts +0 -48
- package/dist/es6/cookie-banner/lib/CookieBanner.d.ts.map +0 -1
- package/dist/es6/cookie-banner/lib/CookieBanner.js +0 -119
- package/dist/es6/page-header/index.d.ts +0 -5
- package/dist/es6/page-header/index.d.ts.map +0 -1
- package/dist/es6/page-header/index.js +0 -4
- package/dist/es6/page-header/lib/PageHeader.d.ts +0 -39
- package/dist/es6/page-header/lib/PageHeader.d.ts.map +0 -1
- package/dist/es6/page-header/lib/PageHeader.js +0 -118
- package/page-header/LICENSE +0 -51
- package/page-header/README.md +0 -72
- package/page-header/index.ts +0 -5
- package/page-header/lib/PageHeader.tsx +0 -126
- package/page-header/package.json +0 -5
- 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/commonjs/cookie-banner/index.d.ts +0 -5
- package/ts3.5/dist/commonjs/cookie-banner/lib/CookieBanner.d.ts +0 -48
- package/ts3.5/dist/commonjs/page-header/index.d.ts +0 -5
- package/ts3.5/dist/commonjs/page-header/lib/PageHeader.d.ts +0 -39
- 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
- package/ts3.5/dist/es6/cookie-banner/index.d.ts +0 -5
- package/ts3.5/dist/es6/cookie-banner/lib/CookieBanner.d.ts +0 -48
- package/ts3.5/dist/es6/page-header/index.d.ts +0 -5
- package/ts3.5/dist/es6/page-header/lib/PageHeader.d.ts +0 -39
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PartialEmotionCanvasTheme } from '@workday/canvas-kit-react/common';
|
|
2
|
+
import { CanvasSpaceKeys } from '@workday/canvas-kit-react/tokens';
|
|
3
|
+
export declare type StackDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
4
|
+
declare const selector = "& > *:not(style) ~ *:not(style)";
|
|
5
|
+
export declare type StackSpacing = CanvasSpaceKeys | number | (string & {});
|
|
6
|
+
export declare type StackStyleProps = {
|
|
7
|
+
/** sets space values between child elements (bidirectional support) */
|
|
8
|
+
spacing: StackSpacing;
|
|
9
|
+
/**
|
|
10
|
+
* sets the direction for the stack
|
|
11
|
+
* @default "row"
|
|
12
|
+
* */
|
|
13
|
+
flexDirection?: StackDirection;
|
|
14
|
+
/**
|
|
15
|
+
* when `true` wraps each child element in a `Stack.Item`
|
|
16
|
+
* @default false
|
|
17
|
+
* */
|
|
18
|
+
shouldWrapChildren?: boolean;
|
|
19
|
+
};
|
|
20
|
+
export declare function stack<P extends StackStyleProps & {
|
|
21
|
+
theme?: PartialEmotionCanvasTheme;
|
|
22
|
+
}>(props: P): {
|
|
23
|
+
"& > *:not(style) ~ *:not(style)": {};
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Globals, GlobalsNumber, SelfPosition, DisplayOutside, DisplayInside, DisplayInternal, DisplayLegacy, LineStyle, ContentDistribution, ContentPosition } from 'csstype';
|
|
2
|
+
export declare type PropertyBorder = Globals | LineStyle | (string & {});
|
|
3
|
+
export declare type PropertyJustifySelf = Globals | SelfPosition | 'auto' | 'baseline' | 'left' | 'normal' | 'right' | 'stretch' | (string & {});
|
|
4
|
+
export declare type PropertyAlignSelf = Globals | SelfPosition | 'auto' | 'baseline' | 'normal' | 'stretch' | (string & {});
|
|
5
|
+
export declare type PropertyOrder = GlobalsNumber;
|
|
6
|
+
export declare type PropertyDisplay = Globals | DisplayOutside | DisplayInside | DisplayInternal | DisplayLegacy | 'contents' | 'list-item' | 'none' | (string & {});
|
|
7
|
+
export declare type PropertyListStyle = Globals | 'inside' | 'none' | 'outside' | (string & {});
|
|
8
|
+
export declare type PropertyOverflow = Globals | '-moz-hidden-unscrollable' | 'auto' | 'clip' | 'hidden' | 'scroll' | 'visible' | (string & {});
|
|
9
|
+
export declare type PropertyOverflowX = Globals | '-moz-hidden-unscrollable' | 'auto' | 'clip' | 'hidden' | 'scroll' | 'visible';
|
|
10
|
+
export declare type PropertyOverflowY = Globals | '-moz-hidden-unscrollable' | 'auto' | 'clip' | 'hidden' | 'scroll' | 'visible';
|
|
11
|
+
export declare type PropertyVerticalAlign = Globals | 'baseline' | 'bottom' | 'middle' | 'sub' | 'super' | 'text-bottom' | 'text-top' | 'top' | (string & {});
|
|
12
|
+
export declare type PropertyPosition = Globals | '-webkit-sticky' | 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
|
|
13
|
+
export declare type PropertyZIndex = GlobalsNumber | 'auto';
|
|
14
|
+
export declare type PropertyAlignItems = Globals | SelfPosition | 'baseline' | 'normal' | 'stretch' | (string & {});
|
|
15
|
+
export declare type PropertyAlignContent = Globals | ContentDistribution | ContentPosition | 'baseline' | 'normal' | (string & {});
|
|
16
|
+
export declare type PropertyJustifyItems = Globals | SelfPosition | 'baseline' | 'left' | 'legacy' | 'normal' | 'right' | 'stretch' | (string & {});
|
|
17
|
+
export declare type PropertyJustifyContent = Globals | ContentDistribution | ContentPosition | 'left' | 'normal' | 'right' | (string & {});
|
|
18
|
+
export declare type PropertyFlexWrap = Globals | 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
19
|
+
export declare type PropertyFlexDirection = Globals | 'column' | 'column-reverse' | 'row' | 'row-reverse';
|
|
20
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -6,7 +6,7 @@ export interface ModalProps extends ExtractProps<typeof Dialog, never> {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
}
|
|
8
8
|
export declare const Modal: import("../../common").Component<ModalProps> & {
|
|
9
|
-
Body: import("../../common").ElementComponent<"div", import("
|
|
9
|
+
Body: import("../../common").ElementComponent<"div", import("../..").BorderShorthandStyleProps & import("../..").BorderColorStyleProps & import("../..").BorderRadiusStyleProps & import("../..").BorderLineStyleProps & import("../..").BorderWidthStyleProps & import("../..").BorderLogicalStyleProps & import("../..").ColorStyleProps & import("../..").DepthStyleProps & import("../..").FlexItemStyleProps & import("../..").LayoutStyleProps & import("../../layout/lib/utils/other").OtherStyleProps & import("../..").PositionStandardProps & import("../..").PositionLogicalProps & import("../../layout/lib/utils/space").SpaceStandardProps & import("../../layout/lib/utils/space").SpaceLogicalProps>;
|
|
10
10
|
Card: import("../../common").ElementComponent<"div", import("./ModalCard").ModalCardProps>;
|
|
11
11
|
CloseIcon: import("../../common").ElementComponent<"button", import("../../popup/lib/PopupCloseIcon").PopupCloseIconProps>;
|
|
12
12
|
Target: import("../../common").ElementComponent<import("../../common").ElementComponent<"button", import("../..").SecondaryButtonProps>, import("../../popup/lib/PopupTarget").PopupTargetProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PopupModel } from '@workday/canvas-kit-react/popup';
|
|
3
|
-
import { BoxProps } from '@workday/canvas-kit-
|
|
3
|
+
import { BoxProps } from '@workday/canvas-kit-react/layout';
|
|
4
4
|
export interface ModalOverlayProps extends BoxProps {
|
|
5
5
|
model?: PopupModel;
|
|
6
6
|
children: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PaginationModel } from './types';
|
|
3
|
-
import { FlexProps } from '@workday/canvas-kit-
|
|
3
|
+
import { FlexProps } from '@workday/canvas-kit-react/layout';
|
|
4
4
|
export interface AdditionalDetailsProps extends FlexProps {
|
|
5
5
|
children: (model: PaginationModel) => React.ReactNode | React.ReactNode;
|
|
6
6
|
model: PaginationModel;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TertiaryButtonProps } from '@workday/canvas-kit-react/button';
|
|
3
3
|
import { PaginationModel } from './types';
|
|
4
|
-
export declare type ControlButtonProps =
|
|
4
|
+
export declare type ControlButtonProps = TertiaryButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5
5
|
model: PaginationModel;
|
|
6
6
|
};
|
|
7
7
|
export declare type ControlsProps = React.HTMLAttributes<HTMLDivElement>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { HStackProps, StackSpacing } from '@workday/canvas-kit-
|
|
2
|
+
import { HStackProps, StackSpacing } from '@workday/canvas-kit-react/layout';
|
|
3
3
|
export declare type GoToFormProps = React.FormHTMLAttributes<HTMLFormElement> & Pick<HStackProps, Exclude<keyof HStackProps, 'spacing'>> & {
|
|
4
4
|
spacing?: StackSpacing;
|
|
5
5
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IconButtonProps } from '@workday/canvas-kit-react/button';
|
|
3
2
|
import { PaginationModel } from './types';
|
|
4
|
-
export declare type PageButtonProps =
|
|
3
|
+
export declare type PageButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5
4
|
model: PaginationModel;
|
|
6
5
|
pageNumber: number;
|
|
7
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PaginationModel } from './types';
|
|
3
3
|
import { ListItemProps } from './common/List';
|
|
4
|
-
import { HStackProps } from '@workday/canvas-kit-
|
|
4
|
+
import { HStackProps } from '@workday/canvas-kit-react/layout';
|
|
5
5
|
export interface PageListProps extends Omit<HStackProps, 'as' | 'spacing'> {
|
|
6
6
|
model: PaginationModel;
|
|
7
7
|
children?: (model: PaginationModel) => React.ReactNode[] | React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TertiaryButtonProps } from '@workday/canvas-kit-react/button';
|
|
3
3
|
import { PaginationModel } from './types';
|
|
4
4
|
import { PaginationNavProps } from './Nav';
|
|
5
5
|
import { ControlsProps } from './Controls';
|
|
@@ -30,10 +30,10 @@ export declare type PaginationProps = PaginationConfigurationProps | PaginationM
|
|
|
30
30
|
export declare const Pagination: {
|
|
31
31
|
(props: PaginationProps): JSX.Element;
|
|
32
32
|
Controls(props: ControlsProps): JSX.Element;
|
|
33
|
-
JumpToFirstButton(props:
|
|
34
|
-
StepToPreviousButton(props:
|
|
35
|
-
StepToNextButton(props:
|
|
36
|
-
JumpToLastButton(props:
|
|
33
|
+
JumpToFirstButton(props: TertiaryButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
34
|
+
StepToPreviousButton(props: TertiaryButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
35
|
+
StepToNextButton(props: TertiaryButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
36
|
+
JumpToLastButton(props: TertiaryButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
37
37
|
PageList(props: Pick<PageListProps, Exclude<keyof PageListProps, 'model'>>): JSX.Element;
|
|
38
38
|
PageListItem(props: PageListItemProps): JSX.Element;
|
|
39
39
|
PageButton({ "aria-label": ariaLabel, ...elemProps }: Pick<PageButtonProps, Exclude<keyof PageButtonProps, 'model'>>): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FlexProps } from '@workday/canvas-kit-
|
|
1
|
+
import { FlexProps } from '@workday/canvas-kit-react/layout';
|
|
2
2
|
export interface ListProps extends FlexProps {
|
|
3
3
|
}
|
|
4
4
|
export declare const List: import("../../../../common").ElementComponent<"ul", ListProps>;
|
|
@@ -12,7 +12,7 @@ export interface PopupProps {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const Popup: import("../../common").Component<PopupProps> & {
|
|
14
14
|
Heading: import("../../common").ElementComponent<"h2", import("./PopupHeading").PopupHeadingProps>;
|
|
15
|
-
Body: import("../../common").ElementComponent<"div", import("
|
|
15
|
+
Body: import("../../common").ElementComponent<"div", import("../..").BorderShorthandStyleProps & import("../..").BorderColorStyleProps & import("../..").BorderRadiusStyleProps & import("../..").BorderLineStyleProps & import("../..").BorderWidthStyleProps & import("../..").BorderLogicalStyleProps & import("../..").ColorStyleProps & import("../..").DepthStyleProps & import("../..").FlexItemStyleProps & import("../..").LayoutStyleProps & import("../../layout/lib/utils/other").OtherStyleProps & import("../..").PositionStandardProps & import("../..").PositionLogicalProps & import("../../layout/lib/utils/space").SpaceStandardProps & import("../../layout/lib/utils/space").SpaceLogicalProps>;
|
|
16
16
|
Card: import("../../common").ElementComponent<"div", import("./PopupCard").PopupCardProps>;
|
|
17
17
|
CloseIcon: import("../../common").ElementComponent<"button", import("./PopupCloseIcon").PopupCloseIconProps>;
|
|
18
18
|
Target: import("../../common").ElementComponent<import("../../common").ElementComponent<"button", import("../..").SecondaryButtonProps>, import("./PopupTarget").PopupTargetProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PopupBody: import("../../common").ElementComponent<"div", import("
|
|
1
|
+
export declare const PopupBody: import("../../common").ElementComponent<"div", import("../..").BorderShorthandStyleProps & import("../..").BorderColorStyleProps & import("../..").BorderRadiusStyleProps & import("../..").BorderLineStyleProps & import("../..").BorderWidthStyleProps & import("../..").BorderLogicalStyleProps & import("../..").ColorStyleProps & import("../..").DepthStyleProps & import("../..").FlexItemStyleProps & import("../..").LayoutStyleProps & import("../../layout/lib/utils/other").OtherStyleProps & import("../..").PositionStandardProps & import("../..").PositionLogicalProps & import("../../layout/lib/utils/space").SpaceStandardProps & import("../../layout/lib/utils/space").SpaceLogicalProps>;
|
|
2
2
|
//# sourceMappingURL=PopupBody.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Card } from '@workday/canvas-kit-react/card';
|
|
3
3
|
import { ExtractProps } from '@workday/canvas-kit-react/common';
|
|
4
|
-
import { StackStyleProps } from '@workday/canvas-kit-
|
|
4
|
+
import { StackStyleProps } from '@workday/canvas-kit-react/layout';
|
|
5
5
|
import { PopupModel } from './hooks';
|
|
6
6
|
export interface PopupCardProps extends ExtractProps<typeof Card, never>, Partial<StackStyleProps> {
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractProps } from '@workday/canvas-kit-react/common';
|
|
2
|
-
import {
|
|
2
|
+
import { TertiaryButton } from '@workday/canvas-kit-react/button';
|
|
3
3
|
import { PopupModel } from './hooks';
|
|
4
|
-
export interface PopupCloseIconProps extends ExtractProps<typeof
|
|
4
|
+
export interface PopupCloseIconProps extends ExtractProps<typeof TertiaryButton, never> {
|
|
5
5
|
/**
|
|
6
6
|
* Optionally pass a model directly to this component. Default is to implicitly use the same
|
|
7
7
|
* model as the container component which uses React context. Only use this for advanced use-cases
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SegmentedControlButtonProps } from './SegmentedControlButton';
|
|
3
3
|
export interface SegmentedControlProps {
|
|
4
4
|
/**
|
|
5
|
-
* The
|
|
5
|
+
* The Button children of the SegmentedControl (must be at least two).
|
|
6
6
|
* TODO: Add support for text children
|
|
7
7
|
*/
|
|
8
|
-
children: React.ReactElement<
|
|
8
|
+
children: React.ReactElement<SegmentedControlButtonProps>[];
|
|
9
9
|
/**
|
|
10
|
-
* The value or index of the
|
|
11
|
-
* If a string is provided, the
|
|
12
|
-
* If a number is provided, the
|
|
10
|
+
* The value or index of the Button that the SegmentedControl should be toggled on to.
|
|
11
|
+
* If a string is provided, the Button with the corresponding value will be selected.
|
|
12
|
+
* If a number is provided, the Button with the corresponding index will be selected.
|
|
13
13
|
* @default 0
|
|
14
14
|
*/
|
|
15
15
|
value?: string | number;
|
|
@@ -20,6 +20,8 @@ export interface SegmentedControlProps {
|
|
|
20
20
|
*/
|
|
21
21
|
onChange?: (value: string | number) => void;
|
|
22
22
|
}
|
|
23
|
-
declare const SegmentedControl: (
|
|
23
|
+
export declare const SegmentedControl: import("../../common").ElementComponent<"div", SegmentedControlProps> & {
|
|
24
|
+
Button: import("../../common").ElementComponent<"button", SegmentedControlButtonProps>;
|
|
25
|
+
};
|
|
24
26
|
export default SegmentedControl;
|
|
25
27
|
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CanvasSystemIcon } from '@workday/design-assets-types';
|
|
2
|
+
export interface SegmentedControlButtonProps {
|
|
3
|
+
toggled?: boolean;
|
|
4
|
+
icon: CanvasSystemIcon;
|
|
5
|
+
value?: string | number;
|
|
6
|
+
}
|
|
7
|
+
export declare const SegmentedControlButton: import("../../common").ElementComponent<"button", SegmentedControlButtonProps>;
|
|
8
|
+
//# sourceMappingURL=SegmentedControlButton.d.ts.map
|
|
@@ -16,7 +16,7 @@ export interface TabsProps<T = any> extends TabsModelConfig<T> {
|
|
|
16
16
|
export declare const Tabs: import("../../common").Component<TabsProps<any>> & {
|
|
17
17
|
List: import("../../common").ElementComponent<"div", import("./TabsList").TabListProps<unknown>>;
|
|
18
18
|
Item: import("../../common").ElementComponent<"button", import("./TabsItem").TabsItemProps> & {
|
|
19
|
-
Icon:
|
|
19
|
+
Icon: import("../../common").ElementComponent<"span", import("../..").SystemIconProps>;
|
|
20
20
|
Text: import("../../common").ElementComponent<"span", {}>;
|
|
21
21
|
};
|
|
22
22
|
Panel: import("../../common").ElementComponent<"div", import("./TabsPanel").TabPanelProps<unknown>>;
|
|
@@ -39,7 +39,7 @@ export declare const Tabs: import("../../common").Component<TabsProps<any>> & {
|
|
|
39
39
|
Card: import("../../common").ElementComponent<"div", import("./menu/MenuCard").MenuCardProps<unknown>>;
|
|
40
40
|
List: import("../../common").ElementComponent<"div", import("./menu/MenuList").MenuListProps<unknown>>;
|
|
41
41
|
Item: import("../../common").ElementComponent<"button", import("./menu/MenuItem").MenuItemProps<unknown>> & {
|
|
42
|
-
Icon:
|
|
42
|
+
Icon: import("../../common").ElementComponent<"span", import("../..").SystemIconProps>;
|
|
43
43
|
Text: import("@emotion/styled").StyledComponent<{
|
|
44
44
|
theme?: import("@emotion/react").Theme | undefined;
|
|
45
45
|
as?: "symbol" | "object" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "clipPath" | "filter" | "mask" | "marker" | "big" | "link" | "sup" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { StyledType, ExtractProps } from '@workday/canvas-kit-react/common';
|
|
3
|
-
import { Box } from '@workday/canvas-kit-
|
|
4
|
-
import { SystemIcon } from '@workday/canvas-kit-react/icon';
|
|
3
|
+
import { Box, StackProps } from '@workday/canvas-kit-react/layout';
|
|
5
4
|
import { TabsModel } from './useTabsModel';
|
|
6
|
-
import { StackProps } from '@workday/canvas-kit-labs-react/layout';
|
|
7
5
|
export interface TabsItemProps extends ExtractProps<typeof Box, never>, Partial<Pick<StackProps, 'spacing'>> {
|
|
8
6
|
/**
|
|
9
7
|
* Optionally pass index to tab item. This should be done if `Tabs.Item` components were created
|
|
@@ -72,7 +70,7 @@ export interface TabsItemProps extends ExtractProps<typeof Box, never>, Partial<
|
|
|
72
70
|
*/
|
|
73
71
|
hasIcon?: boolean;
|
|
74
72
|
}
|
|
75
|
-
export declare const StyledTabItem: import("@emotion/styled").StyledComponent<import("
|
|
73
|
+
export declare const StyledTabItem: import("@emotion/styled").StyledComponent<import("../../layout").BorderShorthandStyleProps & import("../../layout").BorderColorStyleProps & import("../../layout").BorderRadiusStyleProps & import("../../layout").BorderLineStyleProps & import("../../layout").BorderWidthStyleProps & import("../../layout").BorderLogicalStyleProps & import("../../layout").ColorStyleProps & import("../../layout").DepthStyleProps & import("../../layout").FlexItemStyleProps & import("../../layout").LayoutStyleProps & import("../../layout/lib/utils/other").OtherStyleProps & import("../../layout").PositionStandardProps & import("../../layout").PositionLogicalProps & import("../../layout/lib/utils/space").SpaceStandardProps & import("../../layout/lib/utils/space").SpaceLogicalProps & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "hidden" | "style" | "disabled" | "translate" | "prefix" | "form" | "slot" | "title" | "children" | "ref" | "key" | "className" | "name" | "dir" | "value" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & {
|
|
76
74
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
77
75
|
} & {
|
|
78
76
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -80,7 +78,7 @@ export declare const StyledTabItem: import("@emotion/styled").StyledComponent<im
|
|
|
80
78
|
hasIcon?: boolean | undefined;
|
|
81
79
|
} & Pick<TabsItemProps, "spacing">, {}, {}>;
|
|
82
80
|
export declare const TabsItem: import("../../common").ElementComponent<"button", TabsItemProps> & {
|
|
83
|
-
Icon:
|
|
81
|
+
Icon: import("../../common").ElementComponent<"span", import("../../icon").SystemIconProps>;
|
|
84
82
|
Text: import("../../common").ElementComponent<"span", {}>;
|
|
85
83
|
};
|
|
86
84
|
export declare const useTabsItem: <P extends {}, R>(model: import("./list").ListModel<unknown>, elemProps?: P | undefined, ref?: ((instance: R | null) => void) | React.RefObject<R> | null | undefined) => {} & P & (R extends HTMLOrSVGElement ? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ExtractProps } from '@workday/canvas-kit-react/common';
|
|
3
|
-
import { Stack } from '@workday/canvas-kit-
|
|
3
|
+
import { Stack } from '@workday/canvas-kit-react/layout';
|
|
4
4
|
import { TabsModel } from './useTabsModel';
|
|
5
5
|
export interface TabListProps<T = unknown> extends Partial<ExtractProps<typeof Stack, never>> {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ExtractProps } from '@workday/canvas-kit-react/common';
|
|
3
|
-
import { Box } from '@workday/canvas-kit-
|
|
3
|
+
import { Box } from '@workday/canvas-kit-react/layout';
|
|
4
4
|
import { TabsModel } from './useTabsModel';
|
|
5
5
|
export interface TabPanelProps<T = unknown> extends ExtractProps<typeof Box, never> {
|
|
6
6
|
/**
|
|
@@ -65,7 +65,7 @@ export declare const Menu: import("../../../common").Component<MenuProps<any>> &
|
|
|
65
65
|
* HTML. If more complex HTML is provided, consider
|
|
66
66
|
*/
|
|
67
67
|
Item: import("../../../common").ElementComponent<"button", import("./MenuItem").MenuItemProps<unknown>> & {
|
|
68
|
-
Icon:
|
|
68
|
+
Icon: import("../../../common").ElementComponent<"span", import("../../..").SystemIconProps>;
|
|
69
69
|
Text: import("@emotion/styled").StyledComponent<{
|
|
70
70
|
theme?: import("@emotion/react").Theme | undefined;
|
|
71
71
|
as?: "symbol" | "object" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "clipPath" | "filter" | "mask" | "marker" | "big" | "link" | "sup" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SystemIcon } from '@workday/canvas-kit-react/icon';
|
|
3
2
|
import { MenuModel } from './useMenuModel';
|
|
4
3
|
export interface MenuItemProps<T = unknown> {
|
|
5
4
|
/**
|
|
@@ -38,7 +37,7 @@ export interface MenuItemProps<T = unknown> {
|
|
|
38
37
|
hasIcon?: boolean;
|
|
39
38
|
}
|
|
40
39
|
export declare const MenuItem: import("../../../common").ElementComponent<"button", MenuItemProps<unknown>> & {
|
|
41
|
-
Icon:
|
|
40
|
+
Icon: import("../../../common").ElementComponent<"span", import("../../../icon").SystemIconProps>;
|
|
42
41
|
Text: import("@emotion/styled").StyledComponent<{
|
|
43
42
|
theme?: import("@emotion/react").Theme | undefined;
|
|
44
43
|
as?: "symbol" | "object" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "clipPath" | "filter" | "mask" | "marker" | "big" | "link" | "sup" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ExtractProps } from '@workday/canvas-kit-react/common';
|
|
3
|
-
import { Stack } from '@workday/canvas-kit-
|
|
3
|
+
import { Stack } from '@workday/canvas-kit-react/layout';
|
|
4
4
|
import { MenuModel } from './useMenuModel';
|
|
5
5
|
export interface MenuListProps<T = unknown> extends Partial<ExtractProps<typeof Stack, never>> {
|
|
6
6
|
/**
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { GrowthBehavior } from '@workday/canvas-kit-react/common';
|
|
3
3
|
import { SystemIcon } from '@workday/canvas-kit-react/icon';
|
|
4
4
|
export interface InputIconContainerProps extends GrowthBehavior {
|
|
5
|
-
icon?: React.ReactElement<SystemIcon>;
|
|
5
|
+
icon?: React.ReactElement<typeof SystemIcon>;
|
|
6
6
|
}
|
|
7
7
|
declare const InputIconContainer: React.FunctionComponent<InputIconContainerProps>;
|
|
8
8
|
export default InputIconContainer;
|
|
@@ -24,7 +24,7 @@ export interface TooltipProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
24
24
|
* Determines the tooltip type for accessibility.
|
|
25
25
|
*
|
|
26
26
|
* - `label`: Sets the accessible name for the wrapped element. Use for icons or if tooltip
|
|
27
|
-
* `title` prop is the same as the text content of the wrapped element. E.g.
|
|
27
|
+
* `title` prop is the same as the text content of the wrapped element. E.g. TertiaryButtons that render an icon or
|
|
28
28
|
* Ellipsis tooltips.
|
|
29
29
|
* - `describe`: Sets `aria-describedby` of the wrapped element. Use if the tooltip has additional
|
|
30
30
|
* information about the target.
|
|
@@ -8,7 +8,7 @@ export declare function useTooltip<T extends Element = Element>({ type, titleTex
|
|
|
8
8
|
* Determines the tooltip type for accessibility.
|
|
9
9
|
*
|
|
10
10
|
* - `label`: Sets the accessible name for the wrapped element. Use for icons or if tooltip
|
|
11
|
-
* `title` prop is the same as the text content of the wrapped element. E.g.
|
|
11
|
+
* `title` prop is the same as the text content of the wrapped element. E.g. TertiaryButton that renders an icon or
|
|
12
12
|
* Ellipsis tooltips.
|
|
13
13
|
* - `describe`: Sets `aria-describedby` of the wrapped element. Use if the tooltip has additional
|
|
14
14
|
* information about the target.
|