@mdtl/uikit 0.0.42 → 0.0.44

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.
@@ -1,4 +1,29 @@
1
1
  export declare const textfieldConfig: {
2
+ styleOverrides: {
3
+ root: {
4
+ '& input:-webkit-autofill': {
5
+ WebkitBoxShadow: string;
6
+ WebkitTextFillColor: string;
7
+ transition: string;
8
+ fontSize: string;
9
+ };
10
+ '& input:-webkit-autofill:hover': {
11
+ WebkitBoxShadow: string;
12
+ WebkitTextFillColor: string;
13
+ fontSize: string;
14
+ };
15
+ '& input:-webkit-autofill:focus': {
16
+ WebkitBoxShadow: string;
17
+ WebkitTextFillColor: string;
18
+ fontSize: string;
19
+ };
20
+ '& input:-webkit-autofill:active': {
21
+ WebkitBoxShadow: string;
22
+ WebkitTextFillColor: string;
23
+ fontSize: string;
24
+ };
25
+ };
26
+ };
2
27
  variants: ({
3
28
  style: {
4
29
  overflow: string;
@@ -1,4 +1,5 @@
1
1
  export declare const typographyConfig: {
2
+ fontFamily: string;
2
3
  display1: {
3
4
  fontWeight: number;
4
5
  fontSize: string;
package/dist/uikit.js CHANGED
@@ -157,6 +157,7 @@ const z = {
157
157
  100: "#23201E"
158
158
  }
159
159
  }, xe = {
160
+ fontFamily: "Inter, Arial, Roboto, sans-serif",
160
161
  display1: {
161
162
  fontWeight: 600,
162
163
  fontSize: "72px",
@@ -4300,6 +4301,31 @@ const Kd = (e) => /* @__PURE__ */ m(st, { ...e, children: /* @__PURE__ */ m("svg
4300
4301
  checkedIcon: /* @__PURE__ */ m(Jd, {}),
4301
4302
  indeterminateIcon: /* @__PURE__ */ m(ef, {})
4302
4303
  }), of = {
4304
+ styleOverrides: {
4305
+ root: {
4306
+ "& input:-webkit-autofill": {
4307
+ WebkitBoxShadow: "none",
4308
+ WebkitTextFillColor: "inherit",
4309
+ transition: "none",
4310
+ fontSize: "inherit"
4311
+ },
4312
+ "& input:-webkit-autofill:hover": {
4313
+ WebkitBoxShadow: "none",
4314
+ WebkitTextFillColor: "inherit",
4315
+ fontSize: "inherit"
4316
+ },
4317
+ "& input:-webkit-autofill:focus": {
4318
+ WebkitBoxShadow: "none",
4319
+ WebkitTextFillColor: "inherit",
4320
+ fontSize: "inherit"
4321
+ },
4322
+ "& input:-webkit-autofill:active": {
4323
+ WebkitBoxShadow: "none",
4324
+ WebkitTextFillColor: "inherit",
4325
+ fontSize: "inherit"
4326
+ }
4327
+ }
4328
+ },
4303
4329
  variants: [
4304
4330
  {
4305
4331
  style: {
@@ -5414,6 +5440,7 @@ const Kd = (e) => /* @__PURE__ */ m(st, { ...e, children: /* @__PURE__ */ m("svg
5414
5440
  }
5415
5441
  }
5416
5442
  }, $f = {
5443
+ cssVariables: !0,
5417
5444
  palette: {
5418
5445
  text: {
5419
5446
  primary: z.blackBlue[100],
@@ -18056,7 +18083,14 @@ const uy = (e) => /* @__PURE__ */ ie(pt, { direction: "row", children: [
18056
18083
  /* @__PURE__ */ m("circle", { cx: "12", cy: "14", r: "1", fill: "currentColor" }),
18057
18084
  /* @__PURE__ */ m("circle", { cx: "12", cy: "18", r: "1", fill: "currentColor" })
18058
18085
  ] }) }), vy = yt(yy), b1 = (e) => {
18059
- const { isModal: t = !0, isResizable: n = !1, showMaximize: r = !0, width: i = "50%", minWidth: a = "25%", onOpen: s } = e, [l, c] = ct(e.activeSection || e.sections?.[0]?.id), [d, u] = ct(!1), [f, g] = ct(null), [v, y] = ct(!1), p = 3, S = uo(() => window.innerWidth * 0.97, []), w = Ot((h) => {
18086
+ const {
18087
+ isModal: t = !0,
18088
+ isResizable: n = !1,
18089
+ showMaximize: r = !0,
18090
+ width: i = "50%",
18091
+ minWidth: a = "25%",
18092
+ onOpen: s
18093
+ } = e, [l, c] = ct(e.activeSection || e.sections?.[0]?.id), [d, u] = ct(!1), [f, g] = ct(null), [v, y] = ct(!1), p = 3, S = uo(() => window.innerWidth * 0.97, []), w = Ot((h) => {
18060
18094
  if (typeof h == "string") {
18061
18095
  const k = parseFloat(h);
18062
18096
  return `${window.innerWidth * k / 100}px`;
@@ -18298,10 +18332,12 @@ const uy = (e) => /* @__PURE__ */ ie(pt, { direction: "row", children: [
18298
18332
  d: "m14 7-5 5 5 5z"
18299
18333
  }), "ArrowLeft"), Cy = oo(/* @__PURE__ */ m("path", {
18300
18334
  d: "m10 17 5-5-5-5z"
18301
- }), "ArrowRight"), Gs = yt(({ hierarchicalMenuLTR: e, isHierarchical: t }) => /* @__PURE__ */ m(st, { fontSize: "s", children: t && /* @__PURE__ */ ie(tn, { children: [
18302
- !e && /* @__PURE__ */ m(xy, {}),
18303
- e && /* @__PURE__ */ m(Cy, {})
18304
- ] }) })), Sy = yt(
18335
+ }), "ArrowRight"), Gs = yt(
18336
+ ({ hierarchicalMenuLTR: e, isHierarchical: t }) => /* @__PURE__ */ m(st, { fontSize: "s", children: t && /* @__PURE__ */ ie(tn, { children: [
18337
+ !e && /* @__PURE__ */ m(xy, {}),
18338
+ e && /* @__PURE__ */ m(Cy, {})
18339
+ ] }) })
18340
+ ), Sy = yt(
18305
18341
  ({
18306
18342
  anchorEl: e,
18307
18343
  setAnchorEl: t,
@@ -18494,7 +18530,7 @@ const uy = (e) => /* @__PURE__ */ ie(pt, { direction: "row", children: [
18494
18530
  color: "text",
18495
18531
  onClick: u,
18496
18532
  ...t,
18497
- children: /* @__PURE__ */ m(kc, {})
18533
+ children: /* @__PURE__ */ m(kc, { color: "action" })
18498
18534
  }
18499
18535
  ),
18500
18536
  /* @__PURE__ */ m(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdtl/uikit",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "type": "module",
5
5
  "main": "./dist/uikit.js",
6
6
  "types": "./dist/index.d.ts",