allaw-ui 0.1.47 → 0.1.49

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.
@@ -156,3 +156,12 @@
156
156
  background-color: #fdf2f2;
157
157
  color: #e15151;
158
158
  }
159
+
160
+ .variant-small {
161
+ font-size: 10px;
162
+ padding: 4px 6px;
163
+ font-style: normal;
164
+ font-weight: 600;
165
+ border-radius: 0.3rem;
166
+ height: fit-content;
167
+ }
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import "./AppointementStatusTag.css";
3
3
  export interface AppointementStatusTagProps {
4
4
  status: "confirmed" | "pending" | "available" | "unavailable" | "cancelled" | "passed" | "refused";
5
- variant?: "default" | "big";
5
+ variant?: "default" | "big" | "small";
6
6
  }
7
7
  declare const AppointementStatusTag: ({ status, variant, }: AppointementStatusTagProps) => React.JSX.Element;
8
8
  export default AppointementStatusTag;
@@ -24,6 +24,7 @@ var variantLabels = {
24
24
  cancelled: "RDV ANNULÉ",
25
25
  };
26
26
  var variantStyles = {
27
+ small: "variant-small",
27
28
  big: "variant-big",
28
29
  default: "variant-default",
29
30
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "0.1.47",
3
+ "version": "0.1.49",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",