@hh.ru/magritte-ui-form-label 4.2.30 → 4.2.32
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 +6 -6
package/FormLabel.js
CHANGED
|
@@ -13,7 +13,7 @@ import { VSpacing } from '@hh.ru/magritte-ui-spacing';
|
|
|
13
13
|
import { Tooltip } from '@hh.ru/magritte-ui-tooltip';
|
|
14
14
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
15
15
|
|
|
16
|
-
var styles = {"form-label":"magritte-form-label___Yzcxs_4-2-
|
|
16
|
+
var styles = {"form-label":"magritte-form-label___Yzcxs_4-2-32","formLabel":"magritte-form-label___Yzcxs_4-2-32","postfix":"magritte-postfix___UBcl3_4-2-32","form-label_disabled":"magritte-form-label_disabled___rq0Rq_4-2-32","formLabelDisabled":"magritte-form-label_disabled___rq0Rq_4-2-32","content":"magritte-content___o4wkg_4-2-32","icon":"magritte-icon___nwksH_4-2-32"};
|
|
17
17
|
|
|
18
18
|
const FormLabel = (props) => {
|
|
19
19
|
const disabled = useDisabled();
|
package/index.css
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
--magritte-color-icon-state-secondary-pressed-v19-0-0:#ABABAB;
|
|
47
47
|
--magritte-color-icon-state-secondary-disabled-v19-0-0:#767676;
|
|
48
48
|
}
|
|
49
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
49
|
+
.magritte-form-label___Yzcxs_4-2-32{
|
|
50
50
|
font-family:var(--magritte-typography-label-2-regular-font-family-v19-0-0);
|
|
51
51
|
font-weight:var(--magritte-typography-label-2-regular-font-weight-v19-0-0);
|
|
52
52
|
line-height:var(--magritte-typography-label-2-regular-line-height-v19-0-0);
|
|
@@ -62,51 +62,51 @@
|
|
|
62
62
|
color:var(--magritte-color-text-secondary-v19-0-0);
|
|
63
63
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-secondary-v19-0-0);
|
|
64
64
|
}
|
|
65
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
65
|
+
.magritte-form-label___Yzcxs_4-2-32 .magritte-postfix___UBcl3_4-2-32{
|
|
66
66
|
color:var(--magritte-color-text-tertiary-v19-0-0);
|
|
67
67
|
}
|
|
68
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
68
|
+
.magritte-form-label___Yzcxs_4-2-32.focus-visible{
|
|
69
69
|
outline:var(--magritte-color-stroke-state-focused-accessible-v19-0-0) solid 4px;
|
|
70
70
|
}
|
|
71
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
71
|
+
.magritte-form-label___Yzcxs_4-2-32:not(.magritte-form-label_disabled___rq0Rq_4-2-32):active{
|
|
72
72
|
color:var(--magritte-color-text-state-secondary-pressed-v19-0-0);
|
|
73
73
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-pressed-v19-0-0);
|
|
74
74
|
}
|
|
75
|
-
.magritte-form-label___Yzcxs_4-2-
|
|
75
|
+
.magritte-form-label___Yzcxs_4-2-32:not(.magritte-form-label_disabled___rq0Rq_4-2-32):active .magritte-postfix___UBcl3_4-2-32{
|
|
76
76
|
color:var(--magritte-color-text-state-tertiary-pressed-v19-0-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-32:hover:not(.magritte-form-label_disabled___rq0Rq_4-2-32):not(:active){
|
|
80
80
|
color:var(--magritte-color-text-state-secondary-hovered-v19-0-0);
|
|
81
81
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-hovered-v19-0-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-32:hover:not(.magritte-form-label_disabled___rq0Rq_4-2-32):not(:active) .magritte-postfix___UBcl3_4-2-32{
|
|
84
84
|
color:var(--magritte-color-text-state-tertiary-hovered-v19-0-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-32:hover:not(.magritte-form-label_disabled___rq0Rq_4-2-32):not(:active){
|
|
89
89
|
color:var(--magritte-color-text-state-secondary-hovered-v19-0-0);
|
|
90
90
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-hovered-v19-0-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-32:hover:not(.magritte-form-label_disabled___rq0Rq_4-2-32):not(:active) .magritte-postfix___UBcl3_4-2-32{
|
|
93
93
|
color:var(--magritte-color-text-state-tertiary-hovered-v19-0-0);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
.magritte-form-label_disabled___rq0Rq_4-2-
|
|
96
|
+
.magritte-form-label_disabled___rq0Rq_4-2-32{
|
|
97
97
|
color:var(--magritte-color-text-state-secondary-disabled-v19-0-0);
|
|
98
98
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-disabled-v19-0-0);
|
|
99
99
|
}
|
|
100
|
-
.magritte-form-label_disabled___rq0Rq_4-2-
|
|
100
|
+
.magritte-form-label_disabled___rq0Rq_4-2-32 .magritte-postfix___UBcl3_4-2-32{
|
|
101
101
|
color:var(--magritte-color-text-state-tertiary-disabled-v19-0-0);
|
|
102
102
|
}
|
|
103
|
-
.magritte-content___o4wkg_4-2-
|
|
103
|
+
.magritte-content___o4wkg_4-2-32{
|
|
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-32{
|
|
110
110
|
font-family:var(--magritte-typography-subtitle-1-semibold-font-family-v19-0-0);
|
|
111
111
|
font-weight:var(--magritte-typography-subtitle-1-semibold-font-weight-v19-0-0);
|
|
112
112
|
line-height:var(--magritte-typography-subtitle-1-semibold-line-height-v19-0-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-32{
|
|
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.32",
|
|
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": "19.0.0",
|
|
27
27
|
"@hh.ru/magritte-types": "4.0.2",
|
|
28
|
-
"@hh.ru/magritte-ui-action": "4.4.
|
|
29
|
-
"@hh.ru/magritte-ui-bottom-sheet": "5.3.
|
|
28
|
+
"@hh.ru/magritte-ui-action": "4.4.4",
|
|
29
|
+
"@hh.ru/magritte-ui-bottom-sheet": "5.3.16",
|
|
30
30
|
"@hh.ru/magritte-ui-breakpoint": "4.0.3",
|
|
31
31
|
"@hh.ru/magritte-ui-icon": "7.5.3",
|
|
32
32
|
"@hh.ru/magritte-ui-mock-component": "1.0.11",
|
|
33
|
-
"@hh.ru/magritte-ui-navigation-bar": "6.0.
|
|
33
|
+
"@hh.ru/magritte-ui-navigation-bar": "6.0.4",
|
|
34
34
|
"@hh.ru/magritte-ui-spacing": "2.0.28",
|
|
35
35
|
"@hh.ru/magritte-ui-theme-provider": "1.1.28",
|
|
36
|
-
"@hh.ru/magritte-ui-tooltip": "7.0.
|
|
36
|
+
"@hh.ru/magritte-ui-tooltip": "7.0.15",
|
|
37
37
|
"@hh.ru/magritte-ui-typography": "3.0.15"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "509876bce6289c2d23d8874a033be648fd674dbf"
|
|
47
47
|
}
|