@aloudata/aloudata-design 1.0.4 → 1.0.5

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.
@@ -114,7 +114,9 @@
114
114
 
115
115
  .ant-checkbox:hover .ant-checkbox-inner {
116
116
  border-color: @B40;
117
- box-shadow: @shadow-primary;
117
+ // box-shadow: @shadow-primary;
118
+ box-shadow: none;
119
+ background-color: none;
118
120
  }
119
121
  }
120
122
 
@@ -122,6 +124,7 @@
122
124
  .ald-checkbox.ant-checkbox-disabled[class]
123
125
  .ant-checkbox-inner:hover {
124
126
  box-shadow: unset;
127
+ background-color: none;
125
128
  border-radius: 2px;
126
129
  }
127
130
 
@@ -129,6 +132,7 @@
129
132
  .ant-checkbox-disabled.ant-checkbox:hover
130
133
  .ant-checkbox-inner {
131
134
  box-shadow: unset;
135
+ background-color: none;
132
136
  border: 1px solid @BG60;
133
137
  }
134
138
 
@@ -140,6 +144,7 @@
140
144
 
141
145
  .ant-checkbox:hover .ant-checkbox-inner {
142
146
  border-color: @B40;
147
+ background-color: none;
143
148
  }
144
149
  }
145
150
 
@@ -5,6 +5,6 @@ declare const DoubleCircleIcon: (props: {
5
5
  size?: number | undefined;
6
6
  innerColor?: string | undefined;
7
7
  children: React.ReactNode;
8
- type?: "error" | "success" | "warning" | "info" | undefined;
8
+ type?: "warning" | "error" | "success" | "info" | undefined;
9
9
  }) => JSX.Element;
10
10
  export default DoubleCircleIcon;
@@ -73,6 +73,6 @@
73
73
  min-width: @Dropdown-menu-minWidth;
74
74
  margin: 0;
75
75
  padding: 4px;
76
- border-radius: 8px;
76
+ border-radius: 2px;
77
77
  }
78
78
  }
@@ -68,6 +68,7 @@
68
68
  &:hover,
69
69
  &-focused {
70
70
  border-color: @input-active-border-color;
71
+ box-shadow: none;
71
72
  // box-shadow: @input-box-shadow-active;
72
73
  }
73
74
 
@@ -244,11 +245,13 @@
244
245
  }
245
246
 
246
247
  &.ant-input-group-compact>*:first-child{
248
+ border-radius: 0 !important;
247
249
  border-start-start-radius: @input-border-radius-large !important;
248
250
  border-end-start-radius: @input-border-radius-large !important;
249
251
  }
250
252
 
251
253
  &.ant-input-group-compact>*:last-child{
254
+ border-radius: 0 !important;
252
255
  border-inline-end-width: 1px;
253
256
  border-start-end-radius: @input-border-radius-large !important;
254
257
  border-end-end-radius: @input-border-radius-large !important;
@@ -278,11 +281,13 @@
278
281
  }
279
282
 
280
283
  &.ant-input-group-compact>*:first-child{
284
+ border-radius: 0 !important;
281
285
  border-start-start-radius: @input-border-radius-middle !important;
282
286
  border-end-start-radius: @input-border-radius-middle !important;
283
287
  }
284
288
 
285
289
  &.ant-input-group-compact>*:last-child{
290
+ border-radius: 0 !important;
286
291
  border-inline-end-width: 1px;
287
292
  border-start-end-radius: @input-border-radius-middle !important;
288
293
  border-end-end-radius: @input-border-radius-middle !important;
@@ -312,11 +317,13 @@
312
317
  }
313
318
 
314
319
  &.ant-input-group-compact>*:first-child{
320
+ border-radius: 0 !important;
315
321
  border-start-start-radius: @input-border-radius-small !important;
316
322
  border-end-start-radius: @input-border-radius-small !important;
317
323
  }
318
324
 
319
325
  &.ant-input-group-compact>*:last-child{
326
+ border-radius: 0 !important;
320
327
  border-inline-end-width: 1px;
321
328
  border-start-end-radius: @input-border-radius-small !important;
322
329
  border-end-end-radius: @input-border-radius-small !important;
@@ -510,3 +517,24 @@ textarea.ald-input-textarea,
510
517
  }
511
518
  }
512
519
  }
520
+
521
+ .ant-input-group.ant-input-group-compact{
522
+ &> {
523
+ .ald-select,.ald-input,.ant-input,.ant-input-number{
524
+ &:hover{
525
+ position: relative;
526
+ z-index: 2;
527
+ }
528
+ }
529
+ }
530
+
531
+ &>.ald-select.ald-select-open{
532
+ position: relative;
533
+ z-index: 1;
534
+ }
535
+
536
+ .ant-input-number.ant-input-number-focused{
537
+ position: relative;
538
+ z-index: 1;
539
+ }
540
+ }
@@ -20,9 +20,9 @@ export default function InputNumber(props) {
20
20
  var getClassName = function getClassName() {
21
21
  var _classnames;
22
22
 
23
- return classnames(className, 'ald-inputNumber', (_classnames = {
24
- 'ald-inputNumber-disabled': disabled
25
- }, _defineProperty(_classnames, "ald-inputNumber-large", size === 'large'), _defineProperty(_classnames, "ald-inputNumber-small", size === 'small'), _defineProperty(_classnames, "ald-inputNumber-middle", size !== 'large' && size !== 'small'), _classnames));
23
+ return classnames(className, 'ald-input-number', (_classnames = {
24
+ 'ald-input-number-disabled': disabled
25
+ }, _defineProperty(_classnames, "ald-input-number-large", size === 'large'), _defineProperty(_classnames, "ald-input-number-small", size === 'small'), _defineProperty(_classnames, "ald-input-number-middle", size !== 'large' && size !== 'small'), _classnames));
26
26
  };
27
27
 
28
28
  return /*#__PURE__*/React.createElement(AntInputNumber, _extends({}, rest, {
@@ -38,7 +38,7 @@
38
38
  @inputNumber-addon-border-color: @BG60;
39
39
  @inputNumber-addon-disable-color: @NL40;
40
40
 
41
- .ald-inputNumber {
41
+ .ald-input-number {
42
42
  &.ant-input-number {
43
43
  height: @inputNumber-height-middle;
44
44
  // overflow: hidden;
@@ -99,7 +99,7 @@
99
99
  }
100
100
  }
101
101
 
102
- &.ald-inputNumber-large {
102
+ &.ald-input-number-large {
103
103
  height: @inputNumber-height-large;
104
104
  font-size: @inputNumber-font-size-large;
105
105
  border-radius: @inputNumber-border-radius-large ;
@@ -113,7 +113,7 @@
113
113
  }
114
114
  }
115
115
 
116
- &.ald-inputNumber-middle {
116
+ &.ald-input-number-middle {
117
117
  height: @inputNumber-height-middle;
118
118
  font-size: @inputNumber-font-size-middle;
119
119
  border-radius: @inputNumber-border-radius-middle ;
@@ -127,7 +127,7 @@
127
127
  }
128
128
  }
129
129
 
130
- &.ald-inputNumber-small {
130
+ &.ald-input-number-small {
131
131
  height: @inputNumber-height-small;
132
132
  font-size: @inputNumber-font-size-small;
133
133
  border-radius: @inputNumber-border-radius-small;
@@ -154,11 +154,11 @@
154
154
  }
155
155
  }
156
156
 
157
- &:hover:not(.ald-inputNumber-disabled),
157
+ &:hover:not(.ald-input-number-disabled),
158
158
  &-focused {
159
159
  background-color: @inputNumber-active-bg-color;
160
160
  border-color: @inputNumber-active-border-color;
161
- box-shadow: @shadow-primary;
161
+ box-shadow:none;
162
162
  }
163
163
  }
164
164
 
@@ -170,7 +170,7 @@
170
170
  border-color: @inputNumber-border-color;
171
171
  box-shadow: none;
172
172
 
173
- &.ald-inputNumber-large {
173
+ &.ald-input-number-large {
174
174
  font-size: @inputNumber-font-size-large;
175
175
  border-radius: @inputNumber-border-radius-large;
176
176
 
@@ -192,7 +192,7 @@
192
192
  }
193
193
  }
194
194
 
195
- &.ald-inputNumber-middle {
195
+ &.ald-input-number-middle {
196
196
  font-size: @inputNumber-font-size-middle;
197
197
  border-radius: @inputNumber-border-radius-middle;
198
198
 
@@ -210,7 +210,7 @@
210
210
  }
211
211
  }
212
212
 
213
- &.ald-inputNumber-small {
213
+ &.ald-input-number-small {
214
214
  font-size: @inputNumber-font-size-small;
215
215
  border-radius: @inputNumber-border-radius-small;
216
216
 
@@ -252,7 +252,7 @@
252
252
  }
253
253
  }
254
254
 
255
- .ald-inputNumber {
255
+ .ald-input-number {
256
256
  position: relative;
257
257
  z-index: 2;
258
258
  margin: 0;
@@ -260,7 +260,7 @@
260
260
  }
261
261
  }
262
262
 
263
- &.ald-inputNumber-disabled {
263
+ &.ald-input-number-disabled {
264
264
  .ant-input-number-wrapper .ant-input-number-group-addon {
265
265
  color: @inputNumber-addon-disable-color;
266
266
  }
@@ -58,7 +58,7 @@ export default function Menu(props) {
58
58
  size: 16
59
59
  })
60
60
  }, otherProps, {
61
- items: addPopupOffset(items) || [],
61
+ items: addPopupOffset(items),
62
62
  theme: "light"
63
63
  }));
64
64
  }
@@ -3,7 +3,7 @@
3
3
  .dropdown-menu-content {
4
4
  background: @BG100;
5
5
  border: 1px solid @BG70;
6
- border-radius: 4px;
6
+ border-radius: 2px;
7
7
  box-shadow: @shadow-L;
8
8
  padding: 4px 0;
9
9
 
@@ -44,6 +44,10 @@
44
44
  .ant-dropdown-menu-sub {
45
45
  .dropdown-menu-content();
46
46
  }
47
+
48
+ &.ant-dropdown-menu-submenu-popup {
49
+ min-width: 168px;
50
+ }
47
51
  }
48
52
 
49
53
  .ant-dropdown-menu-submenu-expand-icon {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IRadioGroupProps } from '../../interface/radioGroup';
3
- export declare const RadioGroupContext: React.Context<Omit<IRadioGroupProps, "className" | "children"> & {
3
+ export declare const RadioGroupContext: React.Context<Omit<IRadioGroupProps, "children" | "className"> & {
4
4
  sliderRef?: React.RefObject<HTMLDivElement> | undefined;
5
5
  }>;
6
6
  export default function RadioGroup(props: IRadioGroupProps): JSX.Element;
@@ -15,11 +15,15 @@
15
15
  font-size: 0;
16
16
 
17
17
  .ald-switch-btn {
18
- background: @NL90;
18
+ background: @BG60;
19
19
 
20
20
  &:focus {
21
21
  box-shadow: none;
22
22
  }
23
+
24
+ &:hover {
25
+ background: @BG60;
26
+ }
23
27
  }
24
28
 
25
29
  .ald-switch-text {
@@ -32,7 +36,11 @@
32
36
 
33
37
  &.ald-switch-checked {
34
38
  .ald-switch-btn {
35
- background-color: @B60;
39
+ background-color: @B40;
40
+
41
+ &:hover{
42
+ background-color: @B40;
43
+ }
36
44
  }
37
45
  }
38
46
 
@@ -6,3 +6,7 @@
6
6
  font-style: @font-style;
7
7
  line-height: @line-height;
8
8
  }
9
+
10
+ * :focus-visible{
11
+ outline: none;
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",