@workday/canvas-kit-react 7.0.0-alpha.0-next.6 → 7.0.0-alpha.0-next.7
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/banner/lib/Banner.tsx +1 -1
- package/banner/lib/BannerActionText.tsx +1 -1
- package/banner/lib/BannerLabel.tsx +1 -1
- package/card/lib/Card.tsx +1 -1
- package/card/lib/CardBody.tsx +1 -1
- package/card/lib/CardHeading.tsx +1 -1
- 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/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/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/dialog/lib/Dialog.d.ts +1 -1
- 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 +31 -0
- package/dist/commonjs/layout/lib/Box.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/Box.js +99 -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/layout/lib/utils/getValidChildren.js +29 -0
- 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/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.js +1 -1
- 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/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/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/tabs/lib/TabsItem.d.ts +2 -3
- 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 +1 -1
- 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/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/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/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/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/dialog/lib/Dialog.d.ts +1 -1
- 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 +31 -0
- package/dist/es6/layout/lib/Box.d.ts.map +1 -0
- package/dist/es6/layout/lib/Box.js +74 -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/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.js +1 -1
- 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/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/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/tabs/lib/TabsItem.d.ts +2 -3
- 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 +1 -1
- 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/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/layout/LICENSE +1 -0
- package/layout/README.md +31 -0
- package/layout/index.ts +13 -3
- package/layout/lib/Box.tsx +92 -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/ModalOverlay.tsx +1 -1
- package/package.json +6 -5
- package/pagination/lib/Pagination/AdditionalDetails.tsx +1 -1
- package/pagination/lib/Pagination/Controls.tsx +1 -1
- package/pagination/lib/Pagination/GoTo/Form.tsx +1 -1
- package/pagination/lib/Pagination/Nav.tsx +1 -1
- package/pagination/lib/Pagination/PageList.tsx +1 -1
- package/pagination/lib/Pagination/common/List.tsx +1 -1
- package/popup/lib/PopupCard.tsx +1 -1
- package/tabs/lib/TabsItem.tsx +1 -2
- package/tabs/lib/TabsList.tsx +1 -1
- package/tabs/lib/TabsPanel.tsx +1 -1
- package/tabs/lib/menu/MenuItem.tsx +1 -1
- package/tabs/lib/menu/MenuList.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/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/layout/index.d.ts +12 -2
- package/ts3.5/dist/commonjs/layout/lib/Box.d.ts +31 -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/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/PageList.d.ts +1 -1
- 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/tabs/lib/TabsItem.d.ts +2 -3
- 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/MenuList.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/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/layout/index.d.ts +12 -2
- package/ts3.5/dist/es6/layout/lib/Box.d.ts +31 -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/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/PageList.d.ts +1 -1
- 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/tabs/lib/TabsItem.d.ts +2 -3
- 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/MenuList.d.ts +1 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { ContentDirection, useTheme, } from '@workday/canvas-kit-react/common';
|
|
13
|
+
var getInsetInlineStartStyle = function (value, isRTL) {
|
|
14
|
+
var _a;
|
|
15
|
+
if (isRTL === void 0) { isRTL = false; }
|
|
16
|
+
var attr = isRTL ? 'right' : 'left';
|
|
17
|
+
return _a = {}, _a[attr] = value, _a;
|
|
18
|
+
};
|
|
19
|
+
var getInsetInlineEndStyle = function (value, isRTL) {
|
|
20
|
+
var _a;
|
|
21
|
+
if (isRTL === void 0) { isRTL = false; }
|
|
22
|
+
var attr = isRTL ? 'left' : 'right';
|
|
23
|
+
return _a = {}, _a[attr] = value, _a;
|
|
24
|
+
};
|
|
25
|
+
var standardPositionProps = {
|
|
26
|
+
position: 'position',
|
|
27
|
+
zIndex: 'zIndex',
|
|
28
|
+
top: 'top',
|
|
29
|
+
right: 'right',
|
|
30
|
+
bottom: 'bottom',
|
|
31
|
+
left: 'left',
|
|
32
|
+
};
|
|
33
|
+
var logicalPositionProps = {
|
|
34
|
+
insetInlineStart: getInsetInlineStartStyle,
|
|
35
|
+
insetInlineEnd: getInsetInlineEndStyle,
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* A style prop function that takes components props and returns position styles.
|
|
39
|
+
* If no `PositionProps` are found, it returns an empty object.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* // You'll most likely use `position` with low-level, styled components
|
|
43
|
+
* const BoxExample = () => (
|
|
44
|
+
* <Box position="absolute" top="50%">
|
|
45
|
+
* Hello, positions!
|
|
46
|
+
* </Box>
|
|
47
|
+
* );
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export function position(props) {
|
|
51
|
+
// position will always be used within the context of a component, but eslint doesn't know that
|
|
52
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
53
|
+
var canvas = useTheme(props.theme).canvas;
|
|
54
|
+
var styles = {};
|
|
55
|
+
for (var key in props) {
|
|
56
|
+
if (key in props) {
|
|
57
|
+
if (key in standardPositionProps) {
|
|
58
|
+
var value = props[key];
|
|
59
|
+
var attr = standardPositionProps[key];
|
|
60
|
+
// @ts-ignore TS doesn't like adding a potentially unknown key to an object, but because we own this object, it's fine.
|
|
61
|
+
styles[attr] = value;
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
if (key in logicalPositionProps) {
|
|
65
|
+
var value = props[key];
|
|
66
|
+
var styleFn = logicalPositionProps[key];
|
|
67
|
+
var isRTL = canvas.direction === ContentDirection.RTL;
|
|
68
|
+
var style = styleFn(value, isRTL);
|
|
69
|
+
styles = __assign(__assign({}, styles), style);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return styles;
|
|
74
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PartialEmotionCanvasTheme } from '@workday/canvas-kit-react/common';
|
|
2
|
+
import { CanvasSpaceKeys } from '@workday/canvas-kit-react/tokens';
|
|
3
|
+
declare type SpacePropValues = CanvasSpaceKeys | number | (string & {});
|
|
4
|
+
/** These props automatically adjust for bidirectionality (LTR & RTL) */
|
|
5
|
+
export declare type SpaceLogicalProps = {
|
|
6
|
+
/** sets margin-left property (bidirectional support) */
|
|
7
|
+
marginInlineStart?: SpacePropValues;
|
|
8
|
+
/** sets margin-right property (bidirectional support) */
|
|
9
|
+
marginInlineEnd?: SpacePropValues;
|
|
10
|
+
/** sets padding-left property (bidirectional support) */
|
|
11
|
+
paddingInlineStart?: SpacePropValues;
|
|
12
|
+
/** sets padding-right property (bidirectional support) */
|
|
13
|
+
paddingInlineEnd?: SpacePropValues;
|
|
14
|
+
};
|
|
15
|
+
/** These props do not adjust for bidirectionality (LTR & RTL) */
|
|
16
|
+
export declare type SpaceStandardProps = {
|
|
17
|
+
/** sets margin property */
|
|
18
|
+
margin?: SpacePropValues;
|
|
19
|
+
/** sets margin-left and margin-right properties */
|
|
20
|
+
marginX?: SpacePropValues;
|
|
21
|
+
/** sets margin-top and margin-bottom properties */
|
|
22
|
+
marginY?: SpacePropValues;
|
|
23
|
+
/** sets margin-top property */
|
|
24
|
+
marginTop?: SpacePropValues;
|
|
25
|
+
/** sets margin-right property (no bidirectional support) */
|
|
26
|
+
marginRight?: SpacePropValues;
|
|
27
|
+
/** sets margin-bottom property */
|
|
28
|
+
marginBottom?: SpacePropValues;
|
|
29
|
+
/** sets margin-left property (no bidirectional support) */
|
|
30
|
+
marginLeft?: SpacePropValues;
|
|
31
|
+
/** sets padding property */
|
|
32
|
+
padding?: SpacePropValues;
|
|
33
|
+
/** sets padding-left and margin-right properties */
|
|
34
|
+
paddingX?: SpacePropValues;
|
|
35
|
+
/** sets padding-top and padding-bottom properties */
|
|
36
|
+
paddingY?: SpacePropValues;
|
|
37
|
+
/** sets padding-top property */
|
|
38
|
+
paddingTop?: SpacePropValues;
|
|
39
|
+
/** sets padding-right property (no bidirectional support) */
|
|
40
|
+
paddingRight?: SpacePropValues;
|
|
41
|
+
/** sets padding-bottom */
|
|
42
|
+
paddingBottom?: SpacePropValues;
|
|
43
|
+
/** sets padding-left property (no bidirectional support) */
|
|
44
|
+
paddingLeft?: SpacePropValues;
|
|
45
|
+
};
|
|
46
|
+
export declare type SpaceStyleProps = SpaceStandardProps & SpaceLogicalProps;
|
|
47
|
+
/**
|
|
48
|
+
* A style prop function that takes component props and returns space styles.
|
|
49
|
+
* If no `SpaceStyleProps` are found, it returns an empty object.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* // You'll most likely use `space` with low-level, styled components
|
|
53
|
+
* const BoxExample = () => (
|
|
54
|
+
* <Box padding="xs" margin="m">
|
|
55
|
+
* Hello, space!
|
|
56
|
+
* </Box>
|
|
57
|
+
* );
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export declare function space<P extends SpaceStyleProps & {
|
|
61
|
+
theme?: PartialEmotionCanvasTheme;
|
|
62
|
+
}>(props: P): {};
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=space.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../../../layout/lib/utils/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAE1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAoC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AAEpG,aAAK,eAAe,GAAG,eAAe,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEhE,wEAAwE;AACxE,oBAAY,iBAAiB,GAAG;IAC9B,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC,yDAAyD;IACzD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,yDAAyD;IACzD,kBAAkB,CAAC,EAAE,eAAe,CAAC;IACrC,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,eAAe,CAAC;CACpC,CAAC;AAEF,iEAAiE;AACjE,oBAAY,kBAAkB,GAAG;IAC/B,2BAA2B;IAC3B,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,mDAAmD;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,mDAAmD;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,+BAA+B;IAC/B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,4DAA4D;IAC5D,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,kCAAkC;IAClC,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,2DAA2D;IAC3D,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,4BAA4B;IAC5B,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,oDAAoD;IACpD,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,gCAAgC;IAChC,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,6DAA6D;IAC7D,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,0BAA0B;IAC1B,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC,4DAA4D;IAC5D,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEF,oBAAY,eAAe,GAAG,kBAAkB,GAAG,iBAAiB,CAAC;AAoHrE;;;;;;;;;;;;GAYG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,eAAe,GAAG;IAAC,KAAK,CAAC,EAAE,yBAAyB,CAAA;CAAC,EAAE,KAAK,EAAE,CAAC,MAwB9F"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { ContentDirection, useTheme, } from '@workday/canvas-kit-react/common';
|
|
13
|
+
import { space as spaceTokens } from '@workday/canvas-kit-react/tokens';
|
|
14
|
+
var margin = function (value) {
|
|
15
|
+
return { margin: spaceTokens[value] || value };
|
|
16
|
+
};
|
|
17
|
+
var marginX = function (value) {
|
|
18
|
+
return {
|
|
19
|
+
marginLeft: spaceTokens[value] || value,
|
|
20
|
+
marginRight: spaceTokens[value] || value,
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
var marginY = function (value) {
|
|
24
|
+
return {
|
|
25
|
+
marginTop: spaceTokens[value] || value,
|
|
26
|
+
marginBottom: spaceTokens[value] || value,
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
var marginTop = function (value) {
|
|
30
|
+
return {
|
|
31
|
+
marginTop: spaceTokens[value] || value,
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
var marginRight = function (value, isRTL) {
|
|
35
|
+
var _a;
|
|
36
|
+
if (isRTL === void 0) { isRTL = false; }
|
|
37
|
+
var attr = isRTL ? 'marginLeft' : 'marginRight';
|
|
38
|
+
return _a = {},
|
|
39
|
+
_a[attr] = spaceTokens[value] || value,
|
|
40
|
+
_a;
|
|
41
|
+
};
|
|
42
|
+
var marginBottom = function (value) {
|
|
43
|
+
return {
|
|
44
|
+
marginBottom: spaceTokens[value] || value,
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
var marginLeft = function (value, isRTL) {
|
|
48
|
+
var _a;
|
|
49
|
+
if (isRTL === void 0) { isRTL = false; }
|
|
50
|
+
var attr = isRTL ? 'marginRight' : 'marginLeft';
|
|
51
|
+
return _a = {},
|
|
52
|
+
_a[attr] = spaceTokens[value] || value,
|
|
53
|
+
_a;
|
|
54
|
+
};
|
|
55
|
+
var padding = function (value) {
|
|
56
|
+
return {
|
|
57
|
+
padding: spaceTokens[value] || value,
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
var paddingX = function (value) {
|
|
61
|
+
return {
|
|
62
|
+
paddingLeft: spaceTokens[value] || value,
|
|
63
|
+
paddingRight: spaceTokens[value] || value,
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
var paddingY = function (value) {
|
|
67
|
+
return {
|
|
68
|
+
paddingTop: spaceTokens[value] || value,
|
|
69
|
+
paddingBottom: spaceTokens[value] || value,
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
var paddingTop = function (value) {
|
|
73
|
+
return {
|
|
74
|
+
paddingTop: spaceTokens[value] || value,
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
var paddingRight = function (value, isRTL) {
|
|
78
|
+
var _a;
|
|
79
|
+
if (isRTL === void 0) { isRTL = false; }
|
|
80
|
+
var attr = isRTL ? 'paddingLeft' : 'paddingRight';
|
|
81
|
+
return _a = {},
|
|
82
|
+
_a[attr] = spaceTokens[value] || value,
|
|
83
|
+
_a;
|
|
84
|
+
};
|
|
85
|
+
var paddingBottom = function (value) {
|
|
86
|
+
return {
|
|
87
|
+
paddingBottom: spaceTokens[value] || value,
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
var paddingLeft = function (value, isRTL) {
|
|
91
|
+
var _a;
|
|
92
|
+
if (isRTL === void 0) { isRTL = false; }
|
|
93
|
+
var attr = isRTL ? 'paddingRight' : 'paddingLeft';
|
|
94
|
+
return _a = {},
|
|
95
|
+
_a[attr] = spaceTokens[value] || value,
|
|
96
|
+
_a;
|
|
97
|
+
};
|
|
98
|
+
var logicalSpaceStyleProps = {
|
|
99
|
+
marginInlineStart: marginLeft,
|
|
100
|
+
marginInlineEnd: marginRight,
|
|
101
|
+
paddingInlineStart: paddingLeft,
|
|
102
|
+
paddingInlineEnd: paddingRight,
|
|
103
|
+
};
|
|
104
|
+
var standardSpaceStyleProps = {
|
|
105
|
+
margin: margin,
|
|
106
|
+
marginX: marginX,
|
|
107
|
+
marginY: marginY,
|
|
108
|
+
marginTop: marginTop,
|
|
109
|
+
marginRight: marginRight,
|
|
110
|
+
marginBottom: marginBottom,
|
|
111
|
+
marginLeft: marginLeft,
|
|
112
|
+
padding: padding,
|
|
113
|
+
paddingX: paddingX,
|
|
114
|
+
paddingY: paddingY,
|
|
115
|
+
paddingTop: paddingTop,
|
|
116
|
+
paddingRight: paddingRight,
|
|
117
|
+
paddingBottom: paddingBottom,
|
|
118
|
+
paddingLeft: paddingLeft,
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* A style prop function that takes component props and returns space styles.
|
|
122
|
+
* If no `SpaceStyleProps` are found, it returns an empty object.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* // You'll most likely use `space` with low-level, styled components
|
|
126
|
+
* const BoxExample = () => (
|
|
127
|
+
* <Box padding="xs" margin="m">
|
|
128
|
+
* Hello, space!
|
|
129
|
+
* </Box>
|
|
130
|
+
* );
|
|
131
|
+
*
|
|
132
|
+
*/
|
|
133
|
+
export function space(props) {
|
|
134
|
+
// space will always be used within the context of a component, but eslint doesn't know that
|
|
135
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
136
|
+
var canvas = useTheme(props.theme).canvas;
|
|
137
|
+
var styles = {};
|
|
138
|
+
for (var key in props) {
|
|
139
|
+
if (props.hasOwnProperty(key)) {
|
|
140
|
+
if (key in standardSpaceStyleProps) {
|
|
141
|
+
var value = props[key];
|
|
142
|
+
var spaceFn = standardSpaceStyleProps[key];
|
|
143
|
+
var style = spaceFn(value);
|
|
144
|
+
styles = __assign(__assign({}, styles), style);
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
if (key in logicalSpaceStyleProps) {
|
|
148
|
+
var value = props[key];
|
|
149
|
+
var spaceFn = logicalSpaceStyleProps[key];
|
|
150
|
+
var isRTL = canvas.direction === ContentDirection.RTL;
|
|
151
|
+
var style = spaceFn(value, isRTL);
|
|
152
|
+
styles = __assign(__assign({}, styles), style);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return styles;
|
|
157
|
+
}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../../layout/lib/utils/stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAE1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAuB,eAAe,EAAC,MAAM,kCAAkC,CAAC;AAEvF,oBAAY,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAEjF,QAAA,MAAM,QAAQ,oCAAoC,CAAC;AAEnD,oBAAY,YAAY,GAAG,eAAe,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEpE,oBAAY,eAAe,GAAG;IAC5B,uEAAuE;IACvE,OAAO,EAAE,YAAY,CAAC;IACtB;;;SAGK;IACL,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B;;;SAGK;IACL,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AA+BF,wBAAgB,KAAK,CAAC,CAAC,SAAS,eAAe,GAAG;IAAC,KAAK,CAAC,EAAE,yBAAyB,CAAA;CAAC,EAAE,KAAK,EAAE,CAAC;;EAoB9F"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ContentDirection, useTheme, } from '@workday/canvas-kit-react/common';
|
|
2
|
+
import { space as spaceTokens } from '@workday/canvas-kit-react/tokens';
|
|
3
|
+
var selector = '& > *:not(style) ~ *:not(style)';
|
|
4
|
+
var column = function (value) { return ({
|
|
5
|
+
marginTop: spaceTokens[value] || value,
|
|
6
|
+
}); };
|
|
7
|
+
var columnReverse = function (value) { return ({
|
|
8
|
+
marginBottom: spaceTokens[value] || value,
|
|
9
|
+
}); };
|
|
10
|
+
var row = function (value, isRTL) {
|
|
11
|
+
var _a;
|
|
12
|
+
if (isRTL === void 0) { isRTL = false; }
|
|
13
|
+
var attr = isRTL ? 'marginRight' : 'marginLeft';
|
|
14
|
+
return _a = {},
|
|
15
|
+
_a[attr] = spaceTokens[value] || value,
|
|
16
|
+
_a;
|
|
17
|
+
};
|
|
18
|
+
var rowReverse = function (value, isRTL) {
|
|
19
|
+
var _a;
|
|
20
|
+
if (isRTL === void 0) { isRTL = false; }
|
|
21
|
+
var attr = isRTL ? 'marginLeft' : 'marginRight';
|
|
22
|
+
return _a = {},
|
|
23
|
+
_a[attr] = spaceTokens[value] || value,
|
|
24
|
+
_a;
|
|
25
|
+
};
|
|
26
|
+
var stackDirectionProps = {
|
|
27
|
+
column: column,
|
|
28
|
+
'column-reverse': columnReverse,
|
|
29
|
+
row: row,
|
|
30
|
+
'row-reverse': rowReverse,
|
|
31
|
+
};
|
|
32
|
+
export function stack(props) {
|
|
33
|
+
var _a;
|
|
34
|
+
var styles = {};
|
|
35
|
+
var _b = props.flexDirection, flexDirection = _b === void 0 ? 'row' : _b, spacing = props.spacing;
|
|
36
|
+
if (flexDirection === 'column' || flexDirection === 'column-reverse') {
|
|
37
|
+
var stackFn = stackDirectionProps[flexDirection];
|
|
38
|
+
styles = stackFn(spacing);
|
|
39
|
+
}
|
|
40
|
+
if (flexDirection === 'row' || flexDirection === 'row-reverse') {
|
|
41
|
+
// stack will always be used within the context of a component, but eslint doesn't know that
|
|
42
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
43
|
+
var canvas = useTheme(props.theme).canvas;
|
|
44
|
+
var stackFn = stackDirectionProps[flexDirection];
|
|
45
|
+
var isRTL = canvas.direction === ContentDirection.RTL;
|
|
46
|
+
styles = stackFn(spacing, isRTL);
|
|
47
|
+
}
|
|
48
|
+
return _a = {},
|
|
49
|
+
_a[selector] = styles,
|
|
50
|
+
_a;
|
|
51
|
+
}
|
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../layout/lib/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,cAAc,EACd,aAAa,EACb,eAAe,EACf,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,eAAe,EAChB,MAAM,SAAS,CAAC;AAMjB,oBAAY,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAGjE,oBAAY,mBAAmB,GAC3B,OAAO,GACP,YAAY,GACZ,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,OAAO,GACP,SAAS,GACT,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,iBAAiB,GACzB,OAAO,GACP,YAAY,GACZ,MAAM,GACN,UAAU,GACV,QAAQ,GACR,SAAS,GACT,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,aAAa,GAAG,aAAa,CAAC;AAG1C,oBAAY,eAAe,GACvB,OAAO,GACP,cAAc,GACd,aAAa,GACb,eAAe,GACf,aAAa,GACb,UAAU,GACV,WAAW,GACX,MAAM,GACN,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAExF,oBAAY,gBAAgB,GACxB,OAAO,GACP,0BAA0B,GAC1B,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,iBAAiB,GACzB,OAAO,GACP,0BAA0B,GAC1B,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AAEd,oBAAY,iBAAiB,GACzB,OAAO,GACP,0BAA0B,GAC1B,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AAEd,oBAAY,qBAAqB,GAC7B,OAAO,GACP,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,OAAO,GACP,aAAa,GACb,UAAU,GACV,KAAK,GACL,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAGlB,oBAAY,gBAAgB,GACxB,OAAO,GACP,gBAAgB,GAChB,UAAU,GACV,OAAO,GACP,UAAU,GACV,QAAQ,GACR,QAAQ,CAAC;AAEb,oBAAY,cAAc,GAAG,aAAa,GAAG,MAAM,CAAC;AAGpD,oBAAY,kBAAkB,GAC1B,OAAO,GACP,YAAY,GACZ,UAAU,GACV,QAAQ,GACR,SAAS,GACT,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,oBAAoB,GAC5B,OAAO,GACP,mBAAmB,GACnB,eAAe,GACf,UAAU,GACV,QAAQ,GACR,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,oBAAoB,GAC5B,OAAO,GACP,YAAY,GACZ,UAAU,GACV,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,sBAAsB,GAC9B,OAAO,GACP,mBAAmB,GACnB,eAAe,GACf,MAAM,GACN,QAAQ,GACR,OAAO,GACP,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,cAAc,CAAC;AAE5E,oBAAY,qBAAqB,GAAG,OAAO,GAAG,QAAQ,GAAG,gBAAgB,GAAG,KAAK,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalOverlay.d.ts","sourceRoot":"","sources":["../../../../modal/lib/ModalOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAC,UAAU,EAAmC,MAAM,iCAAiC,CAAC;AAG7F,OAAO,EAAM,QAAQ,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"ModalOverlay.d.ts","sourceRoot":"","sources":["../../../../modal/lib/ModalOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAC,UAAU,EAAmC,MAAM,iCAAiC,CAAC;AAG7F,OAAO,EAAM,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAE/D,MAAM,WAAW,iBAAkB,SAAQ,QAAQ;IACjD,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AA+CD,eAAO,MAAM,YAAY,mEAWvB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;OAQ1B,CAAC"}
|
|
@@ -30,7 +30,7 @@ import { createComponent, useModelContext, createHook, useWindowSize, useForkRef
|
|
|
30
30
|
import { PopupModelContext, usePopupStack } from '@workday/canvas-kit-react/popup';
|
|
31
31
|
import { keyframes } from '@emotion/react';
|
|
32
32
|
import styled from '@emotion/styled';
|
|
33
|
-
import { Box } from '@workday/canvas-kit-
|
|
33
|
+
import { Box } from '@workday/canvas-kit-react/layout';
|
|
34
34
|
var fadeIn = keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n from {\n background: none;\n }\n to {\n background: rgba(0,0,0,0.65);\n }\n"], ["\n from {\n background: none;\n }\n to {\n background: rgba(0,0,0,0.65);\n }\n"])));
|
|
35
35
|
var Container = styled(Box)({
|
|
36
36
|
position: 'fixed',
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalDetails.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/AdditionalDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AACxC,OAAO,EAAO,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"AdditionalDetails.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/AdditionalDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AACxC,OAAO,EAAO,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAGjE,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;IACxE,KAAK,EAAE,eAAe,CAAC;IACvB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAuBD,eAAO,MAAM,iBAAiB,oEAK3B,sBAAsB,gBAQxB,CAAC"}
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import * as React from 'react';
|
|
24
24
|
import { type, typeColors, space } from '@workday/canvas-kit-react/tokens';
|
|
25
25
|
import { accessibleHide, styled } from '@workday/canvas-kit-react/common';
|
|
26
|
-
import { Flex } from '@workday/canvas-kit-
|
|
26
|
+
import { Flex } from '@workday/canvas-kit-react/layout';
|
|
27
27
|
import { useLiveRegion } from './common/useLiveRegion';
|
|
28
28
|
var StyledAdditionalDetails = styled(Flex)(function (_a) {
|
|
29
29
|
var shouldHideDetails = _a.shouldHideDetails;
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import * as React from 'react';
|
|
24
24
|
import { IconButton } from '@workday/canvas-kit-react/button';
|
|
25
25
|
import { chevronLeftSmallIcon, chevron2xLeftSmallIcon, chevronRightSmallIcon, chevron2xRightSmallIcon, } from '@workday/canvas-system-icons-web';
|
|
26
|
-
import { HStack } from '@workday/canvas-kit-
|
|
26
|
+
import { HStack } from '@workday/canvas-kit-react/layout';
|
|
27
27
|
import { useRTL } from './common/utils/useRTL';
|
|
28
28
|
export var Controls = function (_a) {
|
|
29
29
|
var children = _a.children, elemProps = __rest(_a, ["children"]);
|
|
@@ -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> & Omit<HStackProps, 'spacing'> & {
|
|
4
4
|
spacing?: StackSpacing;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/GoTo/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAS,WAAW,EAAE,YAAY,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/GoTo/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAS,WAAW,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAGnF,oBAAY,aAAa,GAAG,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,GACnE,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAC7B,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC;AAEJ,eAAO,MAAM,QAAQ,kDAAyD,aAAa,gBAe1F,CAAC"}
|
|
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import * as React from 'react';
|
|
24
|
-
import { HStack } from '@workday/canvas-kit-
|
|
24
|
+
import { HStack } from '@workday/canvas-kit-react/layout';
|
|
25
25
|
import { useRTL } from '../common/utils/useRTL';
|
|
26
26
|
export var GoToForm = function (_a) {
|
|
27
27
|
var children = _a.children, onSubmit = _a.onSubmit, _b = _a.spacing, spacing = _b === void 0 ? 'xxs' : _b, elemProps = __rest(_a, ["children", "onSubmit", "spacing"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/Nav.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/Nav.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAEjE,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC;IAC/D,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,8CAA6C,kBAAkB,gBAWxF,CAAC"}
|
|
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import * as React from 'react';
|
|
24
|
-
import { Flex } from '@workday/canvas-kit-
|
|
24
|
+
import { Flex } from '@workday/canvas-kit-react/layout';
|
|
25
25
|
export var PaginationNav = function (_a) {
|
|
26
26
|
var ariaLabel = _a["aria-label"], elemProps = __rest(_a, ['aria-label']);
|
|
27
27
|
return (React.createElement(Flex, __assign({ as: "nav", "aria-label": ariaLabel, display: "inline-flex", flexDirection: "column", alignItems: "center" }, elemProps)));
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageList.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/PageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AACxC,OAAO,EAAW,aAAa,EAAC,MAAM,eAAe,CAAC;AACtD,OAAO,EAAS,WAAW,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"PageList.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/PageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AACxC,OAAO,EAAW,aAAa,EAAC,MAAM,eAAe,CAAC;AACtD,OAAO,EAAS,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAErE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,SAAS,CAAC;IACxE,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5E;AAED,eAAO,MAAM,QAAQ,sCAAqC,aAAa,gBActE,CAAC;AAEF,oBAAY,iBAAiB,GAAG,aAAa,CAAC;AAE9C,eAAO,MAAM,YAAY,+BAA8B,iBAAiB,gBAEvE,CAAC"}
|
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import * as React from 'react';
|
|
24
24
|
import { ListItem } from './common/List';
|
|
25
|
-
import { HStack } from '@workday/canvas-kit-
|
|
25
|
+
import { HStack } from '@workday/canvas-kit-react/layout';
|
|
26
26
|
export var PageList = function (_a) {
|
|
27
27
|
var model = _a.model, children = _a.children, elemProps = __rest(_a, ["model", "children"]);
|
|
28
28
|
return (React.createElement(HStack, __assign({ margin: "zero", as: "ol", role: "list", paddingLeft: "zero", paddingRight: "zero", spacing: "xxxs" }, elemProps), typeof children === 'function' ? children(model) : children));
|
|
@@ -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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/common/List.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/common/List.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAGjE,MAAM,WAAW,SAAU,SAAQ,SAAS;CAAG;AAM/C,eAAO,MAAM,IAAI,gEAgBf,CAAC;AAEH,MAAM,WAAW,aAAc,SAAQ,SAAS;CAAG;AAEnD,eAAO,MAAM,QAAQ,oEASnB,CAAC"}
|
|
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import * as React from 'react';
|
|
24
|
-
import { Flex } from '@workday/canvas-kit-
|
|
24
|
+
import { Flex } from '@workday/canvas-kit-react/layout';
|
|
25
25
|
import { styled, createComponent } from '@workday/canvas-kit-react/common';
|
|
26
26
|
var StyledList = styled(Flex.as('ul'))({
|
|
27
27
|
listStyle: 'none',
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopupBody.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupBody.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"PopupBody.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupBody.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,grBAKpB,CAAC"}
|