@hybridcore/ui 1.4.40 → 1.4.42

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,8 +1,8 @@
1
1
  import { jsxs as m, jsx as t, Fragment as T } from "react/jsx-runtime";
2
2
  import { useState as Y } from "react";
3
3
  import c from "dayjs";
4
- import { KeyboardArrowUp as L, KeyboardArrowDown as P } from "@mui/icons-material";
5
- import { Typography as f, FormLabel as z, FormGroup as D, Button as W } from "@mui/material";
4
+ import { KeyboardArrowUp as z, KeyboardArrowDown as L } from "@mui/icons-material";
5
+ import { Typography as f, FormLabel as P, FormGroup as D, Button as W } from "@mui/material";
6
6
  import { DatePicker as C } from "@mui/x-date-pickers";
7
7
  import { B as d } from "../../Box-SSMZuKnS.js";
8
8
  import { T as b } from "../../TextField-BjFXx91l.js";
@@ -16,7 +16,7 @@ function R({
16
16
  variant: u,
17
17
  onChange: p
18
18
  }) {
19
- var I, y, S, V, M;
19
+ var I, S, y, V, M;
20
20
  const h = (l) => (n) => {
21
21
  let o = { ...a };
22
22
  const i = n.target.type === "checkbox" ? n.target.checked : n.target.value;
@@ -180,12 +180,12 @@ function R({
180
180
  }
181
181
  }
182
182
  ) });
183
- if (e.type === "enum" || e.type === "composite-list" && ((y = (I = e.dataTypeInfo) == null ? void 0 : I.innerType) == null ? void 0 : y.type) === "enum") {
183
+ if (e.type === "enum" || e.type === "composite-list" && ((S = (I = e.dataTypeInfo) == null ? void 0 : I.innerType) == null ? void 0 : S.type) === "enum") {
184
184
  const [l, n] = Y(!1), o = 10;
185
185
  let i = [];
186
- return (S = e.dataTypeInfo) != null && S.enumValues && (i = e.dataTypeInfo.enumValues), (M = (V = e.dataTypeInfo) == null ? void 0 : V.innerType) != null && M.enumValues && (i = e.dataTypeInfo.innerType.enumValues), /* @__PURE__ */ m(d, { mb: 1, children: [
186
+ return (y = e.dataTypeInfo) != null && y.enumValues && (i = e.dataTypeInfo.enumValues), (M = (V = e.dataTypeInfo) == null ? void 0 : V.innerType) != null && M.enumValues && (i = e.dataTypeInfo.innerType.enumValues), /* @__PURE__ */ m(d, { children: [
187
187
  /* @__PURE__ */ m(B, { fullWidth: !0, component: "fieldset", variant: u, children: [
188
- /* @__PURE__ */ t(z, { component: "legend", sx: { mb: 1, fontSize: 12 }, children: e.name }),
188
+ /* @__PURE__ */ t(P, { component: "legend", sx: { mb: 1, fontSize: 12 }, children: e.name }),
189
189
  /* @__PURE__ */ t(D, { children: i.slice(0, l ? 9999 : o).map((s, x) => /* @__PURE__ */ t(
190
190
  O,
191
191
  {
@@ -209,7 +209,8 @@ function R({
209
209
  ),
210
210
  componentsProps: {
211
211
  typography: {
212
- variant: "body2"
212
+ variant: "body2",
213
+ fontSize: 13
213
214
  }
214
215
  },
215
216
  sx: {
@@ -225,7 +226,7 @@ function R({
225
226
  {
226
227
  size: "small",
227
228
  sx: { p: 0, textTransform: "none", fontSize: 12 },
228
- endIcon: l ? /* @__PURE__ */ t(L, { sx: { fontSize: 14 } }) : /* @__PURE__ */ t(P, { sx: { fontSize: 14 } }),
229
+ endIcon: l ? /* @__PURE__ */ t(z, { sx: { fontSize: 14 } }) : /* @__PURE__ */ t(L, { sx: { fontSize: 14 } }),
229
230
  onClick: () => n((s) => !s),
230
231
  children: [
231
232
  "Show ",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hybridcore/ui",
3
3
  "description": "Hybrid Core UI Library",
4
- "version": "1.4.40",
4
+ "version": "1.4.42",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",