@workday/canvas-kit-react 7.0.0-alpha.0-next.1 → 7.0.0-alpha.0-next.3
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/banner/lib/Banner.tsx +1 -0
- package/banner/lib/BannerActionText.tsx +12 -9
- package/banner/lib/BannerIcon.tsx +11 -12
- package/button/lib/ToolbarDropdownButton.tsx +1 -2
- package/cookie-banner/lib/CookieBanner.tsx +1 -0
- package/dist/commonjs/banner/lib/Banner.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/Banner.js +1 -0
- package/dist/commonjs/banner/lib/BannerActionText.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/BannerActionText.js +11 -5
- package/dist/commonjs/banner/lib/BannerIcon.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/BannerIcon.js +7 -7
- package/dist/commonjs/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ToolbarDropdownButton.js +7 -5
- package/dist/commonjs/card/lib/Card.d.ts +1 -1
- package/dist/commonjs/card/lib/CardBody.d.ts +1 -1
- package/dist/commonjs/card/lib/CardBody.d.ts.map +1 -1
- package/dist/commonjs/cookie-banner/lib/CookieBanner.d.ts.map +1 -1
- package/dist/commonjs/cookie-banner/lib/CookieBanner.js +1 -0
- package/dist/commonjs/dialog/lib/Dialog.d.ts +1 -1
- package/dist/commonjs/icon/lib/Svg.d.ts +0 -1
- package/dist/commonjs/icon/lib/Svg.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Svg.js +7 -14
- package/dist/commonjs/modal/lib/Modal.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts +2 -3
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.js +21 -7
- package/dist/commonjs/pagination/lib/Pagination/Controls.js +2 -2
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts +2 -3
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.js +2 -2
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts +1 -2
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.js +12 -4
- 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 +2 -2
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +4 -4
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageList.js +11 -7
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +3 -3
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +6 -8
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/List.js +15 -12
- package/dist/commonjs/popup/lib/Popper.d.ts +5 -0
- package/dist/commonjs/popup/lib/Popper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popper.js +9 -8
- package/dist/commonjs/popup/lib/Popup.d.ts +1 -1
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.js +5 -3
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +1 -1
- package/dist/commonjs/toast/lib/Toast.d.ts.map +1 -1
- package/dist/commonjs/toast/lib/Toast.js +16 -13
- package/dist/es6/banner/lib/Banner.d.ts.map +1 -1
- package/dist/es6/banner/lib/Banner.js +1 -0
- package/dist/es6/banner/lib/BannerActionText.d.ts.map +1 -1
- package/dist/es6/banner/lib/BannerActionText.js +5 -6
- package/dist/es6/banner/lib/BannerIcon.d.ts.map +1 -1
- package/dist/es6/banner/lib/BannerIcon.js +5 -8
- package/dist/es6/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/es6/button/lib/ToolbarDropdownButton.js +4 -5
- package/dist/es6/card/lib/Card.d.ts +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/cookie-banner/lib/CookieBanner.d.ts.map +1 -1
- package/dist/es6/cookie-banner/lib/CookieBanner.js +1 -0
- package/dist/es6/dialog/lib/Dialog.d.ts +1 -1
- package/dist/es6/icon/lib/Svg.d.ts +0 -1
- package/dist/es6/icon/lib/Svg.d.ts.map +1 -1
- package/dist/es6/icon/lib/Svg.js +7 -14
- package/dist/es6/modal/lib/Modal.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts +2 -3
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.js +16 -9
- package/dist/es6/pagination/lib/Pagination/Controls.js +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts +2 -3
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.js +2 -2
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts +1 -2
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.js +5 -4
- 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 +2 -2
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts +4 -4
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageList.js +5 -8
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts +3 -3
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts +6 -8
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/List.js +15 -12
- package/dist/es6/popup/lib/Popper.d.ts +5 -0
- package/dist/es6/popup/lib/Popper.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popper.js +9 -8
- package/dist/es6/popup/lib/Popup.d.ts +1 -1
- package/dist/es6/popup/lib/hooks/useInitialFocus.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useInitialFocus.js +5 -3
- package/dist/es6/tabs/lib/TabsItem.d.ts +1 -1
- package/dist/es6/toast/lib/Toast.d.ts.map +1 -1
- package/dist/es6/toast/lib/Toast.js +9 -13
- package/icon/lib/Svg.tsx +13 -22
- package/package.json +5 -5
- package/pagination/lib/Pagination/AdditionalDetails.tsx +24 -18
- package/pagination/lib/Pagination/Controls.tsx +1 -1
- package/pagination/lib/Pagination/GoTo/Form.tsx +4 -5
- package/pagination/lib/Pagination/GoTo/Label.tsx +5 -6
- package/pagination/lib/Pagination/Nav.tsx +2 -2
- package/pagination/lib/Pagination/PageList.tsx +13 -11
- package/pagination/lib/Pagination/common/List.tsx +25 -23
- package/popup/lib/Popper.tsx +13 -5
- package/popup/lib/hooks/useInitialFocus.tsx +3 -1
- package/toast/lib/Toast.tsx +9 -15
- package/ts3.5/dist/commonjs/card/lib/Card.d.ts +1 -1
- package/ts3.5/dist/commonjs/card/lib/CardBody.d.ts +1 -1
- package/ts3.5/dist/commonjs/dialog/lib/Dialog.d.ts +1 -1
- package/ts3.5/dist/commonjs/icon/lib/Svg.d.ts +0 -1
- package/ts3.5/dist/commonjs/modal/lib/Modal.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts +2 -3
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts +2 -3
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts +1 -2
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +4 -4
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +3 -3
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +6 -8
- package/ts3.5/dist/commonjs/popup/lib/Popper.d.ts +5 -0
- package/ts3.5/dist/commonjs/popup/lib/Popup.d.ts +1 -1
- package/ts3.5/dist/commonjs/tabs/lib/TabsItem.d.ts +1 -1
- package/ts3.5/dist/es6/card/lib/Card.d.ts +1 -1
- package/ts3.5/dist/es6/card/lib/CardBody.d.ts +1 -1
- package/ts3.5/dist/es6/dialog/lib/Dialog.d.ts +1 -1
- package/ts3.5/dist/es6/icon/lib/Svg.d.ts +0 -1
- package/ts3.5/dist/es6/modal/lib/Modal.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts +2 -3
- package/ts3.5/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts +2 -3
- package/ts3.5/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts +1 -2
- package/ts3.5/dist/es6/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/PageList.d.ts +4 -4
- package/ts3.5/dist/es6/pagination/lib/Pagination/Pagination.d.ts +3 -3
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/List.d.ts +6 -8
- package/ts3.5/dist/es6/popup/lib/Popper.d.ts +5 -0
- package/ts3.5/dist/es6/popup/lib/Popup.d.ts +1 -1
- package/ts3.5/dist/es6/tabs/lib/TabsItem.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/Box.d.ts +0 -12
- package/dist/commonjs/pagination/lib/Pagination/common/Box.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/common/Box.js +0 -70
- package/dist/commonjs/pagination/lib/Pagination/common/Flex.d.ts +0 -6
- package/dist/commonjs/pagination/lib/Pagination/common/Flex.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/common/Flex.js +0 -32
- package/dist/commonjs/pagination/lib/Pagination/common/Stack.d.ts +0 -48
- package/dist/commonjs/pagination/lib/Pagination/common/Stack.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/common/Stack.js +0 -87
- package/dist/commonjs/pagination/lib/Pagination/common/utils/flex.d.ts +0 -57
- package/dist/commonjs/pagination/lib/Pagination/common/utils/flex.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/flex.js +0 -23
- package/dist/commonjs/pagination/lib/Pagination/common/utils/layout.d.ts +0 -32
- package/dist/commonjs/pagination/lib/Pagination/common/utils/layout.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/layout.js +0 -15
- package/dist/commonjs/pagination/lib/Pagination/common/utils/safelySpreadProps.d.ts +0 -12
- package/dist/commonjs/pagination/lib/Pagination/common/utils/safelySpreadProps.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/safelySpreadProps.js +0 -37
- package/dist/commonjs/pagination/lib/Pagination/common/utils/space.d.ts +0 -127
- package/dist/commonjs/pagination/lib/Pagination/common/utils/space.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/space.js +0 -75
- package/dist/es6/pagination/lib/Pagination/common/Box.d.ts +0 -12
- package/dist/es6/pagination/lib/Pagination/common/Box.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/common/Box.js +0 -58
- package/dist/es6/pagination/lib/Pagination/common/Flex.d.ts +0 -6
- package/dist/es6/pagination/lib/Pagination/common/Flex.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/common/Flex.js +0 -27
- package/dist/es6/pagination/lib/Pagination/common/Stack.d.ts +0 -48
- package/dist/es6/pagination/lib/Pagination/common/Stack.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/common/Stack.js +0 -78
- package/dist/es6/pagination/lib/Pagination/common/utils/flex.d.ts +0 -57
- package/dist/es6/pagination/lib/Pagination/common/utils/flex.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/flex.js +0 -21
- package/dist/es6/pagination/lib/Pagination/common/utils/layout.d.ts +0 -32
- package/dist/es6/pagination/lib/Pagination/common/utils/layout.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/layout.js +0 -13
- package/dist/es6/pagination/lib/Pagination/common/utils/safelySpreadProps.d.ts +0 -12
- package/dist/es6/pagination/lib/Pagination/common/utils/safelySpreadProps.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/safelySpreadProps.js +0 -34
- package/dist/es6/pagination/lib/Pagination/common/utils/space.d.ts +0 -127
- package/dist/es6/pagination/lib/Pagination/common/utils/space.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/space.js +0 -73
- package/pagination/lib/Pagination/common/Box.tsx +0 -44
- package/pagination/lib/Pagination/common/Flex.tsx +0 -23
- package/pagination/lib/Pagination/common/Stack.tsx +0 -98
- package/pagination/lib/Pagination/common/utils/flex.ts +0 -110
- package/pagination/lib/Pagination/common/utils/layout.ts +0 -40
- package/pagination/lib/Pagination/common/utils/safelySpreadProps.ts +0 -29
- package/pagination/lib/Pagination/common/utils/space.ts +0 -109
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/Box.d.ts +0 -12
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/Flex.d.ts +0 -6
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/Stack.d.ts +0 -48
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/utils/flex.d.ts +0 -57
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/utils/layout.d.ts +0 -32
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/utils/safelySpreadProps.d.ts +0 -12
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/utils/space.d.ts +0 -127
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/Box.d.ts +0 -12
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/Flex.d.ts +0 -6
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/Stack.d.ts +0 -48
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/utils/flex.d.ts +0 -57
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/utils/layout.d.ts +0 -32
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/utils/safelySpreadProps.d.ts +0 -12
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/utils/space.d.ts +0 -127
|
@@ -34,10 +34,10 @@ export declare const Pagination: {
|
|
|
34
34
|
StepToPreviousButton(props: IconButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
35
35
|
StepToNextButton(props: IconButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
36
36
|
JumpToLastButton(props: IconButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
37
|
-
PageList(props: Pick<PageListProps, "
|
|
38
|
-
PageListItem(props:
|
|
37
|
+
PageList(props: Pick<PageListProps, "color" | "left" | "right" | "bottom" | "top" | "flex" | "border" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "insetInlineEnd" | "insetInlineStart" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "verticalAlign" | "width" | "zIndex" | "animation" | "background" | "borderBottom" | "borderColor" | "borderInlineEnd" | "borderInlineStart" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "listStyle" | "margin" | "overflow" | "children" | "depth" | "marginX" | "marginY" | "paddingX" | "paddingY" | "shouldWrapChildren">): JSX.Element;
|
|
38
|
+
PageListItem(props: import("./common/List").ListItemProps): JSX.Element;
|
|
39
39
|
PageButton({ "aria-label": ariaLabel, ...elemProps }: Pick<PageButtonProps, "hidden" | "color" | "size" | "style" | "icon" | "disabled" | "translate" | "prefix" | "form" | "slot" | "title" | "children" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "theme" | "shouldMirrorIcon" | "variant" | "onToggleChange" | "toggled" | "pageNumber">): JSX.Element;
|
|
40
|
-
AdditionalDetails(props: Pick<AdditionalDetailsProps, "
|
|
40
|
+
AdditionalDetails(props: Pick<AdditionalDetailsProps, "color" | "left" | "right" | "bottom" | "top" | "flex" | "border" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "insetInlineEnd" | "insetInlineStart" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "verticalAlign" | "width" | "zIndex" | "animation" | "background" | "borderBottom" | "borderColor" | "borderInlineEnd" | "borderInlineStart" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "listStyle" | "margin" | "overflow" | "children" | "depth" | "marginX" | "marginY" | "paddingX" | "paddingY" | "shouldAnnounceToScreenReader" | "shouldHideDetails">): JSX.Element;
|
|
41
41
|
GoToForm({ children }: GoToFormProps): JSX.Element;
|
|
42
42
|
GoToTextInput(props: GoToTextInputProps): JSX.Element;
|
|
43
43
|
GoToLabel(props: Pick<GoToLabelProps, "hidden" | "color" | "style" | "translate" | "prefix" | "form" | "slot" | "title" | "children" | "className" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "htmlFor">): JSX.Element;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { FlexProps } from './Flex';
|
|
4
|
-
export interface ListProps extends FlexProps, React.OlHTMLAttributes<HTMLElement> {
|
|
5
|
-
as: 'ol' | 'ul';
|
|
1
|
+
import { FlexProps } from '@workday/canvas-kit-labs-react/layout';
|
|
2
|
+
export interface ListProps extends FlexProps {
|
|
6
3
|
}
|
|
7
|
-
export declare const List:
|
|
8
|
-
export
|
|
9
|
-
|
|
4
|
+
export declare const List: import("../../../../common").ElementComponent<"ul", ListProps>;
|
|
5
|
+
export interface ListItemProps extends FlexProps {
|
|
6
|
+
}
|
|
7
|
+
export declare const ListItem: import("../../../../common").ElementComponent<"li", ListItemProps>;
|
|
10
8
|
//# sourceMappingURL=List.d.ts.map
|
|
@@ -65,6 +65,11 @@ export interface PopperProps {
|
|
|
65
65
|
* @default true
|
|
66
66
|
*/
|
|
67
67
|
portal?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Reference to the PopperJS instance. Useful for making direct method calls on the popper
|
|
70
|
+
* instance like `update`.
|
|
71
|
+
*/
|
|
72
|
+
popperInstanceRef?: React.Ref<PopperJS.Instance>;
|
|
68
73
|
}
|
|
69
74
|
export declare const Popper: React.ForwardRefExoticComponent<PopperProps & React.RefAttributes<HTMLDivElement>>;
|
|
70
75
|
//# sourceMappingURL=Popper.d.ts.map
|
|
@@ -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("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderShorthandStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderColorStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderRadiusStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderLineStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderWidthStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderLogicalStyleProps & import("@workday/canvas-kit-labs-react").ColorStyleProps & import("@workday/canvas-kit-labs-react").DepthStyleProps & import("@workday/canvas-kit-labs-react").FlexItemStyleProps & import("@workday/canvas-kit-labs-react").LayoutStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/position").PositionStandardProps & import("@workday/canvas-kit-labs-react/common/lib/utils/position").PositionLogicalProps & import("@workday/canvas-kit-labs-react/common/lib/utils/space").SpaceStandardProps & import("@workday/canvas-kit-labs-react/common/lib/utils/space").SpaceLogicalProps>;
|
|
15
|
+
Body: import("../../common").ElementComponent<"div", import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderShorthandStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderColorStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderRadiusStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderLineStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderWidthStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderLogicalStyleProps & import("@workday/canvas-kit-labs-react").ColorStyleProps & import("@workday/canvas-kit-labs-react").DepthStyleProps & import("@workday/canvas-kit-labs-react").FlexItemStyleProps & import("@workday/canvas-kit-labs-react").LayoutStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/other").OtherStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/position").PositionStandardProps & import("@workday/canvas-kit-labs-react/common/lib/utils/position").PositionLogicalProps & import("@workday/canvas-kit-labs-react/common/lib/utils/space").SpaceStandardProps & import("@workday/canvas-kit-labs-react/common/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>;
|
|
@@ -72,7 +72,7 @@ export interface TabsItemProps extends ExtractProps<typeof Box, never>, Partial<
|
|
|
72
72
|
*/
|
|
73
73
|
hasIcon?: boolean;
|
|
74
74
|
}
|
|
75
|
-
export declare const StyledTabItem: import("@emotion/styled-base").StyledComponent<import("../../common").PropsWithAs<import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderShorthandStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderColorStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderRadiusStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderLineStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderWidthStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderLogicalStyleProps & import("@workday/canvas-kit-labs-react/common").ColorStyleProps & import("@workday/canvas-kit-labs-react/common").DepthStyleProps & import("@workday/canvas-kit-labs-react/common").FlexItemStyleProps & import("@workday/canvas-kit-labs-react/common").LayoutStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/position").PositionStandardProps & import("@workday/canvas-kit-labs-react/common/lib/utils/position").PositionLogicalProps & import("@workday/canvas-kit-labs-react/common/lib/utils/space").SpaceStandardProps & import("@workday/canvas-kit-labs-react/common/lib/utils/space").SpaceLogicalProps, "button">, StyledType & {
|
|
75
|
+
export declare const StyledTabItem: import("@emotion/styled-base").StyledComponent<import("../../common").PropsWithAs<import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderShorthandStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderColorStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderRadiusStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderLineStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderWidthStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/border").BorderLogicalStyleProps & import("@workday/canvas-kit-labs-react/common").ColorStyleProps & import("@workday/canvas-kit-labs-react/common").DepthStyleProps & import("@workday/canvas-kit-labs-react/common").FlexItemStyleProps & import("@workday/canvas-kit-labs-react/common").LayoutStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/other").OtherStyleProps & import("@workday/canvas-kit-labs-react/common/lib/utils/position").PositionStandardProps & import("@workday/canvas-kit-labs-react/common/lib/utils/position").PositionLogicalProps & import("@workday/canvas-kit-labs-react/common/lib/utils/space").SpaceStandardProps & import("@workday/canvas-kit-labs-react/common/lib/utils/space").SpaceLogicalProps, "button">, StyledType & {
|
|
76
76
|
hasIcon?: boolean | undefined;
|
|
77
77
|
} & Pick<TabsItemProps, "spacing">, import("../../common").EmotionCanvasTheme>;
|
|
78
78
|
export declare const TabsItem: import("../../common").ElementComponent<"button", TabsItemProps> & {
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { SpaceProps } from './utils/space';
|
|
4
|
-
import { LayoutProps } from './utils/layout';
|
|
5
|
-
declare type As = keyof JSX.IntrinsicElements;
|
|
6
|
-
export interface BoxProps extends SpaceProps, LayoutProps, React.HTMLAttributes<HTMLElement> {
|
|
7
|
-
as?: As;
|
|
8
|
-
}
|
|
9
|
-
export declare const StyledBox: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps, object>;
|
|
10
|
-
export declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<any>>;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/common/Box.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAQ,UAAU,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAS,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAsBnD,aAAK,EAAE,GAAG,MAAM,GAAG,CAAC,iBAAiB,CAAC;AAEtC,MAAM,WAAW,QAAS,SAAQ,UAAU,EAAE,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC1F,EAAE,CAAC,EAAE,EAAE,CAAC;CACT;AAED,eAAO,MAAM,SAAS,iJAEpB,CAAC;AAEH,eAAO,MAAM,GAAG,sEAKd,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
28
|
-
result["default"] = mod;
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
|
-
};
|
|
34
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
/** @jsx jsx */
|
|
36
|
-
var React = __importStar(require("react"));
|
|
37
|
-
var core_1 = require("@emotion/core");
|
|
38
|
-
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
39
|
-
var space_1 = require("./utils/space");
|
|
40
|
-
var layout_1 = require("./utils/layout");
|
|
41
|
-
var safelySpreadProps_1 = require("./utils/safelySpreadProps");
|
|
42
|
-
var getBoxStyles = function (props) {
|
|
43
|
-
var _a;
|
|
44
|
-
var styleProps = {};
|
|
45
|
-
for (var key in props) {
|
|
46
|
-
if (key in props) {
|
|
47
|
-
if (key in space_1.space) {
|
|
48
|
-
var value = props[key];
|
|
49
|
-
var styleFn = space_1.space[key];
|
|
50
|
-
var styles = styleFn(value);
|
|
51
|
-
styleProps = __assign(__assign({}, styleProps), styles);
|
|
52
|
-
}
|
|
53
|
-
if (key in layout_1.layout) {
|
|
54
|
-
var attr = layout_1.layout[key];
|
|
55
|
-
styleProps = __assign(__assign({}, styleProps), (_a = {}, _a[attr] = props[key], _a));
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return styleProps;
|
|
60
|
-
};
|
|
61
|
-
exports.StyledBox = styled_1.default('div')({
|
|
62
|
-
boxSizing: 'border-box',
|
|
63
|
-
});
|
|
64
|
-
exports.Box = React.forwardRef(function (_a, ref) {
|
|
65
|
-
var _b = _a.as, as = _b === void 0 ? 'div' : _b, props = __rest(_a, ["as"]);
|
|
66
|
-
// TODO: Memoize style props with React.useMemo
|
|
67
|
-
var boxStyles = getBoxStyles(props);
|
|
68
|
-
var safeProps = safelySpreadProps_1.safelySpreadProps(props);
|
|
69
|
-
return core_1.jsx(exports.StyledBox, __assign({ ref: ref, as: as, css: core_1.css(boxStyles) }, safeProps));
|
|
70
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="@emotion/core" />
|
|
2
|
-
import { FlexProps as BaseFlexProps } from './utils/flex';
|
|
3
|
-
import { BoxProps } from './Box';
|
|
4
|
-
export declare type FlexProps = BaseFlexProps & BoxProps;
|
|
5
|
-
export declare const Flex: import("@emotion/styled-base").StyledComponent<BoxProps & import("react").RefAttributes<any>, FlexProps, object>;
|
|
6
|
-
//# sourceMappingURL=Flex.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/common/Flex.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAO,SAAS,IAAI,aAAa,EAAC,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAM,QAAQ,EAAC,MAAM,OAAO,CAAC;AAEpC,oBAAY,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAC;AAcjD,eAAO,MAAM,IAAI,kHAAgD,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
18
|
-
var flex_1 = require("./utils/flex");
|
|
19
|
-
var Box_1 = require("./Box");
|
|
20
|
-
var getFlexStyles = function (props) {
|
|
21
|
-
var _a;
|
|
22
|
-
var flexProps = {};
|
|
23
|
-
for (var key in props) {
|
|
24
|
-
if (key in flex_1.flex) {
|
|
25
|
-
var attr = flex_1.flex[key];
|
|
26
|
-
flexProps = __assign(__assign({}, flexProps), (_a = {}, _a[attr] = props[key], _a));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return flexProps;
|
|
30
|
-
};
|
|
31
|
-
exports.Flex = styled_1.default(Box_1.Box)({ display: 'flex' }, getFlexStyles);
|
|
32
|
-
exports.Flex.displayName = 'Flex';
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { FlexProps } from './Flex';
|
|
4
|
-
import { Spacing } from './utils/space';
|
|
5
|
-
declare type StackDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
6
|
-
export interface StackProps extends FlexProps {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
direction: StackDirection;
|
|
9
|
-
flexDirection?: StackDirection;
|
|
10
|
-
spacing: Spacing;
|
|
11
|
-
}
|
|
12
|
-
declare const selector = "& > *:not(style) ~ *:not(style)";
|
|
13
|
-
declare type Options = {
|
|
14
|
-
spacing: Spacing;
|
|
15
|
-
direction: StackDirection;
|
|
16
|
-
shouldUseRTL: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare const useStack: ({ direction, shouldUseRTL, spacing }: Options) => {
|
|
19
|
-
flexDirection: import("@workday/canvas-kit-labs-react").StackDirection;
|
|
20
|
-
"& > *:not(style) ~ *:not(style)": {
|
|
21
|
-
marginTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
|
|
22
|
-
} | {
|
|
23
|
-
marginBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
|
|
24
|
-
} | {
|
|
25
|
-
marginLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
|
|
26
|
-
marginRight?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
marginRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
|
|
29
|
-
marginLeft?: undefined;
|
|
30
|
-
} | {
|
|
31
|
-
marginRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
|
|
32
|
-
marginLeft?: undefined;
|
|
33
|
-
} | {
|
|
34
|
-
marginLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
|
|
35
|
-
marginRight?: undefined;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<unknown>>;
|
|
39
|
-
export interface HStackProps extends Omit<StackProps, 'direction'> {
|
|
40
|
-
direction?: 'row' | 'row-reverse';
|
|
41
|
-
}
|
|
42
|
-
export declare const HStack: React.ForwardRefExoticComponent<HStackProps & React.RefAttributes<unknown>>;
|
|
43
|
-
export interface VStackProps extends Omit<StackProps, 'direction'> {
|
|
44
|
-
direction?: 'column' | 'column-reverse';
|
|
45
|
-
}
|
|
46
|
-
export declare const VStack: React.ForwardRefExoticComponent<VStackProps & React.RefAttributes<unknown>>;
|
|
47
|
-
export {};
|
|
48
|
-
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/common/Stack.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAO,SAAS,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAItC,aAAK,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAE1E,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,EAAE,cAAc,CAAC;IAC1B,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,QAAQ,oCAAoC,CAAC;AAEnD,aAAK,OAAO,GAAG;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,cAAc,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AA0BF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAMpB,CAAC;AAEF,eAAO,MAAM,KAAK,4EAYjB,CAAC;AAIF,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC;CACnC;AAED,eAAO,MAAM,MAAM,6EAIlB,CAAC;AAIF,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,QAAQ,GAAG,gBAAgB,CAAC;CACzC;AAED,eAAO,MAAM,MAAM,6EAIlB,CAAC"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
28
|
-
result["default"] = mod;
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
/** @jsx jsx */
|
|
33
|
-
var React = __importStar(require("react"));
|
|
34
|
-
var core_1 = require("@emotion/core");
|
|
35
|
-
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
36
|
-
var Flex_1 = require("./Flex");
|
|
37
|
-
var getValidChildren_1 = require("./utils/getValidChildren");
|
|
38
|
-
var useRTL_1 = require("./utils/useRTL");
|
|
39
|
-
var selector = '& > *:not(style) ~ *:not(style)';
|
|
40
|
-
function getDirectionStyles(options) {
|
|
41
|
-
var directionStyles = {
|
|
42
|
-
column: { marginTop: tokens_1.space[options.spacing] },
|
|
43
|
-
'column-reverse': { marginBottom: tokens_1.space[options.spacing] },
|
|
44
|
-
'row-reverse': options.shouldUseRTL
|
|
45
|
-
? { marginLeft: tokens_1.space[options.spacing] }
|
|
46
|
-
: { marginRight: tokens_1.space[options.spacing] },
|
|
47
|
-
row: options.shouldUseRTL
|
|
48
|
-
? { marginRight: tokens_1.space[options.spacing] }
|
|
49
|
-
: { marginLeft: tokens_1.space[options.spacing] },
|
|
50
|
-
};
|
|
51
|
-
return directionStyles[options.direction];
|
|
52
|
-
}
|
|
53
|
-
function getStackStyles(options) {
|
|
54
|
-
var _a;
|
|
55
|
-
var direction = options.direction;
|
|
56
|
-
return _a = {
|
|
57
|
-
flexDirection: direction
|
|
58
|
-
},
|
|
59
|
-
_a[selector] = getDirectionStyles(options),
|
|
60
|
-
_a;
|
|
61
|
-
}
|
|
62
|
-
exports.useStack = function (_a) {
|
|
63
|
-
var direction = _a.direction, shouldUseRTL = _a.shouldUseRTL, spacing = _a.spacing;
|
|
64
|
-
return React.useMemo(function () { return getStackStyles({ direction: direction, shouldUseRTL: shouldUseRTL, spacing: spacing }); }, [
|
|
65
|
-
direction,
|
|
66
|
-
spacing,
|
|
67
|
-
shouldUseRTL,
|
|
68
|
-
]);
|
|
69
|
-
};
|
|
70
|
-
exports.Stack = React.forwardRef(function (_a, ref) {
|
|
71
|
-
var children = _a.children, direction = _a.direction, spacing = _a.spacing, elemProps = __rest(_a, ["children", "direction", "spacing"]);
|
|
72
|
-
var validChildren = getValidChildren_1.getValidChildren(children);
|
|
73
|
-
var shouldUseRTL = useRTL_1.useRTL().shouldUseRTL;
|
|
74
|
-
var stackStyles = exports.useStack({ direction: direction, spacing: spacing, shouldUseRTL: shouldUseRTL });
|
|
75
|
-
return (core_1.jsx(Flex_1.Flex, __assign({ css: core_1.css(stackStyles), ref: ref }, elemProps), validChildren));
|
|
76
|
-
});
|
|
77
|
-
exports.Stack.displayName = 'Stack';
|
|
78
|
-
exports.HStack = React.forwardRef(function (_a, ref) {
|
|
79
|
-
var _b = _a.direction, direction = _b === void 0 ? 'row' : _b, spacing = _a.spacing, elemProps = __rest(_a, ["direction", "spacing"]);
|
|
80
|
-
return core_1.jsx(exports.Stack, __assign({ ref: ref, direction: direction, spacing: spacing }, elemProps));
|
|
81
|
-
});
|
|
82
|
-
exports.HStack.displayName = 'HStack';
|
|
83
|
-
exports.VStack = React.forwardRef(function (_a, ref) {
|
|
84
|
-
var _b = _a.direction, direction = _b === void 0 ? 'column' : _b, spacing = _a.spacing, elemProps = __rest(_a, ["direction", "spacing"]);
|
|
85
|
-
return core_1.jsx(exports.Stack, __assign({ ref: ref, direction: direction, spacing: spacing }, elemProps));
|
|
86
|
-
});
|
|
87
|
-
exports.VStack.displayName = 'VStack';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
declare type Globals = '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'unset';
|
|
2
|
-
declare type GlobalsNumber = number | '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'unset';
|
|
3
|
-
declare type SelfPosition = 'center' | 'end' | 'flex-end' | 'flex-start' | 'self-end' | 'self-start' | 'start';
|
|
4
|
-
declare type ContentDistribution = 'space-around' | 'space-between' | 'space-evenly' | 'stretch';
|
|
5
|
-
declare type ContentPosition = 'center' | 'end' | 'flex-end' | 'flex-start' | 'start';
|
|
6
|
-
declare type AlignItemsProperty = Globals | SelfPosition | 'baseline' | 'normal' | 'stretch';
|
|
7
|
-
declare type AlignContentProperty = Globals | ContentDistribution | ContentPosition | 'baseline' | 'normal';
|
|
8
|
-
declare type JustifyItemsProperty = Globals | SelfPosition | 'baseline' | 'left' | 'legacy' | 'normal' | 'right' | 'stretch';
|
|
9
|
-
declare type JustifyContentProperty = Globals | ContentDistribution | ContentPosition | 'left' | 'normal' | 'right';
|
|
10
|
-
declare type FlexWrapProperty = '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'unset' | 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
11
|
-
declare type FlexDirectionProperty = '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'unset' | 'column' | 'column-reverse' | 'row' | 'row-reverse';
|
|
12
|
-
declare type JustifySelfProperty = Globals | SelfPosition | 'auto' | 'baseline' | 'left' | 'normal' | 'right' | 'stretch' | 'auto' | 'baseline' | 'left' | 'normal' | 'right' | 'stretch';
|
|
13
|
-
declare type AlignSelfProperty = Globals | SelfPosition | 'auto' | 'baseline' | 'normal' | 'stretch';
|
|
14
|
-
export interface FlexProps {
|
|
15
|
-
alignItems?: AlignItemsProperty;
|
|
16
|
-
alignContent?: AlignContentProperty;
|
|
17
|
-
display?: 'flex' | 'inline-flex';
|
|
18
|
-
justifyItems?: JustifyItemsProperty;
|
|
19
|
-
justifyContent?: JustifyContentProperty;
|
|
20
|
-
flexWrap?: FlexWrapProperty;
|
|
21
|
-
wrap?: FlexWrapProperty;
|
|
22
|
-
flexDirection?: FlexDirectionProperty;
|
|
23
|
-
direction?: FlexDirectionProperty;
|
|
24
|
-
flex?: number | string;
|
|
25
|
-
flexGrow?: number | string;
|
|
26
|
-
grow?: number | string;
|
|
27
|
-
flexShrink?: number | string;
|
|
28
|
-
shrink?: number | string;
|
|
29
|
-
flexBasis?: number | string;
|
|
30
|
-
basis?: number | string;
|
|
31
|
-
justifySelf?: JustifySelfProperty;
|
|
32
|
-
alignSelf?: AlignSelfProperty;
|
|
33
|
-
order?: GlobalsNumber;
|
|
34
|
-
}
|
|
35
|
-
export declare const flex: {
|
|
36
|
-
alignItems: string;
|
|
37
|
-
alignContent: string;
|
|
38
|
-
display: string;
|
|
39
|
-
justifyItems: string;
|
|
40
|
-
justifyContent: string;
|
|
41
|
-
flexWrap: string;
|
|
42
|
-
wrap: string;
|
|
43
|
-
flexDirection: string;
|
|
44
|
-
direction: string;
|
|
45
|
-
flex: string;
|
|
46
|
-
flexGrow: string;
|
|
47
|
-
grow: string;
|
|
48
|
-
flexShrink: string;
|
|
49
|
-
shrink: string;
|
|
50
|
-
flexBasis: string;
|
|
51
|
-
basis: string;
|
|
52
|
-
justifySelf: string;
|
|
53
|
-
alignSelf: string;
|
|
54
|
-
order: string;
|
|
55
|
-
};
|
|
56
|
-
export {};
|
|
57
|
-
//# sourceMappingURL=flex.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../../../../../pagination/lib/Pagination/common/utils/flex.ts"],"names":[],"mappings":"AACA,aAAK,OAAO,GAAG,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC3E,aAAK,aAAa,GAAG,MAAM,GAAG,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC1F,aAAK,YAAY,GACb,QAAQ,GACR,KAAK,GACL,UAAU,GACV,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,OAAO,CAAC;AACZ,aAAK,mBAAmB,GAAG,cAAc,GAAG,eAAe,GAAG,cAAc,GAAG,SAAS,CAAC;AACzF,aAAK,eAAe,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,YAAY,GAAG,OAAO,CAAC;AAC9E,aAAK,kBAAkB,GAAG,OAAO,GAAG,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AACrF,aAAK,oBAAoB,GAAG,OAAO,GAAG,mBAAmB,GAAG,eAAe,GAAG,UAAU,GAAG,QAAQ,CAAC;AACpG,aAAK,oBAAoB,GACrB,OAAO,GACP,YAAY,GACZ,UAAU,GACV,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,CAAC;AACd,aAAK,sBAAsB,GACvB,OAAO,GACP,mBAAmB,GACnB,eAAe,GACf,MAAM,GACN,QAAQ,GACR,OAAO,CAAC;AACZ,aAAK,gBAAgB,GACjB,cAAc,GACd,SAAS,GACT,SAAS,GACT,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,MAAM,GACN,cAAc,CAAC;AAEnB,aAAK,qBAAqB,GACtB,cAAc,GACd,SAAS,GACT,SAAS,GACT,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,gBAAgB,GAChB,KAAK,GACL,aAAa,CAAC;AAClB,aAAK,mBAAmB,GACpB,OAAO,GACP,YAAY,GACZ,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,OAAO,GACP,SAAS,GACT,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,OAAO,GACP,SAAS,CAAC;AACd,aAAK,iBAAiB,GAAG,OAAO,GAAG,YAAY,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC7F,MAAM,WAAW,SAAS;IACxB,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IACjC,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,cAAc,CAAC,EAAE,sBAAsB,CAAC;IACxC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;CAoBhB,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.flex = {
|
|
4
|
-
alignItems: 'alignItems',
|
|
5
|
-
alignContent: 'alignContent',
|
|
6
|
-
display: 'display',
|
|
7
|
-
justifyItems: 'justifyItems',
|
|
8
|
-
justifyContent: 'justifyContent',
|
|
9
|
-
flexWrap: 'flexWrap',
|
|
10
|
-
wrap: 'flexWrap',
|
|
11
|
-
flexDirection: 'flexDirection',
|
|
12
|
-
direction: 'flexDirection',
|
|
13
|
-
flex: 'flex',
|
|
14
|
-
flexGrow: 'flexGrow',
|
|
15
|
-
grow: 'flexGrow',
|
|
16
|
-
flexShrink: 'flexShrink',
|
|
17
|
-
shrink: 'flexShrink',
|
|
18
|
-
flexBasis: 'flexBasis',
|
|
19
|
-
basis: 'basis',
|
|
20
|
-
justifySelf: 'justifySelf',
|
|
21
|
-
alignSelf: 'alignSelf',
|
|
22
|
-
order: 'order',
|
|
23
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare type Globals = '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'unset';
|
|
2
|
-
declare type OverflowProperty = Globals | 'auto' | 'hidden' | 'scroll' | 'visible' | string;
|
|
3
|
-
declare type OverflowXProperty = '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'unset' | 'auto' | 'hidden' | 'scroll' | 'visible';
|
|
4
|
-
declare type OverflowYProperty = OverflowXProperty;
|
|
5
|
-
export interface LayoutProps {
|
|
6
|
-
display?: string;
|
|
7
|
-
height?: number | string;
|
|
8
|
-
maxHeight?: number | string;
|
|
9
|
-
maxWidth?: number | string;
|
|
10
|
-
minHeight?: number | string;
|
|
11
|
-
minWidth?: number | string;
|
|
12
|
-
overflow?: OverflowProperty;
|
|
13
|
-
overflowX?: OverflowXProperty;
|
|
14
|
-
overflowY?: OverflowYProperty;
|
|
15
|
-
verticalAlign?: string;
|
|
16
|
-
width?: number | string;
|
|
17
|
-
}
|
|
18
|
-
export declare const layout: {
|
|
19
|
-
display: string;
|
|
20
|
-
height: string;
|
|
21
|
-
maxHeight: string;
|
|
22
|
-
maxWidth: string;
|
|
23
|
-
minHeight: string;
|
|
24
|
-
minWidth: string;
|
|
25
|
-
overflow: string;
|
|
26
|
-
overflowX: string;
|
|
27
|
-
overflowY: string;
|
|
28
|
-
verticalAlign: string;
|
|
29
|
-
width: string;
|
|
30
|
-
};
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../../../../pagination/lib/Pagination/common/utils/layout.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,GAAG,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC3E,aAAK,gBAAgB,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AACpF,aAAK,iBAAiB,GAClB,cAAc,GACd,SAAS,GACT,SAAS,GACT,QAAQ,GACR,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AACd,aAAK,iBAAiB,GAAG,iBAAiB,CAAC;AAC3C,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;CAYlB,CAAC"}
|