@fluentui/react-overflow 9.0.0-beta.8 → 9.0.0-beta.9
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,30 @@
|
|
2
2
|
"name": "@fluentui/react-overflow",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Wed, 03 Aug 2022 16:00:19 GMT",
|
6
|
+
"tag": "@fluentui/react-overflow_v9.0.0-beta.9",
|
7
|
+
"version": "9.0.0-beta.9",
|
8
|
+
"comments": {
|
9
|
+
"none": [
|
10
|
+
{
|
11
|
+
"author": "bernardo.sunderhus@gmail.com",
|
12
|
+
"package": "@fluentui/react-overflow",
|
13
|
+
"commit": "d966ea3d9169f2e8d69f0d2a4daf86fe4ca328d6",
|
14
|
+
"comment": "disables eslint rule @fluentui/no-context-default-value for local component context"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"prerelease": [
|
18
|
+
{
|
19
|
+
"author": "miroslav.stastny@microsoft.com",
|
20
|
+
"package": "@fluentui/react-overflow",
|
21
|
+
"commit": "08563664778fd80284561d3c9d254307a0a32362",
|
22
|
+
"comment": "chore: Bump Griffel dependencies"
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"date": "Thu, 14 Jul 2022 21:21:01 GMT",
|
6
29
|
"tag": "@fluentui/react-overflow_v9.0.0-beta.8",
|
7
30
|
"version": "9.0.0-beta.8",
|
8
31
|
"comments": {
|
@@ -17,13 +40,13 @@
|
|
17
40
|
"author": "beachball",
|
18
41
|
"package": "@fluentui/react-overflow",
|
19
42
|
"comment": "Bump @fluentui/react-context-selector to v9.0.2",
|
20
|
-
"commit": "
|
43
|
+
"commit": "79b513146194367544160f364b0a7dd749ed93e4"
|
21
44
|
},
|
22
45
|
{
|
23
46
|
"author": "beachball",
|
24
47
|
"package": "@fluentui/react-overflow",
|
25
48
|
"comment": "Bump @fluentui/react-utilities to v9.0.2",
|
26
|
-
"commit": "
|
49
|
+
"commit": "79b513146194367544160f364b0a7dd749ed93e4"
|
27
50
|
}
|
28
51
|
]
|
29
52
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,19 +1,28 @@
|
|
1
1
|
# Change Log - @fluentui/react-overflow
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 03 Aug 2022 16:00:19 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v9.0.0-beta.9)
|
8
|
+
|
9
|
+
Wed, 03 Aug 2022 16:00:19 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-beta.8..@fluentui/react-overflow_v9.0.0-beta.9)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- chore: Bump Griffel dependencies ([PR #24114](https://github.com/microsoft/fluentui/pull/24114) by miroslav.stastny@microsoft.com)
|
15
|
+
|
7
16
|
## [9.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v9.0.0-beta.8)
|
8
17
|
|
9
|
-
Thu, 14 Jul 2022 21:
|
18
|
+
Thu, 14 Jul 2022 21:21:01 GMT
|
10
19
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-beta.7..@fluentui/react-overflow_v9.0.0-beta.8)
|
11
20
|
|
12
21
|
### Changes
|
13
22
|
|
14
23
|
- fix: Fixing bad version bump of @fluentui/react-utilities. ([PR #23920](https://github.com/microsoft/fluentui/pull/23920) by Humberto.Morimoto@microsoft.com)
|
15
|
-
- Bump @fluentui/react-context-selector to v9.0.2 ([PR #
|
16
|
-
- Bump @fluentui/react-utilities to v9.0.2 ([PR #
|
24
|
+
- Bump @fluentui/react-context-selector to v9.0.2 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
|
25
|
+
- Bump @fluentui/react-utilities to v9.0.2 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
|
17
26
|
|
18
27
|
## [9.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v9.0.0-beta.7)
|
19
28
|
|
package/lib/overflowContext.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
import { createContext, useContextSelector } from '@fluentui/react-context-selector';
|
1
|
+
import { createContext, useContextSelector } from '@fluentui/react-context-selector'; // eslint-disable-next-line @fluentui/no-context-default-value
|
2
|
+
|
2
3
|
export const OverflowContext = /*#__PURE__*/createContext({
|
3
4
|
itemVisibility: {},
|
4
5
|
groupVisibility: {},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["overflowContext.ts"],"names":[],"mappings":"AACA,SAA0B,aAA1B,EAAyC,kBAAzC,QAAmE,kCAAnE
|
1
|
+
{"version":3,"sources":["overflowContext.ts"],"names":[],"mappings":"AACA,SAA0B,aAA1B,EAAyC,kBAAzC,QAAmE,kCAAnE,C,CAUA;;AACA,OAAO,MAAM,eAAe,gBAAG,aAAa,CAAuB;EACjE,cAAc,EAAE,EADiD;EAEjE,eAAe,EAAE,EAFgD;EAGjE,WAAW,EAAE,KAHoD;EAIjE,YAAY,EAAE,MAAM,MAAM,IAJuC;EAKjE,cAAc,EAAE,MAAM;AAL2C,CAAvB,CAArC;AAQP,OAAO,MAAM,kBAAkB,GAAmB,QAAhB,IAChC,kBAAkB,CAAC,eAAD,EAAkB,QAAlB,CADb","sourcesContent":["import type { OverflowGroupState, OverflowItemEntry } from '@fluentui/priority-overflow';\nimport { ContextSelector, createContext, useContextSelector } from '@fluentui/react-context-selector';\n\nexport interface OverflowContextValue {\n itemVisibility: Record<string, boolean>;\n groupVisibility: Record<string, OverflowGroupState>;\n hasOverflow: boolean;\n registerItem: (item: OverflowItemEntry) => () => void;\n updateOverflow: (padding?: number) => void;\n}\n\n// eslint-disable-next-line @fluentui/no-context-default-value\nexport const OverflowContext = createContext<OverflowContextValue>({\n itemVisibility: {},\n groupVisibility: {},\n hasOverflow: false,\n registerItem: () => () => null,\n updateOverflow: () => null,\n});\n\nexport const useOverflowContext = <SelectedValue>(selector: ContextSelector<OverflowContextValue, SelectedValue>) =>\n useContextSelector(OverflowContext, selector);\n"],"sourceRoot":"../src/"}
|
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.useOverflowContext = exports.OverflowContext = void 0;
|
7
7
|
|
8
|
-
const react_context_selector_1 = /*#__PURE__*/require("@fluentui/react-context-selector");
|
8
|
+
const react_context_selector_1 = /*#__PURE__*/require("@fluentui/react-context-selector"); // eslint-disable-next-line @fluentui/no-context-default-value
|
9
|
+
|
9
10
|
|
10
11
|
exports.OverflowContext = /*#__PURE__*/react_context_selector_1.createContext({
|
11
12
|
itemVisibility: {},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["overflowContext.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,wBAAA,gBAAA,OAAA,CAAA,kCAAA,CAAA
|
1
|
+
{"version":3,"sources":["overflowContext.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,wBAAA,gBAAA,OAAA,CAAA,kCAAA,CAAA,C,CAUA;;;AACa,OAAA,CAAA,eAAA,gBAAkB,wBAAA,CAAA,aAAA,CAAoC;EACjE,cAAc,EAAE,EADiD;EAEjE,eAAe,EAAE,EAFgD;EAGjE,WAAW,EAAE,KAHoD;EAIjE,YAAY,EAAE,MAAM,MAAM,IAJuC;EAKjE,cAAc,EAAE,MAAM;AAL2C,CAApC,CAAlB;;AAQN,MAAM,kBAAkB,GAAmB,QAAhB,IAChC,wBAAA,CAAA,kBAAA,CAAmB,OAAA,CAAA,eAAnB,EAAoC,QAApC,CADK;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourcesContent":["import type { OverflowGroupState, OverflowItemEntry } from '@fluentui/priority-overflow';\nimport { ContextSelector, createContext, useContextSelector } from '@fluentui/react-context-selector';\n\nexport interface OverflowContextValue {\n itemVisibility: Record<string, boolean>;\n groupVisibility: Record<string, OverflowGroupState>;\n hasOverflow: boolean;\n registerItem: (item: OverflowItemEntry) => () => void;\n updateOverflow: (padding?: number) => void;\n}\n\n// eslint-disable-next-line @fluentui/no-context-default-value\nexport const OverflowContext = createContext<OverflowContextValue>({\n itemVisibility: {},\n groupVisibility: {},\n hasOverflow: false,\n registerItem: () => () => null,\n updateOverflow: () => null,\n});\n\nexport const useOverflowContext = <SelectedValue>(selector: ContextSelector<OverflowContextValue, SelectedValue>) =>\n useContextSelector(OverflowContext, selector);\n"],"sourceRoot":"../src/"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-overflow",
|
3
|
-
"version": "9.0.0-beta.
|
3
|
+
"version": "9.0.0-beta.9",
|
4
4
|
"description": "React bindings for @fluentui/priority-overflow",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"@fluentui/react-context-selector": "^9.0.2",
|
35
35
|
"@fluentui/react-theme": "^9.0.0",
|
36
36
|
"@fluentui/react-utilities": "^9.0.2",
|
37
|
-
"@griffel/react": "^1.2.
|
37
|
+
"@griffel/react": "^1.2.3",
|
38
38
|
"tslib": "^2.1.0"
|
39
39
|
},
|
40
40
|
"peerDependencies": {
|