@atlaskit/forge-react-types 0.33.0 → 0.33.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
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.33.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#172124](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/172124)
8
+ [`55dc6e0a2ee3d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/55dc6e0a2ee3d) -
9
+ Revert removing deprecated props
10
+ - Updated dependencies
11
+
12
+ ## 0.33.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 0.33.0
4
19
 
5
20
  ### Minor Changes
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::7d5ca188bceddb8dc1bab0cc6c12b7eb>>
6
+ * @codegen <<SignedSource::1283480b16535a85647a618a3ae8762a>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::e7893d718c9c99386f3ffafcffbbfbf7>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::5408131ac700a0baedb02ef897692c12>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
  export interface FieldProps {
@@ -21,9 +21,12 @@ export interface FieldProps {
21
21
  'aria-labelledby': string;
22
22
  name: string;
23
23
  }
24
+ type Appearance = 'default' | 'subtle' | 'none';
24
25
  type Spacing = 'compact' | 'default';
25
26
  export type DatePickerProps = {
27
+ appearance?: Appearance;
26
28
  autoFocus?: boolean;
29
+ defaultIsOpen?: boolean;
27
30
  defaultValue?: string;
28
31
  disabled?: string[];
29
32
  maxDate?: string;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormProps
5
5
  *
6
- * @codegen <<SignedSource::e4fd98e34e924eedd46c404a7f1cb53e>>
6
+ * @codegen <<SignedSource::d32cccf406ef44f93ed640099e4fbc55>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/index.tsx <<SignedSource::0799b151ffba2039603ebfc2a56c8794>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/index.tsx <<SignedSource::4e22f44554236bb94cd211c5a4fec470>>
9
9
  */
10
10
  import type { ReactNode } from 'react';
11
11
  export type FormProps = {
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - SelectProps
5
5
  *
6
- * @codegen <<SignedSource::2bc7fe8cfb0042989648b8ea50915b1c>>
6
+ * @codegen <<SignedSource::3b7200ff817a7c5d80c0382e136dfbaa>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/select/index.tsx <<SignedSource::1401c8d11b6573ebf4985ff32ed39da9>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/select/index.tsx <<SignedSource::a2510e0de095c3d94007eb9c6488aa55>>
9
9
  */
10
10
  import type { SelectProps as PlatformSelectProps } from '@atlaskit/select';
11
- export type SelectProps = Pick<PlatformSelectProps<any, true | false>, 'appearance' | 'autoFocus' | 'closeMenuOnScroll' | 'closeMenuOnSelect' | 'defaultInputValue' | 'defaultMenuIsOpen' | 'defaultValue' | 'id' | 'inputId' | 'inputValue' | 'isClearable' | 'isDisabled' | 'isInvalid' | 'isLoading' | 'isMulti' | 'isSearchable' | 'menuIsOpen' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onInputChange' | 'options' | 'placeholder' | 'spacing' | 'testId' | 'value' | 'isRequired'>;
11
+ export type SelectProps = Pick<PlatformSelectProps<any, true | false>, 'appearance' | 'autoFocus' | 'closeMenuOnScroll' | 'closeMenuOnSelect' | 'defaultInputValue' | 'defaultMenuIsOpen' | 'defaultValue' | 'id' | 'inputId' | 'inputValue' | 'isClearable' | 'isDisabled' | 'isInvalid' | 'isLoading' | 'isMulti' | 'isSearchable' | 'menuIsOpen' | 'openMenuOnFocus' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onInputChange' | 'options' | 'placeholder' | 'spacing' | 'testId' | 'value' | 'isRequired'>;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - TimePickerProps
5
5
  *
6
- * @codegen <<SignedSource::900a8ca4989787ed581746e8c8ee267a>>
6
+ * @codegen <<SignedSource::0027e64e8dfc8734cdaad0f9c30f8a71>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::5c2d81f7609af38cf6593bb1d4e06fe1>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::5bcabc669a6d294cb820187410a39ec5>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
  export interface FieldProps {
@@ -21,9 +21,12 @@ export interface FieldProps {
21
21
  'aria-labelledby': string;
22
22
  name: string;
23
23
  }
24
+ type Appearance = 'default' | 'subtle' | 'none';
24
25
  type Spacing = 'compact' | 'default';
25
26
  export type TimePickerProps = {
27
+ appearance?: Appearance;
26
28
  autoFocus?: boolean;
29
+ defaultIsOpen?: boolean;
27
30
  defaultValue?: string;
28
31
  isOpen?: boolean;
29
32
  label?: string;
@@ -1,2 +1,4 @@
1
1
  import { type RendererProps } from '@atlaskit/renderer';
2
- export type AdfRendererProps = RendererProps;
2
+ export type AdfRendererProps = RendererProps & {
3
+ documentWithoutMedia?: RendererProps['document'];
4
+ };
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::7d5ca188bceddb8dc1bab0cc6c12b7eb>>
6
+ * @codegen <<SignedSource::1283480b16535a85647a618a3ae8762a>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::e7893d718c9c99386f3ffafcffbbfbf7>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::5408131ac700a0baedb02ef897692c12>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
  export interface FieldProps {
@@ -21,9 +21,12 @@ export interface FieldProps {
21
21
  'aria-labelledby': string;
22
22
  name: string;
23
23
  }
24
+ type Appearance = 'default' | 'subtle' | 'none';
24
25
  type Spacing = 'compact' | 'default';
25
26
  export type DatePickerProps = {
27
+ appearance?: Appearance;
26
28
  autoFocus?: boolean;
29
+ defaultIsOpen?: boolean;
27
30
  defaultValue?: string;
28
31
  disabled?: string[];
29
32
  maxDate?: string;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormProps
5
5
  *
6
- * @codegen <<SignedSource::e4fd98e34e924eedd46c404a7f1cb53e>>
6
+ * @codegen <<SignedSource::d32cccf406ef44f93ed640099e4fbc55>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/index.tsx <<SignedSource::0799b151ffba2039603ebfc2a56c8794>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/index.tsx <<SignedSource::4e22f44554236bb94cd211c5a4fec470>>
9
9
  */
10
10
  import type { ReactNode } from 'react';
11
11
  export type FormProps = {
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - SelectProps
5
5
  *
6
- * @codegen <<SignedSource::2bc7fe8cfb0042989648b8ea50915b1c>>
6
+ * @codegen <<SignedSource::3b7200ff817a7c5d80c0382e136dfbaa>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/select/index.tsx <<SignedSource::1401c8d11b6573ebf4985ff32ed39da9>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/select/index.tsx <<SignedSource::a2510e0de095c3d94007eb9c6488aa55>>
9
9
  */
10
10
  import type { SelectProps as PlatformSelectProps } from '@atlaskit/select';
11
- export type SelectProps = Pick<PlatformSelectProps<any, true | false>, 'appearance' | 'autoFocus' | 'closeMenuOnScroll' | 'closeMenuOnSelect' | 'defaultInputValue' | 'defaultMenuIsOpen' | 'defaultValue' | 'id' | 'inputId' | 'inputValue' | 'isClearable' | 'isDisabled' | 'isInvalid' | 'isLoading' | 'isMulti' | 'isSearchable' | 'menuIsOpen' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onInputChange' | 'options' | 'placeholder' | 'spacing' | 'testId' | 'value' | 'isRequired'>;
11
+ export type SelectProps = Pick<PlatformSelectProps<any, true | false>, 'appearance' | 'autoFocus' | 'closeMenuOnScroll' | 'closeMenuOnSelect' | 'defaultInputValue' | 'defaultMenuIsOpen' | 'defaultValue' | 'id' | 'inputId' | 'inputValue' | 'isClearable' | 'isDisabled' | 'isInvalid' | 'isLoading' | 'isMulti' | 'isSearchable' | 'menuIsOpen' | 'openMenuOnFocus' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onInputChange' | 'options' | 'placeholder' | 'spacing' | 'testId' | 'value' | 'isRequired'>;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - TimePickerProps
5
5
  *
6
- * @codegen <<SignedSource::900a8ca4989787ed581746e8c8ee267a>>
6
+ * @codegen <<SignedSource::0027e64e8dfc8734cdaad0f9c30f8a71>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::5c2d81f7609af38cf6593bb1d4e06fe1>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::5bcabc669a6d294cb820187410a39ec5>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
  export interface FieldProps {
@@ -21,9 +21,12 @@ export interface FieldProps {
21
21
  'aria-labelledby': string;
22
22
  name: string;
23
23
  }
24
+ type Appearance = 'default' | 'subtle' | 'none';
24
25
  type Spacing = 'compact' | 'default';
25
26
  export type TimePickerProps = {
27
+ appearance?: Appearance;
26
28
  autoFocus?: boolean;
29
+ defaultIsOpen?: boolean;
27
30
  defaultValue?: string;
28
31
  isOpen?: boolean;
29
32
  label?: string;
@@ -1,2 +1,4 @@
1
1
  import { type RendererProps } from '@atlaskit/renderer';
2
- export type AdfRendererProps = RendererProps;
2
+ export type AdfRendererProps = RendererProps & {
3
+ documentWithoutMedia?: RendererProps['document'];
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/forge-react-types",
3
- "version": "0.33.0",
3
+ "version": "0.33.2",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,16 +42,16 @@
42
42
  "@atlaskit/progress-bar": "3.0.1",
43
43
  "@atlaskit/progress-tracker": "9.0.0",
44
44
  "@atlaskit/radio": "^6.6.0",
45
- "@atlaskit/range": "^7.4.0",
45
+ "@atlaskit/range": "^8.0.0",
46
46
  "@atlaskit/renderer": "^112.6.0",
47
47
  "@atlaskit/section-message": "^6.8.0",
48
- "@atlaskit/select": "^18.7.0",
48
+ "@atlaskit/select": "^18.8.0",
49
49
  "@atlaskit/spinner": "^16.3.0",
50
- "@atlaskit/tabs": "^16.5.0",
50
+ "@atlaskit/tabs": "^17.0.0",
51
51
  "@atlaskit/tag": "^12.6.0",
52
52
  "@atlaskit/tag-group": "^11.0.0",
53
- "@atlaskit/textarea": "^5.6.0",
54
- "@atlaskit/textfield": "^6.6.0",
53
+ "@atlaskit/textarea": "^5.7.0",
54
+ "@atlaskit/textfield": "^6.7.0",
55
55
  "@atlaskit/toggle": "^13.4.0",
56
56
  "@atlaskit/tokens": "^2.4.0",
57
57
  "@atlaskit/tooltip": "^18.9.0",
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::7d5ca188bceddb8dc1bab0cc6c12b7eb>>
6
+ * @codegen <<SignedSource::1283480b16535a85647a618a3ae8762a>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::e7893d718c9c99386f3ffafcffbbfbf7>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::5408131ac700a0baedb02ef897692c12>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
 
@@ -23,10 +23,13 @@ export interface FieldProps {
23
23
  name: string;
24
24
  }
25
25
 
26
+ type Appearance = 'default' | 'subtle' | 'none';
26
27
  type Spacing = 'compact' | 'default';
27
28
 
28
29
  export type DatePickerProps = {
30
+ appearance?: Appearance;
29
31
  autoFocus?: boolean;
32
+ defaultIsOpen?: boolean;
30
33
  defaultValue?: string;
31
34
  disabled?: string[];
32
35
  maxDate?: string;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormProps
5
5
  *
6
- * @codegen <<SignedSource::e4fd98e34e924eedd46c404a7f1cb53e>>
6
+ * @codegen <<SignedSource::d32cccf406ef44f93ed640099e4fbc55>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/index.tsx <<SignedSource::0799b151ffba2039603ebfc2a56c8794>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/index.tsx <<SignedSource::4e22f44554236bb94cd211c5a4fec470>>
9
9
  */
10
10
  import type { ReactNode } from 'react';
11
11
 
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - SelectProps
5
5
  *
6
- * @codegen <<SignedSource::2bc7fe8cfb0042989648b8ea50915b1c>>
6
+ * @codegen <<SignedSource::3b7200ff817a7c5d80c0382e136dfbaa>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/select/index.tsx <<SignedSource::1401c8d11b6573ebf4985ff32ed39da9>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/select/index.tsx <<SignedSource::a2510e0de095c3d94007eb9c6488aa55>>
9
9
  */
10
10
  import type { SelectProps as PlatformSelectProps } from '@atlaskit/select';
11
11
 
@@ -29,6 +29,7 @@ export type SelectProps = Pick<
29
29
  | 'isMulti'
30
30
  | 'isSearchable'
31
31
  | 'menuIsOpen'
32
+ | 'openMenuOnFocus'
32
33
  | 'name'
33
34
  | 'onBlur'
34
35
  | 'onChange'
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - TimePickerProps
5
5
  *
6
- * @codegen <<SignedSource::900a8ca4989787ed581746e8c8ee267a>>
6
+ * @codegen <<SignedSource::0027e64e8dfc8734cdaad0f9c30f8a71>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::5c2d81f7609af38cf6593bb1d4e06fe1>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::5bcabc669a6d294cb820187410a39ec5>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
 
@@ -23,10 +23,13 @@ export interface FieldProps {
23
23
  name: string;
24
24
  }
25
25
 
26
+ type Appearance = 'default' | 'subtle' | 'none';
26
27
  type Spacing = 'compact' | 'default';
27
28
 
28
29
  export type TimePickerProps = {
30
+ appearance?: Appearance;
29
31
  autoFocus?: boolean;
32
+ defaultIsOpen?: boolean;
30
33
  defaultValue?: string;
31
34
  isOpen?: boolean;
32
35
  label?: string;
@@ -1,3 +1,5 @@
1
1
  import { type RendererProps } from '@atlaskit/renderer';
2
2
 
3
- export type AdfRendererProps = RendererProps;
3
+ export type AdfRendererProps = RendererProps & {
4
+ documentWithoutMedia?: RendererProps['document'];
5
+ };