@fluentui/react-dialog 9.5.3 → 9.5.5
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 +162 -2
- package/CHANGELOG.md +40 -3
- package/lib/components/DialogActions/DialogActions.js +3 -6
- package/lib/components/DialogActions/DialogActions.js.map +1 -1
- package/lib/components/DialogActions/index.js +1 -1
- package/lib/components/DialogActions/index.js.map +1 -1
- package/lib/components/DialogActions/{useDialogActionsStyles.js → useDialogActionsStyles.styles.js} +11 -13
- package/lib/components/DialogActions/useDialogActionsStyles.styles.js.map +1 -0
- package/lib/components/DialogBody/DialogBody.js +3 -6
- package/lib/components/DialogBody/DialogBody.js.map +1 -1
- package/lib/components/DialogBody/index.js +1 -1
- package/lib/components/DialogBody/index.js.map +1 -1
- package/lib/components/DialogBody/useDialogBodyStyles.styles.js +39 -0
- package/lib/components/DialogBody/useDialogBodyStyles.styles.js.map +1 -0
- package/lib/components/DialogContent/DialogContent.js +3 -6
- package/lib/components/DialogContent/DialogContent.js.map +1 -1
- package/lib/components/DialogContent/index.js +1 -1
- package/lib/components/DialogContent/index.js.map +1 -1
- package/lib/components/DialogContent/{useDialogContentStyles.js → useDialogContentStyles.styles.js} +6 -7
- package/lib/components/DialogContent/useDialogContentStyles.styles.js.map +1 -0
- package/lib/components/DialogSurface/DialogSurface.js +3 -6
- package/lib/components/DialogSurface/DialogSurface.js.map +1 -1
- package/lib/components/DialogSurface/index.js +1 -1
- package/lib/components/DialogSurface/index.js.map +1 -1
- package/lib/components/DialogSurface/{useDialogSurfaceStyles.js → useDialogSurfaceStyles.styles.js} +1 -1
- package/lib/components/DialogSurface/useDialogSurfaceStyles.styles.js.map +1 -0
- package/lib/components/DialogTitle/DialogTitle.js +3 -6
- package/lib/components/DialogTitle/DialogTitle.js.map +1 -1
- package/lib/components/DialogTitle/index.js +1 -1
- package/lib/components/DialogTitle/index.js.map +1 -1
- package/lib/components/DialogTitle/useDialogTitle.js +3 -3
- package/lib/components/DialogTitle/useDialogTitle.js.map +1 -1
- package/lib/components/DialogTitle/{useDialogTitleStyles.js → useDialogTitleStyles.styles.js} +13 -18
- package/lib/components/DialogTitle/useDialogTitleStyles.styles.js.map +1 -0
- package/lib/components/DialogTrigger/DialogTrigger.js +1 -1
- package/lib/components/DialogTrigger/DialogTrigger.js.map +1 -1
- package/lib/components/DialogTrigger/index.js +1 -1
- package/lib/components/DialogTrigger/index.js.map +1 -1
- package/lib/components/DialogTrigger/{useDialogTrigger.js → useDialogTrigger.styles.js} +1 -1
- package/lib/components/DialogTrigger/useDialogTrigger.styles.js.map +1 -0
- package/lib/contexts/constants.js +0 -5
- package/lib/contexts/constants.js.map +1 -1
- package/lib-commonjs/components/DialogActions/DialogActions.js +3 -4
- package/lib-commonjs/components/DialogActions/DialogActions.js.map +1 -1
- package/lib-commonjs/components/DialogActions/index.js +1 -1
- package/lib-commonjs/components/DialogActions/index.js.map +1 -1
- package/lib-commonjs/components/DialogActions/{useDialogActionsStyles.js → useDialogActionsStyles.styles.js} +16 -20
- package/lib-commonjs/components/DialogActions/useDialogActionsStyles.styles.js.map +1 -0
- package/lib-commonjs/components/DialogBody/DialogBody.js +3 -4
- package/lib-commonjs/components/DialogBody/DialogBody.js.map +1 -1
- package/lib-commonjs/components/DialogBody/index.js +1 -1
- package/lib-commonjs/components/DialogBody/index.js.map +1 -1
- package/lib-commonjs/components/DialogBody/{useDialogBodyStyles.js → useDialogBodyStyles.styles.js} +7 -18
- package/lib-commonjs/components/DialogBody/useDialogBodyStyles.styles.js.map +1 -0
- package/lib-commonjs/components/DialogContent/DialogContent.js +3 -4
- package/lib-commonjs/components/DialogContent/DialogContent.js.map +1 -1
- package/lib-commonjs/components/DialogContent/index.js +1 -1
- package/lib-commonjs/components/DialogContent/index.js.map +1 -1
- package/lib-commonjs/components/DialogContent/{useDialogContentStyles.js → useDialogContentStyles.styles.js} +10 -10
- package/lib-commonjs/components/DialogContent/useDialogContentStyles.styles.js.map +1 -0
- package/lib-commonjs/components/DialogSurface/DialogSurface.js +3 -4
- package/lib-commonjs/components/DialogSurface/DialogSurface.js.map +1 -1
- package/lib-commonjs/components/DialogSurface/index.js +1 -1
- package/lib-commonjs/components/DialogSurface/index.js.map +1 -1
- package/lib-commonjs/components/DialogSurface/{useDialogSurfaceStyles.js → useDialogSurfaceStyles.styles.js} +2 -2
- package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.styles.js.map +1 -0
- package/lib-commonjs/components/DialogTitle/DialogTitle.js +3 -4
- package/lib-commonjs/components/DialogTitle/DialogTitle.js.map +1 -1
- package/lib-commonjs/components/DialogTitle/index.js +1 -1
- package/lib-commonjs/components/DialogTitle/index.js.map +1 -1
- package/lib-commonjs/components/DialogTitle/useDialogTitle.js +3 -3
- package/lib-commonjs/components/DialogTitle/useDialogTitle.js.map +1 -1
- package/lib-commonjs/components/DialogTitle/{useDialogTitleStyles.js → useDialogTitleStyles.styles.js} +20 -25
- package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.styles.js.map +1 -0
- package/lib-commonjs/components/DialogTrigger/DialogTrigger.js +2 -2
- package/lib-commonjs/components/DialogTrigger/DialogTrigger.js.map +1 -1
- package/lib-commonjs/components/DialogTrigger/index.js +1 -1
- package/lib-commonjs/components/DialogTrigger/index.js.map +1 -1
- package/lib-commonjs/components/DialogTrigger/{useDialogTrigger.js → useDialogTrigger.styles.js} +2 -2
- package/lib-commonjs/components/DialogTrigger/useDialogTrigger.styles.js.map +1 -0
- package/lib-commonjs/contexts/constants.js +2 -12
- package/lib-commonjs/contexts/constants.js.map +1 -1
- package/package.json +13 -12
- package/.swcrc +0 -30
- package/lib/components/DialogActions/useDialogActionsStyles.js.map +0 -1
- package/lib/components/DialogBody/useDialogBodyStyles.js +0 -44
- package/lib/components/DialogBody/useDialogBodyStyles.js.map +0 -1
- package/lib/components/DialogContent/useDialogContentStyles.js.map +0 -1
- package/lib/components/DialogSurface/useDialogSurfaceStyles.js.map +0 -1
- package/lib/components/DialogTitle/useDialogTitleStyles.js.map +0 -1
- package/lib/components/DialogTrigger/useDialogTrigger.js.map +0 -1
- package/lib-commonjs/components/DialogActions/useDialogActionsStyles.js.map +0 -1
- package/lib-commonjs/components/DialogBody/useDialogBodyStyles.js.map +0 -1
- package/lib-commonjs/components/DialogContent/useDialogContentStyles.js.map +0 -1
- package/lib-commonjs/components/DialogSurface/useDialogSurfaceStyles.js.map +0 -1
- package/lib-commonjs/components/DialogTitle/useDialogTitleStyles.js.map +0 -1
- package/lib-commonjs/components/DialogTrigger/useDialogTrigger.js.map +0 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,167 @@
|
|
|
2
2
|
"name": "@fluentui/react-dialog",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 18 May 2023 00:35:36 GMT",
|
|
6
|
+
"tag": "@fluentui/react-dialog_v9.5.5",
|
|
7
|
+
"version": "9.5.5",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "olfedias@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-dialog",
|
|
13
|
+
"commit": "06cd515eda59a3078bfe32f9cc7c1f281cd20208",
|
|
14
|
+
"comment": "chore: add test-ssr script to v9 packages"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"patch": [
|
|
18
|
+
{
|
|
19
|
+
"author": "bernardo.sunderhus@gmail.com",
|
|
20
|
+
"package": "@fluentui/react-dialog",
|
|
21
|
+
"commit": "37159cd67f8698ba8d5b3bf7327801495979beb5",
|
|
22
|
+
"comment": "bugfix: removes unnecessary grid gaps"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"author": "beachball",
|
|
26
|
+
"package": "@fluentui/react-dialog",
|
|
27
|
+
"comment": "Bump @fluentui/react-utilities to v9.9.0",
|
|
28
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"author": "beachball",
|
|
32
|
+
"package": "@fluentui/react-dialog",
|
|
33
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.4",
|
|
34
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"author": "beachball",
|
|
38
|
+
"package": "@fluentui/react-dialog",
|
|
39
|
+
"comment": "Bump @fluentui/react-context-selector to v9.1.20",
|
|
40
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"author": "beachball",
|
|
44
|
+
"package": "@fluentui/react-dialog",
|
|
45
|
+
"comment": "Bump @fluentui/react-aria to v9.3.20",
|
|
46
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"author": "beachball",
|
|
50
|
+
"package": "@fluentui/react-dialog",
|
|
51
|
+
"comment": "Bump @fluentui/react-tabster to v9.7.1",
|
|
52
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"author": "beachball",
|
|
56
|
+
"package": "@fluentui/react-dialog",
|
|
57
|
+
"comment": "Bump @fluentui/react-portal to v9.2.8",
|
|
58
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"date": "Fri, 12 May 2023 20:27:17 GMT",
|
|
65
|
+
"tag": "@fluentui/react-dialog_v9.5.4",
|
|
66
|
+
"version": "9.5.4",
|
|
67
|
+
"comments": {
|
|
68
|
+
"patch": [
|
|
69
|
+
{
|
|
70
|
+
"author": "bernardo.sunderhus@gmail.com",
|
|
71
|
+
"package": "@fluentui/react-dialog",
|
|
72
|
+
"commit": "2f28bd181dfa3114b544f2500d2b653ab31ceecc",
|
|
73
|
+
"comment": "bugfix: change DialogTitle default action icon from 24x24 to 20x20"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"author": "olfedias@microsoft.com",
|
|
77
|
+
"package": "@fluentui/react-dialog",
|
|
78
|
+
"commit": "c28decb23d191a0daaaf6d5d1832429715102129",
|
|
79
|
+
"comment": "chore: exclude .swcrc from being published"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"author": "olfedias@microsoft.com",
|
|
83
|
+
"package": "@fluentui/react-dialog",
|
|
84
|
+
"commit": "9d6394b6c751092fd1d4e26ccc618b5ba05086ec",
|
|
85
|
+
"comment": "chore: move makeStyles() calls to .styles.ts files"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"author": "gcox@microsoft.com",
|
|
89
|
+
"package": "@fluentui/react-dialog",
|
|
90
|
+
"commit": "ee977e20d359922798949a4f18af7a036ca36ca3",
|
|
91
|
+
"comment": "Update to use single hook selector"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"author": "beachball",
|
|
95
|
+
"package": "@fluentui/react-dialog",
|
|
96
|
+
"comment": "Bump @fluentui/react-utilities to v9.8.1",
|
|
97
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"author": "beachball",
|
|
101
|
+
"package": "@fluentui/react-dialog",
|
|
102
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.3",
|
|
103
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"author": "beachball",
|
|
107
|
+
"package": "@fluentui/react-dialog",
|
|
108
|
+
"comment": "Bump @fluentui/keyboard-keys to v9.0.3",
|
|
109
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"author": "beachball",
|
|
113
|
+
"package": "@fluentui/react-dialog",
|
|
114
|
+
"comment": "Bump @fluentui/react-context-selector to v9.1.19",
|
|
115
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"author": "beachball",
|
|
119
|
+
"package": "@fluentui/react-dialog",
|
|
120
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.4.0",
|
|
121
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"author": "beachball",
|
|
125
|
+
"package": "@fluentui/react-dialog",
|
|
126
|
+
"comment": "Bump @fluentui/react-aria to v9.3.19",
|
|
127
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"author": "beachball",
|
|
131
|
+
"package": "@fluentui/react-dialog",
|
|
132
|
+
"comment": "Bump @fluentui/react-tabster to v9.7.0",
|
|
133
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"author": "beachball",
|
|
137
|
+
"package": "@fluentui/react-dialog",
|
|
138
|
+
"comment": "Bump @fluentui/react-theme to v9.1.8",
|
|
139
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"author": "beachball",
|
|
143
|
+
"package": "@fluentui/react-dialog",
|
|
144
|
+
"comment": "Bump @fluentui/react-portal to v9.2.7",
|
|
145
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"author": "beachball",
|
|
149
|
+
"package": "@fluentui/react-dialog",
|
|
150
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.21",
|
|
151
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"none": [
|
|
155
|
+
{
|
|
156
|
+
"author": "martinhochel@microsoft.com",
|
|
157
|
+
"package": "@fluentui/react-dialog",
|
|
158
|
+
"commit": "dbda7fa69e3000aaf8dd4a061e254ebd35198b8e",
|
|
159
|
+
"comment": "fix: update npmignore files to fix npm8/node16 regression how npm publish works"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"date": "Mon, 24 Apr 2023 08:12:35 GMT",
|
|
6
166
|
"tag": "@fluentui/react-dialog_v9.5.3",
|
|
7
167
|
"version": "9.5.3",
|
|
8
168
|
"comments": {
|
|
@@ -29,7 +189,7 @@
|
|
|
29
189
|
"author": "beachball",
|
|
30
190
|
"package": "@fluentui/react-dialog",
|
|
31
191
|
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2",
|
|
32
|
-
"commit": "
|
|
192
|
+
"commit": "505433ac64f144c9cca456097413d6af4582e5ee"
|
|
33
193
|
}
|
|
34
194
|
]
|
|
35
195
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,49 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-dialog
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 18 May 2023 00:35:36 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.5.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.5.5)
|
|
8
|
+
|
|
9
|
+
Thu, 18 May 2023 00:35:36 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.5.4..@fluentui/react-dialog_v9.5.5)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- bugfix: removes unnecessary grid gaps ([PR #27845](https://github.com/microsoft/fluentui/pull/27845) by bernardo.sunderhus@gmail.com)
|
|
15
|
+
- Bump @fluentui/react-utilities to v9.9.0 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
16
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.4 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
17
|
+
- Bump @fluentui/react-context-selector to v9.1.20 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
18
|
+
- Bump @fluentui/react-aria to v9.3.20 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
19
|
+
- Bump @fluentui/react-tabster to v9.7.1 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
20
|
+
- Bump @fluentui/react-portal to v9.2.8 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
21
|
+
|
|
22
|
+
## [9.5.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.5.4)
|
|
23
|
+
|
|
24
|
+
Fri, 12 May 2023 20:27:17 GMT
|
|
25
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.5.3..@fluentui/react-dialog_v9.5.4)
|
|
26
|
+
|
|
27
|
+
### Patches
|
|
28
|
+
|
|
29
|
+
- bugfix: change DialogTitle default action icon from 24x24 to 20x20 ([PR #27815](https://github.com/microsoft/fluentui/pull/27815) by bernardo.sunderhus@gmail.com)
|
|
30
|
+
- chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
|
|
31
|
+
- chore: move makeStyles() calls to .styles.ts files ([PR #27698](https://github.com/microsoft/fluentui/pull/27698) by olfedias@microsoft.com)
|
|
32
|
+
- Update to use single hook selector ([PR #27491](https://github.com/microsoft/fluentui/pull/27491) by gcox@microsoft.com)
|
|
33
|
+
- Bump @fluentui/react-utilities to v9.8.1 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
34
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.3 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
35
|
+
- Bump @fluentui/keyboard-keys to v9.0.3 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
36
|
+
- Bump @fluentui/react-context-selector to v9.1.19 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
37
|
+
- Bump @fluentui/react-shared-contexts to v9.4.0 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
38
|
+
- Bump @fluentui/react-aria to v9.3.19 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
39
|
+
- Bump @fluentui/react-tabster to v9.7.0 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
40
|
+
- Bump @fluentui/react-theme to v9.1.8 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
41
|
+
- Bump @fluentui/react-portal to v9.2.7 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
42
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.21 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
43
|
+
|
|
7
44
|
## [9.5.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.5.3)
|
|
8
45
|
|
|
9
|
-
Mon, 24 Apr 2023 08:
|
|
46
|
+
Mon, 24 Apr 2023 08:12:35 GMT
|
|
10
47
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.5.2..@fluentui/react-dialog_v9.5.3)
|
|
11
48
|
|
|
12
49
|
### Patches
|
|
@@ -14,7 +51,7 @@ Mon, 24 Apr 2023 08:09:10 GMT
|
|
|
14
51
|
- bugfix: DialogTitle root as h2 by default ([PR #27555](https://github.com/microsoft/fluentui/pull/27555) by bernardo.sunderhus@gmail.com)
|
|
15
52
|
- bugfix: remove caret from react-jsx-runtime prerelease dependency ([PR #27588](https://github.com/microsoft/fluentui/pull/27588) by bernardo.sunderhus@gmail.com)
|
|
16
53
|
- chore: hoist tabster modal attributes to Dialog component ([PR #27541](https://github.com/microsoft/fluentui/pull/27541) by bernardo.sunderhus@gmail.com)
|
|
17
|
-
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([
|
|
54
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([commit](https://github.com/microsoft/fluentui/commit/505433ac64f144c9cca456097413d6af4582e5ee) by beachball)
|
|
18
55
|
|
|
19
56
|
## [9.5.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.5.2)
|
|
20
57
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useDialogActions_unstable } from './useDialogActions';
|
|
3
3
|
import { renderDialogActions_unstable } from './renderDialogActions';
|
|
4
|
-
import { useDialogActionsStyles_unstable } from './useDialogActionsStyles';
|
|
5
|
-
import {
|
|
4
|
+
import { useDialogActionsStyles_unstable } from './useDialogActionsStyles.styles';
|
|
5
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
6
6
|
/**
|
|
7
7
|
* `DialogActions` is a container for the actions of the dialog.
|
|
8
8
|
* Apart from styling, this component does not have other behavior.
|
|
@@ -10,10 +10,7 @@ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
|
|
|
10
10
|
export const DialogActions = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
11
11
|
const state = useDialogActions_unstable(props, ref);
|
|
12
12
|
useDialogActionsStyles_unstable(state);
|
|
13
|
-
|
|
14
|
-
useDialogActionsStyles_unstable: useCustomStyles
|
|
15
|
-
} = useCustomStyleHooks_unstable();
|
|
16
|
-
useCustomStyles(state);
|
|
13
|
+
useCustomStyleHook_unstable('useDialogActionsStyles_unstable')(state);
|
|
17
14
|
return renderDialogActions_unstable(state);
|
|
18
15
|
});
|
|
19
16
|
DialogActions.displayName = 'DialogActions';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useDialogActions_unstable","renderDialogActions_unstable","useDialogActionsStyles_unstable","
|
|
1
|
+
{"version":3,"names":["React","useDialogActions_unstable","renderDialogActions_unstable","useDialogActionsStyles_unstable","useCustomStyleHook_unstable","DialogActions","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/DialogActions/DialogActions.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useDialogActions_unstable } from './useDialogActions';\nimport { renderDialogActions_unstable } from './renderDialogActions';\nimport { useDialogActionsStyles_unstable } from './useDialogActionsStyles.styles';\nimport type { DialogActionsProps } from './DialogActions.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * `DialogActions` is a container for the actions of the dialog.\n * Apart from styling, this component does not have other behavior.\n */\nexport const DialogActions: ForwardRefComponent<DialogActionsProps> = React.forwardRef((props, ref) => {\n const state = useDialogActions_unstable(props, ref);\n\n useDialogActionsStyles_unstable(state);\n\n useCustomStyleHook_unstable('useDialogActionsStyles_unstable')(state);\n\n return renderDialogActions_unstable(state);\n});\n\nDialogActions.displayName = 'DialogActions';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,yBAAyB,QAAQ;AAC1C,SAASC,4BAA4B,QAAQ;AAC7C,SAASC,+BAA+B,QAAQ;AAGhD,SAASC,2BAA2B,QAAQ;AAE5C;;;;AAIA,OAAO,MAAMC,aAAA,gBAAyDL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACrG,MAAMC,KAAA,GAAQR,yBAAA,CAA0BM,KAAA,EAAOC,GAAA;EAE/CL,+BAAA,CAAgCM,KAAA;EAEhCL,2BAAA,CAA4B,mCAAmCK,KAAA;EAE/D,OAAOP,4BAAA,CAA6BO,KAAA;AACtC;AAEAJ,aAAA,CAAcK,WAAW,GAAG"}
|
|
@@ -2,5 +2,5 @@ export * from './DialogActions';
|
|
|
2
2
|
export * from './DialogActions.types';
|
|
3
3
|
export * from './renderDialogActions';
|
|
4
4
|
export * from './useDialogActions';
|
|
5
|
-
export * from './useDialogActionsStyles';
|
|
5
|
+
export * from './useDialogActionsStyles.styles';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/DialogActions/index.ts"],"sourcesContent":["export * from './DialogActions';\nexport * from './DialogActions.types';\nexport * from './renderDialogActions';\nexport * from './useDialogActions';\nexport * from './useDialogActionsStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/DialogActions/index.ts"],"sourcesContent":["export * from './DialogActions';\nexport * from './DialogActions.types';\nexport * from './renderDialogActions';\nexport * from './useDialogActions';\nexport * from './useDialogActionsStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
package/lib/components/DialogActions/{useDialogActionsStyles.js → useDialogActionsStyles.styles.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __styles, mergeClasses, shorthands } from '@griffel/react';
|
|
2
|
-
import { DIALOG_GAP,
|
|
2
|
+
import { DIALOG_GAP, MEDIA_QUERY_BREAKPOINT_SELECTOR } from '../../contexts/constants';
|
|
3
3
|
export const dialogActionsClassNames = {
|
|
4
4
|
root: 'fui-DialogActions'
|
|
5
5
|
};
|
|
@@ -8,6 +8,8 @@ const useStyles = /*#__PURE__*/__styles({
|
|
|
8
8
|
Bqenvij: "f3052tw",
|
|
9
9
|
B7ck84d: "f1ewtqcl",
|
|
10
10
|
mc9l5x: "f22iagw",
|
|
11
|
+
Ijaq50: "f1cztu7b",
|
|
12
|
+
nk6f5a: "fcu02xx",
|
|
11
13
|
i8kkvl: "f4px1ci",
|
|
12
14
|
Belr9w4: "fn67r4l",
|
|
13
15
|
Bmdcpmo: "f6glcwc",
|
|
@@ -15,26 +17,22 @@ const useStyles = /*#__PURE__*/__styles({
|
|
|
15
17
|
},
|
|
16
18
|
gridPositionEnd: {
|
|
17
19
|
Bdqf98w: "f1a7i8kp",
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
nk6f5a: "f23awfp",
|
|
21
|
-
Bw0ie65: "fiappcv"
|
|
20
|
+
Br312pm: "fd46tj4",
|
|
21
|
+
Bw0ie65: "fsyjsko"
|
|
22
22
|
},
|
|
23
23
|
gridPositionStart: {
|
|
24
24
|
Bdqf98w: "fsxvdwy",
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
nk6f5a: "f13d374e",
|
|
28
|
-
Bw0ie65: "f1fjo411"
|
|
25
|
+
Br312pm: "fwpfdsa",
|
|
26
|
+
Bw0ie65: "f1e2fz10"
|
|
29
27
|
},
|
|
30
28
|
fluidStart: {
|
|
31
|
-
Bw0ie65: "
|
|
29
|
+
Bw0ie65: "fsyjsko"
|
|
32
30
|
},
|
|
33
31
|
fluidEnd: {
|
|
34
|
-
Br312pm: "
|
|
32
|
+
Br312pm: "fwpfdsa"
|
|
35
33
|
}
|
|
36
34
|
}, {
|
|
37
|
-
d: [".f3052tw{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;}", ".f1ewtqcl{box-sizing:border-box;}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".
|
|
35
|
+
d: [".f3052tw{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;}", ".f1ewtqcl{box-sizing:border-box;}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1cztu7b{grid-row-start:3;}", ".fcu02xx{grid-row-end:3;}", ".f4px1ci{-webkit-column-gap:8px;column-gap:8px;}", ".fn67r4l{row-gap:8px;}", ".f1a7i8kp{justify-self:end;}", ".fd46tj4{grid-column-start:2;}", ".fsyjsko{grid-column-end:4;}", ".fsxvdwy{justify-self:start;}", ".fwpfdsa{grid-column-start:1;}", ".f1e2fz10{grid-column-end:2;}"],
|
|
38
36
|
m: [["@media screen and (max-width: 480px){.f6glcwc{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}}", {
|
|
39
37
|
m: "screen and (max-width: 480px)"
|
|
40
38
|
}], ["@media screen and (max-width: 480px){.f1e3st1r{justify-self:stretch;}}", {
|
|
@@ -49,4 +47,4 @@ export const useDialogActionsStyles_unstable = state => {
|
|
|
49
47
|
state.root.className = mergeClasses(dialogActionsClassNames.root, styles.root, state.position === 'start' && styles.gridPositionStart, state.position === 'end' && styles.gridPositionEnd, state.fluid && state.position === 'start' && styles.fluidStart, state.fluid && state.position === 'end' && styles.fluidEnd, state.root.className);
|
|
50
48
|
return state;
|
|
51
49
|
};
|
|
52
|
-
//# sourceMappingURL=useDialogActionsStyles.js.map
|
|
50
|
+
//# sourceMappingURL=useDialogActionsStyles.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","shorthands","DIALOG_GAP","MEDIA_QUERY_BREAKPOINT_SELECTOR","dialogActionsClassNames","root","useStyles","Bqenvij","B7ck84d","mc9l5x","Ijaq50","nk6f5a","i8kkvl","Belr9w4","Bmdcpmo","th9wkt","gridPositionEnd","Bdqf98w","Br312pm","Bw0ie65","gridPositionStart","fluidStart","fluidEnd","d","m","useDialogActionsStyles_unstable","state","styles","className","position","fluid"],"sources":["../../../src/components/DialogActions/useDialogActionsStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { DialogActionsSlots, DialogActionsState } from './DialogActions.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { DIALOG_GAP, MEDIA_QUERY_BREAKPOINT_SELECTOR } from '../../contexts/constants';\n\nexport const dialogActionsClassNames: SlotClassNames<DialogActionsSlots> = {\n root: 'fui-DialogActions',\n};\n\nconst useStyles = makeStyles({\n root: {\n height: 'fit-content',\n boxSizing: 'border-box',\n display: 'flex',\n gridRowStart: 3,\n gridRowEnd: 3,\n ...shorthands.gap(DIALOG_GAP),\n [MEDIA_QUERY_BREAKPOINT_SELECTOR]: {\n flexDirection: 'column',\n justifySelf: 'stretch',\n },\n },\n gridPositionEnd: {\n justifySelf: 'end',\n gridColumnStart: 2,\n gridColumnEnd: 4,\n },\n gridPositionStart: {\n justifySelf: 'start',\n gridColumnStart: 1,\n gridColumnEnd: 2,\n },\n fluidStart: {\n gridColumnEnd: 4,\n },\n fluidEnd: {\n gridColumnStart: 1,\n },\n});\n\n/**\n * Apply styling to the DialogActions slots based on the state\n */\nexport const useDialogActionsStyles_unstable = (state: DialogActionsState): DialogActionsState => {\n const styles = useStyles();\n state.root.className = mergeClasses(\n dialogActionsClassNames.root,\n styles.root,\n state.position === 'start' && styles.gridPositionStart,\n state.position === 'end' && styles.gridPositionEnd,\n state.fluid && state.position === 'start' && styles.fluidStart,\n state.fluid && state.position === 'end' && styles.fluidEnd,\n state.root.className,\n );\n return state;\n};\n"],"mappings":"AAAA,SAAAA,QAAA,EAAqBC,YAAY,EAAEC,UAAU,QAAQ;AAGrD,SAASC,UAAU,EAAEC,+BAA+B,QAAQ;AAE5D,OAAO,MAAMC,uBAAA,GAA8D;EACzEC,IAAA,EAAM;AACR;AAEA,MAAMC,SAAA,gBAAYP,QAAA;EAAAM,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;EAAAC,eAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;EAAAC,iBAAA;IAAAH,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;EAAAE,UAAA;IAAAF,OAAA;EAAA;EAAAG,QAAA;IAAAJ,OAAA;EAAA;AAAA;EAAAK,CAAA;EAAAC,CAAA;IAAAA,CAAA;EAAA;IAAAA,CAAA;EAAA;AAAA,EA6BlB;AAEA;;;AAGA,OAAO,MAAMC,+BAAA,GAAmCC,KAAA,IAAkD;EAChG,MAAMC,MAAA,GAASrB,SAAA;EACfoB,KAAA,CAAMrB,IAAI,CAACuB,SAAS,GAAG5B,YAAA,CACrBI,uBAAA,CAAwBC,IAAI,EAC5BsB,MAAA,CAAOtB,IAAI,EACXqB,KAAA,CAAMG,QAAQ,KAAK,WAAWF,MAAA,CAAOP,iBAAiB,EACtDM,KAAA,CAAMG,QAAQ,KAAK,SAASF,MAAA,CAAOX,eAAe,EAClDU,KAAA,CAAMI,KAAK,IAAIJ,KAAA,CAAMG,QAAQ,KAAK,WAAWF,MAAA,CAAON,UAAU,EAC9DK,KAAA,CAAMI,KAAK,IAAIJ,KAAA,CAAMG,QAAQ,KAAK,SAASF,MAAA,CAAOL,QAAQ,EAC1DI,KAAA,CAAMrB,IAAI,CAACuB,SAAS;EAEtB,OAAOF,KAAA;AACT"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useDialogBody_unstable } from './useDialogBody';
|
|
3
3
|
import { renderDialogBody_unstable } from './renderDialogBody';
|
|
4
|
-
import { useDialogBodyStyles_unstable } from './useDialogBodyStyles';
|
|
5
|
-
import {
|
|
4
|
+
import { useDialogBodyStyles_unstable } from './useDialogBodyStyles.styles';
|
|
5
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
6
6
|
/**
|
|
7
7
|
* The `DialogBody` is a container where the content of the dialog is rendered.
|
|
8
8
|
* Apart from styling, this component does not have other behavior.
|
|
@@ -10,10 +10,7 @@ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
|
|
|
10
10
|
export const DialogBody = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
11
11
|
const state = useDialogBody_unstable(props, ref);
|
|
12
12
|
useDialogBodyStyles_unstable(state);
|
|
13
|
-
|
|
14
|
-
useDialogBodyStyles_unstable: useCustomStyles
|
|
15
|
-
} = useCustomStyleHooks_unstable();
|
|
16
|
-
useCustomStyles(state);
|
|
13
|
+
useCustomStyleHook_unstable('useDialogBodyStyles_unstable')(state);
|
|
17
14
|
return renderDialogBody_unstable(state);
|
|
18
15
|
});
|
|
19
16
|
DialogBody.displayName = 'DialogBody';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useDialogBody_unstable","renderDialogBody_unstable","useDialogBodyStyles_unstable","
|
|
1
|
+
{"version":3,"names":["React","useDialogBody_unstable","renderDialogBody_unstable","useDialogBodyStyles_unstable","useCustomStyleHook_unstable","DialogBody","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/DialogBody/DialogBody.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useDialogBody_unstable } from './useDialogBody';\nimport { renderDialogBody_unstable } from './renderDialogBody';\nimport { useDialogBodyStyles_unstable } from './useDialogBodyStyles.styles';\nimport type { DialogBodyProps } from './DialogBody.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * The `DialogBody` is a container where the content of the dialog is rendered.\n * Apart from styling, this component does not have other behavior.\n */\nexport const DialogBody: ForwardRefComponent<DialogBodyProps> = React.forwardRef((props, ref) => {\n const state = useDialogBody_unstable(props, ref);\n\n useDialogBodyStyles_unstable(state);\n\n useCustomStyleHook_unstable('useDialogBodyStyles_unstable')(state);\n\n return renderDialogBody_unstable(state);\n});\n\nDialogBody.displayName = 'DialogBody';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,sBAAsB,QAAQ;AACvC,SAASC,yBAAyB,QAAQ;AAC1C,SAASC,4BAA4B,QAAQ;AAG7C,SAASC,2BAA2B,QAAQ;AAE5C;;;;AAIA,OAAO,MAAMC,UAAA,gBAAmDL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EAC/F,MAAMC,KAAA,GAAQR,sBAAA,CAAuBM,KAAA,EAAOC,GAAA;EAE5CL,4BAAA,CAA6BM,KAAA;EAE7BL,2BAAA,CAA4B,gCAAgCK,KAAA;EAE5D,OAAOP,yBAAA,CAA0BO,KAAA;AACnC;AAEAJ,UAAA,CAAWK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/DialogBody/index.ts"],"sourcesContent":["export * from './DialogBody';\nexport * from './DialogBody.types';\nexport * from './renderDialogBody';\nexport * from './useDialogBody';\nexport * from './useDialogBodyStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/DialogBody/index.ts"],"sourcesContent":["export * from './DialogBody';\nexport * from './DialogBody.types';\nexport * from './renderDialogBody';\nexport * from './useDialogBody';\nexport * from './useDialogBodyStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __styles, mergeClasses, shorthands } from '@griffel/react';
|
|
2
|
+
import { DIALOG_GAP, MEDIA_QUERY_BREAKPOINT_SELECTOR, SURFACE_PADDING } from '../../contexts';
|
|
3
|
+
export const dialogBodyClassNames = {
|
|
4
|
+
root: 'fui-DialogBody'
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Styles for the root slot
|
|
8
|
+
*/
|
|
9
|
+
const useStyles = /*#__PURE__*/__styles({
|
|
10
|
+
root: {
|
|
11
|
+
mc9l5x: "f13qh94s",
|
|
12
|
+
fshzfu: "f120kxnn",
|
|
13
|
+
Bxyxcbc: "flnwrvu",
|
|
14
|
+
B7ck84d: "f1ewtqcl",
|
|
15
|
+
B68tc82: "f1ln0qer",
|
|
16
|
+
Bmxbyg5: "fa2wlxz",
|
|
17
|
+
i8kkvl: "f4px1ci",
|
|
18
|
+
Belr9w4: "fn67r4l",
|
|
19
|
+
wkccdc: "f1x46k84",
|
|
20
|
+
B5xtmjs: "ff54dml",
|
|
21
|
+
Bqu9lor: "f1t97isy"
|
|
22
|
+
}
|
|
23
|
+
}, {
|
|
24
|
+
d: [".f13qh94s{display:grid;}", ".f120kxnn::backdrop{background-color:rgba(0, 0, 0, 0.4);}", ".flnwrvu{max-height:calc(100vh - 2 * 24px);}", ".f1ewtqcl{box-sizing:border-box;}", ".f1ln0qer{overflow-x:unset;}", ".fa2wlxz{overflow-y:unset;}", ".f4px1ci{-webkit-column-gap:8px;column-gap:8px;}", ".fn67r4l{row-gap:8px;}", ".f1x46k84{grid-template-rows:auto 1fr;}"],
|
|
25
|
+
m: [["@media screen and (max-width: 480px){.ff54dml{max-width:100vw;}}", {
|
|
26
|
+
m: "screen and (max-width: 480px)"
|
|
27
|
+
}], ["@media screen and (max-width: 480px){.f1t97isy{grid-template-rows:auto 1fr auto;}}", {
|
|
28
|
+
m: "screen and (max-width: 480px)"
|
|
29
|
+
}]]
|
|
30
|
+
});
|
|
31
|
+
/**
|
|
32
|
+
* Apply styling to the DialogBody slots based on the state
|
|
33
|
+
*/
|
|
34
|
+
export const useDialogBodyStyles_unstable = state => {
|
|
35
|
+
const styles = useStyles();
|
|
36
|
+
state.root.className = mergeClasses(dialogBodyClassNames.root, styles.root, state.root.className);
|
|
37
|
+
return state;
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=useDialogBodyStyles.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","shorthands","DIALOG_GAP","MEDIA_QUERY_BREAKPOINT_SELECTOR","SURFACE_PADDING","dialogBodyClassNames","root","useStyles","mc9l5x","fshzfu","Bxyxcbc","B7ck84d","B68tc82","Bmxbyg5","i8kkvl","Belr9w4","wkccdc","B5xtmjs","Bqu9lor","d","m","useDialogBodyStyles_unstable","state","styles","className"],"sources":["../../../src/components/DialogBody/useDialogBodyStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { DialogBodySlots, DialogBodyState } from './DialogBody.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { DIALOG_GAP, MEDIA_QUERY_BREAKPOINT_SELECTOR, SURFACE_PADDING } from '../../contexts';\n\nexport const dialogBodyClassNames: SlotClassNames<DialogBodySlots> = {\n root: 'fui-DialogBody',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'grid',\n '&::backdrop': {\n backgroundColor: 'rgba(0, 0, 0, 0.4)',\n },\n maxHeight: `calc(100vh - 2 * ${SURFACE_PADDING})`,\n boxSizing: 'border-box',\n ...shorthands.overflow('unset'),\n ...shorthands.gap(DIALOG_GAP),\n gridTemplateRows: 'auto 1fr',\n [MEDIA_QUERY_BREAKPOINT_SELECTOR]: {\n maxWidth: '100vw',\n gridTemplateRows: 'auto 1fr auto',\n },\n },\n});\n\n/**\n * Apply styling to the DialogBody slots based on the state\n */\nexport const useDialogBodyStyles_unstable = (state: DialogBodyState): DialogBodyState => {\n const styles = useStyles();\n state.root.className = mergeClasses(dialogBodyClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"mappings":"AAAA,SAAAA,QAAA,EAAqBC,YAAY,EAAEC,UAAU,QAAQ;AAGrD,SAASC,UAAU,EAAEC,+BAA+B,EAAEC,eAAe,QAAQ;AAE7E,OAAO,MAAMC,oBAAA,GAAwD;EACnEC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYR,QAAA;EAAAO,IAAA;IAAAE,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;EAAAC,CAAA;IAAAA,CAAA;EAAA;IAAAA,CAAA;EAAA;AAAA,EAgBlB;AAEA;;;AAGA,OAAO,MAAMC,4BAAA,GAAgCC,KAAA,IAA4C;EACvF,MAAMC,MAAA,GAAShB,SAAA;EACfe,KAAA,CAAMhB,IAAI,CAACkB,SAAS,GAAGxB,YAAA,CAAaK,oBAAA,CAAqBC,IAAI,EAAEiB,MAAA,CAAOjB,IAAI,EAAEgB,KAAA,CAAMhB,IAAI,CAACkB,SAAS;EAEhG,OAAOF,KAAA;AACT"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useDialogContent_unstable } from './useDialogContent';
|
|
3
3
|
import { renderDialogContent_unstable } from './renderDialogContent';
|
|
4
|
-
import { useDialogContentStyles_unstable } from './useDialogContentStyles';
|
|
5
|
-
import {
|
|
4
|
+
import { useDialogContentStyles_unstable } from './useDialogContentStyles.styles';
|
|
5
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
6
6
|
/**
|
|
7
7
|
* The `DialogContent` is a container where the content of the dialog is rendered.
|
|
8
8
|
* Apart from styling, this component does not have other behavior.
|
|
@@ -10,10 +10,7 @@ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
|
|
|
10
10
|
export const DialogContent = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
11
11
|
const state = useDialogContent_unstable(props, ref);
|
|
12
12
|
useDialogContentStyles_unstable(state);
|
|
13
|
-
|
|
14
|
-
useDialogContentStyles_unstable: useCustomStyles
|
|
15
|
-
} = useCustomStyleHooks_unstable();
|
|
16
|
-
useCustomStyles(state);
|
|
13
|
+
useCustomStyleHook_unstable('useDialogContentStyles_unstable')(state);
|
|
17
14
|
return renderDialogContent_unstable(state);
|
|
18
15
|
});
|
|
19
16
|
DialogContent.displayName = 'DialogContent';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useDialogContent_unstable","renderDialogContent_unstable","useDialogContentStyles_unstable","
|
|
1
|
+
{"version":3,"names":["React","useDialogContent_unstable","renderDialogContent_unstable","useDialogContentStyles_unstable","useCustomStyleHook_unstable","DialogContent","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/DialogContent/DialogContent.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useDialogContent_unstable } from './useDialogContent';\nimport { renderDialogContent_unstable } from './renderDialogContent';\nimport { useDialogContentStyles_unstable } from './useDialogContentStyles.styles';\nimport type { DialogContentProps } from './DialogContent.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * The `DialogContent` is a container where the content of the dialog is rendered.\n * Apart from styling, this component does not have other behavior.\n */\nexport const DialogContent: ForwardRefComponent<DialogContentProps> = React.forwardRef((props, ref) => {\n const state = useDialogContent_unstable(props, ref);\n\n useDialogContentStyles_unstable(state);\n\n useCustomStyleHook_unstable('useDialogContentStyles_unstable')(state);\n\n return renderDialogContent_unstable(state);\n});\n\nDialogContent.displayName = 'DialogContent';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,yBAAyB,QAAQ;AAC1C,SAASC,4BAA4B,QAAQ;AAC7C,SAASC,+BAA+B,QAAQ;AAGhD,SAASC,2BAA2B,QAAQ;AAE5C;;;;AAIA,OAAO,MAAMC,aAAA,gBAAyDL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACrG,MAAMC,KAAA,GAAQR,yBAAA,CAA0BM,KAAA,EAAOC,GAAA;EAE/CL,+BAAA,CAAgCM,KAAA;EAEhCL,2BAAA,CAA4B,mCAAmCK,KAAA;EAE/D,OAAOP,4BAAA,CAA6BO,KAAA;AACtC;AAEAJ,aAAA,CAAcK,WAAW,GAAG"}
|
|
@@ -2,5 +2,5 @@ export * from './DialogContent';
|
|
|
2
2
|
export * from './DialogContent.types';
|
|
3
3
|
export * from './renderDialogContent';
|
|
4
4
|
export * from './useDialogContent';
|
|
5
|
-
export * from './useDialogContentStyles';
|
|
5
|
+
export * from './useDialogContentStyles.styles';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/DialogContent/index.ts"],"sourcesContent":["export * from './DialogContent';\nexport * from './DialogContent.types';\nexport * from './renderDialogContent';\nexport * from './useDialogContent';\nexport * from './useDialogContentStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/DialogContent/index.ts"],"sourcesContent":["export * from './DialogContent';\nexport * from './DialogContent.types';\nexport * from './renderDialogContent';\nexport * from './useDialogContent';\nexport * from './useDialogContentStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
package/lib/components/DialogContent/{useDialogContentStyles.js → useDialogContentStyles.styles.js}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __styles, mergeClasses, shorthands } from '@griffel/react';
|
|
2
|
-
import { CONTENT_GRID_AREA } from '../../contexts/constants';
|
|
3
2
|
import { tokens, typographyStyles } from '@fluentui/react-theme';
|
|
4
3
|
export const dialogContentClassNames = {
|
|
5
4
|
root: 'fui-DialogContent'
|
|
@@ -12,6 +11,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
|
12
11
|
Bmxbyg5: "f5zp4f",
|
|
13
12
|
sshi5w: "f1nxs5xn",
|
|
14
13
|
B7ck84d: "f1ewtqcl",
|
|
14
|
+
Ijaq50: "faunodf",
|
|
15
|
+
nk6f5a: "f88nxoq",
|
|
16
|
+
Br312pm: "fwpfdsa",
|
|
17
|
+
Bw0ie65: "fsyjsko",
|
|
15
18
|
z8tnut: "fr4fn7s",
|
|
16
19
|
z189sj: ["f171n1a0", "f1jwbs5a"],
|
|
17
20
|
Byoj8tv: "f1ean75l",
|
|
@@ -20,17 +23,13 @@ const useStyles = /*#__PURE__*/__styles({
|
|
|
20
23
|
t21cq0: ["ffs23cn", "f1v5tmjd"],
|
|
21
24
|
jrapky: "f2uu7rc",
|
|
22
25
|
Frg6f3: ["f1v5tmjd", "ffs23cn"],
|
|
23
|
-
Ijaq50: "f6owso0",
|
|
24
|
-
Br312pm: "fupswjn",
|
|
25
|
-
nk6f5a: "foucsne",
|
|
26
|
-
Bw0ie65: "f1ka72gx",
|
|
27
26
|
Bahqtrf: "fk6fouc",
|
|
28
27
|
Be2twd7: "fkhj508",
|
|
29
28
|
Bhrd7zp: "figsok6",
|
|
30
29
|
Bg96gwp: "f1i3iumi"
|
|
31
30
|
}
|
|
32
31
|
}, {
|
|
33
|
-
d: [".f5zp4f{overflow-y:auto;}", ".f1nxs5xn{min-height:32px;}", ".f1ewtqcl{box-sizing:border-box;}", ".fr4fn7s{padding-top:var(--strokeWidthThick);}", ".f171n1a0{padding-right:var(--strokeWidthThick);}", ".f1jwbs5a{padding-left:var(--strokeWidthThick);}", ".f1ean75l{padding-bottom:var(--strokeWidthThick);}", ".fxlnl9e{margin-top:calc(var(--strokeWidthThick) * -1);}", ".ffs23cn{margin-right:calc(var(--strokeWidthThick) * -1);}", ".f1v5tmjd{margin-left:calc(var(--strokeWidthThick) * -1);}", ".f2uu7rc{margin-bottom:calc(var(--strokeWidthThick) * -1);}", ".
|
|
32
|
+
d: [".f5zp4f{overflow-y:auto;}", ".f1nxs5xn{min-height:32px;}", ".f1ewtqcl{box-sizing:border-box;}", ".faunodf{grid-row-start:2;}", ".f88nxoq{grid-row-end:2;}", ".fwpfdsa{grid-column-start:1;}", ".fsyjsko{grid-column-end:4;}", ".fr4fn7s{padding-top:var(--strokeWidthThick);}", ".f171n1a0{padding-right:var(--strokeWidthThick);}", ".f1jwbs5a{padding-left:var(--strokeWidthThick);}", ".f1ean75l{padding-bottom:var(--strokeWidthThick);}", ".fxlnl9e{margin-top:calc(var(--strokeWidthThick) * -1);}", ".ffs23cn{margin-right:calc(var(--strokeWidthThick) * -1);}", ".f1v5tmjd{margin-left:calc(var(--strokeWidthThick) * -1);}", ".f2uu7rc{margin-bottom:calc(var(--strokeWidthThick) * -1);}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
|
34
33
|
});
|
|
35
34
|
/**
|
|
36
35
|
* Apply styling to the DialogContent slots based on the state
|
|
@@ -40,4 +39,4 @@ export const useDialogContentStyles_unstable = state => {
|
|
|
40
39
|
state.root.className = mergeClasses(dialogContentClassNames.root, styles.root, state.root.className);
|
|
41
40
|
return state;
|
|
42
41
|
};
|
|
43
|
-
//# sourceMappingURL=useDialogContentStyles.js.map
|
|
42
|
+
//# sourceMappingURL=useDialogContentStyles.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","shorthands","tokens","typographyStyles","dialogContentClassNames","root","useStyles","Bmxbyg5","sshi5w","B7ck84d","Ijaq50","nk6f5a","Br312pm","Bw0ie65","z8tnut","z189sj","Byoj8tv","uwmqm3","B6of3ja","t21cq0","jrapky","Frg6f3","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","useDialogContentStyles_unstable","state","styles","className"],"sources":["../../../src/components/DialogContent/useDialogContentStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { DialogContentSlots, DialogContentState } from './DialogContent.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { tokens, typographyStyles } from '@fluentui/react-theme';\n\nexport const dialogContentClassNames: SlotClassNames<DialogContentSlots> = {\n root: 'fui-DialogContent',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n overflowY: 'auto',\n minHeight: '32px',\n boxSizing: 'border-box',\n gridRowStart: 2,\n gridRowEnd: 2,\n gridColumnStart: 1,\n gridColumnEnd: 4,\n ...shorthands.padding(tokens.strokeWidthThick),\n ...shorthands.margin(`calc(${tokens.strokeWidthThick} * -1)`),\n ...typographyStyles.body1,\n },\n});\n\n/**\n * Apply styling to the DialogContent slots based on the state\n */\nexport const useDialogContentStyles_unstable = (state: DialogContentState): DialogContentState => {\n const styles = useStyles();\n state.root.className = mergeClasses(dialogContentClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"mappings":"AAAA,SAAAA,QAAA,EAAqBC,YAAY,EAAEC,UAAU,QAAQ;AAGrD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ;AAEzC,OAAO,MAAMC,uBAAA,GAA8D;EACzEC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYP,QAAA;EAAAM,IAAA;IAAAE,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAalB;AAEA;;;AAGA,OAAO,MAAMC,+BAAA,GAAmCC,KAAA,IAAkD;EAChG,MAAMC,MAAA,GAASvB,SAAA;EACfsB,KAAA,CAAMvB,IAAI,CAACyB,SAAS,GAAG9B,YAAA,CAAaI,uBAAA,CAAwBC,IAAI,EAAEwB,MAAA,CAAOxB,IAAI,EAAEuB,KAAA,CAAMvB,IAAI,CAACyB,SAAS;EACnG,OAAOF,KAAA;AACT"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useDialogSurface_unstable } from './useDialogSurface';
|
|
3
3
|
import { renderDialogSurface_unstable } from './renderDialogSurface';
|
|
4
|
-
import { useDialogSurfaceStyles_unstable } from './useDialogSurfaceStyles';
|
|
4
|
+
import { useDialogSurfaceStyles_unstable } from './useDialogSurfaceStyles.styles';
|
|
5
5
|
import { useDialogSurfaceContextValues_unstable } from './useDialogSurfaceContextValues';
|
|
6
|
-
import {
|
|
6
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
7
7
|
/**
|
|
8
8
|
* DialogSurface component represents the visual part of a `Dialog` as a whole,
|
|
9
9
|
* it contains everything that should be visible.
|
|
@@ -12,10 +12,7 @@ export const DialogSurface = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
12
12
|
const state = useDialogSurface_unstable(props, ref);
|
|
13
13
|
const contextValues = useDialogSurfaceContextValues_unstable(state);
|
|
14
14
|
useDialogSurfaceStyles_unstable(state);
|
|
15
|
-
|
|
16
|
-
useDialogSurfaceStyles_unstable: useCustomStyles
|
|
17
|
-
} = useCustomStyleHooks_unstable();
|
|
18
|
-
useCustomStyles(state);
|
|
15
|
+
useCustomStyleHook_unstable('useDialogSurfaceStyles_unstable')(state);
|
|
19
16
|
return renderDialogSurface_unstable(state, contextValues);
|
|
20
17
|
});
|
|
21
18
|
DialogSurface.displayName = 'DialogSurface';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useDialogSurface_unstable","renderDialogSurface_unstable","useDialogSurfaceStyles_unstable","useDialogSurfaceContextValues_unstable","
|
|
1
|
+
{"version":3,"names":["React","useDialogSurface_unstable","renderDialogSurface_unstable","useDialogSurfaceStyles_unstable","useDialogSurfaceContextValues_unstable","useCustomStyleHook_unstable","DialogSurface","forwardRef","props","ref","state","contextValues","displayName"],"sources":["../../../src/components/DialogSurface/DialogSurface.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useDialogSurface_unstable } from './useDialogSurface';\nimport { renderDialogSurface_unstable } from './renderDialogSurface';\nimport { useDialogSurfaceStyles_unstable } from './useDialogSurfaceStyles.styles';\nimport type { DialogSurfaceProps } from './DialogSurface.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useDialogSurfaceContextValues_unstable } from './useDialogSurfaceContextValues';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * DialogSurface component represents the visual part of a `Dialog` as a whole,\n * it contains everything that should be visible.\n */\nexport const DialogSurface: ForwardRefComponent<DialogSurfaceProps> = React.forwardRef((props, ref) => {\n const state = useDialogSurface_unstable(props, ref);\n const contextValues = useDialogSurfaceContextValues_unstable(state);\n\n useDialogSurfaceStyles_unstable(state);\n\n useCustomStyleHook_unstable('useDialogSurfaceStyles_unstable')(state);\n\n return renderDialogSurface_unstable(state, contextValues);\n});\n\nDialogSurface.displayName = 'DialogSurface';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,yBAAyB,QAAQ;AAC1C,SAASC,4BAA4B,QAAQ;AAC7C,SAASC,+BAA+B,QAAQ;AAGhD,SAASC,sCAAsC,QAAQ;AACvD,SAASC,2BAA2B,QAAQ;AAE5C;;;;AAIA,OAAO,MAAMC,aAAA,gBAAyDN,KAAA,CAAMO,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACrG,MAAMC,KAAA,GAAQT,yBAAA,CAA0BO,KAAA,EAAOC,GAAA;EAC/C,MAAME,aAAA,GAAgBP,sCAAA,CAAuCM,KAAA;EAE7DP,+BAAA,CAAgCO,KAAA;EAEhCL,2BAAA,CAA4B,mCAAmCK,KAAA;EAE/D,OAAOR,4BAAA,CAA6BQ,KAAA,EAAOC,aAAA;AAC7C;AAEAL,aAAA,CAAcM,WAAW,GAAG"}
|
|
@@ -2,5 +2,5 @@ export * from './DialogSurface';
|
|
|
2
2
|
export * from './DialogSurface.types';
|
|
3
3
|
export * from './renderDialogSurface';
|
|
4
4
|
export * from './useDialogSurface';
|
|
5
|
-
export * from './useDialogSurfaceStyles';
|
|
5
|
+
export * from './useDialogSurfaceStyles.styles';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/DialogSurface/index.ts"],"sourcesContent":["export * from './DialogSurface';\nexport * from './DialogSurface.types';\nexport * from './renderDialogSurface';\nexport * from './useDialogSurface';\nexport * from './useDialogSurfaceStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/DialogSurface/index.ts"],"sourcesContent":["export * from './DialogSurface';\nexport * from './DialogSurface.types';\nexport * from './renderDialogSurface';\nexport * from './useDialogSurface';\nexport * from './useDialogSurfaceStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|