@fluentui/react-tabster 0.0.0-nightly-20240116-0406.1 → 0.0.0-nightly-20240118-0405.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,20 +1,40 @@
|
|
1
1
|
# Change Log - @fluentui/react-tabster
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 18 Jan 2024 04:20:56 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20240118-0405.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v0.0.0-nightly-20240118-0405.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.17.
|
9
|
+
Thu, 18 Jan 2024 04:20:56 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.17.2..@fluentui/react-tabster_v0.0.0-nightly-20240118-0405.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
17
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
15
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
|
16
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
|
17
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
|
18
|
+
|
19
|
+
## [9.17.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.17.2)
|
20
|
+
|
21
|
+
Wed, 17 Jan 2024 16:18:50 GMT
|
22
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.17.1..@fluentui/react-tabster_v9.17.2)
|
23
|
+
|
24
|
+
### Patches
|
25
|
+
|
26
|
+
- chore: use Types.TabsterAttributeName in useTabsterAttributes() ([PR #30321](https://github.com/microsoft/fluentui/pull/30321) by olfedias@microsoft.com)
|
27
|
+
- Bump @fluentui/react-utilities to v9.16.0 ([PR #30339](https://github.com/microsoft/fluentui/pull/30339) by beachball)
|
28
|
+
|
29
|
+
## [9.17.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.17.1)
|
30
|
+
|
31
|
+
Tue, 16 Jan 2024 13:14:10 GMT
|
32
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.17.0..@fluentui/react-tabster_v9.17.1)
|
33
|
+
|
34
|
+
### Patches
|
35
|
+
|
36
|
+
- fix: memoize tabster attributes ([PR #30289](https://github.com/microsoft/fluentui/pull/30289) by lingfangao@hotmail.com)
|
37
|
+
- fix: correct version of @types/react-dom peer dep that matches for 16.x ([PR #30259](https://github.com/microsoft/fluentui/pull/30259) by mgodbolt@microsoft.com)
|
18
38
|
|
19
39
|
## [9.17.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.17.0)
|
20
40
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { getTabsterAttribute } from 'tabster';
|
1
|
+
import { getTabsterAttribute, Types as TabsterTypes } from 'tabster';
|
2
2
|
import { useTabster } from './useTabster';
|
3
3
|
import * as React from 'react';
|
4
4
|
/**
|
@@ -10,7 +10,7 @@ import * as React from 'react';
|
|
10
10
|
useTabster();
|
11
11
|
const strAttr = getTabsterAttribute(props, true);
|
12
12
|
return React.useMemo(()=>({
|
13
|
-
|
13
|
+
[TabsterTypes.TabsterAttributeName]: strAttr
|
14
14
|
}), [
|
15
15
|
strAttr
|
16
16
|
]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useTabsterAttributes.ts"],"sourcesContent":["import { getTabsterAttribute, Types as TabsterTypes } from 'tabster';\nimport { useTabster } from './useTabster';\nimport * as React from 'react';\n\n/**\n * @internal\n * Hook that returns tabster attributes while ensuring tabster exists\n */\nexport const useTabsterAttributes = (props: TabsterTypes.TabsterAttributeProps): TabsterTypes.TabsterDOMAttribute => {\n // A tabster instance is not necessary to generate tabster attributes\n // but calling the hook will ensure that a tabster instance exists internally and avoids consumers doing the same\n useTabster();\n\n const strAttr = getTabsterAttribute(props, true);\n return React.useMemo(\n () => ({\n
|
1
|
+
{"version":3,"sources":["useTabsterAttributes.ts"],"sourcesContent":["import { getTabsterAttribute, Types as TabsterTypes } from 'tabster';\nimport { useTabster } from './useTabster';\nimport * as React from 'react';\n\n/**\n * @internal\n * Hook that returns tabster attributes while ensuring tabster exists\n */\nexport const useTabsterAttributes = (props: TabsterTypes.TabsterAttributeProps): TabsterTypes.TabsterDOMAttribute => {\n // A tabster instance is not necessary to generate tabster attributes\n // but calling the hook will ensure that a tabster instance exists internally and avoids consumers doing the same\n useTabster();\n\n const strAttr = getTabsterAttribute(props, true);\n\n return React.useMemo(\n () => ({\n [TabsterTypes.TabsterAttributeName]: strAttr,\n }),\n [strAttr],\n );\n};\n"],"names":["getTabsterAttribute","Types","TabsterTypes","useTabster","React","useTabsterAttributes","props","strAttr","useMemo","TabsterAttributeName"],"mappings":"AAAA,SAASA,mBAAmB,EAAEC,SAASC,YAAY,QAAQ,UAAU;AACrE,SAASC,UAAU,QAAQ,eAAe;AAC1C,YAAYC,WAAW,QAAQ;AAE/B;;;CAGC,GACD,OAAO,MAAMC,uBAAuB,CAACC;IACnC,qEAAqE;IACrE,iHAAiH;IACjHH;IAEA,MAAMI,UAAUP,oBAAoBM,OAAO;IAE3C,OAAOF,MAAMI,OAAO,CAClB,IAAO,CAAA;YACL,CAACN,aAAaO,oBAAoB,CAAC,EAAEF;QACvC,CAAA,GACA;QAACA;KAAQ;AAEb,EAAE"}
|
@@ -18,7 +18,7 @@ const useTabsterAttributes = (props)=>{
|
|
18
18
|
(0, _useTabster.useTabster)();
|
19
19
|
const strAttr = (0, _tabster.getTabsterAttribute)(props, true);
|
20
20
|
return _react.useMemo(()=>({
|
21
|
-
|
21
|
+
[_tabster.Types.TabsterAttributeName]: strAttr
|
22
22
|
}), [
|
23
23
|
strAttr
|
24
24
|
]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useTabsterAttributes.js"],"sourcesContent":["import { getTabsterAttribute } from 'tabster';\nimport { useTabster } from './useTabster';\nimport * as React from 'react';\n/**\n * @internal\n * Hook that returns tabster attributes while ensuring tabster exists\n */ export const useTabsterAttributes = (props)=>{\n // A tabster instance is not necessary to generate tabster attributes\n // but calling the hook will ensure that a tabster instance exists internally and avoids consumers doing the same\n useTabster();\n const strAttr = getTabsterAttribute(props, true);\n return React.useMemo(()=>({\n
|
1
|
+
{"version":3,"sources":["useTabsterAttributes.js"],"sourcesContent":["import { getTabsterAttribute, Types as TabsterTypes } from 'tabster';\nimport { useTabster } from './useTabster';\nimport * as React from 'react';\n/**\n * @internal\n * Hook that returns tabster attributes while ensuring tabster exists\n */ export const useTabsterAttributes = (props)=>{\n // A tabster instance is not necessary to generate tabster attributes\n // but calling the hook will ensure that a tabster instance exists internally and avoids consumers doing the same\n useTabster();\n const strAttr = getTabsterAttribute(props, true);\n return React.useMemo(()=>({\n [TabsterTypes.TabsterAttributeName]: strAttr\n }), [\n strAttr\n ]);\n};\n"],"names":["useTabsterAttributes","props","useTabster","strAttr","getTabsterAttribute","React","useMemo","TabsterTypes","TabsterAttributeName"],"mappings":";;;;+BAMiBA;;;eAAAA;;;;yBAN0C;4BAChC;iEACJ;AAIZ,MAAMA,uBAAuB,CAACC;IACrC,qEAAqE;IACrE,iHAAiH;IACjHC,IAAAA,sBAAU;IACV,MAAMC,UAAUC,IAAAA,4BAAmB,EAACH,OAAO;IAC3C,OAAOI,OAAMC,OAAO,CAAC,IAAK,CAAA;YAClB,CAACC,cAAY,CAACC,oBAAoB,CAAC,EAAEL;QACzC,CAAA,GAAI;QACJA;KACH;AACL"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-tabster",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20240118-0405.1",
|
4
4
|
"description": "Utilities for focus management and facade for tabster",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -31,9 +31,9 @@
|
|
31
31
|
"@fluentui/scripts-tasks": "*"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@fluentui/react-shared-contexts": "0.0.0-nightly-
|
35
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
36
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
34
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20240118-0405.1",
|
35
|
+
"@fluentui/react-theme": "0.0.0-nightly-20240118-0405.1",
|
36
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20240118-0405.1",
|
37
37
|
"@griffel/react": "^1.5.14",
|
38
38
|
"@swc/helpers": "^0.5.1",
|
39
39
|
"keyborg": "^2.3.0",
|