@wordpress/components 28.1.0 → 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.
- package/CHANGELOG.md +131 -120
- package/build/custom-select-control-v2/custom-select.js +1 -3
- package/build/custom-select-control-v2/custom-select.js.map +1 -1
- package/build/custom-select-control-v2/legacy-component/index.js +16 -10
- package/build/custom-select-control-v2/legacy-component/index.js.map +1 -1
- package/build/custom-select-control-v2/styles.js +34 -19
- package/build/custom-select-control-v2/styles.js.map +1 -1
- package/build/custom-select-control-v2/types.js.map +1 -1
- package/build/drop-zone/index.js +16 -79
- package/build/drop-zone/index.js.map +1 -1
- package/build/lock-unlock.js +1 -1
- package/build/lock-unlock.js.map +1 -1
- package/build/palette-edit/index.js +30 -38
- package/build/palette-edit/index.js.map +1 -1
- package/build/palette-edit/types.js.map +1 -1
- package/build-module/custom-select-control-v2/custom-select.js +1 -3
- package/build-module/custom-select-control-v2/custom-select.js.map +1 -1
- package/build-module/custom-select-control-v2/legacy-component/index.js +16 -11
- package/build-module/custom-select-control-v2/legacy-component/index.js.map +1 -1
- package/build-module/custom-select-control-v2/styles.js +33 -18
- package/build-module/custom-select-control-v2/styles.js.map +1 -1
- package/build-module/custom-select-control-v2/types.js.map +1 -1
- package/build-module/drop-zone/index.js +17 -80
- package/build-module/drop-zone/index.js.map +1 -1
- package/build-module/lock-unlock.js +1 -1
- package/build-module/lock-unlock.js.map +1 -1
- package/build-module/palette-edit/index.js +31 -39
- package/build-module/palette-edit/index.js.map +1 -1
- package/build-module/palette-edit/types.js.map +1 -1
- package/build-style/style-rtl.css +28 -6
- package/build-style/style.css +28 -6
- package/build-types/custom-select-control/stories/index.story.d.ts +15 -0
- package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/legacy-component/index.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/styles.d.ts +4 -0
- package/build-types/custom-select-control-v2/styles.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/types.d.ts +1 -0
- package/build-types/custom-select-control-v2/types.d.ts.map +1 -1
- package/build-types/drop-zone/index.d.ts +3 -0
- package/build-types/drop-zone/index.d.ts.map +1 -1
- package/build-types/palette-edit/index.d.ts.map +1 -1
- package/build-types/palette-edit/types.d.ts +1 -3
- package/build-types/palette-edit/types.d.ts.map +1 -1
- package/package.json +19 -19
- package/src/custom-select-control/stories/index.story.tsx +32 -3
- package/src/custom-select-control/test/index.js +205 -22
- package/src/custom-select-control-v2/custom-select.tsx +1 -1
- package/src/custom-select-control-v2/legacy-component/index.tsx +18 -10
- package/src/custom-select-control-v2/legacy-component/test/index.tsx +220 -38
- package/src/custom-select-control-v2/styles.ts +22 -10
- package/src/custom-select-control-v2/types.ts +1 -0
- package/src/drop-zone/index.tsx +17 -76
- package/src/drop-zone/style.scss +51 -16
- package/src/lock-unlock.js +1 -1
- package/src/palette-edit/index.tsx +33 -45
- package/src/palette-edit/test/index.tsx +2 -4
- package/src/palette-edit/types.ts +1 -3
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +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
|
+
|
|
5
19
|
## 28.1.0 (2024-06-15)
|
|
6
20
|
|
|
7
21
|
### Enhancements
|
|
8
22
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
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))
|
|
11
25
|
|
|
12
26
|
### Bug Fixes
|
|
13
27
|
|
|
@@ -58,7 +72,7 @@
|
|
|
58
72
|
- Upgraded the @types/react and @types/react-dom packages ([#60796](https://github.com/WordPress/gutenberg/pull/60796)).
|
|
59
73
|
- `Placeholder`: Tweak placeholder style ([#61590](https://github.com/WordPress/gutenberg/pull/61590)).
|
|
60
74
|
|
|
61
|
-
### Bug
|
|
75
|
+
### Bug Fixes
|
|
62
76
|
|
|
63
77
|
- `ToolsPanel`: Fix sticking “Reset” option ([#60621](https://github.com/WordPress/gutenberg/pull/60621)).
|
|
64
78
|
- Fix an issue where types used a synthetic default import ([#61679](https://github.com/WordPress/gutenberg/pull/61679)).
|
|
@@ -75,7 +89,7 @@
|
|
|
75
89
|
- `DropZone`: Avoid a media query on mount [#60546](https://github.com/WordPress/gutenberg/pull/60546)).
|
|
76
90
|
- `ComboboxControl`: Simplify string normalization ([#60893](https://github.com/WordPress/gutenberg/pull/60893)).
|
|
77
91
|
|
|
78
|
-
### Bug
|
|
92
|
+
### Bug Fixes
|
|
79
93
|
|
|
80
94
|
- `BaseControl`, `InputControl`: Remove usage of aria-details from InputControl and BaseControl ([#61203](https://github.com/WordPress/gutenberg/pull/61203)).
|
|
81
95
|
- `SlotFill`: fixed missing `getServerSnapshot` parameter in slot map ([#60943](https://github.com/WordPress/gutenberg/pull/60943)).
|
|
@@ -87,7 +101,7 @@
|
|
|
87
101
|
|
|
88
102
|
## 27.4.0 (2024-04-19)
|
|
89
103
|
|
|
90
|
-
###
|
|
104
|
+
### Deprecations
|
|
91
105
|
|
|
92
106
|
- `Navigation`: Soft deprecate component ([#59182](https://github.com/WordPress/gutenberg/pull/59182)).
|
|
93
107
|
|
|
@@ -102,7 +116,7 @@
|
|
|
102
116
|
- `ToggleControl`: Forwards ref to FormToggle ([#60234](https://github.com/WordPress/gutenberg/pull/60234)).
|
|
103
117
|
- `CheckboxControl`: Update help text alignment ([#60787](https://github.com/WordPress/gutenberg/pull/60787)).
|
|
104
118
|
|
|
105
|
-
### Bug
|
|
119
|
+
### Bug Fixes
|
|
106
120
|
|
|
107
121
|
- `Truncate`: Fix link control link preview when it displays long URLs ([#60890](https://github.com/WordPress/gutenberg/pull/60890)).
|
|
108
122
|
|
|
@@ -124,7 +138,7 @@
|
|
|
124
138
|
|
|
125
139
|
## 27.3.0 (2024-04-03)
|
|
126
140
|
|
|
127
|
-
### Bug
|
|
141
|
+
### Bug Fixes
|
|
128
142
|
|
|
129
143
|
- `Dropdown`: Fix bug with separator styling. ([#60336](https://github.com/WordPress/gutenberg/pull/60336)).
|
|
130
144
|
- `InputControl`: Ignore IME events when `isPressEnterToChange` is enabled ([#60090](https://github.com/WordPress/gutenberg/pull/60090)).
|
|
@@ -157,7 +171,7 @@
|
|
|
157
171
|
- `Text`, `Heading`, `ItemGroup` : Update the line height from 1.2 to 1.4 ([#60041](https://github.com/WordPress/gutenberg/pull/60041)).
|
|
158
172
|
- `Autocomplete` : match the autocomplete styling to that of List View and Command Palette([#60131](https://github.com/WordPress/gutenberg/pull/60131)).
|
|
159
173
|
|
|
160
|
-
###
|
|
174
|
+
### Deprecations
|
|
161
175
|
|
|
162
176
|
- `isSmall` prop in `Button` component has been deprecated. Use `size="small"` prop instead ([#59734](https://github.com/WordPress/gutenberg/pull/59734)).
|
|
163
177
|
|
|
@@ -165,14 +179,14 @@
|
|
|
165
179
|
|
|
166
180
|
- `Button`: Keep deprecated props in type definitions ([#59913](https://github.com/WordPress/gutenberg/pull/59913)).
|
|
167
181
|
|
|
168
|
-
### Bug
|
|
182
|
+
### Bug Fixes
|
|
169
183
|
|
|
170
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)).
|
|
171
185
|
- `DateTimePicker`: Change day button size back from 32px to 28px ([#59990](https://github.com/WordPress/gutenberg/pull/59990)).
|
|
172
186
|
|
|
173
187
|
## 27.1.0 (2024-03-06)
|
|
174
188
|
|
|
175
|
-
### Bug
|
|
189
|
+
### Bug Fixes
|
|
176
190
|
|
|
177
191
|
- `InputControl`: Fix sample code on InputControl docs [#59517](https://github.com/WordPress/gutenberg/pull/59517)
|
|
178
192
|
- `Tooltip`: Explicitly set system font to avoid CSS bleed ([#59307](https://github.com/WordPress/gutenberg/pull/59307)).
|
|
@@ -196,7 +210,7 @@
|
|
|
196
210
|
|
|
197
211
|
- `CustomSelectControl`: Remove deprecated `__nextUnconstrainedWidth` prop and promote to default behavior ([#58974](https://github.com/WordPress/gutenberg/pull/58974)).
|
|
198
212
|
|
|
199
|
-
### Bug
|
|
213
|
+
### Bug Fixes
|
|
200
214
|
|
|
201
215
|
- `ToolbarButton`: Center text for short labels ([#59117](https://github.com/WordPress/gutenberg/pull/59117)).
|
|
202
216
|
|
|
@@ -214,7 +228,7 @@
|
|
|
214
228
|
|
|
215
229
|
## 26.0.1 (2024-02-13)
|
|
216
230
|
|
|
217
|
-
### Bug
|
|
231
|
+
### Bug Fixes
|
|
218
232
|
|
|
219
233
|
- `Modal`: Add `box-sizing` reset style ([#58905](https://github.com/WordPress/gutenberg/pull/58905)).
|
|
220
234
|
- `Popover`: Fix positioning in nested iframes by upgrading Floating UI packages to their latest versions ([#58932](https://github.com/WordPress/gutenberg/pull/58932)).
|
|
@@ -242,7 +256,7 @@
|
|
|
242
256
|
- `CheckboxControl`: Remove ability for label prop to be false ([#58339](https://github.com/WordPress/gutenberg/pull/58339)).
|
|
243
257
|
- `FocalPointPicker`: Apply modern styling ([#58459](https://github.com/WordPress/gutenberg/pull/58459)).
|
|
244
258
|
|
|
245
|
-
### Bug
|
|
259
|
+
### Bug Fixes
|
|
246
260
|
|
|
247
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)).
|
|
248
262
|
- `DateTime`: Add a timezone offset value for display purposes. ([#56682](https://github.com/WordPress/gutenberg/pull/56682)).
|
|
@@ -284,7 +298,7 @@
|
|
|
284
298
|
- `SlotFill`: fix typo in use-slot-fills return docs ([#57654](https://github.com/WordPress/gutenberg/pull/57654))
|
|
285
299
|
- `Popover`: Adding `constrainTabbing` prop to `useDialog` hook ([#57962](https://github.com/WordPress/gutenberg/pull/57962))
|
|
286
300
|
|
|
287
|
-
### Bug
|
|
301
|
+
### Bug Fixes
|
|
288
302
|
|
|
289
303
|
- `ToggleGroupControl`: Improve controlled value detection ([#57770](https://github.com/WordPress/gutenberg/pull/57770)).
|
|
290
304
|
- `Tooltip`: Improve props forwarding to children of nested `Tooltip` components ([#57878](https://github.com/WordPress/gutenberg/pull/57878)).
|
|
@@ -299,7 +313,7 @@
|
|
|
299
313
|
|
|
300
314
|
## 25.15.0 (2024-01-10)
|
|
301
315
|
|
|
302
|
-
### Bug
|
|
316
|
+
### Bug Fixes
|
|
303
317
|
|
|
304
318
|
- `NumberControl`: Make increment and decrement buttons keyboard accessible. ([#57402](https://github.com/WordPress/gutenberg/pull/57402)).
|
|
305
319
|
- `DropdownMenu V2`: better fallback on browsers that don't support CSS subgrid([#57327](https://github.com/WordPress/gutenberg/pull/57327)).
|
|
@@ -351,7 +365,7 @@
|
|
|
351
365
|
- `FontSizePicker`: Add opt-in prop for 40px default size ([#56804](https://github.com/WordPress/gutenberg/pull/56804)).
|
|
352
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)).
|
|
353
367
|
|
|
354
|
-
### Bug
|
|
368
|
+
### Bug Fixes
|
|
355
369
|
|
|
356
370
|
- `PaletteEdit`: temporary custom gradient not saving ([#56896](https://github.com/WordPress/gutenberg/pull/56896)).
|
|
357
371
|
- `ToggleGroupControl`: react correctly to external controlled updates ([#56678](https://github.com/WordPress/gutenberg/pull/56678)).
|
|
@@ -386,7 +400,7 @@
|
|
|
386
400
|
- `Button`: Add focus rings to focusable disabled buttons ([#56383](https://github.com/WordPress/gutenberg/pull/56383)).
|
|
387
401
|
- `InserterButton`: Move mobile InserterButton from components package to block-editor package ([#56494](https://github.com/WordPress/gutenberg/pull/56494))
|
|
388
402
|
|
|
389
|
-
### Bug
|
|
403
|
+
### Bug Fixes
|
|
390
404
|
|
|
391
405
|
- `DateTime`: Make the Timezone indication render a tooltip only when necessary. ([#56214](https://github.com/WordPress/gutenberg/pull/56214)).
|
|
392
406
|
- `ToolsPanelItem`: Use useLayoutEffect to prevent rendering glitch for last panel item styling. ([#56536](https://github.com/WordPress/gutenberg/pull/56536)).
|
|
@@ -406,14 +420,11 @@
|
|
|
406
420
|
|
|
407
421
|
- `Slot`: add `style` prop to `bubblesVirtually` version ([#56428](https://github.com/WordPress/gutenberg/pull/56428))
|
|
408
422
|
- Introduce experimental new version of `CustomSelectControl` based on `ariakit` ([#55790](https://github.com/WordPress/gutenberg/pull/55790))
|
|
409
|
-
|
|
410
|
-
### Code Quality
|
|
411
|
-
|
|
412
423
|
- `Composite`: add unit tests for `useCompositeState` ([#56645](https://github.com/WordPress/gutenberg/pull/56645)).
|
|
413
424
|
|
|
414
425
|
## 25.12.0 (2023-11-16)
|
|
415
426
|
|
|
416
|
-
### Bug
|
|
427
|
+
### Bug Fixes
|
|
417
428
|
|
|
418
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)).
|
|
419
430
|
|
|
@@ -435,7 +446,7 @@
|
|
|
435
446
|
- `ToggleGroupControl`: Add opt-in prop for 40px default size ([#55789](https://github.com/WordPress/gutenberg/pull/55789)).
|
|
436
447
|
- `TextControl`: Add opt-in prop for 40px default size ([#55471](https://github.com/WordPress/gutenberg/pull/55471)).
|
|
437
448
|
|
|
438
|
-
### Bug
|
|
449
|
+
### Bug Fixes
|
|
439
450
|
|
|
440
451
|
- `DropdownMenu`: remove extra vertical space around the toggle button ([#56136](https://github.com/WordPress/gutenberg/pull/56136)).
|
|
441
452
|
- Package should not depend on `@ariakit/test`, that package is only needed for testing ([#56091](https://github.com/WordPress/gutenberg/pull/56091)).
|
|
@@ -446,7 +457,7 @@
|
|
|
446
457
|
|
|
447
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)).
|
|
448
459
|
|
|
449
|
-
### Bug
|
|
460
|
+
### Bug Fixes
|
|
450
461
|
|
|
451
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)).
|
|
452
463
|
- Improve Button saving state accessibility. ([#55547](https://github.com/WordPress/gutenberg/pull/55547))
|
|
@@ -467,7 +478,7 @@
|
|
|
467
478
|
- `Tabs`: Expose via private APIs ([#55327](https://github.com/WordPress/gutenberg/pull/55327)).
|
|
468
479
|
- `ColorPalette`/`ToggleGroupControl/ToggleGroupControlOptionBase`: add `type="button"` attribute to native `<button>`s ([#55125](https://github.com/WordPress/gutenberg/pull/55125)).
|
|
469
480
|
|
|
470
|
-
### Bug
|
|
481
|
+
### Bug Fixes
|
|
471
482
|
|
|
472
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)).
|
|
473
484
|
- `Modal`: fix closing when contained iframe is focused ([#51602](https://github.com/WordPress/gutenberg/pull/51602)).
|
|
@@ -495,7 +506,7 @@
|
|
|
495
506
|
- Wrapped `TextareaControl` in a `forwardRef` call ([#54975](https://github.com/WordPress/gutenberg/pull/54975)).
|
|
496
507
|
- `Composite`/`AlignmentMatrixControl`/`CircularOptionPicker`: Starts the `Composite` migration from `reakit` to `ariakit` ([#54225](https://github.com/WordPress/gutenberg/pull/54225)).
|
|
497
508
|
|
|
498
|
-
### Bug
|
|
509
|
+
### Bug Fixes
|
|
499
510
|
|
|
500
511
|
- `Placeholder`: Improved DOM structure and screen reader announcements ([#45801](https://github.com/WordPress/gutenberg/pull/45801)).
|
|
501
512
|
- `DateTimePicker`: fix onChange callback check so that it also works inside iframes ([#54669](https://github.com/WordPress/gutenberg/pull/54669)).
|
|
@@ -541,7 +552,7 @@
|
|
|
541
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)).
|
|
542
553
|
- `Sandbox`: Add `tabIndex` prop ([#54408](https://github.com/WordPress/gutenberg/pull/54408)).
|
|
543
554
|
|
|
544
|
-
### Bug
|
|
555
|
+
### Bug Fixes
|
|
545
556
|
|
|
546
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)).
|
|
547
558
|
- `Tooltip`: dynamically render in the DOM only when visible ([#54312](https://github.com/WordPress/gutenberg/pull/54312)).
|
|
@@ -577,7 +588,7 @@
|
|
|
577
588
|
|
|
578
589
|
## 25.7.0 (2023-08-31)
|
|
579
590
|
|
|
580
|
-
### Breaking
|
|
591
|
+
### Breaking Changes
|
|
581
592
|
|
|
582
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)).
|
|
583
594
|
|
|
@@ -586,7 +597,7 @@
|
|
|
586
597
|
- `ProgressBar`: Add transition to determinate indicator ([#53877](https://github.com/WordPress/gutenberg/pull/53877)).
|
|
587
598
|
- Prevent nested `SlotFillProvider` from rendering ([#53940](https://github.com/WordPress/gutenberg/pull/53940)).
|
|
588
599
|
|
|
589
|
-
### Bug
|
|
600
|
+
### Bug Fixes
|
|
590
601
|
|
|
591
602
|
- `SandBox`: Fix the cleanup method in useEffect ([#53796](https://github.com/WordPress/gutenberg/pull/53796)).
|
|
592
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)).
|
|
@@ -612,7 +623,7 @@
|
|
|
612
623
|
- Components: Move accent colors to theme context ([#53631](https://github.com/WordPress/gutenberg/pull/53631)).
|
|
613
624
|
- `ProgressBar`: Use the new theme system accent for indicator color ([#53632](https://github.com/WordPress/gutenberg/pull/53632)).
|
|
614
625
|
|
|
615
|
-
### Bug
|
|
626
|
+
### Bug Fixes
|
|
616
627
|
|
|
617
628
|
- `Button`: add `:disabled` selector to reset hover color for disabled buttons ([#53411](https://github.com/WordPress/gutenberg/pull/53411)).
|
|
618
629
|
|
|
@@ -626,7 +637,7 @@
|
|
|
626
637
|
|
|
627
638
|
## 25.5.0 (2023-08-10)
|
|
628
639
|
|
|
629
|
-
### New
|
|
640
|
+
### New Features
|
|
630
641
|
|
|
631
642
|
- Add a new `ProgressBar` component. ([#53030](https://github.com/WordPress/gutenberg/pull/53030)).
|
|
632
643
|
|
|
@@ -636,7 +647,7 @@
|
|
|
636
647
|
- `MenuItemsChoice`, `MenuItem`: Support a `disabled` prop on a menu item ([#52737](https://github.com/WordPress/gutenberg/pull/52737)).
|
|
637
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)).
|
|
638
649
|
|
|
639
|
-
### Bug
|
|
650
|
+
### Bug Fixes
|
|
640
651
|
|
|
641
652
|
- `Modal`: Fix loss of focus when clicking outside ([#52653](https://github.com/WordPress/gutenberg/pull/52653)).
|
|
642
653
|
|
|
@@ -647,7 +658,7 @@
|
|
|
647
658
|
- `TextControl`: Add `id` prop to allow for custom IDs in `TextControl`s ([#52028](https://github.com/WordPress/gutenberg/pull/52028)).
|
|
648
659
|
- `Navigator`: Add `replace` option to `navigator.goTo()` and `navigator.goToParent()` ([#52456](https://github.com/WordPress/gutenberg/pull/52456)).
|
|
649
660
|
|
|
650
|
-
### Bug
|
|
661
|
+
### Bug Fixes
|
|
651
662
|
|
|
652
663
|
- `Popover`: Pin `react-dropdown-menu` version to avoid breaking changes in dependency updates. ([#52356](https://github.com/WordPress/gutenberg/pull/52356)).
|
|
653
664
|
- `Item`: Unify focus style and add default font styles. ([#52495](https://github.com/WordPress/gutenberg/pull/52495)).
|
|
@@ -664,7 +675,7 @@
|
|
|
664
675
|
- `ItemGroup`: Update button focus state styles to target `:focus-visible` rather than `:focus`. ([#51787](https://github.com/WordPress/gutenberg/pull/51787)).
|
|
665
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)).
|
|
666
677
|
|
|
667
|
-
### Bug
|
|
678
|
+
### Bug Fixes
|
|
668
679
|
|
|
669
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)).
|
|
670
681
|
- `ZStack`: ZStack: fix component bounding box to match children ([#51836](https://github.com/WordPress/gutenberg/pull/51836)).
|
|
@@ -682,7 +693,7 @@
|
|
|
682
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)).
|
|
683
694
|
- `ItemGroup`: Update button focus state styles to target `:focus-visible` rather than `:focus`. ([#51787](https://github.com/WordPress/gutenberg/pull/51787)).
|
|
684
695
|
|
|
685
|
-
### Bug
|
|
696
|
+
### Bug Fixes
|
|
686
697
|
|
|
687
698
|
- `Popover`: Allow legitimate 0 positions to update popover position ([#51320](https://github.com/WordPress/gutenberg/pull/51320)).
|
|
688
699
|
- `Button`: Remove unnecessary margin from dashicon ([#51395](https://github.com/WordPress/gutenberg/pull/51395)).
|
|
@@ -704,7 +715,7 @@
|
|
|
704
715
|
- `BorderControl`: Improve color code readability in aria-label ([#51197](https://github.com/WordPress/gutenberg/pull/51197)).
|
|
705
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)).
|
|
706
717
|
|
|
707
|
-
### Bug
|
|
718
|
+
### Bug Fixes
|
|
708
719
|
|
|
709
720
|
- `FocalPointUnitControl`: Add aria-labels ([#50993](https://github.com/WordPress/gutenberg/pull/50993)).
|
|
710
721
|
|
|
@@ -734,7 +745,7 @@
|
|
|
734
745
|
- Added experimental v2 of `DropdownMenu` ([#49473](https://github.com/WordPress/gutenberg/pull/49473)).
|
|
735
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)).
|
|
736
747
|
|
|
737
|
-
### Bug
|
|
748
|
+
### Bug Fixes
|
|
738
749
|
|
|
739
750
|
- `ColorPicker`: Add an outline when the color picker select box is focused([#50609](https://github.com/WordPress/gutenberg/pull/50609)).
|
|
740
751
|
- `InputControl`: Fix focus style to support Windows High Contrast mode ([#50772](https://github.com/WordPress/gutenberg/pull/50772)).
|
|
@@ -752,7 +763,7 @@
|
|
|
752
763
|
|
|
753
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)).
|
|
754
765
|
|
|
755
|
-
### Bug
|
|
766
|
+
### Bug Fixes
|
|
756
767
|
|
|
757
768
|
- `NavigableContainer`: do not trap focus in `TabbableContainer` ([#49846](https://github.com/WordPress/gutenberg/pull/49846)).
|
|
758
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)).
|
|
@@ -803,7 +814,7 @@
|
|
|
803
814
|
- `SlotFill`: Added util for creating private SlotFills and supporting Symbol keys ([#49819](https://github.com/WordPress/gutenberg/pull/49819)).
|
|
804
815
|
- `IconType`: Export for external use ([#49649](https://github.com/WordPress/gutenberg/pull/49649)).
|
|
805
816
|
|
|
806
|
-
### Bug
|
|
817
|
+
### Bug Fixes
|
|
807
818
|
|
|
808
819
|
- `CheckboxControl`: Add support custom IDs ([#49977](https://github.com/WordPress/gutenberg/pull/49977)).
|
|
809
820
|
|
|
@@ -826,7 +837,7 @@
|
|
|
826
837
|
- `Spinner`: add explicit opacity and background styles ([#49695](https://github.com/WordPress/gutenberg/pull/49695)).
|
|
827
838
|
- Make TypeScript types available for consumers ([#49229](https://github.com/WordPress/gutenberg/pull/49229)).
|
|
828
839
|
|
|
829
|
-
### Bug
|
|
840
|
+
### Bug Fixes
|
|
830
841
|
|
|
831
842
|
- `Snackbar`: Fix insufficient color contrast on hover ([#49682](https://github.com/WordPress/gutenberg/pull/49682)).
|
|
832
843
|
|
|
@@ -847,7 +858,7 @@
|
|
|
847
858
|
- `AnglePickerControl`: Style to better fit in narrow contexts and improve RTL layout ([#49046](https://github.com/WordPress/gutenberg/pull/49046)).
|
|
848
859
|
- `ImageSizeControl`: Use large 40px sizes ([#49113](https://github.com/WordPress/gutenberg/pull/49113)).
|
|
849
860
|
|
|
850
|
-
### Bug
|
|
861
|
+
### Bug Fixes
|
|
851
862
|
|
|
852
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)).
|
|
853
864
|
- `InputControl`: Fix misaligned textarea input control ([#49116](https://github.com/WordPress/gutenberg/pull/49116)).
|
|
@@ -866,7 +877,7 @@
|
|
|
866
877
|
- `Navigator`: Disable initial screen animation ([#49062](https://github.com/WordPress/gutenberg/pull/49062)).
|
|
867
878
|
- `FormTokenField`: Hide suggestions list on blur event if the input value is invalid ([#48785](https://github.com/WordPress/gutenberg/pull/48785)).
|
|
868
879
|
|
|
869
|
-
### Bug
|
|
880
|
+
### Bug Fixes
|
|
870
881
|
|
|
871
882
|
- `ResponsiveWrapper`: use `aspect-ratio` CSS prop, add support for `SVG` elements ([#48573](https://github.com/WordPress/gutenberg/pull/48573).
|
|
872
883
|
- `ResizeTooltip`: Use `default.fontFamily` on tooltip ([#48805](https://github.com/WordPress/gutenberg/pull/48805).
|
|
@@ -906,7 +917,7 @@
|
|
|
906
917
|
|
|
907
918
|
## 23.4.0 (2023-02-15)
|
|
908
919
|
|
|
909
|
-
### Bug
|
|
920
|
+
### Bug Fixes
|
|
910
921
|
|
|
911
922
|
- `ToolsPanel`: fix type inconsistencies between types, docs and normal component usage ([47944](https://github.com/WordPress/gutenberg/pull/47944)).
|
|
912
923
|
- `SelectControl`: Fix styling when `multiple` prop is enabled ([#47893](https://github.com/WordPress/gutenberg/pull/43213)).
|
|
@@ -965,7 +976,7 @@
|
|
|
965
976
|
- `Notice`: refactor to TypeScript ([47118](https://github.com/WordPress/gutenberg/pull/47118)).
|
|
966
977
|
- `Popover`: Take iframe element scaling into account ([47004](https://github.com/WordPress/gutenberg/pull/47004)).
|
|
967
978
|
|
|
968
|
-
### Bug
|
|
979
|
+
### Bug Fixes
|
|
969
980
|
|
|
970
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)).
|
|
971
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)).
|
|
@@ -982,7 +993,7 @@
|
|
|
982
993
|
- `ResponsiveWrapper`: Convert to TypeScript ([#46480](https://github.com/WordPress/gutenberg/pull/46480)).
|
|
983
994
|
- `ItemGroup`: migrate Storybook to controls, refactor to TypeScript ([46945](https://github.com/WordPress/gutenberg/pull/46945)).
|
|
984
995
|
|
|
985
|
-
### Bug
|
|
996
|
+
### Bug Fixes
|
|
986
997
|
|
|
987
998
|
- `Placeholder`: set fixed right margin for label's icon ([46918](https://github.com/WordPress/gutenberg/pull/46918)).
|
|
988
999
|
- `TreeGrid`: Fix right-arrow keyboard navigation when a row contains more than two focusable elements ([46998](https://github.com/WordPress/gutenberg/pull/46998)).
|
|
@@ -999,13 +1010,13 @@
|
|
|
999
1010
|
|
|
1000
1011
|
- Updated dependencies to require React 18 ([45235](https://github.com/WordPress/gutenberg/pull/45235))
|
|
1001
1012
|
|
|
1002
|
-
### New
|
|
1013
|
+
### New Features
|
|
1003
1014
|
|
|
1004
1015
|
- `TabPanel`: support manual tab activation ([#46004](https://github.com/WordPress/gutenberg/pull/46004)).
|
|
1005
1016
|
- `TabPanel`: support disabled prop for tab buttons ([#46471](https://github.com/WordPress/gutenberg/pull/46471)).
|
|
1006
1017
|
- `BaseControl`: Add `useBaseControlProps` hook to help generate id-releated props ([#46170](https://github.com/WordPress/gutenberg/pull/46170)).
|
|
1007
1018
|
|
|
1008
|
-
### Bug
|
|
1019
|
+
### Bug Fixes
|
|
1009
1020
|
|
|
1010
1021
|
- `ColorPalette`: show "Clear" button even when colors array is empty ([#46001](https://github.com/WordPress/gutenberg/pull/46001)).
|
|
1011
1022
|
- `InputControl`: Fix internal `Flex` wrapper usage that could add an unintended `height: 100%` ([#46213](https://github.com/WordPress/gutenberg/pull/46213)).
|
|
@@ -1064,7 +1075,7 @@
|
|
|
1064
1075
|
|
|
1065
1076
|
- `AnglePickerControl`: remove `:focus-visible' outline on `CircleOutlineWrapper` ([#45758](https://github.com/WordPress/gutenberg/pull/45758))
|
|
1066
1077
|
|
|
1067
|
-
### Bug
|
|
1078
|
+
### Bug Fixes
|
|
1068
1079
|
|
|
1069
1080
|
- `FormTokenField`: Fix duplicate input in IME composition ([#45607](https://github.com/WordPress/gutenberg/pull/45607)).
|
|
1070
1081
|
- `Autocomplete`: Check key events more strictly in IME composition ([#45626](https://github.com/WordPress/gutenberg/pull/45626)).
|
|
@@ -1108,7 +1119,7 @@
|
|
|
1108
1119
|
- `Popover`: the deprecation messages for anchor-related props (`anchorRef`, `anchorRect`, `getAnchorRect`) have been updated. ([#45195](https://github.com/WordPress/gutenberg/pull/45195)).
|
|
1109
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)).
|
|
1110
1121
|
|
|
1111
|
-
### New
|
|
1122
|
+
### New Features
|
|
1112
1123
|
|
|
1113
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))
|
|
1114
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)).
|
|
@@ -1124,7 +1135,7 @@
|
|
|
1124
1135
|
- `ToggleGroupControl`: Add `isDeselectable` prop to allow deselecting the selected option ([#45123](https://github.com/WordPress/gutenberg/pull/45123)).
|
|
1125
1136
|
- `FontSizePicker`: Improve hint text shown next to 'Font size' label ([#44966](https://github.com/WordPress/gutenberg/pull/44966)).
|
|
1126
1137
|
|
|
1127
|
-
### Bug
|
|
1138
|
+
### Bug Fixes
|
|
1128
1139
|
|
|
1129
1140
|
- `useNavigateRegions`: Add new keyboard shortcut alias to cover backtick and tilde keys inconsistencies across browsers ([#45019](https://github.com/WordPress/gutenberg/pull/45019)).
|
|
1130
1141
|
- `Button`: Tweak the destructive button primary, link, and default variants ([#44427](https://github.com/WordPress/gutenberg/pull/44427)).
|
|
@@ -1167,7 +1178,7 @@
|
|
|
1167
1178
|
|
|
1168
1179
|
## 21.3.0 (2022-10-19)
|
|
1169
1180
|
|
|
1170
|
-
### Bug
|
|
1181
|
+
### Bug Fixes
|
|
1171
1182
|
|
|
1172
1183
|
- `FontSizePicker`: Ensure that fluid font size presets appear correctly in the UI controls ([#44791](https://github.com/WordPress/gutenberg/pull/44791)).
|
|
1173
1184
|
- `ToggleGroupControl`: Remove unsupported `disabled` prop from types, and correctly mark `label` prop as required ([#45114](https://github.com/WordPress/gutenberg/pull/45114)).
|
|
@@ -1197,7 +1208,7 @@
|
|
|
1197
1208
|
- `BorderBoxControl`: Omit unit select when width values are mixed ([#44592](https://github.com/WordPress/gutenberg/pull/44592))
|
|
1198
1209
|
- `BorderControl`: Add ability to disable unit selection ([#44592](https://github.com/WordPress/gutenberg/pull/44592))
|
|
1199
1210
|
|
|
1200
|
-
### Bug
|
|
1211
|
+
### Bug Fixes
|
|
1201
1212
|
|
|
1202
1213
|
- `Popover`: fix limitShift logic by adding iframe offset correctly ([#42950](https://github.com/WordPress/gutenberg/pull/42950)).
|
|
1203
1214
|
- `Popover`: refine position-to-placement conversion logic, add tests ([#44377](https://github.com/WordPress/gutenberg/pull/44377)).
|
|
@@ -1230,7 +1241,7 @@
|
|
|
1230
1241
|
|
|
1231
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)).
|
|
1232
1243
|
|
|
1233
|
-
### Bug
|
|
1244
|
+
### Bug Fixes
|
|
1234
1245
|
|
|
1235
1246
|
- `Button`: Remove unexpected `has-text` class when empty children are passed ([#44198](https://github.com/WordPress/gutenberg/pull/44198)).
|
|
1236
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.
|
|
@@ -1256,7 +1267,7 @@
|
|
|
1256
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)).
|
|
1257
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)).
|
|
1258
1269
|
|
|
1259
|
-
### Bug
|
|
1270
|
+
### Bug Fixes
|
|
1260
1271
|
|
|
1261
1272
|
- `Button`, `Icon`: Fix `iconSize` prop doesn't work with some icons ([#43821](https://github.com/WordPress/gutenberg/pull/43821)).
|
|
1262
1273
|
- `InputControl`, `NumberControl`, `UnitControl`: Fix margin when `labelPosition` is `bottom` ([#43995](https://github.com/WordPress/gutenberg/pull/43995)).
|
|
@@ -1321,7 +1332,7 @@
|
|
|
1321
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)).
|
|
1322
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)).
|
|
1323
1334
|
|
|
1324
|
-
### Bug
|
|
1335
|
+
### Bug Fixes
|
|
1325
1336
|
|
|
1326
1337
|
- `AlignmentMatrixControl`: keep the physical direction in RTL languages ([#43126](https://github.com/WordPress/gutenberg/pull/43126)).
|
|
1327
1338
|
- `AlignmentMatrixControl`: Fix the `width` prop so it works as intended ([#43482](https://github.com/WordPress/gutenberg/pull/43482)).
|
|
@@ -1392,7 +1403,7 @@
|
|
|
1392
1403
|
|
|
1393
1404
|
## 19.17.0 (2022-08-10)
|
|
1394
1405
|
|
|
1395
|
-
### Bug
|
|
1406
|
+
### Bug Fixes
|
|
1396
1407
|
|
|
1397
1408
|
- `Popover`: make sure that `ownerDocument` is always defined ([#42886](https://github.com/WordPress/gutenberg/pull/42886)).
|
|
1398
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)).
|
|
@@ -1438,7 +1449,7 @@
|
|
|
1438
1449
|
|
|
1439
1450
|
## 19.16.0 (2022-07-27)
|
|
1440
1451
|
|
|
1441
|
-
### Bug
|
|
1452
|
+
### Bug Fixes
|
|
1442
1453
|
|
|
1443
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)).
|
|
1444
1455
|
- `Popover`, `Dropdown`: Fix width when `expandOnMobile` is enabled ([#42635](https://github.com/WordPress/gutenberg/pull/42635/)).
|
|
@@ -1484,7 +1495,7 @@
|
|
|
1484
1495
|
|
|
1485
1496
|
## 19.15.0 (2022-07-13)
|
|
1486
1497
|
|
|
1487
|
-
### Bug
|
|
1498
|
+
### Bug Fixes
|
|
1488
1499
|
|
|
1489
1500
|
- `BoxControl`: Change ARIA role from `region` to `group` to avoid unwanted ARIA landmark regions ([#42094](https://github.com/WordPress/gutenberg/pull/42094)).
|
|
1490
1501
|
- `FocalPointPicker`, `FormTokenField`, `ResizableBox`: Fixed SSR breakage ([#42248](https://github.com/WordPress/gutenberg/pull/42248)).
|
|
@@ -1526,7 +1537,7 @@
|
|
|
1526
1537
|
|
|
1527
1538
|
## 19.14.0 (2022-06-29)
|
|
1528
1539
|
|
|
1529
|
-
### Bug
|
|
1540
|
+
### Bug Fixes
|
|
1530
1541
|
|
|
1531
1542
|
- `ColorPicker`: Remove horizontal scrollbar when using HSL or RGB color input types. ([#41646](https://github.com/WordPress/gutenberg/pull/41646))
|
|
1532
1543
|
- `ColorPicker`: Widen hex input field for mobile. ([#42004](https://github.com/WordPress/gutenberg/pull/42004))
|
|
@@ -1566,7 +1577,7 @@
|
|
|
1566
1577
|
|
|
1567
1578
|
## 19.13.0 (2022-06-15)
|
|
1568
1579
|
|
|
1569
|
-
### Bug
|
|
1580
|
+
### Bug Fixes
|
|
1570
1581
|
|
|
1571
1582
|
- `Tooltip`: Opt in to `__unstableShift` to ensure that the Tooltip is always within the viewport. ([#41524](https://github.com/WordPress/gutenberg/pull/41524))
|
|
1572
1583
|
- `FormTokenField`: Do not suggest the selected one even if `{ value: string }` is passed ([#41216](https://github.com/WordPress/gutenberg/pull/41216)).
|
|
@@ -1600,7 +1611,7 @@
|
|
|
1600
1611
|
|
|
1601
1612
|
## 19.12.0 (2022-06-01)
|
|
1602
1613
|
|
|
1603
|
-
### Bug
|
|
1614
|
+
### Bug Fixes
|
|
1604
1615
|
|
|
1605
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))
|
|
1606
1617
|
- Fix `InputControl` blocking undo/redo while focused. ([#40518](https://github.com/WordPress/gutenberg/pull/40518))
|
|
@@ -1670,7 +1681,7 @@
|
|
|
1670
1681
|
- `ToggleControlGroup`: Switch to internal `Icon` component for dashicon support ([40717](https://github.com/WordPress/gutenberg/pull/40717)).
|
|
1671
1682
|
- Improve `ToolsPanel` accessibility. ([#40716](https://github.com/WordPress/gutenberg/pull/40716))
|
|
1672
1683
|
|
|
1673
|
-
### Bug
|
|
1684
|
+
### Bug Fixes
|
|
1674
1685
|
|
|
1675
1686
|
- The `Button` component now displays the label as the tooltip for icon only buttons. ([#40716](https://github.com/WordPress/gutenberg/pull/40716))
|
|
1676
1687
|
- Use fake timers and fix usage of async methods from `@testing-library/user-event`. ([#40790](https://github.com/WordPress/gutenberg/pull/40790))
|
|
@@ -1684,7 +1695,7 @@
|
|
|
1684
1695
|
|
|
1685
1696
|
## 19.9.0 (2022-04-21)
|
|
1686
1697
|
|
|
1687
|
-
### Bug
|
|
1698
|
+
### Bug Fixes
|
|
1688
1699
|
|
|
1689
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)).
|
|
1690
1701
|
|
|
@@ -1692,7 +1703,7 @@
|
|
|
1692
1703
|
|
|
1693
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)).
|
|
1694
1705
|
|
|
1695
|
-
### Bug
|
|
1706
|
+
### Bug Fixes
|
|
1696
1707
|
|
|
1697
1708
|
- `InputControl`: allow user to input a value interactively in Storybook, by removing default value argument ([#40410](https://github.com/WordPress/gutenberg/pull/40410)).
|
|
1698
1709
|
|
|
@@ -1715,7 +1726,7 @@
|
|
|
1715
1726
|
- Add `BorderBoxControl` component ([#38876](https://github.com/WordPress/gutenberg/pull/38876)).
|
|
1716
1727
|
- Add `ToggleGroupControlOptionIcon` component ([#39760](https://github.com/WordPress/gutenberg/pull/39760)).
|
|
1717
1728
|
|
|
1718
|
-
### Bug
|
|
1729
|
+
### Bug Fixes
|
|
1719
1730
|
|
|
1720
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)).
|
|
1721
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)).
|
|
@@ -1741,13 +1752,13 @@
|
|
|
1741
1752
|
- Delete the `composeStateReducers` utility function ([#39262](https://github.com/WordPress/gutenberg/pull/39262)).
|
|
1742
1753
|
- `BoxControl`: stop using `UnitControl`'s deprecated `unit` prop ([#39511](https://github.com/WordPress/gutenberg/pull/39511)).
|
|
1743
1754
|
|
|
1744
|
-
### Bug
|
|
1755
|
+
### Bug Fixes
|
|
1745
1756
|
|
|
1746
1757
|
- `NumberControl`: commit (and constrain) value on `blur` event ([#39186](https://github.com/WordPress/gutenberg/pull/39186)).
|
|
1747
1758
|
- Fix `UnitControl`'s reset of unit when the quantity value is cleared. ([#39531](https://github.com/WordPress/gutenberg/pull/39531/)).
|
|
1748
1759
|
- `ResizableBox`: Ensure tooltip text remains on a single line. ([#39623](https://github.com/WordPress/gutenberg/pull/39623)).
|
|
1749
1760
|
|
|
1750
|
-
###
|
|
1761
|
+
### Deprecations
|
|
1751
1762
|
|
|
1752
1763
|
- `unit` prop in `UnitControl` marked as deprecated ([#39503](https://github.com/WordPress/gutenberg/pull/39503)).
|
|
1753
1764
|
|
|
@@ -1760,7 +1771,7 @@
|
|
|
1760
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))
|
|
1761
1772
|
- `ToggleGroupControlOption`: Calculate width from button content and remove `LabelPlaceholderView` ([#39345](https://github.com/WordPress/gutenberg/pull/39345))
|
|
1762
1773
|
|
|
1763
|
-
### Bug
|
|
1774
|
+
### Bug Fixes
|
|
1764
1775
|
|
|
1765
1776
|
- Normalize `font-family` on `Button`, `ColorPalette`, `ComoboboxControl`, `DateTimePicker`, `FormTokenField`, `InputControl`, `SelectControl`, and `ToggleGroupControl` ([#38969](https://github.com/WordPress/gutenberg/pull/38969)).
|
|
1766
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)).
|
|
@@ -1768,7 +1779,7 @@
|
|
|
1768
1779
|
|
|
1769
1780
|
## 19.5.0 (2022-02-23)
|
|
1770
1781
|
|
|
1771
|
-
### Bug
|
|
1782
|
+
### Bug Fixes
|
|
1772
1783
|
|
|
1773
1784
|
- Fix spin buttons of number inputs in Safari ([#38840](https://github.com/WordPress/gutenberg/pull/38840))
|
|
1774
1785
|
- Show tooltip on toggle custom size button in FontSizePicker ([#38985](https://github.com/WordPress/gutenberg/pull/38985))
|
|
@@ -1780,7 +1791,7 @@
|
|
|
1780
1791
|
|
|
1781
1792
|
## 19.4.0 (2022-02-10)
|
|
1782
1793
|
|
|
1783
|
-
### Bug
|
|
1794
|
+
### Bug Fixes
|
|
1784
1795
|
|
|
1785
1796
|
- Components: Fix `Slot`/`Fill` Emotion `StyleProvider` ([#38237](https://github.com/WordPress/gutenberg/pull/38237))
|
|
1786
1797
|
- Reduce height and min-width of the reset button on `ComboBoxControl` for consistency. ([#38020](https://github.com/WordPress/gutenberg/pull/38020))
|
|
@@ -1814,7 +1825,7 @@
|
|
|
1814
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))
|
|
1815
1826
|
- `TreeGrid`: Fix keyboard navigation for expand/collapse table rows in Firefox ([#37983](https://github.com/WordPress/gutenberg/pull/37983))
|
|
1816
1827
|
|
|
1817
|
-
### Bug
|
|
1828
|
+
### Bug Fixes
|
|
1818
1829
|
|
|
1819
1830
|
- Update the `HexInput` component to accept a pasted value that contains a starting #
|
|
1820
1831
|
- Update `ToggleGroupControl` background active state to use a simple background color instead of animated backdrop ([38008](https://github.com/WordPress/gutenberg/pull/38008))
|
|
@@ -1848,7 +1859,7 @@
|
|
|
1848
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.
|
|
1849
1860
|
- Add `first` and `last` classes to displayed `ToolsPanelItem` group within a `ToolsPanel` ([#37546](https://github.com/WordPress/gutenberg/pull/37546))
|
|
1850
1861
|
|
|
1851
|
-
### Bug
|
|
1862
|
+
### Bug Fixes
|
|
1852
1863
|
|
|
1853
1864
|
- Fixed spacing between `BaseControl` fields and help text within the `ToolsPanel` ([#36334](https://github.com/WordPress/gutenberg/pull/36334))
|
|
1854
1865
|
- Replaced hardcoded blue in `ColorPicker` with UI theme color ([#36153](https://github.com/WordPress/gutenberg/pull/36153)).
|
|
@@ -1871,7 +1882,7 @@
|
|
|
1871
1882
|
|
|
1872
1883
|
## 19.1.4 (2021-12-13)
|
|
1873
1884
|
|
|
1874
|
-
### Bug
|
|
1885
|
+
### Bug Fixes
|
|
1875
1886
|
|
|
1876
1887
|
- Improve accessibility and visibility in `ColorPallete` ([#36925](https://github.com/WordPress/gutenberg/pull/36925))
|
|
1877
1888
|
|
|
@@ -1881,7 +1892,7 @@
|
|
|
1881
1892
|
|
|
1882
1893
|
## 19.1.2 (2021-12-06)
|
|
1883
1894
|
|
|
1884
|
-
### Bug
|
|
1895
|
+
### Bug Fixes
|
|
1885
1896
|
|
|
1886
1897
|
- Fixed `GradientPicker` not displaying `CustomGradientPicker` when no gradients are provided ([#36900](https://github.com/WordPress/gutenberg/pull/36900)).
|
|
1887
1898
|
- Fixed error thrown in `ColorPicker` when used in controlled state in color gradients ([#36941](https://github.com/WordPress/gutenberg/pull/36941)).
|
|
@@ -1894,7 +1905,7 @@
|
|
|
1894
1905
|
|
|
1895
1906
|
- Added a `showTooltip` prop to `ToggleGroupControlOption` in order to display tooltip text (using `<Tooltip />`). ([#36726](https://github.com/WordPress/gutenberg/pull/36726)).
|
|
1896
1907
|
|
|
1897
|
-
### Bug
|
|
1908
|
+
### Bug Fixes
|
|
1898
1909
|
|
|
1899
1910
|
- Fixed a bug which prevented setting `PM` hours correctly in the `DateTimePicker` ([#36878](https://github.com/WordPress/gutenberg/pull/36878)).
|
|
1900
1911
|
|
|
@@ -1949,7 +1960,7 @@
|
|
|
1949
1960
|
- Add an experimental `Navigator` components ([#34904](https://github.com/WordPress/gutenberg/pull/34904)) as a replacement for the previous `Navigation` related components.
|
|
1950
1961
|
- Update the `ColorPicker` component to the latest design ([#35220](https://github.com/WordPress/gutenberg/pull/35220))
|
|
1951
1962
|
|
|
1952
|
-
### Bug
|
|
1963
|
+
### Bug Fixes
|
|
1953
1964
|
|
|
1954
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)).
|
|
1955
1966
|
|
|
@@ -1960,11 +1971,11 @@
|
|
|
1960
1971
|
|
|
1961
1972
|
## 17.0.0 (2021-09-09)
|
|
1962
1973
|
|
|
1963
|
-
### Breaking
|
|
1974
|
+
### Breaking Changes
|
|
1964
1975
|
|
|
1965
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)).
|
|
1966
1977
|
|
|
1967
|
-
### Bug
|
|
1978
|
+
### Bug Fixes
|
|
1968
1979
|
|
|
1969
1980
|
- Fixed RTL styles in `Flex` component ([#33729](https://github.com/WordPress/gutenberg/pull/33729)).
|
|
1970
1981
|
- Fixed unit test errors caused by `CSS.supports` being called in a non-browser environment ([#34572](https://github.com/WordPress/gutenberg/pull/34572)).
|
|
@@ -1976,39 +1987,39 @@
|
|
|
1976
1987
|
|
|
1977
1988
|
## 16.0.0 (2021-08-23)
|
|
1978
1989
|
|
|
1979
|
-
### Breaking
|
|
1990
|
+
### Breaking Changes
|
|
1980
1991
|
|
|
1981
1992
|
- Updated the visual styles of the RangeControl component ([#33824](https://github.com/WordPress/gutenberg/pull/33824)).
|
|
1982
1993
|
|
|
1983
|
-
### New
|
|
1994
|
+
### New Features
|
|
1984
1995
|
|
|
1985
1996
|
- Add `hideLabelFromVision` prop to `RangeControl` ([#33714](https://github.com/WordPress/gutenberg/pull/33714)).
|
|
1986
1997
|
|
|
1987
|
-
### Bug
|
|
1998
|
+
### Bug Fixes
|
|
1988
1999
|
|
|
1989
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))
|
|
1990
2001
|
|
|
1991
2002
|
## 15.0.0 (2021-07-29)
|
|
1992
2003
|
|
|
1993
|
-
### Breaking
|
|
2004
|
+
### Breaking Changes
|
|
1994
2005
|
|
|
1995
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).
|
|
1996
2007
|
|
|
1997
|
-
###
|
|
2008
|
+
### Deprecations
|
|
1998
2009
|
|
|
1999
2010
|
- `isScrollable` prop in `CardBody` default value changed from `true` to `false` ([#33490](https://github.com/WordPress/gutenberg/pull/33490))
|
|
2000
2011
|
|
|
2001
|
-
### Bug
|
|
2012
|
+
### Bug Fixes
|
|
2002
2013
|
|
|
2003
2014
|
- Added back `box-sizing: border-box` rule to `CardBody`, `CardHeader` and `CardFooter` components [#33511](https://github.com/WordPress/gutenberg/pull/33511).
|
|
2004
2015
|
|
|
2005
2016
|
## 14.2.0 (2021-07-21)
|
|
2006
2017
|
|
|
2007
|
-
### New
|
|
2018
|
+
### New Features
|
|
2008
2019
|
|
|
2009
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)).
|
|
2010
2021
|
|
|
2011
|
-
###
|
|
2022
|
+
### Deprecations
|
|
2012
2023
|
|
|
2013
2024
|
- `isPrimary`, `isSecondary`, `isTertiary` and `isLink` props in `Button` have been deprecated. Use `variant` instead ([#31713](https://github.com/WordPress/gutenberg/pull/31713)).
|
|
2014
2025
|
- `isElevated` prop in `Card` has been deprecated. Use `elevation` instead ([#32566](https://github.com/WordPress/gutenberg/pull/32566)).
|
|
@@ -2027,7 +2038,7 @@
|
|
|
2027
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/>.
|
|
2028
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.
|
|
2029
2040
|
|
|
2030
|
-
###
|
|
2041
|
+
### Deprecations
|
|
2031
2042
|
|
|
2032
2043
|
- `isReversed` prop in `Flex` component has been deprecated. Use `direction` instead ([#31297](https://github.com/WordPress/gutenberg/pull/31297)).
|
|
2033
2044
|
|
|
@@ -2037,16 +2048,16 @@
|
|
|
2037
2048
|
|
|
2038
2049
|
## 13.0.0 (2021-03-17)
|
|
2039
2050
|
|
|
2040
|
-
### Breaking
|
|
2051
|
+
### Breaking Changes
|
|
2041
2052
|
|
|
2042
2053
|
- `onChange` prop of `FocalPointPicker` is called at the end of drag operations. Previously, it was called repetitively while dragging.
|
|
2043
2054
|
|
|
2044
|
-
### New
|
|
2055
|
+
### New Features
|
|
2045
2056
|
|
|
2046
2057
|
- Supports ref forwarding in `withNotices` and `ResizableBox`.
|
|
2047
2058
|
- Adds `onDrag` prop of `FocalPointPicker`.
|
|
2048
2059
|
|
|
2049
|
-
### Bug
|
|
2060
|
+
### Bug Fixes
|
|
2050
2061
|
|
|
2051
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.
|
|
2052
2063
|
|
|
@@ -2056,13 +2067,13 @@
|
|
|
2056
2067
|
|
|
2057
2068
|
- ComboboxControl: Deburr option labels before filter
|
|
2058
2069
|
|
|
2059
|
-
### Breaking
|
|
2070
|
+
### Breaking Changes
|
|
2060
2071
|
|
|
2061
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.
|
|
2062
2073
|
|
|
2063
2074
|
## 10.1.0 (2020-09-03)
|
|
2064
2075
|
|
|
2065
|
-
### New
|
|
2076
|
+
### New Features
|
|
2066
2077
|
|
|
2067
2078
|
- Add `ToolbarItem` component.
|
|
2068
2079
|
- Support `label` prop on the `Toolbar` component.
|
|
@@ -2073,14 +2084,14 @@
|
|
|
2073
2084
|
|
|
2074
2085
|
## 10.0.0 (2020-07-07)
|
|
2075
2086
|
|
|
2076
|
-
### Breaking
|
|
2087
|
+
### Breaking Changes
|
|
2077
2088
|
|
|
2078
2089
|
- `NumberControl` no longer automatically transforms values when rendering `value` into a `<input />` HTML element.
|
|
2079
2090
|
- `Dashicon` component no longer renders SVGs. If you rely on this component, make sure to load the dashicon font.
|
|
2080
2091
|
|
|
2081
2092
|
## 9.6.0 (2020-05-14)
|
|
2082
2093
|
|
|
2083
|
-
### Bug
|
|
2094
|
+
### Bug Fixes
|
|
2084
2095
|
|
|
2085
2096
|
- Fix and issue that would cause the `Popover` component to throw an error under certain
|
|
2086
2097
|
circumstances ([#22264](https://github.com/WordPress/gutenberg/pull/22264)).
|
|
@@ -2161,7 +2172,7 @@
|
|
|
2161
2172
|
|
|
2162
2173
|
## 8.0.0 (2019-06-12)
|
|
2163
2174
|
|
|
2164
|
-
### New
|
|
2175
|
+
### New Features
|
|
2165
2176
|
|
|
2166
2177
|
- Add new `BlockQuotation` block to the primitives folder to support blockquote in a multiplatform way. [#15482](https://github.com/WordPress/gutenberg/pull/15482).
|
|
2167
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.
|
|
@@ -2174,22 +2185,22 @@
|
|
|
2174
2185
|
|
|
2175
2186
|
- Added missing documentation for `DropdownMenu` props `menuLabel`, `position`, `className`.
|
|
2176
2187
|
|
|
2177
|
-
### Breaking
|
|
2188
|
+
### Breaking Changes
|
|
2178
2189
|
|
|
2179
2190
|
- `ServerSideRender` is no longer part of components. It was extracted to an independent package `@wordpress/server-side-render`.
|
|
2180
2191
|
|
|
2181
|
-
### Bug
|
|
2192
|
+
### Bug Fixes
|
|
2182
2193
|
|
|
2183
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.
|
|
2184
2195
|
|
|
2185
2196
|
## 7.4.0 (2019-05-21)
|
|
2186
2197
|
|
|
2187
|
-
### New
|
|
2198
|
+
### New Features
|
|
2188
2199
|
|
|
2189
2200
|
- Added a new `HorizontalRule` component.
|
|
2190
2201
|
- Added a new `Snackbar` component.
|
|
2191
2202
|
|
|
2192
|
-
### Bug
|
|
2203
|
+
### Bug Fixes
|
|
2193
2204
|
|
|
2194
2205
|
- Fixed display of reset button when using RangeControl `allowReset` prop.
|
|
2195
2206
|
- Fixed minutes field of `DateTimePicker` missed '0' before single digit values.
|
|
@@ -2203,17 +2214,17 @@
|
|
|
2203
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.
|
|
2204
2215
|
- Added a new `anchorRect` prop to `Popover` which enables a developer to provide a custom `DOMRect` object at which to position the popover.
|
|
2205
2216
|
|
|
2206
|
-
###
|
|
2217
|
+
### Enhancements
|
|
2207
2218
|
|
|
2208
2219
|
- Limit `Base Control Label` to the width of its content.
|
|
2209
2220
|
|
|
2210
|
-
### Bug
|
|
2221
|
+
### Bug Fixes
|
|
2211
2222
|
|
|
2212
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)
|
|
2213
2224
|
|
|
2214
2225
|
## 7.2.0 (2019-03-20)
|
|
2215
2226
|
|
|
2216
|
-
###
|
|
2227
|
+
### Enhancements
|
|
2217
2228
|
|
|
2218
2229
|
- Make `RangeControl` validation rely on the `checkValidity` provided by the browsers instead of using our own validation.
|
|
2219
2230
|
|
|
@@ -2227,7 +2238,7 @@
|
|
|
2227
2238
|
|
|
2228
2239
|
- Added a new `Animate` component.
|
|
2229
2240
|
|
|
2230
|
-
###
|
|
2241
|
+
### Enhancements
|
|
2231
2242
|
|
|
2232
2243
|
- `withFilters` has been optimized to avoid binding hook handlers for each mounted instance of the component, instead using a single centralized hook delegator.
|
|
2233
2244
|
- `withFilters` has been optimized to reuse a single shared component definition for all filtered instances of the component.
|
|
@@ -2238,7 +2249,7 @@
|
|
|
2238
2249
|
- Resolves a conflict where two instance of Slot would produce an inconsistent or duplicated rendering output.
|
|
2239
2250
|
- Allow years between 0 and 1970 in DateTime component.
|
|
2240
2251
|
|
|
2241
|
-
### New
|
|
2252
|
+
### New Features
|
|
2242
2253
|
|
|
2243
2254
|
- `Dropdown` now has a `focusOnMount` prop which is passed directly to the contained `Popover`.
|
|
2244
2255
|
- `DatePicker` has new prop `isInvalidDate` exposing react-dates' `isOutsideRange`.
|
|
@@ -2256,7 +2267,7 @@
|
|
|
2256
2267
|
|
|
2257
2268
|
## 7.0.0 (2018-11-20)
|
|
2258
2269
|
|
|
2259
|
-
### Breaking
|
|
2270
|
+
### Breaking Changes
|
|
2260
2271
|
|
|
2261
2272
|
- `Dropdown.refresh()` has been removed. The contained `Popover` is now automatically refreshed.
|
|
2262
2273
|
|
|
@@ -2268,13 +2279,13 @@
|
|
|
2268
2279
|
|
|
2269
2280
|
- Avoid constantly recomputing the popover position.
|
|
2270
2281
|
|
|
2271
|
-
###
|
|
2282
|
+
### Internal
|
|
2272
2283
|
|
|
2273
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)
|
|
2274
2285
|
|
|
2275
2286
|
## 6.0.0 (2018-11-12)
|
|
2276
2287
|
|
|
2277
|
-
### Breaking
|
|
2288
|
+
### Breaking Changes
|
|
2278
2289
|
|
|
2279
2290
|
- The `PanelColor` component has been removed.
|
|
2280
2291
|
|
|
@@ -2282,18 +2293,18 @@
|
|
|
2282
2293
|
|
|
2283
2294
|
## 5.1.0 (2018-11-09)
|
|
2284
2295
|
|
|
2285
|
-
### New
|
|
2296
|
+
### New Features
|
|
2286
2297
|
|
|
2287
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)).
|
|
2288
2299
|
- `Popover` components are now automatically refreshed every 0.5s in order to recalculate their size or position.
|
|
2289
2300
|
|
|
2290
|
-
###
|
|
2301
|
+
### Deprecations
|
|
2291
2302
|
|
|
2292
2303
|
- `Dropdown.refresh()` has been deprecated as the contained `Popover` is now automatically refreshed.
|
|
2293
2304
|
|
|
2294
2305
|
## 5.0.2 (2018-11-03)
|
|
2295
2306
|
|
|
2296
|
-
###
|
|
2307
|
+
### Internal
|
|
2297
2308
|
|
|
2298
2309
|
- Forward `ref` in the `PanelBody` component.
|
|
2299
2310
|
- Tooltip are no longer removed when Button becomes disabled, it's left to the component rendering the Tooltip.
|
|
@@ -2303,32 +2314,32 @@
|
|
|
2303
2314
|
|
|
2304
2315
|
## 5.0.0 (2018-10-29)
|
|
2305
2316
|
|
|
2306
|
-
### Breaking
|
|
2317
|
+
### Breaking Changes
|
|
2307
2318
|
|
|
2308
2319
|
- `AccessibleSVG` component has been removed. Please use `SVG` instead.
|
|
2309
2320
|
|
|
2310
|
-
### New
|
|
2321
|
+
### New Features
|
|
2311
2322
|
|
|
2312
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.
|
|
2313
2324
|
|
|
2314
2325
|
## 4.2.1 (2018-10-22)
|
|
2315
2326
|
|
|
2316
|
-
### Bug
|
|
2327
|
+
### Bug Fixes
|
|
2317
2328
|
|
|
2318
2329
|
- Fix importing `react-dates` stylesheet in production.
|
|
2319
2330
|
|
|
2320
2331
|
## 4.2.0 (2018-10-19)
|
|
2321
2332
|
|
|
2322
|
-
### New
|
|
2333
|
+
### New Features
|
|
2323
2334
|
|
|
2324
2335
|
- Added a new `ColorPicker` component ([#10564](https://github.com/WordPress/gutenberg/pull/10564)).
|
|
2325
2336
|
- `MenuItem` now accepts an `info` prop for including an extended description.
|
|
2326
2337
|
|
|
2327
|
-
### Bug
|
|
2338
|
+
### Bug Fixes
|
|
2328
2339
|
|
|
2329
2340
|
- `IconButton` correctly respects a passed `aria-label` prop.
|
|
2330
2341
|
|
|
2331
|
-
###
|
|
2342
|
+
### Deprecations
|
|
2332
2343
|
|
|
2333
2344
|
- `PanelColor` has been deprecated in favor of `wp.editor.PanelColorSettings`.
|
|
2334
2345
|
|
|
@@ -2336,29 +2347,29 @@
|
|
|
2336
2347
|
|
|
2337
2348
|
## 4.1.0 (2018-10-10)
|
|
2338
2349
|
|
|
2339
|
-
### New
|
|
2350
|
+
### New Features
|
|
2340
2351
|
|
|
2341
2352
|
- Added a new `ResizableBox` component.
|
|
2342
2353
|
|
|
2343
2354
|
## 4.0.0 (2018-09-30)
|
|
2344
2355
|
|
|
2345
|
-
### Breaking
|
|
2356
|
+
### Breaking Changes
|
|
2346
2357
|
|
|
2347
2358
|
- `Draggable` as a DOM node drag handler has been removed. Please, use `Draggable` as a wrap component for your DOM node drag handler.
|
|
2348
2359
|
|
|
2349
|
-
###
|
|
2360
|
+
### Deprecations
|
|
2350
2361
|
|
|
2351
2362
|
- Renamed `AccessibleSVG` component to `SVG`.
|
|
2352
2363
|
|
|
2353
2364
|
## 3.0.0 (2018-09-05)
|
|
2354
2365
|
|
|
2355
|
-
### Breaking
|
|
2366
|
+
### Breaking Changes
|
|
2356
2367
|
|
|
2357
2368
|
- `withAPIData` has been removed. Please use the Core Data module or `@wordpress/api-fetch` directly instead.
|
|
2358
2369
|
- `Draggable` as a DOM node drag handler has been deprecated. Please, use `Draggable` as a wrap component for your DOM node drag handler.
|
|
2359
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.
|
|
2360
2371
|
- `withContext` has been removed. Please use `wp.element.createContext` instead. See: <https://reactjs.org/docs/context.html>.
|
|
2361
2372
|
|
|
2362
|
-
### New
|
|
2373
|
+
### New Features
|
|
2363
2374
|
|
|
2364
2375
|
- Added a new `AccessibleSVG` component.
|