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