@spartan-ng/cli 1.10.0-beta.4 → 1.10.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generators/ui/libs/date-picker/files/lib/hlm-date-multi-input.ts.template +15 -4
- package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-input.ts.template +15 -4
- package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-trigger.ts.template +3 -5
- package/src/generators/ui/libs/date-picker/files/lib/hlm-date-range-input.ts.template +15 -4
- package/src/generators/ui/libs/date-picker/files/lib/hlm-month-year-input.ts.template +15 -4
- package/src/generators/ui/libs/input/files/lib/hlm-input.ts.template +4 -1
- package/src/generators/ui/libs/native-select/files/lib/hlm-native-select.ts.template +2 -2
- package/src/generators/ui/libs/radio-group/files/lib/hlm-radio-group.ts.template +4 -5
- package/src/generators/ui/libs/radio-group/files/lib/hlm-radio.ts.template +3 -3
- package/src/generators/ui/libs/sidebar/files/lib/hlm-sidebar.service.ts.template +47 -1
- package/src/generators/ui/libs/textarea/files/lib/hlm-textarea.ts.template +4 -1
- package/src/generators/ui/supported-ui-libraries.json +46 -46
package/package.json
CHANGED
|
@@ -17,6 +17,13 @@ import { injectHlmDatePickerMultiConfig } from './hlm-date-picker-multi.token';
|
|
|
17
17
|
providers: [provideIcons({ lucideCalendar, lucideX }), provideBrnDatePickerTrigger(HlmDateMultiInput)],
|
|
18
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
19
|
hostDirectives: [HlmInputGroup],
|
|
20
|
+
host: {
|
|
21
|
+
// ARIA attributes belong on the inner <input>, the host has no role.
|
|
22
|
+
'[attr.aria-label]': 'null',
|
|
23
|
+
'[attr.aria-labelledby]': 'null',
|
|
24
|
+
'[attr.aria-describedby]': 'null',
|
|
25
|
+
'[attr.aria-invalid]': 'null',
|
|
26
|
+
},
|
|
20
27
|
template: `
|
|
21
28
|
<input
|
|
22
29
|
#input
|
|
@@ -26,8 +33,11 @@ import { injectHlmDatePickerMultiConfig } from './hlm-date-picker-multi.token';
|
|
|
26
33
|
[placeholder]="placeholder()"
|
|
27
34
|
[disabled]="_disabled()"
|
|
28
35
|
[forceInvalid]="forceInvalid()"
|
|
29
|
-
[attr.aria-
|
|
30
|
-
[attr.
|
|
36
|
+
[attr.aria-label]="ariaLabel()"
|
|
37
|
+
[attr.aria-labelledby]="ariaLabelledby()"
|
|
38
|
+
[aria-describedby]="ariaDescribedby()"
|
|
39
|
+
[aria-invalid]="_ariaInvalid()"
|
|
40
|
+
[attr.data-invalid]="_invalid?.() ? 'true' : null"
|
|
31
41
|
[attr.data-touched]="_touched?.() ? 'true' : null"
|
|
32
42
|
[attr.data-dirty]="_dirty?.() ? 'true' : null"
|
|
33
43
|
[attr.data-matches-spartan-invalid]="_spartanInvalid() ? 'true' : null"
|
|
@@ -67,12 +77,13 @@ export class HlmDateMultiInput<T> extends BrnDateInput<T[]> implements BrnDatePi
|
|
|
67
77
|
private readonly _config = injectHlmDatePickerMultiConfig<T>();
|
|
68
78
|
private readonly _fieldControl = inject(BrnFieldControl, { optional: true });
|
|
69
79
|
|
|
70
|
-
|
|
80
|
+
protected readonly _invalid = this._fieldControl?.invalid;
|
|
71
81
|
protected readonly _spartanInvalid = computed(() => this.forceInvalid() || this._fieldControl?.spartanInvalid());
|
|
72
82
|
protected readonly _dirty = this._fieldControl?.dirty;
|
|
73
83
|
protected readonly _touched = this._fieldControl?.touched;
|
|
74
84
|
|
|
75
|
-
|
|
85
|
+
/** Passed to the inner input's aria-invalid input: the consumer override, else the matcher result. */
|
|
86
|
+
protected readonly _ariaInvalid = computed(() => this.ariaInvalidInput() ?? !!this._spartanInvalid());
|
|
76
87
|
/**
|
|
77
88
|
* Parses input text into dates. Return `null` for invalid input - the
|
|
78
89
|
* picker's dates are cleared while the text is preserved so the user can
|
|
@@ -17,6 +17,13 @@ import { injectHlmDatePickerConfig } from './hlm-date-picker.token';
|
|
|
17
17
|
providers: [provideIcons({ lucideCalendar, lucideX }), provideBrnDatePickerTrigger(HlmDatePickerInput)],
|
|
18
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
19
|
hostDirectives: [HlmInputGroup],
|
|
20
|
+
host: {
|
|
21
|
+
// ARIA attributes belong on the inner <input>, the host has no role.
|
|
22
|
+
'[attr.aria-label]': 'null',
|
|
23
|
+
'[attr.aria-labelledby]': 'null',
|
|
24
|
+
'[attr.aria-describedby]': 'null',
|
|
25
|
+
'[attr.aria-invalid]': 'null',
|
|
26
|
+
},
|
|
20
27
|
template: `
|
|
21
28
|
<input
|
|
22
29
|
#input
|
|
@@ -26,8 +33,11 @@ import { injectHlmDatePickerConfig } from './hlm-date-picker.token';
|
|
|
26
33
|
[placeholder]="placeholder()"
|
|
27
34
|
[disabled]="_disabled()"
|
|
28
35
|
[forceInvalid]="forceInvalid()"
|
|
29
|
-
[attr.aria-
|
|
30
|
-
[attr.
|
|
36
|
+
[attr.aria-label]="ariaLabel()"
|
|
37
|
+
[attr.aria-labelledby]="ariaLabelledby()"
|
|
38
|
+
[aria-describedby]="ariaDescribedby()"
|
|
39
|
+
[aria-invalid]="_ariaInvalid()"
|
|
40
|
+
[attr.data-invalid]="_invalid?.() ? 'true' : null"
|
|
31
41
|
[attr.data-touched]="_touched?.() ? 'true' : null"
|
|
32
42
|
[attr.data-dirty]="_dirty?.() ? 'true' : null"
|
|
33
43
|
[attr.data-matches-spartan-invalid]="_spartanInvalid() ? 'true' : null"
|
|
@@ -67,12 +77,13 @@ export class HlmDatePickerInput<T> extends BrnDateInput<T> implements BrnDatePic
|
|
|
67
77
|
private readonly _config = injectHlmDatePickerConfig<T>();
|
|
68
78
|
private readonly _fieldControl = inject(BrnFieldControl, { optional: true });
|
|
69
79
|
|
|
70
|
-
|
|
80
|
+
protected readonly _invalid = this._fieldControl?.invalid;
|
|
71
81
|
protected readonly _spartanInvalid = computed(() => this.forceInvalid() || this._fieldControl?.spartanInvalid());
|
|
72
82
|
protected readonly _dirty = this._fieldControl?.dirty;
|
|
73
83
|
protected readonly _touched = this._fieldControl?.touched;
|
|
74
84
|
|
|
75
|
-
|
|
85
|
+
/** Passed to the inner input's aria-invalid input: the consumer override, else the matcher result. */
|
|
86
|
+
protected readonly _ariaInvalid = computed(() => this.ariaInvalidInput() ?? !!this._spartanInvalid());
|
|
76
87
|
|
|
77
88
|
/**
|
|
78
89
|
* Parses input text into a date value. Return `null` for invalid
|
|
@@ -26,8 +26,8 @@ import { ClassValue } from 'cn';
|
|
|
26
26
|
type="button"
|
|
27
27
|
[class]="_computedClass()"
|
|
28
28
|
[disabled]="_disabled()"
|
|
29
|
-
[attr.aria-invalid]="
|
|
30
|
-
[attr.data-invalid]="
|
|
29
|
+
[attr.aria-invalid]="_spartanInvalid() ? 'true' : null"
|
|
30
|
+
[attr.data-invalid]="_invalid?.() ? 'true' : null"
|
|
31
31
|
[attr.data-touched]="_touched?.() ? 'true' : null"
|
|
32
32
|
[attr.data-dirty]="_dirty?.() ? 'true' : null"
|
|
33
33
|
[attr.data-matches-spartan-invalid]="_spartanInvalid() ? 'true' : null"
|
|
@@ -58,13 +58,11 @@ export class HlmDatePickerTrigger implements BrnDatePickerTriggerBase {
|
|
|
58
58
|
private readonly _fieldControl = inject(BrnFieldControl, { optional: true });
|
|
59
59
|
private readonly _datePicker = injectBrnDatePicker();
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
protected readonly _invalid = this._fieldControl?.invalid;
|
|
62
62
|
protected readonly _spartanInvalid = computed(() => this.forceInvalid() || this._fieldControl?.spartanInvalid());
|
|
63
63
|
protected readonly _dirty = this._fieldControl?.dirty;
|
|
64
64
|
protected readonly _touched = this._fieldControl?.touched;
|
|
65
65
|
|
|
66
|
-
protected readonly _ariaInvalid = computed(() => (this._invalid?.() ? 'true' : null));
|
|
67
|
-
|
|
68
66
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
69
67
|
protected readonly _computedClass = computed(() =>
|
|
70
68
|
hlm('spartan-date-picker-trigger justify-between', this.userClass()),
|
|
@@ -17,6 +17,13 @@ import { injectHlmDateRangePickerConfig } from './hlm-date-range-picker.token';
|
|
|
17
17
|
providers: [provideIcons({ lucideCalendar, lucideX }), provideBrnDatePickerTrigger(HlmDateRangeInput)],
|
|
18
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
19
|
hostDirectives: [HlmInputGroup],
|
|
20
|
+
host: {
|
|
21
|
+
// ARIA attributes belong on the inner <input>, the host has no role.
|
|
22
|
+
'[attr.aria-label]': 'null',
|
|
23
|
+
'[attr.aria-labelledby]': 'null',
|
|
24
|
+
'[attr.aria-describedby]': 'null',
|
|
25
|
+
'[attr.aria-invalid]': 'null',
|
|
26
|
+
},
|
|
20
27
|
template: `
|
|
21
28
|
<input
|
|
22
29
|
#input
|
|
@@ -26,8 +33,11 @@ import { injectHlmDateRangePickerConfig } from './hlm-date-range-picker.token';
|
|
|
26
33
|
[placeholder]="placeholder()"
|
|
27
34
|
[disabled]="_disabled()"
|
|
28
35
|
[forceInvalid]="forceInvalid()"
|
|
29
|
-
[attr.aria-
|
|
30
|
-
[attr.
|
|
36
|
+
[attr.aria-label]="ariaLabel()"
|
|
37
|
+
[attr.aria-labelledby]="ariaLabelledby()"
|
|
38
|
+
[aria-describedby]="ariaDescribedby()"
|
|
39
|
+
[aria-invalid]="_ariaInvalid()"
|
|
40
|
+
[attr.data-invalid]="_invalid?.() ? 'true' : null"
|
|
31
41
|
[attr.data-touched]="_touched?.() ? 'true' : null"
|
|
32
42
|
[attr.data-dirty]="_dirty?.() ? 'true' : null"
|
|
33
43
|
[attr.data-matches-spartan-invalid]="_spartanInvalid() ? 'true' : null"
|
|
@@ -67,12 +77,13 @@ export class HlmDateRangeInput<T> extends BrnDateInput<[T, T]> implements BrnDat
|
|
|
67
77
|
private readonly _config = injectHlmDateRangePickerConfig<T>();
|
|
68
78
|
private readonly _fieldControl = inject(BrnFieldControl, { optional: true });
|
|
69
79
|
|
|
70
|
-
|
|
80
|
+
protected readonly _invalid = this._fieldControl?.invalid;
|
|
71
81
|
protected readonly _spartanInvalid = computed(() => this.forceInvalid() || this._fieldControl?.spartanInvalid());
|
|
72
82
|
protected readonly _dirty = this._fieldControl?.dirty;
|
|
73
83
|
protected readonly _touched = this._fieldControl?.touched;
|
|
74
84
|
|
|
75
|
-
|
|
85
|
+
/** Passed to the inner input's aria-invalid input: the consumer override, else the matcher result. */
|
|
86
|
+
protected readonly _ariaInvalid = computed(() => this.ariaInvalidInput() ?? !!this._spartanInvalid());
|
|
76
87
|
|
|
77
88
|
/**
|
|
78
89
|
* Parses input text into a date range. Return `null` for invalid
|
|
@@ -17,6 +17,13 @@ import { injectHlmMonthYearPickerConfig } from './hlm-month-year-picker.token';
|
|
|
17
17
|
providers: [provideIcons({ lucideCalendar, lucideX }), provideBrnDatePickerTrigger(HlmMonthYearInput)],
|
|
18
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
19
|
hostDirectives: [HlmInputGroup],
|
|
20
|
+
host: {
|
|
21
|
+
// ARIA attributes belong on the inner <input>, the host has no role.
|
|
22
|
+
'[attr.aria-label]': 'null',
|
|
23
|
+
'[attr.aria-labelledby]': 'null',
|
|
24
|
+
'[attr.aria-describedby]': 'null',
|
|
25
|
+
'[attr.aria-invalid]': 'null',
|
|
26
|
+
},
|
|
20
27
|
template: `
|
|
21
28
|
<input
|
|
22
29
|
#input
|
|
@@ -26,8 +33,11 @@ import { injectHlmMonthYearPickerConfig } from './hlm-month-year-picker.token';
|
|
|
26
33
|
[placeholder]="placeholder()"
|
|
27
34
|
[disabled]="_disabled()"
|
|
28
35
|
[forceInvalid]="forceInvalid()"
|
|
29
|
-
[attr.aria-
|
|
30
|
-
[attr.
|
|
36
|
+
[attr.aria-label]="ariaLabel()"
|
|
37
|
+
[attr.aria-labelledby]="ariaLabelledby()"
|
|
38
|
+
[aria-describedby]="ariaDescribedby()"
|
|
39
|
+
[aria-invalid]="_ariaInvalid()"
|
|
40
|
+
[attr.data-invalid]="_invalid?.() ? 'true' : null"
|
|
31
41
|
[attr.data-touched]="_touched?.() ? 'true' : null"
|
|
32
42
|
[attr.data-dirty]="_dirty?.() ? 'true' : null"
|
|
33
43
|
[attr.data-matches-spartan-invalid]="_spartanInvalid() ? 'true' : null"
|
|
@@ -67,12 +77,13 @@ export class HlmMonthYearInput<T> extends BrnDateInput<T> implements BrnDatePick
|
|
|
67
77
|
private readonly _config = injectHlmMonthYearPickerConfig<T>();
|
|
68
78
|
private readonly _fieldControl = inject(BrnFieldControl, { optional: true });
|
|
69
79
|
|
|
70
|
-
|
|
80
|
+
protected readonly _invalid = this._fieldControl?.invalid;
|
|
71
81
|
protected readonly _spartanInvalid = computed(() => this.forceInvalid() || this._fieldControl?.spartanInvalid());
|
|
72
82
|
protected readonly _dirty = this._fieldControl?.dirty;
|
|
73
83
|
protected readonly _touched = this._fieldControl?.touched;
|
|
74
84
|
|
|
75
|
-
|
|
85
|
+
/** Passed to the inner input's aria-invalid input: the consumer override, else the matcher result. */
|
|
86
|
+
protected readonly _ariaInvalid = computed(() => this.ariaInvalidInput() ?? !!this._spartanInvalid());
|
|
76
87
|
|
|
77
88
|
/**
|
|
78
89
|
* Parses input text into a date value. Return `null` for invalid
|
|
@@ -6,7 +6,10 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmInput]',
|
|
8
8
|
exportAs: 'hlmInput',
|
|
9
|
-
hostDirectives: [
|
|
9
|
+
hostDirectives: [
|
|
10
|
+
{ directive: BrnInput, inputs: ['id', 'forceInvalid', 'aria-invalid'] },
|
|
11
|
+
{ directive: BrnFieldControlDescribedBy, inputs: ['aria-describedby'] },
|
|
12
|
+
],
|
|
10
13
|
host: { 'data-slot': 'input' },
|
|
11
14
|
})
|
|
12
15
|
export class HlmInput {
|
|
@@ -46,7 +46,7 @@ export const HLM_NATIVE_SELECT_VALUE_ACCESSOR = {
|
|
|
46
46
|
[class]="_computedSelectClass()"
|
|
47
47
|
[attr.data-size]="size()"
|
|
48
48
|
[attr.aria-invalid]="_ariaInvalid() ? 'true' : null"
|
|
49
|
-
[attr.data-invalid]="
|
|
49
|
+
[attr.data-invalid]="_invalid?.() ? 'true' : null"
|
|
50
50
|
[attr.data-dirty]="_dirty?.() ? 'true' : null"
|
|
51
51
|
[attr.data-touched]="_touched?.() ? 'true' : null"
|
|
52
52
|
[attr.data-matches-spartan-invalid]="_spartanInvalid() ? 'true' : null"
|
|
@@ -103,7 +103,7 @@ export class HlmNativeSelect implements ControlValueAccessor {
|
|
|
103
103
|
alias: 'aria-invalid',
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
protected readonly _ariaInvalid = computed(() => this.ariaInvalidInput() ?? this.
|
|
106
|
+
protected readonly _ariaInvalid = computed(() => this.ariaInvalidInput() ?? !!this._spartanInvalid());
|
|
107
107
|
|
|
108
108
|
public readonly valueInput = input<string | undefined | null>('', { alias: 'value' });
|
|
109
109
|
public readonly value = linkedSignal(this.valueInput);
|
|
@@ -10,15 +10,14 @@ import type { ClassValue } from 'cn';
|
|
|
10
10
|
hostDirectives: [
|
|
11
11
|
{
|
|
12
12
|
directive: BrnRadioGroup,
|
|
13
|
-
inputs: ['name', 'value', 'disabled', 'required'],
|
|
13
|
+
inputs: ['name', 'value', 'disabled', 'required', 'aria-invalid'],
|
|
14
14
|
outputs: ['valueChange'],
|
|
15
15
|
},
|
|
16
|
-
BrnFieldControlDescribedBy,
|
|
16
|
+
{ directive: BrnFieldControlDescribedBy, inputs: ['aria-describedby'] },
|
|
17
17
|
],
|
|
18
18
|
host: {
|
|
19
19
|
'data-slot': 'radio-group',
|
|
20
|
-
'[attr.
|
|
21
|
-
'[attr.data-invalid]': '_ariaInvalid() ? "true" : null',
|
|
20
|
+
'[attr.data-invalid]': '_invalid() ? "true" : null',
|
|
22
21
|
'[attr.data-dirty]': '_dirty() ? "true" : null',
|
|
23
22
|
'[attr.data-touched]': '_touched() ? "true" : null',
|
|
24
23
|
},
|
|
@@ -26,7 +25,7 @@ import type { ClassValue } from 'cn';
|
|
|
26
25
|
export class HlmRadioGroup {
|
|
27
26
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
28
27
|
private readonly _brnRadioGroup = inject(BrnRadioGroup);
|
|
29
|
-
protected readonly
|
|
28
|
+
protected readonly _invalid = computed(() => this._brnRadioGroup.controlState?.()?.invalid);
|
|
30
29
|
|
|
31
30
|
protected readonly _touched = computed(() => this._brnRadioGroup.controlState?.()?.touched);
|
|
32
31
|
protected readonly _dirty = computed(() => this._brnRadioGroup.controlState?.()?.dirty);
|
|
@@ -37,8 +37,8 @@ import type { ClassValue } from 'cn';
|
|
|
37
37
|
[value]="value()"
|
|
38
38
|
[required]="required()"
|
|
39
39
|
[disabled]="disabled()"
|
|
40
|
-
[attr.aria-invalid]="
|
|
41
|
-
[attr.data-invalid]="
|
|
40
|
+
[attr.aria-invalid]="_groupSpartanInvalid() ? 'true' : null"
|
|
41
|
+
[attr.data-invalid]="_invalid() ? 'true' : null"
|
|
42
42
|
[attr.data-dirty]="_dirty() ? 'true' : null"
|
|
43
43
|
[attr.data-touched]="_touched() ? 'true' : null"
|
|
44
44
|
[attr.data-matches-spartan-invalid]="_groupSpartanInvalid() ? 'true' : null"
|
|
@@ -59,7 +59,7 @@ export class HlmRadio<T = unknown> {
|
|
|
59
59
|
private readonly _isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
|
|
60
60
|
private readonly _radioGroup = inject(BrnRadioGroup, { optional: true });
|
|
61
61
|
|
|
62
|
-
protected readonly
|
|
62
|
+
protected readonly _invalid = computed(() => this._radioGroup?.controlState?.()?.invalid);
|
|
63
63
|
|
|
64
64
|
protected readonly _touched = computed(() => this._radioGroup?.controlState?.()?.touched);
|
|
65
65
|
protected readonly _dirty = computed(() => this._radioGroup?.controlState?.()?.dirty);
|
|
@@ -56,7 +56,11 @@ export class HlmSidebarService {
|
|
|
56
56
|
|
|
57
57
|
// Add keyboard shortcut listener
|
|
58
58
|
const keydownHandler = (event: KeyboardEvent) => {
|
|
59
|
-
if (
|
|
59
|
+
if (
|
|
60
|
+
event.key === this._config.sidebarKeyboardShortcut &&
|
|
61
|
+
(event.ctrlKey || event.metaKey) &&
|
|
62
|
+
!isEditableTarget(originalTarget(event))
|
|
63
|
+
) {
|
|
60
64
|
event.preventDefault();
|
|
61
65
|
this.toggleSidebar();
|
|
62
66
|
}
|
|
@@ -129,3 +133,45 @@ export class HlmSidebarService {
|
|
|
129
133
|
}
|
|
130
134
|
}
|
|
131
135
|
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Text fields and rich text editors own their keyboard shortcuts (e.g. bold, or moving the caret
|
|
139
|
+
* with Ctrl+B on macOS), so the sidebar shortcut must not toggle the sidebar or prevent them there.
|
|
140
|
+
*/
|
|
141
|
+
/** The element the event started on, also when it comes from inside an open shadow root. */
|
|
142
|
+
function originalTarget(event: Event): EventTarget | null {
|
|
143
|
+
return event.composedPath?.()[0] ?? event.target;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** Input types that do not take text, so they have no use for Ctrl/Cmd+B. */
|
|
147
|
+
const NON_TEXT_INPUT_TYPES = new Set([
|
|
148
|
+
'button',
|
|
149
|
+
'checkbox',
|
|
150
|
+
'color',
|
|
151
|
+
'file',
|
|
152
|
+
'hidden',
|
|
153
|
+
'image',
|
|
154
|
+
'radio',
|
|
155
|
+
'range',
|
|
156
|
+
'reset',
|
|
157
|
+
'submit',
|
|
158
|
+
]);
|
|
159
|
+
|
|
160
|
+
/** The element itself, or its nearest HTML ancestor for e.g. an svg, which has no `isContentEditable`. */
|
|
161
|
+
function nearestHtmlElement(target: EventTarget | null): HTMLElement | null {
|
|
162
|
+
let element = target as Element | null;
|
|
163
|
+
while (element && typeof (element as HTMLElement).isContentEditable !== 'boolean') {
|
|
164
|
+
element = element.parentElement;
|
|
165
|
+
}
|
|
166
|
+
return element as HTMLElement | null;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function isEditableTarget(target: EventTarget | null): boolean {
|
|
170
|
+
const element = nearestHtmlElement(target);
|
|
171
|
+
if (!element) return false;
|
|
172
|
+
// inputs first: a checkbox inside an editor reports isContentEditable, but takes no text
|
|
173
|
+
if (element.tagName === 'INPUT') return !NON_TEXT_INPUT_TYPES.has((element as HTMLInputElement).type);
|
|
174
|
+
// isContentEditable also respects a contenteditable="false" boundary inside an editor
|
|
175
|
+
if (element.isContentEditable) return true;
|
|
176
|
+
return element.tagName === 'TEXTAREA' || element.tagName === 'SELECT';
|
|
177
|
+
}
|
|
@@ -6,7 +6,10 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmTextarea]',
|
|
8
8
|
exportAs: 'hlmTextarea',
|
|
9
|
-
hostDirectives: [
|
|
9
|
+
hostDirectives: [
|
|
10
|
+
{ directive: BrnTextarea, inputs: ['id', 'forceInvalid', 'aria-invalid'] },
|
|
11
|
+
{ directive: BrnFieldControlDescribedBy, inputs: ['aria-describedby'] },
|
|
12
|
+
],
|
|
10
13
|
host: { 'data-slot': 'textarea' },
|
|
11
14
|
})
|
|
12
15
|
export class HlmTextarea {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "accordion",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
6
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
6
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
7
7
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
8
8
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
9
9
|
"cn": "^0.5.2"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"name": "alert-dialog",
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
23
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
23
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
24
24
|
"cn": "^0.5.2"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"name": "autocomplete",
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
45
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
45
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
46
46
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
47
47
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
48
48
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"name": "avatar",
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
56
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
56
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"badge": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"name": "button",
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
86
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
86
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
87
87
|
"class-variance-authority": "^0.7.0",
|
|
88
88
|
"cn": "^0.5.2"
|
|
89
89
|
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"name": "button-group",
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
95
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
95
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
96
96
|
"class-variance-authority": "^0.7.0"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
104
104
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
105
105
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
106
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
106
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
"card": {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
141
141
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
142
142
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
143
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
143
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
144
144
|
"cn": "^0.5.2"
|
|
145
145
|
}
|
|
146
146
|
},
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"name": "collapsible",
|
|
159
159
|
"peerDependencies": {
|
|
160
160
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
161
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
161
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
164
|
"combobox": {
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"peerDependencies": {
|
|
167
167
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
168
168
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
169
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
169
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
170
170
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
171
171
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
172
172
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"peerDependencies": {
|
|
179
179
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
180
180
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
181
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
181
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
182
182
|
"cn": "^0.5.2",
|
|
183
183
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
184
184
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"name": "context-menu",
|
|
189
189
|
"peerDependencies": {
|
|
190
190
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
191
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
191
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
192
192
|
"@angular/cdk": ">=21.0.0 <23.0.0"
|
|
193
193
|
}
|
|
194
194
|
},
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
200
200
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
201
201
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
202
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
202
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
203
203
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
204
204
|
"cn": "^0.5.2"
|
|
205
205
|
}
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"name": "dialog",
|
|
209
209
|
"peerDependencies": {
|
|
210
210
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
211
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
211
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
212
212
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
213
213
|
"@angular/common": ">=21.0.0 <23.0.0",
|
|
214
214
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"name": "drawer",
|
|
222
222
|
"peerDependencies": {
|
|
223
223
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
224
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
224
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
225
225
|
"cn": "^0.5.2"
|
|
226
226
|
}
|
|
227
227
|
},
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
233
233
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
234
234
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
235
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
235
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
"empty": {
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"name": "field",
|
|
247
247
|
"peerDependencies": {
|
|
248
248
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
249
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
249
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
250
250
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
251
251
|
"class-variance-authority": "^0.7.0"
|
|
252
252
|
}
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"name": "hover-card",
|
|
256
256
|
"peerDependencies": {
|
|
257
257
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
258
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
258
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
261
|
"input": {
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
"peerDependencies": {
|
|
264
264
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
265
265
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
266
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
266
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
269
|
"input-group": {
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
281
281
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
282
282
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
283
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
283
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
284
284
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
285
285
|
"cn": "^0.5.2"
|
|
286
286
|
}
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
"peerDependencies": {
|
|
291
291
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
292
292
|
"class-variance-authority": "^0.7.0",
|
|
293
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
293
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
"kbd": {
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
"name": "label",
|
|
304
304
|
"peerDependencies": {
|
|
305
305
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
306
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
306
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
307
307
|
}
|
|
308
308
|
},
|
|
309
309
|
"marker": {
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
"name": "menubar",
|
|
318
318
|
"peerDependencies": {
|
|
319
319
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
320
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
320
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
321
321
|
"@angular/cdk": ">=21.0.0 <23.0.0"
|
|
322
322
|
}
|
|
323
323
|
},
|
|
@@ -333,18 +333,18 @@
|
|
|
333
333
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
334
334
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
335
335
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
336
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
336
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
337
337
|
}
|
|
338
338
|
},
|
|
339
339
|
"native-select": {
|
|
340
340
|
"name": "native-select",
|
|
341
341
|
"peerDependencies": {
|
|
342
342
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
343
|
-
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
344
343
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
344
|
+
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
345
345
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
346
346
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
347
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
347
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
348
348
|
"cn": "^0.5.2"
|
|
349
349
|
}
|
|
350
350
|
},
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
"peerDependencies": {
|
|
354
354
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
355
355
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
356
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
356
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
357
357
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
358
358
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
359
359
|
}
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
"peerDependencies": {
|
|
375
375
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
376
376
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
377
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
377
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
380
|
"progress": {
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
"peerDependencies": {
|
|
383
383
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
384
384
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
385
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
385
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
388
|
"questionnaire": {
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
392
392
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
393
393
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
394
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
394
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
"radio-group": {
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
"peerDependencies": {
|
|
400
400
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
401
401
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
402
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
402
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
403
403
|
"cn": "^0.5.2",
|
|
404
404
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
405
405
|
"@angular/common": ">=21.0.0 <23.0.0"
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
"name": "resizable",
|
|
410
410
|
"peerDependencies": {
|
|
411
411
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
412
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
412
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
415
|
"scroll-area": {
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
426
426
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
427
427
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
428
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
428
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
429
429
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
430
430
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
431
431
|
"cn": "^0.5.2"
|
|
@@ -435,14 +435,14 @@
|
|
|
435
435
|
"name": "separator",
|
|
436
436
|
"peerDependencies": {
|
|
437
437
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
438
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
438
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
439
439
|
}
|
|
440
440
|
},
|
|
441
441
|
"sheet": {
|
|
442
442
|
"name": "sheet",
|
|
443
443
|
"peerDependencies": {
|
|
444
444
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
445
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
445
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
446
446
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
447
447
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
448
448
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -454,7 +454,7 @@
|
|
|
454
454
|
"peerDependencies": {
|
|
455
455
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
456
456
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
457
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
457
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
458
458
|
"class-variance-authority": "^0.7.0",
|
|
459
459
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
460
460
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
"peerDependencies": {
|
|
474
474
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
475
475
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
476
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
476
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
477
477
|
}
|
|
478
478
|
},
|
|
479
479
|
"sonner": {
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
484
484
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
485
485
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
486
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
486
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
487
487
|
"cn": "^0.5.2"
|
|
488
488
|
}
|
|
489
489
|
},
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
"name": "switch",
|
|
500
500
|
"peerDependencies": {
|
|
501
501
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
502
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
502
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
503
503
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
504
504
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
505
505
|
"cn": "^0.5.2"
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
"name": "tabs",
|
|
516
516
|
"peerDependencies": {
|
|
517
517
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
518
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
518
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
519
519
|
"class-variance-authority": "^0.7.0",
|
|
520
520
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
521
521
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -529,14 +529,14 @@
|
|
|
529
529
|
"peerDependencies": {
|
|
530
530
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
531
531
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
532
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
532
|
+
"@spartan-ng/brain": "1.10.0-beta.6"
|
|
533
533
|
}
|
|
534
534
|
},
|
|
535
535
|
"toggle": {
|
|
536
536
|
"name": "toggle",
|
|
537
537
|
"peerDependencies": {
|
|
538
538
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
539
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
539
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
540
540
|
"class-variance-authority": "^0.7.0"
|
|
541
541
|
}
|
|
542
542
|
},
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"name": "toggle-group",
|
|
545
545
|
"peerDependencies": {
|
|
546
546
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
547
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
547
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
548
548
|
"@angular/cdk": ">=21.0.0 <23.0.0"
|
|
549
549
|
}
|
|
550
550
|
},
|
|
@@ -553,7 +553,7 @@
|
|
|
553
553
|
"peerDependencies": {
|
|
554
554
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
555
555
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
556
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
556
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
557
557
|
"class-variance-authority": "^0.7.0"
|
|
558
558
|
}
|
|
559
559
|
},
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"name": "trace",
|
|
562
562
|
"peerDependencies": {
|
|
563
563
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
564
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
564
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
565
565
|
"cn": "^0.5.2",
|
|
566
566
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
567
567
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
"name": "utils",
|
|
578
578
|
"peerDependencies": {
|
|
579
579
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
580
|
-
"@spartan-ng/brain": "1.10.0-beta.
|
|
580
|
+
"@spartan-ng/brain": "1.10.0-beta.6",
|
|
581
581
|
"cn": "^0.5.2",
|
|
582
582
|
"@angular/cdk": ">=21.0.0 <23.0.0"
|
|
583
583
|
}
|