Commit Graph

2 Commits

Author SHA1 Message Date
Marc Stammerjohann 27305c73c0 feat: dropdown and context menu styles, rtl example (#1486)
* feat(dropdown-menu): add style support, add sub trigger

* feat(dropdown-menu): update snapshot

* feat(context-menu): add rtl and more examples, enable styles

* remove spartan-context-* classes as it reuses dropdown-menu

* feat(menubar): remove unused spartan-menubar-* styles, update examples

* fix(dropdown-menu): remove duplicate styles which dropdown-menu-item already applies

* docs(context-menu): fix id

* docs: update examples

* feat(dropdown-menu): make checkbox/radio group scoped

* fix(dropdown-menu): fix rtl styles

* feat(dropdown-menu): add internal comment

* feat(dropdown-menu): add ng-icon styles for item-indicator

* docs(menubar): update preview
2026-06-16 16:33:33 +02:00
Marc Stammerjohann c74e74b343 feat: dropdown menu polishing (#1017)
* refactor(dropdown-menu): change components to directes if possible

* update input types

# Conflicts:
#	libs/helm/menu/src/lib/hlm-menu-bar.ts
#	libs/helm/menu/src/lib/hlm-menu-group.ts
#	libs/helm/menu/src/lib/hlm-menu-label.ts
#	libs/helm/menu/src/lib/hlm-menu-separator.ts
#	libs/helm/menu/src/lib/hlm-menu-shortcut.ts
#	libs/helm/menu/src/lib/hlm-menu.ts
#	libs/helm/menu/src/lib/hlm-sub-menu.ts

* docs(dropdown-menu): update imports

* docs(dropdown-menu): add checkboxes and radio-group examples

* feat(dropdown-menu): update styles, add data-slot

* feat(dropdown-menu): update snapshot

* fix(dropdown-menu): update storybook sideOffset args

# Conflicts:
#	apps/ui-storybook/.storybook/tailwind.css

* feat(menubar): generate helm menubar entrypoint

* feat(dropdown-menu): generate helm dropdown-menu entrypoint

* feat(context-menu): generate helm context-menu entrypoint

* docs: add about section

* feat(dropdown-menu): move menu-align to core, update type imports

* fix(dropdown-menu): lint issues

* feat(dropdown-menu): update snapshot

* feat(cli): remove context and menubar special case in ui cli

* feat(cli): load importAlias in healthcheck and pass to fix context

* feat(cli): pass importAlias to healtcheck detect too

* add components.json to healthcheck generator test
* return default importAlias in case components.json is missing/invalid

* feat(cli): add hlm-menu healtcheck and update imports

* docs(context-menu): update preview

* feat(dropdown-menu): simplify radio and checkbox selector by removing item

* feat(dropdown-menu): add migration for hlm-menu and tests

* feat(dropdown-menu): add more migration and tests, skip menu components

* feat(dropdown-menu): allow trigger to select not only button (like hlm-avatar)

* feat(cli): handle more menu imports

* docs(dropdown-menu): dogfooding healthcheck migration

* docs(dropdown-menu): improve dropdown side/alignment

* feat(dropdown-menu): avoid icon color overwrite

* docs: remove old menu import

* feat(dropdown-menu): remove helm/brain menu package

* docs: update api primitives

* docs: add new flag to menu components

* fix(dialog): resolving dialog change detection issues (#2)

* fix(dialog): resolving dialog change detection issues

* refactor: removing unused code

* fix: updating snapshot

* refactor: improving type safety

* feat(dropdown-menu): add disabled prop to menu-item, change selector to button

* docs: remove resolved comment

---------

Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>
2025-11-25 11:29:36 +01:00