@fluentui/react-toolbar 9.1.11 → 9.1.13
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 +165 -5
- package/CHANGELOG.md +43 -6
- package/lib/components/Toolbar/Toolbar.js +3 -6
- package/lib/components/Toolbar/Toolbar.js.map +1 -1
- package/lib/components/Toolbar/index.js +1 -1
- package/lib/components/Toolbar/index.js.map +1 -1
- package/lib/components/Toolbar/{useToolbarStyles.js → useToolbarStyles.styles.js} +1 -1
- package/lib/components/Toolbar/useToolbarStyles.styles.js.map +1 -0
- package/lib/components/ToolbarButton/ToolbarButton.js +3 -6
- package/lib/components/ToolbarButton/ToolbarButton.js.map +1 -1
- package/lib/components/ToolbarButton/index.js +1 -1
- package/lib/components/ToolbarButton/index.js.map +1 -1
- package/lib/components/ToolbarButton/{useToolbarButtonStyles.js → useToolbarButtonStyles.styles.js} +1 -1
- package/lib/components/ToolbarButton/useToolbarButtonStyles.styles.js.map +1 -0
- package/lib/components/ToolbarDivider/ToolbarDivider.js +3 -6
- package/lib/components/ToolbarDivider/ToolbarDivider.js.map +1 -1
- package/lib/components/ToolbarDivider/index.js +1 -1
- package/lib/components/ToolbarDivider/index.js.map +1 -1
- package/lib/components/ToolbarDivider/{useToolbarDividerStyles.js → useToolbarDividerStyles.styles.js} +1 -1
- package/lib/components/ToolbarDivider/useToolbarDividerStyles.styles.js.map +1 -0
- package/lib/components/ToolbarGroup/ToolbarGroup.js +3 -6
- package/lib/components/ToolbarGroup/ToolbarGroup.js.map +1 -1
- package/lib/components/ToolbarGroup/index.js +1 -1
- package/lib/components/ToolbarGroup/index.js.map +1 -1
- package/lib/components/ToolbarGroup/{useToolbarGroupStyles.js → useToolbarGroupStyles.styles.js} +1 -1
- package/lib/components/ToolbarGroup/useToolbarGroupStyles.styles.js.map +1 -0
- package/lib/components/ToolbarRadioButton/ToolbarRadioButton.js +3 -6
- package/lib/components/ToolbarRadioButton/ToolbarRadioButton.js.map +1 -1
- package/lib/components/ToolbarRadioButton/index.js +1 -1
- package/lib/components/ToolbarRadioButton/index.js.map +1 -1
- package/lib/components/ToolbarRadioButton/{useToolbarRadioButtonStyles.js → useToolbarRadioButtonStyles.styles.js} +1 -1
- package/lib/components/ToolbarRadioButton/useToolbarRadioButtonStyles.styles.js.map +1 -0
- package/lib/components/ToolbarRadioGroup/ToolbarRadioGroup.js +2 -5
- package/lib/components/ToolbarRadioGroup/ToolbarRadioGroup.js.map +1 -1
- package/lib/components/ToolbarToggleButton/ToolbarToggleButton.js +3 -6
- package/lib/components/ToolbarToggleButton/ToolbarToggleButton.js.map +1 -1
- package/lib/components/ToolbarToggleButton/index.js +1 -1
- package/lib/components/ToolbarToggleButton/index.js.map +1 -1
- package/lib/components/ToolbarToggleButton/useToolbarToggleButton.js +0 -2
- package/lib/components/ToolbarToggleButton/useToolbarToggleButton.js.map +1 -1
- package/lib/components/ToolbarToggleButton/{useToolbarToggleButtonStyles.js → useToolbarToggleButtonStyles.styles.js} +1 -1
- package/lib/components/ToolbarToggleButton/useToolbarToggleButtonStyles.styles.js.map +1 -0
- package/lib-commonjs/components/Toolbar/Toolbar.js +3 -4
- package/lib-commonjs/components/Toolbar/Toolbar.js.map +1 -1
- package/lib-commonjs/components/Toolbar/index.js +1 -1
- package/lib-commonjs/components/Toolbar/index.js.map +1 -1
- package/lib-commonjs/components/Toolbar/{useToolbarStyles.js → useToolbarStyles.styles.js} +2 -2
- package/lib-commonjs/components/Toolbar/useToolbarStyles.styles.js.map +1 -0
- package/lib-commonjs/components/ToolbarButton/ToolbarButton.js +3 -4
- package/lib-commonjs/components/ToolbarButton/ToolbarButton.js.map +1 -1
- package/lib-commonjs/components/ToolbarButton/index.js +1 -1
- package/lib-commonjs/components/ToolbarButton/index.js.map +1 -1
- package/lib-commonjs/components/ToolbarButton/{useToolbarButtonStyles.js → useToolbarButtonStyles.styles.js} +2 -2
- package/lib-commonjs/components/ToolbarButton/useToolbarButtonStyles.styles.js.map +1 -0
- package/lib-commonjs/components/ToolbarDivider/ToolbarDivider.js +3 -4
- package/lib-commonjs/components/ToolbarDivider/ToolbarDivider.js.map +1 -1
- package/lib-commonjs/components/ToolbarDivider/index.js +1 -1
- package/lib-commonjs/components/ToolbarDivider/index.js.map +1 -1
- package/lib-commonjs/components/ToolbarDivider/{useToolbarDividerStyles.js → useToolbarDividerStyles.styles.js} +2 -2
- package/lib-commonjs/components/ToolbarDivider/useToolbarDividerStyles.styles.js.map +1 -0
- package/lib-commonjs/components/ToolbarGroup/ToolbarGroup.js +3 -4
- package/lib-commonjs/components/ToolbarGroup/ToolbarGroup.js.map +1 -1
- package/lib-commonjs/components/ToolbarGroup/index.js +1 -1
- package/lib-commonjs/components/ToolbarGroup/index.js.map +1 -1
- package/lib-commonjs/components/ToolbarGroup/{useToolbarGroupStyles.js → useToolbarGroupStyles.styles.js} +2 -2
- package/lib-commonjs/components/ToolbarGroup/useToolbarGroupStyles.styles.js.map +1 -0
- package/lib-commonjs/components/ToolbarRadioButton/ToolbarRadioButton.js +3 -4
- package/lib-commonjs/components/ToolbarRadioButton/ToolbarRadioButton.js.map +1 -1
- package/lib-commonjs/components/ToolbarRadioButton/index.js +1 -1
- package/lib-commonjs/components/ToolbarRadioButton/index.js.map +1 -1
- package/lib-commonjs/components/ToolbarRadioButton/{useToolbarRadioButtonStyles.js → useToolbarRadioButtonStyles.styles.js} +2 -2
- package/lib-commonjs/components/ToolbarRadioButton/useToolbarRadioButtonStyles.styles.js.map +1 -0
- package/lib-commonjs/components/ToolbarRadioGroup/ToolbarRadioGroup.js +1 -2
- package/lib-commonjs/components/ToolbarRadioGroup/ToolbarRadioGroup.js.map +1 -1
- package/lib-commonjs/components/ToolbarToggleButton/ToolbarToggleButton.js +3 -4
- package/lib-commonjs/components/ToolbarToggleButton/ToolbarToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToolbarToggleButton/index.js +1 -1
- package/lib-commonjs/components/ToolbarToggleButton/index.js.map +1 -1
- package/lib-commonjs/components/ToolbarToggleButton/useToolbarToggleButton.js +0 -2
- package/lib-commonjs/components/ToolbarToggleButton/useToolbarToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToolbarToggleButton/{useToolbarToggleButtonStyles.js → useToolbarToggleButtonStyles.styles.js} +2 -2
- package/lib-commonjs/components/ToolbarToggleButton/useToolbarToggleButtonStyles.styles.js.map +1 -0
- package/package.json +13 -12
- package/.swcrc +0 -30
- package/lib/components/Toolbar/useToolbarStyles.js.map +0 -1
- package/lib/components/ToolbarButton/useToolbarButtonStyles.js.map +0 -1
- package/lib/components/ToolbarDivider/useToolbarDividerStyles.js.map +0 -1
- package/lib/components/ToolbarGroup/useToolbarGroupStyles.js.map +0 -1
- package/lib/components/ToolbarRadioButton/useToolbarRadioButtonStyles.js.map +0 -1
- package/lib/components/ToolbarToggleButton/useToolbarToggleButtonStyles.js.map +0 -1
- package/lib-commonjs/components/Toolbar/useToolbarStyles.js.map +0 -1
- package/lib-commonjs/components/ToolbarButton/useToolbarButtonStyles.js.map +0 -1
- package/lib-commonjs/components/ToolbarDivider/useToolbarDividerStyles.js.map +0 -1
- package/lib-commonjs/components/ToolbarGroup/useToolbarGroupStyles.js.map +0 -1
- package/lib-commonjs/components/ToolbarRadioButton/useToolbarRadioButtonStyles.js.map +0 -1
- package/lib-commonjs/components/ToolbarToggleButton/useToolbarToggleButtonStyles.js.map +0 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,167 @@
|
|
|
2
2
|
"name": "@fluentui/react-toolbar",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 18 May 2023 00:35:49 GMT",
|
|
6
|
+
"tag": "@fluentui/react-toolbar_v9.1.13",
|
|
7
|
+
"version": "9.1.13",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "olfedias@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-toolbar",
|
|
13
|
+
"commit": "06cd515eda59a3078bfe32f9cc7c1f281cd20208",
|
|
14
|
+
"comment": "chore: add test-ssr script to v9 packages"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"patch": [
|
|
18
|
+
{
|
|
19
|
+
"author": "beachball",
|
|
20
|
+
"package": "@fluentui/react-toolbar",
|
|
21
|
+
"comment": "Bump @fluentui/react-button to v9.3.12",
|
|
22
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"author": "beachball",
|
|
26
|
+
"package": "@fluentui/react-toolbar",
|
|
27
|
+
"comment": "Bump @fluentui/react-divider to v9.2.12",
|
|
28
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"author": "beachball",
|
|
32
|
+
"package": "@fluentui/react-toolbar",
|
|
33
|
+
"comment": "Bump @fluentui/react-utilities to v9.9.0",
|
|
34
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"author": "beachball",
|
|
38
|
+
"package": "@fluentui/react-toolbar",
|
|
39
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.4",
|
|
40
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"author": "beachball",
|
|
44
|
+
"package": "@fluentui/react-toolbar",
|
|
45
|
+
"comment": "Bump @fluentui/react-context-selector to v9.1.20",
|
|
46
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"author": "beachball",
|
|
50
|
+
"package": "@fluentui/react-toolbar",
|
|
51
|
+
"comment": "Bump @fluentui/react-radio to v9.1.13",
|
|
52
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"author": "beachball",
|
|
56
|
+
"package": "@fluentui/react-toolbar",
|
|
57
|
+
"comment": "Bump @fluentui/react-tabster to v9.7.1",
|
|
58
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"date": "Fri, 12 May 2023 20:27:58 GMT",
|
|
65
|
+
"tag": "@fluentui/react-toolbar_v9.1.12",
|
|
66
|
+
"version": "9.1.12",
|
|
67
|
+
"comments": {
|
|
68
|
+
"patch": [
|
|
69
|
+
{
|
|
70
|
+
"author": "lingfangao@hotmail.com",
|
|
71
|
+
"package": "@fluentui/react-toolbar",
|
|
72
|
+
"commit": "381cc2d5b1bd6032428bcc506501b2a591825c4a",
|
|
73
|
+
"comment": "fix: ToolbarToggleButton should not follow Toolbar size"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"author": "olfedias@microsoft.com",
|
|
77
|
+
"package": "@fluentui/react-toolbar",
|
|
78
|
+
"commit": "c28decb23d191a0daaaf6d5d1832429715102129",
|
|
79
|
+
"comment": "chore: exclude .swcrc from being published"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"author": "gcox@microsoft.com",
|
|
83
|
+
"package": "@fluentui/react-toolbar",
|
|
84
|
+
"commit": "ee977e20d359922798949a4f18af7a036ca36ca3",
|
|
85
|
+
"comment": "Update to use single hook selector"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"author": "olfedias@microsoft.com",
|
|
89
|
+
"package": "@fluentui/react-toolbar",
|
|
90
|
+
"commit": "9d6394b6c751092fd1d4e26ccc618b5ba05086ec",
|
|
91
|
+
"comment": "chore: move makeStyles() calls to .styles.ts files"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"author": "beachball",
|
|
95
|
+
"package": "@fluentui/react-toolbar",
|
|
96
|
+
"comment": "Bump @fluentui/react-button to v9.3.11",
|
|
97
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"author": "beachball",
|
|
101
|
+
"package": "@fluentui/react-toolbar",
|
|
102
|
+
"comment": "Bump @fluentui/react-divider to v9.2.11",
|
|
103
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"author": "beachball",
|
|
107
|
+
"package": "@fluentui/react-toolbar",
|
|
108
|
+
"comment": "Bump @fluentui/react-theme to v9.1.8",
|
|
109
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"author": "beachball",
|
|
113
|
+
"package": "@fluentui/react-toolbar",
|
|
114
|
+
"comment": "Bump @fluentui/react-utilities to v9.8.1",
|
|
115
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"author": "beachball",
|
|
119
|
+
"package": "@fluentui/react-toolbar",
|
|
120
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.3",
|
|
121
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"author": "beachball",
|
|
125
|
+
"package": "@fluentui/react-toolbar",
|
|
126
|
+
"comment": "Bump @fluentui/react-context-selector to v9.1.19",
|
|
127
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"author": "beachball",
|
|
131
|
+
"package": "@fluentui/react-toolbar",
|
|
132
|
+
"comment": "Bump @fluentui/react-radio to v9.1.12",
|
|
133
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"author": "beachball",
|
|
137
|
+
"package": "@fluentui/react-toolbar",
|
|
138
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.4.0",
|
|
139
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"author": "beachball",
|
|
143
|
+
"package": "@fluentui/react-toolbar",
|
|
144
|
+
"comment": "Bump @fluentui/react-tabster to v9.7.0",
|
|
145
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"author": "beachball",
|
|
149
|
+
"package": "@fluentui/react-toolbar",
|
|
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-toolbar",
|
|
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:44 GMT",
|
|
6
166
|
"tag": "@fluentui/react-toolbar_v9.1.11",
|
|
7
167
|
"version": "9.1.11",
|
|
8
168
|
"comments": {
|
|
@@ -17,25 +177,25 @@
|
|
|
17
177
|
"author": "beachball",
|
|
18
178
|
"package": "@fluentui/react-toolbar",
|
|
19
179
|
"comment": "Bump @fluentui/react-button to v9.3.10",
|
|
20
|
-
"commit": "
|
|
180
|
+
"commit": "505433ac64f144c9cca456097413d6af4582e5ee"
|
|
21
181
|
},
|
|
22
182
|
{
|
|
23
183
|
"author": "beachball",
|
|
24
184
|
"package": "@fluentui/react-toolbar",
|
|
25
185
|
"comment": "Bump @fluentui/react-divider to v9.2.10",
|
|
26
|
-
"commit": "
|
|
186
|
+
"commit": "505433ac64f144c9cca456097413d6af4582e5ee"
|
|
27
187
|
},
|
|
28
188
|
{
|
|
29
189
|
"author": "beachball",
|
|
30
190
|
"package": "@fluentui/react-toolbar",
|
|
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
|
"author": "beachball",
|
|
36
196
|
"package": "@fluentui/react-toolbar",
|
|
37
197
|
"comment": "Bump @fluentui/react-radio to v9.1.11",
|
|
38
|
-
"commit": "
|
|
198
|
+
"commit": "505433ac64f144c9cca456097413d6af4582e5ee"
|
|
39
199
|
}
|
|
40
200
|
]
|
|
41
201
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-toolbar
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 18 May 2023 00:35:49 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.1.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-toolbar_v9.1.13)
|
|
8
|
+
|
|
9
|
+
Thu, 18 May 2023 00:35:49 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toolbar_v9.1.12..@fluentui/react-toolbar_v9.1.13)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Bump @fluentui/react-button to v9.3.12 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
15
|
+
- Bump @fluentui/react-divider to v9.2.12 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
16
|
+
- Bump @fluentui/react-utilities to v9.9.0 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
17
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.4 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
18
|
+
- Bump @fluentui/react-context-selector to v9.1.20 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
19
|
+
- Bump @fluentui/react-radio to v9.1.13 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tabster to v9.7.1 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
|
21
|
+
|
|
22
|
+
## [9.1.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-toolbar_v9.1.12)
|
|
23
|
+
|
|
24
|
+
Fri, 12 May 2023 20:27:58 GMT
|
|
25
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toolbar_v9.1.11..@fluentui/react-toolbar_v9.1.12)
|
|
26
|
+
|
|
27
|
+
### Patches
|
|
28
|
+
|
|
29
|
+
- fix: ToolbarToggleButton should not follow Toolbar size ([PR #27797](https://github.com/microsoft/fluentui/pull/27797) by lingfangao@hotmail.com)
|
|
30
|
+
- chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
|
|
31
|
+
- Update to use single hook selector ([PR #27491](https://github.com/microsoft/fluentui/pull/27491) by gcox@microsoft.com)
|
|
32
|
+
- chore: move makeStyles() calls to .styles.ts files ([PR #27698](https://github.com/microsoft/fluentui/pull/27698) by olfedias@microsoft.com)
|
|
33
|
+
- Bump @fluentui/react-button to v9.3.11 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
34
|
+
- Bump @fluentui/react-divider to v9.2.11 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
35
|
+
- Bump @fluentui/react-theme to v9.1.8 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
36
|
+
- Bump @fluentui/react-utilities to v9.8.1 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
37
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.3 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
38
|
+
- Bump @fluentui/react-context-selector to v9.1.19 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
39
|
+
- Bump @fluentui/react-radio to v9.1.12 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
40
|
+
- Bump @fluentui/react-shared-contexts to v9.4.0 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
|
41
|
+
- Bump @fluentui/react-tabster to v9.7.0 ([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.1.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-toolbar_v9.1.11)
|
|
8
45
|
|
|
9
|
-
Mon, 24 Apr 2023 08:
|
|
46
|
+
Mon, 24 Apr 2023 08:12:44 GMT
|
|
10
47
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toolbar_v9.1.10..@fluentui/react-toolbar_v9.1.11)
|
|
11
48
|
|
|
12
49
|
### Patches
|
|
13
50
|
|
|
14
51
|
- bugfix: remove caret from react-jsx-runtime prerelease dependency ([PR #27588](https://github.com/microsoft/fluentui/pull/27588) by bernardo.sunderhus@gmail.com)
|
|
15
|
-
- Bump @fluentui/react-button to v9.3.10 ([
|
|
16
|
-
- Bump @fluentui/react-divider to v9.2.10 ([
|
|
17
|
-
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([
|
|
18
|
-
- Bump @fluentui/react-radio to v9.1.11 ([
|
|
52
|
+
- Bump @fluentui/react-button to v9.3.10 ([commit](https://github.com/microsoft/fluentui/commit/505433ac64f144c9cca456097413d6af4582e5ee) by beachball)
|
|
53
|
+
- Bump @fluentui/react-divider to v9.2.10 ([commit](https://github.com/microsoft/fluentui/commit/505433ac64f144c9cca456097413d6af4582e5ee) by beachball)
|
|
54
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([commit](https://github.com/microsoft/fluentui/commit/505433ac64f144c9cca456097413d6af4582e5ee) by beachball)
|
|
55
|
+
- Bump @fluentui/react-radio to v9.1.11 ([commit](https://github.com/microsoft/fluentui/commit/505433ac64f144c9cca456097413d6af4582e5ee) by beachball)
|
|
19
56
|
|
|
20
57
|
## [9.1.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-toolbar_v9.1.10)
|
|
21
58
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useToolbar_unstable } from './useToolbar';
|
|
3
3
|
import { renderToolbar_unstable } from './renderToolbar';
|
|
4
|
-
import { useToolbarStyles_unstable } from './useToolbarStyles';
|
|
4
|
+
import { useToolbarStyles_unstable } from './useToolbarStyles.styles';
|
|
5
5
|
import { useToolbarContextValues_unstable } from './useToolbarContextValues';
|
|
6
|
-
import {
|
|
6
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
7
7
|
/**
|
|
8
8
|
* Toolbar component
|
|
9
9
|
*/
|
|
@@ -11,10 +11,7 @@ export const Toolbar = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
11
11
|
const state = useToolbar_unstable(props, ref);
|
|
12
12
|
const contextValues = useToolbarContextValues_unstable(state);
|
|
13
13
|
useToolbarStyles_unstable(state);
|
|
14
|
-
|
|
15
|
-
useToolbarStyles_unstable: useCustomStyles
|
|
16
|
-
} = useCustomStyleHooks_unstable();
|
|
17
|
-
useCustomStyles(state);
|
|
14
|
+
useCustomStyleHook_unstable('useToolbarStyles_unstable')(state);
|
|
18
15
|
return renderToolbar_unstable(state, contextValues);
|
|
19
16
|
});
|
|
20
17
|
Toolbar.displayName = 'Toolbar';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useToolbar_unstable","renderToolbar_unstable","useToolbarStyles_unstable","useToolbarContextValues_unstable","
|
|
1
|
+
{"version":3,"names":["React","useToolbar_unstable","renderToolbar_unstable","useToolbarStyles_unstable","useToolbarContextValues_unstable","useCustomStyleHook_unstable","Toolbar","forwardRef","props","ref","state","contextValues","displayName"],"sources":["../../../src/components/Toolbar/Toolbar.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useToolbar_unstable } from './useToolbar';\nimport { renderToolbar_unstable } from './renderToolbar';\nimport { useToolbarStyles_unstable } from './useToolbarStyles.styles';\nimport type { ToolbarProps } from './Toolbar.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useToolbarContextValues_unstable } from './useToolbarContextValues';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Toolbar component\n */\nexport const Toolbar: ForwardRefComponent<ToolbarProps> = React.forwardRef((props, ref) => {\n const state = useToolbar_unstable(props, ref);\n const contextValues = useToolbarContextValues_unstable(state);\n\n useToolbarStyles_unstable(state);\n\n useCustomStyleHook_unstable('useToolbarStyles_unstable')(state);\n\n return renderToolbar_unstable(state, contextValues);\n});\n\nToolbar.displayName = 'Toolbar';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,mBAAmB,QAAQ;AACpC,SAASC,sBAAsB,QAAQ;AACvC,SAASC,yBAAyB,QAAQ;AAG1C,SAASC,gCAAgC,QAAQ;AACjD,SAASC,2BAA2B,QAAQ;AAE5C;;;AAGA,OAAO,MAAMC,OAAA,gBAA6CN,KAAA,CAAMO,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACzF,MAAMC,KAAA,GAAQT,mBAAA,CAAoBO,KAAA,EAAOC,GAAA;EACzC,MAAME,aAAA,GAAgBP,gCAAA,CAAiCM,KAAA;EAEvDP,yBAAA,CAA0BO,KAAA;EAE1BL,2BAAA,CAA4B,6BAA6BK,KAAA;EAEzD,OAAOR,sBAAA,CAAuBQ,KAAA,EAAOC,aAAA;AACvC;AAEAL,OAAA,CAAQM,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/Toolbar/index.ts"],"sourcesContent":["export * from './Toolbar';\nexport * from './Toolbar.types';\nexport * from './renderToolbar';\nexport * from './useToolbar';\nexport * from './useToolbarStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/Toolbar/index.ts"],"sourcesContent":["export * from './Toolbar';\nexport * from './Toolbar.types';\nexport * from './renderToolbar';\nexport * from './useToolbar';\nexport * from './useToolbarStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
@@ -44,4 +44,4 @@ export const useToolbarStyles_unstable = state => {
|
|
|
44
44
|
state.root.className = mergeClasses(toolbarClassNames.root, styles.root, vertical && styles.vertical, size === 'small' && !vertical && styles.small, size === 'medium' && !vertical && styles.medium, size === 'large' && !vertical && styles.large, state.root.className);
|
|
45
45
|
return state;
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=useToolbarStyles.js.map
|
|
47
|
+
//# sourceMappingURL=useToolbarStyles.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","shorthands","toolbarClassNames","root","useStyles","mc9l5x","Bt984gj","z8tnut","z189sj","Byoj8tv","uwmqm3","i8kkvl","Belr9w4","vertical","Beiy3e4","a9b677","small","Bqenvij","medium","large","d","useToolbarStyles_unstable","state","styles","size","className"],"sources":["../../../src/components/Toolbar/useToolbarStyles.styles.ts"],"sourcesContent":["import { SlotClassNames } from '@fluentui/react-utilities';\nimport { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { ToolbarSlots, ToolbarState } from './Toolbar.types';\n\nexport const toolbarClassNames: SlotClassNames<ToolbarSlots> = {\n root: 'fui-Toolbar',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n ...shorthands.padding('4px', '8px', '4px', '8px'),\n ...shorthands.gap('8px'),\n },\n vertical: {\n flexDirection: 'column',\n width: 'fit-content',\n },\n small: {\n height: '32px',\n },\n medium: {\n height: '40px',\n },\n large: {\n height: '48px',\n },\n});\n\n/**\n * Apply styling to the Toolbar slots based on the state\n */\nexport const useToolbarStyles_unstable = (state: ToolbarState): ToolbarState => {\n const styles = useStyles();\n const { vertical, size } = state;\n state.root.className = mergeClasses(\n toolbarClassNames.root,\n styles.root,\n vertical && styles.vertical,\n size === 'small' && !vertical && styles.small,\n size === 'medium' && !vertical && styles.medium,\n size === 'large' && !vertical && styles.large,\n state.root.className,\n );\n\n return state;\n};\n"],"mappings":"AACA,SAAAA,QAAA,EAAqBC,YAAY,EAAEC,UAAU,QAAQ;AAGrD,OAAO,MAAMC,iBAAA,GAAkD;EAC7DC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,MAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;EAAA;EAAAC,QAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;EAAAC,KAAA;IAAAC,OAAA;EAAA;EAAAC,MAAA;IAAAD,OAAA;EAAA;EAAAE,KAAA;IAAAF,OAAA;EAAA;AAAA;EAAAG,CAAA;AAAA,EAoBlB;AAEA;;;AAGA,OAAO,MAAMC,yBAAA,GAA6BC,KAAA,IAAsC;EAC9E,MAAMC,MAAA,GAASnB,SAAA;EACf,MAAM;IAAES,QAAA;IAAUW;EAAI,CAAE,GAAGF,KAAA;EAC3BA,KAAA,CAAMnB,IAAI,CAACsB,SAAS,GAAGzB,YAAA,CACrBE,iBAAA,CAAkBC,IAAI,EACtBoB,MAAA,CAAOpB,IAAI,EACXU,QAAA,IAAYU,MAAA,CAAOV,QAAQ,EAC3BW,IAAA,KAAS,WAAW,CAACX,QAAA,IAAYU,MAAA,CAAOP,KAAK,EAC7CQ,IAAA,KAAS,YAAY,CAACX,QAAA,IAAYU,MAAA,CAAOL,MAAM,EAC/CM,IAAA,KAAS,WAAW,CAACX,QAAA,IAAYU,MAAA,CAAOJ,KAAK,EAC7CG,KAAA,CAAMnB,IAAI,CAACsB,SAAS;EAGtB,OAAOH,KAAA;AACT"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { renderButton_unstable } from '@fluentui/react-button';
|
|
3
|
-
import { useToolbarButtonStyles_unstable } from './useToolbarButtonStyles';
|
|
3
|
+
import { useToolbarButtonStyles_unstable } from './useToolbarButtonStyles.styles';
|
|
4
4
|
import { useToolbarButton_unstable } from './useToolbarButton';
|
|
5
|
-
import {
|
|
5
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
6
6
|
/**
|
|
7
7
|
* ToolbarButton component is a Button to be used inside Toolbar
|
|
8
8
|
* which will respect toolbar props such as `size`
|
|
@@ -10,10 +10,7 @@ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
|
|
|
10
10
|
export const ToolbarButton = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
11
11
|
const state = useToolbarButton_unstable(props, ref);
|
|
12
12
|
useToolbarButtonStyles_unstable(state);
|
|
13
|
-
|
|
14
|
-
useToolbarButtonStyles_unstable: useCustomStyles
|
|
15
|
-
} = useCustomStyleHooks_unstable();
|
|
16
|
-
useCustomStyles(state);
|
|
13
|
+
useCustomStyleHook_unstable('useToolbarButtonStyles_unstable')(state);
|
|
17
14
|
return renderButton_unstable(state);
|
|
18
15
|
// Casting is required due to lack of distributive union to support unions on @types/react
|
|
19
16
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","renderButton_unstable","useToolbarButtonStyles_unstable","useToolbarButton_unstable","
|
|
1
|
+
{"version":3,"names":["React","renderButton_unstable","useToolbarButtonStyles_unstable","useToolbarButton_unstable","useCustomStyleHook_unstable","ToolbarButton","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/ToolbarButton/ToolbarButton.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ToolbarButtonProps } from './ToolbarButton.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { renderButton_unstable } from '@fluentui/react-button';\nimport { useToolbarButtonStyles_unstable } from './useToolbarButtonStyles.styles';\nimport { useToolbarButton_unstable } from './useToolbarButton';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * ToolbarButton component is a Button to be used inside Toolbar\n * which will respect toolbar props such as `size`\n */\nexport const ToolbarButton: ForwardRefComponent<ToolbarButtonProps> = React.forwardRef((props, ref) => {\n const state = useToolbarButton_unstable(props, ref);\n\n useToolbarButtonStyles_unstable(state);\n\n useCustomStyleHook_unstable('useToolbarButtonStyles_unstable')(state);\n\n return renderButton_unstable(state);\n // Casting is required due to lack of distributive union to support unions on @types/react\n}) as ForwardRefComponent<ToolbarButtonProps>;\n\nToolbarButton.displayName = 'ToolbarButton';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AAGvB,SAASC,qBAAqB,QAAQ;AACtC,SAASC,+BAA+B,QAAQ;AAChD,SAASC,yBAAyB,QAAQ;AAC1C,SAASC,2BAA2B,QAAQ;AAE5C;;;;AAIA,OAAO,MAAMC,aAAA,gBAAyDL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACrG,MAAMC,KAAA,GAAQN,yBAAA,CAA0BI,KAAA,EAAOC,GAAA;EAE/CN,+BAAA,CAAgCO,KAAA;EAEhCL,2BAAA,CAA4B,mCAAmCK,KAAA;EAE/D,OAAOR,qBAAA,CAAsBQ,KAAA;EAC7B;AACF;;AAEAJ,aAAA,CAAcK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/ToolbarButton/index.ts"],"sourcesContent":["export * from './ToolbarButton';\nexport * from './ToolbarButton.types';\nexport * from './useToolbarButton';\nexport * from './useToolbarButtonStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/ToolbarButton/index.ts"],"sourcesContent":["export * from './ToolbarButton';\nexport * from './ToolbarButton.types';\nexport * from './useToolbarButton';\nexport * from './useToolbarButtonStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
package/lib/components/ToolbarButton/{useToolbarButtonStyles.js → useToolbarButtonStyles.styles.js}
RENAMED
|
@@ -21,4 +21,4 @@ export const useToolbarButtonStyles_unstable = state => {
|
|
|
21
21
|
state.icon.className = mergeClasses(state.icon.className, state.vertical && buttonStyles.verticalIcon);
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=useToolbarButtonStyles.js.map
|
|
24
|
+
//# sourceMappingURL=useToolbarButtonStyles.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","useButtonStyles_unstable","useBaseStyles","vertical","Beiy3e4","verticalIcon","Be2twd7","d","useToolbarButtonStyles_unstable","state","buttonStyles","root","className","icon"],"sources":["../../../src/components/ToolbarButton/useToolbarButtonStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { useButtonStyles_unstable } from '@fluentui/react-button';\nimport { ToolbarButtonState } from './ToolbarButton.types';\n\nconst useBaseStyles = makeStyles({\n vertical: {\n flexDirection: 'column',\n },\n verticalIcon: {\n fontSize: '24px',\n },\n});\n\n/**\n * Apply styling to the ToolbarButton slots based on the state\n */\nexport const useToolbarButtonStyles_unstable = (state: ToolbarButtonState) => {\n useButtonStyles_unstable(state);\n const buttonStyles = useBaseStyles();\n\n state.root.className = mergeClasses(state.root.className, state.vertical && buttonStyles.vertical);\n if (state.icon) {\n state.icon.className = mergeClasses(state.icon.className, state.vertical && buttonStyles.verticalIcon);\n }\n};\n"],"mappings":"AAAA,SAAAA,QAAA,EAAqBC,YAAY,QAAQ;AACzC,SAASC,wBAAwB,QAAQ;AAGzC,MAAMC,aAAA,gBAAgBH,QAAA;EAAAI,QAAA;IAAAC,OAAA;EAAA;EAAAC,YAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAOtB;AAEA;;;AAGA,OAAO,MAAMC,+BAAA,GAAmCC,KAAA,IAA8B;EAC5ER,wBAAA,CAAyBQ,KAAA;EACzB,MAAMC,YAAA,GAAeR,aAAA;EAErBO,KAAA,CAAME,IAAI,CAACC,SAAS,GAAGZ,YAAA,CAAaS,KAAA,CAAME,IAAI,CAACC,SAAS,EAAEH,KAAA,CAAMN,QAAQ,IAAIO,YAAA,CAAaP,QAAQ;EACjG,IAAIM,KAAA,CAAMI,IAAI,EAAE;IACdJ,KAAA,CAAMI,IAAI,CAACD,SAAS,GAAGZ,YAAA,CAAaS,KAAA,CAAMI,IAAI,CAACD,SAAS,EAAEH,KAAA,CAAMN,QAAQ,IAAIO,YAAA,CAAaL,YAAY;EACvG;AACF"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { useToolbarDividerStyles_unstable } from './useToolbarDividerStyles';
|
|
2
|
+
import { useToolbarDividerStyles_unstable } from './useToolbarDividerStyles.styles';
|
|
3
3
|
import { renderDivider_unstable } from '@fluentui/react-divider';
|
|
4
4
|
import { useToolbarDivider_unstable } from './useToolbarDivider';
|
|
5
|
-
import {
|
|
5
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
6
6
|
/**
|
|
7
7
|
* ToolbarDivider component
|
|
8
8
|
*/
|
|
9
9
|
export const ToolbarDivider = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
10
10
|
const state = useToolbarDivider_unstable(props, ref);
|
|
11
11
|
useToolbarDividerStyles_unstable(state);
|
|
12
|
-
|
|
13
|
-
useToolbarDividerStyles_unstable: useCustomStyles
|
|
14
|
-
} = useCustomStyleHooks_unstable();
|
|
15
|
-
useCustomStyles(state);
|
|
12
|
+
useCustomStyleHook_unstable('useToolbarDividerStyles_unstable')(state);
|
|
16
13
|
return renderDivider_unstable(state);
|
|
17
14
|
});
|
|
18
15
|
ToolbarDivider.displayName = 'ToolbarDivider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useToolbarDividerStyles_unstable","renderDivider_unstable","useToolbarDivider_unstable","
|
|
1
|
+
{"version":3,"names":["React","useToolbarDividerStyles_unstable","renderDivider_unstable","useToolbarDivider_unstable","useCustomStyleHook_unstable","ToolbarDivider","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/ToolbarDivider/ToolbarDivider.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useToolbarDividerStyles_unstable } from './useToolbarDividerStyles.styles';\nimport type { ToolbarDividerProps } from './ToolbarDivider.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { renderDivider_unstable } from '@fluentui/react-divider';\nimport { useToolbarDivider_unstable } from './useToolbarDivider';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * ToolbarDivider component\n */\nexport const ToolbarDivider: ForwardRefComponent<ToolbarDividerProps> = React.forwardRef((props, ref) => {\n const state = useToolbarDivider_unstable(props, ref);\n\n useToolbarDividerStyles_unstable(state);\n\n useCustomStyleHook_unstable('useToolbarDividerStyles_unstable')(state);\n\n return renderDivider_unstable(state);\n});\n\nToolbarDivider.displayName = 'ToolbarDivider';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,gCAAgC,QAAQ;AAGjD,SAASC,sBAAsB,QAAQ;AACvC,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,2BAA2B,QAAQ;AAE5C;;;AAGA,OAAO,MAAMC,cAAA,gBAA2DL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACvG,MAAMC,KAAA,GAAQN,0BAAA,CAA2BI,KAAA,EAAOC,GAAA;EAEhDP,gCAAA,CAAiCQ,KAAA;EAEjCL,2BAAA,CAA4B,oCAAoCK,KAAA;EAEhE,OAAOP,sBAAA,CAAuBO,KAAA;AAChC;AAEAJ,cAAA,CAAeK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/ToolbarDivider/index.ts"],"sourcesContent":["export * from './ToolbarDivider';\nexport * from './ToolbarDivider.types';\nexport * from './useToolbarDividerStyles';\nexport * from './useToolbarDivider';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/ToolbarDivider/index.ts"],"sourcesContent":["export * from './ToolbarDivider';\nexport * from './ToolbarDivider.types';\nexport * from './useToolbarDividerStyles.styles';\nexport * from './useToolbarDivider';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
@@ -23,4 +23,4 @@ export const useToolbarDividerStyles_unstable = state => {
|
|
|
23
23
|
state.root.className = mergeClasses(state.root.className, toolbarDividerStyles.root, !vertical && toolbarDividerStyles.vertical);
|
|
24
24
|
return state;
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=useToolbarDividerStyles.js.map
|
|
26
|
+
//# sourceMappingURL=useToolbarDividerStyles.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","useDividerStyles_unstable","useBaseStyles","root","mc9l5x","B2u0y6b","vertical","d","useToolbarDividerStyles_unstable","state","toolbarDividerStyles","className"],"sources":["../../../src/components/ToolbarDivider/useToolbarDividerStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { useDividerStyles_unstable } from '@fluentui/react-divider';\nimport type { ToolbarDividerState } from './ToolbarDivider.types';\n\nconst useBaseStyles = makeStyles({\n // Base styles\n root: {\n display: 'inline-flex',\n maxWidth: '1px',\n },\n vertical: {\n maxWidth: 'initial',\n },\n});\n\n/**\n * Apply styling to the ToolbarDivider slots based on the state\n */\nexport const useToolbarDividerStyles_unstable = (state: ToolbarDividerState): ToolbarDividerState => {\n useDividerStyles_unstable(state);\n const { vertical } = state;\n const toolbarDividerStyles = useBaseStyles();\n state.root.className = mergeClasses(\n state.root.className,\n toolbarDividerStyles.root,\n !vertical && toolbarDividerStyles.vertical,\n );\n return state;\n};\n"],"mappings":"AAAA,SAAAA,QAAA,EAAqBC,YAAY,QAAQ;AACzC,SAASC,yBAAyB,QAAQ;AAG1C,MAAMC,aAAA,gBAAgBH,QAAA;EAAAI,IAAA;IAAAC,MAAA;IAAAC,OAAA;EAAA;EAAAC,QAAA;IAAAD,OAAA;EAAA;AAAA;EAAAE,CAAA;AAAA,EAStB;AAEA;;;AAGA,OAAO,MAAMC,gCAAA,GAAoCC,KAAA,IAAoD;EACnGR,yBAAA,CAA0BQ,KAAA;EAC1B,MAAM;IAAEH;EAAQ,CAAE,GAAGG,KAAA;EACrB,MAAMC,oBAAA,GAAuBR,aAAA;EAC7BO,KAAA,CAAMN,IAAI,CAACQ,SAAS,GAAGX,YAAA,CACrBS,KAAA,CAAMN,IAAI,CAACQ,SAAS,EACpBD,oBAAA,CAAqBP,IAAI,EACzB,CAACG,QAAA,IAAYI,oBAAA,CAAqBJ,QAAQ;EAE5C,OAAOG,KAAA;AACT"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useToolbarGroup_unstable } from './useToolbarGroup';
|
|
3
|
-
import { useToolbarGroupStyles_unstable } from './useToolbarGroupStyles';
|
|
3
|
+
import { useToolbarGroupStyles_unstable } from './useToolbarGroupStyles.styles';
|
|
4
4
|
import { renderToolbarGroup_unstable } from './renderToolbarGroup';
|
|
5
|
-
import {
|
|
5
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
6
6
|
/**
|
|
7
7
|
* ToolbarGroup component is a Button to be used inside Toolbar
|
|
8
8
|
* which will respect toolbar props such as `size`
|
|
@@ -10,10 +10,7 @@ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
|
|
|
10
10
|
export const ToolbarGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
11
11
|
const state = useToolbarGroup_unstable(props, ref);
|
|
12
12
|
useToolbarGroupStyles_unstable(state);
|
|
13
|
-
|
|
14
|
-
useToolbarGroupStyles_unstable: useCustomStyles
|
|
15
|
-
} = useCustomStyleHooks_unstable();
|
|
16
|
-
useCustomStyles(state);
|
|
13
|
+
useCustomStyleHook_unstable('useToolbarGroupStyles_unstable')(state);
|
|
17
14
|
return renderToolbarGroup_unstable(state);
|
|
18
15
|
// Casting is required due to lack of distributive union to support unions on @types/react
|
|
19
16
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useToolbarGroup_unstable","useToolbarGroupStyles_unstable","renderToolbarGroup_unstable","
|
|
1
|
+
{"version":3,"names":["React","useToolbarGroup_unstable","useToolbarGroupStyles_unstable","renderToolbarGroup_unstable","useCustomStyleHook_unstable","ToolbarGroup","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/ToolbarGroup/ToolbarGroup.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ToolbarGroupProps } from './ToolbarGroup.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useToolbarGroup_unstable } from './useToolbarGroup';\nimport { useToolbarGroupStyles_unstable } from './useToolbarGroupStyles.styles';\nimport { renderToolbarGroup_unstable } from './renderToolbarGroup';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * ToolbarGroup component is a Button to be used inside Toolbar\n * which will respect toolbar props such as `size`\n */\nexport const ToolbarGroup: ForwardRefComponent<ToolbarGroupProps> = React.forwardRef((props, ref) => {\n const state = useToolbarGroup_unstable(props, ref);\n\n useToolbarGroupStyles_unstable(state);\n\n useCustomStyleHook_unstable('useToolbarGroupStyles_unstable')(state);\n\n return renderToolbarGroup_unstable(state);\n // Casting is required due to lack of distributive union to support unions on @types/react\n}) as ForwardRefComponent<ToolbarGroupProps>;\n\nToolbarGroup.displayName = 'ToolbarGroup';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AAGvB,SAASC,wBAAwB,QAAQ;AACzC,SAASC,8BAA8B,QAAQ;AAC/C,SAASC,2BAA2B,QAAQ;AAC5C,SAASC,2BAA2B,QAAQ;AAE5C;;;;AAIA,OAAO,MAAMC,YAAA,gBAAuDL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACnG,MAAMC,KAAA,GAAQR,wBAAA,CAAyBM,KAAA,EAAOC,GAAA;EAE9CN,8BAAA,CAA+BO,KAAA;EAE/BL,2BAAA,CAA4B,kCAAkCK,KAAA;EAE9D,OAAON,2BAAA,CAA4BM,KAAA;EACnC;AACF;;AAEAJ,YAAA,CAAaK,WAAW,GAAG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './ToolbarGroup';
|
|
2
2
|
export * from './ToolbarGroup.types';
|
|
3
3
|
export * from './useToolbarGroup';
|
|
4
|
-
export * from './useToolbarGroupStyles';
|
|
4
|
+
export * from './useToolbarGroupStyles.styles';
|
|
5
5
|
export * from './renderToolbarGroup';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/ToolbarGroup/index.ts"],"sourcesContent":["export * from './ToolbarGroup';\nexport * from './ToolbarGroup.types';\nexport * from './useToolbarGroup';\nexport * from './useToolbarGroupStyles';\nexport * from './renderToolbarGroup';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/ToolbarGroup/index.ts"],"sourcesContent":["export * from './ToolbarGroup';\nexport * from './ToolbarGroup.types';\nexport * from './useToolbarGroup';\nexport * from './useToolbarGroupStyles.styles';\nexport * from './renderToolbarGroup';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
package/lib/components/ToolbarGroup/{useToolbarGroupStyles.js → useToolbarGroupStyles.styles.js}
RENAMED
|
@@ -22,4 +22,4 @@ export const useToolbarGroupStyles_unstable = state => {
|
|
|
22
22
|
state.root.className = mergeClasses(toolbarGroupClassNames.root, styles.root, state.root.className);
|
|
23
23
|
return state;
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=useToolbarGroupStyles.js.map
|
|
25
|
+
//# sourceMappingURL=useToolbarGroupStyles.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","shorthands","toolbarGroupClassNames","root","useStyles","mc9l5x","i8kkvl","Belr9w4","d","useToolbarGroupStyles_unstable","state","styles","className"],"sources":["../../../src/components/ToolbarGroup/useToolbarGroupStyles.styles.ts"],"sourcesContent":["import { SlotClassNames } from '@fluentui/react-utilities';\nimport { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { ToolbarGroupSlots, ToolbarGroupState } from './ToolbarGroup.types';\n\nexport const toolbarGroupClassNames: SlotClassNames<ToolbarGroupSlots> = {\n root: 'fui-ToolbarGroup',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n ...shorthands.gap('8px'),\n },\n});\n\n/**\n * Apply styling to the Toolbar slots based on the state\n */\nexport const useToolbarGroupStyles_unstable = (state: ToolbarGroupState): ToolbarGroupState => {\n const styles = useStyles();\n state.root.className = mergeClasses(toolbarGroupClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"mappings":"AACA,SAAAA,QAAA,EAAqBC,YAAY,EAAEC,UAAU,QAAQ;AAGrD,OAAO,MAAMC,sBAAA,GAA4D;EACvEC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,MAAA;IAAAC,MAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAKlB;AAEA;;;AAGA,OAAO,MAAMC,8BAAA,GAAkCC,KAAA,IAAgD;EAC7F,MAAMC,MAAA,GAASP,SAAA;EACfM,KAAA,CAAMP,IAAI,CAACS,SAAS,GAAGZ,YAAA,CAAaE,sBAAA,CAAuBC,IAAI,EAAEQ,MAAA,CAAOR,IAAI,EAAEO,KAAA,CAAMP,IAAI,CAACS,SAAS;EAElG,OAAOF,KAAA;AACT"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { renderToggleButton_unstable } from '@fluentui/react-button';
|
|
3
3
|
import { useToolbarRadioButton_unstable } from './useToolbarRadioButton';
|
|
4
|
-
import { useToolbarRadioButtonStyles_unstable } from './useToolbarRadioButtonStyles';
|
|
5
|
-
import {
|
|
4
|
+
import { useToolbarRadioButtonStyles_unstable } from './useToolbarRadioButtonStyles.styles';
|
|
5
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
6
6
|
/**
|
|
7
7
|
* ToolbarRadioButton component
|
|
8
8
|
*/
|
|
9
9
|
export const ToolbarRadioButton = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
10
10
|
const state = useToolbarRadioButton_unstable(props, ref);
|
|
11
11
|
useToolbarRadioButtonStyles_unstable(state);
|
|
12
|
-
|
|
13
|
-
useToolbarRadioButtonStyles_unstable: useCustomStyles
|
|
14
|
-
} = useCustomStyleHooks_unstable();
|
|
15
|
-
useCustomStyles(state);
|
|
12
|
+
useCustomStyleHook_unstable('useToolbarRadioButtonStyles_unstable')(state);
|
|
16
13
|
return renderToggleButton_unstable(state);
|
|
17
14
|
});
|
|
18
15
|
ToolbarRadioButton.displayName = 'ToolbarRadioButton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","renderToggleButton_unstable","useToolbarRadioButton_unstable","useToolbarRadioButtonStyles_unstable","
|
|
1
|
+
{"version":3,"names":["React","renderToggleButton_unstable","useToolbarRadioButton_unstable","useToolbarRadioButtonStyles_unstable","useCustomStyleHook_unstable","ToolbarRadioButton","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/ToolbarRadioButton/ToolbarRadioButton.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ToolbarRadioButtonProps } from './ToolbarRadioButton.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { renderToggleButton_unstable } from '@fluentui/react-button';\nimport { useToolbarRadioButton_unstable } from './useToolbarRadioButton';\nimport { useToolbarRadioButtonStyles_unstable } from './useToolbarRadioButtonStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * ToolbarRadioButton component\n */\nexport const ToolbarRadioButton: ForwardRefComponent<ToolbarRadioButtonProps> = React.forwardRef((props, ref) => {\n const state = useToolbarRadioButton_unstable(props, ref);\n\n useToolbarRadioButtonStyles_unstable(state);\n\n useCustomStyleHook_unstable('useToolbarRadioButtonStyles_unstable')(state);\n\n return renderToggleButton_unstable(state);\n}) as ForwardRefComponent<ToolbarRadioButtonProps>;\n\nToolbarRadioButton.displayName = 'ToolbarRadioButton';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AAGvB,SAASC,2BAA2B,QAAQ;AAC5C,SAASC,8BAA8B,QAAQ;AAC/C,SAASC,oCAAoC,QAAQ;AACrD,SAASC,2BAA2B,QAAQ;AAE5C;;;AAGA,OAAO,MAAMC,kBAAA,gBAAmEL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EAC/G,MAAMC,KAAA,GAAQP,8BAAA,CAA+BK,KAAA,EAAOC,GAAA;EAEpDL,oCAAA,CAAqCM,KAAA;EAErCL,2BAAA,CAA4B,wCAAwCK,KAAA;EAEpE,OAAOR,2BAAA,CAA4BQ,KAAA;AACrC;AAEAJ,kBAAA,CAAmBK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/ToolbarRadioButton/index.ts"],"sourcesContent":["export * from './ToolbarRadioButton';\nexport * from './ToolbarRadioButton.types';\nexport * from './useToolbarRadioButton';\nexport * from './useToolbarRadioButtonStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/ToolbarRadioButton/index.ts"],"sourcesContent":["export * from './ToolbarRadioButton';\nexport * from './ToolbarRadioButton.types';\nexport * from './useToolbarRadioButton';\nexport * from './useToolbarRadioButtonStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
@@ -16,4 +16,4 @@ export const useToolbarRadioButtonStyles_unstable = state => {
|
|
|
16
16
|
const toggleButtonStyles = useBaseStyles();
|
|
17
17
|
state.root.className = mergeClasses(state.root.className, state.checked && toggleButtonStyles.selected);
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=useToolbarRadioButtonStyles.js.map
|
|
19
|
+
//# sourceMappingURL=useToolbarRadioButtonStyles.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["tokens","__styles","mergeClasses","useToggleButtonStyles_unstable","useBaseStyles","selected","sj55zd","d","useToolbarRadioButtonStyles_unstable","state","toggleButtonStyles","root","className","checked"],"sources":["../../../src/components/ToolbarRadioButton/useToolbarRadioButtonStyles.styles.ts"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport { useToggleButtonStyles_unstable } from '@fluentui/react-button';\nimport { ToolbarRadioButtonState } from './ToolbarRadioButton.types';\n\nconst useBaseStyles = makeStyles({\n selected: {\n color: tokens.colorBrandForeground1,\n },\n});\n\n/**\n * Apply styling to the ToolbarRadioButton slots based on the state\n */\nexport const useToolbarRadioButtonStyles_unstable = (state: ToolbarRadioButtonState) => {\n useToggleButtonStyles_unstable(state);\n const toggleButtonStyles = useBaseStyles();\n\n state.root.className = mergeClasses(state.root.className, state.checked && toggleButtonStyles.selected);\n};\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ;AACvB,SAAAC,QAAA,EAAqBC,YAAY,QAAQ;AACzC,SAASC,8BAA8B,QAAQ;AAG/C,MAAMC,aAAA,gBAAgBH,QAAA;EAAAI,QAAA;IAAAC,MAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAItB;AAEA;;;AAGA,OAAO,MAAMC,oCAAA,GAAwCC,KAAA,IAAmC;EACtFN,8BAAA,CAA+BM,KAAA;EAC/B,MAAMC,kBAAA,GAAqBN,aAAA;EAE3BK,KAAA,CAAME,IAAI,CAACC,SAAS,GAAGV,YAAA,CAAaO,KAAA,CAAME,IAAI,CAACC,SAAS,EAAEH,KAAA,CAAMI,OAAO,IAAIH,kBAAA,CAAmBL,QAAQ;AACxG"}
|