28 Commits
Author SHA1 Message Date
Grug 6769c83c96 Minify CDN CSS with esbuild to stop dropped rules (#220)
Tailwind's --minify (Lightning CSS) randomly drops rules from the CDN .min.css files (parcel-bundler/lightningcss#1235). Minify with esbuild using Tailwind v4's browser targets instead, fail the build on esbuild warnings, and have npm run check fail if a .min.css file loses any selector from its unminified file.
2026-10-23 18:15:35 +08:00
Grug 275782b7e5 Stop nesting states under pseudo-elements (#219)
Tailwind emits variants used inside a pseudo-element rule (hover:, focus-visible:, active:, dark:, not-dark:, data-*, rtl:) as nested &:state rules. Native CSS nesting can't match those, so they never applied in the unminified CDN files. Move each state before the pseudo-element instead.
2026-10-23 18:09:41 +08:00
Grug 33d0eb9eb2 Use 16px text on mobile for the remaining text fields to stop iOS zoom (#218) 2026-10-23 16:02:47 +08:00
Grugandgrugbraindev 9de91ee607 Add upgrade note and contributors to 1.1.0 changelog (#217)
Co-authored-by: grugbraindev <178141691+grugbraindev@users.noreply.github.com>
2026-10-23 15:25:07 +08:00
Grugandgrugbraindev 15ba02296c Prepare 1.1.0 release (#216)
Co-authored-by: grugbraindev <178141691+grugbraindev@users.noreply.github.com>
2026-10-23 15:08:55 +08:00
Grugandgrugbraindev 67d8c40543 Document the separator (#210)
* Document the separator

Basecoat has no Separator component: an <hr> already renders as a 1px line in the border color. Add a docs page with horizontal, vertical, menu, list and RTL examples that mirror shadcn/ui's Separator docs.

* Style vertical separators in base CSS

Add a low-specificity base rule so <hr aria-orientation="vertical"> renders
as a 1px inline-start line that stretches to its row, matching shadcn/ui's
vertical Separator. Rewrite the Separator docs to use it without utility
classes, note role="none" for decorative separators, and add a changelog
entry.

---------

Co-authored-by: grugbraindev <178141691+grugbraindev@users.noreply.github.com>
2026-10-23 14:52:24 +08:00
Grugandgrugbraindev a834708080 Lock page scroll while a modal dialog is open (#214)
Pure CSS: html:has(<dialog>:modal) gets overflow: hidden. A scroll
timeline sets scrollbar-gutter: stable only when the page can scroll,
so the layout doesn't shift.

Co-authored-by: grugbraindev <178141691+grugbraindev@users.noreply.github.com>
2026-10-23 14:52:09 +08:00
Grugandgrugbraindev 705ff1b89c Replace the .form migration snippet that fails in Tailwind v4 (#209)
Tailwind v4 can't @apply Basecoat's component classes, so the 1.0.0 migration snippet failed with "Cannot apply unknown utility class". Show the .field wrapper and the per-element classes instead.

Co-authored-by: grugbraindev <178141691+grugbraindev@users.noreply.github.com>
2026-10-23 14:51:40 +08:00
Stefan Gründelandgrugbraindev 192f167c17 Fix tooltip ellipsis across style packs (#205)
Co-authored-by: grugbraindev <178141691+grugbraindev@users.noreply.github.com>
2026-10-23 09:52:36 +08:00
Stefan Gründel 64d219fdc6 Fix combobox Escape handling inside dialogs (#204) 2026-10-23 09:51:21 +08:00
Ronan Berder 6953a4adbe Prepare 1.0.2 release 2026-07-06 15:21:53 +07:00
Ronan Berder 05ea49ccc5 Prepare 1.0.1 release 2026-06-28 10:06:30 +08:00
Ronan Berder 7dc70daa83 Add force init lifecycle option 2026-06-28 09:54:05 +08:00
Ronan Berder a9e1fe7b91 Prepare 1.0.0 release 2026-06-27 18:07:58 +08:00
Ronan Berder c81900a58d Prepare 1.0.0 release 2026-06-27 08:55:48 +08:00
Ronan Berder cc50da553f Use card surfaces for scroll area examples 2026-06-26 14:35:20 +08:00
Ronan Berder 7cd8a09de3 Narrow dark mode selectors 2026-06-25 18:15:35 +08:00
Ronan Berder a0715d17ab Release beta 7 with Drawer component 2026-06-25 12:59:15 +08:00
Ronan Berder a17eaa20d3 Prepare 1.0.0-beta.6 2026-06-23 18:14:19 +08:00
Ronan Berder cb72d80558 Prepare 1.0.0-beta.5 2026-06-22 18:19:38 +08:00
Ronan Berder 9806d6af63 Prepare 1.0.0-beta.4 2026-06-20 18:18:11 +08:00
Ronan Berder 971b2e171b Prepare 1.0.0-beta.3 2026-06-20 13:58:42 +08:00
Ronan Berder 1d33827162 Prepare 1.0 docs and style migration 2026-06-17 11:19:31 +08:00
Ronan Berder 815e3ffffe Prepare 1.0.0-beta.2 release 2026-06-14 14:34:41 +08:00
Ronan Berder 4973389fbe Prepare 1.0.0 beta release 2026-06-08 21:42:31 +08:00
Ronan Berder 2e8daaef03 Fix sidebar nested item styling 2026-06-06 16:41:18 +08:00
Ronan Berder 1509cdadef Rename Cloudflare worker to basecoat 2026-06-04 15:45:13 +08:00
Ronan Berder 7e7d509e90 Migrate empty and item docs to Basecoat APIs 2026-06-03 18:59:21 +08:00