@oceanbase/design 0.4.5 → 0.4.6
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/design.min.js +1 -1
- package/es/card/index.d.ts +1 -0
- package/es/card/index.js +12 -8
- package/es/card/style/index.d.ts +1 -1
- package/es/card/style/index.js +9 -6
- package/es/config-provider/index.d.ts +6 -1
- package/es/config-provider/index.js +3 -1
- package/es/descriptions/hooks/useItems.d.ts +8 -0
- package/es/radio/index.d.ts +1 -1
- package/es/table/index.js +4 -0
- package/es/table/style/index.d.ts +3 -2
- package/es/table/style/index.js +18 -12
- package/es/tabs/index.d.ts +1 -0
- package/es/tabs/index.js +2 -2
- package/es/tabs/style/index.d.ts +3 -3
- package/es/tabs/style/index.js +2 -2
- package/es/tag/style/index.d.ts +3 -2
- package/es/theme/default.js +3 -0
- package/es/theme/style/aliyun.less +33 -33
- package/es/theme/style/compact.less +10 -10
- package/es/theme/style/dark.less +36 -36
- package/es/theme/style/default.less +10 -10
- package/lib/card/index.d.ts +1 -0
- package/lib/card/index.js +8 -3
- package/lib/card/style/index.d.ts +1 -1
- package/lib/card/style/index.js +12 -4
- package/lib/config-provider/index.d.ts +6 -1
- package/lib/config-provider/index.js +2 -0
- package/lib/descriptions/hooks/useItems.d.ts +8 -0
- package/lib/radio/index.d.ts +1 -1
- package/lib/table/index.js +9 -0
- package/lib/table/style/index.d.ts +3 -2
- package/lib/table/style/index.js +20 -8
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/index.js +1 -1
- package/lib/tabs/style/index.d.ts +3 -3
- package/lib/tabs/style/index.js +4 -4
- package/lib/tag/style/index.d.ts +3 -2
- package/lib/theme/default.js +3 -0
- package/lib/theme/style/aliyun.less +33 -33
- package/lib/theme/style/compact.less +10 -10
- package/lib/theme/style/dark.less +36 -36
- package/lib/theme/style/default.less +10 -10
- package/package.json +9 -9
package/es/card/index.d.ts
CHANGED
|
@@ -12,5 +12,6 @@ export interface CardProps extends AntCardProps {
|
|
|
12
12
|
declare const _default: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>> & {
|
|
13
13
|
Grid: React.FC<import("antd/es/card").CardGridProps>;
|
|
14
14
|
Meta: React.FC<import("antd/es/card").CardMetaProps>;
|
|
15
|
+
genTableStyle: (padding: number, token: Partial<import("./style").CardToken>) => import("@ant-design/cssinjs").CSSObject;
|
|
15
16
|
};
|
|
16
17
|
export default _default;
|
package/es/card/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["children", "size", "
|
|
2
|
+
var _excluded = ["children", "size", "title", "tabList", "divided", "prefixCls", "bodyStyle", "styles", "className"];
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -12,25 +12,27 @@ import { Card as AntCard, Space, Tag } from 'antd';
|
|
|
12
12
|
import classNames from 'classnames';
|
|
13
13
|
import React, { useContext } from 'react';
|
|
14
14
|
import ConfigProvider from "../config-provider";
|
|
15
|
-
import useStyle from "./style";
|
|
15
|
+
import useStyle, { genTableStyle } from "./style";
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
18
|
export * from 'antd/es/card/Card';
|
|
19
19
|
export * from 'antd/es/card';
|
|
20
20
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21
|
-
var _styles$body;
|
|
21
|
+
var _ref2, _styles$body;
|
|
22
22
|
var children = _ref.children,
|
|
23
23
|
size = _ref.size,
|
|
24
|
-
|
|
25
|
-
divided = _ref$divided === void 0 ? true : _ref$divided,
|
|
24
|
+
title = _ref.title,
|
|
26
25
|
tabList = _ref.tabList,
|
|
26
|
+
outerDivided = _ref.divided,
|
|
27
27
|
customizePrefixCls = _ref.prefixCls,
|
|
28
28
|
bodyStyle = _ref.bodyStyle,
|
|
29
29
|
styles = _ref.styles,
|
|
30
30
|
className = _ref.className,
|
|
31
31
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
32
32
|
var _useContext = useContext(ConfigProvider.ConfigContext),
|
|
33
|
-
getPrefixCls = _useContext.getPrefixCls
|
|
33
|
+
getPrefixCls = _useContext.getPrefixCls,
|
|
34
|
+
contextCard = _useContext.card;
|
|
35
|
+
var divided = (_ref2 = outerDivided !== null && outerDivided !== void 0 ? outerDivided : contextCard === null || contextCard === void 0 ? void 0 : contextCard.divided) !== null && _ref2 !== void 0 ? _ref2 : true;
|
|
34
36
|
var prefixCls = getPrefixCls('card', customizePrefixCls);
|
|
35
37
|
var tabsPrefixCls = getPrefixCls('tabs', customizePrefixCls);
|
|
36
38
|
var _useStyle = useStyle(prefixCls, tabsPrefixCls),
|
|
@@ -38,7 +40,7 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
38
40
|
var zeroPaddingList = [0, '0', '0px'];
|
|
39
41
|
// card body has no padding
|
|
40
42
|
var noBodyPadding = zeroPaddingList.includes(bodyStyle === null || bodyStyle === void 0 ? void 0 : bodyStyle.padding) || zeroPaddingList.includes(styles === null || styles === void 0 || (_styles$body = styles.body) === null || _styles$body === void 0 ? void 0 : _styles$body.padding);
|
|
41
|
-
var cardCls = classNames(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-no-divider"), !divided), "".concat(prefixCls, "-no-body-padding"), noBodyPadding), className);
|
|
43
|
+
var cardCls = classNames(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-has-title"), !!title), "".concat(prefixCls, "-no-divider"), !divided), "".concat(prefixCls, "-no-body-padding"), noBodyPadding), className);
|
|
42
44
|
var newTabList = tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) {
|
|
43
45
|
if (!isNullValue(item.tag)) {
|
|
44
46
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
@@ -57,6 +59,7 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
57
59
|
return wrapSSR( /*#__PURE__*/_jsx(AntCard, _objectSpread(_objectSpread({
|
|
58
60
|
ref: ref,
|
|
59
61
|
size: size,
|
|
62
|
+
title: title,
|
|
60
63
|
tabList: newTabList,
|
|
61
64
|
prefixCls: customizePrefixCls,
|
|
62
65
|
bodyStyle: bodyStyle,
|
|
@@ -71,5 +74,6 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
71
74
|
}
|
|
72
75
|
export default Object.assign(Card, {
|
|
73
76
|
Grid: AntCard.Grid,
|
|
74
|
-
Meta: AntCard.Meta
|
|
77
|
+
Meta: AntCard.Meta,
|
|
78
|
+
genTableStyle: genTableStyle
|
|
75
79
|
});
|
package/es/card/style/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type CardToken = FullToken<'Card'> & {
|
|
|
5
5
|
tabsComponentCls: string;
|
|
6
6
|
tabsPrefixCls: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const genTableStyle: (padding: number, token: CardToken) => CSSObject;
|
|
8
|
+
export declare const genTableStyle: (padding: number, token: Partial<CardToken>) => CSSObject;
|
|
9
9
|
export declare const genCardStyle: GenerateStyle<CardToken>;
|
|
10
10
|
declare const _default: (prefixCls: string, tabsPrefixCls: string) => {
|
|
11
11
|
wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
package/es/card/style/index.js
CHANGED
|
@@ -4,12 +4,13 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import {
|
|
7
|
+
import { genTabsStyle } from "../../tabs/style";
|
|
8
8
|
import { genComponentStyleHook } from "../../_util/genComponentStyleHook";
|
|
9
9
|
export var genTableStyle = function genTableStyle(padding, token) {
|
|
10
|
-
var
|
|
10
|
+
var componentCls = token.componentCls,
|
|
11
|
+
antCls = token.antCls;
|
|
11
12
|
var tableComponentCls = "".concat(antCls, "-table");
|
|
12
|
-
return _defineProperty({}, "".concat(tableComponentCls, "-wrapper"), _defineProperty(_defineProperty({}, "".concat(tableComponentCls), _defineProperty(_defineProperty({}, "".concat(tableComponentCls, "-thead > tr > th:first-child, ").concat(tableComponentCls, "-tbody > tr > td:first-child"), {
|
|
13
|
+
return _defineProperty(_defineProperty({}, "".concat(tableComponentCls, "-wrapper"), _defineProperty(_defineProperty({}, "".concat(tableComponentCls), _defineProperty(_defineProperty({}, "".concat(tableComponentCls, "-thead > tr > th:first-child, ").concat(tableComponentCls, "-tbody > tr > td:first-child"), {
|
|
13
14
|
paddingLeft: padding
|
|
14
15
|
}), "".concat(tableComponentCls, "-thead > tr > th:last-child, ").concat(tableComponentCls, "-tbody > tr > td:last-child"), {
|
|
15
16
|
paddingRight: padding
|
|
@@ -17,26 +18,28 @@ export var genTableStyle = function genTableStyle(padding, token) {
|
|
|
17
18
|
marginLeft: padding
|
|
18
19
|
}), "& > li:last-child", {
|
|
19
20
|
marginRight: padding
|
|
21
|
+
}))), "&".concat(componentCls, "-has-title").concat(componentCls, "-no-divider:not(").concat(componentCls, "-contain-tabs)"), _defineProperty({}, "".concat(componentCls, "-body"), _defineProperty({}, "& > ".concat(tableComponentCls, "-wrapper ").concat(tableComponentCls, ":not(").concat(tableComponentCls, "-bordered):first-child"), {
|
|
22
|
+
marginTop: -token.marginSM
|
|
20
23
|
})));
|
|
21
24
|
};
|
|
22
25
|
export var genCardStyle = function genCardStyle(token) {
|
|
23
26
|
var componentCls = token.componentCls,
|
|
24
27
|
tabsComponentCls = token.tabsComponentCls,
|
|
25
28
|
tabsPrefixCls = token.tabsPrefixCls,
|
|
26
|
-
padding = token.padding,
|
|
27
29
|
paddingSM = token.paddingSM,
|
|
28
30
|
paddingLG = token.paddingLG;
|
|
29
31
|
return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(componentCls), _defineProperty({}, "".concat(componentCls, ":not(").concat(componentCls, "-bordered):not(").concat(componentCls, "-type-inner)"), {
|
|
30
32
|
boxShadow: 'none'
|
|
31
33
|
})), "".concat(componentCls).concat(componentCls, "-no-divider"), _defineProperty({}, "".concat(componentCls, "-head"), {
|
|
32
|
-
|
|
34
|
+
// should not remove border-bottom to avoid tabs inkbar display correctly
|
|
35
|
+
borderBottomColor: 'transparent'
|
|
33
36
|
})), "".concat(componentCls).concat(componentCls, "-no-divider:not(").concat(componentCls, "-contain-tabs)"), _defineProperty({}, "".concat(componentCls, "-body"), {
|
|
34
37
|
padding: "0 ".concat(paddingLG, "px ").concat(paddingLG, "px ").concat(paddingLG, "px")
|
|
35
38
|
})), "".concat(componentCls, "-small").concat(componentCls, "-no-divider:not(").concat(componentCls, "-contain-tabs)"), _defineProperty({}, "".concat(componentCls, "-body"), {
|
|
36
39
|
padding: "0 ".concat(paddingSM, "px ").concat(paddingSM, "px ").concat(paddingSM, "px")
|
|
37
40
|
})), "".concat(componentCls, "-small").concat(componentCls, "-contain-tabs >").concat(componentCls, "-head"), _defineProperty({}, "".concat(componentCls, "-head-title, ").concat(componentCls, "-head-extra"), {
|
|
38
41
|
paddingTop: token.paddingXS
|
|
39
|
-
})), "".concat(componentCls).concat(componentCls, "-contain-tabs"), _defineProperty({}, "".concat(componentCls, "-head"),
|
|
42
|
+
})), "".concat(componentCls).concat(componentCls, "-contain-tabs"), _defineProperty({}, "".concat(componentCls, "-head"), genTabsStyle(_objectSpread(_objectSpread({}, token), {}, {
|
|
40
43
|
componentCls: tabsComponentCls,
|
|
41
44
|
prefixCls: tabsPrefixCls
|
|
42
45
|
})))), "".concat(componentCls).concat(componentCls, "-contain-grid"), _defineProperty({}, "".concat(componentCls, "-head"), {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ConfigProvider as AntConfigProvider } from 'antd';
|
|
3
3
|
import type { ConfigProviderProps as AntConfigProviderProps, ConfigConsumerProps as AntConfigConsumerProps, ThemeConfig as AntThemeConfig } from 'antd/es/config-provider';
|
|
4
|
-
import type { ComponentStyleConfig } from 'antd/es/config-provider/context';
|
|
4
|
+
import type { ComponentStyleConfig, CardConfig as AntCardConfig } from 'antd/es/config-provider/context';
|
|
5
5
|
import type { AppProps } from 'antd/es/app';
|
|
6
6
|
import type { PaginationConfig } from 'antd/es/pagination';
|
|
7
7
|
import type { SpinIndicator } from 'antd/es/spin';
|
|
@@ -17,6 +17,9 @@ export interface ThemeConfig extends AntThemeConfig {
|
|
|
17
17
|
isDark?: boolean;
|
|
18
18
|
isAliyun?: boolean;
|
|
19
19
|
}
|
|
20
|
+
export type CardConfig = AntCardConfig & {
|
|
21
|
+
divided?: boolean;
|
|
22
|
+
};
|
|
20
23
|
export type SpinConfig = ComponentStyleConfig & {
|
|
21
24
|
indicator?: SpinIndicator;
|
|
22
25
|
};
|
|
@@ -27,6 +30,7 @@ export interface ConfigConsumerProps extends AntConfigConsumerProps {
|
|
|
27
30
|
theme?: ThemeConfig;
|
|
28
31
|
navigate?: NavigateFunction;
|
|
29
32
|
hideOnSinglePage?: boolean;
|
|
33
|
+
card?: CardConfig;
|
|
30
34
|
spin?: SpinConfig;
|
|
31
35
|
table?: TableConfig;
|
|
32
36
|
builtInApp?: boolean;
|
|
@@ -37,6 +41,7 @@ export interface ConfigProviderProps extends AntConfigProviderProps {
|
|
|
37
41
|
locale?: Locale;
|
|
38
42
|
navigate?: NavigateFunction;
|
|
39
43
|
hideOnSinglePage?: boolean;
|
|
44
|
+
card?: CardConfig;
|
|
40
45
|
pagination?: PaginationConfig;
|
|
41
46
|
spin?: SpinConfig;
|
|
42
47
|
table?: TableConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["children", "theme", "locale", "navigate", "hideOnSinglePage", "collapse", "form", "spin", "table", "tabs", "injectStaticFunction", "styleProviderProps", "appProps"];
|
|
2
|
+
var _excluded = ["children", "theme", "locale", "navigate", "hideOnSinglePage", "card", "collapse", "form", "spin", "table", "tabs", "injectStaticFunction", "styleProviderProps", "appProps"];
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -37,6 +37,7 @@ var ConfigProvider = function ConfigProvider(_ref) {
|
|
|
37
37
|
locale = _ref.locale,
|
|
38
38
|
navigate = _ref.navigate,
|
|
39
39
|
hideOnSinglePage = _ref.hideOnSinglePage,
|
|
40
|
+
card = _ref.card,
|
|
40
41
|
collapse = _ref.collapse,
|
|
41
42
|
form = _ref.form,
|
|
42
43
|
spin = _ref.spin,
|
|
@@ -65,6 +66,7 @@ var ConfigProvider = function ConfigProvider(_ref) {
|
|
|
65
66
|
var mergedLocale = merge({}, parentContext.locale, locale);
|
|
66
67
|
return /*#__PURE__*/_jsx(AntConfigProvider, _objectSpread(_objectSpread({
|
|
67
68
|
locale: mergedLocale,
|
|
69
|
+
card: merge({}, parentContext.card, card),
|
|
68
70
|
collapse: merge({}, {
|
|
69
71
|
expandIcon: function expandIcon(_ref2) {
|
|
70
72
|
var isActive = _ref2.isActive;
|
|
@@ -15,6 +15,14 @@ export default function useItems(items?: DescriptionsItemType[], children?: Reac
|
|
|
15
15
|
label?: React.ReactNode;
|
|
16
16
|
className?: string;
|
|
17
17
|
key?: React.Key;
|
|
18
|
+
classNames?: {
|
|
19
|
+
label?: string;
|
|
20
|
+
content?: string;
|
|
21
|
+
};
|
|
22
|
+
styles?: {
|
|
23
|
+
label?: React.CSSProperties;
|
|
24
|
+
content?: React.CSSProperties;
|
|
25
|
+
};
|
|
18
26
|
labelStyle?: React.CSSProperties;
|
|
19
27
|
contentStyle?: React.CSSProperties;
|
|
20
28
|
}[];
|
package/es/radio/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { RadioProps as AntRadioProps, RadioRef } from 'antd/es/radio';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export * from 'antd/es/radio';
|
|
4
4
|
declare const Radio: React.ForwardRefExoticComponent<AntRadioProps & React.RefAttributes<RadioRef>> & {
|
|
5
|
-
Group: React.
|
|
5
|
+
Group: React.NamedExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<RadioRef>>;
|
|
7
7
|
};
|
|
8
8
|
export default Radio;
|
package/es/table/index.js
CHANGED
|
@@ -34,6 +34,7 @@ function Table(props, ref) {
|
|
|
34
34
|
footer = props.footer,
|
|
35
35
|
customPagination = props.pagination,
|
|
36
36
|
rowSelection = props.rowSelection,
|
|
37
|
+
_rowClassName = props.rowClassName,
|
|
37
38
|
toolAlertRender = props.toolAlertRender,
|
|
38
39
|
toolOptionsRender = props.toolOptionsRender,
|
|
39
40
|
toolSelectedContent = props.toolSelectedContent,
|
|
@@ -188,6 +189,9 @@ function Table(props, ref) {
|
|
|
188
189
|
})
|
|
189
190
|
}),
|
|
190
191
|
columns: newColumns,
|
|
192
|
+
rowClassName: function rowClassName() {
|
|
193
|
+
return classNames(typeof _rowClassName === 'function' ? _rowClassName.apply(void 0, arguments) : _rowClassName, _defineProperty({}, "".concat(prefixCls, "-expand-row-by-click"), expandable === null || expandable === void 0 ? void 0 : expandable.expandRowByClick));
|
|
194
|
+
},
|
|
191
195
|
expandable: expandable ? _objectSpread({
|
|
192
196
|
columnWidth: 32
|
|
193
197
|
}, expandable) : undefined,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { CSSObject } from '@ant-design/cssinjs';
|
|
3
|
+
import type { FullToken } from 'antd/es/theme/internal';
|
|
3
4
|
export type TableToken = FullToken<'Table'>;
|
|
4
|
-
export declare const genTableStyle:
|
|
5
|
+
export declare const genTableStyle: (token: TableToken) => CSSObject;
|
|
5
6
|
declare const _default: (prefixCls: string) => {
|
|
6
7
|
wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
7
8
|
hashId: string;
|
package/es/table/style/index.js
CHANGED
|
@@ -4,7 +4,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
4
4
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
5
|
import { genComponentStyleHook } from "../../_util/genComponentStyleHook";
|
|
6
6
|
export var genTableStyle = function genTableStyle(token) {
|
|
7
|
-
var _ref;
|
|
7
|
+
var _$concat2, _ref;
|
|
8
8
|
var antCls = token.antCls,
|
|
9
9
|
componentCls = token.componentCls,
|
|
10
10
|
colorText = token.colorText,
|
|
@@ -34,7 +34,7 @@ export var genTableStyle = function genTableStyle(token) {
|
|
|
34
34
|
backgroundColor: colorBgBase
|
|
35
35
|
}), "".concat(componentCls, "-cell-scrollbar"), {
|
|
36
36
|
boxShadow: "0 1px 0 1px ".concat(colorBgBase)
|
|
37
|
-
})), "".concat(componentCls, "-tbody"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(
|
|
37
|
+
})), "".concat(componentCls, "-tbody"), (_$concat2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_$concat2, "tr:nth-child(2n + 1):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(antCls, "-descriptions-row) > td"), {
|
|
38
38
|
backgroundColor: colorBgBase
|
|
39
39
|
}), "tr:nth-child(2n):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(componentCls, "-expanded-row):not(").concat(antCls, "-descriptions-row) > td"), {
|
|
40
40
|
backgroundColor: colorFillQuaternary
|
|
@@ -44,6 +44,8 @@ export var genTableStyle = function genTableStyle(token) {
|
|
|
44
44
|
backgroundColor: "".concat(colorPrimaryBg, " !important")
|
|
45
45
|
}), "".concat(componentCls, "-tbody-virtual-scrollbar ").concat(componentCls, "-tbody-virtual-scrollbar-thumb"), {
|
|
46
46
|
background: "".concat(token.colorFillSecondary, " !important")
|
|
47
|
+
}), "tr".concat(componentCls, "-expand-row-by-click"), {
|
|
48
|
+
cursor: 'pointer'
|
|
47
49
|
}), "tr > td:has(".concat(componentCls, "-row-expand-icon-expanded)"), _defineProperty({
|
|
48
50
|
borderBottom: 'none'
|
|
49
51
|
}, "& ~ td", {
|
|
@@ -57,7 +59,7 @@ export var genTableStyle = function genTableStyle(token) {
|
|
|
57
59
|
display: 'flex',
|
|
58
60
|
justifyContent: 'center',
|
|
59
61
|
alignItems: 'center'
|
|
60
|
-
}), "tr > td > ".concat(componentCls, "-wrapper:only-child ").concat(componentCls), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
62
|
+
}), _defineProperty(_$concat2, "tr > td > ".concat(componentCls, "-wrapper:only-child ").concat(componentCls), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
61
63
|
borderBottom: 'none'
|
|
62
64
|
}, "".concat(componentCls, "-thead > tr > th"), {
|
|
63
65
|
backgroundColor: token.colorFillQuaternary
|
|
@@ -67,7 +69,7 @@ export var genTableStyle = function genTableStyle(token) {
|
|
|
67
69
|
borderRadius: 0
|
|
68
70
|
}), "".concat(componentCls, "-empty-wrapper"), {
|
|
69
71
|
minHeight: 'auto'
|
|
70
|
-
})))), "".concat(componentCls, "-wrapper ").concat(componentCls).concat(componentCls, "-scroll-horizontal, ").concat(componentCls, "-wrapper ").concat(componentCls).concat(componentCls, "-fixed-header"), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty(_defineProperty({}, "tr:nth-child(2n + 1):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(antCls, "-descriptions-row) > td"), {
|
|
72
|
+
}))))), "".concat(componentCls, "-wrapper ").concat(componentCls).concat(componentCls, "-scroll-horizontal, ").concat(componentCls, "-wrapper ").concat(componentCls).concat(componentCls, "-fixed-header"), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty(_defineProperty({}, "tr:nth-child(2n + 1):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(antCls, "-descriptions-row) > td"), {
|
|
71
73
|
backgroundColor: colorFillQuaternary
|
|
72
74
|
}), "tr:nth-child(2n):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(componentCls, "-expanded-row):not(").concat(antCls, "-descriptions-row) > td"), {
|
|
73
75
|
backgroundColor: colorBgBase
|
|
@@ -75,30 +77,34 @@ export var genTableStyle = function genTableStyle(token) {
|
|
|
75
77
|
borderRadius: "0px 0px ".concat(token.borderRadiusLG, "px ").concat(token.borderRadiusLG, "px")
|
|
76
78
|
})), "".concat(componentCls, "-wrapper ").concat(componentCls, ":not(").concat(componentCls, "-bordered)"), _defineProperty({}, "".concat(componentCls, "-thead, ").concat(componentCls, "-tbody"), _defineProperty({}, 'td, th', _defineProperty(_defineProperty({}, "&".concat(componentCls, "-row-expand-icon-cell"), {
|
|
77
79
|
backgroundColor: colorBgBase,
|
|
78
|
-
|
|
80
|
+
// 设置 paddingRight 即可
|
|
81
|
+
paddingRight: token.paddingXS
|
|
79
82
|
}), "&".concat(componentCls, "-selection-column, &").concat(componentCls, "-row-expand-icon-cell"), _defineProperty({}, "& + td, & + th", {
|
|
80
83
|
paddingLeft: token.paddingXS
|
|
81
84
|
}))))), "".concat(componentCls, "-wrapper:not(").concat(componentCls, "-expandable):not(").concat(componentCls, "-has-footer) ").concat(componentCls, ":not(").concat(componentCls, "-bordered):not(").concat(componentCls, "-empty)"), {
|
|
82
85
|
borderBottom: "1px solid ".concat(colorBorderSecondary),
|
|
83
|
-
|
|
86
|
+
borderBottomLeftRadius: 0,
|
|
87
|
+
borderBottomRightRadius: 0
|
|
84
88
|
}), "".concat(componentCls, "-wrapper:not(").concat(componentCls, "-expandable)"), _defineProperty({}, "".concat(componentCls, ":not(").concat(componentCls, "-bordered)"), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty({}, "tr:not(".concat(componentCls, "-measure-row) > td"), {
|
|
85
89
|
border: 'none'
|
|
86
|
-
})))), "".concat(componentCls, "-wrapper").concat(componentCls, "-expandable"), _defineProperty(_defineProperty({}, "".concat(componentCls), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty(_defineProperty({}, "tr:nth-child(2n):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(componentCls, "-expanded-row)"), _defineProperty(_defineProperty({}, '& > td', {
|
|
90
|
+
})))), "".concat(componentCls, "-wrapper").concat(componentCls, "-expandable"), _defineProperty(_defineProperty({}, "".concat(componentCls), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty(_defineProperty(_defineProperty({}, "tr:nth-child(2n):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(componentCls, "-expanded-row)"), _defineProperty(_defineProperty({}, '& > td', {
|
|
87
91
|
backgroundColor: colorBgBase
|
|
88
92
|
}), '&:hover', {
|
|
89
93
|
td: {
|
|
90
94
|
backgroundColor: colorPrimaryBg
|
|
91
95
|
}
|
|
96
|
+
})), "".concat(componentCls, "-expanded-row > td"), _defineProperty({}, "& > *:not(".concat(componentCls, "-wrapper)"), {
|
|
97
|
+
marginLeft: token.marginXL + token.lineWidth * 2
|
|
92
98
|
})), "tr > td > ".concat(componentCls, "-wrapper:only-child ").concat(componentCls), {
|
|
93
|
-
marginLeft: token.
|
|
99
|
+
marginLeft: token.margin + token.lineWidth * 2
|
|
94
100
|
}))), "".concat(componentCls, "-middle, ").concat(componentCls, "-small"), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty({}, "tr > td > ".concat(componentCls, "-wrapper:only-child ").concat(componentCls), {
|
|
95
|
-
marginLeft: token.
|
|
101
|
+
marginLeft: token.margin + token.lineWidth * 2 + token.margin
|
|
96
102
|
})))), "".concat(componentCls, "-wrapper").concat(componentCls, "-expandable").concat(componentCls, "-selectable"), _defineProperty(_defineProperty({}, "".concat(componentCls), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty(_defineProperty({}, "".concat(componentCls, "-expanded-row > td"), _defineProperty({}, "& > *:not(".concat(componentCls, "-wrapper)"), {
|
|
97
|
-
marginLeft: token.
|
|
103
|
+
marginLeft: token.marginXL + token.marginXL + token.lineWidth * 2
|
|
98
104
|
})), "tr > td > ".concat(componentCls, "-wrapper:only-child ").concat(componentCls), {
|
|
99
|
-
marginLeft: token.
|
|
105
|
+
marginLeft: token.margin + token.marginXL + token.lineWidth * 2
|
|
100
106
|
}))), "".concat(componentCls, "-middle, ").concat(componentCls, "-small"), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty({}, "tr > td > ".concat(componentCls, "-wrapper:only-child ").concat(componentCls), {
|
|
101
|
-
marginLeft: token.
|
|
107
|
+
marginLeft: token.margin + token.marginXL + token.lineWidth * 2 + token.margin
|
|
102
108
|
})))), "".concat(componentCls, "-wrapper ").concat(antCls, "-spin-blur"), _defineProperty({}, "".concat(componentCls, "-tbody"), _defineProperty({}, "".concat(componentCls, "-placeholder"), {
|
|
103
109
|
// hide empty when Table loading
|
|
104
110
|
visibility: 'hidden'
|
package/es/tabs/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export type TabsPosition = AntTabsPosition;
|
|
|
19
19
|
declare const Tabs: {
|
|
20
20
|
({ children, items, type, tabPosition, prefixCls: customizePrefixCls, className, ...restProps }: TabsProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
21
21
|
TabPane: React.FC<TabPaneProps>;
|
|
22
|
+
genTabsStyle: (token: Partial<import("./style").TabsToken>) => import("@ant-design/cssinjs").CSSObject;
|
|
22
23
|
displayName: string;
|
|
23
24
|
};
|
|
24
25
|
export default Tabs;
|
package/es/tabs/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import React, { useContext } from 'react';
|
|
|
13
13
|
import classNames from 'classnames';
|
|
14
14
|
import ConfigProvider from "../config-provider";
|
|
15
15
|
import useLegacyItems from "./hooks/useLegacyItems";
|
|
16
|
-
import useStyle from "./style";
|
|
16
|
+
import useStyle, { genTabsStyle } from "./style";
|
|
17
17
|
import TabPane from "./TabPane";
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -68,12 +68,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
68
68
|
items: newItems,
|
|
69
69
|
type: type,
|
|
70
70
|
tabPosition: tabPosition,
|
|
71
|
-
tabBarGutter: !type || type === 'line' ? isHorizontal ? 24 : 0 : undefined,
|
|
72
71
|
prefixCls: customizePrefixCls,
|
|
73
72
|
className: tabsCls
|
|
74
73
|
}, restProps)));
|
|
75
74
|
};
|
|
76
75
|
Tabs.TabPane = TabPane;
|
|
76
|
+
Tabs.genTabsStyle = genTabsStyle;
|
|
77
77
|
if (process.env.NODE_ENV !== 'production') {
|
|
78
78
|
Tabs.displayName = AntTabs.displayName;
|
|
79
79
|
}
|
package/es/tabs/style/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { CSSObject } from '@ant-design/cssinjs';
|
|
3
|
+
import type { FullToken } from 'antd/es/theme/internal';
|
|
3
4
|
export type TabsToken = FullToken<'Tabs'>;
|
|
4
|
-
export
|
|
5
|
-
export declare const genTagStyle: GenerateStyle<TabsToken | CardToken>;
|
|
5
|
+
export declare const genTabsStyle: (token: Partial<TabsToken>) => CSSObject;
|
|
6
6
|
declare const _default: (prefixCls: string) => {
|
|
7
7
|
wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
8
8
|
hashId: string;
|
package/es/tabs/style/index.js
CHANGED
|
@@ -3,7 +3,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
4
4
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
5
|
import { genComponentStyleHook } from "../../_util/genComponentStyleHook";
|
|
6
|
-
export var
|
|
6
|
+
export var genTabsStyle = function genTabsStyle(token) {
|
|
7
7
|
var antCls = token.antCls,
|
|
8
8
|
componentCls = token.componentCls,
|
|
9
9
|
colorInfo = token.colorInfo,
|
|
@@ -40,7 +40,7 @@ export var genTagStyle = function genTagStyle(token) {
|
|
|
40
40
|
};
|
|
41
41
|
export default (function (prefixCls) {
|
|
42
42
|
var useStyle = genComponentStyleHook('Tabs', function (token) {
|
|
43
|
-
return [
|
|
43
|
+
return [genTabsStyle(token)];
|
|
44
44
|
});
|
|
45
45
|
return useStyle(prefixCls);
|
|
46
46
|
});
|
package/es/tag/style/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type FullToken
|
|
2
|
+
import { type FullToken } from 'antd/es/theme/internal';
|
|
3
|
+
import type { CSSObject } from '@ant-design/cssinjs';
|
|
3
4
|
export type TagToken = FullToken<'Tag'> & {
|
|
4
5
|
tagPaddingHorizontal: number;
|
|
5
6
|
};
|
|
6
|
-
export declare const genTagStyle:
|
|
7
|
+
export declare const genTagStyle: (token: TagToken) => CSSObject;
|
|
7
8
|
declare const _default: (prefixCls: string) => {
|
|
8
9
|
wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
9
10
|
hashId: string;
|
package/es/theme/default.js
CHANGED
|
@@ -305,20 +305,20 @@
|
|
|
305
305
|
@lime-10: #254000;
|
|
306
306
|
@lime10: #254000;
|
|
307
307
|
@colorText: rgba(0, 0, 0, 0.85);
|
|
308
|
-
@colorTextSecondary: rgba(0,
|
|
309
|
-
@colorTextTertiary: rgba(0,
|
|
310
|
-
@colorTextQuaternary: rgba(0,
|
|
311
|
-
@colorFill: rgba(0,
|
|
312
|
-
@colorFillSecondary: rgba(0,
|
|
313
|
-
@colorFillTertiary: rgba(0,
|
|
314
|
-
@colorFillQuaternary: rgba(0,
|
|
315
|
-
@colorBgSolid: rgb(0,
|
|
316
|
-
@colorBgSolidHover: rgba(0,
|
|
317
|
-
@colorBgSolidActive: rgba(0,
|
|
308
|
+
@colorTextSecondary: rgba(0,0,0,0.65);
|
|
309
|
+
@colorTextTertiary: rgba(0,0,0,0.45);
|
|
310
|
+
@colorTextQuaternary: rgba(0,0,0,0.25);
|
|
311
|
+
@colorFill: rgba(0,0,0,0.15);
|
|
312
|
+
@colorFillSecondary: rgba(0,0,0,0.06);
|
|
313
|
+
@colorFillTertiary: rgba(0,0,0,0.04);
|
|
314
|
+
@colorFillQuaternary: rgba(0,0,0,0.02);
|
|
315
|
+
@colorBgSolid: rgb(0,0,0);
|
|
316
|
+
@colorBgSolidHover: rgba(0,0,0,0.75);
|
|
317
|
+
@colorBgSolidActive: rgba(0,0,0,0.95);
|
|
318
318
|
@colorBgLayout: #f2f3f5;
|
|
319
319
|
@colorBgContainer: #ffffff;
|
|
320
320
|
@colorBgElevated: #ffffff;
|
|
321
|
-
@colorBgSpotlight: rgba(0,
|
|
321
|
+
@colorBgSpotlight: rgba(0,0,0,0.85);
|
|
322
322
|
@colorBgBlur: transparent;
|
|
323
323
|
@colorBorder: #dedede;
|
|
324
324
|
@colorBorderSecondary: #ebebeb;
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
@colorInfoTextActive: #0053d9;
|
|
372
372
|
@colorLinkHover: #0064C8;
|
|
373
373
|
@colorLinkActive: #0053d9;
|
|
374
|
-
@colorBgMask: rgba(0,
|
|
374
|
+
@colorBgMask: rgba(0,0,0,0.45);
|
|
375
375
|
@colorWhite: #fff;
|
|
376
376
|
@fontSizeSM: 12;
|
|
377
377
|
@fontSizeLG: 16;
|
|
@@ -414,33 +414,33 @@
|
|
|
414
414
|
@borderRadiusOuter: 4;
|
|
415
415
|
@colorTextHeading: rgba(0, 0, 0, 0.85);
|
|
416
416
|
@controlOutlineWidth: 2;
|
|
417
|
-
@controlOutline: rgba(5,
|
|
418
|
-
@colorFillContent: rgba(0,
|
|
419
|
-
@colorFillContentHover: rgba(0,
|
|
420
|
-
@colorFillAlter: rgba(0,
|
|
421
|
-
@colorBgContainerDisabled: rgba(0,
|
|
417
|
+
@controlOutline: rgba(5,145,255,0.1);
|
|
418
|
+
@colorFillContent: rgba(0,0,0,0.06);
|
|
419
|
+
@colorFillContentHover: rgba(0,0,0,0.15);
|
|
420
|
+
@colorFillAlter: rgba(0,0,0,0.02);
|
|
421
|
+
@colorBgContainerDisabled: rgba(0,0,0,0.04);
|
|
422
422
|
@colorBorderBg: #ffffff;
|
|
423
|
-
@colorSplit: rgba(5,
|
|
424
|
-
@colorTextPlaceholder: rgba(0,
|
|
425
|
-
@colorTextDisabled: rgba(0,
|
|
426
|
-
@colorTextLabel: rgba(0,
|
|
427
|
-
@colorTextDescription: rgba(0,
|
|
423
|
+
@colorSplit: rgba(5,5,5,0.08);
|
|
424
|
+
@colorTextPlaceholder: rgba(0,0,0,0.25);
|
|
425
|
+
@colorTextDisabled: rgba(0,0,0,0.25);
|
|
426
|
+
@colorTextLabel: rgba(0,0,0,0.65);
|
|
427
|
+
@colorTextDescription: rgba(0,0,0,0.45);
|
|
428
428
|
@colorTextLightSolid: #fff;
|
|
429
429
|
@colorHighlight: #d93026;
|
|
430
|
-
@colorBgTextHover: rgba(0,
|
|
431
|
-
@colorBgTextActive: rgba(0,
|
|
432
|
-
@colorIcon: rgba(0,
|
|
430
|
+
@colorBgTextHover: rgba(0,0,0,0.06);
|
|
431
|
+
@colorBgTextActive: rgba(0,0,0,0.15);
|
|
432
|
+
@colorIcon: rgba(0,0,0,0.45);
|
|
433
433
|
@colorIconHover: rgba(0, 0, 0, 0.85);
|
|
434
|
-
@colorErrorOutline: rgba(255,
|
|
435
|
-
@colorWarningOutline: rgba(255,
|
|
434
|
+
@colorErrorOutline: rgba(255,38,5,0.06);
|
|
435
|
+
@colorWarningOutline: rgba(255,195,5,0.1);
|
|
436
436
|
@fontSizeIcon: 12;
|
|
437
437
|
@lineWidthFocus: 3;
|
|
438
438
|
@controlInteractiveSize: 16;
|
|
439
|
-
@controlItemBgHover: rgba(0,
|
|
439
|
+
@controlItemBgHover: rgba(0,0,0,0.04);
|
|
440
440
|
@controlItemBgActive: #e6f4ff;
|
|
441
441
|
@controlItemBgActiveHover: #a3d6ff;
|
|
442
|
-
@controlItemBgActiveDisabled: rgba(0,
|
|
443
|
-
@controlTmpOutline: rgba(0,
|
|
442
|
+
@controlItemBgActiveDisabled: rgba(0,0,0,0.15);
|
|
443
|
+
@controlTmpOutline: rgba(0,0,0,0.02);
|
|
444
444
|
@fontWeightStrong: 600;
|
|
445
445
|
@opacityLoading: 0.65;
|
|
446
446
|
@linkDecoration: none;
|
|
@@ -503,9 +503,9 @@
|
|
|
503
503
|
@screenXXLMin: 1600;
|
|
504
504
|
@boxShadowPopoverArrow: 2px 2px 5px rgba(0, 0, 0, 0.05);
|
|
505
505
|
@boxShadowCard:
|
|
506
|
-
0 1px 2px -2px rgba(0,
|
|
507
|
-
0 3px 6px 0 rgba(0,
|
|
508
|
-
0 5px 12px 4px rgba(0,
|
|
506
|
+
0 1px 2px -2px rgba(0,0,0,0.16),
|
|
507
|
+
0 3px 6px 0 rgba(0,0,0,0.12),
|
|
508
|
+
0 5px 12px 4px rgba(0,0,0,0.09)
|
|
509
509
|
;
|
|
510
510
|
@boxShadowDrawerRight:
|
|
511
511
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
@@ -312,9 +312,9 @@
|
|
|
312
312
|
@colorFillSecondary: #e2e8f3;
|
|
313
313
|
@colorFillTertiary: #f3f6fc;
|
|
314
314
|
@colorFillQuaternary: #f8fafe;
|
|
315
|
-
@colorBgSolid: rgb(0,
|
|
316
|
-
@colorBgSolidHover: rgba(0,
|
|
317
|
-
@colorBgSolidActive: rgba(0,
|
|
315
|
+
@colorBgSolid: rgb(0,0,0);
|
|
316
|
+
@colorBgSolidHover: rgba(0,0,0,0.75);
|
|
317
|
+
@colorBgSolidActive: rgba(0,0,0,0.95);
|
|
318
318
|
@colorBgLayout: #f3f6fc;
|
|
319
319
|
@colorBgContainer: #ffffff;
|
|
320
320
|
@colorBgElevated: #ffffff;
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
@colorFillAlter: #f8fafe;
|
|
421
421
|
@colorBgContainerDisabled: #f3f6fc;
|
|
422
422
|
@colorBorderBg: #ffffff;
|
|
423
|
-
@colorSplit: rgba(13,
|
|
423
|
+
@colorSplit: rgba(13,63,155,0.12);
|
|
424
424
|
@colorTextPlaceholder: #c1cbe0;
|
|
425
425
|
@colorTextDisabled: #c1cbe0;
|
|
426
426
|
@colorTextHeading: #132039;
|
|
@@ -432,8 +432,8 @@
|
|
|
432
432
|
@colorBgTextActive: #cdd5e4;
|
|
433
433
|
@colorIcon: #8592ad;
|
|
434
434
|
@colorIconHover: #132039;
|
|
435
|
-
@colorErrorOutline: rgba(255,
|
|
436
|
-
@colorWarningOutline: rgba(255,
|
|
435
|
+
@colorErrorOutline: rgba(255,5,5,0.08);
|
|
436
|
+
@colorWarningOutline: rgba(255,164,19,0.11);
|
|
437
437
|
@fontSizeIcon: 10;
|
|
438
438
|
@controlOutlineWidth: 2;
|
|
439
439
|
@controlInteractiveSize: 14;
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
@controlItemBgActiveHover: #eaf1ff;
|
|
443
443
|
@controlItemBgActiveDisabled: #cdd5e4;
|
|
444
444
|
@controlTmpOutline: #f8fafe;
|
|
445
|
-
@controlOutline: rgba(22,
|
|
445
|
+
@controlOutline: rgba(22,99,255,0.09);
|
|
446
446
|
@fontWeightStrong: 600;
|
|
447
447
|
@opacityLoading: 0.65;
|
|
448
448
|
@linkDecoration: none;
|
|
@@ -495,9 +495,9 @@
|
|
|
495
495
|
@screenXXLMin: 1600;
|
|
496
496
|
@boxShadowPopoverArrow: 2px 2px 5px rgba(0, 0, 0, 0.05);
|
|
497
497
|
@boxShadowCard:
|
|
498
|
-
0 1px 2px -2px rgba(0,
|
|
499
|
-
0 3px 6px 0 rgba(0,
|
|
500
|
-
0 5px 12px 4px rgba(0,
|
|
498
|
+
0 1px 2px -2px rgba(0,0,0,0.16),
|
|
499
|
+
0 3px 6px 0 rgba(0,0,0,0.12),
|
|
500
|
+
0 5px 12px 4px rgba(0,0,0,0.09)
|
|
501
501
|
;
|
|
502
502
|
@boxShadowDrawerRight:
|
|
503
503
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|