@bsginstitute/bsg-integra 0.0.1 → 0.0.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/index.d.ts
CHANGED
|
@@ -792,25 +792,156 @@ declare class CollapsibleContentComponent implements AfterViewInit, OnDestroy {
|
|
|
792
792
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CollapsibleContentComponent, "bsg-collapsible-content", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "forceMount": { "alias": "forceMount"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
-
type DialogSize = 'sm' | 'md' | 'lg';
|
|
796
|
-
type DialogHeaderTone = 'brand' | 'info' | 'secondary';
|
|
797
795
|
/**
|
|
798
|
-
*
|
|
796
|
+
* Combobox wrapper variants
|
|
799
797
|
*
|
|
800
|
-
*
|
|
798
|
+
* Controls the overall combobox container layout
|
|
799
|
+
*/
|
|
800
|
+
declare const comboboxWrapperVariants: (props?: ({
|
|
801
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
802
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
803
|
+
/**
|
|
804
|
+
* Combobox trigger variants
|
|
801
805
|
*
|
|
802
|
-
*
|
|
806
|
+
* Controls the clickable trigger button
|
|
807
|
+
*/
|
|
808
|
+
declare const comboboxTriggerVariants: (props?: ({
|
|
809
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
810
|
+
state?: "default" | "disabled" | "hover" | "focus" | "error" | null | undefined;
|
|
811
|
+
open?: boolean | null | undefined;
|
|
812
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
813
|
+
/**
|
|
814
|
+
* Combobox dropdown variants
|
|
815
|
+
*
|
|
816
|
+
* Controls the dropdown menu container
|
|
817
|
+
*/
|
|
818
|
+
declare const comboboxDropdownVariants: (props?: ({
|
|
819
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
820
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
821
|
+
/**
|
|
822
|
+
* Combobox search wrapper variants
|
|
823
|
+
*
|
|
824
|
+
* Controls the search input container
|
|
825
|
+
*/
|
|
826
|
+
declare const comboboxSearchWrapperVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
827
|
+
/**
|
|
828
|
+
* Combobox search input variants
|
|
829
|
+
*
|
|
830
|
+
* Controls the search input field
|
|
831
|
+
*/
|
|
832
|
+
declare const comboboxSearchInputVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
833
|
+
/**
|
|
834
|
+
* Combobox options container variants
|
|
835
|
+
*
|
|
836
|
+
* Controls the scrollable options list
|
|
837
|
+
*/
|
|
838
|
+
declare const comboboxOptionsContainerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
839
|
+
/**
|
|
840
|
+
* Combobox option variants
|
|
841
|
+
*
|
|
842
|
+
* Controls individual dropdown options
|
|
843
|
+
*/
|
|
844
|
+
declare const comboboxOptionVariants: (props?: ({
|
|
845
|
+
selected?: boolean | null | undefined;
|
|
846
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
847
|
+
/**
|
|
848
|
+
* Combobox empty state variants
|
|
849
|
+
*
|
|
850
|
+
* Controls the empty state message
|
|
851
|
+
*/
|
|
852
|
+
declare const comboboxEmptyStateVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
853
|
+
/**
|
|
854
|
+
* Combobox error message variants
|
|
855
|
+
*
|
|
856
|
+
* Controls the error message display
|
|
857
|
+
*/
|
|
858
|
+
declare const comboboxErrorMessageVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
859
|
+
/**
|
|
860
|
+
* Combobox value text variants
|
|
861
|
+
*
|
|
862
|
+
* Controls the selected value display
|
|
863
|
+
*/
|
|
864
|
+
declare const comboboxValueVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
865
|
+
/**
|
|
866
|
+
* Combobox icon variants
|
|
867
|
+
*
|
|
868
|
+
* Controls the chevron icon
|
|
869
|
+
*/
|
|
870
|
+
declare const comboboxIconVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
871
|
+
|
|
872
|
+
type ComboboxSize = 'sm' | 'md' | 'lg';
|
|
873
|
+
type ComboboxState = 'default' | 'hover' | 'focus' | 'disabled' | 'error';
|
|
874
|
+
interface ComboboxOption {
|
|
875
|
+
value: string;
|
|
876
|
+
label: string;
|
|
877
|
+
}
|
|
878
|
+
type ComboboxWrapperVariantsProps = VariantProps<typeof comboboxWrapperVariants>;
|
|
879
|
+
type ComboboxTriggerVariantsProps = VariantProps<typeof comboboxTriggerVariants>;
|
|
880
|
+
/**
|
|
881
|
+
* Combobox Component - Searchable dropdown select
|
|
882
|
+
*
|
|
883
|
+
* Following shadcn/ui pattern:
|
|
803
884
|
* ```html
|
|
804
|
-
* <bsg-
|
|
805
|
-
*
|
|
806
|
-
*
|
|
807
|
-
*
|
|
808
|
-
*
|
|
809
|
-
*
|
|
810
|
-
* </div>
|
|
811
|
-
* </bsg-dialog>
|
|
885
|
+
* <bsg-combobox
|
|
886
|
+
* [options]="options"
|
|
887
|
+
* [placeholder]="'Select...'"
|
|
888
|
+
* [size]="'md'"
|
|
889
|
+
* (valueChange)="onValueChange($event)"
|
|
890
|
+
* />
|
|
812
891
|
* ```
|
|
813
892
|
*/
|
|
893
|
+
declare class ComboboxComponent {
|
|
894
|
+
/** Size of the combobox */
|
|
895
|
+
readonly size: _angular_core.InputSignal<ComboboxSize>;
|
|
896
|
+
/** Current state */
|
|
897
|
+
readonly state: _angular_core.InputSignal<ComboboxState>;
|
|
898
|
+
/** List of options */
|
|
899
|
+
readonly options: _angular_core.InputSignal<ComboboxOption[]>;
|
|
900
|
+
/** Currently selected value (two-way binding supported) */
|
|
901
|
+
readonly selectedValue: _angular_core.ModelSignal<string>;
|
|
902
|
+
/** Placeholder text */
|
|
903
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
904
|
+
/** Dropdown open state (two-way binding supported) */
|
|
905
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
906
|
+
/** Error message (shown when state is 'error') */
|
|
907
|
+
readonly errorMessage: _angular_core.InputSignal<string>;
|
|
908
|
+
/** Additional CSS classes */
|
|
909
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
910
|
+
/** Value change event */
|
|
911
|
+
readonly valueChange: _angular_core.OutputEmitterRef<string>;
|
|
912
|
+
/** Selection change event */
|
|
913
|
+
readonly selectionChange: _angular_core.OutputEmitterRef<ComboboxOption>;
|
|
914
|
+
/** Open state change event */
|
|
915
|
+
readonly openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
916
|
+
/** Internal open state */
|
|
917
|
+
readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
918
|
+
/** Search text for filtering */
|
|
919
|
+
readonly searchText: _angular_core.WritableSignal<string>;
|
|
920
|
+
constructor();
|
|
921
|
+
readonly wrapperClasses: _angular_core.Signal<string>;
|
|
922
|
+
readonly triggerClasses: _angular_core.Signal<string>;
|
|
923
|
+
readonly dropdownClasses: _angular_core.Signal<string>;
|
|
924
|
+
readonly searchWrapperClasses: _angular_core.Signal<string>;
|
|
925
|
+
readonly searchInputClasses: _angular_core.Signal<string>;
|
|
926
|
+
readonly optionsContainerClasses: _angular_core.Signal<string>;
|
|
927
|
+
readonly emptyStateClasses: _angular_core.Signal<string>;
|
|
928
|
+
readonly errorMessageClasses: _angular_core.Signal<string>;
|
|
929
|
+
readonly valueClasses: _angular_core.Signal<string>;
|
|
930
|
+
readonly iconClasses: _angular_core.Signal<string>;
|
|
931
|
+
readonly selectedLabel: _angular_core.Signal<string>;
|
|
932
|
+
readonly iconColor: _angular_core.Signal<"currentColor" | "#64748B">;
|
|
933
|
+
readonly filteredOptions: _angular_core.Signal<ComboboxOption[]>;
|
|
934
|
+
getOptionClasses(value: string): string;
|
|
935
|
+
toggleDropdown(event: MouseEvent): void;
|
|
936
|
+
closeDropdown(): void;
|
|
937
|
+
selectOption(event: MouseEvent, option: ComboboxOption): void;
|
|
938
|
+
onDocumentClick(event: MouseEvent): void;
|
|
939
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxComponent, never>;
|
|
940
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ComboboxComponent, "bsg-combobox", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, { "selectedValue": "selectedValueChange"; "open": "openChange"; "valueChange": "valueChange"; "selectionChange": "selectionChange"; "openChange": "openChange"; }, never, never, true, never>;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
type DialogSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | 'full';
|
|
944
|
+
type DialogHeaderTone = 'brand' | 'info' | 'secondary';
|
|
814
945
|
declare class DialogComponent {
|
|
815
946
|
/** Controls dialog visibility */
|
|
816
947
|
readonly open: _angular_core.InputSignal<boolean>;
|
|
@@ -833,32 +964,27 @@ declare class DialogComponent {
|
|
|
833
964
|
readonly headerClasses: _angular_core.Signal<string>;
|
|
834
965
|
readonly bodyClasses: _angular_core.Signal<string>;
|
|
835
966
|
readonly footerClasses: _angular_core.Signal<string>;
|
|
967
|
+
readonly contentMaxWidth: _angular_core.Signal<string>;
|
|
836
968
|
onOverlayClick(): void;
|
|
837
969
|
close(): void;
|
|
838
|
-
onEscapeKey(
|
|
970
|
+
onEscapeKey(): void;
|
|
839
971
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
840
972
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogComponent, "bsg-dialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "headerTone": { "alias": "headerTone"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "hasFooter": { "alias": "hasFooter"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, { "closeDialog": "closeDialog"; }, never, ["[dialog-header]", "[dialog-body]", "[dialog-footer]"], true, never>;
|
|
841
973
|
}
|
|
842
974
|
|
|
843
975
|
/**
|
|
844
976
|
* Dialog overlay variants
|
|
845
|
-
*
|
|
846
|
-
* Controls the backdrop/overlay layer
|
|
847
977
|
*/
|
|
848
978
|
declare const dialogOverlayVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
849
979
|
/**
|
|
850
980
|
* Dialog content variants
|
|
851
|
-
*
|
|
852
|
-
* Controls the main dialog container
|
|
853
981
|
*/
|
|
854
982
|
declare const dialogContentVariants: (props?: ({
|
|
855
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
983
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full" | null | undefined;
|
|
856
984
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
857
985
|
type DialogContentVariantsProps = VariantProps<typeof dialogContentVariants>;
|
|
858
986
|
/**
|
|
859
987
|
* Dialog header variants
|
|
860
|
-
*
|
|
861
|
-
* Controls the header section with tone variants
|
|
862
988
|
*/
|
|
863
989
|
declare const dialogHeaderVariants: (props?: ({
|
|
864
990
|
tone?: "info" | "secondary" | "brand" | null | undefined;
|
|
@@ -866,8 +992,6 @@ declare const dialogHeaderVariants: (props?: ({
|
|
|
866
992
|
type DialogHeaderVariantsProps = VariantProps<typeof dialogHeaderVariants>;
|
|
867
993
|
/**
|
|
868
994
|
* Dialog body variants
|
|
869
|
-
*
|
|
870
|
-
* Controls the body/content section
|
|
871
995
|
*/
|
|
872
996
|
declare const dialogBodyVariants: (props?: ({
|
|
873
997
|
scrollable?: boolean | null | undefined;
|
|
@@ -875,10 +999,9 @@ declare const dialogBodyVariants: (props?: ({
|
|
|
875
999
|
type DialogBodyVariantsProps = VariantProps<typeof dialogBodyVariants>;
|
|
876
1000
|
/**
|
|
877
1001
|
* Dialog footer variants
|
|
878
|
-
*
|
|
879
|
-
* Controls the footer section with actions
|
|
880
1002
|
*/
|
|
881
1003
|
declare const dialogFooterVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1004
|
+
type DialogFooterVariantsProps = VariantProps<typeof dialogFooterVariants>;
|
|
882
1005
|
|
|
883
1006
|
declare const inputVariants: (props?: ({
|
|
884
1007
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -947,7 +1070,7 @@ declare const labelVariants: (props?: class_variance_authority_types.ClassProp |
|
|
|
947
1070
|
*/
|
|
948
1071
|
declare const radioWrapperVariants: (props?: ({
|
|
949
1072
|
size?: "sm" | "md" | null | undefined;
|
|
950
|
-
state?: "default" | "disabled" | "hover" | "
|
|
1073
|
+
state?: "default" | "disabled" | "hover" | "focus" | "checked" | null | undefined;
|
|
951
1074
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
952
1075
|
/**
|
|
953
1076
|
* Radio focus ring variants
|
|
@@ -1015,9 +1138,7 @@ declare class RadioComponent {
|
|
|
1015
1138
|
readonly outerSize: _angular_core.Signal<16 | 20>;
|
|
1016
1139
|
readonly innerSize: _angular_core.Signal<14 | 10>;
|
|
1017
1140
|
readonly focusRingSize: _angular_core.Signal<26 | 22>;
|
|
1018
|
-
readonly
|
|
1019
|
-
readonly outerFillColor: _angular_core.Signal<"none" | "#64748B">;
|
|
1020
|
-
readonly focusRingColor: _angular_core.Signal<"#7C3AED" | "#9333EA">;
|
|
1141
|
+
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">;
|
|
1021
1142
|
handleClick(): void;
|
|
1022
1143
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
1023
1144
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioComponent, "bsg-radio", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "checkedChange": "checkedChange"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
@@ -1156,7 +1277,7 @@ declare const selectOptionVariants: (props?: ({
|
|
|
1156
1277
|
declare const selectErrorVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1157
1278
|
|
|
1158
1279
|
type SelectSize = 'sm' | 'md' | 'lg';
|
|
1159
|
-
type SelectState = 'default' | '
|
|
1280
|
+
type SelectState = 'default' | 'focus' | 'disabled' | 'error';
|
|
1160
1281
|
interface SelectOption {
|
|
1161
1282
|
value: string;
|
|
1162
1283
|
label: string;
|
|
@@ -2272,7 +2393,7 @@ declare class TimePickerComponent implements OnInit {
|
|
|
2272
2393
|
readonly actionsClasses: _angular_core.Signal<string>;
|
|
2273
2394
|
readonly actionButtonClasses: _angular_core.Signal<string>;
|
|
2274
2395
|
readonly errorMessageClasses: _angular_core.Signal<string>;
|
|
2275
|
-
readonly iconColor: _angular_core.Signal<
|
|
2396
|
+
readonly iconColor: _angular_core.Signal<string>;
|
|
2276
2397
|
getOptionClasses(selected: boolean, disabled: boolean): string;
|
|
2277
2398
|
ngOnInit(): void;
|
|
2278
2399
|
parseTime(time: string): {
|
|
@@ -2285,6 +2406,10 @@ declare class TimePickerComponent implements OnInit {
|
|
|
2285
2406
|
selectHour(hour: number): void;
|
|
2286
2407
|
selectMinute(minute: number): void;
|
|
2287
2408
|
selectNow(): void;
|
|
2409
|
+
/** Scroll both lists to show the selected values centered */
|
|
2410
|
+
private scrollToSelected;
|
|
2411
|
+
/** Scroll a list to center the element with the given value */
|
|
2412
|
+
private scrollToElement;
|
|
2288
2413
|
clearTime(): void;
|
|
2289
2414
|
updateTimeValue(): void;
|
|
2290
2415
|
toggleDropdown(): void;
|
|
@@ -2460,5 +2585,5 @@ declare class TooltipComponent implements AfterContentInit {
|
|
|
2460
2585
|
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>;
|
|
2461
2586
|
}
|
|
2462
2587
|
|
|
2463
|
-
export { AccordionComponent, AccordionContentComponent, AccordionItemComponent, AccordionTriggerComponent, AlertComponent, AvatarComponent, BadgeComponent, ButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CarouselComponent, CarouselItemComponent, CheckboxComponent, CollapsibleComponent, CollapsibleContentComponent, CollapsibleTriggerDirective, 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, 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 };
|
|
2464
|
-
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, DialogBodyVariantsProps, DialogContentVariantsProps, DialogHeaderTone, DialogHeaderVariantsProps, DialogSize, IconName, 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, SwitchSize, SwitchVariantsProps, TextareaResize, TextareaSize, TimePickerSize, TimePickerState, TimePickerWrapperVariantsProps, ToastVariant, ToastVariantsProps, TooltipContentVariantsProps, TooltipPlacement };
|
|
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, IconName, 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, SwitchSize, SwitchVariantsProps, TextareaResize, TextareaSize, TimePickerSize, TimePickerState, TimePickerWrapperVariantsProps, ToastVariant, ToastVariantsProps, TooltipContentVariantsProps, TooltipPlacement };
|
package/package.json
CHANGED
|
@@ -27,12 +27,26 @@
|
|
|
27
27
|
--destructive: oklch(0.577 0.245 27.325);
|
|
28
28
|
--destructive-foreground: oklch(0.985 0 0);
|
|
29
29
|
|
|
30
|
+
/* Status semantic tokens */
|
|
31
|
+
--success: oklch(0.596 0.145 163.225);
|
|
32
|
+
--success-foreground: oklch(0.985 0 0);
|
|
33
|
+
|
|
34
|
+
--warning: oklch(0.681 0.162 75.834);
|
|
35
|
+
--warning-foreground: oklch(0.145 0 0);
|
|
36
|
+
|
|
37
|
+
--info: oklch(0.546 0.245 262.881);
|
|
38
|
+
--info-foreground: oklch(0.985 0 0);
|
|
39
|
+
|
|
30
40
|
--border: oklch(0.922 0 0);
|
|
31
41
|
--input: oklch(0.922 0 0);
|
|
32
42
|
--ring: oklch(0.702 0.183 293.541);
|
|
33
43
|
|
|
34
44
|
--radius: 0.625rem;
|
|
35
45
|
|
|
46
|
+
/* Tooltip semantic tokens */
|
|
47
|
+
--tooltip: oklch(0.145 0 0);
|
|
48
|
+
--tooltip-foreground: oklch(0.985 0 0);
|
|
49
|
+
|
|
36
50
|
/* Sidebar tokens (shadcn pattern) */
|
|
37
51
|
--sidebar-background: oklch(0.985 0 0);
|
|
38
52
|
--sidebar-foreground: oklch(0.145 0 0);
|
|
@@ -70,10 +84,24 @@
|
|
|
70
84
|
--destructive: oklch(0.704 0.191 22.216);
|
|
71
85
|
--destructive-foreground: oklch(0.985 0 0);
|
|
72
86
|
|
|
87
|
+
/* Status semantic tokens (dark theme) */
|
|
88
|
+
--success: oklch(0.696 0.17 162.48);
|
|
89
|
+
--success-foreground: oklch(0.145 0 0);
|
|
90
|
+
|
|
91
|
+
--warning: oklch(0.769 0.188 70.08);
|
|
92
|
+
--warning-foreground: oklch(0.145 0 0);
|
|
93
|
+
|
|
94
|
+
--info: oklch(0.646 0.222 262.881);
|
|
95
|
+
--info-foreground: oklch(0.145 0 0);
|
|
96
|
+
|
|
73
97
|
--border: oklch(0.269 0 0);
|
|
74
98
|
--input: oklch(0.269 0 0);
|
|
75
99
|
--ring: oklch(0.439 0 0);
|
|
76
100
|
|
|
101
|
+
/* Tooltip semantic tokens (dark theme) */
|
|
102
|
+
--tooltip: oklch(0.985 0 0);
|
|
103
|
+
--tooltip-foreground: oklch(0.145 0 0);
|
|
104
|
+
|
|
77
105
|
/* Sidebar tokens (dark theme) */
|
|
78
106
|
--sidebar-background: oklch(0.205 0 0);
|
|
79
107
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
@@ -116,6 +144,16 @@
|
|
|
116
144
|
--color-destructive: var(--destructive);
|
|
117
145
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
118
146
|
|
|
147
|
+
/* Status color utilities */
|
|
148
|
+
--color-success: var(--success);
|
|
149
|
+
--color-success-foreground: var(--success-foreground);
|
|
150
|
+
|
|
151
|
+
--color-warning: var(--warning);
|
|
152
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
153
|
+
|
|
154
|
+
--color-info: var(--info);
|
|
155
|
+
--color-info-foreground: var(--info-foreground);
|
|
156
|
+
|
|
119
157
|
--color-border: var(--border);
|
|
120
158
|
--color-input: var(--input);
|
|
121
159
|
--color-ring: var(--ring);
|
|
@@ -130,6 +168,10 @@
|
|
|
130
168
|
--color-sidebar-border: var(--sidebar-border);
|
|
131
169
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
132
170
|
|
|
171
|
+
/* Tooltip color utilities */
|
|
172
|
+
--color-tooltip: var(--tooltip);
|
|
173
|
+
--color-tooltip-foreground: var(--tooltip-foreground);
|
|
174
|
+
|
|
133
175
|
/* Radius también puede ser usado en utilities */
|
|
134
176
|
--radius: var(--radius);
|
|
135
177
|
}
|