@fluentui/react-menu 0.0.0-nightlya54302c0b220211124.1 → 0.0.0-nightlyb8537fb52c20211129.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.json CHANGED
@@ -2,10 +2,75 @@
2
2
  "name": "@fluentui/react-menu",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 24 Nov 2021 04:12:45 GMT",
6
- "tag": "@fluentui/react-menu_v0.0.0-nightlya54302c0b220211124.1",
7
- "version": "0.0.0-nightlya54302c0b220211124.1",
5
+ "date": "Mon, 29 Nov 2021 04:13:47 GMT",
6
+ "tag": "@fluentui/react-menu_v0.0.0-nightlyb8537fb52c20211129.1",
7
+ "version": "0.0.0-nightlyb8537fb52c20211129.1",
8
8
  "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-menu",
13
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyb8537fb52c20211129.1",
14
+ "commit": "5f550f625ae0c912908d55f3a25d7c68d2950c32"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-menu",
19
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightlyb8537fb52c20211129.1",
20
+ "commit": "5f550f625ae0c912908d55f3a25d7c68d2950c32"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-menu",
25
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlyb8537fb52c20211129.1",
26
+ "commit": "5f550f625ae0c912908d55f3a25d7c68d2950c32"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-menu",
31
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyb8537fb52c20211129.1",
32
+ "commit": "5f550f625ae0c912908d55f3a25d7c68d2950c32"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-menu",
37
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyb8537fb52c20211129.1",
38
+ "commit": "5f550f625ae0c912908d55f3a25d7c68d2950c32"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-menu",
43
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyb8537fb52c20211129.1",
44
+ "commit": "5f550f625ae0c912908d55f3a25d7c68d2950c32"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-menu",
49
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyb8537fb52c20211129.1",
50
+ "commit": "5f550f625ae0c912908d55f3a25d7c68d2950c32"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-menu",
55
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyb8537fb52c20211129.1",
56
+ "commit": "5f550f625ae0c912908d55f3a25d7c68d2950c32"
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ {
62
+ "date": "Thu, 25 Nov 2021 08:34:14 GMT",
63
+ "tag": "@fluentui/react-menu_v9.0.0-beta.5",
64
+ "version": "9.0.0-beta.5",
65
+ "comments": {
66
+ "none": [
67
+ {
68
+ "author": "lingfangao@hotmail.com",
69
+ "package": "@fluentui/react-menu",
70
+ "commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
71
+ "comment": "Migrate package to use solution tsconfigs"
72
+ }
73
+ ],
9
74
  "prerelease": [
10
75
  {
11
76
  "author": "ololubek@microsoft.com",
@@ -16,50 +81,62 @@
16
81
  {
17
82
  "author": "beachball",
18
83
  "package": "@fluentui/react-menu",
19
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlya54302c0b220211124.1",
20
- "commit": "e3c1bd15060ac276670338660c7965b877e333f4"
84
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
85
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
86
+ },
87
+ {
88
+ "author": "beachball",
89
+ "package": "@fluentui/react-menu",
90
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
91
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
92
+ },
93
+ {
94
+ "author": "beachball",
95
+ "package": "@fluentui/react-menu",
96
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
97
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
21
98
  },
22
99
  {
23
100
  "author": "beachball",
24
101
  "package": "@fluentui/react-menu",
25
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightlya54302c0b220211124.1",
26
- "commit": "e3c1bd15060ac276670338660c7965b877e333f4"
102
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
103
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
27
104
  },
28
105
  {
29
106
  "author": "beachball",
30
107
  "package": "@fluentui/react-menu",
31
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlya54302c0b220211124.1",
32
- "commit": "e3c1bd15060ac276670338660c7965b877e333f4"
108
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
109
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
33
110
  },
34
111
  {
35
112
  "author": "beachball",
36
113
  "package": "@fluentui/react-menu",
37
- "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlya54302c0b220211124.1",
38
- "commit": "e3c1bd15060ac276670338660c7965b877e333f4"
114
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
115
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
39
116
  },
40
117
  {
41
118
  "author": "beachball",
42
119
  "package": "@fluentui/react-menu",
43
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlya54302c0b220211124.1",
44
- "commit": "e3c1bd15060ac276670338660c7965b877e333f4"
120
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
121
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
45
122
  },
46
123
  {
47
124
  "author": "beachball",
48
125
  "package": "@fluentui/react-menu",
49
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlya54302c0b220211124.1",
50
- "commit": "e3c1bd15060ac276670338660c7965b877e333f4"
126
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
127
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
51
128
  },
52
129
  {
53
130
  "author": "beachball",
54
131
  "package": "@fluentui/react-menu",
55
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlya54302c0b220211124.1",
56
- "commit": "e3c1bd15060ac276670338660c7965b877e333f4"
132
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
133
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
57
134
  },
58
135
  {
59
136
  "author": "beachball",
60
137
  "package": "@fluentui/react-menu",
61
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlya54302c0b220211124.1",
62
- "commit": "e3c1bd15060ac276670338660c7965b877e333f4"
138
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
139
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
63
140
  }
64
141
  ]
65
142
  }
package/CHANGELOG.md CHANGED
@@ -1,25 +1,43 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Wed, 24 Nov 2021 04:12:45 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 29 Nov 2021 04:13:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlya54302c0b220211124.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlya54302c0b220211124.1)
7
+ ## [0.0.0-nightlyb8537fb52c20211129.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlyb8537fb52c20211129.1)
8
8
 
9
- Wed, 24 Nov 2021 04:12:45 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v0.0.0-nightlya54302c0b220211124.1)
9
+ Mon, 29 Nov 2021 04:13:47 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightlyb8537fb52c20211129.1)
11
+
12
+ ### Changes
13
+
14
+ - Bump @fluentui/react-make-styles to v0.0.0-nightlyb8537fb52c20211129.1 ([commit](https://github.com/microsoft/fluentui/commit/5f550f625ae0c912908d55f3a25d7c68d2950c32) by beachball)
15
+ - Bump @fluentui/react-portal to v0.0.0-nightlyb8537fb52c20211129.1 ([commit](https://github.com/microsoft/fluentui/commit/5f550f625ae0c912908d55f3a25d7c68d2950c32) by beachball)
16
+ - Bump @fluentui/react-positioning to v0.0.0-nightlyb8537fb52c20211129.1 ([commit](https://github.com/microsoft/fluentui/commit/5f550f625ae0c912908d55f3a25d7c68d2950c32) by beachball)
17
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightlyb8537fb52c20211129.1 ([commit](https://github.com/microsoft/fluentui/commit/5f550f625ae0c912908d55f3a25d7c68d2950c32) by beachball)
18
+ - Bump @fluentui/react-tabster to v0.0.0-nightlyb8537fb52c20211129.1 ([commit](https://github.com/microsoft/fluentui/commit/5f550f625ae0c912908d55f3a25d7c68d2950c32) by beachball)
19
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightlyb8537fb52c20211129.1 ([commit](https://github.com/microsoft/fluentui/commit/5f550f625ae0c912908d55f3a25d7c68d2950c32) by beachball)
20
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyb8537fb52c20211129.1 ([commit](https://github.com/microsoft/fluentui/commit/5f550f625ae0c912908d55f3a25d7c68d2950c32) by beachball)
21
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyb8537fb52c20211129.1 ([commit](https://github.com/microsoft/fluentui/commit/5f550f625ae0c912908d55f3a25d7c68d2950c32) by beachball)
22
+
23
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
24
+
25
+ Thu, 25 Nov 2021 08:34:14 GMT
26
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
11
27
 
12
28
  ### Changes
13
29
 
14
30
  - update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
15
- - Bump @fluentui/react-make-styles to v0.0.0-nightlya54302c0b220211124.1 ([commit](https://github.com/microsoft/fluentui/commit/e3c1bd15060ac276670338660c7965b877e333f4) by beachball)
16
- - Bump @fluentui/react-portal to v0.0.0-nightlya54302c0b220211124.1 ([commit](https://github.com/microsoft/fluentui/commit/e3c1bd15060ac276670338660c7965b877e333f4) by beachball)
17
- - Bump @fluentui/react-positioning to v0.0.0-nightlya54302c0b220211124.1 ([commit](https://github.com/microsoft/fluentui/commit/e3c1bd15060ac276670338660c7965b877e333f4) by beachball)
18
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightlya54302c0b220211124.1 ([commit](https://github.com/microsoft/fluentui/commit/e3c1bd15060ac276670338660c7965b877e333f4) by beachball)
19
- - Bump @fluentui/react-tabster to v0.0.0-nightlya54302c0b220211124.1 ([commit](https://github.com/microsoft/fluentui/commit/e3c1bd15060ac276670338660c7965b877e333f4) by beachball)
20
- - Bump @fluentui/babel-make-styles to v0.0.0-nightlya54302c0b220211124.1 ([commit](https://github.com/microsoft/fluentui/commit/e3c1bd15060ac276670338660c7965b877e333f4) by beachball)
21
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlya54302c0b220211124.1 ([commit](https://github.com/microsoft/fluentui/commit/e3c1bd15060ac276670338660c7965b877e333f4) by beachball)
22
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlya54302c0b220211124.1 ([commit](https://github.com/microsoft/fluentui/commit/e3c1bd15060ac276670338660c7965b877e333f4) by beachball)
31
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
32
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
33
+ - Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
34
+ - Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
35
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
36
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
37
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
38
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
39
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
40
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
23
41
 
24
42
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
25
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-menu",
3
- "version": "0.0.0-nightlya54302c0b220211124.1",
3
+ "version": "0.0.0-nightlyb8537fb52c20211129.1",
4
4
  "description": "Fluent UI menu component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -13,7 +13,7 @@
13
13
  "license": "MIT",
14
14
  "scripts": {
15
15
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
16
- "build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/react-menu/src && yarn docs",
16
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-menu/src && yarn docs",
17
17
  "build": "just-scripts build",
18
18
  "bundle-size": "bundle-size measure",
19
19
  "clean": "just-scripts clean",
@@ -23,14 +23,15 @@
23
23
  "lint": "just-scripts lint",
24
24
  "start": "yarn storybook",
25
25
  "storybook": "start-storybook",
26
- "test": "jest"
26
+ "test": "jest",
27
+ "type-check": "tsc -b tsconfig.json"
27
28
  },
28
29
  "devDependencies": {
29
- "@fluentui/babel-make-styles": "0.0.0-nightlya54302c0b220211124.1",
30
+ "@fluentui/babel-make-styles": "0.0.0-nightlyb8537fb52c20211129.1",
30
31
  "@fluentui/eslint-plugin": "*",
31
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightlya54302c0b220211124.1",
32
+ "@fluentui/jest-serializer-make-styles": "0.0.0-nightlyb8537fb52c20211129.1",
32
33
  "@fluentui/react-conformance": "*",
33
- "@fluentui/react-conformance-make-styles": "0.0.0-nightlya54302c0b220211124.1",
34
+ "@fluentui/react-conformance-make-styles": "0.0.0-nightlyb8537fb52c20211129.1",
34
35
  "@fluentui/scripts": "^1.0.0",
35
36
  "@types/enzyme": "3.10.3",
36
37
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -44,15 +45,15 @@
44
45
  "react-test-renderer": "^16.3.0"
45
46
  },
46
47
  "dependencies": {
47
- "@fluentui/keyboard-keys": "0.0.0-nightlya54302c0b220211124.0",
48
- "@fluentui/react-context-selector": "0.0.0-nightlya54302c0b220211124.0",
48
+ "@fluentui/keyboard-keys": "0.0.0-nightlyb8537fb52c20211129.0",
49
+ "@fluentui/react-context-selector": "0.0.0-nightlyb8537fb52c20211129.0",
49
50
  "@fluentui/react-icons": "^2.0.152-beta.3",
50
- "@fluentui/react-make-styles": "0.0.0-nightlya54302c0b220211124.1",
51
- "@fluentui/react-portal": "0.0.0-nightlya54302c0b220211124.1",
52
- "@fluentui/react-positioning": "0.0.0-nightlya54302c0b220211124.1",
53
- "@fluentui/react-shared-contexts": "0.0.0-nightlya54302c0b220211124.1",
54
- "@fluentui/react-tabster": "0.0.0-nightlya54302c0b220211124.1",
55
- "@fluentui/react-utilities": "0.0.0-nightlya54302c0b220211124.0",
51
+ "@fluentui/react-make-styles": "0.0.0-nightlyb8537fb52c20211129.1",
52
+ "@fluentui/react-portal": "0.0.0-nightlyb8537fb52c20211129.1",
53
+ "@fluentui/react-positioning": "0.0.0-nightlyb8537fb52c20211129.1",
54
+ "@fluentui/react-shared-contexts": "0.0.0-nightlyb8537fb52c20211129.1",
55
+ "@fluentui/react-tabster": "0.0.0-nightlyb8537fb52c20211129.1",
56
+ "@fluentui/react-utilities": "0.0.0-nightlyb8537fb52c20211129.0",
56
57
  "tslib": "^2.1.0"
57
58
  },
58
59
  "peerDependencies": {
@@ -1,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,12 +0,0 @@
1
- import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
2
- import makeStylesTests from '@fluentui/react-conformance-make-styles';
3
- export function isConformant(testInfo) {
4
- const defaultOptions = {
5
- asPropHandlesRef: true,
6
- componentPath: module.parent.filename.replace('.test', ''),
7
- skipAsPropTests: true,
8
- extraTests: makeStylesTests
9
- };
10
- baseIsConformant(defaultOptions, testInfo);
11
- }
12
- //# sourceMappingURL=isConformant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":"AAAA,SAAS,YAAY,IAAI,gBAAzB,QAAiD,6BAAjD;AAEA,OAAO,eAAP,MAA4B,yCAA5B;AAEA,OAAM,SAAU,YAAV,CACJ,QADI,EACqF;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,eAAe,EAAE,IAH0C;AAI3D,IAAA,UAAU,EAAE;AAJ+C,GAA7D;AAOA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
@@ -1,7 +0,0 @@
1
- import type { MenuContextValue } from '../contexts/menuContext';
2
- /**
3
- * A test utility to mock the useMenuContext hook that relies on context selector
4
- * Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
5
- * @param options Menu context values to set for testing
6
- */
7
- export declare const mockUseMenuContext: (options?: Partial<MenuContextValue>) => void;
@@ -1,29 +0,0 @@
1
- import { useMenuContext } from '../contexts/menuContext';
2
- /**
3
- * A test utility to mock the useMenuContext hook that relies on context selector
4
- * Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
5
- * @param options Menu context values to set for testing
6
- */
7
-
8
- export const mockUseMenuContext = (options = {}) => {
9
- const mockContext = {
10
- open: false,
11
- setOpen: () => null,
12
- triggerRef: {
13
- current: null
14
- },
15
- menuPopoverRef: {
16
- current: null
17
- },
18
- openOnContext: false,
19
- openOnHover: false,
20
- isSubmenu: false,
21
- triggerId: 'id',
22
- ...options
23
- }; // eslint-disable-next-line @typescript-eslint/no-explicit-any
24
-
25
- useMenuContext.mockImplementation(selector => {
26
- return selector(mockContext);
27
- });
28
- };
29
- //# sourceMappingURL=mockUseMenuContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/mockUseMenuContext.ts"],"names":[],"mappings":"AACA,SAAS,cAAT,QAA+B,yBAA/B;AAGA;;;;AAIG;;AACH,OAAO,MAAM,kBAAkB,GAAG,CAAC,OAAA,GAAqC,EAAtC,KAA4C;AAC5E,QAAM,WAAW,GAAqB;AACpC,IAAA,IAAI,EAAE,KAD8B;AAEpC,IAAA,OAAO,EAAE,MAAM,IAFqB;AAGpC,IAAA,UAAU,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAHuB;AAIpC,IAAA,cAAc,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAJmB;AAKpC,IAAA,aAAa,EAAE,KALqB;AAMpC,IAAA,WAAW,EAAE,KANuB;AAOpC,IAAA,SAAS,EAAE,KAPyB;AAQpC,IAAA,SAAS,EAAE,IARyB;AASpC,OAAG;AATiC,GAAtC,CAD4E,CAY5E;;AACC,EAAA,cAA4B,CAAC,kBAA7B,CAAiD,QAAD,IAAiD;AAChG,WAAO,QAAQ,CAAC,WAAD,CAAf;AACD,GAFA;AAGF,CAhBM","sourceRoot":""}
@@ -1,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.isConformant = void 0;
7
-
8
- const react_conformance_1 = /*#__PURE__*/require("@fluentui/react-conformance");
9
-
10
- const react_conformance_make_styles_1 = /*#__PURE__*/require("@fluentui/react-conformance-make-styles");
11
-
12
- function isConformant(testInfo) {
13
- const defaultOptions = {
14
- asPropHandlesRef: true,
15
- componentPath: module.parent.filename.replace('.test', ''),
16
- skipAsPropTests: true,
17
- extraTests: react_conformance_make_styles_1.default
18
- };
19
- react_conformance_1.isConformant(defaultOptions, testInfo);
20
- }
21
-
22
- exports.isConformant = isConformant;
23
- //# sourceMappingURL=isConformant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAEA,MAAA,+BAAA,gBAAA,OAAA,CAAA,yCAAA,CAAA;;AAEA,SAAgB,YAAhB,CACE,QADF,EAC2F;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,eAAe,EAAE,IAH0C;AAI3D,IAAA,UAAU,EAAE,+BAAA,CAAA;AAJ+C,GAA7D;AAOA,EAAA,mBAAA,CAAA,YAAA,CAAiB,cAAjB,EAAiC,QAAjC;AACD;;AAXD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}
@@ -1,7 +0,0 @@
1
- import type { MenuContextValue } from '../contexts/menuContext';
2
- /**
3
- * A test utility to mock the useMenuContext hook that relies on context selector
4
- * Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
5
- * @param options Menu context values to set for testing
6
- */
7
- export declare const mockUseMenuContext: (options?: Partial<MenuContextValue>) => void;
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.mockUseMenuContext = void 0;
7
-
8
- const menuContext_1 = /*#__PURE__*/require("../contexts/menuContext");
9
- /**
10
- * A test utility to mock the useMenuContext hook that relies on context selector
11
- * Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
12
- * @param options Menu context values to set for testing
13
- */
14
-
15
-
16
- const mockUseMenuContext = (options = {}) => {
17
- const mockContext = {
18
- open: false,
19
- setOpen: () => null,
20
- triggerRef: {
21
- current: null
22
- },
23
- menuPopoverRef: {
24
- current: null
25
- },
26
- openOnContext: false,
27
- openOnHover: false,
28
- isSubmenu: false,
29
- triggerId: 'id',
30
- ...options
31
- }; // eslint-disable-next-line @typescript-eslint/no-explicit-any
32
-
33
- menuContext_1.useMenuContext.mockImplementation(selector => {
34
- return selector(mockContext);
35
- });
36
- };
37
-
38
- exports.mockUseMenuContext = mockUseMenuContext;
39
- //# sourceMappingURL=mockUseMenuContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/mockUseMenuContext.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;AAGA;;;;AAIG;;;AACI,MAAM,kBAAkB,GAAG,CAAC,OAAA,GAAqC,EAAtC,KAA4C;AAC5E,QAAM,WAAW,GAAqB;AACpC,IAAA,IAAI,EAAE,KAD8B;AAEpC,IAAA,OAAO,EAAE,MAAM,IAFqB;AAGpC,IAAA,UAAU,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAHuB;AAIpC,IAAA,cAAc,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAJmB;AAKpC,IAAA,aAAa,EAAE,KALqB;AAMpC,IAAA,WAAW,EAAE,KANuB;AAOpC,IAAA,SAAS,EAAE,KAPyB;AAQpC,IAAA,SAAS,EAAE,IARyB;AASpC,OAAG;AATiC,GAAtC,CAD4E,CAY5E;;AACC,EAAA,aAAA,CAAA,cAAA,CAA6B,kBAA7B,CAAiD,QAAD,IAAiD;AAChG,WAAO,QAAQ,CAAC,WAAD,CAAf;AACD,GAFA;AAGF,CAhBM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}