@wordpress/components 19.1.2 → 19.2.1-next.33ec3857e2.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 +53 -4
- package/README.md +0 -1
- package/build/angle-picker-control/index.js +2 -0
- package/build/angle-picker-control/index.js.map +1 -1
- package/build/button/index.native.js +13 -3
- package/build/button/index.native.js.map +1 -1
- package/build/checkbox-control/index.js +1 -1
- package/build/checkbox-control/index.js.map +1 -1
- package/build/clipboard-button/index.js +1 -2
- package/build/clipboard-button/index.js.map +1 -1
- package/build/color-palette/index.js +36 -9
- package/build/color-palette/index.js.map +1 -1
- package/build/color-picker/color-display.js +4 -2
- package/build/color-picker/color-display.js.map +1 -1
- package/build/color-picker/hex-input.js +3 -1
- package/build/color-picker/hex-input.js.map +1 -1
- package/build/color-picker/input-with-slider.js +3 -1
- package/build/color-picker/input-with-slider.js.map +1 -1
- package/build/confirm-dialog/component.js +103 -0
- package/build/confirm-dialog/component.js.map +1 -0
- package/build/confirm-dialog/index.js +16 -0
- package/build/confirm-dialog/index.js.map +1 -0
- package/build/confirm-dialog/types.js +6 -0
- package/build/confirm-dialog/types.js.map +1 -0
- package/build/custom-gradient-bar/constants.js +1 -6
- package/build/custom-gradient-bar/constants.js.map +1 -1
- package/build/custom-gradient-bar/control-points.js +52 -21
- package/build/custom-gradient-bar/control-points.js.map +1 -1
- package/build/custom-gradient-bar/index.js +5 -1
- package/build/custom-gradient-bar/index.js.map +1 -1
- package/build/custom-gradient-picker/index.js +4 -1
- package/build/custom-gradient-picker/index.js.map +1 -1
- package/build/date-time/date.js +63 -86
- package/build/date-time/date.js.map +1 -1
- package/build/date-time/utils.js +32 -0
- package/build/date-time/utils.js.map +1 -0
- package/build/divider/component.js +8 -7
- package/build/divider/component.js.map +1 -1
- package/build/divider/styles.js +38 -13
- package/build/divider/styles.js.map +1 -1
- package/build/drop-zone/index.js +14 -6
- package/build/drop-zone/index.js.map +1 -1
- package/build/drop-zone/provider.js +1 -0
- package/build/drop-zone/provider.js.map +1 -1
- package/build/flyout/styles.js +2 -2
- package/build/flyout/styles.js.map +1 -1
- package/build/focusable-iframe/index.js +1 -0
- package/build/focusable-iframe/index.js.map +1 -1
- package/build/font-size-picker/index.js +10 -9
- package/build/font-size-picker/index.js.map +1 -1
- package/build/font-size-picker/utils.js +28 -17
- package/build/font-size-picker/utils.js.map +1 -1
- package/build/gradient-picker/index.js +3 -1
- package/build/gradient-picker/index.js.map +1 -1
- package/build/higher-order/with-focus-outside/index.js +2 -0
- package/build/higher-order/with-focus-outside/index.js.map +1 -1
- package/build/index.js +8 -0
- package/build/index.js.map +1 -1
- package/build/input-control/styles/input-control-styles.js +44 -32
- package/build/input-control/styles/input-control-styles.js.map +1 -1
- package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js +10 -3
- package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
- package/build/mobile/color-settings/index.native.js +4 -2
- package/build/mobile/color-settings/index.native.js.map +1 -1
- package/build/mobile/color-settings/palette.screen.native.js +7 -6
- package/build/mobile/color-settings/palette.screen.native.js.map +1 -1
- package/build/mobile/global-styles-context/utils.native.js +1 -1
- package/build/mobile/global-styles-context/utils.native.js.map +1 -1
- package/build/mobile/gridicons/index.native.js +3 -1
- package/build/mobile/gridicons/index.native.js.map +1 -1
- package/build/mobile/link-picker/index.native.js +45 -4
- package/build/mobile/link-picker/index.native.js.map +1 -1
- package/build/mobile/link-settings/index.native.js +10 -0
- package/build/mobile/link-settings/index.native.js.map +1 -1
- package/build/modal/aria-helper.js +2 -0
- package/build/modal/aria-helper.js.map +1 -1
- package/build/modal/index.js +17 -8
- package/build/modal/index.js.map +1 -1
- package/build/palette-edit/index.js +13 -11
- package/build/palette-edit/index.js.map +1 -1
- package/build/select-control/styles/select-control-styles.js +33 -9
- package/build/select-control/styles/select-control-styles.js.map +1 -1
- package/build/style-provider/index.js +2 -0
- package/build/style-provider/index.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/component.js +7 -2
- package/build/toggle-group-control/toggle-group-control/component.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js +25 -14
- package/build/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option/styles.js +8 -8
- package/build/toggle-group-control/toggle-group-control-option/styles.js.map +1 -1
- package/build/tools-panel/styles.js +12 -10
- package/build/tools-panel/styles.js.map +1 -1
- package/build/tools-panel/tools-panel/component.js +6 -8
- package/build/tools-panel/tools-panel/component.js.map +1 -1
- package/build/tools-panel/tools-panel/hook.js +48 -17
- package/build/tools-panel/tools-panel/hook.js.map +1 -1
- package/build/tools-panel/tools-panel-item/hook.js +5 -1
- package/build/tools-panel/tools-panel-item/hook.js.map +1 -1
- package/build/unit-control/styles/unit-control-styles.js +23 -41
- package/build/unit-control/styles/unit-control-styles.js.map +1 -1
- package/build/z-stack/component.js.map +1 -1
- package/build/z-stack/styles.js +10 -8
- package/build/z-stack/styles.js.map +1 -1
- package/build-module/angle-picker-control/index.js +2 -0
- package/build-module/angle-picker-control/index.js.map +1 -1
- package/build-module/button/index.native.js +13 -3
- package/build-module/button/index.native.js.map +1 -1
- package/build-module/checkbox-control/index.js +1 -1
- package/build-module/checkbox-control/index.js.map +1 -1
- package/build-module/clipboard-button/index.js +1 -2
- package/build-module/clipboard-button/index.js.map +1 -1
- package/build-module/color-palette/index.js +34 -10
- package/build-module/color-palette/index.js.map +1 -1
- package/build-module/color-picker/color-display.js +3 -2
- package/build-module/color-picker/color-display.js.map +1 -1
- package/build-module/color-picker/hex-input.js +2 -1
- package/build-module/color-picker/hex-input.js.map +1 -1
- package/build-module/color-picker/input-with-slider.js +2 -1
- package/build-module/color-picker/input-with-slider.js.map +1 -1
- package/build-module/confirm-dialog/component.js +84 -0
- package/build-module/confirm-dialog/component.js.map +1 -0
- package/build-module/confirm-dialog/index.js +6 -0
- package/build-module/confirm-dialog/index.js.map +1 -0
- package/build-module/confirm-dialog/types.js +2 -0
- package/build-module/confirm-dialog/types.js.map +1 -0
- package/build-module/custom-gradient-bar/constants.js +0 -4
- package/build-module/custom-gradient-bar/constants.js.map +1 -1
- package/build-module/custom-gradient-bar/control-points.js +54 -23
- package/build-module/custom-gradient-bar/control-points.js.map +1 -1
- package/build-module/custom-gradient-bar/index.js +5 -1
- package/build-module/custom-gradient-bar/index.js.map +1 -1
- package/build-module/custom-gradient-picker/index.js +4 -1
- package/build-module/custom-gradient-picker/index.js.map +1 -1
- package/build-module/date-time/date.js +63 -87
- package/build-module/date-time/date.js.map +1 -1
- package/build-module/date-time/utils.js +20 -0
- package/build-module/date-time/utils.js.map +1 -0
- package/build-module/divider/component.js +8 -7
- package/build-module/divider/component.js.map +1 -1
- package/build-module/divider/styles.js +37 -13
- package/build-module/divider/styles.js.map +1 -1
- package/build-module/drop-zone/index.js +14 -6
- package/build-module/drop-zone/index.js.map +1 -1
- package/build-module/drop-zone/provider.js +1 -0
- package/build-module/drop-zone/provider.js.map +1 -1
- package/build-module/flyout/styles.js +2 -2
- package/build-module/flyout/styles.js.map +1 -1
- package/build-module/focusable-iframe/index.js +1 -0
- package/build-module/focusable-iframe/index.js.map +1 -1
- package/build-module/font-size-picker/index.js +10 -9
- package/build-module/font-size-picker/index.js.map +1 -1
- package/build-module/font-size-picker/utils.js +28 -17
- package/build-module/font-size-picker/utils.js.map +1 -1
- package/build-module/gradient-picker/index.js +3 -1
- package/build-module/gradient-picker/index.js.map +1 -1
- package/build-module/higher-order/with-focus-outside/index.js +1 -0
- package/build-module/higher-order/with-focus-outside/index.js.map +1 -1
- package/build-module/index.js +1 -0
- package/build-module/index.js.map +1 -1
- package/build-module/input-control/styles/input-control-styles.js +44 -32
- package/build-module/input-control/styles/input-control-styles.js.map +1 -1
- package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js +10 -4
- package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
- package/build-module/mobile/color-settings/index.native.js +4 -2
- package/build-module/mobile/color-settings/index.native.js.map +1 -1
- package/build-module/mobile/color-settings/palette.screen.native.js +7 -6
- package/build-module/mobile/color-settings/palette.screen.native.js.map +1 -1
- package/build-module/mobile/global-styles-context/utils.native.js +1 -1
- package/build-module/mobile/global-styles-context/utils.native.js.map +1 -1
- package/build-module/mobile/gridicons/index.native.js +1 -0
- package/build-module/mobile/gridicons/index.native.js.map +1 -1
- package/build-module/mobile/link-picker/index.native.js +50 -8
- package/build-module/mobile/link-picker/index.native.js.map +1 -1
- package/build-module/mobile/link-settings/index.native.js +10 -0
- package/build-module/mobile/link-settings/index.native.js.map +1 -1
- package/build-module/modal/aria-helper.js +2 -0
- package/build-module/modal/aria-helper.js.map +1 -1
- package/build-module/modal/index.js +15 -8
- package/build-module/modal/index.js.map +1 -1
- package/build-module/palette-edit/index.js +13 -11
- package/build-module/palette-edit/index.js.map +1 -1
- package/build-module/select-control/styles/select-control-styles.js +33 -9
- package/build-module/select-control/styles/select-control-styles.js.map +1 -1
- package/build-module/style-provider/index.js +1 -0
- package/build-module/style-provider/index.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/component.js +8 -3
- package/build-module/toggle-group-control/toggle-group-control/component.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js +25 -14
- package/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option/styles.js +8 -8
- package/build-module/toggle-group-control/toggle-group-control-option/styles.js.map +1 -1
- package/build-module/tools-panel/styles.js +12 -11
- package/build-module/tools-panel/styles.js.map +1 -1
- package/build-module/tools-panel/tools-panel/component.js +5 -8
- package/build-module/tools-panel/tools-panel/component.js.map +1 -1
- package/build-module/tools-panel/tools-panel/hook.js +48 -17
- package/build-module/tools-panel/tools-panel/hook.js.map +1 -1
- package/build-module/tools-panel/tools-panel-item/hook.js +5 -1
- package/build-module/tools-panel/tools-panel-item/hook.js.map +1 -1
- package/build-module/unit-control/styles/unit-control-styles.js +23 -41
- package/build-module/unit-control/styles/unit-control-styles.js.map +1 -1
- package/build-module/z-stack/component.js.map +1 -1
- package/build-module/z-stack/styles.js +13 -8
- package/build-module/z-stack/styles.js.map +1 -1
- package/build-style/style-rtl.css +34 -12
- package/build-style/style.css +34 -12
- package/build-types/base-field/hook.d.ts +16 -16
- package/build-types/card/card/hook.d.ts +16 -16
- package/build-types/card/card-body/hook.d.ts +16 -16
- package/build-types/card/card-divider/hook.d.ts +18 -18
- package/build-types/card/card-footer/hook.d.ts +17 -17
- package/build-types/card/card-header/hook.d.ts +16 -16
- package/build-types/card/card-media/hook.d.ts +16 -16
- package/build-types/divider/component.d.ts +8 -7
- package/build-types/divider/component.d.ts.map +1 -1
- package/build-types/divider/styles.d.ts +2 -2
- package/build-types/divider/styles.d.ts.map +1 -1
- package/build-types/divider/types.d.ts +5 -5
- package/build-types/divider/types.d.ts.map +1 -1
- package/build-types/elevation/hook.d.ts +15 -15
- package/build-types/flex/flex/hook.d.ts +16 -16
- package/build-types/flex/flex-block/hook.d.ts +16 -16
- package/build-types/flex/flex-item/hook.d.ts +16 -16
- package/build-types/flyout/flyout/hook.d.ts +17 -17
- package/build-types/flyout/styles.d.ts +7 -9
- package/build-types/flyout/styles.d.ts.map +1 -1
- package/build-types/grid/hook.d.ts +16 -16
- package/build-types/h-stack/hook.d.ts +16 -16
- package/build-types/heading/hook.d.ts +16 -16
- package/build-types/input-control/index.d.ts +1 -1
- package/build-types/input-control/index.d.ts.map +1 -1
- package/build-types/input-control/input-field.d.ts +1 -1
- package/build-types/input-control/input-field.d.ts.map +1 -1
- package/build-types/input-control/styles/input-control-styles.d.ts +1 -2
- package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
- package/build-types/input-control/types.d.ts +2 -1
- package/build-types/input-control/types.d.ts.map +1 -1
- package/build-types/item-group/item/hook.d.ts +16 -16
- package/build-types/item-group/item-group/hook.d.ts +16 -16
- package/build-types/number-control/styles/number-control-styles.d.ts +1 -1
- package/build-types/scrollable/hook.d.ts +16 -16
- package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
- package/build-types/select-control/types.d.ts +1 -1
- package/build-types/select-control/types.d.ts.map +1 -1
- package/build-types/spacer/hook.d.ts +16 -16
- package/build-types/surface/hook.d.ts +16 -16
- package/build-types/text/hook.d.ts +16 -16
- package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control-option/styles.d.ts.map +1 -1
- package/build-types/tools-panel/styles.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel/hook.d.ts +16 -16
- package/build-types/tools-panel/tools-panel/hook.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel-header/hook.d.ts +16 -16
- package/build-types/tools-panel/tools-panel-item/hook.d.ts +16 -16
- package/build-types/tools-panel/tools-panel-item/hook.d.ts.map +1 -1
- package/build-types/tools-panel/types.d.ts +2 -1
- package/build-types/tools-panel/types.d.ts.map +1 -1
- package/build-types/truncate/hook.d.ts +16 -16
- package/build-types/ui/control-group/hook.d.ts +18 -18
- package/build-types/ui/control-label/hook.d.ts +16 -16
- package/build-types/ui/form-group/form-group.d.ts +4 -4
- package/build-types/ui/form-group/use-form-group.d.ts +55 -55
- package/build-types/unit-control/index.d.ts +1 -1
- package/build-types/unit-control/index.d.ts.map +1 -1
- package/build-types/unit-control/styles/unit-control-styles.d.ts +1 -0
- package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
- package/build-types/unit-control/types.d.ts +2 -2
- package/build-types/unit-control/types.d.ts.map +1 -1
- package/build-types/v-stack/hook.d.ts +16 -16
- package/build-types/z-stack/component.d.ts +1 -1
- package/build-types/z-stack/styles.d.ts.map +1 -1
- package/package.json +21 -23
- package/src/alignment-matrix-control/stories/index.js +1 -1
- package/src/angle-picker-control/index.js +2 -0
- package/src/base-control/stories/index.js +1 -1
- package/src/button/index.native.js +15 -1
- package/src/button/stories/index.js +1 -1
- package/src/button/style.scss +14 -0
- package/src/card/card/README.md +3 -3
- package/src/card/stories/index.js +1 -1
- package/src/card/test/__snapshots__/index.js.snap +6 -6
- package/src/checkbox-control/index.js +1 -1
- package/src/checkbox-control/stories/index.js +1 -1
- package/src/clipboard-button/index.js +1 -2
- package/src/color-indicator/stories/index.js +1 -1
- package/src/color-indicator/style.scss +5 -8
- package/src/color-palette/index.js +37 -9
- package/src/color-palette/stories/index.js +1 -1
- package/src/color-palette/style.scss +10 -1
- package/src/color-palette/test/__snapshots__/index.js.snap +30 -21
- package/src/color-picker/color-display.tsx +3 -2
- package/src/color-picker/hex-input.tsx +2 -1
- package/src/color-picker/input-with-slider.tsx +2 -1
- package/src/color-picker/stories/index.js +1 -1
- package/src/combobox-control/README.md +2 -2
- package/src/confirm-dialog/README.md +128 -0
- package/src/confirm-dialog/component.tsx +114 -0
- package/src/confirm-dialog/index.tsx +6 -0
- package/src/confirm-dialog/stories/index.js +120 -0
- package/src/confirm-dialog/test/index.js +302 -0
- package/src/confirm-dialog/types.ts +26 -0
- package/src/custom-gradient-bar/constants.js +0 -5
- package/src/custom-gradient-bar/control-points.js +40 -9
- package/src/custom-gradient-bar/index.js +8 -0
- package/src/custom-gradient-picker/index.js +9 -1
- package/src/custom-gradient-picker/style.scss +0 -4
- package/src/date-time/README.md +7 -0
- package/src/date-time/date.js +67 -84
- package/src/date-time/stories/index.js +1 -1
- package/src/date-time/stories/time.js +1 -1
- package/src/date-time/test/date.js +3 -29
- package/src/date-time/test/utils.js +32 -0
- package/src/date-time/utils.js +18 -0
- package/src/dimension-control/README.md +1 -1
- package/src/divider/README.md +33 -5
- package/src/divider/component.tsx +8 -7
- package/src/divider/stories/index.js +43 -17
- package/src/divider/styles.ts +53 -16
- package/src/divider/test/__snapshots__/index.js.snap +11 -11
- package/src/divider/test/index.js +4 -4
- package/src/divider/types.ts +5 -5
- package/src/drop-zone/index.js +14 -6
- package/src/drop-zone/provider.js +1 -0
- package/src/dropdown-menu/stories/index.js +1 -1
- package/src/duotone-picker/README.md +1 -1
- package/src/elevation/stories/index.js +1 -1
- package/src/external-link/stories/index.js +1 -1
- package/src/flyout/styles.ts +4 -2
- package/src/focusable-iframe/index.js +1 -0
- package/src/font-size-picker/index.js +27 -13
- package/src/font-size-picker/stories/index.js +63 -1
- package/src/font-size-picker/test/index.js +87 -0
- package/src/font-size-picker/test/util.js +74 -0
- package/src/font-size-picker/utils.js +31 -17
- package/src/form-token-field/stories/index.js +1 -1
- package/src/gradient-picker/index.js +4 -0
- package/src/gradient-picker/stories/index.js +1 -1
- package/src/grid/stories/index.js +1 -1
- package/src/guide/stories/index.js +1 -1
- package/src/higher-order/with-focus-outside/index.js +2 -0
- package/src/icon/stories/index.js +1 -1
- package/src/index.js +1 -0
- package/src/input-control/stories/index.js +2 -1
- package/src/input-control/styles/input-control-styles.tsx +16 -6
- package/src/input-control/types.ts +3 -1
- package/src/item-group/stories/index.js +84 -2
- package/src/menu-item/README.md +2 -2
- package/src/mobile/bottom-sheet/link-suggestion-item-cell.native.js +6 -2
- package/src/mobile/color-settings/index.native.js +2 -0
- package/src/mobile/color-settings/palette.screen.native.js +8 -5
- package/src/mobile/color-settings/style.native.scss +1 -1
- package/src/mobile/global-styles-context/utils.native.js +1 -1
- package/src/mobile/gridicons/index.native.js +3 -3
- package/src/mobile/inserter-button/style.native.scss +1 -0
- package/src/mobile/link-picker/index.native.js +41 -7
- package/src/mobile/link-settings/index.native.js +11 -0
- package/src/mobile/link-settings/test/edit.native.js +432 -0
- package/src/modal/README.md +10 -0
- package/src/modal/aria-helper.js +2 -0
- package/src/modal/index.js +72 -55
- package/src/modal/stories/index.js +6 -1
- package/src/modal/style.scss +9 -0
- package/src/modal/test/index.js +11 -0
- package/src/navigation/README.md +0 -9
- package/src/notice/stories/index.js +1 -1
- package/src/number-control/stories/index.js +1 -1
- package/src/palette-edit/index.js +15 -16
- package/src/palette-edit/style.scss +5 -0
- package/src/panel/stories/index.js +1 -1
- package/src/placeholder/stories/index.js +1 -1
- package/src/popover/stories/index.js +1 -1
- package/src/query-controls/README.md +138 -6
- package/src/radio-group/README.md +4 -1
- package/src/range-control/stories/index.js +1 -1
- package/src/resizable-box/stories/index.js +1 -1
- package/src/scrollable/stories/index.js +1 -1
- package/src/search-control/stories/index.js +1 -1
- package/src/select-control/stories/index.js +2 -1
- package/src/select-control/styles/select-control-styles.ts +25 -2
- package/src/select-control/types.ts +1 -1
- package/src/slot-fill/stories/index.js +1 -1
- package/src/snackbar/stories/index.js +1 -1
- package/src/spacer/stories/index.js +1 -1
- package/src/style-provider/index.js +2 -0
- package/src/surface/stories/index.js +1 -1
- package/src/tab-panel/stories/index.js +1 -1
- package/src/text-control/stories/index.js +1 -1
- package/src/text-highlight/stories/index.js +1 -1
- package/src/textarea-control/stories/index.js +1 -1
- package/src/tip/stories/index.js +1 -1
- package/src/toggle-control/stories/index.js +1 -1
- package/src/toggle-group-control/stories/index.js +1 -1
- package/src/toggle-group-control/toggle-group-control/component.tsx +7 -2
- package/src/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.tsx +24 -9
- package/src/toggle-group-control/toggle-group-control-option/styles.ts +3 -0
- package/src/toolbar-button/stories/index.js +1 -1
- package/src/tools-panel/stories/index.js +237 -0
- package/src/tools-panel/styles.ts +41 -1
- package/src/tools-panel/test/index.js +234 -1
- package/src/tools-panel/tools-panel/README.md +9 -0
- package/src/tools-panel/tools-panel/component.tsx +2 -5
- package/src/tools-panel/tools-panel/hook.ts +50 -18
- package/src/tools-panel/tools-panel-item/hook.ts +5 -1
- package/src/tools-panel/types.ts +5 -1
- package/src/tooltip/stories/index.js +1 -1
- package/src/tree-select/stories/index.js +1 -1
- package/src/truncate/stories/index.js +1 -1
- package/src/unit-control/stories/index.js +19 -1
- package/src/unit-control/styles/unit-control-styles.ts +33 -46
- package/src/unit-control/types.ts +5 -2
- package/src/z-stack/README.md +1 -1
- package/src/z-stack/component.tsx +1 -1
- package/src/z-stack/stories/index.js +1 -1
- package/src/z-stack/styles.ts +7 -2
- package/tsconfig.json +6 -2
- package/tsconfig.tsbuildinfo +1 -1
package/build-style/style.css
CHANGED
|
@@ -354,6 +354,17 @@ p + .components-button.is-tertiary {
|
|
|
354
354
|
background: #710d0d;
|
|
355
355
|
box-shadow: inset 0 0 0 1px #710d0d;
|
|
356
356
|
}
|
|
357
|
+
.components-button.is-destructive.is-tertiary {
|
|
358
|
+
box-shadow: none;
|
|
359
|
+
}
|
|
360
|
+
.components-button.is-destructive.is-tertiary:hover:not(:disabled) {
|
|
361
|
+
box-shadow: inset 0 0 0 1px #cc1818;
|
|
362
|
+
color: #cc1818;
|
|
363
|
+
}
|
|
364
|
+
.components-button.is-destructive.is-tertiary:focus:not(:disabled) {
|
|
365
|
+
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) #cc1818;
|
|
366
|
+
color: #cc1818;
|
|
367
|
+
}
|
|
357
368
|
.components-button.is-link {
|
|
358
369
|
margin: 0;
|
|
359
370
|
padding: 0;
|
|
@@ -771,15 +782,17 @@ svg.components-checkbox-control__checked {
|
|
|
771
782
|
padding: 8px;
|
|
772
783
|
}
|
|
773
784
|
|
|
785
|
+
.components-dropdown-menu__menu .components-palette-edit__menu-button {
|
|
786
|
+
width: 100%;
|
|
787
|
+
}
|
|
788
|
+
|
|
774
789
|
.component-color-indicator {
|
|
775
|
-
width:
|
|
776
|
-
height:
|
|
777
|
-
|
|
778
|
-
border: 1px solid #
|
|
790
|
+
width: 20px;
|
|
791
|
+
height: 20px;
|
|
792
|
+
border-radius: 50%;
|
|
793
|
+
border: 1px solid #ddd;
|
|
779
794
|
display: inline-block;
|
|
780
|
-
|
|
781
|
-
.component-color-indicator + .component-color-indicator {
|
|
782
|
-
margin-left: 0.5rem;
|
|
795
|
+
padding: 0;
|
|
783
796
|
}
|
|
784
797
|
|
|
785
798
|
.components-combobox-control {
|
|
@@ -875,9 +888,9 @@ input.components-combobox-control__input[type=text]:focus {
|
|
|
875
888
|
}
|
|
876
889
|
|
|
877
890
|
.components-color-palette__custom-color {
|
|
891
|
+
position: relative;
|
|
878
892
|
border: none;
|
|
879
893
|
background: none;
|
|
880
|
-
outline: 0;
|
|
881
894
|
display: block;
|
|
882
895
|
border-radius: 2px;
|
|
883
896
|
height: 48px;
|
|
@@ -889,6 +902,12 @@ input.components-combobox-control__input[type=text]:focus {
|
|
|
889
902
|
box-sizing: border-box;
|
|
890
903
|
color: #fff;
|
|
891
904
|
cursor: pointer;
|
|
905
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
|
|
906
|
+
outline: 1px solid transparent;
|
|
907
|
+
}
|
|
908
|
+
.components-color-palette__custom-color:focus {
|
|
909
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
910
|
+
outline-width: 2px;
|
|
892
911
|
}
|
|
893
912
|
|
|
894
913
|
.components-dropdown__content.components-color-palette__custom-color-dropdown-content .components-popover__content {
|
|
@@ -1000,10 +1019,6 @@ input.components-combobox-control__input[type=text]:focus {
|
|
|
1000
1019
|
border-radius: 2px;
|
|
1001
1020
|
}
|
|
1002
1021
|
|
|
1003
|
-
.components-custom-gradient-picker .components-select-control__input,
|
|
1004
|
-
.components-custom-gradient-picker .components-input-control__input {
|
|
1005
|
-
height: 40px !important;
|
|
1006
|
-
}
|
|
1007
1022
|
.components-custom-gradient-picker .components-input-control__label {
|
|
1008
1023
|
line-height: 1;
|
|
1009
1024
|
padding-bottom: 8px !important;
|
|
@@ -3247,6 +3262,13 @@ body.is-dragging-components-draggable {
|
|
|
3247
3262
|
display: block;
|
|
3248
3263
|
margin-bottom: 24px;
|
|
3249
3264
|
}
|
|
3265
|
+
.components-modal__content.hide-header {
|
|
3266
|
+
margin-top: 0;
|
|
3267
|
+
padding-top: 24px;
|
|
3268
|
+
}
|
|
3269
|
+
.components-modal__content.hide-header::before {
|
|
3270
|
+
content: none;
|
|
3271
|
+
}
|
|
3250
3272
|
|
|
3251
3273
|
.components-notice {
|
|
3252
3274
|
display: flex;
|
|
@@ -24,50 +24,50 @@ export function useBaseField(props: import('../ui/context').WordPressComponentPr
|
|
|
24
24
|
color?: string | undefined;
|
|
25
25
|
id?: string | undefined;
|
|
26
26
|
lang?: string | undefined;
|
|
27
|
-
role?:
|
|
27
|
+
role?: import("react").AriaRole | undefined;
|
|
28
28
|
tabIndex?: number | undefined;
|
|
29
29
|
'aria-activedescendant'?: string | undefined;
|
|
30
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
31
|
-
'aria-autocomplete'?: "
|
|
32
|
-
'aria-busy'?: boolean | "true" | "false" | undefined;
|
|
30
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
31
|
+
'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
|
|
32
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
33
33
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
34
34
|
'aria-colcount'?: number | undefined;
|
|
35
35
|
'aria-colindex'?: number | undefined;
|
|
36
36
|
'aria-colspan'?: number | undefined;
|
|
37
37
|
'aria-controls'?: string | undefined;
|
|
38
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "
|
|
38
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
|
|
39
39
|
'aria-describedby'?: string | undefined;
|
|
40
40
|
'aria-details'?: string | undefined;
|
|
41
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
41
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
42
42
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
43
43
|
'aria-errormessage'?: string | undefined;
|
|
44
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
44
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
45
45
|
'aria-flowto'?: string | undefined;
|
|
46
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
47
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
48
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
46
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
47
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
48
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
49
49
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
50
50
|
'aria-keyshortcuts'?: string | undefined;
|
|
51
51
|
'aria-label'?: string | undefined;
|
|
52
52
|
'aria-labelledby'?: string | undefined;
|
|
53
53
|
'aria-level'?: number | undefined;
|
|
54
54
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
55
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
56
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
57
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
55
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
56
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
57
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
58
58
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
59
59
|
'aria-owns'?: string | undefined;
|
|
60
60
|
'aria-placeholder'?: string | undefined;
|
|
61
61
|
'aria-posinset'?: number | undefined;
|
|
62
62
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
63
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
63
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
64
64
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
65
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
65
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
66
66
|
'aria-roledescription'?: string | undefined;
|
|
67
67
|
'aria-rowcount'?: number | undefined;
|
|
68
68
|
'aria-rowindex'?: number | undefined;
|
|
69
69
|
'aria-rowspan'?: number | undefined;
|
|
70
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
70
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
71
71
|
'aria-setsize'?: number | undefined;
|
|
72
72
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
73
73
|
'aria-valuemax'?: number | undefined;
|
|
@@ -16,50 +16,50 @@ export function useCard(props: import('../../ui/context').WordPressComponentProp
|
|
|
16
16
|
color?: string | undefined;
|
|
17
17
|
id?: string | undefined;
|
|
18
18
|
lang?: string | undefined;
|
|
19
|
-
role?:
|
|
19
|
+
role?: import("react").AriaRole | undefined;
|
|
20
20
|
tabIndex?: number | undefined;
|
|
21
21
|
'aria-activedescendant'?: string | undefined;
|
|
22
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
23
|
-
'aria-autocomplete'?: "
|
|
24
|
-
'aria-busy'?: boolean | "true" | "false" | undefined;
|
|
22
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
23
|
+
'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
|
|
24
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
25
25
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
26
26
|
'aria-colcount'?: number | undefined;
|
|
27
27
|
'aria-colindex'?: number | undefined;
|
|
28
28
|
'aria-colspan'?: number | undefined;
|
|
29
29
|
'aria-controls'?: string | undefined;
|
|
30
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "
|
|
30
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
|
|
31
31
|
'aria-describedby'?: string | undefined;
|
|
32
32
|
'aria-details'?: string | undefined;
|
|
33
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
33
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
34
34
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
35
35
|
'aria-errormessage'?: string | undefined;
|
|
36
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
36
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
37
37
|
'aria-flowto'?: string | undefined;
|
|
38
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
39
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
40
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
38
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
39
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
40
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
41
41
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
42
42
|
'aria-keyshortcuts'?: string | undefined;
|
|
43
43
|
'aria-label'?: string | undefined;
|
|
44
44
|
'aria-labelledby'?: string | undefined;
|
|
45
45
|
'aria-level'?: number | undefined;
|
|
46
46
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
47
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
48
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
49
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
47
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
48
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
49
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
50
50
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
51
51
|
'aria-owns'?: string | undefined;
|
|
52
52
|
'aria-placeholder'?: string | undefined;
|
|
53
53
|
'aria-posinset'?: number | undefined;
|
|
54
54
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
55
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
55
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
56
56
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
57
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
57
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
58
58
|
'aria-roledescription'?: string | undefined;
|
|
59
59
|
'aria-rowcount'?: number | undefined;
|
|
60
60
|
'aria-rowindex'?: number | undefined;
|
|
61
61
|
'aria-rowspan'?: number | undefined;
|
|
62
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
62
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
63
63
|
'aria-setsize'?: number | undefined;
|
|
64
64
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
65
65
|
'aria-valuemax'?: number | undefined;
|
|
@@ -13,50 +13,50 @@ export function useCardBody(props: import('../../ui/context').WordPressComponent
|
|
|
13
13
|
color?: string | undefined;
|
|
14
14
|
id?: string | undefined;
|
|
15
15
|
lang?: string | undefined;
|
|
16
|
-
role?:
|
|
16
|
+
role?: import("react").AriaRole | undefined;
|
|
17
17
|
tabIndex?: number | undefined;
|
|
18
18
|
'aria-activedescendant'?: string | undefined;
|
|
19
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
20
|
-
'aria-autocomplete'?: "
|
|
21
|
-
'aria-busy'?: boolean | "true" | "false" | undefined;
|
|
19
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
20
|
+
'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
|
|
21
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
22
22
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
23
23
|
'aria-colcount'?: number | undefined;
|
|
24
24
|
'aria-colindex'?: number | undefined;
|
|
25
25
|
'aria-colspan'?: number | undefined;
|
|
26
26
|
'aria-controls'?: string | undefined;
|
|
27
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "
|
|
27
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
|
|
28
28
|
'aria-describedby'?: string | undefined;
|
|
29
29
|
'aria-details'?: string | undefined;
|
|
30
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
30
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
31
31
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
32
32
|
'aria-errormessage'?: string | undefined;
|
|
33
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
33
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
34
34
|
'aria-flowto'?: string | undefined;
|
|
35
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
36
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
37
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
35
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
36
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
37
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
38
38
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
39
39
|
'aria-keyshortcuts'?: string | undefined;
|
|
40
40
|
'aria-label'?: string | undefined;
|
|
41
41
|
'aria-labelledby'?: string | undefined;
|
|
42
42
|
'aria-level'?: number | undefined;
|
|
43
43
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
44
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
45
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
46
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
44
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
45
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
46
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
47
47
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
48
48
|
'aria-owns'?: string | undefined;
|
|
49
49
|
'aria-placeholder'?: string | undefined;
|
|
50
50
|
'aria-posinset'?: number | undefined;
|
|
51
51
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
52
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
52
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
53
53
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
54
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
54
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
55
55
|
'aria-roledescription'?: string | undefined;
|
|
56
56
|
'aria-rowcount'?: number | undefined;
|
|
57
57
|
'aria-rowindex'?: number | undefined;
|
|
58
58
|
'aria-rowspan'?: number | undefined;
|
|
59
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
59
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
60
60
|
'aria-setsize'?: number | undefined;
|
|
61
61
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
62
62
|
'aria-valuemax'?: number | undefined;
|
|
@@ -11,51 +11,51 @@ export function useCardDivider(props: import('../../ui/context').WordPressCompon
|
|
|
11
11
|
color?: string | undefined;
|
|
12
12
|
id?: string | undefined;
|
|
13
13
|
lang?: string | undefined;
|
|
14
|
-
role?:
|
|
14
|
+
role?: import("react").AriaRole | undefined;
|
|
15
15
|
tabIndex?: number | undefined;
|
|
16
16
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
17
17
|
'aria-activedescendant'?: string | undefined;
|
|
18
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
19
|
-
'aria-autocomplete'?: "
|
|
20
|
-
'aria-busy'?: boolean | "true" | "false" | undefined;
|
|
18
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
19
|
+
'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
|
|
20
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
21
21
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
22
22
|
'aria-colcount'?: number | undefined;
|
|
23
23
|
'aria-colindex'?: number | undefined;
|
|
24
24
|
'aria-colspan'?: number | undefined;
|
|
25
25
|
'aria-controls'?: string | undefined;
|
|
26
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "
|
|
26
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
|
|
27
27
|
'aria-describedby'?: string | undefined;
|
|
28
28
|
'aria-details'?: string | undefined;
|
|
29
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
29
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
30
30
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
31
31
|
'aria-errormessage'?: string | undefined;
|
|
32
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
32
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
33
33
|
'aria-flowto'?: string | undefined;
|
|
34
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
35
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
36
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
34
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
35
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
36
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
37
37
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
38
38
|
'aria-keyshortcuts'?: string | undefined;
|
|
39
39
|
'aria-label'?: string | undefined;
|
|
40
40
|
'aria-labelledby'?: string | undefined;
|
|
41
41
|
'aria-level'?: number | undefined;
|
|
42
42
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
43
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
44
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
45
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
43
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
44
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
45
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
46
46
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
47
47
|
'aria-owns'?: string | undefined;
|
|
48
48
|
'aria-placeholder'?: string | undefined;
|
|
49
49
|
'aria-posinset'?: number | undefined;
|
|
50
50
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
51
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
51
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
52
52
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
53
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
53
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
54
54
|
'aria-roledescription'?: string | undefined;
|
|
55
55
|
'aria-rowcount'?: number | undefined;
|
|
56
56
|
'aria-rowindex'?: number | undefined;
|
|
57
57
|
'aria-rowspan'?: number | undefined;
|
|
58
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
58
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
59
59
|
'aria-setsize'?: number | undefined;
|
|
60
60
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
61
61
|
'aria-valuemax'?: number | undefined;
|
|
@@ -263,8 +263,8 @@ export function useCardDivider(props: import('../../ui/context').WordPressCompon
|
|
|
263
263
|
unstable_system?: any;
|
|
264
264
|
wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined;
|
|
265
265
|
margin?: import("../../ui/utils/space").SpaceInput | undefined;
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
marginStart?: import("../../ui/utils/space").SpaceInput | undefined;
|
|
267
|
+
marginEnd?: import("../../ui/utils/space").SpaceInput | undefined;
|
|
268
268
|
as?: undefined;
|
|
269
269
|
};
|
|
270
270
|
//# sourceMappingURL=hook.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export function useCardFooter(props: import('../../ui/context').WordPressComponentProps<import('../types').FooterProps, 'div'>): {
|
|
5
5
|
className: string;
|
|
6
|
-
justify: import("
|
|
6
|
+
justify: import("csstype").Property.JustifyContent | undefined;
|
|
7
7
|
children: import("react").ReactNode;
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
9
|
slot?: string | undefined;
|
|
@@ -13,50 +13,50 @@ export function useCardFooter(props: import('../../ui/context').WordPressCompone
|
|
|
13
13
|
color?: string | undefined;
|
|
14
14
|
id?: string | undefined;
|
|
15
15
|
lang?: string | undefined;
|
|
16
|
-
role?:
|
|
16
|
+
role?: import("react").AriaRole | undefined;
|
|
17
17
|
tabIndex?: number | undefined;
|
|
18
18
|
'aria-activedescendant'?: string | undefined;
|
|
19
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
20
|
-
'aria-autocomplete'?: "
|
|
21
|
-
'aria-busy'?: boolean | "true" | "false" | undefined;
|
|
19
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
20
|
+
'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
|
|
21
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
22
22
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
23
23
|
'aria-colcount'?: number | undefined;
|
|
24
24
|
'aria-colindex'?: number | undefined;
|
|
25
25
|
'aria-colspan'?: number | undefined;
|
|
26
26
|
'aria-controls'?: string | undefined;
|
|
27
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "
|
|
27
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
|
|
28
28
|
'aria-describedby'?: string | undefined;
|
|
29
29
|
'aria-details'?: string | undefined;
|
|
30
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
30
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
31
31
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
32
32
|
'aria-errormessage'?: string | undefined;
|
|
33
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
33
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
34
34
|
'aria-flowto'?: string | undefined;
|
|
35
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
36
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
37
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
35
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
36
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
37
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
38
38
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
39
39
|
'aria-keyshortcuts'?: string | undefined;
|
|
40
40
|
'aria-label'?: string | undefined;
|
|
41
41
|
'aria-labelledby'?: string | undefined;
|
|
42
42
|
'aria-level'?: number | undefined;
|
|
43
43
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
44
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
45
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
46
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
44
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
45
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
46
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
47
47
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
48
48
|
'aria-owns'?: string | undefined;
|
|
49
49
|
'aria-placeholder'?: string | undefined;
|
|
50
50
|
'aria-posinset'?: number | undefined;
|
|
51
51
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
52
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
52
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
53
53
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
54
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
54
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
55
55
|
'aria-roledescription'?: string | undefined;
|
|
56
56
|
'aria-rowcount'?: number | undefined;
|
|
57
57
|
'aria-rowindex'?: number | undefined;
|
|
58
58
|
'aria-rowspan'?: number | undefined;
|
|
59
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
59
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
60
60
|
'aria-setsize'?: number | undefined;
|
|
61
61
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
62
62
|
'aria-valuemax'?: number | undefined;
|
|
@@ -12,50 +12,50 @@ export function useCardHeader(props: import('../../ui/context').WordPressCompone
|
|
|
12
12
|
color?: string | undefined;
|
|
13
13
|
id?: string | undefined;
|
|
14
14
|
lang?: string | undefined;
|
|
15
|
-
role?:
|
|
15
|
+
role?: import("react").AriaRole | undefined;
|
|
16
16
|
tabIndex?: number | undefined;
|
|
17
17
|
'aria-activedescendant'?: string | undefined;
|
|
18
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
19
|
-
'aria-autocomplete'?: "
|
|
20
|
-
'aria-busy'?: boolean | "true" | "false" | undefined;
|
|
18
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
19
|
+
'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
|
|
20
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
21
21
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
22
22
|
'aria-colcount'?: number | undefined;
|
|
23
23
|
'aria-colindex'?: number | undefined;
|
|
24
24
|
'aria-colspan'?: number | undefined;
|
|
25
25
|
'aria-controls'?: string | undefined;
|
|
26
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "
|
|
26
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
|
|
27
27
|
'aria-describedby'?: string | undefined;
|
|
28
28
|
'aria-details'?: string | undefined;
|
|
29
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
29
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
30
30
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
31
31
|
'aria-errormessage'?: string | undefined;
|
|
32
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
32
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
33
33
|
'aria-flowto'?: string | undefined;
|
|
34
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
35
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
36
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
34
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
35
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
36
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
37
37
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
38
38
|
'aria-keyshortcuts'?: string | undefined;
|
|
39
39
|
'aria-label'?: string | undefined;
|
|
40
40
|
'aria-labelledby'?: string | undefined;
|
|
41
41
|
'aria-level'?: number | undefined;
|
|
42
42
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
43
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
44
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
45
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
43
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
44
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
45
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
46
46
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
47
47
|
'aria-owns'?: string | undefined;
|
|
48
48
|
'aria-placeholder'?: string | undefined;
|
|
49
49
|
'aria-posinset'?: number | undefined;
|
|
50
50
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
51
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
51
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
52
52
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
53
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
53
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
54
54
|
'aria-roledescription'?: string | undefined;
|
|
55
55
|
'aria-rowcount'?: number | undefined;
|
|
56
56
|
'aria-rowindex'?: number | undefined;
|
|
57
57
|
'aria-rowspan'?: number | undefined;
|
|
58
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
58
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
59
59
|
'aria-setsize'?: number | undefined;
|
|
60
60
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
61
61
|
'aria-valuemax'?: number | undefined;
|
|
@@ -14,50 +14,50 @@ export function useCardMedia(props: import('../../ui/context').WordPressComponen
|
|
|
14
14
|
color?: string | undefined;
|
|
15
15
|
id?: string | undefined;
|
|
16
16
|
lang?: string | undefined;
|
|
17
|
-
role?:
|
|
17
|
+
role?: import("react").AriaRole | undefined;
|
|
18
18
|
tabIndex?: number | undefined;
|
|
19
19
|
'aria-activedescendant'?: string | undefined;
|
|
20
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
21
|
-
'aria-autocomplete'?: "
|
|
22
|
-
'aria-busy'?: boolean | "true" | "false" | undefined;
|
|
20
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
21
|
+
'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
|
|
22
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
23
23
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
24
24
|
'aria-colcount'?: number | undefined;
|
|
25
25
|
'aria-colindex'?: number | undefined;
|
|
26
26
|
'aria-colspan'?: number | undefined;
|
|
27
27
|
'aria-controls'?: string | undefined;
|
|
28
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "
|
|
28
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
|
|
29
29
|
'aria-describedby'?: string | undefined;
|
|
30
30
|
'aria-details'?: string | undefined;
|
|
31
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
31
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
32
32
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
33
33
|
'aria-errormessage'?: string | undefined;
|
|
34
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
34
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
35
35
|
'aria-flowto'?: string | undefined;
|
|
36
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
37
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
38
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
36
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
37
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
38
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
39
39
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
40
40
|
'aria-keyshortcuts'?: string | undefined;
|
|
41
41
|
'aria-label'?: string | undefined;
|
|
42
42
|
'aria-labelledby'?: string | undefined;
|
|
43
43
|
'aria-level'?: number | undefined;
|
|
44
44
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
45
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
46
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
47
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
45
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
46
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
47
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
48
48
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
49
49
|
'aria-owns'?: string | undefined;
|
|
50
50
|
'aria-placeholder'?: string | undefined;
|
|
51
51
|
'aria-posinset'?: number | undefined;
|
|
52
52
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
53
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
53
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
54
54
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
55
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
55
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
56
56
|
'aria-roledescription'?: string | undefined;
|
|
57
57
|
'aria-rowcount'?: number | undefined;
|
|
58
58
|
'aria-rowindex'?: number | undefined;
|
|
59
59
|
'aria-rowspan'?: number | undefined;
|
|
60
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
60
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
61
61
|
'aria-setsize'?: number | undefined;
|
|
62
62
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
63
63
|
'aria-valuemax'?: number | undefined;
|