@synerise/ds-factors 1.11.26 → 1.12.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.12.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@1.11.27...@synerise/ds-factors@1.12.0) (2026-05-22)
7
+
8
+ ### Features
9
+
10
+ - **modal:** migration from antd ([3588b65](https://github.com/Synerise/synerise-design/commit/3588b65fbe67838fed4ee5125090ad47d334e04b))
11
+
12
+ ## [1.11.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@1.11.26...@synerise/ds-factors@1.11.27) (2026-05-15)
13
+
14
+ **Note:** Version bump only for package @synerise/ds-factors
15
+
6
16
  ## [1.11.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@1.11.25...@synerise/ds-factors@1.11.26) (2026-05-13)
7
17
 
8
18
  **Note:** Version bump only for package @synerise/ds-factors
@@ -1,12 +1,5 @@
1
1
  export declare const TextArea: import('styled-components').StyledComponent<"textarea", any, {}, never>;
2
- export declare const Modal: import('styled-components').StyledComponent<{
3
- (props: import('@synerise/ds-modal').ModalProps): React.JSX.Element;
4
- info: import('antd/lib/modal/confirm').ModalFunc;
5
- success: import('antd/lib/modal/confirm').ModalFunc;
6
- error: import('antd/lib/modal/confirm').ModalFunc;
7
- warning: import('antd/lib/modal/confirm').ModalFunc;
8
- confirm: import('antd/lib/modal/confirm').ModalFunc;
9
- }, any, {
2
+ export declare const Modal: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<import('@synerise/ds-modal').ModalProps & import('react').RefAttributes<import('@synerise/ds-modal').ModalRef>>, any, {
10
3
  viewportHeight: number;
11
4
  }, never>;
12
5
  export declare const EmptyState: import('styled-components').StyledComponent<({ size, label, text, button, fontSize, customIcon, className, mode, iconPosition, textAlign, }: import('@synerise/ds-empty-states').EmptyStatesProps) => React.JSX.Element, any, {}, never>;
@@ -84,9 +84,7 @@ const ArrayModal = ({
84
84
  ] }), closable: true, onOk: !rawEditorError ? handleOk : void 0, onCancel: handleCancel, open: visible, texts: {
85
85
  okButton: texts.modalApply,
86
86
  cancelButton: texts.modalCancel
87
- }, bodyStyle: {
88
- padding: 0
89
- }, footer: readOnly ? null : void 0, prefix: clearButton, viewportHeight: MODAL_VIEWPORT_HEIGHT, maxViewportHeight: currentMode === "creator" ? MODAL_VIEWPORT_HEIGHT : void 0, children: /* @__PURE__ */ jsx(Fragment, { children: mainModalContent }) });
87
+ }, bodyFullWidth: true, footer: readOnly ? null : void 0, prefix: clearButton, viewportHeight: MODAL_VIEWPORT_HEIGHT, maxViewportHeight: currentMode === "creator" ? MODAL_VIEWPORT_HEIGHT : void 0, children: /* @__PURE__ */ jsx(Fragment, { children: mainModalContent }) });
90
88
  };
91
89
  export {
92
90
  ArrayModal
@@ -25,7 +25,7 @@ const FormulaModal = ({
25
25
  onEnterPress: (e) => setFormulaName(e.target.value),
26
26
  onBlur: (e) => setFormulaName(e.target.value || texts.formula.defaultName),
27
27
  value: formulaName
28
- } }), closable: true, onOk: handleOk, onCancel, visible, okText: texts.modalApply, cancelText: texts.modalCancel, children: formulaEditor });
28
+ } }), closable: true, onOk: handleOk, onCancel, open: visible, okText: texts.modalApply, cancelText: texts.modalCancel, children: formulaEditor });
29
29
  };
30
30
  export {
31
31
  FormulaModal as default
@@ -20,7 +20,7 @@ const TextModal = ({
20
20
  const handleOk = React.useCallback(() => {
21
21
  onApply(expandValue);
22
22
  }, [onApply, expandValue]);
23
- return /* @__PURE__ */ jsx(ModalProxy, { size: "medium", title: texts.modalTitle, closable: true, onOk: handleOk, onCancel: handleCancel, visible, okText: texts.modalApply, cancelText: texts.modalCancel, children: /* @__PURE__ */ jsx(DSRawTextArea, { rows: 7, value: expandValue, onChange: (event) => setExpandValue(event.target.value) }) });
23
+ return /* @__PURE__ */ jsx(ModalProxy, { size: "medium", title: texts.modalTitle, closable: true, onOk: handleOk, onCancel: handleCancel, open: visible, okText: texts.modalApply, cancelText: texts.modalCancel, children: /* @__PURE__ */ jsx(DSRawTextArea, { rows: 7, value: expandValue, onChange: (event) => setExpandValue(event.target.value) }) });
24
24
  };
25
25
  export {
26
26
  TextModal as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-factors",
3
- "version": "1.11.26",
3
+ "version": "1.12.0",
4
4
  "description": "Factors UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -41,34 +41,34 @@
41
41
  ],
42
42
  "types": "dist/index.d.ts",
43
43
  "dependencies": {
44
- "@synerise/ds-alert": "^1.1.55",
45
- "@synerise/ds-autocomplete": "^1.2.44",
46
- "@synerise/ds-badge": "^1.0.53",
47
- "@synerise/ds-button": "^1.5.28",
48
- "@synerise/ds-button-group": "^1.1.53",
49
- "@synerise/ds-collector": "^1.4.40",
50
- "@synerise/ds-date-picker": "^1.4.13",
51
- "@synerise/ds-date-range-picker": "^1.6.25",
52
- "@synerise/ds-divider": "^1.3.11",
53
- "@synerise/ds-dropdown": "^1.3.12",
54
- "@synerise/ds-empty-states": "^1.0.44",
55
- "@synerise/ds-icon": "^1.18.0",
56
- "@synerise/ds-information-card": "^1.6.18",
57
- "@synerise/ds-inline-edit": "^1.1.37",
58
- "@synerise/ds-input": "^1.7.7",
59
- "@synerise/ds-input-number": "^1.2.44",
60
- "@synerise/ds-list-item": "^1.4.20",
61
- "@synerise/ds-modal": "^1.4.13",
62
- "@synerise/ds-result": "^1.0.59",
63
- "@synerise/ds-scrollbar": "^1.3.5",
64
- "@synerise/ds-search": "^1.5.23",
65
- "@synerise/ds-select": "^1.3.29",
66
- "@synerise/ds-short-cuts": "^1.0.51",
67
- "@synerise/ds-skeleton": "^1.0.54",
68
- "@synerise/ds-tabs": "^1.1.36",
69
- "@synerise/ds-tag": "^1.4.27",
70
- "@synerise/ds-tooltip": "^1.4.19",
71
- "@synerise/ds-utils": "^1.8.1",
44
+ "@synerise/ds-alert": "^1.1.57",
45
+ "@synerise/ds-autocomplete": "^1.2.45",
46
+ "@synerise/ds-badge": "^1.0.54",
47
+ "@synerise/ds-button": "^1.5.30",
48
+ "@synerise/ds-button-group": "^1.1.55",
49
+ "@synerise/ds-collector": "^1.4.42",
50
+ "@synerise/ds-date-picker": "^1.4.15",
51
+ "@synerise/ds-date-range-picker": "^1.7.1",
52
+ "@synerise/ds-divider": "^1.3.12",
53
+ "@synerise/ds-dropdown": "^1.3.13",
54
+ "@synerise/ds-empty-states": "^1.0.45",
55
+ "@synerise/ds-icon": "^1.18.1",
56
+ "@synerise/ds-information-card": "^1.6.20",
57
+ "@synerise/ds-inline-edit": "^1.1.39",
58
+ "@synerise/ds-input": "^1.7.8",
59
+ "@synerise/ds-input-number": "^1.2.45",
60
+ "@synerise/ds-list-item": "^1.4.21",
61
+ "@synerise/ds-modal": "^1.5.0",
62
+ "@synerise/ds-result": "^1.0.61",
63
+ "@synerise/ds-scrollbar": "^1.4.0",
64
+ "@synerise/ds-search": "^1.5.25",
65
+ "@synerise/ds-select": "^1.3.30",
66
+ "@synerise/ds-short-cuts": "^1.0.52",
67
+ "@synerise/ds-skeleton": "^1.0.55",
68
+ "@synerise/ds-tabs": "^1.1.38",
69
+ "@synerise/ds-tag": "^1.4.28",
70
+ "@synerise/ds-tooltip": "^1.5.0",
71
+ "@synerise/ds-utils": "^1.9.0",
72
72
  "lodash.merge": "^4.6.2",
73
73
  "react-window": "^1.8.11",
74
74
  "uuid": "^8.3.2"
@@ -85,5 +85,5 @@
85
85
  "styled-components": "^5.3.3",
86
86
  "vitest": "4"
87
87
  },
88
- "gitHead": "1132c21afce924c3e3b8e75e2ebd5e7b5db69bd2"
88
+ "gitHead": "f257f56d8991010593efd5ea9915335e813671a6"
89
89
  }