@fluentui/react-link 9.4.0 → 9.4.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,12 +1,37 @@
1
1
  # Change Log - @fluentui/react-link
2
2
 
3
- This log was last generated on Fri, 21 Feb 2025 14:30:47 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 19 Mar 2025 15:36:13 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.4.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.4.2)
8
+
9
+ Wed, 19 Mar 2025 15:36:13 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-link_v9.4.1..@fluentui/react-link_v9.4.2)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-jsx-runtime to v9.0.52 ([PR #34032](https://github.com/microsoft/fluentui/pull/34032) by beachball)
15
+ - Bump @fluentui/react-shared-contexts to v9.23.0 ([PR #34032](https://github.com/microsoft/fluentui/pull/34032) by beachball)
16
+ - Bump @fluentui/react-tabster to v9.24.2 ([PR #34032](https://github.com/microsoft/fluentui/pull/34032) by beachball)
17
+ - Bump @fluentui/react-utilities to v9.18.22 ([PR #34032](https://github.com/microsoft/fluentui/pull/34032) by beachball)
18
+
19
+ ## [9.4.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.4.1)
20
+
21
+ Tue, 11 Mar 2025 18:58:51 GMT
22
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-link_v9.4.0..@fluentui/react-link_v9.4.1)
23
+
24
+ ### Patches
25
+
26
+ - fix: Link now pulls customStyleHook from context ([PR #33894](https://github.com/microsoft/fluentui/pull/33894) by mgodbolt@microsoft.com)
27
+ - Bump @fluentui/react-jsx-runtime to v9.0.51 ([PR #33927](https://github.com/microsoft/fluentui/pull/33927) by beachball)
28
+ - Bump @fluentui/react-shared-contexts to v9.22.0 ([PR #33927](https://github.com/microsoft/fluentui/pull/33927) by beachball)
29
+ - Bump @fluentui/react-tabster to v9.24.1 ([PR #33927](https://github.com/microsoft/fluentui/pull/33927) by beachball)
30
+ - Bump @fluentui/react-utilities to v9.18.21 ([PR #33927](https://github.com/microsoft/fluentui/pull/33927) by beachball)
31
+
7
32
  ## [9.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.4.0)
8
33
 
9
- Fri, 21 Feb 2025 14:30:47 GMT
34
+ Fri, 21 Feb 2025 14:34:05 GMT
10
35
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-link_v9.3.7..@fluentui/react-link_v9.4.0)
11
36
 
12
37
  ### Minor changes
@@ -2,11 +2,13 @@ import * as React from 'react';
2
2
  import { useLink_unstable } from './useLink';
3
3
  import { useLinkStyles_unstable } from './useLinkStyles.styles';
4
4
  import { renderLink_unstable } from './renderLink';
5
+ import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
5
6
  /**
6
7
  * A Link is a reference to data that a user can follow by clicking or tapping it.
7
8
  */ export const Link = /*#__PURE__*/ React.forwardRef((props, ref)=>{
8
9
  const state = useLink_unstable(props, ref);
9
10
  useLinkStyles_unstable(state);
11
+ useCustomStyleHook_unstable('useLinkStyles_unstable')(state);
10
12
  return renderLink_unstable(state);
11
13
  // Work around some small mismatches in inferred types which don't matter in practice
12
14
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Link/Link.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLink_unstable } from './useLink';\nimport { useLinkStyles_unstable } from './useLinkStyles.styles';\nimport { renderLink_unstable } from './renderLink';\nimport type { LinkProps } from './Link.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * A Link is a reference to data that a user can follow by clicking or tapping it.\n */\nexport const Link: ForwardRefComponent<LinkProps> = React.forwardRef((props, ref) => {\n const state = useLink_unstable(props, ref);\n\n useLinkStyles_unstable(state);\n\n return renderLink_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<LinkProps>;\n\nLink.displayName = 'Link';\n"],"names":["React","useLink_unstable","useLinkStyles_unstable","renderLink_unstable","Link","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,sBAAsB,QAAQ,yBAAyB;AAChE,SAASC,mBAAmB,QAAQ,eAAe;AAInD;;CAEC,GACD,OAAO,MAAMC,qBAAuCJ,MAAMK,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQP,iBAAiBK,OAAOC;IAEtCL,uBAAuBM;IAEvB,OAAOL,oBAAoBK;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/Link/Link.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLink_unstable } from './useLink';\nimport { useLinkStyles_unstable } from './useLinkStyles.styles';\nimport { renderLink_unstable } from './renderLink';\nimport type { LinkProps } from './Link.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * A Link is a reference to data that a user can follow by clicking or tapping it.\n */\nexport const Link: ForwardRefComponent<LinkProps> = React.forwardRef((props, ref) => {\n const state = useLink_unstable(props, ref);\n\n useLinkStyles_unstable(state);\n\n useCustomStyleHook_unstable('useLinkStyles_unstable')(state);\n\n return renderLink_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<LinkProps>;\n\nLink.displayName = 'Link';\n"],"names":["React","useLink_unstable","useLinkStyles_unstable","renderLink_unstable","useCustomStyleHook_unstable","Link","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,sBAAsB,QAAQ,yBAAyB;AAChE,SAASC,mBAAmB,QAAQ,eAAe;AAGnD,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCN,uBAAuBO;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAON,oBAAoBM;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
@@ -13,9 +13,11 @@ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
13
13
  const _useLink = require("./useLink");
14
14
  const _useLinkStylesstyles = require("./useLinkStyles.styles");
15
15
  const _renderLink = require("./renderLink");
16
+ const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
16
17
  const Link = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
17
18
  const state = (0, _useLink.useLink_unstable)(props, ref);
18
19
  (0, _useLinkStylesstyles.useLinkStyles_unstable)(state);
20
+ (0, _reactsharedcontexts.useCustomStyleHook_unstable)('useLinkStyles_unstable')(state);
19
21
  return (0, _renderLink.renderLink_unstable)(state);
20
22
  // Work around some small mismatches in inferred types which don't matter in practice
21
23
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Link/Link.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLink_unstable } from './useLink';\nimport { useLinkStyles_unstable } from './useLinkStyles.styles';\nimport { renderLink_unstable } from './renderLink';\nimport type { LinkProps } from './Link.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * A Link is a reference to data that a user can follow by clicking or tapping it.\n */\nexport const Link: ForwardRefComponent<LinkProps> = React.forwardRef((props, ref) => {\n const state = useLink_unstable(props, ref);\n\n useLinkStyles_unstable(state);\n\n return renderLink_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<LinkProps>;\n\nLink.displayName = 'Link';\n"],"names":["Link","React","forwardRef","props","ref","state","useLink_unstable","useLinkStyles_unstable","renderLink_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAUaA;;;eAAAA;;;;iEAVU;yBACU;qCACM;4BACH;AAO7B,MAAMA,OAAAA,WAAAA,GAAuCC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQC,IAAAA,yBAAAA,EAAiBH,OAAOC;IAEtCG,IAAAA,2CAAAA,EAAuBF;IAEvB,OAAOG,IAAAA,+BAAAA,EAAoBH;AAC3B,qFAAqF;AACvF;AAEAL,KAAKS,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/Link/Link.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLink_unstable } from './useLink';\nimport { useLinkStyles_unstable } from './useLinkStyles.styles';\nimport { renderLink_unstable } from './renderLink';\nimport type { LinkProps } from './Link.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * A Link is a reference to data that a user can follow by clicking or tapping it.\n */\nexport const Link: ForwardRefComponent<LinkProps> = React.forwardRef((props, ref) => {\n const state = useLink_unstable(props, ref);\n\n useLinkStyles_unstable(state);\n\n useCustomStyleHook_unstable('useLinkStyles_unstable')(state);\n\n return renderLink_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<LinkProps>;\n\nLink.displayName = 'Link';\n"],"names":["Link","React","forwardRef","props","ref","state","useLink_unstable","useLinkStyles_unstable","useCustomStyleHook_unstable","renderLink_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAWaA;;;eAAAA;;;;iEAXU;yBACU;qCACM;4BACH;qCAGQ;AAKrC,MAAMA,OAAAA,WAAAA,GAAuCC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQC,IAAAA,yBAAAA,EAAiBH,OAAOC;IAEtCG,IAAAA,2CAAAA,EAAuBF;IAEvBG,IAAAA,gDAAAA,EAA4B,0BAA0BH;IAEtD,OAAOI,IAAAA,+BAAAA,EAAoBJ;AAC3B,qFAAqF;AACvF;AAEAL,KAAKU,WAAW,GAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-link",
3
- "version": "9.4.0",
3
+ "version": "9.4.2",
4
4
  "description": "Fluent UI React Link component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -20,11 +20,11 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@fluentui/keyboard-keys": "^9.0.8",
23
- "@fluentui/react-jsx-runtime": "^9.0.50",
24
- "@fluentui/react-shared-contexts": "^9.21.2",
25
- "@fluentui/react-tabster": "^9.24.0",
23
+ "@fluentui/react-jsx-runtime": "^9.0.52",
24
+ "@fluentui/react-shared-contexts": "^9.23.0",
25
+ "@fluentui/react-tabster": "^9.24.2",
26
26
  "@fluentui/react-theme": "^9.1.24",
27
- "@fluentui/react-utilities": "^9.18.20",
27
+ "@fluentui/react-utilities": "^9.18.22",
28
28
  "@griffel/react": "^1.5.22",
29
29
  "@swc/helpers": "^0.5.1"
30
30
  },