@atlaskit/forge-react-types 0.30.1 → 0.31.1

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
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.31.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.31.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#168779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168779)
14
+ [`21af8728a17db`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/21af8728a17db) -
15
+ Add isRequired prop to DatePicker
16
+
3
17
  ## 0.30.1
4
18
 
5
19
  ### Patch Changes
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::42eaa9f29e60017a2248e671b55923b2>>
6
+ * @codegen <<SignedSource::1da6b38ff77e9ba90fed8f7e3fdcab6b>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::8ac4bc3fdccbecd1e2f4aec3dca13ea0>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::d7ce045cdb974347d07688b1b6a7faac>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
  export interface FieldProps {
@@ -45,5 +45,5 @@ export type DatePickerProps = {
45
45
  weekStartDay?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
46
46
  onChange?: (value: string) => void;
47
47
  selectProps?: DateTimePickerSelectProps;
48
- } & Partial<Omit<FieldProps, 'onChange' | 'isRequired'>>;
48
+ } & Partial<Omit<FieldProps, 'onChange'>>;
49
49
  export {};
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::42eaa9f29e60017a2248e671b55923b2>>
6
+ * @codegen <<SignedSource::1da6b38ff77e9ba90fed8f7e3fdcab6b>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::8ac4bc3fdccbecd1e2f4aec3dca13ea0>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::d7ce045cdb974347d07688b1b6a7faac>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
  export interface FieldProps {
@@ -45,5 +45,5 @@ export type DatePickerProps = {
45
45
  weekStartDay?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
46
46
  onChange?: (value: string) => void;
47
47
  selectProps?: DateTimePickerSelectProps;
48
- } & Partial<Omit<FieldProps, 'onChange' | 'isRequired'>>;
48
+ } & Partial<Omit<FieldProps, 'onChange'>>;
49
49
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/forge-react-types",
3
- "version": "0.30.1",
3
+ "version": "0.31.1",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  "@atlaskit/badge": "^16.4.0",
28
28
  "@atlaskit/button": "^20.3.0",
29
29
  "@atlaskit/calendar": "^15.1.0",
30
- "@atlaskit/checkbox": "^15.1.0",
30
+ "@atlaskit/checkbox": "^15.2.0",
31
31
  "@atlaskit/code": "^15.6.0",
32
32
  "@atlaskit/datetime-picker": "^15.9.0",
33
33
  "@atlaskit/dynamic-table": "^16.1.0",
@@ -41,19 +41,19 @@
41
41
  "@atlaskit/primitives": "^13.2.0",
42
42
  "@atlaskit/progress-bar": "3.0.1",
43
43
  "@atlaskit/progress-tracker": "8.10.2",
44
- "@atlaskit/radio": "^6.5.0",
44
+ "@atlaskit/radio": "^6.6.0",
45
45
  "@atlaskit/range": "^7.4.0",
46
- "@atlaskit/renderer": "^112.2.0",
47
- "@atlaskit/section-message": "^6.6.0",
48
- "@atlaskit/select": "^18.5.0",
46
+ "@atlaskit/renderer": "^112.6.0",
47
+ "@atlaskit/section-message": "^6.7.0",
48
+ "@atlaskit/select": "^18.6.0",
49
49
  "@atlaskit/spinner": "^16.3.0",
50
50
  "@atlaskit/tabs": "^16.5.0",
51
51
  "@atlaskit/tag": "^12.6.0",
52
- "@atlaskit/tag-group": "^10.6.0",
52
+ "@atlaskit/tag-group": "^11.0.0",
53
53
  "@atlaskit/textarea": "^5.6.0",
54
- "@atlaskit/textfield": "^6.5.0",
54
+ "@atlaskit/textfield": "^6.6.0",
55
55
  "@atlaskit/toggle": "^13.4.0",
56
- "@atlaskit/tokens": "^2.2.0",
56
+ "@atlaskit/tokens": "^2.3.0",
57
57
  "@atlaskit/tooltip": "^18.9.0",
58
58
  "@babel/runtime": "^7.0.0"
59
59
  },
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::42eaa9f29e60017a2248e671b55923b2>>
6
+ * @codegen <<SignedSource::1da6b38ff77e9ba90fed8f7e3fdcab6b>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::8ac4bc3fdccbecd1e2f4aec3dca13ea0>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::d7ce045cdb974347d07688b1b6a7faac>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
 
@@ -27,25 +27,25 @@ type Appearance = 'default' | 'subtle' | 'none';
27
27
  type Spacing = 'compact' | 'default';
28
28
 
29
29
  export type DatePickerProps = {
30
- appearance?: Appearance;
31
- autoFocus?: boolean;
32
- defaultIsOpen?: boolean;
33
- defaultValue?: string;
34
- disabled?: string[];
35
- maxDate?: string;
36
- minDate?: string;
37
- isDisabled?: boolean;
38
- isOpen?: boolean;
39
- nextMonthLabel?: string;
40
- previousMonthLabel?: string;
41
- spacing?: Spacing;
42
- value?: string;
43
- isInvalid?: boolean;
44
- dateFormat?: string;
45
- placeholder?: string;
46
- locale?: string;
47
- testId?: string;
48
- weekStartDay?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
49
- onChange?:(value: string) => void;
50
- selectProps?: DateTimePickerSelectProps;
51
- } & Partial<Omit<FieldProps, 'onChange' | 'isRequired' >>;
30
+ appearance?: Appearance;
31
+ autoFocus?: boolean;
32
+ defaultIsOpen?: boolean;
33
+ defaultValue?: string;
34
+ disabled?: string[];
35
+ maxDate?: string;
36
+ minDate?: string;
37
+ isDisabled?: boolean;
38
+ isOpen?: boolean;
39
+ nextMonthLabel?: string;
40
+ previousMonthLabel?: string;
41
+ spacing?: Spacing;
42
+ value?: string;
43
+ isInvalid?: boolean;
44
+ dateFormat?: string;
45
+ placeholder?: string;
46
+ locale?: string;
47
+ testId?: string;
48
+ weekStartDay?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
49
+ onChange?: (value: string) => void;
50
+ selectProps?: DateTimePickerSelectProps;
51
+ } & Partial<Omit<FieldProps, 'onChange'>>;