@growth-angels/ds-core 1.5.2 → 1.5.4

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.
@@ -5,7 +5,7 @@ export type ButtonProps<T extends ElementType = "button"> = {
5
5
  as?: T;
6
6
  variant?: ButtonVariant;
7
7
  hasIcon?: "left" | "right";
8
- icon?: "chevron-left" | "chevron-right";
8
+ icon?: string;
9
9
  preventDefault?: boolean;
10
10
  children?: React.ReactNode;
11
11
  } & WordpressDefault & Omit<ComponentPropsWithoutRef<T>, "as" | "className" | "onClick"> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growth-angels/ds-core",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "Design system by Growth Angels",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -29,6 +29,7 @@
29
29
 
30
30
  @mixin button--icon {
31
31
  --ga-button-padding: 0.8rem 1.2rem;
32
+ display: flex;
32
33
  justify-content: center;
33
34
  align-items: center;
34
35
  }
@@ -7,7 +7,7 @@ export type ButtonProps<T extends ElementType = "button"> = {
7
7
  as?: T
8
8
  variant?: ButtonVariant
9
9
  hasIcon?: "left" | "right"
10
- icon?: "chevron-left" | "chevron-right"
10
+ icon?: string
11
11
  preventDefault?: boolean
12
12
  children?: React.ReactNode
13
13
  } & WordpressDefault &
@@ -19,7 +19,7 @@
19
19
  text-align: right;
20
20
  }
21
21
 
22
- $sizes: (88, 72, 64, 56, 48, 40, 32, 24, 20, 18, 16);
22
+ $sizes: (88, 72, 64, 56, 48, 40, 32, 24, 20, 18, 16, 14, 12);
23
23
 
24
24
  @each $size in $sizes {
25
25
  .ga-ds-text--size-#{$size} {