New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hudoro/dropdown

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hudoro/dropdown - npm Package Compare versions

Comparing version 0.0.3-beta.8 to 0.0.3-beta.9

404

dist/dropdown.es.js

@@ -1,3 +0,3 @@

import q, { useState as Fr, useRef as ce, useEffect as Ir } from "react";
var or = { exports: {} }, $ = {};
import q, { useState as Fr, useRef as ce, useEffect as or } from "react";
var ir = { exports: {} }, N = {};
/**

@@ -12,21 +12,21 @@ * @license React

*/
var Tr;
var Sr;
function fe() {
if (Tr)
return $;
Tr = 1;
var g = q, m = Symbol.for("react.element"), R = Symbol.for("react.fragment"), y = Object.prototype.hasOwnProperty, _ = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, O = { key: !0, ref: !0, __self: !0, __source: !0 };
function P(j, p, d) {
var h, x = {}, C = null, F = null;
d !== void 0 && (C = "" + d), p.key !== void 0 && (C = "" + p.key), p.ref !== void 0 && (F = p.ref);
for (h in p)
y.call(p, h) && !O.hasOwnProperty(h) && (x[h] = p[h]);
if (Sr)
return N;
Sr = 1;
var h = q, w = Symbol.for("react.element"), R = Symbol.for("react.fragment"), y = Object.prototype.hasOwnProperty, _ = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, O = { key: !0, ref: !0, __self: !0, __source: !0 };
function P(j, g, s) {
var v, x = {}, C = null, D = null;
s !== void 0 && (C = "" + s), g.key !== void 0 && (C = "" + g.key), g.ref !== void 0 && (D = g.ref);
for (v in g)
y.call(g, v) && !O.hasOwnProperty(v) && (x[v] = g[v]);
if (j && j.defaultProps)
for (h in p = j.defaultProps, p)
x[h] === void 0 && (x[h] = p[h]);
return { $$typeof: m, type: j, key: C, ref: F, props: x, _owner: _.current };
for (v in g = j.defaultProps, g)
x[v] === void 0 && (x[v] = g[v]);
return { $$typeof: w, type: j, key: C, ref: D, props: x, _owner: _.current };
}
return $.Fragment = R, $.jsx = P, $.jsxs = P, $;
return N.Fragment = R, N.jsx = P, N.jsxs = P, N;
}
var N = {};
var L = {};
/**

@@ -41,7 +41,7 @@ * @license React

*/
var Sr;
var Or;
function pe() {
return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && function() {
var g = q, m = Symbol.for("react.element"), R = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), j = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), V = Symbol.iterator, J = "@@iterator";
function l(r) {
return Or || (Or = 1, process.env.NODE_ENV !== "production" && function() {
var h = q, w = Symbol.for("react.element"), R = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), j = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), V = Symbol.iterator, J = "@@iterator";
function u(r) {
if (r === null || typeof r != "object")

@@ -52,4 +52,4 @@ return null;

}
var w = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function v(r) {
var m = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function f(r) {
{

@@ -63,20 +63,20 @@ for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), o = 1; o < e; o++)

{
var o = w.ReactDebugCurrentFrame, a = o.getStackAddendum();
var o = m.ReactDebugCurrentFrame, a = o.getStackAddendum();
a !== "" && (e += "%s", n = n.concat([a]));
var s = n.map(function(t) {
var d = n.map(function(t) {
return String(t);
});
s.unshift("Warning: " + e), Function.prototype.apply.call(console[r], console, s);
d.unshift("Warning: " + e), Function.prototype.apply.call(console[r], console, d);
}
}
var G = !1, Dr = !1, Ar = !1, Wr = !1, Lr = !1, ir;
ir = Symbol.for("react.module.reference");
function $r(r) {
return !!(typeof r == "string" || typeof r == "function" || r === y || r === O || Lr || r === _ || r === d || r === h || Wr || r === F || G || Dr || Ar || typeof r == "object" && r !== null && (r.$$typeof === C || r.$$typeof === x || r.$$typeof === P || r.$$typeof === j || r.$$typeof === p || // This needs to include all possible module reference object
var G = !1, Ir = !1, Ar = !1, Wr = !1, $r = !1, tr;
tr = Symbol.for("react.module.reference");
function Nr(r) {
return !!(typeof r == "string" || typeof r == "function" || r === y || r === O || $r || r === _ || r === s || r === v || Wr || r === D || G || Ir || Ar || typeof r == "object" && r !== null && (r.$$typeof === C || r.$$typeof === x || r.$$typeof === P || r.$$typeof === j || r.$$typeof === g || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
r.$$typeof === ir || r.getModuleId !== void 0));
r.$$typeof === tr || r.getModuleId !== void 0));
}
function Nr(r, e, n) {
function Lr(r, e, n) {
var o = r.displayName;

@@ -88,3 +88,3 @@ if (o)

}
function tr(r) {
function ar(r) {
return r.displayName || "Context";

@@ -95,3 +95,3 @@ }

return null;
if (typeof r.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
if (typeof r.tag == "number" && f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
return r.displayName || r.name || null;

@@ -109,5 +109,5 @@ if (typeof r == "string")

return "StrictMode";
case d:
case s:
return "Suspense";
case h:
case v:
return "SuspenseList";

@@ -119,8 +119,8 @@ }

var e = r;
return tr(e) + ".Consumer";
return ar(e) + ".Consumer";
case P:
var n = r;
return tr(n._context) + ".Provider";
case p:
return Nr(r, r.render, "ForwardRef");
return ar(n._context) + ".Provider";
case g:
return Lr(r, r.render, "ForwardRef");
case x:

@@ -130,5 +130,5 @@ var o = r.displayName || null;

case C: {
var a = r, s = a._payload, t = a._init;
var a = r, d = a._payload, t = a._init;
try {
return T(t(s));
return T(t(d));
} catch {

@@ -141,14 +141,14 @@ return null;

}
var I = Object.assign, W = 0, ar, sr, dr, ur, lr, cr, fr;
function pr() {
var F = Object.assign, W = 0, sr, dr, ur, lr, cr, fr, pr;
function hr() {
}
pr.__reactDisabledLog = !0;
hr.__reactDisabledLog = !0;
function Vr() {
{
if (W === 0) {
ar = console.log, sr = console.info, dr = console.warn, ur = console.error, lr = console.group, cr = console.groupCollapsed, fr = console.groupEnd;
sr = console.log, dr = console.info, ur = console.warn, lr = console.error, cr = console.group, fr = console.groupCollapsed, pr = console.groupEnd;
var r = {
configurable: !0,
enumerable: !0,
value: pr,
value: hr,
writable: !0

@@ -178,29 +178,29 @@ };

Object.defineProperties(console, {
log: I({}, r, {
value: ar
}),
info: I({}, r, {
log: F({}, r, {
value: sr
}),
warn: I({}, r, {
info: F({}, r, {
value: dr
}),
error: I({}, r, {
warn: F({}, r, {
value: ur
}),
group: I({}, r, {
error: F({}, r, {
value: lr
}),
groupCollapsed: I({}, r, {
group: F({}, r, {
value: cr
}),
groupEnd: I({}, r, {
groupCollapsed: F({}, r, {
value: fr
}),
groupEnd: F({}, r, {
value: pr
})
});
}
W < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
W < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var K = w.ReactCurrentDispatcher, H;
var K = m.ReactCurrentDispatcher, H;
function z(r, e, n) {

@@ -224,3 +224,3 @@ {

}
function hr(r, e) {
function vr(r, e) {
if (!r || X)

@@ -237,4 +237,4 @@ return "";

Error.prepareStackTrace = void 0;
var s;
s = K.current, K.current = null, Vr();
var d;
d = K.current, K.current = null, Vr();
try {

@@ -276,9 +276,9 @@ if (e) {

`), b = o.stack.split(`
`), c = i.length - 1, f = b.length - 1; c >= 1 && f >= 0 && i[c] !== b[f]; )
f--;
for (; c >= 1 && f >= 0; c--, f--)
if (i[c] !== b[f]) {
if (c !== 1 || f !== 1)
`), c = i.length - 1, p = b.length - 1; c >= 1 && p >= 0 && i[c] !== b[p]; )
p--;
for (; c >= 1 && p >= 0; c--, p--)
if (i[c] !== b[p]) {
if (c !== 1 || p !== 1)
do
if (c--, f--, f < 0 || i[c] !== b[f]) {
if (c--, p--, p < 0 || i[c] !== b[p]) {
var E = `

@@ -288,3 +288,3 @@ ` + i[c].replace(" at new ", " at ");

}
while (c >= 1 && f >= 0);
while (c >= 1 && p >= 0);
break;

@@ -294,9 +294,9 @@ }

} finally {
X = !1, K.current = s, zr(), Error.prepareStackTrace = a;
X = !1, K.current = d, zr(), Error.prepareStackTrace = a;
}
var A = r ? r.displayName || r.name : "", kr = A ? z(A) : "";
return typeof r == "function" && Y.set(r, kr), kr;
var A = r ? r.displayName || r.name : "", Tr = A ? z(A) : "";
return typeof r == "function" && Y.set(r, Tr), Tr;
}
function Mr(r, e, n) {
return hr(r, !1);
return vr(r, !1);
}

@@ -311,9 +311,9 @@ function Ur(r) {

if (typeof r == "function")
return hr(r, Ur(r));
return vr(r, Ur(r));
if (typeof r == "string")
return z(r);
switch (r) {
case d:
case s:
return z("Suspense");
case h:
case v:
return z("SuspenseList");

@@ -323,3 +323,3 @@ }

switch (r.$$typeof) {
case p:
case g:
return Mr(r.render);

@@ -329,5 +329,5 @@ case x:

case C: {
var o = r, a = o._payload, s = o._init;
var o = r, a = o._payload, d = o._init;
try {
return M(s(a), e, n);
return M(d(a), e, n);
} catch {

@@ -339,15 +339,15 @@ }

}
var U = Object.prototype.hasOwnProperty, vr = {}, gr = w.ReactDebugCurrentFrame;
var U = Object.prototype.hasOwnProperty, gr = {}, mr = m.ReactDebugCurrentFrame;
function B(r) {
if (r) {
var e = r._owner, n = M(r.type, r._source, e ? e.type : null);
gr.setExtraStackFrame(n);
mr.setExtraStackFrame(n);
} else
gr.setExtraStackFrame(null);
mr.setExtraStackFrame(null);
}
function Br(r, e, n, o, a) {
{
var s = Function.call.bind(U);
var d = Function.call.bind(U);
for (var t in r)
if (s(r, t)) {
if (d(r, t)) {
var i = void 0;

@@ -363,3 +363,3 @@ try {

}
i && !(i instanceof Error) && (B(a), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", n, t, typeof i), B(null)), i instanceof Error && !(i.message in vr) && (vr[i.message] = !0, B(a), v("Failed %s type: %s", n, i.message), B(null));
i && !(i instanceof Error) && (B(a), f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", n, t, typeof i), B(null)), i instanceof Error && !(i.message in gr) && (gr[i.message] = !0, B(a), f("Failed %s type: %s", n, i.message), B(null));
}

@@ -388,7 +388,7 @@ }

}
function mr(r) {
function br(r) {
if (Gr(r))
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jr(r)), wr(r);
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jr(r)), wr(r);
}
var L = w.ReactCurrentOwner, Kr = {
var $ = m.ReactCurrentOwner, Kr = {
key: !0,

@@ -398,3 +398,3 @@ ref: !0,

__source: !0
}, br, yr, Q;
}, yr, xr, Q;
Q = {};

@@ -418,5 +418,5 @@ function Hr(r) {

function Zr(r, e) {
if (typeof r.ref == "string" && L.current && e && L.current.stateNode !== e) {
var n = T(L.current.type);
Q[n] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(L.current.type), r.ref), Q[n] = !0);
if (typeof r.ref == "string" && $.current && e && $.current.stateNode !== e) {
var n = T($.current.type);
Q[n] || (f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T($.current.type), r.ref), Q[n] = !0);
}

@@ -427,3 +427,3 @@ }

var n = function() {
br || (br = !0, v("%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://reactjs.org/link/special-props)", e));
yr || (yr = !0, f("%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://reactjs.org/link/special-props)", e));
};

@@ -439,3 +439,3 @@ n.isReactWarning = !0, Object.defineProperty(r, "key", {

var n = function() {
yr || (yr = !0, v("%s: `ref` 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://reactjs.org/link/special-props)", e));
xr || (xr = !0, f("%s: `ref` 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://reactjs.org/link/special-props)", e));
};

@@ -448,6 +448,6 @@ n.isReactWarning = !0, Object.defineProperty(r, "ref", {

}
var ee = function(r, e, n, o, a, s, t) {
var ee = function(r, e, n, o, a, d, t) {
var i = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: m,
$$typeof: w,
// Built-in properties that belong on the element

@@ -459,3 +459,3 @@ type: r,

// Record the component responsible for creating this element.
_owner: s
_owner: d
};

@@ -481,25 +481,25 @@ return i._store = {}, Object.defineProperty(i._store, "validated", {

{
var s, t = {}, i = null, b = null;
n !== void 0 && (mr(n), i = "" + n), Xr(e) && (mr(e.key), i = "" + e.key), Hr(e) && (b = e.ref, Zr(e, a));
for (s in e)
U.call(e, s) && !Kr.hasOwnProperty(s) && (t[s] = e[s]);
var d, t = {}, i = null, b = null;
n !== void 0 && (br(n), i = "" + n), Xr(e) && (br(e.key), i = "" + e.key), Hr(e) && (b = e.ref, Zr(e, a));
for (d in e)
U.call(e, d) && !Kr.hasOwnProperty(d) && (t[d] = e[d]);
if (r && r.defaultProps) {
var c = r.defaultProps;
for (s in c)
t[s] === void 0 && (t[s] = c[s]);
for (d in c)
t[d] === void 0 && (t[d] = c[d]);
}
if (i || b) {
var f = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
i && Qr(t, f), b && re(t, f);
var p = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
i && Qr(t, p), b && re(t, p);
}
return ee(r, i, b, a, o, L.current, t);
return ee(r, i, b, a, o, $.current, t);
}
}
var rr = w.ReactCurrentOwner, xr = w.ReactDebugCurrentFrame;
function D(r) {
var rr = m.ReactCurrentOwner, Er = m.ReactDebugCurrentFrame;
function I(r) {
if (r) {
var e = r._owner, n = M(r.type, r._source, e ? e.type : null);
xr.setExtraStackFrame(n);
Er.setExtraStackFrame(n);
} else
xr.setExtraStackFrame(null);
Er.setExtraStackFrame(null);
}

@@ -509,5 +509,5 @@ var er;

function nr(r) {
return typeof r == "object" && r !== null && r.$$typeof === m;
return typeof r == "object" && r !== null && r.$$typeof === w;
}
function Er() {
function Rr() {
{

@@ -535,6 +535,6 @@ if (rr.current) {

}
var Rr = {};
var _r = {};
function ie(r) {
{
var e = Er();
var e = Rr();
if (!e) {

@@ -549,3 +549,3 @@ var n = typeof r == "string" ? r : r.displayName || r.name;

}
function _r(r, e) {
function jr(r, e) {
{

@@ -556,10 +556,10 @@ if (!r._store || r._store.validated || r.key != null)

var n = ie(e);
if (Rr[n])
if (_r[n])
return;
Rr[n] = !0;
_r[n] = !0;
var o = "";
r && r._owner && r._owner !== rr.current && (o = " It was passed a child from " + T(r._owner.type) + "."), D(r), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, o), D(null);
r && r._owner && r._owner !== rr.current && (o = " It was passed a child from " + T(r._owner.type) + "."), I(r), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, o), I(null);
}
}
function jr(r, e) {
function Cr(r, e) {
{

@@ -571,3 +571,3 @@ if (typeof r != "object")

var o = r[n];
nr(o) && _r(o, e);
nr(o) && jr(o, e);
}

@@ -577,6 +577,6 @@ else if (nr(r))

else if (r) {
var a = l(r);
var a = u(r);
if (typeof a == "function" && a !== r.entries)
for (var s = a.call(r), t; !(t = s.next()).done; )
nr(t.value) && _r(t.value, e);
for (var d = a.call(r), t; !(t = d.next()).done; )
nr(t.value) && jr(t.value, e);
}

@@ -593,3 +593,3 @@ }

n = e.propTypes;
else if (typeof e == "object" && (e.$$typeof === p || // Note: Memo only checks outer props here.
else if (typeof e == "object" && (e.$$typeof === g || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.

@@ -606,5 +606,5 @@ e.$$typeof === x))

var a = T(e);
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", a || "Unknown");
f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", a || "Unknown");
}
typeof e.getDefaultProps == "function" && !e.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
typeof e.getDefaultProps == "function" && !e.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}

@@ -617,12 +617,12 @@ }

if (o !== "children" && o !== "key") {
D(r), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), D(null);
I(r), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), I(null);
break;
}
}
r.ref !== null && (D(r), v("Invalid attribute `ref` supplied to `React.Fragment`."), D(null));
r.ref !== null && (I(r), f("Invalid attribute `ref` supplied to `React.Fragment`."), I(null));
}
}
function Cr(r, e, n, o, a, s) {
function kr(r, e, n, o, a, d) {
{
var t = $r(r);
var t = Nr(r);
if (!t) {

@@ -632,9 +632,9 @@ var i = "";

var b = oe(a);
b ? i += b : i += Er();
b ? i += b : i += Rr();
var c;
r === null ? c = "null" : Z(r) ? c = "array" : r !== void 0 && r.$$typeof === m ? (c = "<" + (T(r.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : c = typeof r, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, i);
r === null ? c = "null" : Z(r) ? c = "array" : r !== void 0 && r.$$typeof === w ? (c = "<" + (T(r.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : c = typeof r, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, i);
}
var f = ne(r, e, n, a, s);
if (f == null)
return f;
var p = ne(r, e, n, a, d);
if (p == null)
return p;
if (t) {

@@ -646,24 +646,24 @@ var E = e.children;

for (var A = 0; A < E.length; A++)
jr(E[A], r);
Cr(E[A], r);
Object.freeze && Object.freeze(E);
} else
v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
f("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
jr(E, r);
Cr(E, r);
}
return r === y ? ae(f) : te(f), f;
return r === y ? ae(p) : te(p), p;
}
}
function se(r, e, n) {
return Cr(r, e, n, !0);
return kr(r, e, n, !0);
}
function de(r, e, n) {
return Cr(r, e, n, !1);
return kr(r, e, n, !1);
}
var ue = de, le = se;
N.Fragment = y, N.jsx = ue, N.jsxs = le;
}()), N;
L.Fragment = y, L.jsx = ue, L.jsxs = le;
}()), L;
}
process.env.NODE_ENV === "production" ? or.exports = fe() : or.exports = pe();
var u = or.exports;
process.env.NODE_ENV === "production" ? ir.exports = fe() : ir.exports = pe();
var l = ir.exports;
const he = `@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

@@ -862,14 +862,14 @@ * {

`;
function ve(g) {
const [m, R] = Fr(g), y = ce(null), _ = (O) => {
function ve(h) {
const [w, R] = Fr(h), y = ce(null), _ = (O) => {
y.current && !y.current.contains(O.target) && R(!1);
};
return Ir(() => (document.addEventListener("click", _, !0), () => {
return or(() => (document.addEventListener("click", _, !0), () => {
document.removeEventListener("click", _, !0);
}), []), { ref: y, isComponentVisible: m, setIsComponentVisible: R };
}), []), { ref: y, isComponentVisible: w, setIsComponentVisible: R };
}
const Or = "hudoro-input-dropdown-styles", ge = (g) => {
if (!document.getElementById(Or)) {
const m = document.createElement("style");
m.id = Or, m.textContent = g, document.head.appendChild(m);
const Pr = "hudoro-input-dropdown-styles", ge = (h) => {
if (!document.getElementById(Pr)) {
const w = document.createElement("style");
w.id = Pr, w.textContent = h, document.head.appendChild(w);
}

@@ -879,4 +879,4 @@ };

const ye = ({
dropdownLists: g,
onChange: m,
dropdownLists: h,
onChange: w,
defaultValue: R,

@@ -888,22 +888,26 @@ size: y = "md",

placeholder: j,
onSearch: p
onSearch: g
}) => {
const [d, h] = Fr([]), { isComponentVisible: x, ref: C, setIsComponentVisible: F } = ve(!1), V = () => {
F((l) => !l);
}, J = (l, w) => {
const [s, v] = Fr([]), { isComponentVisible: x, ref: C, setIsComponentVisible: D } = ve(!1), V = () => {
D((u) => !u);
}, J = (u, m) => {
if (!_)
h([{ label: l, value: w }]), m([{ label: l, value: w }]), F(!1);
else if (d == null ? void 0 : d.find((k) => k.value === w)) {
v([{ label: u, value: m }]), w([{ label: u, value: m }]), D(!1);
else if (s == null ? void 0 : s.find((k) => k.value === m)) {
const k = [
...d ? d.filter((G) => G.value !== w) : []
...s ? s.filter((G) => G.value !== m) : []
];
h(k), m(k);
v(k), w(k);
} else {
const k = [...d || [], { label: l, value: w }];
h(k), m(k);
const k = [...s || [], { label: u, value: m }];
v(k), w(k);
}
};
return Ir(() => {
R && h(R);
}, [R]), /* @__PURE__ */ u.jsxs(
return or(() => {
R && (s.length || v(R));
}, [R]), or(() => {
if (s)
for (let u of s)
h.find((f) => f.value === u.value) || v([]);
}, [h]), /* @__PURE__ */ l.jsxs(
"div",

@@ -915,8 +919,8 @@ {

children: [
/* @__PURE__ */ u.jsxs("div", { className: "hsd-input-dropdown-preview-container", children: [
P ? /* @__PURE__ */ u.jsx(u.Fragment, { children: q.cloneElement(P, {
width: Pr(y),
/* @__PURE__ */ l.jsxs("div", { className: "hsd-input-dropdown-preview-container", children: [
P ? /* @__PURE__ */ l.jsx(l.Fragment, { children: q.cloneElement(P, {
width: Dr(y),
color: "#939E99"
}) }) : null,
/* @__PURE__ */ u.jsx("div", { className: "hsd-input-dropdown-container-preview-item", children: d.length ? _ ? d == null ? void 0 : d.map((l, w) => /* @__PURE__ */ u.jsx(
/* @__PURE__ */ l.jsx("div", { className: "hsd-input-dropdown-container-preview-item", children: s.length ? _ ? s == null ? void 0 : s.map((u, m) => /* @__PURE__ */ l.jsx(
"p",

@@ -926,21 +930,21 @@ {

className: "hsd-input-dropdown-preview-item",
children: l == null ? void 0 : l.label
children: u == null ? void 0 : u.label
},
w
)) : /* @__PURE__ */ u.jsx("p", { style: { minWidth: "max-content" }, children: d == null ? void 0 : d[0].label }) : /* @__PURE__ */ u.jsx("p", { className: "hsd-input-dropdown-placeholder", children: j || "Search" }) }),
/* @__PURE__ */ u.jsx(me, { strokeWidth: 2, width: Pr(y) })
m
)) : /* @__PURE__ */ l.jsx("p", { style: { minWidth: "max-content" }, children: s == null ? void 0 : s[0].label }) : /* @__PURE__ */ l.jsx("p", { className: "hsd-input-dropdown-placeholder", children: j || "Search" }) }),
/* @__PURE__ */ l.jsx(we, { strokeWidth: 2, width: Dr(y) })
] }),
x ? /* @__PURE__ */ u.jsxs(
x ? /* @__PURE__ */ l.jsxs(
"div",
{
className: "hsd-input-dropdown-lists-container",
onClick: (l) => l.stopPropagation(),
onClick: (u) => u.stopPropagation(),
children: [
O ? /* @__PURE__ */ u.jsxs("div", { className: "hsd-input-dropdown-container-dropdown-search", children: [
/* @__PURE__ */ u.jsx("div", { style: { display: "flex" }, children: /* @__PURE__ */ u.jsx(we, { strokeWidth: 2, width: 20 }) }),
/* @__PURE__ */ u.jsx(
O ? /* @__PURE__ */ l.jsxs("div", { className: "hsd-input-dropdown-container-dropdown-search", children: [
/* @__PURE__ */ l.jsx("div", { style: { display: "flex" }, children: /* @__PURE__ */ l.jsx(me, { strokeWidth: 2, width: 20 }) }),
/* @__PURE__ */ l.jsx(
"input",
{
onChange: (l) => {
p && p(l.target.value);
onChange: (u) => {
g && g(u.target.value);
}

@@ -950,18 +954,18 @@ }

] }) : null,
/* @__PURE__ */ u.jsx("div", { className: "hsd-input-dropdwon-item-container", children: g.map((l, w) => /* @__PURE__ */ u.jsxs(
/* @__PURE__ */ l.jsx("div", { className: "hsd-input-dropdwon-item-container", children: h.map((u, m) => /* @__PURE__ */ l.jsxs(
"div",
{
className: `hsd-input-dropdwon-item ${d != null && d.find((v) => v.value === l.value) ? "active" : ""}`,
onClick: () => J(l.label, l.value),
className: `hsd-input-dropdwon-item ${s != null && s.find((f) => f.value === u.value) ? "active" : ""}`,
onClick: () => J(u.label, u.value),
children: [
l.icon ? /* @__PURE__ */ u.jsx("div", { children: q.cloneElement(l.icon, {
u.icon ? /* @__PURE__ */ l.jsx("div", { children: q.cloneElement(u.icon, {
width: 16
}) }) : null,
/* @__PURE__ */ u.jsxs("div", { children: [
/* @__PURE__ */ l.jsxs("div", { children: [
" ",
/* @__PURE__ */ u.jsx("p", { children: l.label })
/* @__PURE__ */ l.jsx("p", { children: u.label })
] })
]
},
w
m
)) })

@@ -974,11 +978,11 @@ ]

);
}, we = ({ ...g }) => /* @__PURE__ */ u.jsxs(
}, me = ({ ...h }) => /* @__PURE__ */ l.jsxs(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
...g,
...h,
viewBox: "0 0 20 20",
fill: "none",
children: [
/* @__PURE__ */ u.jsx(
/* @__PURE__ */ l.jsx(
"circle",

@@ -995,3 +999,3 @@ {

),
/* @__PURE__ */ u.jsx(
/* @__PURE__ */ l.jsx(
"path",

@@ -1008,11 +1012,11 @@ {

}
), me = ({ ...g }) => /* @__PURE__ */ u.jsx(
), we = ({ ...h }) => /* @__PURE__ */ l.jsx(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
...g,
...h,
viewBox: "0 0 24 24",
fill: "none",
color: "#1976D2",
children: /* @__PURE__ */ u.jsx(
children: /* @__PURE__ */ l.jsx(
"path",

@@ -1027,8 +1031,8 @@ {

}
), Pr = (g) => {
if (g === "sm")
), Dr = (h) => {
if (h === "sm")
return 16;
if (g === "md")
if (h === "md")
return 20;
if (g === "lg")
if (h === "lg")
return 20;

@@ -1035,0 +1039,0 @@ };

@@ -1,2 +0,2 @@

(function(F,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],x):(F=typeof globalThis<"u"?globalThis:F||self,x(F.Dropdown={},F.React))})(this,function(F,x){"use strict";var K={exports:{}},N={};/**
(function(F,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],y):(F=typeof globalThis<"u"?globalThis:F||self,y(F.Dropdown={},F.React))})(this,function(F,y){"use strict";var K={exports:{}},L={};/**
* @license React

@@ -9,3 +9,3 @@ * react-jsx-runtime.production.min.js

* LICENSE file in the root directory of this source tree.
*/var ir;function Fr(){if(ir)return N;ir=1;var g=x,m=Symbol.for("react.element"),_=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,j=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,P={key:!0,ref:!0,__self:!0,__source:!0};function D(C,p,u){var h,E={},T=null,I=null;u!==void 0&&(T=""+u),p.key!==void 0&&(T=""+p.key),p.ref!==void 0&&(I=p.ref);for(h in p)y.call(p,h)&&!P.hasOwnProperty(h)&&(E[h]=p[h]);if(C&&C.defaultProps)for(h in p=C.defaultProps,p)E[h]===void 0&&(E[h]=p[h]);return{$$typeof:m,type:C,key:T,ref:I,props:E,_owner:j.current}}return N.Fragment=_,N.jsx=D,N.jsxs=D,N}var V={};/**
*/var ir;function Fr(){if(ir)return L;ir=1;var h=y,m=Symbol.for("react.element"),_=Symbol.for("react.fragment"),x=Object.prototype.hasOwnProperty,j=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,P={key:!0,ref:!0,__self:!0,__source:!0};function D(C,g,s){var v,E={},T=null,I=null;s!==void 0&&(T=""+s),g.key!==void 0&&(T=""+g.key),g.ref!==void 0&&(I=g.ref);for(v in g)x.call(g,v)&&!P.hasOwnProperty(v)&&(E[v]=g[v]);if(C&&C.defaultProps)for(v in g=C.defaultProps,g)E[v]===void 0&&(E[v]=g[v]);return{$$typeof:m,type:C,key:T,ref:I,props:E,_owner:j.current}}return L.Fragment=_,L.jsx=D,L.jsxs=D,L}var V={};/**
* @license React

@@ -18,7 +18,7 @@ * react-jsx-runtime.development.js

* LICENSE file in the root directory of this source tree.
*/var ar;function Ir(){return ar||(ar=1,process.env.NODE_ENV!=="production"&&function(){var g=x,m=Symbol.for("react.element"),_=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),C=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),M=Symbol.iterator,H="@@iterator";function l(r){if(r===null||typeof r!="object")return null;var e=M&&r[M]||r[H];return typeof e=="function"?e:null}var w=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(r){{for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];k("error",r,n)}}function k(r,e,n){{var o=w.ReactDebugCurrentFrame,a=o.getStackAddendum();a!==""&&(e+="%s",n=n.concat([a]));var s=n.map(function(i){return String(i)});s.unshift("Warning: "+e),Function.prototype.apply.call(console[r],console,s)}}var X=!1,zr=!1,Yr=!1,Mr=!1,Ur=!1,ur;ur=Symbol.for("react.module.reference");function Br(r){return!!(typeof r=="string"||typeof r=="function"||r===y||r===P||Ur||r===j||r===u||r===h||Mr||r===I||X||zr||Yr||typeof r=="object"&&r!==null&&(r.$$typeof===T||r.$$typeof===E||r.$$typeof===D||r.$$typeof===C||r.$$typeof===p||r.$$typeof===ur||r.getModuleId!==void 0))}function $r(r,e,n){var o=r.displayName;if(o)return o;var a=e.displayName||e.name||"";return a!==""?n+"("+a+")":n}function lr(r){return r.displayName||"Context"}function S(r){if(r==null)return null;if(typeof r.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case y:return"Fragment";case _:return"Portal";case P:return"Profiler";case j:return"StrictMode";case u:return"Suspense";case h:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case C:var e=r;return lr(e)+".Consumer";case D:var n=r;return lr(n._context)+".Provider";case p:return $r(r,r.render,"ForwardRef");case E:var o=r.displayName||null;return o!==null?o:S(r.type)||"Memo";case T:{var a=r,s=a._payload,i=a._init;try{return S(i(s))}catch{return null}}}return null}var A=Object.assign,z=0,cr,fr,pr,hr,vr,gr,wr;function mr(){}mr.__reactDisabledLog=!0;function Jr(){{if(z===0){cr=console.log,fr=console.info,pr=console.warn,hr=console.error,vr=console.group,gr=console.groupCollapsed,wr=console.groupEnd;var r={configurable:!0,enumerable:!0,value:mr,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}z++}}function Gr(){{if(z--,z===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},r,{value:cr}),info:A({},r,{value:fr}),warn:A({},r,{value:pr}),error:A({},r,{value:hr}),group:A({},r,{value:vr}),groupCollapsed:A({},r,{value:gr}),groupEnd:A({},r,{value:wr})})}z<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Z=w.ReactCurrentDispatcher,q;function U(r,e,n){{if(q===void 0)try{throw Error()}catch(a){var o=a.stack.trim().match(/\n( *(at )?)/);q=o&&o[1]||""}return`
`+q+r}}var Q=!1,B;{var Kr=typeof WeakMap=="function"?WeakMap:Map;B=new Kr}function br(r,e){if(!r||Q)return"";{var n=B.get(r);if(n!==void 0)return n}var o;Q=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=Z.current,Z.current=null,Jr();try{if(e){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(O){o=O}Reflect.construct(r,[],i)}else{try{i.call()}catch(O){o=O}r.call(i.prototype)}}else{try{throw Error()}catch(O){o=O}r()}}catch(O){if(O&&o&&typeof O.stack=="string"){for(var t=O.stack.split(`
*/var ar;function Ir(){return ar||(ar=1,process.env.NODE_ENV!=="production"&&function(){var h=y,m=Symbol.for("react.element"),_=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),C=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),M=Symbol.iterator,H="@@iterator";function l(r){if(r===null||typeof r!="object")return null;var e=M&&r[M]||r[H];return typeof e=="function"?e:null}var w=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(r){{for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];k("error",r,n)}}function k(r,e,n){{var o=w.ReactDebugCurrentFrame,a=o.getStackAddendum();a!==""&&(e+="%s",n=n.concat([a]));var d=n.map(function(i){return String(i)});d.unshift("Warning: "+e),Function.prototype.apply.call(console[r],console,d)}}var X=!1,zr=!1,Yr=!1,Mr=!1,Ur=!1,ur;ur=Symbol.for("react.module.reference");function Br(r){return!!(typeof r=="string"||typeof r=="function"||r===x||r===P||Ur||r===j||r===s||r===v||Mr||r===I||X||zr||Yr||typeof r=="object"&&r!==null&&(r.$$typeof===T||r.$$typeof===E||r.$$typeof===D||r.$$typeof===C||r.$$typeof===g||r.$$typeof===ur||r.getModuleId!==void 0))}function $r(r,e,n){var o=r.displayName;if(o)return o;var a=e.displayName||e.name||"";return a!==""?n+"("+a+")":n}function lr(r){return r.displayName||"Context"}function S(r){if(r==null)return null;if(typeof r.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case x:return"Fragment";case _:return"Portal";case P:return"Profiler";case j:return"StrictMode";case s:return"Suspense";case v:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case C:var e=r;return lr(e)+".Consumer";case D:var n=r;return lr(n._context)+".Provider";case g:return $r(r,r.render,"ForwardRef");case E:var o=r.displayName||null;return o!==null?o:S(r.type)||"Memo";case T:{var a=r,d=a._payload,i=a._init;try{return S(i(d))}catch{return null}}}return null}var A=Object.assign,z=0,cr,fr,pr,hr,vr,gr,wr;function mr(){}mr.__reactDisabledLog=!0;function Jr(){{if(z===0){cr=console.log,fr=console.info,pr=console.warn,hr=console.error,vr=console.group,gr=console.groupCollapsed,wr=console.groupEnd;var r={configurable:!0,enumerable:!0,value:mr,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}z++}}function Gr(){{if(z--,z===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},r,{value:cr}),info:A({},r,{value:fr}),warn:A({},r,{value:pr}),error:A({},r,{value:hr}),group:A({},r,{value:vr}),groupCollapsed:A({},r,{value:gr}),groupEnd:A({},r,{value:wr})})}z<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Z=w.ReactCurrentDispatcher,Q;function U(r,e,n){{if(Q===void 0)try{throw Error()}catch(a){var o=a.stack.trim().match(/\n( *(at )?)/);Q=o&&o[1]||""}return`
`+Q+r}}var q=!1,B;{var Kr=typeof WeakMap=="function"?WeakMap:Map;B=new Kr}function br(r,e){if(!r||q)return"";{var n=B.get(r);if(n!==void 0)return n}var o;q=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=Z.current,Z.current=null,Jr();try{if(e){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(O){o=O}Reflect.construct(r,[],i)}else{try{i.call()}catch(O){o=O}r.call(i.prototype)}}else{try{throw Error()}catch(O){o=O}r()}}catch(O){if(O&&o&&typeof O.stack=="string"){for(var t=O.stack.split(`
`),b=o.stack.split(`
`),c=t.length-1,f=b.length-1;c>=1&&f>=0&&t[c]!==b[f];)f--;for(;c>=1&&f>=0;c--,f--)if(t[c]!==b[f]){if(c!==1||f!==1)do if(c--,f--,f<0||t[c]!==b[f]){var R=`
`+t[c].replace(" at new "," at ");return r.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",r.displayName)),typeof r=="function"&&B.set(r,R),R}while(c>=1&&f>=0);break}}}finally{Q=!1,Z.current=s,Gr(),Error.prepareStackTrace=a}var L=r?r.displayName||r.name:"",Dr=L?U(L):"";return typeof r=="function"&&B.set(r,Dr),Dr}function Hr(r,e,n){return br(r,!1)}function Xr(r){var e=r.prototype;return!!(e&&e.isReactComponent)}function $(r,e,n){if(r==null)return"";if(typeof r=="function")return br(r,Xr(r));if(typeof r=="string")return U(r);switch(r){case u:return U("Suspense");case h:return U("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case p:return Hr(r.render);case E:return $(r.type,e,n);case T:{var o=r,a=o._payload,s=o._init;try{return $(s(a),e,n)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,yr={},xr=w.ReactDebugCurrentFrame;function G(r){if(r){var e=r._owner,n=$(r.type,r._source,e?e.type:null);xr.setExtraStackFrame(n)}else xr.setExtraStackFrame(null)}function Zr(r,e,n,o,a){{var s=Function.call.bind(J);for(var i in r)if(s(r,i)){var t=void 0;try{if(typeof r[i]!="function"){var b=Error((o||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}t=r[i](e,i,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){t=c}t&&!(t instanceof Error)&&(G(a),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,i,typeof t),G(null)),t instanceof Error&&!(t.message in yr)&&(yr[t.message]=!0,G(a),v("Failed %s type: %s",n,t.message),G(null))}}}var qr=Array.isArray;function rr(r){return qr(r)}function Qr(r){{var e=typeof Symbol=="function"&&Symbol.toStringTag,n=e&&r[Symbol.toStringTag]||r.constructor.name||"Object";return n}}function re(r){try{return Er(r),!1}catch{return!0}}function Er(r){return""+r}function Rr(r){if(re(r))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Qr(r)),Er(r)}var Y=w.ReactCurrentOwner,ee={key:!0,ref:!0,__self:!0,__source:!0},_r,jr,er;er={};function ne(r){if(J.call(r,"ref")){var e=Object.getOwnPropertyDescriptor(r,"ref").get;if(e&&e.isReactWarning)return!1}return r.ref!==void 0}function oe(r){if(J.call(r,"key")){var e=Object.getOwnPropertyDescriptor(r,"key").get;if(e&&e.isReactWarning)return!1}return r.key!==void 0}function te(r,e){if(typeof r.ref=="string"&&Y.current&&e&&Y.current.stateNode!==e){var n=S(Y.current.type);er[n]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',S(Y.current.type),r.ref),er[n]=!0)}}function ie(r,e){{var n=function(){_r||(_r=!0,v("%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://reactjs.org/link/special-props)",e))};n.isReactWarning=!0,Object.defineProperty(r,"key",{get:n,configurable:!0})}}function ae(r,e){{var n=function(){jr||(jr=!0,v("%s: `ref` 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://reactjs.org/link/special-props)",e))};n.isReactWarning=!0,Object.defineProperty(r,"ref",{get:n,configurable:!0})}}var se=function(r,e,n,o,a,s,i){var t={$$typeof:m,type:r,key:e,ref:n,props:i,_owner:s};return t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(t,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(t,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t};function de(r,e,n,o,a){{var s,i={},t=null,b=null;n!==void 0&&(Rr(n),t=""+n),oe(e)&&(Rr(e.key),t=""+e.key),ne(e)&&(b=e.ref,te(e,a));for(s in e)J.call(e,s)&&!ee.hasOwnProperty(s)&&(i[s]=e[s]);if(r&&r.defaultProps){var c=r.defaultProps;for(s in c)i[s]===void 0&&(i[s]=c[s])}if(t||b){var f=typeof r=="function"?r.displayName||r.name||"Unknown":r;t&&ie(i,f),b&&ae(i,f)}return se(r,t,b,a,o,Y.current,i)}}var nr=w.ReactCurrentOwner,Cr=w.ReactDebugCurrentFrame;function W(r){if(r){var e=r._owner,n=$(r.type,r._source,e?e.type:null);Cr.setExtraStackFrame(n)}else Cr.setExtraStackFrame(null)}var or;or=!1;function tr(r){return typeof r=="object"&&r!==null&&r.$$typeof===m}function Tr(){{if(nr.current){var r=S(nr.current.type);if(r)return`
`),c=t.length-1,p=b.length-1;c>=1&&p>=0&&t[c]!==b[p];)p--;for(;c>=1&&p>=0;c--,p--)if(t[c]!==b[p]){if(c!==1||p!==1)do if(c--,p--,p<0||t[c]!==b[p]){var R=`
`+t[c].replace(" at new "," at ");return r.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",r.displayName)),typeof r=="function"&&B.set(r,R),R}while(c>=1&&p>=0);break}}}finally{q=!1,Z.current=d,Gr(),Error.prepareStackTrace=a}var N=r?r.displayName||r.name:"",Dr=N?U(N):"";return typeof r=="function"&&B.set(r,Dr),Dr}function Hr(r,e,n){return br(r,!1)}function Xr(r){var e=r.prototype;return!!(e&&e.isReactComponent)}function $(r,e,n){if(r==null)return"";if(typeof r=="function")return br(r,Xr(r));if(typeof r=="string")return U(r);switch(r){case s:return U("Suspense");case v:return U("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case g:return Hr(r.render);case E:return $(r.type,e,n);case T:{var o=r,a=o._payload,d=o._init;try{return $(d(a),e,n)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,yr={},xr=w.ReactDebugCurrentFrame;function G(r){if(r){var e=r._owner,n=$(r.type,r._source,e?e.type:null);xr.setExtraStackFrame(n)}else xr.setExtraStackFrame(null)}function Zr(r,e,n,o,a){{var d=Function.call.bind(J);for(var i in r)if(d(r,i)){var t=void 0;try{if(typeof r[i]!="function"){var b=Error((o||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}t=r[i](e,i,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){t=c}t&&!(t instanceof Error)&&(G(a),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,i,typeof t),G(null)),t instanceof Error&&!(t.message in yr)&&(yr[t.message]=!0,G(a),f("Failed %s type: %s",n,t.message),G(null))}}}var Qr=Array.isArray;function rr(r){return Qr(r)}function qr(r){{var e=typeof Symbol=="function"&&Symbol.toStringTag,n=e&&r[Symbol.toStringTag]||r.constructor.name||"Object";return n}}function re(r){try{return Er(r),!1}catch{return!0}}function Er(r){return""+r}function Rr(r){if(re(r))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qr(r)),Er(r)}var Y=w.ReactCurrentOwner,ee={key:!0,ref:!0,__self:!0,__source:!0},_r,jr,er;er={};function ne(r){if(J.call(r,"ref")){var e=Object.getOwnPropertyDescriptor(r,"ref").get;if(e&&e.isReactWarning)return!1}return r.ref!==void 0}function oe(r){if(J.call(r,"key")){var e=Object.getOwnPropertyDescriptor(r,"key").get;if(e&&e.isReactWarning)return!1}return r.key!==void 0}function te(r,e){if(typeof r.ref=="string"&&Y.current&&e&&Y.current.stateNode!==e){var n=S(Y.current.type);er[n]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',S(Y.current.type),r.ref),er[n]=!0)}}function ie(r,e){{var n=function(){_r||(_r=!0,f("%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://reactjs.org/link/special-props)",e))};n.isReactWarning=!0,Object.defineProperty(r,"key",{get:n,configurable:!0})}}function ae(r,e){{var n=function(){jr||(jr=!0,f("%s: `ref` 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://reactjs.org/link/special-props)",e))};n.isReactWarning=!0,Object.defineProperty(r,"ref",{get:n,configurable:!0})}}var se=function(r,e,n,o,a,d,i){var t={$$typeof:m,type:r,key:e,ref:n,props:i,_owner:d};return t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(t,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(t,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t};function de(r,e,n,o,a){{var d,i={},t=null,b=null;n!==void 0&&(Rr(n),t=""+n),oe(e)&&(Rr(e.key),t=""+e.key),ne(e)&&(b=e.ref,te(e,a));for(d in e)J.call(e,d)&&!ee.hasOwnProperty(d)&&(i[d]=e[d]);if(r&&r.defaultProps){var c=r.defaultProps;for(d in c)i[d]===void 0&&(i[d]=c[d])}if(t||b){var p=typeof r=="function"?r.displayName||r.name||"Unknown":r;t&&ie(i,p),b&&ae(i,p)}return se(r,t,b,a,o,Y.current,i)}}var nr=w.ReactCurrentOwner,Cr=w.ReactDebugCurrentFrame;function W(r){if(r){var e=r._owner,n=$(r.type,r._source,e?e.type:null);Cr.setExtraStackFrame(n)}else Cr.setExtraStackFrame(null)}var or;or=!1;function tr(r){return typeof r=="object"&&r!==null&&r.$$typeof===m}function Tr(){{if(nr.current){var r=S(nr.current.type);if(r)return`

@@ -29,3 +29,3 @@ Check the render method of \``+r+"`."}return""}}function ue(r){{if(r!==void 0){var e=r.fileName.replace(/^.*[\\\/]/,""),n=r.lineNumber;return`

Check the top-level render call using <`+n+">.")}return e}}function Sr(r,e){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var n=le(e);if(kr[n])return;kr[n]=!0;var o="";r&&r._owner&&r._owner!==nr.current&&(o=" It was passed a child from "+S(r._owner.type)+"."),W(r),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),W(null)}}function Or(r,e){{if(typeof r!="object")return;if(rr(r))for(var n=0;n<r.length;n++){var o=r[n];tr(o)&&Sr(o,e)}else if(tr(r))r._store&&(r._store.validated=!0);else if(r){var a=l(r);if(typeof a=="function"&&a!==r.entries)for(var s=a.call(r),i;!(i=s.next()).done;)tr(i.value)&&Sr(i.value,e)}}}function ce(r){{var e=r.type;if(e==null||typeof e=="string")return;var n;if(typeof e=="function")n=e.propTypes;else if(typeof e=="object"&&(e.$$typeof===p||e.$$typeof===E))n=e.propTypes;else return;if(n){var o=S(e);Zr(n,r.props,"prop",o,r)}else if(e.PropTypes!==void 0&&!or){or=!0;var a=S(e);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",a||"Unknown")}typeof e.getDefaultProps=="function"&&!e.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fe(r){{for(var e=Object.keys(r.props),n=0;n<e.length;n++){var o=e[n];if(o!=="children"&&o!=="key"){W(r),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),W(null);break}}r.ref!==null&&(W(r),v("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}function Pr(r,e,n,o,a,s){{var i=Br(r);if(!i){var t="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(t+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var b=ue(a);b?t+=b:t+=Tr();var c;r===null?c="null":rr(r)?c="array":r!==void 0&&r.$$typeof===m?(c="<"+(S(r.type)||"Unknown")+" />",t=" Did you accidentally export a JSX literal instead of a component?"):c=typeof r,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,t)}var f=de(r,e,n,a,s);if(f==null)return f;if(i){var R=e.children;if(R!==void 0)if(o)if(rr(R)){for(var L=0;L<R.length;L++)Or(R[L],r);Object.freeze&&Object.freeze(R)}else v("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 Or(R,r)}return r===y?fe(f):ce(f),f}}function pe(r,e,n){return Pr(r,e,n,!0)}function he(r,e,n){return Pr(r,e,n,!1)}var ve=he,ge=pe;V.Fragment=y,V.jsx=ve,V.jsxs=ge}()),V}process.env.NODE_ENV==="production"?K.exports=Fr():K.exports=Ir();var d=K.exports;const Ar=`@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
Check the top-level render call using <`+n+">.")}return e}}function Sr(r,e){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var n=le(e);if(kr[n])return;kr[n]=!0;var o="";r&&r._owner&&r._owner!==nr.current&&(o=" It was passed a child from "+S(r._owner.type)+"."),W(r),f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),W(null)}}function Or(r,e){{if(typeof r!="object")return;if(rr(r))for(var n=0;n<r.length;n++){var o=r[n];tr(o)&&Sr(o,e)}else if(tr(r))r._store&&(r._store.validated=!0);else if(r){var a=l(r);if(typeof a=="function"&&a!==r.entries)for(var d=a.call(r),i;!(i=d.next()).done;)tr(i.value)&&Sr(i.value,e)}}}function ce(r){{var e=r.type;if(e==null||typeof e=="string")return;var n;if(typeof e=="function")n=e.propTypes;else if(typeof e=="object"&&(e.$$typeof===g||e.$$typeof===E))n=e.propTypes;else return;if(n){var o=S(e);Zr(n,r.props,"prop",o,r)}else if(e.PropTypes!==void 0&&!or){or=!0;var a=S(e);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",a||"Unknown")}typeof e.getDefaultProps=="function"&&!e.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fe(r){{for(var e=Object.keys(r.props),n=0;n<e.length;n++){var o=e[n];if(o!=="children"&&o!=="key"){W(r),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),W(null);break}}r.ref!==null&&(W(r),f("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}function Pr(r,e,n,o,a,d){{var i=Br(r);if(!i){var t="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(t+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var b=ue(a);b?t+=b:t+=Tr();var c;r===null?c="null":rr(r)?c="array":r!==void 0&&r.$$typeof===m?(c="<"+(S(r.type)||"Unknown")+" />",t=" Did you accidentally export a JSX literal instead of a component?"):c=typeof r,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,t)}var p=de(r,e,n,a,d);if(p==null)return p;if(i){var R=e.children;if(R!==void 0)if(o)if(rr(R)){for(var N=0;N<R.length;N++)Or(R[N],r);Object.freeze&&Object.freeze(R)}else f("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 Or(R,r)}return r===x?fe(p):ce(p),p}}function pe(r,e,n){return Pr(r,e,n,!0)}function he(r,e,n){return Pr(r,e,n,!1)}var ve=he,ge=pe;V.Fragment=x,V.jsx=ve,V.jsxs=ge}()),V}process.env.NODE_ENV==="production"?K.exports=Fr():K.exports=Ir();var u=K.exports;const Ar=`@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
* {

@@ -222,2 +222,2 @@ margin: 0;

}
`;function Wr(g){const[m,_]=x.useState(g),y=x.useRef(null),j=P=>{y.current&&!y.current.contains(P.target)&&_(!1)};return x.useEffect(()=>(document.addEventListener("click",j,!0),()=>{document.removeEventListener("click",j,!0)}),[]),{ref:y,isComponentVisible:m,setIsComponentVisible:_}}const sr="hudoro-input-dropdown-styles";(g=>{if(!document.getElementById(sr)){const m=document.createElement("style");m.id=sr,m.textContent=g,document.head.appendChild(m)}})(Ar);const Lr=({dropdownLists:g,onChange:m,defaultValue:_,size:y="md",multiSelect:j,searchAble:P,iconLeft:D,placeholder:C,onSearch:p})=>{const[u,h]=x.useState([]),{isComponentVisible:E,ref:T,setIsComponentVisible:I}=Wr(!1),M=()=>{I(l=>!l)},H=(l,w)=>{if(!j)h([{label:l,value:w}]),m([{label:l,value:w}]),I(!1);else if(u==null?void 0:u.find(k=>k.value===w)){const k=[...u?u.filter(X=>X.value!==w):[]];h(k),m(k)}else{const k=[...u||[],{label:l,value:w}];h(k),m(k)}};return x.useEffect(()=>{_&&h(_)},[_]),d.jsxs("div",{className:`hsd-input-dropdown-container hsd-input-dropdown-size-${y} ${E?"active":""}`,ref:T,onClick:M,children:[d.jsxs("div",{className:"hsd-input-dropdown-preview-container",children:[D?d.jsx(d.Fragment,{children:x.cloneElement(D,{width:dr(y),color:"#939E99"})}):null,d.jsx("div",{className:"hsd-input-dropdown-container-preview-item",children:u.length?j?u==null?void 0:u.map((l,w)=>d.jsx("p",{style:{minWidth:"max-content"},className:"hsd-input-dropdown-preview-item",children:l==null?void 0:l.label},w)):d.jsx("p",{style:{minWidth:"max-content"},children:u==null?void 0:u[0].label}):d.jsx("p",{className:"hsd-input-dropdown-placeholder",children:C||"Search"})}),d.jsx(Vr,{strokeWidth:2,width:dr(y)})]}),E?d.jsxs("div",{className:"hsd-input-dropdown-lists-container",onClick:l=>l.stopPropagation(),children:[P?d.jsxs("div",{className:"hsd-input-dropdown-container-dropdown-search",children:[d.jsx("div",{style:{display:"flex"},children:d.jsx(Nr,{strokeWidth:2,width:20})}),d.jsx("input",{onChange:l=>{p&&p(l.target.value)}})]}):null,d.jsx("div",{className:"hsd-input-dropdwon-item-container",children:g.map((l,w)=>d.jsxs("div",{className:`hsd-input-dropdwon-item ${u!=null&&u.find(v=>v.value===l.value)?"active":""}`,onClick:()=>H(l.label,l.value),children:[l.icon?d.jsx("div",{children:x.cloneElement(l.icon,{width:16})}):null,d.jsxs("div",{children:[" ",d.jsx("p",{children:l.label})]})]},w))})]}):null]})},Nr=({...g})=>d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",...g,viewBox:"0 0 20 20",fill:"none",children:[d.jsx("circle",{cx:"9.80547",cy:"9.8055",r:"7.49047",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M15.0153 15.4043L17.9519 18.3333",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]}),Vr=({...g})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...g,viewBox:"0 0 24 24",fill:"none",color:"#1976D2",children:d.jsx("path",{d:"M4 9L12 17L20 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),dr=g=>{if(g==="sm")return 16;if(g==="md")return 20;if(g==="lg")return 20};F.Dropdown=Lr,Object.defineProperty(F,Symbol.toStringTag,{value:"Module"})});
`;function Wr(h){const[m,_]=y.useState(h),x=y.useRef(null),j=P=>{x.current&&!x.current.contains(P.target)&&_(!1)};return y.useEffect(()=>(document.addEventListener("click",j,!0),()=>{document.removeEventListener("click",j,!0)}),[]),{ref:x,isComponentVisible:m,setIsComponentVisible:_}}const sr="hudoro-input-dropdown-styles";(h=>{if(!document.getElementById(sr)){const m=document.createElement("style");m.id=sr,m.textContent=h,document.head.appendChild(m)}})(Ar);const Nr=({dropdownLists:h,onChange:m,defaultValue:_,size:x="md",multiSelect:j,searchAble:P,iconLeft:D,placeholder:C,onSearch:g})=>{const[s,v]=y.useState([]),{isComponentVisible:E,ref:T,setIsComponentVisible:I}=Wr(!1),M=()=>{I(l=>!l)},H=(l,w)=>{if(!j)v([{label:l,value:w}]),m([{label:l,value:w}]),I(!1);else if(s==null?void 0:s.find(k=>k.value===w)){const k=[...s?s.filter(X=>X.value!==w):[]];v(k),m(k)}else{const k=[...s||[],{label:l,value:w}];v(k),m(k)}};return y.useEffect(()=>{_&&(s.length||v(_))},[_]),y.useEffect(()=>{if(s)for(let l of s)h.find(f=>f.value===l.value)||v([])},[h]),u.jsxs("div",{className:`hsd-input-dropdown-container hsd-input-dropdown-size-${x} ${E?"active":""}`,ref:T,onClick:M,children:[u.jsxs("div",{className:"hsd-input-dropdown-preview-container",children:[D?u.jsx(u.Fragment,{children:y.cloneElement(D,{width:dr(x),color:"#939E99"})}):null,u.jsx("div",{className:"hsd-input-dropdown-container-preview-item",children:s.length?j?s==null?void 0:s.map((l,w)=>u.jsx("p",{style:{minWidth:"max-content"},className:"hsd-input-dropdown-preview-item",children:l==null?void 0:l.label},w)):u.jsx("p",{style:{minWidth:"max-content"},children:s==null?void 0:s[0].label}):u.jsx("p",{className:"hsd-input-dropdown-placeholder",children:C||"Search"})}),u.jsx(Vr,{strokeWidth:2,width:dr(x)})]}),E?u.jsxs("div",{className:"hsd-input-dropdown-lists-container",onClick:l=>l.stopPropagation(),children:[P?u.jsxs("div",{className:"hsd-input-dropdown-container-dropdown-search",children:[u.jsx("div",{style:{display:"flex"},children:u.jsx(Lr,{strokeWidth:2,width:20})}),u.jsx("input",{onChange:l=>{g&&g(l.target.value)}})]}):null,u.jsx("div",{className:"hsd-input-dropdwon-item-container",children:h.map((l,w)=>u.jsxs("div",{className:`hsd-input-dropdwon-item ${s!=null&&s.find(f=>f.value===l.value)?"active":""}`,onClick:()=>H(l.label,l.value),children:[l.icon?u.jsx("div",{children:y.cloneElement(l.icon,{width:16})}):null,u.jsxs("div",{children:[" ",u.jsx("p",{children:l.label})]})]},w))})]}):null]})},Lr=({...h})=>u.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",...h,viewBox:"0 0 20 20",fill:"none",children:[u.jsx("circle",{cx:"9.80547",cy:"9.8055",r:"7.49047",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),u.jsx("path",{d:"M15.0153 15.4043L17.9519 18.3333",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]}),Vr=({...h})=>u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...h,viewBox:"0 0 24 24",fill:"none",color:"#1976D2",children:u.jsx("path",{d:"M4 9L12 17L20 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),dr=h=>{if(h==="sm")return 16;if(h==="md")return 20;if(h==="lg")return 20};F.Dropdown=Nr,Object.defineProperty(F,Symbol.toStringTag,{value:"Module"})});
{
"name": "@hudoro/dropdown",
"version": "0.0.3-beta.8",
"version": "0.0.3-beta.9",
"description": "dropdown component for Hudoro UI",

@@ -5,0 +5,0 @@ "author": "Prawito Hudoro",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc