@selectwin/kit 0.1.199 → 0.1.201

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,10 +1,10 @@
1
- import { ArrowLeftIcon as e } from "./icons.js";
2
- import { useSelectMessages as t } from "./SelectLocale.js";
3
- import { safeHref as n } from "./internal/safeHref.js";
1
+ import { safeHref as e } from "./internal/safeHref.js";
2
+ import { ArrowLeftIcon as t } from "./icons.js";
3
+ import { useSelectMessages as n } from "./SelectLocale.js";
4
4
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
5
  //#region src/SelectBackLink.tsx
6
6
  function o({ children: o, onClick: s, href: c }) {
7
- let l = t().common.back, u = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(e, {}), /* @__PURE__ */ i("span", { children: o ?? l })] }), d = n(c);
7
+ let l = n().common.back, u = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(t, {}), /* @__PURE__ */ i("span", { children: o ?? l })] }), d = e(c);
8
8
  return d ? /* @__PURE__ */ i("a", {
9
9
  className: "select-backlink",
10
10
  href: d,
@@ -1,5 +1,5 @@
1
- import { ChevronRightIcon as e } from "./icons.js";
2
- import { safeHref as t } from "./internal/safeHref.js";
1
+ import { safeHref as e } from "./internal/safeHref.js";
2
+ import { ChevronRightIcon as t } from "./icons.js";
3
3
  import { Fragment as n, forwardRef as r } from "react";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
5
  import { Link as o } from "react-router-dom";
@@ -13,11 +13,11 @@ var s = r(function({ items: r, lastIsCurrent: s = !0, className: c, "aria-label"
13
13
  children: /* @__PURE__ */ i("ol", {
14
14
  className: "select-breadcrumb__list",
15
15
  children: r.map((c, l) => {
16
- let u = s && l === r.length - 1, d = u ? void 0 : t(c.to);
16
+ let u = s && l === r.length - 1, d = u ? void 0 : e(c.to);
17
17
  return /* @__PURE__ */ a(n, { children: [l > 0 && /* @__PURE__ */ i("li", {
18
18
  className: "select-breadcrumb__sep",
19
19
  "aria-hidden": "true",
20
- children: /* @__PURE__ */ i(e, {})
20
+ children: /* @__PURE__ */ i(t, {})
21
21
  }), /* @__PURE__ */ i("li", {
22
22
  className: `select-breadcrumb__item${u ? " is-current" : ""}`,
23
23
  children: d ? /* @__PURE__ */ i(o, {
@@ -1,11 +1,13 @@
1
1
  import { ButtonHTMLAttributes, ReactNode } from 'react';
2
+ import { SelectButtonSize, SelectButtonVariant } from './internal/buttonParts';
3
+ export type { SelectButtonVariant };
2
4
  export interface SelectButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> {
3
- variant?: 'primary' | 'secondary' | 'danger';
5
+ variant?: SelectButtonVariant;
4
6
  type?: 'button' | 'submit';
5
7
  /** Control height/padding/text. `md` (default) is the compact normal button; `lg` is
6
8
  * the larger form/CTA size (the old normal); `sm` is the small control for
7
9
  * toolbars/filters/inline actions (shares the small height with the filter facets). */
8
- size?: 'sm' | 'md' | 'lg';
10
+ size?: SelectButtonSize;
9
11
  loading?: boolean;
10
12
  icon?: ReactNode;
11
13
  /** Icon rendered AFTER the label (e.g. the "Continue ›" arrow). */
@@ -1,48 +1,30 @@
1
- import { forwardRef as e, useRef as t, useState as n } from "react";
2
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
1
+ import { ButtonContent as e, selectButtonClass as t, useSelectRipple as n } from "./internal/buttonParts.js";
2
+ import { forwardRef as r } from "react";
3
+ import { jsx as i } from "react/jsx-runtime";
3
4
  //#region src/SelectButton.tsx
4
- var a = e(function({ variant: e = "primary", type: a = "button", size: o = "md", loading: s = !1, icon: c, trailingIcon: l, inline: u = !1, tone: d, disabled: f, onPointerDown: p, children: m, ...h }, g) {
5
- let [_, v] = n([]), y = t(0), b = (e) => {
6
- var t, n;
7
- if (p == null || p(e), f || s || typeof window < "u" && (t = (n = window).matchMedia) != null && t.call(n, "(prefers-reduced-motion: reduce)").matches) return;
8
- let r = e.currentTarget.getBoundingClientRect(), i = Math.max(r.width, r.height) * 2, a = y.current++;
9
- v((t) => [...t, {
10
- key: a,
11
- style: {
12
- width: i,
13
- height: i,
14
- left: e.clientX - r.left - i / 2,
15
- top: e.clientY - r.top - i / 2
16
- }
17
- }]);
18
- }, x = (e) => v((t) => t.filter((t) => t.key !== e));
5
+ var a = r(function({ variant: r = "primary", type: a = "button", size: o = "md", loading: s = !1, icon: c, trailingIcon: l, inline: u = !1, tone: d, disabled: f, onPointerDown: p, className: m, children: h, ...g }, _) {
6
+ let { handlePointerDown: v, nodes: y } = n(!!(f || s), p);
19
7
  return /* @__PURE__ */ i("button", {
20
- ref: g,
8
+ ref: _,
21
9
  type: a,
22
- className: `select-btn select-btn--${e}${o === "md" ? "" : ` select-btn--${o}`}${u ? " select-btn--auto" : ""}${d === "critical" ? " select-btn--critical" : ""}`,
10
+ className: t({
11
+ variant: r,
12
+ size: o,
13
+ inline: u,
14
+ tone: d,
15
+ className: m
16
+ }),
23
17
  disabled: f || s,
24
- onPointerDown: b,
25
- ...h,
26
- children: [
27
- _.map((e) => /* @__PURE__ */ r("span", {
28
- className: "select-btn__ripple",
29
- style: e.style,
30
- "aria-hidden": "true",
31
- onAnimationEnd: () => x(e.key)
32
- }, e.key)),
33
- s ? /* @__PURE__ */ r("span", {
34
- className: "select-spinner",
35
- "aria-hidden": "true"
36
- }) : c && /* @__PURE__ */ r("span", {
37
- className: "select-btn__icon",
38
- children: c
39
- }),
40
- /* @__PURE__ */ r("span", { children: m }),
41
- !s && l && /* @__PURE__ */ r("span", {
42
- className: "select-btn__icon select-btn__icon--trailing",
43
- children: l
44
- })
45
- ]
18
+ "aria-busy": s || void 0,
19
+ onPointerDown: v,
20
+ ...g,
21
+ children: /* @__PURE__ */ i(e, {
22
+ ripples: y,
23
+ loading: s,
24
+ icon: c,
25
+ trailingIcon: l,
26
+ children: h
27
+ })
46
28
  });
47
29
  });
48
30
  //#endregion
@@ -0,0 +1,17 @@
1
+ import { AnchorHTMLAttributes, ReactNode } from 'react';
2
+ import { SelectButtonSize, SelectButtonVariant } from './internal/buttonParts';
3
+ export interface SelectButtonLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
4
+ /** O endereço no app (o `<Link>` do roteador). */
5
+ to?: string;
6
+ /** Um endereço fora do app ou um arquivo (o `<a>` comum). */
7
+ href?: string;
8
+ variant?: SelectButtonVariant;
9
+ size?: SelectButtonSize;
10
+ icon?: ReactNode;
11
+ trailingIcon?: ReactNode;
12
+ /** Do tamanho do conteúdo, em vez da largura toda (como no SelectButton). */
13
+ inline?: boolean;
14
+ tone?: 'critical';
15
+ children: ReactNode;
16
+ }
17
+ export declare const SelectButtonLink: import('react').ForwardRefExoticComponent<SelectButtonLinkProps & import('react').RefAttributes<HTMLAnchorElement>>;
@@ -0,0 +1,40 @@
1
+ /* empty css */
2
+ import { ButtonContent as e, selectButtonClass as t, useSelectRipple as n } from "./internal/buttonParts.js";
3
+ import { safeHref as r } from "./internal/safeHref.js";
4
+ import { forwardRef as i } from "react";
5
+ import { jsx as a } from "react/jsx-runtime";
6
+ import { Link as o } from "react-router-dom";
7
+ //#region src/SelectButtonLink.tsx
8
+ var s = i(function({ to: i, href: s, variant: c = "primary", size: l = "md", icon: u, trailingIcon: d, inline: f = !1, tone: p, className: m, onPointerDown: h, children: g, ..._ }, v) {
9
+ let { handlePointerDown: y, nodes: b } = n(!1, h), x = t({
10
+ variant: c,
11
+ size: l,
12
+ inline: f,
13
+ tone: p,
14
+ className: m
15
+ }), S = /* @__PURE__ */ a(e, {
16
+ ripples: b,
17
+ icon: u,
18
+ trailingIcon: d,
19
+ children: g
20
+ }), C = r(i ?? s);
21
+ return i !== void 0 && C !== void 0 ? /* @__PURE__ */ a(o, {
22
+ ref: v,
23
+ to: C,
24
+ className: x,
25
+ onPointerDown: y,
26
+ ..._,
27
+ children: S
28
+ }) : /* @__PURE__ */ a("a", {
29
+ ref: v,
30
+ href: C,
31
+ className: x,
32
+ onPointerDown: y,
33
+ ..._,
34
+ children: S
35
+ });
36
+ });
37
+ //#endregion
38
+ export { s as SelectButtonLink };
39
+
40
+ //# sourceMappingURL=SelectButtonLink.js.map
@@ -1,13 +1,13 @@
1
1
  import { SelectButton as e } from "./SelectButton.js";
2
- import { CheckIcon as t, CopyIcon as n, ExternalLinkIcon as r } from "./icons.js";
3
- import { useSelectMessages as i } from "./SelectLocale.js";
4
- import { SelectIconButton as a } from "./SelectIconButton.js";
5
- import { safeHref as o } from "./internal/safeHref.js";
2
+ import { safeHref as t } from "./internal/safeHref.js";
3
+ import { CheckIcon as n, CopyIcon as r, ExternalLinkIcon as i } from "./icons.js";
4
+ import { useSelectMessages as a } from "./SelectLocale.js";
5
+ import { SelectIconButton as o } from "./SelectIconButton.js";
6
6
  import { forwardRef as s, useState as c } from "react";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
8
8
  //#region src/SelectCopyRow.tsx
9
9
  var d = s(function({ label: s, value: d, href: f, onCopy: p, prose: m = !1, truncate: h = "end", className: g, ..._ }, v) {
10
- let y = i(), [b, x] = c(!1), S = o(f), C = () => {
10
+ let y = a(), [b, x] = c(!1), S = t(f), C = () => {
11
11
  navigator.clipboard.writeText(d).then(() => {
12
12
  x(!0), setTimeout(() => x(!1), 1200), p == null || p(d);
13
13
  });
@@ -37,17 +37,17 @@ var d = s(function({ label: s, value: d, href: f, onCopy: p, prose: m = !1, trun
37
37
  rel: "noreferrer",
38
38
  "aria-label": y.common.open,
39
39
  title: y.common.open,
40
- children: /* @__PURE__ */ l(r, {})
40
+ children: /* @__PURE__ */ l(i, {})
41
41
  }), m ? /* @__PURE__ */ l(e, {
42
42
  variant: "secondary",
43
43
  size: "sm",
44
44
  inline: !0,
45
- icon: l(b ? t : n, {}),
45
+ icon: l(b ? n : r, {}),
46
46
  onClick: C,
47
47
  children: b ? y.common.copied : y.common.copy
48
- }) : /* @__PURE__ */ l(a, {
48
+ }) : /* @__PURE__ */ l(o, {
49
49
  size: "sm",
50
- icon: l(b ? t : n, {}),
50
+ icon: l(b ? n : r, {}),
51
51
  label: b ? y.common.copied : y.common.copy,
52
52
  onClick: C
53
53
  })]
@@ -1,16 +1,16 @@
1
1
  /* empty css */
2
- import { CheckIcon as e, CopyIcon as t } from "./icons.js";
3
- import { SelectTooltip as n } from "./SelectTooltip.js";
4
- import { useSelectMessages as r } from "./SelectLocale.js";
5
- import { safeHref as i } from "./internal/safeHref.js";
2
+ import { safeHref as e } from "./internal/safeHref.js";
3
+ import { CheckIcon as t, CopyIcon as n } from "./icons.js";
4
+ import { SelectTooltip as r } from "./SelectTooltip.js";
5
+ import { useSelectMessages as i } from "./SelectLocale.js";
6
6
  import { useState as a } from "react";
7
7
  import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
8
8
  import { Link as l } from "react-router-dom";
9
9
  //#region src/SelectCopyableId.tsx
10
10
  function u({ value: u, children: d, truncate: f, label: p, fallback: m = "—", to: h, reveal: g = "hover", variant: _ = "inline" }) {
11
- let v = _ === "code", y = r(), b = p ?? (v ? y.copyable.copyCode : y.copyable.copyId), [x, S] = a(!1);
11
+ let v = _ === "code", y = i(), b = p ?? (v ? y.copyable.copyCode : y.copyable.copyId), [x, S] = a(!1);
12
12
  if (!u) return /* @__PURE__ */ s(o, { children: m });
13
- let C = d == null && f != null && f > 0 && u.length > f, w = d ?? (C ? `${u.slice(0, Math.max(1, f - 1))}…` : u), T = C ? u : void 0, E = i(h);
13
+ let C = d == null && f != null && f > 0 && u.length > f, w = d ?? (C ? `${u.slice(0, Math.max(1, f - 1))}…` : u), T = C ? u : void 0, E = e(h);
14
14
  return /* @__PURE__ */ c("span", {
15
15
  className: `select-copyid${g === "always" || v ? " select-copyid--always" : ""}${v ? " select-copyid--code" : ""}`,
16
16
  children: [E ? /* @__PURE__ */ s(l, {
@@ -23,7 +23,7 @@ function u({ value: u, children: d, truncate: f, label: p, fallback: m = "—",
23
23
  className: "select-copyid__text",
24
24
  title: T,
25
25
  children: w
26
- }), /* @__PURE__ */ s(n, {
26
+ }), /* @__PURE__ */ s(r, {
27
27
  content: x ? y.common.copied : b,
28
28
  children: /* @__PURE__ */ s("button", {
29
29
  type: "button",
@@ -34,7 +34,7 @@ function u({ value: u, children: d, truncate: f, label: p, fallback: m = "—",
34
34
  });
35
35
  },
36
36
  "aria-label": x ? y.common.copied : b,
37
- children: s(x ? e : t, {})
37
+ children: s(x ? t : n, {})
38
38
  })
39
39
  })]
40
40
  });
@@ -1,6 +1,6 @@
1
1
  export declare function SelectDocumentField({ label, value, onChange, hint, error, onBlur, required, name, }: {
2
2
  label?: string;
3
- /** Clean digits (no mask). */
3
+ /** O valor limpo, sem a máscara: os dígitos e, no CNPJ alfanumérico, as letras em maiúsculas. */
4
4
  value: string;
5
5
  onChange: (clean: string) => void;
6
6
  hint?: string;
@@ -8,7 +8,11 @@ function a({ label: a = "CPF/CNPJ", value: o, onChange: s, hint: c, error: l, on
8
8
  label: a,
9
9
  value: r(o),
10
10
  onChange: (e) => s(t(e)),
11
- inputMode: "numeric",
11
+ inputMode: "text",
12
+ inputProps: {
13
+ autoCapitalize: "characters",
14
+ spellCheck: !1
15
+ },
12
16
  autoComplete: "off",
13
17
  maxLength: 18,
14
18
  hint: l ? void 0 : c ?? (p || void 0),
@@ -1,88 +1,91 @@
1
- import { SelectMoney as e } from "./SelectMoney.js";
2
- import { forwardRef as t } from "react";
3
- import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
1
+ import { useSelectLocale as e, useSelectMessages as t } from "./SelectLocale.js";
2
+ import { SelectMoney as n } from "./SelectMoney.js";
3
+ import { forwardRef as r } from "react";
4
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
4
5
  //#region src/SelectFeeBreakdown.tsx
5
- var a = t(function({ grossCents: t, fees: a, netCents: o, grossLabel: s = "Valor bruto", netLabel: c = "Valor líquido", bar: l = !1, barLabel: u, className: d, ...f }, p) {
6
- let m = o ?? t - a.reduce((e, t) => e + t.cents, 0), h = Math.max(0, t - m), g = l && t > 0 && m >= 0, _ = t > 0 ? h / t * 100 : 0;
7
- return /* @__PURE__ */ i("div", {
8
- ref: p,
9
- ...f,
10
- className: `select-fees${g ? " select-fees--bar" : ""}${d ? " " + d : ""}`,
6
+ var s = r(function({ grossCents: r, fees: s, netCents: c, grossLabel: l, netLabel: u, bar: d = !1, barLabel: f, className: p, ...m }, h) {
7
+ let g = t().fees, _ = e(), v = l ?? g.gross, y = u ?? g.net, b = c ?? r - s.reduce((e, t) => e + t.cents, 0), x = Math.max(0, r - b), S = d && r > 0 && b >= 0, C = r > 0 ? x / r * 100 : 0;
8
+ return /* @__PURE__ */ o("div", {
9
+ ref: h,
10
+ ...m,
11
+ className: `select-fees${S ? " select-fees--bar" : ""}${p ? " " + p : ""}`,
11
12
  children: [
12
- g && /* @__PURE__ */ i("div", {
13
+ S && /* @__PURE__ */ o("div", {
13
14
  className: "select-fees__visual",
14
- children: [/* @__PURE__ */ i("div", {
15
+ children: [/* @__PURE__ */ o("div", {
15
16
  className: "select-fees__bar",
16
17
  "aria-hidden": "true",
17
- children: [/* @__PURE__ */ r("span", {
18
+ children: [/* @__PURE__ */ a("span", {
18
19
  className: "select-fees__barnet",
19
- style: { flexGrow: m },
20
- children: /* @__PURE__ */ r("span", {
20
+ style: { flexGrow: b },
21
+ children: /* @__PURE__ */ a("span", {
21
22
  className: "select-fees__barlabel",
22
- children: u ?? /* @__PURE__ */ i(n, { children: [
23
- c,
23
+ children: f ?? /* @__PURE__ */ o(i, { children: [
24
+ y,
24
25
  " · ",
25
- /* @__PURE__ */ r(e, { cents: m })
26
+ /* @__PURE__ */ a(n, { cents: b })
26
27
  ] })
27
28
  })
28
- }), h > 0 && /* @__PURE__ */ r("span", {
29
+ }), x > 0 && /* @__PURE__ */ a("span", {
29
30
  className: "select-fees__barfee",
30
- style: { flexGrow: h }
31
+ style: { flexGrow: x }
31
32
  })]
32
- }), /* @__PURE__ */ i("div", {
33
+ }), /* @__PURE__ */ o("div", {
33
34
  className: "select-fees__legend",
34
- children: [h > 0 && /* @__PURE__ */ i("span", {
35
+ children: [x > 0 && /* @__PURE__ */ o("span", {
35
36
  className: "select-fees__legenditem",
36
37
  children: [
37
- /* @__PURE__ */ r("span", {
38
+ /* @__PURE__ */ a("span", {
38
39
  className: "select-fees__dot select-fees__dot--fee",
39
40
  "aria-hidden": "true"
40
41
  }),
41
- "Taxas ",
42
- /* @__PURE__ */ r(e, { cents: h }),
42
+ g.fees,
43
+ " ",
44
+ /* @__PURE__ */ a(n, { cents: x }),
43
45
  " (",
44
- _.toLocaleString("pt-BR", {
46
+ C.toLocaleString(_ === "en" ? "en-US" : "pt-BR", {
45
47
  maximumFractionDigits: 1,
46
48
  minimumFractionDigits: 1
47
49
  }),
48
50
  "%)"
49
51
  ]
50
- }), /* @__PURE__ */ i("span", {
52
+ }), /* @__PURE__ */ o("span", {
51
53
  className: "select-fees__legenditem",
52
54
  children: [
53
- /* @__PURE__ */ r("span", {
55
+ /* @__PURE__ */ a("span", {
54
56
  className: "select-fees__dot select-fees__dot--net",
55
57
  "aria-hidden": "true"
56
58
  }),
57
- "Líquido ",
58
- /* @__PURE__ */ r(e, { cents: m })
59
+ g.netShort,
60
+ " ",
61
+ /* @__PURE__ */ a(n, { cents: b })
59
62
  ]
60
63
  })]
61
64
  })]
62
65
  }),
63
- /* @__PURE__ */ i("div", {
66
+ /* @__PURE__ */ o("div", {
64
67
  className: "select-fees__row",
65
- children: [/* @__PURE__ */ r("span", { children: s }), /* @__PURE__ */ r("span", { children: /* @__PURE__ */ r(e, { cents: t }) })]
68
+ children: [/* @__PURE__ */ a("span", { children: v }), /* @__PURE__ */ a("span", { children: /* @__PURE__ */ a(n, { cents: r }) })]
66
69
  }),
67
- a.map((t) => /* @__PURE__ */ i("div", {
70
+ s.map((e) => /* @__PURE__ */ o("div", {
68
71
  className: "select-fees__row",
69
- children: [/* @__PURE__ */ r("span", { children: t.label }), /* @__PURE__ */ i("span", {
72
+ children: [/* @__PURE__ */ a("span", { children: e.label }), /* @__PURE__ */ o("span", {
70
73
  className: "select-fees__neg",
71
- children: ["−\xA0", /* @__PURE__ */ r(e, { cents: t.cents })]
74
+ children: ["−\xA0", /* @__PURE__ */ a(n, { cents: e.cents })]
72
75
  })]
73
- }, t.label)),
74
- /* @__PURE__ */ r("div", { className: "select-fees__divider" }),
75
- /* @__PURE__ */ i("div", {
76
+ }, e.label)),
77
+ /* @__PURE__ */ a("div", { className: "select-fees__divider" }),
78
+ /* @__PURE__ */ o("div", {
76
79
  className: "select-fees__row select-fees__row--net",
77
- children: [/* @__PURE__ */ r("span", { children: c }), /* @__PURE__ */ r("span", {
80
+ children: [/* @__PURE__ */ a("span", { children: y }), /* @__PURE__ */ a("span", {
78
81
  className: "select-fees__netvalue",
79
- children: /* @__PURE__ */ r(e, { cents: m })
82
+ children: /* @__PURE__ */ a(n, { cents: b })
80
83
  })]
81
84
  })
82
85
  ]
83
86
  });
84
87
  });
85
88
  //#endregion
86
- export { a as SelectFeeBreakdown };
89
+ export { s as SelectFeeBreakdown };
87
90
 
88
91
  //# sourceMappingURL=SelectFeeBreakdown.js.map
@@ -1,12 +1,17 @@
1
- import { ReactNode, ComponentPropsWithoutRef } from 'react';
1
+ import { ReactNode, ComponentPropsWithoutRef, MouseEventHandler } from 'react';
2
2
  type SelectIconButtonOwnProps = {
3
3
  icon: ReactNode;
4
4
  label: string;
5
- onClick?: () => void;
5
+ /** 0.1.200: recebe o evento (o menu que abre ancorado no botão precisa dele). */
6
+ onClick?: MouseEventHandler<HTMLButtonElement>;
6
7
  disabled?: boolean;
7
8
  size?: 'sm' | 'md';
8
9
  variant?: 'ghost' | 'outline';
9
- /** Pressed/selected look — e.g. the active device in a preview toggle. */
10
+ /**
11
+ * Pressed/selected look — e.g. the active device in a preview toggle. 0.1.200: o `aria-pressed` só sai quando `active`
12
+ * vem: o botão de ícone comum (copiar, fechar, o "…") não é um botão de alternar, e o leitor de tela o anunciava como
13
+ * "não pressionado".
14
+ */
10
15
  active?: boolean;
11
16
  };
12
17
  export type SelectIconButtonProps = SelectIconButtonOwnProps & Omit<ComponentPropsWithoutRef<'button'>, keyof SelectIconButtonOwnProps>;
@@ -2,7 +2,7 @@ import { SelectTooltip as e } from "./SelectTooltip.js";
2
2
  import { forwardRef as t } from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region src/SelectIconButton.tsx
5
- var r = t(function({ icon: t, label: r, onClick: i, disabled: a = !1, size: o = "md", variant: s = "ghost", active: c = !1, className: l, ...u }, d) {
5
+ var r = t(function({ icon: t, label: r, onClick: i, disabled: a = !1, size: o = "md", variant: s = "ghost", active: c, className: l, ...u }, d) {
6
6
  return /* @__PURE__ */ n(e, {
7
7
  content: r,
8
8
  children: /* @__PURE__ */ n("button", {