@fluentui/react-image 9.1.41 → 9.1.43

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.json CHANGED
@@ -2,7 +2,49 @@
2
2
  "name": "@fluentui/react-image",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 11 Oct 2023 13:50:07 GMT",
5
+ "date": "Wed, 18 Oct 2023 17:47:37 GMT",
6
+ "tag": "@fluentui/react-image_v9.1.43",
7
+ "version": "9.1.43",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-image",
13
+ "comment": "Bump @fluentui/react-utilities to v9.15.1",
14
+ "commit": "c0d3065982e1646c54ba00c1d524248b792dbcad"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-image",
19
+ "comment": "Bump @fluentui/react-jsx-runtime to v9.0.18",
20
+ "commit": "c0d3065982e1646c54ba00c1d524248b792dbcad"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Thu, 12 Oct 2023 14:55:43 GMT",
27
+ "tag": "@fluentui/react-image_v9.1.42",
28
+ "version": "9.1.42",
29
+ "comments": {
30
+ "patch": [
31
+ {
32
+ "author": "bernardo.sunderhus@gmail.com",
33
+ "package": "@fluentui/react-image",
34
+ "commit": "355fd5631311dc163f32ba79655a132376089f95",
35
+ "comment": "chore: migrate from getNativeElementProps for getIntrinsicElementProps"
36
+ },
37
+ {
38
+ "author": "beachball",
39
+ "package": "@fluentui/react-image",
40
+ "comment": "Bump @fluentui/react-jsx-runtime to v9.0.17",
41
+ "commit": "8178c3cae60005bc21137aa1f3e766e18cdb4a30"
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "date": "Wed, 11 Oct 2023 13:54:26 GMT",
6
48
  "tag": "@fluentui/react-image_v9.1.41",
7
49
  "version": "9.1.41",
8
50
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,32 @@
1
1
  # Change Log - @fluentui/react-image
2
2
 
3
- This log was last generated on Wed, 11 Oct 2023 13:50:07 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 18 Oct 2023 17:47:37 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.1.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-image_v9.1.43)
8
+
9
+ Wed, 18 Oct 2023 17:47:37 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-image_v9.1.42..@fluentui/react-image_v9.1.43)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-utilities to v9.15.1 ([PR #29560](https://github.com/microsoft/fluentui/pull/29560) by beachball)
15
+ - Bump @fluentui/react-jsx-runtime to v9.0.18 ([PR #29560](https://github.com/microsoft/fluentui/pull/29560) by beachball)
16
+
17
+ ## [9.1.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-image_v9.1.42)
18
+
19
+ Thu, 12 Oct 2023 14:55:43 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-image_v9.1.41..@fluentui/react-image_v9.1.42)
21
+
22
+ ### Patches
23
+
24
+ - chore: migrate from getNativeElementProps for getIntrinsicElementProps ([PR #29498](https://github.com/microsoft/fluentui/pull/29498) by bernardo.sunderhus@gmail.com)
25
+ - Bump @fluentui/react-jsx-runtime to v9.0.17 ([PR #29513](https://github.com/microsoft/fluentui/pull/29513) by beachball)
26
+
7
27
  ## [9.1.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-image_v9.1.41)
8
28
 
9
- Wed, 11 Oct 2023 13:50:07 GMT
29
+ Wed, 11 Oct 2023 13:54:26 GMT
10
30
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-image_v9.1.40..@fluentui/react-image_v9.1.41)
11
31
 
12
32
  ### Patches
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { getNativeElementProps, slot } from '@fluentui/react-utilities';
2
+ import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';
3
3
  /**
4
4
  * Given user props, returns state and render function for an Image.
5
5
  */ export const useImage_unstable = (props, ref)=>{
@@ -13,7 +13,7 @@ import { getNativeElementProps, slot } from '@fluentui/react-utilities';
13
13
  components: {
14
14
  root: 'img'
15
15
  },
16
- root: slot.always(getNativeElementProps('img', {
16
+ root: slot.always(getIntrinsicElementProps('img', {
17
17
  ref,
18
18
  ...props
19
19
  }), {
@@ -1 +1 @@
1
- {"version":3,"sources":["useImage.ts"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, slot } from '@fluentui/react-utilities';\nimport type { ImageProps, ImageState } from './Image.types';\n\n/**\n * Given user props, returns state and render function for an Image.\n */\nexport const useImage_unstable = (props: ImageProps, ref: React.Ref<HTMLImageElement>): ImageState => {\n const { bordered = false, fit = 'default', block = false, shape = 'square', shadow = false } = props;\n\n const state: ImageState = {\n bordered,\n fit,\n block,\n shape,\n shadow,\n components: {\n root: 'img',\n },\n root: slot.always(\n getNativeElementProps<ImageProps>('img', {\n ref,\n ...props,\n }),\n { elementType: 'img' },\n ),\n };\n\n return state;\n};\n"],"names":["React","getNativeElementProps","slot","useImage_unstable","props","ref","bordered","fit","block","shape","shadow","state","components","root","always","elementType"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,qBAAqB,EAAEC,IAAI,QAAQ,4BAA4B;AAGxE;;CAEC,GACD,OAAO,MAAMC,oBAAoB,CAACC,OAAmBC;IACnD,MAAM,EAAEC,WAAW,KAAK,EAAEC,MAAM,SAAS,EAAEC,QAAQ,KAAK,EAAEC,QAAQ,QAAQ,EAAEC,SAAS,KAAK,EAAE,GAAGN;IAE/F,MAAMO,QAAoB;QACxBL;QACAC;QACAC;QACAC;QACAC;QACAE,YAAY;YACVC,MAAM;QACR;QACAA,MAAMX,KAAKY,MAAM,CACfb,sBAAkC,OAAO;YACvCI;YACA,GAAGD,KAAK;QACV,IACA;YAAEW,aAAa;QAAM;IAEzB;IAEA,OAAOJ;AACT,EAAE"}
1
+ {"version":3,"sources":["useImage.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { ImageProps, ImageState } from './Image.types';\n\n/**\n * Given user props, returns state and render function for an Image.\n */\nexport const useImage_unstable = (props: ImageProps, ref: React.Ref<HTMLImageElement>): ImageState => {\n const { bordered = false, fit = 'default', block = false, shape = 'square', shadow = false } = props;\n\n const state: ImageState = {\n bordered,\n fit,\n block,\n shape,\n shadow,\n components: {\n root: 'img',\n },\n root: slot.always(\n getIntrinsicElementProps('img', {\n ref,\n ...props,\n }),\n { elementType: 'img' },\n ),\n };\n\n return state;\n};\n"],"names":["React","getIntrinsicElementProps","slot","useImage_unstable","props","ref","bordered","fit","block","shape","shadow","state","components","root","always","elementType"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;CAEC,GACD,OAAO,MAAMC,oBAAoB,CAACC,OAAmBC;IACnD,MAAM,EAAEC,WAAW,KAAK,EAAEC,MAAM,SAAS,EAAEC,QAAQ,KAAK,EAAEC,QAAQ,QAAQ,EAAEC,SAAS,KAAK,EAAE,GAAGN;IAE/F,MAAMO,QAAoB;QACxBL;QACAC;QACAC;QACAC;QACAC;QACAE,YAAY;YACVC,MAAM;QACR;QACAA,MAAMX,KAAKY,MAAM,CACfb,yBAAyB,OAAO;YAC9BI;YACA,GAAGD,KAAK;QACV,IACA;YAAEW,aAAa;QAAM;IAEzB;IAEA,OAAOJ;AACT,EAAE"}
@@ -22,7 +22,7 @@ const useImage_unstable = (props, ref)=>{
22
22
  components: {
23
23
  root: 'img'
24
24
  },
25
- root: _reactutilities.slot.always((0, _reactutilities.getNativeElementProps)('img', {
25
+ root: _reactutilities.slot.always((0, _reactutilities.getIntrinsicElementProps)('img', {
26
26
  ref,
27
27
  ...props
28
28
  }), {
@@ -1 +1 @@
1
- {"version":3,"sources":["useImage.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, slot } from '@fluentui/react-utilities';\n/**\n * Given user props, returns state and render function for an Image.\n */ export const useImage_unstable = (props, ref)=>{\n const { bordered = false, fit = 'default', block = false, shape = 'square', shadow = false } = props;\n const state = {\n bordered,\n fit,\n block,\n shape,\n shadow,\n components: {\n root: 'img'\n },\n root: slot.always(getNativeElementProps('img', {\n ref,\n ...props\n }), {\n elementType: 'img'\n })\n };\n return state;\n};\n"],"names":["useImage_unstable","props","ref","bordered","fit","block","shape","shadow","state","components","root","slot","always","getNativeElementProps","elementType"],"mappings":";;;;+BAIiBA;;;eAAAA;;;;iEAJM;gCACqB;AAGjC,MAAMA,oBAAoB,CAACC,OAAOC;IACzC,MAAM,EAAEC,WAAW,KAAK,EAAEC,MAAM,SAAS,EAAEC,QAAQ,KAAK,EAAEC,QAAQ,QAAQ,EAAEC,SAAS,KAAK,EAAE,GAAGN;IAC/F,MAAMO,QAAQ;QACVL;QACAC;QACAC;QACAC;QACAC;QACAE,YAAY;YACRC,MAAM;QACV;QACAA,MAAMC,oBAAI,CAACC,MAAM,CAACC,IAAAA,qCAAqB,EAAC,OAAO;YAC3CX;YACA,GAAGD,KAAK;QACZ,IAAI;YACAa,aAAa;QACjB;IACJ;IACA,OAAON;AACX"}
1
+ {"version":3,"sources":["useImage.js"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\n/**\n * Given user props, returns state and render function for an Image.\n */ export const useImage_unstable = (props, ref)=>{\n const { bordered = false, fit = 'default', block = false, shape = 'square', shadow = false } = props;\n const state = {\n bordered,\n fit,\n block,\n shape,\n shadow,\n components: {\n root: 'img'\n },\n root: slot.always(getIntrinsicElementProps('img', {\n ref,\n ...props\n }), {\n elementType: 'img'\n })\n };\n return state;\n};\n"],"names":["useImage_unstable","props","ref","bordered","fit","block","shape","shadow","state","components","root","slot","always","getIntrinsicElementProps","elementType"],"mappings":";;;;+BAIiBA;;;eAAAA;;;;iEAJM;gCACwB;AAGpC,MAAMA,oBAAoB,CAACC,OAAOC;IACzC,MAAM,EAAEC,WAAW,KAAK,EAAEC,MAAM,SAAS,EAAEC,QAAQ,KAAK,EAAEC,QAAQ,QAAQ,EAAEC,SAAS,KAAK,EAAE,GAAGN;IAC/F,MAAMO,QAAQ;QACVL;QACAC;QACAC;QACAC;QACAC;QACAE,YAAY;YACRC,MAAM;QACV;QACAA,MAAMC,oBAAI,CAACC,MAAM,CAACC,IAAAA,wCAAwB,EAAC,OAAO;YAC9CX;YACA,GAAGD,KAAK;QACZ,IAAI;YACAa,aAAa;QACjB;IACJ;IACA,OAAON;AACX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-image",
3
- "version": "9.1.41",
3
+ "version": "9.1.43",
4
4
  "description": "Fluent UI React Image component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@fluentui/react-shared-contexts": "^9.10.0",
37
- "@fluentui/react-utilities": "^9.15.0",
38
- "@fluentui/react-jsx-runtime": "^9.0.16",
37
+ "@fluentui/react-utilities": "^9.15.1",
38
+ "@fluentui/react-jsx-runtime": "^9.0.18",
39
39
  "@fluentui/react-theme": "^9.1.14",
40
40
  "@griffel/react": "^1.5.14",
41
41
  "@swc/helpers": "^0.5.1"