You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/components/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,10 @@
22
22
23
23
-`DropdownMenuV2Ariakit`: prevent prefix collapsing if all radios or checkboxes are unselected ([#56720](https://github.com/WordPress/gutenberg/pull/56720)).
24
24
25
+
### Experimental
26
+
27
+
-`Tabs`: implement new `tabId` prop ([#56883](https://github.com/WordPress/gutenberg/pull/56883)).
Copy file name to clipboardExpand all lines: packages/components/src/tabs/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,9 +163,9 @@ The children elements, which should be a series of `Tabs.TabPanel` components.
163
163
164
164
##### Props
165
165
166
-
###### `id`: `string`
166
+
###### `tabId`: `string`
167
167
168
-
The id of the tab, which is prepended with the `Tabs` instance ID.
168
+
A unique identifier for the tab, which is used to generate a unique id for the underlying element. The value of this prop should match with the value of the `tabId` prop on the corresponding `Tabs.TabPanel` component.
169
169
170
170
- Required: Yes
171
171
@@ -198,9 +198,9 @@ The children elements, generally the content to display on the tabpanel.
198
198
199
199
- Required: No
200
200
201
-
###### `id`: `string`
201
+
###### `tabId`: `string`
202
202
203
-
The id of the tabpanel, which is combined with the `Tabs` instance ID and the suffix `-view`
203
+
A unique identifier for the tabpanel, which is used to generate an instanced id for the underlying element. The value of this prop should match with the value of the `tabId` prop on the corresponding `Tabs.Tab` component.
0 commit comments