@synerise/ds-form 0.6.53 → 0.7.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,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
+ # [0.7.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-form@0.6.54...@synerise/ds-form@0.7.0) (2025-01-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * antd@4.24 react@18 ([d97a667](https://github.com/Synerise/synerise-design/commit/d97a667b1f33aed3177e1851de3b6f60be2d46a6))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.6.54](https://github.com/Synerise/synerise-design/compare/@synerise/ds-form@0.6.53...@synerise/ds-form@0.6.54) (2025-01-21)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-form
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.6.53](https://github.com/Synerise/synerise-design/compare/@synerise/ds-form@0.6.52...@synerise/ds-form@0.6.53) (2025-01-15)
7
26
 
8
27
 
@@ -3,5 +3,5 @@ import { FieldSetProps } from './FieldSet.types';
3
3
  /**
4
4
  * @deprecated - FieldSet component will no longer be supported
5
5
  */
6
- declare const FieldSet: React.FC<FieldSetProps>;
6
+ declare const FieldSet: ({ className, heading, description, withLine, children }: FieldSetProps) => React.JSX.Element;
7
7
  export default FieldSet;
@@ -1,7 +1,8 @@
1
- import React from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  export interface FieldSetProps {
3
3
  className?: string;
4
- heading: React.ReactNode;
5
- description?: React.ReactNode;
4
+ heading: ReactNode;
5
+ description?: ReactNode;
6
+ children?: ReactNode;
6
7
  withLine?: boolean;
7
8
  }
package/dist/Form.js CHANGED
@@ -1,8 +1,5 @@
1
1
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
2
2
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
3
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
5
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
3
  import React from 'react';
7
4
  import FieldSet from './Elements/FieldSet/FieldSet';
8
5
  var Form = /*#__PURE__*/function (_React$Component) {
@@ -12,5 +9,5 @@ var Form = /*#__PURE__*/function (_React$Component) {
12
9
  _inheritsLoose(Form, _React$Component);
13
10
  return Form;
14
11
  }(React.Component);
15
- _defineProperty(Form, "FieldSet", FieldSet);
12
+ Form.FieldSet = FieldSet;
16
13
  export default Form;
package/dist/modules.d.js CHANGED
@@ -1 +1 @@
1
- import '@testing-library/jest-dom/extend-expect';
1
+ import '@testing-library/jest-dom';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-form",
3
- "version": "0.6.53",
3
+ "version": "0.7.0",
4
4
  "description": "Form UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,20 +34,20 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-autocomplete": "^0.8.34",
38
- "@synerise/ds-button": "^0.22.2",
39
- "@synerise/ds-cruds": "^0.5.34",
40
- "@synerise/ds-divider": "^0.7.20",
41
- "@synerise/ds-icon": "^0.69.1",
42
- "@synerise/ds-input": "^0.24.20",
43
- "@synerise/ds-typography": "^0.16.11",
44
- "@synerise/ds-utils": "^0.31.2"
37
+ "@synerise/ds-autocomplete": "^0.9.0",
38
+ "@synerise/ds-button": "^0.23.0",
39
+ "@synerise/ds-cruds": "^0.6.0",
40
+ "@synerise/ds-divider": "^0.8.0",
41
+ "@synerise/ds-icon": "^0.71.0",
42
+ "@synerise/ds-input": "^0.25.0",
43
+ "@synerise/ds-typography": "^0.17.0",
44
+ "@synerise/ds-utils": "^0.32.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@synerise/ds-core": "*",
48
- "antd": "4.7.0",
49
- "react": ">=16.9.0 <= 17.0.2",
50
- "styled-components": "5.0.1"
48
+ "antd": "4.24.16",
49
+ "react": ">=16.9.0 <= 18.3.1",
50
+ "styled-components": "^5.3.3"
51
51
  },
52
- "gitHead": "f591d14d24d6a14aab76edcb60f04aaadec8336d"
52
+ "gitHead": "fbde34e126b492edaf148e469ab96247a891d6df"
53
53
  }