@m4l/graphics 7.2.5 → 7.2.6-beta-feature-dynamicform-crear-componente.0

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.
@@ -67,7 +67,7 @@ export declare function getDateRangePickerPopupGlobalStyles(theme: ExtendedTheme
67
67
  color: string;
68
68
  };
69
69
  };
70
- '& .rs-calendar:first-child': {
70
+ '& .rs-calendar:first-of-type': {
71
71
  borderColor: string;
72
72
  };
73
73
  '& .rs-calendar-body': {
@@ -54,7 +54,7 @@ function b(r) {
54
54
  }
55
55
  },
56
56
  // calendar start
57
- "& .rs-calendar:first-child": {
57
+ "& .rs-calendar:first-of-type": {
58
58
  borderColor: r.vars.palette.border.disabled
59
59
  },
60
60
  // calendar body
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/graphics",
3
- "version": "7.2.5",
3
+ "version": "7.2.6-beta-feature-dynamicform-crear-componente.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1 +1 @@
1
- {"version":3,"file":"getContrastTextColor.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/utils/getContrastTextColor/getContrastTextColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAQ9C;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,UAAO,GAAG,SAAS,CA2B3E"}
1
+ {"version":3,"file":"getContrastTextColor.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/utils/getContrastTextColor/getContrastTextColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAQ9C;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,UAAO,GAAG,SAAS,CA6B3E"}
@@ -1,14 +1,17 @@
1
- const e = /* @__PURE__ */ new Map();
2
- function a(r, n = !0) {
1
+ const c = /* @__PURE__ */ new Map();
2
+ function l(r, n = !0) {
3
3
  try {
4
- if (n && e.has(r))
5
- return e.get(r);
6
- const t = r.replace("#", ""), s = t.length === 3 ? t[0] + t[0] + t[1] + t[1] + t[2] + t[2] : t, c = parseInt(s.substr(0, 2), 16) * 299, f = parseInt(s.substr(2, 2), 16) * 587, u = parseInt(s.substr(4, 2), 16) * 114, o = c + f + u > 128e3 ? "#000000" : "#ffffff";
7
- return n && e.set(r, o), o;
4
+ if (n) {
5
+ const o = c.get(r);
6
+ if (o !== void 0)
7
+ return o;
8
+ }
9
+ const t = r.replace("#", ""), e = t.length === 3 ? t[0] + t[0] + t[1] + t[1] + t[2] + t[2] : t, f = parseInt(e.substr(0, 2), 16) * 299, u = parseInt(e.substr(2, 2), 16) * 587, a = parseInt(e.substr(4, 2), 16) * 114, s = f + u + a > 128e3 ? "#000000" : "#ffffff";
10
+ return n && c.set(r, s), s;
8
11
  } catch {
9
12
  return "#000000";
10
13
  }
11
14
  }
12
15
  export {
13
- a as getContrastTextColor
16
+ l as getContrastTextColor
14
17
  };