kelt-ui-kit-react 0.3.0 → 0.3.2

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.html CHANGED
@@ -2,11 +2,11 @@
2
2
  <html lang="en">
3
3
 
4
4
  <head>
5
+ <meta charset="UTF-8" />
5
6
  <link rel="preconnect" href="https://fonts.googleapis.com">
6
7
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
7
8
  <link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap"
8
9
  rel="stylesheet">
9
- <meta charset="UTF-8" />
10
10
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
11
11
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
12
12
  <title>Vite + React + TS</title>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kelt-ui-kit-react",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.2",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
package/src/card/card.css CHANGED
@@ -62,6 +62,7 @@
62
62
  .card-footer {
63
63
  display: flex;
64
64
  flex: 1;
65
+ align-items: center;
65
66
  justify-content: space-between;
66
67
  }
67
68
  &.card--horizontal {
@@ -88,7 +89,6 @@
88
89
  flex: 1;
89
90
  display: flex;
90
91
  justify-content: flex-end;
91
- min-width: 100px;
92
92
  }
93
93
  }
94
94
 
@@ -4,7 +4,7 @@ import ReactDOM from "react-dom";
4
4
  import { Icon } from "../icon/Icon";
5
5
  import { useOverlayContext } from "./overlay.context";
6
6
  import "./overlayPanel.css";
7
- import { OverlayPanelStyled } from "./overlayPanelStyled/overlayPanelStyled";
7
+ import { OverlayPanelStyled } from "./overlayPanelStyled/OverlayPanelStyled";
8
8
 
9
9
  type Position =
10
10
  | "left"
@@ -1,6 +1,7 @@
1
1
  import { useCallback, useState } from "react";
2
2
  import { CardInterface } from "../card/card.interface";
3
3
  import { Icon } from "../icon/Icon";
4
+ import { IconSizeEnum } from "../icon/iconSize.enum";
4
5
  import "./Quantity.css";
5
6
  export interface QuantityProps {
6
7
  setQuantity?: (item: CardInterface, qte: number) => void;
@@ -43,14 +44,14 @@ export const Quantity = ({ setQuantity, item }: QuantityProps) => {
43
44
  onClick={(e) => decrementQte(e)}
44
45
  className="qte-action qte-action--minus "
45
46
  >
46
- <Icon classIcon="bi bi-dash-square" />
47
+ <Icon size={IconSizeEnum.LARGE} classIcon="bi bi-dash-square" />
47
48
  </div>
48
49
  <span className="qte-label">{qte}</span>
49
50
  <div
50
51
  onClick={(e) => incrementQte(e)}
51
52
  className="qte-action qte-action--plus "
52
53
  >
53
- <Icon classIcon="bi bi-plus-square" />
54
+ <Icon size={IconSizeEnum.LARGE} classIcon="bi bi-plus-square" />
54
55
  </div>
55
56
  </div>
56
57
  );
@@ -11,6 +11,7 @@
11
11
 
12
12
  &.qte-action--plus {
13
13
  margin-left: 0.5rem;
14
+ margin-right: 0rem;
14
15
  }
15
16
  &.qte-action--minus {
16
17
  margin-right: 0.5rem;