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

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.3",
3
+ "version": "0.0.20-dev.5",
4
4
  "description": "Sefin Design System - A comprehensive Angular UI library based on Atomic Design and design tokens",
5
5
  "keywords": [
6
6
  "angular",
@@ -1270,6 +1270,47 @@ declare class TabComponent {
1270
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
1271
  }
1272
1272
 
1273
+ type RateSize = 'sm' | 'md' | 'lg';
1274
+ type RateIcon = 'star' | 'heart' | 'thumb';
1275
+ declare class RateComponent {
1276
+ /** Current rating value (0 to max) */
1277
+ set value(value: number);
1278
+ get value(): number;
1279
+ private _value;
1280
+ /** Maximum rating value */
1281
+ max: number;
1282
+ /** Whether the rating is disabled */
1283
+ disabled: boolean;
1284
+ /** Whether the rating is readonly */
1285
+ readonly: boolean;
1286
+ /** Whether to allow half stars */
1287
+ allowHalf: boolean;
1288
+ /** Icon type. Options: 'star' | 'heart' | 'thumb' */
1289
+ icon: RateIcon;
1290
+ /** Rate size. Options: 'sm' | 'md' | 'lg' */
1291
+ size: RateSize;
1292
+ /** Whether to show text with rating */
1293
+ showText: boolean;
1294
+ /** Additional CSS classes */
1295
+ class: string;
1296
+ /** Event emitted when rating changes */
1297
+ valueChange: EventEmitter<number>;
1298
+ /** Event emitted when rating is hovered */
1299
+ hoverChange: EventEmitter<number>;
1300
+ /** Internal hover value */
1301
+ private _hoverValue;
1302
+ readonly items: i0.Signal<number[]>;
1303
+ get rateClasses(): string;
1304
+ isInteractive(): boolean;
1305
+ getDisplayValue(): number;
1306
+ getIconState(index: number): 'full' | 'half' | 'empty';
1307
+ onItemClick(index: number): void;
1308
+ onItemHover(index: number | null): void;
1309
+ onHalfClick(index: number, isLeftHalf: boolean): void;
1310
+ static ɵfac: i0.ɵɵFactoryDeclaration<RateComponent, never>;
1311
+ static ɵcmp: i0.ɵɵComponentDeclaration<RateComponent, "sefin-rate", never, { "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowHalf": { "alias": "allowHalf"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, never, true, never>;
1312
+ }
1313
+
1273
1314
  declare class AccordionItemComponent {
1274
1315
  /** Title text for the accordion header */
1275
1316
  title: string;
@@ -1460,6 +1501,55 @@ declare class DatepickerComponent implements OnInit, OnChanges, AfterViewInit, O
1460
1501
  static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "sefin-datepicker", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "format": { "alias": "format"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "showTodayButton": { "alias": "showTodayButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; }, { "valueChange": "valueChange"; "dateSelected": "dateSelected"; }, never, never, true, never>;
1461
1502
  }
1462
1503
 
1504
+ type PaginationSize = 'sm' | 'md' | 'lg';
1505
+ type PaginationVariant = 'default' | 'compact';
1506
+ declare class PaginationComponent {
1507
+ /** Current page (1-based) */
1508
+ set currentPage(value: number);
1509
+ get currentPage(): number;
1510
+ private _currentPage;
1511
+ /** Total number of pages */
1512
+ set totalPages(value: number);
1513
+ get totalPages(): number;
1514
+ private _totalPages;
1515
+ /** Total number of items (alternative to totalPages) */
1516
+ set totalItems(value: number | undefined);
1517
+ get totalItems(): number | undefined;
1518
+ private _totalItems;
1519
+ /** Items per page (used when totalItems is provided) */
1520
+ itemsPerPage: number;
1521
+ /** Number of page buttons to show on each side of current page */
1522
+ siblingCount: number;
1523
+ /** Show first and last page buttons */
1524
+ showFirstLast: boolean;
1525
+ /** Show previous and next buttons */
1526
+ showPrevNext: boolean;
1527
+ /** Pagination size. Options: 'sm' | 'md' | 'lg' */
1528
+ size: PaginationSize;
1529
+ /** Pagination variant. Options: 'default' | 'compact' */
1530
+ variant: PaginationVariant;
1531
+ /** Additional CSS classes */
1532
+ class: string;
1533
+ /** Event emitted when page changes */
1534
+ pageChange: EventEmitter<number>;
1535
+ /** Computed total pages (from totalItems or direct input) */
1536
+ readonly computedTotalPages: i0.Signal<number>;
1537
+ /** Computed page numbers to display */
1538
+ readonly pageNumbers: i0.Signal<(string | number)[]>;
1539
+ get paginationClasses(): string;
1540
+ isDisabled(direction: 'prev' | 'next'): boolean;
1541
+ goToPage(page: number | string): void;
1542
+ goToPrevious(): void;
1543
+ goToNext(): void;
1544
+ goToFirst(): void;
1545
+ goToLast(): void;
1546
+ isEllipsis(item: number | string): boolean;
1547
+ isCurrentPage(page: number | string): boolean;
1548
+ getAriaCurrent(page: number | string): string | null;
1549
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
1550
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "sefin-pagination", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "siblingCount": { "alias": "siblingCount"; "required": false; }; "showFirstLast": { "alias": "showFirstLast"; "required": false; }; "showPrevNext": { "alias": "showPrevNext"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
1551
+ }
1552
+
1463
1553
  type TextareaVariant = 'outlined' | 'filled' | 'standard';
1464
1554
  type TextareaSize = 'sm' | 'md' | 'lg';
1465
1555
  declare class TextareaComponent implements ControlValueAccessor, Validator, OnInit, AfterViewInit, OnDestroy {
@@ -1550,5 +1640,5 @@ declare class TextareaComponent implements ControlValueAccessor, Validator, OnIn
1550
1640
 
1551
1641
  declare const STYLES_PATH = "./styles/index.scss";
1552
1642
 
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 };
1643
+ 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, PaginationComponent, ProgressBarComponent, RadioComponent, RateComponent, SHADOW_TOKENS, SPACING_TOKENS, STYLES_PATH, SelectComponent, SpinnerComponent, StackComponent, SwitchComponent, TYPOGRAPHY_TOKENS, TabComponent, TagComponent, TextFieldComponent, TextareaComponent, ThemeLoader, ToastComponent, TooltipComponent, TypographyComponent };
1644
+ 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, PaginationSize, PaginationVariant, ProgressBarSize, ProgressBarVariant, RateIcon, RateSize, 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 };