@bsginstitute/bsg-integra 0.0.2 → 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
@@ -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" | "destructive" | "info" | "success" | "warning" | null | undefined;
143
+ variant?: "default" | "info" | "success" | "warning" | "destructive" | 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?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
204
- type?: "default" | "image" | "fallback" | null | undefined;
203
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
204
+ type?: "default" | "fallback" | "image" | 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?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
212
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | 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" | "secondary" | "outline" | "destructive" | "success" | null | undefined;
308
+ variant?: "default" | "success" | "destructive" | "secondary" | "outline" | 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" | "secondary" | "outline" | "ghost" | "link" | "destructive" | null | undefined;
323
+ variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | 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?: "sm" | "lg" | "default" | null | undefined;
656
+ size?: "default" | "sm" | "lg" | 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<"sm" | "lg" | "default" | null | undefined>;
664
+ size: _angular_core.InputSignal<"default" | "sm" | "lg" | null | undefined>;
665
665
  className: _angular_core.InputSignal<string | undefined>;
666
666
  get hostClasses(): string;
667
667
  checked: _angular_core.WritableSignal<boolean>;
@@ -987,7 +987,7 @@ type DialogContentVariantsProps = VariantProps<typeof dialogContentVariants>;
987
987
  * Dialog header variants
988
988
  */
989
989
  declare const dialogHeaderVariants: (props?: ({
990
- tone?: "secondary" | "brand" | "info" | null | undefined;
990
+ tone?: "info" | "secondary" | "brand" | null | undefined;
991
991
  } & class_variance_authority_types.ClassProp) | undefined) => string;
992
992
  type DialogHeaderVariantsProps = VariantProps<typeof dialogHeaderVariants>;
993
993
  /**
@@ -1004,7 +1004,7 @@ declare const dialogFooterVariants: (props?: class_variance_authority_types.Clas
1004
1004
  type DialogFooterVariantsProps = VariantProps<typeof dialogFooterVariants>;
1005
1005
 
1006
1006
  declare const inputVariants: (props?: ({
1007
- size?: "sm" | "lg" | "default" | null | undefined;
1007
+ size?: "default" | "sm" | "lg" | null | undefined;
1008
1008
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1009
1009
  type InputSize = VariantProps<typeof inputVariants>['size'];
1010
1010
  declare class InputComponent implements ControlValueAccessor, Validator {
@@ -1014,7 +1014,7 @@ declare class InputComponent implements ControlValueAccessor, Validator {
1014
1014
  required: _angular_core.InputSignal<boolean>;
1015
1015
  readonly: _angular_core.InputSignal<boolean>;
1016
1016
  ariaInvalid: _angular_core.InputSignal<boolean | undefined>;
1017
- size: _angular_core.InputSignal<"sm" | "lg" | "default" | null | undefined>;
1017
+ size: _angular_core.InputSignal<"default" | "sm" | "lg" | null | undefined>;
1018
1018
  className: _angular_core.InputSignal<string | undefined>;
1019
1019
  get hostClasses(): string;
1020
1020
  value: _angular_core.WritableSignal<string>;
@@ -1136,8 +1136,8 @@ declare class RadioComponent {
1136
1136
  readonly outerClasses: _angular_core.Signal<string>;
1137
1137
  readonly innerClasses: _angular_core.Signal<string>;
1138
1138
  readonly outerSize: _angular_core.Signal<16 | 20>;
1139
- readonly innerSize: _angular_core.Signal<10 | 14>;
1140
- readonly focusRingSize: _angular_core.Signal<22 | 26>;
1139
+ readonly innerSize: _angular_core.Signal<14 | 10>;
1140
+ readonly focusRingSize: _angular_core.Signal<26 | 22>;
1141
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">;
1142
1142
  handleClick(): void;
1143
1143
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioComponent, never>;
@@ -1277,7 +1277,7 @@ declare const selectOptionVariants: (props?: ({
1277
1277
  declare const selectErrorVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
1278
1278
 
1279
1279
  type SelectSize = 'sm' | 'md' | 'lg';
1280
- type SelectState = 'default' | 'hover' | 'focus' | 'disabled' | 'error';
1280
+ type SelectState = 'default' | 'focus' | 'disabled' | 'error';
1281
1281
  interface SelectOption {
1282
1282
  value: string;
1283
1283
  label: string;
@@ -1526,7 +1526,7 @@ declare const sidebarMenuItemVariants: (props?: class_variance_authority_types.C
1526
1526
  */
1527
1527
  declare const sidebarMenuButtonVariants: (props?: ({
1528
1528
  variant?: "default" | "outline" | null | undefined;
1529
- size?: "sm" | "lg" | "default" | null | undefined;
1529
+ size?: "default" | "sm" | "lg" | null | undefined;
1530
1530
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1531
1531
  /**
1532
1532
  * Sidebar menu action variants
@@ -1871,7 +1871,7 @@ declare class SidebarMenuButtonComponent {
1871
1871
  /** Visual variant */
1872
1872
  readonly variant: _angular_core.InputSignal<"default" | "outline">;
1873
1873
  /** Size variant */
1874
- readonly size: _angular_core.InputSignal<"sm" | "lg" | "default">;
1874
+ readonly size: _angular_core.InputSignal<"default" | "sm" | "lg">;
1875
1875
  /** Disabled state */
1876
1876
  readonly disabled: _angular_core.InputSignal<boolean>;
1877
1877
  /** Additional CSS classes */
@@ -2127,7 +2127,7 @@ declare class SidebarInsetComponent {
2127
2127
  * Skeleton variants
2128
2128
  */
2129
2129
  declare const skeletonVariants: (props?: ({
2130
- type?: "rectangular" | "text" | "circular" | null | undefined;
2130
+ type?: "text" | "rectangular" | "circular" | null | undefined;
2131
2131
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2132
2132
 
2133
2133
  type SkeletonType = 'text' | 'circular' | 'rectangular';
@@ -2160,7 +2160,7 @@ declare class SkeletonComponent {
2160
2160
  declare const switchRootVariants: (props?: ({
2161
2161
  checked?: boolean | null | undefined;
2162
2162
  disabled?: boolean | null | undefined;
2163
- size?: "sm" | "lg" | "default" | null | undefined;
2163
+ size?: "default" | "sm" | "lg" | null | undefined;
2164
2164
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2165
2165
  /**
2166
2166
  * Switch thumb variants
@@ -2169,7 +2169,7 @@ declare const switchRootVariants: (props?: ({
2169
2169
  */
2170
2170
  declare const switchThumbVariants: (props?: ({
2171
2171
  checked?: boolean | null | undefined;
2172
- size?: "sm" | "lg" | "default" | null | undefined;
2172
+ size?: "default" | "sm" | "lg" | null | undefined;
2173
2173
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2174
2174
 
2175
2175
  type SwitchSize = 'sm' | 'default' | 'lg';
@@ -2209,8 +2209,8 @@ declare class SwitchComponent {
2209
2209
  }
2210
2210
 
2211
2211
  declare const textareaVariants: (props?: ({
2212
- size?: "sm" | "lg" | "default" | null | undefined;
2213
- resize?: "horizontal" | "vertical" | "none" | "both" | null | undefined;
2212
+ size?: "default" | "sm" | "lg" | null | undefined;
2213
+ resize?: "none" | "horizontal" | "vertical" | "both" | null | undefined;
2214
2214
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2215
2215
  type TextareaSize = VariantProps<typeof textareaVariants>['size'];
2216
2216
  type TextareaResize = VariantProps<typeof textareaVariants>['resize'];
@@ -2221,8 +2221,8 @@ declare class TextareaComponent implements ControlValueAccessor, Validator {
2221
2221
  readonly: _angular_core.InputSignal<boolean>;
2222
2222
  rows: _angular_core.InputSignal<number>;
2223
2223
  ariaInvalid: _angular_core.InputSignal<boolean | undefined>;
2224
- size: _angular_core.InputSignal<"sm" | "lg" | "default" | null | undefined>;
2225
- resize: _angular_core.InputSignal<"horizontal" | "vertical" | "none" | "both" | null | undefined>;
2224
+ size: _angular_core.InputSignal<"default" | "sm" | "lg" | null | undefined>;
2225
+ resize: _angular_core.InputSignal<"none" | "horizontal" | "vertical" | "both" | null | undefined>;
2226
2226
  className: _angular_core.InputSignal<string | undefined>;
2227
2227
  get hostClasses(): string;
2228
2228
  value: _angular_core.WritableSignal<string>;
@@ -2406,6 +2406,10 @@ declare class TimePickerComponent implements OnInit {
2406
2406
  selectHour(hour: number): void;
2407
2407
  selectMinute(minute: number): void;
2408
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;
2409
2413
  clearTime(): void;
2410
2414
  updateTimeValue(): void;
2411
2415
  toggleDropdown(): void;
@@ -2424,7 +2428,7 @@ declare class TimePickerComponent implements OnInit {
2424
2428
  * Controls the overall toast container styles
2425
2429
  */
2426
2430
  declare const toastVariants: (props?: ({
2427
- variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
2431
+ variant?: "default" | "info" | "success" | "warning" | "destructive" | null | undefined;
2428
2432
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2429
2433
  /**
2430
2434
  * Toast accent variants
@@ -2432,7 +2436,7 @@ declare const toastVariants: (props?: ({
2432
2436
  * Controls the left accent bar
2433
2437
  */
2434
2438
  declare const toastAccentVariants: (props?: ({
2435
- variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
2439
+ variant?: "default" | "info" | "success" | "warning" | "destructive" | null | undefined;
2436
2440
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2437
2441
  /**
2438
2442
  * Toast icon variants
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsginstitute/bsg-integra",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },