@hh.ru/magritte-ui-form-label 4.2.20 → 4.2.22
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/FormLabel.js +1 -1
- package/index.css +14 -14
- package/package.json +7 -7
package/FormLabel.js
CHANGED
|
@@ -12,7 +12,7 @@ import { VSpacing } from '@hh.ru/magritte-ui-spacing';
|
|
|
12
12
|
import { Tooltip } from '@hh.ru/magritte-ui-tooltip';
|
|
13
13
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
14
14
|
|
|
15
|
-
var styles = {"form-label":"magritte-form-label___Yzcxs_4-2-
|
|
15
|
+
var styles = {"form-label":"magritte-form-label___Yzcxs_4-2-22","formLabel":"magritte-form-label___Yzcxs_4-2-22","postfix":"magritte-postfix___UBcl3_4-2-22","form-label_disabled":"magritte-form-label_disabled___rq0Rq_4-2-22","formLabelDisabled":"magritte-form-label_disabled___rq0Rq_4-2-22","content":"magritte-content___o4wkg_4-2-22","icon":"magritte-icon___nwksH_4-2-22"};
|
|
16
16
|
|
|
17
17
|
const FormLabel = (props) => {
|
|
18
18
|
const disabled = useDisabled();
|
package/index.css
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
--magritte-color-icon-state-secondary-pressed-v18-3-0:#ABABAB;
|
|
47
47
|
--magritte-color-icon-state-secondary-disabled-v18-3-0:#767676;
|
|
48
48
|
}
|
|
49
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
49
|
+
.magritte-form-label___Yzcxs_4-2-22{
|
|
50
50
|
font-family:var(--magritte-typography-label-2-regular-font-family-v18-3-0);
|
|
51
51
|
font-weight:var(--magritte-typography-label-2-regular-font-weight-v18-3-0);
|
|
52
52
|
line-height:var(--magritte-typography-label-2-regular-line-height-v18-3-0);
|
|
@@ -62,51 +62,51 @@
|
|
|
62
62
|
color:var(--magritte-color-text-secondary-v18-3-0);
|
|
63
63
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-secondary-v18-3-0);
|
|
64
64
|
}
|
|
65
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
65
|
+
.magritte-form-label___Yzcxs_4-2-22 .magritte-postfix___UBcl3_4-2-22{
|
|
66
66
|
color:var(--magritte-color-text-tertiary-v18-3-0);
|
|
67
67
|
}
|
|
68
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
68
|
+
.magritte-form-label___Yzcxs_4-2-22.focus-visible{
|
|
69
69
|
outline:var(--magritte-color-stroke-state-focused-accessible-v18-3-0) solid 4px;
|
|
70
70
|
}
|
|
71
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
71
|
+
.magritte-form-label___Yzcxs_4-2-22:not(.magritte-form-label_disabled___rq0Rq_4-2-22):active{
|
|
72
72
|
color:var(--magritte-color-text-state-secondary-pressed-v18-3-0);
|
|
73
73
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-pressed-v18-3-0);
|
|
74
74
|
}
|
|
75
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
75
|
+
.magritte-form-label___Yzcxs_4-2-22:not(.magritte-form-label_disabled___rq0Rq_4-2-22):active .magritte-postfix___UBcl3_4-2-22{
|
|
76
76
|
color:var(--magritte-color-text-state-tertiary-pressed-v18-3-0);
|
|
77
77
|
}
|
|
78
78
|
@media (min-width: 1020px){
|
|
79
|
-
body.magritte-old-layout .magritte-form-label___Yzcxs_4-2-
|
|
79
|
+
body.magritte-old-layout .magritte-form-label___Yzcxs_4-2-22:hover:not(.magritte-form-label_disabled___rq0Rq_4-2-22):not(:active){
|
|
80
80
|
color:var(--magritte-color-text-state-secondary-hovered-v18-3-0);
|
|
81
81
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-hovered-v18-3-0);
|
|
82
82
|
}
|
|
83
|
-
body.magritte-old-layout .magritte-form-label___Yzcxs_4-2-
|
|
83
|
+
body.magritte-old-layout .magritte-form-label___Yzcxs_4-2-22:hover:not(.magritte-form-label_disabled___rq0Rq_4-2-22):not(:active) .magritte-postfix___UBcl3_4-2-22{
|
|
84
84
|
color:var(--magritte-color-text-state-tertiary-hovered-v18-3-0);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
@media (min-width: 1024px){
|
|
88
|
-
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_4-2-
|
|
88
|
+
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_4-2-22:hover:not(.magritte-form-label_disabled___rq0Rq_4-2-22):not(:active){
|
|
89
89
|
color:var(--magritte-color-text-state-secondary-hovered-v18-3-0);
|
|
90
90
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-hovered-v18-3-0);
|
|
91
91
|
}
|
|
92
|
-
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_4-2-
|
|
92
|
+
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_4-2-22:hover:not(.magritte-form-label_disabled___rq0Rq_4-2-22):not(:active) .magritte-postfix___UBcl3_4-2-22{
|
|
93
93
|
color:var(--magritte-color-text-state-tertiary-hovered-v18-3-0);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
.magritte-form-label_disabled___rq0Rq_4-2-
|
|
96
|
+
.magritte-form-label_disabled___rq0Rq_4-2-22{
|
|
97
97
|
color:var(--magritte-color-text-state-secondary-disabled-v18-3-0);
|
|
98
98
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-disabled-v18-3-0);
|
|
99
99
|
}
|
|
100
|
-
.magritte-form-label_disabled___rq0Rq_4-2-
|
|
100
|
+
.magritte-form-label_disabled___rq0Rq_4-2-22 .magritte-postfix___UBcl3_4-2-22{
|
|
101
101
|
color:var(--magritte-color-text-state-tertiary-disabled-v18-3-0);
|
|
102
102
|
}
|
|
103
|
-
.magritte-content___o4wkg_4-2-
|
|
103
|
+
.magritte-content___o4wkg_4-2-22{
|
|
104
104
|
flex:0 1 auto;
|
|
105
105
|
min-width:0;
|
|
106
106
|
overflow:hidden;
|
|
107
107
|
text-overflow:ellipsis;
|
|
108
108
|
}
|
|
109
|
-
.magritte-postfix___UBcl3_4-2-
|
|
109
|
+
.magritte-postfix___UBcl3_4-2-22{
|
|
110
110
|
font-family:var(--magritte-typography-subtitle-1-semibold-font-family-v18-3-0);
|
|
111
111
|
font-weight:var(--magritte-typography-subtitle-1-semibold-font-weight-v18-3-0);
|
|
112
112
|
line-height:var(--magritte-typography-subtitle-1-semibold-line-height-v18-3-0);
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
text-overflow:ellipsis;
|
|
122
122
|
white-space:nowrap;
|
|
123
123
|
}
|
|
124
|
-
.magritte-icon___nwksH_4-2-
|
|
124
|
+
.magritte-icon___nwksH_4-2-22{
|
|
125
125
|
display:inline-flex;
|
|
126
126
|
align-items:center;
|
|
127
127
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-form-label",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.22",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@hh.ru/magritte-common-use-disabled": "1.0.9",
|
|
26
26
|
"@hh.ru/magritte-design-tokens": "18.3.0",
|
|
27
27
|
"@hh.ru/magritte-types": "4.0.2",
|
|
28
|
-
"@hh.ru/magritte-ui-action": "4.3.
|
|
29
|
-
"@hh.ru/magritte-ui-bottom-sheet": "5.3.
|
|
28
|
+
"@hh.ru/magritte-ui-action": "4.3.23",
|
|
29
|
+
"@hh.ru/magritte-ui-bottom-sheet": "5.3.6",
|
|
30
30
|
"@hh.ru/magritte-ui-breakpoint": "4.0.3",
|
|
31
|
-
"@hh.ru/magritte-ui-icon": "7.
|
|
31
|
+
"@hh.ru/magritte-ui-icon": "7.5.0",
|
|
32
32
|
"@hh.ru/magritte-ui-mock-component": "1.0.11",
|
|
33
|
-
"@hh.ru/magritte-ui-navigation-bar": "5.1.
|
|
33
|
+
"@hh.ru/magritte-ui-navigation-bar": "5.1.8",
|
|
34
34
|
"@hh.ru/magritte-ui-spacing": "2.0.26",
|
|
35
35
|
"@hh.ru/magritte-ui-theme-provider": "1.1.26",
|
|
36
|
-
"@hh.ru/magritte-ui-tooltip": "7.0.
|
|
36
|
+
"@hh.ru/magritte-ui-tooltip": "7.0.9",
|
|
37
37
|
"@hh.ru/magritte-ui-typography": "3.0.13"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "2719680c0fbdbc1c92fe4ac0306279e3df74514e"
|
|
47
47
|
}
|