@cloud-ru/ds-uikit-product-notification 2.0.29 → 2.0.30
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 +4 -0
- package/dist/cjs/components/NotificationPanel/NotificationPanel.js +1 -1
- package/dist/esm/components/NotificationPanel/NotificationPanel.js +2 -2
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +14 -14
- package/src/components/NotificationPanel/NotificationPanel.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/ds-uikit-product-notification",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.30",
|
|
4
4
|
"description": "Пакет уведомлений — карточка NotificationCard, лента NotificationPanelContent со стеками и группами и адаптивная обёртка NotificationPanel (drawer на desktop, bottom-sheet на mobile).",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
37
|
"@cloud-ru/ds-adaptive": "^1.0.2",
|
|
38
38
|
"@cloud-ru/ds-button": "^1.0.4",
|
|
39
|
-
"@cloud-ru/ds-drawer": "^2.1.
|
|
40
|
-
"@cloud-ru/ds-chips": "^1.1.
|
|
39
|
+
"@cloud-ru/ds-drawer": "^2.1.1",
|
|
40
|
+
"@cloud-ru/ds-chips": "^1.1.11",
|
|
41
|
+
"@cloud-ru/ds-icons": "^1.6.0",
|
|
41
42
|
"@cloud-ru/ds-info-block": "^1.0.3",
|
|
42
|
-
"@cloud-ru/ds-link": "^1.0.
|
|
43
|
-
"@cloud-ru/ds-
|
|
44
|
-
"@cloud-ru/ds-list": "^2.3.4",
|
|
43
|
+
"@cloud-ru/ds-link": "^1.0.15",
|
|
44
|
+
"@cloud-ru/ds-list": "^2.3.5",
|
|
45
45
|
"@cloud-ru/ds-scroll": "^1.0.5",
|
|
46
|
-
"@cloud-ru/ds-segment-control": "^1.0.
|
|
46
|
+
"@cloud-ru/ds-segment-control": "^1.0.15",
|
|
47
|
+
"@cloud-ru/ds-materials": "^2.0.1",
|
|
47
48
|
"@cloud-ru/ds-skeleton": "^1.0.2",
|
|
48
|
-
"@cloud-ru/ds-
|
|
49
|
-
"@cloud-ru/ds-
|
|
50
|
-
"@cloud-ru/ds-tooltip": "^1.0.
|
|
51
|
-
"@cloud-ru/ds-
|
|
52
|
-
"@cloud-ru/ds-
|
|
53
|
-
"@cloud-ru/ds-typography": "^1.0.1"
|
|
54
|
-
"@cloud-ru/ds-utils": "^1.2.0"
|
|
49
|
+
"@cloud-ru/ds-status": "^1.1.10",
|
|
50
|
+
"@cloud-ru/ds-tag": "^1.1.13",
|
|
51
|
+
"@cloud-ru/ds-tooltip": "^1.0.13",
|
|
52
|
+
"@cloud-ru/ds-utils": "^1.2.0",
|
|
53
|
+
"@cloud-ru/ds-truncate-string": "^1.0.14",
|
|
54
|
+
"@cloud-ru/ds-typography": "^1.0.1"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isMobileLayout, useAdaptiveLayout } from '@cloud-ru/ds-adaptive';
|
|
2
2
|
import { Button, ButtonProps } from '@cloud-ru/ds-button';
|
|
3
3
|
import { ChipToggle } from '@cloud-ru/ds-chips';
|
|
4
|
-
import { Drawer, DrawerProps, POSITION, WIDTH } from '@cloud-ru/ds-drawer';
|
|
4
|
+
import { Drawer, DrawerProps, POSITION, SNAP_POINTS_PRESET, WIDTH } from '@cloud-ru/ds-drawer';
|
|
5
5
|
import { DecorCheckedSVG } from '@cloud-ru/ds-icons/interface/product';
|
|
6
6
|
import { SegmentControl, SegmentControlProps } from '@cloud-ru/ds-segment-control';
|
|
7
7
|
import { SkeletonContextProvider, WithSkeleton } from '@cloud-ru/ds-skeleton';
|
|
@@ -161,7 +161,7 @@ export function NotificationPanel({
|
|
|
161
161
|
slotSecondTitle={filters}
|
|
162
162
|
withDividers={isMobile}
|
|
163
163
|
// Только mobile: в мастере bottomSheet панель открывается на всю высоту экрана.
|
|
164
|
-
snapPoints={
|
|
164
|
+
snapPoints={SNAP_POINTS_PRESET.full}
|
|
165
165
|
contentRef={scrollContainerRef}
|
|
166
166
|
content={
|
|
167
167
|
<div className={styles.body} aria-busy={loading || undefined}>
|