colibri-ui 0.7.5 → 0.7.7

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.
Files changed (43) hide show
  1. package/Button/index.js +1 -1
  2. package/Button/index.props.d.ts +2 -2
  3. package/Button/index.props.js +1 -1
  4. package/Button/styles.js +11 -12
  5. package/Checkbox/index.d.ts +4 -0
  6. package/Checkbox/index.props.d.ts +34 -0
  7. package/Checkbox/package.json +6 -0
  8. package/Checkbox/styles.d.ts +24 -0
  9. package/README.md +4 -0
  10. package/Switch/styles.js +6 -6
  11. package/Theme/color.d.ts +105 -47
  12. package/Theme/color.js +73 -49
  13. package/Theme/index.d.ts +91 -19
  14. package/Theme/index.props.d.ts +4 -0
  15. package/Theme/themes/buenos_aires.d.ts +47 -18
  16. package/Theme/themes/buenos_aires.js +76 -54
  17. package/Theme/themes/default.d.ts +47 -18
  18. package/Theme/themes/default.js +72 -50
  19. package/Typography/index.js +3 -5
  20. package/Typography/index.props.d.ts +1 -7
  21. package/Typography/styles.js +19 -16
  22. package/esm/Button/index.js +1 -1
  23. package/esm/Button/index.props.d.ts +2 -2
  24. package/esm/Button/index.props.js +1 -1
  25. package/esm/Button/styles.js +11 -12
  26. package/esm/Checkbox/index.d.ts +4 -0
  27. package/esm/Checkbox/index.props.d.ts +34 -0
  28. package/esm/Checkbox/styles.d.ts +24 -0
  29. package/esm/Switch/styles.js +6 -6
  30. package/esm/Theme/color.d.ts +105 -47
  31. package/esm/Theme/color.js +64 -50
  32. package/esm/Theme/index.d.ts +91 -19
  33. package/esm/Theme/index.props.d.ts +4 -0
  34. package/esm/Theme/themes/buenos_aires.d.ts +47 -18
  35. package/esm/Theme/themes/buenos_aires.js +76 -55
  36. package/esm/Theme/themes/default.d.ts +47 -18
  37. package/esm/Theme/themes/default.js +72 -51
  38. package/esm/Typography/index.js +3 -5
  39. package/esm/Typography/index.props.d.ts +1 -7
  40. package/esm/Typography/styles.js +19 -16
  41. package/package.json +5 -2
  42. package/Typography/index.props.js +0 -10
  43. package/esm/Typography/index.props.js +0 -10
@@ -9,7 +9,7 @@ var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _b = _a.fullWidth,
10
10
  fullWidth = _b === void 0 ? false : _b,
11
11
  _c = _a.variant,
12
- variant = _c === void 0 ? VARIANT.DEFAULT : _c,
12
+ variant = _c === void 0 ? VARIANT.PRIMARY : _c,
13
13
  iconStart = _a.iconStart,
14
14
  iconEnd = _a.iconEnd,
15
15
  icon = _a.icon,
@@ -7,7 +7,7 @@ export declare enum SIZE {
7
7
  }
8
8
  export declare enum VARIANT {
9
9
  PRIMARY = "primary",
10
- DEFAULT = "default",
10
+ SECONDARY = "secondary",
11
11
  CLEAR = "clear"
12
12
  }
13
13
  type BaseStyles = {
@@ -35,8 +35,8 @@ export type ButtonBase = {
35
35
  base: BaseStyles;
36
36
  };
37
37
  export type ButtonVariant = {
38
- [VARIANT.DEFAULT]: VariantStates;
39
38
  [VARIANT.PRIMARY]: VariantStates;
39
+ [VARIANT.SECONDARY]: VariantStates;
40
40
  [VARIANT.CLEAR]: VariantStates;
41
41
  };
42
42
  export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
@@ -7,7 +7,7 @@ var SIZE;
7
7
  var VARIANT;
8
8
  (function (VARIANT) {
9
9
  VARIANT["PRIMARY"] = "primary";
10
- VARIANT["DEFAULT"] = "default";
10
+ VARIANT["SECONDARY"] = "secondary";
11
11
  VARIANT["CLEAR"] = "clear";
12
12
  })(VARIANT || (VARIANT = {}));
13
13