@alfalab/core-components-calendar-with-skeleton 4.5.2 → 5.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/Component.js +1 -1
- package/esm/Component.js +1 -1
- package/esm/index.css +12 -12
- package/index.css +12 -12
- package/modern/Component.js +1 -1
- package/modern/index.css +12 -12
- package/package.json +3 -3
package/Component.js
CHANGED
|
@@ -52,7 +52,7 @@ function __rest(s, e) {
|
|
|
52
52
|
return t;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
var styles = {"component":"calendar-with-
|
|
55
|
+
var styles = {"component":"calendar-with-skeleton__component_uag9k","calendarVisible":"calendar-with-skeleton__calendarVisible_uag9k","skeleton":"calendar-with-skeleton__skeleton_uag9k","header":"calendar-with-skeleton__header_uag9k","weekDays":"calendar-with-skeleton__weekDays_uag9k","row":"calendar-with-skeleton__row_uag9k","enter":"calendar-with-skeleton__enter_uag9k","enterActive":"calendar-with-skeleton__enterActive_uag9k","exit":"calendar-with-skeleton__exit_uag9k","exitActive":"calendar-with-skeleton__exitActive_uag9k"};
|
|
56
56
|
require('./index.css')
|
|
57
57
|
|
|
58
58
|
var CalendarWithSkeleton = React.forwardRef(function (_a, ref) {
|
package/esm/Component.js
CHANGED
|
@@ -43,7 +43,7 @@ function __rest(s, e) {
|
|
|
43
43
|
return t;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
var styles = {"component":"calendar-with-
|
|
46
|
+
var styles = {"component":"calendar-with-skeleton__component_uag9k","calendarVisible":"calendar-with-skeleton__calendarVisible_uag9k","skeleton":"calendar-with-skeleton__skeleton_uag9k","header":"calendar-with-skeleton__header_uag9k","weekDays":"calendar-with-skeleton__weekDays_uag9k","row":"calendar-with-skeleton__row_uag9k","enter":"calendar-with-skeleton__enter_uag9k","enterActive":"calendar-with-skeleton__enterActive_uag9k","exit":"calendar-with-skeleton__exit_uag9k","exitActive":"calendar-with-skeleton__exitActive_uag9k"};
|
|
47
47
|
require('./index.css')
|
|
48
48
|
|
|
49
49
|
var CalendarWithSkeleton = forwardRef(function (_a, ref) {
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 13j6w */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
}
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
--gap-m: 16px;
|
|
15
15
|
--gap-l: 20px;
|
|
16
16
|
}
|
|
17
|
-
.calendar-with-
|
|
17
|
+
.calendar-with-skeleton__component_uag9k {
|
|
18
18
|
width: var(--calendar-width);
|
|
19
19
|
height: var(--calendar-height);
|
|
20
20
|
position: relative;
|
|
21
21
|
}
|
|
22
|
-
.calendar-with-
|
|
22
|
+
.calendar-with-skeleton__calendarVisible_uag9k {
|
|
23
23
|
height: auto;
|
|
24
24
|
}
|
|
25
|
-
.calendar-with-
|
|
25
|
+
.calendar-with-skeleton__skeleton_uag9k {
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
padding: var(--gap-m);
|
|
@@ -37,25 +37,25 @@
|
|
|
37
37
|
background-color: var(--color-light-bg-primary);
|
|
38
38
|
background-clip: content-box;
|
|
39
39
|
}
|
|
40
|
-
.calendar-with-
|
|
40
|
+
.calendar-with-skeleton__header_uag9k {
|
|
41
41
|
height: 48px;
|
|
42
42
|
margin-bottom: var(--gap-l);
|
|
43
43
|
}
|
|
44
|
-
.calendar-with-
|
|
44
|
+
.calendar-with-skeleton__weekDays_uag9k {
|
|
45
45
|
height: 12px;
|
|
46
46
|
margin-bottom: var(--gap-m);
|
|
47
47
|
}
|
|
48
|
-
.calendar-with-
|
|
48
|
+
.calendar-with-skeleton__row_uag9k {
|
|
49
49
|
height: 32px
|
|
50
50
|
}
|
|
51
|
-
.calendar-with-
|
|
51
|
+
.calendar-with-skeleton__row_uag9k + .calendar-with-skeleton__row_uag9k {
|
|
52
52
|
margin-top: 10px;
|
|
53
53
|
}
|
|
54
|
-
.calendar-with-
|
|
55
|
-
.calendar-with-
|
|
56
|
-
.calendar-with-
|
|
54
|
+
.calendar-with-skeleton__enter_uag9k,
|
|
55
|
+
.calendar-with-skeleton__enterActive_uag9k,
|
|
56
|
+
.calendar-with-skeleton__exit_uag9k {
|
|
57
57
|
opacity: 1;
|
|
58
58
|
}
|
|
59
|
-
.calendar-with-
|
|
59
|
+
.calendar-with-skeleton__exitActive_uag9k {
|
|
60
60
|
opacity: 0;
|
|
61
61
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 13j6w */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
}
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
--gap-m: 16px;
|
|
15
15
|
--gap-l: 20px;
|
|
16
16
|
}
|
|
17
|
-
.calendar-with-
|
|
17
|
+
.calendar-with-skeleton__component_uag9k {
|
|
18
18
|
width: var(--calendar-width);
|
|
19
19
|
height: var(--calendar-height);
|
|
20
20
|
position: relative;
|
|
21
21
|
}
|
|
22
|
-
.calendar-with-
|
|
22
|
+
.calendar-with-skeleton__calendarVisible_uag9k {
|
|
23
23
|
height: auto;
|
|
24
24
|
}
|
|
25
|
-
.calendar-with-
|
|
25
|
+
.calendar-with-skeleton__skeleton_uag9k {
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
padding: var(--gap-m);
|
|
@@ -37,25 +37,25 @@
|
|
|
37
37
|
background-color: var(--color-light-bg-primary);
|
|
38
38
|
background-clip: content-box;
|
|
39
39
|
}
|
|
40
|
-
.calendar-with-
|
|
40
|
+
.calendar-with-skeleton__header_uag9k {
|
|
41
41
|
height: 48px;
|
|
42
42
|
margin-bottom: var(--gap-l);
|
|
43
43
|
}
|
|
44
|
-
.calendar-with-
|
|
44
|
+
.calendar-with-skeleton__weekDays_uag9k {
|
|
45
45
|
height: 12px;
|
|
46
46
|
margin-bottom: var(--gap-m);
|
|
47
47
|
}
|
|
48
|
-
.calendar-with-
|
|
48
|
+
.calendar-with-skeleton__row_uag9k {
|
|
49
49
|
height: 32px
|
|
50
50
|
}
|
|
51
|
-
.calendar-with-
|
|
51
|
+
.calendar-with-skeleton__row_uag9k + .calendar-with-skeleton__row_uag9k {
|
|
52
52
|
margin-top: 10px;
|
|
53
53
|
}
|
|
54
|
-
.calendar-with-
|
|
55
|
-
.calendar-with-
|
|
56
|
-
.calendar-with-
|
|
54
|
+
.calendar-with-skeleton__enter_uag9k,
|
|
55
|
+
.calendar-with-skeleton__enterActive_uag9k,
|
|
56
|
+
.calendar-with-skeleton__exit_uag9k {
|
|
57
57
|
opacity: 1;
|
|
58
58
|
}
|
|
59
|
-
.calendar-with-
|
|
59
|
+
.calendar-with-skeleton__exitActive_uag9k {
|
|
60
60
|
opacity: 0;
|
|
61
61
|
}
|
package/modern/Component.js
CHANGED
|
@@ -4,7 +4,7 @@ import { CSSTransition } from 'react-transition-group';
|
|
|
4
4
|
import { Skeleton } from '@alfalab/core-components-skeleton/modern';
|
|
5
5
|
import { Calendar } from '@alfalab/core-components-calendar/modern';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"calendar-with-
|
|
7
|
+
var styles = {"component":"calendar-with-skeleton__component_uag9k","calendarVisible":"calendar-with-skeleton__calendarVisible_uag9k","skeleton":"calendar-with-skeleton__skeleton_uag9k","header":"calendar-with-skeleton__header_uag9k","weekDays":"calendar-with-skeleton__weekDays_uag9k","row":"calendar-with-skeleton__row_uag9k","enter":"calendar-with-skeleton__enter_uag9k","enterActive":"calendar-with-skeleton__enterActive_uag9k","exit":"calendar-with-skeleton__exit_uag9k","exitActive":"calendar-with-skeleton__exitActive_uag9k"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const CalendarWithSkeleton = forwardRef(({ calendarVisible = true, animate = true, className, ...restProps }, ref) => {
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 13j6w */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
}
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
--gap-m: 16px;
|
|
15
15
|
--gap-l: 20px;
|
|
16
16
|
}
|
|
17
|
-
.calendar-with-
|
|
17
|
+
.calendar-with-skeleton__component_uag9k {
|
|
18
18
|
width: var(--calendar-width);
|
|
19
19
|
height: var(--calendar-height);
|
|
20
20
|
position: relative;
|
|
21
21
|
}
|
|
22
|
-
.calendar-with-
|
|
22
|
+
.calendar-with-skeleton__calendarVisible_uag9k {
|
|
23
23
|
height: auto;
|
|
24
24
|
}
|
|
25
|
-
.calendar-with-
|
|
25
|
+
.calendar-with-skeleton__skeleton_uag9k {
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
padding: var(--gap-m);
|
|
@@ -37,25 +37,25 @@
|
|
|
37
37
|
background-color: var(--color-light-bg-primary);
|
|
38
38
|
background-clip: content-box;
|
|
39
39
|
}
|
|
40
|
-
.calendar-with-
|
|
40
|
+
.calendar-with-skeleton__header_uag9k {
|
|
41
41
|
height: 48px;
|
|
42
42
|
margin-bottom: var(--gap-l);
|
|
43
43
|
}
|
|
44
|
-
.calendar-with-
|
|
44
|
+
.calendar-with-skeleton__weekDays_uag9k {
|
|
45
45
|
height: 12px;
|
|
46
46
|
margin-bottom: var(--gap-m);
|
|
47
47
|
}
|
|
48
|
-
.calendar-with-
|
|
48
|
+
.calendar-with-skeleton__row_uag9k {
|
|
49
49
|
height: 32px
|
|
50
50
|
}
|
|
51
|
-
.calendar-with-
|
|
51
|
+
.calendar-with-skeleton__row_uag9k + .calendar-with-skeleton__row_uag9k {
|
|
52
52
|
margin-top: 10px;
|
|
53
53
|
}
|
|
54
|
-
.calendar-with-
|
|
55
|
-
.calendar-with-
|
|
56
|
-
.calendar-with-
|
|
54
|
+
.calendar-with-skeleton__enter_uag9k,
|
|
55
|
+
.calendar-with-skeleton__enterActive_uag9k,
|
|
56
|
+
.calendar-with-skeleton__exit_uag9k {
|
|
57
57
|
opacity: 1;
|
|
58
58
|
}
|
|
59
|
-
.calendar-with-
|
|
59
|
+
.calendar-with-skeleton__exitActive_uag9k {
|
|
60
60
|
opacity: 0;
|
|
61
61
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-calendar-with-skeleton",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "CalendarWithSkeleton component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@alfalab/core-components-calendar": "^
|
|
22
|
-
"@alfalab/core-components-skeleton": "^
|
|
21
|
+
"@alfalab/core-components-calendar": "^6.0.1",
|
|
22
|
+
"@alfalab/core-components-skeleton": "^4.0.1",
|
|
23
23
|
"classnames": "^2.3.1",
|
|
24
24
|
"react-transition-group": "^4.4.1"
|
|
25
25
|
}
|