@wordpress/components 28.1.0 → 28.3.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 +179 -120
- package/build/animation/index.js.map +1 -1
- package/build/autocomplete/autocompleter-ui.js +1 -0
- package/build/autocomplete/autocompleter-ui.js.map +1 -1
- package/build/autocomplete/index.js.map +1 -1
- package/build/base-control/index.js +14 -7
- package/build/base-control/index.js.map +1 -1
- package/build/border-box-control/border-box-control-visualizer/component.js +0 -4
- package/build/border-box-control/border-box-control-visualizer/component.js.map +1 -1
- package/build/button/index.js +5 -3
- package/build/button/index.js.map +1 -1
- package/build/button/types.js.map +1 -1
- package/build/combobox-control/index.js +4 -1
- package/build/combobox-control/index.js.map +1 -1
- package/build/composite/current/index.js.map +1 -1
- package/build/custom-select-control-v2/custom-select.js +58 -36
- package/build/custom-select-control-v2/custom-select.js.map +1 -1
- package/build/custom-select-control-v2/default-component/index.js +0 -1
- package/build/custom-select-control-v2/default-component/index.js.map +1 -1
- package/build/custom-select-control-v2/item.js +2 -0
- package/build/custom-select-control-v2/item.js.map +1 -1
- package/build/custom-select-control-v2/legacy-component/index.js +33 -15
- package/build/custom-select-control-v2/legacy-component/index.js.map +1 -1
- package/build/custom-select-control-v2/styles.js +92 -65
- package/build/custom-select-control-v2/styles.js.map +1 -1
- package/build/custom-select-control-v2/types.js.map +1 -1
- package/build/date-time/date-time/index.js +3 -1
- package/build/date-time/date-time/index.js.map +1 -1
- package/build/date-time/index.js +7 -0
- package/build/date-time/index.js.map +1 -1
- package/build/date-time/time/index.js +62 -145
- package/build/date-time/time/index.js.map +1 -1
- package/build/date-time/time-input/index.js +159 -0
- package/build/date-time/time-input/index.js.map +1 -0
- package/build/date-time/types.js.map +1 -1
- package/build/date-time/utils.js +64 -0
- package/build/date-time/utils.js.map +1 -1
- package/build/disclosure/index.js +0 -1
- package/build/disclosure/index.js.map +1 -1
- package/build/divider/component.js +0 -1
- package/build/divider/component.js.map +1 -1
- package/build/divider/types.js.map +1 -1
- package/build/drop-zone/index.js +16 -79
- package/build/drop-zone/index.js.map +1 -1
- package/build/dropdown-menu/index.js +1 -0
- package/build/dropdown-menu/index.js.map +1 -1
- package/build/dropdown-menu-v2/index.js +0 -1
- package/build/dropdown-menu-v2/index.js.map +1 -1
- package/build/dropdown-menu-v2/styles.js +15 -16
- package/build/dropdown-menu-v2/styles.js.map +1 -1
- package/build/dropdown-menu-v2/types.js.map +1 -1
- package/build/font-size-picker/font-size-picker-select.js +2 -2
- package/build/font-size-picker/font-size-picker-select.js.map +1 -1
- package/build/font-size-picker/index.js +1 -1
- package/build/font-size-picker/index.js.map +1 -1
- package/build/font-size-picker/utils.js +0 -4
- package/build/font-size-picker/utils.js.map +1 -1
- package/build/form-token-field/token.js +4 -1
- package/build/form-token-field/token.js.map +1 -1
- package/build/higher-order/with-spoken-messages/index.js +1 -2
- package/build/higher-order/with-spoken-messages/index.js.map +1 -1
- package/build/lock-unlock.js +1 -1
- package/build/lock-unlock.js.map +1 -1
- package/build/menu-items-choice/types.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/popover/index.js +0 -4
- package/build/popover/index.js.map +1 -1
- package/build/popover/utils.js +0 -1
- package/build/popover/utils.js.map +1 -1
- package/build/private-apis.js +2 -4
- package/build/private-apis.js.map +1 -1
- package/build/progress-bar/styles.js +19 -13
- package/build/progress-bar/styles.js.map +1 -1
- package/build/radio-group/context.js +0 -1
- package/build/radio-group/context.js.map +1 -1
- package/build/radio-group/index.js +0 -1
- package/build/radio-group/index.js.map +1 -1
- package/build/radio-group/radio.js +0 -1
- package/build/radio-group/radio.js.map +1 -1
- package/build/range-control/index.js +4 -1
- package/build/range-control/index.js.map +1 -1
- package/build/range-control/styles/range-control-styles.js +34 -28
- package/build/range-control/styles/range-control-styles.js.map +1 -1
- package/build/resizable-box/resize-tooltip/utils.js.map +1 -1
- package/build/select-control/index.js +1 -2
- package/build/select-control/index.js.map +1 -1
- package/build/select-control/styles/select-control-styles.js +13 -8
- package/build/select-control/styles/select-control-styles.js.map +1 -1
- package/build/tab-panel/index.js +0 -1
- package/build/tab-panel/index.js.map +1 -1
- package/build/tabs/index.js +0 -1
- package/build/tabs/index.js.map +1 -1
- package/build/tabs/styles.js +3 -5
- package/build/tabs/styles.js.map +1 -1
- package/build/tabs/tablist.js +148 -37
- package/build/tabs/tablist.js.map +1 -1
- package/build/tabs/types.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/as-radio-group.js +0 -2
- package/build/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/component.js +0 -2
- package/build/toggle-group-control/toggle-group-control/component.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option-base/component.js +0 -4
- package/build/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
- package/build/toolbar/toolbar/toolbar-container.js +0 -1
- package/build/toolbar/toolbar/toolbar-container.js.map +1 -1
- package/build/toolbar/toolbar/types.js.map +1 -1
- package/build/toolbar/toolbar-button/index.js +27 -19
- package/build/toolbar/toolbar-button/index.js.map +1 -1
- package/build/toolbar/toolbar-button/types.js.map +1 -1
- package/build/toolbar/toolbar-context/index.js +0 -1
- package/build/toolbar/toolbar-context/index.js.map +1 -1
- package/build/toolbar/toolbar-item/index.js +1 -1
- package/build/toolbar/toolbar-item/index.js.map +1 -1
- package/build/tooltip/index.js +3 -2
- package/build/tooltip/index.js.map +1 -1
- package/build/tooltip/types.js.map +1 -1
- package/build/unit-control/index.js +3 -3
- package/build/unit-control/index.js.map +1 -1
- package/build/unit-control/styles/unit-control-styles.js +7 -7
- package/build/unit-control/styles/unit-control-styles.js.map +1 -1
- package/build/utils/hooks/use-update-effect.js +4 -1
- package/build/utils/hooks/use-update-effect.js.map +1 -1
- package/build-module/animation/index.js +0 -1
- package/build-module/animation/index.js.map +1 -1
- package/build-module/autocomplete/autocompleter-ui.js +1 -0
- package/build-module/autocomplete/autocompleter-ui.js.map +1 -1
- package/build-module/autocomplete/index.js.map +1 -1
- package/build-module/base-control/index.js +13 -6
- package/build-module/base-control/index.js.map +1 -1
- package/build-module/border-box-control/border-box-control-visualizer/component.js +0 -4
- package/build-module/border-box-control/border-box-control-visualizer/component.js.map +1 -1
- package/build-module/button/index.js +5 -3
- package/build-module/button/index.js.map +1 -1
- package/build-module/button/types.js.map +1 -1
- package/build-module/combobox-control/index.js +4 -1
- package/build-module/combobox-control/index.js.map +1 -1
- package/build-module/composite/current/index.js +0 -3
- package/build-module/composite/current/index.js.map +1 -1
- package/build-module/custom-select-control-v2/custom-select.js +59 -38
- package/build-module/custom-select-control-v2/custom-select.js.map +1 -1
- package/build-module/custom-select-control-v2/default-component/index.js +0 -1
- package/build-module/custom-select-control-v2/default-component/index.js.map +1 -1
- package/build-module/custom-select-control-v2/item.js +2 -0
- package/build-module/custom-select-control-v2/item.js.map +1 -1
- package/build-module/custom-select-control-v2/legacy-component/index.js +33 -16
- package/build-module/custom-select-control-v2/legacy-component/index.js.map +1 -1
- package/build-module/custom-select-control-v2/styles.js +90 -63
- 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/date-time/date-time/index.js +4 -1
- package/build-module/date-time/date-time/index.js.map +1 -1
- package/build-module/date-time/index.js +2 -1
- package/build-module/date-time/index.js.map +1 -1
- package/build-module/date-time/time/index.js +65 -149
- package/build-module/date-time/time/index.js.map +1 -1
- package/build-module/date-time/time-input/index.js +151 -0
- package/build-module/date-time/time-input/index.js.map +1 -0
- package/build-module/date-time/types.js.map +1 -1
- package/build-module/date-time/utils.js +61 -0
- package/build-module/date-time/utils.js.map +1 -1
- package/build-module/disclosure/index.js +0 -1
- package/build-module/disclosure/index.js.map +1 -1
- package/build-module/divider/component.js +0 -1
- package/build-module/divider/component.js.map +1 -1
- package/build-module/divider/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/dropdown-menu/index.js +1 -0
- package/build-module/dropdown-menu/index.js.map +1 -1
- package/build-module/dropdown-menu-v2/index.js +0 -1
- package/build-module/dropdown-menu-v2/index.js.map +1 -1
- package/build-module/dropdown-menu-v2/styles.js +14 -15
- package/build-module/dropdown-menu-v2/styles.js.map +1 -1
- package/build-module/dropdown-menu-v2/types.js.map +1 -1
- package/build-module/font-size-picker/font-size-picker-select.js +1 -1
- package/build-module/font-size-picker/font-size-picker-select.js.map +1 -1
- package/build-module/font-size-picker/index.js +1 -1
- package/build-module/font-size-picker/index.js.map +1 -1
- package/build-module/font-size-picker/utils.js +0 -4
- package/build-module/font-size-picker/utils.js.map +1 -1
- package/build-module/form-token-field/token.js +4 -1
- package/build-module/form-token-field/token.js.map +1 -1
- package/build-module/higher-order/with-spoken-messages/index.js +1 -2
- package/build-module/higher-order/with-spoken-messages/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/menu-items-choice/types.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-module/popover/index.js +0 -3
- package/build-module/popover/index.js.map +1 -1
- package/build-module/popover/utils.js +0 -1
- package/build-module/popover/utils.js.map +1 -1
- package/build-module/private-apis.js +2 -4
- package/build-module/private-apis.js.map +1 -1
- package/build-module/progress-bar/styles.js +21 -13
- package/build-module/progress-bar/styles.js.map +1 -1
- package/build-module/radio-group/context.js +0 -1
- package/build-module/radio-group/context.js.map +1 -1
- package/build-module/radio-group/index.js +0 -1
- package/build-module/radio-group/index.js.map +1 -1
- package/build-module/radio-group/radio.js +0 -1
- package/build-module/radio-group/radio.js.map +1 -1
- package/build-module/range-control/index.js +4 -1
- package/build-module/range-control/index.js.map +1 -1
- package/build-module/range-control/styles/range-control-styles.js +34 -28
- package/build-module/range-control/styles/range-control-styles.js.map +1 -1
- package/build-module/resizable-box/resize-tooltip/utils.js.map +1 -1
- package/build-module/select-control/index.js +2 -3
- package/build-module/select-control/index.js.map +1 -1
- package/build-module/select-control/styles/select-control-styles.js +12 -7
- package/build-module/select-control/styles/select-control-styles.js.map +1 -1
- package/build-module/tab-panel/index.js +0 -1
- package/build-module/tab-panel/index.js.map +1 -1
- package/build-module/tabs/index.js +0 -1
- package/build-module/tabs/index.js.map +1 -1
- package/build-module/tabs/styles.js +3 -4
- package/build-module/tabs/styles.js.map +1 -1
- package/build-module/tabs/tablist.js +149 -38
- package/build-module/tabs/tablist.js.map +1 -1
- package/build-module/tabs/types.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js +0 -1
- package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/component.js +0 -1
- package/build-module/toggle-group-control/toggle-group-control/component.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option-base/component.js +0 -2
- package/build-module/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
- package/build-module/toolbar/toolbar/toolbar-container.js +0 -1
- package/build-module/toolbar/toolbar/toolbar-container.js.map +1 -1
- package/build-module/toolbar/toolbar/types.js.map +1 -1
- package/build-module/toolbar/toolbar-button/index.js +27 -19
- package/build-module/toolbar/toolbar-button/index.js.map +1 -1
- package/build-module/toolbar/toolbar-button/types.js.map +1 -1
- package/build-module/toolbar/toolbar-context/index.js +0 -1
- package/build-module/toolbar/toolbar-context/index.js.map +1 -1
- package/build-module/toolbar/toolbar-item/index.js +1 -1
- package/build-module/toolbar/toolbar-item/index.js.map +1 -1
- package/build-module/tooltip/index.js +3 -2
- package/build-module/tooltip/index.js.map +1 -1
- package/build-module/tooltip/types.js.map +1 -1
- package/build-module/unit-control/index.js +3 -3
- package/build-module/unit-control/index.js.map +1 -1
- package/build-module/unit-control/styles/unit-control-styles.js +7 -7
- package/build-module/unit-control/styles/unit-control-styles.js.map +1 -1
- package/build-module/utils/hooks/use-update-effect.js +4 -1
- package/build-module/utils/hooks/use-update-effect.js.map +1 -1
- package/build-style/style-rtl.css +46 -6
- package/build-style/style.css +46 -6
- package/build-types/animation/index.d.ts.map +1 -1
- package/build-types/autocomplete/autocompleter-ui.d.ts.map +1 -1
- package/build-types/autocomplete/index.d.ts.map +1 -1
- package/build-types/base-control/index.d.ts +6 -20
- package/build-types/base-control/index.d.ts.map +1 -1
- package/build-types/base-control/stories/index.story.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control-visualizer/component.d.ts.map +1 -1
- package/build-types/button/deprecated.d.ts +4 -4
- package/build-types/button/index.d.ts.map +1 -1
- package/build-types/button/stories/e2e/index.story.d.ts.map +1 -1
- package/build-types/button/types.d.ts +27 -10
- package/build-types/button/types.d.ts.map +1 -1
- package/build-types/combobox-control/index.d.ts.map +1 -1
- package/build-types/composite/current/index.d.ts.map +1 -1
- 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/custom-select.d.ts +2 -2
- package/build-types/custom-select-control-v2/custom-select.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/default-component/index.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/item.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/stories/default.story.d.ts +6 -3
- package/build-types/custom-select-control-v2/stories/default.story.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/styles.d.ts +18 -22
- package/build-types/custom-select-control-v2/styles.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/types.d.ts +13 -2
- package/build-types/custom-select-control-v2/types.d.ts.map +1 -1
- package/build-types/date-time/date-time/index.d.ts.map +1 -1
- package/build-types/date-time/index.d.ts +2 -1
- package/build-types/date-time/index.d.ts.map +1 -1
- package/build-types/date-time/stories/time-input.story.d.ts +12 -0
- package/build-types/date-time/stories/time-input.story.d.ts.map +1 -0
- package/build-types/date-time/time/index.d.ts +1 -1
- package/build-types/date-time/time/index.d.ts.map +1 -1
- package/build-types/date-time/time-input/index.d.ts +5 -0
- package/build-types/date-time/time-input/index.d.ts.map +1 -0
- package/build-types/date-time/time-input/test/index.d.ts +2 -0
- package/build-types/date-time/time-input/test/index.d.ts.map +1 -0
- package/build-types/date-time/types.d.ts +54 -0
- package/build-types/date-time/types.d.ts.map +1 -1
- package/build-types/date-time/utils.d.ts +40 -0
- package/build-types/date-time/utils.d.ts.map +1 -1
- package/build-types/disclosure/index.d.ts.map +1 -1
- package/build-types/divider/component.d.ts.map +1 -1
- package/build-types/divider/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/dropdown-menu/index.d.ts.map +1 -1
- package/build-types/dropdown-menu-v2/index.d.ts.map +1 -1
- package/build-types/dropdown-menu-v2/styles.d.ts.map +1 -1
- package/build-types/dropdown-menu-v2/types.d.ts.map +1 -1
- package/build-types/font-size-picker/styles.d.ts +1 -1
- package/build-types/font-size-picker/utils.d.ts.map +1 -1
- package/build-types/form-token-field/token.d.ts.map +1 -1
- package/build-types/higher-order/with-spoken-messages/index.d.ts +1 -2
- package/build-types/higher-order/with-spoken-messages/index.d.ts.map +1 -1
- package/build-types/menu-items-choice/types.d.ts +1 -1
- package/build-types/menu-items-choice/types.d.ts.map +1 -1
- package/build-types/navigator/navigator-back-button/component.d.ts +1 -1
- package/build-types/navigator/navigator-back-button/hook.d.ts +1 -1
- package/build-types/navigator/navigator-button/component.d.ts +1 -1
- package/build-types/navigator/navigator-button/hook.d.ts +1 -1
- package/build-types/navigator/navigator-to-parent-button/component.d.ts +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/build-types/popover/index.d.ts.map +1 -1
- package/build-types/popover/utils.d.ts.map +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/progress-bar/styles.d.ts.map +1 -1
- package/build-types/radio-group/context.d.ts.map +1 -1
- package/build-types/radio-group/index.d.ts.map +1 -1
- package/build-types/radio-group/radio.d.ts.map +1 -1
- package/build-types/range-control/index.d.ts.map +1 -1
- package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
- package/build-types/resizable-box/resize-tooltip/utils.d.ts +2 -2
- package/build-types/resizable-box/resize-tooltip/utils.d.ts.map +1 -1
- package/build-types/select-control/index.d.ts.map +1 -1
- package/build-types/select-control/styles/select-control-styles.d.ts +5 -0
- package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
- package/build-types/tab-panel/index.d.ts.map +1 -1
- package/build-types/tabs/index.d.ts.map +1 -1
- package/build-types/tabs/stories/index.story.d.ts.map +1 -1
- package/build-types/tabs/styles.d.ts.map +1 -1
- package/build-types/tabs/tablist.d.ts.map +1 -1
- package/build-types/tabs/types.d.ts.map +1 -1
- package/build-types/theme/stories/index.story.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control/as-radio-group.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts.map +1 -1
- package/build-types/toolbar/toolbar/toolbar-container.d.ts.map +1 -1
- package/build-types/toolbar/toolbar/types.d.ts +6 -0
- package/build-types/toolbar/toolbar/types.d.ts.map +1 -1
- package/build-types/toolbar/toolbar-button/index.d.ts +3 -96
- package/build-types/toolbar/toolbar-button/index.d.ts.map +1 -1
- package/build-types/toolbar/toolbar-button/types.d.ts +18 -0
- package/build-types/toolbar/toolbar-button/types.d.ts.map +1 -1
- package/build-types/toolbar/toolbar-context/index.d.ts.map +1 -1
- package/build-types/toolbar/toolbar-item/index.d.ts +1 -3
- package/build-types/toolbar/toolbar-item/index.d.ts.map +1 -1
- package/build-types/tooltip/index.d.ts.map +1 -1
- package/build-types/tooltip/types.d.ts +4 -0
- package/build-types/tooltip/types.d.ts.map +1 -1
- package/build-types/unit-control/index.d.ts.map +1 -1
- package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
- package/build-types/utils/hooks/use-update-effect.d.ts +1 -1
- package/build-types/utils/hooks/use-update-effect.d.ts.map +1 -1
- package/package.json +19 -19
- package/src/animation/index.tsx +0 -1
- package/src/autocomplete/autocompleter-ui.tsx +1 -0
- package/src/autocomplete/index.tsx +0 -1
- package/src/base-control/index.tsx +16 -6
- package/src/base-control/stories/index.story.tsx +0 -1
- package/src/border-box-control/border-box-control-visualizer/component.tsx +0 -5
- package/src/button/README.md +13 -0
- package/src/button/index.tsx +6 -4
- package/src/button/stories/e2e/index.story.tsx +2 -1
- package/src/button/test/index.tsx +17 -2
- package/src/button/types.ts +27 -10
- package/src/combobox-control/index.tsx +2 -0
- package/src/composite/current/index.ts +0 -2
- package/src/custom-select-control/stories/index.story.tsx +32 -3
- package/src/custom-select-control/test/index.js +247 -28
- package/src/custom-select-control-v2/custom-select.tsx +58 -23
- package/src/custom-select-control-v2/default-component/index.tsx +0 -1
- package/src/custom-select-control-v2/item.tsx +5 -1
- package/src/custom-select-control-v2/legacy-component/index.tsx +45 -16
- package/src/custom-select-control-v2/legacy-component/test/index.tsx +261 -43
- package/src/custom-select-control-v2/styles.ts +156 -74
- package/src/custom-select-control-v2/test/index.tsx +35 -5
- package/src/custom-select-control-v2/types.ts +19 -6
- package/src/date-time/README.md +8 -0
- package/src/date-time/date-time/index.tsx +2 -1
- package/src/date-time/index.ts +2 -1
- package/src/date-time/stories/time-input.story.tsx +36 -0
- package/src/date-time/time/index.tsx +77 -194
- package/src/date-time/time/test/index.tsx +61 -0
- package/src/date-time/time-input/index.tsx +196 -0
- package/src/date-time/time-input/test/index.tsx +171 -0
- package/src/date-time/types.ts +63 -0
- package/src/date-time/utils.ts +69 -0
- package/src/dimension-control/test/__snapshots__/index.test.js.snap +116 -96
- package/src/disclosure/index.tsx +0 -1
- package/src/divider/component.tsx +0 -1
- package/src/divider/types.ts +0 -1
- package/src/drop-zone/index.tsx +17 -76
- package/src/drop-zone/style.scss +51 -16
- package/src/dropdown-menu/index.tsx +1 -0
- package/src/dropdown-menu-v2/index.tsx +0 -1
- package/src/dropdown-menu-v2/styles.ts +0 -1
- package/src/dropdown-menu-v2/types.ts +0 -1
- package/src/font-size-picker/font-size-picker-select.tsx +1 -1
- package/src/font-size-picker/index.tsx +1 -1
- package/src/font-size-picker/test/index.tsx +6 -6
- package/src/font-size-picker/utils.ts +0 -5
- package/src/form-token-field/token.tsx +2 -0
- package/src/higher-order/navigate-regions/style.scss +25 -13
- package/src/higher-order/with-spoken-messages/index.tsx +1 -2
- package/src/lock-unlock.js +1 -1
- package/src/menu-items-choice/types.ts +2 -1
- package/src/palette-edit/index.tsx +33 -45
- package/src/palette-edit/test/index.tsx +3 -4
- package/src/palette-edit/types.ts +1 -3
- package/src/popover/index.tsx +0 -2
- package/src/popover/utils.ts +0 -1
- package/src/private-apis.ts +2 -5
- package/src/progress-bar/styles.ts +18 -9
- package/src/radio-group/context.tsx +0 -1
- package/src/radio-group/index.tsx +0 -1
- package/src/radio-group/radio.tsx +0 -1
- package/src/range-control/index.tsx +2 -0
- package/src/range-control/styles/range-control-styles.ts +6 -2
- package/src/resizable-box/resize-tooltip/utils.ts +1 -1
- package/src/select-control/index.tsx +3 -4
- package/src/select-control/styles/select-control-styles.ts +17 -6
- package/src/tab-panel/index.tsx +0 -1
- package/src/tabs/index.tsx +0 -1
- package/src/tabs/stories/index.story.tsx +25 -18
- package/src/tabs/styles.ts +18 -14
- package/src/tabs/tablist.tsx +187 -43
- package/src/tabs/types.ts +0 -1
- package/src/theme/stories/index.story.tsx +2 -0
- package/src/toggle-group-control/toggle-group-control/as-radio-group.tsx +0 -1
- package/src/toggle-group-control/toggle-group-control/component.tsx +0 -2
- package/src/toggle-group-control/toggle-group-control-option-base/component.tsx +0 -2
- package/src/toolbar/toolbar/README.md +9 -0
- package/src/toolbar/toolbar/style.scss +7 -0
- package/src/toolbar/toolbar/toolbar-container.tsx +0 -1
- package/src/toolbar/toolbar/types.ts +6 -0
- package/src/toolbar/toolbar-button/index.tsx +30 -17
- package/src/toolbar/toolbar-button/types.ts +19 -0
- package/src/toolbar/toolbar-context/index.ts +0 -1
- package/src/toolbar/toolbar-item/index.tsx +1 -1
- package/src/tooltip/index.tsx +3 -2
- package/src/tooltip/test/index.tsx +18 -0
- package/src/tooltip/types.ts +4 -0
- package/src/unit-control/index.tsx +3 -2
- package/src/unit-control/styles/unit-control-styles.ts +10 -4
- package/src/utils/hooks/use-update-effect.js +8 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,74 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 28.3.0 (2024-07-10)
|
|
6
|
+
|
|
7
|
+
### Enhancements
|
|
8
|
+
|
|
9
|
+
- `Tooltip`: Add support for `className` prop ([#63157](https://github.com/WordPress/gutenberg/pull/63157)).
|
|
10
|
+
- `Toolbar`: Add support for `vertical` orientation ([#60123](https://github.com/WordPress/gutenberg/pull/60123)).
|
|
11
|
+
- `BaseControl`: forward ref on `VisualLabel` ([#63169](https://github.com/WordPress/gutenberg/pull/63169)).
|
|
12
|
+
- `ToolbarButton`: Deprecate `isDisabled` prop and merge with `disabled` ([#63101](https://github.com/WordPress/gutenberg/pull/63101)).
|
|
13
|
+
- `Button`: Stabilize `__experimentalIsFocusable` prop as `accessibleWhenDisabled` ([#62282](https://github.com/WordPress/gutenberg/pull/62282)).
|
|
14
|
+
- `ToolbarButton`: Always keep focusable when disabled ([#63102](https://github.com/WordPress/gutenberg/pull/63102)).
|
|
15
|
+
- `ProgressBar`: Fix indeterminate RTL support. ([#63129](https://github.com/WordPress/gutenberg/pull/63129)).
|
|
16
|
+
- `RangeControl`: Fix RTL support for custom marks ([#63198](https://github.com/WordPress/gutenberg/pull/63198)).
|
|
17
|
+
- `TimePicker`: Add `dateOrder` prop ([#62481](https://github.com/WordPress/gutenberg/pull/62481)).
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- `Tabs`: Make Tabs have a fluid height ([#62027](https://github.com/WordPress/gutenberg/pull/62027)).
|
|
22
|
+
- `UnitControl`: Fix colors when disabled. ([#62970](https://github.com/WordPress/gutenberg/pull/62970))
|
|
23
|
+
- `useUpdateEffect`: Correctly track mounted state in strict mode. ([#62974](https://github.com/WordPress/gutenberg/pull/62974))
|
|
24
|
+
- `UnitControl`: Fix an issue where keyboard shortcuts unintentionally shift focus on Windows OS. ([#62988](https://github.com/WordPress/gutenberg/pull/62988))
|
|
25
|
+
- Fix inaccessibly disabled `Button`s ([#62306](https://github.com/WordPress/gutenberg/pull/62306)).
|
|
26
|
+
- `TimePicker`: Fix time zone overflow ([#63209](https://github.com/WordPress/gutenberg/pull/63209)).
|
|
27
|
+
- `SelectControl`: Fix disabled styles ([#63266](https://github.com/WordPress/gutenberg/pull/63266)).
|
|
28
|
+
- `Tabs`: Fix text-align when text wraps in vertical mode ([#63272](https://github.com/WordPress/gutenberg/pull/63272)).
|
|
29
|
+
- `Tabs`: Fix "With tab icons" Storybook example ([#63297](https://github.com/WordPress/gutenberg/pull/63297)).
|
|
30
|
+
|
|
31
|
+
### Internal
|
|
32
|
+
|
|
33
|
+
- `Allow ariakit and framer motion imports in the components package. ([#63123](https://github.com/WordPress/gutenberg/pull/63123))
|
|
34
|
+
- `CustomSelectControlV2`: prevent keyboard event propagation in legacy wrapper. ([#62907](https://github.com/WordPress/gutenberg/pull/62907))
|
|
35
|
+
- `CustomSelectControlV2`: expose legacy wrapper through private APIs. ([#62936](https://github.com/WordPress/gutenberg/pull/62936))
|
|
36
|
+
- `CustomSelectControlV2`: fix item styles ([#62825](https://github.com/WordPress/gutenberg/pull/62825))
|
|
37
|
+
- `CustomSelectControlV2`: add root element wrapper. ([#62803](https://github.com/WordPress/gutenberg/pull/62803))
|
|
38
|
+
- `CustomSelectControlV2`: tweak item inline padding based on size ([#62850](https://github.com/WordPress/gutenberg/pull/62850)).
|
|
39
|
+
- `CustomSelectControlV2`: fix popover styles. ([#62821](https://github.com/WordPress/gutenberg/pull/62821))
|
|
40
|
+
- `CustomSelectControlV2`: fix trigger text alignment in RTL languages ([#62869](https://github.com/WordPress/gutenberg/pull/62869)).
|
|
41
|
+
- `CustomSelectControlV2`: allow wrapping item hint to new line ([#62848](https://github.com/WordPress/gutenberg/pull/62848)).
|
|
42
|
+
- `CustomSelectControlV2`: fix select popover content overflow. ([#62844](https://github.com/WordPress/gutenberg/pull/62844))
|
|
43
|
+
- `CustomSelectControlV2`: keep item checkmark top aligned. ([#63230](https://github.com/WordPress/gutenberg/pull/63230))
|
|
44
|
+
- `CustomSelectControlV2`: keep legacy arrow down behavior only for legacy wrapper. ([#62919](https://github.com/WordPress/gutenberg/pull/62919))
|
|
45
|
+
- `CustomSelectControlV2`: fix trigger button font size. ([#63131](https://github.com/WordPress/gutenberg/pull/63131))
|
|
46
|
+
- `CustomSelectControlV2`: fix labelling with a visually hidden label. ([#63137](https://github.com/WordPress/gutenberg/pull/63137))
|
|
47
|
+
- `CustomSelectControlV2`: allow checkmark wrapper to collapse when not shown. ([#63229](https://github.com/WordPress/gutenberg/pull/63229))
|
|
48
|
+
- Extract `TimeInput` component from `TimePicker` ([#60613](https://github.com/WordPress/gutenberg/pull/60613)).
|
|
49
|
+
- `TimeInput`: Add `label` prop ([#63106](https://github.com/WordPress/gutenberg/pull/63106)).
|
|
50
|
+
- Method style type signatures have been changed to function style ([#62718](https://github.com/WordPress/gutenberg/pull/62718)).
|
|
51
|
+
- `FontSizePicker`: use CustomSelectControl V2 legacy adapter ([#63134](https://github.com/WordPress/gutenberg/pull/63134)).
|
|
52
|
+
|
|
53
|
+
## 28.2.0 (2024-06-26)
|
|
54
|
+
|
|
55
|
+
### Enhancements
|
|
56
|
+
|
|
57
|
+
- `DropZone`: rewrite animation without depending on framer-motion. ([#62044](https://github.com/WordPress/gutenberg/pull/62044))
|
|
58
|
+
- `__experimentalPaletteEdit`: improve the accessibility. ([#62753](https://github.com/WordPress/gutenberg/pull/62753))
|
|
59
|
+
|
|
60
|
+
### Internal
|
|
61
|
+
|
|
62
|
+
- `CustomSelectControl`: align unit tests for v1 and legacy v2 versions. ([#62706](https://github.com/WordPress/gutenberg/pull/62706))
|
|
63
|
+
- `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))
|
|
64
|
+
- `CustomSelectControlV2`: fix setting initial value and reacting to external controlled updates. ([#62733](https://github.com/WordPress/gutenberg/pull/62733))
|
|
65
|
+
- `CustomSelectControlV2`: Handle long strings in selected value ([#62198](https://github.com/WordPress/gutenberg/pull/62198)).
|
|
66
|
+
|
|
5
67
|
## 28.1.0 (2024-06-15)
|
|
6
68
|
|
|
7
69
|
### Enhancements
|
|
8
70
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
71
|
+
- 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))
|
|
72
|
+
- 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
73
|
|
|
12
74
|
### Bug Fixes
|
|
13
75
|
|
|
@@ -58,7 +120,7 @@
|
|
|
58
120
|
- Upgraded the @types/react and @types/react-dom packages ([#60796](https://github.com/WordPress/gutenberg/pull/60796)).
|
|
59
121
|
- `Placeholder`: Tweak placeholder style ([#61590](https://github.com/WordPress/gutenberg/pull/61590)).
|
|
60
122
|
|
|
61
|
-
### Bug
|
|
123
|
+
### Bug Fixes
|
|
62
124
|
|
|
63
125
|
- `ToolsPanel`: Fix sticking “Reset” option ([#60621](https://github.com/WordPress/gutenberg/pull/60621)).
|
|
64
126
|
- Fix an issue where types used a synthetic default import ([#61679](https://github.com/WordPress/gutenberg/pull/61679)).
|
|
@@ -75,7 +137,7 @@
|
|
|
75
137
|
- `DropZone`: Avoid a media query on mount [#60546](https://github.com/WordPress/gutenberg/pull/60546)).
|
|
76
138
|
- `ComboboxControl`: Simplify string normalization ([#60893](https://github.com/WordPress/gutenberg/pull/60893)).
|
|
77
139
|
|
|
78
|
-
### Bug
|
|
140
|
+
### Bug Fixes
|
|
79
141
|
|
|
80
142
|
- `BaseControl`, `InputControl`: Remove usage of aria-details from InputControl and BaseControl ([#61203](https://github.com/WordPress/gutenberg/pull/61203)).
|
|
81
143
|
- `SlotFill`: fixed missing `getServerSnapshot` parameter in slot map ([#60943](https://github.com/WordPress/gutenberg/pull/60943)).
|
|
@@ -87,7 +149,7 @@
|
|
|
87
149
|
|
|
88
150
|
## 27.4.0 (2024-04-19)
|
|
89
151
|
|
|
90
|
-
###
|
|
152
|
+
### Deprecations
|
|
91
153
|
|
|
92
154
|
- `Navigation`: Soft deprecate component ([#59182](https://github.com/WordPress/gutenberg/pull/59182)).
|
|
93
155
|
|
|
@@ -102,7 +164,7 @@
|
|
|
102
164
|
- `ToggleControl`: Forwards ref to FormToggle ([#60234](https://github.com/WordPress/gutenberg/pull/60234)).
|
|
103
165
|
- `CheckboxControl`: Update help text alignment ([#60787](https://github.com/WordPress/gutenberg/pull/60787)).
|
|
104
166
|
|
|
105
|
-
### Bug
|
|
167
|
+
### Bug Fixes
|
|
106
168
|
|
|
107
169
|
- `Truncate`: Fix link control link preview when it displays long URLs ([#60890](https://github.com/WordPress/gutenberg/pull/60890)).
|
|
108
170
|
|
|
@@ -124,7 +186,7 @@
|
|
|
124
186
|
|
|
125
187
|
## 27.3.0 (2024-04-03)
|
|
126
188
|
|
|
127
|
-
### Bug
|
|
189
|
+
### Bug Fixes
|
|
128
190
|
|
|
129
191
|
- `Dropdown`: Fix bug with separator styling. ([#60336](https://github.com/WordPress/gutenberg/pull/60336)).
|
|
130
192
|
- `InputControl`: Ignore IME events when `isPressEnterToChange` is enabled ([#60090](https://github.com/WordPress/gutenberg/pull/60090)).
|
|
@@ -157,7 +219,7 @@
|
|
|
157
219
|
- `Text`, `Heading`, `ItemGroup` : Update the line height from 1.2 to 1.4 ([#60041](https://github.com/WordPress/gutenberg/pull/60041)).
|
|
158
220
|
- `Autocomplete` : match the autocomplete styling to that of List View and Command Palette([#60131](https://github.com/WordPress/gutenberg/pull/60131)).
|
|
159
221
|
|
|
160
|
-
###
|
|
222
|
+
### Deprecations
|
|
161
223
|
|
|
162
224
|
- `isSmall` prop in `Button` component has been deprecated. Use `size="small"` prop instead ([#59734](https://github.com/WordPress/gutenberg/pull/59734)).
|
|
163
225
|
|
|
@@ -165,14 +227,14 @@
|
|
|
165
227
|
|
|
166
228
|
- `Button`: Keep deprecated props in type definitions ([#59913](https://github.com/WordPress/gutenberg/pull/59913)).
|
|
167
229
|
|
|
168
|
-
### Bug
|
|
230
|
+
### Bug Fixes
|
|
169
231
|
|
|
170
232
|
- `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
233
|
- `DateTimePicker`: Change day button size back from 32px to 28px ([#59990](https://github.com/WordPress/gutenberg/pull/59990)).
|
|
172
234
|
|
|
173
235
|
## 27.1.0 (2024-03-06)
|
|
174
236
|
|
|
175
|
-
### Bug
|
|
237
|
+
### Bug Fixes
|
|
176
238
|
|
|
177
239
|
- `InputControl`: Fix sample code on InputControl docs [#59517](https://github.com/WordPress/gutenberg/pull/59517)
|
|
178
240
|
- `Tooltip`: Explicitly set system font to avoid CSS bleed ([#59307](https://github.com/WordPress/gutenberg/pull/59307)).
|
|
@@ -196,7 +258,7 @@
|
|
|
196
258
|
|
|
197
259
|
- `CustomSelectControl`: Remove deprecated `__nextUnconstrainedWidth` prop and promote to default behavior ([#58974](https://github.com/WordPress/gutenberg/pull/58974)).
|
|
198
260
|
|
|
199
|
-
### Bug
|
|
261
|
+
### Bug Fixes
|
|
200
262
|
|
|
201
263
|
- `ToolbarButton`: Center text for short labels ([#59117](https://github.com/WordPress/gutenberg/pull/59117)).
|
|
202
264
|
|
|
@@ -214,7 +276,7 @@
|
|
|
214
276
|
|
|
215
277
|
## 26.0.1 (2024-02-13)
|
|
216
278
|
|
|
217
|
-
### Bug
|
|
279
|
+
### Bug Fixes
|
|
218
280
|
|
|
219
281
|
- `Modal`: Add `box-sizing` reset style ([#58905](https://github.com/WordPress/gutenberg/pull/58905)).
|
|
220
282
|
- `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 +304,7 @@
|
|
|
242
304
|
- `CheckboxControl`: Remove ability for label prop to be false ([#58339](https://github.com/WordPress/gutenberg/pull/58339)).
|
|
243
305
|
- `FocalPointPicker`: Apply modern styling ([#58459](https://github.com/WordPress/gutenberg/pull/58459)).
|
|
244
306
|
|
|
245
|
-
### Bug
|
|
307
|
+
### Bug Fixes
|
|
246
308
|
|
|
247
309
|
- `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
310
|
- `DateTime`: Add a timezone offset value for display purposes. ([#56682](https://github.com/WordPress/gutenberg/pull/56682)).
|
|
@@ -284,7 +346,7 @@
|
|
|
284
346
|
- `SlotFill`: fix typo in use-slot-fills return docs ([#57654](https://github.com/WordPress/gutenberg/pull/57654))
|
|
285
347
|
- `Popover`: Adding `constrainTabbing` prop to `useDialog` hook ([#57962](https://github.com/WordPress/gutenberg/pull/57962))
|
|
286
348
|
|
|
287
|
-
### Bug
|
|
349
|
+
### Bug Fixes
|
|
288
350
|
|
|
289
351
|
- `ToggleGroupControl`: Improve controlled value detection ([#57770](https://github.com/WordPress/gutenberg/pull/57770)).
|
|
290
352
|
- `Tooltip`: Improve props forwarding to children of nested `Tooltip` components ([#57878](https://github.com/WordPress/gutenberg/pull/57878)).
|
|
@@ -299,7 +361,7 @@
|
|
|
299
361
|
|
|
300
362
|
## 25.15.0 (2024-01-10)
|
|
301
363
|
|
|
302
|
-
### Bug
|
|
364
|
+
### Bug Fixes
|
|
303
365
|
|
|
304
366
|
- `NumberControl`: Make increment and decrement buttons keyboard accessible. ([#57402](https://github.com/WordPress/gutenberg/pull/57402)).
|
|
305
367
|
- `DropdownMenu V2`: better fallback on browsers that don't support CSS subgrid([#57327](https://github.com/WordPress/gutenberg/pull/57327)).
|
|
@@ -351,7 +413,7 @@
|
|
|
351
413
|
- `FontSizePicker`: Add opt-in prop for 40px default size ([#56804](https://github.com/WordPress/gutenberg/pull/56804)).
|
|
352
414
|
- `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
415
|
|
|
354
|
-
### Bug
|
|
416
|
+
### Bug Fixes
|
|
355
417
|
|
|
356
418
|
- `PaletteEdit`: temporary custom gradient not saving ([#56896](https://github.com/WordPress/gutenberg/pull/56896)).
|
|
357
419
|
- `ToggleGroupControl`: react correctly to external controlled updates ([#56678](https://github.com/WordPress/gutenberg/pull/56678)).
|
|
@@ -386,7 +448,7 @@
|
|
|
386
448
|
- `Button`: Add focus rings to focusable disabled buttons ([#56383](https://github.com/WordPress/gutenberg/pull/56383)).
|
|
387
449
|
- `InserterButton`: Move mobile InserterButton from components package to block-editor package ([#56494](https://github.com/WordPress/gutenberg/pull/56494))
|
|
388
450
|
|
|
389
|
-
### Bug
|
|
451
|
+
### Bug Fixes
|
|
390
452
|
|
|
391
453
|
- `DateTime`: Make the Timezone indication render a tooltip only when necessary. ([#56214](https://github.com/WordPress/gutenberg/pull/56214)).
|
|
392
454
|
- `ToolsPanelItem`: Use useLayoutEffect to prevent rendering glitch for last panel item styling. ([#56536](https://github.com/WordPress/gutenberg/pull/56536)).
|
|
@@ -406,14 +468,11 @@
|
|
|
406
468
|
|
|
407
469
|
- `Slot`: add `style` prop to `bubblesVirtually` version ([#56428](https://github.com/WordPress/gutenberg/pull/56428))
|
|
408
470
|
- Introduce experimental new version of `CustomSelectControl` based on `ariakit` ([#55790](https://github.com/WordPress/gutenberg/pull/55790))
|
|
409
|
-
|
|
410
|
-
### Code Quality
|
|
411
|
-
|
|
412
471
|
- `Composite`: add unit tests for `useCompositeState` ([#56645](https://github.com/WordPress/gutenberg/pull/56645)).
|
|
413
472
|
|
|
414
473
|
## 25.12.0 (2023-11-16)
|
|
415
474
|
|
|
416
|
-
### Bug
|
|
475
|
+
### Bug Fixes
|
|
417
476
|
|
|
418
477
|
- `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
478
|
|
|
@@ -435,7 +494,7 @@
|
|
|
435
494
|
- `ToggleGroupControl`: Add opt-in prop for 40px default size ([#55789](https://github.com/WordPress/gutenberg/pull/55789)).
|
|
436
495
|
- `TextControl`: Add opt-in prop for 40px default size ([#55471](https://github.com/WordPress/gutenberg/pull/55471)).
|
|
437
496
|
|
|
438
|
-
### Bug
|
|
497
|
+
### Bug Fixes
|
|
439
498
|
|
|
440
499
|
- `DropdownMenu`: remove extra vertical space around the toggle button ([#56136](https://github.com/WordPress/gutenberg/pull/56136)).
|
|
441
500
|
- Package should not depend on `@ariakit/test`, that package is only needed for testing ([#56091](https://github.com/WordPress/gutenberg/pull/56091)).
|
|
@@ -446,7 +505,7 @@
|
|
|
446
505
|
|
|
447
506
|
- `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
507
|
|
|
449
|
-
### Bug
|
|
508
|
+
### Bug Fixes
|
|
450
509
|
|
|
451
510
|
- `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
511
|
- Improve Button saving state accessibility. ([#55547](https://github.com/WordPress/gutenberg/pull/55547))
|
|
@@ -467,7 +526,7 @@
|
|
|
467
526
|
- `Tabs`: Expose via private APIs ([#55327](https://github.com/WordPress/gutenberg/pull/55327)).
|
|
468
527
|
- `ColorPalette`/`ToggleGroupControl/ToggleGroupControlOptionBase`: add `type="button"` attribute to native `<button>`s ([#55125](https://github.com/WordPress/gutenberg/pull/55125)).
|
|
469
528
|
|
|
470
|
-
### Bug
|
|
529
|
+
### Bug Fixes
|
|
471
530
|
|
|
472
531
|
- 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
532
|
- `Modal`: fix closing when contained iframe is focused ([#51602](https://github.com/WordPress/gutenberg/pull/51602)).
|
|
@@ -495,7 +554,7 @@
|
|
|
495
554
|
- Wrapped `TextareaControl` in a `forwardRef` call ([#54975](https://github.com/WordPress/gutenberg/pull/54975)).
|
|
496
555
|
- `Composite`/`AlignmentMatrixControl`/`CircularOptionPicker`: Starts the `Composite` migration from `reakit` to `ariakit` ([#54225](https://github.com/WordPress/gutenberg/pull/54225)).
|
|
497
556
|
|
|
498
|
-
### Bug
|
|
557
|
+
### Bug Fixes
|
|
499
558
|
|
|
500
559
|
- `Placeholder`: Improved DOM structure and screen reader announcements ([#45801](https://github.com/WordPress/gutenberg/pull/45801)).
|
|
501
560
|
- `DateTimePicker`: fix onChange callback check so that it also works inside iframes ([#54669](https://github.com/WordPress/gutenberg/pull/54669)).
|
|
@@ -541,7 +600,7 @@
|
|
|
541
600
|
- `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
601
|
- `Sandbox`: Add `tabIndex` prop ([#54408](https://github.com/WordPress/gutenberg/pull/54408)).
|
|
543
602
|
|
|
544
|
-
### Bug
|
|
603
|
+
### Bug Fixes
|
|
545
604
|
|
|
546
605
|
- `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
606
|
- `Tooltip`: dynamically render in the DOM only when visible ([#54312](https://github.com/WordPress/gutenberg/pull/54312)).
|
|
@@ -577,7 +636,7 @@
|
|
|
577
636
|
|
|
578
637
|
## 25.7.0 (2023-08-31)
|
|
579
638
|
|
|
580
|
-
### Breaking
|
|
639
|
+
### Breaking Changes
|
|
581
640
|
|
|
582
641
|
- 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
642
|
|
|
@@ -586,7 +645,7 @@
|
|
|
586
645
|
- `ProgressBar`: Add transition to determinate indicator ([#53877](https://github.com/WordPress/gutenberg/pull/53877)).
|
|
587
646
|
- Prevent nested `SlotFillProvider` from rendering ([#53940](https://github.com/WordPress/gutenberg/pull/53940)).
|
|
588
647
|
|
|
589
|
-
### Bug
|
|
648
|
+
### Bug Fixes
|
|
590
649
|
|
|
591
650
|
- `SandBox`: Fix the cleanup method in useEffect ([#53796](https://github.com/WordPress/gutenberg/pull/53796)).
|
|
592
651
|
- `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 +671,7 @@
|
|
|
612
671
|
- Components: Move accent colors to theme context ([#53631](https://github.com/WordPress/gutenberg/pull/53631)).
|
|
613
672
|
- `ProgressBar`: Use the new theme system accent for indicator color ([#53632](https://github.com/WordPress/gutenberg/pull/53632)).
|
|
614
673
|
|
|
615
|
-
### Bug
|
|
674
|
+
### Bug Fixes
|
|
616
675
|
|
|
617
676
|
- `Button`: add `:disabled` selector to reset hover color for disabled buttons ([#53411](https://github.com/WordPress/gutenberg/pull/53411)).
|
|
618
677
|
|
|
@@ -626,7 +685,7 @@
|
|
|
626
685
|
|
|
627
686
|
## 25.5.0 (2023-08-10)
|
|
628
687
|
|
|
629
|
-
### New
|
|
688
|
+
### New Features
|
|
630
689
|
|
|
631
690
|
- Add a new `ProgressBar` component. ([#53030](https://github.com/WordPress/gutenberg/pull/53030)).
|
|
632
691
|
|
|
@@ -636,7 +695,7 @@
|
|
|
636
695
|
- `MenuItemsChoice`, `MenuItem`: Support a `disabled` prop on a menu item ([#52737](https://github.com/WordPress/gutenberg/pull/52737)).
|
|
637
696
|
- `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
697
|
|
|
639
|
-
### Bug
|
|
698
|
+
### Bug Fixes
|
|
640
699
|
|
|
641
700
|
- `Modal`: Fix loss of focus when clicking outside ([#52653](https://github.com/WordPress/gutenberg/pull/52653)).
|
|
642
701
|
|
|
@@ -647,7 +706,7 @@
|
|
|
647
706
|
- `TextControl`: Add `id` prop to allow for custom IDs in `TextControl`s ([#52028](https://github.com/WordPress/gutenberg/pull/52028)).
|
|
648
707
|
- `Navigator`: Add `replace` option to `navigator.goTo()` and `navigator.goToParent()` ([#52456](https://github.com/WordPress/gutenberg/pull/52456)).
|
|
649
708
|
|
|
650
|
-
### Bug
|
|
709
|
+
### Bug Fixes
|
|
651
710
|
|
|
652
711
|
- `Popover`: Pin `react-dropdown-menu` version to avoid breaking changes in dependency updates. ([#52356](https://github.com/WordPress/gutenberg/pull/52356)).
|
|
653
712
|
- `Item`: Unify focus style and add default font styles. ([#52495](https://github.com/WordPress/gutenberg/pull/52495)).
|
|
@@ -664,7 +723,7 @@
|
|
|
664
723
|
- `ItemGroup`: Update button focus state styles to target `:focus-visible` rather than `:focus`. ([#51787](https://github.com/WordPress/gutenberg/pull/51787)).
|
|
665
724
|
- `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
725
|
|
|
667
|
-
### Bug
|
|
726
|
+
### Bug Fixes
|
|
668
727
|
|
|
669
728
|
- `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
729
|
- `ZStack`: ZStack: fix component bounding box to match children ([#51836](https://github.com/WordPress/gutenberg/pull/51836)).
|
|
@@ -682,7 +741,7 @@
|
|
|
682
741
|
- `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
742
|
- `ItemGroup`: Update button focus state styles to target `:focus-visible` rather than `:focus`. ([#51787](https://github.com/WordPress/gutenberg/pull/51787)).
|
|
684
743
|
|
|
685
|
-
### Bug
|
|
744
|
+
### Bug Fixes
|
|
686
745
|
|
|
687
746
|
- `Popover`: Allow legitimate 0 positions to update popover position ([#51320](https://github.com/WordPress/gutenberg/pull/51320)).
|
|
688
747
|
- `Button`: Remove unnecessary margin from dashicon ([#51395](https://github.com/WordPress/gutenberg/pull/51395)).
|
|
@@ -704,7 +763,7 @@
|
|
|
704
763
|
- `BorderControl`: Improve color code readability in aria-label ([#51197](https://github.com/WordPress/gutenberg/pull/51197)).
|
|
705
764
|
- `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
765
|
|
|
707
|
-
### Bug
|
|
766
|
+
### Bug Fixes
|
|
708
767
|
|
|
709
768
|
- `FocalPointUnitControl`: Add aria-labels ([#50993](https://github.com/WordPress/gutenberg/pull/50993)).
|
|
710
769
|
|
|
@@ -734,7 +793,7 @@
|
|
|
734
793
|
- Added experimental v2 of `DropdownMenu` ([#49473](https://github.com/WordPress/gutenberg/pull/49473)).
|
|
735
794
|
- `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
795
|
|
|
737
|
-
### Bug
|
|
796
|
+
### Bug Fixes
|
|
738
797
|
|
|
739
798
|
- `ColorPicker`: Add an outline when the color picker select box is focused([#50609](https://github.com/WordPress/gutenberg/pull/50609)).
|
|
740
799
|
- `InputControl`: Fix focus style to support Windows High Contrast mode ([#50772](https://github.com/WordPress/gutenberg/pull/50772)).
|
|
@@ -752,7 +811,7 @@
|
|
|
752
811
|
|
|
753
812
|
- `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
813
|
|
|
755
|
-
### Bug
|
|
814
|
+
### Bug Fixes
|
|
756
815
|
|
|
757
816
|
- `NavigableContainer`: do not trap focus in `TabbableContainer` ([#49846](https://github.com/WordPress/gutenberg/pull/49846)).
|
|
758
817
|
- 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 +862,7 @@
|
|
|
803
862
|
- `SlotFill`: Added util for creating private SlotFills and supporting Symbol keys ([#49819](https://github.com/WordPress/gutenberg/pull/49819)).
|
|
804
863
|
- `IconType`: Export for external use ([#49649](https://github.com/WordPress/gutenberg/pull/49649)).
|
|
805
864
|
|
|
806
|
-
### Bug
|
|
865
|
+
### Bug Fixes
|
|
807
866
|
|
|
808
867
|
- `CheckboxControl`: Add support custom IDs ([#49977](https://github.com/WordPress/gutenberg/pull/49977)).
|
|
809
868
|
|
|
@@ -826,7 +885,7 @@
|
|
|
826
885
|
- `Spinner`: add explicit opacity and background styles ([#49695](https://github.com/WordPress/gutenberg/pull/49695)).
|
|
827
886
|
- Make TypeScript types available for consumers ([#49229](https://github.com/WordPress/gutenberg/pull/49229)).
|
|
828
887
|
|
|
829
|
-
### Bug
|
|
888
|
+
### Bug Fixes
|
|
830
889
|
|
|
831
890
|
- `Snackbar`: Fix insufficient color contrast on hover ([#49682](https://github.com/WordPress/gutenberg/pull/49682)).
|
|
832
891
|
|
|
@@ -847,7 +906,7 @@
|
|
|
847
906
|
- `AnglePickerControl`: Style to better fit in narrow contexts and improve RTL layout ([#49046](https://github.com/WordPress/gutenberg/pull/49046)).
|
|
848
907
|
- `ImageSizeControl`: Use large 40px sizes ([#49113](https://github.com/WordPress/gutenberg/pull/49113)).
|
|
849
908
|
|
|
850
|
-
### Bug
|
|
909
|
+
### Bug Fixes
|
|
851
910
|
|
|
852
911
|
- `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
912
|
- `InputControl`: Fix misaligned textarea input control ([#49116](https://github.com/WordPress/gutenberg/pull/49116)).
|
|
@@ -866,7 +925,7 @@
|
|
|
866
925
|
- `Navigator`: Disable initial screen animation ([#49062](https://github.com/WordPress/gutenberg/pull/49062)).
|
|
867
926
|
- `FormTokenField`: Hide suggestions list on blur event if the input value is invalid ([#48785](https://github.com/WordPress/gutenberg/pull/48785)).
|
|
868
927
|
|
|
869
|
-
### Bug
|
|
928
|
+
### Bug Fixes
|
|
870
929
|
|
|
871
930
|
- `ResponsiveWrapper`: use `aspect-ratio` CSS prop, add support for `SVG` elements ([#48573](https://github.com/WordPress/gutenberg/pull/48573).
|
|
872
931
|
- `ResizeTooltip`: Use `default.fontFamily` on tooltip ([#48805](https://github.com/WordPress/gutenberg/pull/48805).
|
|
@@ -906,7 +965,7 @@
|
|
|
906
965
|
|
|
907
966
|
## 23.4.0 (2023-02-15)
|
|
908
967
|
|
|
909
|
-
### Bug
|
|
968
|
+
### Bug Fixes
|
|
910
969
|
|
|
911
970
|
- `ToolsPanel`: fix type inconsistencies between types, docs and normal component usage ([47944](https://github.com/WordPress/gutenberg/pull/47944)).
|
|
912
971
|
- `SelectControl`: Fix styling when `multiple` prop is enabled ([#47893](https://github.com/WordPress/gutenberg/pull/43213)).
|
|
@@ -965,7 +1024,7 @@
|
|
|
965
1024
|
- `Notice`: refactor to TypeScript ([47118](https://github.com/WordPress/gutenberg/pull/47118)).
|
|
966
1025
|
- `Popover`: Take iframe element scaling into account ([47004](https://github.com/WordPress/gutenberg/pull/47004)).
|
|
967
1026
|
|
|
968
|
-
### Bug
|
|
1027
|
+
### Bug Fixes
|
|
969
1028
|
|
|
970
1029
|
- `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
1030
|
- `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 +1041,7 @@
|
|
|
982
1041
|
- `ResponsiveWrapper`: Convert to TypeScript ([#46480](https://github.com/WordPress/gutenberg/pull/46480)).
|
|
983
1042
|
- `ItemGroup`: migrate Storybook to controls, refactor to TypeScript ([46945](https://github.com/WordPress/gutenberg/pull/46945)).
|
|
984
1043
|
|
|
985
|
-
### Bug
|
|
1044
|
+
### Bug Fixes
|
|
986
1045
|
|
|
987
1046
|
- `Placeholder`: set fixed right margin for label's icon ([46918](https://github.com/WordPress/gutenberg/pull/46918)).
|
|
988
1047
|
- `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 +1058,13 @@
|
|
|
999
1058
|
|
|
1000
1059
|
- Updated dependencies to require React 18 ([45235](https://github.com/WordPress/gutenberg/pull/45235))
|
|
1001
1060
|
|
|
1002
|
-
### New
|
|
1061
|
+
### New Features
|
|
1003
1062
|
|
|
1004
1063
|
- `TabPanel`: support manual tab activation ([#46004](https://github.com/WordPress/gutenberg/pull/46004)).
|
|
1005
1064
|
- `TabPanel`: support disabled prop for tab buttons ([#46471](https://github.com/WordPress/gutenberg/pull/46471)).
|
|
1006
1065
|
- `BaseControl`: Add `useBaseControlProps` hook to help generate id-releated props ([#46170](https://github.com/WordPress/gutenberg/pull/46170)).
|
|
1007
1066
|
|
|
1008
|
-
### Bug
|
|
1067
|
+
### Bug Fixes
|
|
1009
1068
|
|
|
1010
1069
|
- `ColorPalette`: show "Clear" button even when colors array is empty ([#46001](https://github.com/WordPress/gutenberg/pull/46001)).
|
|
1011
1070
|
- `InputControl`: Fix internal `Flex` wrapper usage that could add an unintended `height: 100%` ([#46213](https://github.com/WordPress/gutenberg/pull/46213)).
|
|
@@ -1064,7 +1123,7 @@
|
|
|
1064
1123
|
|
|
1065
1124
|
- `AnglePickerControl`: remove `:focus-visible' outline on `CircleOutlineWrapper` ([#45758](https://github.com/WordPress/gutenberg/pull/45758))
|
|
1066
1125
|
|
|
1067
|
-
### Bug
|
|
1126
|
+
### Bug Fixes
|
|
1068
1127
|
|
|
1069
1128
|
- `FormTokenField`: Fix duplicate input in IME composition ([#45607](https://github.com/WordPress/gutenberg/pull/45607)).
|
|
1070
1129
|
- `Autocomplete`: Check key events more strictly in IME composition ([#45626](https://github.com/WordPress/gutenberg/pull/45626)).
|
|
@@ -1108,7 +1167,7 @@
|
|
|
1108
1167
|
- `Popover`: the deprecation messages for anchor-related props (`anchorRef`, `anchorRect`, `getAnchorRect`) have been updated. ([#45195](https://github.com/WordPress/gutenberg/pull/45195)).
|
|
1109
1168
|
- `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
1169
|
|
|
1111
|
-
### New
|
|
1170
|
+
### New Features
|
|
1112
1171
|
|
|
1113
1172
|
- `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
1173
|
- `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 +1183,7 @@
|
|
|
1124
1183
|
- `ToggleGroupControl`: Add `isDeselectable` prop to allow deselecting the selected option ([#45123](https://github.com/WordPress/gutenberg/pull/45123)).
|
|
1125
1184
|
- `FontSizePicker`: Improve hint text shown next to 'Font size' label ([#44966](https://github.com/WordPress/gutenberg/pull/44966)).
|
|
1126
1185
|
|
|
1127
|
-
### Bug
|
|
1186
|
+
### Bug Fixes
|
|
1128
1187
|
|
|
1129
1188
|
- `useNavigateRegions`: Add new keyboard shortcut alias to cover backtick and tilde keys inconsistencies across browsers ([#45019](https://github.com/WordPress/gutenberg/pull/45019)).
|
|
1130
1189
|
- `Button`: Tweak the destructive button primary, link, and default variants ([#44427](https://github.com/WordPress/gutenberg/pull/44427)).
|
|
@@ -1167,7 +1226,7 @@
|
|
|
1167
1226
|
|
|
1168
1227
|
## 21.3.0 (2022-10-19)
|
|
1169
1228
|
|
|
1170
|
-
### Bug
|
|
1229
|
+
### Bug Fixes
|
|
1171
1230
|
|
|
1172
1231
|
- `FontSizePicker`: Ensure that fluid font size presets appear correctly in the UI controls ([#44791](https://github.com/WordPress/gutenberg/pull/44791)).
|
|
1173
1232
|
- `ToggleGroupControl`: Remove unsupported `disabled` prop from types, and correctly mark `label` prop as required ([#45114](https://github.com/WordPress/gutenberg/pull/45114)).
|
|
@@ -1197,7 +1256,7 @@
|
|
|
1197
1256
|
- `BorderBoxControl`: Omit unit select when width values are mixed ([#44592](https://github.com/WordPress/gutenberg/pull/44592))
|
|
1198
1257
|
- `BorderControl`: Add ability to disable unit selection ([#44592](https://github.com/WordPress/gutenberg/pull/44592))
|
|
1199
1258
|
|
|
1200
|
-
### Bug
|
|
1259
|
+
### Bug Fixes
|
|
1201
1260
|
|
|
1202
1261
|
- `Popover`: fix limitShift logic by adding iframe offset correctly ([#42950](https://github.com/WordPress/gutenberg/pull/42950)).
|
|
1203
1262
|
- `Popover`: refine position-to-placement conversion logic, add tests ([#44377](https://github.com/WordPress/gutenberg/pull/44377)).
|
|
@@ -1230,7 +1289,7 @@
|
|
|
1230
1289
|
|
|
1231
1290
|
- `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
1291
|
|
|
1233
|
-
### Bug
|
|
1292
|
+
### Bug Fixes
|
|
1234
1293
|
|
|
1235
1294
|
- `Button`: Remove unexpected `has-text` class when empty children are passed ([#44198](https://github.com/WordPress/gutenberg/pull/44198)).
|
|
1236
1295
|
- 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 +1315,7 @@
|
|
|
1256
1315
|
- `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
1316
|
- `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
1317
|
|
|
1259
|
-
### Bug
|
|
1318
|
+
### Bug Fixes
|
|
1260
1319
|
|
|
1261
1320
|
- `Button`, `Icon`: Fix `iconSize` prop doesn't work with some icons ([#43821](https://github.com/WordPress/gutenberg/pull/43821)).
|
|
1262
1321
|
- `InputControl`, `NumberControl`, `UnitControl`: Fix margin when `labelPosition` is `bottom` ([#43995](https://github.com/WordPress/gutenberg/pull/43995)).
|
|
@@ -1321,7 +1380,7 @@
|
|
|
1321
1380
|
- `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
1381
|
- `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
1382
|
|
|
1324
|
-
### Bug
|
|
1383
|
+
### Bug Fixes
|
|
1325
1384
|
|
|
1326
1385
|
- `AlignmentMatrixControl`: keep the physical direction in RTL languages ([#43126](https://github.com/WordPress/gutenberg/pull/43126)).
|
|
1327
1386
|
- `AlignmentMatrixControl`: Fix the `width` prop so it works as intended ([#43482](https://github.com/WordPress/gutenberg/pull/43482)).
|
|
@@ -1392,7 +1451,7 @@
|
|
|
1392
1451
|
|
|
1393
1452
|
## 19.17.0 (2022-08-10)
|
|
1394
1453
|
|
|
1395
|
-
### Bug
|
|
1454
|
+
### Bug Fixes
|
|
1396
1455
|
|
|
1397
1456
|
- `Popover`: make sure that `ownerDocument` is always defined ([#42886](https://github.com/WordPress/gutenberg/pull/42886)).
|
|
1398
1457
|
- `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 +1497,7 @@
|
|
|
1438
1497
|
|
|
1439
1498
|
## 19.16.0 (2022-07-27)
|
|
1440
1499
|
|
|
1441
|
-
### Bug
|
|
1500
|
+
### Bug Fixes
|
|
1442
1501
|
|
|
1443
1502
|
- 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
1503
|
- `Popover`, `Dropdown`: Fix width when `expandOnMobile` is enabled ([#42635](https://github.com/WordPress/gutenberg/pull/42635/)).
|
|
@@ -1484,7 +1543,7 @@
|
|
|
1484
1543
|
|
|
1485
1544
|
## 19.15.0 (2022-07-13)
|
|
1486
1545
|
|
|
1487
|
-
### Bug
|
|
1546
|
+
### Bug Fixes
|
|
1488
1547
|
|
|
1489
1548
|
- `BoxControl`: Change ARIA role from `region` to `group` to avoid unwanted ARIA landmark regions ([#42094](https://github.com/WordPress/gutenberg/pull/42094)).
|
|
1490
1549
|
- `FocalPointPicker`, `FormTokenField`, `ResizableBox`: Fixed SSR breakage ([#42248](https://github.com/WordPress/gutenberg/pull/42248)).
|
|
@@ -1526,7 +1585,7 @@
|
|
|
1526
1585
|
|
|
1527
1586
|
## 19.14.0 (2022-06-29)
|
|
1528
1587
|
|
|
1529
|
-
### Bug
|
|
1588
|
+
### Bug Fixes
|
|
1530
1589
|
|
|
1531
1590
|
- `ColorPicker`: Remove horizontal scrollbar when using HSL or RGB color input types. ([#41646](https://github.com/WordPress/gutenberg/pull/41646))
|
|
1532
1591
|
- `ColorPicker`: Widen hex input field for mobile. ([#42004](https://github.com/WordPress/gutenberg/pull/42004))
|
|
@@ -1566,7 +1625,7 @@
|
|
|
1566
1625
|
|
|
1567
1626
|
## 19.13.0 (2022-06-15)
|
|
1568
1627
|
|
|
1569
|
-
### Bug
|
|
1628
|
+
### Bug Fixes
|
|
1570
1629
|
|
|
1571
1630
|
- `Tooltip`: Opt in to `__unstableShift` to ensure that the Tooltip is always within the viewport. ([#41524](https://github.com/WordPress/gutenberg/pull/41524))
|
|
1572
1631
|
- `FormTokenField`: Do not suggest the selected one even if `{ value: string }` is passed ([#41216](https://github.com/WordPress/gutenberg/pull/41216)).
|
|
@@ -1600,7 +1659,7 @@
|
|
|
1600
1659
|
|
|
1601
1660
|
## 19.12.0 (2022-06-01)
|
|
1602
1661
|
|
|
1603
|
-
### Bug
|
|
1662
|
+
### Bug Fixes
|
|
1604
1663
|
|
|
1605
1664
|
- `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
1665
|
- Fix `InputControl` blocking undo/redo while focused. ([#40518](https://github.com/WordPress/gutenberg/pull/40518))
|
|
@@ -1670,7 +1729,7 @@
|
|
|
1670
1729
|
- `ToggleControlGroup`: Switch to internal `Icon` component for dashicon support ([40717](https://github.com/WordPress/gutenberg/pull/40717)).
|
|
1671
1730
|
- Improve `ToolsPanel` accessibility. ([#40716](https://github.com/WordPress/gutenberg/pull/40716))
|
|
1672
1731
|
|
|
1673
|
-
### Bug
|
|
1732
|
+
### Bug Fixes
|
|
1674
1733
|
|
|
1675
1734
|
- The `Button` component now displays the label as the tooltip for icon only buttons. ([#40716](https://github.com/WordPress/gutenberg/pull/40716))
|
|
1676
1735
|
- Use fake timers and fix usage of async methods from `@testing-library/user-event`. ([#40790](https://github.com/WordPress/gutenberg/pull/40790))
|
|
@@ -1684,7 +1743,7 @@
|
|
|
1684
1743
|
|
|
1685
1744
|
## 19.9.0 (2022-04-21)
|
|
1686
1745
|
|
|
1687
|
-
### Bug
|
|
1746
|
+
### Bug Fixes
|
|
1688
1747
|
|
|
1689
1748
|
- 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
1749
|
|
|
@@ -1692,7 +1751,7 @@
|
|
|
1692
1751
|
|
|
1693
1752
|
- 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
1753
|
|
|
1695
|
-
### Bug
|
|
1754
|
+
### Bug Fixes
|
|
1696
1755
|
|
|
1697
1756
|
- `InputControl`: allow user to input a value interactively in Storybook, by removing default value argument ([#40410](https://github.com/WordPress/gutenberg/pull/40410)).
|
|
1698
1757
|
|
|
@@ -1715,7 +1774,7 @@
|
|
|
1715
1774
|
- Add `BorderBoxControl` component ([#38876](https://github.com/WordPress/gutenberg/pull/38876)).
|
|
1716
1775
|
- Add `ToggleGroupControlOptionIcon` component ([#39760](https://github.com/WordPress/gutenberg/pull/39760)).
|
|
1717
1776
|
|
|
1718
|
-
### Bug
|
|
1777
|
+
### Bug Fixes
|
|
1719
1778
|
|
|
1720
1779
|
- 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
1780
|
- `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 +1800,13 @@
|
|
|
1741
1800
|
- Delete the `composeStateReducers` utility function ([#39262](https://github.com/WordPress/gutenberg/pull/39262)).
|
|
1742
1801
|
- `BoxControl`: stop using `UnitControl`'s deprecated `unit` prop ([#39511](https://github.com/WordPress/gutenberg/pull/39511)).
|
|
1743
1802
|
|
|
1744
|
-
### Bug
|
|
1803
|
+
### Bug Fixes
|
|
1745
1804
|
|
|
1746
1805
|
- `NumberControl`: commit (and constrain) value on `blur` event ([#39186](https://github.com/WordPress/gutenberg/pull/39186)).
|
|
1747
1806
|
- Fix `UnitControl`'s reset of unit when the quantity value is cleared. ([#39531](https://github.com/WordPress/gutenberg/pull/39531/)).
|
|
1748
1807
|
- `ResizableBox`: Ensure tooltip text remains on a single line. ([#39623](https://github.com/WordPress/gutenberg/pull/39623)).
|
|
1749
1808
|
|
|
1750
|
-
###
|
|
1809
|
+
### Deprecations
|
|
1751
1810
|
|
|
1752
1811
|
- `unit` prop in `UnitControl` marked as deprecated ([#39503](https://github.com/WordPress/gutenberg/pull/39503)).
|
|
1753
1812
|
|
|
@@ -1760,7 +1819,7 @@
|
|
|
1760
1819
|
- `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
1820
|
- `ToggleGroupControlOption`: Calculate width from button content and remove `LabelPlaceholderView` ([#39345](https://github.com/WordPress/gutenberg/pull/39345))
|
|
1762
1821
|
|
|
1763
|
-
### Bug
|
|
1822
|
+
### Bug Fixes
|
|
1764
1823
|
|
|
1765
1824
|
- Normalize `font-family` on `Button`, `ColorPalette`, `ComoboboxControl`, `DateTimePicker`, `FormTokenField`, `InputControl`, `SelectControl`, and `ToggleGroupControl` ([#38969](https://github.com/WordPress/gutenberg/pull/38969)).
|
|
1766
1825
|
- 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 +1827,7 @@
|
|
|
1768
1827
|
|
|
1769
1828
|
## 19.5.0 (2022-02-23)
|
|
1770
1829
|
|
|
1771
|
-
### Bug
|
|
1830
|
+
### Bug Fixes
|
|
1772
1831
|
|
|
1773
1832
|
- Fix spin buttons of number inputs in Safari ([#38840](https://github.com/WordPress/gutenberg/pull/38840))
|
|
1774
1833
|
- Show tooltip on toggle custom size button in FontSizePicker ([#38985](https://github.com/WordPress/gutenberg/pull/38985))
|
|
@@ -1780,7 +1839,7 @@
|
|
|
1780
1839
|
|
|
1781
1840
|
## 19.4.0 (2022-02-10)
|
|
1782
1841
|
|
|
1783
|
-
### Bug
|
|
1842
|
+
### Bug Fixes
|
|
1784
1843
|
|
|
1785
1844
|
- Components: Fix `Slot`/`Fill` Emotion `StyleProvider` ([#38237](https://github.com/WordPress/gutenberg/pull/38237))
|
|
1786
1845
|
- Reduce height and min-width of the reset button on `ComboBoxControl` for consistency. ([#38020](https://github.com/WordPress/gutenberg/pull/38020))
|
|
@@ -1814,7 +1873,7 @@
|
|
|
1814
1873
|
- 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
1874
|
- `TreeGrid`: Fix keyboard navigation for expand/collapse table rows in Firefox ([#37983](https://github.com/WordPress/gutenberg/pull/37983))
|
|
1816
1875
|
|
|
1817
|
-
### Bug
|
|
1876
|
+
### Bug Fixes
|
|
1818
1877
|
|
|
1819
1878
|
- Update the `HexInput` component to accept a pasted value that contains a starting #
|
|
1820
1879
|
- 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 +1907,7 @@
|
|
|
1848
1907
|
- 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
1908
|
- Add `first` and `last` classes to displayed `ToolsPanelItem` group within a `ToolsPanel` ([#37546](https://github.com/WordPress/gutenberg/pull/37546))
|
|
1850
1909
|
|
|
1851
|
-
### Bug
|
|
1910
|
+
### Bug Fixes
|
|
1852
1911
|
|
|
1853
1912
|
- Fixed spacing between `BaseControl` fields and help text within the `ToolsPanel` ([#36334](https://github.com/WordPress/gutenberg/pull/36334))
|
|
1854
1913
|
- Replaced hardcoded blue in `ColorPicker` with UI theme color ([#36153](https://github.com/WordPress/gutenberg/pull/36153)).
|
|
@@ -1871,7 +1930,7 @@
|
|
|
1871
1930
|
|
|
1872
1931
|
## 19.1.4 (2021-12-13)
|
|
1873
1932
|
|
|
1874
|
-
### Bug
|
|
1933
|
+
### Bug Fixes
|
|
1875
1934
|
|
|
1876
1935
|
- Improve accessibility and visibility in `ColorPallete` ([#36925](https://github.com/WordPress/gutenberg/pull/36925))
|
|
1877
1936
|
|
|
@@ -1881,7 +1940,7 @@
|
|
|
1881
1940
|
|
|
1882
1941
|
## 19.1.2 (2021-12-06)
|
|
1883
1942
|
|
|
1884
|
-
### Bug
|
|
1943
|
+
### Bug Fixes
|
|
1885
1944
|
|
|
1886
1945
|
- Fixed `GradientPicker` not displaying `CustomGradientPicker` when no gradients are provided ([#36900](https://github.com/WordPress/gutenberg/pull/36900)).
|
|
1887
1946
|
- Fixed error thrown in `ColorPicker` when used in controlled state in color gradients ([#36941](https://github.com/WordPress/gutenberg/pull/36941)).
|
|
@@ -1894,7 +1953,7 @@
|
|
|
1894
1953
|
|
|
1895
1954
|
- Added a `showTooltip` prop to `ToggleGroupControlOption` in order to display tooltip text (using `<Tooltip />`). ([#36726](https://github.com/WordPress/gutenberg/pull/36726)).
|
|
1896
1955
|
|
|
1897
|
-
### Bug
|
|
1956
|
+
### Bug Fixes
|
|
1898
1957
|
|
|
1899
1958
|
- Fixed a bug which prevented setting `PM` hours correctly in the `DateTimePicker` ([#36878](https://github.com/WordPress/gutenberg/pull/36878)).
|
|
1900
1959
|
|
|
@@ -1949,7 +2008,7 @@
|
|
|
1949
2008
|
- Add an experimental `Navigator` components ([#34904](https://github.com/WordPress/gutenberg/pull/34904)) as a replacement for the previous `Navigation` related components.
|
|
1950
2009
|
- Update the `ColorPicker` component to the latest design ([#35220](https://github.com/WordPress/gutenberg/pull/35220))
|
|
1951
2010
|
|
|
1952
|
-
### Bug
|
|
2011
|
+
### Bug Fixes
|
|
1953
2012
|
|
|
1954
2013
|
- 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
2014
|
|
|
@@ -1960,11 +2019,11 @@
|
|
|
1960
2019
|
|
|
1961
2020
|
## 17.0.0 (2021-09-09)
|
|
1962
2021
|
|
|
1963
|
-
### Breaking
|
|
2022
|
+
### Breaking Changes
|
|
1964
2023
|
|
|
1965
2024
|
- 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
2025
|
|
|
1967
|
-
### Bug
|
|
2026
|
+
### Bug Fixes
|
|
1968
2027
|
|
|
1969
2028
|
- Fixed RTL styles in `Flex` component ([#33729](https://github.com/WordPress/gutenberg/pull/33729)).
|
|
1970
2029
|
- 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 +2035,39 @@
|
|
|
1976
2035
|
|
|
1977
2036
|
## 16.0.0 (2021-08-23)
|
|
1978
2037
|
|
|
1979
|
-
### Breaking
|
|
2038
|
+
### Breaking Changes
|
|
1980
2039
|
|
|
1981
2040
|
- Updated the visual styles of the RangeControl component ([#33824](https://github.com/WordPress/gutenberg/pull/33824)).
|
|
1982
2041
|
|
|
1983
|
-
### New
|
|
2042
|
+
### New Features
|
|
1984
2043
|
|
|
1985
2044
|
- Add `hideLabelFromVision` prop to `RangeControl` ([#33714](https://github.com/WordPress/gutenberg/pull/33714)).
|
|
1986
2045
|
|
|
1987
|
-
### Bug
|
|
2046
|
+
### Bug Fixes
|
|
1988
2047
|
|
|
1989
2048
|
- 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
2049
|
|
|
1991
2050
|
## 15.0.0 (2021-07-29)
|
|
1992
2051
|
|
|
1993
|
-
### Breaking
|
|
2052
|
+
### Breaking Changes
|
|
1994
2053
|
|
|
1995
2054
|
- 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
2055
|
|
|
1997
|
-
###
|
|
2056
|
+
### Deprecations
|
|
1998
2057
|
|
|
1999
2058
|
- `isScrollable` prop in `CardBody` default value changed from `true` to `false` ([#33490](https://github.com/WordPress/gutenberg/pull/33490))
|
|
2000
2059
|
|
|
2001
|
-
### Bug
|
|
2060
|
+
### Bug Fixes
|
|
2002
2061
|
|
|
2003
2062
|
- Added back `box-sizing: border-box` rule to `CardBody`, `CardHeader` and `CardFooter` components [#33511](https://github.com/WordPress/gutenberg/pull/33511).
|
|
2004
2063
|
|
|
2005
2064
|
## 14.2.0 (2021-07-21)
|
|
2006
2065
|
|
|
2007
|
-
### New
|
|
2066
|
+
### New Features
|
|
2008
2067
|
|
|
2009
2068
|
- 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
2069
|
|
|
2011
|
-
###
|
|
2070
|
+
### Deprecations
|
|
2012
2071
|
|
|
2013
2072
|
- `isPrimary`, `isSecondary`, `isTertiary` and `isLink` props in `Button` have been deprecated. Use `variant` instead ([#31713](https://github.com/WordPress/gutenberg/pull/31713)).
|
|
2014
2073
|
- `isElevated` prop in `Card` has been deprecated. Use `elevation` instead ([#32566](https://github.com/WordPress/gutenberg/pull/32566)).
|
|
@@ -2027,7 +2086,7 @@
|
|
|
2027
2086
|
- 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
2087
|
- 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
2088
|
|
|
2030
|
-
###
|
|
2089
|
+
### Deprecations
|
|
2031
2090
|
|
|
2032
2091
|
- `isReversed` prop in `Flex` component has been deprecated. Use `direction` instead ([#31297](https://github.com/WordPress/gutenberg/pull/31297)).
|
|
2033
2092
|
|
|
@@ -2037,16 +2096,16 @@
|
|
|
2037
2096
|
|
|
2038
2097
|
## 13.0.0 (2021-03-17)
|
|
2039
2098
|
|
|
2040
|
-
### Breaking
|
|
2099
|
+
### Breaking Changes
|
|
2041
2100
|
|
|
2042
2101
|
- `onChange` prop of `FocalPointPicker` is called at the end of drag operations. Previously, it was called repetitively while dragging.
|
|
2043
2102
|
|
|
2044
|
-
### New
|
|
2103
|
+
### New Features
|
|
2045
2104
|
|
|
2046
2105
|
- Supports ref forwarding in `withNotices` and `ResizableBox`.
|
|
2047
2106
|
- Adds `onDrag` prop of `FocalPointPicker`.
|
|
2048
2107
|
|
|
2049
|
-
### Bug
|
|
2108
|
+
### Bug Fixes
|
|
2050
2109
|
|
|
2051
2110
|
- 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
2111
|
|
|
@@ -2056,13 +2115,13 @@
|
|
|
2056
2115
|
|
|
2057
2116
|
- ComboboxControl: Deburr option labels before filter
|
|
2058
2117
|
|
|
2059
|
-
### Breaking
|
|
2118
|
+
### Breaking Changes
|
|
2060
2119
|
|
|
2061
2120
|
- 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
2121
|
|
|
2063
2122
|
## 10.1.0 (2020-09-03)
|
|
2064
2123
|
|
|
2065
|
-
### New
|
|
2124
|
+
### New Features
|
|
2066
2125
|
|
|
2067
2126
|
- Add `ToolbarItem` component.
|
|
2068
2127
|
- Support `label` prop on the `Toolbar` component.
|
|
@@ -2073,14 +2132,14 @@
|
|
|
2073
2132
|
|
|
2074
2133
|
## 10.0.0 (2020-07-07)
|
|
2075
2134
|
|
|
2076
|
-
### Breaking
|
|
2135
|
+
### Breaking Changes
|
|
2077
2136
|
|
|
2078
2137
|
- `NumberControl` no longer automatically transforms values when rendering `value` into a `<input />` HTML element.
|
|
2079
2138
|
- `Dashicon` component no longer renders SVGs. If you rely on this component, make sure to load the dashicon font.
|
|
2080
2139
|
|
|
2081
2140
|
## 9.6.0 (2020-05-14)
|
|
2082
2141
|
|
|
2083
|
-
### Bug
|
|
2142
|
+
### Bug Fixes
|
|
2084
2143
|
|
|
2085
2144
|
- Fix and issue that would cause the `Popover` component to throw an error under certain
|
|
2086
2145
|
circumstances ([#22264](https://github.com/WordPress/gutenberg/pull/22264)).
|
|
@@ -2161,7 +2220,7 @@
|
|
|
2161
2220
|
|
|
2162
2221
|
## 8.0.0 (2019-06-12)
|
|
2163
2222
|
|
|
2164
|
-
### New
|
|
2223
|
+
### New Features
|
|
2165
2224
|
|
|
2166
2225
|
- Add new `BlockQuotation` block to the primitives folder to support blockquote in a multiplatform way. [#15482](https://github.com/WordPress/gutenberg/pull/15482).
|
|
2167
2226
|
- `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 +2233,22 @@
|
|
|
2174
2233
|
|
|
2175
2234
|
- Added missing documentation for `DropdownMenu` props `menuLabel`, `position`, `className`.
|
|
2176
2235
|
|
|
2177
|
-
### Breaking
|
|
2236
|
+
### Breaking Changes
|
|
2178
2237
|
|
|
2179
2238
|
- `ServerSideRender` is no longer part of components. It was extracted to an independent package `@wordpress/server-side-render`.
|
|
2180
2239
|
|
|
2181
|
-
### Bug
|
|
2240
|
+
### Bug Fixes
|
|
2182
2241
|
|
|
2183
2242
|
- 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
2243
|
|
|
2185
2244
|
## 7.4.0 (2019-05-21)
|
|
2186
2245
|
|
|
2187
|
-
### New
|
|
2246
|
+
### New Features
|
|
2188
2247
|
|
|
2189
2248
|
- Added a new `HorizontalRule` component.
|
|
2190
2249
|
- Added a new `Snackbar` component.
|
|
2191
2250
|
|
|
2192
|
-
### Bug
|
|
2251
|
+
### Bug Fixes
|
|
2193
2252
|
|
|
2194
2253
|
- Fixed display of reset button when using RangeControl `allowReset` prop.
|
|
2195
2254
|
- Fixed minutes field of `DateTimePicker` missed '0' before single digit values.
|
|
@@ -2203,17 +2262,17 @@
|
|
|
2203
2262
|
- 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
2263
|
- Added a new `anchorRect` prop to `Popover` which enables a developer to provide a custom `DOMRect` object at which to position the popover.
|
|
2205
2264
|
|
|
2206
|
-
###
|
|
2265
|
+
### Enhancements
|
|
2207
2266
|
|
|
2208
2267
|
- Limit `Base Control Label` to the width of its content.
|
|
2209
2268
|
|
|
2210
|
-
### Bug
|
|
2269
|
+
### Bug Fixes
|
|
2211
2270
|
|
|
2212
2271
|
- 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
2272
|
|
|
2214
2273
|
## 7.2.0 (2019-03-20)
|
|
2215
2274
|
|
|
2216
|
-
###
|
|
2275
|
+
### Enhancements
|
|
2217
2276
|
|
|
2218
2277
|
- Make `RangeControl` validation rely on the `checkValidity` provided by the browsers instead of using our own validation.
|
|
2219
2278
|
|
|
@@ -2227,7 +2286,7 @@
|
|
|
2227
2286
|
|
|
2228
2287
|
- Added a new `Animate` component.
|
|
2229
2288
|
|
|
2230
|
-
###
|
|
2289
|
+
### Enhancements
|
|
2231
2290
|
|
|
2232
2291
|
- `withFilters` has been optimized to avoid binding hook handlers for each mounted instance of the component, instead using a single centralized hook delegator.
|
|
2233
2292
|
- `withFilters` has been optimized to reuse a single shared component definition for all filtered instances of the component.
|
|
@@ -2238,7 +2297,7 @@
|
|
|
2238
2297
|
- Resolves a conflict where two instance of Slot would produce an inconsistent or duplicated rendering output.
|
|
2239
2298
|
- Allow years between 0 and 1970 in DateTime component.
|
|
2240
2299
|
|
|
2241
|
-
### New
|
|
2300
|
+
### New Features
|
|
2242
2301
|
|
|
2243
2302
|
- `Dropdown` now has a `focusOnMount` prop which is passed directly to the contained `Popover`.
|
|
2244
2303
|
- `DatePicker` has new prop `isInvalidDate` exposing react-dates' `isOutsideRange`.
|
|
@@ -2256,7 +2315,7 @@
|
|
|
2256
2315
|
|
|
2257
2316
|
## 7.0.0 (2018-11-20)
|
|
2258
2317
|
|
|
2259
|
-
### Breaking
|
|
2318
|
+
### Breaking Changes
|
|
2260
2319
|
|
|
2261
2320
|
- `Dropdown.refresh()` has been removed. The contained `Popover` is now automatically refreshed.
|
|
2262
2321
|
|
|
@@ -2268,13 +2327,13 @@
|
|
|
2268
2327
|
|
|
2269
2328
|
- Avoid constantly recomputing the popover position.
|
|
2270
2329
|
|
|
2271
|
-
###
|
|
2330
|
+
### Internal
|
|
2272
2331
|
|
|
2273
2332
|
- 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
2333
|
|
|
2275
2334
|
## 6.0.0 (2018-11-12)
|
|
2276
2335
|
|
|
2277
|
-
### Breaking
|
|
2336
|
+
### Breaking Changes
|
|
2278
2337
|
|
|
2279
2338
|
- The `PanelColor` component has been removed.
|
|
2280
2339
|
|
|
@@ -2282,18 +2341,18 @@
|
|
|
2282
2341
|
|
|
2283
2342
|
## 5.1.0 (2018-11-09)
|
|
2284
2343
|
|
|
2285
|
-
### New
|
|
2344
|
+
### New Features
|
|
2286
2345
|
|
|
2287
2346
|
- 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
2347
|
- `Popover` components are now automatically refreshed every 0.5s in order to recalculate their size or position.
|
|
2289
2348
|
|
|
2290
|
-
###
|
|
2349
|
+
### Deprecations
|
|
2291
2350
|
|
|
2292
2351
|
- `Dropdown.refresh()` has been deprecated as the contained `Popover` is now automatically refreshed.
|
|
2293
2352
|
|
|
2294
2353
|
## 5.0.2 (2018-11-03)
|
|
2295
2354
|
|
|
2296
|
-
###
|
|
2355
|
+
### Internal
|
|
2297
2356
|
|
|
2298
2357
|
- Forward `ref` in the `PanelBody` component.
|
|
2299
2358
|
- Tooltip are no longer removed when Button becomes disabled, it's left to the component rendering the Tooltip.
|
|
@@ -2303,32 +2362,32 @@
|
|
|
2303
2362
|
|
|
2304
2363
|
## 5.0.0 (2018-10-29)
|
|
2305
2364
|
|
|
2306
|
-
### Breaking
|
|
2365
|
+
### Breaking Changes
|
|
2307
2366
|
|
|
2308
2367
|
- `AccessibleSVG` component has been removed. Please use `SVG` instead.
|
|
2309
2368
|
|
|
2310
|
-
### New
|
|
2369
|
+
### New Features
|
|
2311
2370
|
|
|
2312
2371
|
- 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
2372
|
|
|
2314
2373
|
## 4.2.1 (2018-10-22)
|
|
2315
2374
|
|
|
2316
|
-
### Bug
|
|
2375
|
+
### Bug Fixes
|
|
2317
2376
|
|
|
2318
2377
|
- Fix importing `react-dates` stylesheet in production.
|
|
2319
2378
|
|
|
2320
2379
|
## 4.2.0 (2018-10-19)
|
|
2321
2380
|
|
|
2322
|
-
### New
|
|
2381
|
+
### New Features
|
|
2323
2382
|
|
|
2324
2383
|
- Added a new `ColorPicker` component ([#10564](https://github.com/WordPress/gutenberg/pull/10564)).
|
|
2325
2384
|
- `MenuItem` now accepts an `info` prop for including an extended description.
|
|
2326
2385
|
|
|
2327
|
-
### Bug
|
|
2386
|
+
### Bug Fixes
|
|
2328
2387
|
|
|
2329
2388
|
- `IconButton` correctly respects a passed `aria-label` prop.
|
|
2330
2389
|
|
|
2331
|
-
###
|
|
2390
|
+
### Deprecations
|
|
2332
2391
|
|
|
2333
2392
|
- `PanelColor` has been deprecated in favor of `wp.editor.PanelColorSettings`.
|
|
2334
2393
|
|
|
@@ -2336,29 +2395,29 @@
|
|
|
2336
2395
|
|
|
2337
2396
|
## 4.1.0 (2018-10-10)
|
|
2338
2397
|
|
|
2339
|
-
### New
|
|
2398
|
+
### New Features
|
|
2340
2399
|
|
|
2341
2400
|
- Added a new `ResizableBox` component.
|
|
2342
2401
|
|
|
2343
2402
|
## 4.0.0 (2018-09-30)
|
|
2344
2403
|
|
|
2345
|
-
### Breaking
|
|
2404
|
+
### Breaking Changes
|
|
2346
2405
|
|
|
2347
2406
|
- `Draggable` as a DOM node drag handler has been removed. Please, use `Draggable` as a wrap component for your DOM node drag handler.
|
|
2348
2407
|
|
|
2349
|
-
###
|
|
2408
|
+
### Deprecations
|
|
2350
2409
|
|
|
2351
2410
|
- Renamed `AccessibleSVG` component to `SVG`.
|
|
2352
2411
|
|
|
2353
2412
|
## 3.0.0 (2018-09-05)
|
|
2354
2413
|
|
|
2355
|
-
### Breaking
|
|
2414
|
+
### Breaking Changes
|
|
2356
2415
|
|
|
2357
2416
|
- `withAPIData` has been removed. Please use the Core Data module or `@wordpress/api-fetch` directly instead.
|
|
2358
2417
|
- `Draggable` as a DOM node drag handler has been deprecated. Please, use `Draggable` as a wrap component for your DOM node drag handler.
|
|
2359
2418
|
- 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
2419
|
- `withContext` has been removed. Please use `wp.element.createContext` instead. See: <https://reactjs.org/docs/context.html>.
|
|
2361
2420
|
|
|
2362
|
-
### New
|
|
2421
|
+
### New Features
|
|
2363
2422
|
|
|
2364
2423
|
- Added a new `AccessibleSVG` component.
|