yukit-web 0.2.7 → 0.2.9
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/.npm/_cacache/content-v2/sha512/{ef/55/687c01abb9f14dd078e36526cf974d1f614a71529b0080d2fbb7da2c77a6d4e49579457f7a81861d934ee2458b2e5b0556132b1ef825192ddf528c7a773e → e1/27/b9e259c02f308d200d5277cc9b3fbb91067050d20f39caacdfd9af9fb9156fe164da6679b78272e0d98614174fdd8b00533930c4597be25a3844b32ee3e3} +1 -1
- package/.npm/_cacache/index-v5/64/dc/73c7a26f2e6eb0c711133d96c247da5ecf0eba708cd37c450a7b3c7cb488 +1 -1
- package/.npm/_logs/{2026-10-05T10_13_49_268Z-debug-0.log → 2026-10-06T14_28_01_817Z-debug-0.log} +10 -10
- package/.npm/_logs/{2026-10-05T10_13_49_709Z-debug-0.log → 2026-10-06T14_28_02_329Z-debug-0.log} +2 -2
- package/fesm2022/yukit-web.mjs +256 -14
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/theme/theme.css +38 -4
- package/types/yukit-web.d.ts +189 -9
package/package.json
CHANGED
package/src/lib/theme/theme.css
CHANGED
|
@@ -31,13 +31,47 @@
|
|
|
31
31
|
font-family: var(--font-sans);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
:is(
|
|
35
|
+
button,
|
|
36
|
+
summary,
|
|
37
|
+
select,
|
|
38
|
+
input:is([type='checkbox'], [type='radio'], [type='range'], [type='file'], [type='button'], [type='submit']),
|
|
39
|
+
[role='button'],
|
|
40
|
+
[role='checkbox'],
|
|
41
|
+
[role='switch'],
|
|
42
|
+
[role='radio'],
|
|
43
|
+
[role='tab'],
|
|
44
|
+
[role='menuitem'],
|
|
45
|
+
[role='menuitemcheckbox'],
|
|
46
|
+
[role='menuitemradio'],
|
|
47
|
+
[role='option'],
|
|
48
|
+
[role='combobox']
|
|
49
|
+
):not(:disabled, [aria-disabled='true'], [data-disabled]:not([data-disabled='false'])),
|
|
50
|
+
label:has(:is(input:is([type='checkbox'], [type='radio']), [role='checkbox'], [role='switch'], [role='radio'])):not(
|
|
51
|
+
:has(:is(:disabled, [aria-disabled='true'], [data-disabled]:not([data-disabled='false'])))
|
|
52
|
+
) {
|
|
36
53
|
cursor: pointer;
|
|
37
54
|
}
|
|
38
55
|
|
|
39
|
-
|
|
40
|
-
|
|
56
|
+
:is(
|
|
57
|
+
button,
|
|
58
|
+
summary,
|
|
59
|
+
select,
|
|
60
|
+
input:is([type='checkbox'], [type='radio'], [type='range'], [type='file'], [type='button'], [type='submit']),
|
|
61
|
+
[role='button'],
|
|
62
|
+
[role='checkbox'],
|
|
63
|
+
[role='switch'],
|
|
64
|
+
[role='radio'],
|
|
65
|
+
[role='tab'],
|
|
66
|
+
[role='menuitem'],
|
|
67
|
+
[role='menuitemcheckbox'],
|
|
68
|
+
[role='menuitemradio'],
|
|
69
|
+
[role='option'],
|
|
70
|
+
[role='combobox']
|
|
71
|
+
):is(:disabled, [aria-disabled='true'], [data-disabled]:not([data-disabled='false'])),
|
|
72
|
+
label:has(:is(input:is([type='checkbox'], [type='radio']), [role='checkbox'], [role='switch'], [role='radio'])):has(
|
|
73
|
+
:is(:disabled, [aria-disabled='true'], [data-disabled]:not([data-disabled='false']))
|
|
74
|
+
) {
|
|
41
75
|
cursor: not-allowed;
|
|
42
76
|
}
|
|
43
77
|
|
package/types/yukit-web.d.ts
CHANGED
|
@@ -66,6 +66,9 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
66
66
|
* ```html
|
|
67
67
|
* <button hlmBtn [size]="size()" [yuwClass]="_btnClass()">Save</button>
|
|
68
68
|
* ```
|
|
69
|
+
*
|
|
70
|
+
* Inputs:
|
|
71
|
+
* - `yuwClass`: String of CSS classes registered as a replaceable `classes()` source on the host. Default is `''`.
|
|
69
72
|
*/
|
|
70
73
|
declare class YuwClassDirective {
|
|
71
74
|
readonly yuwClass: _angular_core.InputSignal<string>;
|
|
@@ -103,6 +106,10 @@ declare function provideValueAccessor(component: Type<unknown>): Provider;
|
|
|
103
106
|
*
|
|
104
107
|
* They're kept as two separate signals and OR'd together in `_disabled`: disabled by *either*
|
|
105
108
|
* source means disabled. That's the only combination that never drops a caller's intent.
|
|
109
|
+
*
|
|
110
|
+
* Inputs:
|
|
111
|
+
* - `disabled`: Disables the form control and blocks user interaction. Combined with the disabled
|
|
112
|
+
* state coming from the forms API, so either one disables it. Default is `false`.
|
|
106
113
|
*/
|
|
107
114
|
declare abstract class YuwValueAccessorBase<T> implements ControlValueAccessor {
|
|
108
115
|
private readonly _host;
|
|
@@ -137,6 +144,19 @@ declare abstract class YuwValueAccessorBase<T> implements ControlValueAccessor {
|
|
|
137
144
|
* forward to its native input — lives one level down, per the Liskov rule in `AGENTS.md`.
|
|
138
145
|
*
|
|
139
146
|
* Subclasses provide `_autoId`, the fallback `id` used when the consumer sets no `inputId`.
|
|
147
|
+
*
|
|
148
|
+
* Inputs:
|
|
149
|
+
* - `class`: Extra CSS classes merged last onto the field's visual element, so they win over the
|
|
150
|
+
* defaults. Bound through the `class` alias of an internal input. Default is `''`.
|
|
151
|
+
* - `errorText`: Error message shown under the field. Default is `undefined`.
|
|
152
|
+
* - `helperText`: Helper message shown under the field. Default is `undefined`.
|
|
153
|
+
* - `inputId`: ID set on the native input element, for `<label [for]>` matching. Falls back to a
|
|
154
|
+
* generated ID when unset. Default is `undefined`.
|
|
155
|
+
* - `invalid`: Marks the field as invalid. Default is `false`.
|
|
156
|
+
* - `value`: Two-way bound (`[(value)]`) string value of the field. Default is `''`.
|
|
157
|
+
*
|
|
158
|
+
* Outputs:
|
|
159
|
+
* - `valueChange`: Emits the new string whenever `value` changes, enabling two-way binding.
|
|
140
160
|
*/
|
|
141
161
|
declare abstract class YuwFieldBase extends YuwValueAccessorBase<string> {
|
|
142
162
|
readonly errorText: _angular_core.InputSignal<string | undefined>;
|
|
@@ -177,6 +197,13 @@ interface YuwTextFieldContract {
|
|
|
177
197
|
* the controls can't drift apart — the Liskov rule in `AGENTS.md`: same-role components share one
|
|
178
198
|
* input contract. Anything only some of them honor (`maxlength`, `size`, `enterPressed`, …) stays
|
|
179
199
|
* on the component, never here.
|
|
200
|
+
*
|
|
201
|
+
* Inputs:
|
|
202
|
+
* - `autocomplete`: Native `autocomplete` attribute forwarded to the control. Default is `undefined`.
|
|
203
|
+
* - `name`: Native `name` attribute forwarded to the control. Default is `undefined`.
|
|
204
|
+
* - `placeholder`: Native placeholder text. Default is `undefined`.
|
|
205
|
+
* - `readonly`: Makes the control read-only. Default is `false`.
|
|
206
|
+
* - `required`: Marks the control as required. Default is `false`.
|
|
180
207
|
*/
|
|
181
208
|
declare abstract class YuwTextFieldBase extends YuwFieldBase implements YuwTextFieldContract {
|
|
182
209
|
readonly autocomplete: _angular_core.InputSignal<string | undefined>;
|
|
@@ -229,6 +256,9 @@ interface YuwComboboxItemContext<TData = unknown> {
|
|
|
229
256
|
* </ng-template>
|
|
230
257
|
* </yuw-combobox>
|
|
231
258
|
* ```
|
|
259
|
+
*
|
|
260
|
+
* Inputs:
|
|
261
|
+
* - `yuwComboboxItemTypeOf`: Optional array of `YuwComboboxOptionDto`; only used to infer the generic data type of the template context for type checking. Default is `undefined`.
|
|
232
262
|
*/
|
|
233
263
|
declare class YuwComboboxItemDirective<TData = unknown> {
|
|
234
264
|
readonly templateRef: TemplateRef<YuwComboboxItemContext<TData>>;
|
|
@@ -402,6 +432,8 @@ type YuwColorDto = 'primary' | 'secondary' | 'neutral' | 'destructive' | 'succes
|
|
|
402
432
|
* - `class`: Extra CSS classes merged onto the inner button/anchor; merged last, so they win over the component's own classes.
|
|
403
433
|
* - `yuwDropdownMenuTrigger`: Optional dropdown menu template reference to trigger.
|
|
404
434
|
* - `ariaLabel`: Accessible label for screen readers.
|
|
435
|
+
* - `animationDisabled`: Removes the pressed-state translate animation. Default is `false`. It is also
|
|
436
|
+
* forced on when the host carries `aria-haspopup` (e.g. when used as an overlay trigger).
|
|
405
437
|
*
|
|
406
438
|
* Outputs:
|
|
407
439
|
* - `clicked`: Emits MouseEvent on click.
|
|
@@ -604,6 +636,9 @@ declare class YuwButtonGroupComponent {
|
|
|
604
636
|
* </ng-template>
|
|
605
637
|
* </yuw-button-group>
|
|
606
638
|
* ```
|
|
639
|
+
*
|
|
640
|
+
* Inputs:
|
|
641
|
+
* - `yuwButtonGroupContent`: Required string; id of the button group entry this template renders the content of.
|
|
607
642
|
*/
|
|
608
643
|
declare class YuwButtonGroupContentDirective {
|
|
609
644
|
readonly templateRef: TemplateRef<unknown>;
|
|
@@ -619,6 +654,16 @@ declare class YuwButtonGroupContentDirective {
|
|
|
619
654
|
* (`variant`), dismissible action (`removeLabel` / `removed`), and a compact dot mode (`dot`)
|
|
620
655
|
* that renders no content at all.
|
|
621
656
|
*
|
|
657
|
+
* Inputs:
|
|
658
|
+
* - `color`: Brand color theme (any `YuwColorDto` value). Default is `'primary'`.
|
|
659
|
+
* - `dot`: Renders a compact dot with no content, icon or remove button. Default is `false`.
|
|
660
|
+
* - `removeLabel`: Accessible label for the remove button; the button only renders when this is set. The app supplies
|
|
661
|
+
* and translates it. Default is `undefined`.
|
|
662
|
+
* - `variant`: Helm badge style (`'default'`, `'secondary'`, `'destructive'`, `'outline'`, `'ghost'`, `'link'`). Default is `'default'`.
|
|
663
|
+
*
|
|
664
|
+
* Outputs:
|
|
665
|
+
* - `removed`: Emits when the remove button is clicked.
|
|
666
|
+
*
|
|
622
667
|
* Usage:
|
|
623
668
|
* ```html
|
|
624
669
|
* <yuw-badge color="primary">New</yuw-badge>
|
|
@@ -653,6 +698,11 @@ interface YuwBreadcrumbItemDto {
|
|
|
653
698
|
* (`aria-current="page"`); intermediate items render as links when they have an `href` and as
|
|
654
699
|
* plain text otherwise.
|
|
655
700
|
*
|
|
701
|
+
* Inputs:
|
|
702
|
+
* - `ariaLabel`: Required accessible label for the navigation landmark. The app supplies and translates it.
|
|
703
|
+
* - `items`: Required array of `YuwBreadcrumbItemDto` (`label`, optional `href`) in hierarchy order.
|
|
704
|
+
* - `separator`: Text rendered between items. Default is `'/'`.
|
|
705
|
+
*
|
|
656
706
|
* Usage:
|
|
657
707
|
* ```html
|
|
658
708
|
* <yuw-breadcrumb
|
|
@@ -707,6 +757,19 @@ type YuwPaginationSizeDto = 'default' | 'xs' | 'sm' | 'lg' | 'icon' | 'icon-xs'
|
|
|
707
757
|
* Controls two-way active page state `[(page)]`, accepts total pages (`totalPages`), accessible
|
|
708
758
|
* previous/next/ellipsis labels, size and color theme.
|
|
709
759
|
*
|
|
760
|
+
* Inputs:
|
|
761
|
+
* - `ariaLabel`: Required accessible label of the navigation landmark.
|
|
762
|
+
* - `color`: Brand color theme (any `YuwColorDto` value). Default is `'primary'`.
|
|
763
|
+
* - `ellipsisSrText`: Required screen reader text of the ellipsis between page ranges.
|
|
764
|
+
* - `nextLabel`: Required accessible label of the next page button.
|
|
765
|
+
* - `page`: Required two-way (`[(page)]`) active page, 1-based.
|
|
766
|
+
* - `previousLabel`: Required accessible label of the previous page button.
|
|
767
|
+
* - `size`: Button size (`YuwPaginationSizeDto`). Default is `'icon'`.
|
|
768
|
+
* - `totalPages`: Required total number of pages.
|
|
769
|
+
*
|
|
770
|
+
* Outputs:
|
|
771
|
+
* - `page`: Emits the new active page when the user picks one (the output half of `[(page)]`).
|
|
772
|
+
*
|
|
710
773
|
* Usage:
|
|
711
774
|
* ```html
|
|
712
775
|
* <yuw-pagination
|
|
@@ -758,7 +821,14 @@ interface YuwListPaginationLabels {
|
|
|
758
821
|
readonly ellipsis: string;
|
|
759
822
|
}
|
|
760
823
|
|
|
761
|
-
/**
|
|
824
|
+
/**
|
|
825
|
+
* Page size selector and range message of a `YuwPagedList`; in a datatable it takes the pagination slot.
|
|
826
|
+
*
|
|
827
|
+
* Inputs:
|
|
828
|
+
* - `disabled`: Disables the page size selector. Default is `false`.
|
|
829
|
+
* - `labels`: Required `YuwPageSizeLabels` with the selector label, the text for an empty list and the function that builds the range message.
|
|
830
|
+
* - `list`: Required `YuwPagedList` whose page size is chosen and whose range is shown in the message.
|
|
831
|
+
*/
|
|
762
832
|
declare class YuwPageSizeComponent {
|
|
763
833
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
764
834
|
readonly labels: _angular_core.InputSignal<YuwPageSizeLabels>;
|
|
@@ -768,7 +838,15 @@ declare class YuwPageSizeComponent {
|
|
|
768
838
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwPageSizeComponent, "yuw-page-size", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": true; "isSignal": true; }; "list": { "alias": "list"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
769
839
|
}
|
|
770
840
|
|
|
771
|
-
/**
|
|
841
|
+
/**
|
|
842
|
+
* Pagination footer for lists without a datatable: the page size selector with its range message
|
|
843
|
+
* and the page navigation, both driven by one `YuwPagedList`. A disabled `fieldset` blocks its buttons.
|
|
844
|
+
*
|
|
845
|
+
* Inputs:
|
|
846
|
+
* - `disabled`: Disables the page size selector and the page buttons. Default is `false`.
|
|
847
|
+
* - `labels`: Required `YuwListPaginationLabels` with the consumer's text for the page size selector, the navigation aria label and the previous, next and ellipsis texts.
|
|
848
|
+
* - `list`: Required `YuwPagedList` holding the current page, page size, total pages and range; changes made in the footer are written back to it.
|
|
849
|
+
*/
|
|
772
850
|
declare class YuwListPaginationComponent {
|
|
773
851
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
774
852
|
readonly labels: _angular_core.InputSignal<YuwListPaginationLabels>;
|
|
@@ -781,13 +859,31 @@ declare class YuwListPaginationComponent {
|
|
|
781
859
|
* Page title, optional description and up to two actions, each rendered when its label is set.
|
|
782
860
|
* On mobile the primary action shows only its icon, or `primaryMobileLabel`. Icons are `@ng-icons`
|
|
783
861
|
* names; the consumer registers any beyond `lucidePlus` with `provideIcons`.
|
|
862
|
+
*
|
|
863
|
+
* Inputs:
|
|
864
|
+
* - `backLabel`: Text of the back button, which renders only when set; on small screens only its arrow shows.
|
|
865
|
+
* - `description`: Optional subtitle under the title.
|
|
866
|
+
* - `primaryDisabled`: Disables the primary action, which stays visible but ignores clicks, e.g. while the list it creates items for is loading.
|
|
867
|
+
* - `primaryIcon`: Icon name shown in the primary action.
|
|
868
|
+
* - `primaryLabel`: Text of the primary action, which renders only when set.
|
|
869
|
+
* - `primaryMobileLabel`: Text the primary action shows on small screens instead of its label.
|
|
870
|
+
* - `secondaryIcon`: Icon name shown in the secondary action.
|
|
871
|
+
* - `secondaryLabel`: Text of the secondary action, which renders only when set; hidden on small screens, leaving its icon.
|
|
872
|
+
* - `title`: Required page title.
|
|
873
|
+
*
|
|
874
|
+
* Outputs:
|
|
875
|
+
* - `backClicked`: Emits the `MouseEvent` of the back button.
|
|
876
|
+
* - `primaryClicked`: Emits the `MouseEvent` of the primary action.
|
|
877
|
+
* - `secondaryClicked`: Emits the `MouseEvent` of the secondary action.
|
|
784
878
|
*/
|
|
785
879
|
declare class YuwPageHeaderComponent {
|
|
786
880
|
readonly backLabel: _angular_core.InputSignal<string | undefined>;
|
|
787
881
|
readonly description: _angular_core.InputSignal<string | undefined>;
|
|
882
|
+
readonly primaryDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
788
883
|
readonly primaryIcon: _angular_core.InputSignal<string | undefined>;
|
|
789
884
|
readonly primaryLabel: _angular_core.InputSignal<string | undefined>;
|
|
790
885
|
readonly primaryMobileLabel: _angular_core.InputSignal<string | undefined>;
|
|
886
|
+
readonly secondaryDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
791
887
|
readonly secondaryIcon: _angular_core.InputSignal<string | undefined>;
|
|
792
888
|
readonly secondaryLabel: _angular_core.InputSignal<string | undefined>;
|
|
793
889
|
readonly title: _angular_core.InputSignal<string>;
|
|
@@ -796,7 +892,7 @@ declare class YuwPageHeaderComponent {
|
|
|
796
892
|
readonly secondaryClicked: _angular_core.OutputEmitterRef<MouseEvent>;
|
|
797
893
|
protected readonly isMobile: _angular_core.Signal<boolean>;
|
|
798
894
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwPageHeaderComponent, never>;
|
|
799
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwPageHeaderComponent, "yuw-page-header", never, { "backLabel": { "alias": "backLabel"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "primaryIcon": { "alias": "primaryIcon"; "required": false; "isSignal": true; }; "primaryLabel": { "alias": "primaryLabel"; "required": false; "isSignal": true; }; "primaryMobileLabel": { "alias": "primaryMobileLabel"; "required": false; "isSignal": true; }; "secondaryIcon": { "alias": "secondaryIcon"; "required": false; "isSignal": true; }; "secondaryLabel": { "alias": "secondaryLabel"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "backClicked": "backClicked"; "primaryClicked": "primaryClicked"; "secondaryClicked": "secondaryClicked"; }, never, never, true, never>;
|
|
895
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwPageHeaderComponent, "yuw-page-header", never, { "backLabel": { "alias": "backLabel"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "primaryDisabled": { "alias": "primaryDisabled"; "required": false; "isSignal": true; }; "primaryIcon": { "alias": "primaryIcon"; "required": false; "isSignal": true; }; "primaryLabel": { "alias": "primaryLabel"; "required": false; "isSignal": true; }; "primaryMobileLabel": { "alias": "primaryMobileLabel"; "required": false; "isSignal": true; }; "secondaryDisabled": { "alias": "secondaryDisabled"; "required": false; "isSignal": true; }; "secondaryIcon": { "alias": "secondaryIcon"; "required": false; "isSignal": true; }; "secondaryLabel": { "alias": "secondaryLabel"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "backClicked": "backClicked"; "primaryClicked": "primaryClicked"; "secondaryClicked": "secondaryClicked"; }, never, never, true, never>;
|
|
800
896
|
}
|
|
801
897
|
|
|
802
898
|
/**
|
|
@@ -897,6 +993,7 @@ declare const YuwAccordionImports: readonly [typeof YuwAccordion, typeof YuwAcco
|
|
|
897
993
|
*
|
|
898
994
|
* Outputs:
|
|
899
995
|
* - `committed`: Emits the current value on the native `change` event (blur/enter).
|
|
996
|
+
* - `enterPressed`: Emits (`void`) when the Enter key is pressed while the field is focused.
|
|
900
997
|
*
|
|
901
998
|
* Usage:
|
|
902
999
|
* ```html
|
|
@@ -1134,6 +1231,7 @@ declare class YuwSearchInputComponent extends YuwTextFieldBase {
|
|
|
1134
1231
|
*
|
|
1135
1232
|
* Outputs:
|
|
1136
1233
|
* - `committed`: Emits the current value on the native `change` event (blur/enter).
|
|
1234
|
+
* - `enterPressed`: Emits (`void`) when the Enter key is pressed while the field is focused.
|
|
1137
1235
|
*
|
|
1138
1236
|
* Usage:
|
|
1139
1237
|
* ```html
|
|
@@ -1200,6 +1298,7 @@ type YuwInputOtpModeDto = 'numeric' | 'text';
|
|
|
1200
1298
|
*
|
|
1201
1299
|
* Outputs:
|
|
1202
1300
|
* - `completed`: Emits the full code string once the final slot is filled (by typing or paste).
|
|
1301
|
+
* - `enterPressed`: Emits (`void`) when the Enter key is pressed while the field is focused.
|
|
1203
1302
|
*
|
|
1204
1303
|
* Usage:
|
|
1205
1304
|
* ```html
|
|
@@ -1286,7 +1385,7 @@ declare class YuwLabel extends HlmLabel {
|
|
|
1286
1385
|
* projected content, pair it with an external `<label [for]>` via `inputId` or set `ariaLabel`.
|
|
1287
1386
|
*
|
|
1288
1387
|
* Inputs / Models:
|
|
1289
|
-
* - `
|
|
1388
|
+
* - `checked`: Two-way (`[(checked)]`) boolean checked state, alias of the internal `value` model. Default is `false`.
|
|
1290
1389
|
* - `indeterminate`: Two-way boolean state for mixed/indeterminate checkbox appearance. Default is `false`.
|
|
1291
1390
|
* - `disabled`: Disables checkbox interaction.
|
|
1292
1391
|
* - `required`: Marks checkbox as required.
|
|
@@ -1341,6 +1440,8 @@ type YuwSwitchSizeDto = 'default' | 'xs' | 'sm' | 'lg';
|
|
|
1341
1440
|
* - `disabled`: Disables switch interaction.
|
|
1342
1441
|
* - `inputId`: HTML `id` for the underlying control, enabling external `<label for="...">` association.
|
|
1343
1442
|
* - `ariaLabel`: Accessible name for switches with no visible adjacent label.
|
|
1443
|
+
* - `ariaLabelledby`: Id of the element that labels the switch, set as `aria-labelledby` on the control.
|
|
1444
|
+
* - `ariaDescribedby`: Id of the element that describes the switch, set as `aria-describedby` on the control.
|
|
1344
1445
|
*
|
|
1345
1446
|
* Usage:
|
|
1346
1447
|
* ```html
|
|
@@ -1444,6 +1545,14 @@ declare class YuwSkeletonDirective {
|
|
|
1444
1545
|
* `skeletonCount` placeholders shaped by `skeletonClass`; `empty` shows `emptyText`; `columnsClass`
|
|
1445
1546
|
* holds the Tailwind column utilities.
|
|
1446
1547
|
*
|
|
1548
|
+
* Inputs:
|
|
1549
|
+
* - `columnsClass`: Tailwind grid column utilities applied to the grid and its skeleton. Default is `'grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4'`.
|
|
1550
|
+
* - `empty`: Shows `emptyText` instead of the projected cards. Default is `false`.
|
|
1551
|
+
* - `emptyText`: Required message shown when `empty` is set. The app supplies and translates it.
|
|
1552
|
+
* - `loading`: Shows `skeletonCount` placeholders instead of the content; takes precedence over `empty`. Default is `false`.
|
|
1553
|
+
* - `skeletonClass`: Extra classes sizing each placeholder, e.g. its height. Default is `'h-16'`.
|
|
1554
|
+
* - `skeletonCount`: Number of placeholders shown while loading. Default is `12`.
|
|
1555
|
+
*
|
|
1447
1556
|
* `YuwCardGridComponent.COLUMNS` holds the column classes admin lists share per view mode — `list`
|
|
1448
1557
|
* is one column, `block` grows from one to five, and `tags` packs small tag cards up to six — so every listing lays out its cards the same
|
|
1449
1558
|
* way: `[columnsClass]="YuwCardGridComponent.COLUMNS[mode]"`.
|
|
@@ -1465,7 +1574,12 @@ declare class YuwCardGridComponent {
|
|
|
1465
1574
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwCardGridComponent, "yuw-card-grid", never, { "columnsClass": { "alias": "columnsClass"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": true; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "skeletonClass": { "alias": "skeletonClass"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1466
1575
|
}
|
|
1467
1576
|
|
|
1468
|
-
/**
|
|
1577
|
+
/**
|
|
1578
|
+
* While `pending` the card stays hidden in place under a skeleton, so the grid does not jump.
|
|
1579
|
+
*
|
|
1580
|
+
* Inputs:
|
|
1581
|
+
* - `pending`: Hides the projected card and overlays a skeleton while it is loading. Default is `false`.
|
|
1582
|
+
*/
|
|
1469
1583
|
declare class YuwCardGridItemComponent {
|
|
1470
1584
|
readonly pending: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1471
1585
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwCardGridItemComponent, never>;
|
|
@@ -1660,6 +1774,10 @@ declare class YuwContextMenuSubIndicatorComponent {
|
|
|
1660
1774
|
* </div>
|
|
1661
1775
|
* </ng-template>
|
|
1662
1776
|
* ```
|
|
1777
|
+
*
|
|
1778
|
+
* Inputs:
|
|
1779
|
+
* - `yuwContextMenuTrigger`: Required `TemplateRef` of the menu to open on right-click.
|
|
1780
|
+
* - `yuwContextMenuTriggerData`: Optional data made available to the menu template as its context. Default is `undefined`.
|
|
1663
1781
|
*/
|
|
1664
1782
|
declare class YuwContextMenuTriggerDirective {
|
|
1665
1783
|
private readonly _trigger;
|
|
@@ -1697,6 +1815,10 @@ declare class YuwContextMenuItemDirective {
|
|
|
1697
1815
|
* <yuw-context-menu-checkbox-indicator />
|
|
1698
1816
|
* </button>
|
|
1699
1817
|
* ```
|
|
1818
|
+
*
|
|
1819
|
+
* Inputs:
|
|
1820
|
+
* - `checked`: Whether the item is currently checked, which shows the projected indicator. Default is `false`.
|
|
1821
|
+
* - `disabled`: Disables the item so it cannot be triggered. Default is `false`.
|
|
1700
1822
|
*/
|
|
1701
1823
|
declare class YuwContextMenuCheckboxDirective {
|
|
1702
1824
|
private readonly _item;
|
|
@@ -1724,6 +1846,10 @@ declare class YuwContextMenuCheckboxDirective {
|
|
|
1724
1846
|
* </button>
|
|
1725
1847
|
* </div>
|
|
1726
1848
|
* ```
|
|
1849
|
+
*
|
|
1850
|
+
* Inputs:
|
|
1851
|
+
* - `checked`: Whether the item is the selected option, which shows the projected indicator. Default is `false`.
|
|
1852
|
+
* - `disabled`: Disables the item so it cannot be selected. Default is `false`.
|
|
1727
1853
|
*/
|
|
1728
1854
|
declare class YuwContextMenuRadioDirective {
|
|
1729
1855
|
private readonly _item;
|
|
@@ -1769,6 +1895,9 @@ declare class YuwContextMenuSubDirective {
|
|
|
1769
1895
|
* <yuw-context-menu-sub-indicator />
|
|
1770
1896
|
* </button>
|
|
1771
1897
|
* ```
|
|
1898
|
+
*
|
|
1899
|
+
* Inputs:
|
|
1900
|
+
* - `yuwContextMenuSubTrigger`: Required `TemplateRef` of the sub-menu this item expands.
|
|
1772
1901
|
*/
|
|
1773
1902
|
declare class YuwContextMenuSubTriggerDirective {
|
|
1774
1903
|
private readonly _trigger;
|
|
@@ -1798,6 +1927,7 @@ type YuwDatepickerModeDto = 'single' | 'range' | 'multiple' | 'monthYear';
|
|
|
1798
1927
|
* - `align`: Popover alignment relative to trigger (`'start'`, `'center'`, `'end'`). Default is `'start'`.
|
|
1799
1928
|
* - `buttonId`: HTML `id` for the trigger button, enabling external `<label for="...">`
|
|
1800
1929
|
* association. When omitted, a unique per-instance id is generated.
|
|
1930
|
+
* - `size`: Trigger button height (`YuwFieldSizeDto`), matching the `<yuw-button>` size of the same name. Default is `'default'`.
|
|
1801
1931
|
* - `class`: Extra classes merged onto the trigger button (e.g. a width), consumer classes win.
|
|
1802
1932
|
* - `invalid`: Forces invalid styling.
|
|
1803
1933
|
* - `formatDate`: Custom date formatter function `(date: Date) => string` for the trigger label.
|
|
@@ -2001,6 +2131,24 @@ interface YuwListToolbarLabels {
|
|
|
2001
2131
|
* two-way to it (`viewModeChange` is the click listener); its names come from `labels.viewMode`. Saved filter sets need `filterSets` and `labels.filters.sets`;
|
|
2002
2132
|
* the toolbar emits `setSaved`, `setRenamed` and `setDeleted` and the consumer persists them. `labels` holds every text and the consumer translates it;
|
|
2003
2133
|
* `idleColor` is the filter trigger tone while nothing is applied.
|
|
2134
|
+
*
|
|
2135
|
+
* Inputs:
|
|
2136
|
+
* - `filterGroups`: Filter groups the editor offers; the filter control renders only when set.
|
|
2137
|
+
* - `filterSets`: Saved filter sets; together with `labels.filters.sets` it enables the sets star.
|
|
2138
|
+
* - `filtersDisabled`: Disables the filter buttons. Default is `false`.
|
|
2139
|
+
* - `hiddenColumns`: Two-way (`[(hiddenColumns)]`) ids of the columns currently hidden. Default is `[]`.
|
|
2140
|
+
* - `hideableColumns`: Options of the columns the user may hide; the columns button renders only when set.
|
|
2141
|
+
* - `idleColor`: `YuwColorDto` tone of the filter trigger while nothing is applied. Default is `'neutral'`.
|
|
2142
|
+
* - `labels`: Required `YuwListToolbarLabels` with the consumer's translated text for every control.
|
|
2143
|
+
* - `search`: Two-way (`[(search)]`) text of the search field. Default is `''`.
|
|
2144
|
+
* - `searchPlaceholder`: Placeholder of the search field; the search renders only when set.
|
|
2145
|
+
* - `selection`: Two-way (`[(selection)]`) applied filter selection, values keyed by group id. Default is `{}`.
|
|
2146
|
+
* - `showExport`: Renders the export button. Default is `false`.
|
|
2147
|
+
* - `viewMode`: Two-way (`[(viewMode)]`) `YuwViewMode` (`'list'` or `'block'`); the list/block switch renders only when set.
|
|
2148
|
+
*
|
|
2149
|
+
* Outputs:
|
|
2150
|
+
* - `exported`: Emits the `MouseEvent` of the export button click.
|
|
2151
|
+
* - `searched`: Emits the current search text on every keystroke and when it is cleared.
|
|
2004
2152
|
*/
|
|
2005
2153
|
declare class YuwListToolbarComponent {
|
|
2006
2154
|
readonly filterGroups: _angular_core.InputSignal<readonly YuwFilterGroupDto[] | undefined>;
|
|
@@ -2179,7 +2327,7 @@ type YuwDatatableRowClass<TData extends RowData> = string | ((row: TData, index:
|
|
|
2179
2327
|
* `(row, index) => string | undefined` callback to vary them per row (`YuwDatatableRowClass`).
|
|
2180
2328
|
* - `appearance`: Visual treatment (`YuwDatatableAppearanceDto`). Default is `'default'` —
|
|
2181
2329
|
* Spartan's plain table. `'card'` frames the table in its own rounded bordered surface with a
|
|
2182
|
-
* tinted
|
|
2330
|
+
* tinted header strip and taller rows; the consumer needs no wrapper of its own.
|
|
2183
2331
|
*
|
|
2184
2332
|
* Per-column, through TanStack's `meta` (see `YuwDatatableColumnMeta`). Every class-valued entry
|
|
2185
2333
|
* takes Tailwind classes, so a column can size itself per breakpoint (`'w-40 lg:w-64'`). They are
|
|
@@ -2260,7 +2408,6 @@ declare class YuwDatatableComponent<TData extends RowData> implements OnInit {
|
|
|
2260
2408
|
readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2261
2409
|
readonly sortable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2262
2410
|
readonly sorting: _angular_core.ModelSignal<SortingState>;
|
|
2263
|
-
readonly summary: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2264
2411
|
readonly tableClass: _angular_core.InputSignal<string | undefined>;
|
|
2265
2412
|
readonly totalItems: _angular_core.InputSignal<number | undefined>;
|
|
2266
2413
|
protected rowClicked: _angular_core.OutputEmitterRef<TData>;
|
|
@@ -2302,7 +2449,7 @@ declare class YuwDatatableComponent<TData extends RowData> implements OnInit {
|
|
|
2302
2449
|
protected onRowClick(row: TData): void;
|
|
2303
2450
|
protected onRowKeydown(event: KeyboardEvent, row: TData): void;
|
|
2304
2451
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwDatatableComponent<any>, never>;
|
|
2305
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwDatatableComponent<any>, "yuw-datatable", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "cellClass": { "alias": "cellClass"; "required": false; "isSignal": true; }; "columnFilters": { "alias": "columnFilters"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "columnVisibility": { "alias": "columnVisibility"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingRows": { "alias": "loadingRows"; "required": false; "isSignal": true; }; "nextPageLabel": { "alias": "nextPageLabel"; "required": true; "isSignal": true; }; "paginated": { "alias": "paginated"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "paginationAriaLabel": { "alias": "paginationAriaLabel"; "required": true; "isSignal": true; }; "paginationEllipsisSrText": { "alias": "paginationEllipsisSrText"; "required": true; "isSignal": true; }; "previousPageLabel": { "alias": "previousPageLabel"; "required": true; "isSignal": true; }; "rowClass": { "alias": "rowClass"; "required": false; "isSignal": true; }; "rowSelection": { "alias": "rowSelection"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "sortable": { "alias": "sortable"; "required": false; "isSignal": true; }; "sorting": { "alias": "sorting"; "required": false; "isSignal": true; }; "
|
|
2452
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwDatatableComponent<any>, "yuw-datatable", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "cellClass": { "alias": "cellClass"; "required": false; "isSignal": true; }; "columnFilters": { "alias": "columnFilters"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "columnVisibility": { "alias": "columnVisibility"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingRows": { "alias": "loadingRows"; "required": false; "isSignal": true; }; "nextPageLabel": { "alias": "nextPageLabel"; "required": true; "isSignal": true; }; "paginated": { "alias": "paginated"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "paginationAriaLabel": { "alias": "paginationAriaLabel"; "required": true; "isSignal": true; }; "paginationEllipsisSrText": { "alias": "paginationEllipsisSrText"; "required": true; "isSignal": true; }; "previousPageLabel": { "alias": "previousPageLabel"; "required": true; "isSignal": true; }; "rowClass": { "alias": "rowClass"; "required": false; "isSignal": true; }; "rowSelection": { "alias": "rowSelection"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "sortable": { "alias": "sortable"; "required": false; "isSignal": true; }; "sorting": { "alias": "sorting"; "required": false; "isSignal": true; }; "tableClass": { "alias": "tableClass"; "required": false; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; }, { "columnFilters": "columnFiltersChange"; "columnVisibility": "columnVisibilityChange"; "pagination": "paginationChange"; "rowSelection": "rowSelectionChange"; "sorting": "sortingChange"; "rowClicked": "rowClicked"; "selectedRowsChange": "selectedRowsChange"; }, ["customPagination"], ["[yuwDatatablePagination]"], true, never>;
|
|
2306
2453
|
}
|
|
2307
2454
|
|
|
2308
2455
|
/**
|
|
@@ -2310,6 +2457,16 @@ declare class YuwDatatableComponent<TData extends RowData> implements OnInit {
|
|
|
2310
2457
|
* checkbox nor the cell around it triggers the row's own action, since `yuw-datatable` emits
|
|
2311
2458
|
* `rowClicked` from the `<tr>`. `onToggle` is an input because `flexRenderComponent` does not
|
|
2312
2459
|
* subscribe outputs.
|
|
2460
|
+
*
|
|
2461
|
+
* Renders a single `yuw-checkbox` meant to be used as the `select` display column of `yuw-datatable`
|
|
2462
|
+
* (header for select-all, cell for a single row), wired to TanStack's toggle handlers.
|
|
2463
|
+
*
|
|
2464
|
+
* Inputs:
|
|
2465
|
+
* - `checked`: Whether the checkbox is checked. Default is `false`.
|
|
2466
|
+
* - `indeterminate`: Shows the mixed state, e.g. for a header when only some rows are selected. Default is `false`.
|
|
2467
|
+
* - `label`: Accessible name (`aria-label`) of the checkbox. Default is `'Select row'`; consuming apps should
|
|
2468
|
+
* override it with translated text.
|
|
2469
|
+
* - `onToggle`: Callback run when the checkbox changes. Default is a no-op.
|
|
2313
2470
|
*/
|
|
2314
2471
|
declare class YuwDatatableRowSelect {
|
|
2315
2472
|
readonly checked: _angular_core.InputSignal<boolean>;
|
|
@@ -2326,6 +2483,11 @@ declare class YuwDatatableRowSelect {
|
|
|
2326
2483
|
* Pencil button cell that runs `onEdit`, hidden until its row is hovered or keyboard-focused (`yuw-reveal`,
|
|
2327
2484
|
* see `theme/components/reveal-on-hover.css`); touch devices keep it visible. An input because `flexRenderComponent` does not subscribe
|
|
2328
2485
|
* outputs. The host stops the click so a clickable row does not fire twice.
|
|
2486
|
+
*
|
|
2487
|
+
* Inputs:
|
|
2488
|
+
* - `label` (required): Accessible name (`aria-label`) of the pencil button. User-facing text the
|
|
2489
|
+
* consuming app is responsible for translating.
|
|
2490
|
+
* - `onEdit`: Callback run when the button is clicked. Default is a no-op.
|
|
2329
2491
|
*/
|
|
2330
2492
|
declare class YuwActionsCellComponent {
|
|
2331
2493
|
readonly label: _angular_core.InputSignal<string>;
|
|
@@ -2575,7 +2737,7 @@ type YuwPopoverAlignDto = 'start' | 'center' | 'end';
|
|
|
2575
2737
|
* - `showTrigger`: Whether to render the trigger button. Set `false` when opening only via `[(open)]`.
|
|
2576
2738
|
* - `align`: Panel alignment relative to trigger (`'start'`, `'center'`, `'end'`). Default is `'center'`.
|
|
2577
2739
|
* - `sideOffset`: Pixel offset between the trigger and the panel. Default is `4`.
|
|
2578
|
-
* - `
|
|
2740
|
+
* - `offsetX`: Pixel offset for X sides. Positive px for right, negative for left side.
|
|
2579
2741
|
* - `title`: Optional header title text. User-facing text the consuming app is responsible for translating.
|
|
2580
2742
|
* - `description`: Optional header description text. User-facing text the consuming app is responsible for translating.
|
|
2581
2743
|
* - `panelClass`: Extra classes merged onto the popover panel (e.g. `w-80` to widen it). They win
|
|
@@ -2837,6 +2999,7 @@ declare class YuwDialogFooterDirective {
|
|
|
2837
2999
|
* text the consuming app is responsible for translating.
|
|
2838
3000
|
* - `panelClass`: Extra classes merged onto the dialog panel (e.g. `sm:max-w-lg` to widen it).
|
|
2839
3001
|
* They win over the library defaults via `twMerge`.
|
|
3002
|
+
* - `triggerColor`: Brand color theme for the trigger button (any `YuwColorDto` value). Default is `'neutral'`.
|
|
2840
3003
|
* - `triggerVariant`: Button style variant for the trigger button. Default is `'outline'`.
|
|
2841
3004
|
* - `triggerSize`: Button size for the trigger button.
|
|
2842
3005
|
*
|
|
@@ -2992,6 +3155,9 @@ interface YuwTabItemDto {
|
|
|
2992
3155
|
* ```html
|
|
2993
3156
|
* <ng-template yuwTabPanel="billing">Contenido de facturación</ng-template>
|
|
2994
3157
|
* ```
|
|
3158
|
+
*
|
|
3159
|
+
* Inputs:
|
|
3160
|
+
* - `yuwTabPanel`: Required string; id of the tab, matching an entry in the `tabs` input, that this panel renders for.
|
|
2995
3161
|
*/
|
|
2996
3162
|
declare class YuwTabPanelDirective {
|
|
2997
3163
|
readonly templateRef: TemplateRef<unknown>;
|
|
@@ -3020,6 +3186,7 @@ type YuwTabsActivationModeDto = 'automatic' | 'manual';
|
|
|
3020
3186
|
* - `orientation`: Layout direction (`'horizontal'`, `'vertical'`). Default is `'horizontal'`.
|
|
3021
3187
|
* - `activationMode`: How keyboard focus activates tabs (`'automatic'` activates on focus,
|
|
3022
3188
|
* `'manual'` requires Enter/Space). Default is `'automatic'`.
|
|
3189
|
+
* - `class`: Extra classes merged onto the tab list, last, so they win over the component's own classes.
|
|
3023
3190
|
*
|
|
3024
3191
|
* Usage:
|
|
3025
3192
|
* ```html
|
|
@@ -3051,6 +3218,13 @@ declare class YuwTabsComponent {
|
|
|
3051
3218
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwTabsComponent, "yuw-tabs", never, { "activationMode": { "alias": "activationMode"; "required": false; "isSignal": true; }; "activeTab": { "alias": "activeTab"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tabs": { "alias": "tabs"; "required": true; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; }, ["_contents", "panels"], never, true, never>;
|
|
3052
3219
|
}
|
|
3053
3220
|
|
|
3221
|
+
/**
|
|
3222
|
+
* Declares the content of a single tab entry. Apply it to an `<ng-template>` and pass the id of the
|
|
3223
|
+
* entry it belongs to; the template is exposed through `templateRef` for the host to render.
|
|
3224
|
+
*
|
|
3225
|
+
* Inputs:
|
|
3226
|
+
* - `yuwTabContent`: Required string; id of the tab entry this template is the content of.
|
|
3227
|
+
*/
|
|
3054
3228
|
declare class YuwTabContentDirective {
|
|
3055
3229
|
readonly templateRef: TemplateRef<unknown>;
|
|
3056
3230
|
readonly entryId: _angular_core.InputSignal<string>;
|
|
@@ -3701,6 +3875,9 @@ declare class YuwSidebarMenuButtonDirective {
|
|
|
3701
3875
|
* branches and cannot attach a directive conditionally — an attribute selector matches on presence, so
|
|
3702
3876
|
* the nav applies it to every entry and passes whether that entry actually has an avatar. Its default
|
|
3703
3877
|
* is `true` so the bare, hand-written form needs no value.
|
|
3878
|
+
*
|
|
3879
|
+
* Inputs:
|
|
3880
|
+
* - `yuwSidebarMenuAvatarButton`: Boolean; whether the avatar geometry class is applied. An empty attribute counts as `true`; `false` applies nothing. Default is `true`.
|
|
3704
3881
|
*/
|
|
3705
3882
|
declare class YuwSidebarMenuAvatarButtonDirective {
|
|
3706
3883
|
readonly enabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -3747,6 +3924,9 @@ declare class YuwSidebarSeparatorDirective {
|
|
|
3747
3924
|
*
|
|
3748
3925
|
* `label` is the accessible label of the rail button (it has no visible text). User-facing text —
|
|
3749
3926
|
* the consuming app is responsible for providing it already translated.
|
|
3927
|
+
*
|
|
3928
|
+
* Inputs:
|
|
3929
|
+
* - `label`: Required accessible label (`aria-label`) of the rail button.
|
|
3750
3930
|
*/
|
|
3751
3931
|
declare class YuwSidebarRailDirective {
|
|
3752
3932
|
readonly label: _angular_core.InputSignal<string>;
|