@mw-kit/mw-ui 1.7.71 → 1.7.74
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/dist/components/AbsoluteContainer/index.d.ts +51 -2
- package/dist/components/AbsoluteContainer/interfaces.d.ts +8 -6
- package/dist/components/Calendar/components/Basic/components/MonthPicker/index.d.ts +1 -1
- package/dist/components/Calendar/components/Basic/index.d.ts +53 -2
- package/dist/components/Calendar/components/Basic/styles.d.ts +51 -1
- package/dist/components/Calendar/components/Interval/index.d.ts +2 -2
- package/dist/components/Calendar/components/Single/index.d.ts +1 -1
- package/dist/components/Calendar/index.d.ts +59 -5
- package/dist/components/Filters/AppliedFilters/components/Menu/styles.d.ts +51 -1
- package/dist/components/Input/components/Checkbox/interfaces.d.ts +1 -0
- package/dist/components/Input/components/Checkbox/styles.d.ts +1 -3
- package/dist/components/Menu/interfaces.d.ts +1 -1
- package/dist/components/Menu/styles.d.ts +51 -1
- package/dist/index.js +76 -67
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +76 -67
- package/dist/index.modern.js.map +1 -1
- package/dist/theme/constants.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { StyledOptionProps } from './interfaces';
|
|
3
3
|
export declare const Option: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledOptionProps, never>;
|
|
4
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("
|
|
4
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<(Pick<Pick<import("react").HTMLAttributes<HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
5
|
+
width?: string | number | undefined;
|
|
6
|
+
height?: string | number | undefined;
|
|
7
|
+
maxWidth?: string | number | undefined;
|
|
8
|
+
maxHeight?: string | number | undefined;
|
|
9
|
+
references?: import("../AbsoluteContainer/interfaces").References | undefined;
|
|
10
|
+
zIndex?: number | undefined;
|
|
11
|
+
pointer?: true | {
|
|
12
|
+
color?: string | ((theme: import("../../interfaces").ThemeInterface) => string) | undefined;
|
|
13
|
+
size?: string | ((theme: import("../../interfaces").ThemeInterface) => string) | undefined;
|
|
14
|
+
distance?: string | ((theme: import("../../interfaces").ThemeInterface) => string) | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
bgColor?: string | ((theme: import("../../interfaces").ThemeInterface) => string) | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
children?: import("react").ReactNode;
|
|
19
|
+
} & {
|
|
20
|
+
open: boolean;
|
|
21
|
+
position?: "top right" | "top left" | "bottom right" | "bottom left" | "right top" | "right bottom" | "left top" | "left bottom" | undefined;
|
|
22
|
+
axis?: "x" | "y" | undefined;
|
|
23
|
+
center?: {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
} | undefined;
|
|
27
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
28
|
+
transition?: Partial<Pick<import("../Transition/interfaces").Transition<"width" | "height" | "max-width" | "max-height">, "mountDuration" | "properties">> | undefined;
|
|
29
|
+
}, "hidden" | "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex" | "pointer" | "bgColor" | "open" | "position" | "axis" | "center" | "transition"> & import("react").RefAttributes<HTMLDivElement>) | (Pick<Pick<import("react").HTMLAttributes<HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
30
|
+
width?: string | number | undefined;
|
|
31
|
+
height?: string | number | undefined;
|
|
32
|
+
maxWidth?: string | number | undefined;
|
|
33
|
+
maxHeight?: string | number | undefined;
|
|
34
|
+
references?: import("../AbsoluteContainer/interfaces").References | undefined;
|
|
35
|
+
zIndex?: number | undefined;
|
|
36
|
+
pointer?: true | {
|
|
37
|
+
color?: string | ((theme: import("../../interfaces").ThemeInterface) => string) | undefined;
|
|
38
|
+
size?: string | ((theme: import("../../interfaces").ThemeInterface) => string) | undefined;
|
|
39
|
+
distance?: string | ((theme: import("../../interfaces").ThemeInterface) => string) | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
bgColor?: string | ((theme: import("../../interfaces").ThemeInterface) => string) | undefined;
|
|
42
|
+
} & {
|
|
43
|
+
content: import("react").FunctionComponent<{}>;
|
|
44
|
+
} & {
|
|
45
|
+
open: boolean;
|
|
46
|
+
position?: "top right" | "top left" | "bottom right" | "bottom left" | "right top" | "right bottom" | "left top" | "left bottom" | undefined;
|
|
47
|
+
axis?: "x" | "y" | undefined;
|
|
48
|
+
center?: {
|
|
49
|
+
x: number;
|
|
50
|
+
y: number;
|
|
51
|
+
} | undefined;
|
|
52
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
53
|
+
transition?: Partial<Pick<import("../Transition/interfaces").Transition<"width" | "height" | "max-width" | "max-height">, "mountDuration" | "properties">> | undefined;
|
|
54
|
+
}, "hidden" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex" | "pointer" | "bgColor" | "open" | "position" | "axis" | "center" | "transition" | "content"> & import("react").RefAttributes<HTMLDivElement>)>, import("styled-components").DefaultTheme, import("./interfaces").CommonProps, never>;
|
|
5
55
|
export declare const Delimiter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
package/dist/index.js
CHANGED
|
@@ -74,7 +74,6 @@ var colors = {
|
|
|
74
74
|
milkWhite: '#FCFFF5',
|
|
75
75
|
orange: '#FB8702',
|
|
76
76
|
pink: '#E23851',
|
|
77
|
-
platinum: '#E2E2E3',
|
|
78
77
|
purple: '#8E66BB',
|
|
79
78
|
red: '#C31717',
|
|
80
79
|
silver: '#B2B2B2',
|
|
@@ -694,7 +693,7 @@ var AbsoluteContainer = React__default.forwardRef(function (props, fowardedRef)
|
|
|
694
693
|
if (props.position) return;
|
|
695
694
|
setPosition(getPosition);
|
|
696
695
|
}, [ref]);
|
|
697
|
-
var htmlProps = filterObject(props, ['center', 'position', 'children']);
|
|
696
|
+
var htmlProps = filterObject(props, ['center', 'position', 'children', 'content']);
|
|
698
697
|
var cssKeys = {
|
|
699
698
|
width: 'width',
|
|
700
699
|
'max-width': 'maxWidth',
|
|
@@ -722,7 +721,9 @@ var AbsoluteContainer = React__default.forwardRef(function (props, fowardedRef)
|
|
|
722
721
|
position: position,
|
|
723
722
|
ref: setRef,
|
|
724
723
|
transition: _extends({}, propsTransition, transition)
|
|
725
|
-
}), React__default.createElement("div",
|
|
724
|
+
}), React__default.createElement("div", {
|
|
725
|
+
children: 'content' in props ? React__default.createElement(props.content, null) : props.children
|
|
726
|
+
}));
|
|
726
727
|
}
|
|
727
728
|
});
|
|
728
729
|
});
|
|
@@ -12571,25 +12572,21 @@ var Input$1 = React__default.forwardRef(function (props, ref) {
|
|
|
12571
12572
|
});
|
|
12572
12573
|
Input$1.displayName = 'Input';
|
|
12573
12574
|
|
|
12574
|
-
var _templateObject$6, _templateObject2$6, _templateObject3$6, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$3, _templateObject8$2, _templateObject9$2, _templateObject10$2;
|
|
12575
|
+
var _templateObject$6, _templateObject2$6, _templateObject3$6, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$3, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$2;
|
|
12575
12576
|
var size = '17px';
|
|
12576
|
-
var Checkmark = styled__default.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n position: relative;\n height: ", ";\n width: ", ";\n background-color: ", ";\n\n border-style: solid;\n border-color:
|
|
12577
|
+
var Checkmark = styled__default.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n position: relative;\n height: ", ";\n width: ", ";\n background-color: ", ";\n\n border-style: solid;\n border-color: transparent;\n border-width: 1px;\n border-radius: 4px;\n\n transition-property: border-color;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n\n :after {\n content: '';\n position: absolute;\n\n left: 50%;\n top: 50%;\n height: 0;\n width: 0;\n\n border-style: solid;\n border-color: ", ";\n border-width: 0;\n transform: rotate(45deg);\n\n transition-property: width height border-width top left;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n\n /** if there is a label, it will be placed after this element */\n + * {\n flex: 1;\n }\n"])), size, size, function (_ref) {
|
|
12577
12578
|
var theme = _ref.theme;
|
|
12578
12579
|
return theme.colors.white;
|
|
12579
12580
|
}, function (_ref2) {
|
|
12580
|
-
var theme = _ref2.theme
|
|
12581
|
-
viewMode = _ref2.$viewMode;
|
|
12582
|
-
return viewMode ? 'transparent' : theme.colors.blue;
|
|
12583
|
-
}, function (_ref3) {
|
|
12584
|
-
var theme = _ref3.theme;
|
|
12581
|
+
var theme = _ref2.theme;
|
|
12585
12582
|
return theme.colors.blue;
|
|
12586
12583
|
});
|
|
12587
|
-
var Label$1 = styled__default.label(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n\n ", "\n\n ", "\n\n ", "\n\n display: flex;\n align-items: center;\n\n user-select: none;\n min-height: ", ";\n min-width: ", ";\n gap: ", ";\n\n > input {\n position: absolute;\n opacity: 0;\n height: 1px;\n width: 1px;\n }\n\n :hover ", " {\n background-color: ", ";\n }\n\n > input:checked ~ ", " {\n :after {\n width: 5px;\n height: 9.5px;\n border-width: 0 2px 2px 0;\n left: 5px;\n top: 1px;\n }\n }\n\n ", ";\n\n ", "\n"])), function (
|
|
12588
|
-
var theme =
|
|
12584
|
+
var Label$1 = styled__default.label(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n\n ", "\n\n ", "\n\n ", "\n\n display: flex;\n align-items: center;\n\n user-select: none;\n min-height: ", ";\n min-width: ", ";\n gap: ", ";\n\n > input {\n position: absolute;\n opacity: 0;\n height: 1px;\n width: 1px;\n }\n\n :hover ", " {\n background-color: ", ";\n }\n ", "\n\n > input:checked ~ ", " {\n :after {\n width: 5px;\n height: 9.5px;\n border-width: 0 2px 2px 0;\n left: 5px;\n top: 1px;\n }\n }\n\n ", ";\n\n ", "\n"])), function (_ref3) {
|
|
12585
|
+
var theme = _ref3.theme;
|
|
12589
12586
|
return theme.useTypography('p');
|
|
12590
|
-
}, function (
|
|
12591
|
-
var padding =
|
|
12592
|
-
theme =
|
|
12587
|
+
}, function (_ref4) {
|
|
12588
|
+
var padding = _ref4.$padding,
|
|
12589
|
+
theme = _ref4.theme;
|
|
12593
12590
|
if (!padding) return;
|
|
12594
12591
|
var _padding = {
|
|
12595
12592
|
top: '0',
|
|
@@ -12631,9 +12628,9 @@ var Label$1 = styled__default.label(_templateObject2$6 || (_templateObject2$6 =
|
|
|
12631
12628
|
}
|
|
12632
12629
|
|
|
12633
12630
|
return styled.css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n padding-top: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-bottom: ", ";\n "])), _padding.top, _padding.left, _padding.right, _padding.bottom);
|
|
12634
|
-
}, function (
|
|
12635
|
-
var disabled =
|
|
12636
|
-
readOnly =
|
|
12631
|
+
}, function (_ref5) {
|
|
12632
|
+
var disabled = _ref5.$disabled,
|
|
12633
|
+
readOnly = _ref5.$readOnly;
|
|
12637
12634
|
|
|
12638
12635
|
if (disabled) {
|
|
12639
12636
|
return styled.css(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
@@ -12641,35 +12638,42 @@ var Label$1 = styled__default.label(_templateObject2$6 || (_templateObject2$6 =
|
|
|
12641
12638
|
|
|
12642
12639
|
if (readOnly) return;
|
|
12643
12640
|
return styled.css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
12644
|
-
}, function (
|
|
12645
|
-
var theme =
|
|
12646
|
-
bordered =
|
|
12647
|
-
invalid =
|
|
12641
|
+
}, function (_ref6) {
|
|
12642
|
+
var theme = _ref6.theme,
|
|
12643
|
+
bordered = _ref6.$bordered,
|
|
12644
|
+
invalid = _ref6.$invalid;
|
|
12648
12645
|
if (!bordered) return;
|
|
12649
12646
|
return styled.css(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteralLoose(["\n padding: ", " ", ";\n\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n "])), theme.spacings.s2, theme.spacings.s3, theme.colors[invalid ? 'warningRed' : 'lightGrey']);
|
|
12650
|
-
}, size, size, function (
|
|
12651
|
-
var theme =
|
|
12647
|
+
}, size, size, function (_ref7) {
|
|
12648
|
+
var theme = _ref7.theme;
|
|
12652
12649
|
return theme.spacings.s1;
|
|
12653
|
-
}, Checkmark, function (
|
|
12654
|
-
var theme =
|
|
12650
|
+
}, Checkmark, function (_ref8) {
|
|
12651
|
+
var theme = _ref8.theme;
|
|
12655
12652
|
return theme.colors.iceWhite;
|
|
12656
|
-
},
|
|
12657
|
-
var theme =
|
|
12658
|
-
|
|
12653
|
+
}, function (_ref9) {
|
|
12654
|
+
var theme = _ref9.theme,
|
|
12655
|
+
viewMode = _ref9.$viewMode;
|
|
12656
|
+
return viewMode ? styled.css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n > input ~ ", " {\n border-color: transparent;\n }\n "])), Checkmark) : styled.css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n > input ~ ", " {\n border-color: ", ";\n }\n > input:checked ~ ", " {\n border-color: ", ";\n }\n "])), Checkmark, theme.colors.lightestGrey, Checkmark, function (_ref10) {
|
|
12657
|
+
var theme = _ref10.theme;
|
|
12658
|
+
return theme.colors.blue;
|
|
12659
|
+
});
|
|
12660
|
+
}, Checkmark, function (_ref11) {
|
|
12661
|
+
var theme = _ref11.theme,
|
|
12662
|
+
invalid = _ref11.$invalid;
|
|
12659
12663
|
if (!invalid) return;
|
|
12660
|
-
return styled.css(
|
|
12661
|
-
}, function (
|
|
12662
|
-
var width =
|
|
12663
|
-
return width && styled.css(
|
|
12664
|
+
return styled.css(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n ", ",\n > input:checked ~ ", ", \n > input:checked ~ ", ":after {\n border-color: ", ";\n }\n "])), Checkmark, Checkmark, Checkmark, theme.colors.warningRed);
|
|
12665
|
+
}, function (_ref12) {
|
|
12666
|
+
var width = _ref12.$width;
|
|
12667
|
+
return width && styled.css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), width);
|
|
12664
12668
|
});
|
|
12665
|
-
var LabelContent = styled__default.div(
|
|
12666
|
-
var theme =
|
|
12669
|
+
var LabelContent = styled__default.div(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n ", "\n line-height: 14px;\n flex: 1;\n overflow: hidden;\n\n ", "\n"])), function (_ref13) {
|
|
12670
|
+
var theme = _ref13.theme;
|
|
12667
12671
|
return theme.useTypography('p');
|
|
12668
|
-
}, function (
|
|
12669
|
-
var required =
|
|
12670
|
-
viewMode =
|
|
12672
|
+
}, function (_ref14) {
|
|
12673
|
+
var required = _ref14.required,
|
|
12674
|
+
viewMode = _ref14.viewMode;
|
|
12671
12675
|
if (!required || viewMode) return;
|
|
12672
|
-
return styled.css(
|
|
12676
|
+
return styled.css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
12673
12677
|
});
|
|
12674
12678
|
|
|
12675
12679
|
var Checkbox = React__default.forwardRef(function (props, ref) {
|
|
@@ -12707,14 +12711,13 @@ var Checkbox = React__default.forwardRef(function (props, ref) {
|
|
|
12707
12711
|
"$bordered": !viewMode && bordered,
|
|
12708
12712
|
"$padding": padding,
|
|
12709
12713
|
"$readOnly": props.readOnly || viewMode,
|
|
12710
|
-
"$width": props.width
|
|
12714
|
+
"$width": props.width,
|
|
12715
|
+
"$viewMode": viewMode
|
|
12711
12716
|
}, React__default.createElement("input", Object.assign({}, htmlProps, {
|
|
12712
12717
|
type: 'checkbox',
|
|
12713
12718
|
ref: ref,
|
|
12714
12719
|
disabled: htmlProps.disabled || viewMode
|
|
12715
|
-
})), React__default.createElement(Checkmark, {
|
|
12716
|
-
"$viewMode": viewMode
|
|
12717
|
-
}), React__default.createElement(LabelComponent, Object.assign({}, {
|
|
12720
|
+
})), React__default.createElement(Checkmark, null), React__default.createElement(LabelComponent, Object.assign({}, {
|
|
12718
12721
|
disabled: disabled,
|
|
12719
12722
|
required: required,
|
|
12720
12723
|
viewMode: viewMode,
|
|
@@ -13225,7 +13228,7 @@ var Indicator = function Indicator(props) {
|
|
|
13225
13228
|
}, props)));
|
|
13226
13229
|
};
|
|
13227
13230
|
|
|
13228
|
-
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$5, _templateObject11$
|
|
13231
|
+
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$5, _templateObject11$3;
|
|
13229
13232
|
var Footer = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n > button:last-child {\n margin-left: auto;\n }\n"])));
|
|
13230
13233
|
var WeekContainer = styled__default.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n\n :not(:first-child) {\n border-top: 1px solid ", ";\n }\n\n > * {\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n width: 32px;\n height: 32px;\n\n color: ", ";\n box-shadow: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n border: 1px solid transparent;\n :not(:last-child) {\n border-right-color: ", ";\n }\n }\n"])), function (_ref) {
|
|
13231
13234
|
var theme = _ref.theme;
|
|
@@ -13289,7 +13292,7 @@ var DayContainer = styled__default.button(_templateObject4$8 || (_templateObject
|
|
|
13289
13292
|
});
|
|
13290
13293
|
var DayIndicator = styled__default(Indicator).attrs({
|
|
13291
13294
|
size: 'mini'
|
|
13292
|
-
})(_templateObject11$
|
|
13295
|
+
})(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " - 1px);\n left: calc(50% - (", " / 2) + 1px);\n"])), sizes.mini, sizes.mini);
|
|
13293
13296
|
|
|
13294
13297
|
var getCalendar = function getCalendar(d) {
|
|
13295
13298
|
var date = new Date(d.getTime());
|
|
@@ -15793,7 +15796,7 @@ var bullet = styled.css(_templateObject$t || (_templateObject$t = _taggedTemplat
|
|
|
15793
15796
|
return bulletSize;
|
|
15794
15797
|
}, function (_ref3) {
|
|
15795
15798
|
var theme = _ref3.theme;
|
|
15796
|
-
return theme.colors.
|
|
15799
|
+
return theme.colors.lightestGrey;
|
|
15797
15800
|
}, function (_ref4) {
|
|
15798
15801
|
var theme = _ref4.theme;
|
|
15799
15802
|
return theme.getColor('black', 10);
|
|
@@ -16178,7 +16181,7 @@ var LabelContainer$5 = styled__default.div(_templateObject$E || (_templateObject
|
|
|
16178
16181
|
var theme = _ref.theme;
|
|
16179
16182
|
return theme.useTypography('p');
|
|
16180
16183
|
});
|
|
16181
|
-
var Label$6 = styled__default.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n position: absolute;\n top: 0;\n left: 0;\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n height: 17px;\n width: 17px;\n min-height: 17px;\n min-width: 17px;\n max-height: 17px;\n max-width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
|
|
16184
|
+
var Label$6 = styled__default.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n position: absolute;\n top: 0;\n left: 0;\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n align-self: center;\n height: 17px;\n width: 17px;\n min-height: 17px;\n min-width: 17px;\n max-height: 17px;\n max-width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
|
|
16182
16185
|
var theme = _ref2.theme;
|
|
16183
16186
|
return theme.spacings.s1;
|
|
16184
16187
|
}, function (_ref3) {
|
|
@@ -16197,24 +16200,30 @@ var Label$6 = styled__default.label(_templateObject2$t || (_templateObject2$t =
|
|
|
16197
16200
|
var invalid = _ref5.invalid;
|
|
16198
16201
|
|
|
16199
16202
|
if (!invalid) {
|
|
16200
|
-
return styled.css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
|
|
16203
|
+
return styled.css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n > input:checked + span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
|
|
16201
16204
|
var theme = _ref6.theme;
|
|
16202
|
-
return theme.colors.
|
|
16205
|
+
return theme.colors.lightestGrey;
|
|
16203
16206
|
}, function (_ref7) {
|
|
16204
16207
|
var theme = _ref7.theme;
|
|
16208
|
+
return theme.colors.lightestGrey;
|
|
16209
|
+
}, function (_ref8) {
|
|
16210
|
+
var theme = _ref8.theme;
|
|
16211
|
+
return theme.colors.blue;
|
|
16212
|
+
}, function (_ref9) {
|
|
16213
|
+
var theme = _ref9.theme;
|
|
16205
16214
|
return theme.colors.blue;
|
|
16206
16215
|
});
|
|
16207
16216
|
}
|
|
16208
16217
|
|
|
16209
|
-
return styled.css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (
|
|
16210
|
-
var theme =
|
|
16218
|
+
return styled.css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref10) {
|
|
16219
|
+
var theme = _ref10.theme;
|
|
16211
16220
|
return theme.colors.warningRed;
|
|
16212
|
-
}, function (
|
|
16213
|
-
var theme =
|
|
16221
|
+
}, function (_ref11) {
|
|
16222
|
+
var theme = _ref11.theme;
|
|
16214
16223
|
return theme.colors.warningRed;
|
|
16215
16224
|
});
|
|
16216
|
-
}, function (
|
|
16217
|
-
var theme =
|
|
16225
|
+
}, function (_ref12) {
|
|
16226
|
+
var theme = _ref12.theme;
|
|
16218
16227
|
return theme.colors.white;
|
|
16219
16228
|
});
|
|
16220
16229
|
|
|
@@ -16416,7 +16425,7 @@ var parse = function parse(value) {
|
|
|
16416
16425
|
});
|
|
16417
16426
|
};
|
|
16418
16427
|
|
|
16419
|
-
var _templateObject$F, _templateObject2$u, _templateObject3$o, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$8, _templateObject10$7, _templateObject11$
|
|
16428
|
+
var _templateObject$F, _templateObject2$u, _templateObject3$o, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$8, _templateObject10$7, _templateObject11$4, _templateObject12$3;
|
|
16420
16429
|
var RelativeContainer$5 = styled__default.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n position: relative;\n user-select: none;\n min-width: 220px;\n\n > input,\n > label > input {\n color: transparent;\n background-color: transparent;\n width: 1px;\n height: 1px;\n position: absolute;\n left: 0;\n bottom: 0;\n border: 0;\n padding: 0;\n overflow: hidden;\n outline: none;\n box-shadow: none;\n }\n"])));
|
|
16421
16430
|
var LabelContainer$6 = styled__default.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n\n :first-child {\n text-align: left;\n }\n :not(:first-child) {\n text-align: center;\n }\n\n ", "\n\n ", ";\n"])), function (_ref) {
|
|
16422
16431
|
var theme = _ref.theme;
|
|
@@ -16466,13 +16475,13 @@ var Button$4 = styled__default.button(_templateObject9$8 || (_templateObject9$8
|
|
|
16466
16475
|
if (!onClick) return;
|
|
16467
16476
|
return styled.css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16468
16477
|
});
|
|
16469
|
-
var LabelText$1 = styled__default.label(_templateObject11$
|
|
16478
|
+
var LabelText$1 = styled__default.label(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
|
|
16470
16479
|
var theme = _ref12.theme;
|
|
16471
16480
|
return theme.spacings.s1;
|
|
16472
16481
|
}, function (_ref13) {
|
|
16473
16482
|
var required = _ref13.required;
|
|
16474
16483
|
if (!required) return;
|
|
16475
|
-
return styled.css(_templateObject12$
|
|
16484
|
+
return styled.css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16476
16485
|
});
|
|
16477
16486
|
|
|
16478
16487
|
var Component$1 = React__default.forwardRef(function (props, ref) {
|
|
@@ -17959,7 +17968,7 @@ var useContext$3 = function useContext() {
|
|
|
17959
17968
|
return React__default.useContext(Provider$3);
|
|
17960
17969
|
};
|
|
17961
17970
|
|
|
17962
|
-
var _templateObject$Q, _templateObject2$A, _templateObject3$t, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$a, _templateObject10$9, _templateObject11$
|
|
17971
|
+
var _templateObject$Q, _templateObject2$A, _templateObject3$t, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$a, _templateObject10$9, _templateObject11$5, _templateObject12$4, _templateObject13$2, _templateObject14$2, _templateObject15$2;
|
|
17963
17972
|
var aligns = {
|
|
17964
17973
|
self: {
|
|
17965
17974
|
horizontal: {
|
|
@@ -18050,13 +18059,13 @@ var Col = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedT
|
|
|
18050
18059
|
var bordered = _ref5.bordered,
|
|
18051
18060
|
lightestGrey = _ref5.theme.colors.lightestGrey;
|
|
18052
18061
|
if (!bordered) return;
|
|
18053
|
-
return styled.css(_templateObject11$
|
|
18062
|
+
return styled.css(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
|
|
18054
18063
|
}, function (_ref6) {
|
|
18055
18064
|
var fontColor = _ref6.fontColor,
|
|
18056
18065
|
theme = _ref6.theme;
|
|
18057
18066
|
if (fontColor === undefined) return;
|
|
18058
18067
|
var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
|
|
18059
|
-
return styled.css(_templateObject12$
|
|
18068
|
+
return styled.css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
|
|
18060
18069
|
}, function (_ref7) {
|
|
18061
18070
|
var backgroundColor = _ref7.backgroundColor,
|
|
18062
18071
|
theme = _ref7.theme;
|
|
@@ -18190,9 +18199,9 @@ var Row = styled__default.div(_templateObject$S || (_templateObject$S = _taggedT
|
|
|
18190
18199
|
return c;
|
|
18191
18200
|
}, function (_ref7) {
|
|
18192
18201
|
var borderless = _ref7.borderless,
|
|
18193
|
-
|
|
18202
|
+
lightestGrey = _ref7.theme.colors.lightestGrey;
|
|
18194
18203
|
if (borderless) return;
|
|
18195
|
-
return styled.css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n :last-child {\n border-bottom: 1px solid transparent;\n }\n "])),
|
|
18204
|
+
return styled.css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n :last-child {\n border-bottom: 1px solid transparent;\n }\n "])), lightestGrey);
|
|
18196
18205
|
}, function (_ref8) {
|
|
18197
18206
|
var hover = _ref8.hover,
|
|
18198
18207
|
theme = _ref8.theme;
|
|
@@ -18485,7 +18494,7 @@ var Modal$1 = Object.assign(Modal, {
|
|
|
18485
18494
|
Audit: Audit
|
|
18486
18495
|
});
|
|
18487
18496
|
|
|
18488
|
-
var _templateObject$X, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$d, _templateObject10$c, _templateObject11$
|
|
18497
|
+
var _templateObject$X, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$d, _templateObject10$c, _templateObject11$6;
|
|
18489
18498
|
var Container$c = styled__default.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
|
|
18490
18499
|
var Header$6 = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18491
18500
|
var HeaderImage = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
@@ -18502,7 +18511,7 @@ var HeaderLine = styled__default.div(_templateObject6$g || (_templateObject6$g =
|
|
|
18502
18511
|
}, function (props) {
|
|
18503
18512
|
return props.size === 'large' && styled.css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18504
18513
|
});
|
|
18505
|
-
var MainLine = styled__default(HeaderLine)(_templateObject11$
|
|
18514
|
+
var MainLine = styled__default(HeaderLine)(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18506
18515
|
|
|
18507
18516
|
var Template1 = function Template1(props) {
|
|
18508
18517
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18887,7 +18896,7 @@ var Template8$1 = function Template8(props) {
|
|
|
18887
18896
|
})), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
|
|
18888
18897
|
};
|
|
18889
18898
|
|
|
18890
|
-
var _templateObject$15, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$f, _templateObject11$
|
|
18899
|
+
var _templateObject$15, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$f, _templateObject11$7;
|
|
18891
18900
|
var Container$l = styled__default.div(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18892
18901
|
var Header$c = styled__default.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18893
18902
|
var HeaderLine$9 = styled__default.div(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
@@ -18910,7 +18919,7 @@ var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$m || (_templat
|
|
|
18910
18919
|
});
|
|
18911
18920
|
var GraphLine = styled__default(CustomLine$6)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
|
|
18912
18921
|
var Main$5 = styled__default.div(_templateObject10$f || (_templateObject10$f = _taggedTemplateLiteralLoose(["\n flex: 1;\n padding: 0 7px 72px 7px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: center;\n"])));
|
|
18913
|
-
var Circle$3 = styled__default.div(_templateObject11$
|
|
18922
|
+
var Circle$3 = styled__default.div(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18914
18923
|
|
|
18915
18924
|
var Template10 = function Template10(props) {
|
|
18916
18925
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|