@wordpress/components 28.0.3 → 28.2.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +133 -120
  2. package/build/custom-select-control-v2/custom-select.js +1 -3
  3. package/build/custom-select-control-v2/custom-select.js.map +1 -1
  4. package/build/custom-select-control-v2/legacy-component/index.js +16 -10
  5. package/build/custom-select-control-v2/legacy-component/index.js.map +1 -1
  6. package/build/custom-select-control-v2/styles.js +34 -19
  7. package/build/custom-select-control-v2/styles.js.map +1 -1
  8. package/build/custom-select-control-v2/types.js.map +1 -1
  9. package/build/drop-zone/index.js +16 -79
  10. package/build/drop-zone/index.js.map +1 -1
  11. package/build/radio-control/index.js +1 -1
  12. package/build/radio-control/index.js.map +1 -1
  13. package/build-module/custom-select-control-v2/custom-select.js +1 -3
  14. package/build-module/custom-select-control-v2/custom-select.js.map +1 -1
  15. package/build-module/custom-select-control-v2/legacy-component/index.js +16 -11
  16. package/build-module/custom-select-control-v2/legacy-component/index.js.map +1 -1
  17. package/build-module/custom-select-control-v2/styles.js +33 -18
  18. package/build-module/custom-select-control-v2/styles.js.map +1 -1
  19. package/build-module/custom-select-control-v2/types.js.map +1 -1
  20. package/build-module/drop-zone/index.js +17 -80
  21. package/build-module/drop-zone/index.js.map +1 -1
  22. package/build-module/radio-control/index.js +1 -1
  23. package/build-module/radio-control/index.js.map +1 -1
  24. package/build-style/style-rtl.css +30 -5
  25. package/build-style/style.css +30 -5
  26. package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -1
  27. package/build-types/custom-select-control/stories/index.story.d.ts +15 -0
  28. package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
  29. package/build-types/custom-select-control-v2/legacy-component/index.d.ts.map +1 -1
  30. package/build-types/custom-select-control-v2/styles.d.ts +4 -0
  31. package/build-types/custom-select-control-v2/styles.d.ts.map +1 -1
  32. package/build-types/custom-select-control-v2/types.d.ts +1 -0
  33. package/build-types/custom-select-control-v2/types.d.ts.map +1 -1
  34. package/build-types/drop-zone/index.d.ts +3 -0
  35. package/build-types/drop-zone/index.d.ts.map +1 -1
  36. package/package.json +19 -19
  37. package/src/checkbox-control/stories/index.story.tsx +3 -0
  38. package/src/checkbox-control/style.scss +4 -2
  39. package/src/custom-select-control/stories/index.story.tsx +32 -3
  40. package/src/custom-select-control/test/index.js +205 -22
  41. package/src/custom-select-control-v2/custom-select.tsx +1 -1
  42. package/src/custom-select-control-v2/legacy-component/index.tsx +18 -10
  43. package/src/custom-select-control-v2/legacy-component/test/index.tsx +220 -38
  44. package/src/custom-select-control-v2/styles.ts +22 -10
  45. package/src/custom-select-control-v2/types.ts +1 -0
  46. package/src/drop-zone/index.tsx +17 -76
  47. package/src/drop-zone/style.scss +51 -16
  48. package/src/radio-control/index.tsx +1 -1
  49. package/src/radio-control/style.scss +1 -1
  50. package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md CHANGED
@@ -2,10 +2,26 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 28.2.0 (2024-06-26)
6
+
7
+ ### Enhancements
8
+
9
+ - `DropZone`: rewrite animation without depending on framer-motion. ([#62044](https://github.com/WordPress/gutenberg/pull/62044))
10
+ - `__experimentalPaletteEdit`: improve the accessibility. ([#62753](https://github.com/WordPress/gutenberg/pull/62753))
11
+
12
+ ### Internal
13
+
14
+ - `CustomSelectControl`: align unit tests for v1 and legacy v2 versions. ([#62706](https://github.com/WordPress/gutenberg/pull/62706))
15
+ - `CustomSelectControlV2`: fix handling of extra option attributes in the `onChange` callbacks and when forwarding them to the option DOM elements. ([#62255](https://github.com/WordPress/gutenberg/pull/62255))
16
+ - `CustomSelectControlV2`: fix setting initial value and reacting to external controlled updates. ([#62733](https://github.com/WordPress/gutenberg/pull/62733))
17
+ - `CustomSelectControlV2`: Handle long strings in selected value ([#62198](https://github.com/WordPress/gutenberg/pull/62198)).
18
+
19
+ ## 28.1.0 (2024-06-15)
20
+
5
21
  ### Enhancements
6
22
 
7
- - Add `text-wrap: balance` fallback to all instances of `text-wrap: pretty` for greater cross browser compatibility. ([#62233](https://github.com/WordPress/gutenberg/pull/62233))
8
- - `__experimentalPaletteEdit`: improve the accessibility. ([#62753](https://github.com/WordPress/gutenberg/pull/62753))
23
+ - Add `text-wrap: balance` fallback to all instances of `text-wrap: pretty` for greater cross browser compatibility. ([#62233](https://github.com/WordPress/gutenberg/pull/62233))
24
+ - Updates the space between input + label to `8px` in CheckboxControl and RadioControl. Also increased the space between RadioControl components to `12px` to make it consistent with CheckboxControl. ([#61696](https://github.com/WordPress/gutenberg/pull/61696))
9
25
 
10
26
  ### Bug Fixes
11
27
 
@@ -56,7 +72,7 @@
56
72
  - Upgraded the @types/react and @types/react-dom packages ([#60796](https://github.com/WordPress/gutenberg/pull/60796)).
57
73
  - `Placeholder`: Tweak placeholder style ([#61590](https://github.com/WordPress/gutenberg/pull/61590)).
58
74
 
59
- ### Bug Fix
75
+ ### Bug Fixes
60
76
 
61
77
  - `ToolsPanel`: Fix sticking “Reset” option ([#60621](https://github.com/WordPress/gutenberg/pull/60621)).
62
78
  - Fix an issue where types used a synthetic default import ([#61679](https://github.com/WordPress/gutenberg/pull/61679)).
@@ -73,7 +89,7 @@
73
89
  - `DropZone`: Avoid a media query on mount [#60546](https://github.com/WordPress/gutenberg/pull/60546)).
74
90
  - `ComboboxControl`: Simplify string normalization ([#60893](https://github.com/WordPress/gutenberg/pull/60893)).
75
91
 
76
- ### Bug Fix
92
+ ### Bug Fixes
77
93
 
78
94
  - `BaseControl`, `InputControl`: Remove usage of aria-details from InputControl and BaseControl ([#61203](https://github.com/WordPress/gutenberg/pull/61203)).
79
95
  - `SlotFill`: fixed missing `getServerSnapshot` parameter in slot map ([#60943](https://github.com/WordPress/gutenberg/pull/60943)).
@@ -85,7 +101,7 @@
85
101
 
86
102
  ## 27.4.0 (2024-04-19)
87
103
 
88
- ### Deprecation
104
+ ### Deprecations
89
105
 
90
106
  - `Navigation`: Soft deprecate component ([#59182](https://github.com/WordPress/gutenberg/pull/59182)).
91
107
 
@@ -100,7 +116,7 @@
100
116
  - `ToggleControl`: Forwards ref to FormToggle ([#60234](https://github.com/WordPress/gutenberg/pull/60234)).
101
117
  - `CheckboxControl`: Update help text alignment ([#60787](https://github.com/WordPress/gutenberg/pull/60787)).
102
118
 
103
- ### Bug Fix
119
+ ### Bug Fixes
104
120
 
105
121
  - `Truncate`: Fix link control link preview when it displays long URLs ([#60890](https://github.com/WordPress/gutenberg/pull/60890)).
106
122
 
@@ -122,7 +138,7 @@
122
138
 
123
139
  ## 27.3.0 (2024-04-03)
124
140
 
125
- ### Bug Fix
141
+ ### Bug Fixes
126
142
 
127
143
  - `Dropdown`: Fix bug with separator styling. ([#60336](https://github.com/WordPress/gutenberg/pull/60336)).
128
144
  - `InputControl`: Ignore IME events when `isPressEnterToChange` is enabled ([#60090](https://github.com/WordPress/gutenberg/pull/60090)).
@@ -155,7 +171,7 @@
155
171
  - `Text`, `Heading`, `ItemGroup` : Update the line height from 1.2 to 1.4 ([#60041](https://github.com/WordPress/gutenberg/pull/60041)).
156
172
  - `Autocomplete` : match the autocomplete styling to that of List View and Command Palette([#60131](https://github.com/WordPress/gutenberg/pull/60131)).
157
173
 
158
- ### Deprecation
174
+ ### Deprecations
159
175
 
160
176
  - `isSmall` prop in `Button` component has been deprecated. Use `size="small"` prop instead ([#59734](https://github.com/WordPress/gutenberg/pull/59734)).
161
177
 
@@ -163,14 +179,14 @@
163
179
 
164
180
  - `Button`: Keep deprecated props in type definitions ([#59913](https://github.com/WordPress/gutenberg/pull/59913)).
165
181
 
166
- ### Bug Fix
182
+ ### Bug Fixes
167
183
 
168
184
  - `PaletteEdit`: Fix number incrementing of default names for new colors added in non-en-US locales ([#52212](https://github.com/WordPress/gutenberg/pull/52212)).
169
185
  - `DateTimePicker`: Change day button size back from 32px to 28px ([#59990](https://github.com/WordPress/gutenberg/pull/59990)).
170
186
 
171
187
  ## 27.1.0 (2024-03-06)
172
188
 
173
- ### Bug Fix
189
+ ### Bug Fixes
174
190
 
175
191
  - `InputControl`: Fix sample code on InputControl docs [#59517](https://github.com/WordPress/gutenberg/pull/59517)
176
192
  - `Tooltip`: Explicitly set system font to avoid CSS bleed ([#59307](https://github.com/WordPress/gutenberg/pull/59307)).
@@ -194,7 +210,7 @@
194
210
 
195
211
  - `CustomSelectControl`: Remove deprecated `__nextUnconstrainedWidth` prop and promote to default behavior ([#58974](https://github.com/WordPress/gutenberg/pull/58974)).
196
212
 
197
- ### Bug Fix
213
+ ### Bug Fixes
198
214
 
199
215
  - `ToolbarButton`: Center text for short labels ([#59117](https://github.com/WordPress/gutenberg/pull/59117)).
200
216
 
@@ -212,7 +228,7 @@
212
228
 
213
229
  ## 26.0.1 (2024-02-13)
214
230
 
215
- ### Bug Fix
231
+ ### Bug Fixes
216
232
 
217
233
  - `Modal`: Add `box-sizing` reset style ([#58905](https://github.com/WordPress/gutenberg/pull/58905)).
218
234
  - `Popover`: Fix positioning in nested iframes by upgrading Floating UI packages to their latest versions ([#58932](https://github.com/WordPress/gutenberg/pull/58932)).
@@ -240,7 +256,7 @@
240
256
  - `CheckboxControl`: Remove ability for label prop to be false ([#58339](https://github.com/WordPress/gutenberg/pull/58339)).
241
257
  - `FocalPointPicker`: Apply modern styling ([#58459](https://github.com/WordPress/gutenberg/pull/58459)).
242
258
 
243
- ### Bug Fix
259
+ ### Bug Fixes
244
260
 
245
261
  - `FocalPointPicker`: Allow `PointerCircle` to render in a default centered position when x and y coordinates are undefined ([#58592](https://github.com/WordPress/gutenberg/pull/58592)).
246
262
  - `DateTime`: Add a timezone offset value for display purposes. ([#56682](https://github.com/WordPress/gutenberg/pull/56682)).
@@ -282,7 +298,7 @@
282
298
  - `SlotFill`: fix typo in use-slot-fills return docs ([#57654](https://github.com/WordPress/gutenberg/pull/57654))
283
299
  - `Popover`: Adding `constrainTabbing` prop to `useDialog` hook ([#57962](https://github.com/WordPress/gutenberg/pull/57962))
284
300
 
285
- ### Bug Fix
301
+ ### Bug Fixes
286
302
 
287
303
  - `ToggleGroupControl`: Improve controlled value detection ([#57770](https://github.com/WordPress/gutenberg/pull/57770)).
288
304
  - `Tooltip`: Improve props forwarding to children of nested `Tooltip` components ([#57878](https://github.com/WordPress/gutenberg/pull/57878)).
@@ -297,7 +313,7 @@
297
313
 
298
314
  ## 25.15.0 (2024-01-10)
299
315
 
300
- ### Bug Fix
316
+ ### Bug Fixes
301
317
 
302
318
  - `NumberControl`: Make increment and decrement buttons keyboard accessible. ([#57402](https://github.com/WordPress/gutenberg/pull/57402)).
303
319
  - `DropdownMenu V2`: better fallback on browsers that don't support CSS subgrid([#57327](https://github.com/WordPress/gutenberg/pull/57327)).
@@ -349,7 +365,7 @@
349
365
  - `FontSizePicker`: Add opt-in prop for 40px default size ([#56804](https://github.com/WordPress/gutenberg/pull/56804)).
350
366
  - `ToolsPanel`/`ToolsPanelHeader`: Added `dropdownMenuProps` to allow customization of the panel's dropdown menu. Also merged default and optional control menu groups ([#55785](https://github.com/WordPress/gutenberg/pull/55785)).
351
367
 
352
- ### Bug Fix
368
+ ### Bug Fixes
353
369
 
354
370
  - `PaletteEdit`: temporary custom gradient not saving ([#56896](https://github.com/WordPress/gutenberg/pull/56896)).
355
371
  - `ToggleGroupControl`: react correctly to external controlled updates ([#56678](https://github.com/WordPress/gutenberg/pull/56678)).
@@ -384,7 +400,7 @@
384
400
  - `Button`: Add focus rings to focusable disabled buttons ([#56383](https://github.com/WordPress/gutenberg/pull/56383)).
385
401
  - `InserterButton`: Move mobile InserterButton from components package to block-editor package ([#56494](https://github.com/WordPress/gutenberg/pull/56494))
386
402
 
387
- ### Bug Fix
403
+ ### Bug Fixes
388
404
 
389
405
  - `DateTime`: Make the Timezone indication render a tooltip only when necessary. ([#56214](https://github.com/WordPress/gutenberg/pull/56214)).
390
406
  - `ToolsPanelItem`: Use useLayoutEffect to prevent rendering glitch for last panel item styling. ([#56536](https://github.com/WordPress/gutenberg/pull/56536)).
@@ -404,14 +420,11 @@
404
420
 
405
421
  - `Slot`: add `style` prop to `bubblesVirtually` version ([#56428](https://github.com/WordPress/gutenberg/pull/56428))
406
422
  - Introduce experimental new version of `CustomSelectControl` based on `ariakit` ([#55790](https://github.com/WordPress/gutenberg/pull/55790))
407
-
408
- ### Code Quality
409
-
410
423
  - `Composite`: add unit tests for `useCompositeState` ([#56645](https://github.com/WordPress/gutenberg/pull/56645)).
411
424
 
412
425
  ## 25.12.0 (2023-11-16)
413
426
 
414
- ### Bug Fix
427
+ ### Bug Fixes
415
428
 
416
429
  - `Toolbar`: Remove CSS rule that prevented focus outline to be visible for toolbar buttons in the `:active` state. ([#56123](https://github.com/WordPress/gutenberg/pull/56123)).
417
430
 
@@ -433,7 +446,7 @@
433
446
  - `ToggleGroupControl`: Add opt-in prop for 40px default size ([#55789](https://github.com/WordPress/gutenberg/pull/55789)).
434
447
  - `TextControl`: Add opt-in prop for 40px default size ([#55471](https://github.com/WordPress/gutenberg/pull/55471)).
435
448
 
436
- ### Bug Fix
449
+ ### Bug Fixes
437
450
 
438
451
  - `DropdownMenu`: remove extra vertical space around the toggle button ([#56136](https://github.com/WordPress/gutenberg/pull/56136)).
439
452
  - Package should not depend on `@ariakit/test`, that package is only needed for testing ([#56091](https://github.com/WordPress/gutenberg/pull/56091)).
@@ -444,7 +457,7 @@
444
457
 
445
458
  - `InputControl`/`SelectControl`: update `height`/`min-height` to `32px` instead of `30px` to align with modern sizing scale ([#55490](https://github.com/WordPress/gutenberg/pull/55490)).
446
459
 
447
- ### Bug Fix
460
+ ### Bug Fixes
448
461
 
449
462
  - `Autocomplete`: Add `aria-live` announcements for Mac and IOS Voiceover to fix lack of support for `aria-owns` ([#54902](https://github.com/WordPress/gutenberg/pull/54902)).
450
463
  - Improve Button saving state accessibility. ([#55547](https://github.com/WordPress/gutenberg/pull/55547))
@@ -465,7 +478,7 @@
465
478
  - `Tabs`: Expose via private APIs ([#55327](https://github.com/WordPress/gutenberg/pull/55327)).
466
479
  - `ColorPalette`/`ToggleGroupControl/ToggleGroupControlOptionBase`: add `type="button"` attribute to native `<button>`s ([#55125](https://github.com/WordPress/gutenberg/pull/55125)).
467
480
 
468
- ### Bug Fix
481
+ ### Bug Fixes
469
482
 
470
483
  - Render a "mouse event trap" when using a `ColorPicker` inside a `Popover` to prevent issues when rendering on top of `iframes` ([#55149](https://github.com/WordPress/gutenberg/pull/55149)).
471
484
  - `Modal`: fix closing when contained iframe is focused ([#51602](https://github.com/WordPress/gutenberg/pull/51602)).
@@ -493,7 +506,7 @@
493
506
  - Wrapped `TextareaControl` in a `forwardRef` call ([#54975](https://github.com/WordPress/gutenberg/pull/54975)).
494
507
  - `Composite`/`AlignmentMatrixControl`/`CircularOptionPicker`: Starts the `Composite` migration from `reakit` to `ariakit` ([#54225](https://github.com/WordPress/gutenberg/pull/54225)).
495
508
 
496
- ### Bug Fix
509
+ ### Bug Fixes
497
510
 
498
511
  - `Placeholder`: Improved DOM structure and screen reader announcements ([#45801](https://github.com/WordPress/gutenberg/pull/45801)).
499
512
  - `DateTimePicker`: fix onChange callback check so that it also works inside iframes ([#54669](https://github.com/WordPress/gutenberg/pull/54669)).
@@ -539,7 +552,7 @@
539
552
  - `FormTokenField`: Add `tokenizeOnBlur` prop to add any incompleteTokenValue as a new token when field loses focus ([#54445](https://github.com/WordPress/gutenberg/pull/54445)).
540
553
  - `Sandbox`: Add `tabIndex` prop ([#54408](https://github.com/WordPress/gutenberg/pull/54408)).
541
554
 
542
- ### Bug Fix
555
+ ### Bug Fixes
543
556
 
544
557
  - `Notice`: Make the Close button render a tooltip to visually expose its accessible name. All icon buttons must always show a tooltip ([#54498](https://github.com/WordPress/gutenberg/pull/54498)).
545
558
  - `Tooltip`: dynamically render in the DOM only when visible ([#54312](https://github.com/WordPress/gutenberg/pull/54312)).
@@ -575,7 +588,7 @@
575
588
 
576
589
  ## 25.7.0 (2023-08-31)
577
590
 
578
- ### Breaking changes
591
+ ### Breaking Changes
579
592
 
580
593
  - Make the `Popover.Slot` optional and render popovers at the bottom of the document's body by default. ([#53889](https://github.com/WordPress/gutenberg/pull/53889), [#53982](https://github.com/WordPress/gutenberg/pull/53982)).
581
594
 
@@ -584,7 +597,7 @@
584
597
  - `ProgressBar`: Add transition to determinate indicator ([#53877](https://github.com/WordPress/gutenberg/pull/53877)).
585
598
  - Prevent nested `SlotFillProvider` from rendering ([#53940](https://github.com/WordPress/gutenberg/pull/53940)).
586
599
 
587
- ### Bug Fix
600
+ ### Bug Fixes
588
601
 
589
602
  - `SandBox`: Fix the cleanup method in useEffect ([#53796](https://github.com/WordPress/gutenberg/pull/53796)).
590
603
  - `PaletteEdit`: Fix the height of the `PaletteItems`. Don't rely on styles only present in the block editor ([#54000](https://github.com/WordPress/gutenberg/pull/54000)).
@@ -610,7 +623,7 @@
610
623
  - Components: Move accent colors to theme context ([#53631](https://github.com/WordPress/gutenberg/pull/53631)).
611
624
  - `ProgressBar`: Use the new theme system accent for indicator color ([#53632](https://github.com/WordPress/gutenberg/pull/53632)).
612
625
 
613
- ### Bug Fix
626
+ ### Bug Fixes
614
627
 
615
628
  - `Button`: add `:disabled` selector to reset hover color for disabled buttons ([#53411](https://github.com/WordPress/gutenberg/pull/53411)).
616
629
 
@@ -624,7 +637,7 @@
624
637
 
625
638
  ## 25.5.0 (2023-08-10)
626
639
 
627
- ### New Feature
640
+ ### New Features
628
641
 
629
642
  - Add a new `ProgressBar` component. ([#53030](https://github.com/WordPress/gutenberg/pull/53030)).
630
643
 
@@ -634,7 +647,7 @@
634
647
  - `MenuItemsChoice`, `MenuItem`: Support a `disabled` prop on a menu item ([#52737](https://github.com/WordPress/gutenberg/pull/52737)).
635
648
  - `TabPanel`: Introduce a new version of `TabPanel` with updated internals and improved adherence to ARIA guidance on `tabpanel` focus behavior while maintaining the same functionality and API surface.([#52133](https://github.com/WordPress/gutenberg/pull/52133)).
636
649
 
637
- ### Bug Fix
650
+ ### Bug Fixes
638
651
 
639
652
  - `Modal`: Fix loss of focus when clicking outside ([#52653](https://github.com/WordPress/gutenberg/pull/52653)).
640
653
 
@@ -645,7 +658,7 @@
645
658
  - `TextControl`: Add `id` prop to allow for custom IDs in `TextControl`s ([#52028](https://github.com/WordPress/gutenberg/pull/52028)).
646
659
  - `Navigator`: Add `replace` option to `navigator.goTo()` and `navigator.goToParent()` ([#52456](https://github.com/WordPress/gutenberg/pull/52456)).
647
660
 
648
- ### Bug Fix
661
+ ### Bug Fixes
649
662
 
650
663
  - `Popover`: Pin `react-dropdown-menu` version to avoid breaking changes in dependency updates. ([#52356](https://github.com/WordPress/gutenberg/pull/52356)).
651
664
  - `Item`: Unify focus style and add default font styles. ([#52495](https://github.com/WordPress/gutenberg/pull/52495)).
@@ -662,7 +675,7 @@
662
675
  - `ItemGroup`: Update button focus state styles to target `:focus-visible` rather than `:focus`. ([#51787](https://github.com/WordPress/gutenberg/pull/51787)).
663
676
  - `Guide`: Don't show Close button when there is only one page, and use default button and accent/theme styling ([#52014](https://github.com/WordPress/gutenberg/pull/52014)).
664
677
 
665
- ### Bug Fix
678
+ ### Bug Fixes
666
679
 
667
680
  - `ConfirmDialog`: Ensure onConfirm isn't called an extra time when submitting one of the buttons using the keyboard ([#51730](https://github.com/WordPress/gutenberg/pull/51730)).
668
681
  - `ZStack`: ZStack: fix component bounding box to match children ([#51836](https://github.com/WordPress/gutenberg/pull/51836)).
@@ -680,7 +693,7 @@
680
693
  - `ItemGroup`: Update button focus state styles to be inline with other button focus states in the editor. ([#51576](https://github.com/WordPress/gutenberg/pull/51576)).
681
694
  - `ItemGroup`: Update button focus state styles to target `:focus-visible` rather than `:focus`. ([#51787](https://github.com/WordPress/gutenberg/pull/51787)).
682
695
 
683
- ### Bug Fix
696
+ ### Bug Fixes
684
697
 
685
698
  - `Popover`: Allow legitimate 0 positions to update popover position ([#51320](https://github.com/WordPress/gutenberg/pull/51320)).
686
699
  - `Button`: Remove unnecessary margin from dashicon ([#51395](https://github.com/WordPress/gutenberg/pull/51395)).
@@ -702,7 +715,7 @@
702
715
  - `BorderControl`: Improve color code readability in aria-label ([#51197](https://github.com/WordPress/gutenberg/pull/51197)).
703
716
  - `Dropdown` and `DropdownMenu`: use internal context system to automatically pick the toolbar popover variant when rendered inside the `Toolbar` component ([#51154](https://github.com/WordPress/gutenberg/pull/51154)).
704
717
 
705
- ### Bug Fix
718
+ ### Bug Fixes
706
719
 
707
720
  - `FocalPointUnitControl`: Add aria-labels ([#50993](https://github.com/WordPress/gutenberg/pull/50993)).
708
721
 
@@ -732,7 +745,7 @@
732
745
  - Added experimental v2 of `DropdownMenu` ([#49473](https://github.com/WordPress/gutenberg/pull/49473)).
733
746
  - `ColorPicker`: its private `SelectControl` component no longer hides BackdropUI, thus making its focus state visible for keyboard users ([#50703](https://github.com/WordPress/gutenberg/pull/50703)).
734
747
 
735
- ### Bug Fix
748
+ ### Bug Fixes
736
749
 
737
750
  - `ColorPicker`: Add an outline when the color picker select box is focused([#50609](https://github.com/WordPress/gutenberg/pull/50609)).
738
751
  - `InputControl`: Fix focus style to support Windows High Contrast mode ([#50772](https://github.com/WordPress/gutenberg/pull/50772)).
@@ -750,7 +763,7 @@
750
763
 
751
764
  - `onDragStart` in `<Draggable>` is now a synchronous function to allow setting additional data for `event.dataTransfer` ([#49673](https://github.com/WordPress/gutenberg/pull/49673)).
752
765
 
753
- ### Bug Fix
766
+ ### Bug Fixes
754
767
 
755
768
  - `NavigableContainer`: do not trap focus in `TabbableContainer` ([#49846](https://github.com/WordPress/gutenberg/pull/49846)).
756
769
  - Update `<Button>` component to have a transparent background for its tertiary disabled state, to match its enabled state. ([#50496](https://github.com/WordPress/gutenberg/pull/50496)).
@@ -801,7 +814,7 @@
801
814
  - `SlotFill`: Added util for creating private SlotFills and supporting Symbol keys ([#49819](https://github.com/WordPress/gutenberg/pull/49819)).
802
815
  - `IconType`: Export for external use ([#49649](https://github.com/WordPress/gutenberg/pull/49649)).
803
816
 
804
- ### Bug Fix
817
+ ### Bug Fixes
805
818
 
806
819
  - `CheckboxControl`: Add support custom IDs ([#49977](https://github.com/WordPress/gutenberg/pull/49977)).
807
820
 
@@ -824,7 +837,7 @@
824
837
  - `Spinner`: add explicit opacity and background styles ([#49695](https://github.com/WordPress/gutenberg/pull/49695)).
825
838
  - Make TypeScript types available for consumers ([#49229](https://github.com/WordPress/gutenberg/pull/49229)).
826
839
 
827
- ### Bug Fix
840
+ ### Bug Fixes
828
841
 
829
842
  - `Snackbar`: Fix insufficient color contrast on hover ([#49682](https://github.com/WordPress/gutenberg/pull/49682)).
830
843
 
@@ -845,7 +858,7 @@
845
858
  - `AnglePickerControl`: Style to better fit in narrow contexts and improve RTL layout ([#49046](https://github.com/WordPress/gutenberg/pull/49046)).
846
859
  - `ImageSizeControl`: Use large 40px sizes ([#49113](https://github.com/WordPress/gutenberg/pull/49113)).
847
860
 
848
- ### Bug Fix
861
+ ### Bug Fixes
849
862
 
850
863
  - `CircularOptionPicker`: force swatches to visually render on top of the rest of the component's content ([#49245](https://github.com/WordPress/gutenberg/pull/49245)).
851
864
  - `InputControl`: Fix misaligned textarea input control ([#49116](https://github.com/WordPress/gutenberg/pull/49116)).
@@ -864,7 +877,7 @@
864
877
  - `Navigator`: Disable initial screen animation ([#49062](https://github.com/WordPress/gutenberg/pull/49062)).
865
878
  - `FormTokenField`: Hide suggestions list on blur event if the input value is invalid ([#48785](https://github.com/WordPress/gutenberg/pull/48785)).
866
879
 
867
- ### Bug Fix
880
+ ### Bug Fixes
868
881
 
869
882
  - `ResponsiveWrapper`: use `aspect-ratio` CSS prop, add support for `SVG` elements ([#48573](https://github.com/WordPress/gutenberg/pull/48573).
870
883
  - `ResizeTooltip`: Use `default.fontFamily` on tooltip ([#48805](https://github.com/WordPress/gutenberg/pull/48805).
@@ -904,7 +917,7 @@
904
917
 
905
918
  ## 23.4.0 (2023-02-15)
906
919
 
907
- ### Bug Fix
920
+ ### Bug Fixes
908
921
 
909
922
  - `ToolsPanel`: fix type inconsistencies between types, docs and normal component usage ([47944](https://github.com/WordPress/gutenberg/pull/47944)).
910
923
  - `SelectControl`: Fix styling when `multiple` prop is enabled ([#47893](https://github.com/WordPress/gutenberg/pull/43213)).
@@ -963,7 +976,7 @@
963
976
  - `Notice`: refactor to TypeScript ([47118](https://github.com/WordPress/gutenberg/pull/47118)).
964
977
  - `Popover`: Take iframe element scaling into account ([47004](https://github.com/WordPress/gutenberg/pull/47004)).
965
978
 
966
- ### Bug Fix
979
+ ### Bug Fixes
967
980
 
968
981
  - `TabPanel`: Fix initial tab selection when the tab declaration is lazily added to the `tabs` array ([47100](https://github.com/WordPress/gutenberg/pull/47100)).
969
982
  - `InputControl`: Avoid the "controlled to uncontrolled" warning by forcing the internal `<input />` element to be always in controlled mode ([47250](https://github.com/WordPress/gutenberg/pull/47250)).
@@ -980,7 +993,7 @@
980
993
  - `ResponsiveWrapper`: Convert to TypeScript ([#46480](https://github.com/WordPress/gutenberg/pull/46480)).
981
994
  - `ItemGroup`: migrate Storybook to controls, refactor to TypeScript ([46945](https://github.com/WordPress/gutenberg/pull/46945)).
982
995
 
983
- ### Bug Fix
996
+ ### Bug Fixes
984
997
 
985
998
  - `Placeholder`: set fixed right margin for label's icon ([46918](https://github.com/WordPress/gutenberg/pull/46918)).
986
999
  - `TreeGrid`: Fix right-arrow keyboard navigation when a row contains more than two focusable elements ([46998](https://github.com/WordPress/gutenberg/pull/46998)).
@@ -997,13 +1010,13 @@
997
1010
 
998
1011
  - Updated dependencies to require React 18 ([45235](https://github.com/WordPress/gutenberg/pull/45235))
999
1012
 
1000
- ### New Feature
1013
+ ### New Features
1001
1014
 
1002
1015
  - `TabPanel`: support manual tab activation ([#46004](https://github.com/WordPress/gutenberg/pull/46004)).
1003
1016
  - `TabPanel`: support disabled prop for tab buttons ([#46471](https://github.com/WordPress/gutenberg/pull/46471)).
1004
1017
  - `BaseControl`: Add `useBaseControlProps` hook to help generate id-releated props ([#46170](https://github.com/WordPress/gutenberg/pull/46170)).
1005
1018
 
1006
- ### Bug Fix
1019
+ ### Bug Fixes
1007
1020
 
1008
1021
  - `ColorPalette`: show "Clear" button even when colors array is empty ([#46001](https://github.com/WordPress/gutenberg/pull/46001)).
1009
1022
  - `InputControl`: Fix internal `Flex` wrapper usage that could add an unintended `height: 100%` ([#46213](https://github.com/WordPress/gutenberg/pull/46213)).
@@ -1062,7 +1075,7 @@
1062
1075
 
1063
1076
  - `AnglePickerControl`: remove `:focus-visible' outline on `CircleOutlineWrapper` ([#45758](https://github.com/WordPress/gutenberg/pull/45758))
1064
1077
 
1065
- ### Bug Fix
1078
+ ### Bug Fixes
1066
1079
 
1067
1080
  - `FormTokenField`: Fix duplicate input in IME composition ([#45607](https://github.com/WordPress/gutenberg/pull/45607)).
1068
1081
  - `Autocomplete`: Check key events more strictly in IME composition ([#45626](https://github.com/WordPress/gutenberg/pull/45626)).
@@ -1106,7 +1119,7 @@
1106
1119
  - `Popover`: the deprecation messages for anchor-related props (`anchorRef`, `anchorRect`, `getAnchorRect`) have been updated. ([#45195](https://github.com/WordPress/gutenberg/pull/45195)).
1107
1120
  - `Popover`: The `isAlternate` prop has been replaced with a `variant` prop that can be called with the `'toolbar'` string ([#45137](https://github.com/WordPress/gutenberg/pull/45137)).
1108
1121
 
1109
- ### New Feature
1122
+ ### New Features
1110
1123
 
1111
1124
  - `BoxControl` & `CustomSelectControl`: Add `onMouseOver` and `onMouseOut` callback props to allow handling of these events by parent components ([#44955](https://github.com/WordPress/gutenberg/pull/44955))
1112
1125
  - `Popover`: A `variant` prop has been added to style popovers, with `'unstyled'` and `'toolbar'` possible values ([#45137](https://github.com/WordPress/gutenberg/pull/45137)).
@@ -1122,7 +1135,7 @@
1122
1135
  - `ToggleGroupControl`: Add `isDeselectable` prop to allow deselecting the selected option ([#45123](https://github.com/WordPress/gutenberg/pull/45123)).
1123
1136
  - `FontSizePicker`: Improve hint text shown next to 'Font size' label ([#44966](https://github.com/WordPress/gutenberg/pull/44966)).
1124
1137
 
1125
- ### Bug Fix
1138
+ ### Bug Fixes
1126
1139
 
1127
1140
  - `useNavigateRegions`: Add new keyboard shortcut alias to cover backtick and tilde keys inconsistencies across browsers ([#45019](https://github.com/WordPress/gutenberg/pull/45019)).
1128
1141
  - `Button`: Tweak the destructive button primary, link, and default variants ([#44427](https://github.com/WordPress/gutenberg/pull/44427)).
@@ -1165,7 +1178,7 @@
1165
1178
 
1166
1179
  ## 21.3.0 (2022-10-19)
1167
1180
 
1168
- ### Bug Fix
1181
+ ### Bug Fixes
1169
1182
 
1170
1183
  - `FontSizePicker`: Ensure that fluid font size presets appear correctly in the UI controls ([#44791](https://github.com/WordPress/gutenberg/pull/44791)).
1171
1184
  - `ToggleGroupControl`: Remove unsupported `disabled` prop from types, and correctly mark `label` prop as required ([#45114](https://github.com/WordPress/gutenberg/pull/45114)).
@@ -1195,7 +1208,7 @@
1195
1208
  - `BorderBoxControl`: Omit unit select when width values are mixed ([#44592](https://github.com/WordPress/gutenberg/pull/44592))
1196
1209
  - `BorderControl`: Add ability to disable unit selection ([#44592](https://github.com/WordPress/gutenberg/pull/44592))
1197
1210
 
1198
- ### Bug Fix
1211
+ ### Bug Fixes
1199
1212
 
1200
1213
  - `Popover`: fix limitShift logic by adding iframe offset correctly ([#42950](https://github.com/WordPress/gutenberg/pull/42950)).
1201
1214
  - `Popover`: refine position-to-placement conversion logic, add tests ([#44377](https://github.com/WordPress/gutenberg/pull/44377)).
@@ -1228,7 +1241,7 @@
1228
1241
 
1229
1242
  - `Popover`: added new `anchor` prop, supposed to supersede all previous anchor-related props (`anchorRef`, `anchorRect`, `getAnchorRect`). These older anchor-related props are now marked as deprecated and are scheduled to be removed in WordPress 6.3 ([#43691](https://github.com/WordPress/gutenberg/pull/43691)).
1230
1243
 
1231
- ### Bug Fix
1244
+ ### Bug Fixes
1232
1245
 
1233
1246
  - `Button`: Remove unexpected `has-text` class when empty children are passed ([#44198](https://github.com/WordPress/gutenberg/pull/44198)).
1234
1247
  - The `LinkedButton` to unlink sides in `BoxControl`, `BorderBoxControl` and `BorderRadiusControl` have changed from a rectangular primary button to an icon-only button, with a sentence case tooltip, and default-size icon for better legibility. The `Button` component has been fixed so when `isSmall` and `icon` props are set, and no text is present, the button shape is square rather than rectangular.
@@ -1254,7 +1267,7 @@
1254
1267
  - `Popover`: deprecate `__unstableShift` prop in favour of new `shift` prop. The `__unstableShift` is currently scheduled for removal in WordPress 6.3 ([#43845](https://github.com/WordPress/gutenberg/pull/43845)).
1255
1268
  - `Popover`: removed the `__unstableObserveElement` prop, which is not necessary anymore. The functionality is now supported directly by the component without the need of an external prop ([#43617](https://github.com/WordPress/gutenberg/pull/43617)).
1256
1269
 
1257
- ### Bug Fix
1270
+ ### Bug Fixes
1258
1271
 
1259
1272
  - `Button`, `Icon`: Fix `iconSize` prop doesn't work with some icons ([#43821](https://github.com/WordPress/gutenberg/pull/43821)).
1260
1273
  - `InputControl`, `NumberControl`, `UnitControl`: Fix margin when `labelPosition` is `bottom` ([#43995](https://github.com/WordPress/gutenberg/pull/43995)).
@@ -1319,7 +1332,7 @@
1319
1332
  - `CustomSelectControl`: Deprecate constrained width style. Add a `__nextUnconstrainedWidth` prop to start opting into the unconstrained width that will become the default in a future version, currently scheduled to be WordPress 6.4 ([#43230](https://github.com/WordPress/gutenberg/pull/43230)).
1320
1333
  - `Popover`: deprecate `__unstableForcePosition` prop in favour of new `flip` and `resize` props. The `__unstableForcePosition` is currently scheduled for removal in WordPress 6.3 ([#43546](https://github.com/WordPress/gutenberg/pull/43546)).
1321
1334
 
1322
- ### Bug Fix
1335
+ ### Bug Fixes
1323
1336
 
1324
1337
  - `AlignmentMatrixControl`: keep the physical direction in RTL languages ([#43126](https://github.com/WordPress/gutenberg/pull/43126)).
1325
1338
  - `AlignmentMatrixControl`: Fix the `width` prop so it works as intended ([#43482](https://github.com/WordPress/gutenberg/pull/43482)).
@@ -1390,7 +1403,7 @@
1390
1403
 
1391
1404
  ## 19.17.0 (2022-08-10)
1392
1405
 
1393
- ### Bug Fix
1406
+ ### Bug Fixes
1394
1407
 
1395
1408
  - `Popover`: make sure that `ownerDocument` is always defined ([#42886](https://github.com/WordPress/gutenberg/pull/42886)).
1396
1409
  - `ExternalLink`: Check if the link is an internal anchor link and prevent anchor links from being opened. ([#42259](https://github.com/WordPress/gutenberg/pull/42259)).
@@ -1436,7 +1449,7 @@
1436
1449
 
1437
1450
  ## 19.16.0 (2022-07-27)
1438
1451
 
1439
- ### Bug Fix
1452
+ ### Bug Fixes
1440
1453
 
1441
1454
  - Context System: Stop explicitly setting `undefined` to the `children` prop. This fixes a bug where `Icon` could not be correctly rendered via the `as` prop of a context-connected component ([#42686](https://github.com/WordPress/gutenberg/pull/42686)).
1442
1455
  - `Popover`, `Dropdown`: Fix width when `expandOnMobile` is enabled ([#42635](https://github.com/WordPress/gutenberg/pull/42635/)).
@@ -1482,7 +1495,7 @@
1482
1495
 
1483
1496
  ## 19.15.0 (2022-07-13)
1484
1497
 
1485
- ### Bug Fix
1498
+ ### Bug Fixes
1486
1499
 
1487
1500
  - `BoxControl`: Change ARIA role from `region` to `group` to avoid unwanted ARIA landmark regions ([#42094](https://github.com/WordPress/gutenberg/pull/42094)).
1488
1501
  - `FocalPointPicker`, `FormTokenField`, `ResizableBox`: Fixed SSR breakage ([#42248](https://github.com/WordPress/gutenberg/pull/42248)).
@@ -1524,7 +1537,7 @@
1524
1537
 
1525
1538
  ## 19.14.0 (2022-06-29)
1526
1539
 
1527
- ### Bug Fix
1540
+ ### Bug Fixes
1528
1541
 
1529
1542
  - `ColorPicker`: Remove horizontal scrollbar when using HSL or RGB color input types. ([#41646](https://github.com/WordPress/gutenberg/pull/41646))
1530
1543
  - `ColorPicker`: Widen hex input field for mobile. ([#42004](https://github.com/WordPress/gutenberg/pull/42004))
@@ -1564,7 +1577,7 @@
1564
1577
 
1565
1578
  ## 19.13.0 (2022-06-15)
1566
1579
 
1567
- ### Bug Fix
1580
+ ### Bug Fixes
1568
1581
 
1569
1582
  - `Tooltip`: Opt in to `__unstableShift` to ensure that the Tooltip is always within the viewport. ([#41524](https://github.com/WordPress/gutenberg/pull/41524))
1570
1583
  - `FormTokenField`: Do not suggest the selected one even if `{ value: string }` is passed ([#41216](https://github.com/WordPress/gutenberg/pull/41216)).
@@ -1598,7 +1611,7 @@
1598
1611
 
1599
1612
  ## 19.12.0 (2022-06-01)
1600
1613
 
1601
- ### Bug Fix
1614
+ ### Bug Fixes
1602
1615
 
1603
1616
  - `Popover`, `Dropdown`, `CustomGradientPicker`: Fix dropdown positioning by always targeting the rendered toggle, and switch off width in the Popover size middleware to stop reducing the width of the popover. ([#41361](https://github.com/WordPress/gutenberg/pull/41361))
1604
1617
  - Fix `InputControl` blocking undo/redo while focused. ([#40518](https://github.com/WordPress/gutenberg/pull/40518))
@@ -1668,7 +1681,7 @@
1668
1681
  - `ToggleControlGroup`: Switch to internal `Icon` component for dashicon support ([40717](https://github.com/WordPress/gutenberg/pull/40717)).
1669
1682
  - Improve `ToolsPanel` accessibility. ([#40716](https://github.com/WordPress/gutenberg/pull/40716))
1670
1683
 
1671
- ### Bug Fix
1684
+ ### Bug Fixes
1672
1685
 
1673
1686
  - The `Button` component now displays the label as the tooltip for icon only buttons. ([#40716](https://github.com/WordPress/gutenberg/pull/40716))
1674
1687
  - Use fake timers and fix usage of async methods from `@testing-library/user-event`. ([#40790](https://github.com/WordPress/gutenberg/pull/40790))
@@ -1682,7 +1695,7 @@
1682
1695
 
1683
1696
  ## 19.9.0 (2022-04-21)
1684
1697
 
1685
- ### Bug Fix
1698
+ ### Bug Fixes
1686
1699
 
1687
1700
  - Consolidate the main black colors to gray-900. Affects `AlignmentMatrixControl`, `InputControl`, `Heading`, `SelectControl`, `Spinner (Experimental)`, and `Text` ([#40391](https://github.com/WordPress/gutenberg/pull/40391)).
1688
1701
 
@@ -1690,7 +1703,7 @@
1690
1703
 
1691
1704
  - Remove individual color object exports from the `utils/colors-values.js` file. Colors should now be used from the main `COLORS` export([#40387](https://github.com/WordPress/gutenberg/pull/40387)).
1692
1705
 
1693
- ### Bug Fix
1706
+ ### Bug Fixes
1694
1707
 
1695
1708
  - `InputControl`: allow user to input a value interactively in Storybook, by removing default value argument ([#40410](https://github.com/WordPress/gutenberg/pull/40410)).
1696
1709
 
@@ -1713,7 +1726,7 @@
1713
1726
  - Add `BorderBoxControl` component ([#38876](https://github.com/WordPress/gutenberg/pull/38876)).
1714
1727
  - Add `ToggleGroupControlOptionIcon` component ([#39760](https://github.com/WordPress/gutenberg/pull/39760)).
1715
1728
 
1716
- ### Bug Fix
1729
+ ### Bug Fixes
1717
1730
 
1718
1731
  - Use `Object.assign` instead of `{ ...spread }` syntax to avoid errors in the code generated by TypeScript ([#39932](https://github.com/WordPress/gutenberg/pull/39932)).
1719
1732
  - `ItemGroup`: Ensure that the Item's text color is not overridden by the user agent's button color ([#40055](https://github.com/WordPress/gutenberg/pull/40055)).
@@ -1739,13 +1752,13 @@
1739
1752
  - Delete the `composeStateReducers` utility function ([#39262](https://github.com/WordPress/gutenberg/pull/39262)).
1740
1753
  - `BoxControl`: stop using `UnitControl`'s deprecated `unit` prop ([#39511](https://github.com/WordPress/gutenberg/pull/39511)).
1741
1754
 
1742
- ### Bug Fix
1755
+ ### Bug Fixes
1743
1756
 
1744
1757
  - `NumberControl`: commit (and constrain) value on `blur` event ([#39186](https://github.com/WordPress/gutenberg/pull/39186)).
1745
1758
  - Fix `UnitControl`'s reset of unit when the quantity value is cleared. ([#39531](https://github.com/WordPress/gutenberg/pull/39531/)).
1746
1759
  - `ResizableBox`: Ensure tooltip text remains on a single line. ([#39623](https://github.com/WordPress/gutenberg/pull/39623)).
1747
1760
 
1748
- ### Deprecation
1761
+ ### Deprecations
1749
1762
 
1750
1763
  - `unit` prop in `UnitControl` marked as deprecated ([#39503](https://github.com/WordPress/gutenberg/pull/39503)).
1751
1764
 
@@ -1758,7 +1771,7 @@
1758
1771
  - `TreeGrid`: Add tests for Home/End keyboard navigation. Add `onFocusRow` callback for Home/End keyboard navigation, this was missed in the implementation PR. Modify test for expanding/collapsing a row as row 1 implements this now. Update README with latest changes. ([#39302](https://github.com/WordPress/gutenberg/pull/39302))
1759
1772
  - `ToggleGroupControlOption`: Calculate width from button content and remove `LabelPlaceholderView` ([#39345](https://github.com/WordPress/gutenberg/pull/39345))
1760
1773
 
1761
- ### Bug Fix
1774
+ ### Bug Fixes
1762
1775
 
1763
1776
  - Normalize `font-family` on `Button`, `ColorPalette`, `ComoboboxControl`, `DateTimePicker`, `FormTokenField`, `InputControl`, `SelectControl`, and `ToggleGroupControl` ([#38969](https://github.com/WordPress/gutenberg/pull/38969)).
1764
1777
  - Fix input value selection of `InputControl`-based controls in Firefox and Safari with axial constraint of drag gesture ([#38968](https://github.com/WordPress/gutenberg/pull/38968)).
@@ -1766,7 +1779,7 @@
1766
1779
 
1767
1780
  ## 19.5.0 (2022-02-23)
1768
1781
 
1769
- ### Bug Fix
1782
+ ### Bug Fixes
1770
1783
 
1771
1784
  - Fix spin buttons of number inputs in Safari ([#38840](https://github.com/WordPress/gutenberg/pull/38840))
1772
1785
  - Show tooltip on toggle custom size button in FontSizePicker ([#38985](https://github.com/WordPress/gutenberg/pull/38985))
@@ -1778,7 +1791,7 @@
1778
1791
 
1779
1792
  ## 19.4.0 (2022-02-10)
1780
1793
 
1781
- ### Bug Fix
1794
+ ### Bug Fixes
1782
1795
 
1783
1796
  - Components: Fix `Slot`/`Fill` Emotion `StyleProvider` ([#38237](https://github.com/WordPress/gutenberg/pull/38237))
1784
1797
  - Reduce height and min-width of the reset button on `ComboBoxControl` for consistency. ([#38020](https://github.com/WordPress/gutenberg/pull/38020))
@@ -1812,7 +1825,7 @@
1812
1825
  - Updated `ToolsPanel` header icon to only show "plus" icon when all items are optional and all are currently hidden ([#38262](https://github.com/WordPress/gutenberg/pull/38262))
1813
1826
  - `TreeGrid`: Fix keyboard navigation for expand/collapse table rows in Firefox ([#37983](https://github.com/WordPress/gutenberg/pull/37983))
1814
1827
 
1815
- ### Bug Fix
1828
+ ### Bug Fixes
1816
1829
 
1817
1830
  - Update the `HexInput` component to accept a pasted value that contains a starting #
1818
1831
  - Update `ToggleGroupControl` background active state to use a simple background color instead of animated backdrop ([38008](https://github.com/WordPress/gutenberg/pull/38008))
@@ -1846,7 +1859,7 @@
1846
1859
  - Add `__experimentalIsRenderedInSidebar` property to the `GradientPicker`and `CustomGradientPicker`. The property changes the color popover behavior to have a special placement behavior appropriate for sidebar UI's.
1847
1860
  - Add `first` and `last` classes to displayed `ToolsPanelItem` group within a `ToolsPanel` ([#37546](https://github.com/WordPress/gutenberg/pull/37546))
1848
1861
 
1849
- ### Bug Fix
1862
+ ### Bug Fixes
1850
1863
 
1851
1864
  - Fixed spacing between `BaseControl` fields and help text within the `ToolsPanel` ([#36334](https://github.com/WordPress/gutenberg/pull/36334))
1852
1865
  - Replaced hardcoded blue in `ColorPicker` with UI theme color ([#36153](https://github.com/WordPress/gutenberg/pull/36153)).
@@ -1869,7 +1882,7 @@
1869
1882
 
1870
1883
  ## 19.1.4 (2021-12-13)
1871
1884
 
1872
- ### Bug Fix
1885
+ ### Bug Fixes
1873
1886
 
1874
1887
  - Improve accessibility and visibility in `ColorPallete` ([#36925](https://github.com/WordPress/gutenberg/pull/36925))
1875
1888
 
@@ -1879,7 +1892,7 @@
1879
1892
 
1880
1893
  ## 19.1.2 (2021-12-06)
1881
1894
 
1882
- ### Bug Fix
1895
+ ### Bug Fixes
1883
1896
 
1884
1897
  - Fixed `GradientPicker` not displaying `CustomGradientPicker` when no gradients are provided ([#36900](https://github.com/WordPress/gutenberg/pull/36900)).
1885
1898
  - Fixed error thrown in `ColorPicker` when used in controlled state in color gradients ([#36941](https://github.com/WordPress/gutenberg/pull/36941)).
@@ -1892,7 +1905,7 @@
1892
1905
 
1893
1906
  - Added a `showTooltip` prop to `ToggleGroupControlOption` in order to display tooltip text (using `<Tooltip />`). ([#36726](https://github.com/WordPress/gutenberg/pull/36726)).
1894
1907
 
1895
- ### Bug Fix
1908
+ ### Bug Fixes
1896
1909
 
1897
1910
  - Fixed a bug which prevented setting `PM` hours correctly in the `DateTimePicker` ([#36878](https://github.com/WordPress/gutenberg/pull/36878)).
1898
1911
 
@@ -1947,7 +1960,7 @@
1947
1960
  - Add an experimental `Navigator` components ([#34904](https://github.com/WordPress/gutenberg/pull/34904)) as a replacement for the previous `Navigation` related components.
1948
1961
  - Update the `ColorPicker` component to the latest design ([#35220](https://github.com/WordPress/gutenberg/pull/35220))
1949
1962
 
1950
- ### Bug Fix
1963
+ ### Bug Fixes
1951
1964
 
1952
1965
  - Fixed rounding of value in `RangeControl` component when it loses focus while the `SHIFT` key is held. ([#35020](https://github.com/WordPress/gutenberg/pull/35020)).
1953
1966
 
@@ -1958,11 +1971,11 @@
1958
1971
 
1959
1972
  ## 17.0.0 (2021-09-09)
1960
1973
 
1961
- ### Breaking Change
1974
+ ### Breaking Changes
1962
1975
 
1963
1976
  - Removed a min-width from the `DropdownMenu` component, allowing the menu to accommodate thin contents like vertical tools menus ([#33995](https://github.com/WordPress/gutenberg/pull/33995)).
1964
1977
 
1965
- ### Bug Fix
1978
+ ### Bug Fixes
1966
1979
 
1967
1980
  - Fixed RTL styles in `Flex` component ([#33729](https://github.com/WordPress/gutenberg/pull/33729)).
1968
1981
  - Fixed unit test errors caused by `CSS.supports` being called in a non-browser environment ([#34572](https://github.com/WordPress/gutenberg/pull/34572)).
@@ -1974,39 +1987,39 @@
1974
1987
 
1975
1988
  ## 16.0.0 (2021-08-23)
1976
1989
 
1977
- ### Breaking Change
1990
+ ### Breaking Changes
1978
1991
 
1979
1992
  - Updated the visual styles of the RangeControl component ([#33824](https://github.com/WordPress/gutenberg/pull/33824)).
1980
1993
 
1981
- ### New Feature
1994
+ ### New Features
1982
1995
 
1983
1996
  - Add `hideLabelFromVision` prop to `RangeControl` ([#33714](https://github.com/WordPress/gutenberg/pull/33714)).
1984
1997
 
1985
- ### Bug Fix
1998
+ ### Bug Fixes
1986
1999
 
1987
2000
  - Listen to `resize` events correctly in `useBreakpointIndex`. This hook is used in `useResponsiveValue` and consequently in the `Flex` and `Grid` components ([#33902](https://github.com/WordPress/gutenberg/pull/33902))
1988
2001
 
1989
2002
  ## 15.0.0 (2021-07-29)
1990
2003
 
1991
- ### Breaking Change
2004
+ ### Breaking Changes
1992
2005
 
1993
2006
  - Upgraded React components to work with v17.0 ([#29118](https://github.com/WordPress/gutenberg/pull/29118)). There are no new features in React v17.0 as explained in the [blog post](https://reactjs.org/blog/2020/10/20/react-v17.html).
1994
2007
 
1995
- ### Deprecation
2008
+ ### Deprecations
1996
2009
 
1997
2010
  - `isScrollable` prop in `CardBody` default value changed from `true` to `false` ([#33490](https://github.com/WordPress/gutenberg/pull/33490))
1998
2011
 
1999
- ### Bug Fix
2012
+ ### Bug Fixes
2000
2013
 
2001
2014
  - Added back `box-sizing: border-box` rule to `CardBody`, `CardHeader` and `CardFooter` components [#33511](https://github.com/WordPress/gutenberg/pull/33511).
2002
2015
 
2003
2016
  ## 14.2.0 (2021-07-21)
2004
2017
 
2005
- ### New Feature
2018
+ ### New Features
2006
2019
 
2007
2020
  - Update the border color used in `CardBody`, `CardHeader`, `CardFooter`, and `CardDivider` to a different shade of gray, in order to match the color used in other components ([#32566](https://github.com/WordPress/gutenberg/pull/32566)).
2008
2021
 
2009
- ### Deprecation
2022
+ ### Deprecations
2010
2023
 
2011
2024
  - `isPrimary`, `isSecondary`, `isTertiary` and `isLink` props in `Button` have been deprecated. Use `variant` instead ([#31713](https://github.com/WordPress/gutenberg/pull/31713)).
2012
2025
  - `isElevated` prop in `Card` has been deprecated. Use `elevation` instead ([#32566](https://github.com/WordPress/gutenberg/pull/32566)).
@@ -2025,7 +2038,7 @@
2025
2038
  - Increase the minimum Node.js version to v12 matching Long Term Support releases ([#31270](https://github.com/WordPress/gutenberg/pull/31270)). Learn more at <https://nodejs.org/en/about/releases/>.
2026
2039
  - The experimental `Text` component has been completely re-written and enhanced with truncation support and separate variant, size, and weight props to allow for greater control. The previous `variant` prop has been completely removed.
2027
2040
 
2028
- ### Deprecation
2041
+ ### Deprecations
2029
2042
 
2030
2043
  - `isReversed` prop in `Flex` component has been deprecated. Use `direction` instead ([#31297](https://github.com/WordPress/gutenberg/pull/31297)).
2031
2044
 
@@ -2035,16 +2048,16 @@
2035
2048
 
2036
2049
  ## 13.0.0 (2021-03-17)
2037
2050
 
2038
- ### Breaking Change
2051
+ ### Breaking Changes
2039
2052
 
2040
2053
  - `onChange` prop of `FocalPointPicker` is called at the end of drag operations. Previously, it was called repetitively while dragging.
2041
2054
 
2042
- ### New Feature
2055
+ ### New Features
2043
2056
 
2044
2057
  - Supports ref forwarding in `withNotices` and `ResizableBox`.
2045
2058
  - Adds `onDrag` prop of `FocalPointPicker`.
2046
2059
 
2047
- ### Bug Fix
2060
+ ### Bug Fixes
2048
2061
 
2049
2062
  - Allows focus of the `FocalPointPicker` draggable area and adjustment with arrow keys. This was added in [#22531](https://github.com/WordPress/gutenberg/pull/22264) but was no longer working.
2050
2063
 
@@ -2054,13 +2067,13 @@
2054
2067
 
2055
2068
  - ComboboxControl: Deburr option labels before filter
2056
2069
 
2057
- ### Breaking Change
2070
+ ### Breaking Changes
2058
2071
 
2059
2072
  - Introduce support for other units and advanced CSS properties on `FontSizePicker`. Provided the value passed to the `FontSizePicker` is a string or one of the size options passed is a string, onChange will start to be called with a string value instead of a number. On WordPress usage, font size options are now automatically converted to strings with the default "px" unit added.
2060
2073
 
2061
2074
  ## 10.1.0 (2020-09-03)
2062
2075
 
2063
- ### New Feature
2076
+ ### New Features
2064
2077
 
2065
2078
  - Add `ToolbarItem` component.
2066
2079
  - Support `label` prop on the `Toolbar` component.
@@ -2071,14 +2084,14 @@
2071
2084
 
2072
2085
  ## 10.0.0 (2020-07-07)
2073
2086
 
2074
- ### Breaking Change
2087
+ ### Breaking Changes
2075
2088
 
2076
2089
  - `NumberControl` no longer automatically transforms values when rendering `value` into a `<input />` HTML element.
2077
2090
  - `Dashicon` component no longer renders SVGs. If you rely on this component, make sure to load the dashicon font.
2078
2091
 
2079
2092
  ## 9.6.0 (2020-05-14)
2080
2093
 
2081
- ### Bug Fix
2094
+ ### Bug Fixes
2082
2095
 
2083
2096
  - Fix and issue that would cause the `Popover` component to throw an error under certain
2084
2097
  circumstances ([#22264](https://github.com/WordPress/gutenberg/pull/22264)).
@@ -2159,7 +2172,7 @@
2159
2172
 
2160
2173
  ## 8.0.0 (2019-06-12)
2161
2174
 
2162
- ### New Feature
2175
+ ### New Features
2163
2176
 
2164
2177
  - Add new `BlockQuotation` block to the primitives folder to support blockquote in a multiplatform way. [#15482](https://github.com/WordPress/gutenberg/pull/15482).
2165
2178
  - `DropdownMenu` now supports passing a [render prop](https://reactjs.org/docs/render-props.html#using-props-other-than-render) as children for more advanced customization.
@@ -2172,22 +2185,22 @@
2172
2185
 
2173
2186
  - Added missing documentation for `DropdownMenu` props `menuLabel`, `position`, `className`.
2174
2187
 
2175
- ### Breaking Change
2188
+ ### Breaking Changes
2176
2189
 
2177
2190
  - `ServerSideRender` is no longer part of components. It was extracted to an independent package `@wordpress/server-side-render`.
2178
2191
 
2179
- ### Bug Fix
2192
+ ### Bug Fixes
2180
2193
 
2181
2194
  - Although `DateTimePicker` does not allow picking the seconds, passed the current seconds as the selected value for seconds when calling `onChange`. Now it passes zero.
2182
2195
 
2183
2196
  ## 7.4.0 (2019-05-21)
2184
2197
 
2185
- ### New Feature
2198
+ ### New Features
2186
2199
 
2187
2200
  - Added a new `HorizontalRule` component.
2188
2201
  - Added a new `Snackbar` component.
2189
2202
 
2190
- ### Bug Fix
2203
+ ### Bug Fixes
2191
2204
 
2192
2205
  - Fixed display of reset button when using RangeControl `allowReset` prop.
2193
2206
  - Fixed minutes field of `DateTimePicker` missed '0' before single digit values.
@@ -2201,17 +2214,17 @@
2201
2214
  - Added a new `preview` prop to the `Placeholder` component which allows to display a preview, for example a media preview when the Placeholder is used in media editing contexts.
2202
2215
  - Added a new `anchorRect` prop to `Popover` which enables a developer to provide a custom `DOMRect` object at which to position the popover.
2203
2216
 
2204
- ### Improvements
2217
+ ### Enhancements
2205
2218
 
2206
2219
  - Limit `Base Control Label` to the width of its content.
2207
2220
 
2208
- ### Bug fixes
2221
+ ### Bug Fixes
2209
2222
 
2210
2223
  - Fix `instanceId` prop passed through to `Button` component via `MenuItems` producing React console error. Fixed by removing the unnecessary use of `withInstanceId` on the `MenuItems` component [#14599](https://github.com/WordPress/gutenberg/pull/14599)
2211
2224
 
2212
2225
  ## 7.2.0 (2019-03-20)
2213
2226
 
2214
- ### Improvements
2227
+ ### Enhancements
2215
2228
 
2216
2229
  - Make `RangeControl` validation rely on the `checkValidity` provided by the browsers instead of using our own validation.
2217
2230
 
@@ -2225,7 +2238,7 @@
2225
2238
 
2226
2239
  - Added a new `Animate` component.
2227
2240
 
2228
- ### Improvements
2241
+ ### Enhancements
2229
2242
 
2230
2243
  - `withFilters` has been optimized to avoid binding hook handlers for each mounted instance of the component, instead using a single centralized hook delegator.
2231
2244
  - `withFilters` has been optimized to reuse a single shared component definition for all filtered instances of the component.
@@ -2236,7 +2249,7 @@
2236
2249
  - Resolves a conflict where two instance of Slot would produce an inconsistent or duplicated rendering output.
2237
2250
  - Allow years between 0 and 1970 in DateTime component.
2238
2251
 
2239
- ### New Feature
2252
+ ### New Features
2240
2253
 
2241
2254
  - `Dropdown` now has a `focusOnMount` prop which is passed directly to the contained `Popover`.
2242
2255
  - `DatePicker` has new prop `isInvalidDate` exposing react-dates' `isOutsideRange`.
@@ -2254,7 +2267,7 @@
2254
2267
 
2255
2268
  ## 7.0.0 (2018-11-20)
2256
2269
 
2257
- ### Breaking Change
2270
+ ### Breaking Changes
2258
2271
 
2259
2272
  - `Dropdown.refresh()` has been removed. The contained `Popover` is now automatically refreshed.
2260
2273
 
@@ -2266,13 +2279,13 @@
2266
2279
 
2267
2280
  - Avoid constantly recomputing the popover position.
2268
2281
 
2269
- ### Polish
2282
+ ### Internal
2270
2283
 
2271
2284
  - Remove `<DateTimePicker />` obsolete `locale` prop (and pass-through to child components) and obsolete `is12Hour` prop pass through to `<DateTime />` [#11649](https://github.com/WordPress/gutenberg/pull/11649)
2272
2285
 
2273
2286
  ## 6.0.0 (2018-11-12)
2274
2287
 
2275
- ### Breaking Change
2288
+ ### Breaking Changes
2276
2289
 
2277
2290
  - The `PanelColor` component has been removed.
2278
2291
 
@@ -2280,18 +2293,18 @@
2280
2293
 
2281
2294
  ## 5.1.0 (2018-11-09)
2282
2295
 
2283
- ### New Feature
2296
+ ### New Features
2284
2297
 
2285
2298
  - Adjust a11y roles for MenuItem component, so that aria-checked is used properly, related change in Editor/Components/BlockNavigationList ([#11431](https://github.com/WordPress/gutenberg/issues/11431)).
2286
2299
  - `Popover` components are now automatically refreshed every 0.5s in order to recalculate their size or position.
2287
2300
 
2288
- ### Deprecation
2301
+ ### Deprecations
2289
2302
 
2290
2303
  - `Dropdown.refresh()` has been deprecated as the contained `Popover` is now automatically refreshed.
2291
2304
 
2292
2305
  ## 5.0.2 (2018-11-03)
2293
2306
 
2294
- ### Polish
2307
+ ### Internal
2295
2308
 
2296
2309
  - Forward `ref` in the `PanelBody` component.
2297
2310
  - Tooltip are no longer removed when Button becomes disabled, it's left to the component rendering the Tooltip.
@@ -2301,32 +2314,32 @@
2301
2314
 
2302
2315
  ## 5.0.0 (2018-10-29)
2303
2316
 
2304
- ### Breaking Change
2317
+ ### Breaking Changes
2305
2318
 
2306
2319
  - `AccessibleSVG` component has been removed. Please use `SVG` instead.
2307
2320
 
2308
- ### New Feature
2321
+ ### New Features
2309
2322
 
2310
2323
  - The `Notice` component accepts an array of action objects via the `actions` prop. Each member object should contain a `label` and either a `url` link string or `onClick` callback function.
2311
2324
 
2312
2325
  ## 4.2.1 (2018-10-22)
2313
2326
 
2314
- ### Bug Fix
2327
+ ### Bug Fixes
2315
2328
 
2316
2329
  - Fix importing `react-dates` stylesheet in production.
2317
2330
 
2318
2331
  ## 4.2.0 (2018-10-19)
2319
2332
 
2320
- ### New Feature
2333
+ ### New Features
2321
2334
 
2322
2335
  - Added a new `ColorPicker` component ([#10564](https://github.com/WordPress/gutenberg/pull/10564)).
2323
2336
  - `MenuItem` now accepts an `info` prop for including an extended description.
2324
2337
 
2325
- ### Bug Fix
2338
+ ### Bug Fixes
2326
2339
 
2327
2340
  - `IconButton` correctly respects a passed `aria-label` prop.
2328
2341
 
2329
- ### Deprecation
2342
+ ### Deprecations
2330
2343
 
2331
2344
  - `PanelColor` has been deprecated in favor of `wp.editor.PanelColorSettings`.
2332
2345
 
@@ -2334,29 +2347,29 @@
2334
2347
 
2335
2348
  ## 4.1.0 (2018-10-10)
2336
2349
 
2337
- ### New Feature
2350
+ ### New Features
2338
2351
 
2339
2352
  - Added a new `ResizableBox` component.
2340
2353
 
2341
2354
  ## 4.0.0 (2018-09-30)
2342
2355
 
2343
- ### Breaking Change
2356
+ ### Breaking Changes
2344
2357
 
2345
2358
  - `Draggable` as a DOM node drag handler has been removed. Please, use `Draggable` as a wrap component for your DOM node drag handler.
2346
2359
 
2347
- ### Deprecation
2360
+ ### Deprecations
2348
2361
 
2349
2362
  - Renamed `AccessibleSVG` component to `SVG`.
2350
2363
 
2351
2364
  ## 3.0.0 (2018-09-05)
2352
2365
 
2353
- ### Breaking Change
2366
+ ### Breaking Changes
2354
2367
 
2355
2368
  - `withAPIData` has been removed. Please use the Core Data module or `@wordpress/api-fetch` directly instead.
2356
2369
  - `Draggable` as a DOM node drag handler has been deprecated. Please, use `Draggable` as a wrap component for your DOM node drag handler.
2357
2370
  - Change how required built-ins are polyfilled with Babel 7 ([#9171](https://github.com/WordPress/gutenberg/pull/9171)). If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using [core-js](https://github.com/zloirock/core-js) or [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill) will add support for these methods.
2358
2371
  - `withContext` has been removed. Please use `wp.element.createContext` instead. See: <https://reactjs.org/docs/context.html>.
2359
2372
 
2360
- ### New Feature
2373
+ ### New Features
2361
2374
 
2362
2375
  - Added a new `AccessibleSVG` component.