@fluentui/react-accordion 0.0.0-nightlycc44f3625c20211220.1 → 0.0.0-nightlyd80c90385320220216.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/CHANGELOG.json +186 -25
  2. package/CHANGELOG.md +43 -14
  3. package/Spec.md +36 -4
  4. package/dist/react-accordion.d.ts +40 -58
  5. package/lib/components/Accordion/Accordion.d.ts +1 -1
  6. package/lib/components/Accordion/Accordion.js +9 -9
  7. package/lib/components/Accordion/Accordion.js.map +1 -1
  8. package/lib/components/Accordion/Accordion.types.d.ts +7 -5
  9. package/lib/components/Accordion/AccordionContext.js +0 -1
  10. package/lib/components/Accordion/AccordionContext.js.map +1 -1
  11. package/lib/components/Accordion/renderAccordion.d.ts +1 -1
  12. package/lib/components/Accordion/renderAccordion.js +1 -1
  13. package/lib/components/Accordion/renderAccordion.js.map +1 -1
  14. package/lib/components/Accordion/useAccordion.d.ts +2 -3
  15. package/lib/components/Accordion/useAccordion.js +17 -20
  16. package/lib/components/Accordion/useAccordion.js.map +1 -1
  17. package/lib/components/Accordion/useAccordionContextValues.d.ts +1 -1
  18. package/lib/components/Accordion/useAccordionContextValues.js +3 -3
  19. package/lib/components/Accordion/useAccordionContextValues.js.map +1 -1
  20. package/lib/components/Accordion/useAccordionStyles.d.ts +1 -1
  21. package/lib/components/Accordion/useAccordionStyles.js +2 -2
  22. package/lib/components/Accordion/useAccordionStyles.js.map +1 -1
  23. package/lib/components/AccordionHeader/AccordionHeader.d.ts +2 -1
  24. package/lib/components/AccordionHeader/AccordionHeader.js +10 -9
  25. package/lib/components/AccordionHeader/AccordionHeader.js.map +1 -1
  26. package/lib/components/AccordionHeader/AccordionHeader.types.d.ts +12 -11
  27. package/lib/components/AccordionHeader/index.d.ts +0 -1
  28. package/lib/components/AccordionHeader/index.js +0 -1
  29. package/lib/components/AccordionHeader/index.js.map +1 -1
  30. package/lib/components/AccordionHeader/renderAccordionHeader.d.ts +1 -1
  31. package/lib/components/AccordionHeader/renderAccordionHeader.js +4 -6
  32. package/lib/components/AccordionHeader/renderAccordionHeader.js.map +1 -1
  33. package/lib/components/AccordionHeader/useAccordionHeader.d.ts +2 -6
  34. package/lib/components/AccordionHeader/useAccordionHeader.js +28 -19
  35. package/lib/components/AccordionHeader/useAccordionHeader.js.map +1 -1
  36. package/lib/components/AccordionHeader/useAccordionHeaderContextValues.d.ts +1 -1
  37. package/lib/components/AccordionHeader/useAccordionHeaderContextValues.js +1 -1
  38. package/lib/components/AccordionHeader/useAccordionHeaderContextValues.js.map +1 -1
  39. package/lib/components/AccordionHeader/useAccordionHeaderStyles.d.ts +1 -1
  40. package/lib/components/AccordionHeader/useAccordionHeaderStyles.js +27 -45
  41. package/lib/components/AccordionHeader/useAccordionHeaderStyles.js.map +1 -1
  42. package/lib/components/AccordionItem/AccordionItem.d.ts +1 -1
  43. package/lib/components/AccordionItem/AccordionItem.js +9 -9
  44. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  45. package/lib/components/AccordionItem/AccordionItem.types.d.ts +4 -3
  46. package/lib/components/AccordionItem/AccordionItemContext.d.ts +1 -1
  47. package/lib/components/AccordionItem/AccordionItemContext.js +1 -1
  48. package/lib/components/AccordionItem/AccordionItemContext.js.map +1 -1
  49. package/lib/components/AccordionItem/renderAccordionItem.d.ts +1 -1
  50. package/lib/components/AccordionItem/renderAccordionItem.js +2 -3
  51. package/lib/components/AccordionItem/renderAccordionItem.js.map +1 -1
  52. package/lib/components/AccordionItem/useAccordionItem.d.ts +2 -6
  53. package/lib/components/AccordionItem/useAccordionItem.js +9 -13
  54. package/lib/components/AccordionItem/useAccordionItem.js.map +1 -1
  55. package/lib/components/AccordionItem/useAccordionItemContextValues.d.ts +1 -1
  56. package/lib/components/AccordionItem/useAccordionItemContextValues.js +1 -1
  57. package/lib/components/AccordionItem/useAccordionItemContextValues.js.map +1 -1
  58. package/lib/components/AccordionItem/useAccordionItemStyles.d.ts +1 -1
  59. package/lib/components/AccordionItem/useAccordionItemStyles.js +2 -2
  60. package/lib/components/AccordionItem/useAccordionItemStyles.js.map +1 -1
  61. package/lib/components/AccordionPanel/AccordionPanel.d.ts +1 -1
  62. package/lib/components/AccordionPanel/AccordionPanel.js +7 -7
  63. package/lib/components/AccordionPanel/AccordionPanel.js.map +1 -1
  64. package/lib/components/AccordionPanel/AccordionPanel.types.d.ts +2 -2
  65. package/lib/components/AccordionPanel/renderAccordionPanel.d.ts +1 -1
  66. package/lib/components/AccordionPanel/renderAccordionPanel.js +2 -3
  67. package/lib/components/AccordionPanel/renderAccordionPanel.js.map +1 -1
  68. package/lib/components/AccordionPanel/useAccordionPanel.d.ts +2 -6
  69. package/lib/components/AccordionPanel/useAccordionPanel.js +6 -9
  70. package/lib/components/AccordionPanel/useAccordionPanel.js.map +1 -1
  71. package/lib/components/AccordionPanel/useAccordionPanelStyles.d.ts +1 -1
  72. package/lib/components/AccordionPanel/useAccordionPanelStyles.js +2 -2
  73. package/lib/components/AccordionPanel/useAccordionPanelStyles.js.map +1 -1
  74. package/lib-commonjs/components/Accordion/Accordion.d.ts +1 -1
  75. package/lib-commonjs/components/Accordion/Accordion.js +5 -5
  76. package/lib-commonjs/components/Accordion/Accordion.js.map +1 -1
  77. package/lib-commonjs/components/Accordion/Accordion.types.d.ts +7 -5
  78. package/lib-commonjs/components/Accordion/AccordionContext.js +0 -1
  79. package/lib-commonjs/components/Accordion/AccordionContext.js.map +1 -1
  80. package/lib-commonjs/components/Accordion/renderAccordion.d.ts +1 -1
  81. package/lib-commonjs/components/Accordion/renderAccordion.js +3 -3
  82. package/lib-commonjs/components/Accordion/renderAccordion.js.map +1 -1
  83. package/lib-commonjs/components/Accordion/useAccordion.d.ts +2 -3
  84. package/lib-commonjs/components/Accordion/useAccordion.js +20 -22
  85. package/lib-commonjs/components/Accordion/useAccordion.js.map +1 -1
  86. package/lib-commonjs/components/Accordion/useAccordionContextValues.d.ts +1 -1
  87. package/lib-commonjs/components/Accordion/useAccordionContextValues.js +5 -5
  88. package/lib-commonjs/components/Accordion/useAccordionContextValues.js.map +1 -1
  89. package/lib-commonjs/components/Accordion/useAccordionStyles.d.ts +1 -1
  90. package/lib-commonjs/components/Accordion/useAccordionStyles.js +5 -5
  91. package/lib-commonjs/components/Accordion/useAccordionStyles.js.map +1 -1
  92. package/lib-commonjs/components/AccordionHeader/AccordionHeader.d.ts +2 -1
  93. package/lib-commonjs/components/AccordionHeader/AccordionHeader.js +6 -5
  94. package/lib-commonjs/components/AccordionHeader/AccordionHeader.js.map +1 -1
  95. package/lib-commonjs/components/AccordionHeader/AccordionHeader.types.d.ts +12 -11
  96. package/lib-commonjs/components/AccordionHeader/index.d.ts +0 -1
  97. package/lib-commonjs/components/AccordionHeader/index.js +0 -2
  98. package/lib-commonjs/components/AccordionHeader/index.js.map +1 -1
  99. package/lib-commonjs/components/AccordionHeader/renderAccordionHeader.d.ts +1 -1
  100. package/lib-commonjs/components/AccordionHeader/renderAccordionHeader.js +6 -9
  101. package/lib-commonjs/components/AccordionHeader/renderAccordionHeader.js.map +1 -1
  102. package/lib-commonjs/components/AccordionHeader/useAccordionHeader.d.ts +2 -6
  103. package/lib-commonjs/components/AccordionHeader/useAccordionHeader.js +31 -20
  104. package/lib-commonjs/components/AccordionHeader/useAccordionHeader.js.map +1 -1
  105. package/lib-commonjs/components/AccordionHeader/useAccordionHeaderContextValues.d.ts +1 -1
  106. package/lib-commonjs/components/AccordionHeader/useAccordionHeaderContextValues.js +3 -3
  107. package/lib-commonjs/components/AccordionHeader/useAccordionHeaderContextValues.js.map +1 -1
  108. package/lib-commonjs/components/AccordionHeader/useAccordionHeaderStyles.d.ts +1 -1
  109. package/lib-commonjs/components/AccordionHeader/useAccordionHeaderStyles.js +34 -51
  110. package/lib-commonjs/components/AccordionHeader/useAccordionHeaderStyles.js.map +1 -1
  111. package/lib-commonjs/components/AccordionItem/AccordionItem.d.ts +1 -1
  112. package/lib-commonjs/components/AccordionItem/AccordionItem.js +5 -5
  113. package/lib-commonjs/components/AccordionItem/AccordionItem.js.map +1 -1
  114. package/lib-commonjs/components/AccordionItem/AccordionItem.types.d.ts +4 -3
  115. package/lib-commonjs/components/AccordionItem/AccordionItemContext.d.ts +1 -1
  116. package/lib-commonjs/components/AccordionItem/AccordionItemContext.js +3 -3
  117. package/lib-commonjs/components/AccordionItem/AccordionItemContext.js.map +1 -1
  118. package/lib-commonjs/components/AccordionItem/renderAccordionItem.d.ts +1 -1
  119. package/lib-commonjs/components/AccordionItem/renderAccordionItem.js +4 -6
  120. package/lib-commonjs/components/AccordionItem/renderAccordionItem.js.map +1 -1
  121. package/lib-commonjs/components/AccordionItem/useAccordionItem.d.ts +2 -6
  122. package/lib-commonjs/components/AccordionItem/useAccordionItem.js +11 -15
  123. package/lib-commonjs/components/AccordionItem/useAccordionItem.js.map +1 -1
  124. package/lib-commonjs/components/AccordionItem/useAccordionItemContextValues.d.ts +1 -1
  125. package/lib-commonjs/components/AccordionItem/useAccordionItemContextValues.js +3 -3
  126. package/lib-commonjs/components/AccordionItem/useAccordionItemContextValues.js.map +1 -1
  127. package/lib-commonjs/components/AccordionItem/useAccordionItemStyles.d.ts +1 -1
  128. package/lib-commonjs/components/AccordionItem/useAccordionItemStyles.js +5 -5
  129. package/lib-commonjs/components/AccordionItem/useAccordionItemStyles.js.map +1 -1
  130. package/lib-commonjs/components/AccordionPanel/AccordionPanel.d.ts +1 -1
  131. package/lib-commonjs/components/AccordionPanel/AccordionPanel.js +4 -4
  132. package/lib-commonjs/components/AccordionPanel/AccordionPanel.js.map +1 -1
  133. package/lib-commonjs/components/AccordionPanel/AccordionPanel.types.d.ts +2 -2
  134. package/lib-commonjs/components/AccordionPanel/renderAccordionPanel.d.ts +1 -1
  135. package/lib-commonjs/components/AccordionPanel/renderAccordionPanel.js +4 -6
  136. package/lib-commonjs/components/AccordionPanel/renderAccordionPanel.js.map +1 -1
  137. package/lib-commonjs/components/AccordionPanel/useAccordionPanel.d.ts +2 -6
  138. package/lib-commonjs/components/AccordionPanel/useAccordionPanel.js +8 -11
  139. package/lib-commonjs/components/AccordionPanel/useAccordionPanel.js.map +1 -1
  140. package/lib-commonjs/components/AccordionPanel/useAccordionPanelStyles.d.ts +1 -1
  141. package/lib-commonjs/components/AccordionPanel/useAccordionPanelStyles.js +6 -6
  142. package/lib-commonjs/components/AccordionPanel/useAccordionPanelStyles.js.map +1 -1
  143. package/package.json +15 -16
  144. package/lib/components/AccordionHeader/AccordionHeaderExpandIcon.d.ts +0 -3
  145. package/lib/components/AccordionHeader/AccordionHeaderExpandIcon.js +0 -41
  146. package/lib/components/AccordionHeader/AccordionHeaderExpandIcon.js.map +0 -1
  147. package/lib-commonjs/components/AccordionHeader/AccordionHeaderExpandIcon.d.ts +0 -3
  148. package/lib-commonjs/components/AccordionHeader/AccordionHeaderExpandIcon.js +0 -50
  149. package/lib-commonjs/components/AccordionHeader/AccordionHeaderExpandIcon.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,76 +2,219 @@
2
2
  "name": "@fluentui/react-accordion",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 20 Dec 2021 04:17:47 GMT",
6
- "tag": "@fluentui/react-accordion_v0.0.0-nightlycc44f3625c20211220.1",
7
- "version": "0.0.0-nightlycc44f3625c20211220.1",
5
+ "date": "Wed, 16 Feb 2022 04:14:15 GMT",
6
+ "tag": "@fluentui/react-accordion_v0.0.0-nightlyd80c90385320220216.1",
7
+ "version": "0.0.0-nightlyd80c90385320220216.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-accordion",
13
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5",
13
+ "commit": "685891ff65eff67542456c5908f5ee1c2f121f4c",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
16
  {
17
- "author": "olfedias@microsoft.com",
17
+ "author": "bsunderhus@microsoft.com",
18
18
  "package": "@fluentui/react-accordion",
19
- "commit": "b8537fb52cc3cc2787be5675c65300e01d882add",
20
- "comment": "update styles to not use CSS shorthands"
19
+ "commit": "5a45a787f2669a9f694a274b220823dbc10b04e2",
20
+ "comment": "Updates initial open items value to be empty on every case"
21
+ },
22
+ {
23
+ "author": "bsunderhus@microsoft.com",
24
+ "package": "@fluentui/react-accordion",
25
+ "commit": "ea090f75ef4a477f6ea9ffa2b4d7bec826a99b5f",
26
+ "comment": "Breaking change: navigable becomes navigation"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-accordion",
31
+ "comment": "Bump @fluentui/react-aria to v0.0.0-nightlyd80c90385320220216.1",
32
+ "commit": "685891ff65eff67542456c5908f5ee1c2f121f4c"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-accordion",
37
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlyd80c90385320220216.1",
38
+ "commit": "685891ff65eff67542456c5908f5ee1c2f121f4c"
21
39
  },
22
40
  {
23
41
  "author": "beachball",
24
42
  "package": "@fluentui/react-accordion",
25
- "comment": "Bump @fluentui/react-aria to v0.0.0-nightlycc44f3625c20211220.1",
26
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
43
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyd80c90385320220216.1",
44
+ "commit": "685891ff65eff67542456c5908f5ee1c2f121f4c"
27
45
  },
28
46
  {
29
47
  "author": "beachball",
30
48
  "package": "@fluentui/react-accordion",
31
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlycc44f3625c20211220.1",
32
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
49
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightlyd80c90385320220216.1",
50
+ "commit": "685891ff65eff67542456c5908f5ee1c2f121f4c"
33
51
  },
34
52
  {
35
53
  "author": "beachball",
36
54
  "package": "@fluentui/react-accordion",
37
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
38
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
55
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyd80c90385320220216.1",
56
+ "commit": "685891ff65eff67542456c5908f5ee1c2f121f4c"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-accordion",
61
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightlyd80c90385320220216.1",
62
+ "commit": "685891ff65eff67542456c5908f5ee1c2f121f4c"
63
+ }
64
+ ],
65
+ "none": [
66
+ {
67
+ "author": "bsunderhus@microsoft.com",
68
+ "package": "@fluentui/react-accordion",
69
+ "commit": "3068d4518c5e599c60a216455eac40531d896162",
70
+ "comment": "Updates spec and story to add warning about heading level"
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ {
76
+ "date": "Thu, 10 Feb 2022 08:52:11 GMT",
77
+ "tag": "@fluentui/react-accordion_v9.0.0-rc.1",
78
+ "version": "9.0.0-rc.1",
79
+ "comments": {
80
+ "prerelease": [
81
+ {
82
+ "author": "olfedias@microsoft.com",
83
+ "package": "@fluentui/react-accordion",
84
+ "commit": "b23239743c4f5518bcf7dcad496a36fc16bbd2e5",
85
+ "comment": "update @fluentui/react-icons package"
86
+ },
87
+ {
88
+ "author": "olfedias@microsoft.com",
89
+ "package": "@fluentui/react-accordion",
90
+ "commit": "b8537fb52cc3cc2787be5675c65300e01d882add",
91
+ "comment": "update styles to not use CSS shorthands"
92
+ },
93
+ {
94
+ "author": "mgodbolt@microsoft.com",
95
+ "package": "@fluentui/react-accordion",
96
+ "commit": "839ec14849e112b85aa321d034739ec421199141",
97
+ "comment": "remove export of commons types"
98
+ },
99
+ {
100
+ "author": "behowell@microsoft.com",
101
+ "package": "@fluentui/react-accordion",
102
+ "commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
103
+ "comment": "Refactor component Slot typings"
104
+ },
105
+ {
106
+ "author": "tristan.watanabe@gmail.com",
107
+ "package": "@fluentui/react-accordion",
108
+ "commit": "13f940ea4687d769dd2faf61edc27ff75f6bb565",
109
+ "comment": "Allow React 17 in peerDependencies."
110
+ },
111
+ {
112
+ "author": "behowell@microsoft.com",
113
+ "package": "@fluentui/react-accordion",
114
+ "commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
115
+ "comment": "Remove component's shorthandProps array"
116
+ },
117
+ {
118
+ "author": "olfedias@microsoft.com",
119
+ "package": "@fluentui/react-accordion",
120
+ "commit": "a2e02b2015b1f9307c69c8ecf005c166d496e206",
121
+ "comment": "use Griffel packages"
122
+ },
123
+ {
124
+ "author": "Humberto.Morimoto@microsoft.com",
125
+ "package": "@fluentui/react-accordion",
126
+ "commit": "0bc161458eae5ae8d387172430496ce9829b1bb1",
127
+ "comment": "Using ComponentSlotProps instead of ObjectShorthandProps."
128
+ },
129
+ {
130
+ "author": "bsunderhus@microsoft.com",
131
+ "package": "@fluentui/react-accordion",
132
+ "commit": "940a86cbd6a9f711d275df3a823292b527017852",
133
+ "comment": "Removes children as a slot from AccordionHeader"
134
+ },
135
+ {
136
+ "author": "lingfangao@hotmail.com",
137
+ "package": "@fluentui/react-accordion",
138
+ "commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
139
+ "comment": "Bump Fluent UI packages to 9.0.0-rc"
140
+ },
141
+ {
142
+ "author": "sarah.higley@microsoft.com",
143
+ "package": "@fluentui/react-accordion",
144
+ "commit": "d0758018bf44c69e01451c8a6bd4f73b43e397b7",
145
+ "comment": "update semantic elements and ARIA roles in react-accordion, add heading level story"
146
+ },
147
+ {
148
+ "author": "ololubek@microsoft.com",
149
+ "package": "@fluentui/react-accordion",
150
+ "commit": "63cbefe55e5db10eedbde19392aa8b6376d6a7f7",
151
+ "comment": "Update react-icons usage to resizable icons"
152
+ },
153
+ {
154
+ "author": "behowell@microsoft.com",
155
+ "package": "@fluentui/react-accordion",
156
+ "commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
157
+ "comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
158
+ },
159
+ {
160
+ "author": "Humberto.Morimoto@microsoft.com",
161
+ "package": "@fluentui/react-accordion",
162
+ "commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
163
+ "comment": "Updating based on changes to composition types."
164
+ },
165
+ {
166
+ "author": "Humberto.Morimoto@microsoft.com",
167
+ "package": "@fluentui/react-accordion",
168
+ "commit": "38c8bed2c707014688ae2ae689033fa36ef23075",
169
+ "comment": "Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster."
170
+ },
171
+ {
172
+ "author": "Humberto.Morimoto@microsoft.com",
173
+ "package": "@fluentui/react-accordion",
174
+ "commit": "22ef7434eddbe45d8818b16ff43c3488ac84ae45",
175
+ "comment": "Replacing use of functions in makeStyles with direct use of tokens."
176
+ },
177
+ {
178
+ "author": "behowell@microsoft.com",
179
+ "package": "@fluentui/react-accordion",
180
+ "commit": "dfb5538a2494b48cbb61702c4c2c9aaf8de37a6f",
181
+ "comment": "Remove AccordionHeaderExpandIcon, and use ChevronRightRegular from @fluentui/react-icons instead"
39
182
  },
40
183
  {
41
184
  "author": "beachball",
42
185
  "package": "@fluentui/react-accordion",
43
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlycc44f3625c20211220.1",
44
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
186
+ "comment": "Bump @fluentui/react-aria to v9.0.0-rc.1",
187
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
45
188
  },
46
189
  {
47
190
  "author": "beachball",
48
191
  "package": "@fluentui/react-accordion",
49
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightlycc44f3625c20211220.1",
50
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
192
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.1",
193
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
51
194
  },
52
195
  {
53
196
  "author": "beachball",
54
197
  "package": "@fluentui/react-accordion",
55
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlycc44f3625c20211220.1",
56
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
198
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
199
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
57
200
  },
58
201
  {
59
202
  "author": "beachball",
60
203
  "package": "@fluentui/react-accordion",
61
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
62
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
204
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.1",
205
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
63
206
  },
64
207
  {
65
208
  "author": "beachball",
66
209
  "package": "@fluentui/react-accordion",
67
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
68
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
210
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
211
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
69
212
  },
70
213
  {
71
214
  "author": "beachball",
72
215
  "package": "@fluentui/react-accordion",
73
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
74
- "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
216
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
217
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
75
218
  }
76
219
  ],
77
220
  "none": [
@@ -80,6 +223,24 @@
80
223
  "package": "@fluentui/react-accordion",
81
224
  "commit": "28ceaaa83cd92a0389c466f0b15b283e3d9b08e4",
82
225
  "comment": "chore: update all jest deps to v25 + apply single version policy"
226
+ },
227
+ {
228
+ "author": "bsunderhus@microsoft.com",
229
+ "package": "@fluentui/react-accordion",
230
+ "commit": "c0d4e63ee58e60e2c6674efbacc0783cd520984e",
231
+ "comment": "Updates components with nullRender changes"
232
+ },
233
+ {
234
+ "author": "martinhochel@microsoft.com",
235
+ "package": "@fluentui/react-accordion",
236
+ "commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
237
+ "comment": "chore: use storybook runner for all vNext packages"
238
+ },
239
+ {
240
+ "author": "olfedias@microsoft.com",
241
+ "package": "@fluentui/react-accordion",
242
+ "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
243
+ "comment": "remove inline-style-expand-shorthand from tsconfigs"
83
244
  }
84
245
  ]
85
246
  }
package/CHANGELOG.md CHANGED
@@ -1,27 +1,56 @@
1
1
  # Change Log - @fluentui/react-accordion
2
2
 
3
- This log was last generated on Mon, 20 Dec 2021 04:17:47 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 16 Feb 2022 04:14:15 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlycc44f3625c20211220.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-accordion_v0.0.0-nightlycc44f3625c20211220.1)
7
+ ## [0.0.0-nightlyd80c90385320220216.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-accordion_v0.0.0-nightlyd80c90385320220216.1)
8
8
 
9
- Mon, 20 Dec 2021 04:17:47 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-accordion_v9.0.0-beta.5..@fluentui/react-accordion_v0.0.0-nightlycc44f3625c20211220.1)
9
+ Wed, 16 Feb 2022 04:14:15 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-accordion_v9.0.0-rc.1..@fluentui/react-accordion_v0.0.0-nightlyd80c90385320220216.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by email not defined)
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/685891ff65eff67542456c5908f5ee1c2f121f4c) by email not defined)
15
+ - Updates initial open items value to be empty on every case ([PR #21728](https://github.com/microsoft/fluentui/pull/21728) by bsunderhus@microsoft.com)
16
+ - Breaking change: navigable becomes navigation ([PR #21729](https://github.com/microsoft/fluentui/pull/21729) by bsunderhus@microsoft.com)
17
+ - Bump @fluentui/react-aria to v0.0.0-nightlyd80c90385320220216.1 ([commit](https://github.com/microsoft/fluentui/commit/685891ff65eff67542456c5908f5ee1c2f121f4c) by beachball)
18
+ - Bump @fluentui/react-context-selector to v0.0.0-nightlyd80c90385320220216.1 ([commit](https://github.com/microsoft/fluentui/commit/685891ff65eff67542456c5908f5ee1c2f121f4c) by beachball)
19
+ - Bump @fluentui/react-tabster to v0.0.0-nightlyd80c90385320220216.1 ([commit](https://github.com/microsoft/fluentui/commit/685891ff65eff67542456c5908f5ee1c2f121f4c) by beachball)
20
+ - Bump @fluentui/react-theme to v0.0.0-nightlyd80c90385320220216.1 ([commit](https://github.com/microsoft/fluentui/commit/685891ff65eff67542456c5908f5ee1c2f121f4c) by beachball)
21
+ - Bump @fluentui/react-utilities to v0.0.0-nightlyd80c90385320220216.1 ([commit](https://github.com/microsoft/fluentui/commit/685891ff65eff67542456c5908f5ee1c2f121f4c) by beachball)
22
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightlyd80c90385320220216.1 ([commit](https://github.com/microsoft/fluentui/commit/685891ff65eff67542456c5908f5ee1c2f121f4c) by beachball)
23
+
24
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-accordion_v9.0.0-rc.1)
25
+
26
+ Thu, 10 Feb 2022 08:52:11 GMT
27
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-accordion_v9.0.0-beta.5..@fluentui/react-accordion_v9.0.0-rc.1)
28
+
29
+ ### Changes
30
+
31
+ - update @fluentui/react-icons package ([PR #21498](https://github.com/microsoft/fluentui/pull/21498) by olfedias@microsoft.com)
15
32
  - update styles to not use CSS shorthands ([PR #20800](https://github.com/microsoft/fluentui/pull/20800) by olfedias@microsoft.com)
16
- - Bump @fluentui/react-aria to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
17
- - Bump @fluentui/react-context-selector to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
18
- - Bump @fluentui/react-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
19
- - Bump @fluentui/react-tabster to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
20
- - Bump @fluentui/react-theme to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
21
- - Bump @fluentui/react-utilities to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
22
- - Bump @fluentui/babel-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
23
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
24
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
33
+ - remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
34
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
35
+ - Allow React 17 in peerDependencies. ([PR #21544](https://github.com/microsoft/fluentui/pull/21544) by tristan.watanabe@gmail.com)
36
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
37
+ - use Griffel packages ([PR #21394](https://github.com/microsoft/fluentui/pull/21394) by olfedias@microsoft.com)
38
+ - Using ComponentSlotProps instead of ObjectShorthandProps. ([PR #20890](https://github.com/microsoft/fluentui/pull/20890) by Humberto.Morimoto@microsoft.com)
39
+ - Removes children as a slot from AccordionHeader ([PR #21285](https://github.com/microsoft/fluentui/pull/21285) by bsunderhus@microsoft.com)
40
+ - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
41
+ - update semantic elements and ARIA roles in react-accordion, add heading level story ([PR #21401](https://github.com/microsoft/fluentui/pull/21401) by sarah.higley@microsoft.com)
42
+ - Update react-icons usage to resizable icons ([PR #21074](https://github.com/microsoft/fluentui/pull/21074) by ololubek@microsoft.com)
43
+ - BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
44
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
45
+ - Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster. ([PR #21035](https://github.com/microsoft/fluentui/pull/21035) by Humberto.Morimoto@microsoft.com)
46
+ - Replacing use of functions in makeStyles with direct use of tokens. ([PR #21036](https://github.com/microsoft/fluentui/pull/21036) by Humberto.Morimoto@microsoft.com)
47
+ - Remove AccordionHeaderExpandIcon, and use ChevronRightRegular from @fluentui/react-icons instead ([PR #21218](https://github.com/microsoft/fluentui/pull/21218) by behowell@microsoft.com)
48
+ - Bump @fluentui/react-aria to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
49
+ - Bump @fluentui/react-context-selector to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
50
+ - Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
51
+ - Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
52
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
53
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
25
54
 
26
55
  ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-accordion_v9.0.0-beta.5)
27
56
 
package/Spec.md CHANGED
@@ -37,9 +37,10 @@ The root level component serves context and common API between all children.
37
37
  export type AccordionProps = ComponentProps &
38
38
  React.HTMLAttributes<HTMLElement> & {
39
39
  /**
40
- * Indicates if keyboard navigation is available
40
+ * Indicates if keyboard navigation is available and gives two options,
41
+ * linear or circular navigation
41
42
  */
42
- navigable?: boolean;
43
+ navigation?: 'linear' | 'circular';
43
44
  /**
44
45
  * Indicates if Accordion support multiple Panels opened at the same time
45
46
  */
@@ -410,6 +411,37 @@ As a general rule, once the accordion is closed the focus should return to the h
410
411
  | Keyboard | Home | Moves Focus | Moves focus to the first panel heading |
411
412
  | Keyboard | End | Moves Focus | Moves focus to the last panel heading |
412
413
 
413
- ## Accessibiltiy
414
+ ## Accessibility
414
415
 
415
- Accessibility behaviour is built into the spec as much as possible. This section addresses specific issues that don't fit well with the standard definition of the component.
416
+ Accessibility behavior is built into the spec as much as possible. This section addresses specific issues that don't fit well with the standard definition of the component.
417
+
418
+ ### No heading level on `AccordionHeader` by default
419
+
420
+ As described on [WAI-ARIA Roles, States, and Properties](https://www.w3.org/TR/wai-aria-practices/#wai-aria-roles-states-and-properties) documentation for accordion:
421
+
422
+ > Each accordion header button is wrapped in an element with role heading that has a value set for aria-level that is appropriate for the information architecture of the page.
423
+
424
+ Every `AccordionHeader` should have as its root a semantic heading element: `h1`, `h2`, `h3`, `h4`, `h5` or `h6`. Alternatively `role="heading"` and a proper `aria-level` attribute. This behavior is not implemented by default on `AccordionHeader` as it's impossible to predict which heading level will be required by the user. Requiring manual addition of such ARIA requirement.
425
+
426
+ ```tsx
427
+ {/* No heading level by default */}
428
+ <AccordionHeader>This is a header</AccordionHeader>
429
+ {/* Generated html */}
430
+ <div>
431
+ <button>This is a header</button>
432
+ </div>
433
+
434
+ {/* as semantic heading */}
435
+ <AccordionHeader as="h4">This is a header</AccordionHeader>
436
+ {/* Generated html */}
437
+ <h4>
438
+ <button>This is a header</button>
439
+ </h4>
440
+
441
+ {/* if no semantic heading can be used */}
442
+ <AccordionHeader role="heading" aria-level="4">This is a header</AccordionHeader>
443
+ {/* Generated html */}
444
+ <div role="heading" aria-level="4">
445
+ <button>This is a header</button>
446
+ </h4>
447
+ ```
@@ -1,24 +1,24 @@
1
- import type { ARIAButtonShorthandProps } from '@fluentui/react-aria';
1
+ import type { ARIAButtonSlotProps } from '@fluentui/react-aria';
2
2
  import type { ComponentProps } from '@fluentui/react-utilities';
3
3
  import type { ComponentState } from '@fluentui/react-utilities';
4
4
  import type { Context } from '@fluentui/react-context-selector';
5
5
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
6
- import type { IntrinsicShorthandProps } from '@fluentui/react-utilities';
7
- import type { ObjectShorthandProps } from '@fluentui/react-utilities';
8
6
  import * as React_2 from 'react';
7
+ import type { Slot } from '@fluentui/react-utilities';
9
8
 
10
9
  /**
11
- * Define a styled Accordion, using the `useAccordion` and `useAccordionStyles` hooks.
10
+ * Define a styled Accordion, using the `useAccordion_unstable` and `useAccordionStyles_unstable` hooks.
12
11
  */
13
12
  export declare const Accordion: ForwardRefComponent<AccordionProps>;
14
13
 
15
14
  export declare const accordionClassName = "fui-Accordion";
16
15
 
17
- export declare type AccordionCommons = {
16
+ declare type AccordionCommons = {
18
17
  /**
19
- * Indicates if keyboard navigation is available
18
+ * Indicates if keyboard navigation is available and gives two options,
19
+ * linear or circular navigation
20
20
  */
21
- navigable: boolean;
21
+ navigation?: 'linear' | 'circular';
22
22
  /**
23
23
  * Indicates if Accordion support multiple Panels opened at the same time
24
24
  */
@@ -48,13 +48,14 @@ export declare type AccordionContextValues = {
48
48
  };
49
49
 
50
50
  /**
51
- * Define a styled AccordionHeader, using the `useAccordionHeader` and `useAccordionHeaderStyles` hooks.
51
+ * Define a styled AccordionHeader, using the `useAccordionHeader_unstable` and `useAccordionHeaderStyles_unstable`
52
+ * hooks.
52
53
  */
53
54
  export declare const AccordionHeader: ForwardRefComponent<AccordionHeaderProps>;
54
55
 
55
56
  export declare const accordionHeaderClassName = "fui-AccordionHeader";
56
57
 
57
- export declare type AccordionHeaderCommons = {
58
+ declare type AccordionHeaderCommons = {
58
59
  /**
59
60
  * Size of spacing in the heading
60
61
  */
@@ -80,36 +81,29 @@ export declare type AccordionHeaderContextValues = {
80
81
  accordionHeader: AccordionHeaderContextValue;
81
82
  };
82
83
 
83
- export declare const AccordionHeaderExpandIcon: ForwardRefComponent<AccordionHeaderExpandIconProps>;
84
-
85
84
  export declare type AccordionHeaderExpandIconPosition = 'start' | 'end';
86
85
 
87
- export declare type AccordionHeaderExpandIconProps = IntrinsicShorthandProps<'span'>;
88
-
89
- export declare type AccordionHeaderProps = ComponentProps<AccordionHeaderSlots> & Partial<AccordionHeaderCommons>;
90
-
91
- /**
92
- * Const listing which props are shorthand props.
93
- */
94
- export declare const accordionHeaderShorthandProps: Array<keyof AccordionHeaderSlots>;
86
+ export declare type AccordionHeaderProps = ComponentProps<Partial<AccordionHeaderSlots>> & Partial<AccordionHeaderCommons>;
95
87
 
96
88
  export declare type AccordionHeaderSize = 'small' | 'medium' | 'large' | 'extra-large';
97
89
 
98
90
  export declare type AccordionHeaderSlots = {
99
- root: IntrinsicShorthandProps<'div'>;
91
+ /**
92
+ * The element wrapping the button. By default this is a div, but can be a heading.
93
+ */
94
+ root: Slot<'div', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;
100
95
  /**
101
96
  * The component to be used as button in heading
102
97
  */
103
- button: ARIAButtonShorthandProps;
98
+ button: NonNullable<Slot<ARIAButtonSlotProps>>;
104
99
  /**
105
100
  * Expand icon slot rendered before (or after) children content in heading
106
101
  */
107
- expandIcon: AccordionHeaderExpandIconProps;
102
+ expandIcon: Slot<'span'>;
108
103
  /**
109
104
  * Expand icon slot rendered before (or after) children content in heading
110
105
  */
111
- icon?: IntrinsicShorthandProps<'div'>;
112
- children: ObjectShorthandProps<React_2.HTMLAttributes<HTMLElement>>;
106
+ icon?: Slot<'div'>;
113
107
  };
114
108
 
115
109
  export declare type AccordionHeaderState = ComponentState<AccordionHeaderSlots> & AccordionHeaderCommons & AccordionHeaderContextValue;
@@ -117,13 +111,13 @@ export declare type AccordionHeaderState = ComponentState<AccordionHeaderSlots>
117
111
  export declare type AccordionIndex = number | number[];
118
112
 
119
113
  /**
120
- * Define a styled AccordionItem, using the `useAccordionItem` and `useAccordionItemStyles` hooks.
114
+ * Define a styled AccordionItem, using the `useAccordionItem_unstable` and `useAccordionItemStyles_unstable` hooks.
121
115
  */
122
116
  export declare const AccordionItem: ForwardRefComponent<AccordionItemProps>;
123
117
 
124
118
  export declare const accordionItemClassName = "fui-AccordionItem";
125
119
 
126
- export declare type AccordionItemCommons = {
120
+ declare type AccordionItemCommons = {
127
121
  /**
128
122
  * Disables opening/closing of panel
129
123
  */
@@ -147,13 +141,8 @@ export declare type AccordionItemContextValues = {
147
141
 
148
142
  export declare type AccordionItemProps = ComponentProps<AccordionItemSlots> & Partial<AccordionItemCommons> & Pick<AccordionItemCommons, 'value'>;
149
143
 
150
- /**
151
- * Const listing which props are shorthand props.
152
- */
153
- export declare const accordionItemShorthandProps: Array<keyof AccordionItemSlots>;
154
-
155
144
  export declare type AccordionItemSlots = {
156
- root: IntrinsicShorthandProps<'div'>;
145
+ root: Slot<'div'>;
157
146
  };
158
147
 
159
148
  export declare type AccordionItemState = ComponentState<AccordionItemSlots> & AccordionItemCommons & AccordionItemContextValue;
@@ -161,7 +150,7 @@ export declare type AccordionItemState = ComponentState<AccordionItemSlots> & Ac
161
150
  export declare type AccordionItemValue = unknown;
162
151
 
163
152
  /**
164
- * Define a styled AccordionPanel, using the `useAccordionPanel` and `useAccordionPanelStyles` hooks.
153
+ * Define a styled AccordionPanel, using the `useAccordionPanel_unstable` and `useAccordionPanelStyles_unstable` hooks.
165
154
  */
166
155
  export declare const AccordionPanel: ForwardRefComponent<AccordionPanelProps>;
167
156
 
@@ -169,13 +158,8 @@ export declare const accordionPanelClassName = "fui-AccordionPanel";
169
158
 
170
159
  export declare type AccordionPanelProps = ComponentProps<AccordionPanelSlots>;
171
160
 
172
- /**
173
- * Const listing which props are shorthand props.
174
- */
175
- export declare const accordionPanelShorthandProps: Array<keyof AccordionPanelSlots>;
176
-
177
161
  export declare type AccordionPanelSlots = {
178
- root: IntrinsicShorthandProps<'div'>;
162
+ root: Slot<'div'>;
179
163
  };
180
164
 
181
165
  export declare type AccordionPanelState = ComponentState<AccordionPanelSlots> & {
@@ -197,10 +181,8 @@ export declare type AccordionProps = ComponentProps<AccordionSlots> & Partial<Ac
197
181
  onToggle?: AccordionToggleEventHandler;
198
182
  };
199
183
 
200
- export declare const accordionShorthandProps: Array<keyof AccordionSlots>;
201
-
202
184
  export declare type AccordionSlots = {
203
- root: IntrinsicShorthandProps<'div'>;
185
+ root: Slot<'div'>;
204
186
  };
205
187
 
206
188
  export declare type AccordionState = ComponentState<AccordionSlots> & AccordionCommons & AccordionContextValue;
@@ -216,67 +198,67 @@ export declare type AccordionToggleEventHandler = (event: AccordionToggleEvent,
216
198
  /**
217
199
  * Function that renders the final JSX of the component
218
200
  */
219
- export declare const renderAccordion: (state: AccordionState, contextValues: AccordionContextValues) => JSX.Element;
201
+ export declare const renderAccordion_unstable: (state: AccordionState, contextValues: AccordionContextValues) => JSX.Element;
220
202
 
221
203
  /**
222
204
  * Function that renders the final JSX of the component
223
205
  */
224
- export declare const renderAccordionHeader: (state: AccordionHeaderState, contextValues: AccordionHeaderContextValues) => JSX.Element;
206
+ export declare const renderAccordionHeader_unstable: (state: AccordionHeaderState, contextValues: AccordionHeaderContextValues) => JSX.Element;
225
207
 
226
208
  /**
227
209
  * Function that renders the final JSX of the component
228
210
  */
229
- export declare const renderAccordionItem: (state: AccordionItemState, contextValues: AccordionItemContextValues) => JSX.Element;
211
+ export declare const renderAccordionItem_unstable: (state: AccordionItemState, contextValues: AccordionItemContextValues) => JSX.Element;
230
212
 
231
213
  /**
232
214
  * Function that renders the final JSX of the component
233
215
  */
234
- export declare const renderAccordionPanel: (state: AccordionPanelState) => JSX.Element | null;
216
+ export declare const renderAccordionPanel_unstable: (state: AccordionPanelState) => JSX.Element | null;
235
217
 
236
218
  /**
237
219
  * Returns the props and state required to render the component
238
220
  * @param props - Accordion properties
239
221
  * @param ref - reference to root HTMLElement of Accordion
240
222
  */
241
- export declare const useAccordion: (props: AccordionProps, ref: React_2.Ref<HTMLElement>) => AccordionState;
223
+ export declare const useAccordion_unstable: (props: AccordionProps, ref: React_2.Ref<HTMLElement>) => AccordionState;
242
224
 
243
- export declare function useAccordionContextValues(state: AccordionState): AccordionContextValues;
225
+ export declare function useAccordionContextValues_unstable(state: AccordionState): AccordionContextValues;
244
226
 
245
227
  /**
246
228
  * Returns the props and state required to render the component
247
229
  * @param props - AccordionHeader properties
248
230
  * @param ref - reference to root HTMLElement of AccordionHeader
249
231
  */
250
- export declare const useAccordionHeader: (props: AccordionHeaderProps, ref: React_2.Ref<HTMLElement>) => AccordionHeaderState;
232
+ export declare const useAccordionHeader_unstable: (props: AccordionHeaderProps, ref: React_2.Ref<HTMLElement>) => AccordionHeaderState;
251
233
 
252
- export declare function useAccordionHeaderContextValues(state: AccordionHeaderState): AccordionHeaderContextValues;
234
+ export declare function useAccordionHeaderContextValues_unstable(state: AccordionHeaderState): AccordionHeaderContextValues;
253
235
 
254
236
  /** Applies style classnames to slots */
255
- export declare const useAccordionHeaderStyles: (state: AccordionHeaderState) => AccordionHeaderState;
237
+ export declare const useAccordionHeaderStyles_unstable: (state: AccordionHeaderState) => AccordionHeaderState;
256
238
 
257
239
  /**
258
240
  * Returns the props and state required to render the component
259
241
  * @param props - AccordionItem properties
260
242
  * @param ref - reference to root HTMLElement of AccordionItem
261
243
  */
262
- export declare const useAccordionItem: (props: AccordionItemProps, ref: React_2.Ref<HTMLElement>) => AccordionItemState;
244
+ export declare const useAccordionItem_unstable: (props: AccordionItemProps, ref: React_2.Ref<HTMLElement>) => AccordionItemState;
263
245
 
264
- export declare const useAccordionItemContext: () => AccordionItemContextValue;
246
+ export declare const useAccordionItemContext_unstable: () => AccordionItemContextValue;
265
247
 
266
- export declare function useAccordionItemContextValues(state: AccordionItemState): AccordionItemContextValues;
248
+ export declare function useAccordionItemContextValues_unstable(state: AccordionItemState): AccordionItemContextValues;
267
249
 
268
- export declare const useAccordionItemStyles: (state: AccordionItemState) => AccordionItemState;
250
+ export declare const useAccordionItemStyles_unstable: (state: AccordionItemState) => AccordionItemState;
269
251
 
270
252
  /**
271
253
  * Returns the props and state required to render the component
272
254
  * @param props - AccordionPanel properties
273
255
  * @param ref - reference to root HTMLElement of AccordionPanel
274
256
  */
275
- export declare const useAccordionPanel: (props: AccordionPanelProps, ref: React_2.Ref<HTMLElement>) => AccordionPanelState;
257
+ export declare const useAccordionPanel_unstable: (props: AccordionPanelProps, ref: React_2.Ref<HTMLElement>) => AccordionPanelState;
276
258
 
277
259
  /** Applies style classnames to slots */
278
- export declare const useAccordionPanelStyles: (state: AccordionPanelState) => AccordionPanelState;
260
+ export declare const useAccordionPanelStyles_unstable: (state: AccordionPanelState) => AccordionPanelState;
279
261
 
280
- export declare const useAccordionStyles: (state: AccordionState) => AccordionState;
262
+ export declare const useAccordionStyles_unstable: (state: AccordionState) => AccordionState;
281
263
 
282
264
  export { }