@alfalab/core-components-drawer 3.3.0 → 3.3.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/CHANGELOG.md +11 -0
- package/{Component.d.ts → dist/Component.d.ts} +0 -0
- package/{Component.js → dist/Component.js} +1 -1
- package/{cssm → dist/cssm}/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/Component.js +1 -1
- package/{cssm → dist/cssm}/index.d.ts +0 -0
- package/{cssm → dist/cssm}/index.js +1 -1
- package/{cssm → dist/cssm}/index.module.css +0 -0
- package/{esm → dist/esm}/Component.d.ts +0 -0
- package/{esm → dist/esm}/Component.js +2 -2
- package/{esm → dist/esm}/index.css +16 -16
- package/{esm → dist/esm}/index.d.ts +0 -0
- package/{esm → dist/esm}/index.js +1 -1
- package/{index.css → dist/index.css} +16 -16
- package/{index.d.ts → dist/index.d.ts} +0 -0
- package/{index.js → dist/index.js} +0 -0
- package/{modern → dist/modern}/Component.d.ts +0 -0
- package/{modern → dist/modern}/Component.js +2 -2
- package/{modern → dist/modern}/index.css +16 -16
- package/{modern → dist/modern}/index.d.ts +0 -0
- package/{modern → dist/modern}/index.js +1 -1
- package/{send-stats.js → dist/send-stats.js} +0 -0
- package/package.json +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
## [3.3.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-drawer@3.3.0...@alfalab/core-components-drawer@3.3.1) (2022-08-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* returned dist directory ([#199](https://github.com/core-ds/core-components/issues/199)) ([fabc15e](https://github.com/core-ds/core-components/commit/fabc15effa1457ca65ec7238206f1b1fc2a2a613))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-drawer@3.2.8...@alfalab/core-components-drawer@3.3.0) (2022-08-04)
|
|
7
18
|
|
|
8
19
|
|
|
File without changes
|
|
@@ -51,7 +51,7 @@ function __rest(s, e) {
|
|
|
51
51
|
return t;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
var styles = {"component":"
|
|
54
|
+
var styles = {"component":"drawer__component_7pwix","content":"drawer__content_7pwix","enter":"drawer__enter_7pwix","contentEnter":"drawer__contentEnter_7pwix","backdropEnter":"drawer__backdropEnter_7pwix","enterActive":"drawer__enterActive_7pwix","backdropEnterActive":"drawer__backdropEnterActive_7pwix","backdropEnterDone":"drawer__backdropEnterDone_7pwix","contentEnterActive":"drawer__contentEnterActive_7pwix","exit":"drawer__exit_7pwix","backdropExit":"drawer__backdropExit_7pwix","contentExit":"drawer__contentExit_7pwix","exitActive":"drawer__exitActive_7pwix","backdropExitActive":"drawer__backdropExitActive_7pwix","backdropExitDone":"drawer__backdropExitDone_7pwix","contentExitActive":"drawer__contentExitActive_7pwix"};
|
|
55
55
|
require('./index.css')
|
|
56
56
|
|
|
57
57
|
var ANIMATION_DURATION = 600;
|
|
File without changes
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var reactTransitionGroup = require('react-transition-group');
|
|
7
7
|
var cn = require('classnames');
|
|
8
|
-
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal/cssm');
|
|
8
|
+
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal/dist/cssm');
|
|
9
9
|
var styles = require('./index.module.css');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
File without changes
|
|
@@ -6,7 +6,7 @@ var Component = require('./Component.js');
|
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-transition-group');
|
|
8
8
|
require('classnames');
|
|
9
|
-
require('@alfalab/core-components-base-modal/cssm');
|
|
9
|
+
require('@alfalab/core-components-base-modal/dist/cssm');
|
|
10
10
|
require('./index.module.css');
|
|
11
11
|
|
|
12
12
|
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef, useMemo } from 'react';
|
|
2
2
|
import { CSSTransition } from 'react-transition-group';
|
|
3
3
|
import cn from 'classnames';
|
|
4
|
-
import { BaseModalContext, BaseModal } from '@alfalab/core-components-base-modal/esm';
|
|
4
|
+
import { BaseModalContext, BaseModal } from '@alfalab/core-components-base-modal/dist/esm';
|
|
5
5
|
|
|
6
6
|
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
@@ -42,7 +42,7 @@ function __rest(s, e) {
|
|
|
42
42
|
return t;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
var styles = {"component":"
|
|
45
|
+
var styles = {"component":"drawer__component_7pwix","content":"drawer__content_7pwix","enter":"drawer__enter_7pwix","contentEnter":"drawer__contentEnter_7pwix","backdropEnter":"drawer__backdropEnter_7pwix","enterActive":"drawer__enterActive_7pwix","backdropEnterActive":"drawer__backdropEnterActive_7pwix","backdropEnterDone":"drawer__backdropEnterDone_7pwix","contentEnterActive":"drawer__contentEnterActive_7pwix","exit":"drawer__exit_7pwix","backdropExit":"drawer__backdropExit_7pwix","contentExit":"drawer__contentExit_7pwix","exitActive":"drawer__exitActive_7pwix","backdropExitActive":"drawer__backdropExitActive_7pwix","backdropExitDone":"drawer__backdropExitDone_7pwix","contentExitActive":"drawer__contentExitActive_7pwix"};
|
|
46
46
|
require('./index.css')
|
|
47
47
|
|
|
48
48
|
var ANIMATION_DURATION = 600;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
:root {
|
|
18
18
|
--drawer-width: 500px;
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.drawer__component_7pwix {
|
|
21
21
|
position: fixed;
|
|
22
22
|
top: 0;
|
|
23
23
|
right: 0;
|
|
@@ -28,55 +28,55 @@
|
|
|
28
28
|
overflow: auto;
|
|
29
29
|
will-change: transform;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.drawer__content_7pwix {
|
|
32
32
|
width: 100%;
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
flex: 1;
|
|
36
36
|
}
|
|
37
37
|
/* enter */
|
|
38
|
-
.
|
|
38
|
+
.drawer__enter_7pwix {
|
|
39
39
|
transform: translateX(100%);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.drawer__contentEnter_7pwix {
|
|
42
42
|
opacity: 0;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.drawer__backdropEnter_7pwix {
|
|
45
45
|
background-color: var(--backdrop-hidden-background);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.drawer__enterActive_7pwix {
|
|
48
48
|
transition: transform 0.3s ease-in-out;
|
|
49
49
|
transform: translateX(0);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
52
|
-
.
|
|
51
|
+
.drawer__backdropEnterActive_7pwix,
|
|
52
|
+
.drawer__backdropEnterDone_7pwix {
|
|
53
53
|
transition: background 0.3s ease-in-out;
|
|
54
54
|
background-color: var(--backdrop-visible-background);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.drawer__contentEnterActive_7pwix {
|
|
57
57
|
transition: opacity 0.2s ease-in-out 0.3s;
|
|
58
58
|
opacity: 1;
|
|
59
59
|
}
|
|
60
60
|
/* exit */
|
|
61
|
-
.
|
|
61
|
+
.drawer__exit_7pwix {
|
|
62
62
|
transform: translateX(0);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.drawer__backdropExit_7pwix {
|
|
65
65
|
background-color: var(--backdrop-visible-background);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.drawer__contentExit_7pwix {
|
|
68
68
|
opacity: 1;
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.drawer__exitActive_7pwix {
|
|
71
71
|
transition: transform 0.25s ease-in-out 0.1s;
|
|
72
72
|
transform: translateX(100%);
|
|
73
73
|
}
|
|
74
|
-
.
|
|
75
|
-
.
|
|
74
|
+
.drawer__backdropExitActive_7pwix,
|
|
75
|
+
.drawer__backdropExitDone_7pwix {
|
|
76
76
|
transition: background 0.25s ease-in-out 0.1s;
|
|
77
77
|
background-color: var(--backdrop-hidden-background);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.drawer__contentExitActive_7pwix {
|
|
80
80
|
opacity: 0;
|
|
81
81
|
transition: opacity 0.12s ease-in-out;
|
|
82
82
|
}
|
|
File without changes
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
:root {
|
|
18
18
|
--drawer-width: 500px;
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.drawer__component_7pwix {
|
|
21
21
|
position: fixed;
|
|
22
22
|
top: 0;
|
|
23
23
|
right: 0;
|
|
@@ -28,55 +28,55 @@
|
|
|
28
28
|
overflow: auto;
|
|
29
29
|
will-change: transform;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.drawer__content_7pwix {
|
|
32
32
|
width: 100%;
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
flex: 1;
|
|
36
36
|
}
|
|
37
37
|
/* enter */
|
|
38
|
-
.
|
|
38
|
+
.drawer__enter_7pwix {
|
|
39
39
|
transform: translateX(100%);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.drawer__contentEnter_7pwix {
|
|
42
42
|
opacity: 0;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.drawer__backdropEnter_7pwix {
|
|
45
45
|
background-color: var(--backdrop-hidden-background);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.drawer__enterActive_7pwix {
|
|
48
48
|
transition: transform 0.3s ease-in-out;
|
|
49
49
|
transform: translateX(0);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
52
|
-
.
|
|
51
|
+
.drawer__backdropEnterActive_7pwix,
|
|
52
|
+
.drawer__backdropEnterDone_7pwix {
|
|
53
53
|
transition: background 0.3s ease-in-out;
|
|
54
54
|
background-color: var(--backdrop-visible-background);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.drawer__contentEnterActive_7pwix {
|
|
57
57
|
transition: opacity 0.2s ease-in-out 0.3s;
|
|
58
58
|
opacity: 1;
|
|
59
59
|
}
|
|
60
60
|
/* exit */
|
|
61
|
-
.
|
|
61
|
+
.drawer__exit_7pwix {
|
|
62
62
|
transform: translateX(0);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.drawer__backdropExit_7pwix {
|
|
65
65
|
background-color: var(--backdrop-visible-background);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.drawer__contentExit_7pwix {
|
|
68
68
|
opacity: 1;
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.drawer__exitActive_7pwix {
|
|
71
71
|
transition: transform 0.25s ease-in-out 0.1s;
|
|
72
72
|
transform: translateX(100%);
|
|
73
73
|
}
|
|
74
|
-
.
|
|
75
|
-
.
|
|
74
|
+
.drawer__backdropExitActive_7pwix,
|
|
75
|
+
.drawer__backdropExitDone_7pwix {
|
|
76
76
|
transition: background 0.25s ease-in-out 0.1s;
|
|
77
77
|
background-color: var(--backdrop-hidden-background);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.drawer__contentExitActive_7pwix {
|
|
80
80
|
opacity: 0;
|
|
81
81
|
transition: opacity 0.12s ease-in-out;
|
|
82
82
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { forwardRef, useMemo } from 'react';
|
|
2
2
|
import { CSSTransition } from 'react-transition-group';
|
|
3
3
|
import cn from 'classnames';
|
|
4
|
-
import { BaseModalContext, BaseModal } from '@alfalab/core-components-base-modal/modern';
|
|
4
|
+
import { BaseModalContext, BaseModal } from '@alfalab/core-components-base-modal/dist/modern';
|
|
5
5
|
|
|
6
|
-
var styles = {"component":"
|
|
6
|
+
var styles = {"component":"drawer__component_7pwix","content":"drawer__content_7pwix","enter":"drawer__enter_7pwix","contentEnter":"drawer__contentEnter_7pwix","backdropEnter":"drawer__backdropEnter_7pwix","enterActive":"drawer__enterActive_7pwix","backdropEnterActive":"drawer__backdropEnterActive_7pwix","backdropEnterDone":"drawer__backdropEnterDone_7pwix","contentEnterActive":"drawer__contentEnterActive_7pwix","exit":"drawer__exit_7pwix","backdropExit":"drawer__backdropExit_7pwix","contentExit":"drawer__contentExit_7pwix","exitActive":"drawer__exitActive_7pwix","backdropExitActive":"drawer__backdropExitActive_7pwix","backdropExitDone":"drawer__backdropExitDone_7pwix","contentExitActive":"drawer__contentExitActive_7pwix"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
const ANIMATION_DURATION = 600;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
:root {
|
|
18
18
|
--drawer-width: 500px;
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.drawer__component_7pwix {
|
|
21
21
|
position: fixed;
|
|
22
22
|
top: 0;
|
|
23
23
|
right: 0;
|
|
@@ -28,55 +28,55 @@
|
|
|
28
28
|
overflow: auto;
|
|
29
29
|
will-change: transform;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.drawer__content_7pwix {
|
|
32
32
|
width: 100%;
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
flex: 1;
|
|
36
36
|
}
|
|
37
37
|
/* enter */
|
|
38
|
-
.
|
|
38
|
+
.drawer__enter_7pwix {
|
|
39
39
|
transform: translateX(100%);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.drawer__contentEnter_7pwix {
|
|
42
42
|
opacity: 0;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.drawer__backdropEnter_7pwix {
|
|
45
45
|
background-color: var(--backdrop-hidden-background);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.drawer__enterActive_7pwix {
|
|
48
48
|
transition: transform 0.3s ease-in-out;
|
|
49
49
|
transform: translateX(0);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
52
|
-
.
|
|
51
|
+
.drawer__backdropEnterActive_7pwix,
|
|
52
|
+
.drawer__backdropEnterDone_7pwix {
|
|
53
53
|
transition: background 0.3s ease-in-out;
|
|
54
54
|
background-color: var(--backdrop-visible-background);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.drawer__contentEnterActive_7pwix {
|
|
57
57
|
transition: opacity 0.2s ease-in-out 0.3s;
|
|
58
58
|
opacity: 1;
|
|
59
59
|
}
|
|
60
60
|
/* exit */
|
|
61
|
-
.
|
|
61
|
+
.drawer__exit_7pwix {
|
|
62
62
|
transform: translateX(0);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.drawer__backdropExit_7pwix {
|
|
65
65
|
background-color: var(--backdrop-visible-background);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.drawer__contentExit_7pwix {
|
|
68
68
|
opacity: 1;
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.drawer__exitActive_7pwix {
|
|
71
71
|
transition: transform 0.25s ease-in-out 0.1s;
|
|
72
72
|
transform: translateX(100%);
|
|
73
73
|
}
|
|
74
|
-
.
|
|
75
|
-
.
|
|
74
|
+
.drawer__backdropExitActive_7pwix,
|
|
75
|
+
.drawer__backdropExitDone_7pwix {
|
|
76
76
|
transition: background 0.25s ease-in-out 0.1s;
|
|
77
77
|
background-color: var(--backdrop-hidden-background);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.drawer__contentExitActive_7pwix {
|
|
80
80
|
opacity: 0;
|
|
81
81
|
transition: opacity 0.12s ease-in-out;
|
|
82
82
|
}
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-drawer",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Drawer component",
|
|
5
|
-
"gitHead": "
|
|
5
|
+
"gitHead": "4d6c8965d07839e339b370bb7c92bd7f9e24b1f3",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"module": "./esm/index.js",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
10
13
|
"scripts": {
|
|
11
|
-
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
14
|
+
"postinstall": "node -e \"if (require('fs').existsSync('./dist/send-stats.js')){require('./dist/send-stats.js')} \""
|
|
12
15
|
},
|
|
13
16
|
"publishConfig": {
|
|
14
|
-
"access": "public"
|
|
15
|
-
"directory": "dist"
|
|
17
|
+
"access": "public"
|
|
16
18
|
},
|
|
17
19
|
"peerDependencies": {
|
|
18
20
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0",
|
|
19
21
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
20
22
|
},
|
|
21
23
|
"dependencies": {
|
|
22
|
-
"@alfalab/core-components-base-modal": "^4.3.
|
|
24
|
+
"@alfalab/core-components-base-modal": "^4.3.1",
|
|
23
25
|
"classnames": "^2.3.1"
|
|
24
26
|
}
|
|
25
27
|
}
|