21 Commits

Author SHA1 Message Date
Ashley Hunter 2375d0aa0c feat: add agent skill bundle and cli info command
Add a skills.sh-compatible agent skill (skills/spartan) that teaches AI
coding assistants how to build spartan/ui with the Brain (headless) and
Helm (styled) layers, covering composition rules, styling, forms, icons,
the CLI, theming, the registry model, and the MCP server.

Add a new read-only @spartan-ng/cli:info generator that prints project
context (config, package versions, icon library, installed and available
components) as text or, with --json, as machine-readable output for the
skill to consume.

Document the skill and the info command on the docs site.
2026-06-04 20:22:03 +01:00
Dafnik c74a13a55a fix: align components with input ids (#1312)
* fix: align components with input ids

related to #1286

* feat: add hlm input id rename generator
2026-04-28 14:25:10 +02:00
moosme 55b08d1b33 feat: init generator (#992)
* feat: init generator

* feat: change cdk version to 19

---------

Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-11-05 22:33:41 +01:00
moosme adf55dbdd3 refactor: polish imports (#890)
Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-09-27 17:52:14 -04:00
moosme 24582c3657 feat(switch,checkbox)Add health checks (#875) 2025-09-19 09:41:17 +02:00
Robin Goetz a1e30438f9 fix(accordion): correct trigger semantics and guard keyboard events i… (#838) 2025-09-18 23:23:31 +02:00
Marc Stammerjohann ae95eb9cd6 feat: separator polishing (#811)
* feat(separator): add *SeparatorImports

* feat(separator): simplify separator usage by changing brn-separator to directive

* use brn-separator as host directive for hlm-separator
* inline orientation type for api docs

* docs(separator): simplify preview and usage code

# Conflicts:
#	apps/app/src/app/pages/(components)/components/(separator)/separator.generated.ts

# Conflicts:
#	apps/app/src/app/pages/(components)/components/(separator)/separator.preview.ts

* feat(separator): add migration and health check

# Conflicts:
#	libs/cli/generators.json
#	libs/cli/src/generators/healthcheck/generator.ts

* feat(separator): skip migration on hlm-separator.ts istelf

* docs: run health check for brn-separator

* fix(separator): e2e test

* feat(separator): update snapshot

* fix(separator): remove duplicate shrink-0 styles

* chore: format hlm classes
2025-09-01 13:34:23 +02:00
moosme 556a3a5133 Export hlm from brain to helm (#856)
* chore: nightly release 2025-08-24 ⚡

* chore: nightly release 2025-08-25 ⚡

* chore: nightly release 2025-08-26 ⚡

* feat: move hlm from brain to hlm #843

* feat: add utils installation #843

* feat: move tailwind-merge to dependencies #840

* fix: fix tests and add utils test

---------

Co-authored-by: Leonidas <leonidas@spartan.ng>
2025-08-31 18:14:40 +02:00
Ashley Hunter 339314590a refactor(progress): progress polish (#818)
* refactor(progress): progress polish

* refactor(progress): progress polish

* build: fixing lint

* build: fix unit tests

* fix(progress): correcting stories

* build: fixing tests
2025-08-19 11:01:27 +02:00
Ashley Hunter b1ed68e0d0 refactor: use the latest angular naming conventions (#766)
* refactor: use the latest angular naming conventions

* build: merge

* docs: fixing unexpected component rename

Co-authored-by: Ajit Panigrahi <ajitzero@gmail.com>

* build: fix generated code

* build: fixing build

* build: fix directive

* feat: adding helm migration

* build: health check detection improvements

* build: checking file type

* build: fix formatting

---------

Co-authored-by: Ajit Panigrahi <ajitzero@gmail.com>
2025-07-30 22:32:02 +02:00
Ashley Hunter b778eb72f0 feat: migrations 2025-05-29 21:00:29 +01:00
Jakub Sapała 23b13891e7 feat: toggle-group component (#634)
* feat(toggle-group): first draft with existing brn toggle group functionalities

* chore(toggle-group): add toggle-group to scope & template

* chore: move toggle-group functionality to new brn & hlm

* fix: fix error at format and lint

* fix: fix remaining eslint error

* fix: update spartan-ng/brain version for toggle-group

* fix: resolve format issue in the toggle-group

* fix(toggle-group): resolve e2e errors

* feat(toggle-group): add healthcheck migrate toggle-group

* feat(toggle-group): add argTypes in toggle-group storybook & fix format issues

* chore: delete unnecessary comments

* chore: nightly release 2025-04-02 ⚡

* chore: nightly release 2025-04-03 ⚡

* chore: nightly release 2025-04-04 ⚡

* chore: update toggle-group dependencies

---------

Co-authored-by: Leonidas <leonidas@spartan.ng>
2025-04-08 08:53:47 +02:00
Ashley Hunter 943e4371da feat: adding helm library update tooling (#631)
* feat: adding helm library update tooling

fix: review feedback

fix: typo

fix: resolving remaining issues

* fix: review feedback
2025-03-24 11:06:20 +01:00
Ashley Hunter 9127e8b8e4 fix: select fixes and cleanup (#614)
* refactor: select updates

* fix: select fixes

* feat: add migrations
2025-02-28 07:22:28 +01:00
Marc Stammerjohann 50448d06ca refactor(radio-group): hlm-radio component and fix card styles (#556)
* refactor(radio-group): replace hlm-radio directive with component

* refactor(radio-group): remove label styles, add data-slot for label and indicator

* fixed label styles mess up card layout styles

* docs(radio-group): use data-slot=label for card and remove extra div for styling

* test(radio-group): use hlm-radio component in storybook

* feat(radio-group): add migration for brn-radio to hlm-radio

* feat(radio-group): add brn-radio migration to healthcheck

* docs(radio-group): use remixicon for apple/paypal in card example
2025-02-10 15:46:33 +01:00
Ashley Hunter 61f701b8ff feat: cli healthcheck tool (#552)
* feat: cli healthcheck

* fix: ensuring prompt works
2025-01-23 15:38:24 +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 2856e31a34 feat(icon): icon component migration (#537)
* feat: initial icon directive

* fix: typos

* feat: adding provideIcons migration

* feat: icon migration

* feat: adding size class conversion

* fix: skip when size class is present

* fix: size class conversion

* fix: icon sizes

* fix: restoring accordion hlm directives

* fix: documentation icons

* fix: icon tests

* fix: remove old attribute

* fix: dialog icon

* fix: build failure

* fix: build failure

* fix: running migration on merged files
2025-01-07 23:20:56 +01:00
Ashley Hunter 1278091f73 feat: upgrade and rework scroll area (#529)
* feat: upgrade and rework scroll area

* feat: add migration

* feat: add migration

* feat: add migration
2024-12-18 16:19:17 +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
robingotz 4885519fa9 feat: turn nx plugin into cli
We add functionality that allows us to use the Nx plugin in a wrapper
that makes it compatible with the Angular CLI.
This includes a rename of the package from @spartan-ng/nx to
@spartan-ng/cli.
2023-11-28 14:08:51 -05:00