welcome-ui 10.6.4 → 10.6.5

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/Tooltip.css CHANGED
@@ -1 +1 @@
1
- @layer components{._root_1r2b3_2{display:flex;flex-direction:column;gap:var(--tooltip-gap-content);background-color:var(--tooltip-color-background);border:var(--tooltip-border-width) solid var(--tooltip-color-border);border-radius:var(--tooltip-border-radius);box-sizing:border-box;color:var(--tooltip-color-text);max-width:12.5rem;padding:var(--tooltip-padding-block) var(--tooltip-padding-inline);transition-property:opacity,visibility;transition-duration:var(--duration-medium);z-index:10;visibility:var(--visibility, hidden);opacity:var(--opacity, 0);box-shadow:var(--elevation-20)}._root_1r2b3_2[data-enter=true]{--visibility: visible;--opacity: 1}._childItem_1r2b3_24{display:inline}}
1
+ @layer components{._root_auyq0_2{display:flex;flex-direction:column;gap:var(--tooltip-gap-content);background-color:var(--tooltip-color-background);border:var(--tooltip-border-width) solid var(--tooltip-color-border);border-radius:var(--tooltip-border-radius);box-sizing:border-box;color:var(--tooltip-color-text);max-width:12.5rem;padding:var(--tooltip-padding-block) var(--tooltip-padding-inline);transition-property:opacity,visibility;transition-duration:var(--duration-medium);z-index:10;visibility:var(--visibility, hidden);opacity:var(--opacity, 0);box-shadow:var(--elevation-20)}._root_auyq0_2[data-enter=true]{--visibility: visible;--opacity: 1}._childItem_auyq0_24{display:inline-block;width:fit-content}}
package/dist/Tooltip.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import './Tooltip.css';
3
- import { jsx as p, jsxs as _, Fragment as Q } from "react/jsx-runtime";
4
- import { H as W, a as Y, u as q, b as z, c as G, d as J } from "./ECBEZ4YM-o09xUuV6.js";
3
+ import { jsx as p, jsxs as _, Fragment as L } from "react/jsx-runtime";
4
+ import { H as Q, a as W, u as Y, b as z, c as G, d as J } from "./ECBEZ4YM-o09xUuV6.js";
5
5
  import { b as K, f as A, c as V, a as R, i as I, h as U, A as P, t as X, Q as Z, u as y, x as b } from "./U6HHPQDW-CzxyP5H7.js";
6
6
  import { c as ee } from "./Z32PU2LQ-DMjfxuT9.js";
7
7
  import { d as k, c as F, u as te, a as w, b as oe } from "./Q5W46E73-5xQblshY.js";
@@ -9,8 +9,8 @@ import ne, { useRef as re, useEffect as g, forwardRef as ae, useState as ie, use
9
9
  import { Text as H } from "./Text.js";
10
10
  import { c as se } from "./index-B6iGEm-i.js";
11
11
  var M = K(
12
- [Y],
13
- [W]
12
+ [W],
13
+ [Q]
14
14
  ), x = M.useProviderContext, ue = M.ScopedContextProvider, ce = "div", de = V(
15
15
  function({
16
16
  store: e,
@@ -31,7 +31,7 @@ var M = K(
31
31
  [e]
32
32
  ), i = { role: e.useState(
33
33
  (a) => a.type === "description" ? "tooltip" : "none"
34
- ), ...i }, i = q({
34
+ ), ...i }, i = Y({
35
35
  ...i,
36
36
  store: e,
37
37
  portal: o,
@@ -159,7 +159,7 @@ function Te(t = {}) {
159
159
  const [e, o] = te(Se, t);
160
160
  return he(e, o, t);
161
161
  }
162
- const be = "_root_1r2b3_2", ye = "_childItem_1r2b3_24", Ee = {
162
+ const be = "_root_auyq0_2", ye = "_childItem_auyq0_24", Ee = {
163
163
  root: be,
164
164
  childItem: ye
165
165
  }, E = se(Ee), Pe = ae(
@@ -185,14 +185,14 @@ const be = "_root_1r2b3_2", ye = "_childItem_1r2b3_24", Ee = {
185
185
  r("animating", !1);
186
186
  }, [r]), $ = (C = t == null ? void 0 : t.props) != null && C.disabled ? ne.Children.only(/* @__PURE__ */ p("span", { className: E("childItem"), children: t })) : t;
187
187
  return g(() => {
188
- function N({ clientX: j, clientY: L }) {
189
- S({ x: j, y: L }), T();
188
+ function N({ clientX: j, clientY: q }) {
189
+ S({ x: j, y: q }), T();
190
190
  }
191
191
  if (a && !n)
192
192
  return a.addEventListener("mousemove", N), () => {
193
193
  a.removeEventListener("mousemove", N);
194
194
  };
195
- }, [T, n, a]), o ? /* @__PURE__ */ _(Q, { children: [
195
+ }, [T, n, a]), o ? /* @__PURE__ */ _(L, { children: [
196
196
  /* @__PURE__ */ p(pe, { render: $, store: m }),
197
197
  /* @__PURE__ */ _(
198
198
  me,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "welcome-ui",
3
- "version": "10.6.4",
3
+ "version": "10.6.5",
4
4
  "description": "Customizable design system with react, typescript, tailwindcss and ariakit.",
5
5
  "files": [
6
6
  "dist"