Commit Graph

21 Commits

Author SHA1 Message Date
Ashley Hunter c5b3a1df4c feat(repo): add data-slot attributes to remaining helm components
Standardize the `data-slot` styling contract across the helm layer so themes and
consumers have a consistent, public styling hook on every component. Adds the
attribute to switch, switch-thumb, input, slider (track/range/thumb), progress,
progress-indicator, calendar, navigation-menu (root/list/item/trigger/link) and
popover (root/content), matching the shadcn slot names.
2026-06-14 22:44:04 +01:00
Marc Stammerjohann 34e835e843 feat: update duplicate outputs, replace ngModel (#1428)
* feat: migrate duplicate output from model + output to input + linkedSignal + output, closes #1385

# Conflicts:
#	libs/helm/switch/src/lib/hlm-switch.ts

* feat(pagination): replace ngModel

* fix(toggle-group): select fires twice onChange and change.emit

* feat: rename value/checked input and linkedSignal
2026-06-09 18:51:22 +02:00
Ashley Hunter d872c74580 feat(switch): add size input
Expose a size input ('default' | 'sm') on the brain and helm switch, bound to the
button's data-size attribute, so the size-keyed registry style rules resolve and
a smaller switch can be rendered. Replaces the previously hardcoded
data-size="default". Add brn-switch specs covering the data-size reflection and
the thumb data-state, and update the ui-docs snapshot for the new input.
2026-06-09 08:35:41 +01:00
Ashley Hunter af74a9941b feat(switch): support styles per registry style
Emit the spartan-switch and spartan-switch-thumb markers so the per-style track
size, border width, corner radius and thumb size/offset defined in the registry
styles apply at runtime across vega, nova, maia, lyra, mira and luma, matching
shadcn. Add a data-size attribute to the brn-switch button and a data-state
attribute to the thumb so the registry's size- and state-keyed rules resolve, and
make the checked thumb translate direction-aware (ltr/rtl) so it animates
correctly under RTL. Enable the docs theme switcher and show all styles.
2026-06-09 08:35:41 +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
Ashley Hunter 3c0ab73226 refactor: replace hlm with new classes utility (#1086)
* feat: adding classes util

* fix: improving hlm

* fix: classes

* fix: classes tests and linting

* feat: adding tests

* fix: perf

* fix: perf improvements

* test: fixing tests
2025-12-22 16:06:40 +01:00
Merlin Moos fd3229abe6 fix: add order 2025-11-12 23:08:18 +01:00
Merlin 6d60dc9d7d feat: add lint rule template last 2025-11-12 15:05:31 +01:00
Merlin 64f82d8b79 feat(item): run format all 2025-10-22 15:40:07 +02:00
moosme 0404376bbe feat: tailwind update and renew website style (#939)
* feat: polish the website and tailwind 4

* feat: fix context menu

* feat: add components page

* feat: add components page

* feat: add new label #924 and restyle

* feat: polish website and remove docsearch

* feat: add custom docsearch

* feat: storybook setup tailwind 4 (wip)

* feat: change css layer order

* feat: change title restructure code

* feat: finalize docs

* feat: storybook fix

* feat: fix missing links

* feat: fix tests

* feat: fix styling and wip links

* feat: fix spacing

* feat: add github stars

* feat: fix tests

* feat: align style

* fix: resolve comments

---------

Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-10-22 08:40:51 +02:00
Merlin 9e34f79ded refactor: consistent type import 2025-09-29 14:42:31 +02: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
moosme 5a326b435b fix: fix event bubbling issues and other control value accessor bugs (#874)
* chore: nightly release 2025-08-24 ⚡

* chore: nightly release 2025-08-25 ⚡

* chore: nightly release 2025-08-26 ⚡

* fix: prevent event bubbling

---------

Co-authored-by: Leonidas <leonidas@spartan.ng>
Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-09-15 14:00:57 +02:00
Marc Stammerjohann 9f4484fabf feat: add prettier tailwind function sorting config and docs (#842)
* chore: rename prettier config

* chore: configure tailwind to sort hlm and cva functions

* docs: add sorting classes section to installation guide

* explain how to sort classes in hlm and cva functions
* update TailwindCSS to Tailwind CSS

* chore: format hlm and cva tailwind classes
2025-09-01 12:11:35 +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 5e46bf2d48 docs(switch): switch polish (#847) 2025-08-24 12:39:58 +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 e66a64d76b feat: new york theme (#711)
* feat: new york theme

* refactor: toggle group

* fix: colors

* fix: tests

* docs: updating previews

* fix: updating previews

* build: resolve build failure

* fix: review fixes

* fix: build

* build: adding generated files
2025-07-09 18:40:19 +02:00
Jeevan fb3d95a340 Remove standalone property (#701)
* feat: remove standalone property from various directives and components in the Helm UI library

* feat: enable strictStandalone option in Angular compiler settings
2025-06-10 22:00:48 +02:00
Ashley Hunter 0eeeb17b1a refactor: helm secondary entrypoints 2025-05-29 20:59:16 +01:00