@cloud-ru/ds-drawer 1.2.8 → 1.2.9-preview-3ffb7c01.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/README.md +8 -4
- package/dist/cjs/components/Drawer/types.d.ts +2 -2
- package/dist/cjs/components/DrawerCustom/DrawerCustom.js +2 -2
- package/dist/cjs/components/DrawerCustom/types.d.ts +1 -1
- package/dist/cjs/helperComponents/MobileDrawer/MobileDrawer.d.ts +1 -1
- package/dist/cjs/helperComponents/MobileDrawer/MobileDrawer.js +2 -2
- package/dist/esm/components/Drawer/types.d.ts +2 -2
- package/dist/esm/components/DrawerCustom/DrawerCustom.js +2 -2
- package/dist/esm/components/DrawerCustom/types.d.ts +1 -1
- package/dist/esm/helperComponents/MobileDrawer/MobileDrawer.d.ts +1 -1
- package/dist/esm/helperComponents/MobileDrawer/MobileDrawer.js +2 -2
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/components/Drawer/types.ts +5 -2
- package/src/components/DrawerCustom/DrawerCustom.tsx +4 -2
- package/src/components/DrawerCustom/types.ts +1 -1
- package/src/helperComponents/MobileDrawer/MobileDrawer.tsx +4 -2
package/README.md
CHANGED
|
@@ -262,7 +262,8 @@ export function NestedDrawer() {
|
|
|
262
262
|
| `open` | `boolean` | — | Управление состоянием показан/не показан. |
|
|
263
263
|
| `position` | `"bottom"` \| `"left"` \| `"right"` \| `"top"` | — | Расположение |
|
|
264
264
|
| `rootClassName` | `string` | — | CSS-класс для корневого элемента |
|
|
265
|
-
| `
|
|
265
|
+
| `safeAreaBottom` | `boolean` | `true` | Нижний safe-area отступ под iOS home-indicator и Android nav-bar. Размер — токен <br/> `safeArea.bottom.minHeight`, на устройстве с большим `env(safe-area-inset-bottom)` — значение inset. |
|
|
266
|
+
| `safeAreaTop` | `boolean` | `true` | Верхний safe-area отступ под iOS notch / status-bar. Размер — токен `safeArea.top.minHeight`, <br/> на устройстве с большим `env(safe-area-inset-top)` — значение inset. Применяется, только когда <br/> sheet раскрыт на полный вьюпорт: у неполного sheet'а верх и так не заходит под notch. |
|
|
266
267
|
| `showBlackout` | `boolean` | `true` | Отображение темной подложки |
|
|
267
268
|
| `showButtonClosed` | `boolean` | `true` | Отображение кнопки закрытия в шапке дровера |
|
|
268
269
|
| `slotAfterTitle` | `ReactNode` | — | Slot справа от title (например, `QuestionTooltip` из `@cloud-ru/ds-tooltip`). |
|
|
@@ -304,7 +305,8 @@ export function NestedDrawer() {
|
|
|
304
305
|
| `open` | `boolean` | — | Управление состоянием показан/не показан. |
|
|
305
306
|
| `position` | `"bottom"` \| `"left"` \| `"right"` \| `"top"` | — | Расположение |
|
|
306
307
|
| `rootClassName` | `string \| undefined` | — | CSS-класс для корневого элемента |
|
|
307
|
-
| `
|
|
308
|
+
| `safeAreaBottom` | `boolean \| undefined` | — | Нижний safe-area отступ под iOS home-indicator и Android nav-bar. Размер — токен <br/> `safeArea.bottom.minHeight`, на устройстве с большим `env(safe-area-inset-bottom)` — значение inset. |
|
|
309
|
+
| `safeAreaTop` | `boolean \| undefined` | — | Верхний safe-area отступ под iOS notch / status-bar. Размер — токен `safeArea.top.minHeight`, <br/> на устройстве с большим `env(safe-area-inset-top)` — значение inset. Применяется, только когда <br/> sheet раскрыт на полный вьюпорт: у неполного sheet'а верх и так не заходит под notch. |
|
|
308
310
|
| `showBlackout` | `boolean \| undefined` | — | Отображение темной подложки |
|
|
309
311
|
| `showButtonClosed` | `boolean \| undefined` | — | Отображение кнопки закрытия в шапке дровера |
|
|
310
312
|
| `slotAfterTitle` | `string \| number \| boolean \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| null \| undefined` | — | Slot справа от title (например, `QuestionTooltip` из `@cloud-ru/ds-tooltip`). |
|
|
@@ -448,7 +450,8 @@ export function CustomComposition() {
|
|
|
448
450
|
| `push` | `boolean \| PushConfig` | — | Смещение при открытии "вложенного" компонента |
|
|
449
451
|
| `resizable` | `{ min: number; max?: number; default?: number; onResize?: ((width: number) => void) \| undefined; onResizeEnd?: ((width: number) => void) \| undefined; draggerTooltip?: string \| undefined; } \| undefined` | `'s'` | Ширина (только при position: "left" \| "right") |
|
|
450
452
|
| `rootClassName` | `string` | — | CSS-класс для корневого элемента |
|
|
451
|
-
| `
|
|
453
|
+
| `safeAreaBottom` | `boolean` | `true` | Нижний safe-area отступ под iOS home-indicator и Android nav-bar. Размер — токен <br/> `safeArea.bottom.minHeight`, на устройстве с большим `env(safe-area-inset-bottom)` — значение inset. |
|
|
454
|
+
| `safeAreaTop` | `boolean` | `true` | Верхний safe-area отступ под iOS notch / status-bar. Размер — токен `safeArea.top.minHeight`, <br/> на устройстве с большим `env(safe-area-inset-top)` — значение inset. Применяется, только когда <br/> sheet раскрыт на полный вьюпорт: у неполного sheet'а верх и так не заходит под notch. |
|
|
452
455
|
| `showBlackout` | `boolean` | `true` | Отображение темной подложки |
|
|
453
456
|
| `showButtonClosed` | `boolean` | `true` | Отображение кнопки закрытия в шапке дровера |
|
|
454
457
|
| `snapPoints` | `SnapPoint` | — | Массив фиксированных позиций sheet'а от меньшей к большей. По дефолту `undefined` — <br/> sheet `height: auto` с одним snap'ом по высоте контента. <br/> Пример: `[0.5, 1]` — sheet открывается на половину экрана, drag вверх раскрывает <br/> до full-viewport; drag вниз ниже `0.5` ведёт к закрытию. <br/> Контракт массива (движок не сортирует и не дедуплицирует — порядок и различимость на <br/> стороне потребителя): <br/> - строго по возрастанию: индекс `0` — самая компактная позиция, последний — top / expanded; <br/> - значения должны резолвиться в различные высоты (`['50%', 0.5]` на типичном вьюпорте дадут <br/> одну высоту → дубль-индекс будет недостижим свайпом); <br/> - `'fit-content'` имеет смысл только как ЕДИНСТВЕННЫЙ snap (без `snapPoints`); внутри массива <br/> фиксированных позиций его «контентная» высота не определена. |
|
|
@@ -476,7 +479,8 @@ export function CustomComposition() {
|
|
|
476
479
|
| `push` | `boolean \| PushConfig \| undefined` | — | Смещение при открытии "вложенного" компонента |
|
|
477
480
|
| `resizable` | `{ min: number; max?: number; default?: number; onResize?: (width: number) => void; onResizeEnd?: (width: number) => void; draggerTooltip?: string; } \| undefined` | — | Ширина (только при position: "left" \| "right") |
|
|
478
481
|
| `rootClassName` | `string \| undefined` | — | CSS-класс для корневого элемента |
|
|
479
|
-
| `
|
|
482
|
+
| `safeAreaBottom` | `boolean \| undefined` | — | Нижний safe-area отступ под iOS home-indicator и Android nav-bar. Размер — токен <br/> `safeArea.bottom.minHeight`, на устройстве с большим `env(safe-area-inset-bottom)` — значение inset. |
|
|
483
|
+
| `safeAreaTop` | `boolean \| undefined` | — | Верхний safe-area отступ под iOS notch / status-bar. Размер — токен `safeArea.top.minHeight`, <br/> на устройстве с большим `env(safe-area-inset-top)` — значение inset. Применяется, только когда <br/> sheet раскрыт на полный вьюпорт: у неполного sheet'а верх и так не заходит под notch. |
|
|
480
484
|
| `showBlackout` | `boolean \| undefined` | — | Отображение темной подложки |
|
|
481
485
|
| `showButtonClosed` | `boolean \| undefined` | — | Отображение кнопки закрытия в шапке дровера |
|
|
482
486
|
| `snapPoints` | `SnapPoint` | — | Массив фиксированных позиций sheet'а от меньшей к большей. По дефолту `undefined` — <br/> sheet `height: auto` с одним snap'ом по высоте контента. <br/> Пример: `[0.5, 1]` — sheet открывается на половину экрана, drag вверх раскрывает <br/> до full-viewport; drag вниз ниже `0.5` ведёт к закрытию. <br/> Контракт массива (движок не сортирует и не дедуплицирует — порядок и различимость на <br/> стороне потребителя): <br/> - строго по возрастанию: индекс `0` — самая компактная позиция, последний — top / expanded; <br/> - значения должны резолвиться в различные высоты (`['50%', 0.5]` на типичном вьюпорте дадут <br/> одну высоту → дубль-индекс будет недостижим свайпом); <br/> - `'fit-content'` имеет смысл только как ЕДИНСТВЕННЫЙ snap (без `snapPoints`); внутри массива <br/> фиксированных позиций его «контентная» высота не определена. |
|
|
@@ -7,10 +7,10 @@ import { DrawerCustomProps } from '../DrawerCustom';
|
|
|
7
7
|
* Адаптивный Drawer: desktop — боковая/верхняя/нижняя панель, `mobile` — `BottomSheet`.
|
|
8
8
|
*
|
|
9
9
|
* Только desktop: `position`, `width`, `heightAuto`, `nestedDrawer`, `truncate` (на mobile игнорируются).
|
|
10
|
-
* Только mobile: `swipeEnabled`, `snapPoints`, `snapIndex`, `onSnapIndexChange`, `
|
|
10
|
+
* Только mobile: `swipeEnabled`, `snapPoints`, `snapIndex`, `onSnapIndexChange`, `safeAreaTop`, `safeAreaBottom`, `withDividers`
|
|
11
11
|
* (на desktop-панели игнорируются — это анатомия `BottomSheet`).
|
|
12
12
|
*/
|
|
13
|
-
export type DrawerProps = WithSupportProps<Omit<DrawerCustomProps, 'nestedDrawer' | 'push' | 'resizable'> & Pick<BottomSheetProps, 'swipeEnabled' | 'snapPoints' | 'snapIndex' | 'onSnapIndexChange' | '
|
|
13
|
+
export type DrawerProps = WithSupportProps<Omit<DrawerCustomProps, 'nestedDrawer' | 'push' | 'resizable'> & Pick<BottomSheetProps, 'swipeEnabled' | 'snapPoints' | 'snapIndex' | 'onSnapIndexChange' | 'safeAreaTop' | 'safeAreaBottom'> & Pick<DialogHeaderProps, 'title' | 'slotAfterTitle' | 'slotSecondTitle' | 'onBackButtonClick' | 'truncate'> & Pick<DialogBodyProps, 'content'> & {
|
|
14
14
|
/** Ссылка на скроллируемый контейнер контента (например, для дозагрузки по скроллу). */
|
|
15
15
|
contentRef?: Ref<HTMLElement>;
|
|
16
16
|
/** Только mobile: разделители между шапкой/контентом/футером sheet'а. @default false */
|
|
@@ -68,8 +68,8 @@ function DrawerFrame(props) {
|
|
|
68
68
|
function DrawerCustom(props) {
|
|
69
69
|
const { layoutType } = (0, adaptive_1.useAdaptiveLayout)();
|
|
70
70
|
if ((0, adaptive_1.isMobileLayout)(layoutType)) {
|
|
71
|
-
const { open, onClose, children, className, rootClassName, container, closeOnPopstate, showBlackout, snapPoints, swipeEnabled,
|
|
72
|
-
return ((0, jsx_runtime_1.jsx)(bottom_sheet_1.BottomSheetCustom, { open: open, onClose: onClose, container: container, className: className, rootClassName: rootClassName, closeOnPopstate: closeOnPopstate, showBackdrop: showBlackout, snapPoints: snapPoints, swipeEnabled: swipeEnabled,
|
|
71
|
+
const { open, onClose, children, className, rootClassName, container, closeOnPopstate, showBlackout, snapPoints, swipeEnabled, safeAreaTop, safeAreaBottom, disableMotions, ...rest } = props;
|
|
72
|
+
return ((0, jsx_runtime_1.jsx)(bottom_sheet_1.BottomSheetCustom, { open: open, onClose: onClose, container: container, className: className, rootClassName: rootClassName, closeOnPopstate: closeOnPopstate, showBackdrop: showBlackout, snapPoints: snapPoints, swipeEnabled: swipeEnabled, safeAreaTop: safeAreaTop, safeAreaBottom: safeAreaBottom, disableMotions: disableMotions, ...(0, utils_1.extractSupportProps)(rest), children: children }));
|
|
73
73
|
}
|
|
74
74
|
return (0, jsx_runtime_1.jsx)(DrawerFrame, { ...props });
|
|
75
75
|
}
|
|
@@ -68,4 +68,4 @@ export type DrawerCustomProps = WithSupportProps<PropsWithChildren<{
|
|
|
68
68
|
/** Tooltip для элемента dragger */
|
|
69
69
|
draggerTooltip?: string;
|
|
70
70
|
};
|
|
71
|
-
}>> & Pick<BottomSheetCustomProps, 'snapPoints' | 'swipeEnabled' | '
|
|
71
|
+
}>> & Pick<BottomSheetCustomProps, 'snapPoints' | 'swipeEnabled' | 'safeAreaTop' | 'safeAreaBottom'>;
|
|
@@ -4,4 +4,4 @@ import { DrawerProps } from '../../components/Drawer/types';
|
|
|
4
4
|
* (`subtitle` 1:1, `showBlackout→showBackdrop`, остальное 1:1). Internal. Desktop-only пропы
|
|
5
5
|
* уходят в `...rest`.
|
|
6
6
|
*/
|
|
7
|
-
export declare function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle, subtitle, onBackButtonClick, approveButton, cancelButton, additionalButton, footerActionsOrientation, footer, className, rootClassName, open, onClose, showBlackout, container, closeOnPopstate, swipeEnabled, snapPoints, snapIndex, onSnapIndexChange,
|
|
7
|
+
export declare function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle, subtitle, onBackButtonClick, approveButton, cancelButton, additionalButton, footerActionsOrientation, footer, className, rootClassName, open, onClose, showBlackout, container, closeOnPopstate, swipeEnabled, snapPoints, snapIndex, onSnapIndexChange, safeAreaTop, safeAreaBottom, withDividers, ...rest }: DrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,7 @@ const constants_1 = require("../../constants");
|
|
|
10
10
|
* (`subtitle` 1:1, `showBlackout→showBackdrop`, остальное 1:1). Internal. Desktop-only пропы
|
|
11
11
|
* уходят в `...rest`.
|
|
12
12
|
*/
|
|
13
|
-
function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle, subtitle, onBackButtonClick, approveButton, cancelButton, additionalButton, footerActionsOrientation, footer, className, rootClassName, open, onClose, showBlackout, container, closeOnPopstate, swipeEnabled, snapPoints, snapIndex, onSnapIndexChange,
|
|
13
|
+
function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle, subtitle, onBackButtonClick, approveButton, cancelButton, additionalButton, footerActionsOrientation, footer, className, rootClassName, open, onClose, showBlackout, container, closeOnPopstate, swipeEnabled, snapPoints, snapIndex, onSnapIndexChange, safeAreaTop, safeAreaBottom, withDividers = false, ...rest }) {
|
|
14
14
|
// Футер собирает сам `BottomSheet`.
|
|
15
15
|
return ((0, jsx_runtime_1.jsx)(bottom_sheet_1.BottomSheet
|
|
16
16
|
// Дефолт `withDividers` в sheet'е — `true`; у Drawer'а вид исторически без разделителей.
|
|
@@ -22,5 +22,5 @@ function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle,
|
|
|
22
22
|
approve: constants_1.TEST_IDS.footerApprove,
|
|
23
23
|
cancel: constants_1.TEST_IDS.footerCancel,
|
|
24
24
|
additional: constants_1.TEST_IDS.footerAdditional,
|
|
25
|
-
}, className: className, rootClassName: rootClassName, container: container, closeOnPopstate: closeOnPopstate, swipeEnabled: swipeEnabled, snapPoints: snapPoints, snapIndex: snapIndex, onSnapIndexChange: onSnapIndexChange,
|
|
25
|
+
}, className: className, rootClassName: rootClassName, container: container, closeOnPopstate: closeOnPopstate, swipeEnabled: swipeEnabled, snapPoints: snapPoints, snapIndex: snapIndex, onSnapIndexChange: onSnapIndexChange, safeAreaTop: safeAreaTop, safeAreaBottom: safeAreaBottom, ...(0, utils_1.extractSupportProps)(rest) }));
|
|
26
26
|
}
|
|
@@ -7,10 +7,10 @@ import { DrawerCustomProps } from '../DrawerCustom/index.js';
|
|
|
7
7
|
* Адаптивный Drawer: desktop — боковая/верхняя/нижняя панель, `mobile` — `BottomSheet`.
|
|
8
8
|
*
|
|
9
9
|
* Только desktop: `position`, `width`, `heightAuto`, `nestedDrawer`, `truncate` (на mobile игнорируются).
|
|
10
|
-
* Только mobile: `swipeEnabled`, `snapPoints`, `snapIndex`, `onSnapIndexChange`, `
|
|
10
|
+
* Только mobile: `swipeEnabled`, `snapPoints`, `snapIndex`, `onSnapIndexChange`, `safeAreaTop`, `safeAreaBottom`, `withDividers`
|
|
11
11
|
* (на desktop-панели игнорируются — это анатомия `BottomSheet`).
|
|
12
12
|
*/
|
|
13
|
-
export type DrawerProps = WithSupportProps<Omit<DrawerCustomProps, 'nestedDrawer' | 'push' | 'resizable'> & Pick<BottomSheetProps, 'swipeEnabled' | 'snapPoints' | 'snapIndex' | 'onSnapIndexChange' | '
|
|
13
|
+
export type DrawerProps = WithSupportProps<Omit<DrawerCustomProps, 'nestedDrawer' | 'push' | 'resizable'> & Pick<BottomSheetProps, 'swipeEnabled' | 'snapPoints' | 'snapIndex' | 'onSnapIndexChange' | 'safeAreaTop' | 'safeAreaBottom'> & Pick<DialogHeaderProps, 'title' | 'slotAfterTitle' | 'slotSecondTitle' | 'onBackButtonClick' | 'truncate'> & Pick<DialogBodyProps, 'content'> & {
|
|
14
14
|
/** Ссылка на скроллируемый контейнер контента (например, для дозагрузки по скроллу). */
|
|
15
15
|
contentRef?: Ref<HTMLElement>;
|
|
16
16
|
/** Только mobile: разделители между шапкой/контентом/футером sheet'а. @default false */
|
|
@@ -62,8 +62,8 @@ function DrawerFrame(props) {
|
|
|
62
62
|
export function DrawerCustom(props) {
|
|
63
63
|
const { layoutType } = useAdaptiveLayout();
|
|
64
64
|
if (isMobileLayout(layoutType)) {
|
|
65
|
-
const { open, onClose, children, className, rootClassName, container, closeOnPopstate, showBlackout, snapPoints, swipeEnabled,
|
|
66
|
-
return (_jsx(BottomSheetCustom, { open: open, onClose: onClose, container: container, className: className, rootClassName: rootClassName, closeOnPopstate: closeOnPopstate, showBackdrop: showBlackout, snapPoints: snapPoints, swipeEnabled: swipeEnabled,
|
|
65
|
+
const { open, onClose, children, className, rootClassName, container, closeOnPopstate, showBlackout, snapPoints, swipeEnabled, safeAreaTop, safeAreaBottom, disableMotions, ...rest } = props;
|
|
66
|
+
return (_jsx(BottomSheetCustom, { open: open, onClose: onClose, container: container, className: className, rootClassName: rootClassName, closeOnPopstate: closeOnPopstate, showBackdrop: showBlackout, snapPoints: snapPoints, swipeEnabled: swipeEnabled, safeAreaTop: safeAreaTop, safeAreaBottom: safeAreaBottom, disableMotions: disableMotions, ...extractSupportProps(rest), children: children }));
|
|
67
67
|
}
|
|
68
68
|
return _jsx(DrawerFrame, { ...props });
|
|
69
69
|
}
|
|
@@ -68,4 +68,4 @@ export type DrawerCustomProps = WithSupportProps<PropsWithChildren<{
|
|
|
68
68
|
/** Tooltip для элемента dragger */
|
|
69
69
|
draggerTooltip?: string;
|
|
70
70
|
};
|
|
71
|
-
}>> & Pick<BottomSheetCustomProps, 'snapPoints' | 'swipeEnabled' | '
|
|
71
|
+
}>> & Pick<BottomSheetCustomProps, 'snapPoints' | 'swipeEnabled' | 'safeAreaTop' | 'safeAreaBottom'>;
|
|
@@ -4,4 +4,4 @@ import { DrawerProps } from '../../components/Drawer/types.js';
|
|
|
4
4
|
* (`subtitle` 1:1, `showBlackout→showBackdrop`, остальное 1:1). Internal. Desktop-only пропы
|
|
5
5
|
* уходят в `...rest`.
|
|
6
6
|
*/
|
|
7
|
-
export declare function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle, subtitle, onBackButtonClick, approveButton, cancelButton, additionalButton, footerActionsOrientation, footer, className, rootClassName, open, onClose, showBlackout, container, closeOnPopstate, swipeEnabled, snapPoints, snapIndex, onSnapIndexChange,
|
|
7
|
+
export declare function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle, subtitle, onBackButtonClick, approveButton, cancelButton, additionalButton, footerActionsOrientation, footer, className, rootClassName, open, onClose, showBlackout, container, closeOnPopstate, swipeEnabled, snapPoints, snapIndex, onSnapIndexChange, safeAreaTop, safeAreaBottom, withDividers, ...rest }: DrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,7 +7,7 @@ import { TEST_IDS } from '../../constants.js';
|
|
|
7
7
|
* (`subtitle` 1:1, `showBlackout→showBackdrop`, остальное 1:1). Internal. Desktop-only пропы
|
|
8
8
|
* уходят в `...rest`.
|
|
9
9
|
*/
|
|
10
|
-
export function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle, subtitle, onBackButtonClick, approveButton, cancelButton, additionalButton, footerActionsOrientation, footer, className, rootClassName, open, onClose, showBlackout, container, closeOnPopstate, swipeEnabled, snapPoints, snapIndex, onSnapIndexChange,
|
|
10
|
+
export function MobileDrawer({ content, media, title, slotAfterTitle, slotSecondTitle, subtitle, onBackButtonClick, approveButton, cancelButton, additionalButton, footerActionsOrientation, footer, className, rootClassName, open, onClose, showBlackout, container, closeOnPopstate, swipeEnabled, snapPoints, snapIndex, onSnapIndexChange, safeAreaTop, safeAreaBottom, withDividers = false, ...rest }) {
|
|
11
11
|
// Футер собирает сам `BottomSheet`.
|
|
12
12
|
return (_jsx(BottomSheet
|
|
13
13
|
// Дефолт `withDividers` в sheet'е — `true`; у Drawer'а вид исторически без разделителей.
|
|
@@ -19,5 +19,5 @@ export function MobileDrawer({ content, media, title, slotAfterTitle, slotSecond
|
|
|
19
19
|
approve: TEST_IDS.footerApprove,
|
|
20
20
|
cancel: TEST_IDS.footerCancel,
|
|
21
21
|
additional: TEST_IDS.footerAdditional,
|
|
22
|
-
}, className: className, rootClassName: rootClassName, container: container, closeOnPopstate: closeOnPopstate, swipeEnabled: swipeEnabled, snapPoints: snapPoints, snapIndex: snapIndex, onSnapIndexChange: onSnapIndexChange,
|
|
22
|
+
}, className: className, rootClassName: rootClassName, container: container, closeOnPopstate: closeOnPopstate, swipeEnabled: swipeEnabled, snapPoints: snapPoints, snapIndex: snapIndex, onSnapIndexChange: onSnapIndexChange, safeAreaTop: safeAreaTop, safeAreaBottom: safeAreaBottom, ...extractSupportProps(rest) }));
|
|
23
23
|
}
|