@liner-fe/prism 2.7.10 → 2.7.11

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 = true;
41
+ type FillType = boolean;
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<true> & react.RefAttributes<HTMLButtonElement>>;
59
+ declare const DefaultButton: react.ForwardRefExoticComponent<DefaultButtonProps<boolean> & react.RefAttributes<HTMLButtonElement>>;
60
60
  declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
61
61
 
62
62
  interface IToastBase extends ToastProps, RefAttributes<HTMLLIElement> {
package/lib/index.js CHANGED
@@ -205,9 +205,9 @@ var buttonIconSizeMap = {
205
205
  };
206
206
  var buttonSizeIconThickMap = {
207
207
  cta: true,
208
- l: void 0,
209
- m: void 0,
210
- s: void 0
208
+ l: false,
209
+ m: false,
210
+ s: false
211
211
  };
212
212
  var buttonLoadingSizeMap = {
213
213
  cta: "m",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "2.7.10",
3
+ "version": "2.7.11",
4
4
  "scripts": {
5
5
  "dev": "next dev",
6
6
  "start": "next start",