@orfium/ictinus 5.14.2 → 5.15.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.
package/dist/index.js CHANGED
@@ -1625,19 +1625,31 @@ const Ly = () => Ay, My = ({
1625
1625
  t3.displayName = "Breadcrumb";
1626
1626
  const cJ = t3, By = /* @__PURE__ */ Oe("div", {
1627
1627
  target: "exejjox0"
1628
- })(""), Dy = ["p", "pt", "pr", "pb", "pl", "px", "py", "m", "mt", "mr", "mb", "ml", "mx", "my"], r3 = ["color", "backgroundAttachment", "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPosition", "backgroundRepeat", "backgroundSize", "alignContent", "alignItems", "alignSelf", "flexDirection", "display", "flex", "grid", "gridArea", "gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridColumnStart", "gridGap", "gridRow", "gridRowEnd", "gridRowGap", "gridRowStart", "gridTemplate", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows", "justifyContent", "justifyItems", "justifySelf", "position", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "overflow", "m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "placeContent", "placeItems", "placeSelf", "flexWrap", "left", "top", "right", "bottom", "textOverflow", "whiteSpace"], Fy = (e) => Pc(e, r3), Hy = (e) => rt(e, r3), qy = Ef((e, t, r, n, o) => {
1629
- if (t[n])
1630
- return o === "spacing" ? n === "px" || n === "mx" ? {
1631
- [r]: `0 ${e.globals[o].get(t[n] || "0")}`
1632
- } : n === "py" || n === "my" ? {
1633
- [r]: `${e.globals[o].get(t[n] || "0")} 0`
1634
- } : {
1635
- [r]: e.globals[o].get(t[n])
1636
- } : o === "color" ? {
1628
+ })(""), Dy = ["p", "pt", "pr", "pb", "pl", "px", "py", "m", "mt", "mr", "mb", "ml", "mx", "my"], r3 = ["color", "backgroundAttachment", "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPosition", "backgroundRepeat", "backgroundSize", "alignContent", "alignItems", "alignSelf", "flexDirection", "display", "flex", "grid", "gap", "gridArea", "gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridColumnStart", "gridGap", "gridRow", "gridRowEnd", "gridRowGap", "gridRowStart", "gridTemplate", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows", "justifyContent", "justifyItems", "justifySelf", "position", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "overflow", "m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "placeContent", "placeItems", "placeSelf", "flexWrap", "left", "top", "right", "bottom", "textOverflow", "whiteSpace"], Fy = (e) => Pc(e, r3), Hy = (e) => rt(e, r3), qy = Ef((e, t, r, n, o) => {
1629
+ if (t[n]) {
1630
+ if (o === "spacing") {
1631
+ if (n === "px" || n === "py") {
1632
+ const i = t.px ? e.globals[o].get(t.px) : "0", a = t.py ? e.globals[o].get(t.py) : "0";
1633
+ return {
1634
+ [r]: `${a} ${i}`
1635
+ };
1636
+ }
1637
+ if (n === "mx" || n === "my") {
1638
+ const i = t.mx ? e.globals[o].get(t.mx) : "0", a = t.my ? e.globals[o].get(t.my) : "0";
1639
+ return {
1640
+ [r]: `${a} ${i}`
1641
+ };
1642
+ }
1643
+ return {
1644
+ [r]: e.globals[o].get(t[n])
1645
+ };
1646
+ }
1647
+ return o === "color" ? {
1637
1648
  [r]: e.tokens.colors.get(`textColor.${t[n]}`)
1638
1649
  } : {
1639
1650
  [r]: e.tokens.colors.get(`backgroundColor.${t[n]}`)
1640
1651
  };
1652
+ }
1641
1653
  }), n3 = Qt(({
1642
1654
  children: e,
1643
1655
  ...t
@@ -1663,6 +1675,7 @@ const cJ = t3, By = /* @__PURE__ */ Oe("div", {
1663
1675
  ...a("left", "left", "spacing"),
1664
1676
  ...a("bottom", "bottom", "spacing"),
1665
1677
  ...a("color", "color", "color"),
1678
+ ...a("gap", "gap", "spacing"),
1666
1679
  ...a("backgroundColor", "backgroundColor", "backgroundColor")
1667
1680
  };
1668
1681
  return /* @__PURE__ */ d(By, { ref: r, css: [/* @__PURE__ */ y(l, "", ""), "", ""], ...i, children: e });
@@ -21599,7 +21612,10 @@ const jU = ({
21599
21612
  return m(e ? (_) => _.from && _.to ? {
21600
21613
  from: R,
21601
21614
  to: void 0
21602
- } : _.from ? {
21615
+ } : _.from ? R.isBefore(_.from) ? {
21616
+ from: R,
21617
+ to: _.from.endOf("day")
21618
+ } : {
21603
21619
  ..._,
21604
21620
  to: $
21605
21621
  } : {
@@ -23965,7 +23981,7 @@ var cY = {
23965
23981
  name: "zjik7",
23966
23982
  styles: "display:flex"
23967
23983
  };
23968
- const uY = () => cY, dY = () => (e) => /* @__PURE__ */ y("width:100%;input{", J(e.tokens.typography.get("normal.body02")), ";&::placeholder{color:", e.tokens.colors.get("textColor.default.secondary"), ";}::-webkit-search-cancel-button{appearance:none;}}", ""), fY = () => (e) => /* @__PURE__ */ y("button{border-top-left-radius:0;border-bottom-left-radius:0;border:none;box-shadow:", `inset 0 0 0 ${e.dimension.borderWidth.get("default")} ${e.tokens.colors.get("borderColor.interactive.default")}`, ";position:relative;z-index:0;margin-left:-1px;&:hover[data-active='false']:enabled{background:", e.tokens.colors.get("palette.tertiary.muted"), ";}&:focus-within:enabled{border-left:none;box-shadow:", `inset 0 0 0 ${e.dimension.borderWidth.get("active")} ${e.tokens.colors.get("borderColor.interactive.active")}`, ";z-index:1;&[data-active='false']{background:", e.tokens.colors.get("palette.tertiary.muted"), ";}}}", ""), pY = ({
23984
+ const uY = () => cY, dY = () => (e) => /* @__PURE__ */ y("width:100%;input{", J(e.tokens.typography.get("normal.body02")), ";&::placeholder{color:", e.tokens.colors.get("textColor.default.secondary"), ";}::-webkit-search-cancel-button{appearance:none;}}", ""), fY = () => (e) => /* @__PURE__ */ y(">div>div>button{border-top-left-radius:0;border-bottom-left-radius:0;border:none;box-shadow:", `inset 0 0 0 ${e.dimension.borderWidth.get("default")} ${e.tokens.colors.get("borderColor.interactive.default")}`, ";position:relative;z-index:0;margin-left:-1px;&:hover[data-active='false']:enabled{background:", e.tokens.colors.get("palette.tertiary.muted"), ";}&:focus-within:enabled{border-left:none;box-shadow:", `inset 0 0 0 ${e.dimension.borderWidth.get("active")} ${e.tokens.colors.get("borderColor.interactive.active")}`, ";z-index:1;&[data-active='false']{background:", e.tokens.colors.get("palette.tertiary.muted"), ";}}}", ""), pY = ({
23969
23985
  hasFilter: e,
23970
23986
  isDisabled: t,
23971
23987
  sx: r
@@ -24266,25 +24282,26 @@ const Wee = M.memo(cf, ue), uf = M.forwardRef((e, t) => {
24266
24282
  dataTestPrefixId: a = "search",
24267
24283
  filterConfig: l,
24268
24284
  sx: s,
24269
- ...c
24270
- } = e, u = W(), f = i && i.length > 0, p = !!(l != null && l.defaultValue && (l != null && l.label) && (l != null && l.items));
24285
+ children: c,
24286
+ ...u
24287
+ } = e, f = W(), p = i && i.length > 0, g = !!(l != null && l.defaultValue && (l != null && l.label));
24271
24288
  return Wu(() => {
24272
24289
  o && o();
24273
24290
  }), /* @__PURE__ */ A("div", { css: uY(), "data-testid": "search_container", children: [
24274
24291
  /* @__PURE__ */ A(ro, { dataTestPrefixId: a, isDisabled: n, sx: pY({
24275
- hasFilter: p,
24292
+ hasFilter: g,
24276
24293
  isDisabled: n,
24277
24294
  sx: s
24278
- })(u), children: [
24279
- /* @__PURE__ */ d(j, { name: "search", size: u.dimension.sizing.get("icon.md"), color: u.tokens.colors.get("textColor.default.secondary") }),
24295
+ })(f), children: [
24296
+ /* @__PURE__ */ d(j, { name: "search", size: f.dimension.sizing.get("icon.md"), color: f.tokens.colors.get("textColor.default.secondary") }),
24280
24297
  /* @__PURE__ */ d("div", { css: dY(), children: /* @__PURE__ */ d("input", { type: "search", css: vn({
24281
24298
  placeholder: r
24282
- }), placeholder: r, disabled: n, value: i, ref: t, "data-testid": `${a}_search_input`, ...c }) }),
24283
- f && !n && /* @__PURE__ */ d(j, { name: "close", size: u.dimension.sizing.get("icon.md"), color: u.tokens.colors.get("textColor.default.secondary"), onClick: () => {
24299
+ }), placeholder: r, disabled: n, value: i, ref: t, "data-testid": `${a}_search_input`, ...u }) }),
24300
+ p && !n && /* @__PURE__ */ d(j, { name: "close", size: f.dimension.sizing.get("icon.md"), color: f.tokens.colors.get("textColor.default.secondary"), onClick: () => {
24284
24301
  o();
24285
24302
  }, dataTestId: "search-clear" })
24286
24303
  ] }),
24287
- p && /* @__PURE__ */ d("div", { css: fY(), children: /* @__PURE__ */ d(sf, { ...l, isDisabled: n, dataTestPrefixId: `${a}_search_filter` }) })
24304
+ g && /* @__PURE__ */ d("div", { css: fY(), children: /* @__PURE__ */ d(sf, { ...l, isDisabled: n, dataTestPrefixId: `${a}_search_filter`, children: c }) })
24288
24305
  ] });
24289
24306
  });
24290
24307
  uf.displayName = "Search";