@stokelp/ui 2.43.3 → 2.44.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/ui.js CHANGED
@@ -13796,12 +13796,13 @@ const { withProvider: uu, withContext: dC } = J(ta), pu = uu(f(a9.Root), "root")
13796
13796
  return V4(() => {
13797
13797
  if (!H) return;
13798
13798
  const { id: V } = _();
13799
- if (!V) return;
13800
- const m = document.getElementById(V);
13801
- if (m) {
13802
- const P = m.querySelector("footer");
13803
- P && (w ? m.style.setProperty("--footer-height", `${Math.ceil(P.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
13804
- }
13799
+ V && setTimeout(() => {
13800
+ const m = document.getElementById(V);
13801
+ if (m) {
13802
+ const P = m.querySelector("footer");
13803
+ P && (w ? m.style.setProperty("--footer-height", `${Math.ceil(P.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
13804
+ }
13805
+ }, 0);
13805
13806
  }, [H, w]), /* @__PURE__ */ r(w5, { children: [
13806
13807
  /* @__PURE__ */ C(aC, {}),
13807
13808
  /* @__PURE__ */ C(uC, { children: /* @__PURE__ */ C(V1.Content, { ref: o, ...p, children: h }) })
@@ -21189,6 +21190,19 @@ const xf = U({
21189
21190
  jsx: ["Combobox"],
21190
21191
  slots: Ld.keys(),
21191
21192
  variants: {
21193
+ hideClearTrigger: {
21194
+ true: {
21195
+ input: {
21196
+ paddingRight: {
21197
+ base: "space-60!",
21198
+ '&[value]:not([value=""])': "space-60!"
21199
+ }
21200
+ },
21201
+ clearTrigger: {
21202
+ display: "none"
21203
+ }
21204
+ }
21205
+ },
21192
21206
  size: {
21193
21207
  md: {
21194
21208
  item: { px: "space-16", py: "space-8", textStyle: "body.md" },