@alfalab/core-components-calendar-with-skeleton 4.4.5 → 4.5.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/CHANGELOG.md +43 -0
- 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 +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,49 @@
|
|
|
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
|
+
# [4.5.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-with-skeleton@4.4.9...@alfalab/core-components-calendar-with-skeleton@4.5.0) (2022-08-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* react 18 support ([#159](https://github.com/core-ds/core-components/issues/159)) ([2e6693c](https://github.com/core-ds/core-components/commit/2e6693c62f534e333aadb7d3fff4ffd78ac84c63))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [4.4.9](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-with-skeleton@4.4.8...@alfalab/core-components-calendar-with-skeleton@4.4.9) (2022-07-25)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @alfalab/core-components-calendar-with-skeleton
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [4.4.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-with-skeleton@4.4.7...@alfalab/core-components-calendar-with-skeleton@4.4.8) (2022-07-18)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @alfalab/core-components-calendar-with-skeleton
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [4.4.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-with-skeleton@4.4.6...@alfalab/core-components-calendar-with-skeleton@4.4.7) (2022-07-18)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @alfalab/core-components-calendar-with-skeleton
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [4.4.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-with-skeleton@4.4.5...@alfalab/core-components-calendar-with-skeleton@4.4.6) (2022-07-15)
|
|
42
|
+
|
|
43
|
+
**Note:** Version bump only for package @alfalab/core-components-calendar-with-skeleton
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
6
49
|
## [4.4.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-with-skeleton@4.4.4...@alfalab/core-components-calendar-with-skeleton@4.4.5) (2022-07-15)
|
|
7
50
|
|
|
8
51
|
|
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_pg1bl","calendarVisible":"calendar-with-skeleton__calendarVisible_pg1bl","skeleton":"calendar-with-skeleton__skeleton_pg1bl","header":"calendar-with-skeleton__header_pg1bl","weekDays":"calendar-with-skeleton__weekDays_pg1bl","row":"calendar-with-skeleton__row_pg1bl","enter":"calendar-with-skeleton__enter_pg1bl","enterActive":"calendar-with-skeleton__enterActive_pg1bl","exit":"calendar-with-skeleton__exit_pg1bl","exitActive":"calendar-with-skeleton__exitActive_pg1bl"};
|
|
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_pg1bl","calendarVisible":"calendar-with-skeleton__calendarVisible_pg1bl","skeleton":"calendar-with-skeleton__skeleton_pg1bl","header":"calendar-with-skeleton__header_pg1bl","weekDays":"calendar-with-skeleton__weekDays_pg1bl","row":"calendar-with-skeleton__row_pg1bl","enter":"calendar-with-skeleton__enter_pg1bl","enterActive":"calendar-with-skeleton__enterActive_pg1bl","exit":"calendar-with-skeleton__exit_pg1bl","exitActive":"calendar-with-skeleton__exitActive_pg1bl"};
|
|
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: 1us61 */
|
|
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_pg1bl {
|
|
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_pg1bl {
|
|
23
23
|
height: auto;
|
|
24
24
|
}
|
|
25
|
-
.calendar-with-
|
|
25
|
+
.calendar-with-skeleton__skeleton_pg1bl {
|
|
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_pg1bl {
|
|
41
41
|
height: 48px;
|
|
42
42
|
margin-bottom: var(--gap-l);
|
|
43
43
|
}
|
|
44
|
-
.calendar-with-
|
|
44
|
+
.calendar-with-skeleton__weekDays_pg1bl {
|
|
45
45
|
height: 12px;
|
|
46
46
|
margin-bottom: var(--gap-m);
|
|
47
47
|
}
|
|
48
|
-
.calendar-with-
|
|
48
|
+
.calendar-with-skeleton__row_pg1bl {
|
|
49
49
|
height: 32px
|
|
50
50
|
}
|
|
51
|
-
.calendar-with-
|
|
51
|
+
.calendar-with-skeleton__row_pg1bl + .calendar-with-skeleton__row_pg1bl {
|
|
52
52
|
margin-top: 10px;
|
|
53
53
|
}
|
|
54
|
-
.calendar-with-
|
|
55
|
-
.calendar-with-
|
|
56
|
-
.calendar-with-
|
|
54
|
+
.calendar-with-skeleton__enter_pg1bl,
|
|
55
|
+
.calendar-with-skeleton__enterActive_pg1bl,
|
|
56
|
+
.calendar-with-skeleton__exit_pg1bl {
|
|
57
57
|
opacity: 1;
|
|
58
58
|
}
|
|
59
|
-
.calendar-with-
|
|
59
|
+
.calendar-with-skeleton__exitActive_pg1bl {
|
|
60
60
|
opacity: 0;
|
|
61
61
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1us61 */
|
|
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_pg1bl {
|
|
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_pg1bl {
|
|
23
23
|
height: auto;
|
|
24
24
|
}
|
|
25
|
-
.calendar-with-
|
|
25
|
+
.calendar-with-skeleton__skeleton_pg1bl {
|
|
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_pg1bl {
|
|
41
41
|
height: 48px;
|
|
42
42
|
margin-bottom: var(--gap-l);
|
|
43
43
|
}
|
|
44
|
-
.calendar-with-
|
|
44
|
+
.calendar-with-skeleton__weekDays_pg1bl {
|
|
45
45
|
height: 12px;
|
|
46
46
|
margin-bottom: var(--gap-m);
|
|
47
47
|
}
|
|
48
|
-
.calendar-with-
|
|
48
|
+
.calendar-with-skeleton__row_pg1bl {
|
|
49
49
|
height: 32px
|
|
50
50
|
}
|
|
51
|
-
.calendar-with-
|
|
51
|
+
.calendar-with-skeleton__row_pg1bl + .calendar-with-skeleton__row_pg1bl {
|
|
52
52
|
margin-top: 10px;
|
|
53
53
|
}
|
|
54
|
-
.calendar-with-
|
|
55
|
-
.calendar-with-
|
|
56
|
-
.calendar-with-
|
|
54
|
+
.calendar-with-skeleton__enter_pg1bl,
|
|
55
|
+
.calendar-with-skeleton__enterActive_pg1bl,
|
|
56
|
+
.calendar-with-skeleton__exit_pg1bl {
|
|
57
57
|
opacity: 1;
|
|
58
58
|
}
|
|
59
|
-
.calendar-with-
|
|
59
|
+
.calendar-with-skeleton__exitActive_pg1bl {
|
|
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_pg1bl","calendarVisible":"calendar-with-skeleton__calendarVisible_pg1bl","skeleton":"calendar-with-skeleton__skeleton_pg1bl","header":"calendar-with-skeleton__header_pg1bl","weekDays":"calendar-with-skeleton__weekDays_pg1bl","row":"calendar-with-skeleton__row_pg1bl","enter":"calendar-with-skeleton__enter_pg1bl","enterActive":"calendar-with-skeleton__enterActive_pg1bl","exit":"calendar-with-skeleton__exit_pg1bl","exitActive":"calendar-with-skeleton__exitActive_pg1bl"};
|
|
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: 1us61 */
|
|
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_pg1bl {
|
|
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_pg1bl {
|
|
23
23
|
height: auto;
|
|
24
24
|
}
|
|
25
|
-
.calendar-with-
|
|
25
|
+
.calendar-with-skeleton__skeleton_pg1bl {
|
|
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_pg1bl {
|
|
41
41
|
height: 48px;
|
|
42
42
|
margin-bottom: var(--gap-l);
|
|
43
43
|
}
|
|
44
|
-
.calendar-with-
|
|
44
|
+
.calendar-with-skeleton__weekDays_pg1bl {
|
|
45
45
|
height: 12px;
|
|
46
46
|
margin-bottom: var(--gap-m);
|
|
47
47
|
}
|
|
48
|
-
.calendar-with-
|
|
48
|
+
.calendar-with-skeleton__row_pg1bl {
|
|
49
49
|
height: 32px
|
|
50
50
|
}
|
|
51
|
-
.calendar-with-
|
|
51
|
+
.calendar-with-skeleton__row_pg1bl + .calendar-with-skeleton__row_pg1bl {
|
|
52
52
|
margin-top: 10px;
|
|
53
53
|
}
|
|
54
|
-
.calendar-with-
|
|
55
|
-
.calendar-with-
|
|
56
|
-
.calendar-with-
|
|
54
|
+
.calendar-with-skeleton__enter_pg1bl,
|
|
55
|
+
.calendar-with-skeleton__enterActive_pg1bl,
|
|
56
|
+
.calendar-with-skeleton__exit_pg1bl {
|
|
57
57
|
opacity: 1;
|
|
58
58
|
}
|
|
59
|
-
.calendar-with-
|
|
59
|
+
.calendar-with-skeleton__exitActive_pg1bl {
|
|
60
60
|
opacity: 0;
|
|
61
61
|
}
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-calendar-with-skeleton",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "CalendarWithSkeleton component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "./esm/index.js",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"postinstall": "node ./send-stats.js
|
|
10
|
+
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
11
11
|
},
|
|
12
12
|
"publishConfig": {
|
|
13
13
|
"access": "public",
|
|
14
14
|
"directory": "dist"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"react": "^16.9.0 || ^17.0.1",
|
|
18
|
-
"react-dom": "^16.9.0 || ^17.0.1"
|
|
17
|
+
"react": "^16.9.0 || ^17.0.1 || ^18.0.0",
|
|
18
|
+
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@alfalab/core-components-calendar": "^5.
|
|
22
|
-
"@alfalab/core-components-skeleton": "^3.
|
|
23
|
-
"classnames": "^2.
|
|
21
|
+
"@alfalab/core-components-calendar": "^5.6.0",
|
|
22
|
+
"@alfalab/core-components-skeleton": "^3.3.0",
|
|
23
|
+
"classnames": "^2.3.1",
|
|
24
24
|
"react-transition-group": "^4.4.1"
|
|
25
25
|
}
|
|
26
26
|
}
|