Changelog

Release history for @nordcom/commerce-react-payment-brand-icons.

react-payment-brand-icons

0.2.3

Patch Changes

  • 67e3ee6 Thanks @filiphsps! - Run unit tests per-package through turbo so an unchanged package restores its result from the build cache instead of re-running; coverage is merged across packages and floor-gated as before. Tooling-only — no change to published output.

0.2.2

Patch Changes

  • 29f8582 Thanks @filiphsps! - Add npm version and downloads badges to the package READMEs, and point each homepage at its live docs page under https://nordcom.store/docs/packages/….

0.2.1

Patch Changes

  • f78ea78 Thanks @filiphsps! - Refresh the shared dev/build toolchain (vite, vitest, concurrently) and the React/Next dev pins to their latest releases as part of a monorepo-wide dependency upgrade. Internal-only — published runtime dependencies and peer ranges are unchanged.

  • #2028 d6b2cf0 Thanks @filiphsps! - Wipe the generated icons/ output directory before re-emitting. A removed or renamed SVG — or a stale module from an earlier generator that emitted a different file extension — could otherwise linger and be picked up by the extensionless icon imports (vite resolves .js ahead of .tsx, so an orphan JSX-bearing .js broke the build locally).

0.2.0

Minor Changes

  • b4acd53 Thanks @filiphsps! - Add a dev script that boots a tiny HTTP gallery (filter-as-you-type, dark theme, all 465 icons rendered from their source SVG) so contributors can browse the set without spinning up the storefront. The same scripts/gallery.ts also writes an MDX page for the docs app via pnpm docs:gen, keeping the public icon reference in sync with the package without a separate generator.

Patch Changes

  • 272bbce Thanks @filiphsps! - Remove @svgr/plugin-svgo from devDependencies. The codegen scripts call the bare svgo package directly and pass svgo: false to @svgr/core, so the SVGR-side plugin was never loaded.

  • 499a699 Thanks @filiphsps! - Inline each icon's SVG as a data: URI in the generated docs/icons.mdx so the page still resolves images after apps/docs/scripts/mirror-workspace-docs.ts mirrors it into apps/docs/app/docs/(generated)/…. The mirror only copies .md(x) files, so the previous <img src="../svgs/<filename>"> 404'd at the mirrored URL. Keeping the markup as plain <img> also avoids MDX trying to parse SVG attributes like xmlns:xlink as JSX.

  • 09cf950 Thanks @filiphsps! -

    Replace svgs/krungthaibank.svg's embedded raster PNG with a vector logo sourced from omise/banks-logo (MIT). The generated icon drops from ~515 KB to ~3 KB and no longer trips babel-generator's 500 KB pretty-print de-optimization at codegen time. Attribution lives in NOTICE.md.

  • 571d864 Thanks @filiphsps! - Minify SVG markup at codegen time so each generated icon component ships the smallest possible inline JSX. Source .svg files in svgs/ are untouched — the optimization runs only on the in-memory string handed to SVGR. Lets the build pipeline avoid babel-generator's pretty-print path for any icon whose inline content would otherwise tip past 500 KB.

  • 981a371 Thanks @filiphsps! - Re-serialize every source SVG in svgs/ with two-space indentation so the checked-in files are human-readable. Pure formatting pass — scripts/prettify-source-svgs.ts runs SVGO with an empty plugin pipeline, so node structure, attribute values, and ids are preserved byte-for-byte aside from whitespace.

  • d28e466 Thanks @filiphsps! - Point each public package's homepage at its hosted docs page on the GH Pages docs site (https://nordcom.store/docs/docs/...) instead of the GitHub source tree, so npm and registry consumers land on rendered docs.

  • 7dff37c Thanks @filiphsps! - Drop scripts/ from coverage tracking. The directory holds codegen tooling, not shipped source, and counting it toward the package's coverage thresholds masks real gaps in src/.

0.1.0

Minor Changes

  • #1908 62cdd53 Thanks @filiphsps! - Initial release of react-payment-brand-icons — 465 payment-method brand icons as tree-shakeable React components plus a <PaymentIcon> dynamic-lookup wrapper.

On this page