@synerise/ds-confirmation 1.1.37 → 1.2.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
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-confirmation@1.1.38...@synerise/ds-confirmation@1.2.0) (2026-02-02)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **panel:** new component ([a9d4ff8](https://github.com/Synerise/synerise-design/commit/a9d4ff8f766e2a7b6b6fe34068d7231584eb3056))
|
|
11
|
+
|
|
12
|
+
## [1.1.38](https://github.com/Synerise/synerise-design/compare/@synerise/ds-confirmation@1.1.37...@synerise/ds-confirmation@1.1.38) (2026-01-29)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @synerise/ds-confirmation
|
|
15
|
+
|
|
6
16
|
## [1.1.37](https://github.com/Synerise/synerise-design/compare/@synerise/ds-confirmation@1.1.36...@synerise/ds-confirmation@1.1.37) (2026-01-22)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @synerise/ds-confirmation
|
|
@@ -8,6 +8,6 @@ export declare const Footer: import("styled-components").StyledComponent<"div",
|
|
|
8
8
|
export declare const ConfirmationExtra: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
9
|
export declare const ConfirmationExtraTitle: import("styled-components").StyledComponent<({ level, withoutMargin, children, className, ellipsis, ...antdProps }: import("@synerise/ds-typography/dist/Title.types").Props) => React.JSX.Element, any, {}, never>;
|
|
10
10
|
export declare const BatchItemsList: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<(import("@synerise/ds-scrollbar").ScrollbarProps | import("@synerise/ds-scrollbar").VirtualScrollbarProps) & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
11
|
-
export declare const AdditionalInfo: import("styled-components").StyledComponent<"
|
|
12
|
-
export declare const DecisionOptions: import("styled-components").StyledComponent<"
|
|
11
|
+
export declare const AdditionalInfo: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("@synerise/ds-panel").PanelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
12
|
+
export declare const DecisionOptions: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("@synerise/ds-panel").PanelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
13
13
|
export declare const ModalBackTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
|
+
import Panel from '@synerise/ds-panel';
|
|
2
3
|
import { AdditionalData, RadioWrapper } from '@synerise/ds-radio/dist/Radio.styles';
|
|
3
4
|
import Scrollbar from '@synerise/ds-scrollbar';
|
|
4
5
|
import { Title as TypographyTitle } from '@synerise/ds-typography';
|
|
5
|
-
var roundedWrapperCSS = css(["border:solid ", " 1px;border-radius:8px;padding:8px;"], function (props) {
|
|
6
|
-
return props.theme.palette['grey-200'];
|
|
7
|
-
});
|
|
8
6
|
var sectionTitleCSS = css(["margin-bottom:8px;"]);
|
|
9
7
|
var modalContentCSS = css(["padding:36px 48px 48px;"]);
|
|
10
8
|
export var ConfirmationModalContent = styled.div.withConfig({
|
|
@@ -46,15 +44,15 @@ export var ConfirmationExtraTitle = styled(TypographyTitle).withConfig({
|
|
|
46
44
|
export var BatchItemsList = styled(Scrollbar).withConfig({
|
|
47
45
|
displayName: "Confirmationstyles__BatchItemsList",
|
|
48
46
|
componentId: "sc-17izghl-9"
|
|
49
|
-
})([""
|
|
50
|
-
export var AdditionalInfo = styled.
|
|
47
|
+
})([""]);
|
|
48
|
+
export var AdditionalInfo = styled(Panel).withConfig({
|
|
51
49
|
displayName: "Confirmationstyles__AdditionalInfo",
|
|
52
50
|
componentId: "sc-17izghl-10"
|
|
53
|
-
})(["
|
|
54
|
-
export var DecisionOptions = styled.
|
|
51
|
+
})(["padding:8px 18px;"]);
|
|
52
|
+
export var DecisionOptions = styled(Panel).withConfig({
|
|
55
53
|
displayName: "Confirmationstyles__DecisionOptions",
|
|
56
54
|
componentId: "sc-17izghl-11"
|
|
57
|
-
})(["", "{padding:7px 0;margin-bottom:0;}", ":empty{display:none;}
|
|
55
|
+
})(["", "{padding:7px 0;margin-bottom:0;}", ":empty{display:none;}padding:8px 18px;"], RadioWrapper, AdditionalData);
|
|
58
56
|
export var ModalBackTitle = styled.div.withConfig({
|
|
59
57
|
displayName: "Confirmationstyles__ModalBackTitle",
|
|
60
58
|
componentId: "sc-17izghl-12"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import ListItem from '@synerise/ds-list-item';
|
|
4
|
+
import Panel from '@synerise/ds-panel';
|
|
4
5
|
import { ITEM_SIZE, MAX_ITEMS } from '../Confirmation.const';
|
|
5
6
|
import * as S from '../Confirmation.styles';
|
|
6
7
|
export var BatchItemsList = function BatchItemsList(_ref) {
|
|
@@ -8,12 +9,12 @@ export var BatchItemsList = function BatchItemsList(_ref) {
|
|
|
8
9
|
title = _ref.title;
|
|
9
10
|
return /*#__PURE__*/React.createElement(S.ConfirmationExtra, null, /*#__PURE__*/React.createElement(S.ConfirmationExtraTitle, {
|
|
10
11
|
level: 6
|
|
11
|
-
}, title), /*#__PURE__*/React.createElement(S.BatchItemsList, {
|
|
12
|
+
}, title), /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(S.BatchItemsList, {
|
|
12
13
|
maxHeight: ITEM_SIZE * MAX_ITEMS,
|
|
13
14
|
absolute: true
|
|
14
15
|
}, items.map(function (item) {
|
|
15
16
|
return /*#__PURE__*/React.createElement(ListItem, _extends({
|
|
16
17
|
key: item.id
|
|
17
18
|
}, item));
|
|
18
|
-
})));
|
|
19
|
+
}))));
|
|
19
20
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-confirmation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Confirmation UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "
|
|
19
|
+
"build": "pnpm run build:js && pnpm run build:css && pnpm run defs",
|
|
20
20
|
"build:css": "node ../../../scripts/style/less.js",
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
|
-
"build:watch": "
|
|
22
|
+
"build:watch": "pnpm run build:js -- --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
24
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
|
-
"prepublish": "
|
|
25
|
+
"prepublish": "pnpm run build",
|
|
26
26
|
"test": "jest",
|
|
27
|
-
"test:watch": "
|
|
27
|
+
"test:watch": "pnpm run test -- --watchAll",
|
|
28
28
|
"types": "tsc --noEmit",
|
|
29
29
|
"check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
|
|
30
30
|
"upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
|
|
@@ -35,14 +35,15 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-button": "^1.5.
|
|
39
|
-
"@synerise/ds-icon": "^1.
|
|
40
|
-
"@synerise/ds-list-item": "^1.3.
|
|
41
|
-
"@synerise/ds-modal": "^1.
|
|
42
|
-
"@synerise/ds-
|
|
43
|
-
"@synerise/ds-
|
|
44
|
-
"@synerise/ds-
|
|
45
|
-
"@synerise/ds-
|
|
38
|
+
"@synerise/ds-button": "^1.5.7",
|
|
39
|
+
"@synerise/ds-icon": "^1.11.0",
|
|
40
|
+
"@synerise/ds-list-item": "^1.3.4",
|
|
41
|
+
"@synerise/ds-modal": "^1.3.0",
|
|
42
|
+
"@synerise/ds-panel": "^1.1.0",
|
|
43
|
+
"@synerise/ds-radio": "^1.0.35",
|
|
44
|
+
"@synerise/ds-scrollbar": "^1.2.7",
|
|
45
|
+
"@synerise/ds-typography": "^1.1.2",
|
|
46
|
+
"@synerise/ds-utils": "^1.5.4"
|
|
46
47
|
},
|
|
47
48
|
"peerDependencies": {
|
|
48
49
|
"@synerise/ds-core": "*",
|
|
@@ -50,5 +51,5 @@
|
|
|
50
51
|
"react-intl": "^6.8.7",
|
|
51
52
|
"styled-components": "^5.3.3"
|
|
52
53
|
},
|
|
53
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "6a3a82f8bc80e10eeb818795035e05393550e82e"
|
|
54
55
|
}
|