Repository navigation
Number field, swatch and gallery thumbnails for storefronts, on data-slot 1.1.3 - #343
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…iquid Fix the Liquid native select arrow padding and input group addon alignment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…OG images and a changeset Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d infer addon sides Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… slide, show swatches in a filter Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…links alone where Embla is inactive Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ument Liquid step button state Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nvalid ring in input groups Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ld in one place, pick the keypad from the step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…icators as buttons Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…resolve Liquid slide hashes to the containing slide Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…licks, hide indicators while Embla is inactive Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s once Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nput a number input, test Astro bounds and events Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…elds, one focus ring on Liquid thumbnails Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ced in markup order Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…iquid, mark Astro thumbnails on click Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o inner outline in input groups Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…React Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndexes, document type=button Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the buttons need a numeric step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…23.1 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ontrol the input Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for fulldev-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Merged
silveltman
pushed a commit
that referenced
this pull request
Nov 26, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## fulldev-ui@0.27.0 ### Minor Changes - [#343](#343) [`d61fe62`](d61fe62) Thanks [@silveltman](https://github.com/silveltman)! - Add three storefront parts in Astro, React and native Liquid: `NumberField`, a number input with decrement and increment buttons for quantities; `Swatch`, a color or image beside an option or filter value; and `CarouselIndicator`, a thumbnail that shows its slide, for a product gallery. In Astro and Liquid the number field is a native `<input type="number">` in an input group, as data-slot leaves number fields to the browser, and its buttons fire `input` and `change`; in React it is Base UI's NumberField. In Liquid an indicator can link to its slide's id, so it also works without JavaScript. In React, `CarouselIndicator` goes inside the official shadcn/ui carousel. In Liquid, a native select keeps its text clear of the arrow, and an input group addon before the input gets its padding at the start, so a start icon no longer touches the border; `data-align='inline-start'` or `'inline-end'` names the side, as in Astro. Data-slot packages move to 1.1.3. <!-- codesmith:footer --> --- <a href="https://dashboardbackend.blacksmith.sh/track/run-proof?expires=1798315217&installation_model_id=442937&pr_number=344&ref=codesmith_pr_footer&repository=fulldotdev%2Fui&return_to=https%3A%2F%2Fgithub.com%2Ffulldotdev%2Fui%2Fpull%2F344&variant=run_proof&signature=3e9b86eb70419813330f8dcb6d317a93b1c1b4f1103bd00160e26b725fa7d4ef"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/proof-run-proof-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/proof-run-proof-v2-light.svg"><img alt="Run Proof" src="https://pr-comments-assets.blacksmith.sh/codesmith/proof-run-proof-v2-dark-3x.png" width="102" height="28"></picture></a> <sup><a href="https://app.blacksmith.sh/fulldotdev/codesmith/ui/pr/344?autoLogin=true&ref=codesmith_pr_footer">Open in [code]smith</a> · Need help on this PR? Tag <code>@codesmith-bot</code> with what you need.</sup> <!-- codesmith:autofix:disabled --> <!-- /codesmith:footer --> Co-authored-by: fulldev-release[bot] <336258566+fulldev-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new Shopify theme (fulldotdev/liquid-template#23) had to draw its own quantity picker, color swatches, product gallery, product card, cart line and filter panel, because Fulldev UI lacked them. This brings Fulldev UI up to date with data-slot and shadcn/ui and adds the parts that belong in a component library, on Astro, React and native Liquid.
In the library, on all three platforms
<input type="number">; React uses Base UI's NumberField. The buttons step the input as its arrow keys do, fireinputandchange, and are disabled when a step would not change the value.Left in the theme
Product card, cart line and totals, filter panel and active filter chips, the search result row and the sold-out strike-through state. They combine existing parts (card, item, field, checkbox, badge) with Shopify logic; shadcn/ui would make them blocks, not components.
Upstream and fixes
@data-slot/*1.1.3 (two performance fixes) and the shadcn CLI 4.23.1. shadcn/ui's components and styles have not changed since the last sync, so nothing else needed porting.Next for the theme
liquid-template can swap its own quantity input, swatches and gallery thumbnails for these parts once this is released.
vp run check, the build, 33 unit tests and 74 browser tests pass, Liquid in Chromium, Firefox and WebKit.Council review
Rounds: 12
Round 12 re-checked only GPT Sol's last finding, a demo detail.
Created with Claude Opus 5.5 in Claude Code.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.