@aloudata/aloudata-design 1.5.4 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Button/index.js +17 -6
- package/dist/Button/style/index.less +60 -114
- package/dist/Button/style/variables.less +0 -1
- package/dist/ColorPicker/style/index.less +2 -2
- package/dist/ConfigProvider/index.d.ts +2 -1
- package/dist/ConfigProvider/index.js +1 -0
- package/dist/DatePicker/index.d.ts +20 -11
- package/dist/DatePicker/index.js +216 -13
- package/dist/DatePicker/style/index.less +13 -0
- package/dist/Dropdown/style/index.less +3 -0
- package/dist/Empty/style/index.less +11 -13
- package/dist/Input/components/Input/index.js +16 -3
- package/dist/Input/style/index.less +11 -10
- package/dist/MemberPicker/components/MultipleOption.js +5 -1
- package/dist/MemberPicker/components/NickLabel.js +1 -2
- package/dist/MemberPicker/components/SelectedMemberTags.js +5 -1
- package/dist/MemberPicker/components/SingleOption.js +5 -1
- package/dist/MemberPicker/index.js +9 -3
- package/dist/MemberPicker/interface.d.ts +3 -3
- package/dist/MemberPicker/style/index.less +11 -3
- package/dist/Modal/style/index.less +2 -5
- package/dist/Select/components/SingleOption.js +3 -9
- package/dist/Select/index.js +34 -15
- package/dist/Select/style/single.less +11 -7
- package/dist/Select/style/size.less +19 -0
- package/dist/Select/style/status.less +2 -1
- package/dist/Table/style/index.less +2 -2
- package/dist/Table/style/variable.less +0 -1
- package/dist/Tabs/index.d.ts +5 -0
- package/dist/Tabs/index.js +4 -2
- package/dist/Tabs/style/index.less +6 -0
- package/dist/message/style/index.less +8 -7
- package/dist/style/mixins/index.less +4 -3
- package/dist/style/themes/default/scrollBar.less +3 -2
- package/package.json +10 -3
package/dist/Tabs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _excluded = ["size", "className", "popupClassName", "adaptHeight", "style", "monospace", "tabPosition", "padding"];
|
|
1
|
+
var _excluded = ["size", "className", "popupClassName", "adaptHeight", "style", "monospace", "tabPosition", "padding", "compact"];
|
|
2
2
|
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
|
|
@@ -30,6 +30,7 @@ export default function Tabs(props) {
|
|
|
30
30
|
tabPosition = _props$tabPosition === void 0 ? 'top' : _props$tabPosition,
|
|
31
31
|
_props$padding = props.padding,
|
|
32
32
|
padding = _props$padding === void 0 ? false : _props$padding,
|
|
33
|
+
compact = props.compact,
|
|
33
34
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
34
35
|
|
|
35
36
|
var headerBackgroundColor = props.headerBackgroundColor;
|
|
@@ -81,7 +82,8 @@ export default function Tabs(props) {
|
|
|
81
82
|
'ald-adapt-height': adaptHeight,
|
|
82
83
|
'ald-tabs-default': size !== 'large',
|
|
83
84
|
'ald-tabs-monospace': _monospace,
|
|
84
|
-
'ald-tabs-padding': !!padding
|
|
85
|
+
'ald-tabs-padding': !!padding,
|
|
86
|
+
'ald-tabs-compact': !!compact
|
|
85
87
|
})
|
|
86
88
|
}, tabsProps));
|
|
87
89
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
@import './color.less';
|
|
3
3
|
|
|
4
|
-
.ant-message .ant-message-notice{
|
|
5
|
-
.ant-message-notice-content{
|
|
4
|
+
.ant-message .ant-message-notice {
|
|
5
|
+
.ant-message-notice-content {
|
|
6
6
|
padding: 0;
|
|
7
|
-
box-shadow: 0 12px 16px -4px rgb(16 24 40 /
|
|
7
|
+
box-shadow: 0 12px 16px -4px rgb(16 24 40 / 0.08),
|
|
8
|
+
0 4px 6px -2px rgb(16 24 40 / 0.03);
|
|
8
9
|
|
|
9
|
-
.ant-message-custom-content{
|
|
10
|
+
.ant-message-custom-content {
|
|
10
11
|
padding: 0;
|
|
11
12
|
display: flex;
|
|
12
13
|
align-items: center;
|
|
@@ -17,9 +18,9 @@
|
|
|
17
18
|
overflow: hidden;
|
|
18
19
|
font-weight: 600;
|
|
19
20
|
|
|
20
|
-
.ald-message-icon-wrap{
|
|
21
|
+
.ald-message-icon-wrap {
|
|
21
22
|
flex-shrink: 0;
|
|
22
|
-
width:40px;
|
|
23
|
+
width: 40px;
|
|
23
24
|
height: 40px;
|
|
24
25
|
display: flex;
|
|
25
26
|
justify-content: center;
|
|
@@ -29,4 +30,4 @@
|
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
|
-
}
|
|
33
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
&::-webkit-scrollbar {
|
|
2
2
|
width: 12px !important;
|
|
3
3
|
height: 12px !important;
|
|
4
|
+
background: var(--colors-neutral-white, #fff);
|
|
4
5
|
opacity: 0.5;
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
&::-webkit-scrollbar-thumb {
|
|
8
|
-
background-color:
|
|
9
|
+
background-color: rgb(152 162 179 / 0.5);
|
|
9
10
|
border: 3px solid transparent;
|
|
10
11
|
border-radius: 6px;
|
|
11
12
|
background-clip: padding-box;
|
|
@@ -13,4 +14,4 @@
|
|
|
13
14
|
|
|
14
15
|
&::-webkit-scrollbar-track {
|
|
15
16
|
background-color: transparent;
|
|
16
|
-
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aloudata/aloudata-design",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"doctor": "father doctor",
|
|
19
19
|
"jest": "jest",
|
|
20
20
|
"jest:watch": "jest --watch",
|
|
21
|
+
"linkToLocal": "npm run build && node ./scripts/linkToLocal.mjs",
|
|
21
22
|
"lint": "npm run lint:es && npm run lint:css",
|
|
22
23
|
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
23
24
|
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
@@ -51,6 +52,9 @@
|
|
|
51
52
|
"prettier --parser=typescript --write"
|
|
52
53
|
]
|
|
53
54
|
},
|
|
55
|
+
"browserslist": [
|
|
56
|
+
"chrome >= 84"
|
|
57
|
+
],
|
|
54
58
|
"dependencies": {
|
|
55
59
|
"@aloudata/icons-react": "^0.2.2",
|
|
56
60
|
"@aloudata/icons-svg": "0.1.7",
|
|
@@ -80,8 +84,10 @@
|
|
|
80
84
|
"@umijs/lint": "^4.0.0",
|
|
81
85
|
"babel-jest": "^29.4.2",
|
|
82
86
|
"babel-plugin-import": "^1.13.5",
|
|
87
|
+
"browserslist": "^4.21.9",
|
|
83
88
|
"dumi": "2.1.10",
|
|
84
|
-
"eslint": "^8.
|
|
89
|
+
"eslint": "^8.45.0",
|
|
90
|
+
"eslint-plugin-compat": "^4.1.4",
|
|
85
91
|
"father": "^4.1.0",
|
|
86
92
|
"husky": "^8.0.3",
|
|
87
93
|
"jest": "^29.4.2",
|
|
@@ -94,7 +100,8 @@
|
|
|
94
100
|
"react": "^18.0.0",
|
|
95
101
|
"react-dom": "^18.0.0",
|
|
96
102
|
"react-test-renderer": "^18.2.0",
|
|
97
|
-
"stylelint": "^
|
|
103
|
+
"stylelint": "^15.10.2",
|
|
104
|
+
"stylelint-no-unsupported-browser-features": "^7.0.0",
|
|
98
105
|
"ts-jest": "^29.0.5",
|
|
99
106
|
"vitest": "^0.33.0"
|
|
100
107
|
},
|