@cloud-ru/ds-popup-private 1.1.16-preview-0343264d.0 → 1.1.16
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/FooterActions/FooterActions.js +1 -1
- package/dist/esm/components/FooterActions/FooterActions.js +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/components/FooterActions/FooterActions.tsx +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
## 1.1.16 (2026-10-21)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **FF-9279:** align popup footerActions in row on desktop ([a5c5750](https://github.com/cloud-ru-tech/snack-v2/commit/a5c5750a41c6eafff7f4eb4f13488ece4a9f1159))
|
|
11
|
+
|
|
6
12
|
## 1.1.15 (2026-10-19)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @ds/popup-private
|
|
@@ -20,7 +20,7 @@ function FooterActions({ approveButton, cancelButton, additionalButton, size, fo
|
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
22
|
const isMobile = surface === 'bottomSheet';
|
|
23
|
-
const isVerticalActions = footerActionsOrientation === constants_1.FOOTER_ACTIONS_ORIENTATION.Vertical;
|
|
23
|
+
const isVerticalActions = footerActionsOrientation === constants_1.FOOTER_ACTIONS_ORIENTATION.Vertical || (isMobile && actionCount === 3);
|
|
24
24
|
const hasTertiary = Boolean(additionalButton);
|
|
25
25
|
// Раскладка кнопок футера зависит от поверхности:
|
|
26
26
|
// - desktop (window):
|
|
@@ -14,7 +14,7 @@ export function FooterActions({ approveButton, cancelButton, additionalButton, s
|
|
|
14
14
|
return null;
|
|
15
15
|
}
|
|
16
16
|
const isMobile = surface === 'bottomSheet';
|
|
17
|
-
const isVerticalActions = footerActionsOrientation === FOOTER_ACTIONS_ORIENTATION.Vertical;
|
|
17
|
+
const isVerticalActions = footerActionsOrientation === FOOTER_ACTIONS_ORIENTATION.Vertical || (isMobile && actionCount === 3);
|
|
18
18
|
const hasTertiary = Boolean(additionalButton);
|
|
19
19
|
// Раскладка кнопок футера зависит от поверхности:
|
|
20
20
|
// - desktop (window):
|