@lesterarte/sefin-ui 0.0.20-dev.5 → 0.0.20-dev.7
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
|
@@ -1400,6 +1400,50 @@ declare class BreadcrumbsComponent {
|
|
|
1400
1400
|
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>;
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
1403
|
+
interface ButtonGroupOption {
|
|
1404
|
+
label: string;
|
|
1405
|
+
value: string | number;
|
|
1406
|
+
disabled?: boolean;
|
|
1407
|
+
icon?: string;
|
|
1408
|
+
}
|
|
1409
|
+
type ButtonGroupVariant = 'default' | 'segmented';
|
|
1410
|
+
type ButtonGroupSize = 'sm' | 'md' | 'lg';
|
|
1411
|
+
declare class ButtonGroupComponent {
|
|
1412
|
+
private sanitizer;
|
|
1413
|
+
constructor(sanitizer: DomSanitizer);
|
|
1414
|
+
/** Array of button options */
|
|
1415
|
+
options: ButtonGroupOption[];
|
|
1416
|
+
/** Selected value (for segmented variant) */
|
|
1417
|
+
value: string | number | null;
|
|
1418
|
+
/** Whether multiple selection is allowed (for default variant) */
|
|
1419
|
+
multiple: boolean;
|
|
1420
|
+
/** Selected values (for multiple selection) */
|
|
1421
|
+
selectedValues: (string | number)[];
|
|
1422
|
+
/** Button variant style. Options: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' */
|
|
1423
|
+
variant: ButtonVariant;
|
|
1424
|
+
/** Button size. Options: 'sm' | 'md' | 'lg' */
|
|
1425
|
+
size: ButtonSize;
|
|
1426
|
+
/** Button group variant. Options: 'default' | 'segmented' */
|
|
1427
|
+
groupVariant: ButtonGroupVariant;
|
|
1428
|
+
/** Whether the button group is disabled */
|
|
1429
|
+
disabled: boolean;
|
|
1430
|
+
/** Additional CSS classes */
|
|
1431
|
+
class: string;
|
|
1432
|
+
/** Event emitted when value changes (for segmented variant) */
|
|
1433
|
+
valueChange: EventEmitter<string | number>;
|
|
1434
|
+
/** Event emitted when selected values change (for multiple selection) */
|
|
1435
|
+
selectedValuesChange: EventEmitter<(string | number)[]>;
|
|
1436
|
+
/** Event emitted when a button is clicked */
|
|
1437
|
+
buttonClick: EventEmitter<ButtonGroupOption>;
|
|
1438
|
+
get buttonGroupClasses(): string;
|
|
1439
|
+
isSelected(option: ButtonGroupOption): boolean;
|
|
1440
|
+
onButtonClick(option: ButtonGroupOption): void;
|
|
1441
|
+
getButtonVariant(option: ButtonGroupOption): ButtonVariant;
|
|
1442
|
+
sanitizeHtml(html: string | undefined): SafeHtml | string;
|
|
1443
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
1444
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "sefin-button-group", never, { "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "selectedValues": { "alias": "selectedValues"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "groupVariant": { "alias": "groupVariant"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "valueChange": "valueChange"; "selectedValuesChange": "selectedValuesChange"; "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1403
1447
|
declare class CardComponent {
|
|
1404
1448
|
/** Card variant style. Options: 'default' | 'elevated' | 'outlined' */
|
|
1405
1449
|
variant: CardVariant;
|
|
@@ -1640,5 +1684,5 @@ declare class TextareaComponent implements ControlValueAccessor, Validator, OnIn
|
|
|
1640
1684
|
|
|
1641
1685
|
declare const STYLES_PATH = "./styles/index.scss";
|
|
1642
1686
|
|
|
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 };
|
|
1687
|
+
export { AccordionItemComponent, AlertComponent, AutocompleteComponent, AvatarComponent, BORDER_RADIUS_TOKENS, BRAND_THEME, BadgeComponent, BreadcrumbsComponent, ButtonComponent, ButtonGroupComponent, 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 };
|
|
1688
|
+
export type { AlertSize, AlertVariant, AutocompleteOption, AvatarSize, BadgeSize, BadgeVariant, BaseComponent, BorderRadiusToken, BreadcrumbItem, BreadcrumbSeparator, BreadcrumbSize, ButtonGroupOption, ButtonGroupSize, ButtonGroupVariant, 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 };
|