Commit Graph

26 Commits

Author SHA1 Message Date
moosme 263648ade1 feat(command): add style and rtl support #1399 (#1488)
* feat(command): add style and rtl support #1399

* fix: comments

* feat(command): remove custom data-hidden is built in

* remove important from rounded

* docs(command): fix typo

* fix(command): check has search input for separator

* otherwise shows multiple separator while searching in the scrollable example

---------

Co-authored-by: Merlin <merlin.moos@oldendorff.com>
Co-authored-by: Marc Stammerjohann <8985933+marcjulian@users.noreply.github.com>
2026-06-16 18:48:35 +02: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
Marc Stammerjohann e5d5e2a5cc feat: replace *brn*Content w/ *hlm*Portal (#1180)
* feat(dialog): add hlmDialogPortal to expose *brnDialogContent

* feat(alert-dialog): add hlmAlertDialogPortal to expose *brnAlertDialogContent

* feat(popover): add hlmPopoverPortal to expose *brnPopoverContent

* feat(sheet): add hlmSheetPortal to expose *brnSheetContent

* feat(navigation-menu): add hlmNavigationMenuPortal to expose *brnNavigationMenuContent

* chore: add dialog portal healtcheck and migration

* chore: dogfood dialog portal migration

* chore: fix imports

* chore: use importAlias for popover helm import

* chore: remove importAlias in healthcheck

* feat(popover): update hlm-popover-content selector

* feat(sheet): add showCloseButton input and use hlmBtn for close button

* feat(navigation-menu): update HlmNavigationMenuContent selector

* feat(autocomplete): update HlmAutocompleteContent selector and add autocomplete portal

* chore: add no-scrollbar util to tailwind preset used by autocomplete/combobox/command

* feat(combobox): update HlmComboboxContent selector and use combobox portal

* chore: update snapshot

* fix: storybook imports

* fix(sheet): apply data-slot on button directly and fix test

* otherwise hlmBtn slot is used

* fix(popover): storybook template error
2026-02-04 11:38:58 +01:00
Marc Stammerjohann a00ab13773 feat(command): update command input styles (#1163)
* feat(command): update command input styles, refactor input and add dialog component

* feat(command): update story and use hlmCommandEmptyState

* feat(command): rename brn-command-search-input to brn-command-input

* remove log

* feat(command): move form control to brn command
2026-01-30 15:58:22 +01:00
Marc Stammerjohann 4e762331a4 feat: command polishing (#1116)
* feat(command): add brnCommandSeparator and hide when data-empty

* feat(command): use afterNextRender

* feat(command): add command empty state w/ brnCommandEmpty as host directive

* feat(command): use data-hidden for separator

* feat(command): remove command icon

* docs(command): remove BrnCommandImports

* feat(command): update styles

* feat(dialog): add showCloseButton input

* feat(command): update command dialog styles and remove command dialog close button

* use dialog-content which has the close button

* feat(command): sort imports

* chore: format classes function

* feat(command): use linkedSignal for input state
2026-01-07 18:10:52 +01: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
Marc Stammerjohann 67d5efc52d feat: replace components with directives (#1063)
* feat(autocomplete): use directive and use ClassValue type

* feat(carousel): use directives and add data-slot

* docs(carousel): simplify imports

* feat(command): use directive, use ClassValue type and add data-slot

* docs(command): use hlm-dialog, format usage code

* feat(hover-card): use directive and add data-slot

* feat(resizable): use directive and add data-slot

* docs(resizable): format code usage

* feat(radio-group): use directive

* feat(sidebar): use self-closing tag

* feat(tabs): use directives and add data-slot

* docs(tabs): simplify imports

* feat(tooltip): use directive and add data-slot

* feat(hover-card): use directive

* chore: update snapshot for selectors/inputs
2025-12-04 22:17:44 +01:00
moosme a3398cf41c fix: avoid icon color overwrite #1025 (#1033)
Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-11-20 18:09:57 +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
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
Marc Stammerjohann 79ed97dbc4 feat: autocomplete (#853)
* feat(autocomplete): add autocomplete component

* add example for async filter w/ new resource
* add example for form

* feat(autocomplete): update snapshot

* docs(autocomplete): rename page selector

* feat(autocomplete): change model to input, linkedSignal and output

* feat(autocomplete): add primitive dependencies for autocomplete

# Conflicts:
#	libs/cli/src/generators/ui/primitive-deps.ts

* feat(autocomplete): copy hlm to cli

* docs(autocomplete): fix type

Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>

* feat(autocomplete): update inputs

Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>

* feat(autocomplete): adjust to input styles, add arrowDown to trigger options

* focus input on toggle button click

* fix(autocomplete): lint error

* feat(autocomplete): override hlm-command-search-input height

* feat(autocomplete): add loading state option to differentiate empty state

* feat(autocomplete): generate snapshot

* feat(autocomplete): use BrnPopover to trigger open/close

* remove syncing of the popover state

* docs(autocomplete): add api docs for helm

* feat(autocomplete): simplify styles by creating autocomplete specific command components

* feat(autocomplete): remove unused HlmCommand

* feat(autocomplete): add filter input for command, rename previous filter to search

* docs(autocomplete): remove unused form from async example

* feat(autocomplete): remove addition * from comments

* feat(autocomplete): generate snapshot

* feat(autocomplete): update searchChange comment

* feat(autocomplete): add inputs for loading and empty text

* feat(autocomplete): allow search input to be optional

* feat(autocomplete): add background to autocomplete

* feat(autocomplete): override command filter to always true

* feat(command): set command item to active on mouseenter, use host click listener

* feat(autocomplete): allow focus active on enter only when popover is open

* feat(autocomplete): update imports and dialog attachTo

* feat(autocomplete): add @spartan-ng/brain/autocomplete supporting value as T

* feat(autocomplete): update snapshot and remove focusActiveOnEnter from command

* feat(autocomplete):  allow generic for HlmAutocomplete, add objects example with countries

* feat(autocomplete): focus first item when items change

* if ther eis not active item
* if active item is not in items
* if first item is not active item

* feat(autocomplete): use brnAutocomplete in hlm-autocomplete

* feat(autocomplete): cleanup BrnAutocomplete unused config and platform

* feat(autocomplete): move options and filter out, use only filteredOptions

* update examples

* fix(autocomplete): lint issue

* feat(autocomplete): update hlm/brain exports

* feat(autocomplete): use autocomplete list styles to set max height, update id in HlmAutocomplete

* feat(autocomplete): open popover keydown/toggle if there is a search term/options to show

* hide autocomplete list when filtered options are empty
* add aria-label input for the toggle button
* add class input for empty state

---------

Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>
2025-09-09 22:39:32 +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
Marc Stammerjohann da1677256a fix(command): apply display block height is otherwise not applied (#795) 2025-08-05 15:35:45 +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
robingotz ae0513a16e Revert "fix(command): apply display block height is otherwise not applied (#788)"
This reverts commit 0cf4976567.
2025-07-29 14:00:46 +02:00
Marc Stammerjohann 0cf4976567 fix(command): apply display block height is otherwise not applied (#788) 2025-07-29 13:55:04 +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
MerlinMoos 0f72bbaee3 fix(combobox): hide non filter matching options #771 (#776)
* fix(combobox): hide non filter matching options #771

* fix(combobox): display scrollbar again #771

* chore: nightly release 2025-07-18 ⚡

* fix(combobox): format #771

* chore: nightly release 2025-07-19 ⚡

---------

Co-authored-by: Merlin Moos <merlin.moos@oldendorff.com>
Co-authored-by: Leonidas <leonidas@spartan.ng>
2025-07-21 13:58:38 +02:00
Sammy Mohamed 42869fb033 fix: classvalue typing inconsistencies (#774) 2025-07-18 20:36:44 +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