@hh.ru/magritte-ui-form-label 4.3.18 → 4.3.19
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 +24 -24
- package/package.json +4 -4
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-3-
|
|
16
|
+
var styles = {"form-label":"magritte-form-label___Yzcxs_4-3-19","formLabel":"magritte-form-label___Yzcxs_4-3-19","postfix":"magritte-postfix___UBcl3_4-3-19","form-label_disabled":"magritte-form-label_disabled___rq0Rq_4-3-19","formLabelDisabled":"magritte-form-label_disabled___rq0Rq_4-3-19","form-label_style-custom":"magritte-form-label_style-custom___hgmDr_4-3-19","formLabelStyleCustom":"magritte-form-label_style-custom___hgmDr_4-3-19","content":"magritte-content___o4wkg_4-3-19","icon":"magritte-icon___nwksH_4-3-19"};
|
|
17
17
|
|
|
18
18
|
const FormLabel = (props) => {
|
|
19
19
|
const disabled = useDisabled();
|
package/index.css
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
--magritte-color-icon-state-secondary-pressed-v19-1-1:#ABABAB;
|
|
63
63
|
--magritte-color-icon-state-secondary-disabled-v19-1-1:#767676;
|
|
64
64
|
}
|
|
65
|
-
.magritte-form-label___Yzcxs_4-3-
|
|
65
|
+
.magritte-form-label___Yzcxs_4-3-19{
|
|
66
66
|
font-family:var(--magritte-typography-label-2-regular-font-family-v19-1-1);
|
|
67
67
|
font-weight:var(--magritte-typography-label-2-regular-font-weight-v19-1-1);
|
|
68
68
|
line-height:var(--magritte-typography-label-2-regular-line-height-v19-1-1);
|
|
@@ -78,90 +78,90 @@
|
|
|
78
78
|
color:var(--magritte-color-text-secondary-v19-1-1);
|
|
79
79
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-secondary-v19-1-1);
|
|
80
80
|
}
|
|
81
|
-
.magritte-form-label___Yzcxs_4-3-
|
|
81
|
+
.magritte-form-label___Yzcxs_4-3-19 .magritte-postfix___UBcl3_4-3-19{
|
|
82
82
|
color:var(--magritte-color-text-tertiary-v19-1-1);
|
|
83
83
|
}
|
|
84
|
-
.magritte-form-label___Yzcxs_4-3-
|
|
84
|
+
.magritte-form-label___Yzcxs_4-3-19.focus-visible{
|
|
85
85
|
outline:var(--magritte-color-stroke-state-focused-accessible-v19-1-1) solid 4px;
|
|
86
86
|
}
|
|
87
|
-
.magritte-form-label___Yzcxs_4-3-
|
|
87
|
+
.magritte-form-label___Yzcxs_4-3-19:not(.magritte-form-label_disabled___rq0Rq_4-3-19):active{
|
|
88
88
|
color:var(--magritte-color-text-state-secondary-pressed-v19-1-1);
|
|
89
89
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-pressed-v19-1-1);
|
|
90
90
|
}
|
|
91
|
-
.magritte-form-label___Yzcxs_4-3-
|
|
91
|
+
.magritte-form-label___Yzcxs_4-3-19:not(.magritte-form-label_disabled___rq0Rq_4-3-19):active .magritte-postfix___UBcl3_4-3-19{
|
|
92
92
|
color:var(--magritte-color-text-state-tertiary-pressed-v19-1-1);
|
|
93
93
|
}
|
|
94
94
|
@media (min-width: 1020px){
|
|
95
|
-
body.magritte-old-layout .magritte-form-label___Yzcxs_4-3-
|
|
95
|
+
body.magritte-old-layout .magritte-form-label___Yzcxs_4-3-19:hover:not(.magritte-form-label_disabled___rq0Rq_4-3-19):not(:active){
|
|
96
96
|
color:var(--magritte-color-text-state-secondary-hovered-v19-1-1);
|
|
97
97
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-hovered-v19-1-1);
|
|
98
98
|
}
|
|
99
|
-
body.magritte-old-layout .magritte-form-label___Yzcxs_4-3-
|
|
99
|
+
body.magritte-old-layout .magritte-form-label___Yzcxs_4-3-19:hover:not(.magritte-form-label_disabled___rq0Rq_4-3-19):not(:active) .magritte-postfix___UBcl3_4-3-19{
|
|
100
100
|
color:var(--magritte-color-text-state-tertiary-hovered-v19-1-1);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
@media (min-width: 1024px){
|
|
104
|
-
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_4-3-
|
|
104
|
+
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_4-3-19:hover:not(.magritte-form-label_disabled___rq0Rq_4-3-19):not(:active){
|
|
105
105
|
color:var(--magritte-color-text-state-secondary-hovered-v19-1-1);
|
|
106
106
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-hovered-v19-1-1);
|
|
107
107
|
}
|
|
108
|
-
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_4-3-
|
|
108
|
+
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_4-3-19:hover:not(.magritte-form-label_disabled___rq0Rq_4-3-19):not(:active) .magritte-postfix___UBcl3_4-3-19{
|
|
109
109
|
color:var(--magritte-color-text-state-tertiary-hovered-v19-1-1);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
.magritte-form-label_disabled___rq0Rq_4-3-
|
|
112
|
+
.magritte-form-label_disabled___rq0Rq_4-3-19{
|
|
113
113
|
color:var(--magritte-color-text-state-secondary-disabled-v19-1-1);
|
|
114
114
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-secondary-disabled-v19-1-1);
|
|
115
115
|
}
|
|
116
|
-
.magritte-form-label_disabled___rq0Rq_4-3-
|
|
116
|
+
.magritte-form-label_disabled___rq0Rq_4-3-19 .magritte-postfix___UBcl3_4-3-19{
|
|
117
117
|
color:var(--magritte-color-text-state-tertiary-disabled-v19-1-1);
|
|
118
118
|
}
|
|
119
|
-
.magritte-form-label_style-custom___hgmDr_4-3-
|
|
119
|
+
.magritte-form-label_style-custom___hgmDr_4-3-19{
|
|
120
120
|
color:var(--magritte-color-text-primary-v19-1-1);
|
|
121
121
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-primary-v19-1-1);
|
|
122
122
|
}
|
|
123
|
-
.magritte-form-label_style-custom___hgmDr_4-3-
|
|
123
|
+
.magritte-form-label_style-custom___hgmDr_4-3-19 .magritte-postfix___UBcl3_4-3-19{
|
|
124
124
|
color:var(--magritte-color-text-secondary-v19-1-1);
|
|
125
125
|
}
|
|
126
|
-
.magritte-form-label_style-custom___hgmDr_4-3-
|
|
126
|
+
.magritte-form-label_style-custom___hgmDr_4-3-19:not(.magritte-form-label_disabled___rq0Rq_4-3-19):active{
|
|
127
127
|
color:var(--magritte-color-text-state-primary-pressed-v19-1-1);
|
|
128
128
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-primary-pressed-v19-1-1);
|
|
129
129
|
}
|
|
130
|
-
.magritte-form-label_style-custom___hgmDr_4-3-
|
|
130
|
+
.magritte-form-label_style-custom___hgmDr_4-3-19:not(.magritte-form-label_disabled___rq0Rq_4-3-19):active .magritte-postfix___UBcl3_4-3-19{
|
|
131
131
|
color:var(--magritte-color-text-state-secondary-pressed-v19-1-1);
|
|
132
132
|
}
|
|
133
133
|
@media (min-width: 1020px){
|
|
134
|
-
body.magritte-old-layout .magritte-form-label_style-custom___hgmDr_4-3-
|
|
134
|
+
body.magritte-old-layout .magritte-form-label_style-custom___hgmDr_4-3-19:hover:not(.magritte-form-label_disabled___rq0Rq_4-3-19):not(:active){
|
|
135
135
|
color:var(--magritte-color-text-state-primary-hovered-v19-1-1);
|
|
136
136
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-primary-hovered-v19-1-1);
|
|
137
137
|
}
|
|
138
|
-
body.magritte-old-layout .magritte-form-label_style-custom___hgmDr_4-3-
|
|
138
|
+
body.magritte-old-layout .magritte-form-label_style-custom___hgmDr_4-3-19:hover:not(.magritte-form-label_disabled___rq0Rq_4-3-19):not(:active) .magritte-postfix___UBcl3_4-3-19{
|
|
139
139
|
color:var(--magritte-color-text-state-secondary-hovered-v19-1-1);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
@media (min-width: 1024px){
|
|
143
|
-
body:not(.magritte-old-layout) .magritte-form-label_style-custom___hgmDr_4-3-
|
|
143
|
+
body:not(.magritte-old-layout) .magritte-form-label_style-custom___hgmDr_4-3-19:hover:not(.magritte-form-label_disabled___rq0Rq_4-3-19):not(:active){
|
|
144
144
|
color:var(--magritte-color-text-state-primary-hovered-v19-1-1);
|
|
145
145
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-primary-hovered-v19-1-1);
|
|
146
146
|
}
|
|
147
|
-
body:not(.magritte-old-layout) .magritte-form-label_style-custom___hgmDr_4-3-
|
|
147
|
+
body:not(.magritte-old-layout) .magritte-form-label_style-custom___hgmDr_4-3-19:hover:not(.magritte-form-label_disabled___rq0Rq_4-3-19):not(:active) .magritte-postfix___UBcl3_4-3-19{
|
|
148
148
|
color:var(--magritte-color-text-state-secondary-hovered-v19-1-1);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
.magritte-form-label_style-custom___hgmDr_4-3-
|
|
151
|
+
.magritte-form-label_style-custom___hgmDr_4-3-19.magritte-form-label_disabled___rq0Rq_4-3-19{
|
|
152
152
|
color:var(--magritte-color-text-state-primary-disabled-v19-1-1);
|
|
153
153
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-state-primary-disabled-v19-1-1);
|
|
154
154
|
}
|
|
155
|
-
.magritte-form-label_style-custom___hgmDr_4-3-
|
|
155
|
+
.magritte-form-label_style-custom___hgmDr_4-3-19.magritte-form-label_disabled___rq0Rq_4-3-19 .magritte-postfix___UBcl3_4-3-19{
|
|
156
156
|
color:var(--magritte-color-text-state-secondary-disabled-v19-1-1);
|
|
157
157
|
}
|
|
158
|
-
.magritte-content___o4wkg_4-3-
|
|
158
|
+
.magritte-content___o4wkg_4-3-19{
|
|
159
159
|
flex:0 1 auto;
|
|
160
160
|
min-width:0;
|
|
161
161
|
overflow:hidden;
|
|
162
162
|
text-overflow:ellipsis;
|
|
163
163
|
}
|
|
164
|
-
.magritte-postfix___UBcl3_4-3-
|
|
164
|
+
.magritte-postfix___UBcl3_4-3-19{
|
|
165
165
|
font-family:var(--magritte-typography-subtitle-1-semibold-font-family-v19-1-1);
|
|
166
166
|
font-weight:var(--magritte-typography-subtitle-1-semibold-font-weight-v19-1-1);
|
|
167
167
|
line-height:var(--magritte-typography-subtitle-1-semibold-line-height-v19-1-1);
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
text-overflow:ellipsis;
|
|
177
177
|
white-space:nowrap;
|
|
178
178
|
}
|
|
179
|
-
.magritte-icon___nwksH_4-3-
|
|
179
|
+
.magritte-icon___nwksH_4-3-19{
|
|
180
180
|
display:inline-flex;
|
|
181
181
|
align-items:center;
|
|
182
182
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-form-label",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.19",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"@hh.ru/magritte-design-tokens": "19.1.1",
|
|
27
27
|
"@hh.ru/magritte-types": "4.0.2",
|
|
28
28
|
"@hh.ru/magritte-ui-action": "4.4.11",
|
|
29
|
-
"@hh.ru/magritte-ui-bottom-sheet": "5.5.
|
|
29
|
+
"@hh.ru/magritte-ui-bottom-sheet": "5.5.3",
|
|
30
30
|
"@hh.ru/magritte-ui-breakpoint": "4.0.3",
|
|
31
31
|
"@hh.ru/magritte-ui-icon": "7.9.1",
|
|
32
32
|
"@hh.ru/magritte-ui-mock-component": "1.0.11",
|
|
33
|
-
"@hh.ru/magritte-ui-navigation-bar": "6.3.
|
|
33
|
+
"@hh.ru/magritte-ui-navigation-bar": "6.3.1",
|
|
34
34
|
"@hh.ru/magritte-ui-spacing": "2.0.30",
|
|
35
35
|
"@hh.ru/magritte-ui-theme-provider": "1.1.30",
|
|
36
36
|
"@hh.ru/magritte-ui-tooltip": "8.0.3",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "23007d0b08f6460c2ed15ed58cf3676420330977"
|
|
47
47
|
}
|