@versini/ui-bubble 2.0.10 → 2.0.11

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/index.js +28 -28
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -2,13 +2,13 @@ import { jsx as c, jsxs as v, Fragment as S } from "react/jsx-runtime";
2
2
  import i from "clsx";
3
3
  import _, { useState as R, useEffect as L } from "react";
4
4
  /*!
5
- @versini/ui-bubble v2.0.10
5
+ @versini/ui-bubble v2.0.11
6
6
  © 2024 gizmette.com
7
7
  */
8
8
  try {
9
9
  window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
10
- version: "2.0.10",
11
- buildTime: "12/30/2024 11:46 PM EST",
10
+ version: "2.0.11",
11
+ buildTime: "12/31/2024 09:02 AM EST",
12
12
  homepage: "https://github.com/aversini/ui-components",
13
13
  license: "MIT"
14
14
  });
@@ -30,7 +30,7 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
30
30
  [l]: r === "large"
31
31
  });
32
32
  case O:
33
- return i("px-4 text-center", {
33
+ return i("text-center", {
34
34
  [d]: r === "small",
35
35
  [g]: r === "medium",
36
36
  [l]: r === "large"
@@ -41,14 +41,14 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
41
41
  "justify-start": a === "left",
42
42
  "justify-end": a === "right",
43
43
  "h-6 w-6 p-0": r === "small" && !(t || o),
44
- "h-6 px-4 text-sm font-medium": r === "small" && (t || o),
44
+ "h-6 px-2 text-sm font-medium": r === "small" && (t || o),
45
45
  "h-8 w-8 p-1": r === "medium" && !(t || o),
46
- "h-8 px-4 text-base font-medium": r === "medium" && (t || o),
46
+ "h-8 px-3 text-base font-medium": r === "medium" && (t || o),
47
47
  "h-12 w-12 p-2": r === "large" && !(t || o),
48
48
  "h-12 px-4 text-lg font-medium": r === "large" && (t || o)
49
49
  });
50
50
  }
51
- }, W = ({
51
+ }, A = ({
52
52
  mode: e,
53
53
  noBackground: r,
54
54
  noTruncate: t,
@@ -105,7 +105,7 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
105
105
  "bg-action-selected-dark text-copy-light dark:bg-action-selected-light dark:text-copy-lighter": e === "system",
106
106
  "bg-action-selected-light text-copy-lighter dark:bg-action-selected-dark dark:text-copy-light": e === "alt-system"
107
107
  });
108
- }, P = ({
108
+ }, W = ({
109
109
  mode: e,
110
110
  disabled: r,
111
111
  variant: t
@@ -140,7 +140,7 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
140
140
  "hover:bg-action-selected-dark-hover dark:hover:bg-action-selected-light-hover": e === "system",
141
141
  "hover:bg-action-selected-light-hover dark:hover:bg-action-selected-dark-hover": e === "alt-system"
142
142
  });
143
- }, A = ({
143
+ }, G = ({
144
144
  mode: e,
145
145
  disabled: r,
146
146
  variant: t
@@ -175,7 +175,7 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
175
175
  "active:bg-action-selected-dark-active dark:active:bg-action-selected-light-active": e === "system",
176
176
  "active:bg-action-selected-light-active dark:active:bg-action-selected-dark-active": e === "alt-system"
177
177
  });
178
- }, G = ({
178
+ }, q = ({
179
179
  mode: e,
180
180
  noBorder: r,
181
181
  variant: t
@@ -210,7 +210,7 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
210
210
  "border-border-selected-dark dark:border-border-selected-medium": e === "system",
211
211
  "border-border-selected-medium dark:border-border-selected-dark": e === "alt-system"
212
212
  });
213
- }, q = ({
213
+ }, D = ({
214
214
  focusMode: e
215
215
  }) => i("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
216
216
  "focus:outline-focus-dark": e === "dark",
@@ -236,7 +236,7 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
236
236
  radius: f
237
237
  }) => (n || (n = "primary"), t ? i(z, r) : i(
238
238
  z,
239
- W({
239
+ A({
240
240
  mode: o,
241
241
  variant: n,
242
242
  noBackground: u,
@@ -250,16 +250,16 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
250
250
  labelLeft: b,
251
251
  align: p
252
252
  }),
253
- G({ mode: o, variant: n, noBorder: h }),
254
- q({ focusMode: a }),
255
- P({ mode: o, variant: n, disabled: d }),
256
- A({ mode: o, variant: n, disabled: d }),
253
+ q({ mode: o, variant: n, noBorder: h }),
254
+ D({ focusMode: a }),
255
+ W({ mode: o, variant: n, disabled: d }),
256
+ G({ mode: o, variant: n, disabled: d }),
257
257
  {
258
258
  "w-full": g,
259
259
  "disabled:cursor-not-allowed disabled:opacity-50": d
260
260
  },
261
261
  r
262
- )), D = (e, r, t) => {
262
+ )), F = (e, r, t) => {
263
263
  var o;
264
264
  !r && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((o = e == null ? void 0 : e.currentTarget) == null ? void 0 : o.focus) == "function" && e.currentTarget.focus(), typeof t == "function" && t(e);
265
265
  }, I = _.forwardRef((e, r) => {
@@ -269,7 +269,7 @@ const U = "av-bubble", z = "av-button", N = "icon", H = "button", O = "link", j
269
269
  {
270
270
  ref: r,
271
271
  onClick: (d) => {
272
- D(d, o, t);
272
+ F(d, o, t);
273
273
  },
274
274
  ...a
275
275
  }
@@ -338,19 +338,19 @@ const C = _.forwardRef(
338
338
  );
339
339
  C.displayName = "ButtonIcon";
340
340
  /*!
341
- @versini/ui-button v3.1.0
341
+ @versini/ui-button v3.2.0
342
342
  © 2024 gizmette.com
343
343
  */
344
344
  try {
345
345
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
346
- version: "3.1.0",
347
- buildTime: "12/30/2024 11:46 PM EST",
346
+ version: "3.2.0",
347
+ buildTime: "12/31/2024 09:01 AM EST",
348
348
  homepage: "https://github.com/aversini/ui-components",
349
349
  license: "MIT"
350
350
  });
351
351
  } catch {
352
352
  }
353
- const F = _.forwardRef(
353
+ const J = _.forwardRef(
354
354
  ({
355
355
  children: e,
356
356
  disabled: r = !1,
@@ -427,7 +427,7 @@ const F = _.forwardRef(
427
427
  ) });
428
428
  }
429
429
  );
430
- F.displayName = "ButtonSort";
430
+ J.displayName = "ButtonSort";
431
431
  const M = ({
432
432
  children: e,
433
433
  fill: r,
@@ -465,13 +465,13 @@ const M = ({
465
465
  try {
466
466
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
467
467
  version: "3.0.2",
468
- buildTime: "12/30/2024 11:46 PM EST",
468
+ buildTime: "12/31/2024 09:01 AM EST",
469
469
  homepage: "https://github.com/aversini/ui-components",
470
470
  license: "MIT"
471
471
  });
472
472
  } catch {
473
473
  }
474
- const J = ({
474
+ const K = ({
475
475
  className: e,
476
476
  viewBox: r,
477
477
  title: t,
@@ -497,7 +497,7 @@ const J = ({
497
497
  /* @__PURE__ */ c("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
498
498
  ]
499
499
  }
500
- ), K = ({
500
+ ), P = ({
501
501
  className: e,
502
502
  viewBox: r,
503
503
  title: t,
@@ -522,7 +522,7 @@ const J = ({
522
522
  try {
523
523
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
524
524
  version: "3.0.2",
525
- buildTime: "12/30/2024 11:46 PM EST",
525
+ buildTime: "12/31/2024 09:01 AM EST",
526
526
  homepage: "https://github.com/aversini/ui-components",
527
527
  license: "MIT"
528
528
  });
@@ -607,7 +607,7 @@ const Q = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", X = ({ kind: e }) => i(
607
607
  label: h ? "Copied to clipboard" : "Copy to clipboard",
608
608
  onClick: n,
609
609
  disabled: h,
610
- children: h ? /* @__PURE__ */ c(J, { size: "size-3" }) : /* @__PURE__ */ c(K, { size: "size-3" })
610
+ children: h ? /* @__PURE__ */ c(K, { size: "size-3" }) : /* @__PURE__ */ c(P, { size: "size-3" })
611
611
  }
612
612
  ) })
613
613
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-bubble",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@tailwindcss/typography": "0.5.15",
42
- "@versini/ui-button": "3.1.0",
42
+ "@versini/ui-button": "3.2.0",
43
43
  "@versini/ui-icons": "3.0.2",
44
44
  "@versini/ui-types": "3.0.2",
45
45
  "clsx": "2.1.1",
@@ -48,5 +48,5 @@
48
48
  "sideEffects": [
49
49
  "**/*.css"
50
50
  ],
51
- "gitHead": "45ace52c02085dad8783b8d96407f0e0d9b6c900"
51
+ "gitHead": "50cdcea89f3a2fe910fe22c526e51523d7f0f410"
52
52
  }