@qn-pandora/pandora-component 5.1.0 → 5.1.2
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/README.md +36 -36
- package/es/components/AutoComplete/index.js +2 -2
- package/es/components/AutoComplete/style.css +127 -39
- package/es/components/AutoComplete/style.less +8 -8
- package/es/components/Breadcrumb/style.css +13 -3
- package/es/components/Breadcrumb/style.less +9 -9
- package/es/components/Button/style.css +282 -176
- package/es/components/Button/style.less +51 -51
- package/es/components/Card/RowExtra/style.css +6 -0
- package/es/components/Card/RowExtra/style.less +8 -8
- package/es/components/Card/SearchInput/style.less +8 -8
- package/es/components/Card/style.css +61 -66
- package/es/components/Card/style.less +11 -11
- package/es/components/CheckTransformList/style.css +345 -121
- package/es/components/CheckTransformList/style.less +35 -35
- package/es/components/Checkbox/index.js +9 -1
- package/es/components/Checkbox/style.css +5 -0
- package/es/components/Checkbox/style.less +5 -5
- package/es/components/CheckboxList/style.css +10 -5
- package/es/components/CheckboxList/style.less +11 -11
- package/es/components/Collapse/style.css +35 -3
- package/es/components/Collapse/style.less +58 -58
- package/es/components/CollapsiblePanel/style.less +63 -63
- package/es/components/DateTimePicker/Base/index.d.ts +3 -0
- package/es/components/DateTimePicker/Base/index.js +51 -6
- package/es/components/DateTimePicker/Base/style.css +508 -112
- package/es/components/DateTimePicker/Base/style.less +167 -160
- package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/es/components/DateTimePicker/DisplayInput/index.js +3 -1
- package/es/components/DateTimePicker/DisplayInput/style.css +231 -53
- package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/es/components/DateTimePicker/constants.d.ts +9 -3
- package/es/components/DateTimePicker/constants.js +1 -0
- package/es/components/DateTimePicker/index.js +1 -1
- package/es/components/DateTimePicker/style.css +77 -46
- package/es/components/DateTimePicker/style.less +19 -19
- package/es/components/DateTimePicker/time.d.ts +1 -0
- package/es/components/DateTimePicker/time.js +1 -0
- package/es/components/DateTimePicker/transform.js +4 -2
- package/es/components/Descriptions/style.css +77 -46
- package/es/components/Descriptions/style.less +16 -16
- package/es/components/Drawer/CloseIcon/style.less +8 -8
- package/es/components/Drawer/index.d.ts +6 -6
- package/es/components/Drawer/index.js +4 -4
- package/es/components/Drawer/style.css +244 -169
- package/es/components/Drawer/style.less +69 -61
- package/es/components/FileResumable/index.js +2 -3
- package/es/components/FileResumable/style.css +20 -50
- package/es/components/FileResumable/style.less +94 -94
- package/es/components/FlameGraph/customTooltip.d.ts +22 -0
- package/es/components/FlameGraph/customTooltip.js +91 -0
- package/es/components/FlameGraph/index.d.ts +16 -0
- package/es/components/FlameGraph/index.js +96 -0
- package/es/components/FlameGraph/style.css +8 -0
- package/es/components/FlameGraph/style.less +14 -0
- package/es/components/Input/index.d.ts +1 -1
- package/es/components/Input/style.css +231 -53
- package/es/components/Input/style.less +12 -12
- package/es/components/KeyValuePair/style.less +25 -25
- package/es/components/Menu/Option.d.ts +1 -1
- package/es/components/Menu/Option.js +12 -4
- package/es/components/Menu/style.css +31 -22
- package/es/components/Menu/style.less +18 -18
- package/es/components/Modal/style.css +11 -8
- package/es/components/Modal/style.less +30 -30
- package/es/components/NameExplainTooltip/style.css +1 -1
- package/es/components/NameExplainTooltip/style.less +10 -10
- package/es/components/NameLimiter/index.js +1 -1
- package/es/components/NameLimiter/style.css +83 -55
- package/es/components/NameLimiter/style.less +19 -19
- package/es/components/OptionList/InlineOptionList/style.css +22 -9
- package/es/components/OptionList/InlineOptionList/style.less +16 -16
- package/es/components/OptionList/OptionItem/style.css +85 -57
- package/es/components/OptionList/OptionItem/style.less +25 -25
- package/es/components/OptionList/PopoverOptionList/index.js +1 -1
- package/es/components/OptionList/PopoverOptionList/style.css +80 -49
- package/es/components/OptionList/PopoverOptionList/style.less +30 -30
- package/es/components/OptionList/style.css +187 -115
- package/es/components/OptionList/style.less +3 -3
- package/es/components/RadioGroup/style.css +51 -40
- package/es/components/RadioGroup/style.less +41 -41
- package/es/components/RangeInput/style.css +604 -87
- package/es/components/RangeInput/style.less +37 -37
- package/es/components/RemarkName/style.css +83 -55
- package/es/components/RemarkName/style.less +2 -2
- package/es/components/Selector/style.css +127 -39
- package/es/components/Selector/style.less +99 -99
- package/es/components/Spin/style.css +10 -8
- package/es/components/Spin/style.less +26 -26
- package/es/components/Steps/ControlButton/style.less +5 -5
- package/es/components/Steps/style.css +59 -21
- package/es/components/Steps/style.less +48 -48
- package/es/components/Table/ColumnSetting/index.d.ts +1 -0
- package/es/components/Table/ColumnSetting/index.js +19 -14
- package/es/components/Table/ColumnSetting/style.css +2 -5
- package/es/components/Table/ColumnSetting/style.less +50 -51
- package/es/components/Table/ColumnTag/style.css +4 -4
- package/es/components/Table/ColumnTag/style.less +40 -40
- package/es/components/Table/EmptyText.d.ts +7 -0
- package/es/components/Table/EmptyText.js +22 -0
- package/es/components/Table/ResizableTitle/style.less +25 -25
- package/es/components/Table/index.d.ts +19 -88
- package/es/components/Table/index.js +142 -326
- package/es/components/Table/style.css +146 -98
- package/es/components/Table/style.less +364 -345
- package/es/components/Table/type.d.ts +63 -0
- package/es/components/Table/type.js +5 -0
- package/es/components/Table/util.d.ts +58 -0
- package/es/components/Table/util.js +218 -0
- package/es/components/Tabs/style.css +127 -78
- package/es/components/Tabs/style.less +33 -33
- package/es/components/TagList/Tag/style.css +5 -5
- package/es/components/TagList/Tag/style.less +72 -72
- package/es/components/TagList/TagSwitch/style.css +1 -1
- package/es/components/TagList/TagSwitch/style.less +28 -28
- package/es/components/TagList/style.css +6 -6
- package/es/components/TagList/style.less +28 -28
- package/es/components/Timeline/TimelineItem/style.css +1 -1
- package/es/components/Timeline/TimelineItem/style.less +49 -49
- package/es/components/Timeline/style.less +23 -23
- package/es/components/TopologyChart/index.d.ts +7 -0
- package/es/components/TopologyChart/index.js +19 -0
- package/es/components/TopologyChart/style.css +14 -0
- package/es/components/TopologyChart/style.less +14 -0
- package/es/components/Transfer/List/style.less +19 -19
- package/es/components/Transfer/ListBody/style.less +18 -18
- package/es/components/Transfer/style.less +14 -14
- package/es/components/TreeSelector/style.css +42 -30
- package/es/components/TreeSelector/style.less +56 -56
- package/es/constants/language/datetime/en.js +4 -2
- package/es/constants/language/datetime/type.d.ts +4 -2
- package/es/constants/language/datetime/zh.js +4 -2
- package/es/index.css +9067 -7963
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- package/es/index.less +56 -54
- package/es/style/mixin.less +45 -45
- package/es/style/theme.less +416 -416
- package/lib/components/AutoComplete/index.js +2 -2
- package/lib/components/AutoComplete/style.css +127 -39
- package/lib/components/AutoComplete/style.less +8 -8
- package/lib/components/Breadcrumb/style.css +13 -3
- package/lib/components/Breadcrumb/style.less +9 -9
- package/lib/components/Button/style.css +282 -176
- package/lib/components/Button/style.less +51 -51
- package/lib/components/Card/RowExtra/style.css +6 -0
- package/lib/components/Card/RowExtra/style.less +8 -8
- package/lib/components/Card/SearchInput/style.less +8 -8
- package/lib/components/Card/style.css +61 -66
- package/lib/components/Card/style.less +11 -11
- package/lib/components/CheckTransformList/style.css +345 -121
- package/lib/components/CheckTransformList/style.less +35 -35
- package/lib/components/Checkbox/index.js +9 -1
- package/lib/components/Checkbox/style.css +5 -0
- package/lib/components/Checkbox/style.less +5 -5
- package/lib/components/CheckboxList/style.css +10 -5
- package/lib/components/CheckboxList/style.less +11 -11
- package/lib/components/Collapse/style.css +35 -3
- package/lib/components/Collapse/style.less +58 -58
- package/lib/components/CollapsiblePanel/style.less +63 -63
- package/lib/components/DateTimePicker/Base/index.d.ts +3 -0
- package/lib/components/DateTimePicker/Base/index.js +51 -6
- package/lib/components/DateTimePicker/Base/style.css +508 -112
- package/lib/components/DateTimePicker/Base/style.less +167 -160
- package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/lib/components/DateTimePicker/DisplayInput/index.js +3 -1
- package/lib/components/DateTimePicker/DisplayInput/style.css +231 -53
- package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/lib/components/DateTimePicker/constants.d.ts +9 -3
- package/lib/components/DateTimePicker/constants.js +1 -0
- package/lib/components/DateTimePicker/index.js +1 -1
- package/lib/components/DateTimePicker/style.css +77 -46
- package/lib/components/DateTimePicker/style.less +19 -19
- package/lib/components/DateTimePicker/time.d.ts +1 -0
- package/lib/components/DateTimePicker/time.js +1 -0
- package/lib/components/DateTimePicker/transform.js +4 -2
- package/lib/components/Descriptions/style.css +77 -46
- package/lib/components/Descriptions/style.less +16 -16
- package/lib/components/Drawer/CloseIcon/style.less +8 -8
- package/lib/components/Drawer/index.d.ts +6 -6
- package/lib/components/Drawer/index.js +4 -4
- package/lib/components/Drawer/style.css +244 -169
- package/lib/components/Drawer/style.less +69 -61
- package/lib/components/FileResumable/index.js +2 -3
- package/lib/components/FileResumable/style.css +20 -50
- package/lib/components/FileResumable/style.less +94 -94
- package/lib/components/FlameGraph/customTooltip.d.ts +22 -0
- package/lib/components/FlameGraph/customTooltip.js +114 -0
- package/lib/components/FlameGraph/index.d.ts +16 -0
- package/lib/components/FlameGraph/index.js +117 -0
- package/lib/components/FlameGraph/style.css +8 -0
- package/lib/components/FlameGraph/style.less +14 -0
- package/lib/components/Input/index.d.ts +1 -1
- package/lib/components/Input/style.css +231 -53
- package/lib/components/Input/style.less +12 -12
- package/lib/components/KeyValuePair/style.less +25 -25
- package/lib/components/Menu/Option.d.ts +1 -1
- package/lib/components/Menu/Option.js +17 -25
- package/lib/components/Menu/style.css +31 -22
- package/lib/components/Menu/style.less +18 -18
- package/lib/components/Modal/style.css +11 -8
- package/lib/components/Modal/style.less +30 -30
- package/lib/components/NameExplainTooltip/style.css +1 -1
- package/lib/components/NameExplainTooltip/style.less +10 -10
- package/lib/components/NameLimiter/index.js +1 -1
- package/lib/components/NameLimiter/style.css +83 -55
- package/lib/components/NameLimiter/style.less +19 -19
- package/lib/components/OptionList/InlineOptionList/style.css +22 -9
- package/lib/components/OptionList/InlineOptionList/style.less +16 -16
- package/lib/components/OptionList/OptionItem/style.css +85 -57
- package/lib/components/OptionList/OptionItem/style.less +25 -25
- package/lib/components/OptionList/PopoverOptionList/index.js +1 -1
- package/lib/components/OptionList/PopoverOptionList/style.css +80 -49
- package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
- package/lib/components/OptionList/style.css +187 -115
- package/lib/components/OptionList/style.less +3 -3
- package/lib/components/RadioGroup/style.css +51 -40
- package/lib/components/RadioGroup/style.less +41 -41
- package/lib/components/RangeInput/style.css +604 -87
- package/lib/components/RangeInput/style.less +37 -37
- package/lib/components/RemarkName/style.css +83 -55
- package/lib/components/RemarkName/style.less +2 -2
- package/lib/components/Selector/style.css +127 -39
- package/lib/components/Selector/style.less +99 -99
- package/lib/components/Spin/style.css +10 -8
- package/lib/components/Spin/style.less +26 -26
- package/lib/components/Steps/ControlButton/style.less +5 -5
- package/lib/components/Steps/style.css +59 -21
- package/lib/components/Steps/style.less +48 -48
- package/lib/components/Table/ColumnSetting/index.d.ts +1 -0
- package/lib/components/Table/ColumnSetting/index.js +19 -14
- package/lib/components/Table/ColumnSetting/style.css +2 -5
- package/lib/components/Table/ColumnSetting/style.less +50 -51
- package/lib/components/Table/ColumnTag/style.css +4 -4
- package/lib/components/Table/ColumnTag/style.less +40 -40
- package/lib/components/Table/EmptyText.d.ts +7 -0
- package/lib/components/Table/EmptyText.js +27 -0
- package/lib/components/Table/ResizableTitle/style.less +25 -25
- package/lib/components/Table/index.d.ts +19 -88
- package/lib/components/Table/index.js +145 -327
- package/lib/components/Table/style.css +146 -98
- package/lib/components/Table/style.less +364 -345
- package/lib/components/Table/type.d.ts +63 -0
- package/lib/components/Table/type.js +8 -0
- package/lib/components/Table/util.d.ts +58 -0
- package/lib/components/Table/util.js +227 -0
- package/lib/components/Tabs/style.css +127 -78
- package/lib/components/Tabs/style.less +33 -33
- package/lib/components/TagList/Tag/style.css +5 -5
- package/lib/components/TagList/Tag/style.less +72 -72
- package/lib/components/TagList/TagSwitch/style.css +1 -1
- package/lib/components/TagList/TagSwitch/style.less +28 -28
- package/lib/components/TagList/style.css +6 -6
- package/lib/components/TagList/style.less +28 -28
- package/lib/components/Timeline/TimelineItem/style.css +1 -1
- package/lib/components/Timeline/TimelineItem/style.less +49 -49
- package/lib/components/Timeline/style.less +23 -23
- package/lib/components/TopologyChart/index.d.ts +7 -0
- package/lib/components/TopologyChart/index.js +28 -0
- package/lib/components/TopologyChart/style.css +14 -0
- package/lib/components/TopologyChart/style.less +14 -0
- package/lib/components/Transfer/List/style.less +19 -19
- package/lib/components/Transfer/ListBody/style.less +18 -18
- package/lib/components/Transfer/style.less +14 -14
- package/lib/components/TreeSelector/style.css +42 -30
- package/lib/components/TreeSelector/style.less +56 -56
- package/lib/constants/language/datetime/en.js +4 -2
- package/lib/constants/language/datetime/type.d.ts +4 -2
- package/lib/constants/language/datetime/zh.js +4 -2
- package/lib/index.css +4782 -3678
- package/lib/index.d.ts +2 -0
- package/lib/index.js +8 -1
- package/lib/index.less +56 -54
- package/lib/style/mixin.less +45 -45
- package/lib/style/theme.less +416 -416
- package/package.json +10 -6
@@ -33,7 +33,7 @@ export declare type IDrawerProps = Overwrite<DrawerProps, {
|
|
33
33
|
/**
|
34
34
|
* 是否可见
|
35
35
|
*/
|
36
|
-
|
36
|
+
open?: boolean;
|
37
37
|
/**
|
38
38
|
* 宽
|
39
39
|
*/
|
@@ -52,7 +52,7 @@ export declare type IDrawerProps = Overwrite<DrawerProps, {
|
|
52
52
|
zIndex?: number;
|
53
53
|
getContainer?: string | HTMLElement | getContainerFunc | false;
|
54
54
|
onClose?: (e: EventType | null) => void;
|
55
|
-
|
55
|
+
afterOpenChange?: (open: boolean) => void;
|
56
56
|
/**
|
57
57
|
* 是否允许拖拽
|
58
58
|
*/
|
@@ -126,7 +126,7 @@ declare const _default: (props: {
|
|
126
126
|
/**
|
127
127
|
* 是否可见
|
128
128
|
*/
|
129
|
-
|
129
|
+
open?: boolean | undefined;
|
130
130
|
/**
|
131
131
|
* 宽
|
132
132
|
*/
|
@@ -145,7 +145,7 @@ declare const _default: (props: {
|
|
145
145
|
zIndex?: number | undefined;
|
146
146
|
getContainer?: string | false | HTMLElement | getContainerFunc | undefined;
|
147
147
|
onClose?: ((e: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLDivElement | HTMLButtonElement, MouseEvent> | null) => void) | undefined;
|
148
|
-
|
148
|
+
afterOpenChange?: ((open: boolean) => void) | undefined;
|
149
149
|
/**
|
150
150
|
* 是否允许拖拽
|
151
151
|
*/
|
@@ -153,7 +153,7 @@ declare const _default: (props: {
|
|
153
153
|
/**
|
154
154
|
* 关闭按钮显示的位置,默认left
|
155
155
|
*/
|
156
|
-
closeIconPlacement?:
|
156
|
+
closeIconPlacement?: "left" | "right" | undefined;
|
157
157
|
/**
|
158
158
|
* 无遮罩时点击空白处中的哪些元素不关闭
|
159
159
|
*/
|
@@ -164,7 +164,7 @@ declare const _default: (props: {
|
|
164
164
|
*/
|
165
165
|
showFullScreen?: boolean | undefined;
|
166
166
|
onScreenFullChange?: ((showFullScreen: boolean) => void) | undefined;
|
167
|
-
} & Pick<DrawerProps, "autoFocus" | "style" | "prefixCls" | "footer" | "extra" | "bodyStyle" | "forceRender" | "
|
167
|
+
} & Pick<DrawerProps, "onClick" | "autoFocus" | "id" | "style" | "children" | "onKeyDown" | "onKeyUp" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "prefixCls" | "footer" | "visible" | "afterVisibleChange" | "motion" | "extra" | "bodyStyle" | "forceRender" | "keyboard" | "rootClassName" | "destroyOnClose" | "closeIcon" | "push" | "rootStyle" | "contentWrapperStyle" | "maskClassName" | "maskMotion" | "drawerStyle" | "headerStyle" | "footerStyle"> & {
|
168
168
|
children?: React.ReactNode;
|
169
169
|
} & {
|
170
170
|
bodyStyle?: React.CSSProperties | undefined;
|
@@ -136,10 +136,10 @@ var Drawer = /** @class */ (function (_super) {
|
|
136
136
|
};
|
137
137
|
Drawer.prototype.onMouseClick = function (e) {
|
138
138
|
var _a;
|
139
|
-
var _b = this.props, mask = _b.mask, maskClosable = _b.maskClosable, nonCloseSelector = _b.nonCloseSelector,
|
139
|
+
var _b = this.props, mask = _b.mask, maskClosable = _b.maskClosable, nonCloseSelector = _b.nonCloseSelector, open = _b.open;
|
140
140
|
if (this.isResizing)
|
141
141
|
return;
|
142
|
-
if (mask === false && maskClosable &&
|
142
|
+
if (mask === false && maskClosable && open) {
|
143
143
|
var currentEl = e.target;
|
144
144
|
var shouldClose = true;
|
145
145
|
while (currentEl) {
|
@@ -204,10 +204,10 @@ var Drawer = /** @class */ (function (_super) {
|
|
204
204
|
};
|
205
205
|
Drawer.prototype.render = function () {
|
206
206
|
var _a;
|
207
|
-
var _b = this.props, width = _b.width, className = _b.className, children = _b.children, canDrag = _b.canDrag,
|
207
|
+
var _b = this.props, width = _b.width, className = _b.className, children = _b.children, canDrag = _b.canDrag, open = _b.open, closable = _b.closable, extra = _b.extra, size = _b.size, onClose = _b.onClose, other = __rest(_b, ["width", "className", "children", "canDrag", "open", "closable", "extra", "size", "onClose"]);
|
208
208
|
return (React.createElement(BaseDrawer, __assign({ className: classnames(this.drawerId, SDK_PREFIX + "-drawer", className, (_a = {},
|
209
209
|
_a[SDK_PREFIX + "-drawer-no-mask"] = this.props.mask === false,
|
210
|
-
_a)), width: this.isFullscreen ? '100%' : this.realWidth || 800, zIndex: 1200,
|
210
|
+
_a)), width: this.isFullscreen ? '100%' : this.realWidth || 800, zIndex: 1200, open: open, closable: this.closable, extra: this.extra, closeIcon: React.createElement(CloseIcon, { className: SDK_PREFIX + "-drawer-close-icon", onClick: this.handleClose, getPopupContainer: this.getIconPopupContainer }), onClose: this.handleClose }, other),
|
211
211
|
canDrag && (React.createElement("div", { className: SDK_PREFIX + "-scroll-handler", onMouseDown: this.onMouseDown })),
|
212
212
|
children));
|
213
213
|
};
|
@@ -4,131 +4,113 @@
|
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
5
|
.ant-drawer {
|
6
6
|
position: fixed;
|
7
|
+
top: 0;
|
8
|
+
right: 0;
|
9
|
+
bottom: 0;
|
10
|
+
left: 0;
|
7
11
|
z-index: 1200;
|
8
|
-
|
9
|
-
height: 100%;
|
10
|
-
-webkit-transition: width 0s ease 0.3s, height 0s ease 0.3s;
|
11
|
-
transition: width 0s ease 0.3s, height 0s ease 0.3s;
|
12
|
+
pointer-events: none;
|
12
13
|
}
|
13
|
-
.ant-drawer-
|
14
|
+
.ant-drawer-inline {
|
14
15
|
position: absolute;
|
15
|
-
width: 100%;
|
16
|
-
height: 100%;
|
17
|
-
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
18
|
-
transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
19
|
-
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
20
|
-
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
21
16
|
}
|
22
|
-
.ant-drawer
|
23
|
-
|
24
|
-
height: 100%;
|
25
|
-
}
|
26
|
-
.ant-drawer-left,
|
27
|
-
.ant-drawer-right {
|
17
|
+
.ant-drawer-mask {
|
18
|
+
position: absolute;
|
28
19
|
top: 0;
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
20
|
+
right: 0;
|
21
|
+
bottom: 0;
|
22
|
+
left: 0;
|
23
|
+
z-index: 1200;
|
24
|
+
background: rgba(0, 0, 0, 0.45);
|
25
|
+
pointer-events: auto;
|
35
26
|
}
|
36
|
-
.ant-drawer-
|
37
|
-
|
38
|
-
|
39
|
-
-webkit-transition:
|
40
|
-
transition:
|
41
|
-
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
42
|
-
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
27
|
+
.ant-drawer-content-wrapper {
|
28
|
+
position: absolute;
|
29
|
+
z-index: 1200;
|
30
|
+
-webkit-transition: all 0.3s;
|
31
|
+
transition: all 0.3s;
|
43
32
|
}
|
44
|
-
.ant-drawer-
|
45
|
-
|
33
|
+
.ant-drawer-content-wrapper-hidden {
|
34
|
+
display: none;
|
46
35
|
}
|
47
|
-
.ant-drawer-left .ant-drawer-content-wrapper {
|
36
|
+
.ant-drawer-left > .ant-drawer-content-wrapper {
|
37
|
+
top: 0;
|
38
|
+
bottom: 0;
|
48
39
|
left: 0;
|
49
|
-
}
|
50
|
-
.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper {
|
51
40
|
-webkit-box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
52
41
|
box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
53
42
|
}
|
54
|
-
.ant-drawer-right {
|
55
|
-
|
56
|
-
}
|
57
|
-
.ant-drawer-right .ant-drawer-content-wrapper {
|
43
|
+
.ant-drawer-right > .ant-drawer-content-wrapper {
|
44
|
+
top: 0;
|
58
45
|
right: 0;
|
59
|
-
|
60
|
-
.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper {
|
46
|
+
bottom: 0;
|
61
47
|
-webkit-box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
62
48
|
box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
63
49
|
}
|
64
|
-
.ant-drawer-
|
65
|
-
right: 1px;
|
66
|
-
-webkit-transform: translateX(1px);
|
67
|
-
transform: translateX(1px);
|
68
|
-
}
|
69
|
-
.ant-drawer-top,
|
70
|
-
.ant-drawer-bottom {
|
71
|
-
left: 0;
|
72
|
-
width: 100%;
|
73
|
-
height: 0%;
|
74
|
-
}
|
75
|
-
.ant-drawer-top .ant-drawer-content-wrapper,
|
76
|
-
.ant-drawer-bottom .ant-drawer-content-wrapper {
|
77
|
-
width: 100%;
|
78
|
-
}
|
79
|
-
.ant-drawer-top.ant-drawer-open,
|
80
|
-
.ant-drawer-bottom.ant-drawer-open {
|
81
|
-
height: 100%;
|
82
|
-
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
83
|
-
transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
84
|
-
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
85
|
-
transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
86
|
-
}
|
87
|
-
.ant-drawer-top {
|
50
|
+
.ant-drawer-top > .ant-drawer-content-wrapper {
|
88
51
|
top: 0;
|
89
|
-
|
90
|
-
|
52
|
+
right: 0;
|
53
|
+
left: 0;
|
91
54
|
-webkit-box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
92
55
|
box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
93
56
|
}
|
94
|
-
.ant-drawer-bottom {
|
95
|
-
|
96
|
-
}
|
97
|
-
.ant-drawer-bottom .ant-drawer-content-wrapper {
|
57
|
+
.ant-drawer-bottom > .ant-drawer-content-wrapper {
|
58
|
+
right: 0;
|
98
59
|
bottom: 0;
|
99
|
-
|
100
|
-
.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper {
|
60
|
+
left: 0;
|
101
61
|
-webkit-box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
102
62
|
box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
103
63
|
}
|
104
|
-
.ant-drawer-
|
105
|
-
|
106
|
-
-webkit-transform: translateY(1px);
|
107
|
-
transform: translateY(1px);
|
108
|
-
}
|
109
|
-
.ant-drawer.ant-drawer-open .ant-drawer-mask {
|
64
|
+
.ant-drawer-content {
|
65
|
+
width: 100%;
|
110
66
|
height: 100%;
|
111
|
-
|
112
|
-
|
113
|
-
transition: none;
|
114
|
-
-webkit-animation: antdDrawerFadeIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
115
|
-
animation: antdDrawerFadeIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
67
|
+
overflow: auto;
|
68
|
+
background: #ffffff;
|
116
69
|
pointer-events: auto;
|
117
70
|
}
|
118
|
-
.ant-drawer-
|
119
|
-
|
120
|
-
|
121
|
-
|
71
|
+
.ant-drawer-wrapper-body {
|
72
|
+
display: -webkit-box;
|
73
|
+
display: -ms-flexbox;
|
74
|
+
display: flex;
|
75
|
+
-webkit-box-orient: vertical;
|
76
|
+
-webkit-box-direction: normal;
|
77
|
+
-ms-flex-direction: column;
|
78
|
+
flex-direction: column;
|
79
|
+
width: 100%;
|
80
|
+
height: 100%;
|
81
|
+
}
|
82
|
+
.ant-drawer-header {
|
83
|
+
display: -webkit-box;
|
84
|
+
display: -ms-flexbox;
|
85
|
+
display: flex;
|
86
|
+
-webkit-box-flex: 0;
|
87
|
+
-ms-flex: 0;
|
88
|
+
flex: 0;
|
89
|
+
-webkit-box-align: center;
|
90
|
+
-ms-flex-align: center;
|
91
|
+
align-items: center;
|
92
|
+
padding: 16px 24px;
|
122
93
|
font-size: 16px;
|
123
94
|
line-height: 22px;
|
95
|
+
border-bottom: 1px solid #e5e5e5;
|
124
96
|
}
|
125
|
-
.ant-drawer-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
97
|
+
.ant-drawer-header-title {
|
98
|
+
display: -webkit-box;
|
99
|
+
display: -ms-flexbox;
|
100
|
+
display: flex;
|
101
|
+
-webkit-box-flex: 1;
|
102
|
+
-ms-flex: 1;
|
103
|
+
flex: 1;
|
104
|
+
-webkit-box-align: center;
|
105
|
+
-ms-flex-align: center;
|
106
|
+
align-items: center;
|
107
|
+
min-width: 0;
|
108
|
+
min-height: 0;
|
109
|
+
}
|
110
|
+
.ant-drawer-extra {
|
111
|
+
-webkit-box-flex: 0;
|
112
|
+
-ms-flex: none;
|
113
|
+
flex: none;
|
132
114
|
}
|
133
115
|
.ant-drawer-close {
|
134
116
|
display: inline-block;
|
@@ -154,58 +136,24 @@
|
|
154
136
|
color: rgba(0, 0, 0, 0.75);
|
155
137
|
text-decoration: none;
|
156
138
|
}
|
157
|
-
.ant-drawer-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
-
|
166
|
-
-ms-flex-pack: justify;
|
167
|
-
justify-content: space-between;
|
168
|
-
padding: 16px 24px;
|
169
|
-
color: rgba(0, 0, 0, 0.65);
|
170
|
-
background: #ffffff;
|
171
|
-
border-bottom: 1px solid #e5e5e5;
|
172
|
-
border-radius: 2px 2px 0 0;
|
173
|
-
}
|
174
|
-
.ant-drawer-header-title {
|
175
|
-
display: -webkit-box;
|
176
|
-
display: -ms-flexbox;
|
177
|
-
display: flex;
|
178
|
-
-webkit-box-align: center;
|
179
|
-
-ms-flex-align: center;
|
180
|
-
align-items: center;
|
181
|
-
-webkit-box-pack: justify;
|
182
|
-
-ms-flex-pack: justify;
|
183
|
-
justify-content: space-between;
|
184
|
-
}
|
185
|
-
.ant-drawer-header-close-only {
|
186
|
-
padding-bottom: 0;
|
187
|
-
border: none;
|
188
|
-
}
|
189
|
-
.ant-drawer-wrapper-body {
|
190
|
-
display: -webkit-box;
|
191
|
-
display: -ms-flexbox;
|
192
|
-
display: flex;
|
193
|
-
-webkit-box-orient: vertical;
|
194
|
-
-webkit-box-direction: normal;
|
195
|
-
-ms-flex-flow: column nowrap;
|
196
|
-
flex-flow: column nowrap;
|
197
|
-
width: 100%;
|
198
|
-
height: 100%;
|
139
|
+
.ant-drawer-title {
|
140
|
+
-webkit-box-flex: 1;
|
141
|
+
-ms-flex: 1;
|
142
|
+
flex: 1;
|
143
|
+
margin: 0;
|
144
|
+
color: #333;
|
145
|
+
font-weight: 500;
|
146
|
+
font-size: 16px;
|
147
|
+
line-height: 22px;
|
199
148
|
}
|
200
149
|
.ant-drawer-body {
|
201
150
|
-webkit-box-flex: 1;
|
202
|
-
-ms-flex
|
203
|
-
flex
|
151
|
+
-ms-flex: 1;
|
152
|
+
flex: 1;
|
153
|
+
min-width: 0;
|
154
|
+
min-height: 0;
|
204
155
|
padding: 24px;
|
205
156
|
overflow: auto;
|
206
|
-
font-size: 14px;
|
207
|
-
line-height: 1.5715;
|
208
|
-
word-wrap: break-word;
|
209
157
|
}
|
210
158
|
.ant-drawer-footer {
|
211
159
|
-ms-flex-negative: 0;
|
@@ -213,36 +161,157 @@
|
|
213
161
|
padding: 10px 16px;
|
214
162
|
border-top: 1px solid #e5e5e5;
|
215
163
|
}
|
216
|
-
.
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
164
|
+
.panel-motion-enter-start,
|
165
|
+
.panel-motion-appear-start,
|
166
|
+
.panel-motion-leave-start {
|
167
|
+
-webkit-transition: none;
|
168
|
+
transition: none;
|
169
|
+
}
|
170
|
+
.panel-motion-enter-active,
|
171
|
+
.panel-motion-appear-active,
|
172
|
+
.panel-motion-leave-active {
|
173
|
+
-webkit-transition: all 0.3s;
|
174
|
+
transition: all 0.3s;
|
175
|
+
}
|
176
|
+
.ant-drawer-mask-motion-enter-active,
|
177
|
+
.ant-drawer-mask-motion-appear-active,
|
178
|
+
.ant-drawer-mask-motion-leave-active {
|
179
|
+
-webkit-transition: all 0.3s;
|
180
|
+
transition: all 0.3s;
|
181
|
+
}
|
182
|
+
.ant-drawer-mask-motion-enter,
|
183
|
+
.ant-drawer-mask-motion-appear {
|
223
184
|
opacity: 0;
|
224
|
-
-webkit-transition: opacity 0.3s linear, height 0s ease 0.3s;
|
225
|
-
transition: opacity 0.3s linear, height 0s ease 0.3s;
|
226
|
-
pointer-events: none;
|
227
185
|
}
|
228
|
-
.ant-drawer
|
229
|
-
|
186
|
+
.ant-drawer-mask-motion-enter-active,
|
187
|
+
.ant-drawer-mask-motion-appear-active {
|
188
|
+
opacity: 1;
|
189
|
+
}
|
190
|
+
.ant-drawer-mask-motion-leave {
|
191
|
+
opacity: 1;
|
230
192
|
}
|
231
|
-
|
232
|
-
0
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
193
|
+
.ant-drawer-mask-motion-leave-active {
|
194
|
+
opacity: 0;
|
195
|
+
}
|
196
|
+
.ant-drawer-panel-motion-left-enter-start,
|
197
|
+
.ant-drawer-panel-motion-left-appear-start,
|
198
|
+
.ant-drawer-panel-motion-left-leave-start {
|
199
|
+
-webkit-transition: none;
|
200
|
+
transition: none;
|
201
|
+
}
|
202
|
+
.ant-drawer-panel-motion-left-enter-active,
|
203
|
+
.ant-drawer-panel-motion-left-appear-active,
|
204
|
+
.ant-drawer-panel-motion-left-leave-active {
|
205
|
+
-webkit-transition: all 0.3s;
|
206
|
+
transition: all 0.3s;
|
207
|
+
}
|
208
|
+
.ant-drawer-panel-motion-left-enter-start,
|
209
|
+
.ant-drawer-panel-motion-left-appear-start {
|
210
|
+
-webkit-transform: translateX(-100%) !important;
|
211
|
+
transform: translateX(-100%) !important;
|
212
|
+
}
|
213
|
+
.ant-drawer-panel-motion-left-enter-active,
|
214
|
+
.ant-drawer-panel-motion-left-appear-active {
|
215
|
+
-webkit-transform: translateX(0);
|
216
|
+
transform: translateX(0);
|
217
|
+
}
|
218
|
+
.ant-drawer-panel-motion-left-leave {
|
219
|
+
-webkit-transform: translateX(0);
|
220
|
+
transform: translateX(0);
|
221
|
+
}
|
222
|
+
.ant-drawer-panel-motion-left-leave-active {
|
223
|
+
-webkit-transform: translateX(-100%);
|
224
|
+
transform: translateX(-100%);
|
225
|
+
}
|
226
|
+
.ant-drawer-panel-motion-right-enter-start,
|
227
|
+
.ant-drawer-panel-motion-right-appear-start,
|
228
|
+
.ant-drawer-panel-motion-right-leave-start {
|
229
|
+
-webkit-transition: none;
|
230
|
+
transition: none;
|
231
|
+
}
|
232
|
+
.ant-drawer-panel-motion-right-enter-active,
|
233
|
+
.ant-drawer-panel-motion-right-appear-active,
|
234
|
+
.ant-drawer-panel-motion-right-leave-active {
|
235
|
+
-webkit-transition: all 0.3s;
|
236
|
+
transition: all 0.3s;
|
237
|
+
}
|
238
|
+
.ant-drawer-panel-motion-right-enter-start,
|
239
|
+
.ant-drawer-panel-motion-right-appear-start {
|
240
|
+
-webkit-transform: translateX(100%) !important;
|
241
|
+
transform: translateX(100%) !important;
|
242
|
+
}
|
243
|
+
.ant-drawer-panel-motion-right-enter-active,
|
244
|
+
.ant-drawer-panel-motion-right-appear-active {
|
245
|
+
-webkit-transform: translateX(0);
|
246
|
+
transform: translateX(0);
|
247
|
+
}
|
248
|
+
.ant-drawer-panel-motion-right-leave {
|
249
|
+
-webkit-transform: translateX(0);
|
250
|
+
transform: translateX(0);
|
251
|
+
}
|
252
|
+
.ant-drawer-panel-motion-right-leave-active {
|
253
|
+
-webkit-transform: translateX(100%);
|
254
|
+
transform: translateX(100%);
|
255
|
+
}
|
256
|
+
.ant-drawer-panel-motion-top-enter-start,
|
257
|
+
.ant-drawer-panel-motion-top-appear-start,
|
258
|
+
.ant-drawer-panel-motion-top-leave-start {
|
259
|
+
-webkit-transition: none;
|
260
|
+
transition: none;
|
261
|
+
}
|
262
|
+
.ant-drawer-panel-motion-top-enter-active,
|
263
|
+
.ant-drawer-panel-motion-top-appear-active,
|
264
|
+
.ant-drawer-panel-motion-top-leave-active {
|
265
|
+
-webkit-transition: all 0.3s;
|
266
|
+
transition: all 0.3s;
|
267
|
+
}
|
268
|
+
.ant-drawer-panel-motion-top-enter-start,
|
269
|
+
.ant-drawer-panel-motion-top-appear-start {
|
270
|
+
-webkit-transform: translateY(-100%) !important;
|
271
|
+
transform: translateY(-100%) !important;
|
272
|
+
}
|
273
|
+
.ant-drawer-panel-motion-top-enter-active,
|
274
|
+
.ant-drawer-panel-motion-top-appear-active {
|
275
|
+
-webkit-transform: translateY(0);
|
276
|
+
transform: translateY(0);
|
277
|
+
}
|
278
|
+
.ant-drawer-panel-motion-top-leave {
|
279
|
+
-webkit-transform: translateY(0);
|
280
|
+
transform: translateY(0);
|
281
|
+
}
|
282
|
+
.ant-drawer-panel-motion-top-leave-active {
|
283
|
+
-webkit-transform: translateY(-100%);
|
284
|
+
transform: translateY(-100%);
|
285
|
+
}
|
286
|
+
.ant-drawer-panel-motion-bottom-enter-start,
|
287
|
+
.ant-drawer-panel-motion-bottom-appear-start,
|
288
|
+
.ant-drawer-panel-motion-bottom-leave-start {
|
289
|
+
-webkit-transition: none;
|
290
|
+
transition: none;
|
291
|
+
}
|
292
|
+
.ant-drawer-panel-motion-bottom-enter-active,
|
293
|
+
.ant-drawer-panel-motion-bottom-appear-active,
|
294
|
+
.ant-drawer-panel-motion-bottom-leave-active {
|
295
|
+
-webkit-transition: all 0.3s;
|
296
|
+
transition: all 0.3s;
|
297
|
+
}
|
298
|
+
.ant-drawer-panel-motion-bottom-enter-start,
|
299
|
+
.ant-drawer-panel-motion-bottom-appear-start {
|
300
|
+
-webkit-transform: translateY(100%) !important;
|
301
|
+
transform: translateY(100%) !important;
|
302
|
+
}
|
303
|
+
.ant-drawer-panel-motion-bottom-enter-active,
|
304
|
+
.ant-drawer-panel-motion-bottom-appear-active {
|
305
|
+
-webkit-transform: translateY(0);
|
306
|
+
transform: translateY(0);
|
307
|
+
}
|
308
|
+
.ant-drawer-panel-motion-bottom-leave {
|
309
|
+
-webkit-transform: translateY(0);
|
310
|
+
transform: translateY(0);
|
311
|
+
}
|
312
|
+
.ant-drawer-panel-motion-bottom-leave-active {
|
313
|
+
-webkit-transform: translateY(100%);
|
314
|
+
transform: translateY(100%);
|
246
315
|
}
|
247
316
|
.ant-drawer-rtl {
|
248
317
|
direction: rtl;
|
@@ -251,6 +320,9 @@
|
|
251
320
|
margin-right: 0;
|
252
321
|
margin-left: 12px;
|
253
322
|
}
|
323
|
+
.pandora-sdk-drawer.pandora-sdk-drawer-no-mask {
|
324
|
+
background-color: transparent;
|
325
|
+
}
|
254
326
|
.pandora-sdk-drawer .ant-drawer-content-wrapper {
|
255
327
|
width: 50%;
|
256
328
|
min-width: 300px;
|
@@ -266,6 +338,9 @@
|
|
266
338
|
.pandora-sdk-drawer .ant-drawer-header-title {
|
267
339
|
overflow: hidden;
|
268
340
|
}
|
341
|
+
.pandora-sdk-drawer .ant-drawer-body {
|
342
|
+
font-size: 14px;
|
343
|
+
}
|
269
344
|
.pandora-sdk-drawer-size-small {
|
270
345
|
max-width: 38%;
|
271
346
|
}
|