@4sh/ui-kit 0.13.0 → 0.15.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/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +2 -2
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +26 -2
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +8 -2
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +2 -2
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +18 -4
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +11 -4
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +4 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +6 -0
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +2 -2
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +2 -2
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +2 -2
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +4 -4
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +2 -2
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +2 -2
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +4 -4
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +103 -12
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +6 -6
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +5 -2
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2 -2
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/mcp/data/component-api.json +11710 -0
- package/mcp/data/text-search-docs.json +92 -72
- package/mcp/data/ui-config.json +6772 -26
- package/mcp/index.js +24 -2
- package/mcp/package.json +1 -1
- package/package.json +1 -1
- package/styles/base/_motion.scss +16 -16
- package/styles/component-vars.scss +7 -5
- package/styles/generated/_tokens-motion.scss +54 -0
- package/styles/generated/_tokens-transitions.scss +4 -4
- package/styles/generated/_tokens.scss +1 -0
- package/styles/settings/_ui-config.scss +23 -6
- package/styles/utils/_mixins.scss +28 -5
- package/styles/utils/_motion.scss +3 -3
- package/styles.css +1 -1
- package/types/4sh-ui-kit-actions-ui-button.d.ts +24 -0
- package/types/4sh-ui-kit-actions-ui-link.d.ts +6 -0
- package/types/4sh-ui-kit-base-ui-image.d.ts +14 -0
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +7 -0
- package/types/4sh-ui-kit-forms-ui-input-date.d.ts +2 -0
- package/types/4sh-ui-kit-informative-ui-badge.d.ts +6 -0
- package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +42 -3
- package/types/4sh-ui-kit-table-ui-paginator.d.ts +3 -0
|
@@ -15,7 +15,9 @@ type LinkSize = 'default' | 'small';
|
|
|
15
15
|
declare class UiLink {
|
|
16
16
|
/** Visible link text (optional when using projected content or icon-only). */
|
|
17
17
|
label: _angular_core.InputSignal<string | undefined>;
|
|
18
|
+
/** Accessible name. Required in icon-only mode; falls back to the label otherwise. */
|
|
18
19
|
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
20
|
+
/** Link size. */
|
|
19
21
|
size: _angular_core.InputSignal<LinkSize>;
|
|
20
22
|
/** External / plain URL. */
|
|
21
23
|
href: _angular_core.InputSignal<string | undefined>;
|
|
@@ -31,7 +33,11 @@ declare class UiLink {
|
|
|
31
33
|
iconLeft: _angular_core.InputSignal<string | undefined>;
|
|
32
34
|
/** FontAwesome icon name shown after the text. */
|
|
33
35
|
iconRight: _angular_core.InputSignal<string | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Disables the link: drops `href`/`routerLink`, sets `aria-disabled` and leaves the tab order.
|
|
38
|
+
*/
|
|
34
39
|
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
40
|
+
/** Native `tabindex` of the link. */
|
|
35
41
|
tabindex: _angular_core.InputSignal<number | undefined>;
|
|
36
42
|
/** aria-current exposed on the anchor (e.g. "page" for the current breadcrumb item). */
|
|
37
43
|
ariaCurrent: _angular_core.InputSignal<string | undefined>;
|
|
@@ -36,12 +36,19 @@ declare class UiImagePreview {
|
|
|
36
36
|
downloadName: _angular_core.InputSignal<string | undefined>;
|
|
37
37
|
/** Close when the mask around the image is clicked. */
|
|
38
38
|
dismissableMask: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
39
|
+
/** Accessible name of the zoom-in button. */
|
|
39
40
|
zoomInAriaLabel: _angular_core.InputSignal<string>;
|
|
41
|
+
/** Accessible name of the zoom-out button. */
|
|
40
42
|
zoomOutAriaLabel: _angular_core.InputSignal<string>;
|
|
43
|
+
/** Accessible name of the rotate-left button. */
|
|
41
44
|
rotateLeftAriaLabel: _angular_core.InputSignal<string>;
|
|
45
|
+
/** Accessible name of the rotate-right button. */
|
|
42
46
|
rotateRightAriaLabel: _angular_core.InputSignal<string>;
|
|
47
|
+
/** Accessible name of the button that resets zoom and rotation. */
|
|
43
48
|
resetAriaLabel: _angular_core.InputSignal<string>;
|
|
49
|
+
/** Accessible name of the download button. */
|
|
44
50
|
downloadAriaLabel: _angular_core.InputSignal<string>;
|
|
51
|
+
/** Accessible name of the close button. */
|
|
45
52
|
closeAriaLabel: _angular_core.InputSignal<string>;
|
|
46
53
|
/** Emitted when the view asks to be dismissed (Escape, close button, mask click). */
|
|
47
54
|
closed: _angular_core.OutputEmitterRef<void>;
|
|
@@ -136,12 +143,19 @@ declare class UiImage {
|
|
|
136
143
|
src: _angular_core.InputSignal<string | undefined>;
|
|
137
144
|
/** Local asset name (`assets-map.json` key) displayed when the main image fails to load. */
|
|
138
145
|
fallback: _angular_core.InputSignal<string | undefined>;
|
|
146
|
+
/** Loads the image eagerly with a high fetch priority (above-the-fold images); lazy otherwise. */
|
|
139
147
|
priority: _angular_core.InputSignal<boolean>;
|
|
148
|
+
/** Fills the parent box instead of using `width`/`height` (the parent must be positioned). */
|
|
140
149
|
fill: _angular_core.InputSignal<boolean>;
|
|
150
|
+
/** Rendered width; a number is read in `widthUnit`. */
|
|
141
151
|
width: _angular_core.InputSignal<string | number | undefined>;
|
|
152
|
+
/** Unit of a numeric `width` (`px` when absent). */
|
|
142
153
|
widthUnit: _angular_core.InputSignal<string | undefined>;
|
|
154
|
+
/** Rendered height; a number is read in `heightUnit`. Absent: the image keeps its ratio. */
|
|
143
155
|
height: _angular_core.InputSignal<string | number | undefined>;
|
|
156
|
+
/** Unit of a numeric `height` (`px` when absent). */
|
|
144
157
|
heightUnit: _angular_core.InputSignal<string | undefined>;
|
|
158
|
+
/** Alternative text. Absent: the image is decorative (`aria-hidden`). */
|
|
145
159
|
alt: _angular_core.InputSignal<string | undefined>;
|
|
146
160
|
/**
|
|
147
161
|
* Fetch `src` through `HttpClient` instead of letting the browser load it.
|
|
@@ -72,6 +72,7 @@ type UiFileUploadListSize = 'default' | 'small';
|
|
|
72
72
|
declare class UiFileUploadList {
|
|
73
73
|
/** The file to display (name/size/status/progress/preview). */
|
|
74
74
|
file: _angular_core.InputSignal<UiUploadFile>;
|
|
75
|
+
/** Size of the file rows. */
|
|
75
76
|
size: _angular_core.InputSignal<UiFileUploadListSize>;
|
|
76
77
|
/** FontAwesome icon for non-image files. */
|
|
77
78
|
icon: _angular_core.InputSignal<string>;
|
|
@@ -129,6 +130,7 @@ type UiFileUploadSize = 'default' | 'small';
|
|
|
129
130
|
declare class UiFileUpload {
|
|
130
131
|
/** `field` = compact input + Browse button; `drag` = full drop zone. */
|
|
131
132
|
mode: _angular_core.InputSignal<UiFileUploadMode>;
|
|
133
|
+
/** Size of the control, its buttons and its file list. */
|
|
132
134
|
size: _angular_core.InputSignal<UiFileUploadSize>;
|
|
133
135
|
/** Native `name`: a surrounding `<form>` submits the current selection under it. */
|
|
134
136
|
name: _angular_core.InputSignal<string | undefined>;
|
|
@@ -142,6 +144,7 @@ declare class UiFileUpload {
|
|
|
142
144
|
maxFileSize: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
143
145
|
/** Max number of files kept at once. */
|
|
144
146
|
fileLimit: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
147
|
+
/** Disables selection, drop and upload. */
|
|
145
148
|
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
146
149
|
/** Upload each file as soon as it is selected. */
|
|
147
150
|
auto: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -159,13 +162,17 @@ declare class UiFileUpload {
|
|
|
159
162
|
showFileList: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
160
163
|
/** Show the Upload/Cancel toolbar buttons (drag mode). */
|
|
161
164
|
showControls: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
165
|
+
/** Label of the Browse button. */
|
|
162
166
|
browseLabel: _angular_core.InputSignal<string>;
|
|
163
167
|
/** Placeholder shown in field mode before any selection. */
|
|
164
168
|
chooseLabel: _angular_core.InputSignal<string>;
|
|
169
|
+
/** Label of the Upload toolbar button (drag mode). */
|
|
165
170
|
uploadLabel: _angular_core.InputSignal<string>;
|
|
171
|
+
/** Label of the toolbar button that clears the selection (drag mode). */
|
|
166
172
|
cancelLabel: _angular_core.InputSignal<string>;
|
|
167
173
|
/** Drag-zone link + prompt. */
|
|
168
174
|
dragLinkLabel: _angular_core.InputSignal<string>;
|
|
175
|
+
/** Text after the drag-zone link (drag mode). */
|
|
169
176
|
dragPromptLabel: _angular_core.InputSignal<string>;
|
|
170
177
|
/** Small hint under the drag prompt (e.g. "JPG, PNG (max 5 MB)"). */
|
|
171
178
|
hint: _angular_core.InputSignal<string | undefined>;
|
|
@@ -56,7 +56,9 @@ declare class UiInputDate extends BaseFormField<InputDateValue> {
|
|
|
56
56
|
* an hour; the browser's own default is `60`, i.e. whole minutes).
|
|
57
57
|
*/
|
|
58
58
|
step: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
59
|
+
/** Icon of the button that opens the picker: `clock` by default in `mode="time"`. */
|
|
59
60
|
icon: _angular_core.InputSignal<string | undefined>;
|
|
61
|
+
/** Renders the button that opens the picker. */
|
|
60
62
|
showIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
61
63
|
/** Accessible name of the picker button. Defaults per {@link mode}. */
|
|
62
64
|
iconAriaLabel: _angular_core.InputSignal<string | undefined>;
|
|
@@ -7,11 +7,17 @@ type BadgeSize = 'default' | 'small' | 'large';
|
|
|
7
7
|
* ui-badge — small status / count indicator.
|
|
8
8
|
*/
|
|
9
9
|
declare class UiBadge {
|
|
10
|
+
/** Text content (counter or short label). Absent with no icon: the badge is a dot. */
|
|
10
11
|
value: _angular_core.InputSignal<string | number | undefined>;
|
|
12
|
+
/** Feedback level (colour family). */
|
|
11
13
|
level: _angular_core.InputSignal<UiFeedbackLevel>;
|
|
14
|
+
/** Intensity: `high` (strong) or `low` (subtle). */
|
|
12
15
|
subLevel: _angular_core.InputSignal<UiSubLevel>;
|
|
16
|
+
/** Badge size. */
|
|
13
17
|
size: _angular_core.InputSignal<BadgeSize>;
|
|
18
|
+
/** FontAwesome icon name, shown before the text. */
|
|
14
19
|
icon: _angular_core.InputSignal<string | undefined>;
|
|
20
|
+
/** Accessible name, recommended for an icon-only badge or an ambiguous counter. */
|
|
15
21
|
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
16
22
|
constructor();
|
|
17
23
|
/** @ignore There is text here */
|
|
@@ -39,6 +39,10 @@ declare class UiStep {
|
|
|
39
39
|
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
40
40
|
/** @ignore Parent container (owns the active state + progression). */
|
|
41
41
|
protected readonly stepper: UiStepper;
|
|
42
|
+
/** @ignore */
|
|
43
|
+
private readonly host;
|
|
44
|
+
/** @ignore Title text, measured by the scrollable strip (it overflows the marker). */
|
|
45
|
+
private readonly titleEl;
|
|
42
46
|
/** @ignore Progression state of this step. */
|
|
43
47
|
readonly state: _angular_core.Signal<UiStepState>;
|
|
44
48
|
/** @ignore 1-based position of this step (shown in the marker). */
|
|
@@ -58,6 +62,14 @@ declare class UiStep {
|
|
|
58
62
|
protected readonly markerIcon: _angular_core.Signal<string | null>;
|
|
59
63
|
/** @ignore */
|
|
60
64
|
protected onClick(event: MouseEvent): void;
|
|
65
|
+
/**
|
|
66
|
+
* @ignore Horizontal extent of the step, in viewport px: its own box (marker and
|
|
67
|
+
* trailing connector) united with its title, which overflows the marker on both sides.
|
|
68
|
+
*/
|
|
69
|
+
extent(): {
|
|
70
|
+
left: number;
|
|
71
|
+
right: number;
|
|
72
|
+
};
|
|
61
73
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiStep, never>;
|
|
62
74
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiStep, "ui-step", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
63
75
|
}
|
|
@@ -96,13 +108,33 @@ declare class UiStepPanel {
|
|
|
96
108
|
* Owns the WAI-ARIA `role="tablist"`. Focus moves through the headers with
|
|
97
109
|
* `Tab` (each enabled header is a native tab stop); activation is `Enter` /
|
|
98
110
|
* `Space` (native `<button>`). Use it on its own , without panels , for a plain
|
|
99
|
-
* progress indicator ("steps only").
|
|
111
|
+
* progress indicator ("steps only"). When the container is `scrollable`, the
|
|
112
|
+
* list itself is the scroll viewport and keeps the active step in view.
|
|
100
113
|
*/
|
|
101
114
|
declare class UiStepList {
|
|
102
115
|
/** Accessible name for the step list (recommended). */
|
|
103
116
|
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
117
|
+
/** @ignore Parent container (active value + `scrollable` option). */
|
|
118
|
+
protected readonly stepper: UiStepper;
|
|
119
|
+
/** @ignore The scroll viewport, when `scrollable`. */
|
|
120
|
+
private readonly host;
|
|
121
|
+
/** @ignore Steps projected into this list, in DOM order. */
|
|
122
|
+
private readonly steps;
|
|
123
|
+
/** @ignore Bumped by the ResizeObserver: a new width may clip the active step. */
|
|
124
|
+
private readonly resizeTick;
|
|
125
|
+
/** @ignore Whether the strip has been measured once (the first reveal does not animate). */
|
|
126
|
+
private settled;
|
|
127
|
+
/** @ignore Value of the step the strip last brought into view. */
|
|
128
|
+
private shownValue;
|
|
129
|
+
constructor();
|
|
130
|
+
/**
|
|
131
|
+
* @ignore Scroll the strip by the minimum that brings the step fully into view, nothing
|
|
132
|
+
* when it already is. Measured against the strip itself: unlike `scrollIntoView()`, it
|
|
133
|
+
* never scrolls the page. Returns `false` while the strip is not laid out yet.
|
|
134
|
+
*/
|
|
135
|
+
private reveal;
|
|
104
136
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiStepList, never>;
|
|
105
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiStepList, "ui-step-list", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {},
|
|
137
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiStepList, "ui-step-list", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, ["steps"], ["*"], true, never>;
|
|
106
138
|
}
|
|
107
139
|
/**
|
|
108
140
|
* ui-step-panels , thin wrapper grouping the {@link UiStepPanel}s below the
|
|
@@ -173,6 +205,11 @@ declare class UiStepper {
|
|
|
173
205
|
linear: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
174
206
|
/** Group default: render an inactive panel's content only once it is first activated. */
|
|
175
207
|
lazy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
208
|
+
/**
|
|
209
|
+
* Horizontal only: steps keep a minimum width and the step list scrolls instead of
|
|
210
|
+
* squeezing them, following the active step.
|
|
211
|
+
*/
|
|
212
|
+
scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
176
213
|
/** Animate the active panel transition (reduced-motion always wins). */
|
|
177
214
|
motion: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
178
215
|
/** Icon shown in the marker of completed steps (falls back to the step number). */
|
|
@@ -191,6 +228,8 @@ declare class UiStepper {
|
|
|
191
228
|
* progress indicator (see `UiStepList` doc) has none at all: `aria-controls` must not point
|
|
192
229
|
* at an id that resolves to nothing. */
|
|
193
230
|
private readonly panels;
|
|
231
|
+
/** @ignore `scrollable` applies to the horizontal strip only. */
|
|
232
|
+
readonly isScrollable: _angular_core.Signal<boolean>;
|
|
194
233
|
/** @ignore Ordered step values (the progression sequence). */
|
|
195
234
|
private readonly orderedValues;
|
|
196
235
|
/** @ignore Index of the active step in the ordered sequence (-1 when none). */
|
|
@@ -218,7 +257,7 @@ declare class UiStepper {
|
|
|
218
257
|
/** Activate the previous step in the sequence. */
|
|
219
258
|
prev(): void;
|
|
220
259
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiStepper, never>;
|
|
221
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiStepper, "ui-stepper", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "motion": { "alias": "motion"; "required": false; "isSignal": true; }; "completedIcon": { "alias": "completedIcon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "stepChange": "stepChange"; }, ["steps", "panels"], ["*"], true, never>;
|
|
260
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiStepper, "ui-stepper", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "motion": { "alias": "motion"; "required": false; "isSignal": true; }; "completedIcon": { "alias": "completedIcon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "stepChange": "stepChange"; }, ["steps", "panels"], ["*"], true, never>;
|
|
222
261
|
}
|
|
223
262
|
|
|
224
263
|
export { UiStep, UiStepItem, UiStepList, UiStepPanel, UiStepPanels, UiStepper };
|
|
@@ -81,8 +81,11 @@ declare class UiPaginator {
|
|
|
81
81
|
pageAriaLabel: _angular_core.InputSignal<string>;
|
|
82
82
|
/** Accessible names of the edge / step controls. */
|
|
83
83
|
firstPageAriaLabel: _angular_core.InputSignal<string>;
|
|
84
|
+
/** Accessible name of the previous-page control. */
|
|
84
85
|
prevPageAriaLabel: _angular_core.InputSignal<string>;
|
|
86
|
+
/** Accessible name of the next-page control. */
|
|
85
87
|
nextPageAriaLabel: _angular_core.InputSignal<string>;
|
|
88
|
+
/** Accessible name of the last-page control. */
|
|
86
89
|
lastPageAriaLabel: _angular_core.InputSignal<string>;
|
|
87
90
|
/** Accessible name of the rows-per-page select. */
|
|
88
91
|
rowsPerPageAriaLabel: _angular_core.InputSignal<string>;
|