@hybr1d-tech/charizard 0.4.43 → 0.4.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hybr1d-ui.js +34 -34
- package/dist/hybr1d-ui.umd.cjs +10 -10
- package/package.json +13 -13
package/dist/hybr1d-ui.js
CHANGED
|
@@ -28,7 +28,7 @@ import * as gt from "@zag-js/select";
|
|
|
28
28
|
var wn = { exports: {} }, _t = {};
|
|
29
29
|
/**
|
|
30
30
|
* @license React
|
|
31
|
-
* react-jsx-runtime.
|
|
31
|
+
* react-jsx-runtime.production.min.js
|
|
32
32
|
*
|
|
33
33
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
34
34
|
*
|
|
@@ -37,7 +37,35 @@ var wn = { exports: {} }, _t = {};
|
|
|
37
37
|
*/
|
|
38
38
|
var ms;
|
|
39
39
|
function To() {
|
|
40
|
-
|
|
40
|
+
if (ms)
|
|
41
|
+
return _t;
|
|
42
|
+
ms = 1;
|
|
43
|
+
var t = $s, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
44
|
+
function l(c, a, u) {
|
|
45
|
+
var d, p = {}, b = null, m = null;
|
|
46
|
+
u !== void 0 && (b = "" + u), a.key !== void 0 && (b = "" + a.key), a.ref !== void 0 && (m = a.ref);
|
|
47
|
+
for (d in a)
|
|
48
|
+
r.call(a, d) && !i.hasOwnProperty(d) && (p[d] = a[d]);
|
|
49
|
+
if (c && c.defaultProps)
|
|
50
|
+
for (d in a = c.defaultProps, a)
|
|
51
|
+
p[d] === void 0 && (p[d] = a[d]);
|
|
52
|
+
return { $$typeof: e, type: c, key: b, ref: m, props: p, _owner: n.current };
|
|
53
|
+
}
|
|
54
|
+
return _t.Fragment = s, _t.jsx = l, _t.jsxs = l, _t;
|
|
55
|
+
}
|
|
56
|
+
var At = {};
|
|
57
|
+
/**
|
|
58
|
+
* @license React
|
|
59
|
+
* react-jsx-runtime.development.js
|
|
60
|
+
*
|
|
61
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
62
|
+
*
|
|
63
|
+
* This source code is licensed under the MIT license found in the
|
|
64
|
+
* LICENSE file in the root directory of this source tree.
|
|
65
|
+
*/
|
|
66
|
+
var bs;
|
|
67
|
+
function Po() {
|
|
68
|
+
return bs || (bs = 1, process.env.NODE_ENV !== "production" && function() {
|
|
41
69
|
var t = $s, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), f = Symbol.iterator, v = "@@iterator";
|
|
42
70
|
function x(g) {
|
|
43
71
|
if (g === null || typeof g != "object")
|
|
@@ -619,38 +647,10 @@ Check the top-level render call using <` + j + ">.");
|
|
|
619
647
|
return ls(g, A, j, !1);
|
|
620
648
|
}
|
|
621
649
|
var uo = co, po = lo;
|
|
622
|
-
|
|
623
|
-
}()),
|
|
624
|
-
}
|
|
625
|
-
var At = {};
|
|
626
|
-
/**
|
|
627
|
-
* @license React
|
|
628
|
-
* react-jsx-runtime.production.min.js
|
|
629
|
-
*
|
|
630
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
631
|
-
*
|
|
632
|
-
* This source code is licensed under the MIT license found in the
|
|
633
|
-
* LICENSE file in the root directory of this source tree.
|
|
634
|
-
*/
|
|
635
|
-
var bs;
|
|
636
|
-
function Po() {
|
|
637
|
-
if (bs)
|
|
638
|
-
return At;
|
|
639
|
-
bs = 1;
|
|
640
|
-
var t = $s, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
641
|
-
function l(c, a, u) {
|
|
642
|
-
var d, p = {}, b = null, m = null;
|
|
643
|
-
u !== void 0 && (b = "" + u), a.key !== void 0 && (b = "" + a.key), a.ref !== void 0 && (m = a.ref);
|
|
644
|
-
for (d in a)
|
|
645
|
-
r.call(a, d) && !i.hasOwnProperty(d) && (p[d] = a[d]);
|
|
646
|
-
if (c && c.defaultProps)
|
|
647
|
-
for (d in a = c.defaultProps, a)
|
|
648
|
-
p[d] === void 0 && (p[d] = a[d]);
|
|
649
|
-
return { $$typeof: e, type: c, key: b, ref: m, props: p, _owner: n.current };
|
|
650
|
-
}
|
|
651
|
-
return At.Fragment = s, At.jsx = l, At.jsxs = l, At;
|
|
650
|
+
At.Fragment = r, At.jsx = uo, At.jsxs = po;
|
|
651
|
+
}()), At;
|
|
652
652
|
}
|
|
653
|
-
process.env.NODE_ENV === "production" ? wn.exports =
|
|
653
|
+
process.env.NODE_ENV === "production" ? wn.exports = To() : wn.exports = Po();
|
|
654
654
|
var o = wn.exports;
|
|
655
655
|
const Qe = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.53%209.47a.75.75%200%200%201%200%201.06l-5%205a.75.75%200%200%201-1.06%200l-5-5a.75.75%200%201%201%201.06-1.06L12%2013.94l4.47-4.47a.75.75%200%200%201%201.06%200Z'%20fill='currentColor'/%3e%3c/svg%3e", tr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.5%2014.25a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Z'%20fill='%23C5C2D7'/%3e%3c/svg%3e", Vo = "_btn_1xkr8_2", ko = "_disabled_1xkr8_23", Lo = "_btnSm_1xkr8_31", Do = "_btnAdapt_1xkr8_38", Oo = "_btnXs_1xkr8_42", Wo = "_btnPrimary_1xkr8_56", Ho = "_btnSecondary_1xkr8_65", Zo = "_btnGhost_1xkr8_74", Xo = "_btnDanger_1xkr8_84", Mo = "_btnLink_1xkr8_89", zo = "_btnMinimal_1xkr8_94", Yo = "_btnGrp_1xkr8_106", Jo = "_btnMenu_1xkr8_112", $o = "_btnMenuSingle_1xkr8_118", Uo = "_btnAddon_1xkr8_122", Qo = "_btnAddonPrimary_1xkr8_127", Ko = "_btnAddonSecondary_1xkr8_132", qo = "_btnAddonGhost_1xkr8_136", ei = "_btnImgPrimary_1xkr8_140", ti = "_btnImgSecondary_1xkr8_144", ni = "_btnImgGhost_1xkr8_148", si = "_btnImgSm_1xkr8_152", ri = "_menus_1xkr8_157", oi = "_menu_1xkr8_157", ii = "_menuDisabled_1xkr8_186", ai = "_menuIcon_1xkr8_195", li = "_customTrigger_1xkr8_206", ci = "_customTriggerActive_1xkr8_218", ui = "_actionsBoxRegular_1xkr8_224", di = "_actionsBoxSmall_1xkr8_235", pi = "_actionsDropdownSpan_1xkr8_240", gi = "_actionsDropdown_1xkr8_240", mi = "_actionsDropdownActive_1xkr8_261", bi = "_chevronDown_1xkr8_265", P = {
|
|
656
656
|
btn: Vo,
|
|
@@ -847,7 +847,7 @@ function nr({
|
|
|
847
847
|
}
|
|
848
848
|
)
|
|
849
849
|
] }),
|
|
850
|
-
/* @__PURE__ */ o.jsx("div", { ...m.positionerProps, children: /* @__PURE__ */ o.jsx("div", { ...m.contentProps, className: P.menus, children: r.filter((f) => f.filterFn ? f.filterFn(c) : !0).map((f) => /* @__PURE__ */ o.jsxs(
|
|
850
|
+
r.length > 0 && /* @__PURE__ */ o.jsx("div", { ...m.positionerProps, children: /* @__PURE__ */ o.jsx("div", { ...m.contentProps, className: P.menus, children: r.filter((f) => f.filterFn ? f.filterFn(c) : !0).map((f) => /* @__PURE__ */ o.jsxs(
|
|
851
851
|
"div",
|
|
852
852
|
{
|
|
853
853
|
className: B(P.menu, { [P.menuDisabled]: f.disabled }),
|
package/dist/hybr1d-ui.umd.cjs
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
(function(w,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react"),require("@zag-js/menu"),require("clsx"),require("@zag-js/react"),require("react-inlinesvg"),require("react-infinite-scroll-component"),require("use-deep-compare-effect"),require("@zag-js/checkbox"),require("react-country-flag"),require("@zag-js/tooltip"),require("zustand"),require("react-intersection-observer"),require("@tanstack/react-table"),require("@zag-js/dialog"),require("@zag-js/popover"),require("react-select"),require("@emotion/react"),require("react-dom"),require("@zag-js/radio-group"),require("@zag-js/tabs"),require("@dnd-kit/core"),require("@dnd-kit/sortable"),require("@dnd-kit/utilities"),require("@zag-js/pagination"),require("@zag-js/select")):typeof define=="function"&&define.amd?define(["exports","react","@zag-js/menu","clsx","@zag-js/react","react-inlinesvg","react-infinite-scroll-component","use-deep-compare-effect","@zag-js/checkbox","react-country-flag","@zag-js/tooltip","zustand","react-intersection-observer","@tanstack/react-table","@zag-js/dialog","@zag-js/popover","react-select","@emotion/react","react-dom","@zag-js/radio-group","@zag-js/tabs","@dnd-kit/core","@dnd-kit/sortable","@dnd-kit/utilities","@zag-js/pagination","@zag-js/select"],E):(w=typeof globalThis<"u"?globalThis:w||self,E(w.Charizard={},w.React,w.menu$1,w.clsx,w.react,w.ReactInlineSVG,w.InfiniteScroll,w.useDeepCompareEffect,w.checkbox$4,w.ReactCountryFlag,w.tooltip,w.zustand,w.reactIntersectionObserver,w.reactTable,w.dialog,w.popover,w.ReactSelect,w.react$1,w.ReactDOM,w.radio$4,w.zagTabs,w.core,w.sortable,w.utilities,w.pagination,w.select))})(this,function(w,E,Zs,T,O,Xs,Ms,Rt,zs,ln,Ys,no,Js,De,$s,Us,qe,V,Qs,Ks,qs,Me,kt,er,tr,nr){"use strict";function Re(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>t[o]})}}return e.default=t,Object.freeze(e)}const y=Re(E),ot=Re(Zs),ze=Re(zs),st=Re(Ys),rt=Re($s),oo=Re(Us),Vt=Re(Ks),so=Re(qs),ro=Re(tr),it=Re(nr);var cn={exports:{}},xt={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var io;function or(){if(io)return xt;io=1;var t=E,e=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(c,a,u){var d,p={},m=null,b=null;u!==void 0&&(m=""+u),a.key!==void 0&&(m=""+a.key),a.ref!==void 0&&(b=a.ref);for(d in a)s.call(a,d)&&!i.hasOwnProperty(d)&&(p[d]=a[d]);if(c&&c.defaultProps)for(d in a=c.defaultProps,a)p[d]===void 0&&(p[d]=a[d]);return{$$typeof:e,type:c,key:m,ref:b,props:p,_owner:n.current}}return xt.Fragment=o,xt.jsx=l,xt.jsxs=l,xt}var Ct={};/**
|
|
2
10
|
* @license React
|
|
3
11
|
* react-jsx-runtime.development.js
|
|
4
12
|
*
|
|
@@ -6,7 +14,7 @@
|
|
|
6
14
|
*
|
|
7
15
|
* This source code is licensed under the MIT license found in the
|
|
8
16
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
17
|
+
*/var ao;function sr(){return ao||(ao=1,process.env.NODE_ENV!=="production"&&function(){var t=E,e=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),f=Symbol.iterator,v="@@iterator";function x(g){if(g===null||typeof g!="object")return null;var A=f&&g[f]||g[v];return typeof A=="function"?A:null}var h=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function I(g){{for(var A=arguments.length,B=new Array(A>1?A-1:0),W=1;W<A;W++)B[W-1]=arguments[W];C("error",g,B)}}function C(g,A,B){{var W=h.ReactDebugCurrentFrame,$=W.getStackAddendum();$!==""&&(A+="%s",B=B.concat([$]));var K=B.map(function(Y){return String(Y)});K.unshift("Warning: "+A),Function.prototype.apply.call(console[g],console,K)}}var N=!1,F=!1,P=!1,G=!1,S=!1,k;k=Symbol.for("react.module.reference");function z(g){return!!(typeof g=="string"||typeof g=="function"||g===s||g===i||S||g===n||g===u||g===d||G||g===b||N||F||P||typeof g=="object"&&g!==null&&(g.$$typeof===m||g.$$typeof===p||g.$$typeof===l||g.$$typeof===c||g.$$typeof===a||g.$$typeof===k||g.getModuleId!==void 0))}function J(g,A,B){var W=g.displayName;if(W)return W;var $=A.displayName||A.name||"";return $!==""?B+"("+$+")":B}function j(g){return g.displayName||"Context"}function _(g){if(g==null)return null;if(typeof g.tag=="number"&&I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case s:return"Fragment";case o:return"Portal";case i:return"Profiler";case n:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case c:var A=g;return j(A)+".Consumer";case l:var B=g;return j(B._context)+".Provider";case a:return J(g,g.render,"ForwardRef");case p:var W=g.displayName||null;return W!==null?W:_(g.type)||"Memo";case m:{var $=g,K=$._payload,Y=$._init;try{return _(Y(K))}catch{return null}}}return null}var H=Object.assign,X=0,U,_e,ce,Be,Ne,Ze,Q;function be(){}be.__reactDisabledLog=!0;function je(){{if(X===0){U=console.log,_e=console.info,ce=console.warn,Be=console.error,Ne=console.group,Ze=console.groupCollapsed,Q=console.groupEnd;var g={configurable:!0,enumerable:!0,value:be,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}X++}}function ve(){{if(X--,X===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},g,{value:U}),info:H({},g,{value:_e}),warn:H({},g,{value:ce}),error:H({},g,{value:Be}),group:H({},g,{value:Ne}),groupCollapsed:H({},g,{value:Ze}),groupEnd:H({},g,{value:Q})})}X<0&&I("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var me=h.ReactCurrentDispatcher,Ee;function fe(g,A,B){{if(Ee===void 0)try{throw Error()}catch($){var W=$.stack.trim().match(/\n( *(at )?)/);Ee=W&&W[1]||""}return`
|
|
10
18
|
`+Ee+g}}var Ve=!1,Ue;{var mt=typeof WeakMap=="function"?WeakMap:Map;Ue=new mt}function Qe(g,A){if(!g||Ve)return"";{var B=Ue.get(g);if(B!==void 0)return B}var W;Ve=!0;var $=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var K;K=me.current,me.current=null,je();try{if(A){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(Xe){W=Xe}Reflect.construct(g,[],Y)}else{try{Y.call()}catch(Xe){W=Xe}g.call(Y.prototype)}}else{try{throw Error()}catch(Xe){W=Xe}g()}}catch(Xe){if(Xe&&W&&typeof Xe.stack=="string"){for(var M=Xe.stack.split(`
|
|
11
19
|
`),Se=W.stack.split(`
|
|
12
20
|
`),re=M.length-1,le=Se.length-1;re>=1&&le>=0&&M[re]!==Se[le];)le--;for(;re>=1&&le>=0;re--,le--)if(M[re]!==Se[le]){if(re!==1||le!==1)do if(re--,le--,le<0||M[re]!==Se[le]){var Ge=`
|
|
@@ -16,15 +24,7 @@ Check the render method of \``+g+"`."}return""}}function Xc(g){{if(g!==void 0){v
|
|
|
16
24
|
|
|
17
25
|
Check your code at `+A+":"+B+"."}return""}}var Ls={};function Mc(g){{var A=Vs();if(!A){var B=typeof g=="string"?g:g.displayName||g.name;B&&(A=`
|
|
18
26
|
|
|
19
|
-
Check the top-level render call using <`+B+">.")}return A}}function Ds(g,A){{if(!g._store||g._store.validated||g.key!=null)return;g._store.validated=!0;var B=Mc(A);if(Ls[B])return;Ls[B]=!0;var W="";g&&g._owner&&g._owner!==qn.current&&(W=" It was passed a child from "+_(g._owner.type)+"."),vt(g),I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',B,W),vt(null)}}function Os(g,A){{if(typeof g!="object")return;if(nt(g))for(var B=0;B<g.length;B++){var W=g[B];to(W)&&Ds(W,A)}else if(to(g))g._store&&(g._store.validated=!0);else if(g){var $=x(g);if(typeof $=="function"&&$!==g.entries)for(var K=$.call(g),Y;!(Y=K.next()).done;)to(Y.value)&&Ds(Y.value,A)}}}function zc(g){{var A=g.type;if(A==null||typeof A=="string")return;var B;if(typeof A=="function")B=A.propTypes;else if(typeof A=="object"&&(A.$$typeof===a||A.$$typeof===p))B=A.propTypes;else return;if(B){var W=_(A);Ae(B,g.props,"prop",W,g)}else if(A.PropTypes!==void 0&&!eo){eo=!0;var $=_(A);I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$||"Unknown")}typeof A.getDefaultProps=="function"&&!A.getDefaultProps.isReactClassApproved&&I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Yc(g){{for(var A=Object.keys(g.props),B=0;B<A.length;B++){var W=A[B];if(W!=="children"&&W!=="key"){vt(g),I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W),vt(null);break}}g.ref!==null&&(vt(g),I("Invalid attribute `ref` supplied to `React.Fragment`."),vt(null))}}function Ws(g,A,B,W,$,K){{var Y=z(g);if(!Y){var M="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(M+=" 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 Se=Xc($);Se?M+=Se:M+=Vs();var re;g===null?re="null":nt(g)?re="array":g!==void 0&&g.$$typeof===e?(re="<"+(_(g.type)||"Unknown")+" />",M=" Did you accidentally export a JSX literal instead of a component?"):re=typeof g,I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",re,M)}var le=Zc(g,A,B,$,K);if(le==null)return le;if(Y){var Ge=A.children;if(Ge!==void 0)if(W)if(nt(Ge)){for(var It=0;It<Ge.length;It++)Os(Ge[It],g);Object.freeze&&Object.freeze(Ge)}else I("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 Os(Ge,g)}return g===s?Yc(le):zc(le),le}}function Jc(g,A,B){return Ws(g,A,B,!0)}function $c(g,A,B){return Ws(g,A,B,!1)}var Uc=$c,Qc=Jc;xt.Fragment=s,xt.jsx=Uc,xt.jsxs=Qc}()),xt}var Ct={};/**
|
|
20
|
-
* @license React
|
|
21
|
-
* react-jsx-runtime.production.min.js
|
|
22
|
-
*
|
|
23
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the MIT license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/var ao;function sr(){if(ao)return Ct;ao=1;var t=E,e=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(c,a,u){var d,p={},m=null,b=null;u!==void 0&&(m=""+u),a.key!==void 0&&(m=""+a.key),a.ref!==void 0&&(b=a.ref);for(d in a)s.call(a,d)&&!i.hasOwnProperty(d)&&(p[d]=a[d]);if(c&&c.defaultProps)for(d in a=c.defaultProps,a)p[d]===void 0&&(p[d]=a[d]);return{$$typeof:e,type:c,key:m,ref:b,props:p,_owner:n.current}}return Ct.Fragment=o,Ct.jsx=l,Ct.jsxs=l,Ct}process.env.NODE_ENV==="production"?cn.exports=sr():cn.exports=or();var r=cn.exports;const Ye="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.53%209.47a.75.75%200%200%201%200%201.06l-5%205a.75.75%200%200%201-1.06%200l-5-5a.75.75%200%201%201%201.06-1.06L12%2013.94l4.47-4.47a.75.75%200%200%201%201.06%200Z'%20fill='currentColor'/%3e%3c/svg%3e",lo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.5%2014.25a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Z'%20fill='%23C5C2D7'/%3e%3c/svg%3e",L={btn:"_btn_1xkr8_2",disabled:"_disabled_1xkr8_23",btnSm:"_btnSm_1xkr8_31",btnAdapt:"_btnAdapt_1xkr8_38",btnXs:"_btnXs_1xkr8_42",btnPrimary:"_btnPrimary_1xkr8_56",btnSecondary:"_btnSecondary_1xkr8_65",btnGhost:"_btnGhost_1xkr8_74",btnDanger:"_btnDanger_1xkr8_84",btnLink:"_btnLink_1xkr8_89",btnMinimal:"_btnMinimal_1xkr8_94",btnGrp:"_btnGrp_1xkr8_106",btnMenu:"_btnMenu_1xkr8_112",btnMenuSingle:"_btnMenuSingle_1xkr8_118",btnAddon:"_btnAddon_1xkr8_122",btnAddonPrimary:"_btnAddonPrimary_1xkr8_127",btnAddonSecondary:"_btnAddonSecondary_1xkr8_132",btnAddonGhost:"_btnAddonGhost_1xkr8_136",btnImgPrimary:"_btnImgPrimary_1xkr8_140",btnImgSecondary:"_btnImgSecondary_1xkr8_144",btnImgGhost:"_btnImgGhost_1xkr8_148",btnImgSm:"_btnImgSm_1xkr8_152",menus:"_menus_1xkr8_157",menu:"_menu_1xkr8_157",menuDisabled:"_menuDisabled_1xkr8_186",menuIcon:"_menuIcon_1xkr8_195",customTrigger:"_customTrigger_1xkr8_206",customTriggerActive:"_customTriggerActive_1xkr8_218",actionsBoxRegular:"_actionsBoxRegular_1xkr8_224",actionsBoxSmall:"_actionsBoxSmall_1xkr8_235",actionsDropdownSpan:"_actionsDropdownSpan_1xkr8_240",actionsDropdown:"_actionsDropdown_1xkr8_240",actionsDropdownActive:"_actionsDropdownActive_1xkr8_261",chevronDown:"_chevronDown_1xkr8_265"};function Z({path:t,width:e,height:o,spanClassName:s="",svgClassName:n="",customSpanStyles:i={},customSvgStyles:l={},handleClick:c}){return r.jsx("span",{className:`${s}`,style:{...i},onClick:c,children:r.jsx(Xs,{src:t,className:n,style:{...l},onError:a=>console.log(a.message),width:e,height:o})})}var Ie=(t=>(t.PRIMARY="primary",t.SECONDARY="secondary",t.GHOST="ghost",t.DANGER="danger",t.LINK="link",t.MINIMAL="minimal",t))(Ie||{});function q({children:t,variant:e="primary",disabled:o=!1,onClick:s,type:n="button",size:i="md",customStyles:l={}}){return r.jsx("button",{className:T(L.btn,e==="primary"&&L.btnPrimary,e==="secondary"&&L.btnSecondary,e==="ghost"&&L.btnGhost,e==="danger"&&L.btnDanger,e==="link"&&L.btnLink,e==="minimal"&&L.btnMinimal,i==="sm"&&L.btnSm,i==="adapt"&&L.btnAdapt,i==="xs"&&L.btnXs,o&&L.disabled),disabled:o,onClick:s,type:n,style:l,children:t})}function co({children:t,variant:e="primary",disabled:o=!1,menuItems:s,onClick:n,isCustomTrigger:i=!1,isSingleBtnTrigger:l=!1,customData:c,size:a="md",actionsDropdownOptions:u,positionerProps:d}){const[p,m]=O.useMachine(ot.machine({id:y.useId(),positioning:{placement:(d==null?void 0:d.placement)||"bottom-end"}})),b=ot.connect(p,m,O.normalizeProps);return y.useEffect(()=>{!i||!(u!=null&&u.setIsActive)||u.setIsActive(b.isOpen)},[b.isOpen]),r.jsxs(r.Fragment,{children:[l?r.jsxs("button",{className:T(L.btn,L.btnMenuSingle,e==="primary"&&L.btnPrimary,e==="secondary"&&L.btnSecondary,e==="ghost"&&L.btnGhost,a==="sm"&&L.btnSm,o&&L.disabled),disabled:o,...b.triggerProps,children:[t,r.jsx(Z,{path:Ye,width:24,height:24,svgClassName:L.chevronDown})]}):i?r.jsx("button",{className:T("hybr1d-ui-reset-btn",L.customTrigger,b.isOpen&&L.customTriggerActive),...b.triggerProps,children:t}):r.jsxs("div",{className:L.btnGrp,children:[r.jsx("button",{className:T(L.btn,L.btnMenu,e==="primary"&&L.btnPrimary,e==="secondary"&&L.btnSecondary,e==="ghost"&&L.btnGhost,a==="sm"&&L.btnSm,o&&L.disabled),disabled:o,onClick:n,children:t}),r.jsx("button",{className:T(L.btn,L.btnAddon,e==="primary"&&L.btnPrimary,e==="primary"&&L.btnAddonPrimary,e==="secondary"&&L.btnSecondary,e==="secondary"&&L.btnAddonSecondary,e==="ghost"&&L.btnGhost,e==="ghost"&&L.btnAddonGhost,a==="sm"&&L.btnSm,o&&L.disabled),disabled:o,...b.triggerProps,children:r.jsx("img",{src:Ye,alt:"chevron down",className:T(e==="primary"&&L.btnImgPrimary,e==="secondary"&&L.btnImgSecondary,e==="ghost"&&L.btnImgGhost,a==="sm"&&L.btnImgSm)})})]}),r.jsx("div",{...b.positionerProps,children:r.jsx("div",{...b.contentProps,className:L.menus,children:s.filter(f=>f.filterFn?f.filterFn(c):!0).map(f=>r.jsxs("div",{className:T(L.menu,{[L.menuDisabled]:f.disabled}),...b.getItemProps({id:f.label.toLowerCase()}),onClick:f.disabled?void 0:i?()=>f.onClick(c):f.onClick,children:[f.iconSrc&&r.jsx(Z,{path:f.iconSrc,svgClassName:L.menuIcon}),f.label]},f.label))})})]})}function rr({menuItems:t,data:e,variant:o="regular"}){const[s,n]=y.useState(!1);return r.jsx(co,{menuItems:t,isCustomTrigger:!0,customData:e,actionsDropdownOptions:{setIsActive:n},children:r.jsx("div",{className:T(o==="regular"&&L.actionsBoxRegular,o==="small"&&L.actionsBoxSmall,s&&L.actionsBoxActive),children:r.jsx(Z,{path:lo,svgClassName:T(L.actionsDropdown,s&&L.actionsDropdownActive),spanClassName:L.actionsDropdownSpan})})})}q.MenuButton=co,q.ActionsDropdown=rr;const Oe={container:"_container_1wo2u_1",containerRow:"_containerRow_1wo2u_11",title:"_title_1wo2u_16",textRow:"_textRow_1wo2u_25",desc:"_desc_1wo2u_29",info:"_info_1wo2u_41",iconBox:"_iconBox_1wo2u_45",icon:"_icon_1wo2u_45"};function un({icon:t,title:e,desc:o,flexDir:s="column",btnText:n,onClick:i}){return r.jsxs("div",{className:T(Oe.container,s==="row"&&Oe.containerRow),children:[r.jsx("div",{className:Oe.iconBox,children:r.jsx(Z,{path:t,svgClassName:Oe.icon})}),r.jsxs("div",{className:Oe.info,children:[r.jsx("h6",{className:T(Oe.title,s==="row"&&Oe.textRow),children:e}),o&&r.jsx("p",{className:T(Oe.desc,s==="row"&&Oe.textRow),children:o})]}),n&&r.jsx(q,{onClick:i,variant:Ie.GHOST,children:n})]})}const ir="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='currentColor'%3e%3cpath%20d='M4.627%208.889%204%204l2.483%202.207L9.5%208.889H4.627Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.65%203.337a.75.75%200%200%201%20.848.102l1.988%201.767A8.725%208.725%200%200%201%2012%203.25a8.725%208.725%200%200%201%206.187%202.563A8.725%208.725%200%200%201%2020.75%2012a8.725%208.725%200%200%201-2.563%206.187A8.724%208.724%200%200%201%2012%2020.75a8.725%208.725%200%200%201-6.187-2.563%208.764%208.764%200%200%201-1.876-2.784.75.75%200%200%201%201.381-.584A7.262%207.262%200%200%200%2012%2019.25a7.225%207.225%200%200%200%205.127-2.123A7.225%207.225%200%200%200%2019.25%2012a7.226%207.226%200%200%200-2.123-5.127A7.225%207.225%200%200%200%2012%204.75a7.225%207.225%200%200%200-4.375%201.469l2.373%202.11a.75.75%200%200%201-.498%201.31H4.628a.75.75%200%200%201-.744-.655l-.628-4.889a.75.75%200%200%201%20.394-.758ZM5.404%206.25l-.405-.36.094.736c.1-.128.204-.254.31-.376Zm.458%201.888c.199-.314.42-.612.663-.891l1.002.89H5.862Z'/%3e%3c/g%3e%3c/svg%3e",ee={filters:"_filters_1mo7k_1",filtersInfo:"_filtersInfo_1mo7k_7",filter:"_filter_1mo7k_1",filterIcon2:"_filterIcon2_1mo7k_22",filterCol:"_filterCol_1mo7k_26",filterActive:"_filterActive_1mo7k_34",filterIcon:"_filterIcon_1mo7k_22",resetIcon2:"_resetIcon2_1mo7k_44",totalSelected:"_totalSelected_1mo7k_70",positioner:"_positioner_1mo7k_82",dropdown:"_dropdown_1mo7k_86",options:"_options_1mo7k_101",optionsEmpty:"_optionsEmpty_1mo7k_109",option:"_option_1mo7k_101",selectedFilters:"_selectedFilters_1mo7k_134",dropdownSearch:"_dropdownSearch_1mo7k_141",footerBox:"_footerBox_1mo7k_150",footer:"_footer_1mo7k_150",resetBtn:"_resetBtn_1mo7k_170",resetIcon:"_resetIcon_1mo7k_44",optionLabel:"_optionLabel_1mo7k_200",filterTooltip:"_filterTooltip_1mo7k_230",filterValue:"_filterValue_1mo7k_246",filterTooltipTrigger:"_filterTooltipTrigger_1mo7k_260"};function ar({label:t,value:e,addFilters:o,removeFilters:s,checked:n,filterKey:i,filterDispatch:l,countryCode:c,customName:a}){const[u,d]=O.useMachine(ze.machine({id:e,name:t,checked:n,onCheckedChange:({checked:m})=>{m?o(i,e,l):s(i,e,l)}})),p=ze.connect(u,d,O.normalizeProps);return r.jsxs("label",{...p.rootProps,className:ee.optionLabel,children:[r.jsx("div",{...p.controlProps}),r.jsxs("span",{...p.labelProps,children:[c&&r.jsx(ln,{countryCode:c||"IN",style:{fontSize:"15px",lineHeight:"15px",marginLeft:"-5px",marginRight:"7px"}}),a?r.jsx("div",{dangerouslySetInnerHTML:{__html:a}}):t]}),r.jsx("input",{...p.hiddenInputProps})]})}function lr({filter:t,tableFilter:e,selectedFilters:o}){var c;const[s,n]=O.useMachine(st.machine({id:t.key})),i=st.connect(s,n,O.normalizeProps),l=(c=t.options)==null?void 0:c.filter(a=>e==null?void 0:e.values.includes(a.value));return r.jsxs(r.Fragment,{children:[r.jsxs("div",{...i.triggerProps,className:T("hybr1d-ui-reset-btn",ee.filterTooltipTrigger),children:[r.jsx("div",{className:ee.filterCol,children:t.name}),o!==0&&r.jsx("span",{className:ee.totalSelected,children:o})]}),i.isOpen&&o!==0&&r.jsx("div",{...i.positionerProps,children:r.jsx("div",{...i.contentProps,className:ee.filterTooltip,children:l.map(a=>r.jsx("div",{className:ee.filterValue,children:a.name},a.value))})})]})}const uo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.53%203.47a.75.75%200%200%200-1.06%200l-4%204a.75.75%200%200%200%200%201.06l4%204a.75.75%200%201%200%201.06-1.06L8.81%208.75H11c.88%200%202.217.27%203.312%201.059%201.057.76%201.938%202.035%201.938%204.191%200%202.156-.881%203.43-1.938%204.191-1.095.789-2.432%201.059-3.312%201.059a.75.75%200%200%200%200%201.5c1.12%200%202.783-.33%204.188-1.341%201.443-1.04%202.562-2.765%202.562-5.409%200-2.644-1.119-4.37-2.562-5.409C13.783%207.58%2012.12%207.25%2011%207.25H8.81l2.72-2.72a.75.75%200%200%200%200-1.06Z'%20fill='currentColor'/%3e%3c/svg%3e",cr="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11%204.75a6.25%206.25%200%201%200%200%2012.5%206.25%206.25%200%200%200%200-12.5ZM3.25%2011a7.75%207.75%200%201%201%2013.735%204.924l3.545%203.546a.75.75%200%201%201-1.06%201.06l-3.546-3.545A7.75%207.75%200%200%201%203.25%2011Z'%20fill='currentColor'/%3e%3c/svg%3e",et="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.47%206.47a.75.75%200%200%201%201.06%200L12%2010.94l4.47-4.47a.75.75%200%201%201%201.06%201.06L13.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-4.47%204.47a.75.75%200%200%201-1.06-1.06L10.94%2012%206.47%207.53a.75.75%200%200%201%200-1.06Z'%20fill='currentColor'/%3e%3c/svg%3e",yt={box:"_box_w0y7n_1",search:"_search_w0y7n_5",searchIcon:"_searchIcon_w0y7n_29",clearIcon:"_clearIcon_w0y7n_30"};function Je({id:t,search:e,setSearch:o,placeholder:s="Search",clearIconClearFn:n}){const i=typeof o=="function"&&typeof e=="string";return r.jsxs("div",{className:yt.box,children:[i?r.jsx("input",{id:t,type:"text",className:yt.search,placeholder:s,value:e,onChange:l=>{o(l.target.value)}}):r.jsx("input",{id:t,type:"text",className:yt.search,placeholder:s}),r.jsx("span",{children:r.jsx("img",{src:cr,alt:"search",className:yt.searchIcon})}),i&&e.length!==0&&r.jsx("span",{onClick:()=>{typeof n=="function"&&n(),o("")},children:r.jsx("img",{src:et,alt:"Clear Search",className:yt.clearIcon})})]})}function ur({filter:t,tableFilters:e,tableFilter:o,addFilters:s,removeFilters:n,resetFilters:i,filterDispatch:l}){var x,h;const[c,a]=y.useState(""),[u,d]=O.useMachine(ot.machine({id:t.id,closeOnSelect:!1})),p=ot.connect(u,d,O.normalizeProps),m=t.options.filter(I=>I.name?I.name.toLowerCase().includes(c.toLowerCase()):!1),b=o==null?void 0:o.values.length,f=()=>{i(o==null?void 0:o.key,l),p.close()},v=I=>{let C=!1;return e.forEach(N=>{N.values.forEach(F=>{if(F===I){C=!0;return}})}),C};return r.jsxs("div",{children:[r.jsxs("button",{className:T("hybr1d-ui-reset-btn",ee.filter,p.isOpen&&ee.filterActive),...p.triggerProps,children:[r.jsx(lr,{filter:t,tableFilter:o,selectedFilters:b}),r.jsx(Z,{path:Ye,svgClassName:ee.filterIcon2})]}),r.jsx("div",{...p.positionerProps,className:ee.positioner,children:p.isOpen&&r.jsxs("div",{...p.contentProps,className:ee.dropdown,onKeyDown:()=>{},children:[!((x=t.config)!=null&&x.hideSearch)&&r.jsx("div",{className:ee.dropdownSearch,children:r.jsx(Je,{id:"filter-search",search:c,setSearch:a,placeholder:((h=t.config)==null?void 0:h.placeholder)||"Search"})}),r.jsx("div",{className:ee.options,children:m.length===0?r.jsx("div",{className:ee.optionsEmpty,children:"No results found"}):m.map((I,C)=>r.jsx("div",{...p.getItemProps({id:I.value}),className:ee.option,children:r.jsx(ar,{label:I.name,value:I.value,filterKey:t.key,addFilters:s,removeFilters:n,checked:v(I.value),filterDispatch:l,countryCode:I.country_code,customName:I.customName},I.value)},C))}),r.jsx("div",{className:ee.footerBox,children:r.jsxs("div",{className:ee.footer,children:[r.jsxs("div",{className:ee.selectedFilters,children:[b," Selected"]}),r.jsxs("button",{className:T("hybr1d-ui-reset-btn",ee.resetBtn),onClick:f,children:[r.jsx(Z,{path:uo,svgClassName:ee.resetIcon}),"Reset"]})]})})]})})]})}var dn={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const pn=new Map,Lt=t=>{const e=pn.get(t);return e?Object.fromEntries(Object.entries(e.stores).map(([o,s])=>[o,s.getState()])):{}},dr=(t,e,o)=>{if(t===void 0)return{type:"untracked",connection:e.connect(o)};const s=pn.get(o.name);if(s)return{type:"tracked",store:t,...s};const n={connection:e.connect(o),stores:{}};return pn.set(o.name,n),{type:"tracked",store:t,...n}},po=(t,e={})=>(o,s,n)=>{const{enabled:i,anonymousActionType:l,store:c,...a}=e;let u;try{u=(i??(dn?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return(dn?"production":void 0)!=="production"&&i&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),t(o,s,n);const{connection:d,...p}=dr(c,u,a);let m=!0;n.setState=(v,x,h)=>{const I=o(v,x);if(!m)return I;const C=h===void 0?{type:l||"anonymous"}:typeof h=="string"?{type:h}:h;return c===void 0?(d==null||d.send(C,s()),I):(d==null||d.send({...C,type:`${c}/${C.type}`},{...Lt(a.name),[c]:n.getState()}),I)};const b=(...v)=>{const x=m;m=!1,o(...v),m=x},f=t(n.setState,s,n);if(p.type==="untracked"?d==null||d.init(f):(p.stores[p.store]=n,d==null||d.init(Object.fromEntries(Object.entries(p.stores).map(([v,x])=>[v,v===p.store?f:x.getState()])))),n.dispatchFromDevtools&&typeof n.dispatch=="function"){let v=!1;const x=n.dispatch;n.dispatch=(...h)=>{(dn?"production":void 0)!=="production"&&h[0].type==="__setState"&&!v&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),v=!0),x(...h)}}return d.subscribe(v=>{var x;switch(v.type){case"ACTION":if(typeof v.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return gn(v.payload,h=>{if(h.type==="__setState"){if(c===void 0){b(h.state);return}Object.keys(h.state).length!==1&&console.error(`
|
|
27
|
+
Check the top-level render call using <`+B+">.")}return A}}function Ds(g,A){{if(!g._store||g._store.validated||g.key!=null)return;g._store.validated=!0;var B=Mc(A);if(Ls[B])return;Ls[B]=!0;var W="";g&&g._owner&&g._owner!==qn.current&&(W=" It was passed a child from "+_(g._owner.type)+"."),vt(g),I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',B,W),vt(null)}}function Os(g,A){{if(typeof g!="object")return;if(nt(g))for(var B=0;B<g.length;B++){var W=g[B];to(W)&&Ds(W,A)}else if(to(g))g._store&&(g._store.validated=!0);else if(g){var $=x(g);if(typeof $=="function"&&$!==g.entries)for(var K=$.call(g),Y;!(Y=K.next()).done;)to(Y.value)&&Ds(Y.value,A)}}}function zc(g){{var A=g.type;if(A==null||typeof A=="string")return;var B;if(typeof A=="function")B=A.propTypes;else if(typeof A=="object"&&(A.$$typeof===a||A.$$typeof===p))B=A.propTypes;else return;if(B){var W=_(A);Ae(B,g.props,"prop",W,g)}else if(A.PropTypes!==void 0&&!eo){eo=!0;var $=_(A);I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$||"Unknown")}typeof A.getDefaultProps=="function"&&!A.getDefaultProps.isReactClassApproved&&I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Yc(g){{for(var A=Object.keys(g.props),B=0;B<A.length;B++){var W=A[B];if(W!=="children"&&W!=="key"){vt(g),I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W),vt(null);break}}g.ref!==null&&(vt(g),I("Invalid attribute `ref` supplied to `React.Fragment`."),vt(null))}}function Ws(g,A,B,W,$,K){{var Y=z(g);if(!Y){var M="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(M+=" 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 Se=Xc($);Se?M+=Se:M+=Vs();var re;g===null?re="null":nt(g)?re="array":g!==void 0&&g.$$typeof===e?(re="<"+(_(g.type)||"Unknown")+" />",M=" Did you accidentally export a JSX literal instead of a component?"):re=typeof g,I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",re,M)}var le=Zc(g,A,B,$,K);if(le==null)return le;if(Y){var Ge=A.children;if(Ge!==void 0)if(W)if(nt(Ge)){for(var It=0;It<Ge.length;It++)Os(Ge[It],g);Object.freeze&&Object.freeze(Ge)}else I("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 Os(Ge,g)}return g===s?Yc(le):zc(le),le}}function Jc(g,A,B){return Ws(g,A,B,!0)}function $c(g,A,B){return Ws(g,A,B,!1)}var Uc=$c,Qc=Jc;Ct.Fragment=s,Ct.jsx=Uc,Ct.jsxs=Qc}()),Ct}process.env.NODE_ENV==="production"?cn.exports=or():cn.exports=sr();var r=cn.exports;const Ye="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.53%209.47a.75.75%200%200%201%200%201.06l-5%205a.75.75%200%200%201-1.06%200l-5-5a.75.75%200%201%201%201.06-1.06L12%2013.94l4.47-4.47a.75.75%200%200%201%201.06%200Z'%20fill='currentColor'/%3e%3c/svg%3e",lo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.5%2014.25a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Z'%20fill='%23C5C2D7'/%3e%3c/svg%3e",L={btn:"_btn_1xkr8_2",disabled:"_disabled_1xkr8_23",btnSm:"_btnSm_1xkr8_31",btnAdapt:"_btnAdapt_1xkr8_38",btnXs:"_btnXs_1xkr8_42",btnPrimary:"_btnPrimary_1xkr8_56",btnSecondary:"_btnSecondary_1xkr8_65",btnGhost:"_btnGhost_1xkr8_74",btnDanger:"_btnDanger_1xkr8_84",btnLink:"_btnLink_1xkr8_89",btnMinimal:"_btnMinimal_1xkr8_94",btnGrp:"_btnGrp_1xkr8_106",btnMenu:"_btnMenu_1xkr8_112",btnMenuSingle:"_btnMenuSingle_1xkr8_118",btnAddon:"_btnAddon_1xkr8_122",btnAddonPrimary:"_btnAddonPrimary_1xkr8_127",btnAddonSecondary:"_btnAddonSecondary_1xkr8_132",btnAddonGhost:"_btnAddonGhost_1xkr8_136",btnImgPrimary:"_btnImgPrimary_1xkr8_140",btnImgSecondary:"_btnImgSecondary_1xkr8_144",btnImgGhost:"_btnImgGhost_1xkr8_148",btnImgSm:"_btnImgSm_1xkr8_152",menus:"_menus_1xkr8_157",menu:"_menu_1xkr8_157",menuDisabled:"_menuDisabled_1xkr8_186",menuIcon:"_menuIcon_1xkr8_195",customTrigger:"_customTrigger_1xkr8_206",customTriggerActive:"_customTriggerActive_1xkr8_218",actionsBoxRegular:"_actionsBoxRegular_1xkr8_224",actionsBoxSmall:"_actionsBoxSmall_1xkr8_235",actionsDropdownSpan:"_actionsDropdownSpan_1xkr8_240",actionsDropdown:"_actionsDropdown_1xkr8_240",actionsDropdownActive:"_actionsDropdownActive_1xkr8_261",chevronDown:"_chevronDown_1xkr8_265"};function Z({path:t,width:e,height:o,spanClassName:s="",svgClassName:n="",customSpanStyles:i={},customSvgStyles:l={},handleClick:c}){return r.jsx("span",{className:`${s}`,style:{...i},onClick:c,children:r.jsx(Xs,{src:t,className:n,style:{...l},onError:a=>console.log(a.message),width:e,height:o})})}var Ie=(t=>(t.PRIMARY="primary",t.SECONDARY="secondary",t.GHOST="ghost",t.DANGER="danger",t.LINK="link",t.MINIMAL="minimal",t))(Ie||{});function q({children:t,variant:e="primary",disabled:o=!1,onClick:s,type:n="button",size:i="md",customStyles:l={}}){return r.jsx("button",{className:T(L.btn,e==="primary"&&L.btnPrimary,e==="secondary"&&L.btnSecondary,e==="ghost"&&L.btnGhost,e==="danger"&&L.btnDanger,e==="link"&&L.btnLink,e==="minimal"&&L.btnMinimal,i==="sm"&&L.btnSm,i==="adapt"&&L.btnAdapt,i==="xs"&&L.btnXs,o&&L.disabled),disabled:o,onClick:s,type:n,style:l,children:t})}function co({children:t,variant:e="primary",disabled:o=!1,menuItems:s,onClick:n,isCustomTrigger:i=!1,isSingleBtnTrigger:l=!1,customData:c,size:a="md",actionsDropdownOptions:u,positionerProps:d}){const[p,m]=O.useMachine(ot.machine({id:y.useId(),positioning:{placement:(d==null?void 0:d.placement)||"bottom-end"}})),b=ot.connect(p,m,O.normalizeProps);return y.useEffect(()=>{!i||!(u!=null&&u.setIsActive)||u.setIsActive(b.isOpen)},[b.isOpen]),r.jsxs(r.Fragment,{children:[l?r.jsxs("button",{className:T(L.btn,L.btnMenuSingle,e==="primary"&&L.btnPrimary,e==="secondary"&&L.btnSecondary,e==="ghost"&&L.btnGhost,a==="sm"&&L.btnSm,o&&L.disabled),disabled:o,...b.triggerProps,children:[t,r.jsx(Z,{path:Ye,width:24,height:24,svgClassName:L.chevronDown})]}):i?r.jsx("button",{className:T("hybr1d-ui-reset-btn",L.customTrigger,b.isOpen&&L.customTriggerActive),...b.triggerProps,children:t}):r.jsxs("div",{className:L.btnGrp,children:[r.jsx("button",{className:T(L.btn,L.btnMenu,e==="primary"&&L.btnPrimary,e==="secondary"&&L.btnSecondary,e==="ghost"&&L.btnGhost,a==="sm"&&L.btnSm,o&&L.disabled),disabled:o,onClick:n,children:t}),r.jsx("button",{className:T(L.btn,L.btnAddon,e==="primary"&&L.btnPrimary,e==="primary"&&L.btnAddonPrimary,e==="secondary"&&L.btnSecondary,e==="secondary"&&L.btnAddonSecondary,e==="ghost"&&L.btnGhost,e==="ghost"&&L.btnAddonGhost,a==="sm"&&L.btnSm,o&&L.disabled),disabled:o,...b.triggerProps,children:r.jsx("img",{src:Ye,alt:"chevron down",className:T(e==="primary"&&L.btnImgPrimary,e==="secondary"&&L.btnImgSecondary,e==="ghost"&&L.btnImgGhost,a==="sm"&&L.btnImgSm)})})]}),s.length>0&&r.jsx("div",{...b.positionerProps,children:r.jsx("div",{...b.contentProps,className:L.menus,children:s.filter(f=>f.filterFn?f.filterFn(c):!0).map(f=>r.jsxs("div",{className:T(L.menu,{[L.menuDisabled]:f.disabled}),...b.getItemProps({id:f.label.toLowerCase()}),onClick:f.disabled?void 0:i?()=>f.onClick(c):f.onClick,children:[f.iconSrc&&r.jsx(Z,{path:f.iconSrc,svgClassName:L.menuIcon}),f.label]},f.label))})})]})}function rr({menuItems:t,data:e,variant:o="regular"}){const[s,n]=y.useState(!1);return r.jsx(co,{menuItems:t,isCustomTrigger:!0,customData:e,actionsDropdownOptions:{setIsActive:n},children:r.jsx("div",{className:T(o==="regular"&&L.actionsBoxRegular,o==="small"&&L.actionsBoxSmall,s&&L.actionsBoxActive),children:r.jsx(Z,{path:lo,svgClassName:T(L.actionsDropdown,s&&L.actionsDropdownActive),spanClassName:L.actionsDropdownSpan})})})}q.MenuButton=co,q.ActionsDropdown=rr;const Oe={container:"_container_1wo2u_1",containerRow:"_containerRow_1wo2u_11",title:"_title_1wo2u_16",textRow:"_textRow_1wo2u_25",desc:"_desc_1wo2u_29",info:"_info_1wo2u_41",iconBox:"_iconBox_1wo2u_45",icon:"_icon_1wo2u_45"};function un({icon:t,title:e,desc:o,flexDir:s="column",btnText:n,onClick:i}){return r.jsxs("div",{className:T(Oe.container,s==="row"&&Oe.containerRow),children:[r.jsx("div",{className:Oe.iconBox,children:r.jsx(Z,{path:t,svgClassName:Oe.icon})}),r.jsxs("div",{className:Oe.info,children:[r.jsx("h6",{className:T(Oe.title,s==="row"&&Oe.textRow),children:e}),o&&r.jsx("p",{className:T(Oe.desc,s==="row"&&Oe.textRow),children:o})]}),n&&r.jsx(q,{onClick:i,variant:Ie.GHOST,children:n})]})}const ir="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='currentColor'%3e%3cpath%20d='M4.627%208.889%204%204l2.483%202.207L9.5%208.889H4.627Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.65%203.337a.75.75%200%200%201%20.848.102l1.988%201.767A8.725%208.725%200%200%201%2012%203.25a8.725%208.725%200%200%201%206.187%202.563A8.725%208.725%200%200%201%2020.75%2012a8.725%208.725%200%200%201-2.563%206.187A8.724%208.724%200%200%201%2012%2020.75a8.725%208.725%200%200%201-6.187-2.563%208.764%208.764%200%200%201-1.876-2.784.75.75%200%200%201%201.381-.584A7.262%207.262%200%200%200%2012%2019.25a7.225%207.225%200%200%200%205.127-2.123A7.225%207.225%200%200%200%2019.25%2012a7.226%207.226%200%200%200-2.123-5.127A7.225%207.225%200%200%200%2012%204.75a7.225%207.225%200%200%200-4.375%201.469l2.373%202.11a.75.75%200%200%201-.498%201.31H4.628a.75.75%200%200%201-.744-.655l-.628-4.889a.75.75%200%200%201%20.394-.758ZM5.404%206.25l-.405-.36.094.736c.1-.128.204-.254.31-.376Zm.458%201.888c.199-.314.42-.612.663-.891l1.002.89H5.862Z'/%3e%3c/g%3e%3c/svg%3e",ee={filters:"_filters_1mo7k_1",filtersInfo:"_filtersInfo_1mo7k_7",filter:"_filter_1mo7k_1",filterIcon2:"_filterIcon2_1mo7k_22",filterCol:"_filterCol_1mo7k_26",filterActive:"_filterActive_1mo7k_34",filterIcon:"_filterIcon_1mo7k_22",resetIcon2:"_resetIcon2_1mo7k_44",totalSelected:"_totalSelected_1mo7k_70",positioner:"_positioner_1mo7k_82",dropdown:"_dropdown_1mo7k_86",options:"_options_1mo7k_101",optionsEmpty:"_optionsEmpty_1mo7k_109",option:"_option_1mo7k_101",selectedFilters:"_selectedFilters_1mo7k_134",dropdownSearch:"_dropdownSearch_1mo7k_141",footerBox:"_footerBox_1mo7k_150",footer:"_footer_1mo7k_150",resetBtn:"_resetBtn_1mo7k_170",resetIcon:"_resetIcon_1mo7k_44",optionLabel:"_optionLabel_1mo7k_200",filterTooltip:"_filterTooltip_1mo7k_230",filterValue:"_filterValue_1mo7k_246",filterTooltipTrigger:"_filterTooltipTrigger_1mo7k_260"};function ar({label:t,value:e,addFilters:o,removeFilters:s,checked:n,filterKey:i,filterDispatch:l,countryCode:c,customName:a}){const[u,d]=O.useMachine(ze.machine({id:e,name:t,checked:n,onCheckedChange:({checked:m})=>{m?o(i,e,l):s(i,e,l)}})),p=ze.connect(u,d,O.normalizeProps);return r.jsxs("label",{...p.rootProps,className:ee.optionLabel,children:[r.jsx("div",{...p.controlProps}),r.jsxs("span",{...p.labelProps,children:[c&&r.jsx(ln,{countryCode:c||"IN",style:{fontSize:"15px",lineHeight:"15px",marginLeft:"-5px",marginRight:"7px"}}),a?r.jsx("div",{dangerouslySetInnerHTML:{__html:a}}):t]}),r.jsx("input",{...p.hiddenInputProps})]})}function lr({filter:t,tableFilter:e,selectedFilters:o}){var c;const[s,n]=O.useMachine(st.machine({id:t.key})),i=st.connect(s,n,O.normalizeProps),l=(c=t.options)==null?void 0:c.filter(a=>e==null?void 0:e.values.includes(a.value));return r.jsxs(r.Fragment,{children:[r.jsxs("div",{...i.triggerProps,className:T("hybr1d-ui-reset-btn",ee.filterTooltipTrigger),children:[r.jsx("div",{className:ee.filterCol,children:t.name}),o!==0&&r.jsx("span",{className:ee.totalSelected,children:o})]}),i.isOpen&&o!==0&&r.jsx("div",{...i.positionerProps,children:r.jsx("div",{...i.contentProps,className:ee.filterTooltip,children:l.map(a=>r.jsx("div",{className:ee.filterValue,children:a.name},a.value))})})]})}const uo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.53%203.47a.75.75%200%200%200-1.06%200l-4%204a.75.75%200%200%200%200%201.06l4%204a.75.75%200%201%200%201.06-1.06L8.81%208.75H11c.88%200%202.217.27%203.312%201.059%201.057.76%201.938%202.035%201.938%204.191%200%202.156-.881%203.43-1.938%204.191-1.095.789-2.432%201.059-3.312%201.059a.75.75%200%200%200%200%201.5c1.12%200%202.783-.33%204.188-1.341%201.443-1.04%202.562-2.765%202.562-5.409%200-2.644-1.119-4.37-2.562-5.409C13.783%207.58%2012.12%207.25%2011%207.25H8.81l2.72-2.72a.75.75%200%200%200%200-1.06Z'%20fill='currentColor'/%3e%3c/svg%3e",cr="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11%204.75a6.25%206.25%200%201%200%200%2012.5%206.25%206.25%200%200%200%200-12.5ZM3.25%2011a7.75%207.75%200%201%201%2013.735%204.924l3.545%203.546a.75.75%200%201%201-1.06%201.06l-3.546-3.545A7.75%207.75%200%200%201%203.25%2011Z'%20fill='currentColor'/%3e%3c/svg%3e",et="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.47%206.47a.75.75%200%200%201%201.06%200L12%2010.94l4.47-4.47a.75.75%200%201%201%201.06%201.06L13.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-4.47%204.47a.75.75%200%200%201-1.06-1.06L10.94%2012%206.47%207.53a.75.75%200%200%201%200-1.06Z'%20fill='currentColor'/%3e%3c/svg%3e",yt={box:"_box_w0y7n_1",search:"_search_w0y7n_5",searchIcon:"_searchIcon_w0y7n_29",clearIcon:"_clearIcon_w0y7n_30"};function Je({id:t,search:e,setSearch:o,placeholder:s="Search",clearIconClearFn:n}){const i=typeof o=="function"&&typeof e=="string";return r.jsxs("div",{className:yt.box,children:[i?r.jsx("input",{id:t,type:"text",className:yt.search,placeholder:s,value:e,onChange:l=>{o(l.target.value)}}):r.jsx("input",{id:t,type:"text",className:yt.search,placeholder:s}),r.jsx("span",{children:r.jsx("img",{src:cr,alt:"search",className:yt.searchIcon})}),i&&e.length!==0&&r.jsx("span",{onClick:()=>{typeof n=="function"&&n(),o("")},children:r.jsx("img",{src:et,alt:"Clear Search",className:yt.clearIcon})})]})}function ur({filter:t,tableFilters:e,tableFilter:o,addFilters:s,removeFilters:n,resetFilters:i,filterDispatch:l}){var x,h;const[c,a]=y.useState(""),[u,d]=O.useMachine(ot.machine({id:t.id,closeOnSelect:!1})),p=ot.connect(u,d,O.normalizeProps),m=t.options.filter(I=>I.name?I.name.toLowerCase().includes(c.toLowerCase()):!1),b=o==null?void 0:o.values.length,f=()=>{i(o==null?void 0:o.key,l),p.close()},v=I=>{let C=!1;return e.forEach(N=>{N.values.forEach(F=>{if(F===I){C=!0;return}})}),C};return r.jsxs("div",{children:[r.jsxs("button",{className:T("hybr1d-ui-reset-btn",ee.filter,p.isOpen&&ee.filterActive),...p.triggerProps,children:[r.jsx(lr,{filter:t,tableFilter:o,selectedFilters:b}),r.jsx(Z,{path:Ye,svgClassName:ee.filterIcon2})]}),r.jsx("div",{...p.positionerProps,className:ee.positioner,children:p.isOpen&&r.jsxs("div",{...p.contentProps,className:ee.dropdown,onKeyDown:()=>{},children:[!((x=t.config)!=null&&x.hideSearch)&&r.jsx("div",{className:ee.dropdownSearch,children:r.jsx(Je,{id:"filter-search",search:c,setSearch:a,placeholder:((h=t.config)==null?void 0:h.placeholder)||"Search"})}),r.jsx("div",{className:ee.options,children:m.length===0?r.jsx("div",{className:ee.optionsEmpty,children:"No results found"}):m.map((I,C)=>r.jsx("div",{...p.getItemProps({id:I.value}),className:ee.option,children:r.jsx(ar,{label:I.name,value:I.value,filterKey:t.key,addFilters:s,removeFilters:n,checked:v(I.value),filterDispatch:l,countryCode:I.country_code,customName:I.customName},I.value)},C))}),r.jsx("div",{className:ee.footerBox,children:r.jsxs("div",{className:ee.footer,children:[r.jsxs("div",{className:ee.selectedFilters,children:[b," Selected"]}),r.jsxs("button",{className:T("hybr1d-ui-reset-btn",ee.resetBtn),onClick:f,children:[r.jsx(Z,{path:uo,svgClassName:ee.resetIcon}),"Reset"]})]})})]})})]})}var dn={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const pn=new Map,Lt=t=>{const e=pn.get(t);return e?Object.fromEntries(Object.entries(e.stores).map(([o,s])=>[o,s.getState()])):{}},dr=(t,e,o)=>{if(t===void 0)return{type:"untracked",connection:e.connect(o)};const s=pn.get(o.name);if(s)return{type:"tracked",store:t,...s};const n={connection:e.connect(o),stores:{}};return pn.set(o.name,n),{type:"tracked",store:t,...n}},po=(t,e={})=>(o,s,n)=>{const{enabled:i,anonymousActionType:l,store:c,...a}=e;let u;try{u=(i??(dn?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return(dn?"production":void 0)!=="production"&&i&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),t(o,s,n);const{connection:d,...p}=dr(c,u,a);let m=!0;n.setState=(v,x,h)=>{const I=o(v,x);if(!m)return I;const C=h===void 0?{type:l||"anonymous"}:typeof h=="string"?{type:h}:h;return c===void 0?(d==null||d.send(C,s()),I):(d==null||d.send({...C,type:`${c}/${C.type}`},{...Lt(a.name),[c]:n.getState()}),I)};const b=(...v)=>{const x=m;m=!1,o(...v),m=x},f=t(n.setState,s,n);if(p.type==="untracked"?d==null||d.init(f):(p.stores[p.store]=n,d==null||d.init(Object.fromEntries(Object.entries(p.stores).map(([v,x])=>[v,v===p.store?f:x.getState()])))),n.dispatchFromDevtools&&typeof n.dispatch=="function"){let v=!1;const x=n.dispatch;n.dispatch=(...h)=>{(dn?"production":void 0)!=="production"&&h[0].type==="__setState"&&!v&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),v=!0),x(...h)}}return d.subscribe(v=>{var x;switch(v.type){case"ACTION":if(typeof v.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return gn(v.payload,h=>{if(h.type==="__setState"){if(c===void 0){b(h.state);return}Object.keys(h.state).length!==1&&console.error(`
|
|
28
28
|
[zustand devtools middleware] Unsupported __setState action format.
|
|
29
29
|
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
30
30
|
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hybr1d-tech/charizard",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -48,22 +48,22 @@
|
|
|
48
48
|
"zustand": "^4.5.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@storybook/addon-essentials": "^
|
|
52
|
-
"@storybook/addon-interactions": "^
|
|
53
|
-
"@storybook/addon-links": "^
|
|
54
|
-
"@storybook/blocks": "^
|
|
55
|
-
"@storybook/react": "^
|
|
56
|
-
"@storybook/react-vite": "^
|
|
51
|
+
"@storybook/addon-essentials": "^8.0.0",
|
|
52
|
+
"@storybook/addon-interactions": "^8.0.0",
|
|
53
|
+
"@storybook/addon-links": "^8.0.0",
|
|
54
|
+
"@storybook/blocks": "^8.0.0",
|
|
55
|
+
"@storybook/react": "^8.0.0",
|
|
56
|
+
"@storybook/react-vite": "^8.0.0",
|
|
57
57
|
"@storybook/testing-library": "^0.2.2",
|
|
58
|
-
"@types/node": "^20.11.
|
|
59
|
-
"@types/react": "^18.2.
|
|
60
|
-
"@types/react-dom": "^18.2.
|
|
58
|
+
"@types/node": "^20.11.28",
|
|
59
|
+
"@types/react": "^18.2.66",
|
|
60
|
+
"@types/react-dom": "^18.2.22",
|
|
61
61
|
"@vitejs/plugin-react": "^4.2.1",
|
|
62
62
|
"prop-types": "^15.8.1",
|
|
63
|
-
"storybook": "^
|
|
63
|
+
"storybook": "^8.0.0",
|
|
64
64
|
"storybook-css-modules-preset": "^1.1.1",
|
|
65
|
-
"typescript": "^5.
|
|
66
|
-
"vite": "^5.1.
|
|
65
|
+
"typescript": "^5.4.2",
|
|
66
|
+
"vite": "^5.1.6",
|
|
67
67
|
"vite-plugin-checker": "^0.6.4",
|
|
68
68
|
"vite-plugin-dts": "^3.7.3",
|
|
69
69
|
"vite-plugin-libcss": "^1.1.1"
|