@vellira-ui/react 2.127.3 → 2.128.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
@@ -4475,34 +4475,36 @@ var Ii = Object.assign(Pi, {
4475
4475
  });
4476
4476
  Ii.displayName = "Tooltip";
4477
4477
  var Li = {
4478
- button: "_button_1jj4q_1",
4479
- solid: "_solid_1jj4q_26",
4480
- primary: "_primary_1jj4q_26",
4481
- loading: "_loading_1jj4q_26",
4482
- neutral: "_neutral_1jj4q_52",
4483
- success: "_success_1jj4q_78",
4484
- warning: "_warning_1jj4q_104",
4485
- danger: "_danger_1jj4q_130",
4486
- outline: "_outline_1jj4q_156",
4487
- ghost: "_ghost_1jj4q_286",
4488
- soft: "_soft_1jj4q_416",
4489
- link: "_link_1jj4q_546",
4490
- bare: "_bare_1jj4q_701",
4491
- square: "_square_1jj4q_730",
4492
- rounded: "_rounded_1jj4q_734",
4493
- pill: "_pill_1jj4q_738",
4494
- sm: "_sm_1jj4q_742",
4495
- md: "_md_1jj4q_746",
4496
- lg: "_lg_1jj4q_750",
4497
- fullWidth: "_fullWidth_1jj4q_754",
4498
- iconOnly: "_iconOnly_1jj4q_758",
4499
- label: "_label_1jj4q_764",
4500
- labelText: "_labelText_1jj4q_774",
4501
- icon: "_icon_1jj4q_758",
4502
- spinner: "_spinner_1jj4q_793",
4503
- "button-spin": "_button-spin_1jj4q_1",
4504
- badge: "_badge_1jj4q_815",
4505
- shortcut: "_shortcut_1jj4q_829"
4478
+ button: "_button_1d6bh_1",
4479
+ solid: "_solid_1d6bh_26",
4480
+ primary: "_primary_1d6bh_26",
4481
+ loading: "_loading_1d6bh_26",
4482
+ neutral: "_neutral_1d6bh_52",
4483
+ success: "_success_1d6bh_78",
4484
+ warning: "_warning_1d6bh_104",
4485
+ danger: "_danger_1d6bh_130",
4486
+ outline: "_outline_1d6bh_156",
4487
+ ghost: "_ghost_1d6bh_286",
4488
+ soft: "_soft_1d6bh_416",
4489
+ link: "_link_1d6bh_546",
4490
+ icon: "_icon_1d6bh_687",
4491
+ iconStart: "_iconStart_1d6bh_691",
4492
+ iconEnd: "_iconEnd_1d6bh_696",
4493
+ bare: "_bare_1d6bh_756",
4494
+ square: "_square_1d6bh_785",
4495
+ rounded: "_rounded_1d6bh_789",
4496
+ pill: "_pill_1d6bh_793",
4497
+ sm: "_sm_1d6bh_797",
4498
+ md: "_md_1d6bh_801",
4499
+ lg: "_lg_1d6bh_805",
4500
+ fullWidth: "_fullWidth_1d6bh_809",
4501
+ iconOnly: "_iconOnly_1d6bh_813",
4502
+ label: "_label_1d6bh_819",
4503
+ labelText: "_labelText_1d6bh_829",
4504
+ spinner: "_spinner_1d6bh_848",
4505
+ "button-spin": "_button-spin_1d6bh_1",
4506
+ badge: "_badge_1d6bh_870",
4507
+ shortcut: "_shortcut_1d6bh_884"
4506
4508
  }, Ri = i(({ children: e, color: t = "primary", appearance: r = "solid", size: i = "md", shape: o = "pill", type: s = "button", disabled: c = !1, loading: l = !1, loadingText: u, iconStart: d, iconEnd: f, spinner: p, badge: m, shortcut: v, tooltip: y, fullWidth: b = !1, iconOnly: x = !1, asChild: S = !1, className: C, style: w, onClick: T, "aria-label": E, "aria-labelledby": D, href: O, target: k, rel: A, download: j, id: M, role: N, tabIndex: P, ...F }, I) => {
4507
4509
  let L = S && a(e) ? e : void 0, R = L ? L.props.children : e, z = x || !R && !!(d || f), B = !!(E || D || L?.props["aria-label"] || L?.props["aria-labelledby"]), V = c || l, H = r === "bare", U = re[i], W = {
4508
4510
  "--button-height": `${U.height}px`,
@@ -4534,7 +4536,7 @@ var Li = {
4534
4536
  "aria-hidden": "true"
4535
4537
  })),
4536
4538
  !l && d && /* @__PURE__ */ g("span", {
4537
- className: Li.icon,
4539
+ className: J(Li.icon, Li.iconStart),
4538
4540
  children: d
4539
4541
  }),
4540
4542
  G && !z && (H ? G : /* @__PURE__ */ g("span", {
@@ -4554,7 +4556,7 @@ var Li = {
4554
4556
  children: v
4555
4557
  })),
4556
4558
  !l && f && /* @__PURE__ */ g("span", {
4557
- className: Li.icon,
4559
+ className: J(Li.icon, Li.iconEnd),
4558
4560
  children: f
4559
4561
  })
4560
4562
  ] });