@4sh/ui-kit 0.15.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 +18 -10
- package/README.md +18 -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 -953
- 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 -2039
- 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 -130
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -246
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -291
- 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 -194
- 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 -131
- 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 +723 -596
- 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 +313 -2
- package/mcp/data/text-search-docs.json +177 -17
- 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/styles/utils/_mixins.scss +11 -0
- 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 +577 -367
- 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 -57
- package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -93
- package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -100
- package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
- package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -116
- 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 -54
- 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 +291 -186
- 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,15 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import { UiIconType } from "@4sh/ui-kit/base/ui-icon";
|
|
5
|
+
import { UiLevel } from "@4sh/ui-kit/types";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
5
7
|
/** Identifier of a bottom tab (matched against the bar `value`). */
|
|
6
|
-
type UiBottomTabValue = string | number;
|
|
8
|
+
export type UiBottomTabValue = string | number;
|
|
7
9
|
/** Payload emitted when the active tab changes. */
|
|
8
|
-
interface UiBottomTabBarChangeEvent {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
export interface UiBottomTabBarChangeEvent {
|
|
11
|
+
/** Value of the tab that became active. */
|
|
12
|
+
value: UiBottomTabValue;
|
|
13
|
+
/** Originating DOM event (click / keyboard). */
|
|
14
|
+
originalEvent: Event;
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
17
|
* ui-bottom-tab , a single destination inside a {@link UiBottomTabBar}.
|
|
@@ -25,76 +27,144 @@ interface UiBottomTabBarChangeEvent {
|
|
|
25
27
|
* Declared before {@link UiBottomTabBar} so its `inject()` reference resolves
|
|
26
28
|
* at construction time without a temporal-dead-zone error.
|
|
27
29
|
*/
|
|
28
|
-
declare class UiBottomTab {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
30
|
+
export declare class UiBottomTab {
|
|
31
|
+
/** Identifier of this tab (matched against the bar `value`). */
|
|
32
|
+
value: import("@angular/core").InputSignal<UiBottomTabValue>;
|
|
33
|
+
/** Visible label under the icon. Omit it for an icon-only tab (then `ariaLabel` names it). */
|
|
34
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
35
|
+
/** Icon name in the resting state. */
|
|
36
|
+
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
37
|
+
/** Icon name once active (falls back to `icon`). */
|
|
38
|
+
activeIcon: import("@angular/core").InputSignal<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Icon variant in the resting state. Set it to `outline` to get the classic
|
|
41
|
+
* outline → filled swap on activation, `activeIconType` already being `solid`
|
|
42
|
+
* , but check the icon exists in the family's outline set first (FontAwesome
|
|
43
|
+
* Free only ships a handful).
|
|
44
|
+
*/
|
|
45
|
+
iconType: import("@angular/core").InputSignal<UiIconType>;
|
|
46
|
+
/** Icon variant once active. */
|
|
47
|
+
activeIconType: import("@angular/core").InputSignal<UiIconType>;
|
|
48
|
+
/** Disable the tab (not activable, skipped by the arrow keys). */
|
|
49
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
50
|
+
/** Accessible name override (mandatory when no label is visible). */
|
|
51
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
52
|
+
/** Press wave on this tab. `false` opts it out, global activation included. */
|
|
53
|
+
ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
54
|
+
/** External / plain URL. Presence switches the control to an `<a>`. */
|
|
55
|
+
href: import("@angular/core").InputSignal<string | undefined>;
|
|
56
|
+
/** Angular router target. Presence switches the control to an `<a>` (RouterLink). */
|
|
57
|
+
routerLink: import("@angular/core").InputSignal<string | unknown[] | undefined>;
|
|
58
|
+
/** Anchor target (e.g. "_blank"). Link mode only. */
|
|
59
|
+
target: import("@angular/core").InputSignal<string | undefined>;
|
|
60
|
+
/** Anchor rel. Defaults to "noopener noreferrer" when target="_blank". */
|
|
61
|
+
rel: import("@angular/core").InputSignal<string | undefined>;
|
|
62
|
+
/** Fired on activation (click, Enter/Space), even when already active. */
|
|
63
|
+
tabClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
64
|
+
/** @ignore Parent bar (owns the active value + the shared options). */
|
|
65
|
+
protected readonly bar: UiBottomTabBar;
|
|
66
|
+
/** @ignore The native control, for programmatic focus. */
|
|
67
|
+
private readonly controlEl;
|
|
68
|
+
/** @ignore Whether this tab is the active one. */
|
|
69
|
+
readonly active: import("@angular/core").Signal<boolean>;
|
|
70
|
+
/** @ignore Label rendered only when provided AND the bar shows labels. */
|
|
71
|
+
protected readonly labelVisible: import("@angular/core").Signal<boolean>;
|
|
72
|
+
/** @ignore Icon swapped on activation (filled once selected, outlined otherwise). */
|
|
73
|
+
protected readonly resolvedIcon: import("@angular/core").Signal<string | undefined>;
|
|
74
|
+
/** @ignore */
|
|
75
|
+
protected readonly resolvedIconType: import("@angular/core").Signal<UiIconType>;
|
|
76
|
+
/**
|
|
77
|
+
* @ignore Accessible name: explicit, otherwise the hidden label. Left `null`
|
|
78
|
+
* when the label is visible , the control's own text names it.
|
|
79
|
+
*/
|
|
80
|
+
protected readonly accessibleLabel: import("@angular/core").Signal<string | null>;
|
|
81
|
+
/** @ignore Press wave: opted out on the tab, or on the whole bar. */
|
|
82
|
+
protected readonly rippleOn: import("@angular/core").Signal<boolean>;
|
|
83
|
+
/** @ignore Control renders an `<a>` (a URL or a router target was provided). */
|
|
84
|
+
protected readonly isLink: import("@angular/core").Signal<boolean>;
|
|
85
|
+
/** @ignore */
|
|
86
|
+
protected readonly useRouterLink: import("@angular/core").Signal<boolean>;
|
|
87
|
+
/** @ignore Anchor rel: explicit, or a safe default for target="_blank". */
|
|
88
|
+
protected readonly computedRel: import("@angular/core").Signal<string | null>;
|
|
89
|
+
/** @ignore An `<a>` has no native `disabled`: take it out of the tab order. */
|
|
90
|
+
protected readonly linkTabindex: import("@angular/core").Signal<-1 | null>;
|
|
91
|
+
/** @ignore */
|
|
92
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
93
|
+
constructor();
|
|
94
|
+
/** Move focus to this tab's control. */
|
|
95
|
+
focus(options?: FocusOptions): void;
|
|
96
|
+
/** @ignore */
|
|
97
|
+
protected onClick(event: MouseEvent): void;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBottomTab, never>;
|
|
99
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBottomTab, "ui-bottom-tab", never, {
|
|
100
|
+
"value": {
|
|
101
|
+
"alias": "value";
|
|
102
|
+
"required": true;
|
|
103
|
+
"isSignal": true;
|
|
104
|
+
};
|
|
105
|
+
"label": {
|
|
106
|
+
"alias": "label";
|
|
107
|
+
"required": false;
|
|
108
|
+
"isSignal": true;
|
|
109
|
+
};
|
|
110
|
+
"icon": {
|
|
111
|
+
"alias": "icon";
|
|
112
|
+
"required": false;
|
|
113
|
+
"isSignal": true;
|
|
114
|
+
};
|
|
115
|
+
"activeIcon": {
|
|
116
|
+
"alias": "activeIcon";
|
|
117
|
+
"required": false;
|
|
118
|
+
"isSignal": true;
|
|
119
|
+
};
|
|
120
|
+
"iconType": {
|
|
121
|
+
"alias": "iconType";
|
|
122
|
+
"required": false;
|
|
123
|
+
"isSignal": true;
|
|
124
|
+
};
|
|
125
|
+
"activeIconType": {
|
|
126
|
+
"alias": "activeIconType";
|
|
127
|
+
"required": false;
|
|
128
|
+
"isSignal": true;
|
|
129
|
+
};
|
|
130
|
+
"disabled": {
|
|
131
|
+
"alias": "disabled";
|
|
132
|
+
"required": false;
|
|
133
|
+
"isSignal": true;
|
|
134
|
+
};
|
|
135
|
+
"ariaLabel": {
|
|
136
|
+
"alias": "ariaLabel";
|
|
137
|
+
"required": false;
|
|
138
|
+
"isSignal": true;
|
|
139
|
+
};
|
|
140
|
+
"ripple": {
|
|
141
|
+
"alias": "ripple";
|
|
142
|
+
"required": false;
|
|
143
|
+
"isSignal": true;
|
|
144
|
+
};
|
|
145
|
+
"href": {
|
|
146
|
+
"alias": "href";
|
|
147
|
+
"required": false;
|
|
148
|
+
"isSignal": true;
|
|
149
|
+
};
|
|
150
|
+
"routerLink": {
|
|
151
|
+
"alias": "routerLink";
|
|
152
|
+
"required": false;
|
|
153
|
+
"isSignal": true;
|
|
154
|
+
};
|
|
155
|
+
"target": {
|
|
156
|
+
"alias": "target";
|
|
157
|
+
"required": false;
|
|
158
|
+
"isSignal": true;
|
|
159
|
+
};
|
|
160
|
+
"rel": {
|
|
161
|
+
"alias": "rel";
|
|
162
|
+
"required": false;
|
|
163
|
+
"isSignal": true;
|
|
164
|
+
};
|
|
165
|
+
}, {
|
|
166
|
+
"tabClick": "tabClick";
|
|
167
|
+
}, never, ["*"], true, never>;
|
|
98
168
|
}
|
|
99
169
|
/**
|
|
100
170
|
* ui-bottom-tab-action , the circular action raised above a
|
|
@@ -104,32 +174,65 @@ declare class UiBottomTab {
|
|
|
104
174
|
* it anywhere among the tabs , between the second and the third for the classic
|
|
105
175
|
* centred layout. Always icon-only, so `ariaLabel` is mandatory.
|
|
106
176
|
*/
|
|
107
|
-
declare class UiBottomTabAction {
|
|
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
|
-
|
|
177
|
+
export declare class UiBottomTabAction {
|
|
178
|
+
/** Icon name. */
|
|
179
|
+
icon: import("@angular/core").InputSignal<string>;
|
|
180
|
+
/** Icon variant. */
|
|
181
|
+
iconType: import("@angular/core").InputSignal<UiIconType>;
|
|
182
|
+
/** Colour family, mapped onto the `actions.{level}` tokens. */
|
|
183
|
+
level: import("@angular/core").InputSignal<UiLevel>;
|
|
184
|
+
/** Accessible name , mandatory, the button carries no visible text. */
|
|
185
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
186
|
+
/** Disable the action (native attribute). */
|
|
187
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
188
|
+
/** Press wave on this action. `false` opts it out, global activation included. */
|
|
189
|
+
ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
190
|
+
/** Fired on click (never when disabled). */
|
|
191
|
+
actionClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
192
|
+
/** @ignore */
|
|
193
|
+
private readonly controlEl;
|
|
194
|
+
/** @ignore */
|
|
195
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
196
|
+
constructor();
|
|
197
|
+
/** Move focus to the action button. */
|
|
198
|
+
focus(options?: FocusOptions): void;
|
|
199
|
+
/** @ignore */
|
|
200
|
+
protected onClick(event: MouseEvent): void;
|
|
201
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBottomTabAction, never>;
|
|
202
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBottomTabAction, "ui-bottom-tab-action", never, {
|
|
203
|
+
"icon": {
|
|
204
|
+
"alias": "icon";
|
|
205
|
+
"required": false;
|
|
206
|
+
"isSignal": true;
|
|
207
|
+
};
|
|
208
|
+
"iconType": {
|
|
209
|
+
"alias": "iconType";
|
|
210
|
+
"required": false;
|
|
211
|
+
"isSignal": true;
|
|
212
|
+
};
|
|
213
|
+
"level": {
|
|
214
|
+
"alias": "level";
|
|
215
|
+
"required": false;
|
|
216
|
+
"isSignal": true;
|
|
217
|
+
};
|
|
218
|
+
"ariaLabel": {
|
|
219
|
+
"alias": "ariaLabel";
|
|
220
|
+
"required": false;
|
|
221
|
+
"isSignal": true;
|
|
222
|
+
};
|
|
223
|
+
"disabled": {
|
|
224
|
+
"alias": "disabled";
|
|
225
|
+
"required": false;
|
|
226
|
+
"isSignal": true;
|
|
227
|
+
};
|
|
228
|
+
"ripple": {
|
|
229
|
+
"alias": "ripple";
|
|
230
|
+
"required": false;
|
|
231
|
+
"isSignal": true;
|
|
232
|
+
};
|
|
233
|
+
}, {
|
|
234
|
+
"actionClick": "actionClick";
|
|
235
|
+
}, never, never, true, never>;
|
|
133
236
|
}
|
|
134
237
|
/**
|
|
135
238
|
* ui-bottom-tab-bar , bottom navigation bar for touch devices (mobile, tablet).
|
|
@@ -160,42 +263,73 @@ declare class UiBottomTabAction {
|
|
|
160
263
|
* </ui-bottom-tab-bar>
|
|
161
264
|
* ```
|
|
162
265
|
*/
|
|
163
|
-
declare class UiBottomTabBar {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
266
|
+
export declare class UiBottomTabBar {
|
|
267
|
+
/** Value of the active tab (two-way). `undefined` = no active tab. */
|
|
268
|
+
value: import("@angular/core").ModelSignal<UiBottomTabValue | undefined>;
|
|
269
|
+
/** Accessible name of the navigation landmark. */
|
|
270
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
271
|
+
/** Show the tabs' labels. `false` renders an icon-only bar. */
|
|
272
|
+
showLabels: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
273
|
+
/** Reserve the system inset under the bar (iOS home indicator, Android gesture bar). */
|
|
274
|
+
safeArea: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
275
|
+
/** Lay the bar out inside its positioned ancestor instead of the viewport. */
|
|
276
|
+
contained: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
277
|
+
/** Press wave on the tabs. `false` cuts it on this bar, global activation included. */
|
|
278
|
+
ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
279
|
+
/** Fired whenever the active tab changes (click / keyboard). */
|
|
280
|
+
tabChange: import("@angular/core").OutputEmitterRef<UiBottomTabBarChangeEvent>;
|
|
281
|
+
/** @ignore The `<nav>` landmark (arrow-key walking happens inside it). */
|
|
282
|
+
private readonly navEl;
|
|
283
|
+
/** @ignore */
|
|
284
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
285
|
+
/** @ignore Whether the given value is the active tab. */
|
|
286
|
+
isActive(value: UiBottomTabValue): boolean;
|
|
287
|
+
/** @ignore Activate a tab (no-op if already active); emits `tabChange`. */
|
|
288
|
+
updateValue(value: UiBottomTabValue, event: Event): void;
|
|
289
|
+
/**
|
|
290
|
+
* @ignore Arrow keys / Home / End walk the bar's controls. This is additive:
|
|
291
|
+
* unlike the roving tabindex of the tabs pattern, every control keeps its
|
|
292
|
+
* place in the tab order , which is what a navigation landmark owes its users.
|
|
293
|
+
*
|
|
294
|
+
* The controls are read from the DOM rather than through a content query: the
|
|
295
|
+
* bar mixes two projected component types (tabs and the raised action), and a
|
|
296
|
+
* single query cannot see both.
|
|
297
|
+
*/
|
|
298
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
299
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBottomTabBar, never>;
|
|
300
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBottomTabBar, "ui-bottom-tab-bar", never, {
|
|
301
|
+
"value": {
|
|
302
|
+
"alias": "value";
|
|
303
|
+
"required": false;
|
|
304
|
+
"isSignal": true;
|
|
305
|
+
};
|
|
306
|
+
"ariaLabel": {
|
|
307
|
+
"alias": "ariaLabel";
|
|
308
|
+
"required": false;
|
|
309
|
+
"isSignal": true;
|
|
310
|
+
};
|
|
311
|
+
"showLabels": {
|
|
312
|
+
"alias": "showLabels";
|
|
313
|
+
"required": false;
|
|
314
|
+
"isSignal": true;
|
|
315
|
+
};
|
|
316
|
+
"safeArea": {
|
|
317
|
+
"alias": "safeArea";
|
|
318
|
+
"required": false;
|
|
319
|
+
"isSignal": true;
|
|
320
|
+
};
|
|
321
|
+
"contained": {
|
|
322
|
+
"alias": "contained";
|
|
323
|
+
"required": false;
|
|
324
|
+
"isSignal": true;
|
|
325
|
+
};
|
|
326
|
+
"ripple": {
|
|
327
|
+
"alias": "ripple";
|
|
328
|
+
"required": false;
|
|
329
|
+
"isSignal": true;
|
|
330
|
+
};
|
|
331
|
+
}, {
|
|
332
|
+
"value": "valueChange";
|
|
333
|
+
"tabChange": "tabChange";
|
|
334
|
+
}, never, ["*"], true, never>;
|
|
335
|
+
}
|