@sixbell-telco/sdk 4.2.0 → 4.4.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/CHANGELOG.md +108 -1
- package/README.md +98 -66
- package/_index.css +2 -1586
- package/components/accordion/accordion-item/accordion-item.component.d.ts +1 -1
- package/components/alert/README.md +27 -0
- package/components/alert/index.d.ts +5 -0
- package/components/alert/public-api.d.ts +1 -0
- package/components/alert/src/alert.component.d.ts +85 -0
- package/components/audio-player/audio-timeline/audio-timeline.component.d.ts +1 -1
- package/components/audio-player/button-play/button-play.component.d.ts +7 -7
- package/components/audio-player/src/audio-player.component.d.ts +2 -2
- package/components/audio-player/volume-control/volume-control.component.d.ts +1 -1
- package/components/avatar/README.md +1 -0
- package/components/avatar/src/avatar.component.d.ts +2 -2
- package/components/badge/src/badge.component.d.ts +4 -4
- package/components/button/README.md +5 -4
- package/components/button/src/button.component.d.ts +38 -16
- package/components/card/README.md +2 -0
- package/components/card/card-footer/card-footer.component.d.ts +37 -2
- package/components/card/card-section-group/card-section-group.component.d.ts +1 -1
- package/components/card/src/card.component.d.ts +6 -6
- package/components/countdown/src/countdown.component.d.ts +4 -4
- package/components/data-table/README.md +26 -0
- package/components/data-table/expandable/expandable.component.d.ts +4 -4
- package/components/data-table/sortable-header/sortable-header.component.d.ts +1 -1
- package/components/data-table/src/data-table.component.d.ts +15 -8
- package/components/data-table/sub-component-toggle/sub-component-toggle.component.d.ts +1 -1
- package/components/description-list/README.md +27 -0
- package/components/description-list/index.d.ts +5 -0
- package/components/description-list/public-api.d.ts +1 -0
- package/components/description-list/src/description-list.component.d.ts +90 -0
- package/components/dialog/README.md +10 -6
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +4 -0
- package/components/dialog/src/dialog.component.d.ts +27 -6
- package/components/dialog/src/fullscreen-block-scroll-strategy.d.ts +31 -0
- package/components/divider/src/divider.component.d.ts +1 -1
- package/components/dropdown/README.md +2 -2
- package/components/dropdown/dropdown-chevron/dropdown-chevron.component.d.ts +1 -1
- package/components/dropdown/dropdown-content/dropdown-content.component.d.ts +1 -1
- package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +4 -4
- package/components/dropdown/dropdown-item-checkbox/dropdown-item-checkbox.component.d.ts +5 -5
- package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +5 -5
- package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +11 -14
- package/components/dropdown-menu/README.md +2 -2
- package/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.d.ts +1 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.d.ts +6 -2
- package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +3 -3
- package/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.d.ts +4 -4
- package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +4 -4
- package/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.d.ts +3 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.d.ts +3 -1
- package/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.d.ts +2 -1
- package/components/dropdown-menu/dropdown-menu-chevron/dropdown-menu-chevron.component.d.ts +1 -1
- package/components/dropdown-menu/src/dropdown-menu-content/dropdown-menu-content.component.d.ts +2 -0
- package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +3 -3
- package/components/dropdown-menu/src/dropdown-menu-sub-content/dropdown-menu-sub-content.component.d.ts +2 -0
- package/components/dropdown-menu/src/dropdown-menu-sub-trigger/dropdown-menu-sub-trigger.component.d.ts +2 -1
- package/components/dropdown-menu/src/dropdown-menu-trigger/dropdown-menu-trigger.component.d.ts +1 -0
- package/components/empty-state/README.md +40 -0
- package/components/empty-state/index.d.ts +5 -0
- package/components/empty-state/public-api.d.ts +1 -0
- package/components/empty-state/src/empty-state.component.d.ts +73 -0
- package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +4 -4
- package/components/file-upload/file-uploader/file-uploader.component.d.ts +2 -2
- package/components/forms/checkbox/src/checkbox.component.d.ts +1 -1
- package/components/forms/combobox/README.md +2 -1
- package/components/forms/combobox/src/combobox.component.d.ts +31 -18
- package/components/forms/date-picker/src/date-picker.component.d.ts +16 -9
- package/components/forms/form-hint/README.md +29 -0
- package/components/forms/form-hint/index.d.ts +5 -0
- package/components/forms/form-hint/public-api.d.ts +1 -0
- package/components/forms/form-hint/src/form-hint.component.d.ts +38 -0
- package/components/forms/form-item/src/form-item.component.d.ts +45 -1
- package/components/forms/input/src/input.component.d.ts +15 -8
- package/components/forms/radio/src/radio.component.d.ts +1 -1
- package/components/forms/range/src/range.component.d.ts +18 -4
- package/components/forms/select/README.md +2 -1
- package/components/forms/select/src/select.component.d.ts +30 -16
- package/components/forms/switch/src/switch.component.d.ts +1 -1
- package/components/forms/textarea/src/textarea.component.d.ts +12 -5
- package/components/forms/toggle/src/toggle.component.d.ts +1 -1
- package/components/notification/src/notification.component.d.ts +1 -1
- package/components/overlay/README.md +7 -2
- package/components/overlay/overlay-trigger/overlay-trigger.component.d.ts +1 -1
- package/components/overlay/src/overlay.component.d.ts +10 -9
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +3 -3
- package/components/progress/src/progress.component.d.ts +1 -1
- package/components/segmented-button/README.md +57 -0
- package/components/segmented-button/index.d.ts +5 -0
- package/components/segmented-button/public-api.d.ts +1 -0
- package/components/segmented-button/src/segmented-button.component.d.ts +110 -0
- package/components/sonner/toaster/src/toaster.component.d.ts +3 -3
- package/components/tab/src/tab.component.d.ts +2 -2
- package/components/table/README.md +51 -3
- package/components/table/public-api.d.ts +1 -0
- package/components/table/src/table.component.d.ts +20 -13
- package/components/table/table-action/table-action.component.d.ts +14 -3
- package/components/table/table-actions/table-actions.component.d.ts +12 -1
- package/components/table/tokens/README.md +7 -0
- package/components/table/tokens/index.d.ts +5 -0
- package/components/table/tokens/public-api.d.ts +1 -0
- package/components/table/tokens/table-empty-state.d.ts +6 -0
- package/components/tooltip/README.md +25 -7
- package/components/tooltip/src/tooltip.component.d.ts +44 -12
- package/components/tree/README.md +73 -0
- package/components/tree/index.d.ts +5 -0
- package/components/tree/public-api.d.ts +1 -0
- package/components/tree/src/tree.component.d.ts +180 -0
- package/components/wizard/README.md +9 -0
- package/components/wizard/wizard-content/wizard-content.component.d.ts +1 -1
- package/components/wizard/wizard-wrapper/wizard-wrapper.component.d.ts +15 -6
- package/directives/auto-focus/src/auto-focus.directive.d.ts +1 -1
- package/directives/only-numbers/src/only-numbers.directive.d.ts +1 -1
- package/directives/truncate/README.md +49 -0
- package/directives/truncate/index.d.ts +5 -0
- package/directives/truncate/public-api.d.ts +1 -0
- package/directives/truncate/src/truncate-popover.component.d.ts +11 -0
- package/directives/truncate/src/truncate.directive.d.ts +96 -0
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-alert.mjs +152 -0
- package/fesm2022/sixbell-telco-sdk-components-alert.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +15 -15
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +53 -19
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +61 -14
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +34 -33
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-description-list.mjs +200 -0
- package/fesm2022/sixbell-telco-sdk-components-description-list.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +128 -17
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-divider.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +33 -24
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +7 -3
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +25 -14
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +43 -72
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-empty-state.mjs +131 -0
- package/fesm2022/sixbell-telco-sdk-components-empty-state.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +9 -9
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +104 -72
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +23 -12
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-hint.mjs +81 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-form-hint.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +45 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +27 -13
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +29 -7
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +84 -56
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +27 -22
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +41 -79
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-segmented-button.mjs +329 -0
- package/fesm2022/sixbell-telco-sdk-components-segmented-button.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table-tokens.mjs +14 -0
- package/fesm2022/sixbell-telco-sdk-components-table-tokens.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +63 -32
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +187 -75
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tree.mjs +478 -0
- package/fesm2022/sixbell-telco-sdk-components-tree.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +18 -9
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-truncate.mjs +339 -0
- package/fesm2022/sixbell-telco-sdk-directives-truncate.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-layouts.mjs +69 -41
- package/fesm2022/sixbell-telco-sdk-layouts.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-date.mjs +15 -2
- package/fesm2022/sixbell-telco-sdk-utils-date.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-mfe.mjs +87 -2
- package/fesm2022/sixbell-telco-sdk-utils-mfe.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-popover-motion.mjs +186 -0
- package/fesm2022/sixbell-telco-sdk-utils-popover-motion.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +234 -4
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-translation-testing.mjs +203 -0
- package/fesm2022/sixbell-telco-sdk-utils-translation-testing.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +129 -14
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-unsaved-changes.mjs +150 -0
- package/fesm2022/sixbell-telco-sdk-utils-unsaved-changes.mjs.map +1 -0
- package/i18n/sdk/en.json +224 -0
- package/i18n/sdk/es.json +224 -0
- package/i18n/sdk/pt.json +224 -0
- package/layouts/README.md +18 -11
- package/layouts/public-api.d.ts +1 -1
- package/layouts/src/app-layout/app-layout.component.d.ts +11 -8
- package/layouts/src/layout.config.d.ts +1 -1
- package/layouts/src/menu/menu-active.d.ts +2 -1
- package/layouts/src/menu/menu-url.d.ts +2 -0
- package/layouts/src/navbar/navbar.component.d.ts +5 -5
- package/layouts/src/page-banner/page-banner.component.d.ts +19 -2
- package/layouts/src/side-menu/side-menu.component.d.ts +2 -2
- package/layouts/src/user-menu/user-menu.component.d.ts +5 -5
- package/package.json +64 -20
- package/src/_index.css +1701 -0
- package/utils/mfe/README.md +1 -0
- package/utils/mfe/src/hoist-property-rules.d.ts +13 -0
- package/utils/mfe/src/mfe-shadow-shell.component.d.ts +3 -0
- package/utils/popover-motion/README.md +38 -0
- package/utils/popover-motion/index.d.ts +5 -0
- package/utils/popover-motion/public-api.d.ts +2 -0
- package/utils/popover-motion/src/popover-menu-motion.d.ts +37 -0
- package/utils/popover-motion/src/popover-motion.d.ts +31 -0
- package/utils/theme/README.md +94 -1
- package/utils/theme/public-api.d.ts +2 -1
- package/utils/theme/src/models/theme.d.ts +32 -0
- package/utils/theme/src/overlay/theme-overlay.d.ts +33 -0
- package/utils/theme/src/providers/theme.provider.types.d.ts +7 -0
- package/utils/translation/README.md +63 -0
- package/utils/translation/src/translation.service.d.ts +24 -0
- package/utils/translation/testing/index.d.ts +5 -0
- package/utils/translation/testing/public-api.d.ts +2 -0
- package/utils/translation/testing/src/translation-testing.d.ts +96 -0
- package/utils/unsaved-changes/README.md +33 -0
- package/utils/unsaved-changes/index.d.ts +5 -0
- package/utils/unsaved-changes/public-api.d.ts +1 -0
- package/utils/unsaved-changes/src/unsaved-changes-dialog.component.d.ts +24 -0
- package/utils/unsaved-changes/src/unsaved-changes.d.ts +50 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ConnectedOverlayPositionChange, ConnectedPosition } from '@angular/cdk/overlay';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { PopoverPlacement, PopoverSide } from '@sixbell-telco/sdk/utils/popover-motion';
|
|
3
4
|
import { ThemeDomService } from '@sixbell-telco/sdk/utils/theme';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/** Animation states for the dropdown */
|
|
@@ -54,7 +55,7 @@ export declare class DropdownTriggerComponent {
|
|
|
54
55
|
private readonly pendingFocus;
|
|
55
56
|
/** Offset X in pixels */
|
|
56
57
|
offsetX: import("@angular/core").InputSignal<number>;
|
|
57
|
-
/**
|
|
58
|
+
/** Gap in pixels between the trigger and the panel; flipped fallbacks mirror it */
|
|
58
59
|
offsetY: import("@angular/core").InputSignal<number>;
|
|
59
60
|
/** Origin X position */
|
|
60
61
|
originX: import("@angular/core").InputSignal<DropdownXPosition>;
|
|
@@ -74,7 +75,7 @@ export declare class DropdownTriggerComponent {
|
|
|
74
75
|
* Stop event propagation for activation events
|
|
75
76
|
* @defaultValue false
|
|
76
77
|
*/
|
|
77
|
-
stopPropagation: import("@angular/core").
|
|
78
|
+
stopPropagation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
78
79
|
/**
|
|
79
80
|
* Tab index for the trigger wrapper
|
|
80
81
|
* @defaultValue -1
|
|
@@ -111,22 +112,18 @@ export declare class DropdownTriggerComponent {
|
|
|
111
112
|
/** @internal aria-controls value: the menu id while the menu is expanded */
|
|
112
113
|
readonly controls: import("@angular/core").Signal<string | null>;
|
|
113
114
|
constructor();
|
|
114
|
-
/**
|
|
115
|
+
/** Position the CDK applied for the current open cycle; null until the first `positionChange` */
|
|
115
116
|
currentPosition: import("@angular/core").WritableSignal<ConnectedPosition | null>;
|
|
117
|
+
/** Real placement of the open panel, bound to `data-side` / `data-align`; null until the CDK places it */
|
|
118
|
+
readonly placement: import("@angular/core").Signal<PopoverPlacement | null>;
|
|
116
119
|
/**
|
|
117
|
-
*
|
|
118
|
-
*
|
|
120
|
+
* Side of the trigger the panel opened on (`'bottom'` until the CDK places it)
|
|
121
|
+
* @deprecated Read `data-side` on the panel instead; kept for compatibility
|
|
119
122
|
*/
|
|
120
|
-
animationDirection: import("@angular/core").Signal<
|
|
123
|
+
animationDirection: import("@angular/core").Signal<PopoverSide>;
|
|
121
124
|
/**
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
* All class names are static and detectable by Tailwind at build time
|
|
125
|
-
*/
|
|
126
|
-
private readonly animationClassMap;
|
|
127
|
-
/**
|
|
128
|
-
* Computed class string for animations
|
|
129
|
-
* Applies the correct animation based on position using static class names
|
|
125
|
+
* Class of the panel: the shared `popover-motion` utility driven by `data-state` and `data-side`
|
|
126
|
+
* @deprecated Kept for compatibility; the motion lives in the `popover-motion` utility
|
|
130
127
|
*/
|
|
131
128
|
animationClasses: import("@angular/core").Signal<string>;
|
|
132
129
|
/** Content template reference */
|
|
@@ -4,14 +4,14 @@ Import: `@sixbell-telco/sdk/components/dropdown-menu`
|
|
|
4
4
|
|
|
5
5
|
Selector: `st-dropdown-menu`
|
|
6
6
|
|
|
7
|
-
Nested menu system (trigger, content, items, submenus).
|
|
7
|
+
Nested menu system (trigger, content, items, submenus). Menus open and close with the shared popover motion (`popover-motion` in `_index.css`). Root and menu-bar menus open 4px from their trigger. A closing menu detaches at once, so focus and the menu stack are unchanged, and its exit plays on an inert, `aria-hidden` snapshot.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
12
|
<st-dropdown-menu>
|
|
13
13
|
<st-dropdown-menu-trigger>
|
|
14
|
-
<st-button>Options</st-button>
|
|
14
|
+
<st-button variant="tertiary" [outline]="true">Options</st-button>
|
|
15
15
|
</st-dropdown-menu-trigger>
|
|
16
16
|
<st-dropdown-menu-content>
|
|
17
17
|
<st-dropdown-menu-item (triggered)="onOpen()">Open</st-dropdown-menu-item>
|
|
@@ -12,7 +12,7 @@ export declare class DropdownMenuBarComponent {
|
|
|
12
12
|
*/
|
|
13
13
|
size: import("@angular/core").InputSignal<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
14
14
|
/** Whether to apply shadow */
|
|
15
|
-
shadow: import("@angular/core").
|
|
15
|
+
shadow: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
16
|
/**
|
|
17
17
|
* Computed CSS classes for the menu bar
|
|
18
18
|
*/
|
|
@@ -8,6 +8,8 @@ type AnimationState = 'closed' | 'opening' | 'open' | 'closing';
|
|
|
8
8
|
* DropdownMenuBarContent - Container for menu bar dropdown content
|
|
9
9
|
*/
|
|
10
10
|
export declare class DropdownMenuBarContentComponent {
|
|
11
|
+
/** @internal Where the menu is declared; its portaled panel takes this element's theme */
|
|
12
|
+
protected readonly host: HTMLElement;
|
|
11
13
|
private readonly menuStack;
|
|
12
14
|
private readonly templateRef;
|
|
13
15
|
get template(): TemplateRef<unknown>;
|
|
@@ -22,7 +24,7 @@ export declare class DropdownMenuBarContentComponent {
|
|
|
22
24
|
*/
|
|
23
25
|
size: import("@angular/core").InputSignal<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
24
26
|
/** Whether to apply shadow */
|
|
25
|
-
shadow: import("@angular/core").
|
|
27
|
+
shadow: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
26
28
|
/**
|
|
27
29
|
* Emitted when the menu is opened
|
|
28
30
|
*/
|
|
@@ -32,7 +34,8 @@ export declare class DropdownMenuBarContentComponent {
|
|
|
32
34
|
*/
|
|
33
35
|
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
34
36
|
/**
|
|
35
|
-
* Computed data state
|
|
37
|
+
* Computed data state
|
|
38
|
+
* @deprecated The panel's `data-state` now comes from the shared popover motion; this value is no longer bound
|
|
36
39
|
*/
|
|
37
40
|
dataState: import("@angular/core").Signal<AnimationState>;
|
|
38
41
|
/**
|
|
@@ -49,6 +52,7 @@ export declare class DropdownMenuBarContentComponent {
|
|
|
49
52
|
onMenuClosed(): void;
|
|
50
53
|
/**
|
|
51
54
|
* Handle animation end
|
|
55
|
+
* @deprecated The shared popover motion settles the panel; this handler is no longer bound
|
|
52
56
|
*/
|
|
53
57
|
onAnimationEnd(event: AnimationEvent): void;
|
|
54
58
|
/**
|
package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ export declare class DropdownMenuBarItemComponent {
|
|
|
7
7
|
/**
|
|
8
8
|
* Whether the menu item is disabled
|
|
9
9
|
*/
|
|
10
|
-
disabled: import("@angular/core").
|
|
10
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
11
|
/**
|
|
12
12
|
* Whether the menu item is active
|
|
13
13
|
*/
|
|
14
|
-
active: import("@angular/core").
|
|
14
|
+
active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
15
|
/**
|
|
16
16
|
* Optional keyboard shortcut text
|
|
17
17
|
*/
|
|
@@ -28,7 +28,7 @@ export declare class DropdownMenuBarItemComponent {
|
|
|
28
28
|
* Stop event propagation for activation events
|
|
29
29
|
* @defaultValue false
|
|
30
30
|
*/
|
|
31
|
-
stopPropagation: import("@angular/core").
|
|
31
|
+
stopPropagation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
32
32
|
/**
|
|
33
33
|
* Event emitted on click
|
|
34
34
|
*/
|
|
@@ -8,7 +8,7 @@ export declare class DropdownMenuBarItemCheckboxComponent {
|
|
|
8
8
|
/**
|
|
9
9
|
* Whether the checkbox is checked
|
|
10
10
|
*/
|
|
11
|
-
checked: import("@angular/core").
|
|
11
|
+
checked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
12
|
/**
|
|
13
13
|
* Watch for changes to checked input
|
|
14
14
|
*/
|
|
@@ -16,7 +16,7 @@ export declare class DropdownMenuBarItemCheckboxComponent {
|
|
|
16
16
|
/**
|
|
17
17
|
* Whether the menu item is disabled
|
|
18
18
|
*/
|
|
19
|
-
disabled: import("@angular/core").
|
|
19
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
20
|
/**
|
|
21
21
|
* Custom indicator character or text
|
|
22
22
|
*/
|
|
@@ -24,7 +24,7 @@ export declare class DropdownMenuBarItemCheckboxComponent {
|
|
|
24
24
|
/**
|
|
25
25
|
* Whether to show the indicator
|
|
26
26
|
*/
|
|
27
|
-
showIndicator: import("@angular/core").
|
|
27
|
+
showIndicator: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
28
|
/**
|
|
29
29
|
* Custom CSS classes
|
|
30
30
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class DropdownMenuBarItemCheckboxComponent {
|
|
|
41
41
|
* Stop event propagation for activation events
|
|
42
42
|
* @defaultValue false
|
|
43
43
|
*/
|
|
44
|
-
stopPropagation: import("@angular/core").
|
|
44
|
+
stopPropagation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
45
45
|
/**
|
|
46
46
|
* Event emitted on click
|
|
47
47
|
*/
|
|
@@ -8,7 +8,7 @@ export declare class DropdownMenuBarItemRadioComponent {
|
|
|
8
8
|
/**
|
|
9
9
|
* Whether the radio is checked
|
|
10
10
|
*/
|
|
11
|
-
checked: import("@angular/core").
|
|
11
|
+
checked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
12
|
/**
|
|
13
13
|
* The value of this radio item
|
|
14
14
|
*/
|
|
@@ -16,7 +16,7 @@ export declare class DropdownMenuBarItemRadioComponent {
|
|
|
16
16
|
/**
|
|
17
17
|
* Whether the menu item is disabled
|
|
18
18
|
*/
|
|
19
|
-
disabled: import("@angular/core").
|
|
19
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
20
|
/**
|
|
21
21
|
* Custom indicator character or text
|
|
22
22
|
*/
|
|
@@ -24,7 +24,7 @@ export declare class DropdownMenuBarItemRadioComponent {
|
|
|
24
24
|
/**
|
|
25
25
|
* Whether to show the indicator
|
|
26
26
|
*/
|
|
27
|
-
showIndicator: import("@angular/core").
|
|
27
|
+
showIndicator: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
28
|
/**
|
|
29
29
|
* Custom CSS classes
|
|
30
30
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class DropdownMenuBarItemRadioComponent {
|
|
|
41
41
|
* Stop event propagation for activation events
|
|
42
42
|
* @defaultValue false
|
|
43
43
|
*/
|
|
44
|
-
stopPropagation: import("@angular/core").
|
|
44
|
+
stopPropagation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
45
45
|
/**
|
|
46
46
|
* Event emitted on click
|
|
47
47
|
*/
|
|
@@ -5,9 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class DropdownMenuBarSubTriggerComponent {
|
|
7
7
|
private readonly elementRef;
|
|
8
|
+
/** @internal Placements tagged for the shared popover motion */
|
|
9
|
+
protected readonly menuPositions: import("@angular/cdk/overlay").ConnectedPosition[];
|
|
8
10
|
private readonly isOpen;
|
|
9
11
|
private hoverTimeout;
|
|
10
|
-
readonly disabled: import("@angular/core").
|
|
12
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
13
|
readonly className: import("@angular/core").InputSignal<string | undefined>;
|
|
12
14
|
readonly chevronIcon: import("@angular/core").InputSignal<string>;
|
|
13
15
|
/**
|
|
@@ -5,12 +5,14 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class DropdownMenuBarTriggerComponent {
|
|
7
7
|
private readonly elementRef;
|
|
8
|
+
/** @internal Placements tagged for the shared popover motion */
|
|
9
|
+
protected readonly menuPositions: import("@angular/cdk/overlay").ConnectedPosition[];
|
|
8
10
|
private readonly isOpen;
|
|
9
11
|
private hoverTimeout;
|
|
10
12
|
/**
|
|
11
13
|
* Whether the trigger is disabled
|
|
12
14
|
*/
|
|
13
|
-
disabled: import("@angular/core").
|
|
15
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
16
|
/**
|
|
15
17
|
* Menu template reference for the clean API (menuTriggerFor)
|
|
16
18
|
*/
|
|
@@ -5,11 +5,12 @@ import * as i1 from "@angular/cdk/menu";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class DropdownContextMenuTriggerComponent {
|
|
7
7
|
private readonly document;
|
|
8
|
+
constructor();
|
|
8
9
|
private originalBodyOverflow;
|
|
9
10
|
/**
|
|
10
11
|
* Whether the context menu is disabled
|
|
11
12
|
*/
|
|
12
|
-
disabled: import("@angular/core").
|
|
13
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
14
|
/**
|
|
14
15
|
* Handle menu opened - prevent body scroll
|
|
15
16
|
*/
|
|
@@ -29,7 +29,7 @@ export declare class DropdownMenuChevronComponent {
|
|
|
29
29
|
/**
|
|
30
30
|
* Whether the menu is open (for rotation) - now uses service or input
|
|
31
31
|
*/
|
|
32
|
-
isOpen: import("@angular/core").
|
|
32
|
+
isOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
33
33
|
/**
|
|
34
34
|
* Computed open state that uses service first, then input
|
|
35
35
|
*/
|
package/components/dropdown-menu/src/dropdown-menu-content/dropdown-menu-content.component.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
* DropdownMenuContent - Container for dropdown menu items
|
|
5
5
|
*/
|
|
6
6
|
export declare class DropdownMenuContentComponent {
|
|
7
|
+
/** @internal Where the menu is declared; its portaled panel takes this element's theme */
|
|
8
|
+
protected readonly host: HTMLElement;
|
|
7
9
|
private readonly menuStack;
|
|
8
10
|
private readonly templateRef;
|
|
9
11
|
get template(): TemplateRef<unknown>;
|
|
@@ -8,11 +8,11 @@ export declare class DropdownMenuItemComponent {
|
|
|
8
8
|
/**
|
|
9
9
|
* Whether the menu item is disabled
|
|
10
10
|
*/
|
|
11
|
-
disabled: import("@angular/core").
|
|
11
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
12
|
/**
|
|
13
13
|
* Whether the menu item is active
|
|
14
14
|
*/
|
|
15
|
-
active: import("@angular/core").
|
|
15
|
+
active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
16
|
/**
|
|
17
17
|
* Optional keyboard shortcut text
|
|
18
18
|
*/
|
|
@@ -29,7 +29,7 @@ export declare class DropdownMenuItemComponent {
|
|
|
29
29
|
* Stop event propagation for activation events
|
|
30
30
|
* @defaultValue false
|
|
31
31
|
*/
|
|
32
|
-
stopPropagation: import("@angular/core").
|
|
32
|
+
stopPropagation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
33
33
|
/**
|
|
34
34
|
* Event emitted on click
|
|
35
35
|
*/
|
|
@@ -4,6 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
* DropdownMenuSubContent - Container for submenu items
|
|
5
5
|
*/
|
|
6
6
|
export declare class DropdownMenuSubContentComponent {
|
|
7
|
+
/** @internal Where the menu is declared; its portaled panel takes this element's theme */
|
|
8
|
+
protected readonly host: HTMLElement;
|
|
7
9
|
private readonly menuStack;
|
|
8
10
|
private readonly templateRef;
|
|
9
11
|
get template(): TemplateRef<unknown>;
|
|
@@ -5,8 +5,9 @@ import * as i1 from "@angular/cdk/menu";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class DropdownMenuSubTriggerComponent {
|
|
7
7
|
private readonly dropdownMenuService;
|
|
8
|
+
constructor();
|
|
8
9
|
readonly iconChevronRight = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z\"></path></svg>";
|
|
9
|
-
readonly disabled: import("@angular/core").
|
|
10
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
10
11
|
readonly className: import("@angular/core").InputSignal<string | undefined>;
|
|
11
12
|
private readonly isOpen;
|
|
12
13
|
readonly triggerClass: import("@angular/core").Signal<string>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Empty State
|
|
2
|
+
|
|
3
|
+
Import: `@sixbell-telco/sdk/components/empty-state`
|
|
4
|
+
|
|
5
|
+
Selectors: `st-empty-state`, `st-empty-state-media`, `st-empty-state-actions`
|
|
6
|
+
|
|
7
|
+
Placeholder for an area with nothing to show: theme illustration (or projected media), heading, description and at most one call to action.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<st-empty-state heading="No services yet" description="Create the first service to start routing traffic.">
|
|
13
|
+
<st-empty-state-actions>
|
|
14
|
+
<st-button variant="primary" [icon]="addIcon">New service</st-button>
|
|
15
|
+
</st-empty-state-actions>
|
|
16
|
+
</st-empty-state>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Inside a table, project it into `st-table` with `size="sm"`; it replaces the built-in "no data" / "no results" blocks:
|
|
20
|
+
|
|
21
|
+
```html
|
|
22
|
+
<st-table [data]="rows()" [totalItems]="total()">
|
|
23
|
+
<thead>
|
|
24
|
+
…
|
|
25
|
+
</thead>
|
|
26
|
+
<tbody>
|
|
27
|
+
…
|
|
28
|
+
</tbody>
|
|
29
|
+
<st-empty-state size="sm" heading="No tables yet" description="Create a table to store lookup values." />
|
|
30
|
+
</st-table>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Notes
|
|
34
|
+
|
|
35
|
+
- Inputs: `heading`, `description`, `illustration` (theme asset key, default `empty-illustration`; `null` hides it), `size` (`md` | `sm`), `class`.
|
|
36
|
+
- CTA rule: a single `primary` button when the empty area is the creation point; a single `secondary` "Limpiar filtros" for no results; otherwise no button.
|
|
37
|
+
- Never show it while data is loading.
|
|
38
|
+
- It provides the `TABLE_EMPTY_STATE` token from the dependency-free `@sixbell-telco/sdk/components/table/tokens` entry, which is how `st-table` and `st-data-table` detect it. Using `st-empty-state` does not load the table or data-table entry.
|
|
39
|
+
- Opaque `base-100` surface with `base-content` text; the illustration is decorative (`alt=""`).
|
|
40
|
+
- Replaces the `app-empty-table` copies in consumer apps.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/empty-state.component';
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* Layout classes per size. The surface is opaque (`bg-base-100`) so a coloured backdrop, such as the modern layout band, never shows through.
|
|
5
|
+
*/
|
|
6
|
+
export declare const emptyStateComponent: (props?: ({
|
|
7
|
+
size?: "sm" | "md" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
/** Size of the empty state. `sm` fits inside a table body. */
|
|
10
|
+
export type EmptyStateSizeProps = 'sm' | 'md' | null | undefined;
|
|
11
|
+
/** Custom artwork for `st-empty-state`; replaces the theme illustration. */
|
|
12
|
+
export declare class EmptyStateMediaComponent {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateMediaComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateMediaComponent, "st-empty-state-media", never, {}, {}, never, ["*"], true, never>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Call to action of `st-empty-state`. Project a single button:
|
|
18
|
+
* a `primary` CTA when the empty area is the creation point, or a `secondary` "Limpiar filtros" for no results.
|
|
19
|
+
*/
|
|
20
|
+
export declare class EmptyStateActionsComponent {
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateActionsComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateActionsComponent, "st-empty-state-actions", never, {}, {}, never, ["*"], true, never>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Empty area placeholder: theme illustration (or projected media), heading, description and an optional single CTA.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* Project it into `st-table` to replace the table's built-in "no data" / "no results" blocks.
|
|
29
|
+
* Never show it while the data is loading.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```html
|
|
33
|
+
* <st-empty-state heading="No services yet" description="Create the first service to start routing traffic.">
|
|
34
|
+
* <st-empty-state-actions>
|
|
35
|
+
* <st-button variant="primary" [icon]="addIcon">New service</st-button>
|
|
36
|
+
* </st-empty-state-actions>
|
|
37
|
+
* </st-empty-state>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class EmptyStateComponent {
|
|
41
|
+
private readonly themeService;
|
|
42
|
+
private readonly themeAssetsService;
|
|
43
|
+
/** Short heading. Nothing is rendered when empty. */
|
|
44
|
+
heading: import("@angular/core").InputSignal<string>;
|
|
45
|
+
/** Supporting text that says what could appear here and how to populate it. Nothing is rendered when empty. */
|
|
46
|
+
description: import("@angular/core").InputSignal<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Theme asset key of the illustration, resolved for the active theme and scheme. `null` or `''` hides it.
|
|
49
|
+
* Projected `st-empty-state-media` replaces it.
|
|
50
|
+
* @defaultValue 'empty-illustration'
|
|
51
|
+
*/
|
|
52
|
+
illustration: import("@angular/core").InputSignal<string | null>;
|
|
53
|
+
/**
|
|
54
|
+
* Size; `sm` is the compact variant for in-table use
|
|
55
|
+
* @defaultValue 'md'
|
|
56
|
+
*/
|
|
57
|
+
size: import("@angular/core").InputSignal<EmptyStateSizeProps>;
|
|
58
|
+
/** Additional classes merged onto the host */
|
|
59
|
+
class: import("@angular/core").InputSignal<string>;
|
|
60
|
+
private readonly media;
|
|
61
|
+
/** @internal */
|
|
62
|
+
protected readonly hasMedia: import("@angular/core").Signal<boolean>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
protected readonly illustrationUrl: import("@angular/core").Signal<string | null>;
|
|
65
|
+
/** @internal */
|
|
66
|
+
protected readonly illustrationClass: import("@angular/core").Signal<string>;
|
|
67
|
+
/** @internal */
|
|
68
|
+
protected readonly headingPreset: import("@angular/core").Signal<"7" | "6">;
|
|
69
|
+
/** @internal */
|
|
70
|
+
readonly componentClass: import("@angular/core").Signal<string>;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "st-empty-state", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "illustration": { "alias": "illustration"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["media"], ["st-empty-state-media", "*", "st-empty-state-actions"], true, never>;
|
|
73
|
+
}
|
|
@@ -50,7 +50,7 @@ export declare class DropzoneComponent implements ControlValueAccessor {
|
|
|
50
50
|
* Whether to display uploaded files list
|
|
51
51
|
* @defaultValue true
|
|
52
52
|
*/
|
|
53
|
-
showFiles: import("@angular/core").
|
|
53
|
+
showFiles: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
54
54
|
/**
|
|
55
55
|
* Allowed file extensions (e.g., ['.pdf', '.mp3'])
|
|
56
56
|
*/
|
|
@@ -59,7 +59,7 @@ export declare class DropzoneComponent implements ControlValueAccessor {
|
|
|
59
59
|
* Whether upload is in progress
|
|
60
60
|
* @defaultValue false
|
|
61
61
|
*/
|
|
62
|
-
uploading: import("@angular/core").
|
|
62
|
+
uploading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
63
63
|
/**
|
|
64
64
|
* Whether the component is disabled
|
|
65
65
|
* @defaultValue false
|
|
@@ -69,7 +69,7 @@ export declare class DropzoneComponent implements ControlValueAccessor {
|
|
|
69
69
|
* Whether multiple files can be uploaded
|
|
70
70
|
* @defaultValue false
|
|
71
71
|
*/
|
|
72
|
-
multiple: import("@angular/core").
|
|
72
|
+
multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
73
73
|
/**
|
|
74
74
|
* HTML name attribute for the input
|
|
75
75
|
* @defaultValue 'file'
|
|
@@ -104,7 +104,7 @@ export declare class DropzoneComponent implements ControlValueAccessor {
|
|
|
104
104
|
* Stop event propagation for activation events
|
|
105
105
|
* @defaultValue false
|
|
106
106
|
*/
|
|
107
|
-
stopPropagation: import("@angular/core").
|
|
107
|
+
stopPropagation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
108
108
|
/**
|
|
109
109
|
* Color variant for the file-action tooltips (play, download, remove)
|
|
110
110
|
* @defaultValue 'base'
|
|
@@ -65,7 +65,7 @@ export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
|
65
65
|
* Whether to show allowed file extensions
|
|
66
66
|
* @defaultValue true
|
|
67
67
|
*/
|
|
68
|
-
showExtensions: import("@angular/core").
|
|
68
|
+
showExtensions: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
69
69
|
/**
|
|
70
70
|
* Allowed file extensions (e.g., ['.pdf', '.docx'])
|
|
71
71
|
*/
|
|
@@ -83,7 +83,7 @@ export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
|
83
83
|
* Stop event propagation for activation events
|
|
84
84
|
* @defaultValue false
|
|
85
85
|
*/
|
|
86
|
-
stopPropagation: import("@angular/core").
|
|
86
|
+
stopPropagation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
87
87
|
/**
|
|
88
88
|
* Event emitted on click
|
|
89
89
|
*/
|
|
@@ -72,7 +72,7 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
72
72
|
* Stop event propagation for activation events
|
|
73
73
|
* @defaultValue false
|
|
74
74
|
*/
|
|
75
|
-
stopPropagation: import("@angular/core").
|
|
75
|
+
stopPropagation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
76
76
|
/**
|
|
77
77
|
* Event emitted on click
|
|
78
78
|
*/
|
|
@@ -4,7 +4,7 @@ Import: `@sixbell-telco/sdk/components/forms/combobox`
|
|
|
4
4
|
|
|
5
5
|
Selector: `st-combobox`
|
|
6
6
|
|
|
7
|
-
Searchable select. Clear is a sibling of the trigger; the chevron is a custom icon that rotates in place.
|
|
7
|
+
Searchable select. Clear is a sibling of the trigger; the chevron is a custom icon that rotates in place. The panel opens 4px from the field with the shared popover motion (`popover-motion`), toward the side the CDK placed it on.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -24,3 +24,4 @@ Searchable select. Clear is a sibling of the trigger; the chevron is a custom ic
|
|
|
24
24
|
- `allowClear` keeps the clear control in tab order after the trigger. Do not nest a button in the trigger.
|
|
25
25
|
- Overlay animation follows CDK position with a 4px gap above or below.
|
|
26
26
|
- `selectionType` is `'single'` or `'multiple'`.
|
|
27
|
+
- Async options: a value written through the form (`writeValue`) before its options exist is kept and resolved, with its label, once a matching option arrives, without calling `onChange` (the control stays pristine). It is resolved again whenever `options` is replaced, so a list that is filtered or reloaded later still shows the label. A user selection, clear or `writeValue(null)` replaces it (clear is ignored while disabled). In `multiple` mode the values that match show right away and the ones without an option stay pending in the form, showing when their option arrives; a user toggle emits the visible values plus the still-pending ones, so nothing the form holds is silently dropped. Pending values are cleared by `writeValue`, a reset or a user clear.
|