@fluentui/react-infobutton 9.0.0-beta.98 → 9.0.1-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +272 -8
- package/dist/index.d.cts +175 -0
- package/dist/index.d.ts +9 -7
- package/lib/InfoButton.js +1 -1
- package/lib/InfoButton.js.map +1 -1
- package/lib/InfoLabel.js +1 -1
- package/lib/InfoLabel.js.map +1 -1
- package/lib/components/InfoButton/DefaultInfoButtonIcons.js +1 -1
- package/lib/components/InfoButton/DefaultInfoButtonIcons.js.map +1 -1
- package/lib/components/InfoButton/InfoButton.js +5 -4
- package/lib/components/InfoButton/InfoButton.js.map +1 -1
- package/lib/components/InfoButton/InfoButton.types.js +5 -1
- package/lib/components/InfoButton/InfoButton.types.js.map +1 -1
- package/lib/components/InfoButton/index.js +4 -5
- package/lib/components/InfoButton/index.js.map +1 -1
- package/lib/components/InfoButton/renderInfoButton.js +3 -3
- package/lib/components/InfoButton/renderInfoButton.js.map +1 -1
- package/lib/components/InfoButton/useInfoButton.js +9 -8
- package/lib/components/InfoButton/useInfoButton.js.map +1 -1
- package/lib/components/InfoButton/useInfoButtonStyles.styles.js +55 -42
- package/lib/components/InfoButton/useInfoButtonStyles.styles.js.map +1 -1
- package/lib/components/InfoButton/useInfoButtonStyles.styles.raw.js +100 -0
- package/lib/components/InfoButton/useInfoButtonStyles.styles.raw.js.map +1 -0
- package/lib/components/InfoLabel/InfoLabel.js +5 -4
- package/lib/components/InfoLabel/InfoLabel.js.map +1 -1
- package/lib/components/InfoLabel/InfoLabel.types.js +5 -1
- package/lib/components/InfoLabel/InfoLabel.types.js.map +1 -1
- package/lib/components/InfoLabel/index.js +4 -5
- package/lib/components/InfoLabel/index.js.map +1 -1
- package/lib/components/InfoLabel/renderInfoLabel.js +2 -2
- package/lib/components/InfoLabel/renderInfoLabel.js.map +1 -1
- package/lib/components/InfoLabel/useInfoLabel.js +5 -4
- package/lib/components/InfoLabel/useInfoLabel.js.map +1 -1
- package/lib/components/InfoLabel/useInfoLabelStyles.styles.js +8 -4
- package/lib/components/InfoLabel/useInfoLabelStyles.styles.js.map +1 -1
- package/lib/components/InfoLabel/useInfoLabelStyles.styles.raw.js +47 -0
- package/lib/components/InfoLabel/useInfoLabelStyles.styles.raw.js.map +1 -0
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib-commonjs/InfoButton.cjs +28 -0
- package/lib-commonjs/InfoButton.cjs.map +1 -0
- package/lib-commonjs/InfoLabel.cjs +28 -0
- package/lib-commonjs/InfoLabel.cjs.map +1 -0
- package/lib-commonjs/components/InfoButton/DefaultInfoButtonIcons.cjs.map +1 -0
- package/lib-commonjs/components/InfoButton/{InfoButton.js → InfoButton.cjs} +5 -4
- package/lib-commonjs/components/InfoButton/InfoButton.cjs.map +1 -0
- package/lib-commonjs/components/InfoButton/InfoButton.types.cjs +8 -0
- package/lib-commonjs/components/InfoButton/InfoButton.types.cjs.map +1 -0
- package/lib-commonjs/components/InfoButton/index.cjs +31 -0
- package/lib-commonjs/components/InfoButton/index.cjs.map +1 -0
- package/lib-commonjs/components/InfoButton/{renderInfoButton.js → renderInfoButton.cjs} +1 -1
- package/lib-commonjs/components/InfoButton/renderInfoButton.cjs.map +1 -0
- package/lib-commonjs/components/InfoButton/{useInfoButton.js → useInfoButton.cjs} +7 -6
- package/lib-commonjs/components/InfoButton/useInfoButton.cjs.map +1 -0
- package/lib-commonjs/components/InfoButton/{useInfoButtonStyles.styles.js → useInfoButtonStyles.styles.cjs} +62 -87
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.styles.raw.cjs +114 -0
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/InfoLabel/{InfoLabel.js → InfoLabel.cjs} +5 -4
- package/lib-commonjs/components/InfoLabel/InfoLabel.cjs.map +1 -0
- package/lib-commonjs/components/InfoLabel/InfoLabel.types.cjs +8 -0
- package/lib-commonjs/components/InfoLabel/InfoLabel.types.cjs.map +1 -0
- package/lib-commonjs/components/InfoLabel/index.cjs +31 -0
- package/lib-commonjs/components/InfoLabel/index.cjs.map +1 -0
- package/lib-commonjs/components/InfoLabel/{renderInfoLabel.js → renderInfoLabel.cjs} +1 -1
- package/lib-commonjs/components/InfoLabel/renderInfoLabel.cjs.map +1 -0
- package/lib-commonjs/components/InfoLabel/{useInfoLabel.js → useInfoLabel.cjs} +3 -2
- package/lib-commonjs/components/InfoLabel/useInfoLabel.cjs.map +1 -0
- package/lib-commonjs/components/InfoLabel/{useInfoLabelStyles.styles.js → useInfoLabelStyles.styles.cjs} +6 -2
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.styles.raw.cjs +59 -0
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/{index.js → index.cjs} +12 -12
- package/lib-commonjs/index.cjs.map +1 -0
- package/package.json +25 -42
- package/lib-commonjs/InfoButton.js +0 -6
- package/lib-commonjs/InfoButton.js.map +0 -1
- package/lib-commonjs/InfoLabel.js +0 -6
- package/lib-commonjs/InfoLabel.js.map +0 -1
- package/lib-commonjs/components/InfoButton/DefaultInfoButtonIcons.js.map +0 -1
- package/lib-commonjs/components/InfoButton/InfoButton.js.map +0 -1
- package/lib-commonjs/components/InfoButton/InfoButton.types.js +0 -4
- package/lib-commonjs/components/InfoButton/InfoButton.types.js.map +0 -1
- package/lib-commonjs/components/InfoButton/index.js +0 -10
- package/lib-commonjs/components/InfoButton/index.js.map +0 -1
- package/lib-commonjs/components/InfoButton/renderInfoButton.js.map +0 -1
- package/lib-commonjs/components/InfoButton/useInfoButton.js.map +0 -1
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.styles.js.map +0 -1
- package/lib-commonjs/components/InfoLabel/InfoLabel.js.map +0 -1
- package/lib-commonjs/components/InfoLabel/InfoLabel.types.js +0 -4
- package/lib-commonjs/components/InfoLabel/InfoLabel.types.js.map +0 -1
- package/lib-commonjs/components/InfoLabel/index.js +0 -10
- package/lib-commonjs/components/InfoLabel/index.js.map +0 -1
- package/lib-commonjs/components/InfoLabel/renderInfoLabel.js.map +0 -1
- package/lib-commonjs/components/InfoLabel/useInfoLabel.js.map +0 -1
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.styles.js.map +0 -1
- package/lib-commonjs/index.js.map +0 -1
- /package/lib-commonjs/components/InfoButton/{DefaultInfoButtonIcons.js → DefaultInfoButtonIcons.cjs} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,286 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-infobutton
|
|
2
2
|
|
|
3
|
-
This log was last generated on Mon,
|
|
3
|
+
<!-- This log was last generated on Mon, 24 Aug 2026 08:15:11 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.1-0](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.1-0)
|
|
8
|
+
|
|
9
|
+
Mon, 24 Aug 2026 08:15:11 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.119..@fluentui/react-infobutton_v9.0.1-0)
|
|
11
|
+
|
|
12
|
+
### Patches (pre-release)
|
|
13
|
+
|
|
14
|
+
- Bump @fluentui/react-popover to v9.14.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
15
|
+
|
|
16
|
+
## [9.0.0-beta.119](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.119)
|
|
17
|
+
|
|
18
|
+
Tue, 11 Aug 2026 17:20:14 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.118..@fluentui/react-infobutton_v9.0.0-beta.119)
|
|
20
|
+
|
|
21
|
+
### Changes
|
|
22
|
+
|
|
23
|
+
- Ship ESM-first (type:module): valid ESM under lib/, CommonJS under lib-commonjs/*.cjs, and drop the `node` export condition - bare-Node `import` resolves ESM, `require` resolves CJS; node-targeted bundlers tree-shake. ([PR #36327](https://github.com/microsoft/fluentui/pull/36327) by martinhochel@microsoft.com)
|
|
24
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.5 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
25
|
+
- Bump @fluentui/react-label to v9.4.4 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
26
|
+
- Bump @fluentui/react-popover to v9.14.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
27
|
+
- Bump @fluentui/react-tabster to v9.26.17 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
28
|
+
- Bump @fluentui/react-theme to v9.2.2 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
29
|
+
- Bump @fluentui/react-utilities to v9.26.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
30
|
+
|
|
31
|
+
## [9.0.0-beta.118](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.118)
|
|
32
|
+
|
|
33
|
+
Tue, 04 Aug 2026 10:12:20 GMT
|
|
34
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.117..@fluentui/react-infobutton_v9.0.0-beta.118)
|
|
35
|
+
|
|
36
|
+
### Changes
|
|
37
|
+
|
|
38
|
+
- Bump @fluentui/react-popover to v9.14.5 ([PR #36453](https://github.com/microsoft/fluentui/pull/36453) by beachball)
|
|
39
|
+
|
|
40
|
+
## [9.0.0-beta.117](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.117)
|
|
41
|
+
|
|
42
|
+
Wed, 24 Jun 2026 11:10:10 GMT
|
|
43
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.116..@fluentui/react-infobutton_v9.0.0-beta.117)
|
|
44
|
+
|
|
45
|
+
### Changes
|
|
46
|
+
|
|
47
|
+
- Bump @fluentui/react-label to v9.4.3 ([commit](https://github.com/microsoft/fluentui/commit/a4b871ca80c1f16f35ab4229def4fe02be7f30ea) by beachball)
|
|
48
|
+
- Bump @fluentui/react-popover to v9.14.4 ([commit](https://github.com/microsoft/fluentui/commit/a4b871ca80c1f16f35ab4229def4fe02be7f30ea) by beachball)
|
|
49
|
+
- Bump @fluentui/react-tabster to v9.26.16 ([commit](https://github.com/microsoft/fluentui/commit/a4b871ca80c1f16f35ab4229def4fe02be7f30ea) by beachball)
|
|
50
|
+
- Bump @fluentui/react-utilities to v9.26.5 ([commit](https://github.com/microsoft/fluentui/commit/a4b871ca80c1f16f35ab4229def4fe02be7f30ea) by beachball)
|
|
51
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.4 ([commit](https://github.com/microsoft/fluentui/commit/a4b871ca80c1f16f35ab4229def4fe02be7f30ea) by beachball)
|
|
52
|
+
|
|
53
|
+
## [9.0.0-beta.116](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.116)
|
|
54
|
+
|
|
55
|
+
Tue, 26 May 2026 09:40:00 GMT
|
|
56
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.115..@fluentui/react-infobutton_v9.0.0-beta.116)
|
|
57
|
+
|
|
58
|
+
### Changes
|
|
59
|
+
|
|
60
|
+
- Bump @fluentui/react-label to v9.4.2 ([PR #36246](https://github.com/microsoft/fluentui/pull/36246) by beachball)
|
|
61
|
+
- Bump @fluentui/react-popover to v9.14.3 ([PR #36246](https://github.com/microsoft/fluentui/pull/36246) by beachball)
|
|
62
|
+
- Bump @fluentui/react-tabster to v9.26.15 ([PR #36246](https://github.com/microsoft/fluentui/pull/36246) by beachball)
|
|
63
|
+
- Bump @fluentui/react-utilities to v9.26.4 ([PR #36246](https://github.com/microsoft/fluentui/pull/36246) by beachball)
|
|
64
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.3 ([PR #36246](https://github.com/microsoft/fluentui/pull/36246) by beachball)
|
|
65
|
+
|
|
66
|
+
## [9.0.0-beta.115](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.115)
|
|
67
|
+
|
|
68
|
+
Thu, 23 Apr 2026 14:21:16 GMT
|
|
69
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.114..@fluentui/react-infobutton_v9.0.0-beta.115)
|
|
70
|
+
|
|
71
|
+
### Changes
|
|
72
|
+
|
|
73
|
+
- Bump @fluentui/react-label to v9.4.1 ([PR #36035](https://github.com/microsoft/fluentui/pull/36035) by beachball)
|
|
74
|
+
- Bump @fluentui/react-popover to v9.14.2 ([PR #36035](https://github.com/microsoft/fluentui/pull/36035) by beachball)
|
|
75
|
+
- Bump @fluentui/react-tabster to v9.26.14 ([PR #36035](https://github.com/microsoft/fluentui/pull/36035) by beachball)
|
|
76
|
+
- Bump @fluentui/react-utilities to v9.26.3 ([PR #36035](https://github.com/microsoft/fluentui/pull/36035) by beachball)
|
|
77
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.2 ([PR #36035](https://github.com/microsoft/fluentui/pull/36035) by beachball)
|
|
78
|
+
|
|
79
|
+
## [9.0.0-beta.114](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.114)
|
|
80
|
+
|
|
81
|
+
Wed, 01 Apr 2026 15:52:43 GMT
|
|
82
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.113..@fluentui/react-infobutton_v9.0.0-beta.114)
|
|
83
|
+
|
|
84
|
+
### Changes
|
|
85
|
+
|
|
86
|
+
- Bump @fluentui/react-label to v9.4.0 ([PR #35912](https://github.com/microsoft/fluentui/pull/35912) by beachball)
|
|
87
|
+
|
|
88
|
+
## [9.0.0-beta.113](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.113)
|
|
89
|
+
|
|
90
|
+
Mon, 30 Mar 2026 14:37:41 GMT
|
|
91
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.112..@fluentui/react-infobutton_v9.0.0-beta.113)
|
|
92
|
+
|
|
93
|
+
### Changes
|
|
94
|
+
|
|
95
|
+
- Bump @fluentui/react-popover to v9.14.1 ([PR #35907](https://github.com/microsoft/fluentui/pull/35907) by beachball)
|
|
96
|
+
|
|
97
|
+
## [9.0.0-beta.112](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.112)
|
|
98
|
+
|
|
99
|
+
Tue, 03 Mar 2026 09:43:43 GMT
|
|
100
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.111..@fluentui/react-infobutton_v9.0.0-beta.112)
|
|
101
|
+
|
|
102
|
+
### Changes
|
|
103
|
+
|
|
104
|
+
- Bump @fluentui/react-popover to v9.14.0 ([commit](https://github.com/microsoft/fluentui/commit/81e1556b008bfbd07fe427d89af6142459d74c6f) by beachball)
|
|
105
|
+
|
|
106
|
+
## [9.0.0-beta.111](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.111)
|
|
107
|
+
|
|
108
|
+
Wed, 25 Feb 2026 13:32:28 GMT
|
|
109
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.110..@fluentui/react-infobutton_v9.0.0-beta.111)
|
|
110
|
+
|
|
111
|
+
### Changes
|
|
112
|
+
|
|
113
|
+
- Bump @fluentui/react-label to v9.3.15 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
114
|
+
- Bump @fluentui/react-popover to v9.13.2 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
115
|
+
- Bump @fluentui/react-tabster to v9.26.13 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
116
|
+
- Bump @fluentui/react-utilities to v9.26.2 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
117
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.1 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
118
|
+
|
|
119
|
+
## [9.0.0-beta.110](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.110)
|
|
120
|
+
|
|
121
|
+
Thu, 12 Feb 2026 10:46:15 GMT
|
|
122
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.109..@fluentui/react-infobutton_v9.0.0-beta.110)
|
|
123
|
+
|
|
124
|
+
### Changes
|
|
125
|
+
|
|
126
|
+
- Bump @fluentui/react-label to v9.3.14 ([PR #35743](https://github.com/microsoft/fluentui/pull/35743) by beachball)
|
|
127
|
+
- Bump @fluentui/react-popover to v9.13.1 ([PR #35743](https://github.com/microsoft/fluentui/pull/35743) by beachball)
|
|
128
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.0 ([PR #35743](https://github.com/microsoft/fluentui/pull/35743) by beachball)
|
|
129
|
+
|
|
130
|
+
## [9.0.0-beta.109](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.109)
|
|
131
|
+
|
|
132
|
+
Thu, 22 Jan 2026 17:06:55 GMT
|
|
133
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.108..@fluentui/react-infobutton_v9.0.0-beta.109)
|
|
134
|
+
|
|
135
|
+
### Changes
|
|
136
|
+
|
|
137
|
+
- Bump @fluentui/react-label to v9.3.13 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
138
|
+
- Bump @fluentui/react-popover to v9.13.0 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
139
|
+
- Bump @fluentui/react-tabster to v9.26.12 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
140
|
+
- Bump @fluentui/react-theme to v9.2.1 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
141
|
+
- Bump @fluentui/react-utilities to v9.26.1 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
142
|
+
- Bump @fluentui/react-jsx-runtime to v9.3.5 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
143
|
+
|
|
144
|
+
## [9.0.0-beta.108](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.108)
|
|
145
|
+
|
|
146
|
+
Wed, 17 Dec 2025 18:10:11 GMT
|
|
147
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.107..@fluentui/react-infobutton_v9.0.0-beta.108)
|
|
148
|
+
|
|
149
|
+
### Changes
|
|
150
|
+
|
|
151
|
+
- Bump @fluentui/react-label to v9.3.12 ([PR #35582](https://github.com/microsoft/fluentui/pull/35582) by beachball)
|
|
152
|
+
- Bump @fluentui/react-popover to v9.12.13 ([PR #35582](https://github.com/microsoft/fluentui/pull/35582) by beachball)
|
|
153
|
+
- Bump @fluentui/react-tabster to v9.26.11 ([PR #35582](https://github.com/microsoft/fluentui/pull/35582) by beachball)
|
|
154
|
+
- Bump @fluentui/react-utilities to v9.26.0 ([PR #35582](https://github.com/microsoft/fluentui/pull/35582) by beachball)
|
|
155
|
+
- Bump @fluentui/react-jsx-runtime to v9.3.4 ([PR #35582](https://github.com/microsoft/fluentui/pull/35582) by beachball)
|
|
156
|
+
|
|
157
|
+
## [9.0.0-beta.107](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.107)
|
|
158
|
+
|
|
159
|
+
Tue, 11 Nov 2025 19:18:23 GMT
|
|
160
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.106..@fluentui/react-infobutton_v9.0.0-beta.107)
|
|
161
|
+
|
|
162
|
+
### Changes
|
|
163
|
+
|
|
164
|
+
- chore: Bump @griffel/react package. ([PR #35469](https://github.com/microsoft/fluentui/pull/35469) by estebanmu@microsoft.com)
|
|
165
|
+
- Bump @fluentui/react-label to v9.3.11 ([PR #35462](https://github.com/microsoft/fluentui/pull/35462) by beachball)
|
|
166
|
+
- Bump @fluentui/react-popover to v9.12.12 ([PR #35462](https://github.com/microsoft/fluentui/pull/35462) by beachball)
|
|
167
|
+
- Bump @fluentui/react-tabster to v9.26.10 ([PR #35462](https://github.com/microsoft/fluentui/pull/35462) by beachball)
|
|
168
|
+
- Bump @fluentui/react-utilities to v9.25.4 ([PR #35462](https://github.com/microsoft/fluentui/pull/35462) by beachball)
|
|
169
|
+
- Bump @fluentui/react-jsx-runtime to v9.3.3 ([PR #35462](https://github.com/microsoft/fluentui/pull/35462) by beachball)
|
|
170
|
+
|
|
171
|
+
## [9.0.0-beta.106](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.106)
|
|
172
|
+
|
|
173
|
+
Thu, 06 Nov 2025 15:01:20 GMT
|
|
174
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.105..@fluentui/react-infobutton_v9.0.0-beta.106)
|
|
175
|
+
|
|
176
|
+
### Changes
|
|
177
|
+
|
|
178
|
+
- fix: mitigate native popover prop dts clash from public API exposed by React 19 ([PR #35434](https://github.com/microsoft/fluentui/pull/35434) by martinhochel@microsoft.com)
|
|
179
|
+
- Bump @fluentui/react-label to v9.3.10 ([PR #35466](https://github.com/microsoft/fluentui/pull/35466) by beachball)
|
|
180
|
+
- Bump @fluentui/react-popover to v9.12.11 ([PR #35466](https://github.com/microsoft/fluentui/pull/35466) by beachball)
|
|
181
|
+
- Bump @fluentui/react-tabster to v9.26.9 ([PR #35466](https://github.com/microsoft/fluentui/pull/35466) by beachball)
|
|
182
|
+
- Bump @fluentui/react-utilities to v9.25.3 ([PR #35466](https://github.com/microsoft/fluentui/pull/35466) by beachball)
|
|
183
|
+
- Bump @fluentui/react-jsx-runtime to v9.3.2 ([PR #35466](https://github.com/microsoft/fluentui/pull/35466) by beachball)
|
|
184
|
+
|
|
185
|
+
## [9.0.0-beta.105](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.105)
|
|
186
|
+
|
|
187
|
+
Fri, 31 Oct 2025 16:22:06 GMT
|
|
188
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.104..@fluentui/react-infobutton_v9.0.0-beta.105)
|
|
189
|
+
|
|
190
|
+
### Changes
|
|
191
|
+
|
|
192
|
+
- Bump @fluentui/react-label to v9.3.9 ([PR #35402](https://github.com/microsoft/fluentui/pull/35402) by beachball)
|
|
193
|
+
- Bump @fluentui/react-popover to v9.12.10 ([PR #35402](https://github.com/microsoft/fluentui/pull/35402) by beachball)
|
|
194
|
+
- Bump @fluentui/react-tabster to v9.26.8 ([PR #35402](https://github.com/microsoft/fluentui/pull/35402) by beachball)
|
|
195
|
+
- Bump @fluentui/react-utilities to v9.25.2 ([PR #35402](https://github.com/microsoft/fluentui/pull/35402) by beachball)
|
|
196
|
+
- Bump @fluentui/react-jsx-runtime to v9.3.1 ([PR #35402](https://github.com/microsoft/fluentui/pull/35402) by beachball)
|
|
197
|
+
|
|
198
|
+
## [9.0.0-beta.104](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.104)
|
|
199
|
+
|
|
200
|
+
Tue, 21 Oct 2025 14:16:59 GMT
|
|
201
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.103..@fluentui/react-infobutton_v9.0.0-beta.104)
|
|
202
|
+
|
|
203
|
+
### Changes
|
|
204
|
+
|
|
205
|
+
- Bump @fluentui/react-label to v9.3.8 ([PR #35343](https://github.com/microsoft/fluentui/pull/35343) by beachball)
|
|
206
|
+
- Bump @fluentui/react-popover to v9.12.9 ([PR #35343](https://github.com/microsoft/fluentui/pull/35343) by beachball)
|
|
207
|
+
- Bump @fluentui/react-jsx-runtime to v9.3.0 ([PR #35343](https://github.com/microsoft/fluentui/pull/35343) by beachball)
|
|
208
|
+
|
|
209
|
+
## [9.0.0-beta.103](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.103)
|
|
210
|
+
|
|
211
|
+
Wed, 08 Oct 2025 12:04:52 GMT
|
|
212
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.102..@fluentui/react-infobutton_v9.0.0-beta.103)
|
|
213
|
+
|
|
214
|
+
### Changes
|
|
215
|
+
|
|
216
|
+
- feat: add react 19 support ([PR #35285](https://github.com/microsoft/fluentui/pull/35285) by martinhochel@microsoft.com)
|
|
217
|
+
- Bump @fluentui/react-label to v9.3.7 ([PR #35294](https://github.com/microsoft/fluentui/pull/35294) by beachball)
|
|
218
|
+
- Bump @fluentui/react-popover to v9.12.8 ([PR #35294](https://github.com/microsoft/fluentui/pull/35294) by beachball)
|
|
219
|
+
- Bump @fluentui/react-tabster to v9.26.7 ([PR #35294](https://github.com/microsoft/fluentui/pull/35294) by beachball)
|
|
220
|
+
- Bump @fluentui/react-utilities to v9.25.1 ([PR #35294](https://github.com/microsoft/fluentui/pull/35294) by beachball)
|
|
221
|
+
- Bump @fluentui/react-jsx-runtime to v9.2.2 ([PR #35294](https://github.com/microsoft/fluentui/pull/35294) by beachball)
|
|
222
|
+
|
|
223
|
+
## [9.0.0-beta.102](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.102)
|
|
224
|
+
|
|
225
|
+
Thu, 02 May 2024 11:36:33 GMT
|
|
226
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.101..@fluentui/react-infobutton_v9.0.0-beta.102)
|
|
227
|
+
|
|
228
|
+
### Changes
|
|
229
|
+
|
|
230
|
+
- chore: upgrade @fluentui/react-icons to 2.0.237. ([PR #31139](https://github.com/microsoft/fluentui/pull/31139) by ololubek@microsoft.com)
|
|
231
|
+
- Bump @fluentui/react-popover to v9.9.6 ([PR #31231](https://github.com/microsoft/fluentui/pull/31231) by beachball)
|
|
232
|
+
- Bump @fluentui/react-tabster to v9.21.0 ([PR #31231](https://github.com/microsoft/fluentui/pull/31231) by beachball)
|
|
233
|
+
|
|
234
|
+
## [9.0.0-beta.101](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.101)
|
|
235
|
+
|
|
236
|
+
Tue, 23 Apr 2024 08:17:49 GMT
|
|
237
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.100..@fluentui/react-infobutton_v9.0.0-beta.101)
|
|
238
|
+
|
|
239
|
+
### Changes
|
|
240
|
+
|
|
241
|
+
- Bump @fluentui/react-label to v9.1.68 ([PR #31113](https://github.com/microsoft/fluentui/pull/31113) by beachball)
|
|
242
|
+
- Bump @fluentui/react-popover to v9.9.5 ([PR #31113](https://github.com/microsoft/fluentui/pull/31113) by beachball)
|
|
243
|
+
- Bump @fluentui/react-tabster to v9.20.1 ([PR #31113](https://github.com/microsoft/fluentui/pull/31113) by beachball)
|
|
244
|
+
- Bump @fluentui/react-utilities to v9.18.7 ([PR #31113](https://github.com/microsoft/fluentui/pull/31113) by beachball)
|
|
245
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.36 ([PR #31113](https://github.com/microsoft/fluentui/pull/31113) by beachball)
|
|
246
|
+
|
|
247
|
+
## [9.0.0-beta.100](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.100)
|
|
248
|
+
|
|
249
|
+
Wed, 17 Apr 2024 21:53:53 GMT
|
|
250
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.99..@fluentui/react-infobutton_v9.0.0-beta.100)
|
|
251
|
+
|
|
252
|
+
### Changes
|
|
253
|
+
|
|
254
|
+
- chore: Update react-icons to 2.0.235 ([PR #31011](https://github.com/microsoft/fluentui/pull/31011) by ololubek@microsoft.com)
|
|
255
|
+
- Bump @fluentui/react-popover to v9.9.4 ([PR #31100](https://github.com/microsoft/fluentui/pull/31100) by beachball)
|
|
256
|
+
- Bump @fluentui/react-tabster to v9.20.0 ([PR #31100](https://github.com/microsoft/fluentui/pull/31100) by beachball)
|
|
257
|
+
|
|
258
|
+
## [9.0.0-beta.99](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.99)
|
|
259
|
+
|
|
260
|
+
Tue, 02 Apr 2024 09:48:01 GMT
|
|
261
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.98..@fluentui/react-infobutton_v9.0.0-beta.99)
|
|
262
|
+
|
|
263
|
+
### Changes
|
|
264
|
+
|
|
265
|
+
- Bump @fluentui/react-label to v9.1.67 ([PR #30644](https://github.com/microsoft/fluentui/pull/30644) by beachball)
|
|
266
|
+
- Bump @fluentui/react-popover to v9.9.3 ([PR #30644](https://github.com/microsoft/fluentui/pull/30644) by beachball)
|
|
267
|
+
- Bump @fluentui/react-tabster to v9.19.6 ([PR #30644](https://github.com/microsoft/fluentui/pull/30644) by beachball)
|
|
268
|
+
- Bump @fluentui/react-utilities to v9.18.6 ([PR #30644](https://github.com/microsoft/fluentui/pull/30644) by beachball)
|
|
269
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.35 ([PR #30644](https://github.com/microsoft/fluentui/pull/30644) by beachball)
|
|
270
|
+
|
|
7
271
|
## [9.0.0-beta.98](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.98)
|
|
8
272
|
|
|
9
|
-
Mon, 18 Mar 2024 19:
|
|
273
|
+
Mon, 18 Mar 2024 19:50:46 GMT
|
|
10
274
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infobutton_v9.0.0-beta.97..@fluentui/react-infobutton_v9.0.0-beta.98)
|
|
11
275
|
|
|
12
276
|
### Changes
|
|
13
277
|
|
|
14
|
-
- Bump @fluentui/react-label to v9.1.66 ([PR #
|
|
15
|
-
- Bump @fluentui/react-popover to v9.9.2 ([PR #
|
|
16
|
-
- Bump @fluentui/react-tabster to v9.19.5 ([PR #
|
|
17
|
-
- Bump @fluentui/react-theme to v9.1.19 ([PR #
|
|
18
|
-
- Bump @fluentui/react-utilities to v9.18.5 ([PR #
|
|
19
|
-
- Bump @fluentui/react-jsx-runtime to v9.0.34 ([PR #
|
|
278
|
+
- Bump @fluentui/react-label to v9.1.66 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
279
|
+
- Bump @fluentui/react-popover to v9.9.2 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
280
|
+
- Bump @fluentui/react-tabster to v9.19.5 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
281
|
+
- Bump @fluentui/react-theme to v9.1.19 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
282
|
+
- Bump @fluentui/react-utilities to v9.18.5 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
283
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.34 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
20
284
|
|
|
21
285
|
## [9.0.0-beta.97](https://github.com/microsoft/fluentui/tree/@fluentui/react-infobutton_v9.0.0-beta.97)
|
|
22
286
|
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import type { ComponentProps } from '@fluentui/react-utilities';
|
|
2
|
+
import type { ComponentState } from '@fluentui/react-utilities';
|
|
3
|
+
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
4
|
+
import type { Label } from '@fluentui/react-label';
|
|
5
|
+
import type { PopoverProps } from '@fluentui/react-popover';
|
|
6
|
+
import type { PopoverSurface } from '@fluentui/react-popover';
|
|
7
|
+
import * as React_2 from 'react';
|
|
8
|
+
import type { Slot } from '@fluentui/react-utilities';
|
|
9
|
+
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* InfoButtons provide a way to display additional information about a form field or an area in the UI.
|
|
13
|
+
*
|
|
14
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
15
|
+
*/
|
|
16
|
+
export declare const InfoButton: ForwardRefComponent<InfoButtonProps>;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
20
|
+
*/
|
|
21
|
+
export declare const infoButtonClassNames: SlotClassNames<InfoButtonSlots>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* InfoButton Props
|
|
25
|
+
*
|
|
26
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
27
|
+
*/
|
|
28
|
+
export declare type InfoButtonProps = Omit<ComponentProps<Partial<InfoButtonSlots>>, 'disabled' | 'popover'> & {
|
|
29
|
+
/**
|
|
30
|
+
* Size of the InfoButton.
|
|
31
|
+
*
|
|
32
|
+
* @default medium
|
|
33
|
+
*/
|
|
34
|
+
size?: 'small' | 'medium' | 'large';
|
|
35
|
+
/**
|
|
36
|
+
* Whether the InfoButton should be rendered inline or on a Portal.
|
|
37
|
+
*
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
inline?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The Popover element that wraps the info and root slots. Use this slot to pass props to the Popover.
|
|
43
|
+
*/
|
|
44
|
+
popover?: InfoButtonSlots['popover'];
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
49
|
+
*/
|
|
50
|
+
export declare type InfoButtonSlots = {
|
|
51
|
+
root: NonNullable<Slot<'button'>>;
|
|
52
|
+
/**
|
|
53
|
+
* The Popover element that wraps the info and root slots. Use this slot to pass props to the Popover.
|
|
54
|
+
*/
|
|
55
|
+
popover: NonNullable<Slot<Partial<Omit<PopoverProps, 'openOnHover'>>>>;
|
|
56
|
+
/**
|
|
57
|
+
* The information to be displayed in the PopoverSurface when the button is pressed.
|
|
58
|
+
*/
|
|
59
|
+
info: NonNullable<Slot<typeof PopoverSurface>>;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* State used in rendering InfoButton
|
|
64
|
+
*
|
|
65
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
66
|
+
*/
|
|
67
|
+
export declare type InfoButtonState = ComponentState<InfoButtonSlots> & Required<Pick<InfoButtonProps, 'inline' | 'size'>>;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* InfoLabel component
|
|
71
|
+
*
|
|
72
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
73
|
+
*/
|
|
74
|
+
export declare const InfoLabel: ForwardRefComponent<InfoLabelProps>;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
78
|
+
*/
|
|
79
|
+
export declare const infoLabelClassNames: SlotClassNames<InfoLabelSlots>;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* InfoLabel Props
|
|
83
|
+
*
|
|
84
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
85
|
+
*/
|
|
86
|
+
export declare type InfoLabelProps = ComponentProps<Partial<InfoLabelSlots>, 'label'> & {
|
|
87
|
+
/**
|
|
88
|
+
* The content of the InfoButton's popover.
|
|
89
|
+
*/
|
|
90
|
+
info?: InfoButtonProps['info'];
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
95
|
+
*/
|
|
96
|
+
export declare type InfoLabelSlots = {
|
|
97
|
+
root: NonNullable<Slot<'span'>>;
|
|
98
|
+
/**
|
|
99
|
+
* The Label component.
|
|
100
|
+
*
|
|
101
|
+
* It is not typically necessary to use this prop. The label text is the child of the `<InfoLabel>`, and other props
|
|
102
|
+
* such as `size` and `required` should be set directly on the `InfoLabel`.
|
|
103
|
+
*
|
|
104
|
+
* This is the PRIMARY slot: all native properties specified directly on `<InfoLabel>` will be applied to this slot,
|
|
105
|
+
* except `className` and `style`, which remain on the root slot.
|
|
106
|
+
*/
|
|
107
|
+
label: NonNullable<Slot<typeof Label>>;
|
|
108
|
+
/**
|
|
109
|
+
* The InfoButton component.
|
|
110
|
+
*
|
|
111
|
+
* It is not typically necessary to use this prop. The content can be set using the `info` prop of the InfoLabel.
|
|
112
|
+
*/
|
|
113
|
+
infoButton: Slot<typeof InfoButton>;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* State used in rendering InfoLabel
|
|
118
|
+
*
|
|
119
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
120
|
+
*/
|
|
121
|
+
export declare type InfoLabelState = ComponentState<InfoLabelSlots> & Pick<InfoLabelProps, 'size'>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Render the final JSX of InfoButton
|
|
125
|
+
*
|
|
126
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
127
|
+
*/
|
|
128
|
+
export declare const renderInfoButton_unstable: (state: InfoButtonState) => React_2.ReactElement;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Render the final JSX of InfoLabel
|
|
132
|
+
*
|
|
133
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
134
|
+
*/
|
|
135
|
+
export declare const renderInfoLabel_unstable: (state: InfoLabelState) => React_2.ReactElement;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Create the state required to render InfoButton.
|
|
139
|
+
*
|
|
140
|
+
* The returned state can be modified with hooks such as useInfoButtonStyles_unstable,
|
|
141
|
+
* before being passed to renderInfoButton_unstable.
|
|
142
|
+
*
|
|
143
|
+
* @param props - props from this instance of InfoButton
|
|
144
|
+
* @param ref - reference to root HTMLElement of InfoButton
|
|
145
|
+
*
|
|
146
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
147
|
+
*/
|
|
148
|
+
export declare const useInfoButton_unstable: (props: InfoButtonProps, ref: React_2.Ref<HTMLElement>) => InfoButtonState;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Apply styling to the InfoButton slots based on the state
|
|
152
|
+
*/
|
|
153
|
+
export declare const useInfoButtonStyles_unstable: (state: InfoButtonState) => InfoButtonState;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Create the state required to render InfoLabel.
|
|
157
|
+
*
|
|
158
|
+
* The returned state can be modified with hooks such as useInfoLabelStyles_unstable,
|
|
159
|
+
* before being passed to renderInfoLabel_unstable.
|
|
160
|
+
*
|
|
161
|
+
* @param props - props from this instance of InfoLabel
|
|
162
|
+
* @param ref - reference to label element of InfoLabel
|
|
163
|
+
*
|
|
164
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
165
|
+
*/
|
|
166
|
+
export declare const useInfoLabel_unstable: (props: InfoLabelProps, ref: React_2.Ref<HTMLLabelElement>) => InfoLabelState;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Apply styling to the InfoLabel slots based on the state
|
|
170
|
+
*
|
|
171
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
172
|
+
*/
|
|
173
|
+
export declare const useInfoLabelStyles_unstable: (state: InfoLabelState) => InfoLabelState;
|
|
174
|
+
|
|
175
|
+
export { }
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
|
|
3
1
|
import type { ComponentProps } from '@fluentui/react-utilities';
|
|
4
2
|
import type { ComponentState } from '@fluentui/react-utilities';
|
|
5
|
-
import { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
6
|
-
import { Label } from '@fluentui/react-label';
|
|
3
|
+
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
4
|
+
import type { Label } from '@fluentui/react-label';
|
|
7
5
|
import type { PopoverProps } from '@fluentui/react-popover';
|
|
8
6
|
import type { PopoverSurface } from '@fluentui/react-popover';
|
|
9
7
|
import * as React_2 from 'react';
|
|
@@ -27,7 +25,7 @@ export declare const infoButtonClassNames: SlotClassNames<InfoButtonSlots>;
|
|
|
27
25
|
*
|
|
28
26
|
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
29
27
|
*/
|
|
30
|
-
export declare type InfoButtonProps = Omit<ComponentProps<Partial<InfoButtonSlots>>, 'disabled'> & {
|
|
28
|
+
export declare type InfoButtonProps = Omit<ComponentProps<Partial<InfoButtonSlots>>, 'disabled' | 'popover'> & {
|
|
31
29
|
/**
|
|
32
30
|
* Size of the InfoButton.
|
|
33
31
|
*
|
|
@@ -40,6 +38,10 @@ export declare type InfoButtonProps = Omit<ComponentProps<Partial<InfoButtonSlot
|
|
|
40
38
|
* @default true
|
|
41
39
|
*/
|
|
42
40
|
inline?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The Popover element that wraps the info and root slots. Use this slot to pass props to the Popover.
|
|
43
|
+
*/
|
|
44
|
+
popover?: InfoButtonSlots['popover'];
|
|
43
45
|
};
|
|
44
46
|
|
|
45
47
|
/**
|
|
@@ -123,14 +125,14 @@ export declare type InfoLabelState = ComponentState<InfoLabelSlots> & Pick<InfoL
|
|
|
123
125
|
*
|
|
124
126
|
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
125
127
|
*/
|
|
126
|
-
export declare const renderInfoButton_unstable: (state: InfoButtonState) =>
|
|
128
|
+
export declare const renderInfoButton_unstable: (state: InfoButtonState) => React_2.ReactElement;
|
|
127
129
|
|
|
128
130
|
/**
|
|
129
131
|
* Render the final JSX of InfoLabel
|
|
130
132
|
*
|
|
131
133
|
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
132
134
|
*/
|
|
133
|
-
export declare const renderInfoLabel_unstable: (state: InfoLabelState) =>
|
|
135
|
+
export declare const renderInfoLabel_unstable: (state: InfoLabelState) => React_2.ReactElement;
|
|
134
136
|
|
|
135
137
|
/**
|
|
136
138
|
* Create the state required to render InfoButton.
|
package/lib/InfoButton.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-deprecated */ export { InfoButton, infoButtonClassNames, renderInfoButton_unstable, useInfoButtonStyles_unstable, useInfoButton_unstable } from "./components/InfoButton/index.js";
|
package/lib/InfoButton.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["InfoButton.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../src/InfoButton.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-deprecated */\nexport type { InfoButtonProps, InfoButtonSlots, InfoButtonState } from './components/InfoButton/index';\nexport {\n InfoButton,\n infoButtonClassNames,\n renderInfoButton_unstable,\n useInfoButtonStyles_unstable,\n useInfoButton_unstable,\n} from './components/InfoButton/index';\n"],"names":["InfoButton","infoButtonClassNames","renderInfoButton_unstable","useInfoButtonStyles_unstable","useInfoButton_unstable"],"mappings":"AAAA,mDAAmD,GAEnD,SACEA,UAAU,EACVC,oBAAoB,EACpBC,yBAAyB,EACzBC,4BAA4B,EAC5BC,sBAAsB,QACjB,mCAAgC"}
|
package/lib/InfoLabel.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-deprecated */ export { InfoLabel, infoLabelClassNames, renderInfoLabel_unstable, useInfoLabelStyles_unstable, useInfoLabel_unstable } from "./components/InfoLabel/index.js";
|
package/lib/InfoLabel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["InfoLabel.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../src/InfoLabel.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-deprecated */\nexport type { InfoLabelProps, InfoLabelSlots, InfoLabelState } from './components/InfoLabel/index';\nexport {\n InfoLabel,\n infoLabelClassNames,\n renderInfoLabel_unstable,\n useInfoLabelStyles_unstable,\n useInfoLabel_unstable,\n} from './components/InfoLabel/index';\n"],"names":["InfoLabel","infoLabelClassNames","renderInfoLabel_unstable","useInfoLabelStyles_unstable","useInfoLabel_unstable"],"mappings":"AAAA,mDAAmD,GAEnD,SACEA,SAAS,EACTC,mBAAmB,EACnBC,wBAAwB,EACxBC,2BAA2B,EAC3BC,qBAAqB,QAChB,kCAA+B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Info12Regular, Info12Filled, Info16Regular, Info16Filled, Info20Regular, Info20Filled, bundleIcon } from
|
|
1
|
+
import { Info12Regular, Info12Filled, Info16Regular, Info16Filled, Info20Regular, Info20Filled, bundleIcon } from "@fluentui/react-icons";
|
|
2
2
|
export const DefaultInfoButtonIcon12 = bundleIcon(Info12Filled, Info12Regular);
|
|
3
3
|
export const DefaultInfoButtonIcon16 = bundleIcon(Info16Filled, Info16Regular);
|
|
4
4
|
export const DefaultInfoButtonIcon20 = bundleIcon(Info20Filled, Info20Regular);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["DefaultInfoButtonIcons.tsx"],"sourcesContent":["import {\n Info12Regular,\n Info12Filled,\n Info16Regular,\n Info16Filled,\n Info20Regular,\n Info20Filled,\n bundleIcon,\n} from '@fluentui/react-icons';\n\nexport const DefaultInfoButtonIcon12 = bundleIcon(Info12Filled, Info12Regular);\nexport const DefaultInfoButtonIcon16 = bundleIcon(Info16Filled, Info16Regular);\nexport const DefaultInfoButtonIcon20 = bundleIcon(Info20Filled, Info20Regular);\n"],"names":["Info12Regular","Info12Filled","Info16Regular","Info16Filled","Info20Regular","Info20Filled","bundleIcon","DefaultInfoButtonIcon12","DefaultInfoButtonIcon16","DefaultInfoButtonIcon20"],"mappings":"AAAA,SACEA,aAAa,EACbC,YAAY,EACZC,aAAa,EACbC,YAAY,EACZC,aAAa,EACbC,YAAY,EACZC,UAAU,QACL,wBAAwB;AAE/B,OAAO,MAAMC,0BAA0BD,WAAWL,cAAcD,eAAe;AAC/E,OAAO,MAAMQ,0BAA0BF,WAAWH,cAAcD,eAAe;AAC/E,OAAO,MAAMO,0BAA0BH,WAAWD,cAAcD,eAAe"}
|
|
1
|
+
{"version":3,"sources":["../src/components/InfoButton/DefaultInfoButtonIcons.tsx"],"sourcesContent":["import {\n Info12Regular,\n Info12Filled,\n Info16Regular,\n Info16Filled,\n Info20Regular,\n Info20Filled,\n bundleIcon,\n} from '@fluentui/react-icons';\n\nexport const DefaultInfoButtonIcon12 = bundleIcon(Info12Filled, Info12Regular);\nexport const DefaultInfoButtonIcon16 = bundleIcon(Info16Filled, Info16Regular);\nexport const DefaultInfoButtonIcon20 = bundleIcon(Info20Filled, Info20Regular);\n"],"names":["Info12Regular","Info12Filled","Info16Regular","Info16Filled","Info20Regular","Info20Filled","bundleIcon","DefaultInfoButtonIcon12","DefaultInfoButtonIcon16","DefaultInfoButtonIcon20"],"mappings":"AAAA,SACEA,aAAa,EACbC,YAAY,EACZC,aAAa,EACbC,YAAY,EACZC,aAAa,EACbC,YAAY,EACZC,UAAU,QACL,wBAAwB;AAE/B,OAAO,MAAMC,0BAA0BD,WAAWL,cAAcD,eAAe;AAC/E,OAAO,MAAMQ,0BAA0BF,WAAWH,cAAcD,eAAe;AAC/E,OAAO,MAAMO,0BAA0BH,WAAWD,cAAcD,eAAe"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/* eslint-disable
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-deprecated */ 'use client';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { renderInfoButton_unstable } from "./renderInfoButton.js";
|
|
4
|
+
import { useInfoButton_unstable } from "./useInfoButton.js";
|
|
5
|
+
import { useInfoButtonStyles_unstable } from "./useInfoButtonStyles.styles.js";
|
|
5
6
|
/**
|
|
6
7
|
* InfoButtons provide a way to display additional information about a form field or an area in the UI.
|
|
7
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["InfoButton.tsx"],"sourcesContent":["/* eslint-disable
|
|
1
|
+
{"version":3,"sources":["../src/components/InfoButton/InfoButton.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-deprecated */\n\n'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { renderInfoButton_unstable } from './renderInfoButton';\nimport { useInfoButton_unstable } from './useInfoButton';\nimport { useInfoButtonStyles_unstable } from './useInfoButtonStyles.styles';\nimport type { InfoButtonProps } from './InfoButton.types';\n\n/**\n * InfoButtons provide a way to display additional information about a form field or an area in the UI.\n *\n * @deprecated use {@link @fluentui/react-components#InfoLabel} from `\\@fluentui/react-components` or `\\@fluentui/react-infolabel` instead\n */\nexport const InfoButton: ForwardRefComponent<InfoButtonProps> = React.forwardRef((props, ref) => {\n const state = useInfoButton_unstable(props, ref);\n\n useInfoButtonStyles_unstable(state);\n return renderInfoButton_unstable(state);\n});\n\nInfoButton.displayName = 'InfoButton';\n"],"names":["React","renderInfoButton_unstable","useInfoButton_unstable","useInfoButtonStyles_unstable","InfoButton","forwardRef","props","ref","state","displayName"],"mappings":"AAAA,mDAAmD,GAEnD;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,yBAAyB,QAAQ,wBAAqB;AAC/D,SAASC,sBAAsB,QAAQ,qBAAkB;AACzD,SAASC,4BAA4B,QAAQ,kCAA+B;AAG5E;;;;CAIC,GACD,OAAO,MAAMC,2BAAmDJ,MAAMK,UAAU,CAAC,CAACC,OAAOC;IACvF,MAAMC,QAAQN,uBAAuBI,OAAOC;IAE5CJ,6BAA6BK;IAC7B,OAAOP,0BAA0BO;AACnC,GAAG;AAEHJ,WAAWK,WAAW,GAAG"}
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
/* eslint-disable
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-deprecated */ /**
|
|
2
|
+
* State used in rendering InfoButton
|
|
3
|
+
*
|
|
4
|
+
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
|
|
5
|
+
*/ export { };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["InfoButton.types.ts"],"sourcesContent":["/* eslint-disable
|
|
1
|
+
{"version":3,"sources":["../src/components/InfoButton/InfoButton.types.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-deprecated */\nimport type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport type { PopoverProps, PopoverSurface } from '@fluentui/react-popover';\n\n/**\n * @deprecated use {@link @fluentui/react-components#InfoLabel} from `\\@fluentui/react-components` or `\\@fluentui/react-infolabel` instead\n */\nexport type InfoButtonSlots = {\n root: NonNullable<Slot<'button'>>;\n\n /**\n * The Popover element that wraps the info and root slots. Use this slot to pass props to the Popover.\n */\n popover: NonNullable<Slot<Partial<Omit<PopoverProps, 'openOnHover'>>>>;\n\n /**\n * The information to be displayed in the PopoverSurface when the button is pressed.\n */\n info: NonNullable<Slot<typeof PopoverSurface>>;\n};\n\n/**\n * InfoButton Props\n *\n * @deprecated use {@link @fluentui/react-components#InfoLabel} from `\\@fluentui/react-components` or `\\@fluentui/react-infolabel` instead\n */\nexport type InfoButtonProps = Omit<ComponentProps<Partial<InfoButtonSlots>>, 'disabled' | 'popover'> & {\n /**\n * Size of the InfoButton.\n *\n * @default medium\n */\n size?: 'small' | 'medium' | 'large';\n\n /**\n * Whether the InfoButton should be rendered inline or on a Portal.\n *\n * @default true\n */\n inline?: boolean;\n\n /**\n * The Popover element that wraps the info and root slots. Use this slot to pass props to the Popover.\n */\n popover?: InfoButtonSlots['popover'];\n};\n\n/**\n * State used in rendering InfoButton\n *\n * @deprecated use {@link @fluentui/react-components#InfoLabel} from `\\@fluentui/react-components` or `\\@fluentui/react-infolabel` instead\n */\nexport type InfoButtonState = ComponentState<InfoButtonSlots> & Required<Pick<InfoButtonProps, 'inline' | 'size'>>;\n"],"names":[],"mappings":"AAAA,mDAAmD,GA+CnD;;;;CAIC,GACD,WAAmH"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export * from './useInfoButtonStyles.styles';
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-deprecated */ export { InfoButton } from "./InfoButton.js";
|
|
2
|
+
export { renderInfoButton_unstable } from "./renderInfoButton.js";
|
|
3
|
+
export { useInfoButton_unstable } from "./useInfoButton.js";
|
|
4
|
+
export { infoButtonClassNames, useInfoButtonStyles_unstable } from "./useInfoButtonStyles.styles.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../src/components/InfoButton/index.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-deprecated */\nexport { InfoButton } from './InfoButton';\nexport type { InfoButtonProps, InfoButtonSlots, InfoButtonState } from './InfoButton.types';\nexport { renderInfoButton_unstable } from './renderInfoButton';\nexport { useInfoButton_unstable } from './useInfoButton';\nexport { infoButtonClassNames, useInfoButtonStyles_unstable } from './useInfoButtonStyles.styles';\n"],"names":["InfoButton","renderInfoButton_unstable","useInfoButton_unstable","infoButtonClassNames","useInfoButtonStyles_unstable"],"mappings":"AAAA,mDAAmD,GACnD,SAASA,UAAU,QAAQ,kBAAe;AAE1C,SAASC,yBAAyB,QAAQ,wBAAqB;AAC/D,SAASC,sBAAsB,QAAQ,qBAAkB;AACzD,SAASC,oBAAoB,EAAEC,4BAA4B,QAAQ,kCAA+B"}
|