lib
Plain TypeScript the components import: carts, filters, formats, products and text, with no UI of its own. add installs a file with the first component that needs it.
A cart line and an applied discount, with the cart's count, subtotal, savings, line totals, discounts and free-shipping rule in the lines' currency and precision.
Used by Cart Summary, Order Summary, Promo Code +7
A filter, its options and sort orders, with the applied values, the active-filter count and colour swatches read from them.
Used by Category Filter, Category Grid, Filter Sheet +2
Formats prices in minor units, dates, ratings and shares in a locale, on @internationalized's formatters.
Used by Filter, Price, Rating +12
A product and its colour or style siblings, the shape every product card takes.
Used by Product Card Basic, Product Card Featured, Product Card Gallery +3
Initials from a name, {key} placeholders filled in a label, and the first and last result on a page.
Used by Footer Brand, Footer Minimal, Footer Rich +8
All 5 files are in the sidebar under lib/.