Commit Graph

117 Commits

Author SHA1 Message Date
Ashley Hunter 0c3b653902 Merge origin/main into fix/overlay-lifecycle
Resolve brn-dialog.service.ts conflict: drop the deprecated injectBrnDialogCtx
alias (removed on main during the pre-1.0 audit) and keep the typed
injectBrnDialogContext with the unknown default.
2026-06-16 23:22:47 +01:00
mehrabix 94a57f4eee Merge remote-tracking branch 'origin/main' into feat/drawer-component 2026-06-14 18:49:54 +03:30
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
mehrabix 2e3059c8a2 feat(drawer): add drawer component with brain primitive and helm styling 2026-06-13 21:31:07 +03:30
Ashley Hunter 7182249f21 test: expose brain axe helper via @spartan-ng/brain/testing alias
Replace the cross-entry-point relative import (../../../src/testing/axe) in the
checkbox, collapsible and switch specs with a @spartan-ng/brain/testing path
alias, mirroring the @angular/core/testing convention. The helper stays test
only: no ng-package.json, excluded from the lib build and dependency checks, so
it is never published.
2026-06-13 15:33:21 +01:00
goetzrobin 0d8f54767d chore(repo): order @spartan-ng/mcp path mapping alphabetically 2026-06-04 14:06:30 +02:00
SOG-web fc90194a71 refactor(mcp): rename ui-mcp to mcp and apply code quality fixes
Rename the library from @spartan-ng/ui-mcp to @spartan-ng/mcp, move
libs/ui-mcp to libs/mcp, and update all workspace references. Add mcp
as a valid commitlint scope.

- Remove private flag so the package can be published
- Fix npm package extraction to preserve hyphenated names
- Run all analyzers when building accessibility overview score
- Branch blocks cache by format (text vs html) to prevent corruption
- Mark unused version parameters with underscore prefix
- Add explicit member accessibility modifiers to CacheManager fields
- Validate version strings in switchVersion to prevent path traversal
- Remove unused DOCUMENTATION_TOPICS import from docs.ts
- Key docs cache by topic+format to avoid cross-format responses
- Add AbortController timeouts to fetch calls in health.ts and utils.ts
- Remove irrelevant Brain API/Helm API copy from meta.ts instructions
- Replace collision-prone code ID with SHA-256 hash
- Relax preCodeRegex to allow whitespace between pre and code tags
2026-05-21 20:28:56 +01:00
SOG-web 55c3eb3125 feat(mcp): migrate external ui-mcp project as a monorepo library 2026-05-20 09:10:52 +01:00
Sammy Mohamed 3f743e19f7 feat: better form control integration (#1053)
* feat: better form control integration

- general a11y described by service
- hint and error stories
- datepicker value type
- mock resizeObserver causing select failure
- form desciption test failures

* feat: autocomplete and combobox

- re-implemented form integration based on latest implementation

* fix: error state

* fix: formatting

* chore: update snapshot

* fix: format

* fix: update snapshot

* fix: autocomplete stories

* fix: test

* fix: remove not needed effects

* fix: call onTouched when autocomplete focus out

* fix: evaluate only error state in field

* fix: fix slider classes and field integration

* fix: set correct error styles to input group

* feat: add native select field control support

* fix: implement field control

* fix: emit touched when blurred for combobox

* fix: add invalid support for combobox multiple

* fix: fix autcomplete search and input styles

* feat: improve control state data attributes and hlm-error

- render hlm-error if error presetn
- add touched, dirty and matches-spartan-invalid attributes

* feat: apply field control as host directive

* test: fix some control error stories WIP

* fix: lint issues w/ type imports and sort order

* chore: remove form-field package as it is replaced by field

* chore: update snapshot

* fix: fix autocomplete providers array and error story

* fix: fix select, field error and input group

* docs: fix reactive forms examples WIP

* feat: add healthcheck and migration for hlm-form-field to hlm-field

* fix: add value accessor to date-picker multi

* docs: update field for/id

* fix: fix checkbox and rename CVA providers

* fix: add and fix tests

* docs(field): update headings

* feat(autocomplete): add inputId

* feat(combobox): add input/button id

* chore: update snapshot

* docs(date-picker): use hlm field

* docs(field): add native-select example, simplify selectId

* docs: use hlm-field for date-picker blocks

* feat: update form field usage in autocomplete story

* fix(input): unit test and remove unused ngControl

* fix: comment out missing errorState in select

* feat: remove ng-* classes

* feat: remove unused code

* fix: comment out error in unit tests

* feat: set label for attribute automatically

* refactor: rename variable

* docs: add brain input and textarea docs

* fix: apply button styles in storybook

* fix: fix select test and add missing attributes

* feat: add attributes to switch

* fix: fix field e2e tests and lint errors

* chore: fix format

* fix: add optional chain

* feat(select): add controls and aria labels to brn-select-trigger

* fix: update default value for select demo

* docs(select): add form example

* chore: update snapshot

* fix(select): add optional chain for aria-invalid

* feat(select): update e2e test form attributes

* fix(input): form unit test

* fix(select): update unit test template, add HlmFieldControlDescribedBy to select trigger button

* fix(combobox): use new combobox template for unit test

* add hlmFieldControlDescribedBy to combobox trigger button

* chore: remove console log from unit test

* fix(checkbox): use buttonName instead of id

* fix: lint issue w/ import

* test: fix unit tests

* docs: add field date picker preview

* docs: fix blocks and reactive forms

* docs: improve control, field and forms docs

* feat: add provider for error matcher

* chore: rename var

* fix: replace aria-invalid in registry styles

* feat: move state to brn, add to combo tigger

* chore: format

* feat(combobox): apply form attributes on brnComboboxTrigger

* remove need for applyControlState

* chore: update snapshot

* docs: update container width for the responsive select demo

* fix: remove aria invalid and fix chips focus styles

* feat(field): move HlmFieldControlDescribedBy and HlmFieldA11yService into brain package

* chore: update snapshot

* feat(field): update id input handling, update styles

* docs: update form examples to required

* feat: add forceInvalid to brn-field and brn-checkbox

* allow overrides to data-invalid and data-matches-spartan-invalid

* fix: add error if ngControl.control is not defined

---------

Co-authored-by: Merlin <merlin.moos@oldendorff.com>
Co-authored-by: Toni Škobić <toni.skobic@gmail.com>
Co-authored-by: Marc Stammerjohann <8985933+marcjulian@users.noreply.github.com>
2026-03-31 12:41:44 +02:00
Merlin Moos 5e53532621 fix: code review 2026-03-17 17:28:23 +01:00
Merlin 719201154c Merge remote-tracking branch 'origin/main' into polish-button
# Conflicts:
#	apps/app/src/app/pages/(components)/components/(button)/button--icon.example.ts
#	apps/app/src/app/pages/(components)/components/(button)/button--rounded.example.ts
#	apps/app/src/app/pages/(components)/components/(button)/button--size.example.ts
#	apps/app/src/app/pages/(components)/components/(button)/button--spinner.example.ts
#	apps/app/src/app/pages/(components)/components/(button)/button--with-icon.example.ts
#	apps/app/src/app/pages/(components)/components/(button)/button.page.ts
#	apps/app/src/app/pages/(components)/components/(button)/button.preview.ts
#	libs/cli/src/generators/ui/supported-ui-libraries.json
#	package.json
#	pnpm-lock.yaml
2026-03-12 17:50:57 +01:00
Marc Stammerjohann 20caa638ee feat: integrate sonner as brain entry (#1252)
* feat(sonner): add brain sonner entry

* feat(sonner): remove ngx-sonner and use @spartan-ng/brain/sonner

* docs(sonner): add brain api section

* fix(sonner): vanishing of custom icons

* feat(sonner): add toaster spec and update snapshot

* fix(sonner): filter toasts/heights by position in toast to expand toasts grouped by position

* feat(sonner): add sonner toaster config

* feat(sonner): use Directionality for dir, use afterNextRender and DOCUMENT for window access

* remove dir prop

* feat(sonner): update modifiers and type imports

* feat(sonner): update snapshot

* feat(sonner): add sonner healthcheck and migration to migrate ngx-sonner

* fix(sonner): update healthcheck guard

* feat(sonner): copy to helm

* fix(sonner): update comment

* fix(sonner): replace comment

* fix(sonner): update migration test message

* feat(sonner): replace all in migration

* feat(sonner): use injected document, update comments

* feat(sonner): use clsx

* feat(sonner): use computed for classes

* docs(sonner): update about
2026-03-12 11:02:37 +01:00
Merlin Moos dfc9dd45ea feat: add registry 2026-02-22 19:32:08 +01:00
Marc Stammerjohann 0f2fe5e21c feat(native-select): add new primitive (#1214)
* feat(native-select): add native-select

* feat(native-select): add form control to native select

* fix(native-select): lint issues

* feat(native-select): remove conflicting select styles

* feat(native-select): update select icon class size and input, add primtive deps

* feat(native-select): update snapshot

* docs(native-select): update meta

* feat(native-select): split model into input, linkedSignal and output to avoid model change events

* feat(native-select): update access modifier

* feat(native-select): use model for value, but keep valueChange as separate output
2026-02-19 12:38:39 +01:00
Marc Stammerjohann 546aab9be2 feat: add combobox primitive (#1127)
* feat(combobox): add combobox primitive

* feat(combobox): add combobox primitive deps

* docs(combobox): add more combobox examples

* feat(combobox): sort changeDetection

* feat(combobox): lint compliant

* fix(combobox): rename class input

* feat(combobox): add combobox multiple selection w/ chips

* add support for BrnComboboxBase
* add multiple examples
* add button icon-xs size

* feat(combobox): add brn combobox trigger to handle disabled

* fix(combobox): lint issues

* feat(combobox): reset search and close popover on selection in multiple popover

* applies when a search term is available

* fix(combobox): lint issue

* fix(combobox): skip anchor when inside a combobox content

* fix(combobox): use brn popover trigger

* docs(combobox): clean up combobox preview code

* test(combobox): update story and e2e test

* docs(command): show combobox example

* docs(combobox): add new flag

* chore(cli): generate combobox

* feat(combobox): add isItemEqualToValue function

* docs(combobox): add config section w/ filter and object options

* feat(combobox): update snapshot

* docs(combobox): remove duplicate formGroup
2026-01-14 10:25:31 +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 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
Marc Stammerjohann 8c95b38e2e feat: collapsible polishing (#976) 2025-11-11 19:25:18 +01:00
Toni Škobić 1801c9007f feat(navigation-menu): add navigation menu (#951)
* feat(navigation-menu): init brain

* feat(navigation-menu): init helm

* feat(navigation-menu): init inputs for root comp

* feat(navigation-menu): setup contexts and scaffolds comps WIP

* feat(cli): init trigger component

* feat(navigation-menu): init content comp and fix selectors

* feat(navigation-menu): create link comp and improve others

* feat(navigation-menu): create hlm directives WIP and export from index.ts

* feat(navigation-menu): start working on rendering content

* refactor(hover-card): move createHoverObservable to core

* feat(navigation-menu): init content service and rendering content WIP

* fix(hover-card): fix overlay position strategy position expression

* feat(navigation-menu): render content using angular cdk overlay WIP

* feat(navigation-menu): set delay duration on open

* feat(navigation-menu): show/hide content in all cases

* docs(navigation-menu): improve docs WIP

* feat(navigation-menu): move content related type to service class

* feat(navigation-menu): implement skip animation logic

* fix(navigation-menu): fix navigation mouse out behaviour

* docs(navigation-menu): add brain and helm api

* feat(navigation-menu): detach content on animation end

* refactor(navigation-menu): refactor setting data-motion logic

* docs(navigation-menu): add trigger chevron icon

* feat(navigation-menu): adjust content position

* docs(navigation-menu): add new badge

* feat(navigation-menu): support nested nav menu

* feat(navigation-menu): add missing orientation data attr

* feat(navigation-menu): add full support for dir and orientation

* fix(navigation-menu): apply dir to content overlay

* feat(navigation-menu): add support for tab and escape

* feat(navigation-menu): add hlm nav link

* feat(navigation-menu): close content on disabled item hover

* fix(navigation-menu): fix hover bug and rename variable

* fix(navigation-menu): add distinct hover

* fix(navigation-menu): fix animations and sub nav handling

* fix(navigation-menu): make button focusable in Safari, remove focused Observable

* feat(navigation-menu): implement keyboard focus

* feat(navigation-menu): comply with ARIA

* style: fix CSS popover and accent vars

* feat(navigation-menu): minor animation and render adjustments

* docs: write navigation menu docs WIP

* docs: remove redundant text

* docs: add navigation menu to storybook

* docs: modify nav menu example description

* docs: fix meta and title

* docs: remove accidentally added side nav content

* style: format

* fix(navigation-menu): fix token desc

* fix(tooltip): move computedPrevious to core

* fix(navigation-menu): expose isOpenDelayed as readonly

* fix(navigation-menu): rename hlmLink to hlmNavLink

* docs: update ui docs snapshot

* refactor: address lint issues

* chore: run format

* docs(navigation-menu): fix vertical menu width

* docs(navigation-menu): fix nested menu width

* fix(navigation-menu): resolve PR comments

* fix(navigation-menu): fix list styles

* fix(navigation-menu): add missing data-slot

* fix(navigation-menu): fix examples wrong href to docs

* feat(navigation-menu): add active input to link el
2025-10-28 21:09:38 +01:00
Phuong Tran Dong f171bfe3d9 feat(field): add new field component (#956)
* feat(field): add field components

* feat(field): update nav bar

* feat(field): update responsive example code

* feat(field): update field page and example

* feat(field): fix format

* feat(field): fix review comments

* feat(field): fix format

* feat(field): add storybook and e2e test

* feat(field): fix format

* feat(field): update navigation link

* feat(field): add template cli

* feat(field): update bottom nav

* feat(field): fix review comments
2025-10-28 11:45:36 +01:00
moosme 7bd9eb62b1 feat(resizable): add resziable (#871)
* feat(resizable): add resizable #120

* feat(resizable): add docs

* feat(resizable): remove deps

* feat(resizable): add generator

* fix(tabs): performance

* fix: flickering

* fix: lint

* fix: add descr

* fix: run format and add descr

* fix: remove module

---------

Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-10-24 13:27:05 +02:00
Merlin f28b52adc6 feat(item): add item
# Conflicts:
#	apps/app/src/app/shared/layout/side-nav/side-nav-content.ts
#	libs/tools/src/generators/helm-secondary-entrypoint/generator.ts
2025-10-22 15:40:02 +02:00
Merlin 13d3e044a1 Merge remote-tracking branch 'origin/main' into polish-input-group
# Conflicts:
#	libs/helm/input/src/lib/hlm-input.ts
2025-10-16 10:54:21 +02:00
Phuong Tran Dong 3e8b235069 feat(empty): add empty component (#925)
* feat(empty): add empty component

* feat(empty): fix page navigation

* feat(empty): fix unit test

* feat(empty): fix review comments

* feat(empty): fix lint
2025-10-15 09:52:16 +02:00
Marc Stammerjohann a79103e06a feat: textarea directive (#934)
* chore: remove module from helm generator

* feat(textarea): add textarea directive

* feat(textarea): adjust error styles

* feat(input): adjust error styles

* feat(textarea): update snapshot

* fix(input): unit test for error styles

* docs(textarea): add new flag
2025-10-15 09:51:00 +02:00
Phuong Tran Dong 1dc22594d2 feat(button-group): add new button-group component (#917)
* feat(button-group): add new button-group component

* feat(button-group): fix lint

* feat(button-group): fix format and snapshot

* feat(button-group): fix e2e test

* feat(button-group): fix review comments

* feat(button-group): fix example imports

* feat(button-group): fix review comments and apply suggestion

* feat(button-group): update template

* feat(button-group): remove role from separator

* feat(button-group): fix snapshot

* feat(button-group): remove unnessesary margin for button group separator
2025-10-13 17:05:48 +02:00
Merlin Moos 9637ade315 feat(input-group): rework input-group 2025-10-10 22:16:16 +02:00
Merlin Moos 6ac2ac661b feat(kbd): add kbd 2025-10-06 23:36:48 +02:00
Merlin Moos 55e4fc9c87 Merge remote-tracking branch 'origin/main' into input-group 2025-09-30 22:17:23 +02:00
Merlin 40698f5dbd feat(input-group): add input group #598 2025-09-24 16:02:44 +02:00
Merlin 10ee70ab86 Merge remote-tracking branch 'origin/main' into sidebar 2025-09-15 21:58:10 +02: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
Merlin Moos c21f9a4fca feat: merge main 2025-09-02 09:15:20 +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
moosme 8e0d084d36 feat(button): add anchor button #797 (#798)
* feat(button): add anchor button #797

* feat(button): change class to attr #797

---------

Co-authored-by: Merlin Moos <merlin.moos@oldendorff.com>
2025-08-24 22:29:15 +02:00
Merlin Moos c87ba101a8 feat(sidebar): initial sidebar #497 2025-08-23 10:08:32 +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 e94ed94c3a fix: helm migrator 2025-05-29 21:00:29 +01:00
Ashley Hunter b778eb72f0 feat: migrations 2025-05-29 21:00:29 +01:00
Ashley Hunter 0eeeb17b1a refactor: helm secondary entrypoints 2025-05-29 20:59:16 +01:00
Marc Stammerjohann ef8aaa9bf0 feat: add input-otp (#639) 2025-04-10 20:14:53 +02:00
Jakub Sapała 23b13891e7 feat: toggle-group component (#634)
* feat(toggle-group): first draft with existing brn toggle group functionalities

* chore(toggle-group): add toggle-group to scope & template

* chore: move toggle-group functionality to new brn & hlm

* fix: fix error at format and lint

* fix: fix remaining eslint error

* fix: update spartan-ng/brain version for toggle-group

* fix: resolve format issue in the toggle-group

* fix(toggle-group): resolve e2e errors

* feat(toggle-group): add healthcheck migrate toggle-group

* feat(toggle-group): add argTypes in toggle-group storybook & fix format issues

* chore: delete unnecessary comments

* chore: nightly release 2025-04-02 ⚡

* chore: nightly release 2025-04-03 ⚡

* chore: nightly release 2025-04-04 ⚡

* chore: update toggle-group dependencies

---------

Co-authored-by: Leonidas <leonidas@spartan.ng>
2025-04-08 08:53:47 +02:00
Marc Stammerjohann 9512b117f0 feat: date-picker (#570)
* feat(date-picker): add hlm-date-picker component

* feat(date-picker): support ng form with value accessor, format date with a input function

* add date picker story
* add form/format examples

* feat(date-picker): update dateFormat function type and default formatting

* style ng-icon instead of svg

* feat(date-picker): update peerDeps

* feat(date-picker): remove todo

* feat(date-picker): define formatDate as global config

* feat(date-picker): change defaultConfig to function and use generic

* feat(date-picker): rename token file

* feat(date-picker): handle null in writeValue from FormControl

* feat(date-picker): add transformDate function to config and as input

* docs(date-picker): add transformDate config to date-picker page

* feat(date-picker): remove extra border from calendar in date-picker

* add calendarClass input to calendar component

* feat(date-picker): add date-picker component to ui generator

* docs(date-picker): change cli installation name

* fix(date-picker): lint issues

* docs(date-picker): link to used components
2025-02-12 22:24:07 +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
Ashley Hunter c0dc56b79e build: migrate avatar, accordion and label to secondary entrypoints (#514)
* build: migrate avatar, accordion and label to secondary entrypoints

* build: fix storybook build

* build: adding prettier json plugin

* build: remove merge conflicts

* build: correcting prettier plugin order

* build: correcting prettier plugin order
2024-12-09 22:22:48 +01:00
Ashley Hunter df8a0b28be feat: secondary entrypoint setup (#496)
* build: creating secondary entrypoint

* build: adding migration generators

* build: skipping install when running internally

* fix: project name bug

* fix: file movement

* fix: import renaming

* fix: migration generator

* build: adding peer dependency migration

* fix: migration

* fix: migration

* feat: migrating checkbox

* fix: version range

* fix: moving import map to ts file

* fix: correcting documentation

* fix: esm

* fix: esm

* fix: linting

* fix: linting

* fix: linting

* fix: linting

* fix: build
2024-12-05 14:18:48 +01:00
Phuong Tran Dong e5675a429b feat(breadcrumb): add breadcrumb component (#499) 2024-11-26 14:38:05 +01:00