@hh.ru/magritte-ui-form-label 3.2.42 → 3.3.0
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 +9 -9
- package/package.json +4 -4
package/FormLabel.js
CHANGED
|
@@ -12,7 +12,7 @@ import { NavigationBar } from '@hh.ru/magritte-ui-navigation-bar';
|
|
|
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_3-
|
|
15
|
+
var styles = {"form-label":"magritte-form-label___Yzcxs_3-3-0","formLabel":"magritte-form-label___Yzcxs_3-3-0","form-label__counter":"magritte-form-label__counter___a2cSH_3-3-0","formLabelCounter":"magritte-form-label__counter___a2cSH_3-3-0","form-label_disabled":"magritte-form-label_disabled___rq0Rq_3-3-0","formLabelDisabled":"magritte-form-label_disabled___rq0Rq_3-3-0","form-label__icon":"magritte-form-label__icon___H57oS_3-3-0","formLabelIcon":"magritte-form-label__icon___H57oS_3-3-0"};
|
|
16
16
|
|
|
17
17
|
const FormLabel = (props) => {
|
|
18
18
|
const disabled = useDisabled();
|
package/index.css
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
--magritte-color-component-form-label-counter-content-v18-1-1:#767676;
|
|
35
35
|
--magritte-color-component-form-label-counter-state-content-disabled-v18-1-1:#ABABAB;
|
|
36
36
|
}
|
|
37
|
-
.magritte-form-label___Yzcxs_3-
|
|
37
|
+
.magritte-form-label___Yzcxs_3-3-0{
|
|
38
38
|
font-family:var(--magritte-typography-label-2-regular-font-family-v18-1-1);
|
|
39
39
|
font-weight:var(--magritte-typography-label-2-regular-font-weight-v18-1-1);
|
|
40
40
|
line-height:var(--magritte-typography-label-2-regular-line-height-v18-1-1);
|
|
@@ -50,36 +50,36 @@
|
|
|
50
50
|
color:var(--magritte-color-component-form-label-text-content-v18-1-1);
|
|
51
51
|
--magritte-ui-icon-color-override:var(--magritte-color-component-form-label-icon-content-v18-1-1);
|
|
52
52
|
}
|
|
53
|
-
.magritte-form-label___Yzcxs_3-
|
|
53
|
+
.magritte-form-label___Yzcxs_3-3-0.focus-visible{
|
|
54
54
|
outline:var(--magritte-color-component-form-label-stroke-state-focused-accessible-v18-1-1) solid 4px;
|
|
55
55
|
}
|
|
56
|
-
.magritte-form-label___Yzcxs_3-
|
|
56
|
+
.magritte-form-label___Yzcxs_3-3-0:active{
|
|
57
57
|
color:var(--magritte-color-component-form-label-text-state-content-pressed-v18-1-1);
|
|
58
58
|
--magritte-ui-icon-color-override:var(--magritte-color-component-form-label-icon-state-content-pressed-v18-1-1);
|
|
59
59
|
}
|
|
60
60
|
@media (min-width: 1020px){
|
|
61
|
-
body.magritte-old-layout .magritte-form-label___Yzcxs_3-
|
|
61
|
+
body.magritte-old-layout .magritte-form-label___Yzcxs_3-3-0:hover:not(:disabled):not(:active){
|
|
62
62
|
color:var(--magritte-color-component-form-label-text-state-content-hovered-v18-1-1);
|
|
63
63
|
--magritte-ui-icon-color-override:var(--magritte-color-component-form-label-icon-state-content-hovered-v18-1-1);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
@media (min-width: 1024px){
|
|
67
|
-
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_3-
|
|
67
|
+
body:not(.magritte-old-layout) .magritte-form-label___Yzcxs_3-3-0:hover:not(:disabled):not(:active){
|
|
68
68
|
color:var(--magritte-color-component-form-label-text-state-content-hovered-v18-1-1);
|
|
69
69
|
--magritte-ui-icon-color-override:var(--magritte-color-component-form-label-icon-state-content-hovered-v18-1-1);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
.magritte-form-label__counter___a2cSH_3-
|
|
72
|
+
.magritte-form-label__counter___a2cSH_3-3-0{
|
|
73
73
|
--magritte-counter-label-color:var(--magritte-color-component-form-label-counter-content-v18-1-1);
|
|
74
74
|
}
|
|
75
|
-
.magritte-form-label_disabled___rq0Rq_3-
|
|
75
|
+
.magritte-form-label_disabled___rq0Rq_3-3-0{
|
|
76
76
|
color:var(--magritte-color-component-form-label-text-state-content-disabled-v18-1-1);
|
|
77
77
|
--magritte-ui-icon-color-override:var(--magritte-color-component-form-label-icon-state-content-disabled-v18-1-1);
|
|
78
78
|
}
|
|
79
|
-
.magritte-form-label_disabled___rq0Rq_3-
|
|
79
|
+
.magritte-form-label_disabled___rq0Rq_3-3-0 .magritte-form-label__counter___a2cSH_3-3-0{
|
|
80
80
|
--magritte-counter-label-color:var(--magritte-color-component-form-label-counter-state-content-disabled-v18-1-1);
|
|
81
81
|
}
|
|
82
|
-
.magritte-form-label__icon___H57oS_3-
|
|
82
|
+
.magritte-form-label__icon___H57oS_3-3-0{
|
|
83
83
|
display:inline-flex;
|
|
84
84
|
align-items:center;
|
|
85
85
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-form-label",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"@hh.ru/magritte-design-tokens": "18.1.1",
|
|
26
26
|
"@hh.ru/magritte-types": "4.0.1",
|
|
27
27
|
"@hh.ru/magritte-ui-action": "4.3.4",
|
|
28
|
-
"@hh.ru/magritte-ui-bottom-sheet": "4.1.
|
|
28
|
+
"@hh.ru/magritte-ui-bottom-sheet": "4.1.24",
|
|
29
29
|
"@hh.ru/magritte-ui-breakpoint": "4.0.1",
|
|
30
30
|
"@hh.ru/magritte-ui-counter": "4.0.8",
|
|
31
31
|
"@hh.ru/magritte-ui-icon": "7.1.4",
|
|
32
32
|
"@hh.ru/magritte-ui-mock-component": "1.0.10",
|
|
33
33
|
"@hh.ru/magritte-ui-navigation-bar": "4.1.9",
|
|
34
34
|
"@hh.ru/magritte-ui-theme-provider": "1.1.21",
|
|
35
|
-
"@hh.ru/magritte-ui-tooltip": "6.0
|
|
35
|
+
"@hh.ru/magritte-ui-tooltip": "6.1.0",
|
|
36
36
|
"@hh.ru/magritte-ui-typography": "3.0.8"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "f389886d54baa53831572063d657dd243480424e"
|
|
46
46
|
}
|