@liner-fe/prism 2.7.7 → 2.7.9

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/lib/index.d.ts CHANGED
@@ -38,7 +38,7 @@ interface CommonButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
38
38
  as?: 'default' | 'text';
39
39
  asChild?: boolean;
40
40
  }
41
- type FillType = boolean;
41
+ type FillType = true;
42
42
  type FillLevelType = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'quinary' | 'negative' | 'static' | 'inverse-static';
43
43
  type FillFalseLevelType = 'primary' | 'secondary';
44
44
  type ButtonSizeType = 'cta' | 'l' | 'm' | 's';
@@ -56,7 +56,7 @@ interface DefaultButtonProps<T extends FillType> extends CommonButtonProps, Vari
56
56
  isLoading?: boolean;
57
57
  }
58
58
  type ButtonProps = DefaultButtonProps<FillType>;
59
- declare const DefaultButton: react.ForwardRefExoticComponent<DefaultButtonProps<boolean> & react.RefAttributes<HTMLButtonElement>>;
59
+ declare const DefaultButton: react.ForwardRefExoticComponent<DefaultButtonProps<true> & react.RefAttributes<HTMLButtonElement>>;
60
60
  declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
61
61
 
62
62
  interface IToastBase extends ToastProps, RefAttributes<HTMLLIElement> {
@@ -455,7 +455,7 @@ declare const useSnackbar: () => {
455
455
 
456
456
  declare const defaultLabelVariants: (props?: ({
457
457
  level?: "primary" | "secondary" | undefined;
458
- position?: "top" | "right" | undefined;
458
+ position?: "right" | "top" | undefined;
459
459
  size?: "l" | "m" | "s" | undefined;
460
460
  offset?: "medium" | "high" | "low" | undefined;
461
461
  disabled?: boolean | undefined;