@bsginstitute/bsg-integra 0.0.1 → 0.0.2
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
|
@@ -140,7 +140,7 @@ declare class AccordionContentComponent {
|
|
|
140
140
|
* Controls the overall alert container layout and colors
|
|
141
141
|
*/
|
|
142
142
|
declare const alertVariants: (props?: ({
|
|
143
|
-
variant?: "default" | "
|
|
143
|
+
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
144
144
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
145
145
|
/**
|
|
146
146
|
* Alert icon variants
|
|
@@ -200,8 +200,8 @@ declare class AlertComponent {
|
|
|
200
200
|
* Controls the avatar size and base styles
|
|
201
201
|
*/
|
|
202
202
|
declare const avatarVariants: (props?: ({
|
|
203
|
-
size?: "
|
|
204
|
-
type?: "default" | "
|
|
203
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
204
|
+
type?: "default" | "image" | "fallback" | null | undefined;
|
|
205
205
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
206
206
|
/**
|
|
207
207
|
* Avatar initials variants
|
|
@@ -209,7 +209,7 @@ declare const avatarVariants: (props?: ({
|
|
|
209
209
|
* Controls the initials text styles for fallback type
|
|
210
210
|
*/
|
|
211
211
|
declare const avatarInitialsVariants: (props?: ({
|
|
212
|
-
size?: "
|
|
212
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
213
213
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
214
214
|
/**
|
|
215
215
|
* Avatar icon variants
|
|
@@ -305,7 +305,7 @@ declare class BadgeComponent {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
declare const badgeVariants: (props?: ({
|
|
308
|
-
variant?: "default" | "
|
|
308
|
+
variant?: "default" | "secondary" | "outline" | "destructive" | "success" | null | undefined;
|
|
309
309
|
size?: "default" | "dot" | "large" | null | undefined;
|
|
310
310
|
layout?: "text" | "text-icon" | null | undefined;
|
|
311
311
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -320,7 +320,7 @@ type BadgeIconVariantsProps = VariantProps<typeof badgeIconVariants>;
|
|
|
320
320
|
*/
|
|
321
321
|
declare const buttonVariants: (props?: ({
|
|
322
322
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
323
|
-
variant?: "default" | "
|
|
323
|
+
variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive" | null | undefined;
|
|
324
324
|
shape?: "rectangular" | "pill" | "icon" | "icon-text" | "icon-only" | null | undefined;
|
|
325
325
|
disabled?: boolean | null | undefined;
|
|
326
326
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -653,7 +653,7 @@ declare class CarouselComponent implements AfterContentInit {
|
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
declare const checkboxVariants: (props?: ({
|
|
656
|
-
size?: "
|
|
656
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
657
657
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
658
658
|
type CheckboxSize = VariantProps<typeof checkboxVariants>['size'];
|
|
659
659
|
declare class CheckboxComponent implements ControlValueAccessor {
|
|
@@ -661,7 +661,7 @@ declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
661
661
|
disabled: _angular_core.InputSignal<boolean>;
|
|
662
662
|
required: _angular_core.InputSignal<boolean>;
|
|
663
663
|
ariaInvalid: _angular_core.InputSignal<boolean | undefined>;
|
|
664
|
-
size: _angular_core.InputSignal<"
|
|
664
|
+
size: _angular_core.InputSignal<"sm" | "lg" | "default" | null | undefined>;
|
|
665
665
|
className: _angular_core.InputSignal<string | undefined>;
|
|
666
666
|
get hostClasses(): string;
|
|
667
667
|
checked: _angular_core.WritableSignal<boolean>;
|
|
@@ -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,41 +964,34 @@ 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
|
-
tone?: "
|
|
990
|
+
tone?: "secondary" | "brand" | "info" | null | undefined;
|
|
865
991
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
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,13 +999,12 @@ 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
|
-
size?: "
|
|
1007
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
885
1008
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
886
1009
|
type InputSize = VariantProps<typeof inputVariants>['size'];
|
|
887
1010
|
declare class InputComponent implements ControlValueAccessor, Validator {
|
|
@@ -891,7 +1014,7 @@ declare class InputComponent implements ControlValueAccessor, Validator {
|
|
|
891
1014
|
required: _angular_core.InputSignal<boolean>;
|
|
892
1015
|
readonly: _angular_core.InputSignal<boolean>;
|
|
893
1016
|
ariaInvalid: _angular_core.InputSignal<boolean | undefined>;
|
|
894
|
-
size: _angular_core.InputSignal<"
|
|
1017
|
+
size: _angular_core.InputSignal<"sm" | "lg" | "default" | null | undefined>;
|
|
895
1018
|
className: _angular_core.InputSignal<string | undefined>;
|
|
896
1019
|
get hostClasses(): string;
|
|
897
1020
|
value: _angular_core.WritableSignal<string>;
|
|
@@ -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
|
|
@@ -1013,11 +1136,9 @@ declare class RadioComponent {
|
|
|
1013
1136
|
readonly outerClasses: _angular_core.Signal<string>;
|
|
1014
1137
|
readonly innerClasses: _angular_core.Signal<string>;
|
|
1015
1138
|
readonly outerSize: _angular_core.Signal<16 | 20>;
|
|
1016
|
-
readonly innerSize: _angular_core.Signal<
|
|
1017
|
-
readonly focusRingSize: _angular_core.Signal<
|
|
1018
|
-
readonly
|
|
1019
|
-
readonly outerFillColor: _angular_core.Signal<"none" | "#64748B">;
|
|
1020
|
-
readonly focusRingColor: _angular_core.Signal<"#7C3AED" | "#9333EA">;
|
|
1139
|
+
readonly innerSize: _angular_core.Signal<10 | 14>;
|
|
1140
|
+
readonly focusRingSize: _angular_core.Signal<22 | 26>;
|
|
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>;
|
|
@@ -1405,7 +1526,7 @@ declare const sidebarMenuItemVariants: (props?: class_variance_authority_types.C
|
|
|
1405
1526
|
*/
|
|
1406
1527
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1407
1528
|
variant?: "default" | "outline" | null | undefined;
|
|
1408
|
-
size?: "
|
|
1529
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
1409
1530
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1410
1531
|
/**
|
|
1411
1532
|
* Sidebar menu action variants
|
|
@@ -1750,7 +1871,7 @@ declare class SidebarMenuButtonComponent {
|
|
|
1750
1871
|
/** Visual variant */
|
|
1751
1872
|
readonly variant: _angular_core.InputSignal<"default" | "outline">;
|
|
1752
1873
|
/** Size variant */
|
|
1753
|
-
readonly size: _angular_core.InputSignal<"
|
|
1874
|
+
readonly size: _angular_core.InputSignal<"sm" | "lg" | "default">;
|
|
1754
1875
|
/** Disabled state */
|
|
1755
1876
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1756
1877
|
/** Additional CSS classes */
|
|
@@ -2006,7 +2127,7 @@ declare class SidebarInsetComponent {
|
|
|
2006
2127
|
* Skeleton variants
|
|
2007
2128
|
*/
|
|
2008
2129
|
declare const skeletonVariants: (props?: ({
|
|
2009
|
-
type?: "
|
|
2130
|
+
type?: "rectangular" | "text" | "circular" | null | undefined;
|
|
2010
2131
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2011
2132
|
|
|
2012
2133
|
type SkeletonType = 'text' | 'circular' | 'rectangular';
|
|
@@ -2039,7 +2160,7 @@ declare class SkeletonComponent {
|
|
|
2039
2160
|
declare const switchRootVariants: (props?: ({
|
|
2040
2161
|
checked?: boolean | null | undefined;
|
|
2041
2162
|
disabled?: boolean | null | undefined;
|
|
2042
|
-
size?: "
|
|
2163
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
2043
2164
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2044
2165
|
/**
|
|
2045
2166
|
* Switch thumb variants
|
|
@@ -2048,7 +2169,7 @@ declare const switchRootVariants: (props?: ({
|
|
|
2048
2169
|
*/
|
|
2049
2170
|
declare const switchThumbVariants: (props?: ({
|
|
2050
2171
|
checked?: boolean | null | undefined;
|
|
2051
|
-
size?: "
|
|
2172
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
2052
2173
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2053
2174
|
|
|
2054
2175
|
type SwitchSize = 'sm' | 'default' | 'lg';
|
|
@@ -2088,8 +2209,8 @@ declare class SwitchComponent {
|
|
|
2088
2209
|
}
|
|
2089
2210
|
|
|
2090
2211
|
declare const textareaVariants: (props?: ({
|
|
2091
|
-
size?: "
|
|
2092
|
-
resize?: "
|
|
2212
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
2213
|
+
resize?: "horizontal" | "vertical" | "none" | "both" | null | undefined;
|
|
2093
2214
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2094
2215
|
type TextareaSize = VariantProps<typeof textareaVariants>['size'];
|
|
2095
2216
|
type TextareaResize = VariantProps<typeof textareaVariants>['resize'];
|
|
@@ -2100,8 +2221,8 @@ declare class TextareaComponent implements ControlValueAccessor, Validator {
|
|
|
2100
2221
|
readonly: _angular_core.InputSignal<boolean>;
|
|
2101
2222
|
rows: _angular_core.InputSignal<number>;
|
|
2102
2223
|
ariaInvalid: _angular_core.InputSignal<boolean | undefined>;
|
|
2103
|
-
size: _angular_core.InputSignal<"
|
|
2104
|
-
resize: _angular_core.InputSignal<"
|
|
2224
|
+
size: _angular_core.InputSignal<"sm" | "lg" | "default" | null | undefined>;
|
|
2225
|
+
resize: _angular_core.InputSignal<"horizontal" | "vertical" | "none" | "both" | null | undefined>;
|
|
2105
2226
|
className: _angular_core.InputSignal<string | undefined>;
|
|
2106
2227
|
get hostClasses(): string;
|
|
2107
2228
|
value: _angular_core.WritableSignal<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): {
|
|
@@ -2303,7 +2424,7 @@ declare class TimePickerComponent implements OnInit {
|
|
|
2303
2424
|
* Controls the overall toast container styles
|
|
2304
2425
|
*/
|
|
2305
2426
|
declare const toastVariants: (props?: ({
|
|
2306
|
-
variant?: "default" | "
|
|
2427
|
+
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
2307
2428
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2308
2429
|
/**
|
|
2309
2430
|
* Toast accent variants
|
|
@@ -2311,7 +2432,7 @@ declare const toastVariants: (props?: ({
|
|
|
2311
2432
|
* Controls the left accent bar
|
|
2312
2433
|
*/
|
|
2313
2434
|
declare const toastAccentVariants: (props?: ({
|
|
2314
|
-
variant?: "default" | "
|
|
2435
|
+
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
2315
2436
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2316
2437
|
/**
|
|
2317
2438
|
* Toast icon variants
|
|
@@ -2460,5 +2581,5 @@ declare class TooltipComponent implements AfterContentInit {
|
|
|
2460
2581
|
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
2582
|
}
|
|
2462
2583
|
|
|
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 };
|
|
2584
|
+
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 };
|
|
2585
|
+
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
|
}
|