@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,70 +1,150 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { TemplateRef } from "@angular/core";
|
|
6
|
+
export type ReadOnlySize = 'default' | 'small';
|
|
7
|
+
export type ReadOnlyLayout = 'vertical' | 'horizontal' | 'grid';
|
|
8
|
+
export type ReadOnlyAlign = 'left' | 'right';
|
|
7
9
|
/**
|
|
8
10
|
* ui-read-only — displays a labelled value in read-only mode.
|
|
9
11
|
*/
|
|
10
|
-
declare class UiReadOnly {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
12
|
+
export declare class UiReadOnly {
|
|
13
|
+
/** Field label (plain string — i18n is the caller's responsibility). Rendered via `ui-label`. */
|
|
14
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
15
|
+
/** Shows the required marker (*) on the label — for parity with a required field. */
|
|
16
|
+
required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
/** Fully custom label markup, replacing the default `ui-label` (escape hatch). */
|
|
18
|
+
labelTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
19
|
+
/** Displayed value. Ignored when content is projected. */
|
|
20
|
+
value: import("@angular/core").InputSignal<string | number | null | undefined>;
|
|
21
|
+
/** Shown (muted) when the value is null / undefined / empty. */
|
|
22
|
+
fallback: import("@angular/core").InputSignal<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Accessible text announced in place of the `fallback` symbol when the value
|
|
25
|
+
* is empty (e.g. "Non renseigné"). The visual `fallback` stays decorative.
|
|
26
|
+
*/
|
|
27
|
+
emptyLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
28
|
+
/** Stacked (`vertical`), side-by-side (`horizontal`), or grid-driven (`grid`). */
|
|
29
|
+
layout: import("@angular/core").InputSignal<ReadOnlyLayout>;
|
|
30
|
+
/** Text/label size. */
|
|
31
|
+
size: import("@angular/core").InputSignal<ReadOnlySize>;
|
|
32
|
+
/** Label text alignment (horizontal layout only). */
|
|
33
|
+
labelAlign: import("@angular/core").InputSignal<ReadOnlyAlign>;
|
|
34
|
+
/** Label column width in horizontal layout (any CSS length, e.g. `160px`, `30%`). Unset = hug content. */
|
|
35
|
+
labelWidth: import("@angular/core").InputSignal<string | undefined>;
|
|
36
|
+
/** Preserve line breaks in the value (`white-space: pre-line`). */
|
|
37
|
+
multiline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
38
|
+
/** Hug content and flow inline instead of filling the container. */
|
|
39
|
+
inline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
40
|
+
/**
|
|
41
|
+
* Adapt the layout to sit alongside form fields
|
|
42
|
+
*/
|
|
43
|
+
matchField: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
/** Extra classes on the row (`<dl>`), e.g. a grid row class like `flex-x`. */
|
|
45
|
+
rowClass: import("@angular/core").InputSignal<string | undefined>;
|
|
46
|
+
/** Extra classes on the label cell (`<dt>`), e.g. `cell phone-24 desktop-auto`. */
|
|
47
|
+
labelClass: import("@angular/core").InputSignal<string | undefined>;
|
|
48
|
+
/** Extra classes on the value cell (`<dd>`), e.g. `cell phone-24 desktop-auto`. */
|
|
49
|
+
valueClass: import("@angular/core").InputSignal<string | undefined>;
|
|
50
|
+
/** @ignore Wrapper around <ng-content>, used to detect projected content. */
|
|
51
|
+
private readonly projectedWrap;
|
|
52
|
+
/** @ignore Rich value was projected via <ng-content>. */
|
|
53
|
+
protected readonly hasProjectedContent: import("@angular/core").WritableSignal<boolean>;
|
|
54
|
+
constructor();
|
|
55
|
+
/** @ignore A label is provided (drives the <dl>/<dt>/<dd> vs plain markup). */
|
|
56
|
+
protected readonly hasLabel: import("@angular/core").Signal<boolean>;
|
|
57
|
+
/** @ignore Displayed value, or the fallback when empty. */
|
|
58
|
+
protected readonly displayValue: import("@angular/core").Signal<string>;
|
|
59
|
+
/** @ignore The displayed value is the fallback placeholder (styled muted). */
|
|
60
|
+
protected readonly isFallback: import("@angular/core").Signal<boolean>;
|
|
61
|
+
/** @ignore Root (row) classes: base + modifiers + passthrough `rowClass`. */
|
|
62
|
+
protected readonly rootClasses: import("@angular/core").Signal<string>;
|
|
63
|
+
/** @ignore Label-cell classes: base + passthrough `labelClass`. */
|
|
64
|
+
protected readonly labelClasses: import("@angular/core").Signal<string>;
|
|
65
|
+
/** @ignore Value-cell classes: base + passthrough `valueClass`. */
|
|
66
|
+
protected readonly valueCellClasses: import("@angular/core").Signal<string>;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiReadOnly, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiReadOnly, "ui-read-only", never, {
|
|
69
|
+
"label": {
|
|
70
|
+
"alias": "label";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"required": {
|
|
75
|
+
"alias": "required";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"labelTemplate": {
|
|
80
|
+
"alias": "labelTemplate";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"value": {
|
|
85
|
+
"alias": "value";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"fallback": {
|
|
90
|
+
"alias": "fallback";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"emptyLabel": {
|
|
95
|
+
"alias": "emptyLabel";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"layout": {
|
|
100
|
+
"alias": "layout";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"size": {
|
|
105
|
+
"alias": "size";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
"labelAlign": {
|
|
110
|
+
"alias": "labelAlign";
|
|
111
|
+
"required": false;
|
|
112
|
+
"isSignal": true;
|
|
113
|
+
};
|
|
114
|
+
"labelWidth": {
|
|
115
|
+
"alias": "labelWidth";
|
|
116
|
+
"required": false;
|
|
117
|
+
"isSignal": true;
|
|
118
|
+
};
|
|
119
|
+
"multiline": {
|
|
120
|
+
"alias": "multiline";
|
|
121
|
+
"required": false;
|
|
122
|
+
"isSignal": true;
|
|
123
|
+
};
|
|
124
|
+
"inline": {
|
|
125
|
+
"alias": "inline";
|
|
126
|
+
"required": false;
|
|
127
|
+
"isSignal": true;
|
|
128
|
+
};
|
|
129
|
+
"matchField": {
|
|
130
|
+
"alias": "matchField";
|
|
131
|
+
"required": false;
|
|
132
|
+
"isSignal": true;
|
|
133
|
+
};
|
|
134
|
+
"rowClass": {
|
|
135
|
+
"alias": "rowClass";
|
|
136
|
+
"required": false;
|
|
137
|
+
"isSignal": true;
|
|
138
|
+
};
|
|
139
|
+
"labelClass": {
|
|
140
|
+
"alias": "labelClass";
|
|
141
|
+
"required": false;
|
|
142
|
+
"isSignal": true;
|
|
143
|
+
};
|
|
144
|
+
"valueClass": {
|
|
145
|
+
"alias": "valueClass";
|
|
146
|
+
"required": false;
|
|
147
|
+
"isSignal": true;
|
|
148
|
+
};
|
|
149
|
+
}, {}, never, ["*"], true, never>;
|
|
150
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
type
|
|
6
|
-
type
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type SeparatorOrientation = 'horizontal' | 'vertical';
|
|
6
|
+
export type SeparatorVariant = 'solid' | 'dashed';
|
|
7
|
+
export type SeparatorSize = 'default' | 'small';
|
|
8
|
+
export type SeparatorLabelAlign = 'start' | 'center' | 'end';
|
|
7
9
|
/**
|
|
8
10
|
* ui-separator — visual + semantic divider between content.
|
|
9
11
|
*
|
|
@@ -12,32 +14,60 @@ type SeparatorLabelAlign = 'start' | 'center' | 'end';
|
|
|
12
14
|
* the start, center or end of the line. The line style is driven by `variant` (solid/dashed)
|
|
13
15
|
* and its thickness by `size` (default 2px / small 1px).
|
|
14
16
|
*/
|
|
15
|
-
declare class UiSeparator {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
17
|
+
export declare class UiSeparator {
|
|
18
|
+
/** Optional text label (turns the rule into a labelled divider). */
|
|
19
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
+
/** Orientation of the rule (maps to the Figma `Axe` property). */
|
|
21
|
+
orientation: import("@angular/core").InputSignal<SeparatorOrientation>;
|
|
22
|
+
/** Line style (maps to the Figma `Type`: Default → solid, Dashed → dashed). */
|
|
23
|
+
variant: import("@angular/core").InputSignal<SeparatorVariant>;
|
|
24
|
+
/** Line thickness (default 2px, small 1px). */
|
|
25
|
+
size: import("@angular/core").InputSignal<SeparatorSize>;
|
|
26
|
+
/** Label placement along the line (maps to Figma `Label Align`: Default/Middle/End). */
|
|
27
|
+
labelAlign: import("@angular/core").InputSignal<SeparatorLabelAlign>;
|
|
28
|
+
/** Accessible name override (defaults to `label` when present). */
|
|
29
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
30
|
+
/** @ignore A label is provided. */
|
|
31
|
+
protected readonly hasLabel: import("@angular/core").Signal<boolean>;
|
|
32
|
+
/** @ignore A line segment precedes the label (center/end alignment). */
|
|
33
|
+
protected readonly lineBeforeLabel: import("@angular/core").Signal<boolean>;
|
|
34
|
+
/** @ignore A line segment follows the label (center/start alignment). */
|
|
35
|
+
protected readonly lineAfterLabel: import("@angular/core").Signal<boolean>;
|
|
36
|
+
/** @ignore Accessible name: explicit override, else the visible label. */
|
|
37
|
+
protected readonly accessibleName: import("@angular/core").Signal<string | null>;
|
|
38
|
+
/** @ignore */
|
|
39
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSeparator, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSeparator, "ui-separator", never, {
|
|
42
|
+
"label": {
|
|
43
|
+
"alias": "label";
|
|
44
|
+
"required": false;
|
|
45
|
+
"isSignal": true;
|
|
46
|
+
};
|
|
47
|
+
"orientation": {
|
|
48
|
+
"alias": "orientation";
|
|
49
|
+
"required": false;
|
|
50
|
+
"isSignal": true;
|
|
51
|
+
};
|
|
52
|
+
"variant": {
|
|
53
|
+
"alias": "variant";
|
|
54
|
+
"required": false;
|
|
55
|
+
"isSignal": true;
|
|
56
|
+
};
|
|
57
|
+
"size": {
|
|
58
|
+
"alias": "size";
|
|
59
|
+
"required": false;
|
|
60
|
+
"isSignal": true;
|
|
61
|
+
};
|
|
62
|
+
"labelAlign": {
|
|
63
|
+
"alias": "labelAlign";
|
|
64
|
+
"required": false;
|
|
65
|
+
"isSignal": true;
|
|
66
|
+
};
|
|
67
|
+
"ariaLabel": {
|
|
68
|
+
"alias": "ariaLabel";
|
|
69
|
+
"required": false;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
72
|
+
}, {}, never, never, true, never>;
|
|
73
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
3
5
|
/** Visual shape of the placeholder. */
|
|
4
|
-
type UiSkeletonShape = 'text' | 'circle' | 'rectangle';
|
|
6
|
+
export type UiSkeletonShape = 'text' | 'circle' | 'rectangle';
|
|
5
7
|
/** Size preset (per-shape default dimensions). */
|
|
6
|
-
type UiSkeletonSize = 'default' | 'small';
|
|
8
|
+
export type UiSkeletonSize = 'default' | 'small';
|
|
7
9
|
/** Loading animation style. */
|
|
8
|
-
type UiSkeletonAnimation = 'wave' | 'pulse' | 'none';
|
|
10
|
+
export type UiSkeletonAnimation = 'wave' | 'pulse' | 'none';
|
|
9
11
|
/**
|
|
10
12
|
* ui-skeleton — a placeholder shown in place of content while it loads.
|
|
11
13
|
*
|
|
@@ -23,30 +25,58 @@ type UiSkeletonAnimation = 'wave' | 'pulse' | 'none';
|
|
|
23
25
|
* `aria-busy="true"` to announce the loading region. Motion honours the OS
|
|
24
26
|
* reduced-motion preference and the kit-wide `data-motion="off"` switch.
|
|
25
27
|
*/
|
|
26
|
-
declare class UiSkeleton {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
28
|
+
export declare class UiSkeleton {
|
|
29
|
+
/** Shape of the placeholder. */
|
|
30
|
+
shape: import("@angular/core").InputSignal<UiSkeletonShape>;
|
|
31
|
+
/** Size preset (per-shape default dimensions). */
|
|
32
|
+
size: import("@angular/core").InputSignal<UiSkeletonSize>;
|
|
33
|
+
/** Raw CSS width, overriding the shape default (e.g. "100%", "10rem"). */
|
|
34
|
+
width: import("@angular/core").InputSignal<string | undefined>;
|
|
35
|
+
/** Raw CSS height, overriding the shape default (e.g. "1rem", "50px"). */
|
|
36
|
+
height: import("@angular/core").InputSignal<string | undefined>;
|
|
37
|
+
/** Raw CSS border-radius, overriding the shape default. */
|
|
38
|
+
borderRadius: import("@angular/core").InputSignal<string | undefined>;
|
|
39
|
+
/** Loading animation (base is `wave` — a reflection sweeping across the box). */
|
|
40
|
+
animation: import("@angular/core").InputSignal<UiSkeletonAnimation>;
|
|
41
|
+
/** @ignore Inline style overrides (win over the token-driven defaults). */
|
|
42
|
+
protected readonly boxStyle: import("@angular/core").Signal<{
|
|
43
|
+
width: string | null;
|
|
44
|
+
height: string | null;
|
|
45
|
+
'border-radius': string | null;
|
|
46
|
+
}>;
|
|
47
|
+
/** @ignore */
|
|
48
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSkeleton, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSkeleton, "ui-skeleton", never, {
|
|
51
|
+
"shape": {
|
|
52
|
+
"alias": "shape";
|
|
53
|
+
"required": false;
|
|
54
|
+
"isSignal": true;
|
|
55
|
+
};
|
|
56
|
+
"size": {
|
|
57
|
+
"alias": "size";
|
|
58
|
+
"required": false;
|
|
59
|
+
"isSignal": true;
|
|
60
|
+
};
|
|
61
|
+
"width": {
|
|
62
|
+
"alias": "width";
|
|
63
|
+
"required": false;
|
|
64
|
+
"isSignal": true;
|
|
65
|
+
};
|
|
66
|
+
"height": {
|
|
67
|
+
"alias": "height";
|
|
68
|
+
"required": false;
|
|
69
|
+
"isSignal": true;
|
|
70
|
+
};
|
|
71
|
+
"borderRadius": {
|
|
72
|
+
"alias": "borderRadius";
|
|
73
|
+
"required": false;
|
|
74
|
+
"isSignal": true;
|
|
75
|
+
};
|
|
76
|
+
"animation": {
|
|
77
|
+
"alias": "animation";
|
|
78
|
+
"required": false;
|
|
79
|
+
"isSignal": true;
|
|
80
|
+
};
|
|
81
|
+
}, {}, never, never, true, never>;
|
|
82
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { TemplateRef } from "@angular/core";
|
|
6
|
+
import { UiIconSize } from "@4sh/ui-kit/base/ui-icon";
|
|
7
|
+
export type UiSpinnerSize = 'default' | 'small';
|
|
8
|
+
export type UiSpinnerOrientation = 'vertical' | 'horizontal';
|
|
7
9
|
/** How the animated mark is rendered (derived from which input is set). */
|
|
8
10
|
type SpinnerMark = 'template' | 'image' | 'icon' | 'svg';
|
|
9
11
|
/**
|
|
@@ -20,48 +22,107 @@ type SpinnerMark = 'template' | 'image' | 'icon' | 'svg';
|
|
|
20
22
|
* name; the mark is decorative (`aria-hidden`). Motion honours the OS
|
|
21
23
|
* reduced-motion preference and the kit-wide `data-motion="off"` switch.
|
|
22
24
|
*/
|
|
23
|
-
declare class UiSpinner {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
25
|
+
export declare class UiSpinner {
|
|
26
|
+
/** Size preset (also override the raw box via the `--ui-spinner-size` CSS var). */
|
|
27
|
+
size: import("@angular/core").InputSignal<UiSpinnerSize>;
|
|
28
|
+
/** Layout of the mark relative to the label (only relevant when `label` is set). */
|
|
29
|
+
orientation: import("@angular/core").InputSignal<UiSpinnerOrientation>;
|
|
30
|
+
/** Optional visible loading text, rendered inside the live region. */
|
|
31
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
32
|
+
/** Accessible name. Falls back to the visible `label`, then to "Chargement". */
|
|
33
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
34
|
+
/** Custom mark content; takes precedence over every other mark source. */
|
|
35
|
+
spinnerTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
36
|
+
/** Image URL used as the mark (shown as-is — carries its own motion). */
|
|
37
|
+
image: import("@angular/core").InputSignal<string | undefined>;
|
|
38
|
+
/** Alt text for the image mark (empty = decorative, the default). */
|
|
39
|
+
imageAlt: import("@angular/core").InputSignal<string>;
|
|
40
|
+
/** FontAwesome icon name used as the mark (rotated by the component). */
|
|
41
|
+
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
42
|
+
/** Stroke width of the default circle, in the 0–50 viewBox scale. */
|
|
43
|
+
strokeWidth: import("@angular/core").InputSignal<string | number>;
|
|
44
|
+
/** Fill of the default circle (`none` = ring only). */
|
|
45
|
+
fill: import("@angular/core").InputSignal<string>;
|
|
46
|
+
/** Duration of one rotation (any CSS time), shared with the icon mark. */
|
|
47
|
+
animationDuration: import("@angular/core").InputSignal<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Grace delay before the spinner appears, in ms. Prevents a flash of the
|
|
50
|
+
* loader for waits shorter than the delay (a common loading UX best practice).
|
|
51
|
+
*/
|
|
52
|
+
delay: import("@angular/core").InputSignal<number>;
|
|
53
|
+
/** @ignore Visible once the grace delay (if any) has elapsed. */
|
|
54
|
+
protected readonly visible: import("@angular/core").WritableSignal<boolean>;
|
|
55
|
+
constructor();
|
|
56
|
+
/** @ignore Which mark to render. */
|
|
57
|
+
protected readonly markKind: import("@angular/core").Signal<SpinnerMark>;
|
|
58
|
+
/** @ignore Icon size matching the spinner box (default → xl, small → default). */
|
|
59
|
+
protected readonly iconSize: import("@angular/core").Signal<UiIconSize>;
|
|
60
|
+
/** @ignore Accessible name: explicit, else the visible label reads on its own, else a default. */
|
|
61
|
+
protected readonly rootAriaLabel: import("@angular/core").Signal<string | null>;
|
|
62
|
+
/** @ignore */
|
|
63
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSpinner, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSpinner, "ui-spinner", never, {
|
|
66
|
+
"size": {
|
|
67
|
+
"alias": "size";
|
|
68
|
+
"required": false;
|
|
69
|
+
"isSignal": true;
|
|
70
|
+
};
|
|
71
|
+
"orientation": {
|
|
72
|
+
"alias": "orientation";
|
|
73
|
+
"required": false;
|
|
74
|
+
"isSignal": true;
|
|
75
|
+
};
|
|
76
|
+
"label": {
|
|
77
|
+
"alias": "label";
|
|
78
|
+
"required": false;
|
|
79
|
+
"isSignal": true;
|
|
80
|
+
};
|
|
81
|
+
"ariaLabel": {
|
|
82
|
+
"alias": "ariaLabel";
|
|
83
|
+
"required": false;
|
|
84
|
+
"isSignal": true;
|
|
85
|
+
};
|
|
86
|
+
"spinnerTemplate": {
|
|
87
|
+
"alias": "spinnerTemplate";
|
|
88
|
+
"required": false;
|
|
89
|
+
"isSignal": true;
|
|
90
|
+
};
|
|
91
|
+
"image": {
|
|
92
|
+
"alias": "image";
|
|
93
|
+
"required": false;
|
|
94
|
+
"isSignal": true;
|
|
95
|
+
};
|
|
96
|
+
"imageAlt": {
|
|
97
|
+
"alias": "imageAlt";
|
|
98
|
+
"required": false;
|
|
99
|
+
"isSignal": true;
|
|
100
|
+
};
|
|
101
|
+
"icon": {
|
|
102
|
+
"alias": "icon";
|
|
103
|
+
"required": false;
|
|
104
|
+
"isSignal": true;
|
|
105
|
+
};
|
|
106
|
+
"strokeWidth": {
|
|
107
|
+
"alias": "strokeWidth";
|
|
108
|
+
"required": false;
|
|
109
|
+
"isSignal": true;
|
|
110
|
+
};
|
|
111
|
+
"fill": {
|
|
112
|
+
"alias": "fill";
|
|
113
|
+
"required": false;
|
|
114
|
+
"isSignal": true;
|
|
115
|
+
};
|
|
116
|
+
"animationDuration": {
|
|
117
|
+
"alias": "animationDuration";
|
|
118
|
+
"required": false;
|
|
119
|
+
"isSignal": true;
|
|
120
|
+
};
|
|
121
|
+
"delay": {
|
|
122
|
+
"alias": "delay";
|
|
123
|
+
"required": false;
|
|
124
|
+
"isSignal": true;
|
|
125
|
+
};
|
|
126
|
+
}, {}, never, never, true, never>;
|
|
64
127
|
}
|
|
65
|
-
|
|
66
|
-
export { UiSpinner };
|
|
67
|
-
export type { UiSpinnerOrientation, UiSpinnerSize };
|
|
128
|
+
export {};
|