Commit Graph

17 Commits

Author SHA1 Message Date
Patrick c7fb7469d6 fix: restore overlay dismissal semantics 2026-06-13 14:32:40 -04:00
Patrick ba74c53c97 refactor: split dialog and overlay primitives 2026-06-13 14:32:40 -04:00
Patrick 179ec6af8f fix: coordinate overlay lifecycle with animations
Replace fixed close delays with lifecycle-driven disposal so overlays remain responsive.
Wait only for exit animations that actually start and centralize Escape, backdrop, and
outside-pointer dismissal.

BREAKING CHANGE: remove the closeDelay input and configuration option. Remove explicit delay
values; closed-state exit animations are now detected automatically.
2026-06-13 14:32:40 -04:00
Marc Stammerjohann 29192af454 feat: improve dialog, alert-dialog, sheet and popover (#1059)
* feat(dialog): change dialogs to directive

* docs(popover): add name to  popover template selector

* feat(dialog): simplify dialog overlay

* feat(dialog): use BrnDialogTitle as hostDirective, add data-slot

* feat(dialog): use hostDirectives, change components to directives

* add data-slot

* feat(alert-dialog): use directives, add data-slot

* feat(sheet): use directives, add data-slot

* feat(dialog): add hlm trigger directive

* feat(popover): remove unused popover-close

* feat(popover): add hlm-popover

* feat: update snapshot and selectors

* feat(dialog): add healthcheck and migration

* feat(popover): expose more inputs/outputs

* feat(dialog): dogfeeding healthcheck and migration

* feat(dialog): add types to inputs

* feat(popover): expose more inputs

* feat(dialog): use hlmDialogTrigger

* feat(dialog): remove unused importAlias

* feat(dialog): add input types
2025-12-04 10:20:12 +01:00
Merlin Moos 4160d4a350 Merge remote-tracking branch 'origin/main' into component-template
# Conflicts:
#	libs/brain/alert-dialog/src/lib/brn-alert-dialog-overlay.ts
#	libs/brain/alert-dialog/src/lib/brn-alert-dialog.ts
#	libs/brain/avatar/src/lib/brn-avatar.ts
#	libs/brain/dialog/src/lib/brn-dialog-overlay.ts
#	libs/brain/dialog/src/lib/brn-dialog.ts
#	libs/brain/popover/src/lib/brn-popover.ts
#	libs/brain/radio-group/src/lib/brn-radio.ts
#	libs/brain/select/src/lib/brn-select-value.ts
#	libs/brain/sheet/src/lib/brn-sheet-overlay.ts
#	libs/brain/sheet/src/lib/brn-sheet.ts
#	libs/brain/tooltip/src/lib/brn-tooltip-content.ts
#	libs/helm/accordion/src/lib/hlm-accordion-content.ts
#	libs/helm/alert-dialog/src/lib/hlm-alert-dialog-content.ts
#	libs/helm/alert-dialog/src/lib/hlm-alert-dialog-footer.ts
#	libs/helm/alert-dialog/src/lib/hlm-alert-dialog-header.ts
#	libs/helm/alert-dialog/src/lib/hlm-alert-dialog.ts
#	libs/helm/avatar/src/lib/hlm-avatar.ts
#	libs/helm/carousel/src/lib/hlm-carousel-content.ts
#	libs/helm/carousel/src/lib/hlm-carousel-item.ts
#	libs/helm/carousel/src/lib/hlm-carousel-next.ts
#	libs/helm/carousel/src/lib/hlm-carousel-previous.ts
#	libs/helm/carousel/src/lib/hlm-carousel.ts
#	libs/helm/dialog/src/lib/hlm-dialog-content.ts
#	libs/helm/dialog/src/lib/hlm-dialog.ts
#	libs/helm/sheet/src/lib/hlm-sheet.ts
#	tools/eslint-rules/index.ts
2025-11-12 23:38:47 +01:00
Merlin Moos fd3229abe6 fix: add order 2025-11-12 23:08:18 +01:00
Ashley Hunter 87715502c4 build: eslint rule for styles and encapsulation 2025-11-12 21:33:40 +00:00
Merlin 6d60dc9d7d feat: add lint rule template last 2025-11-12 15:05:31 +01:00
moosme adf55dbdd3 refactor: polish imports (#890)
Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-09-27 17:52:14 -04:00
Marc Stammerjohann c4e03a5622 feat: dialog polishing (#836)
* feat(dialog): update styles and sort classes

# Conflicts:
#	libs/helm/dialog/src/lib/hlm-dialog-close.ts
#	libs/helm/dialog/src/lib/hlm-dialog-content.ts

* fix(dialog): control dialog close button height w/ flex

* button size was 16x24px w/ an icon of 16x16px
* using flex changes the sizes of the button to 16x16px

* feat(dialog): add --radiux-xs styles used by shadcn/ui

* fix(dialog): use outline-none for close button again

* docs(dialog): update example headings, form field and preview

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

* docs(dialog): update bottom nav

* feat(dialog): replace mutable state using computed + signal w/ linkedSignal

* fix(dialog): remove [&_ng-icon]:pointer-events-none to fix e2e tests

* fix(dialog): use duration-200 for state open and closed

* fix(dialog): apply same styles like hlm-alert-dialog-content

* fix(dialog): center dialog on mobile using mx-auto

* justify-self-center is not applied in firefox/safari - parent container needs to be display grid
2025-09-01 19:11:21 +02:00
Marc Stammerjohann 9066459bd0 feat: sheet polishing (#810)
* docs(sheet): add size example and add close button to preview

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

* feat(sheet): use linkedSignal for side state

* feat(sheet): add input comments and use readonly for property
2025-08-26 21:19:15 +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
MerlinMoos ced805c807 fix: make access modifier consistent #755 (#758)
* fix: make access modifier consistent #755

* fix: run format

* fix: resolve build issues

---------

Co-authored-by: Merlin Moos <merlin.moos@oldendorff.com>
2025-07-22 17:43:20 +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
Benjamin Heiss 7569501e82 refactor(dialog,sheet,popover): migrate to signals (#599) 2025-02-18 14:57:15 +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 be4a87dc87 refactor: migrating remaining brain libraries to secondary entrypoints (#523)
* refactor: migrating remaining brain libraries to secondary entrypoints

* refactor: migrating remaining brain libraries to secondary entrypoints
2024-12-10 18:40:46 +01:00