@snack-uikit/calendar 0.7.9 → 0.7.10
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.7.10 (2024-07-19)
|
|
7
|
+
|
|
8
|
+
### Only dependencies have been changed
|
|
9
|
+
* [@snack-uikit/icons@0.22.0](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/icons/CHANGELOG.md)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## 0.7.9 (2024-05-08)
|
|
7
16
|
|
|
8
17
|
### Only dependencies have been changed
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
flex-direction:row;
|
|
4
4
|
align-items:center;
|
|
5
5
|
justify-content:center;
|
|
6
|
-
color:var(--sys-neutral-text-main, #
|
|
6
|
+
color:var(--sys-neutral-text-main, #33343f);
|
|
7
7
|
background:none;
|
|
8
8
|
border:none;
|
|
9
9
|
}
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
cursor:pointer;
|
|
12
12
|
}
|
|
13
13
|
.button:not(:disabled):hover, .button:not(:disabled):focus-visible{
|
|
14
|
-
background-color:color-with-opacity(var(--sys-neutral-accent-default, #
|
|
14
|
+
background-color:color-with-opacity(var(--sys-neutral-accent-default, #787b8a), var(--opacity-a008, 0.08));
|
|
15
15
|
}
|
|
16
16
|
.button:not(:disabled):focus-visible{
|
|
17
17
|
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
18
18
|
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
19
19
|
outline-color:var(--border-state-focus-s-border-color, );
|
|
20
20
|
outline-offset:calc(var(--border-state-focus-s-border-width, 2px) * -1);
|
|
21
|
-
outline-color:var(--sys-available-complementary, #
|
|
21
|
+
outline-color:var(--sys-available-complementary, #15151b);
|
|
22
22
|
}
|
|
23
23
|
.button[data-size=s]{
|
|
24
24
|
height:var(--size-calendar-button-s, 32px);
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
font-weight:var(--sans-label-s-font-weight, Semibold);
|
|
31
31
|
line-height:var(--sans-label-s-line-height, 14px);
|
|
32
32
|
font-size:var(--sans-label-s-font-size, 11px);
|
|
33
|
-
letter-spacing:var(--sans-label-s-letter-spacing,
|
|
33
|
+
letter-spacing:var(--sans-label-s-letter-spacing, 0px);
|
|
34
34
|
paragraph-spacing:var(--sans-label-s-paragraph-spacing, 6.05px);
|
|
35
35
|
}
|
|
36
36
|
.button[data-size=m]{
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
font-weight:var(--sans-label-m-font-weight, Semibold);
|
|
44
44
|
line-height:var(--sans-label-m-line-height, 16px);
|
|
45
45
|
font-size:var(--sans-label-m-font-size, 12px);
|
|
46
|
-
letter-spacing:var(--sans-label-m-letter-spacing,
|
|
46
|
+
letter-spacing:var(--sans-label-m-letter-spacing, 0px);
|
|
47
47
|
paragraph-spacing:var(--sans-label-m-paragraph-spacing, 6.6px);
|
|
48
48
|
}
|
|
49
49
|
.button[data-size=l]{
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
font-weight:var(--sans-label-l-font-weight, Semibold);
|
|
57
57
|
line-height:var(--sans-label-l-line-height, 20px);
|
|
58
58
|
font-size:var(--sans-label-l-font-size, 14px);
|
|
59
|
-
letter-spacing:var(--sans-label-l-letter-spacing,
|
|
59
|
+
letter-spacing:var(--sans-label-l-letter-spacing, 0px);
|
|
60
60
|
paragraph-spacing:var(--sans-label-l-paragraph-spacing, 7.7px);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.icon{
|
|
64
64
|
display:inline-flex;
|
|
65
|
-
color:var(--sys-neutral-text-light, #
|
|
65
|
+
color:var(--sys-neutral-text-light, #8b8e9b);
|
|
66
66
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
width:100%;
|
|
60
60
|
height:100%;
|
|
61
61
|
padding:0;
|
|
62
|
-
color:var(--sys-neutral-text-light, #
|
|
62
|
+
color:var(--sys-neutral-text-light, #8b8e9b);
|
|
63
63
|
-webkit-appearance:none;
|
|
64
64
|
-moz-appearance:none;
|
|
65
65
|
appearance:none;
|
|
@@ -75,18 +75,18 @@
|
|
|
75
75
|
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
76
76
|
outline-color:var(--border-state-focus-s-border-color, );
|
|
77
77
|
outline-offset:calc(var(--border-state-focus-s-border-width, 2px) * -1);
|
|
78
|
-
outline-color:var(--sys-available-complementary, #
|
|
78
|
+
outline-color:var(--sys-available-complementary, #15151b);
|
|
79
79
|
}
|
|
80
80
|
.button[data-is-in-current-level-period]{
|
|
81
|
-
color:var(--sys-neutral-text-main, #
|
|
81
|
+
color:var(--sys-neutral-text-main, #33343f);
|
|
82
82
|
}
|
|
83
83
|
.button[data-is-in-current-level-period][data-is-holiday]{
|
|
84
84
|
color:var(--sys-red-accent-default, #cd3c3c);
|
|
85
85
|
}
|
|
86
86
|
.button[data-is-disabled]{
|
|
87
87
|
cursor:not-allowed;
|
|
88
|
-
color:var(--sys-neutral-text-disabled, #
|
|
89
|
-
background-color:var(--sys-neutral-background, #
|
|
88
|
+
color:var(--sys-neutral-text-disabled, #aaaebd);
|
|
89
|
+
background-color:var(--sys-neutral-background, #eeeff3);
|
|
90
90
|
}
|
|
91
91
|
.button[data-is-disabled] .marker{
|
|
92
92
|
background-color:currentColor;
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
background-color:var(--sys-primary-on-accent, #fdfbff);
|
|
111
111
|
}
|
|
112
112
|
.button[data-is-selected]:hover, .button[data-is-selected]:focus-visible{
|
|
113
|
-
color:var(--sys-neutral-text-main, #
|
|
113
|
+
color:var(--sys-neutral-text-main, #33343f);
|
|
114
114
|
}
|
|
115
115
|
.button[data-is-selected]:hover .marker, .button[data-is-selected]:focus-visible .marker{
|
|
116
116
|
background-color:var(--sys-primary-accent-default, #794ed3);
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
background-color:color-mix(in srgb, var(--sys-primary-accent-default, #794ed3), var(--sys-primary-decor-default, #ebdefd) calc((1 - var(--opacity-a016, 0.16)) * 100%));
|
|
120
120
|
}
|
|
121
121
|
.button:hover:not([data-is-selected]):not([data-is-disabled]) .box, .button:focus-visible:not([data-is-selected]):not([data-is-disabled]) .box{
|
|
122
|
-
background-color:color-mix(in srgb, var(--sys-neutral-accent-default, #
|
|
122
|
+
background-color:color-mix(in srgb, var(--sys-neutral-accent-default, #787b8a), var(--sys-neutral-background2-level, #ffffff) calc((1 - var(--opacity-a016, 0.16)) * 100%));
|
|
123
123
|
}
|
|
124
124
|
.button:hover:not([data-is-selected]):not([data-is-disabled]) .range + .box, .button:focus-visible:not([data-is-selected]):not([data-is-disabled]) .range + .box{
|
|
125
125
|
background-color:color-mix(in srgb, var(--sys-primary-accent-default, #794ed3), var(--sys-primary-decor-default, #ebdefd) calc((1 - var(--opacity-a016, 0.16)) * 100%));
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Calendar",
|
|
7
|
-
"version": "0.7.
|
|
7
|
+
"version": "0.7.10",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"scripts": {},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@snack-uikit/icons": "0.
|
|
35
|
+
"@snack-uikit/icons": "0.22.0",
|
|
36
36
|
"@snack-uikit/utils": "3.3.0",
|
|
37
37
|
"classnames": "2.3.2",
|
|
38
38
|
"uncontrollable": "8.0.2",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@snack-uikit/locale": "*"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "4c153b54a2902cf20883d85b4dc753344313c6cb"
|
|
45
45
|
}
|