Changelog
Release history for @nordcom/commerce-react-payment-brand-icons.
react-payment-brand-icons
0.2.3
Patch Changes
67e3ee6Thanks @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
29f8582Thanks @filiphsps! - Add npm version and downloads badges to the package READMEs, and point eachhomepageat its live docs page underhttps://nordcom.store/docs/packages/….
0.2.1
Patch Changes
-
f78ea78Thanks @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
d6b2cf0Thanks @filiphsps! - Wipe the generatedicons/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.jsahead of.tsx, so an orphan JSX-bearing.jsbroke the build locally).
0.2.0
Minor Changes
b4acd53Thanks @filiphsps! - Add adevscript 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 samescripts/gallery.tsalso writes an MDX page for the docs app viapnpm docs:gen, keeping the public icon reference in sync with the package without a separate generator.
Patch Changes
-
272bbceThanks @filiphsps! - Remove@svgr/plugin-svgofrom devDependencies. The codegen scripts call the baresvgopackage directly and passsvgo: falseto@svgr/core, so the SVGR-side plugin was never loaded. -
499a699Thanks @filiphsps! - Inline each icon's SVG as adata:URI in the generateddocs/icons.mdxso the page still resolves images afterapps/docs/scripts/mirror-workspace-docs.tsmirrors it intoapps/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 likexmlns:xlinkas JSX. -
09cf950Thanks @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 inNOTICE.md. -
571d864Thanks @filiphsps! - Minify SVG markup at codegen time so each generated icon component ships the smallest possible inline JSX. Source.svgfiles insvgs/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. -
981a371Thanks @filiphsps! - Re-serialize every source SVG insvgs/with two-space indentation so the checked-in files are human-readable. Pure formatting pass —scripts/prettify-source-svgs.tsruns SVGO with an empty plugin pipeline, so node structure, attribute values, and ids are preserved byte-for-byte aside from whitespace. -
d28e466Thanks @filiphsps! - Point each public package'shomepageat 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. -
7dff37cThanks @filiphsps! - Dropscripts/from coverage tracking. The directory holds codegen tooling, not shipped source, and counting it toward the package's coverage thresholds masks real gaps insrc/.
0.1.0
Minor Changes
- #1908
62cdd53Thanks @filiphsps! - Initial release ofreact-payment-brand-icons— 465 payment-method brand icons as tree-shakeable React components plus a<PaymentIcon>dynamic-lookup wrapper.