Commit Graph

21 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
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
Marc Stammerjohann 11d5b4390c chore: add types to inputs for the docs api (#1062) 2025-12-04 12:37:22 +01:00
moosme 51a579aa36 feat(repo): nx upgrade (#1002)
* feat(repo): nx upgrade

* fix: sidebar

* fix: node version

* fix: relax dependency versions

* fix: remove naming conventions

* fix: format

* fix: remove chromatic

---------

Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-11-20 10:14:26 +01:00
Merlin c6e6387739 refactor: align eslint rules 2025-09-29 15:59:20 +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
moosme 5def645d0c Id generation (#864)
* chore: nightly release 2025-08-24 ⚡

* chore: nightly release 2025-08-25 ⚡

* chore: nightly release 2025-08-26 ⚡

* chore: nightly release 2025-08-27 ⚡

* chore: nightly release 2025-08-28 ⚡

* feat: start component id by 1 #863

---------

Co-authored-by: Leonidas <leonidas@spartan.ng>
2025-08-31 18:21:00 +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
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
Robin Goetz 3872b50dfd fix(command,select,slider,input): use forward refs when providing injection token (#743) 2025-07-03 09:25:13 +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 aa51edcac0 fix(command): ngModel is recognized, NG0950 error fixed, focus up and… … down fixed (#595)
* fix(command): ngModel is recognized, NG0950 error fixed, focus up and down fixed

* fix(command): add possibility to bind to value and via formcontrol
2025-02-17 11:08:03 +01:00
Benjamin Heiss e0e9f74e5d fix(command): add valueChanged again (#590)
* fix(command): add valueChanged again

* fix(command): change valueChange naming to match angulars convention
2025-02-12 22:23:22 +01:00
Benjamin Heiss 59e9aa232f fix(command): dynamic options are loaded without error (#588) 2025-02-12 22:22:47 +01:00
Robin Goetz deadad1453 fix(command): reset active option to first when search is cleared (#583)
also changed e2e tests to make sure disabled options are covered
2025-02-10 15:24:20 +01:00
Ashley Hunter a932a49e1f feat: command component (#568)
* feat: command component

* build: fix linting

* fix: command

* fix: icons

* fix: accessibility issues

* fix: linting

* docs: remove outdated about section

* fix: review feedback
2025-02-04 12:29:32 +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