@aloudata/aloudata-design 0.4.8-beta.1 → 0.4.8-beta.11

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.
Files changed (39) hide show
  1. package/dist/Button/index.js +5 -5
  2. package/dist/Button/style/index.less +48 -44
  3. package/dist/Button/style/variables.less +13 -13
  4. package/dist/Checkbox/style/index.less +7 -3
  5. package/dist/DoubleCircleIcon/index.d.ts +1 -0
  6. package/dist/DoubleCircleIcon/index.js +5 -2
  7. package/dist/DoubleCircleIcon/style/index.less +33 -1
  8. package/dist/Dropdown/style/index.less +11 -10
  9. package/dist/Empty/image/SearchSmall.js +5 -0
  10. package/dist/Empty/style/index.less +11 -0
  11. package/dist/Icon/icons.js +32 -0
  12. package/dist/Input/style/index.less +54 -39
  13. package/dist/Menu/style/index.less +73 -2
  14. package/dist/Modal/index.d.ts +4 -1
  15. package/dist/Modal/index.js +178 -67
  16. package/dist/Modal/style/index.less +46 -6
  17. package/dist/Radio/components/Group/index.js +7 -4
  18. package/dist/Radio/components/Radio/index.js +9 -6
  19. package/dist/Radio/interface/radioGroup.d.ts +6 -1
  20. package/dist/Radio/style/index.less +152 -46
  21. package/dist/Select/components/MultipleOption.d.ts +1 -0
  22. package/dist/Select/components/MultipleOption.js +7 -3
  23. package/dist/Select/components/SingleOption.d.ts +1 -0
  24. package/dist/Select/components/SingleOption.js +6 -2
  25. package/dist/Select/index.js +70 -9
  26. package/dist/Select/style/index.less +7 -3
  27. package/dist/Select/style/multiple.less +13 -2
  28. package/dist/Select/style/single.less +12 -1
  29. package/dist/Select/style/status.less +1 -1
  30. package/dist/Table/style/index.less +9 -7
  31. package/dist/Tabs/index.d.ts +15 -0
  32. package/dist/Tabs/index.js +37 -6
  33. package/dist/Tabs/style/index.less +38 -1
  34. package/dist/notification/demo/index.js +24 -7
  35. package/dist/notification/index.d.ts +9 -1
  36. package/dist/notification/index.js +148 -1
  37. package/dist/notification/style/index.less +28 -0
  38. package/dist/style/themes/default/index.less +25 -25
  39. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  .ald-single-option-list{
2
2
  color: @NL0;
3
- font-size: 14px;
3
+ font-size: 13px;
4
4
  line-height: 20px;
5
5
 
6
6
  .ald-single-option{
@@ -8,6 +8,8 @@
8
8
  display: flex;
9
9
  align-items: center;
10
10
  margin-left: 0;
11
+ height: 36px;
12
+ box-sizing: border-box;
11
13
 
12
14
  &:hover{
13
15
  background-color: @BG90;
@@ -23,5 +25,14 @@
23
25
  .ald-single-option-text{
24
26
  white-space: nowrap;
25
27
  }
28
+
29
+ &.ald-single-option-disabled{
30
+ opacity: 0.5;
31
+
32
+ &:hover{
33
+ background: none;
34
+ cursor: default;
35
+ }
36
+ }
26
37
  }
27
38
  }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  &:hover,&.ald-select-open{
8
8
  border-color:@B40;
9
- box-shadow: @shadow-drop;
9
+ // box-shadow: @shadow-drop;
10
10
  }
11
11
 
12
12
  /**
@@ -63,8 +63,10 @@
63
63
  &-thead {
64
64
  flex: 1;
65
65
  overflow: hidden;
66
- font-size: 14px;
66
+ font-size: 13px;
67
67
  font-weight: 600;
68
+ background-color: @BG80;
69
+ mix-blend-mode: multiply;
68
70
 
69
71
  .ald-table-row {
70
72
  min-width: 9999px; // 防止拖动时的闪动
@@ -76,7 +78,6 @@
76
78
  padding: 6px 16px;
77
79
  color: @NL0;
78
80
  line-height: 20px;
79
- background-color: @BG80;
80
81
  height: 100%;
81
82
 
82
83
  .ald-table-cell-content {
@@ -92,7 +93,7 @@
92
93
  z-index: 1;
93
94
  display: inline-block;
94
95
  width: 12px;
95
- height: 14px;
96
+ height: 1em;
96
97
  transform: translateY(-50%);
97
98
  touch-action: none;
98
99
 
@@ -101,6 +102,7 @@
101
102
  width: 1px;
102
103
  height: 100%;
103
104
  background-color: @BG70;
105
+ mix-blend-mode: multiply;
104
106
  content: '';
105
107
  }
106
108
  }
@@ -130,7 +132,7 @@
130
132
  display: flex;
131
133
  align-items: center;
132
134
  padding-left: 16px;
133
- color: @NL40;
135
+ color: @NL0;
134
136
 
135
137
  .ald-table-cell-container {
136
138
  width: 100%;
@@ -192,8 +194,8 @@
192
194
 
193
195
  &-left {
194
196
  color: @NL0;
195
- font-weight: 500;
196
- font-size: 14px;
197
+ font-weight: 600;
198
+ font-size: 13px;
197
199
  }
198
200
 
199
201
  &-right {
@@ -202,7 +204,7 @@
202
204
  justify-content: flex-end;
203
205
  height: 28px;
204
206
  color: @NL0;
205
- font-size: 14px;
207
+ font-size: 13px;
206
208
  }
207
209
  }
208
210
 
@@ -39,6 +39,21 @@ export interface ITabsProps extends Omit<TabsProps, 'size'> {
39
39
  tabPosition?: 'left' | 'right' | 'top' | 'bottom';
40
40
  className?: string;
41
41
  children?: React.ReactNode;
42
+ /**
43
+ * @description header行背景颜色
44
+ * @default -
45
+ */
46
+ headerBackgroundColor?: string;
47
+ /**
48
+ * @description tab 宽度等分,只有tabPosition 为top的时候生效
49
+ * @default false
50
+ */
51
+ monospace?: boolean;
52
+ /**
53
+ * @description tab 填充padding,默认false
54
+ * @default false
55
+ */
56
+ padding?: boolean | number;
42
57
  }
43
58
  declare function Tabs(props: ITabsProps): JSX.Element;
44
59
  declare namespace Tabs {
@@ -1,4 +1,4 @@
1
- var _excluded = ["size", "className", "popupClassName", "adaptHeight"];
1
+ var _excluded = ["size", "className", "popupClassName", "adaptHeight", "style", "monospace", "headerBackgroundColor", "tabPosition", "padding"];
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
 
@@ -12,17 +12,25 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
12
12
 
13
13
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
14
 
15
- import React from 'react'; // import AntdTabs, { TabsProps } from 'antd/lib/tabs';
15
+ import React, { useMemo } from 'react'; // import AntdTabs, { TabsProps } from 'antd/lib/tabs';
16
16
 
17
- import { Tabs as AntdTabs } from 'antd';
18
17
  import { MoreVerticalLine } from '@aloudata/icons-react';
19
- import TabPane from "./TabPane";
18
+ import { Tabs as AntdTabs } from 'antd';
20
19
  import classNames from 'classnames';
20
+ import TabPane from "./TabPane";
21
21
  export default function Tabs(props) {
22
22
  var size = props.size,
23
23
  className = props.className,
24
24
  popupClassName = props.popupClassName,
25
25
  adaptHeight = props.adaptHeight,
26
+ _props$style = props.style,
27
+ style = _props$style === void 0 ? {} : _props$style,
28
+ monospace = props.monospace,
29
+ headerBackgroundColor = props.headerBackgroundColor,
30
+ _props$tabPosition = props.tabPosition,
31
+ tabPosition = _props$tabPosition === void 0 ? 'top' : _props$tabPosition,
32
+ _props$padding = props.padding,
33
+ padding = _props$padding === void 0 ? false : _props$padding,
26
34
  otherProps = _objectWithoutProperties(props, _excluded);
27
35
 
28
36
  var tabsProps = _objectSpread({}, otherProps);
@@ -31,17 +39,40 @@ export default function Tabs(props) {
31
39
  tabsProps.size = size;
32
40
  }
33
41
 
42
+ var _monospace = tabPosition !== 'top' ? false : monospace;
43
+
44
+ var _padding = useMemo(function () {
45
+ if (tabPosition !== 'top') return 0;
46
+
47
+ if (typeof padding === 'number') {
48
+ return padding;
49
+ }
50
+
51
+ if (typeof padding === 'boolean' && padding) {
52
+ return 16;
53
+ }
54
+
55
+ return 0;
56
+ }, [padding, tabPosition]);
57
+
34
58
  return /*#__PURE__*/React.createElement(AntdTabs, _extends({
35
59
  moreIcon: /*#__PURE__*/React.createElement("div", {
36
60
  className: "ald-tabs-more-icon"
37
61
  }, /*#__PURE__*/React.createElement(MoreVerticalLine, {
38
62
  color: "currentColor"
39
63
  })),
40
- tabBarGutter: 24,
64
+ style: Object.assign(style, {
65
+ '--header-bg-color': headerBackgroundColor,
66
+ '--tabs-padding': "".concat(_padding, "px")
67
+ }),
68
+ tabPosition: tabPosition,
69
+ tabBarGutter: _monospace ? 0 : 24,
41
70
  popupClassName: classNames(popupClassName, 'ald-tabs-dropdown'),
42
71
  className: classNames('ald-tabs', className, {
43
72
  'ald-adapt-height': adaptHeight,
44
- 'ald-tabs-default': size !== 'large'
73
+ 'ald-tabs-default': size !== 'large',
74
+ 'ald-tabs-monospace': _monospace,
75
+ 'ald-tabs-padding': !!padding
45
76
  })
46
77
  }, tabsProps));
47
78
  }
@@ -22,6 +22,10 @@
22
22
  .ant-tabs.ald-tabs {
23
23
  &.ant-tabs {
24
24
  color: @NL40;
25
+
26
+ .ant-tabs-nav {
27
+ background-color: var(--header-bg-color);
28
+ }
25
29
  }
26
30
 
27
31
  .ant-tabs-tab {
@@ -125,12 +129,18 @@
125
129
  &.ant-tabs-bottom > .ant-tabs-nav,
126
130
  &.ant-tabs-top > div > .ant-tabs-nav,
127
131
  &.ant-tabs-bottom > div > .ant-tabs-nav {
128
- margin: 0 0 20px;
132
+ margin-bottom: 16px;
129
133
 
130
134
  &::before {
131
135
  border-color: @BG70;
132
136
  }
133
137
  }
138
+
139
+ &.ant-tabs-left {
140
+ .ant-tabs-nav-list{
141
+ padding-right: 24px;
142
+ }
143
+ }
134
144
  }
135
145
 
136
146
  .ald-tabs-dropdown {
@@ -166,3 +176,30 @@
166
176
  }
167
177
  }
168
178
  }
179
+
180
+ .ald-tabs-monospace {
181
+ .ant-tabs-nav {
182
+ .ant-tabs-nav-wrap {
183
+ .ant-tabs-nav-list {
184
+ width: 100%;
185
+
186
+ .ant-tabs-tab {
187
+ flex-grow: 1;
188
+ justify-content: center;
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
194
+
195
+ .ald-tabs-padding {
196
+ .ant-tabs-nav {
197
+ .ant-tabs-nav-wrap{
198
+ margin: 0 var(--tabs-padding);
199
+ }
200
+ }
201
+
202
+ .ant-tabs-content-holder{
203
+ padding: 0 var(--tabs-padding) var(--tabs-padding);
204
+ }
205
+ }
@@ -1,13 +1,30 @@
1
- import { Button, notification } from "../..";
1
+ import { Button, notification, Space } from "../..";
2
2
  import React from 'react';
3
3
  export default (function () {
4
- var notices = function notices() {
5
- notification.error({
6
- message: 'Notification Title'
4
+ var notices = function notices(type) {
5
+ notification[type]({
6
+ message: 'Notification Message',
7
+ description: 'description,description,description,description,description,description,description,description'
7
8
  });
8
9
  };
9
10
 
10
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
11
- onClick: notices
12
- }, "Notification error"));
11
+ return /*#__PURE__*/React.createElement(Space, {
12
+ direction: "vertical"
13
+ }, /*#__PURE__*/React.createElement(Button, {
14
+ onClick: function onClick() {
15
+ return notices('success');
16
+ }
17
+ }, "Notification success with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
18
+ onClick: function onClick() {
19
+ return notices('error');
20
+ }
21
+ }, "Notification error with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
22
+ onClick: function onClick() {
23
+ return notices('warning');
24
+ }
25
+ }, "Notification warning with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
26
+ onClick: function onClick() {
27
+ return notices('info');
28
+ }
29
+ }, "Notification info with message\u3001description"));
13
30
  });
@@ -1,2 +1,10 @@
1
- import { notification } from 'antd';
1
+ import type { ArgsProps } from 'antd/es/notification/interface';
2
+ declare const notification: {
3
+ open: (config: ArgsProps) => void;
4
+ success: (config: ArgsProps) => void;
5
+ error: (config: ArgsProps) => void;
6
+ warning: (config: ArgsProps) => void;
7
+ info: (config: ArgsProps) => void;
8
+ destroy: (key?: string) => void;
9
+ };
2
10
  export default notification;
@@ -1,2 +1,149 @@
1
- import { notification } from 'antd';
1
+ var _excluded = ["icon", "className", "style", "closeIcon"],
2
+ _excluded2 = ["icon", "className", "style", "closeIcon"],
3
+ _excluded3 = ["icon", "className", "style", "closeIcon"],
4
+ _excluded4 = ["icon", "className", "style", "closeIcon"];
5
+
6
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
7
+
8
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9
+
10
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11
+
12
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13
+
14
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
+
16
+ import { AlertTriangleDuotone, CancelCircleDuotone, CheckCircleDuotone, CloseMLine, InfoCircleLine } from '@aloudata/icons-react';
17
+ import { notification as AntdNotification } from 'antd';
18
+ import classnames from 'classnames';
19
+ import React from 'react';
20
+ import theme from "../style/themes/default/themeColor.module.less";
21
+ var iconMap = {
22
+ info: /*#__PURE__*/React.createElement(InfoCircleLine, {
23
+ fill: theme.B40,
24
+ size: 20
25
+ }),
26
+ success: /*#__PURE__*/React.createElement(CheckCircleDuotone, {
27
+ fill: [theme.SA40, theme.ND0],
28
+ theme: "multi-color",
29
+ size: 20
30
+ }),
31
+ error: /*#__PURE__*/React.createElement(CancelCircleDuotone, {
32
+ fill: [theme.SC40, theme.ND0],
33
+ size: 20,
34
+ theme: "multi-color"
35
+ }),
36
+ warning: /*#__PURE__*/React.createElement(AlertTriangleDuotone, {
37
+ fill: [theme.SB40, theme.ND0],
38
+ theme: "multi-color",
39
+ size: 20
40
+ })
41
+ };
42
+ var closeX = /*#__PURE__*/React.createElement(CloseMLine, {
43
+ size: 20,
44
+ fill: theme.NL40
45
+ });
46
+
47
+ var getSDefaultStyle = function getSDefaultStyle(type) {
48
+ return _objectSpread(_objectSpread(_objectSpread(_objectSpread({
49
+ padding: '16px 24px',
50
+ background: theme.SC95,
51
+ border: '1px solid',
52
+ borderRadius: '4px',
53
+ boxShadow: theme.SHADOW_LG
54
+ }, type === 'error' && {
55
+ background: theme.SC95,
56
+ borderColor: theme.SC60
57
+ }), type === 'success' && {
58
+ background: theme.SA95,
59
+ borderColor: theme.SA60
60
+ }), type === 'warning' && {
61
+ background: theme.SB95,
62
+ borderColor: theme.SB60
63
+ }), type === 'info' && {
64
+ background: theme.B95,
65
+ borderColor: theme.B60
66
+ });
67
+ };
68
+
69
+ var notification = {
70
+ open: function open(config) {
71
+ return AntdNotification.open(config);
72
+ },
73
+ success: function success(config) {
74
+ var _config$icon = config.icon,
75
+ icon = _config$icon === void 0 ? iconMap.success : _config$icon,
76
+ _config$className = config.className,
77
+ className = _config$className === void 0 ? classnames('ald-notification-notice', config.className) : _config$className,
78
+ _config$style = config.style,
79
+ style = _config$style === void 0 ? Object.assign(getSDefaultStyle('success'), config.style) : _config$style,
80
+ _config$closeIcon = config.closeIcon,
81
+ closeIcon = _config$closeIcon === void 0 ? closeX : _config$closeIcon,
82
+ rest = _objectWithoutProperties(config, _excluded);
83
+
84
+ return AntdNotification.success(_objectSpread({
85
+ icon: icon,
86
+ style: style,
87
+ className: className,
88
+ closeIcon: closeIcon
89
+ }, rest));
90
+ },
91
+ error: function error(config) {
92
+ var _config$icon2 = config.icon,
93
+ icon = _config$icon2 === void 0 ? iconMap.error : _config$icon2,
94
+ _config$className2 = config.className,
95
+ className = _config$className2 === void 0 ? classnames('ald-notification-notice', config.className) : _config$className2,
96
+ _config$style2 = config.style,
97
+ style = _config$style2 === void 0 ? Object.assign(getSDefaultStyle('error'), config.style) : _config$style2,
98
+ _config$closeIcon2 = config.closeIcon,
99
+ closeIcon = _config$closeIcon2 === void 0 ? closeX : _config$closeIcon2,
100
+ rest = _objectWithoutProperties(config, _excluded2);
101
+
102
+ return AntdNotification.error(_objectSpread({
103
+ icon: icon,
104
+ style: style,
105
+ className: className,
106
+ closeIcon: closeIcon
107
+ }, rest));
108
+ },
109
+ warning: function warning(config) {
110
+ var _config$icon3 = config.icon,
111
+ icon = _config$icon3 === void 0 ? iconMap.warning : _config$icon3,
112
+ _config$className3 = config.className,
113
+ className = _config$className3 === void 0 ? classnames('ald-notification-notice', config.className) : _config$className3,
114
+ _config$style3 = config.style,
115
+ style = _config$style3 === void 0 ? Object.assign(getSDefaultStyle('warning'), config.style) : _config$style3,
116
+ _config$closeIcon3 = config.closeIcon,
117
+ closeIcon = _config$closeIcon3 === void 0 ? closeX : _config$closeIcon3,
118
+ rest = _objectWithoutProperties(config, _excluded3);
119
+
120
+ return AntdNotification.warning(_objectSpread({
121
+ icon: icon,
122
+ style: style,
123
+ className: className,
124
+ closeIcon: closeIcon
125
+ }, rest));
126
+ },
127
+ info: function info(config) {
128
+ var _config$icon4 = config.icon,
129
+ icon = _config$icon4 === void 0 ? iconMap.info : _config$icon4,
130
+ _config$className4 = config.className,
131
+ className = _config$className4 === void 0 ? classnames('ald-notification-notice', config.className) : _config$className4,
132
+ _config$style4 = config.style,
133
+ style = _config$style4 === void 0 ? Object.assign(getSDefaultStyle('info'), config.style) : _config$style4,
134
+ _config$closeIcon4 = config.closeIcon,
135
+ closeIcon = _config$closeIcon4 === void 0 ? closeX : _config$closeIcon4,
136
+ rest = _objectWithoutProperties(config, _excluded4);
137
+
138
+ return AntdNotification.info(_objectSpread({
139
+ icon: icon,
140
+ style: style,
141
+ className: className,
142
+ closeIcon: closeIcon
143
+ }, rest));
144
+ },
145
+ destroy: function destroy(key) {
146
+ return AntdNotification.destroy(key);
147
+ }
148
+ };
2
149
  export default notification;
@@ -1 +1,29 @@
1
1
  @import '../../style/index.less';
2
+
3
+ .ald-notification-notice.ant-notification-notice {
4
+ .ant-notification-notice-icon {
5
+ top: 18px;
6
+ }
7
+
8
+ .ant-notification-notice-message {
9
+ margin-inline-start: 28px;
10
+ padding-inline-end: 28px;
11
+ margin-bottom: 4px;
12
+ }
13
+
14
+ .ant-notification-notice-description {
15
+ margin-inline-start: 28px;
16
+ font-weight: 400;
17
+ font-size: 13px;
18
+ line-height: 20px;
19
+ color: @NL40;
20
+ }
21
+
22
+ .ant-notification-notice-close {
23
+ top: 17px;
24
+
25
+ &:hover{
26
+ background:none;
27
+ }
28
+ }
29
+ }
@@ -1,36 +1,36 @@
1
1
  @import './themeColor.module.less';
2
- @font-family:Inter, -apple-system, PingFang SC, BlinkMacSystemFont,"Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
2
+ /* stylelint-disable-next-line at-rule-no-unknown */
3
+ @font-family:inter, -apple-system, PingFang SC, BlinkMacSystemFont,"Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
3
4
  @ald-prefix: ant;
4
5
 
5
-
6
6
  // base 不分大小写情况
7
7
  @border-radius-base: 8px;
8
- @line-height-base:20px;
9
- @font-size-base:14px;
8
+ @line-height-base: 20px;
9
+ @font-size-base: 14px;
10
10
 
11
11
  // large
12
- @font-size-large:16px;
13
- @line-height-large:24px;
14
- @padding-top-large:6px;
15
- @padding-bottom-large:6px;
16
- @padding-left-large:12px;
17
- @padding-right-large:12px;
18
- @border-radius-large:8px;
12
+ @font-size-large: 16px;
13
+ @line-height-large: 24px;
14
+ @padding-top-large: 6px;
15
+ @padding-bottom-large: 6px;
16
+ @padding-left-large: 12px;
17
+ @padding-right-large: 12px;
18
+ @border-radius-large: 6px;
19
19
 
20
20
  // middle
21
- @font-size-middle:14px;
22
- @line-height-middle:20px;
23
- @padding-top-middle:6px;
24
- @padding-bottom-middle:6px;
25
- @padding-left-middle:12px;
26
- @padding-right-middle:12px;
27
- @border-radius-middle:6px;
21
+ @font-size-middle: 13px;
22
+ @line-height-middle: 20px;
23
+ @padding-top-middle: 6px;
24
+ @padding-bottom-middle: 6px;
25
+ @padding-left-middle: 12px;
26
+ @padding-right-middle: 12px;
27
+ @border-radius-middle: 4px;
28
28
 
29
29
  // small
30
- @font-size-small:12px;
31
- @line-height-small:16px;
32
- @padding-top-small:6px;
33
- @padding-bottom-small:6px;
34
- @padding-left-small:8px;
35
- @padding-right-small:8px;
36
- @border-radius-small:4px;
30
+ @font-size-small: 12px;
31
+ @line-height-small: 16px;
32
+ @padding-top-small: 6px;
33
+ @padding-bottom-small: 6px;
34
+ @padding-left-small: 8px;
35
+ @padding-right-small: 8px;
36
+ @border-radius-small: 4px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "0.4.8-beta.1",
3
+ "version": "0.4.8-beta.11",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -50,8 +50,8 @@
50
50
  ]
51
51
  },
52
52
  "dependencies": {
53
- "@aloudata/icons-react": "0.1.5",
54
- "@aloudata/icons-svg": "0.1.5",
53
+ "@aloudata/icons-react": "0.1.7",
54
+ "@aloudata/icons-svg": "0.1.7",
55
55
  "antd": "5.2.0",
56
56
  "memoize-one": "^6.0.0",
57
57
  "rc-menu": "^9.8.0",