@synerise/ds-confirmation 1.1.0 → 1.1.2

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,25 @@
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.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-confirmation@1.1.1...@synerise/ds-confirmation@1.1.2) (2025-06-02)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-confirmation
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-confirmation@1.1.0...@synerise/ds-confirmation@1.1.1) (2025-05-26)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **confirmation:** ui feedback ([0d82994](https://github.com/Synerise/synerise-design/commit/0d82994db66410388d61325ed6b84a443b8261a1))
20
+
21
+
22
+
23
+
24
+
6
25
  # 1.1.0 (2025-05-19)
7
26
 
8
27
 
@@ -72,12 +72,12 @@ var Confirmation = function Confirmation(_ref) {
72
72
  color: buttonColor
73
73
  }, mainButtonProps), allTexts.mainButtonLabel))) : null;
74
74
  }, [mode, onOk, onCancel, buttonColor, mainButtonProps, relatedObjects, secondaryButtonProps, allTexts.secondaryButtonLabel, allTexts.mainButtonLabel, allTexts.relatedObjectsButtonLabel]);
75
- var modalTitle = mode === 'related-objects' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
75
+ var modalTitle = mode === 'related-objects' ? /*#__PURE__*/React.createElement(S.ModalBackTitle, null, /*#__PURE__*/React.createElement(Icon, {
76
76
  onClick: function onClick() {
77
77
  return setMode('default');
78
78
  },
79
79
  component: /*#__PURE__*/React.createElement(ArrowLeftM, null)
80
- }), " ", allTexts.relatedObjectsTitle) : undefined;
80
+ }), allTexts.relatedObjectsTitle) : undefined;
81
81
  return /*#__PURE__*/React.createElement(Modal, _extends({}, modalProps, {
82
82
  onCancel: onCancel,
83
83
  size: "small",
@@ -11,3 +11,4 @@ export declare const ConfirmationExtraTitle: import("styled-components").StyledC
11
11
  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>;
12
12
  export declare const AdditionalInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
13
13
  export declare const DecisionOptions: import("styled-components").StyledComponent<"div", any, {}, never>;
14
+ export declare const ModalBackTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -18,7 +18,7 @@ export var PromptContent = styled.div.withConfig({
18
18
  export var ConfirmationModalContentMain = styled.div.withConfig({
19
19
  displayName: "Confirmationstyles__ConfirmationModalContentMain",
20
20
  componentId: "sc-17izghl-2"
21
- })(["display:flex;flex-direction:column;align-items:center;gap:12px;"]);
21
+ })(["display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;"]);
22
22
  export var Title = styled(TypographyTitle).withConfig({
23
23
  displayName: "Confirmationstyles__Title",
24
24
  componentId: "sc-17izghl-3"
@@ -50,8 +50,12 @@ export var BatchItemsList = styled(Scrollbar).withConfig({
50
50
  export var AdditionalInfo = styled.div.withConfig({
51
51
  displayName: "Confirmationstyles__AdditionalInfo",
52
52
  componentId: "sc-17izghl-10"
53
- })(["", ""], roundedWrapperCSS);
53
+ })(["", " padding:8px 18px;"], roundedWrapperCSS);
54
54
  export var DecisionOptions = styled.div.withConfig({
55
55
  displayName: "Confirmationstyles__DecisionOptions",
56
56
  componentId: "sc-17izghl-11"
57
- })(["", ":last-of-type{margin-bottom:0;}", ":empty{display:none;}", ""], RadioWrapper, AdditionalData, roundedWrapperCSS);
57
+ })(["", "{padding:7px 0;margin-bottom:0;}", ":empty{display:none;}", " padding:8px 18px;"], RadioWrapper, AdditionalData, roundedWrapperCSS);
58
+ export var ModalBackTitle = styled.div.withConfig({
59
+ displayName: "Confirmationstyles__ModalBackTitle",
60
+ componentId: "sc-17izghl-12"
61
+ })(["display:flex;gap:12px;align-items:center;"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-confirmation",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Confirmation UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,14 +34,14 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-button": "^1.3.0",
38
- "@synerise/ds-icon": "^1.5.0",
39
- "@synerise/ds-list-item": "^1.0.8",
40
- "@synerise/ds-modal": "^1.1.0",
41
- "@synerise/ds-radio": "^1.0.8",
42
- "@synerise/ds-scrollbar": "^1.0.8",
43
- "@synerise/ds-typography": "^1.0.8",
44
- "@synerise/ds-utils": "^1.1.0"
37
+ "@synerise/ds-button": "^1.3.1",
38
+ "@synerise/ds-icon": "^1.5.1",
39
+ "@synerise/ds-list-item": "^1.0.9",
40
+ "@synerise/ds-modal": "^1.1.2",
41
+ "@synerise/ds-radio": "^1.0.9",
42
+ "@synerise/ds-scrollbar": "^1.0.9",
43
+ "@synerise/ds-typography": "^1.0.9",
44
+ "@synerise/ds-utils": "^1.1.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@synerise/ds-core": "*",
@@ -49,5 +49,5 @@
49
49
  "react-intl": "^6.8.7",
50
50
  "styled-components": "^5.3.3"
51
51
  },
52
- "gitHead": "8aa16b27c86c97e3ac774d92561ab0a03176c439"
52
+ "gitHead": "022e7ef05dd9d54cdb148bdd03dcf592fbaf3a52"
53
53
  }