Commit Graph

4 Commits

Author SHA1 Message Date
Ashley Hunter 859676a41a feat!: drop Tailwind CSS v3 support (#1460)
spartan/ui is now Tailwind CSS v4 only. The v3 compatibility layer added
complexity across the brain preset, the CLI generators and the docs, all of
which is removed here.

Brain:
- Delete the v3 JavaScript preset (hlm-tailwind-preset.js) and its package
  export; the v4 CSS preset (hlm-tailwind-preset.css) is now the only preset.
- Bump the tailwindcss peer dependency to >=4.0.0 and declare tw-animate-css
  as a peer, since it is imported by the CSS preset.

CLI:
- Remove Tailwind version detection and the v3 confirmation prompt; the theme
  generator always emits the v4 stylesheet (preset import plus OKLCH theme).
- Drop the legacy HSL theme table, the v3-only CDK overlay import branch, the
  vestigial addCdkStyles option and the unused registryItemTailwindSchema.

Docs and tooling:
- Remove the Tailwind v3 installation and theming sections and snippets.
- Drop autoprefixer; Tailwind v4 handles vendor prefixing via @tailwindcss/postcss.

BREAKING CHANGE: Tailwind CSS v3 is no longer supported. The
@spartan-ng/brain/hlm-tailwind-preset (JS) package export has been removed; use
the @spartan-ng/brain/hlm-tailwind-preset.css preset with Tailwind CSS v4. The
tailwindcss peer dependency now requires >=4.0.0.
2026-06-12 00:39:14 +02:00
Ashley Hunter 53313d8a72 feat: adding support for tailwind 4 (#586)
* feat: adding tailwind 4 support

* feat: adding container support

* fix: animation vraible
2025-02-17 11:09:36 +01:00
Ashley Hunter 74d4016e1f refactor: move core to brain (#548)
* refactor: move core to brain

* refactor: migrating core imports

* refactor: updating deps

* refactor: updating generator

* refactor: fixing import

* refactor: updating cli

* refactor: updating templates

* fix: merge latest changes

* fix: tests
2025-01-08 23:12:22 +01:00
Ashley Hunter df8a0b28be feat: secondary entrypoint setup (#496)
* build: creating secondary entrypoint

* build: adding migration generators

* build: skipping install when running internally

* fix: project name bug

* fix: file movement

* fix: import renaming

* fix: migration generator

* build: adding peer dependency migration

* fix: migration

* fix: migration

* feat: migrating checkbox

* fix: version range

* fix: moving import map to ts file

* fix: correcting documentation

* fix: esm

* fix: esm

* fix: linting

* fix: linting

* fix: linting

* fix: linting

* fix: build
2024-12-05 14:18:48 +01:00