@pibit.ai/cure-design-system 0.3.26 → 0.3.28

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 (29) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +55 -54
  4. package/dist/patterns/table/TableWrapper.d.ts.map +1 -1
  5. package/dist/patterns/table/TableWrapper.js +681 -543
  6. package/dist/patterns/table/index.d.ts +1 -1
  7. package/dist/patterns/table/index.d.ts.map +1 -1
  8. package/dist/patterns/table/rowReorderDrag.d.ts +57 -0
  9. package/dist/patterns/table/rowReorderDrag.d.ts.map +1 -0
  10. package/dist/patterns/table/rowReorderDrag.js +120 -0
  11. package/dist/patterns/table/table.d.ts.map +1 -1
  12. package/dist/patterns/table/table.js +36 -36
  13. package/dist/patterns/table/tableUndoRedo.d.ts.map +1 -1
  14. package/dist/patterns/table/tableUndoRedo.js +21 -18
  15. package/dist/patterns/table/toolbar/RowActionsMenu.d.ts +17 -1
  16. package/dist/patterns/table/toolbar/RowActionsMenu.d.ts.map +1 -1
  17. package/dist/patterns/table/toolbar/RowActionsMenu.js +69 -51
  18. package/dist/patterns/table/useTableUndoRedo.d.ts +9 -0
  19. package/dist/patterns/table/useTableUndoRedo.d.ts.map +1 -1
  20. package/dist/patterns/table/useTableUndoRedo.js +217 -127
  21. package/dist/primitives/checkbox/checkbox.d.ts.map +1 -1
  22. package/dist/primitives/checkbox/checkbox.js +16 -16
  23. package/dist/primitives/select/ExpandableSearchInput.d.ts.map +1 -1
  24. package/dist/primitives/select/ExpandableSearchInput.js +2 -1
  25. package/dist/primitives/select/SearchInput.d.ts +7 -7
  26. package/dist/primitives/select/SearchInput.d.ts.map +1 -1
  27. package/dist/primitives/select/SearchInput.js +66 -62
  28. package/dist/styles/components.css +1 -1
  29. package/package.json +1 -1
@@ -1,23 +1,23 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import * as s from "@radix-ui/react-checkbox";
3
- import { cn as o } from "../../utils/cn.js";
4
- import { Icon as m } from "../icon/icon.js";
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
+ import * as o from "@radix-ui/react-checkbox";
3
+ import { cn as n } from "../../utils/cn.js";
4
+ import { Icon as d } from "../icon/icon.js";
5
5
  function b({
6
6
  label: t,
7
7
  description: r,
8
- checked: c,
9
- className: d,
10
- id: n,
8
+ checked: a,
9
+ className: c,
10
+ id: m,
11
11
  ...l
12
12
  }) {
13
- const a = n || `checkbox-${Math.random().toString(36).slice(2, 9)}`;
14
- return /* @__PURE__ */ i("div", { className: o("flex items-start gap-2", d), children: [
13
+ const i = m || `checkbox-${Math.random().toString(36).slice(2, 9)}`;
14
+ return /* @__PURE__ */ s("div", { className: n("flex items-start gap-2", c), children: [
15
15
  /* @__PURE__ */ e(
16
- s.Root,
16
+ o.Root,
17
17
  {
18
- id: a,
19
- checked: c,
20
- className: o(
18
+ id: i,
19
+ checked: a,
20
+ className: n(
21
21
  "h-4 w-4 shrink-0 rounded border border-gray-300 bg-white",
22
22
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-600 focus-visible:ring-offset-2",
23
23
  "disabled:cursor-not-allowed disabled:opacity-50",
@@ -27,14 +27,14 @@ function b({
27
27
  "mt-0.5"
28
28
  ),
29
29
  ...l,
30
- children: /* @__PURE__ */ e(s.Indicator, { className: "flex items-center justify-center text-white", children: /* @__PURE__ */ e(m, { name: "Check", size: 12 }) })
30
+ children: /* @__PURE__ */ e(o.Indicator, { className: "flex items-center justify-center text-white", children: a === "indeterminate" ? /* @__PURE__ */ e(d, { name: "Minus", size: 12 }) : /* @__PURE__ */ e(d, { name: "Check", size: 12 }) })
31
31
  }
32
32
  ),
33
- (t || r) && /* @__PURE__ */ i("div", { className: "flex flex-col gap-0.5", children: [
33
+ (t || r) && /* @__PURE__ */ s("div", { className: "flex flex-col gap-0.5", children: [
34
34
  t && /* @__PURE__ */ e(
35
35
  "label",
36
36
  {
37
- htmlFor: a,
37
+ htmlFor: i,
38
38
  className: "text-sm font-medium text-gray-700 cursor-pointer",
39
39
  children: t
40
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ExpandableSearchInput.d.ts","sourceRoot":"","sources":["../../../src/primitives/select/ExpandableSearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,OAAO,CAAC;AAOf,MAAM,WAAW,0BAA0B;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iEAAiE;IACjE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wGAAwG;IACxG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAKD,eAAO,MAAM,qBAAqB,GAAI,2JAcnC,0BAA0B,4CAqJ5B,CAAC"}
1
+ {"version":3,"file":"ExpandableSearchInput.d.ts","sourceRoot":"","sources":["../../../src/primitives/select/ExpandableSearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,OAAO,CAAC;AAOf,MAAM,WAAW,0BAA0B;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iEAAiE;IACjE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wGAAwG;IACxG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAKD,eAAO,MAAM,qBAAqB,GAAI,2JAcnC,0BAA0B,4CAsJ5B,CAAC"}
@@ -102,7 +102,8 @@ const M = { sm: 36, md: 40, lg: 44 }, U = 300, Z = ({
102
102
  "aria-label": g,
103
103
  shortcut: y,
104
104
  registerShortcut: !1,
105
- isDisabled: m
105
+ isDisabled: m,
106
+ bordered: !0
106
107
  }
107
108
  )
108
109
  },
@@ -1,5 +1,5 @@
1
1
  import { FocusEventHandler, KeyboardEventHandler } from 'react';
2
- interface SearchInputProps {
2
+ export interface SearchInputProps {
3
3
  label?: string;
4
4
  hint?: string;
5
5
  tooltip?: string;
@@ -13,6 +13,11 @@ interface SearchInputProps {
13
13
  isDisabled?: boolean;
14
14
  isRequired?: boolean;
15
15
  isInvalid?: boolean;
16
+ /**
17
+ * When true, renders a visible border. Defaults to false so embedded consumers
18
+ * (dropdowns, filter bars) keep the borderless look and avoid double borders.
19
+ */
20
+ bordered?: boolean;
16
21
  /** When true, shows the platform-specific primary keyboard shortcut hint (⌘K on Apple platforms, Ctrl+K elsewhere). */
17
22
  shortcut?: boolean;
18
23
  /** When true, registers the platform-specific primary shortcut to focus the input. Defaults to `shortcut`. */
@@ -21,10 +26,5 @@ interface SearchInputProps {
21
26
  className?: string;
22
27
  "aria-label"?: string;
23
28
  }
24
- export default function SearchInput({ size, shortcut, registerShortcut, placeholder, shortcutClassName, value, onChange, onKeyDown, className, isDisabled, "aria-label": ariaLabel, ...props }: Omit<SearchInputProps, "size" | "shortcut" | "registerShortcut"> & {
25
- size?: "sm" | "md" | "lg";
26
- shortcut?: boolean;
27
- registerShortcut?: boolean;
28
- }): import("react/jsx-runtime").JSX.Element;
29
- export {};
29
+ export default function SearchInput({ size, shortcut, registerShortcut, bordered, placeholder, shortcutClassName, value, onChange, onKeyDown, className, isDisabled, "aria-label": ariaLabel, ...props }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
30
30
  //# sourceMappingURL=SearchInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/primitives/select/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,OAAO,CAAC;AAYf,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uHAAuH;IACvH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8GAA8G;IAC9G,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAmGD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,IAAW,EACX,QAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,KAAK,EACL,QAAQ,EACR,SAAS,EACT,SAAS,EACT,UAAkB,EAClB,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,GAAG,kBAAkB,CAAC,GAAG;IACpE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,2CA4EA"}
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/primitives/select/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,OAAO,CAAC;AAYf,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uHAAuH;IACvH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8GAA8G;IAC9G,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAsGD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,IAAW,EACX,QAAgB,EAChB,gBAAgB,EAChB,QAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,KAAK,EACL,QAAQ,EACR,SAAS,EACT,SAAS,EACT,UAAkB,EAClB,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA6ElB"}
@@ -1,48 +1,50 @@
1
- import { jsx as n, jsxs as g, Fragment as N } from "react/jsx-runtime";
2
- import { useRef as C, useCallback as f, useEffect as I, useMemo as L } from "react";
3
- import { SearchMd as E, XClose as P } from "@untitledui/icons";
4
- import { ComboBox as z, Group as R, Input as _ } from "react-aria-components";
1
+ import { jsx as a, jsxs as x, Fragment as C } from "react/jsx-runtime";
2
+ import { useRef as I, useCallback as h, useEffect as L, useMemo as E } from "react";
3
+ import { SearchMd as P, XClose as z } from "@untitledui/icons";
4
+ import { ComboBox as R, Group as _, Input as j } from "react-aria-components";
5
5
  import { cx as u } from "../../utils/cn.js";
6
- import { getPlatformShortcutLabel as j } from "../../utils/keyboard-shortcut.js";
7
- import { sizes as x } from "./select.js";
8
- import { ButtonUtility as q } from "../button/button-utility.js";
9
- const B = {
6
+ import { getPlatformShortcutLabel as q } from "../../utils/keyboard-shortcut.js";
7
+ import { sizes as w } from "./select.js";
8
+ import { ButtonUtility as B } from "../button/button-utility.js";
9
+ const G = {
10
10
  sm: "h-8",
11
11
  md: "h-9",
12
12
  lg: "h-11"
13
- }, G = ({
13
+ }, M = ({
14
14
  size: s,
15
15
  shortcut: i,
16
- placeholder: p,
16
+ bordered: p = !1,
17
+ placeholder: m,
17
18
  shortcutClassName: d,
18
- onKeyDown: m,
19
+ onKeyDown: f,
19
20
  onClear: o,
20
21
  hasValue: r,
21
22
  className: l
22
- }) => /* @__PURE__ */ n(
23
- R,
23
+ }) => /* @__PURE__ */ a(
24
+ _,
24
25
  {
25
- className: ({ isFocusWithin: a, isDisabled: c }) => u(
26
+ className: ({ isFocusWithin: n, isDisabled: c }) => u(
26
27
  "relative flex w-full items-center gap-2 rounded-md bg-primary outline-hidden transition-shadow duration-100 ease-linear ring-inset",
28
+ p && "border border-secondary",
27
29
  c && "cursor-not-allowed bg-disabled_subtle",
28
- a && "ring-1 ring-brand",
29
- B[s],
30
- x[s].root,
30
+ n && "ring-1 ring-brand",
31
+ G[s],
32
+ w[s].root,
31
33
  l
32
34
  ),
33
- children: ({ isDisabled: a }) => /* @__PURE__ */ g(N, { children: [
34
- /* @__PURE__ */ n(
35
- E,
35
+ children: ({ isDisabled: n }) => /* @__PURE__ */ x(C, { children: [
36
+ /* @__PURE__ */ a(
37
+ P,
36
38
  {
37
39
  color: "var(--color-utility-gray-300)",
38
40
  className: "pointer-events-none size-4 flex-shrink-0"
39
41
  }
40
42
  ),
41
- /* @__PURE__ */ n("div", { className: "relative flex w-full items-center gap-2", children: /* @__PURE__ */ n(
42
- _,
43
+ /* @__PURE__ */ a("div", { className: "relative flex w-full items-center gap-2", children: /* @__PURE__ */ a(
44
+ j,
43
45
  {
44
- placeholder: p,
45
- onKeyDown: m,
46
+ placeholder: m,
47
+ onKeyDown: f,
46
48
  className: u(
47
49
  "z-10 w-full appearance-none bg-transparent text-sm text-primary caret-alpha-black/90 placeholder:text-placeholder_subtle focus:outline-hidden disabled:cursor-not-allowed disabled:text-disabled disabled:placeholder:text-disabled",
48
50
  r && "pr-6",
@@ -50,34 +52,34 @@ const B = {
50
52
  )
51
53
  }
52
54
  ) }),
53
- /* @__PURE__ */ g("div", { className: "flex-shrink-0", children: [
54
- r && !a && /* @__PURE__ */ n(
55
- q,
55
+ /* @__PURE__ */ x("div", { className: "flex-shrink-0", children: [
56
+ r && !n && /* @__PURE__ */ a(
57
+ B,
56
58
  {
57
- icon: /* @__PURE__ */ n(P, { size: 14 }),
59
+ icon: /* @__PURE__ */ a(z, { size: 14 }),
58
60
  color: "tertiary",
59
61
  onClick: o,
60
62
  "aria-label": "Clear search"
61
63
  }
62
64
  ),
63
- i && !r && /* @__PURE__ */ n(
65
+ i && !r && /* @__PURE__ */ a(
64
66
  "div",
65
67
  {
66
68
  className: u(
67
69
  "pointer-events-none absolute inset-y-0.5 right-0.5 z-10 flex items-center rounded-r-[inherit] bg-linear-to-r from-transparent pl-8",
68
- a && "to-bg-disabled_subtle",
69
- x[s].shortcut,
70
+ n && "to-bg-disabled_subtle",
71
+ w[s].shortcut,
70
72
  d
71
73
  ),
72
- children: /* @__PURE__ */ n(
74
+ children: /* @__PURE__ */ a(
73
75
  "span",
74
76
  {
75
77
  className: u(
76
78
  "pointer-events-none rounded px-1 py-px text-xs font-medium text-quaternary ring-1 ring-secondary select-none ring-inset",
77
- a && "bg-transparent text-disabled"
79
+ n && "bg-transparent text-disabled"
78
80
  ),
79
81
  "aria-hidden": "true",
80
- children: j(["meta"], "K")
82
+ children: q(["meta"], "K")
81
83
  }
82
84
  )
83
85
  }
@@ -86,32 +88,33 @@ const B = {
86
88
  ] })
87
89
  }
88
90
  );
89
- function O({
91
+ function Q({
90
92
  size: s = "sm",
91
93
  shortcut: i = !1,
92
94
  registerShortcut: p,
95
+ bordered: m = !1,
93
96
  placeholder: d,
94
- shortcutClassName: m,
97
+ shortcutClassName: f,
95
98
  value: o,
96
99
  onChange: r,
97
100
  onKeyDown: l,
98
- className: a,
101
+ className: n,
99
102
  isDisabled: c = !1,
100
- "aria-label": w,
101
- ...k
103
+ "aria-label": k,
104
+ ...v
102
105
  }) {
103
- const h = C(null), y = p ?? i, b = f(() => {
106
+ const y = I(null), b = p ?? i, g = h(() => {
104
107
  var e, t;
105
- (t = (e = h.current) == null ? void 0 : e.querySelector("input")) == null || t.focus();
108
+ (t = (e = y.current) == null ? void 0 : e.querySelector("input")) == null || t.focus();
106
109
  }, []);
107
- I(() => {
108
- if (!y || c) return;
110
+ L(() => {
111
+ if (!b || c) return;
109
112
  const e = (t) => {
110
- (t.metaKey || t.ctrlKey) && !t.shiftKey && !t.altKey && t.key.toLowerCase() === "k" && (t.preventDefault(), t.stopPropagation(), b());
113
+ (t.metaKey || t.ctrlKey) && !t.shiftKey && !t.altKey && t.key.toLowerCase() === "k" && (t.preventDefault(), t.stopPropagation(), g());
111
114
  };
112
115
  return window.addEventListener("keydown", e, { capture: !0 }), () => window.removeEventListener("keydown", e, { capture: !0 });
113
- }, [y, c, b]);
114
- const v = f(
116
+ }, [b, c, g]);
117
+ const S = h(
115
118
  (e) => {
116
119
  if ((e.metaKey || e.ctrlKey) && !e.shiftKey && !e.altKey && e.key.toLowerCase() === "k") {
117
120
  e.preventDefault(), e.stopPropagation();
@@ -120,38 +123,39 @@ function O({
120
123
  e.key === "Enter" && (e.preventDefault(), e.stopPropagation()), l == null || l(e);
121
124
  },
122
125
  [l]
123
- ), S = f(() => {
126
+ ), K = h(() => {
124
127
  r == null || r("");
125
- }, [r]), K = L(() => !!o && o.length > 0, [o]);
126
- return /* @__PURE__ */ n(
127
- z,
128
+ }, [r]), N = E(() => !!o && o.length > 0, [o]);
129
+ return /* @__PURE__ */ a(
130
+ R,
128
131
  {
129
- ...k,
130
- ref: h,
132
+ ...v,
133
+ ref: y,
131
134
  inputValue: o,
132
135
  onInputChange: r,
133
136
  menuTrigger: "manual",
134
137
  items: [],
135
138
  allowsCustomValue: !0,
136
139
  isDisabled: c,
137
- "aria-label": w || d || "Search",
138
- className: u("w-xs", a),
139
- children: () => /* @__PURE__ */ n(
140
- G,
140
+ "aria-label": k || d || "Search",
141
+ className: u("w-xs", n),
142
+ children: () => /* @__PURE__ */ a(
143
+ M,
141
144
  {
142
145
  size: s,
143
146
  shortcut: i,
147
+ bordered: m,
144
148
  placeholder: d,
145
- shortcutClassName: m,
146
- onKeyDown: v,
147
- onClear: S,
148
- hasValue: K,
149
- className: a
149
+ shortcutClassName: f,
150
+ onKeyDown: S,
151
+ onClear: K,
152
+ hasValue: N,
153
+ className: n
150
154
  }
151
155
  )
152
156
  }
153
157
  );
154
158
  }
155
159
  export {
156
- O as default
160
+ Q as default
157
161
  };