@sudobility/search-components 1.0.8

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.
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UfacetedUsearch Component
3
+ *
4
+ * A reusable UfacetedUsearch component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UfacetedUsearch className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/faceted-search}
21
+ */
22
+ export interface UfacetedUsearchProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UfacetedUsearch: ({ className, children, disabled, onClick, }: UfacetedUsearchProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=faceted-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"faceted-search.d.ts","sourceRoot":"","sources":["../src/faceted-search.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,GAAI,6CAK7B,oBAAoB,4CAmBtB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UfilterUpanel Component
3
+ *
4
+ * A reusable UfilterUpanel component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UfilterUpanel className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/filter-panel}
21
+ */
22
+ export interface UfilterUpanelProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UfilterUpanel: ({ className, children, disabled, onClick, }: UfilterUpanelProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=filter-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-panel.d.ts","sourceRoot":"","sources":["../src/filter-panel.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,GAAI,6CAK3B,kBAAkB,4CAmBpB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * search-components
3
+ *
4
+ * Specialized components for the search domain
5
+ *
6
+ * @package @sudobility/search-components
7
+ */
8
+ export * from './faceted-search';
9
+ export * from './filter-panel';
10
+ export * from './search-bar';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,335 @@
1
+ import re from "react";
2
+ import { cn as w } from "@sudobility/components";
3
+ var p = { exports: {} }, m = {};
4
+ var I;
5
+ function te() {
6
+ if (I) return m;
7
+ I = 1;
8
+ var l = Symbol.for("react.transitional.element"), u = Symbol.for("react.fragment");
9
+ function n(s, c, i) {
10
+ var d = null;
11
+ if (i !== void 0 && (d = "" + i), c.key !== void 0 && (d = "" + c.key), "key" in c) {
12
+ i = {};
13
+ for (var b in c)
14
+ b !== "key" && (i[b] = c[b]);
15
+ } else i = c;
16
+ return c = i.ref, {
17
+ $$typeof: l,
18
+ type: s,
19
+ key: d,
20
+ ref: c !== void 0 ? c : null,
21
+ props: i
22
+ };
23
+ }
24
+ return m.Fragment = u, m.jsx = n, m.jsxs = n, m;
25
+ }
26
+ var _ = {};
27
+ var F;
28
+ function ae() {
29
+ return F || (F = 1, process.env.NODE_ENV !== "production" && (function() {
30
+ function l(e) {
31
+ if (e == null) return null;
32
+ if (typeof e == "function")
33
+ return e.$$typeof === Q ? null : e.displayName || e.name || null;
34
+ if (typeof e == "string") return e;
35
+ switch (e) {
36
+ case g:
37
+ return "Fragment";
38
+ case J:
39
+ return "Profiler";
40
+ case q:
41
+ return "StrictMode";
42
+ case X:
43
+ return "Suspense";
44
+ case B:
45
+ return "SuspenseList";
46
+ case Z:
47
+ return "Activity";
48
+ }
49
+ if (typeof e == "object")
50
+ switch (typeof e.tag == "number" && console.error(
51
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
52
+ ), e.$$typeof) {
53
+ case W:
54
+ return "Portal";
55
+ case z:
56
+ return e.displayName || "Context";
57
+ case V:
58
+ return (e._context.displayName || "Context") + ".Consumer";
59
+ case G:
60
+ var r = e.render;
61
+ return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
62
+ case H:
63
+ return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
64
+ case R:
65
+ r = e._payload, e = e._init;
66
+ try {
67
+ return l(e(r));
68
+ } catch {
69
+ }
70
+ }
71
+ return null;
72
+ }
73
+ function u(e) {
74
+ return "" + e;
75
+ }
76
+ function n(e) {
77
+ try {
78
+ u(e);
79
+ var r = !1;
80
+ } catch {
81
+ r = !0;
82
+ }
83
+ if (r) {
84
+ r = console;
85
+ var t = r.error, a = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
86
+ return t.call(
87
+ r,
88
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
89
+ a
90
+ ), u(e);
91
+ }
92
+ }
93
+ function s(e) {
94
+ if (e === g) return "<>";
95
+ if (typeof e == "object" && e !== null && e.$$typeof === R)
96
+ return "<...>";
97
+ try {
98
+ var r = l(e);
99
+ return r ? "<" + r + ">" : "<...>";
100
+ } catch {
101
+ return "<...>";
102
+ }
103
+ }
104
+ function c() {
105
+ var e = k.A;
106
+ return e === null ? null : e.getOwner();
107
+ }
108
+ function i() {
109
+ return Error("react-stack-top-frame");
110
+ }
111
+ function d(e) {
112
+ if (j.call(e, "key")) {
113
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
114
+ if (r && r.isReactWarning) return !1;
115
+ }
116
+ return e.key !== void 0;
117
+ }
118
+ function b(e, r) {
119
+ function t() {
120
+ N || (N = !0, console.error(
121
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
122
+ r
123
+ ));
124
+ }
125
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
126
+ get: t,
127
+ configurable: !0
128
+ });
129
+ }
130
+ function L() {
131
+ var e = l(this.type);
132
+ return C[e] || (C[e] = !0, console.error(
133
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
134
+ )), e = this.props.ref, e !== void 0 ? e : null;
135
+ }
136
+ function M(e, r, t, a, E, y) {
137
+ var o = t.ref;
138
+ return e = {
139
+ $$typeof: P,
140
+ type: e,
141
+ key: r,
142
+ props: t,
143
+ _owner: a
144
+ }, (o !== void 0 ? o : null) !== null ? Object.defineProperty(e, "ref", {
145
+ enumerable: !1,
146
+ get: L
147
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
148
+ configurable: !1,
149
+ enumerable: !1,
150
+ writable: !0,
151
+ value: 0
152
+ }), Object.defineProperty(e, "_debugInfo", {
153
+ configurable: !1,
154
+ enumerable: !1,
155
+ writable: !0,
156
+ value: null
157
+ }), Object.defineProperty(e, "_debugStack", {
158
+ configurable: !1,
159
+ enumerable: !1,
160
+ writable: !0,
161
+ value: E
162
+ }), Object.defineProperty(e, "_debugTask", {
163
+ configurable: !1,
164
+ enumerable: !1,
165
+ writable: !0,
166
+ value: y
167
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
168
+ }
169
+ function O(e, r, t, a, E, y) {
170
+ var o = r.children;
171
+ if (o !== void 0)
172
+ if (a)
173
+ if (K(o)) {
174
+ for (a = 0; a < o.length; a++)
175
+ A(o[a]);
176
+ Object.freeze && Object.freeze(o);
177
+ } else
178
+ console.error(
179
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
180
+ );
181
+ else A(o);
182
+ if (j.call(r, "key")) {
183
+ o = l(e);
184
+ var f = Object.keys(r).filter(function(ee) {
185
+ return ee !== "key";
186
+ });
187
+ a = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", $[o + a] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
188
+ `A props object containing a "key" prop is being spread into JSX:
189
+ let props = %s;
190
+ <%s {...props} />
191
+ React keys must be passed directly to JSX without using spread:
192
+ let props = %s;
193
+ <%s key={someKey} {...props} />`,
194
+ a,
195
+ o,
196
+ f,
197
+ o
198
+ ), $[o + a] = !0);
199
+ }
200
+ if (o = null, t !== void 0 && (n(t), o = "" + t), d(r) && (n(r.key), o = "" + r.key), "key" in r) {
201
+ t = {};
202
+ for (var h in r)
203
+ h !== "key" && (t[h] = r[h]);
204
+ } else t = r;
205
+ return o && b(
206
+ t,
207
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
208
+ ), M(
209
+ e,
210
+ o,
211
+ t,
212
+ c(),
213
+ E,
214
+ y
215
+ );
216
+ }
217
+ function A(e) {
218
+ S(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === R && (e._payload.status === "fulfilled" ? S(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
219
+ }
220
+ function S(e) {
221
+ return typeof e == "object" && e !== null && e.$$typeof === P;
222
+ }
223
+ var v = re, P = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), z = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), X = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, K = Array.isArray, T = console.createTask ? console.createTask : function() {
224
+ return null;
225
+ };
226
+ v = {
227
+ react_stack_bottom_frame: function(e) {
228
+ return e();
229
+ }
230
+ };
231
+ var N, C = {}, U = v.react_stack_bottom_frame.bind(
232
+ v,
233
+ i
234
+ )(), Y = T(s(i)), $ = {};
235
+ _.Fragment = g, _.jsx = function(e, r, t) {
236
+ var a = 1e4 > k.recentlyCreatedOwnerStacks++;
237
+ return O(
238
+ e,
239
+ r,
240
+ t,
241
+ !1,
242
+ a ? Error("react-stack-top-frame") : U,
243
+ a ? T(s(e)) : Y
244
+ );
245
+ }, _.jsxs = function(e, r, t) {
246
+ var a = 1e4 > k.recentlyCreatedOwnerStacks++;
247
+ return O(
248
+ e,
249
+ r,
250
+ t,
251
+ !0,
252
+ a ? Error("react-stack-top-frame") : U,
253
+ a ? T(s(e)) : Y
254
+ );
255
+ };
256
+ })()), _;
257
+ }
258
+ var D;
259
+ function oe() {
260
+ return D || (D = 1, process.env.NODE_ENV === "production" ? p.exports = te() : p.exports = ae()), p.exports;
261
+ }
262
+ var x = oe();
263
+ const se = ({
264
+ className: l,
265
+ children: u,
266
+ disabled: n = !1,
267
+ onClick: s
268
+ }) => /* @__PURE__ */ x.jsx(
269
+ "div",
270
+ {
271
+ className: w(
272
+ "p-4 rounded-lg border transition-colors",
273
+ "bg-white dark:bg-gray-900",
274
+ "border-gray-200 dark:border-gray-700",
275
+ "text-gray-900 dark:text-white",
276
+ n && "opacity-50 cursor-not-allowed",
277
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
278
+ l
279
+ ),
280
+ onClick: n ? void 0 : s,
281
+ role: "region",
282
+ "aria-label": "UfacetedUsearch",
283
+ children: u || "UfacetedUsearch Component"
284
+ }
285
+ ), ce = ({
286
+ className: l,
287
+ children: u,
288
+ disabled: n = !1,
289
+ onClick: s
290
+ }) => /* @__PURE__ */ x.jsx(
291
+ "div",
292
+ {
293
+ className: w(
294
+ "p-4 rounded-lg border transition-colors",
295
+ "bg-white dark:bg-gray-900",
296
+ "border-gray-200 dark:border-gray-700",
297
+ "text-gray-900 dark:text-white",
298
+ n && "opacity-50 cursor-not-allowed",
299
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
300
+ l
301
+ ),
302
+ onClick: n ? void 0 : s,
303
+ role: "region",
304
+ "aria-label": "UfilterUpanel",
305
+ children: u || "UfilterUpanel Component"
306
+ }
307
+ ), ue = ({
308
+ className: l,
309
+ children: u,
310
+ disabled: n = !1,
311
+ onClick: s
312
+ }) => /* @__PURE__ */ x.jsx(
313
+ "div",
314
+ {
315
+ className: w(
316
+ "p-4 rounded-lg border transition-colors",
317
+ "bg-white dark:bg-gray-900",
318
+ "border-gray-200 dark:border-gray-700",
319
+ "text-gray-900 dark:text-white",
320
+ n && "opacity-50 cursor-not-allowed",
321
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
322
+ l
323
+ ),
324
+ onClick: n ? void 0 : s,
325
+ role: "region",
326
+ "aria-label": "UsearchUbar",
327
+ children: u || "UsearchUbar Component"
328
+ }
329
+ );
330
+ export {
331
+ se as UfacetedUsearch,
332
+ ce as UfilterUpanel,
333
+ ue as UsearchUbar
334
+ };
335
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/faceted-search.tsx","../src/filter-panel.tsx","../src/search-bar.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import { cn } from '@sudobility/components';\n\n/**\n * UfacetedUsearch Component\n *\n * A reusable UfacetedUsearch component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UfacetedUsearch className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/faceted-search}\n */\n\nexport interface UfacetedUsearchProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n}\n\nexport const UfacetedUsearch = ({\n className,\n children,\n disabled = false,\n onClick,\n}: UfacetedUsearchProps) => {\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={disabled ? undefined : onClick}\n role='region'\n aria-label='UfacetedUsearch'\n >\n {children || 'UfacetedUsearch Component'}\n </div>\n );\n};\n","import { cn } from '@sudobility/components';\n\n/**\n * UfilterUpanel Component\n *\n * A reusable UfilterUpanel component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UfilterUpanel className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/filter-panel}\n */\n\nexport interface UfilterUpanelProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n}\n\nexport const UfilterUpanel = ({\n className,\n children,\n disabled = false,\n onClick,\n}: UfilterUpanelProps) => {\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={disabled ? undefined : onClick}\n role='region'\n aria-label='UfilterUpanel'\n >\n {children || 'UfilterUpanel Component'}\n </div>\n );\n};\n","import { cn } from '@sudobility/components';\n\n/**\n * UsearchUbar Component\n *\n * A reusable UsearchUbar component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UsearchUbar className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/search-bar}\n */\n\nexport interface UsearchUbarProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n}\n\nexport const UsearchUbar = ({\n className,\n children,\n disabled = false,\n onClick,\n}: UsearchUbarProps) => {\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={disabled ? undefined : onClick}\n role='region'\n aria-label='UsearchUbar'\n >\n {children || 'UsearchUbar Component'}\n </div>\n );\n};\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","owner","debugStack","debugTask","refProp","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1","UfacetedUsearch","className","disabled","onClick","jsx","cn","UfilterUpanel","UsearchUbar"],"mappings":";;;;;;;AAWA,MAAIA,IAAqB,OAAO,IAAI,4BAA4B,GAC9DC,IAAsB,OAAO,IAAI,gBAAgB;AACnD,WAASC,EAAQC,GAAMC,GAAQC,GAAU;AACvC,QAAIC,IAAM;AAGV,QAFWD,MAAX,WAAwBC,IAAM,KAAKD,IACxBD,EAAO,QAAlB,WAA0BE,IAAM,KAAKF,EAAO,MACxC,SAASA,GAAQ;AACnB,MAAAC,IAAW,CAAA;AACX,eAASE,KAAYH;AACnB,QAAUG,MAAV,UAAuBF,EAASE,CAAQ,IAAIH,EAAOG,CAAQ;AAAA,IACjE,MAAS,CAAAF,IAAWD;AAClB,WAAAA,IAASC,EAAS,KACX;AAAA,MACL,UAAUL;AAAA,MACV,MAAMG;AAAA,MACN,KAAKG;AAAA,MACL,K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A;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAH,KAAY;AAAA,MACZ;AAAA,MACAD;AAAA,IAAA;AAAA,IAEF,SAASC,IAAW,SAAYC;AAAA,IAChC,MAAK;AAAA,IACL,cAAW;AAAA,IAEV,UAAAtB,KAAY;AAAA,EAAA;AAAA,GCrBNyB,KAAgB,CAAC;AAAA,EAC5B,WAAAL;AAAA,EACA,UAAApB;AAAA,EACA,UAAAqB,IAAW;AAAA,EACX,SAAAC;AACF,MAEIC,gBAAAA,EAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAH,KAAY;AAAA,MACZ;AAAA,MACAD;AAAA,IAAA;AAAA,IAEF,SAASC,IAAW,SAAYC;AAAA,IAChC,MAAK;AAAA,IACL,cAAW;AAAA,IAEV,UAAAtB,KAAY;AAAA,EAAA;AAAA,GCrBN0B,KAAc,CAAC;AAAA,EAC1B,WAAAN;AAAA,EACA,UAAApB;AAAA,EACA,UAAAqB,IAAW;AAAA,EACX,SAAAC;AACF,MAEIC,gBAAAA,EAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAH,KAAY;AAAA,MACZ;AAAA,MACAD;AAAA,IAAA;AAAA,IAEF,SAASC,IAAW,SAAYC;AAAA,IAChC,MAAK;AAAA,IACL,cAAW;AAAA,IAEV,UAAAtB,KAAY;AAAA,EAAA;AAAA;","x_google_ignoreList":[0,1,2]}
@@ -0,0 +1,7 @@
1
+ (function(i,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react"),require("@sudobility/components")):typeof define=="function"&&define.amd?define(["exports","react","@sudobility/components"],b):(i=typeof globalThis<"u"?globalThis:i||self,b(i["search-components"]={},i.React,i.SudobilityComponents))})(this,(function(i,b,y){"use strict";var E={exports:{}},m={};var A;function W(){if(A)return m;A=1;var s=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function o(l,c,f){var v=null;if(f!==void 0&&(v=""+f),c.key!==void 0&&(v=""+c.key),"key"in c){f={};for(var _ in c)_!=="key"&&(f[_]=c[_])}else f=c;return c=f.ref,{$$typeof:s,type:l,key:v,ref:c!==void 0?c:null,props:f}}return m.Fragment=u,m.jsx=o,m.jsxs=o,m}var p={};var j;function q(){return j||(j=1,process.env.NODE_ENV!=="production"&&(function(){function s(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case Q:return"Profiler";case Z:return"StrictMode";case te:return"Suspense";case ae:return"SuspenseList";case oe:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case H:return"Portal";case ee:return e.displayName||"Context";case K:return(e._context.displayName||"Context")+".Consumer";case re:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ne:return r=e.displayName||null,r!==null?r:s(e.type)||"Memo";case h:r=e._payload,e=e._init;try{return s(e(r))}catch{}}return null}function u(e){return""+e}function o(e){try{u(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),u(e)}}function l(e){if(e===T)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===h)return"<...>";try{var r=s(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function c(){var e=w.A;return e===null?null:e.getOwner()}function f(){return Error("react-stack-top-frame")}function v(e){if(I.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function _(e,r){function t(){$||($=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function X(){var e=s(this.type);return F[e]||(F[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function B(e,r,t,a,R,O){var n=t.ref;return e={$$typeof:Y,type:e,key:r,props:t,_owner:a},(n!==void 0?n:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:X}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:O}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function U(e,r,t,a,R,O){var n=r.children;if(n!==void 0)if(a)if(le(n)){for(a=0;a<n.length;a++)N(n[a]);Object.freeze&&Object.freeze(n)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else N(n);if(I.call(r,"key")){n=s(e);var d=Object.keys(r).filter(function(ce){return ce!=="key"});a=0<d.length?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}",L[n+a]||(d=0<d.length?"{"+d.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
+ let props = %s;
3
+ <%s {...props} />
4
+ React keys must be passed directly to JSX without using spread:
5
+ let props = %s;
6
+ <%s key={someKey} {...props} />`,a,n,d,n),L[n+a]=!0)}if(n=null,t!==void 0&&(o(t),n=""+t),v(r)&&(o(r.key),n=""+r.key),"key"in r){t={};for(var S in r)S!=="key"&&(t[S]=r[S])}else t=r;return n&&_(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),B(e,n,t,c(),R,O)}function N(e){C(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===h&&(e._payload.status==="fulfilled"?C(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function C(e){return typeof e=="object"&&e!==null&&e.$$typeof===Y}var g=b,Y=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),K=Symbol.for("react.consumer"),ee=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),se=Symbol.for("react.client.reference"),w=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=Object.prototype.hasOwnProperty,le=Array.isArray,x=console.createTask?console.createTask:function(){return null};g={react_stack_bottom_frame:function(e){return e()}};var $,F={},D=g.react_stack_bottom_frame.bind(g,f)(),M=x(l(f)),L={};p.Fragment=T,p.jsx=function(e,r,t){var a=1e4>w.recentlyCreatedOwnerStacks++;return U(e,r,t,!1,a?Error("react-stack-top-frame"):D,a?x(l(e)):M)},p.jsxs=function(e,r,t){var a=1e4>w.recentlyCreatedOwnerStacks++;return U(e,r,t,!0,a?Error("react-stack-top-frame"):D,a?x(l(e)):M)}})()),p}var P;function J(){return P||(P=1,process.env.NODE_ENV==="production"?E.exports=W():E.exports=q()),E.exports}var k=J();const V=({className:s,children:u,disabled:o=!1,onClick:l})=>k.jsx("div",{className:y.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",o&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",s),onClick:o?void 0:l,role:"region","aria-label":"UfacetedUsearch",children:u||"UfacetedUsearch Component"}),z=({className:s,children:u,disabled:o=!1,onClick:l})=>k.jsx("div",{className:y.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",o&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",s),onClick:o?void 0:l,role:"region","aria-label":"UfilterUpanel",children:u||"UfilterUpanel Component"}),G=({className:s,children:u,disabled:o=!1,onClick:l})=>k.jsx("div",{className:y.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",o&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",s),onClick:o?void 0:l,role:"region","aria-label":"UsearchUbar",children:u||"UsearchUbar Component"});i.UfacetedUsearch=V,i.UfilterUpanel=z,i.UsearchUbar=G,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}));
7
+ //# sourceMappingURL=index.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.umd.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/faceted-search.tsx","../src/filter-panel.tsx","../src/search-bar.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import { cn } from '@sudobility/components';\n\n/**\n * UfacetedUsearch Component\n *\n * A reusable UfacetedUsearch component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UfacetedUsearch className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/faceted-search}\n */\n\nexport interface UfacetedUsearchProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n}\n\nexport const UfacetedUsearch = ({\n className,\n children,\n disabled = false,\n onClick,\n}: UfacetedUsearchProps) => {\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={disabled ? undefined : onClick}\n role='region'\n aria-label='UfacetedUsearch'\n >\n {children || 'UfacetedUsearch Component'}\n </div>\n );\n};\n","import { cn } from '@sudobility/components';\n\n/**\n * UfilterUpanel Component\n *\n * A reusable UfilterUpanel component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UfilterUpanel className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/filter-panel}\n */\n\nexport interface UfilterUpanelProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n}\n\nexport const UfilterUpanel = ({\n className,\n children,\n disabled = false,\n onClick,\n}: UfilterUpanelProps) => {\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={disabled ? undefined : onClick}\n role='region'\n aria-label='UfilterUpanel'\n >\n {children || 'UfilterUpanel Component'}\n </div>\n );\n};\n","import { cn } from '@sudobility/components';\n\n/**\n * UsearchUbar Component\n *\n * A reusable UsearchUbar component with full dark mode support.\n * Optimized for accessibility and AI-assisted development.\n *\n * @component\n * @example\n * ```tsx\n * <UsearchUbar className=\"custom-class\" />\n * ```\n *\n * @remarks\n * This component supports:\n * - Light and dark themes automatically\n * - Responsive design\n * - Accessibility features\n * - TypeScript type safety\n *\n * @see {@link https://docs.example.com/components/search-bar}\n */\n\nexport interface UsearchUbarProps {\n /** Additional CSS classes */\n className?: string;\n /** Component children */\n children?: React.ReactNode;\n /** Disabled state */\n disabled?: boolean;\n /** Callback when component is interacted with */\n onClick?: () => void;\n}\n\nexport const UsearchUbar = ({\n className,\n children,\n disabled = false,\n onClick,\n}: UsearchUbarProps) => {\n return (\n <div\n className={cn(\n 'p-4 rounded-lg border transition-colors',\n 'bg-white dark:bg-gray-900',\n 'border-gray-200 dark:border-gray-700',\n 'text-gray-900 dark:text-white',\n disabled && 'opacity-50 cursor-not-allowed',\n 'hover:bg-gray-50 dark:hover:bg-gray-800',\n className\n )}\n onClick={disabled ? undefined : onClick}\n role='region'\n aria-label='UsearchUbar'\n >\n {children || 'UsearchUbar Component'}\n </div>\n );\n};\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","owner","debugStack","debugTask","refProp","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1","UfacetedUsearch","className","disabled","onClick","jsx","cn","UfilterUpanel","UsearchUbar"],"mappings":"iaAWA,IAAIA,EAAqB,OAAO,IAAI,4BAA4B,EAC9DC,EAAsB,OAAO,IAAI,gBAAgB,EACnD,SAASC,EAAQC,EAAMC,EAAQC,EAAU,CACvC,IAAIC,EAAM,KAGV,GAFWD,IAAX,SAAwBC,EAAM,GAAKD,GACxBD,EAAO,MAAlB,SAA0BE,EAAM,GAAKF,EAAO,KACxC,QAASA,EAAQ,CACnBC,EAAW,CAAA,EACX,QAASE,KAAYH,EACTG,IAAV,QAAuBF,EAASE,CAAQ,EAAIH,EAAOG,CAAQ,EACjE,MAASF,EA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C,EAAU,CAC/C,IAAIgE,EACF,IAAMpC,EAAqB,6BAC7B,OAAOkB,EACLhD,EACAC,EACAC,EACA,GACAgE,EACI,MAAM,uBAAuB,EAC7BH,EACJG,EAAmBL,EAAWnC,EAAY1B,CAAI,CAAC,EAAIgE,EAE3D,CACA,GAAG,uCC7VC,QAAQ,IAAI,WAAa,aAC3BG,EAAA,QAAiBP,EAAA,EAEjBO,EAAA,QAAiBC,EAAA,uBC8BZ,MAAMC,EAAkB,CAAC,CAC9B,UAAAC,EACA,SAAApB,EACA,SAAAqB,EAAW,GACX,QAAAC,CACF,IAEIC,EAAAA,IAAC,MAAA,CACC,UAAWC,EAAAA,GACT,0CACA,4BACA,uCACA,gCACAH,GAAY,gCACZ,0CACAD,CAAA,EAEF,QAASC,EAAW,OAAYC,EAChC,KAAK,SACL,aAAW,kBAEV,SAAAtB,GAAY,2BAAA,CAAA,ECrBNyB,EAAgB,CAAC,CAC5B,UAAAL,EACA,SAAApB,EACA,SAAAqB,EAAW,GACX,QAAAC,CACF,IAEIC,EAAAA,IAAC,MAAA,CACC,UAAWC,EAAAA,GACT,0CACA,4BACA,uCACA,gCACAH,GAAY,gCACZ,0CACAD,CAAA,EAEF,QAASC,EAAW,OAAYC,EAChC,KAAK,SACL,aAAW,gBAEV,SAAAtB,GAAY,yBAAA,CAAA,ECrBN0B,EAAc,CAAC,CAC1B,UAAAN,EACA,SAAApB,EACA,SAAAqB,EAAW,GACX,QAAAC,CACF,IAEIC,EAAAA,IAAC,MAAA,CACC,UAAWC,EAAAA,GACT,0CACA,4BACA,uCACA,gCACAH,GAAY,gCACZ,0CACAD,CAAA,EAEF,QAASC,EAAW,OAAYC,EAChC,KAAK,SACL,aAAW,cAEV,SAAAtB,GAAY,uBAAA,CAAA","x_google_ignoreList":[0,1,2]}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UsearchUbar Component
3
+ *
4
+ * A reusable UsearchUbar component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UsearchUbar className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/search-bar}
21
+ */
22
+ export interface UsearchUbarProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UsearchUbar: ({ className, children, disabled, onClick, }: UsearchUbarProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=search-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-bar.d.ts","sourceRoot":"","sources":["../src/search-bar.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,gBAAgB;IAC/B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,GAAI,6CAKzB,gBAAgB,4CAmBlB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "@sudobility/search-components",
3
+ "version": "1.0.8",
4
+ "description": "Search and filter components for faceted search, filter panels, and search bars",
5
+ "main": "./dist/index.umd.js",
6
+ "module": "./dist/index.esm.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.esm.js",
12
+ "require": "./dist/index.umd.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "src"
18
+ ],
19
+ "scripts": {
20
+ "build": "tsc && vite build",
21
+ "dev": "vite build --watch",
22
+ "type-check": "tsc --noEmit"
23
+ },
24
+ "peerDependencies": {
25
+ "@sudobility/components": "^3.0.0",
26
+ "react": "^18.0.0 || ^19.0.0",
27
+ "react-dom": "^18.0.0 || ^19.0.0"
28
+ },
29
+ "devDependencies": {
30
+ "@sudobility/components": "^3.0.0",
31
+ "@types/node": "^24.7.1",
32
+ "@types/react": "^19.2.2",
33
+ "@types/react-dom": "^19.2.2",
34
+ "@vitejs/plugin-react": "^5.1.0",
35
+ "class-variance-authority": "^0.7.1",
36
+ "clsx": "^2.1.1",
37
+ "react": "^19.2.0",
38
+ "react-dom": "^19.2.0",
39
+ "tailwind-merge": "^3.3.1",
40
+ "typescript": "^5.9.3",
41
+ "vite": "^7.1.12",
42
+ "vite-plugin-dts": "^4.5.4"
43
+ },
44
+ "keywords": [
45
+ "react",
46
+ "components",
47
+ "ui",
48
+ "typescript"
49
+ ],
50
+ "author": "",
51
+ "license": "MIT"
52
+ }
@@ -0,0 +1,60 @@
1
+ import { cn } from '@sudobility/components';
2
+
3
+ /**
4
+ * UfacetedUsearch Component
5
+ *
6
+ * A reusable UfacetedUsearch component with full dark mode support.
7
+ * Optimized for accessibility and AI-assisted development.
8
+ *
9
+ * @component
10
+ * @example
11
+ * ```tsx
12
+ * <UfacetedUsearch className="custom-class" />
13
+ * ```
14
+ *
15
+ * @remarks
16
+ * This component supports:
17
+ * - Light and dark themes automatically
18
+ * - Responsive design
19
+ * - Accessibility features
20
+ * - TypeScript type safety
21
+ *
22
+ * @see {@link https://docs.example.com/components/faceted-search}
23
+ */
24
+
25
+ export interface UfacetedUsearchProps {
26
+ /** Additional CSS classes */
27
+ className?: string;
28
+ /** Component children */
29
+ children?: React.ReactNode;
30
+ /** Disabled state */
31
+ disabled?: boolean;
32
+ /** Callback when component is interacted with */
33
+ onClick?: () => void;
34
+ }
35
+
36
+ export const UfacetedUsearch = ({
37
+ className,
38
+ children,
39
+ disabled = false,
40
+ onClick,
41
+ }: UfacetedUsearchProps) => {
42
+ return (
43
+ <div
44
+ className={cn(
45
+ 'p-4 rounded-lg border transition-colors',
46
+ 'bg-white dark:bg-gray-900',
47
+ 'border-gray-200 dark:border-gray-700',
48
+ 'text-gray-900 dark:text-white',
49
+ disabled && 'opacity-50 cursor-not-allowed',
50
+ 'hover:bg-gray-50 dark:hover:bg-gray-800',
51
+ className
52
+ )}
53
+ onClick={disabled ? undefined : onClick}
54
+ role='region'
55
+ aria-label='UfacetedUsearch'
56
+ >
57
+ {children || 'UfacetedUsearch Component'}
58
+ </div>
59
+ );
60
+ };
@@ -0,0 +1,60 @@
1
+ import { cn } from '@sudobility/components';
2
+
3
+ /**
4
+ * UfilterUpanel Component
5
+ *
6
+ * A reusable UfilterUpanel component with full dark mode support.
7
+ * Optimized for accessibility and AI-assisted development.
8
+ *
9
+ * @component
10
+ * @example
11
+ * ```tsx
12
+ * <UfilterUpanel className="custom-class" />
13
+ * ```
14
+ *
15
+ * @remarks
16
+ * This component supports:
17
+ * - Light and dark themes automatically
18
+ * - Responsive design
19
+ * - Accessibility features
20
+ * - TypeScript type safety
21
+ *
22
+ * @see {@link https://docs.example.com/components/filter-panel}
23
+ */
24
+
25
+ export interface UfilterUpanelProps {
26
+ /** Additional CSS classes */
27
+ className?: string;
28
+ /** Component children */
29
+ children?: React.ReactNode;
30
+ /** Disabled state */
31
+ disabled?: boolean;
32
+ /** Callback when component is interacted with */
33
+ onClick?: () => void;
34
+ }
35
+
36
+ export const UfilterUpanel = ({
37
+ className,
38
+ children,
39
+ disabled = false,
40
+ onClick,
41
+ }: UfilterUpanelProps) => {
42
+ return (
43
+ <div
44
+ className={cn(
45
+ 'p-4 rounded-lg border transition-colors',
46
+ 'bg-white dark:bg-gray-900',
47
+ 'border-gray-200 dark:border-gray-700',
48
+ 'text-gray-900 dark:text-white',
49
+ disabled && 'opacity-50 cursor-not-allowed',
50
+ 'hover:bg-gray-50 dark:hover:bg-gray-800',
51
+ className
52
+ )}
53
+ onClick={disabled ? undefined : onClick}
54
+ role='region'
55
+ aria-label='UfilterUpanel'
56
+ >
57
+ {children || 'UfilterUpanel Component'}
58
+ </div>
59
+ );
60
+ };
package/src/index.ts ADDED
@@ -0,0 +1,11 @@
1
+ /**
2
+ * search-components
3
+ *
4
+ * Specialized components for the search domain
5
+ *
6
+ * @package @sudobility/search-components
7
+ */
8
+
9
+ export * from './faceted-search';
10
+ export * from './filter-panel';
11
+ export * from './search-bar';
@@ -0,0 +1,60 @@
1
+ import { cn } from '@sudobility/components';
2
+
3
+ /**
4
+ * UsearchUbar Component
5
+ *
6
+ * A reusable UsearchUbar component with full dark mode support.
7
+ * Optimized for accessibility and AI-assisted development.
8
+ *
9
+ * @component
10
+ * @example
11
+ * ```tsx
12
+ * <UsearchUbar className="custom-class" />
13
+ * ```
14
+ *
15
+ * @remarks
16
+ * This component supports:
17
+ * - Light and dark themes automatically
18
+ * - Responsive design
19
+ * - Accessibility features
20
+ * - TypeScript type safety
21
+ *
22
+ * @see {@link https://docs.example.com/components/search-bar}
23
+ */
24
+
25
+ export interface UsearchUbarProps {
26
+ /** Additional CSS classes */
27
+ className?: string;
28
+ /** Component children */
29
+ children?: React.ReactNode;
30
+ /** Disabled state */
31
+ disabled?: boolean;
32
+ /** Callback when component is interacted with */
33
+ onClick?: () => void;
34
+ }
35
+
36
+ export const UsearchUbar = ({
37
+ className,
38
+ children,
39
+ disabled = false,
40
+ onClick,
41
+ }: UsearchUbarProps) => {
42
+ return (
43
+ <div
44
+ className={cn(
45
+ 'p-4 rounded-lg border transition-colors',
46
+ 'bg-white dark:bg-gray-900',
47
+ 'border-gray-200 dark:border-gray-700',
48
+ 'text-gray-900 dark:text-white',
49
+ disabled && 'opacity-50 cursor-not-allowed',
50
+ 'hover:bg-gray-50 dark:hover:bg-gray-800',
51
+ className
52
+ )}
53
+ onClick={disabled ? undefined : onClick}
54
+ role='region'
55
+ aria-label='UsearchUbar'
56
+ >
57
+ {children || 'UsearchUbar Component'}
58
+ </div>
59
+ );
60
+ };