@cloud-ru/ds-uikit-product-modal-predefined 1.0.8 → 1.0.9
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 +6 -0
- package/dist/cjs/components/DeleteModal/DeleteModal.js +1 -1
- package/dist/cjs/components/DeleteModal/styles.module.css +0 -16
- package/dist/cjs/components/RecallModal/RecallModal.js +1 -1
- package/dist/cjs/components/RecallModal/styles.module.css +0 -16
- package/dist/cjs/helperComponents/DesktopReleaseNotes/DesktopReleaseNotes.js +1 -1
- package/dist/cjs/helperComponents/DesktopReleaseNotes/styles.module.css +0 -16
- package/dist/cjs/style.css +0 -48
- package/dist/esm/components/DeleteModal/DeleteModal.js +1 -1
- package/dist/esm/components/DeleteModal/styles.module.css +0 -16
- package/dist/esm/components/RecallModal/RecallModal.js +1 -1
- package/dist/esm/components/RecallModal/styles.module.css +0 -16
- package/dist/esm/helperComponents/DesktopReleaseNotes/DesktopReleaseNotes.js +1 -1
- package/dist/esm/helperComponents/DesktopReleaseNotes/styles.module.css +0 -16
- package/dist/esm/style.css +0 -48
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/components/DeleteModal/DeleteModal.tsx +0 -2
- package/src/components/DeleteModal/styles.module.scss +0 -19
- package/src/components/RecallModal/RecallModal.tsx +0 -2
- package/src/components/RecallModal/styles.module.scss +0 -19
- package/src/helperComponents/DesktopReleaseNotes/DesktopReleaseNotes.tsx +0 -2
- package/src/helperComponents/DesktopReleaseNotes/styles.module.scss +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/ds-uikit-product-modal-predefined",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Product preset-компоненты для delete, recall и release notes сценариев на базе Modal и BottomSheet.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"classnames": "^2.5.1",
|
|
43
|
-
"@cloud-ru/ds-bottom-sheet": "^1.0.3",
|
|
44
43
|
"@cloud-ru/ds-adaptive": "^1.0.1",
|
|
45
|
-
"@cloud-ru/ds-carousel": "^1.0.2",
|
|
46
|
-
"@cloud-ru/ds-fields": "^2.0.0",
|
|
47
44
|
"@cloud-ru/ds-button": "^1.0.1",
|
|
45
|
+
"@cloud-ru/ds-bottom-sheet": "^1.0.3",
|
|
46
|
+
"@cloud-ru/ds-fields": "^2.0.1",
|
|
47
|
+
"@cloud-ru/ds-carousel": "^1.0.2",
|
|
48
48
|
"@cloud-ru/ds-icons": "^1.0.2",
|
|
49
49
|
"@cloud-ru/ds-info-block": "^1.0.1",
|
|
50
|
+
"@cloud-ru/ds-markdown": "^1.0.9",
|
|
50
51
|
"@cloud-ru/ds-locale": "^1.0.0",
|
|
51
|
-
"@cloud-ru/ds-markdown": "^1.0.8",
|
|
52
|
-
"@cloud-ru/ds-modal": "^1.0.3",
|
|
53
52
|
"@cloud-ru/ds-scroll": "^1.0.2",
|
|
53
|
+
"@cloud-ru/ds-modal": "^1.0.4",
|
|
54
54
|
"@cloud-ru/ds-skeleton": "^1.0.1",
|
|
55
55
|
"@cloud-ru/ds-tooltip": "^1.0.3",
|
|
56
56
|
"@cloud-ru/ds-truncate-string": "^1.0.3",
|
|
@@ -61,7 +61,6 @@ export function DeleteModal({
|
|
|
61
61
|
data-test-id={TEST_IDS.deleteModal}
|
|
62
62
|
{...rest}
|
|
63
63
|
>
|
|
64
|
-
<div className={styles.safeAreaTop} />
|
|
65
64
|
<ModalCustom.Header
|
|
66
65
|
title={title}
|
|
67
66
|
subtitle={subtitle}
|
|
@@ -89,7 +88,6 @@ export function DeleteModal({
|
|
|
89
88
|
</div>
|
|
90
89
|
}
|
|
91
90
|
/>
|
|
92
|
-
<div className={styles.safeAreaBottom} />
|
|
93
91
|
<ModalCustom.Footer>
|
|
94
92
|
<div className={styles.footer}>
|
|
95
93
|
<Button
|
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
@use '@cloud-ru/ds-figma-variables/build/scss/styles/styles.module' as base;
|
|
2
|
-
@use '@cloud-ru/ds-figma-variables/build/scss/components/modal.module' as modal;
|
|
3
|
-
|
|
4
|
-
.safeAreaTop {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: flex-start;
|
|
8
|
-
align-self: stretch;
|
|
9
|
-
|
|
10
|
-
padding-top: base.simple-var(modal.$modal, 'anatomy', 'container', 'safeArea', 'padding-top');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.safeAreaBottom {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
align-items: flex-start;
|
|
17
|
-
align-self: stretch;
|
|
18
|
-
|
|
19
|
-
padding-bottom: base.simple-var(modal.$modal, 'anatomy', 'container', 'safeArea', 'padding-bottom');
|
|
20
|
-
}
|
|
21
2
|
|
|
22
3
|
.body {
|
|
23
4
|
min-height: auto;
|
|
@@ -56,7 +56,6 @@ export function RecallModal({
|
|
|
56
56
|
data-test-id={TEST_IDS.recallModal}
|
|
57
57
|
{...rest}
|
|
58
58
|
>
|
|
59
|
-
<div className={styles.safeAreaTop} />
|
|
60
59
|
<ModalCustom.Header
|
|
61
60
|
title={t('recallModal.title')}
|
|
62
61
|
subtitle={subtitle}
|
|
@@ -84,7 +83,6 @@ export function RecallModal({
|
|
|
84
83
|
</div>
|
|
85
84
|
}
|
|
86
85
|
/>
|
|
87
|
-
<div className={styles.safeAreaBottom} />
|
|
88
86
|
<ModalCustom.Footer>
|
|
89
87
|
<div className={styles.footer}>
|
|
90
88
|
<Button
|
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
@use '@cloud-ru/ds-figma-variables/build/scss/styles/styles.module' as base;
|
|
2
|
-
@use '@cloud-ru/ds-figma-variables/build/scss/components/modal.module' as modal;
|
|
3
|
-
|
|
4
|
-
.safeAreaTop {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: flex-start;
|
|
8
|
-
align-self: stretch;
|
|
9
|
-
|
|
10
|
-
padding-top: base.simple-var(modal.$modal, 'anatomy', 'container', 'safeArea', 'padding-top');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.safeAreaBottom {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
align-items: flex-start;
|
|
17
|
-
align-self: stretch;
|
|
18
|
-
|
|
19
|
-
padding-bottom: base.simple-var(modal.$modal, 'anatomy', 'container', 'safeArea', 'padding-bottom');
|
|
20
|
-
}
|
|
21
2
|
|
|
22
3
|
.body {
|
|
23
4
|
min-height: auto;
|
|
@@ -43,7 +43,6 @@ export function DesktopReleaseNotes({
|
|
|
43
43
|
data-surface='modal'
|
|
44
44
|
{...extractSupportProps(rest)}
|
|
45
45
|
>
|
|
46
|
-
<div className={styles.safeAreaTop} />
|
|
47
46
|
<ModalCustom.Header title={t('releaseNotes.title')} />
|
|
48
47
|
<ModalCustom.Body
|
|
49
48
|
className={styles.body}
|
|
@@ -64,7 +63,6 @@ export function DesktopReleaseNotes({
|
|
|
64
63
|
/>
|
|
65
64
|
}
|
|
66
65
|
/>
|
|
67
|
-
<div className={styles.safeAreaBottom} />
|
|
68
66
|
{shouldShowFooter && (
|
|
69
67
|
<ModalCustom.Footer>
|
|
70
68
|
<ReleaseNotesFooter
|
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
@use '@cloud-ru/ds-figma-variables/build/scss/styles/styles.module' as base;
|
|
2
|
-
@use '@cloud-ru/ds-figma-variables/build/scss/components/modal.module' as modal;
|
|
3
|
-
|
|
4
|
-
.safeAreaTop {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: flex-start;
|
|
8
|
-
align-self: stretch;
|
|
9
|
-
|
|
10
|
-
padding-top: base.simple-var(modal.$modal, 'anatomy', 'container', 'safeArea', 'padding-top');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.safeAreaBottom {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
align-items: flex-start;
|
|
17
|
-
align-self: stretch;
|
|
18
|
-
|
|
19
|
-
padding-bottom: base.simple-var(modal.$modal, 'anatomy', 'container', 'safeArea', 'padding-bottom');
|
|
20
|
-
}
|
|
21
2
|
|
|
22
3
|
.body {
|
|
23
4
|
min-height: calc(6 * #{base.$sn-primitive-dimension-64});
|