mirror of
https://github.com/woocommerce/woocommerce.git
synced 2025-02-24 11:22:10 +08:00
* [WC Payments NOX] Final changes and enhancements before going live (#54955) * Add changelog * Update the default payment provider icon * Replace the usage of deprecated position prop for Tooltip * Adjust Other section CTA label when busy * Change suggestion CTA button label when busy * Add border between Other section categories * Provide a minimum height to occupy space when loading * Increase the target size of the business location notice icon * Add official badge icon * Add official badge component * Add official badges to partner extensions * Replace Tooltip with Popover for other category descriptions * Improve Popovers styling and behavior * Change Other section CTA buttons to links * Fix Other section category popovers * Adjust incentive status badge in line with designs * Add missing Oxford comma * Avoid widow in ready to test payments modal * Allow the passthrough of Popover focusOnMount prop * Add changelog * Focus the container when opening the EllipsisMenu * Don't remove the focus box-shadow for EllipsisMenu items for a11y * Center and better align provider action and ellipsis * Use variables for media breakpoints * Improve the styling and responsive behavior of the country select * Properly position the offline PMs arrow * Adjust and fix the spacing in the Others section * Show the expanded OfficialBadge variant everywhere * Add three-dots loading animation to Other section CTAs when busy * Add marketplace link when recommendations aren't available (#54997) Add marketplace link when recommendations aren't available * Lint fixes * Popover and badges adjustments: styling and a11y * Improve popover: debounce and positioning * Add changelog * Adjust the subscriptions support icon and tooltip * Prevent gateways that don't provide method title and/or description to crash the page * Reserve space for the Other section CTA loading label * Update PNPM lock file * Use the correct official badge popover learn more URL * Performance enhancement for WooPayments orders query * Lint fixes * Don't show context menu links separator if there are no links * Update A8c color studio dependency to 4.0.0 to use the latest branding colors * Add changelog * Bump A8c color studio package version to 4.0.0 * Remove space * Update A8c color studio version in lock file * Update incentives illustration * Update incentives surfaces styling and responsive behavior * Update button spacing * Adjust the responsive behavior of the other section * Remove the show less button from the recommended PMs screen * Remove double border on recommended PMs page * Update lock file * Switch to using a svg file for the official badge * Remove unused import * Update WooPayments test account reset modal copy * Minor fixes * Minor responsive adjustments to the main providers list - mobile --------- Co-authored-by: Dan Paun <82826872+dpaun1985@users.noreply.github.com> * Fix lock file --------- Co-authored-by: Dan Paun <82826872+dpaun1985@users.noreply.github.com> |
||
---|---|---|
.. | ||
abstracts | ||
changelog | ||
.eslintrc.js | ||
.npmrc | ||
index.js | ||
package.json | ||
README.md | ||
style-asset-plugin.js |
Style Build Helper
This is a partial Webpack config for building WooCommerce component styles using base styles from Gutenberg. It is used to replace the bin/packages/build.js
script.
Usage
Create a webpack.config.js
in your package root that defines the entry
and output
, making use of the rules
and plugins
from @woocommerce/internal-style-build
.
Note: The entry
should be named 'build-style'
so the CSS will get picked up by the main client/
application's CopyWebpackPlugin
config.
// packages/<package-name>/webpack.config.js
import { webpackConfig } from '@woocommerce/internal-style-build';
module.exports = {
mode: process.env.NODE_ENV || 'development',
entry: {
'build-style': __dirname + '/src/style.scss',
},
output: {
path: __dirname,
},
module: {
rules: webpackConfig.rules,
},
plugins: webpackConfig.plugins,
};