@forge/react 11.2.1 → 11.2.2-next.0-experimental-9e772ae

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,21 @@
1
1
  # @forge/react
2
2
 
3
+ ## 11.2.2-next.0-experimental-9e772ae
4
+
5
+ ### Patch Changes
6
+
7
+ - e25cbec: Update type on Image component
8
+ - Updated dependencies [e25cbec]
9
+ - @forge/bridge@4.5.3-next.0-experimental-9e772ae
10
+
11
+ ## 11.2.2-next.0
12
+
13
+ ### Patch Changes
14
+
15
+ - e25cbec: Update type on Image component
16
+ - Updated dependencies [e25cbec]
17
+ - @forge/bridge@4.5.3-next.0
18
+
3
19
  ## 11.2.1
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # Forge React
2
2
 
3
3
  ## Changes
4
- See [CHANGELOG.md](CHANGELOG.md)
4
+ See [https://developer.atlassian.com/platform/forge/changelog/](https://developer.atlassian.com/platform/forge/changelog/).
@@ -1,4 +1,4 @@
1
- import { ForgeElement, MarkupProps, NativeImageProps as ImageProps, NativeLinkProps as LinkProps, NativeUserPickerProps as UserPickerProps, UserGroupProps, FrameProps } from '../types/index';
1
+ import { ForgeElement, MarkupProps, NativeLinkProps as LinkProps, NativeUserPickerProps as UserPickerProps, UserGroupProps, FrameProps } from '../types/index';
2
2
  import { CheckboxGroupProps as UIKitCheckboxGroupProps } from '@atlaskit/forge-react-types';
3
3
  export { DynamicTable } from './dynamic-table';
4
4
  export { InlineEdit } from './inline-edit';
@@ -16,6 +16,18 @@ declare type UserProps = {
16
16
  * @see [User](https://developer.atlassian.com/platform/forge/ui-kit/components/user/) in UI Kit documentation for more information
17
17
  */
18
18
  export declare const User: (props: UserProps) => ForgeElement;
19
+ export interface ImageProps {
20
+ src: string;
21
+ alt?: string;
22
+ size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
23
+ height?: string | number;
24
+ width?: string | number;
25
+ }
26
+ /**
27
+ * An image component to display images.
28
+ *
29
+ * @see [Image](https://developer.atlassian.com/platform/forge/ui-kit/components/image/) in UI Kit documentation for more information
30
+ */
19
31
  export declare const Image: (props: ImageProps) => ForgeElement;
20
32
  export declare const Link: (props: LinkProps) => ForgeElement;
21
33
  export declare const UserPicker: (props: UserPickerProps) => ForgeElement;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,gBAAgB,IAAI,UAAU,EAC9B,eAAe,IAAI,SAAS,EAC5B,qBAAqB,IAAI,eAAe,EACxC,cAAc,EACd,UAAU,EACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,IAAI,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,aAAK,SAAS,GAAG;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,IAAI,UAAgC,SAAS,KAAK,YAAY,CAAC;AAE5E,eAAO,MAAM,KAAK,UAAiC,UAAU,KAAK,YAAY,CAAC;AAC/E,eAAO,MAAM,IAAI,UAAgC,SAAS,KAAK,YAAY,CAAC;AAC5E,eAAO,MAAM,UAAU,UAAsC,eAAe,KAAK,YAAY,CAAC;AAC9F,eAAO,MAAM,SAAS,UAAqC,cAA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E,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AACD,aAAK,kBAAkB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC;AAC5E,eAAO,MAAM,aAAa,UAAyC,kBAAkB,KAAK,YAAY,CAAC"}
@@ -18,6 +18,11 @@ Object.defineProperty(exports, "AdfRenderer", { enumerable: true, get: function
18
18
  * @see [User](https://developer.atlassian.com/platform/forge/ui-kit/components/user/) in UI Kit documentation for more information
19
19
  */
20
20
  exports.User = 'User';
21
+ /**
22
+ * An image component to display images.
23
+ *
24
+ * @see [Image](https://developer.atlassian.com/platform/forge/ui-kit/components/image/) in UI Kit documentation for more information
25
+ */
21
26
  exports.Image = 'Image';
22
27
  exports.Link = 'Link';
23
28
  exports.UserPicker = 'UserPicker';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/react",
3
- "version": "11.2.1",
3
+ "version": "11.2.2-next.0-experimental-9e772ae",
4
4
  "description": "Forge React reconciler",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -22,7 +22,7 @@
22
22
  "@atlaskit/adf-schema": "^48.0.0",
23
23
  "@atlaskit/adf-utils": "^19.19.0",
24
24
  "@atlaskit/forge-react-types": "^0.41.14",
25
- "@forge/bridge": "^4.5.2",
25
+ "@forge/bridge": "^4.5.3-next.0-experimental-9e772ae",
26
26
  "@forge/i18n": "0.0.5",
27
27
  "@types/react-reconciler": "^0.28.8",
28
28
  "lodash": "^4.17.21",