@bsginstitute/bsg-integra 0.0.3 → 0.0.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/index.d.ts
CHANGED
|
@@ -313,92 +313,53 @@ type BadgeVariantsProps = VariantProps<typeof badgeVariants>;
|
|
|
313
313
|
declare const badgeIconVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
314
314
|
type BadgeIconVariantsProps = VariantProps<typeof badgeIconVariants>;
|
|
315
315
|
|
|
316
|
-
/**
|
|
317
|
-
* Button variants
|
|
318
|
-
*
|
|
319
|
-
* Controls the button styles including size, variant, shape, and state
|
|
320
|
-
*/
|
|
321
316
|
declare const buttonVariants: (props?: ({
|
|
322
317
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
323
318
|
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
324
319
|
shape?: "rectangular" | "pill" | "icon" | "icon-text" | "icon-only" | null | undefined;
|
|
325
320
|
disabled?: boolean | null | undefined;
|
|
326
321
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
327
|
-
/**
|
|
328
|
-
* Button icon variants
|
|
329
|
-
*
|
|
330
|
-
* Controls the icon styling within buttons
|
|
331
|
-
*/
|
|
332
322
|
declare const buttonIconVariants: (props?: ({
|
|
333
323
|
position?: "left" | "right" | "center" | null | undefined;
|
|
334
324
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
335
|
-
/**
|
|
336
|
-
* Button label variants
|
|
337
|
-
*
|
|
338
|
-
* Controls the label text styling
|
|
339
|
-
*/
|
|
340
325
|
declare const buttonLabelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
341
|
-
/**
|
|
342
|
-
* Button icon-only wrapper variants
|
|
343
|
-
*
|
|
344
|
-
* Controls the icon wrapper for icon-only buttons
|
|
345
|
-
*/
|
|
346
326
|
declare const buttonIconOnlyVariants: (props?: ({
|
|
347
327
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
348
328
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
329
|
+
/** ✅ nuevo: spinner overlay centrado */
|
|
330
|
+
declare const buttonSpinnerVariants: (props?: ({
|
|
331
|
+
shape?: "rectangular" | "pill" | "icon" | "icon-text" | "icon-only" | null | undefined;
|
|
332
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
349
333
|
|
|
350
334
|
type ButtonSize = 'sm' | 'md' | 'lg';
|
|
351
335
|
type ButtonVariant = 'default' | 'secondary' | 'outline' | 'ghost' | 'link' | 'destructive';
|
|
352
336
|
type ButtonShape = 'rectangular' | 'pill' | 'icon' | 'icon-text' | 'icon-only';
|
|
353
|
-
type IconName = 'check' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'chevron-down' | 'none';
|
|
354
337
|
type ButtonVariantsProps = VariantProps<typeof buttonVariants>;
|
|
355
|
-
/**
|
|
356
|
-
* Button Component - Interactive button with multiple variants
|
|
357
|
-
*
|
|
358
|
-
* Following shadcn/ui pattern:
|
|
359
|
-
* ```html
|
|
360
|
-
* <bsg-button
|
|
361
|
-
* [variant]="'default'"
|
|
362
|
-
* [size]="'md'"
|
|
363
|
-
* [shape]="'rectangular'"
|
|
364
|
-
* [label]="'Click me'"
|
|
365
|
-
* (Click)="onClick()"
|
|
366
|
-
* />
|
|
367
|
-
* ```
|
|
368
|
-
*/
|
|
369
338
|
declare class ButtonComponent {
|
|
370
|
-
private sanitizer;
|
|
371
|
-
constructor(sanitizer: DomSanitizer);
|
|
372
|
-
/** Size of the button */
|
|
373
339
|
readonly size: _angular_core.InputSignal<ButtonSize>;
|
|
374
|
-
/** Visual variant of the button */
|
|
375
340
|
readonly variant: _angular_core.InputSignal<ButtonVariant>;
|
|
376
|
-
/** Shape of the button */
|
|
377
341
|
readonly shape: _angular_core.InputSignal<ButtonShape>;
|
|
378
|
-
/** Button label text */
|
|
379
342
|
readonly label: _angular_core.InputSignal<string>;
|
|
380
|
-
/** Show icon */
|
|
381
|
-
readonly icon: _angular_core.InputSignal<boolean>;
|
|
382
|
-
/** Icon position (left or right) */
|
|
383
|
-
readonly iconPosition: _angular_core.InputSignal<"left" | "right">;
|
|
384
|
-
/** Icon name for icon-only buttons */
|
|
385
|
-
readonly iconName: _angular_core.InputSignal<IconName>;
|
|
386
|
-
/** Disabled state */
|
|
387
343
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
388
|
-
/**
|
|
344
|
+
/** ✅ nuevo: muestra spinner y bloquea click */
|
|
345
|
+
readonly spinner: _angular_core.InputSignal<boolean>;
|
|
346
|
+
/** Accesibilidad para icon buttons */
|
|
347
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
389
348
|
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
390
|
-
/** Click event emitter */
|
|
391
349
|
readonly Click: _angular_core.OutputEmitterRef<Event>;
|
|
392
350
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
351
|
+
readonly isIconButton: _angular_core.Signal<boolean>;
|
|
352
|
+
readonly buttonSquarePx: _angular_core.Signal<27 | 43 | 35>;
|
|
353
|
+
readonly iconFontPx: _angular_core.Signal<15 | 22 | 18>;
|
|
354
|
+
readonly spinnerPx: _angular_core.Signal<14 | 20 | 16>;
|
|
393
355
|
readonly buttonClasses: _angular_core.Signal<string>;
|
|
394
|
-
iconClasses(position: 'left' | 'right' | 'center'): string;
|
|
395
356
|
readonly labelClasses: _angular_core.Signal<string>;
|
|
396
357
|
readonly iconOnlyClasses: _angular_core.Signal<string>;
|
|
397
|
-
readonly
|
|
398
|
-
|
|
358
|
+
readonly spinnerClasses: _angular_core.Signal<string>;
|
|
359
|
+
iconClasses(position: 'left' | 'right' | 'center'): string;
|
|
399
360
|
handleClick(event: Event): void;
|
|
400
361
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
401
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "bsg-button", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "
|
|
362
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "bsg-button", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "spinner": { "alias": "spinner"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, { "Click": "Click"; }, never, ["*", "[left-icon]", "[right-icon]"], true, never>;
|
|
402
363
|
}
|
|
403
364
|
|
|
404
365
|
/**
|
|
@@ -1135,9 +1096,9 @@ declare class RadioComponent {
|
|
|
1135
1096
|
readonly focusRingClasses: _angular_core.Signal<string>;
|
|
1136
1097
|
readonly outerClasses: _angular_core.Signal<string>;
|
|
1137
1098
|
readonly innerClasses: _angular_core.Signal<string>;
|
|
1138
|
-
readonly outerSize: _angular_core.Signal<
|
|
1099
|
+
readonly outerSize: _angular_core.Signal<20 | 16>;
|
|
1139
1100
|
readonly innerSize: _angular_core.Signal<14 | 10>;
|
|
1140
|
-
readonly focusRingSize: _angular_core.Signal<
|
|
1101
|
+
readonly focusRingSize: _angular_core.Signal<22 | 26>;
|
|
1141
1102
|
readonly outerCircleClasses: _angular_core.Signal<"stroke-muted-foreground fill-muted-foreground" | "stroke-primary/70 fill-none" | "stroke-primary fill-none" | "stroke-muted-foreground fill-none">;
|
|
1142
1103
|
handleClick(): void;
|
|
1143
1104
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
@@ -1475,7 +1436,7 @@ declare const sidebarProviderVariants: (props?: class_variance_authority_types.C
|
|
|
1475
1436
|
* Sidebar container variants (following shadcn pattern)
|
|
1476
1437
|
*/
|
|
1477
1438
|
declare const sidebarVariants: (props?: ({
|
|
1478
|
-
collapsible?: "icon" | "
|
|
1439
|
+
collapsible?: "icon" | "offcanvas" | "none" | null | undefined;
|
|
1479
1440
|
side?: "left" | "right" | null | undefined;
|
|
1480
1441
|
variant?: "sidebar" | "floating" | "inset" | null | undefined;
|
|
1481
1442
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -2151,6 +2112,56 @@ declare class SkeletonComponent {
|
|
|
2151
2112
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonComponent, "bsg-skeleton", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2152
2113
|
}
|
|
2153
2114
|
|
|
2115
|
+
/**
|
|
2116
|
+
* Spinner variants
|
|
2117
|
+
*
|
|
2118
|
+
* Controls the spinner appearance including size and color variants.
|
|
2119
|
+
* Based on shadcn/ui spinner pattern.
|
|
2120
|
+
*/
|
|
2121
|
+
declare const spinnerVariants: (props?: ({
|
|
2122
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
2123
|
+
variant?: "default" | "info" | "success" | "warning" | "destructive" | "secondary" | "brand" | "primary" | "muted" | null | undefined;
|
|
2124
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2125
|
+
|
|
2126
|
+
type SpinnerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2127
|
+
type SpinnerVariant = 'default' | 'primary' | 'secondary' | 'muted' | 'destructive' | 'success' | 'warning' | 'info' | 'brand';
|
|
2128
|
+
type SpinnerVariantsProps = VariantProps<typeof spinnerVariants>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Spinner Component
|
|
2131
|
+
*
|
|
2132
|
+
* A loading indicator that shows a spinning animation.
|
|
2133
|
+
* Based on shadcn/ui spinner pattern using an SVG loader icon.
|
|
2134
|
+
*
|
|
2135
|
+
* @example
|
|
2136
|
+
* ```html
|
|
2137
|
+
* <!-- Basic usage -->
|
|
2138
|
+
* <bsg-spinner />
|
|
2139
|
+
*
|
|
2140
|
+
* <!-- With size -->
|
|
2141
|
+
* <bsg-spinner size="lg" />
|
|
2142
|
+
*
|
|
2143
|
+
* <!-- With variant (color) -->
|
|
2144
|
+
* <bsg-spinner variant="destructive" />
|
|
2145
|
+
*
|
|
2146
|
+
* <!-- Custom aria-label -->
|
|
2147
|
+
* <bsg-spinner ariaLabel="Processing request..." />
|
|
2148
|
+
* ```
|
|
2149
|
+
*/
|
|
2150
|
+
declare class SpinnerComponent {
|
|
2151
|
+
/** Spinner size */
|
|
2152
|
+
readonly size: _angular_core.InputSignal<SpinnerSize>;
|
|
2153
|
+
/** Spinner color variant */
|
|
2154
|
+
readonly variant: _angular_core.InputSignal<SpinnerVariant>;
|
|
2155
|
+
/** Accessibility label for screen readers */
|
|
2156
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
2157
|
+
/** Additional CSS classes */
|
|
2158
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2159
|
+
/** Computed spinner classes */
|
|
2160
|
+
readonly spinnerClasses: _angular_core.Signal<string>;
|
|
2161
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
2162
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpinnerComponent, "bsg-spinner", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2154
2165
|
/**
|
|
2155
2166
|
* Switch root variants
|
|
2156
2167
|
*
|
|
@@ -2210,7 +2221,7 @@ declare class SwitchComponent {
|
|
|
2210
2221
|
|
|
2211
2222
|
declare const textareaVariants: (props?: ({
|
|
2212
2223
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2213
|
-
resize?: "
|
|
2224
|
+
resize?: "horizontal" | "vertical" | "none" | "both" | null | undefined;
|
|
2214
2225
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2215
2226
|
type TextareaSize = VariantProps<typeof textareaVariants>['size'];
|
|
2216
2227
|
type TextareaResize = VariantProps<typeof textareaVariants>['resize'];
|
|
@@ -2222,7 +2233,7 @@ declare class TextareaComponent implements ControlValueAccessor, Validator {
|
|
|
2222
2233
|
rows: _angular_core.InputSignal<number>;
|
|
2223
2234
|
ariaInvalid: _angular_core.InputSignal<boolean | undefined>;
|
|
2224
2235
|
size: _angular_core.InputSignal<"default" | "sm" | "lg" | null | undefined>;
|
|
2225
|
-
resize: _angular_core.InputSignal<"
|
|
2236
|
+
resize: _angular_core.InputSignal<"horizontal" | "vertical" | "none" | "both" | null | undefined>;
|
|
2226
2237
|
className: _angular_core.InputSignal<string | undefined>;
|
|
2227
2238
|
get hostClasses(): string;
|
|
2228
2239
|
value: _angular_core.WritableSignal<string>;
|
|
@@ -2585,5 +2596,5 @@ declare class TooltipComponent implements AfterContentInit {
|
|
|
2585
2596
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TooltipComponent, "bsg-tooltip", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "triggerClassName": { "alias": "triggerClassName"; "required": false; "isSignal": true; }; "contentClassName": { "alias": "contentClassName"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2586
2597
|
}
|
|
2587
2598
|
|
|
2588
|
-
export { AccordionComponent, AccordionContentComponent, AccordionItemComponent, AccordionTriggerComponent, AlertComponent, AvatarComponent, BadgeComponent, ButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CarouselComponent, CarouselItemComponent, CheckboxComponent, CollapsibleComponent, CollapsibleContentComponent, CollapsibleTriggerDirective, ComboboxComponent, DialogComponent, InputComponent, LabelComponent, RadioComponent, RadioGroupComponent, SelectComponent, SidebarComponent, SidebarContentComponent, SidebarFooterComponent, SidebarGroupActionComponent, SidebarGroupComponent, SidebarGroupContentComponent, SidebarGroupLabelComponent, SidebarHeaderComponent, SidebarInsetComponent, SidebarMenuActionComponent, SidebarMenuBadgeComponent, SidebarMenuButtonComponent, SidebarMenuComponent, SidebarMenuItemComponent, SidebarMenuSubButtonComponent, SidebarMenuSubComponent, SidebarMenuSubItemComponent, SidebarProviderComponent, SidebarRailComponent, SidebarSeparatorComponent, SidebarService, SidebarTriggerComponent, SkeletonComponent, SwitchComponent, TextareaComponent, TimePickerComponent, ToastComponent, TooltipComponent, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, accordionVariants, alertCloseVariants, alertContentVariants, alertIconVariants, alertVariants, avatarIconVariants, avatarImgVariants, avatarInitialsVariants, avatarVariants, badgeIconVariants, badgeVariants, buttonIconOnlyVariants, buttonIconVariants, buttonLabelVariants, buttonVariants, cardActionIconVariants, cardCurrencyContentVariants, cardCurrencyIconVariants, cardCurrencyLabelVariants, cardCurrencyTextVariants, cardHeaderRowVariants, cardHeaderVariants, cardHelperDescriptionVariants, cardHelperRowVariants, cardHelperVariants, cardInfoIconVariants, cardInfoLabelVariants, cardInfoTextVariants, cardMetricTitleVariants, cardMetricValueVariants, cardSlotBodyVariants, cardSlotFooterVariants, cardSlotHeaderVariants, cardValueVariants, cardVariants, carouselArrowVariants, carouselChevronVariants, carouselContainerVariants, carouselIndicatorVariants, carouselIndicatorsVariants, carouselRootVariants, carouselTrackVariants, carouselViewportVariants, checkboxVariants, comboboxDropdownVariants, comboboxEmptyStateVariants, comboboxErrorMessageVariants, comboboxIconVariants, comboboxOptionVariants, comboboxOptionsContainerVariants, comboboxSearchInputVariants, comboboxSearchWrapperVariants, comboboxTriggerVariants, comboboxValueVariants, comboboxWrapperVariants, dialogBodyVariants, dialogContentVariants, dialogFooterVariants, dialogHeaderVariants, dialogOverlayVariants, inputVariants, labelVariants, radioFocusRingVariants, radioGroupVariants, radioInnerVariants, radioLabelVariants, radioOptionVariants, radioOuterVariants, radioWrapperVariants, selectDropdownVariants, selectErrorVariants, selectIconVariants, selectOptionVariants, selectTriggerVariants, selectValueVariants, selectWrapperVariants, sidebarChevronVariants, sidebarContentVariants, sidebarFooterVariants, sidebarGroupActionVariants, sidebarGroupContentVariants, sidebarGroupLabelVariants, sidebarGroupVariants, sidebarHeaderVariants, sidebarInsetVariants, sidebarMenuActionVariants, sidebarMenuBadgeVariants, sidebarMenuButtonVariants, sidebarMenuItemVariants, sidebarMenuSkeletonVariants, sidebarMenuSubButtonVariants, sidebarMenuSubItemVariants, sidebarMenuSubVariants, sidebarMenuVariants, sidebarProviderVariants, sidebarRailVariants, sidebarSeparatorVariants, sidebarTriggerVariants, sidebarVariants, sidebarWrapperVariants, skeletonVariants, switchRootVariants, switchThumbVariants, textareaVariants, timepickerActionButtonVariants, timepickerActionsVariants, timepickerColumnHeaderVariants, timepickerColumnVariants, timepickerDropdownVariants, timepickerErrorMessageVariants, timepickerFieldVariants, timepickerIconButtonVariants, timepickerInputVariants, timepickerLabelVariants, timepickerListVariants, timepickerOptionVariants, timepickerSelectionAreaVariants, timepickerSeparatorVariants, timepickerWrapperVariants, toastAccentVariants, toastCloseVariants, toastContentVariants, toastIconVariants, toastVariants, tooltipArrowVariants, tooltipContentVariants, tooltipTriggerVariants };
|
|
2589
|
-
export type { AccordionType, AccordionVariant, AccordionVariantsProps, AlertVariant, AlertVariantsProps, AvatarSize, AvatarType, AvatarVariantsProps, BadgeIconVariantsProps, BadgeLayout, BadgeSize, BadgeVariant, BadgeVariantsProps, ButtonShape, ButtonSize, ButtonVariant, ButtonVariantsProps, CardContentVariant, CardVariant, CardVariantsProps, CarouselArrowVariantsProps, CarouselIndicatorVariantsProps, CheckboxSize, ComboboxOption, ComboboxSize, ComboboxState, ComboboxTriggerVariantsProps, ComboboxWrapperVariantsProps, DialogBodyVariantsProps, DialogContentVariantsProps, DialogFooterVariantsProps, DialogHeaderTone, DialogHeaderVariantsProps, DialogSize,
|
|
2599
|
+
export { AccordionComponent, AccordionContentComponent, AccordionItemComponent, AccordionTriggerComponent, AlertComponent, AvatarComponent, BadgeComponent, ButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CarouselComponent, CarouselItemComponent, CheckboxComponent, CollapsibleComponent, CollapsibleContentComponent, CollapsibleTriggerDirective, ComboboxComponent, DialogComponent, InputComponent, LabelComponent, RadioComponent, RadioGroupComponent, SelectComponent, SidebarComponent, SidebarContentComponent, SidebarFooterComponent, SidebarGroupActionComponent, SidebarGroupComponent, SidebarGroupContentComponent, SidebarGroupLabelComponent, SidebarHeaderComponent, SidebarInsetComponent, SidebarMenuActionComponent, SidebarMenuBadgeComponent, SidebarMenuButtonComponent, SidebarMenuComponent, SidebarMenuItemComponent, SidebarMenuSubButtonComponent, SidebarMenuSubComponent, SidebarMenuSubItemComponent, SidebarProviderComponent, SidebarRailComponent, SidebarSeparatorComponent, SidebarService, SidebarTriggerComponent, SkeletonComponent, SpinnerComponent, SwitchComponent, TextareaComponent, TimePickerComponent, ToastComponent, TooltipComponent, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, accordionVariants, alertCloseVariants, alertContentVariants, alertIconVariants, alertVariants, avatarIconVariants, avatarImgVariants, avatarInitialsVariants, avatarVariants, badgeIconVariants, badgeVariants, buttonIconOnlyVariants, buttonIconVariants, buttonLabelVariants, buttonSpinnerVariants, buttonVariants, cardActionIconVariants, cardCurrencyContentVariants, cardCurrencyIconVariants, cardCurrencyLabelVariants, cardCurrencyTextVariants, cardHeaderRowVariants, cardHeaderVariants, cardHelperDescriptionVariants, cardHelperRowVariants, cardHelperVariants, cardInfoIconVariants, cardInfoLabelVariants, cardInfoTextVariants, cardMetricTitleVariants, cardMetricValueVariants, cardSlotBodyVariants, cardSlotFooterVariants, cardSlotHeaderVariants, cardValueVariants, cardVariants, carouselArrowVariants, carouselChevronVariants, carouselContainerVariants, carouselIndicatorVariants, carouselIndicatorsVariants, carouselRootVariants, carouselTrackVariants, carouselViewportVariants, checkboxVariants, comboboxDropdownVariants, comboboxEmptyStateVariants, comboboxErrorMessageVariants, comboboxIconVariants, comboboxOptionVariants, comboboxOptionsContainerVariants, comboboxSearchInputVariants, comboboxSearchWrapperVariants, comboboxTriggerVariants, comboboxValueVariants, comboboxWrapperVariants, dialogBodyVariants, dialogContentVariants, dialogFooterVariants, dialogHeaderVariants, dialogOverlayVariants, inputVariants, labelVariants, radioFocusRingVariants, radioGroupVariants, radioInnerVariants, radioLabelVariants, radioOptionVariants, radioOuterVariants, radioWrapperVariants, selectDropdownVariants, selectErrorVariants, selectIconVariants, selectOptionVariants, selectTriggerVariants, selectValueVariants, selectWrapperVariants, sidebarChevronVariants, sidebarContentVariants, sidebarFooterVariants, sidebarGroupActionVariants, sidebarGroupContentVariants, sidebarGroupLabelVariants, sidebarGroupVariants, sidebarHeaderVariants, sidebarInsetVariants, sidebarMenuActionVariants, sidebarMenuBadgeVariants, sidebarMenuButtonVariants, sidebarMenuItemVariants, sidebarMenuSkeletonVariants, sidebarMenuSubButtonVariants, sidebarMenuSubItemVariants, sidebarMenuSubVariants, sidebarMenuVariants, sidebarProviderVariants, sidebarRailVariants, sidebarSeparatorVariants, sidebarTriggerVariants, sidebarVariants, sidebarWrapperVariants, skeletonVariants, spinnerVariants, switchRootVariants, switchThumbVariants, textareaVariants, timepickerActionButtonVariants, timepickerActionsVariants, timepickerColumnHeaderVariants, timepickerColumnVariants, timepickerDropdownVariants, timepickerErrorMessageVariants, timepickerFieldVariants, timepickerIconButtonVariants, timepickerInputVariants, timepickerLabelVariants, timepickerListVariants, timepickerOptionVariants, timepickerSelectionAreaVariants, timepickerSeparatorVariants, timepickerWrapperVariants, toastAccentVariants, toastCloseVariants, toastContentVariants, toastIconVariants, toastVariants, tooltipArrowVariants, tooltipContentVariants, tooltipTriggerVariants };
|
|
2600
|
+
export type { AccordionType, AccordionVariant, AccordionVariantsProps, AlertVariant, AlertVariantsProps, AvatarSize, AvatarType, AvatarVariantsProps, BadgeIconVariantsProps, BadgeLayout, BadgeSize, BadgeVariant, BadgeVariantsProps, ButtonShape, ButtonSize, ButtonVariant, ButtonVariantsProps, CardContentVariant, CardVariant, CardVariantsProps, CarouselArrowVariantsProps, CarouselIndicatorVariantsProps, CheckboxSize, ComboboxOption, ComboboxSize, ComboboxState, ComboboxTriggerVariantsProps, ComboboxWrapperVariantsProps, DialogBodyVariantsProps, DialogContentVariantsProps, DialogFooterVariantsProps, DialogHeaderTone, DialogHeaderVariantsProps, DialogSize, InputSize, RadioFocusRingVariantsProps, RadioGroupOption, RadioGroupOrientation, RadioGroupVariantsProps, RadioInnerVariantsProps, RadioLabelVariantsProps, RadioOptionVariantsProps, RadioOuterVariantsProps, RadioSize, RadioState, RadioWrapperVariantsProps, SelectOption, SelectSize, SelectState, SelectTriggerVariantsProps, SidebarCollapsible, SidebarMenuActionVariantsProps, SidebarMenuButtonVariantsProps, SidebarMenuSubButtonVariantsProps, SidebarSide, SidebarState, SidebarVariant, SkeletonType, SkeletonVariantsProps, SpinnerSize, SpinnerVariant, SpinnerVariantsProps, SwitchSize, SwitchVariantsProps, TextareaResize, TextareaSize, TimePickerSize, TimePickerState, TimePickerWrapperVariantsProps, ToastVariant, ToastVariantsProps, TooltipContentVariantsProps, TooltipPlacement };
|
package/package.json
CHANGED
|
@@ -41,6 +41,18 @@
|
|
|
41
41
|
--input: oklch(0.922 0 0);
|
|
42
42
|
--ring: oklch(0.702 0.183 293.541);
|
|
43
43
|
|
|
44
|
+
/* State colors */
|
|
45
|
+
--info: oklch(0.623 0.214 259.815);
|
|
46
|
+
--info-foreground: oklch(0.985 0 0);
|
|
47
|
+
--success: oklch(0.627 0.194 149.214);
|
|
48
|
+
--success-foreground: oklch(0.985 0 0);
|
|
49
|
+
--warning: oklch(0.795 0.184 86.047);
|
|
50
|
+
--warning-foreground: oklch(0.145 0 0);
|
|
51
|
+
|
|
52
|
+
/* Brand color (orange) */
|
|
53
|
+
--brand: oklch(0.646 0.222 41.116);
|
|
54
|
+
--brand-foreground: oklch(0.985 0 0);
|
|
55
|
+
|
|
44
56
|
--radius: 0.625rem;
|
|
45
57
|
|
|
46
58
|
/* Tooltip semantic tokens */
|
|
@@ -98,6 +110,18 @@
|
|
|
98
110
|
--input: oklch(0.269 0 0);
|
|
99
111
|
--ring: oklch(0.439 0 0);
|
|
100
112
|
|
|
113
|
+
/* State colors (dark) */
|
|
114
|
+
--info: oklch(0.546 0.245 262.881);
|
|
115
|
+
--info-foreground: oklch(0.985 0 0);
|
|
116
|
+
--success: oklch(0.627 0.194 149.214);
|
|
117
|
+
--success-foreground: oklch(0.985 0 0);
|
|
118
|
+
--warning: oklch(0.768 0.189 70.08);
|
|
119
|
+
--warning-foreground: oklch(0.145 0 0);
|
|
120
|
+
|
|
121
|
+
/* Brand color (dark) */
|
|
122
|
+
--brand: oklch(0.702 0.209 41.116);
|
|
123
|
+
--brand-foreground: oklch(0.985 0 0);
|
|
124
|
+
|
|
101
125
|
/* Tooltip semantic tokens (dark theme) */
|
|
102
126
|
--tooltip: oklch(0.985 0 0);
|
|
103
127
|
--tooltip-foreground: oklch(0.145 0 0);
|
|
@@ -144,15 +168,14 @@
|
|
|
144
168
|
--color-destructive: var(--destructive);
|
|
145
169
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
146
170
|
|
|
147
|
-
|
|
171
|
+
--color-info: var(--info);
|
|
172
|
+
--color-info-foreground: var(--info-foreground);
|
|
148
173
|
--color-success: var(--success);
|
|
149
174
|
--color-success-foreground: var(--success-foreground);
|
|
150
|
-
|
|
151
175
|
--color-warning: var(--warning);
|
|
152
176
|
--color-warning-foreground: var(--warning-foreground);
|
|
153
|
-
|
|
154
|
-
--color-
|
|
155
|
-
--color-info-foreground: var(--info-foreground);
|
|
177
|
+
--color-brand: var(--brand);
|
|
178
|
+
--color-brand-foreground: var(--brand-foreground);
|
|
156
179
|
|
|
157
180
|
--color-border: var(--border);
|
|
158
181
|
--color-input: var(--input);
|