allaw-ui 4.9.0 → 4.9.1

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.
@@ -39,6 +39,7 @@ function FilterButtonPrimary(_a) {
39
39
  gap: "0.5rem",
40
40
  alignItems: "center",
41
41
  zIndex: zIndex,
42
+ fontFamily: "var(--font-open-sans)",
42
43
  }, onClick: function () { return onClick && onClick(); } }, props),
43
44
  React.createElement("i", { className: "allaw-icon-filter", style: { fontSize: "14px", color: "#25BEEB" } }),
44
45
  children));
@@ -81,7 +81,11 @@ var SingleFilter = function (_a) {
81
81
  return (React.createElement("div", __assign({ className: styles.baseFilter, ref: filterRef }, props),
82
82
  React.createElement(FilterButtonPrimary, { onClick: handleButtonTap },
83
83
  children,
84
- React.createElement("p", { style: { color: "#25BEEB", fontWeight: "600" } }, showNumIndic && "(".concat(selectedValue.length, ")"))),
84
+ React.createElement("p", { style: {
85
+ color: "#25BEEB",
86
+ fontWeight: "600",
87
+ fontFamily: "var(--font-open-sans)",
88
+ } }, showNumIndic && "(".concat(selectedValue.length, ")"))),
85
89
  isOpen && (React.createElement("div", { className: styles.options }, filterData &&
86
90
  filterData.length > 0 &&
87
91
  filterData.map(function (item, idx) { return (React.createElement(Item, { name: item.name, value: item.value, key: idx })); }))),
@@ -35,4 +35,7 @@
35
35
  /* Background */
36
36
  --background-pro: #fcfdfd;
37
37
  --background-usager: #ffffff;
38
+
39
+ /* Fonts */
40
+ --font-open-sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
38
41
  }
@@ -3,7 +3,7 @@
3
3
  @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800;900&display=swap");
4
4
  @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
5
5
 
6
- /* @import "~typeface-open-sans/index.css"; */
6
+ @import "~typeface-open-sans/index.css";
7
7
  @import "./colors.css";
8
8
 
9
9
  @import "./icons.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "4.9.0",
3
+ "version": "4.9.1",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",