@versini/ui-bubble 5.0.2 → 5.0.4

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,5 +1,5 @@
1
1
  import { jsx as n, jsxs as B, Fragment as ae } from "react/jsx-runtime";
2
- import U, { useRef as N, useLayoutEffect as F, useEffect as M, useState as G, useMemo as W, useCallback as ie } from "react";
2
+ import U, { useRef as N, useLayoutEffect as P, useEffect as M, useState as G, useMemo as W, useCallback as ie } from "react";
3
3
  import o from "clsx";
4
4
  const R = "av-bubble", q = "av-button", j = "icon", Y = "button", L = "link", oe = ({
5
5
  type: e,
@@ -431,10 +431,10 @@ const z = {
431
431
  radius: b,
432
432
  variant: C,
433
433
  animated: v
434
- }), ee = be({ mode: t, raw: d, iconClassName: T, variant: C }), A = he({ animated: v }), te = "flex items-center justify-center relative w-full h-full overflow-hidden", [h, $] = O(), [f, S] = O(), [E, P] = O(), V = N(0), p = N(null), x = N(null), re = pe([X, p]);
435
- return F(() => {
436
- E && E.current && v && (V.current = P.width + xe[c] + (m ? 0 : we), p.current && !p.current.style.width && (p.current.style.width = `${z[c]}px`));
437
- }, [P, E, c, m, v]), F(() => {
434
+ }), ee = be({ mode: t, raw: d, iconClassName: T, variant: C }), A = he({ animated: v }), te = "flex items-center justify-center relative w-full h-full overflow-hidden", [h, $] = O(), [f, S] = O(), [E, F] = O(), V = N(0), p = N(null), x = N(null), re = pe([X, p]);
435
+ return P(() => {
436
+ E && E.current && v && (V.current = F.width + xe[c] + (m ? 0 : we), p.current && !p.current.style.width && (p.current.style.width = `${z[c]}px`));
437
+ }, [F, E, c, m, v]), P(() => {
438
438
  if (p && p.current && v) {
439
439
  let w = z[c];
440
440
  u && h && $.width > 0 ? w = $.width + V.current : g && f && S.width > 0 && (w = S.width + V.current), x.current && clearTimeout(x.current), w !== parseInt(p.current.style.width || "0", 10) && (h.current && (h.current.style.opacity = "0"), f.current && (f.current.style.opacity = "0"), p.current.style.width = `${w}px`, w > z[c] && (x.current = setTimeout(() => {
@@ -504,13 +504,13 @@ const z = {
504
504
  );
505
505
  H.displayName = "ButtonIcon";
506
506
  /*!
507
- @versini/ui-button v7.1.1
507
+ @versini/ui-button v7.1.3
508
508
  © 2025 gizmette.com
509
509
  */
510
510
  try {
511
511
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
512
- version: "7.1.1",
513
- buildTime: "08/10/2025 01:26 PM EDT",
512
+ version: "7.1.3",
513
+ buildTime: "08/23/2025 09:08 AM EDT",
514
514
  homepage: "https://github.com/aversini/ui-components",
515
515
  license: "MIT"
516
516
  });
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { BUBBLE_CLASSNAME as i, BUBBLE_FOOTER_EMPTY as o, Bubble as E } from "./components/Bubble/Bubble.js";
2
2
  /*!
3
- @versini/ui-bubble v5.0.2
3
+ @versini/ui-bubble v5.0.4
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
8
- version: "5.0.2",
9
- buildTime: "08/10/2025 01:26 PM EDT",
8
+ version: "5.0.4",
9
+ buildTime: "08/23/2025 09:10 AM EDT",
10
10
  homepage: "https://github.com/aversini/ui-components",
11
11
  license: "MIT"
12
12
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-bubble",
3
- "version": "5.0.2",
3
+ "version": "5.0.4",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -15,7 +15,8 @@
15
15
  "main": "dist/index.js",
16
16
  "types": "dist/index.d.ts",
17
17
  "files": [
18
- "dist"
18
+ "dist",
19
+ "README.md"
19
20
  ],
20
21
  "scripts": {
21
22
  "build:check": "tsc",
@@ -40,18 +41,18 @@
40
41
  "react-dom": "^18.3.1 || ^19.0.0"
41
42
  },
42
43
  "devDependencies": {
43
- "@testing-library/jest-dom": "6.6.4",
44
- "@versini/ui-types": "5.0.6"
44
+ "@testing-library/jest-dom": "6.8.0",
45
+ "@versini/ui-types": "../ui-types"
45
46
  },
46
47
  "dependencies": {
47
48
  "@tailwindcss/typography": "0.5.16",
48
- "@versini/ui-button": "7.1.1",
49
+ "@versini/ui-button": "../ui-button",
49
50
  "@versini/ui-icons": "4.10.0",
50
51
  "clsx": "2.1.1",
51
- "tailwindcss": "4.1.11"
52
+ "tailwindcss": "4.1.12"
52
53
  },
53
54
  "sideEffects": [
54
55
  "**/*.css"
55
56
  ],
56
- "gitHead": "381a563cd0bb01eeddea33e57c0f5705663b5be4"
57
+ "gitHead": "7bbfa99a4441ef5b0828a37d190f694e199b663d"
57
58
  }