allaw-ui 0.0.318 → 0.0.320

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.
Binary file
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+
8
+ <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
9
+ fill="#000000" stroke="none">
10
+ <path d="M2415 5113 c-534 -33 -1032 -223 -1444 -551 -919 -730 -1223 -1988
11
+ -739 -3059 135 -298 363 -612 601 -826 l78 -70 27 21 c38 30 165 103 547 310
12
+ 182 99 349 196 372 216 23 20 54 62 70 94 27 55 28 62 31 248 l4 191 -46 63
13
+ c-97 131 -197 334 -242 489 -20 68 -33 94 -63 126 -75 78 -76 81 -76 355 0
14
+ 261 2 276 55 335 17 18 19 50 23 355 4 376 7 393 78 539 121 246 391 381 799
15
+ 398 466 19 805 -125 940 -400 71 -145 73 -160 71 -532 -2 -328 -2 -331 19
16
+ -350 12 -11 32 -38 44 -60 20 -38 21 -54 21 -285 0 -233 -1 -247 -22 -286 -25
17
+ -47 -82 -101 -128 -120 -26 -10 -34 -23 -49 -71 -29 -97 -162 -352 -236 -455
18
+ l-70 -97 0 -189 c0 -221 8 -255 78 -333 42 -47 79 -67 486 -271 243 -121 467
19
+ -238 499 -259 l58 -40 66 58 c173 152 366 388 494 605 329 554 434 1223 293
20
+ 1858 -191 859 -820 1565 -1653 1854 -311 108 -671 159 -986 139z"/>
21
+ </g>
22
+ </svg>
@@ -2,6 +2,7 @@ import React from "react";
2
2
  import "./Heading.css";
3
3
  var Heading = function (_a) {
4
4
  var variant = _a.variant, _b = _a.color, color = _b === void 0 ? "pure-white" : _b, text = _a.text, _c = _a.align, align = _c === void 0 ? "center" : _c;
5
- return (React.createElement("div", { className: "heading ".concat(variant, " color-").concat(color, " align-").concat(align) }, text));
5
+ var Tag = variant == "h7" ? "h6" : variant;
6
+ return React.createElement(Tag, { className: "heading color-".concat(color, " align-").concat(align) }, text);
6
7
  };
7
8
  export default Heading;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "0.0.318",
3
+ "version": "0.0.320",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -15,7 +15,7 @@
15
15
  "lint": "next lint",
16
16
  "increment-version": "node increment-version.js",
17
17
  "clean": "rm -rf dist",
18
- "build": "npm run clean && tsc && node copy-css.js",
18
+ "build": "npm run clean && tsc && node copy-assets.js",
19
19
  "test": "jest",
20
20
  "storybook": "storybook dev -p 6006",
21
21
  "build-storybook": "storybook build",