@cloud-ru/ds-bottom-sheet 1.1.2-preview-86f06def.0 → 1.1.3-preview-a2208aeb.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 +4 -0
- package/README.md +1 -1
- package/dist/cjs/components/BottomSheet/styles.module.css +1 -1
- package/dist/cjs/components/BottomSheetCustom/BottomSheetCustom.js +3 -3
- package/dist/cjs/components/BottomSheetCustom/styles.module.css +3 -3
- package/dist/cjs/helperComponents/Handle/styles.module.css +1 -1
- package/dist/cjs/style.css +5 -5
- package/dist/cjs/types.d.ts +2 -2
- package/dist/esm/components/BottomSheet/styles.module.css +1 -1
- package/dist/esm/components/BottomSheetCustom/BottomSheetCustom.js +4 -4
- package/dist/esm/components/BottomSheetCustom/styles.module.css +3 -3
- package/dist/esm/helperComponents/Handle/styles.module.css +1 -1
- package/dist/esm/style.css +5 -5
- package/dist/esm/types.d.ts +2 -2
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/components/BottomSheetCustom/BottomSheetCustom.tsx +4 -4
- package/src/types.ts +2 -2
package/src/types.ts
CHANGED
|
@@ -158,8 +158,7 @@ export type BottomSheetProps = Omit<BottomSheetCustomProps, 'children' | 'disabl
|
|
|
158
158
|
additionalButton?: BottomSheetActionButton;
|
|
159
159
|
/**
|
|
160
160
|
* Ориентация кнопок футера, собранных из `approveButton` / `cancelButton` / `additionalButton`.
|
|
161
|
-
*
|
|
162
|
-
* приоритетнее (кроме трёх кнопок на mobile — см. ниже):
|
|
161
|
+
* Применяется **только при ровно двух** кнопках (canonical cancel/confirm):
|
|
163
162
|
*
|
|
164
163
|
* - `'horizontal'` — кнопки в ряд через space-between: secondary слева, primary справа,
|
|
165
164
|
* ширина по контенту. Точное соответствие Figma `bottomBar.buttonGroup`.
|
|
@@ -169,6 +168,7 @@ export type BottomSheetProps = Omit<BottomSheetCustomProps, 'children' | 'disabl
|
|
|
169
168
|
* mobile-вьюпорте и всегда идут в столбик — для них значение игнорируется.
|
|
170
169
|
*
|
|
171
170
|
* Игнорируется при заданном `footer` (произвольная разметка футера).
|
|
171
|
+
* @default 'horizontal'
|
|
172
172
|
*/
|
|
173
173
|
footerActionsOrientation?: FooterActionsOrientation;
|
|
174
174
|
/**
|