@lesterarte/sefin-ui 0.0.20-dev.1 → 0.0.20-dev.3

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": "@lesterarte/sefin-ui",
3
- "version": "0.0.20-dev.1",
3
+ "version": "0.0.20-dev.3",
4
4
  "description": "Sefin Design System - A comprehensive Angular UI library based on Atomic Design and design tokens",
5
5
  "keywords": [
6
6
  "angular",
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { EventEmitter, Injector, AfterViewInit, OnChanges, ElementRef, SimpleChanges, OnInit, OnDestroy, ChangeDetectorRef, NgZone } from '@angular/core';
3
3
  import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
4
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
5
 
5
6
  /**
6
7
  * Color design tokens as TypeScript constants
@@ -1249,6 +1250,26 @@ declare class ImageComponent implements OnInit, OnChanges {
1249
1250
  static ɵcmp: i0.ɵɵComponentDeclaration<ImageComponent, "sefin-image", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "fit": { "alias": "fit"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "aspectRatio": { "alias": "aspectRatio"; "required": false; }; "fallback": { "alias": "fallback"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "srcset": { "alias": "srcset"; "required": false; }; }, {}, never, never, true, never>;
1250
1251
  }
1251
1252
 
1253
+ type TabVariant = 'default' | 'primary' | 'secondary' | 'underline';
1254
+ type TabSize = 'sm' | 'md' | 'lg';
1255
+ declare class TabComponent {
1256
+ /** Tab variant style. Options: 'default' | 'primary' | 'secondary' | 'underline' */
1257
+ variant: TabVariant;
1258
+ /** Tab size. Options: 'sm' | 'md' | 'lg' */
1259
+ size: TabSize;
1260
+ /** Whether the tab is disabled */
1261
+ disabled: boolean;
1262
+ /** Whether the tab is active */
1263
+ active: boolean;
1264
+ /** Additional CSS classes */
1265
+ class: string;
1266
+ clicked: EventEmitter<MouseEvent>;
1267
+ onClick(event: MouseEvent): void;
1268
+ get tabClasses(): string;
1269
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
1270
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "sefin-tab", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "active": { "alias": "active"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
1271
+ }
1272
+
1252
1273
  declare class AccordionItemComponent {
1253
1274
  /** Title text for the accordion header */
1254
1275
  title: string;
@@ -1311,6 +1332,33 @@ declare class AutocompleteComponent implements OnInit, OnDestroy, OnChanges {
1311
1332
  static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "sefin-autocomplete", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "class": { "alias": "class"; "required": false; }; "value": { "alias": "value"; "required": false; }; "minChars": { "alias": "minChars"; "required": false; }; "maxResults": { "alias": "maxResults"; "required": false; }; }, { "valueChange": "valueChange"; "optionSelected": "optionSelected"; "inputChange": "inputChange"; }, never, never, true, never>;
1312
1333
  }
1313
1334
 
1335
+ interface BreadcrumbItem {
1336
+ label: string;
1337
+ href?: string;
1338
+ icon?: string;
1339
+ }
1340
+ type BreadcrumbSeparator = 'slash' | 'chevron' | 'arrow';
1341
+ type BreadcrumbSize = 'sm' | 'md' | 'lg';
1342
+ declare class BreadcrumbsComponent {
1343
+ private sanitizer;
1344
+ /** Array of breadcrumb items */
1345
+ items: BreadcrumbItem[];
1346
+ /** Separator style. Options: 'slash' | 'chevron' | 'arrow' */
1347
+ separator: BreadcrumbSeparator;
1348
+ /** Breadcrumb size. Options: 'sm' | 'md' | 'lg' */
1349
+ size: BreadcrumbSize;
1350
+ /** Additional CSS classes */
1351
+ class: string;
1352
+ constructor(sanitizer: DomSanitizer);
1353
+ get breadcrumbsClasses(): string;
1354
+ isLastItem(index: number): boolean;
1355
+ getSeparatorIcon(): string;
1356
+ sanitizeHtml(html: string | undefined): SafeHtml | string;
1357
+ getSeparatorIconSafe(): SafeHtml;
1358
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
1359
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsComponent, "sefin-breadcrumbs", never, { "items": { "alias": "items"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "size": { "alias": "size"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
1360
+ }
1361
+
1314
1362
  declare class CardComponent {
1315
1363
  /** Card variant style. Options: 'default' | 'elevated' | 'outlined' */
1316
1364
  variant: CardVariant;
@@ -1502,5 +1550,5 @@ declare class TextareaComponent implements ControlValueAccessor, Validator, OnIn
1502
1550
 
1503
1551
  declare const STYLES_PATH = "./styles/index.scss";
1504
1552
 
1505
- export { AccordionItemComponent, AlertComponent, AutocompleteComponent, AvatarComponent, BORDER_RADIUS_TOKENS, BRAND_THEME, BadgeComponent, ButtonComponent, COLOR_TOKENS, CardComponent, CheckboxComponent, ChipComponent, ContainerComponent, DARK_THEME, DESIGN_TOKENS, DatepickerComponent, DividerComponent, FabButtonComponent, IconButtonComponent, IconComponent, ImageComponent, LIGHT_THEME, LinkComponent, ProgressBarComponent, RadioComponent, SHADOW_TOKENS, SPACING_TOKENS, STYLES_PATH, SelectComponent, SpinnerComponent, StackComponent, SwitchComponent, TYPOGRAPHY_TOKENS, TagComponent, TextFieldComponent, TextareaComponent, ThemeLoader, ToastComponent, TooltipComponent, TypographyComponent };
1506
- export type { AlertSize, AlertVariant, AutocompleteOption, AvatarSize, BadgeSize, BadgeVariant, BaseComponent, BorderRadiusToken, ButtonSize, ButtonVariant, CardVariant, ChipSize, ChipVariant, ColorShade, ColorTokenName, ContainerSize, ContainerVariant, CustomTheme, DateFormat, DatePickerMode, DateRange, DividerOrientation, DividerVariant, FabSize, IconSize, ImageFit, ImageLoading, ImageRounded, InputSize, LinkSize, LinkVariant, ProgressBarSize, ProgressBarVariant, SelectOption, ShadowToken, SpacingToken, SpinnerSize, SpinnerVariant, TagSize, TagVariant, TextFieldSize, TextFieldType, TextFieldVariant, TextareaSize, TextareaVariant, Theme, ThemeColors, ToastPosition, ToastVariant, TooltipPosition, TooltipTrigger, TypographyColor, TypographyLineHeight, TypographySize, TypographyToken, TypographyVariant, TypographyWeight };
1553
+ export { AccordionItemComponent, AlertComponent, AutocompleteComponent, AvatarComponent, BORDER_RADIUS_TOKENS, BRAND_THEME, BadgeComponent, BreadcrumbsComponent, ButtonComponent, COLOR_TOKENS, CardComponent, CheckboxComponent, ChipComponent, ContainerComponent, DARK_THEME, DESIGN_TOKENS, DatepickerComponent, DividerComponent, FabButtonComponent, IconButtonComponent, IconComponent, ImageComponent, LIGHT_THEME, LinkComponent, ProgressBarComponent, RadioComponent, SHADOW_TOKENS, SPACING_TOKENS, STYLES_PATH, SelectComponent, SpinnerComponent, StackComponent, SwitchComponent, TYPOGRAPHY_TOKENS, TabComponent, TagComponent, TextFieldComponent, TextareaComponent, ThemeLoader, ToastComponent, TooltipComponent, TypographyComponent };
1554
+ export type { AlertSize, AlertVariant, AutocompleteOption, AvatarSize, BadgeSize, BadgeVariant, BaseComponent, BorderRadiusToken, BreadcrumbItem, BreadcrumbSeparator, BreadcrumbSize, ButtonSize, ButtonVariant, CardVariant, ChipSize, ChipVariant, ColorShade, ColorTokenName, ContainerSize, ContainerVariant, CustomTheme, DateFormat, DatePickerMode, DateRange, DividerOrientation, DividerVariant, FabSize, IconSize, ImageFit, ImageLoading, ImageRounded, InputSize, LinkSize, LinkVariant, ProgressBarSize, ProgressBarVariant, SelectOption, ShadowToken, SpacingToken, SpinnerSize, SpinnerVariant, TabSize, TabVariant, TagSize, TagVariant, TextFieldSize, TextFieldType, TextFieldVariant, TextareaSize, TextareaVariant, Theme, ThemeColors, ToastPosition, ToastVariant, TooltipPosition, TooltipTrigger, TypographyColor, TypographyLineHeight, TypographySize, TypographyToken, TypographyVariant, TypographyWeight };