fui-material 1.18.10 → 1.18.12

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/f-ui-kit.es.js +62 -60
  2. package/package.json +1 -1
@@ -1618,73 +1618,75 @@ const Un = ({
1618
1618
  id: m,
1619
1619
  classBlock: v,
1620
1620
  ...b
1621
- }, d) => /* @__PURE__ */ x.jsxs(
1622
- "div",
1623
- {
1624
- className: `form-group ${v !== void 0 ? v : ""}`,
1625
- style: {
1626
- width: r ? "100%" : f,
1627
- whiteSpace: "nowrap",
1628
- overflow: "hidden",
1629
- textOverflow: "ellipsis",
1630
- height: "auto"
1631
- },
1632
- id: m,
1633
- children: [
1634
- /* @__PURE__ */ x.jsx(
1635
- "label",
1636
- {
1637
- className: "control-label with-offset",
1638
- style: {
1639
- whiteSpace: "nowrap",
1640
- overflow: "hidden",
1641
- textOverflow: "ellipsis"
1642
- },
1643
- children: i
1644
- }
1645
- ),
1646
- /* @__PURE__ */ x.jsxs("div", { className: `${s ? "ui left icon input loading" : ""}`, children: [
1621
+ }, d) => {
1622
+ const p = Object.assign({}, b, { className: `form-control ${b.className !== void 0 ? b.className : ""}` });
1623
+ return /* @__PURE__ */ x.jsxs(
1624
+ "div",
1625
+ {
1626
+ className: `form-group ${v !== void 0 ? v : ""}`,
1627
+ style: {
1628
+ width: r ? "100%" : f,
1629
+ whiteSpace: "nowrap",
1630
+ overflow: "hidden",
1631
+ textOverflow: "ellipsis",
1632
+ height: "auto"
1633
+ },
1634
+ id: m,
1635
+ children: [
1647
1636
  /* @__PURE__ */ x.jsx(
1648
- "select",
1649
- {
1650
- ref: d,
1651
- disabled: n || s,
1652
- style: Object.assign({}, e, {
1653
- borderColor: a !== void 0 && a.length > 0 ? "red" : "#C4C4C4",
1654
- height: l
1655
- }),
1656
- className: "form-control",
1657
- ...b,
1658
- children: !s && t
1659
- }
1660
- ),
1661
- o !== void 0 && /* @__PURE__ */ x.jsx(
1662
- "span",
1637
+ "label",
1663
1638
  {
1639
+ className: "control-label with-offset",
1664
1640
  style: {
1665
- whiteSpace: "initial",
1666
- color: "#a6a3a3",
1667
- fontSize: "12px"
1641
+ whiteSpace: "nowrap",
1642
+ overflow: "hidden",
1643
+ textOverflow: "ellipsis"
1668
1644
  },
1669
- children: o
1645
+ children: i
1670
1646
  }
1671
1647
  ),
1672
- a !== void 0 && a.length > 0 && /* @__PURE__ */ x.jsx(Re, { direction: "column", st: { paddingLeft: "11px" }, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ x.jsx(
1673
- "span",
1674
- {
1675
- style: {
1676
- whiteSpace: "initial",
1677
- color: "red"
1648
+ /* @__PURE__ */ x.jsxs("div", { className: `${s ? "ui left icon input loading" : ""}`, children: [
1649
+ /* @__PURE__ */ x.jsx(
1650
+ "select",
1651
+ {
1652
+ ref: d,
1653
+ disabled: n || s,
1654
+ style: Object.assign({}, e, {
1655
+ borderColor: a !== void 0 && a.length > 0 ? "red" : "#C4C4C4",
1656
+ height: l
1657
+ }),
1658
+ ...p,
1659
+ children: !s && t
1660
+ }
1661
+ ),
1662
+ o !== void 0 && /* @__PURE__ */ x.jsx(
1663
+ "span",
1664
+ {
1665
+ style: {
1666
+ whiteSpace: "initial",
1667
+ color: "#a6a3a3",
1668
+ fontSize: "12px"
1669
+ },
1670
+ children: o
1671
+ }
1672
+ ),
1673
+ a !== void 0 && a.length > 0 && /* @__PURE__ */ x.jsx(Re, { direction: "column", st: { paddingLeft: "11px" }, children: a == null ? void 0 : a.map((u, h) => /* @__PURE__ */ x.jsx(
1674
+ "span",
1675
+ {
1676
+ style: {
1677
+ whiteSpace: "initial",
1678
+ color: "red"
1679
+ },
1680
+ children: u
1678
1681
  },
1679
- children: p
1680
- },
1681
- u
1682
- )) }),
1683
- s && /* @__PURE__ */ x.jsx("div", { className: "input-load", children: /* @__PURE__ */ x.jsx(st, { size: 10 }) })
1684
- ] })
1685
- ]
1686
- }
1687
- )), ha = ({
1682
+ h
1683
+ )) }),
1684
+ s && /* @__PURE__ */ x.jsx("div", { className: "input-load", children: /* @__PURE__ */ x.jsx(st, { size: 10 }) })
1685
+ ] })
1686
+ ]
1687
+ }
1688
+ );
1689
+ }), ha = ({
1688
1690
  st: i,
1689
1691
  value: e,
1690
1692
  children: t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fui-material",
3
- "version": "1.18.10",
3
+ "version": "1.18.12",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"