@4sh/ui-kit 0.16.0 → 0.17.0
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/README.fr.md +10 -10
- package/README.md +10 -10
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -1000
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2048
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -138
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -257
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -312
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -199
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -137
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms.mjs +721 -638
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
- package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
- package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
- package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
- package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-types.mjs +0 -12
- package/fesm2022/4sh-ui-kit.mjs +3 -15
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/mcp/data/component-api.json +299 -2
- package/mcp/data/text-search-docs.json +149 -9
- package/mcp/data/ui-config.json +378 -1
- package/mcp/index.js +8190 -2876
- package/mcp/package.json +1 -1
- package/package.json +5 -1
- package/styles/component-vars.scss +22 -1
- package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
- package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
- package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
- package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
- package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
- package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
- package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +573 -376
- package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
- package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
- package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
- package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
- package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
- package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
- package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
- package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -59
- package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -96
- package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -104
- package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
- package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -118
- package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
- package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
- package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
- package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
- package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
- package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
- package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
- package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
- package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
- package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -56
- package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
- package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
- package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
- package/types/4sh-ui-kit-forms.d.ts +275 -194
- package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
- package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
- package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
- package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
- package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
- package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
- package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
- package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
- package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
- package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
- package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
- package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
- package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
- package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
- package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
- package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
- package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
- package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
- package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
- package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
- package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
- package/types/4sh-ui-kit-motion.d.ts +117 -67
- package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
- package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
- package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
- package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
- package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
- package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
- package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
- package/types/4sh-ui-kit-overlay.d.ts +6 -6
- package/types/4sh-ui-kit-ripple.d.ts +99 -74
- package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
- package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
- package/types/4sh-ui-kit-theming.d.ts +27 -29
- package/types/4sh-ui-kit-types.d.ts +6 -5
- package/types/4sh-ui-kit.d.ts +4 -3
- package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { ElementRef, TemplateRef } from "@angular/core";
|
|
4
6
|
/** Identifier of a tab / panel pair (matched against the container `value`). */
|
|
5
|
-
type UiTabValue = string | number;
|
|
7
|
+
export type UiTabValue = string | number;
|
|
6
8
|
/** Layout axis of the tab list. */
|
|
7
|
-
type UiTabsOrientation = 'horizontal' | 'vertical';
|
|
9
|
+
export type UiTabsOrientation = 'horizontal' | 'vertical';
|
|
8
10
|
/** Position of a tab's icon relative to its label. */
|
|
9
|
-
type UiTabIconPos = 'left' | 'right';
|
|
11
|
+
export type UiTabIconPos = 'left' | 'right';
|
|
10
12
|
/** Payload emitted when the active tab changes. */
|
|
11
|
-
interface UiTabsChangeEvent {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
export interface UiTabsChangeEvent {
|
|
14
|
+
/** Value of the tab that became active. */
|
|
15
|
+
value: UiTabValue;
|
|
16
|
+
/** Originating DOM event (click / keyboard / focus). */
|
|
17
|
+
originalEvent: Event;
|
|
16
18
|
}
|
|
17
19
|
/** @ignore Measured geometry of the active-tab indicator bar. */
|
|
18
20
|
interface ActiveBarMetrics {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
/** Offset along the main axis (px) from the tab list origin. */
|
|
22
|
+
offset: number;
|
|
23
|
+
/** Length along the main axis (px): tab width (horizontal) or height (vertical). */
|
|
24
|
+
length: number;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
* ui-tab , a single tab button inside a {@link UiTabList}.
|
|
@@ -32,33 +34,59 @@ interface ActiveBarMetrics {
|
|
|
32
34
|
* Declared before {@link UiTabList} / {@link UiTabs} so their content queries
|
|
33
35
|
* can reference it without a temporal-dead-zone error at class-definition time.
|
|
34
36
|
*/
|
|
35
|
-
declare class UiTab {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
37
|
+
export declare class UiTab {
|
|
38
|
+
/** Identifier of this tab (matched against the container `value`). */
|
|
39
|
+
value: import("@angular/core").InputSignal<UiTabValue>;
|
|
40
|
+
/** Disable the tab (not selectable, skipped by keyboard navigation). */
|
|
41
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
42
|
+
/** Optional leading (or trailing) icon name. */
|
|
43
|
+
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
44
|
+
/** Icon position relative to the label. */
|
|
45
|
+
iconPos: import("@angular/core").InputSignal<UiTabIconPos>;
|
|
46
|
+
/** Accessible name override (falls back to the projected label). */
|
|
47
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
48
|
+
/** @ignore Parent container (owns the active state + group options). */
|
|
49
|
+
protected readonly tabs: UiTabs;
|
|
50
|
+
/** @ignore The native tab button (for focus + indicator measurement). */
|
|
51
|
+
readonly buttonEl: import("@angular/core").Signal<ElementRef<HTMLButtonElement>>;
|
|
52
|
+
/** @ignore Whether this tab is the active one. */
|
|
53
|
+
readonly active: import("@angular/core").Signal<boolean>;
|
|
54
|
+
/** @ignore Roving tabindex: only the group's tab stop is reachable via Tab. */
|
|
55
|
+
protected readonly tabindex: import("@angular/core").Signal<number>;
|
|
56
|
+
/** Move focus to this tab's button. */
|
|
57
|
+
focus(options?: FocusOptions): void;
|
|
58
|
+
/** @ignore */
|
|
59
|
+
protected onClick(event: MouseEvent): void;
|
|
60
|
+
/** @ignore Automatic activation on focus (when the group opts in). */
|
|
61
|
+
protected onFocus(event: FocusEvent): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTab, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTab, "ui-tab", never, {
|
|
64
|
+
"value": {
|
|
65
|
+
"alias": "value";
|
|
66
|
+
"required": true;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"disabled": {
|
|
70
|
+
"alias": "disabled";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"icon": {
|
|
75
|
+
"alias": "icon";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"iconPos": {
|
|
80
|
+
"alias": "iconPos";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"ariaLabel": {
|
|
85
|
+
"alias": "ariaLabel";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
}, {}, never, ["*"], true, never>;
|
|
62
90
|
}
|
|
63
91
|
/**
|
|
64
92
|
* ui-tab-panel , the content region tied to a {@link UiTab} by shared `value`.
|
|
@@ -68,26 +96,37 @@ declare class UiTab {
|
|
|
68
96
|
* is rendered only once the panel is first activated; wrap expensive content in
|
|
69
97
|
* a `<ng-template #content>` so it initialises lazily.
|
|
70
98
|
*/
|
|
71
|
-
declare class UiTabPanel {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
99
|
+
export declare class UiTabPanel {
|
|
100
|
+
/** Identifier of this panel (matched against the container `value`). */
|
|
101
|
+
value: import("@angular/core").InputSignal<UiTabValue>;
|
|
102
|
+
/** Render this panel's content only once it is first activated (overrides the group default). */
|
|
103
|
+
lazy: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
104
|
+
/** Optional lazy content template (`<ng-template #content>`). */
|
|
105
|
+
protected readonly content: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
106
|
+
/** @ignore Parent container (active state + group `lazy` default). */
|
|
107
|
+
protected readonly tabs: UiTabs;
|
|
108
|
+
/** @ignore */
|
|
109
|
+
protected readonly active: import("@angular/core").Signal<boolean>;
|
|
110
|
+
/** @ignore Panel-level `lazy` overrides the group default when explicitly set. */
|
|
111
|
+
private readonly isLazy;
|
|
112
|
+
/** @ignore Sticks once the panel has been activated at least once. */
|
|
113
|
+
private readonly hasRendered;
|
|
114
|
+
constructor();
|
|
115
|
+
/** @ignore Eager panels always render; lazy ones only after first activation. */
|
|
116
|
+
protected readonly shouldRender: import("@angular/core").Signal<boolean>;
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTabPanel, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTabPanel, "ui-tab-panel", never, {
|
|
119
|
+
"value": {
|
|
120
|
+
"alias": "value";
|
|
121
|
+
"required": true;
|
|
122
|
+
"isSignal": true;
|
|
123
|
+
};
|
|
124
|
+
"lazy": {
|
|
125
|
+
"alias": "lazy";
|
|
126
|
+
"required": false;
|
|
127
|
+
"isSignal": true;
|
|
128
|
+
};
|
|
129
|
+
}, {}, ["content"], ["*"], true, never>;
|
|
91
130
|
}
|
|
92
131
|
/**
|
|
93
132
|
* ui-tab-list , the horizontal (or vertical) strip of {@link UiTab} buttons.
|
|
@@ -97,68 +136,84 @@ declare class UiTabPanel {
|
|
|
97
136
|
* from the active tab, and , when the container is `scrollable` , the prev/next
|
|
98
137
|
* navigators that scroll the overflowing strip.
|
|
99
138
|
*/
|
|
100
|
-
declare class UiTabList {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
139
|
+
export declare class UiTabList {
|
|
140
|
+
/** Accessible name for the tab list (recommended). */
|
|
141
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
142
|
+
/** Accessible name of the "previous" scroll navigator. */
|
|
143
|
+
prevAriaLabel: import("@angular/core").InputSignal<string>;
|
|
144
|
+
/** Accessible name of the "next" scroll navigator. */
|
|
145
|
+
nextAriaLabel: import("@angular/core").InputSignal<string>;
|
|
146
|
+
/** @ignore Parent container (state + group options). */
|
|
147
|
+
protected readonly tabs: UiTabs;
|
|
148
|
+
/** @ignore */
|
|
149
|
+
private readonly destroyRef;
|
|
150
|
+
/** @ignore Tabs projected into this list, in DOM order. */
|
|
151
|
+
private readonly tabItems;
|
|
152
|
+
/** @ignore Scroll viewport around the tab strip. */
|
|
153
|
+
private readonly scrollEl;
|
|
154
|
+
/** @ignore The `role="tablist"` inner element (indicator's offset parent). */
|
|
155
|
+
private readonly innerEl;
|
|
156
|
+
/** @ignore Measured indicator geometry (null when there is no active tab). */
|
|
157
|
+
protected readonly bar: import("@angular/core").WritableSignal<ActiveBarMetrics | null>;
|
|
158
|
+
/** @ignore Bumped by the ResizeObserver / scroll to re-measure. */
|
|
159
|
+
private readonly resizeTick;
|
|
160
|
+
/** @ignore Whether scrolling further back is possible. */
|
|
161
|
+
protected readonly prevEnabled: import("@angular/core").WritableSignal<boolean>;
|
|
162
|
+
/** @ignore Whether scrolling further forward is possible. */
|
|
163
|
+
protected readonly nextEnabled: import("@angular/core").WritableSignal<boolean>;
|
|
164
|
+
/** @ignore */
|
|
165
|
+
protected readonly orientation: import("@angular/core").Signal<UiTabsOrientation>;
|
|
166
|
+
/** @ignore */
|
|
167
|
+
protected readonly scrollable: import("@angular/core").Signal<boolean>;
|
|
168
|
+
/** @ignore Navigators render only when scrollable AND explicitly enabled. */
|
|
169
|
+
protected readonly showNavigators: import("@angular/core").Signal<boolean>;
|
|
170
|
+
constructor();
|
|
171
|
+
/** @ignore CSS transform positioning the indicator along the main axis. */
|
|
172
|
+
protected readonly barTransform: import("@angular/core").Signal<string | null>;
|
|
173
|
+
/** @ignore Roving focus across enabled tabs (WAI-ARIA tabs pattern). */
|
|
174
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
175
|
+
/**
|
|
176
|
+
* @ignore Bring the given tab fully inside the scroll viewport, scrolling by
|
|
177
|
+
* the minimum needed along the active axis. Uses the viewport's own metrics
|
|
178
|
+
* (never the page): a tab clipped at either edge slides back into view.
|
|
179
|
+
*/
|
|
180
|
+
private scrollIntoView;
|
|
181
|
+
/** @ignore Refresh the prev/next enabled state from the scroll position. */
|
|
182
|
+
private updateNavigators;
|
|
183
|
+
/** @ignore */
|
|
184
|
+
protected onScroll(): void;
|
|
185
|
+
/**
|
|
186
|
+
* @ignore Scroll the strip by roughly one viewport in the given direction.
|
|
187
|
+
* Smoothness comes from the container's CSS `scroll-behavior` (motion-aware),
|
|
188
|
+
* not the JS `behavior` option.
|
|
189
|
+
*/
|
|
190
|
+
protected scrollBy(direction: -1 | 1): void;
|
|
191
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTabList, never>;
|
|
192
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTabList, "ui-tab-list", never, {
|
|
193
|
+
"ariaLabel": {
|
|
194
|
+
"alias": "ariaLabel";
|
|
195
|
+
"required": false;
|
|
196
|
+
"isSignal": true;
|
|
197
|
+
};
|
|
198
|
+
"prevAriaLabel": {
|
|
199
|
+
"alias": "prevAriaLabel";
|
|
200
|
+
"required": false;
|
|
201
|
+
"isSignal": true;
|
|
202
|
+
};
|
|
203
|
+
"nextAriaLabel": {
|
|
204
|
+
"alias": "nextAriaLabel";
|
|
205
|
+
"required": false;
|
|
206
|
+
"isSignal": true;
|
|
207
|
+
};
|
|
208
|
+
}, {}, ["tabItems"], ["*"], true, never>;
|
|
154
209
|
}
|
|
155
210
|
/**
|
|
156
211
|
* ui-tab-panels , thin wrapper grouping the {@link UiTabPanel}s. Fills the
|
|
157
212
|
* remaining space beside/under the tab list.
|
|
158
213
|
*/
|
|
159
|
-
declare class UiTabPanels {
|
|
160
|
-
|
|
161
|
-
|
|
214
|
+
export declare class UiTabPanels {
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTabPanels, never>;
|
|
216
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTabPanels, "ui-tab-panels", never, {}, {}, never, ["*"], true, never>;
|
|
162
217
|
}
|
|
163
218
|
/**
|
|
164
219
|
* ui-tabs , headless container orchestrating a set of tabs and their panels.
|
|
@@ -185,58 +240,105 @@ declare class UiTabPanels {
|
|
|
185
240
|
* </ui-tabs>
|
|
186
241
|
* ```
|
|
187
242
|
*/
|
|
188
|
-
declare class UiTabs {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
243
|
+
export declare class UiTabs {
|
|
244
|
+
/** Value of the active tab (two-way). `undefined` = no active tab. */
|
|
245
|
+
value: import("@angular/core").ModelSignal<UiTabValue | undefined>;
|
|
246
|
+
/** Layout axis: `horizontal` (list on top) or `vertical` (list on the side). */
|
|
247
|
+
orientation: import("@angular/core").InputSignal<UiTabsOrientation>;
|
|
248
|
+
/** Enable overflow scrolling of the tab list with prev/next navigators. */
|
|
249
|
+
scrollable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
250
|
+
/** Group default: render an inactive tab's panel only once it is first activated. */
|
|
251
|
+
lazy: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
252
|
+
/** Activate a tab as soon as it receives keyboard focus (automatic activation). */
|
|
253
|
+
selectOnFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
254
|
+
/** Show the prev/next navigators when `scrollable` (they still gate on overflow). */
|
|
255
|
+
showNavigators: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
256
|
+
/** Animate the active indicator and panel transitions (reduced-motion always wins). */
|
|
257
|
+
motion: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
258
|
+
/** Ripple Effect */
|
|
259
|
+
ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
260
|
+
/** Tabindex applied to the active tab (the group's single tab stop). */
|
|
261
|
+
tabindex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
262
|
+
/** Fired whenever the active tab changes (user click / keyboard / focus). */
|
|
263
|
+
tabChange: import("@angular/core").OutputEmitterRef<UiTabsChangeEvent>;
|
|
264
|
+
/** @ignore Unique id root for aria wiring between tabs and panels. */
|
|
265
|
+
readonly id: string;
|
|
266
|
+
/** @ignore All tabs projected under this container (across the list boundary). */
|
|
267
|
+
private readonly tabs;
|
|
268
|
+
/** @ignore Whether a `ui-tab-panels` wrapper is projected at all — some consumers use
|
|
269
|
+
* `ui-tabs` as a navigation menu with no panel (a router outlet renders the content
|
|
270
|
+
* instead, see the `TabMenu` story). `aria-controls` must not point at an id that resolves
|
|
271
|
+
* to nothing. A single presence check on the wrapper (rather than a second
|
|
272
|
+
* `contentChildren` query matched per tab value) — two sibling content-children queries on
|
|
273
|
+
* this component broke `<ng-content>` projection for every `UiTab` but the first, a real
|
|
274
|
+
* Angular/Ivy interaction, not something worth chasing further; this is the query-count-1
|
|
275
|
+
* workaround. */
|
|
276
|
+
private readonly hasPanels;
|
|
277
|
+
/** @ignore id of the tab button for a given value. */
|
|
278
|
+
tabId(value: UiTabValue): string;
|
|
279
|
+
/** @ignore id of the panel for a given value — `null` when no `ui-tab-panels` wrapper is
|
|
280
|
+
* projected at all (see `hasPanels` above), so the tab omits `aria-controls` rather than
|
|
281
|
+
* dangle it. */
|
|
282
|
+
panelId(value: UiTabValue): string | null;
|
|
283
|
+
/** @ignore Whether the given value is the active tab. */
|
|
284
|
+
isActive(value: UiTabValue): boolean;
|
|
285
|
+
/**
|
|
286
|
+
* @ignore Value that owns the group's single tab stop (roving tabindex):
|
|
287
|
+
* the active tab, or the first enabled tab when none is active.
|
|
288
|
+
*/
|
|
289
|
+
readonly tabStopValue: import("@angular/core").Signal<UiTabValue | undefined>;
|
|
290
|
+
/** @ignore Activate a tab (no-op if already active); emits `tabChange`. */
|
|
291
|
+
updateValue(value: UiTabValue, event: Event): void;
|
|
292
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTabs, never>;
|
|
293
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTabs, "ui-tabs", never, {
|
|
294
|
+
"value": {
|
|
295
|
+
"alias": "value";
|
|
296
|
+
"required": false;
|
|
297
|
+
"isSignal": true;
|
|
298
|
+
};
|
|
299
|
+
"orientation": {
|
|
300
|
+
"alias": "orientation";
|
|
301
|
+
"required": false;
|
|
302
|
+
"isSignal": true;
|
|
303
|
+
};
|
|
304
|
+
"scrollable": {
|
|
305
|
+
"alias": "scrollable";
|
|
306
|
+
"required": false;
|
|
307
|
+
"isSignal": true;
|
|
308
|
+
};
|
|
309
|
+
"lazy": {
|
|
310
|
+
"alias": "lazy";
|
|
311
|
+
"required": false;
|
|
312
|
+
"isSignal": true;
|
|
313
|
+
};
|
|
314
|
+
"selectOnFocus": {
|
|
315
|
+
"alias": "selectOnFocus";
|
|
316
|
+
"required": false;
|
|
317
|
+
"isSignal": true;
|
|
318
|
+
};
|
|
319
|
+
"showNavigators": {
|
|
320
|
+
"alias": "showNavigators";
|
|
321
|
+
"required": false;
|
|
322
|
+
"isSignal": true;
|
|
323
|
+
};
|
|
324
|
+
"motion": {
|
|
325
|
+
"alias": "motion";
|
|
326
|
+
"required": false;
|
|
327
|
+
"isSignal": true;
|
|
328
|
+
};
|
|
329
|
+
"ripple": {
|
|
330
|
+
"alias": "ripple";
|
|
331
|
+
"required": false;
|
|
332
|
+
"isSignal": true;
|
|
333
|
+
};
|
|
334
|
+
"tabindex": {
|
|
335
|
+
"alias": "tabindex";
|
|
336
|
+
"required": false;
|
|
337
|
+
"isSignal": true;
|
|
338
|
+
};
|
|
339
|
+
}, {
|
|
340
|
+
"value": "valueChange";
|
|
341
|
+
"tabChange": "tabChange";
|
|
342
|
+
}, ["tabs", "hasPanels"], ["*"], true, never>;
|
|
239
343
|
}
|
|
240
|
-
|
|
241
|
-
export { UiTab, UiTabList, UiTabPanel, UiTabPanels, UiTabs };
|
|
242
|
-
export type { UiTabIconPos, UiTabValue, UiTabsChangeEvent, UiTabsOrientation };
|
|
344
|
+
export {};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
1
4
|
/**
|
|
2
5
|
* Background scroll lock shared by every full-screen overlay of the kit
|
|
3
6
|
* (modal, drawer, bottom-sheet, sidebar, image preview).
|
|
@@ -24,14 +27,13 @@
|
|
|
24
27
|
*
|
|
25
28
|
* @param doc The document owning the `body` to freeze (inject `DOCUMENT`).
|
|
26
29
|
*/
|
|
27
|
-
declare function lockBodyScroll(doc: Document): void;
|
|
30
|
+
export declare function lockBodyScroll(doc: Document): void;
|
|
28
31
|
/**
|
|
29
32
|
* Release one scroll lock; restore the body when the last overlay closes.
|
|
30
33
|
*
|
|
31
34
|
* @param doc The document passed to the matching {@link lockBodyScroll}.
|
|
32
35
|
*/
|
|
33
|
-
declare function unlockBodyScroll(doc: Document): void;
|
|
34
|
-
|
|
36
|
+
export declare function unlockBodyScroll(doc: Document): void;
|
|
35
37
|
/**
|
|
36
38
|
* Auto-dismiss shared by every floating panel of the kit (menu, context menu,
|
|
37
39
|
* popover, select, autocomplete, input-tags, datepicker, tooltip).
|
|
@@ -60,6 +62,4 @@ declare function unlockBodyScroll(doc: Document): void;
|
|
|
60
62
|
* @param close Closing callback — must be idempotent (it may fire on a panel
|
|
61
63
|
* that is already closed) and must not steal focus, the navigation owns it.
|
|
62
64
|
*/
|
|
63
|
-
declare function closeOnNavigation(close: () => void): void;
|
|
64
|
-
|
|
65
|
-
export { closeOnNavigation, lockBodyScroll, unlockBodyScroll };
|
|
65
|
+
export declare function closeOnNavigation(close: () => void): void;
|