beca-ui 2.0.19-beta.70 → 2.0.19-beta.71

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.
Files changed (2) hide show
  1. package/dist/beca-ui.js +33 -2
  2. package/package.json +1 -1
package/dist/beca-ui.js CHANGED
@@ -97962,6 +97962,21 @@ var SvgAddBottomRowOutlinedComponent = function(a) {
97962
97962
  __assign$2({}, a, { className: "beca-icon" + (a.className ? " " + a.className : ""), style: __assign$2(__assign$2({}, a.style), { color: (u = (s = a.color) !== null && s !== void 0 ? s : (c = a.style) === null || c === void 0 ? void 0 : c.color) !== null && u !== void 0 ? u : "", fontSize: (p = (d = a.size) !== null && d !== void 0 ? d : (f = a.style) === null || f === void 0 ? void 0 : f.fontSize) !== null && p !== void 0 ? p : "" }) }),
97963
97963
  React$4.createElement(SvgMoonBoldComponent, null)
97964
97964
  );
97965
+ }, SvgMoonOutlinedComponent = function(a) {
97966
+ var s = a.titleId, c = a.title;
97967
+ return React$4.createElement(
97968
+ "svg",
97969
+ __assign$2({ viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "inherit", "aria-labelledby": s }, a),
97970
+ c ? React$4.createElement("title", { id: s }, c) : null,
97971
+ React$4.createElement("path", { d: "M2.03 12.42c.36 5.15 4.73 9.34 9.96 9.57 3.69.16 6.99-1.56 8.97-4.27.82-1.11.38-1.85-.99-1.6-.67.12-1.36.17-2.08.14C13 16.06 9 11.97 8.98 7.14c-.01-1.3.26-2.53.75-3.65.54-1.24-.11-1.83-1.36-1.3C4.41 3.86 1.7 7.85 2.03 12.42z", stroke: "currentcolor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })
97972
+ );
97973
+ }, SvgMoonOutlinedStyle = function(a) {
97974
+ var s, c, u, d, f, p;
97975
+ return React$4.createElement(
97976
+ "span",
97977
+ __assign$2({}, a, { className: "beca-icon" + (a.className ? " " + a.className : ""), style: __assign$2(__assign$2({}, a.style), { color: (u = (s = a.color) !== null && s !== void 0 ? s : (c = a.style) === null || c === void 0 ? void 0 : c.color) !== null && u !== void 0 ? u : "", fontSize: (p = (d = a.size) !== null && d !== void 0 ? d : (f = a.style) === null || f === void 0 ? void 0 : f.fontSize) !== null && p !== void 0 ? p : "" }) }),
97978
+ React$4.createElement(SvgMoonOutlinedComponent, null)
97979
+ );
97965
97980
  }, SvgMoreOutlinedComponent = function(a) {
97966
97981
  var s = a.titleId, c = a.title;
97967
97982
  return React$4.createElement(
@@ -98471,6 +98486,22 @@ var SvgAddBottomRowOutlinedComponent = function(a) {
98471
98486
  __assign$2({}, a, { className: "beca-icon" + (a.className ? " " + a.className : ""), style: __assign$2(__assign$2({}, a.style), { color: (u = (s = a.color) !== null && s !== void 0 ? s : (c = a.style) === null || c === void 0 ? void 0 : c.color) !== null && u !== void 0 ? u : "", fontSize: (p = (d = a.size) !== null && d !== void 0 ? d : (f = a.style) === null || f === void 0 ? void 0 : f.fontSize) !== null && p !== void 0 ? p : "" }) }),
98472
98487
  React$4.createElement(SvgSun1BoldComponent, null)
98473
98488
  );
98489
+ }, SvgSun1OutlinedComponent = function(a) {
98490
+ var s = a.titleId, c = a.title;
98491
+ return React$4.createElement(
98492
+ "svg",
98493
+ __assign$2({ viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "inherit", "aria-labelledby": s }, a),
98494
+ c ? React$4.createElement("title", { id: s }, c) : null,
98495
+ React$4.createElement("path", { d: "M12 18.5a6.5 6.5 0 100-13 6.5 6.5 0 000 13z", stroke: "currentcolor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }),
98496
+ React$4.createElement("path", { d: "M19.14 19.14l-.13-.13m0-14.02l.13-.13-.13.13zM4.86 19.14l.13-.13-.13.13zM12 2.08V2v.08zM12 22v-.08.08zM2.08 12H2h.08zM22 12h-.08.08zM4.99 4.99l-.13-.13.13.13z", stroke: "currentcolor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })
98497
+ );
98498
+ }, SvgSun1OutlinedStyle = function(a) {
98499
+ var s, c, u, d, f, p;
98500
+ return React$4.createElement(
98501
+ "span",
98502
+ __assign$2({}, a, { className: "beca-icon" + (a.className ? " " + a.className : ""), style: __assign$2(__assign$2({}, a.style), { color: (u = (s = a.color) !== null && s !== void 0 ? s : (c = a.style) === null || c === void 0 ? void 0 : c.color) !== null && u !== void 0 ? u : "", fontSize: (p = (d = a.size) !== null && d !== void 0 ? d : (f = a.style) === null || f === void 0 ? void 0 : f.fontSize) !== null && p !== void 0 ? p : "" }) }),
98503
+ React$4.createElement(SvgSun1OutlinedComponent, null)
98504
+ );
98474
98505
  }, SvgSupportOutlinedComponent = function(a) {
98475
98506
  var s = a.titleId, c = a.title;
98476
98507
  return React$4.createElement(
@@ -99686,7 +99717,7 @@ const pageSize = 10, NotificationComponent = (a, s) => {
99686
99717
  be && "dark-theme"
99687
99718
  ),
99688
99719
  type: "text",
99689
- icon: be ? /* @__PURE__ */ jsx(SvgSun1BoldStyle, {}) : /* @__PURE__ */ jsx(SvgMoonBoldStyle, {}),
99720
+ icon: getThemeIcon(be, te),
99690
99721
  onClick: ve,
99691
99722
  shape: "circle"
99692
99723
  }
@@ -99827,7 +99858,7 @@ const pageSize = 10, NotificationComponent = (a, s) => {
99827
99858
  }
99828
99859
  )
99829
99860
  ] });
99830
- }, Header$3 = forwardRef(TopMenu), getClassName$E = (a) => {
99861
+ }, getThemeIcon = (a, s) => s === "Office" ? a ? /* @__PURE__ */ jsx(SvgSun1BoldStyle, {}) : /* @__PURE__ */ jsx(SvgMoonBoldStyle, {}) : a ? /* @__PURE__ */ jsx(SvgSun1OutlinedStyle, {}) : /* @__PURE__ */ jsx(SvgMoonOutlinedStyle, {}), Header$3 = forwardRef(TopMenu), getClassName$E = (a) => {
99831
99862
  const { className: s } = a;
99832
99863
  let c = "beca-badge";
99833
99864
  return s && (c += " " + s), c;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.19-beta.70",
3
+ "version": "2.0.19-beta.71",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {