@mozaic-ds/angular 2.2.2 → 2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mozaic-ds/angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": ">=20.3.15",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.8.1",
|
|
11
11
|
"libphonenumber-js": "^1.12.31",
|
|
12
|
-
"@mozaic-ds/icons-angular": "^0.
|
|
12
|
+
"@mozaic-ds/icons-angular": "^0.19.0"
|
|
13
13
|
},
|
|
14
14
|
"sideEffects": false,
|
|
15
15
|
"publishConfig": {
|
|
@@ -3342,5 +3342,86 @@ declare class MozDataTableTopComponent {
|
|
|
3342
3342
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MozDataTableTopComponent, "moz-datatable-top", never, {}, {}, ["edition", "actions", "filters"], ["[mozDataTableTopEdition]", "[mozDataTableTopActions]", "[mozDataTableTopFilters]"], true, never>;
|
|
3343
3343
|
}
|
|
3344
3344
|
|
|
3345
|
-
|
|
3346
|
-
|
|
3345
|
+
/**
|
|
3346
|
+
* Describes a single navigation entry rendered by the bottom bar.
|
|
3347
|
+
*
|
|
3348
|
+
* The trigger element is inferred from the item itself: an item carrying a
|
|
3349
|
+
* `routerLink` or an `href` is rendered as an anchor, any other item is
|
|
3350
|
+
* rendered as a `button`.
|
|
3351
|
+
*/
|
|
3352
|
+
interface MozBottomBarItem {
|
|
3353
|
+
/** Unique identifier, used to resolve the selected state. */
|
|
3354
|
+
id: string;
|
|
3355
|
+
/** Text displayed under the icon. */
|
|
3356
|
+
label: string;
|
|
3357
|
+
/** Icon component displayed above the label. */
|
|
3358
|
+
icon?: Type<unknown>;
|
|
3359
|
+
/** Renders the trigger as an anchor pointing to this URL. */
|
|
3360
|
+
href?: string;
|
|
3361
|
+
/** Renders the trigger as an anchor driven by the Angular router. */
|
|
3362
|
+
routerLink?: string | unknown[];
|
|
3363
|
+
/** Anchor target. Only used together with `href`. */
|
|
3364
|
+
target?: string;
|
|
3365
|
+
/** Prevents any interaction with the trigger. */
|
|
3366
|
+
disabled?: boolean;
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3369
|
+
/**
|
|
3370
|
+
* The bottom bar is the primary navigation of a mobile interface. It is pinned to the bottom
|
|
3371
|
+
* of the viewport and exposes a short list of destinations, each one made of an icon and a
|
|
3372
|
+
* label. Only one destination can be selected at a time.
|
|
3373
|
+
*/
|
|
3374
|
+
declare class MozBottomBarComponent {
|
|
3375
|
+
/** Navigation entries displayed by the bottom bar. */
|
|
3376
|
+
readonly items: _angular_core.InputSignal<MozBottomBarItem[]>;
|
|
3377
|
+
/** Accessible name of the navigation landmark. */
|
|
3378
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
3379
|
+
/** Displays a divider above the list of triggers. */
|
|
3380
|
+
readonly divider: _angular_core.InputSignal<boolean>;
|
|
3381
|
+
/** Identifier of the currently selected item. Two-way bindable. */
|
|
3382
|
+
readonly selectedId: _angular_core.ModelSignal<string | null>;
|
|
3383
|
+
/** Emitted whenever an enabled item is activated. */
|
|
3384
|
+
readonly itemSelected: _angular_core.OutputEmitterRef<MozBottomBarItem>;
|
|
3385
|
+
isSelected(item: MozBottomBarItem): boolean;
|
|
3386
|
+
triggerClasses(item: MozBottomBarItem): Record<string, boolean>;
|
|
3387
|
+
onSelect(item: MozBottomBarItem, event: Event): void;
|
|
3388
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MozBottomBarComponent, never>;
|
|
3389
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MozBottomBarComponent, "moz-bottom-bar", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "divider": { "alias": "divider"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; }, { "selectedId": "selectedIdChange"; "itemSelected": "itemSelected"; }, never, never, true, never>;
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
/**
|
|
3393
|
+
* Background applied to the icon container of the empty state.
|
|
3394
|
+
*/
|
|
3395
|
+
type MozEmptyStateAppearance = 'primary' | 'secondary';
|
|
3396
|
+
/**
|
|
3397
|
+
* Heading level exposed to assistive technologies for the empty state title.
|
|
3398
|
+
*/
|
|
3399
|
+
type MozEmptyStateHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* An empty state explains why a zone of the interface holds no content yet — a search
|
|
3403
|
+
* without result, a list not fed, a feature not set up — and points the user to the next
|
|
3404
|
+
* step. It is made of an illustrative icon, a title, a description and optional actions
|
|
3405
|
+
* projected through the `actions` slot.
|
|
3406
|
+
*/
|
|
3407
|
+
declare class MozEmptyStateComponent {
|
|
3408
|
+
/** Icon component illustrating the empty state. */
|
|
3409
|
+
readonly icon: _angular_core.InputSignal<Type<unknown> | null>;
|
|
3410
|
+
/** Background of the icon container. */
|
|
3411
|
+
readonly appearance: _angular_core.InputSignal<MozEmptyStateAppearance>;
|
|
3412
|
+
/** Short sentence naming what is missing. */
|
|
3413
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
3414
|
+
/** Complementary text explaining how to fill the void. */
|
|
3415
|
+
readonly description: _angular_core.InputSignal<string | null>;
|
|
3416
|
+
/** Heading level reported to assistive technologies for the title. */
|
|
3417
|
+
readonly headingLevel: _angular_core.InputSignal<MozEmptyStateHeadingLevel>;
|
|
3418
|
+
readonly iconClasses: _angular_core.Signal<{
|
|
3419
|
+
'empty-state__icon': boolean;
|
|
3420
|
+
'empty-state__icon--secondary': boolean;
|
|
3421
|
+
}>;
|
|
3422
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MozEmptyStateComponent, never>;
|
|
3423
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MozEmptyStateComponent, "moz-empty-state", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; }, {}, never, ["[actions]"], true, never>;
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3426
|
+
export { ACTION_LISTBOX_CONFIG, ActionListboxContainerComponent, ActionListboxRef, BuiltInMenuComponent, DEFAULT_ACTION_LISTBOX_CONFIG, DEFAULT_MODAL_CONFIG, DEFAULT_TOASTER_CONFIG, DRAWER_CONFIG, DRAWER_DATA, DrawerContainerComponent, MODAL_CONFIG, MODAL_DATA, MOZ_DATATABLE_DEFAULT_PAGE_SIZES, MozAccordionComponent, MozAccordionContentComponent, MozAccordionHeaderComponent, MozAccordionPanelComponent, MozActionBottomBarComponent, MozActionListboxComponent, MozActionListboxTriggerDirective, MozAvatarComponent, MozBottomBarComponent, MozBreadcrumbComponent, MozButtonComponent, MozCalloutComponent, MozCarouselComponent, MozCheckListMenuComponent, MozCheckboxComponent, MozCheckboxGroupComponent, MozCircularProgressBarComponent, MozComboboxComponent, MozComboboxHarness, MozComboboxOptionHarness, MozDataTableBodyTemplateDirective, MozDataTableCellComponent, MozDataTableCellTemplateDirective, MozDataTableColumnComponent, MozDataTableComponent, MozDataTableExpandTemplateDirective, MozDataTableHeaderComponent, MozDataTableHeaderTemplateDirective, MozDataTableHeadersTemplateDirective, MozDataTableNoDataTemplateDirective, MozDataTableRowComponent, MozDataTableSelectionbarDirective, MozDataTableTopActionsDirective, MozDataTableTopComponent, MozDataTableTopEditionDirective, MozDataTableTopFiltersDirective, MozDatepickerComponent, MozDividerComponent, MozDrawerComponent, MozDrawerFooterDirective, MozDrawerRef, MozDrawerService, MozEmptyStateComponent, MozFieldComponent, MozFieldGroupComponent, MozFileUploaderComponent, MozFileUploaderItemComponent, MozFlagComponent, MozIconButtonComponent, MozKpiComponent, MozLinearProgressBarBufferComponent, MozLinearProgressBarPercentageComponent, MozLinkComponent, MozLoaderComponent, MozLoadingOverlayComponent, MozModalComponent, MozModalFooterDirective, MozModalRef, MozModalService, MozNavigationIndicatorComponent, MozNumberBadgeComponent, MozOverlayComponent, MozPageHeaderComponent, MozPaginationComponent, MozPasswordInputDirective, MozPhoneNumberComponent, MozPincodeInputComponent, MozPopoverComponent, MozPopoverFooterDirective, MozPopoverTriggerDirective, MozQuantitySelectorComponent, MozRadioComponent, MozRadioGroupComponent, MozSegmentedControlComponent, MozSelectComponent, MozSidebarComponent, MozStarRatingComponent, MozStatusBadgeComponent, MozStatusDotComponent, MozStatusMessageComponent, MozStatusNotificationComponent, MozStepperBottomBarComponent, MozStepperCompactComponent, MozStepperInlineComponent, MozStepperStackedComponent, MozTabComponent, MozTabsComponent, MozTagComponent, MozTextInput, MozTextarea, MozTileComponent, MozTileExpandableComponent, MozTileSelectableComponent, MozToasterComponent, MozToasterRef, MozToasterService, MozToggleComponent, MozTooltipComponent, MozTooltipDirective, MozTreeComponent, MozTreeNodeComponent, MozTreeNodeTemplateDirective, POPOVER_CONFIG, POPOVER_DATA, PopoverContainerComponent, PopoverRef, PopoverService, TOASTER_CONFIG, TreeKeyboardService, TreeSelectionService, TreeStateService, isSection };
|
|
3427
|
+
export type { ActionListboxConfig, ActionListboxPosition, FlatNode, LoadChildrenFn, MozActionListItem, MozActionListItemAppearance, MozAvatarSize, MozBottomBarItem, MozBreadcrumbAppearance, MozBreadcrumbLink, MozBuiltInMenuItem, MozBuiltInMenuItemTarget, MozButtonAppearance, MozButtonIconPosition, MozButtonSize, MozButtonType, MozCalloutVariant, MozCheckListMenuItem, MozCircularProgessBarSize, MozComboboxItem, MozComboboxOption, MozComboboxSection, MozComboboxSize, MozDataTableAccessibilityLabels, MozDataTableCellContext, MozDataTableCellType, MozDataTableHeader, MozDataTableHeaderContext, MozDataTablePageSizeOption, MozDataTableRowEvent, MozDataTableRowsEvent, MozDataTableSize, MozDataTableSort, MozDataTableSortDirection, MozDataTableSortMode, MozDataTableUpdatePayload, MozDatepickerSize, MozDividerAppearance, MozDividerOrientation, MozDividerSize, MozDrawerConfig, MozDrawerPosition, MozEmptyStateAppearance, MozEmptyStateHeadingLevel, MozFileUploaderFormat, MozFileUploaderItemFormat, MozFlagType, MozIconButtonAppearance, MozIconButtonSize, MozIconButtonType, MozKpiSize, MozKpiStatus, MozKpiTrend, MozLinearProgressBarBufferSize, MozLinkAppearance, MozLinkIconPosition, MozLinkSize, MozLoaderAppearance, MozLoaderSize, MozNavigationIndicatorAction, MozNumberBadgeAppearance, MozNumberBadgeSize, MozPageHeaderScope, MozPhoneNumberCountry, MozPhoneNumberSize, MozPhoneNumberValue, MozPincodeLength, MozPopoverAppearance, MozPopoverPosition, MozPopoverSize, MozQuantitySelectorSize, MozSegmentedControlSize, MozSegmentedItem, MozSelectOption, MozSelectSize, MozSelectValue, MozSidebarItem, MozSidebarSubItem, MozStarRatingAppearance, MozStarRatingSize, MozStatusBadgeStatus, MozStatusDotSize, MozStatusDotStatus, MozStatusMessageStatus, MozStatusNotificationStatus, MozStepperBottomBarStep, MozStepperInlineStep, MozStepperStackedStep, MozTabItem, MozTagSize, MozTagType, MozTextInputSize, MozTileAppearance, MozTileExpandableTrigger, MozTileInputPosition, MozTileInputVerticalPosition, MozTileSelectableAppearance, MozTileSelectableType, MozToasterPosition, MozToasterRole, MozToasterStatus, MozToggleSize, MozTooltipPosition, PopoverConfig, PopoverTriggerMode, TreeNode, TreeNodeContext, TreeSelectionMode };
|