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

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.4",
4
4
  "description": "Sefin Design System - A comprehensive Angular UI library based on Atomic Design and design tokens",
5
5
  "keywords": [
6
6
  "angular",
@@ -1460,6 +1460,55 @@ declare class DatepickerComponent implements OnInit, OnChanges, AfterViewInit, O
1460
1460
  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
1461
  }
1462
1462
 
1463
+ type PaginationSize = 'sm' | 'md' | 'lg';
1464
+ type PaginationVariant = 'default' | 'compact';
1465
+ declare class PaginationComponent {
1466
+ /** Current page (1-based) */
1467
+ set currentPage(value: number);
1468
+ get currentPage(): number;
1469
+ private _currentPage;
1470
+ /** Total number of pages */
1471
+ set totalPages(value: number);
1472
+ get totalPages(): number;
1473
+ private _totalPages;
1474
+ /** Total number of items (alternative to totalPages) */
1475
+ set totalItems(value: number | undefined);
1476
+ get totalItems(): number | undefined;
1477
+ private _totalItems;
1478
+ /** Items per page (used when totalItems is provided) */
1479
+ itemsPerPage: number;
1480
+ /** Number of page buttons to show on each side of current page */
1481
+ siblingCount: number;
1482
+ /** Show first and last page buttons */
1483
+ showFirstLast: boolean;
1484
+ /** Show previous and next buttons */
1485
+ showPrevNext: boolean;
1486
+ /** Pagination size. Options: 'sm' | 'md' | 'lg' */
1487
+ size: PaginationSize;
1488
+ /** Pagination variant. Options: 'default' | 'compact' */
1489
+ variant: PaginationVariant;
1490
+ /** Additional CSS classes */
1491
+ class: string;
1492
+ /** Event emitted when page changes */
1493
+ pageChange: EventEmitter<number>;
1494
+ /** Computed total pages (from totalItems or direct input) */
1495
+ readonly computedTotalPages: i0.Signal<number>;
1496
+ /** Computed page numbers to display */
1497
+ readonly pageNumbers: i0.Signal<(string | number)[]>;
1498
+ get paginationClasses(): string;
1499
+ isDisabled(direction: 'prev' | 'next'): boolean;
1500
+ goToPage(page: number | string): void;
1501
+ goToPrevious(): void;
1502
+ goToNext(): void;
1503
+ goToFirst(): void;
1504
+ goToLast(): void;
1505
+ isEllipsis(item: number | string): boolean;
1506
+ isCurrentPage(page: number | string): boolean;
1507
+ getAriaCurrent(page: number | string): string | null;
1508
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
1509
+ 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>;
1510
+ }
1511
+
1463
1512
  type TextareaVariant = 'outlined' | 'filled' | 'standard';
1464
1513
  type TextareaSize = 'sm' | 'md' | 'lg';
1465
1514
  declare class TextareaComponent implements ControlValueAccessor, Validator, OnInit, AfterViewInit, OnDestroy {
@@ -1550,5 +1599,5 @@ declare class TextareaComponent implements ControlValueAccessor, Validator, OnIn
1550
1599
 
1551
1600
  declare const STYLES_PATH = "./styles/index.scss";
1552
1601
 
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 };
1602
+ 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, SHADOW_TOKENS, SPACING_TOKENS, STYLES_PATH, SelectComponent, SpinnerComponent, StackComponent, SwitchComponent, TYPOGRAPHY_TOKENS, TabComponent, TagComponent, TextFieldComponent, TextareaComponent, ThemeLoader, ToastComponent, TooltipComponent, TypographyComponent };
1603
+ 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, 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 };