@neuravision/ng-construct 0.4.0 → 0.4.2
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
|
@@ -1222,6 +1222,57 @@ declare class AfDatepickerComponent implements ControlValueAccessor {
|
|
|
1222
1222
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AfDatepickerComponent, "af-datepicker", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "dateChange": "dateChange"; }, never, never, true, never>;
|
|
1223
1223
|
}
|
|
1224
1224
|
|
|
1225
|
+
type AfChipVariant = 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
1226
|
+
type AfChipAppearance = 'subtle' | 'outline' | 'solid';
|
|
1227
|
+
type AfChipSize = 'sm' | 'md' | 'lg';
|
|
1228
|
+
/**
|
|
1229
|
+
* Chip component for labels, tags, statuses, and interactive filters.
|
|
1230
|
+
*
|
|
1231
|
+
* @example Static chip
|
|
1232
|
+
* <af-chip variant="success" size="sm">Resolved</af-chip>
|
|
1233
|
+
*
|
|
1234
|
+
* @example Toggle chip with two-way binding
|
|
1235
|
+
* <af-chip selectable [(selected)]="isActive">Filter</af-chip>
|
|
1236
|
+
*
|
|
1237
|
+
* @example Removable chip
|
|
1238
|
+
* <af-chip removable (removed)="onRemove()">Status: Active</af-chip>
|
|
1239
|
+
*/
|
|
1240
|
+
declare class AfChipComponent {
|
|
1241
|
+
/** Semantic color variant. */
|
|
1242
|
+
variant: _angular_core.InputSignal<AfChipVariant>;
|
|
1243
|
+
/** Visual style: subtle (filled background), outline, or solid. */
|
|
1244
|
+
appearance: _angular_core.InputSignal<AfChipAppearance>;
|
|
1245
|
+
/** Size of the chip. */
|
|
1246
|
+
size: _angular_core.InputSignal<AfChipSize>;
|
|
1247
|
+
/** Opaque value for identifying this chip in lists or groups. */
|
|
1248
|
+
value: _angular_core.InputSignal<unknown>;
|
|
1249
|
+
/** Enables toggle behavior with hover, active, focus styles, and keyboard support. */
|
|
1250
|
+
selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1251
|
+
/** Selected state for toggle chips. Supports two-way binding via `[(selected)]`. */
|
|
1252
|
+
selected: _angular_core.ModelSignal<boolean>;
|
|
1253
|
+
/** Disables the chip, preventing all interaction. */
|
|
1254
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1255
|
+
/** Shows a remove button inside the chip. */
|
|
1256
|
+
removable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1257
|
+
/** Shows a dot status indicator instead of an icon. */
|
|
1258
|
+
dot: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1259
|
+
/** Accessible label for icon-only or truncated chips. */
|
|
1260
|
+
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
1261
|
+
/** Accessible label for the remove button. Should be localized by the consumer. */
|
|
1262
|
+
removeAriaLabel: _angular_core.InputSignal<string>;
|
|
1263
|
+
/** Emits the chip's `value` when the remove button is clicked or Delete/Backspace is pressed. */
|
|
1264
|
+
removed: _angular_core.OutputEmitterRef<unknown>;
|
|
1265
|
+
chipRole: _angular_core.Signal<"button" | "group" | null>;
|
|
1266
|
+
iconClasses: _angular_core.Signal<string>;
|
|
1267
|
+
chipClasses: _angular_core.Signal<string>;
|
|
1268
|
+
handleClick(): void;
|
|
1269
|
+
handleKeydown(event: Event): void;
|
|
1270
|
+
handleRemoveKeydown(event: Event): void;
|
|
1271
|
+
handleRemove(event: MouseEvent): void;
|
|
1272
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AfChipComponent, never>;
|
|
1273
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AfChipComponent, "af-chip", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "removeAriaLabel": { "alias": "removeAriaLabel"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "removed": "removed"; }, never, ["[chipAvatar]", "af-icon,[chipIcon]", "*"], true, never>;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1225
1276
|
/**
|
|
1226
1277
|
* Chip input component for managing a list of string values.
|
|
1227
1278
|
*
|
|
@@ -2444,5 +2495,5 @@ declare class AfFormatLabelPipe implements PipeTransform {
|
|
|
2444
2495
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<AfFormatLabelPipe, "afFormatLabel", true>;
|
|
2445
2496
|
}
|
|
2446
2497
|
|
|
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 };
|
|
2498
|
+
export { AfAccordionComponent, AfAccordionItemComponent, AfAlertComponent, AfAppShellComponent, AfAppShellPageHeaderComponent, AfAppShellV2Component, AfAppShellV2ToolbarComponent, AfAvatarComponent, AfBadgeComponent, AfBannerComponent, AfBreadcrumbsComponent, AfButtonComponent, AfCardComponent, AfCellDefDirective, AfCheckboxComponent, AfChipComponent, 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 };
|
|
2499
|
+
export type { AfAlertVariant, AfAvatarSize, AfAvatarStatus, AfBadgeVariant, AfBannerAppearance, AfBannerPosition, AfBannerVariant, AfBreadcrumb, AfButtonSize, AfButtonType, AfButtonVariant, AfCardElevation, AfCardPadding, AfChipAppearance, AfChipSize, AfChipVariant, 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 };
|