Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
languages
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
assets
/
js
/
atomic
/
blocks
/
product-elements
/
button
:
supports.ts
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * External dependencies */ import { isFeaturePluginBuild } from '@woocommerce/block-settings'; /** * Internal dependencies */ import { hasSpacingStyleSupport } from '../../../../utils/global-style'; export const supports = { ...( isFeaturePluginBuild() && { color: { text: true, background: true, link: false, __experimentalSkipSerialization: true, }, __experimentalBorder: { radius: true, __experimentalSkipSerialization: true, }, ...( hasSpacingStyleSupport() && { spacing: { padding: true, __experimentalSkipSerialization: true, }, } ), typography: { fontSize: true, __experimentalFontWeight: true, __experimentalSkipSerialization: true, }, __experimentalSelector: '.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button', } ), };