@synerise/ds-subtle-form 0.9.74 → 0.9.76

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,22 @@
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.9.76](https://github.com/Synerise/synerise-design/compare/@synerise/ds-subtle-form@0.9.75...@synerise/ds-subtle-form@0.9.76) (2023-10-02)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-subtle-form
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.9.75](https://github.com/Synerise/synerise-design/compare/@synerise/ds-subtle-form@0.9.74...@synerise/ds-subtle-form@0.9.75) (2023-09-26)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-subtle-form
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.9.74](https://github.com/Synerise/synerise-design/compare/@synerise/ds-subtle-form@0.9.73...@synerise/ds-subtle-form@0.9.74) (2023-09-21)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-subtle-form
@@ -1,6 +1,6 @@
1
1
  import { Props as DsDatePickerProps } from '@synerise/ds-date-picker/dist/DatePicker.types';
2
2
  import { SubtleFieldProps } from '../../SubtleForm.types';
3
- export declare type SubtleDatePickerProps = {
3
+ export type SubtleDatePickerProps = {
4
4
  activeProp?: boolean;
5
5
  placeholder?: string;
6
6
  format?: string;
@@ -63,7 +63,6 @@ var SubtleTextArea = function SubtleTextArea(_ref) {
63
63
  disabled: disabled
64
64
  }, (active || hasError) && !disabled ?
65
65
  /*#__PURE__*/
66
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
67
66
  // @ts-ignore
68
67
  React.createElement(Input, _extends({
69
68
  autoFocus: !hasError && !disabled,
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { InputProps } from 'antd/lib/input';
3
3
  import { SubtleFieldProps } from '../../SubtleForm.types';
4
- export declare type SubtleInputProps = {
4
+ export type SubtleInputProps = {
5
5
  onChange?: (value: string) => void;
6
6
  value?: string;
7
7
  placeholder?: string;
@@ -1,5 +1,5 @@
1
1
  import { Props as DsSelectProps } from '@synerise/ds-select/dist/Select.types';
2
2
  import { SubtleFieldProps } from '../../SubtleForm.types';
3
- export declare type SubtleSelectProps = {
3
+ export type SubtleSelectProps = {
4
4
  placeholder?: string;
5
5
  } & SubtleFieldProps & DsSelectProps;
@@ -124,9 +124,7 @@ var SubtleTextArea = function SubtleTextArea(_ref) {
124
124
  },
125
125
  placeholder: placeholder,
126
126
  error: error,
127
- errorText: errorText // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
128
- // @ts-ignore
129
- ,
127
+ errorText: errorText,
130
128
  wrapperStyle: {
131
129
  margin: 0
132
130
  }
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { TextAreaProps } from '@synerise/ds-input/dist/Textarea/Textarea.types';
3
3
  import { SubtleFieldProps } from '../../SubtleForm.types';
4
- export declare type SubtleTextAreaProps = {
4
+ export type SubtleTextAreaProps = {
5
5
  minRows?: number;
6
6
  maxRows?: number;
7
7
  onChange?: (value: string) => void;
@@ -12,7 +12,7 @@ export declare type SubtleTextAreaProps = {
12
12
  errorText?: string | React.ReactNode;
13
13
  textAreaProps?: TextAreaProps;
14
14
  } & SubtleFieldProps;
15
- export declare type TextareaAutosize = {
15
+ export type TextareaAutosize = {
16
16
  minRows: number;
17
17
  maxRows: number;
18
18
  };
@@ -3,14 +3,14 @@ import { SubtleTextAreaProps } from './Elements/TextArea/TextArea.types';
3
3
  import { SubtleSelectProps } from './Elements/Select/Select.types';
4
4
  import { SubtleDatePickerProps } from './Elements/DatePicker/DatePicker.types';
5
5
  import { SubtleInputProps } from './Elements/Input/Input.types';
6
- export declare type SubtleFormSubComponents = {
6
+ export type SubtleFormSubComponents = {
7
7
  TextArea: React.ElementType<SubtleTextAreaProps>;
8
8
  Select: React.ElementType<SubtleSelectProps>;
9
9
  DatePicker: React.ElementType<SubtleDatePickerProps>;
10
10
  Field: React.ElementType<SubtleFieldProps>;
11
11
  Input: React.ElementType<SubtleInputProps>;
12
12
  };
13
- export declare type SubtleFieldProps = {
13
+ export type SubtleFieldProps = {
14
14
  active?: boolean;
15
15
  disabled?: boolean;
16
16
  label?: React.ReactNode | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-subtle-form",
3
- "version": "0.9.74",
3
+ "version": "0.9.76",
4
4
  "description": "SubtleForm UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,11 +32,11 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-date-picker": "^0.10.16",
36
- "@synerise/ds-icon": "^0.58.1",
37
- "@synerise/ds-input": "^0.19.1",
38
- "@synerise/ds-select": "^0.15.19",
39
- "@synerise/ds-tooltip": "^0.14.3",
35
+ "@synerise/ds-date-picker": "^0.10.18",
36
+ "@synerise/ds-icon": "^0.58.3",
37
+ "@synerise/ds-input": "^0.19.3",
38
+ "@synerise/ds-select": "^0.15.21",
39
+ "@synerise/ds-tooltip": "^0.14.5",
40
40
  "calculate-size": "^1.1.1"
41
41
  },
42
42
  "peerDependencies": {
@@ -46,9 +46,9 @@
46
46
  "styled-components": "5.0.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@synerise/ds-utils": "^0.24.15",
49
+ "@synerise/ds-utils": "^0.24.17",
50
50
  "@testing-library/jest-dom": "5.1.1",
51
51
  "@testing-library/react": "10.0.1"
52
52
  },
53
- "gitHead": "7df57233258ec34b90c3c92dbe1696788abd6ec6"
53
+ "gitHead": "1c1adf344f447e404a1d6320ad1d3f8486f29f67"
54
54
  }