@fluentui/react-dialog 9.0.3 → 9.1.0

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,80 @@
2
2
  "name": "@fluentui/react-dialog",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 25 Oct 2022 00:34:09 GMT",
5
+ "date": "Wed, 02 Nov 2022 11:54:51 GMT",
6
+ "tag": "@fluentui/react-dialog_v9.1.0",
7
+ "version": "9.1.0",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "olfedias@microsoft.com",
12
+ "package": "@fluentui/react-dialog",
13
+ "commit": "c619ba066f11a8654e95375314824ba6b81b003e",
14
+ "comment": "chore: Update Griffel to latest version"
15
+ }
16
+ ],
17
+ "none": [
18
+ {
19
+ "author": "bernardo.sunderhus@gmail.com",
20
+ "package": "@fluentui/react-dialog",
21
+ "commit": "f3bef94c75214f94749e760a4ab270e3b5a9b8d4",
22
+ "comment": "chore: adds disableButtonEnhancement on triggers"
23
+ }
24
+ ],
25
+ "minor": [
26
+ {
27
+ "author": "bernardo.sunderhus@gmail.com",
28
+ "package": "@fluentui/react-dialog",
29
+ "commit": "4d58b78e55691de6f14746dbd282c315771be933",
30
+ "comment": "removes exposing of internal type FluentTriggerComponent"
31
+ },
32
+ {
33
+ "author": "beachball",
34
+ "package": "@fluentui/react-dialog",
35
+ "comment": "Bump @fluentui/react-utilities to v9.2.0",
36
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
37
+ },
38
+ {
39
+ "author": "beachball",
40
+ "package": "@fluentui/react-dialog",
41
+ "comment": "Bump @fluentui/react-context-selector to v9.1.0",
42
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
43
+ },
44
+ {
45
+ "author": "beachball",
46
+ "package": "@fluentui/react-dialog",
47
+ "comment": "Bump @fluentui/react-shared-contexts to v9.1.0",
48
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
49
+ },
50
+ {
51
+ "author": "beachball",
52
+ "package": "@fluentui/react-dialog",
53
+ "comment": "Bump @fluentui/react-aria to v9.3.0",
54
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
55
+ },
56
+ {
57
+ "author": "beachball",
58
+ "package": "@fluentui/react-dialog",
59
+ "comment": "Bump @fluentui/react-tabster to v9.2.1",
60
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
61
+ },
62
+ {
63
+ "author": "beachball",
64
+ "package": "@fluentui/react-dialog",
65
+ "comment": "Bump @fluentui/react-portal to v9.0.9",
66
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
67
+ },
68
+ {
69
+ "author": "beachball",
70
+ "package": "@fluentui/react-dialog",
71
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.17",
72
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
73
+ }
74
+ ]
75
+ }
76
+ },
77
+ {
78
+ "date": "Tue, 25 Oct 2022 00:35:31 GMT",
6
79
  "tag": "@fluentui/react-dialog_v9.0.3",
7
80
  "version": "9.0.3",
8
81
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,32 @@
1
1
  # Change Log - @fluentui/react-dialog
2
2
 
3
- This log was last generated on Tue, 25 Oct 2022 00:34:09 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 02 Nov 2022 11:54:51 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.1.0)
8
+
9
+ Wed, 02 Nov 2022 11:54:51 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.3..@fluentui/react-dialog_v9.1.0)
11
+
12
+ ### Minor changes
13
+
14
+ - removes exposing of internal type FluentTriggerComponent ([PR #25408](https://github.com/microsoft/fluentui/pull/25408) by bernardo.sunderhus@gmail.com)
15
+ - Bump @fluentui/react-utilities to v9.2.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
16
+ - Bump @fluentui/react-context-selector to v9.1.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
17
+ - Bump @fluentui/react-shared-contexts to v9.1.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
18
+ - Bump @fluentui/react-aria to v9.3.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
19
+ - Bump @fluentui/react-tabster to v9.2.1 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
20
+ - Bump @fluentui/react-portal to v9.0.9 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
21
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.17 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
22
+
23
+ ### Patches
24
+
25
+ - chore: Update Griffel to latest version ([PR #25412](https://github.com/microsoft/fluentui/pull/25412) by olfedias@microsoft.com)
26
+
7
27
  ## [9.0.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.0.3)
8
28
 
9
- Tue, 25 Oct 2022 00:34:09 GMT
29
+ Tue, 25 Oct 2022 00:35:31 GMT
10
30
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.0.2..@fluentui/react-dialog_v9.0.3)
11
31
 
12
32
  ### Patches
package/dist/index.d.ts CHANGED
@@ -4,7 +4,6 @@ import { ARIAButtonResultProps } from '@fluentui/react-aria';
4
4
  import { ARIAButtonType } from '@fluentui/react-aria';
5
5
  import type { ComponentProps } from '@fluentui/react-utilities';
6
6
  import type { ComponentState } from '@fluentui/react-utilities';
7
- import type { FluentTriggerComponent } from '@fluentui/react-utilities';
8
7
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
9
8
  import { JSXElementConstructor } from 'react';
10
9
  import * as React_2 from 'react';
@@ -291,7 +290,7 @@ export declare type DialogTitleState = ComponentState<DialogTitleSlots>;
291
290
  * to it's wrapped child, but it won't be able to alter the dialog `open` state anymore,
292
291
  * in that case the user must provide a `controlled state`
293
292
  */
294
- export declare const DialogTrigger: React_2.FC<DialogTriggerProps> & FluentTriggerComponent;
293
+ export declare const DialogTrigger: React_2.FC<DialogTriggerProps>;
295
294
 
296
295
  export declare type DialogTriggerAction = 'open' | 'close';
297
296
 
@@ -15,6 +15,7 @@ export const DialogTrigger = props => {
15
15
  const state = useDialogTrigger_unstable(props);
16
16
  return renderDialogTrigger_unstable(state);
17
17
  };
18
- DialogTrigger.displayName = 'DialogTrigger';
18
+ DialogTrigger.displayName = 'DialogTrigger'; // type casting here is required to ensure internal type FluentTriggerComponent is not leaked
19
+
19
20
  DialogTrigger.isFluentTriggerComponent = true;
20
21
  //# sourceMappingURL=DialogTrigger.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/react-components/react-dialog/src/components/DialogTrigger/DialogTrigger.tsx"],"names":[],"mappings":"AACA,SAAS,yBAAT,QAA0C,oBAA1C;AACA,SAAS,4BAAT,QAA6C,uBAA7C;AAIA;;;;;;;;;AASG;;AACH,OAAO,MAAM,aAAa,GAA0D,KAAK,IAAG;EAC1F,MAAM,KAAK,GAAG,yBAAyB,CAAC,KAAD,CAAvC;EAEA,OAAO,4BAA4B,CAAC,KAAD,CAAnC;AACD,CAJM;AAMP,aAAa,CAAC,WAAd,GAA4B,eAA5B;AACA,aAAa,CAAC,wBAAd,GAAyC,IAAzC","sourcesContent":["import * as React from 'react';\nimport { useDialogTrigger_unstable } from './useDialogTrigger';\nimport { renderDialogTrigger_unstable } from './renderDialogTrigger';\nimport type { DialogTriggerProps } from './DialogTrigger.types';\nimport type { FluentTriggerComponent } from '@fluentui/react-utilities';\n\n/**\n * A non-visual component that wraps its child\n * and configures them to be the trigger that will open or close a `Dialog`.\n * This component should only accept one child.\n *\n * In case the trigger is used outside `Dialog` component\n * it'll still provide basic ARIA related attributes\n * to it's wrapped child, but it won't be able to alter the dialog `open` state anymore,\n * in that case the user must provide a `controlled state`\n */\nexport const DialogTrigger: React.FC<DialogTriggerProps> & FluentTriggerComponent = props => {\n const state = useDialogTrigger_unstable(props);\n\n return renderDialogTrigger_unstable(state);\n};\n\nDialogTrigger.displayName = 'DialogTrigger';\nDialogTrigger.isFluentTriggerComponent = true;\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["packages/react-components/react-dialog/src/components/DialogTrigger/DialogTrigger.tsx"],"names":[],"mappings":"AACA,SAAS,yBAAT,QAA0C,oBAA1C;AACA,SAAS,4BAAT,QAA6C,uBAA7C;AAIA;;;;;;;;;AASG;;AACH,OAAO,MAAM,aAAa,GAAiC,KAAK,IAAG;EACjE,MAAM,KAAK,GAAG,yBAAyB,CAAC,KAAD,CAAvC;EAEA,OAAO,4BAA4B,CAAC,KAAD,CAAnC;AACD,CAJM;AAMP,aAAa,CAAC,WAAd,GAA4B,eAA5B,C,CACA;;AACC,aAAwC,CAAC,wBAAzC,GAAoE,IAApE","sourcesContent":["import * as React from 'react';\nimport { useDialogTrigger_unstable } from './useDialogTrigger';\nimport { renderDialogTrigger_unstable } from './renderDialogTrigger';\nimport type { DialogTriggerProps } from './DialogTrigger.types';\nimport type { FluentTriggerComponent } from '@fluentui/react-utilities';\n\n/**\n * A non-visual component that wraps its child\n * and configures them to be the trigger that will open or close a `Dialog`.\n * This component should only accept one child.\n *\n * In case the trigger is used outside `Dialog` component\n * it'll still provide basic ARIA related attributes\n * to it's wrapped child, but it won't be able to alter the dialog `open` state anymore,\n * in that case the user must provide a `controlled state`\n */\nexport const DialogTrigger: React.FC<DialogTriggerProps> = props => {\n const state = useDialogTrigger_unstable(props);\n\n return renderDialogTrigger_unstable(state);\n};\n\nDialogTrigger.displayName = 'DialogTrigger';\n// type casting here is required to ensure internal type FluentTriggerComponent is not leaked\n(DialogTrigger as FluentTriggerComponent).isFluentTriggerComponent = true;\n"],"sourceRoot":"../src/"}
@@ -26,6 +26,7 @@ const DialogTrigger = props => {
26
26
  };
27
27
 
28
28
  exports.DialogTrigger = DialogTrigger;
29
- exports.DialogTrigger.displayName = 'DialogTrigger';
29
+ exports.DialogTrigger.displayName = 'DialogTrigger'; // type casting here is required to ensure internal type FluentTriggerComponent is not leaked
30
+
30
31
  exports.DialogTrigger.isFluentTriggerComponent = true;
31
32
  //# sourceMappingURL=DialogTrigger.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["packages/react-components/react-dialog/src/components/DialogTrigger/DialogTrigger.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,kBAAA,gBAAA,OAAA,CAAA,oBAAA,CAAA;;AACA,MAAA,qBAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;AAIA;;;;;;;;;AASG;;;AACI,MAAM,aAAa,GAA0D,KAAK,IAAG;EAC1F,MAAM,KAAK,GAAG,kBAAA,CAAA,yBAAA,CAA0B,KAA1B,CAAd;EAEA,OAAO,qBAAA,CAAA,4BAAA,CAA6B,KAA7B,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,aAAA,GAAa,aAAb;AAMb,OAAA,CAAA,aAAA,CAAc,WAAd,GAA4B,eAA5B;AACA,OAAA,CAAA,aAAA,CAAc,wBAAd,GAAyC,IAAzC","sourcesContent":["import * as React from 'react';\nimport { useDialogTrigger_unstable } from './useDialogTrigger';\nimport { renderDialogTrigger_unstable } from './renderDialogTrigger';\nimport type { DialogTriggerProps } from './DialogTrigger.types';\nimport type { FluentTriggerComponent } from '@fluentui/react-utilities';\n\n/**\n * A non-visual component that wraps its child\n * and configures them to be the trigger that will open or close a `Dialog`.\n * This component should only accept one child.\n *\n * In case the trigger is used outside `Dialog` component\n * it'll still provide basic ARIA related attributes\n * to it's wrapped child, but it won't be able to alter the dialog `open` state anymore,\n * in that case the user must provide a `controlled state`\n */\nexport const DialogTrigger: React.FC<DialogTriggerProps> & FluentTriggerComponent = props => {\n const state = useDialogTrigger_unstable(props);\n\n return renderDialogTrigger_unstable(state);\n};\n\nDialogTrigger.displayName = 'DialogTrigger';\nDialogTrigger.isFluentTriggerComponent = true;\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["packages/react-components/react-dialog/src/components/DialogTrigger/DialogTrigger.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,kBAAA,gBAAA,OAAA,CAAA,oBAAA,CAAA;;AACA,MAAA,qBAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;AAIA;;;;;;;;;AASG;;;AACI,MAAM,aAAa,GAAiC,KAAK,IAAG;EACjE,MAAM,KAAK,GAAG,kBAAA,CAAA,yBAAA,CAA0B,KAA1B,CAAd;EAEA,OAAO,qBAAA,CAAA,4BAAA,CAA6B,KAA7B,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,aAAA,GAAa,aAAb;AAMb,OAAA,CAAA,aAAA,CAAc,WAAd,GAA4B,eAA5B,C,CACA;;AACC,OAAA,CAAA,aAAA,CAAyC,wBAAzC,GAAoE,IAApE","sourcesContent":["import * as React from 'react';\nimport { useDialogTrigger_unstable } from './useDialogTrigger';\nimport { renderDialogTrigger_unstable } from './renderDialogTrigger';\nimport type { DialogTriggerProps } from './DialogTrigger.types';\nimport type { FluentTriggerComponent } from '@fluentui/react-utilities';\n\n/**\n * A non-visual component that wraps its child\n * and configures them to be the trigger that will open or close a `Dialog`.\n * This component should only accept one child.\n *\n * In case the trigger is used outside `Dialog` component\n * it'll still provide basic ARIA related attributes\n * to it's wrapped child, but it won't be able to alter the dialog `open` state anymore,\n * in that case the user must provide a `controlled state`\n */\nexport const DialogTrigger: React.FC<DialogTriggerProps> = props => {\n const state = useDialogTrigger_unstable(props);\n\n return renderDialogTrigger_unstable(state);\n};\n\nDialogTrigger.displayName = 'DialogTrigger';\n// type casting here is required to ensure internal type FluentTriggerComponent is not leaked\n(DialogTrigger as FluentTriggerComponent).isFluentTriggerComponent = true;\n"],"sourceRoot":"../src/"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-dialog",
3
- "version": "9.0.3",
3
+ "version": "9.1.0",
4
4
  "description": "Dialog component for Fluent UI React",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -29,20 +29,20 @@
29
29
  "devDependencies": {
30
30
  "@fluentui/eslint-plugin": "*",
31
31
  "@fluentui/react-conformance": "*",
32
- "@fluentui/react-conformance-griffel": "9.0.0-beta.16",
32
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.17",
33
33
  "@fluentui/scripts": "^1.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "@griffel/react": "^1.4.1",
37
- "@fluentui/react-utilities": "^9.1.2",
36
+ "@griffel/react": "^1.4.2",
37
+ "@fluentui/react-utilities": "^9.2.0",
38
38
  "@fluentui/keyboard-keys": "^9.0.0",
39
- "@fluentui/react-context-selector": "^9.0.5",
40
- "@fluentui/react-shared-contexts": "^9.0.2",
41
- "@fluentui/react-aria": "^9.2.3",
39
+ "@fluentui/react-context-selector": "^9.1.0",
40
+ "@fluentui/react-shared-contexts": "^9.1.0",
41
+ "@fluentui/react-aria": "^9.3.0",
42
42
  "@fluentui/react-icons": "^2.0.175",
43
- "@fluentui/react-tabster": "^9.2.0",
43
+ "@fluentui/react-tabster": "^9.2.1",
44
44
  "@fluentui/react-theme": "^9.1.1",
45
- "@fluentui/react-portal": "^9.0.8",
45
+ "@fluentui/react-portal": "^9.0.9",
46
46
  "tslib": "^2.1.0"
47
47
  },
48
48
  "peerDependencies": {