@neuravision/ng-construct 0.3.6 → 0.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
|
@@ -979,6 +979,49 @@ declare class AfTabsComponent {
|
|
|
979
979
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AfTabsComponent, "af-tabs", never, { "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; }, ["panels"], ["*"], true, never>;
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
+
interface AfNavTab {
|
|
983
|
+
/** Unique identifier for the tab. */
|
|
984
|
+
id: string;
|
|
985
|
+
/** Display label. */
|
|
986
|
+
label: string;
|
|
987
|
+
/** Angular Router link for navigation. */
|
|
988
|
+
routerLink: string | string[];
|
|
989
|
+
/** Disables the tab. */
|
|
990
|
+
disabled?: boolean;
|
|
991
|
+
}
|
|
992
|
+
type AfNavTabsVariant = 'default' | 'pill';
|
|
993
|
+
type AfNavTabsSize = 'sm' | 'md' | 'lg';
|
|
994
|
+
/**
|
|
995
|
+
* Router-based tab navigation component.
|
|
996
|
+
*
|
|
997
|
+
* Uses the `ct-tabs` CSS classes from the Construct Design System but renders
|
|
998
|
+
* `<a routerLink>` elements for navigation. Active state is determined
|
|
999
|
+
* automatically via `routerLinkActive`.
|
|
1000
|
+
*
|
|
1001
|
+
* For content-panel tabs (show/hide content without routing), use `<af-tabs>` instead.
|
|
1002
|
+
*
|
|
1003
|
+
* @example
|
|
1004
|
+
* <af-nav-tabs
|
|
1005
|
+
* [tabs]="[
|
|
1006
|
+
* { id: 'my', label: 'My Documents', routerLink: '/documents/my' },
|
|
1007
|
+
* { id: 'all', label: 'All Documents', routerLink: '/documents/all' }
|
|
1008
|
+
* ]">
|
|
1009
|
+
* </af-nav-tabs>
|
|
1010
|
+
*/
|
|
1011
|
+
declare class AfNavTabsComponent {
|
|
1012
|
+
/** Tab items to render. */
|
|
1013
|
+
tabs: _angular_core.InputSignal<AfNavTab[]>;
|
|
1014
|
+
/** Visual variant. `'pill'` renders pill-shaped tabs with background. */
|
|
1015
|
+
variant: _angular_core.InputSignal<AfNavTabsVariant>;
|
|
1016
|
+
/** Size variant. */
|
|
1017
|
+
size: _angular_core.InputSignal<AfNavTabsSize>;
|
|
1018
|
+
/** Accessible label for the tab navigation. */
|
|
1019
|
+
ariaLabel: _angular_core.InputSignal<string>;
|
|
1020
|
+
containerClasses: _angular_core.Signal<string>;
|
|
1021
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AfNavTabsComponent, never>;
|
|
1022
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AfNavTabsComponent, "af-nav-tabs", never, { "tabs": { "alias": "tabs"; "required": true; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
982
1025
|
interface AfDropdownItem {
|
|
983
1026
|
label: string;
|
|
984
1027
|
value: unknown;
|
|
@@ -1080,13 +1123,24 @@ declare class AfPaginationComponent {
|
|
|
1080
1123
|
|
|
1081
1124
|
interface AfBreadcrumb {
|
|
1082
1125
|
label: string;
|
|
1126
|
+
/** Angular Router link for SPA navigation (preferred for internal routes). */
|
|
1127
|
+
routerLink?: string | string[];
|
|
1128
|
+
/** Plain HTML href for external links. Causes a full page reload. */
|
|
1083
1129
|
url?: string;
|
|
1084
1130
|
}
|
|
1085
1131
|
/**
|
|
1086
|
-
* Breadcrumbs navigation component
|
|
1132
|
+
* Breadcrumbs navigation component with Angular Router support.
|
|
1133
|
+
*
|
|
1134
|
+
* Items with `routerLink` navigate via the Angular Router (no page reload).
|
|
1135
|
+
* Items with `url` render a plain `<a href>` (for external links).
|
|
1136
|
+
* The last item is always rendered as static text (current page).
|
|
1087
1137
|
*
|
|
1088
1138
|
* @example
|
|
1089
|
-
* <af-breadcrumbs [items]="
|
|
1139
|
+
* <af-breadcrumbs [items]="[
|
|
1140
|
+
* { label: 'Home', routerLink: '/' },
|
|
1141
|
+
* { label: 'Documents', routerLink: '/documents' },
|
|
1142
|
+
* { label: 'My Documents' }
|
|
1143
|
+
* ]"></af-breadcrumbs>
|
|
1090
1144
|
*/
|
|
1091
1145
|
declare class AfBreadcrumbsComponent {
|
|
1092
1146
|
/** Breadcrumb items */
|
|
@@ -2390,5 +2444,5 @@ declare class AfFormatLabelPipe implements PipeTransform {
|
|
|
2390
2444
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<AfFormatLabelPipe, "afFormatLabel", true>;
|
|
2391
2445
|
}
|
|
2392
2446
|
|
|
2393
|
-
export { AfAccordionComponent, AfAccordionItemComponent, AfAlertComponent, AfAppShellComponent, AfAppShellPageHeaderComponent, AfAppShellV2Component, AfAppShellV2ToolbarComponent, AfAvatarComponent, AfBadgeComponent, AfBannerComponent, AfBreadcrumbsComponent, AfButtonComponent, AfCardComponent, AfCellDefDirective, AfCheckboxComponent, AfChipInputComponent, AfComboboxComponent, AfDataTableComponent, AfDatepickerComponent, AfDividerComponent, AfDrawerComponent, AfDropdownComponent, AfEmptyStateComponent, AfFieldComponent, AfFileUploadComponent, AfFormatLabelPipe, AfIconComponent, AfInputComponent, AfModalComponent, AfNavItemComponent, AfNavbarComponent, AfPaginationComponent, AfPopoverComponent, AfPopoverTriggerDirective, AfProgressBarComponent, AfRadioComponent, AfRadioGroupComponent, AfSelectComponent, AfSelectMenuComponent, AfSidebarComponent, AfSkeletonComponent, AfSkipLinkComponent, AfSliderComponent, AfSpinnerComponent, AfSwitchComponent, AfTabPanelComponent, AfTableBodyComponent, AfTableCellComponent, AfTableComponent, AfTableHeaderCellComponent, AfTableHeaderComponent, AfTableRowComponent, AfTabsComponent, AfTextareaComponent, AfToastContainerComponent, AfToastService, AfToggleGroupComponent, AfToolbarComponent, AfTooltipDirective };
|
|
2394
|
-
export type { AfAlertVariant, AfAvatarSize, AfAvatarStatus, AfBadgeVariant, AfBannerAppearance, AfBannerPosition, AfBannerVariant, AfBreadcrumb, AfButtonSize, AfButtonType, AfButtonVariant, AfCardElevation, AfCardPadding, AfColumn, AfComboboxOption, AfDataRow, AfDataTableConfig, AfDividerColor, AfDividerOrientation, AfDividerSpacing, AfDrawerPosition, AfDrawerSize, AfDropdownItem, AfEmptyStateSize, AfEmptyStateVariant, AfFileEntry, AfFileValidationError, AfIconSize, AfInputType, AfNavbarSize, AfNavbarVariant, AfPopoverAlign, AfPopoverPosition, AfPopoverSize, AfProgressBarSize, AfProgressBarVariant, AfSelectMenuOption, AfSelectOption, AfShellPanelState, AfShellSidebarState, AfSidebarMode, AfSkeletonVariant, AfSliderSize, AfSortDirection, AfSortState, AfSpinnerSize, AfTab, AfTableCellType, AfTableVariant, AfToast, AfToastVariant, AfToggleGroupSize, AfToggleItem, AfTooltipPosition };
|
|
2447
|
+
export { AfAccordionComponent, AfAccordionItemComponent, AfAlertComponent, AfAppShellComponent, AfAppShellPageHeaderComponent, AfAppShellV2Component, AfAppShellV2ToolbarComponent, AfAvatarComponent, AfBadgeComponent, AfBannerComponent, AfBreadcrumbsComponent, AfButtonComponent, AfCardComponent, AfCellDefDirective, AfCheckboxComponent, AfChipInputComponent, AfComboboxComponent, AfDataTableComponent, AfDatepickerComponent, AfDividerComponent, AfDrawerComponent, AfDropdownComponent, AfEmptyStateComponent, AfFieldComponent, AfFileUploadComponent, AfFormatLabelPipe, AfIconComponent, AfInputComponent, AfModalComponent, AfNavItemComponent, AfNavTabsComponent, AfNavbarComponent, AfPaginationComponent, AfPopoverComponent, AfPopoverTriggerDirective, AfProgressBarComponent, AfRadioComponent, AfRadioGroupComponent, AfSelectComponent, AfSelectMenuComponent, AfSidebarComponent, AfSkeletonComponent, AfSkipLinkComponent, AfSliderComponent, AfSpinnerComponent, AfSwitchComponent, AfTabPanelComponent, AfTableBodyComponent, AfTableCellComponent, AfTableComponent, AfTableHeaderCellComponent, AfTableHeaderComponent, AfTableRowComponent, AfTabsComponent, AfTextareaComponent, AfToastContainerComponent, AfToastService, AfToggleGroupComponent, AfToolbarComponent, AfTooltipDirective };
|
|
2448
|
+
export type { AfAlertVariant, AfAvatarSize, AfAvatarStatus, AfBadgeVariant, AfBannerAppearance, AfBannerPosition, AfBannerVariant, AfBreadcrumb, AfButtonSize, AfButtonType, AfButtonVariant, AfCardElevation, AfCardPadding, AfColumn, AfComboboxOption, AfDataRow, AfDataTableConfig, AfDividerColor, AfDividerOrientation, AfDividerSpacing, AfDrawerPosition, AfDrawerSize, AfDropdownItem, AfEmptyStateSize, AfEmptyStateVariant, AfFileEntry, AfFileValidationError, AfIconSize, AfInputType, AfNavTab, AfNavTabsSize, AfNavTabsVariant, AfNavbarSize, AfNavbarVariant, AfPopoverAlign, AfPopoverPosition, AfPopoverSize, AfProgressBarSize, AfProgressBarVariant, AfSelectMenuOption, AfSelectOption, AfShellPanelState, AfShellSidebarState, AfSidebarMode, AfSkeletonVariant, AfSliderSize, AfSortDirection, AfSortState, AfSpinnerSize, AfTab, AfTableCellType, AfTableVariant, AfToast, AfToastVariant, AfToggleGroupSize, AfToggleItem, AfTooltipPosition };
|