@workday/canvas-kit-react 8.0.0-alpha.125-next.4 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-bar/lib/ActionBarList.tsx +5 -12
- package/action-bar/package.json +2 -1
- package/avatar/index.ts +4 -0
- package/avatar/lib/Avatar.tsx +3 -1
- package/avatar/package.json +2 -1
- package/badge/index.ts +1 -1
- package/badge/lib/CountBadge.tsx +3 -1
- package/badge/package.json +2 -1
- package/banner/package.json +2 -1
- package/button/lib/deprecated_Button.tsx +1 -1
- package/button/package.json +2 -1
- package/card/package.json +2 -1
- package/checkbox/index.ts +3 -0
- package/checkbox/lib/Checkbox.tsx +3 -2
- package/checkbox/package.json +2 -1
- package/collection/lib/ListBox.tsx +1 -1
- package/collection/lib/useListRenderItem.tsx +14 -24
- package/collection/package.json +2 -1
- package/color-picker/index.ts +3 -0
- package/color-picker/lib/ColorInput.tsx +2 -0
- package/color-picker/lib/ColorPreview.tsx +3 -1
- package/color-picker/package.json +2 -1
- package/common/lib/InputProvider.tsx +1 -1
- package/common/lib/styles/focusRing.ts +1 -1
- package/common/lib/utils/StaticStates.tsx +2 -2
- package/common/lib/utils/components.ts +3 -3
- package/common/package.json +2 -1
- package/dialog/package.json +2 -1
- package/disclosure/package.json +2 -1
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +2 -2
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +3 -61
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.js +2 -3
- package/dist/commonjs/avatar/index.d.ts +3 -0
- package/dist/commonjs/avatar/index.d.ts.map +1 -1
- package/dist/commonjs/avatar/index.js +7 -0
- package/dist/commonjs/avatar/lib/Avatar.d.ts +2 -2
- package/dist/commonjs/avatar/lib/Avatar.d.ts.map +1 -1
- package/dist/commonjs/avatar/lib/Avatar.js +5 -4
- package/dist/commonjs/badge/index.d.ts +1 -1
- package/dist/commonjs/badge/index.d.ts.map +1 -1
- package/dist/commonjs/badge/index.js +4 -1
- package/dist/commonjs/badge/lib/CountBadge.d.ts +2 -1
- package/dist/commonjs/badge/lib/CountBadge.d.ts.map +1 -1
- package/dist/commonjs/badge/lib/CountBadge.js +1 -2
- package/dist/commonjs/button/lib/deprecated_Button.js +7 -7
- package/dist/commonjs/checkbox/index.d.ts +3 -0
- package/dist/commonjs/checkbox/index.d.ts.map +1 -1
- package/dist/commonjs/checkbox/index.js +7 -0
- package/dist/commonjs/checkbox/lib/Checkbox.d.ts +1 -0
- package/dist/commonjs/checkbox/lib/Checkbox.d.ts.map +1 -1
- package/dist/commonjs/checkbox/lib/Checkbox.js +3 -2
- package/dist/commonjs/collection/lib/ListBox.d.ts +1 -1
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListRenderItem.d.ts +1 -1
- package/dist/commonjs/collection/lib/useListRenderItem.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListRenderItem.js +11 -21
- package/dist/commonjs/color-picker/index.d.ts +3 -0
- package/dist/commonjs/color-picker/index.d.ts.map +1 -1
- package/dist/commonjs/color-picker/index.js +8 -0
- package/dist/commonjs/color-picker/lib/ColorInput.d.ts +1 -0
- package/dist/commonjs/color-picker/lib/ColorInput.d.ts.map +1 -1
- package/dist/commonjs/color-picker/lib/ColorInput.js +1 -0
- package/dist/commonjs/color-picker/lib/ColorPreview.d.ts +1 -0
- package/dist/commonjs/color-picker/lib/ColorPreview.d.ts.map +1 -1
- package/dist/commonjs/color-picker/lib/ColorPreview.js +3 -2
- package/dist/commonjs/common/lib/InputProvider.d.ts +2 -2
- package/dist/commonjs/common/lib/InputProvider.d.ts.map +1 -1
- package/dist/commonjs/common/lib/styles/focusRing.js +2 -2
- package/dist/commonjs/common/lib/utils/StaticStates.d.ts +2 -2
- package/dist/commonjs/common/lib/utils/StaticStates.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/components.d.ts +3 -3
- package/dist/commonjs/common/lib/utils/components.d.ts.map +1 -1
- package/dist/commonjs/form-field/index.d.ts +5 -0
- package/dist/commonjs/form-field/index.d.ts.map +1 -1
- package/dist/commonjs/form-field/index.js +11 -0
- package/dist/commonjs/form-field/lib/FormField.d.ts +2 -2
- package/dist/commonjs/form-field/lib/FormField.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/FormField.js +8 -6
- package/dist/commonjs/form-field/lib/Hint.d.ts +1 -1
- package/dist/commonjs/form-field/lib/Hint.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/Hint.js +1 -2
- package/dist/commonjs/form-field/lib/Label.d.ts +2 -2
- package/dist/commonjs/form-field/lib/Label.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/Label.js +1 -2
- package/dist/commonjs/icon/index.d.ts +7 -0
- package/dist/commonjs/icon/index.d.ts.map +1 -1
- package/dist/commonjs/icon/index.js +16 -0
- package/dist/commonjs/icon/lib/AccentIcon.d.ts +2 -1
- package/dist/commonjs/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AccentIcon.js +8 -4
- package/dist/commonjs/icon/lib/AppletIcon.d.ts +1 -0
- package/dist/commonjs/icon/lib/AppletIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AppletIcon.js +6 -2
- package/dist/commonjs/icon/lib/Graphic.d.ts +2 -1
- package/dist/commonjs/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +8 -4
- package/dist/commonjs/icon/lib/Icon.d.ts +1 -0
- package/dist/commonjs/icon/lib/Icon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Icon.js +6 -2
- package/dist/commonjs/icon/lib/Svg.d.ts +1 -0
- package/dist/commonjs/icon/lib/Svg.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Svg.js +1 -0
- package/dist/commonjs/icon/lib/SystemIcon.d.ts +2 -1
- package/dist/commonjs/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIcon.js +8 -4
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts +2 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +5 -4
- package/dist/commonjs/layout/index.d.ts +2 -2
- package/dist/commonjs/layout/index.d.ts.map +1 -1
- package/dist/commonjs/layout/index.js +7 -4
- package/dist/commonjs/layout/lib/Column.d.ts +1 -1
- package/dist/commonjs/layout/lib/Column.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Column.js +1 -2
- package/dist/commonjs/layout/lib/Layout.d.ts +3 -2
- package/dist/commonjs/layout/lib/Layout.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Layout.js +7 -8
- package/dist/commonjs/layout/lib/utils/border.d.ts +8 -8
- package/dist/commonjs/layout/lib/utils/border.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/flex.d.ts +7 -7
- package/dist/commonjs/layout/lib/utils/flex.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/flexItem.d.ts +4 -4
- package/dist/commonjs/layout/lib/utils/flexItem.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/layout.d.ts +7 -7
- package/dist/commonjs/layout/lib/utils/layout.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/position.d.ts +3 -3
- package/dist/commonjs/layout/lib/utils/position.d.ts.map +1 -1
- 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/loading-animation/index.d.ts +4 -2
- package/dist/commonjs/loading-animation/index.d.ts.map +1 -1
- package/dist/commonjs/loading-animation/index.js +19 -3
- package/dist/commonjs/loading-animation/lib/LoadingDots.d.ts +1 -1
- package/dist/commonjs/loading-animation/lib/LoadingDots.d.ts.map +1 -1
- package/dist/commonjs/loading-animation/lib/LoadingDots.js +6 -7
- package/dist/commonjs/menu/lib/Menu.d.ts +1 -1
- package/dist/commonjs/menu/lib/MenuList.d.ts +3 -3
- package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts +1 -0
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts.map +1 -1
- 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/GoTo/Label.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts.map +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/common/useLiveRegion.d.ts +0 -1
- package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.js +1 -1
- package/dist/commonjs/radio/index.d.ts +4 -0
- package/dist/commonjs/radio/index.d.ts.map +1 -1
- package/dist/commonjs/radio/index.js +9 -0
- package/dist/commonjs/radio/lib/Radio.d.ts +1 -0
- package/dist/commonjs/radio/lib/Radio.d.ts.map +1 -1
- package/dist/commonjs/radio/lib/Radio.js +3 -2
- package/dist/commonjs/radio/lib/RadioGroup.d.ts +1 -1
- package/dist/commonjs/radio/lib/RadioGroup.d.ts.map +1 -1
- package/dist/commonjs/radio/lib/RadioGroup.js +11 -5
- package/dist/commonjs/segmented-control/index.d.ts +3 -0
- package/dist/commonjs/segmented-control/index.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/index.js +7 -0
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +1 -0
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControl.js +1 -0
- package/dist/commonjs/select/index.d.ts +4 -0
- package/dist/commonjs/select/index.d.ts.map +1 -1
- package/dist/commonjs/select/index.js +9 -0
- package/dist/commonjs/select/lib/Select.d.ts +2 -1
- package/dist/commonjs/select/lib/Select.d.ts.map +1 -1
- package/dist/commonjs/select/lib/Select.js +1 -0
- package/dist/commonjs/select/lib/SelectOption.d.ts +1 -1
- package/dist/commonjs/select/lib/SelectOption.d.ts.map +1 -1
- package/dist/commonjs/select/lib/SelectOption.js +1 -2
- package/dist/commonjs/side-panel/index.d.ts +3 -0
- package/dist/commonjs/side-panel/index.d.ts.map +1 -1
- package/dist/commonjs/side-panel/index.js +7 -0
- package/dist/commonjs/side-panel/lib/SidePanel.d.ts +1 -1
- 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/status-indicator/index.d.ts +3 -0
- package/dist/commonjs/status-indicator/index.d.ts.map +1 -1
- package/dist/commonjs/status-indicator/index.js +7 -0
- package/dist/commonjs/status-indicator/lib/StatusIndicator.d.ts +1 -1
- package/dist/commonjs/status-indicator/lib/StatusIndicator.d.ts.map +1 -1
- package/dist/commonjs/status-indicator/lib/StatusIndicator.js +2 -2
- package/dist/commonjs/switch/index.d.ts +3 -0
- package/dist/commonjs/switch/index.d.ts.map +1 -1
- package/dist/commonjs/switch/index.js +7 -0
- package/dist/commonjs/switch/lib/Switch.d.ts +1 -0
- package/dist/commonjs/switch/lib/Switch.d.ts.map +1 -1
- package/dist/commonjs/switch/lib/Switch.js +1 -0
- package/dist/commonjs/table/index.d.ts +4 -0
- package/dist/commonjs/table/index.d.ts.map +1 -1
- package/dist/commonjs/table/index.js +9 -0
- package/dist/commonjs/table/lib/Table.d.ts +1 -1
- package/dist/commonjs/table/lib/Table.d.ts.map +1 -1
- package/dist/commonjs/table/lib/Table.js +2 -2
- package/dist/commonjs/table/lib/TableRow.d.ts +2 -1
- package/dist/commonjs/table/lib/TableRow.d.ts.map +1 -1
- package/dist/commonjs/table/lib/TableRow.js +3 -2
- package/dist/commonjs/tabs/lib/Tabs.d.ts +4 -4
- package/dist/commonjs/tabs/lib/TabsList.d.ts +2 -2
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +2 -2
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +2 -2
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/text-area/index.d.ts +3 -0
- package/dist/commonjs/text-area/index.d.ts.map +1 -1
- package/dist/commonjs/text-area/index.js +7 -0
- package/dist/commonjs/text-area/lib/TextArea.d.ts +1 -0
- package/dist/commonjs/text-area/lib/TextArea.d.ts.map +1 -1
- package/dist/commonjs/text-area/lib/TextArea.js +1 -0
- package/dist/commonjs/text-input/index.d.ts +4 -0
- package/dist/commonjs/text-input/index.d.ts.map +1 -1
- package/dist/commonjs/text-input/index.js +9 -0
- package/dist/commonjs/text-input/lib/InputIconContainer.d.ts +2 -1
- package/dist/commonjs/text-input/lib/InputIconContainer.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/InputIconContainer.js +1 -2
- package/dist/commonjs/text-input/lib/TextInput.d.ts +1 -0
- package/dist/commonjs/text-input/lib/TextInput.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/TextInput.js +1 -0
- package/dist/commonjs/toast/index.d.ts +3 -0
- package/dist/commonjs/toast/index.d.ts.map +1 -1
- package/dist/commonjs/toast/index.js +4 -0
- package/dist/commonjs/tokens/index.d.ts +2 -1
- package/dist/commonjs/tokens/index.d.ts.map +1 -1
- package/dist/commonjs/tokens/index.js +3 -2
- package/dist/commonjs/tokens/lib/radius.d.ts +1 -1
- package/dist/commonjs/tokens/lib/radius.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/radius.js +1 -0
- package/dist/commonjs/tooltip/index.d.ts +2 -0
- package/dist/commonjs/tooltip/index.d.ts.map +1 -1
- package/dist/commonjs/tooltip/index.js +2 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts +3 -3
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +3 -61
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.js +3 -4
- package/dist/es6/avatar/index.d.ts +3 -0
- package/dist/es6/avatar/index.d.ts.map +1 -1
- package/dist/es6/avatar/index.js +3 -0
- package/dist/es6/avatar/lib/Avatar.d.ts +2 -2
- package/dist/es6/avatar/lib/Avatar.d.ts.map +1 -1
- package/dist/es6/avatar/lib/Avatar.js +2 -1
- package/dist/es6/badge/index.d.ts +1 -1
- package/dist/es6/badge/index.d.ts.map +1 -1
- package/dist/es6/badge/index.js +1 -1
- package/dist/es6/badge/lib/CountBadge.d.ts +2 -1
- package/dist/es6/badge/lib/CountBadge.d.ts.map +1 -1
- package/dist/es6/badge/lib/CountBadge.js +2 -1
- package/dist/es6/button/lib/BaseButton.d.ts +1 -1
- package/dist/es6/button/lib/deprecated_Button.js +1 -1
- package/dist/es6/checkbox/index.d.ts +3 -0
- package/dist/es6/checkbox/index.d.ts.map +1 -1
- package/dist/es6/checkbox/index.js +3 -0
- package/dist/es6/checkbox/lib/Checkbox.d.ts +1 -0
- package/dist/es6/checkbox/lib/Checkbox.d.ts.map +1 -1
- package/dist/es6/checkbox/lib/Checkbox.js +2 -1
- package/dist/es6/collection/lib/ListBox.d.ts +1 -1
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListRenderItem.d.ts +1 -1
- package/dist/es6/collection/lib/useListRenderItem.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListRenderItem.js +11 -21
- package/dist/es6/color-picker/index.d.ts +3 -0
- package/dist/es6/color-picker/index.d.ts.map +1 -1
- package/dist/es6/color-picker/index.js +3 -0
- package/dist/es6/color-picker/lib/ColorInput.d.ts +1 -0
- package/dist/es6/color-picker/lib/ColorInput.d.ts.map +1 -1
- package/dist/es6/color-picker/lib/ColorInput.js +1 -0
- package/dist/es6/color-picker/lib/ColorPreview.d.ts +1 -0
- package/dist/es6/color-picker/lib/ColorPreview.d.ts.map +1 -1
- package/dist/es6/color-picker/lib/ColorPreview.js +2 -1
- package/dist/es6/common/lib/InputProvider.d.ts +2 -2
- package/dist/es6/common/lib/InputProvider.d.ts.map +1 -1
- package/dist/es6/common/lib/styles/focusRing.js +1 -1
- package/dist/es6/common/lib/utils/StaticStates.d.ts +2 -2
- package/dist/es6/common/lib/utils/StaticStates.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/components.d.ts +6 -6
- package/dist/es6/common/lib/utils/components.d.ts.map +1 -1
- package/dist/es6/form-field/index.d.ts +5 -0
- package/dist/es6/form-field/index.d.ts.map +1 -1
- package/dist/es6/form-field/index.js +5 -0
- package/dist/es6/form-field/lib/FormField.d.ts +2 -2
- package/dist/es6/form-field/lib/FormField.d.ts.map +1 -1
- package/dist/es6/form-field/lib/FormField.js +3 -3
- package/dist/es6/form-field/lib/Hint.d.ts +1 -1
- package/dist/es6/form-field/lib/Hint.d.ts.map +1 -1
- package/dist/es6/form-field/lib/Hint.js +1 -1
- package/dist/es6/form-field/lib/Label.d.ts +2 -2
- package/dist/es6/form-field/lib/Label.d.ts.map +1 -1
- package/dist/es6/form-field/lib/Label.js +1 -1
- package/dist/es6/icon/index.d.ts +7 -0
- package/dist/es6/icon/index.d.ts.map +1 -1
- package/dist/es6/icon/index.js +7 -0
- package/dist/es6/icon/lib/AccentIcon.d.ts +2 -1
- package/dist/es6/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AccentIcon.js +3 -2
- package/dist/es6/icon/lib/AppletIcon.d.ts +1 -0
- package/dist/es6/icon/lib/AppletIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AppletIcon.js +2 -1
- package/dist/es6/icon/lib/Graphic.d.ts +2 -1
- package/dist/es6/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/es6/icon/lib/Graphic.js +3 -2
- package/dist/es6/icon/lib/Icon.d.ts +1 -0
- package/dist/es6/icon/lib/Icon.d.ts.map +1 -1
- package/dist/es6/icon/lib/Icon.js +2 -1
- package/dist/es6/icon/lib/Svg.d.ts +1 -0
- package/dist/es6/icon/lib/Svg.d.ts.map +1 -1
- package/dist/es6/icon/lib/Svg.js +1 -0
- package/dist/es6/icon/lib/SystemIcon.d.ts +2 -1
- package/dist/es6/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIcon.js +3 -2
- package/dist/es6/icon/lib/SystemIconCircle.d.ts +2 -1
- package/dist/es6/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +3 -2
- package/dist/es6/layout/index.d.ts +2 -2
- package/dist/es6/layout/index.d.ts.map +1 -1
- package/dist/es6/layout/index.js +2 -2
- package/dist/es6/layout/lib/Column.d.ts +1 -1
- package/dist/es6/layout/lib/Column.d.ts.map +1 -1
- package/dist/es6/layout/lib/Column.js +1 -1
- package/dist/es6/layout/lib/Layout.d.ts +3 -2
- package/dist/es6/layout/lib/Layout.d.ts.map +1 -1
- package/dist/es6/layout/lib/Layout.js +3 -3
- package/dist/es6/layout/lib/utils/border.d.ts +8 -8
- package/dist/es6/layout/lib/utils/border.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/flex.d.ts +7 -7
- package/dist/es6/layout/lib/utils/flex.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/flexItem.d.ts +4 -4
- package/dist/es6/layout/lib/utils/flexItem.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/layout.d.ts +7 -7
- package/dist/es6/layout/lib/utils/layout.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/position.d.ts +3 -3
- package/dist/es6/layout/lib/utils/position.d.ts.map +1 -1
- 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/loading-animation/index.d.ts +4 -2
- package/dist/es6/loading-animation/index.d.ts.map +1 -1
- package/dist/es6/loading-animation/index.js +4 -2
- package/dist/es6/loading-animation/lib/LoadingDots.d.ts +1 -1
- package/dist/es6/loading-animation/lib/LoadingDots.d.ts.map +1 -1
- package/dist/es6/loading-animation/lib/LoadingDots.js +2 -2
- package/dist/es6/menu/lib/Menu.d.ts +2 -2
- package/dist/es6/menu/lib/MenuItem.d.ts +1 -1
- package/dist/es6/menu/lib/MenuList.d.ts +3 -3
- package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalOverlay.d.ts +1 -0
- package/dist/es6/modal/lib/ModalOverlay.d.ts.map +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/GoTo/Label.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts.map +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/common/useLiveRegion.d.ts +0 -1
- package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.js +1 -1
- package/dist/es6/radio/index.d.ts +4 -0
- package/dist/es6/radio/index.d.ts.map +1 -1
- package/dist/es6/radio/index.js +4 -0
- package/dist/es6/radio/lib/Radio.d.ts +1 -0
- package/dist/es6/radio/lib/Radio.d.ts.map +1 -1
- package/dist/es6/radio/lib/Radio.js +2 -1
- package/dist/es6/radio/lib/RadioGroup.d.ts +1 -1
- package/dist/es6/radio/lib/RadioGroup.d.ts.map +1 -1
- package/dist/es6/radio/lib/RadioGroup.js +7 -3
- package/dist/es6/segmented-control/index.d.ts +3 -0
- package/dist/es6/segmented-control/index.d.ts.map +1 -1
- package/dist/es6/segmented-control/index.js +3 -0
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +1 -0
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControl.js +1 -0
- package/dist/es6/select/index.d.ts +4 -0
- package/dist/es6/select/index.d.ts.map +1 -1
- package/dist/es6/select/index.js +4 -0
- package/dist/es6/select/lib/Select.d.ts +2 -1
- package/dist/es6/select/lib/Select.d.ts.map +1 -1
- package/dist/es6/select/lib/Select.js +1 -0
- package/dist/es6/select/lib/SelectOption.d.ts +1 -1
- package/dist/es6/select/lib/SelectOption.d.ts.map +1 -1
- package/dist/es6/select/lib/SelectOption.js +1 -1
- package/dist/es6/side-panel/index.d.ts +3 -0
- package/dist/es6/side-panel/index.d.ts.map +1 -1
- package/dist/es6/side-panel/index.js +3 -0
- package/dist/es6/side-panel/lib/SidePanel.d.ts +1 -1
- package/dist/es6/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/es6/side-panel/lib/SidePanel.js +1 -1
- package/dist/es6/status-indicator/index.d.ts +3 -0
- package/dist/es6/status-indicator/index.d.ts.map +1 -1
- package/dist/es6/status-indicator/index.js +3 -0
- package/dist/es6/status-indicator/lib/StatusIndicator.d.ts +1 -1
- package/dist/es6/status-indicator/lib/StatusIndicator.d.ts.map +1 -1
- package/dist/es6/status-indicator/lib/StatusIndicator.js +1 -1
- package/dist/es6/switch/index.d.ts +3 -0
- package/dist/es6/switch/index.d.ts.map +1 -1
- package/dist/es6/switch/index.js +3 -0
- package/dist/es6/switch/lib/Switch.d.ts +1 -0
- package/dist/es6/switch/lib/Switch.d.ts.map +1 -1
- package/dist/es6/switch/lib/Switch.js +1 -0
- package/dist/es6/table/index.d.ts +4 -0
- package/dist/es6/table/index.d.ts.map +1 -1
- package/dist/es6/table/index.js +4 -0
- package/dist/es6/table/lib/Table.d.ts +1 -1
- package/dist/es6/table/lib/Table.d.ts.map +1 -1
- package/dist/es6/table/lib/Table.js +1 -1
- package/dist/es6/table/lib/TableRow.d.ts +2 -1
- package/dist/es6/table/lib/TableRow.d.ts.map +1 -1
- package/dist/es6/table/lib/TableRow.js +2 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +5 -5
- package/dist/es6/tabs/lib/TabsItem.d.ts +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +2 -2
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +2 -2
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +2 -2
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/text-area/index.d.ts +3 -0
- package/dist/es6/text-area/index.d.ts.map +1 -1
- package/dist/es6/text-area/index.js +3 -0
- package/dist/es6/text-area/lib/TextArea.d.ts +1 -0
- package/dist/es6/text-area/lib/TextArea.d.ts.map +1 -1
- package/dist/es6/text-area/lib/TextArea.js +1 -0
- package/dist/es6/text-input/index.d.ts +4 -0
- package/dist/es6/text-input/index.d.ts.map +1 -1
- package/dist/es6/text-input/index.js +4 -0
- package/dist/es6/text-input/lib/InputIconContainer.d.ts +2 -1
- package/dist/es6/text-input/lib/InputIconContainer.d.ts.map +1 -1
- package/dist/es6/text-input/lib/InputIconContainer.js +2 -1
- package/dist/es6/text-input/lib/TextInput.d.ts +1 -0
- package/dist/es6/text-input/lib/TextInput.d.ts.map +1 -1
- package/dist/es6/text-input/lib/TextInput.js +1 -0
- package/dist/es6/toast/index.d.ts +3 -0
- package/dist/es6/toast/index.d.ts.map +1 -1
- package/dist/es6/toast/index.js +3 -0
- package/dist/es6/tokens/index.d.ts +2 -1
- package/dist/es6/tokens/index.d.ts.map +1 -1
- package/dist/es6/tokens/index.js +2 -1
- package/dist/es6/tokens/lib/radius.d.ts +1 -1
- package/dist/es6/tokens/lib/radius.d.ts.map +1 -1
- package/dist/es6/tokens/lib/radius.js +1 -0
- package/dist/es6/tooltip/index.d.ts +2 -0
- package/dist/es6/tooltip/index.d.ts.map +1 -1
- package/dist/es6/tooltip/index.js +2 -0
- package/dist/es6/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/form-field/index.ts +5 -0
- package/form-field/lib/FormField.tsx +4 -4
- package/form-field/lib/Hint.tsx +1 -1
- package/form-field/lib/Label.tsx +2 -2
- package/form-field/package.json +2 -1
- package/icon/index.ts +9 -0
- package/icon/lib/AccentIcon.tsx +4 -2
- package/icon/lib/AppletIcon.tsx +3 -1
- package/icon/lib/Graphic.tsx +4 -2
- package/icon/lib/Icon.tsx +3 -1
- package/icon/lib/Svg.tsx +2 -0
- package/icon/lib/SystemIcon.tsx +4 -2
- package/icon/lib/SystemIconCircle.tsx +4 -2
- package/icon/package.json +2 -1
- package/layout/index.ts +2 -2
- package/layout/lib/Column.tsx +1 -1
- package/layout/lib/Layout.tsx +5 -3
- package/layout/lib/utils/border.ts +8 -8
- package/layout/lib/utils/flex.ts +14 -7
- package/layout/lib/utils/flexItem.ts +4 -4
- package/layout/lib/utils/layout.ts +14 -7
- package/layout/lib/utils/position.ts +3 -3
- package/layout/lib/utils/types.ts +148 -0
- package/layout/package.json +2 -1
- package/loading-animation/index.ts +4 -2
- package/loading-animation/lib/LoadingDots.tsx +2 -2
- package/loading-animation/package.json +2 -1
- package/menu/lib/MenuList.tsx +2 -3
- package/menu/package.json +2 -1
- package/modal/lib/ModalOverlay.tsx +4 -2
- package/modal/package.json +2 -1
- package/package.json +7 -7
- package/pagination/lib/Pagination/AdditionalDetails.tsx +1 -1
- package/pagination/lib/Pagination/GoTo/Label.tsx +1 -2
- package/pagination/lib/Pagination/PageList.tsx +1 -1
- package/pagination/lib/Pagination/common/useLiveRegion.tsx +0 -2
- package/pagination/package.json +2 -1
- package/popup/lib/hooks/useCloseOnFullscreenExit.ts +1 -1
- package/popup/lib/hooks/useTransferOnFullscreenEnter.ts +1 -1
- package/popup/lib/hooks/useTransferOnFullscreenExit.ts +1 -1
- package/popup/package.json +2 -1
- package/radio/index.ts +5 -0
- package/radio/lib/Radio.tsx +3 -2
- package/radio/lib/RadioGroup.tsx +7 -3
- package/radio/package.json +2 -1
- package/segmented-control/index.ts +4 -0
- package/segmented-control/lib/SegmentedControl.tsx +2 -0
- package/segmented-control/package.json +2 -1
- package/select/index.ts +5 -0
- package/select/lib/Select.tsx +3 -1
- package/select/lib/SelectOption.tsx +1 -1
- package/select/package.json +2 -1
- package/side-panel/README.md +1 -1
- package/side-panel/index.ts +4 -0
- package/side-panel/lib/SidePanel.tsx +1 -1
- package/side-panel/package.json +2 -1
- package/skeleton/package.json +2 -1
- package/status-indicator/index.ts +4 -0
- package/status-indicator/lib/StatusIndicator.tsx +1 -1
- package/status-indicator/package.json +2 -1
- package/switch/index.ts +4 -0
- package/switch/lib/Switch.tsx +2 -0
- package/switch/package.json +2 -1
- package/table/index.ts +5 -0
- package/table/lib/Table.tsx +1 -1
- package/table/lib/TableRow.tsx +3 -1
- package/table/package.json +2 -1
- package/tabs/lib/TabsList.tsx +1 -2
- package/tabs/lib/TabsPanel.tsx +1 -1
- package/tabs/lib/TabsPanels.tsx +1 -1
- package/tabs/package.json +2 -1
- package/text-area/index.ts +4 -0
- package/text-area/lib/TextArea.tsx +2 -0
- package/text-area/package.json +2 -1
- package/text-input/index.ts +4 -0
- package/text-input/lib/InputIconContainer.tsx +7 -3
- package/text-input/lib/TextInput.tsx +2 -0
- package/text-input/package.json +2 -1
- package/toast/index.ts +4 -0
- package/toast/package.json +2 -1
- package/tokens/index.ts +2 -1
- package/tokens/lib/radius.ts +2 -0
- package/tokens/package.json +2 -1
- package/tooltip/index.ts +3 -0
- package/tooltip/package.json +2 -1
|
@@ -13,9 +13,10 @@ var IconContainer = styled('div')({
|
|
|
13
13
|
top: space.xxs,
|
|
14
14
|
right: space.xxs,
|
|
15
15
|
});
|
|
16
|
-
|
|
16
|
+
var InputIconContainer = function (_a) {
|
|
17
17
|
var grow = _a.grow, children = _a.children, icon = _a.icon;
|
|
18
18
|
return (React.createElement(Container, { grow: grow },
|
|
19
19
|
children,
|
|
20
20
|
icon && React.createElement(IconContainer, null, icon)));
|
|
21
21
|
};
|
|
22
|
+
export default InputIconContainer;
|
|
@@ -12,4 +12,5 @@ export interface TextInputProps extends Themeable, GrowthBehavior {
|
|
|
12
12
|
export declare const TextInput: import("../../common").ElementComponent<"input", TextInputProps> & {
|
|
13
13
|
ErrorType: typeof ErrorType;
|
|
14
14
|
};
|
|
15
|
+
export default TextInput;
|
|
15
16
|
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../text-input/lib/TextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,cAAc,EACd,SAAS,EAGT,SAAS,EACV,MAAM,kCAAkC,CAAC;AAG1C,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AA2DD,eAAO,MAAM,SAAS;;CAgBpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../text-input/lib/TextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,cAAc,EACd,SAAS,EAGT,SAAS,EACV,MAAM,kCAAkC,CAAC;AAG1C,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AA2DD,eAAO,MAAM,SAAS;;CAgBpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../toast/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAC;AAElC,eAAe,KAAK,CAAC;AACrB,OAAO,EAAC,KAAK,EAAC,CAAC;AACf,cAAc,aAAa,CAAC"}
|
package/dist/es6/toast/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { depth, CanvasDepth, CanvasDepthValues } from './lib/depth';
|
|
|
5
5
|
import { space, CanvasSpace, CanvasSpaceKeys, CanvasSpaceValues, CanvasSpaceNumberValues, CanvasSpaceNumbers, spaceNumbers } from './lib/space';
|
|
6
6
|
import { type, fontFamily, monoFontFamily, CanvasType, CanvasTypeProperties, CanvasTypeVariants, CanvasTypeHierarchy } from './lib/type';
|
|
7
7
|
import { CSSProperties } from './lib/types';
|
|
8
|
-
|
|
8
|
+
declare const canvas: {
|
|
9
9
|
buttonColors: {
|
|
10
10
|
delete: {
|
|
11
11
|
background: string;
|
|
@@ -411,5 +411,6 @@ export declare const canvas: {
|
|
|
411
411
|
};
|
|
412
412
|
export * from '@workday/canvas-colors-web';
|
|
413
413
|
export { borderRadius, colors, gradients, depth, space, spaceNumbers, type, fontFamily, monoFontFamily, BrandingColor, CanvasDepth, CanvasDepthValues, CSSProperties, };
|
|
414
|
+
export default canvas;
|
|
414
415
|
export type { CanvasBorderRadius, CanvasBorderRadiusKeys, CanvasBorderRadiusValues, CanvasColor, CanvasSpace, CanvasSpaceKeys, CanvasSpaceValues, CanvasSpaceNumberValues, CanvasSpaceNumbers, CanvasType, CanvasTypeProperties, CanvasTypeVariants, CanvasTypeHierarchy, };
|
|
415
416
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EAEN,SAAS,EAKV,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAC,YAAY,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,wBAAwB,EAAC,MAAM,cAAc,CAAC;AAChH,OAAO,EAAC,aAAa,EAAE,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAC,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAC,MAAM,aAAa,CAAC;AAClE,OAAO,EACL,KAAK,EACL,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,IAAI,EACV,UAAU,EACV,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE1C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EAEN,SAAS,EAKV,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAC,YAAY,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,wBAAwB,EAAC,MAAM,cAAc,CAAC;AAChH,OAAO,EAAC,aAAa,EAAE,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAC,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAC,MAAM,aAAa,CAAC;AAClE,OAAO,EACL,KAAK,EACL,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,IAAI,EACV,UAAU,EACV,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE1C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBX,CAAC;AAEF,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EACL,YAAY,EACZ,MAAM,EACN,SAAS,EACT,KAAK,EACL,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,UAAU,EACV,cAAc,EACd,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,aAAa,GACd,CAAC;AACF,eAAe,MAAM,CAAC;AAEtB,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,GACpB,CAAA"}
|
package/dist/es6/tokens/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { BrandingColor } from './lib/colors.types';
|
|
|
4
4
|
import { depth } from './lib/depth';
|
|
5
5
|
import { space, spaceNumbers, } from './lib/space';
|
|
6
6
|
import { type, fontFamily, monoFontFamily, } from './lib/type';
|
|
7
|
-
|
|
7
|
+
var canvas = {
|
|
8
8
|
buttonColors: buttonColors,
|
|
9
9
|
chartingColorOffsets: chartingColorOffsets,
|
|
10
10
|
chartingColors: chartingColors,
|
|
@@ -23,3 +23,4 @@ export var canvas = {
|
|
|
23
23
|
};
|
|
24
24
|
export * from '@workday/canvas-colors-web';
|
|
25
25
|
export { borderRadius, colors, gradients, depth, space, spaceNumbers, type, fontFamily, monoFontFamily, BrandingColor, };
|
|
26
|
+
export default canvas;
|
|
@@ -13,5 +13,5 @@ export declare type CanvasBorderRadiusKeys = keyof CanvasBorderRadius;
|
|
|
13
13
|
export declare type CanvasBorderRadiusValues = ValueOf<CanvasBorderRadius>;
|
|
14
14
|
/** An object of border-radius keys and px values (strings and numbers) */
|
|
15
15
|
export declare const borderRadius: CanvasBorderRadius;
|
|
16
|
-
export
|
|
16
|
+
export default borderRadius;
|
|
17
17
|
//# sourceMappingURL=radius.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../../../tokens/lib/radius.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAO7B,uFAAuF;AACvF,oBAAY,kBAAkB,GAAG;IAC/B,IAAI,EAAE,KAAK,CAAC;IACZ,CAAC,EAAE,KAAK,CAAC;IACT,CAAC,EAAE,KAAK,CAAC;IACT,CAAC,EAAE,KAAK,CAAC;IACT,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,+CAA+C;AAC/C,oBAAY,sBAAsB,GAAG,MAAM,kBAAkB,CAAC;AAE9D,8DAA8D;AAC9D,oBAAY,wBAAwB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAEnE,0EAA0E;AAC1E,eAAO,MAAM,YAAY,EAAE,kBAM1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../../../tokens/lib/radius.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAO7B,uFAAuF;AACvF,oBAAY,kBAAkB,GAAG;IAC/B,IAAI,EAAE,KAAK,CAAC;IACZ,CAAC,EAAE,KAAK,CAAC;IACT,CAAC,EAAE,KAAK,CAAC;IACT,CAAC,EAAE,KAAK,CAAC;IACT,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,+CAA+C;AAC/C,oBAAY,sBAAsB,GAAG,MAAM,kBAAkB,CAAC;AAE9D,8DAA8D;AAC9D,oBAAY,wBAAwB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAEnE,0EAA0E;AAC1E,eAAO,MAAM,YAAY,EAAE,kBAM1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAEtC,eAAe,OAAO,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
|
|
@@ -21,6 +21,6 @@ export interface TooltipContainerProps extends React.HTMLAttributes<HTMLDivEleme
|
|
|
21
21
|
}
|
|
22
22
|
export declare const TooltipContainer: import("@emotion/styled").StyledComponent<{
|
|
23
23
|
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
-
as?: "symbol" | "object" | "
|
|
24
|
+
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;
|
|
25
25
|
} & TooltipContainerProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
26
|
//# sourceMappingURL=TooltipContainer.d.ts.map
|
package/form-field/index.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import FormField from './lib/FormField';
|
|
2
|
+
import Hint from './lib/Hint';
|
|
3
|
+
import Label from './lib/Label';
|
|
1
4
|
|
|
5
|
+
export default FormField;
|
|
6
|
+
export {FormField, Hint, Label};
|
|
2
7
|
export * from './lib/types';
|
|
3
8
|
export * from './lib/FormField';
|
|
4
9
|
export * from './lib/Hint';
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
Themeable,
|
|
8
8
|
generateUniqueId,
|
|
9
9
|
} from '@workday/canvas-kit-react/common';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import Hint from './Hint';
|
|
11
|
+
import Label from './Label';
|
|
12
12
|
import {FormFieldLabelPosition, FormFieldLabelPositionBehavior} from './types';
|
|
13
13
|
|
|
14
14
|
export interface FormFieldProps
|
|
@@ -136,7 +136,7 @@ const FormFieldInputContainer = styled('div')<GrowthBehavior & FormFieldLabelPos
|
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
138
|
|
|
139
|
-
class FormField extends React.Component<
|
|
139
|
+
class FormField extends React.Component<FormFieldProps> {
|
|
140
140
|
static LabelPosition = FormFieldLabelPosition;
|
|
141
141
|
static ErrorType = ErrorType;
|
|
142
142
|
|
|
@@ -238,4 +238,4 @@ class FormField extends React.Component<React.PropsWithChildren<FormFieldProps>>
|
|
|
238
238
|
FormField.LabelPosition = FormFieldLabelPosition;
|
|
239
239
|
FormField.ErrorType = ErrorType;
|
|
240
240
|
|
|
241
|
-
export
|
|
241
|
+
export default FormField;
|
package/form-field/lib/Hint.tsx
CHANGED
package/form-field/lib/Label.tsx
CHANGED
|
@@ -88,7 +88,7 @@ const LegendComponent = styled('legend')<LabelProps>(...labelStyles, ({labelPosi
|
|
|
88
88
|
});
|
|
89
89
|
const LabelComponent = styled('label')<LabelProps>(...labelStyles);
|
|
90
90
|
|
|
91
|
-
class Label extends React.Component<
|
|
91
|
+
class Label extends React.Component<LabelProps> {
|
|
92
92
|
static Position = FormFieldLabelPosition;
|
|
93
93
|
|
|
94
94
|
public render() {
|
|
@@ -125,4 +125,4 @@ class Label extends React.Component<React.PropsWithChildren<LabelProps>> {
|
|
|
125
125
|
|
|
126
126
|
Label.Position = FormFieldLabelPosition;
|
|
127
127
|
|
|
128
|
-
export
|
|
128
|
+
export default Label;
|
package/form-field/package.json
CHANGED
package/icon/index.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import AccentIcon from './lib/AccentIcon';
|
|
2
|
+
import AppletIcon from './lib/AppletIcon';
|
|
3
|
+
import SystemIcon from './lib/SystemIcon';
|
|
4
|
+
import SystemIconCircle from './lib/SystemIconCircle';
|
|
5
|
+
import Graphic from './lib/Graphic';
|
|
6
|
+
import Svg from './lib/Svg';
|
|
7
|
+
|
|
8
|
+
export {AccentIcon, AppletIcon, SystemIcon, SystemIconCircle, Graphic, Svg};
|
|
9
|
+
|
|
1
10
|
export * from './lib/AccentIcon';
|
|
2
11
|
export * from './lib/AppletIcon';
|
|
3
12
|
export * from './lib/SystemIcon';
|
package/icon/lib/AccentIcon.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import {colors} from '@workday/canvas-kit-react/tokens';
|
|
3
3
|
import {CanvasAccentIcon, CanvasIconTypes} from '@workday/design-assets-types';
|
|
4
4
|
import {CSSObject} from '@emotion/styled';
|
|
5
|
-
import
|
|
5
|
+
import Icon, {IconProps} from './Icon';
|
|
6
6
|
import {createComponent} from '@workday/canvas-kit-react/common';
|
|
7
7
|
|
|
8
8
|
export interface AccentIconStyles {
|
|
@@ -44,7 +44,7 @@ export const accentIconStyles = ({
|
|
|
44
44
|
},
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
const AccentIcon = createComponent('span')({
|
|
48
48
|
displayName: 'AccentIcon',
|
|
49
49
|
Component: (
|
|
50
50
|
{transparent = false, size = 56, icon, color, shouldMirror, ...elemProps}: AccentIconProps,
|
|
@@ -65,3 +65,5 @@ export const AccentIcon = createComponent('span')({
|
|
|
65
65
|
);
|
|
66
66
|
},
|
|
67
67
|
});
|
|
68
|
+
|
|
69
|
+
export default AccentIcon;
|
package/icon/lib/AppletIcon.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import {colors, BrandingColor, CanvasColor} from '@workday/canvas-kit-react/tokens';
|
|
3
3
|
import {CanvasAppletIcon, CanvasIconTypes} from '@workday/design-assets-types';
|
|
4
4
|
import {CSSObject} from '@emotion/styled';
|
|
5
|
-
import
|
|
5
|
+
import Icon, {IconProps} from './Icon';
|
|
6
6
|
import {createComponent} from '@workday/canvas-kit-react/common';
|
|
7
7
|
|
|
8
8
|
export interface AppletIconStyles {
|
|
@@ -91,3 +91,5 @@ export const AppletIcon = createComponent('span')({
|
|
|
91
91
|
Colors: BrandingColor,
|
|
92
92
|
},
|
|
93
93
|
});
|
|
94
|
+
|
|
95
|
+
export default AppletIcon;
|
package/icon/lib/Graphic.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {CanvasGraphic, CanvasIconTypes} from '@workday/design-assets-types';
|
|
3
3
|
import {CSSObject} from '@emotion/styled';
|
|
4
|
-
import
|
|
4
|
+
import Svg, {SvgProps} from './Svg';
|
|
5
5
|
import {createComponent} from '@workday/canvas-kit-react/common';
|
|
6
6
|
|
|
7
7
|
export interface GraphicStyles {
|
|
@@ -59,7 +59,7 @@ export const graphicStyles = ({width, height, grow}: GraphicStyles): CSSObject =
|
|
|
59
59
|
return {};
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
const Graphic = createComponent('span')({
|
|
63
63
|
displayName: 'Graphic',
|
|
64
64
|
Component: (
|
|
65
65
|
{grow = false, src, width, height, shouldMirror, ...elemProps}: GraphicProps,
|
|
@@ -79,3 +79,5 @@ export const Graphic = createComponent('span')({
|
|
|
79
79
|
);
|
|
80
80
|
},
|
|
81
81
|
});
|
|
82
|
+
|
|
83
|
+
export default Graphic;
|
package/icon/lib/Icon.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {CSSObject} from '@emotion/styled';
|
|
3
3
|
import {CanvasIcon, CanvasIconTypes} from '@workday/design-assets-types';
|
|
4
|
-
import
|
|
4
|
+
import Svg, {SvgProps} from './Svg';
|
|
5
5
|
import {createComponent} from '@workday/canvas-kit-react/common';
|
|
6
6
|
|
|
7
7
|
export interface IconProps extends SvgProps {
|
|
@@ -36,3 +36,5 @@ export const Icon = createComponent('span')({
|
|
|
36
36
|
);
|
|
37
37
|
},
|
|
38
38
|
});
|
|
39
|
+
|
|
40
|
+
export default Icon;
|
package/icon/lib/Svg.tsx
CHANGED
package/icon/lib/SystemIcon.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import {iconColors} from '@workday/canvas-kit-react/tokens';
|
|
3
3
|
import {CanvasSystemIcon, CanvasIconTypes} from '@workday/design-assets-types';
|
|
4
4
|
import {CSSObject} from '@emotion/styled';
|
|
5
|
-
import
|
|
5
|
+
import Icon, {IconProps} from './Icon';
|
|
6
6
|
import {createComponent} from '@workday/canvas-kit-react/common';
|
|
7
7
|
|
|
8
8
|
export interface SystemIconStyles {
|
|
@@ -88,7 +88,7 @@ export const systemIconStyles = ({
|
|
|
88
88
|
},
|
|
89
89
|
});
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
const SystemIcon = createComponent('span')({
|
|
92
92
|
displayName: 'SystemIcon',
|
|
93
93
|
Component: (
|
|
94
94
|
{
|
|
@@ -133,3 +133,5 @@ export const SystemIcon = createComponent('span')({
|
|
|
133
133
|
);
|
|
134
134
|
},
|
|
135
135
|
});
|
|
136
|
+
|
|
137
|
+
export default SystemIcon;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import isPropValid from '@emotion/is-prop-valid';
|
|
4
4
|
import {colors, borderRadius} from '@workday/canvas-kit-react/tokens';
|
|
5
|
-
import
|
|
5
|
+
import SystemIcon, {SystemIconProps} from './SystemIcon';
|
|
6
6
|
import {CanvasSystemIcon} from '@workday/design-assets-types';
|
|
7
7
|
import {createComponent, pickForegroundColor} from '@workday/canvas-kit-react/common';
|
|
8
8
|
|
|
@@ -58,7 +58,7 @@ const Container = styled('div', {
|
|
|
58
58
|
})
|
|
59
59
|
);
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
const SystemIconCircle = createComponent('span')({
|
|
62
62
|
displayName: 'SystemIconCircle',
|
|
63
63
|
Component: (
|
|
64
64
|
{
|
|
@@ -89,3 +89,5 @@ export const SystemIconCircle = createComponent('span')({
|
|
|
89
89
|
);
|
|
90
90
|
},
|
|
91
91
|
});
|
|
92
|
+
|
|
93
|
+
export default SystemIconCircle;
|
package/icon/package.json
CHANGED
package/layout/index.ts
CHANGED
package/layout/lib/Column.tsx
CHANGED
|
@@ -58,7 +58,7 @@ const ColumnContainer = styled('div', {
|
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
|
|
61
|
-
export class Column extends React.Component<ColumnProps> {
|
|
61
|
+
export default class Column extends React.Component<ColumnProps> {
|
|
62
62
|
public render() {
|
|
63
63
|
const {children, spacing, columns, width, ...elemProps} = this.props;
|
|
64
64
|
|
package/layout/lib/Layout.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import {GenericStyle} from '@workday/canvas-kit-react/common';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import Column, {ColumnProps} from './Column';
|
|
5
|
+
import canvas, {spaceNumbers} from '@workday/canvas-kit-react/tokens';
|
|
6
6
|
import isPropValid from '@emotion/is-prop-valid';
|
|
7
7
|
|
|
8
8
|
export interface LayoutProps {
|
|
@@ -58,7 +58,7 @@ const LayoutContainer = styled('div', {
|
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
class Layout extends React.Component<LayoutProps> {
|
|
62
62
|
public static Column = Column;
|
|
63
63
|
|
|
64
64
|
private renderChild = (child: React.ReactNode, spacing: number): React.ReactNode => {
|
|
@@ -97,3 +97,5 @@ export class Layout extends React.Component<LayoutProps> {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
Layout.Column = Column;
|
|
100
|
+
|
|
101
|
+
export default Layout;
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
useTheme,
|
|
11
11
|
} from '@workday/canvas-kit-react/common';
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import {PropertyBorder} from './types';
|
|
14
14
|
|
|
15
15
|
/** style props to set the border properties */
|
|
16
16
|
export type BorderShorthandStyleProps = {
|
|
@@ -57,15 +57,15 @@ export type BorderRadiusStyleProps = {
|
|
|
57
57
|
/** style props to set the border style properties */
|
|
58
58
|
export type BorderLineStyleProps = {
|
|
59
59
|
/** sets `border-style` property */
|
|
60
|
-
borderStyle?:
|
|
60
|
+
borderStyle?: PropertyBorder;
|
|
61
61
|
/** sets `border-top-style` property */
|
|
62
|
-
borderTopStyle?:
|
|
62
|
+
borderTopStyle?: PropertyBorder;
|
|
63
63
|
/** sets `border-right-style` property (no bidirectional support) */
|
|
64
|
-
borderRightStyle?:
|
|
64
|
+
borderRightStyle?: PropertyBorder;
|
|
65
65
|
/** sets `border-bottom-style` property */
|
|
66
|
-
borderBottomStyle?:
|
|
66
|
+
borderBottomStyle?: PropertyBorder;
|
|
67
67
|
/** sets `border-left-style` property (no bidirectional support) */
|
|
68
|
-
borderLeftStyle?:
|
|
68
|
+
borderLeftStyle?: PropertyBorder;
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
/** style props to set the border width properties */
|
|
@@ -88,7 +88,7 @@ export type BorderLogicalStyleProps = {
|
|
|
88
88
|
/** sets `border-left-color` property (bidirectional support) */
|
|
89
89
|
borderInlineStartColor?: CanvasColor | (string & {});
|
|
90
90
|
/** sets `border-left-style` property (bidirectional support) */
|
|
91
|
-
borderInlineStartStyle?:
|
|
91
|
+
borderInlineStartStyle?: PropertyBorder;
|
|
92
92
|
/** sets `border-left-width` property (bidirectional support) */
|
|
93
93
|
borderInlineStartWidth?: string | number;
|
|
94
94
|
/** sets `border-right` property (bidirectional support) */
|
|
@@ -96,7 +96,7 @@ export type BorderLogicalStyleProps = {
|
|
|
96
96
|
/** sets `border-right-color` property (bidirectional support) */
|
|
97
97
|
borderInlineEndColor?: CanvasColor | (string & {});
|
|
98
98
|
/** sets `border-right-style` property (bidirectional support) */
|
|
99
|
-
borderInlineEndStyle?:
|
|
99
|
+
borderInlineEndStyle?: PropertyBorder;
|
|
100
100
|
/** sets `border-right-width` property (bidirectional support) */
|
|
101
101
|
borderInlineEndWidth?: string | number;
|
|
102
102
|
};
|
package/layout/lib/utils/flex.ts
CHANGED
|
@@ -1,24 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
PropertyAlignItems,
|
|
3
|
+
PropertyAlignContent,
|
|
4
|
+
PropertyJustifyItems,
|
|
5
|
+
PropertyJustifyContent,
|
|
6
|
+
PropertyFlexWrap,
|
|
7
|
+
PropertyFlexDirection,
|
|
8
|
+
} from './types';
|
|
2
9
|
|
|
3
10
|
/** style props to for flexbox container properties */
|
|
4
11
|
export type FlexStyleProps = {
|
|
5
12
|
/** sets `align-items` property */
|
|
6
|
-
alignItems?:
|
|
13
|
+
alignItems?: PropertyAlignItems;
|
|
7
14
|
/** sets `align-content` property */
|
|
8
|
-
alignContent?:
|
|
15
|
+
alignContent?: PropertyAlignContent;
|
|
9
16
|
/**
|
|
10
17
|
* sets `display` property
|
|
11
18
|
* @default 'flex'
|
|
12
19
|
* */
|
|
13
20
|
display?: 'flex' | 'inline-flex';
|
|
14
21
|
/** sets `justify-items` property */
|
|
15
|
-
justifyItems?:
|
|
22
|
+
justifyItems?: PropertyJustifyItems;
|
|
16
23
|
/** sets `justify-content` property */
|
|
17
|
-
justifyContent?:
|
|
24
|
+
justifyContent?: PropertyJustifyContent;
|
|
18
25
|
/** sets `flex-wrap` property */
|
|
19
|
-
flexWrap?:
|
|
26
|
+
flexWrap?: PropertyFlexWrap;
|
|
20
27
|
/** sets `flex-direction` property */
|
|
21
|
-
flexDirection?:
|
|
28
|
+
flexDirection?: PropertyFlexDirection;
|
|
22
29
|
};
|
|
23
30
|
|
|
24
31
|
const flexProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {PropertyJustifySelf, PropertyAlignSelf, PropertyOrder} from './types';
|
|
2
2
|
|
|
3
3
|
/** style props to for flexbox item properties */
|
|
4
4
|
export type FlexItemStyleProps = {
|
|
@@ -11,11 +11,11 @@ export type FlexItemStyleProps = {
|
|
|
11
11
|
/** sets `flex-basis` property */
|
|
12
12
|
flexBasis?: number | string;
|
|
13
13
|
/** sets `justify-self` property */
|
|
14
|
-
justifySelf?:
|
|
14
|
+
justifySelf?: PropertyJustifySelf;
|
|
15
15
|
/** sets `align-self` property */
|
|
16
|
-
alignSelf?:
|
|
16
|
+
alignSelf?: PropertyAlignSelf;
|
|
17
17
|
/** sets `order` property */
|
|
18
|
-
order?:
|
|
18
|
+
order?: PropertyOrder;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
/** style props to for flexbox item properties */
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
PropertyDisplay,
|
|
3
|
+
PropertyListStyle,
|
|
4
|
+
PropertyOverflow,
|
|
5
|
+
PropertyOverflowX,
|
|
6
|
+
PropertyOverflowY,
|
|
7
|
+
PropertyVerticalAlign,
|
|
8
|
+
} from './types';
|
|
2
9
|
|
|
3
10
|
/** style props to for layout properties */
|
|
4
11
|
export type LayoutStyleProps = {
|
|
5
12
|
/** sets `display` property */
|
|
6
|
-
display?:
|
|
13
|
+
display?: PropertyDisplay;
|
|
7
14
|
/** sets `height` property */
|
|
8
15
|
height?: number | string;
|
|
9
16
|
/** sets `list-style property */
|
|
10
|
-
listStyle?:
|
|
17
|
+
listStyle?: PropertyListStyle;
|
|
11
18
|
/** sets `max-height` property */
|
|
12
19
|
maxHeight?: number | string;
|
|
13
20
|
/** sets `max-width` property */
|
|
@@ -17,13 +24,13 @@ export type LayoutStyleProps = {
|
|
|
17
24
|
/** sets `min-width` property */
|
|
18
25
|
minWidth?: number | string;
|
|
19
26
|
/** sets `overflow` property */
|
|
20
|
-
overflow?:
|
|
27
|
+
overflow?: PropertyOverflow;
|
|
21
28
|
/** sets `overflow-x` property */
|
|
22
|
-
overflowX?:
|
|
29
|
+
overflowX?: PropertyOverflowX;
|
|
23
30
|
/** sets `overflow-y` property */
|
|
24
|
-
overflowY?:
|
|
31
|
+
overflowY?: PropertyOverflowY;
|
|
25
32
|
/** sets `vertical-align` property */
|
|
26
|
-
verticalAlign?:
|
|
33
|
+
verticalAlign?: PropertyVerticalAlign;
|
|
27
34
|
/** sets `width` property */
|
|
28
35
|
width?: number | string;
|
|
29
36
|
};
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
PartialEmotionCanvasTheme,
|
|
4
4
|
useTheme,
|
|
5
5
|
} from '@workday/canvas-kit-react/common';
|
|
6
|
-
import {
|
|
6
|
+
import {PropertyPosition, PropertyZIndex} from './types';
|
|
7
7
|
|
|
8
8
|
/** style props to for standard position properties */
|
|
9
9
|
export type PositionStandardProps = {
|
|
10
10
|
/** sets `position` property */
|
|
11
|
-
position?:
|
|
11
|
+
position?: PropertyPosition;
|
|
12
12
|
/** sets `zIndex` property */
|
|
13
|
-
zIndex?:
|
|
13
|
+
zIndex?: PropertyZIndex;
|
|
14
14
|
/** sets `top` property */
|
|
15
15
|
top?: number | string;
|
|
16
16
|
/** sets `right` property (no bidirectional support) */
|