@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.cjs +1 -1
- package/dist/index.js +32 -30
- package/dist/styles.css +1 -1
- package/package.json +5 -5
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: "
|
|
4479
|
-
solid: "
|
|
4480
|
-
primary: "
|
|
4481
|
-
loading: "
|
|
4482
|
-
neutral: "
|
|
4483
|
-
success: "
|
|
4484
|
-
warning: "
|
|
4485
|
-
danger: "
|
|
4486
|
-
outline: "
|
|
4487
|
-
ghost: "
|
|
4488
|
-
soft: "
|
|
4489
|
-
link: "
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
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
|
] });
|