assui 2.0.113 → 2.0.114

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.
@@ -23,7 +23,7 @@
23
23
  padding-left: 4px;
24
24
  }
25
25
  .label-auto-complete .ant-select-selection-search {
26
- padding-top: 16px;
26
+ padding-top: 17px;
27
27
  padding-left: 4px;
28
28
  }
29
29
  .label-auto-complete .ant-select-selection-search .ant-select-selection-search-input {
@@ -44,7 +44,7 @@
44
44
  transition: all 0.2s ease-out;
45
45
  }
46
46
  .label-auto-complete-label-scale .label-auto-complete-text {
47
- transform: translateY(-8px) scale(0.715);
47
+ transform: translateY(-8px) scale(0.8);
48
48
  cursor: text;
49
49
  pointer-events: none;
50
50
  }
@@ -1,5 +1,6 @@
1
1
  /* stylelint-disable indentation */
2
2
  @import '~antd/es/style/themes/index';
3
+ @import '../../style/themes/default.less';
3
4
 
4
5
  @color_9aa5b5: #9aa5b5;
5
6
  @font-size-base: 14px;
@@ -30,7 +31,7 @@
30
31
  }
31
32
 
32
33
  .@{ant-prefix}-select-selection-search {
33
- padding-top: 16px;
34
+ padding-top: 17px;
34
35
  padding-left: 4px;
35
36
 
36
37
  .ant-select-selection-search-input {
@@ -55,7 +56,7 @@
55
56
 
56
57
  &-label-scale {
57
58
  .label-auto-complete-text {
58
- transform: translateY(-8px) scale(0.715);
59
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
59
60
  cursor: text;
60
61
  pointer-events: none;
61
62
  }
@@ -16,7 +16,7 @@
16
16
  }
17
17
  .label-date-picker .ant-picker-input input {
18
18
  position: relative;
19
- top: 10px;
19
+ top: 9px;
20
20
  padding-left: 3px;
21
21
  }
22
22
  .label-date-picker .ant-picker-focused {
@@ -41,7 +41,7 @@
41
41
  transition: all 0.2s ease-out;
42
42
  }
43
43
  .label-date-picker-label-scale .label-date-picker-text {
44
- transform: translateY(-8px) scale(0.715);
44
+ transform: translateY(-8px) scale(0.8);
45
45
  cursor: text;
46
46
  pointer-events: none;
47
47
  }
@@ -1,4 +1,5 @@
1
1
  @import '~antd/es/style/themes/index';
2
+ @import '../../style/themes/default.less';
2
3
 
3
4
  @color_9aa5b5: #9aa5b5;
4
5
  @font-size-base: 14px;
@@ -17,7 +18,7 @@
17
18
 
18
19
  &-input input {
19
20
  position: relative;
20
- top: 10px;
21
+ top: @pickerInputTop;
21
22
  padding-left: 3px;
22
23
  }
23
24
 
@@ -48,7 +49,7 @@
48
49
 
49
50
  &-label-scale {
50
51
  .label-date-picker-text {
51
- transform: translateY(-8px) scale(0.715);
52
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
52
53
  cursor: text;
53
54
  pointer-events: none;
54
55
  }
@@ -2,7 +2,7 @@
2
2
  z-index: 1;
3
3
  width: 100%;
4
4
  height: 100%;
5
- padding: 20px 15px 2px 15px;
5
+ padding: 19px 15px 2px 15px;
6
6
  color: #263241;
7
7
  font-size: 14px;
8
8
  line-height: 16px;
@@ -11,7 +11,7 @@
11
11
  }
12
12
  .label-input:focus + label,
13
13
  .label-input:not([data-value='0']) + label {
14
- transform: translateY(-8px) scale(0.715);
14
+ transform: translateY(-8px) scale(0.8);
15
15
  }
16
16
  .label-input-control {
17
17
  position: relative;
@@ -1,3 +1,5 @@
1
+ @import '../../style/themes/default.less';
2
+
1
3
  @primary-color: #ff6b00;
2
4
  @color_263241: #263241;
3
5
  @color_9aa5b5: #9aa5b5;
@@ -13,7 +15,7 @@
13
15
  z-index: 1;
14
16
  width: 100%;
15
17
  height: 100%;
16
- padding: 20px 15px 2px 15px;
18
+ padding: 19px 15px 2px 15px;
17
19
  color: @color_263241;
18
20
  font-size: @font-size-base;
19
21
  line-height: 16px;
@@ -22,7 +24,7 @@
22
24
 
23
25
  &:focus + label,
24
26
  &:not([data-value='0']) + label {
25
- transform: translateY(-8px) scale(0.715);
27
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
26
28
  }
27
29
 
28
30
  &-control {
@@ -16,7 +16,7 @@
16
16
  }
17
17
  .label-range-picker .ant-picker-input input {
18
18
  position: relative;
19
- top: 10px;
19
+ top: 9px;
20
20
  width: 85px;
21
21
  padding-left: 3px;
22
22
  }
@@ -58,7 +58,7 @@
58
58
  opacity: 1;
59
59
  }
60
60
  .label-range-picker-label-scale .label-range-picker-text {
61
- transform: translateY(-8px) scale(0.715);
61
+ transform: translateY(-8px) scale(0.8);
62
62
  cursor: text;
63
63
  pointer-events: none;
64
64
  }
@@ -1,4 +1,5 @@
1
1
  @import '~antd/es/style/themes/index';
2
+ @import '../../style/themes/default.less';
2
3
 
3
4
  @color_9aa5b5: #9aa5b5;
4
5
  @font-size-base: 14px;
@@ -17,7 +18,7 @@
17
18
 
18
19
  &-input input {
19
20
  position: relative;
20
- top: 10px;
21
+ top: @pickerInputTop;
21
22
  width: 85px;
22
23
  padding-left: 3px;
23
24
  }
@@ -69,7 +70,7 @@
69
70
  }
70
71
 
71
72
  .label-range-picker-text {
72
- transform: translateY(-8px) scale(0.715);
73
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
73
74
  cursor: text;
74
75
  pointer-events: none;
75
76
  }
@@ -19,12 +19,12 @@
19
19
  box-shadow: none;
20
20
  }
21
21
  .label-select .ant-select-single.ant-select-show-arrow .ant-select-selection-item {
22
- padding-top: 12px;
22
+ padding-top: 11px;
23
23
  padding-left: 4px;
24
24
  font-size: 14px;
25
25
  }
26
26
  .label-select .ant-select-selection-search {
27
- padding-top: 12px;
27
+ padding-top: 11px;
28
28
  padding-left: 2px;
29
29
  }
30
30
  .label-select .ant-select-arrow {
@@ -51,7 +51,7 @@
51
51
  transition: all 0.2s ease-out;
52
52
  }
53
53
  .label-select-label-scale .label-select-text {
54
- transform: translateY(-8px) scale(0.715);
54
+ transform: translateY(-8px) scale(0.8);
55
55
  cursor: text;
56
56
  pointer-events: none;
57
57
  }
@@ -1,5 +1,6 @@
1
1
  /* stylelint-disable indentation */
2
2
  @import '~antd/es/style/themes/index';
3
+ @import '../../style/themes/default.less';
3
4
 
4
5
  @color_9aa5b5: #9aa5b5;
5
6
  @font-size-base: 14px;
@@ -25,13 +26,13 @@
25
26
 
26
27
  .@{ant-prefix}-select-single.@{ant-prefix}-select-show-arrow
27
28
  .@{ant-prefix}-select-selection-item {
28
- padding-top: 12px;
29
+ padding-top: 11px;
29
30
  padding-left: 4px;
30
31
  font-size: @font-size-base;
31
32
  }
32
33
 
33
34
  .@{ant-prefix}-select-selection-search {
34
- padding-top: 12px;
35
+ padding-top: 11px;
35
36
  padding-left: 2px;
36
37
  }
37
38
 
@@ -63,7 +64,7 @@
63
64
 
64
65
  &-label-scale {
65
66
  .label-select-text {
66
- transform: translateY(-8px) scale(0.715);
67
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
67
68
  cursor: text;
68
69
  pointer-events: none;
69
70
  }
@@ -35,7 +35,7 @@
35
35
  transition: all 0.2s ease-out;
36
36
  }
37
37
  .label-tree-select-label-scale .label-tree-select-text {
38
- transform: translateY(-8px) scale(0.715);
38
+ transform: translateY(-8px) scale(0.8);
39
39
  cursor: text;
40
40
  pointer-events: none;
41
41
  }
@@ -1,5 +1,6 @@
1
1
  /* stylelint-disable indentation */
2
2
  @import '~antd/es/style/themes/index';
3
+ @import '../../style/themes/default.less';
3
4
 
4
5
  @color_9aa5b5: #9aa5b5;
5
6
  @font-size-base: 14px;
@@ -42,7 +43,7 @@
42
43
 
43
44
  &-label-scale {
44
45
  .label-tree-select-text {
45
- transform: translateY(-8px) scale(0.715);
46
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
46
47
  cursor: text;
47
48
  pointer-events: none;
48
49
  }
@@ -0,0 +1,3 @@
1
+ @labelTextLabelScale: 0.8;
2
+ @labelTextLabeltranslateY: -8px;
3
+ @pickerInputTop: 9px;
@@ -23,7 +23,7 @@
23
23
  padding-left: 4px;
24
24
  }
25
25
  .label-auto-complete .ant-select-selection-search {
26
- padding-top: 16px;
26
+ padding-top: 17px;
27
27
  padding-left: 4px;
28
28
  }
29
29
  .label-auto-complete .ant-select-selection-search .ant-select-selection-search-input {
@@ -44,7 +44,7 @@
44
44
  transition: all 0.2s ease-out;
45
45
  }
46
46
  .label-auto-complete-label-scale .label-auto-complete-text {
47
- transform: translateY(-8px) scale(0.715);
47
+ transform: translateY(-8px) scale(0.8);
48
48
  cursor: text;
49
49
  pointer-events: none;
50
50
  }
@@ -1,5 +1,6 @@
1
1
  /* stylelint-disable indentation */
2
2
  @import '~antd/es/style/themes/index';
3
+ @import '../../style/themes/default.less';
3
4
 
4
5
  @color_9aa5b5: #9aa5b5;
5
6
  @font-size-base: 14px;
@@ -30,7 +31,7 @@
30
31
  }
31
32
 
32
33
  .@{ant-prefix}-select-selection-search {
33
- padding-top: 16px;
34
+ padding-top: 17px;
34
35
  padding-left: 4px;
35
36
 
36
37
  .ant-select-selection-search-input {
@@ -55,7 +56,7 @@
55
56
 
56
57
  &-label-scale {
57
58
  .label-auto-complete-text {
58
- transform: translateY(-8px) scale(0.715);
59
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
59
60
  cursor: text;
60
61
  pointer-events: none;
61
62
  }
@@ -16,7 +16,7 @@
16
16
  }
17
17
  .label-date-picker .ant-picker-input input {
18
18
  position: relative;
19
- top: 10px;
19
+ top: 9px;
20
20
  padding-left: 3px;
21
21
  }
22
22
  .label-date-picker .ant-picker-focused {
@@ -41,7 +41,7 @@
41
41
  transition: all 0.2s ease-out;
42
42
  }
43
43
  .label-date-picker-label-scale .label-date-picker-text {
44
- transform: translateY(-8px) scale(0.715);
44
+ transform: translateY(-8px) scale(0.8);
45
45
  cursor: text;
46
46
  pointer-events: none;
47
47
  }
@@ -1,4 +1,5 @@
1
1
  @import '~antd/es/style/themes/index';
2
+ @import '../../style/themes/default.less';
2
3
 
3
4
  @color_9aa5b5: #9aa5b5;
4
5
  @font-size-base: 14px;
@@ -17,7 +18,7 @@
17
18
 
18
19
  &-input input {
19
20
  position: relative;
20
- top: 10px;
21
+ top: @pickerInputTop;
21
22
  padding-left: 3px;
22
23
  }
23
24
 
@@ -48,7 +49,7 @@
48
49
 
49
50
  &-label-scale {
50
51
  .label-date-picker-text {
51
- transform: translateY(-8px) scale(0.715);
52
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
52
53
  cursor: text;
53
54
  pointer-events: none;
54
55
  }
@@ -2,7 +2,7 @@
2
2
  z-index: 1;
3
3
  width: 100%;
4
4
  height: 100%;
5
- padding: 20px 15px 2px 15px;
5
+ padding: 19px 15px 2px 15px;
6
6
  color: #263241;
7
7
  font-size: 14px;
8
8
  line-height: 16px;
@@ -11,7 +11,7 @@
11
11
  }
12
12
  .label-input:focus + label,
13
13
  .label-input:not([data-value='0']) + label {
14
- transform: translateY(-8px) scale(0.715);
14
+ transform: translateY(-8px) scale(0.8);
15
15
  }
16
16
  .label-input-control {
17
17
  position: relative;
@@ -1,3 +1,5 @@
1
+ @import '../../style/themes/default.less';
2
+
1
3
  @primary-color: #ff6b00;
2
4
  @color_263241: #263241;
3
5
  @color_9aa5b5: #9aa5b5;
@@ -13,7 +15,7 @@
13
15
  z-index: 1;
14
16
  width: 100%;
15
17
  height: 100%;
16
- padding: 20px 15px 2px 15px;
18
+ padding: 19px 15px 2px 15px;
17
19
  color: @color_263241;
18
20
  font-size: @font-size-base;
19
21
  line-height: 16px;
@@ -22,7 +24,7 @@
22
24
 
23
25
  &:focus + label,
24
26
  &:not([data-value='0']) + label {
25
- transform: translateY(-8px) scale(0.715);
27
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
26
28
  }
27
29
 
28
30
  &-control {
@@ -16,7 +16,7 @@
16
16
  }
17
17
  .label-range-picker .ant-picker-input input {
18
18
  position: relative;
19
- top: 10px;
19
+ top: 9px;
20
20
  width: 85px;
21
21
  padding-left: 3px;
22
22
  }
@@ -58,7 +58,7 @@
58
58
  opacity: 1;
59
59
  }
60
60
  .label-range-picker-label-scale .label-range-picker-text {
61
- transform: translateY(-8px) scale(0.715);
61
+ transform: translateY(-8px) scale(0.8);
62
62
  cursor: text;
63
63
  pointer-events: none;
64
64
  }
@@ -1,4 +1,5 @@
1
1
  @import '~antd/es/style/themes/index';
2
+ @import '../../style/themes/default.less';
2
3
 
3
4
  @color_9aa5b5: #9aa5b5;
4
5
  @font-size-base: 14px;
@@ -17,7 +18,7 @@
17
18
 
18
19
  &-input input {
19
20
  position: relative;
20
- top: 10px;
21
+ top: @pickerInputTop;
21
22
  width: 85px;
22
23
  padding-left: 3px;
23
24
  }
@@ -69,7 +70,7 @@
69
70
  }
70
71
 
71
72
  .label-range-picker-text {
72
- transform: translateY(-8px) scale(0.715);
73
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
73
74
  cursor: text;
74
75
  pointer-events: none;
75
76
  }
@@ -19,12 +19,12 @@
19
19
  box-shadow: none;
20
20
  }
21
21
  .label-select .ant-select-single.ant-select-show-arrow .ant-select-selection-item {
22
- padding-top: 12px;
22
+ padding-top: 11px;
23
23
  padding-left: 4px;
24
24
  font-size: 14px;
25
25
  }
26
26
  .label-select .ant-select-selection-search {
27
- padding-top: 12px;
27
+ padding-top: 11px;
28
28
  padding-left: 2px;
29
29
  }
30
30
  .label-select .ant-select-arrow {
@@ -51,7 +51,7 @@
51
51
  transition: all 0.2s ease-out;
52
52
  }
53
53
  .label-select-label-scale .label-select-text {
54
- transform: translateY(-8px) scale(0.715);
54
+ transform: translateY(-8px) scale(0.8);
55
55
  cursor: text;
56
56
  pointer-events: none;
57
57
  }
@@ -1,5 +1,6 @@
1
1
  /* stylelint-disable indentation */
2
2
  @import '~antd/es/style/themes/index';
3
+ @import '../../style/themes/default.less';
3
4
 
4
5
  @color_9aa5b5: #9aa5b5;
5
6
  @font-size-base: 14px;
@@ -25,13 +26,13 @@
25
26
 
26
27
  .@{ant-prefix}-select-single.@{ant-prefix}-select-show-arrow
27
28
  .@{ant-prefix}-select-selection-item {
28
- padding-top: 12px;
29
+ padding-top: 11px;
29
30
  padding-left: 4px;
30
31
  font-size: @font-size-base;
31
32
  }
32
33
 
33
34
  .@{ant-prefix}-select-selection-search {
34
- padding-top: 12px;
35
+ padding-top: 11px;
35
36
  padding-left: 2px;
36
37
  }
37
38
 
@@ -63,7 +64,7 @@
63
64
 
64
65
  &-label-scale {
65
66
  .label-select-text {
66
- transform: translateY(-8px) scale(0.715);
67
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
67
68
  cursor: text;
68
69
  pointer-events: none;
69
70
  }
@@ -35,7 +35,7 @@
35
35
  transition: all 0.2s ease-out;
36
36
  }
37
37
  .label-tree-select-label-scale .label-tree-select-text {
38
- transform: translateY(-8px) scale(0.715);
38
+ transform: translateY(-8px) scale(0.8);
39
39
  cursor: text;
40
40
  pointer-events: none;
41
41
  }
@@ -1,5 +1,6 @@
1
1
  /* stylelint-disable indentation */
2
2
  @import '~antd/es/style/themes/index';
3
+ @import '../../style/themes/default.less';
3
4
 
4
5
  @color_9aa5b5: #9aa5b5;
5
6
  @font-size-base: 14px;
@@ -42,7 +43,7 @@
42
43
 
43
44
  &-label-scale {
44
45
  .label-tree-select-text {
45
- transform: translateY(-8px) scale(0.715);
46
+ transform: translateY(@labelTextLabeltranslateY) scale(@labelTextLabelScale);
46
47
  cursor: text;
47
48
  pointer-events: none;
48
49
  }
@@ -0,0 +1,3 @@
1
+ @labelTextLabelScale: 0.8;
2
+ @labelTextLabeltranslateY: -8px;
3
+ @pickerInputTop: 9px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "2.0.113",
3
+ "version": "2.0.114",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -69,5 +69,5 @@
69
69
  "node": ">=10.0.0"
70
70
  },
71
71
  "license": "MIT",
72
- "gitHead": "beb09cd10c522fa24b6354799e6bd5cd756b7aec"
72
+ "gitHead": "e35a202aa66ca94b6a6123ecbba4d22182159fa7"
73
73
  }