liquid-glass-for-react 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/App.d.ts +3 -0
  2. package/dist/App.d.ts.map +1 -0
  3. package/dist/components/Alert/Alert.d.ts +7 -0
  4. package/dist/components/Alert/Alert.d.ts.map +1 -0
  5. package/dist/components/Alert/index.d.ts +2 -0
  6. package/dist/components/Alert/index.d.ts.map +1 -0
  7. package/dist/components/Badge/Badge.d.ts +7 -0
  8. package/dist/components/Badge/Badge.d.ts.map +1 -0
  9. package/dist/components/Badge/index.d.ts +2 -0
  10. package/dist/components/Badge/index.d.ts.map +1 -0
  11. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
  12. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  13. package/dist/components/Breadcrumbs/index.d.ts +2 -0
  14. package/dist/components/Breadcrumbs/index.d.ts.map +1 -0
  15. package/dist/components/Button/Button.d.ts +11 -0
  16. package/dist/components/Button/Button.d.ts.map +1 -0
  17. package/dist/components/Button/index.d.ts +2 -0
  18. package/dist/components/Button/index.d.ts.map +1 -0
  19. package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -0
  20. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  21. package/dist/components/ButtonGroup/index.d.ts +2 -0
  22. package/dist/components/ButtonGroup/index.d.ts.map +1 -0
  23. package/dist/components/Calendar/Calendar.d.ts +5 -0
  24. package/dist/components/Calendar/Calendar.d.ts.map +1 -0
  25. package/dist/components/Calendar/index.d.ts +2 -0
  26. package/dist/components/Calendar/index.d.ts.map +1 -0
  27. package/dist/components/Card/Card.d.ts +7 -0
  28. package/dist/components/Card/Card.d.ts.map +1 -0
  29. package/dist/components/Card/CardBody.d.ts +6 -0
  30. package/dist/components/Card/CardBody.d.ts.map +1 -0
  31. package/dist/components/Card/CardFooter.d.ts +6 -0
  32. package/dist/components/Card/CardFooter.d.ts.map +1 -0
  33. package/dist/components/Card/CardHeader.d.ts +14 -0
  34. package/dist/components/Card/CardHeader.d.ts.map +1 -0
  35. package/dist/components/Card/index.d.ts +3 -0
  36. package/dist/components/Card/index.d.ts.map +1 -0
  37. package/dist/components/Checkbox/Checkbox.d.ts +7 -0
  38. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
  39. package/dist/components/Checkbox/index.d.ts +2 -0
  40. package/dist/components/Checkbox/index.d.ts.map +1 -0
  41. package/dist/components/Chip/Chip.d.ts +6 -0
  42. package/dist/components/Chip/Chip.d.ts.map +1 -0
  43. package/dist/components/Chip/index.d.ts +2 -0
  44. package/dist/components/Chip/index.d.ts.map +1 -0
  45. package/dist/components/Code/Code.d.ts +6 -0
  46. package/dist/components/Code/Code.d.ts.map +1 -0
  47. package/dist/components/Code/index.d.ts +2 -0
  48. package/dist/components/Code/index.d.ts.map +1 -0
  49. package/dist/components/DatePicker/DatePicker.d.ts +2 -0
  50. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -0
  51. package/dist/components/DatePicker/index.d.ts +2 -0
  52. package/dist/components/DatePicker/index.d.ts.map +1 -0
  53. package/dist/components/Dropdown/Dropdown.d.ts +2 -0
  54. package/dist/components/Dropdown/Dropdown.d.ts.map +1 -0
  55. package/dist/components/Dropdown/index.d.ts +2 -0
  56. package/dist/components/Dropdown/index.d.ts.map +1 -0
  57. package/dist/components/Input/Input.d.ts +3 -0
  58. package/dist/components/Input/Input.d.ts.map +1 -0
  59. package/dist/components/Modal/Modal.d.ts +9 -0
  60. package/dist/components/Modal/Modal.d.ts.map +1 -0
  61. package/dist/components/Modal/index.d.ts +2 -0
  62. package/dist/components/Modal/index.d.ts.map +1 -0
  63. package/dist/components/Pagination/Pagination.d.ts +7 -0
  64. package/dist/components/Pagination/Pagination.d.ts.map +1 -0
  65. package/dist/components/Pagination/index.d.ts +2 -0
  66. package/dist/components/Pagination/index.d.ts.map +1 -0
  67. package/dist/components/Radio/Radio.d.ts +8 -0
  68. package/dist/components/Radio/Radio.d.ts.map +1 -0
  69. package/dist/components/Radio/index.d.ts +2 -0
  70. package/dist/components/Radio/index.d.ts.map +1 -0
  71. package/dist/components/index.d.ts +16 -0
  72. package/dist/components/index.d.ts.map +1 -0
  73. package/dist/index.d.ts +2 -0
  74. package/dist/liquid-glass-for-react.es.js +945 -0
  75. package/dist/liquid-glass-for-react.umd.js +133 -0
  76. package/dist/main.d.ts +1 -0
  77. package/dist/main.d.ts.map +1 -0
  78. package/package.json +22 -23
  79. package/dist/my-liquid-ui.es.js +0 -282
  80. package/dist/my-liquid-ui.umd.js +0 -22
@@ -0,0 +1,133 @@
1
+ (function(f,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("react"),require("framer-motion")):typeof define=="function"&&define.amd?define(["exports","react","framer-motion"],u):(f=typeof globalThis<"u"?globalThis:f||self,u(f.LiquidGlassForReact={},f.React,f.FramerMotion))})(this,function(f,u,c){"use strict";var T={exports:{}},E={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and 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 L;function ae(){if(L)return E;L=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(s,o,l){var h=null;if(l!==void 0&&(h=""+l),o.key!==void 0&&(h=""+o.key),"key"in o){l={};for(var b in o)b!=="key"&&(l[b]=o[b])}else l=o;return o=l.ref,{$$typeof:e,type:s,key:h,ref:o!==void 0?o:null,props:l}}return E.Fragment=t,E.jsx=a,E.jsxs=a,E}var O={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var B;function se(){return B||(B=1,process.env.NODE_ENV!=="production"&&function(){function e(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===mt?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case R:return"Fragment";case lt:return"Profiler";case ot:return"StrictMode";case ut:return"Suspense";case ht:return"SuspenseList";case bt:return"Activity"}if(typeof r=="object")switch(typeof r.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case st:return"Portal";case ct:return(r.displayName||"Context")+".Provider";case it:return(r._context.displayName||"Context")+".Consumer";case dt:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case ft:return i=r.displayName||null,i!==null?i:e(r.type)||"Memo";case K:i=r._payload,r=r._init;try{return e(r(i))}catch{}}return null}function t(r){return""+r}function a(r){try{t(r);var i=!1}catch{i=!0}if(i){i=console;var p=i.error,g=typeof Symbol=="function"&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object";return p.call(i,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",g),t(r)}}function s(r){if(r===R)return"<>";if(typeof r=="object"&&r!==null&&r.$$typeof===K)return"<...>";try{var i=e(r);return i?"<"+i+">":"<...>"}catch{return"<...>"}}function o(){var r=D.A;return r===null?null:r.getOwner()}function l(){return Error("react-stack-top-frame")}function h(r){if(Q.call(r,"key")){var i=Object.getOwnPropertyDescriptor(r,"key").get;if(i&&i.isReactWarning)return!1}return r.key!==void 0}function b(r,i){function p(){M||(M=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",i))}p.isReactWarning=!0,Object.defineProperty(r,"key",{get:p,configurable:!0})}function d(){var r=e(this.type);return ee[r]||(ee[r]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),r=this.props.ref,r!==void 0?r:null}function w(r,i,p,g,N,k,z,Y){return p=k.ref,r={$$typeof:j,type:r,key:i,props:k,_owner:N},(p!==void 0?p:null)!==null?Object.defineProperty(r,"ref",{enumerable:!1,get:d}):Object.defineProperty(r,"ref",{enumerable:!1,value:null}),r._store={},Object.defineProperty(r._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(r,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:z}),Object.defineProperty(r,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Y}),Object.freeze&&(Object.freeze(r.props),Object.freeze(r)),r}function m(r,i,p,g,N,k,z,Y){var v=i.children;if(v!==void 0)if(g)if(pt(v)){for(g=0;g<v.length;g++)x(v[g]);Object.freeze&&Object.freeze(v)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else x(v);if(Q.call(i,"key")){v=e(r);var C=Object.keys(i).filter(function(xt){return xt!=="key"});g=0<C.length?"{key: someKey, "+C.join(": ..., ")+": ...}":"{key: someKey}",ne[v+g]||(C=0<C.length?"{"+C.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
+ let props = %s;
19
+ <%s {...props} />
20
+ React keys must be passed directly to JSX without using spread:
21
+ let props = %s;
22
+ <%s key={someKey} {...props} />`,g,v,C,v),ne[v+g]=!0)}if(v=null,p!==void 0&&(a(p),v=""+p),h(i)&&(a(i.key),v=""+i.key),"key"in i){p={};for(var F in i)F!=="key"&&(p[F]=i[F])}else p=i;return v&&b(p,typeof r=="function"?r.displayName||r.name||"Unknown":r),w(r,v,k,N,o(),p,z,Y)}function x(r){typeof r=="object"&&r!==null&&r.$$typeof===j&&r._store&&(r._store.validated=1)}var y=u,j=Symbol.for("react.transitional.element"),st=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),ot=Symbol.for("react.strict_mode"),lt=Symbol.for("react.profiler"),it=Symbol.for("react.consumer"),ct=Symbol.for("react.context"),dt=Symbol.for("react.forward_ref"),ut=Symbol.for("react.suspense"),ht=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),bt=Symbol.for("react.activity"),mt=Symbol.for("react.client.reference"),D=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.prototype.hasOwnProperty,pt=Array.isArray,I=console.createTask?console.createTask:function(){return null};y={"react-stack-bottom-frame":function(r){return r()}};var M,ee={},te=y["react-stack-bottom-frame"].bind(y,l)(),re=I(s(l)),ne={};O.Fragment=R,O.jsx=function(r,i,p,g,N){var k=1e4>D.recentlyCreatedOwnerStacks++;return m(r,i,p,!1,g,N,k?Error("react-stack-top-frame"):te,k?I(s(r)):re)},O.jsxs=function(r,i,p,g,N){var k=1e4>D.recentlyCreatedOwnerStacks++;return m(r,i,p,!0,g,N,k?Error("react-stack-top-frame"):te,k?I(s(r)):re)}}()),O}var H;function oe(){return H||(H=1,process.env.NODE_ENV==="production"?T.exports=ae():T.exports=se()),T.exports}var n=oe();/**
23
+ * @license lucide-react v0.525.0 - ISC
24
+ *
25
+ * This source code is licensed under the ISC license.
26
+ * See the LICENSE file in the root directory of this source tree.
27
+ */const le=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ie=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,s)=>s?s.toUpperCase():a.toLowerCase()),W=e=>{const t=ie(e);return t.charAt(0).toUpperCase()+t.slice(1)},V=(...e)=>e.filter((t,a,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===a).join(" ").trim(),ce=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
28
+ * @license lucide-react v0.525.0 - ISC
29
+ *
30
+ * This source code is licensed under the ISC license.
31
+ * See the LICENSE file in the root directory of this source tree.
32
+ */var de={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
33
+ * @license lucide-react v0.525.0 - ISC
34
+ *
35
+ * This source code is licensed under the ISC license.
36
+ * See the LICENSE file in the root directory of this source tree.
37
+ */const ue=u.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:o="",children:l,iconNode:h,...b},d)=>u.createElement("svg",{ref:d,...de,width:t,height:t,stroke:e,strokeWidth:s?Number(a)*24/Number(t):a,className:V("lucide",o),...!l&&!ce(b)&&{"aria-hidden":"true"},...b},[...h.map(([w,m])=>u.createElement(w,m)),...Array.isArray(l)?l:[l]]));/**
38
+ * @license lucide-react v0.525.0 - ISC
39
+ *
40
+ * This source code is licensed under the ISC license.
41
+ * See the LICENSE file in the root directory of this source tree.
42
+ */const _=(e,t)=>{const a=u.forwardRef(({className:s,...o},l)=>u.createElement(ue,{ref:l,iconNode:t,className:V(`lucide-${le(W(e))}`,`lucide-${e}`,s),...o}));return a.displayName=W(e),a};/**
43
+ * @license lucide-react v0.525.0 - ISC
44
+ *
45
+ * This source code is licensed under the ISC license.
46
+ * See the LICENSE file in the root directory of this source tree.
47
+ */const he=_("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
48
+ * @license lucide-react v0.525.0 - ISC
49
+ *
50
+ * This source code is licensed under the ISC license.
51
+ * See the LICENSE file in the root directory of this source tree.
52
+ */const fe=_("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
53
+ * @license lucide-react v0.525.0 - ISC
54
+ *
55
+ * This source code is licensed under the ISC license.
56
+ * See the LICENSE file in the root directory of this source tree.
57
+ */const P=_("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
58
+ * @license lucide-react v0.525.0 - ISC
59
+ *
60
+ * This source code is licensed under the ISC license.
61
+ * See the LICENSE file in the root directory of this source tree.
62
+ */const be=_("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
63
+ * @license lucide-react v0.525.0 - ISC
64
+ *
65
+ * This source code is licensed under the ISC license.
66
+ * See the LICENSE file in the root directory of this source tree.
67
+ */const me=_("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
68
+ * @license lucide-react v0.525.0 - ISC
69
+ *
70
+ * This source code is licensed under the ISC license.
71
+ * See the LICENSE file in the root directory of this source tree.
72
+ */const G=_("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),pe="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg",xe={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1},exit:{opacity:0,scale:.9}};function we(e){const{message:t,isDefaultVisible:a,onClose:s}=e,[o,l]=u.useState(a);function h(){l(!1),s&&s()}return n.jsx(c.AnimatePresence,{children:o&&n.jsxs(c.motion.div,{variants:xe,initial:"hidden",animate:"visible",exit:"exit",className:`${pe} rounded-2xl p-4 flex items-center space-x-4 w-full max-w-md`,children:[n.jsx(be,{className:"text-yellow-300",size:24}),n.jsx("span",{className:"text-white flex-grow",children:t}),n.jsx(c.motion.button,{whileHover:{scale:1.2},whileTap:{scale:.8},onClick:h,children:n.jsx(G,{className:"text-white/70 hover:text-white",size:20})})]})})}const ge="backdrop-blur-lg shadow-lg";function S(e){const{children:t,variant:a,color:s,className:o,onPress:l,isIconOnly:h}=e;let b="px-6 py-3";h&&(b="p-2");let d="",w="",m="",x="",y="",j="";switch(s){case"primary":d="text-white",w="bg-blue-500",m="hover:bg-sky-400",x="",y="bg-[conic-gradient(from_-45deg,#38bdf8,#3b82f6,#38bdf8,#3b82f6,#38bdf8)] shadow-md shadow-sky-400/40",j="p-[1px]";break;case"success":d="text-white",w="bg-emerald-500",m="hover:bg-green-400",x="",y="bg-[conic-gradient(from_-45deg,#22c55e,#34d399,#22c55e,#34d399,#22c55e)] shadow-md shadow-green-400/40",j="p-[1px]";break;case"secondary":d="text-white",w="bg-slate-500",m="hover:bg-gray-400",x="",y="bg-[conic-gradient(from_-45deg,#94a3b8,#d1d5db,#94a3b8,#d1d5db,#94a3b8)] shadow-md shadow-gray-400/40",j="p-[1px]";break;case"warning":d="text-white",w="bg-amber-500",m="hover:bg-yellow-400",x="",y="bg-[conic-gradient(from_-45deg,#eab308,#fbbf24,#eab308,#fbbf24,#eab308)] shadow-md shadow-amber-400/40",j="p-[1px]";break;case"danger":d="text-white",w="bg-red-600",m="hover:bg-rose-400",x="",y="bg-[conic-gradient(from_-45deg,#fb7185,#dc2626,#fb7185,#dc2626,#fb7185)] shadow-md shadow-rose-400/40",j="p-[1px]";break;default:d="text-black",w="bg-white/80",m="hover:bg-white/40",x="",y="bg-[conic-gradient(from_-45deg,#fafafa,#e2e8f0,#fafafa,#e2e8f0,#fafafa)] shadow-sm shadow-white/30",j="p-[1px]";break}return n.jsx(c.motion.button,{whileTap:{scale:1.75},whileHover:{scale:1.25},onClick:l,children:n.jsx("div",{className:`
73
+ rounded-full
74
+ ${x}
75
+ ${j}
76
+ ${y}
77
+ `,children:n.jsx("div",{className:`
78
+ ${b}
79
+ ${ge}
80
+ rounded-full
81
+ ${d}
82
+ ${w}
83
+ font-semibold
84
+ transition-colors
85
+ duration-300
86
+ ${m}
87
+ ${o}
88
+ `,children:t})})})}const ve="bg-white/10 backdrop-blur-md border border-white/20 shadow-inner";function ye(e){const{isDefaultChecked:t,label:a,onValueChange:s}=e,[o,l]=u.useState(t);function h(){s&&s(!o),l(!o)}return n.jsxs("label",{className:"flex items-center space-x-3 cursor-pointer text-white",children:[n.jsx(c.motion.div,{whileTap:{scale:1.75},whileHover:{scale:1.25},className:`
89
+ ${ve}
90
+ w-6
91
+ h-6
92
+ rounded-md
93
+ flex
94
+ items-center
95
+ justify-center
96
+ transition-colors
97
+ ${o?"bg-blue-500/50":""}
98
+ `,onClick:()=>h(),children:n.jsx(c.AnimatePresence,{children:o&&n.jsx(c.motion.div,{initial:{scale:0},animate:{scale:1},exit:{scale:0},children:n.jsx(he,{size:16})})})}),n.jsx("span",{children:a})]})}var q={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},U=u.createContext&&u.createContext(q),je=["attr","size","title"];function ke(e,t){if(e==null)return{};var a=Ne(e,t),s,o;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)s=l[o],!(t.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(a[s]=e[s])}return a}function Ne(e,t){if(e==null)return{};var a={};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){if(t.indexOf(s)>=0)continue;a[s]=e[s]}return a}function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},$.apply(this,arguments)}function J(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),a.push.apply(a,s)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?J(Object(a),!0).forEach(function(s){_e(e,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):J(Object(a)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(a,s))})}return e}function _e(e,t,a){return t=Ce(t),t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ce(e){var t=Ee(e,"string");return typeof t=="symbol"?t:t+""}function Ee(e,t){if(typeof e!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var s=a.call(e,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function X(e){return e&&e.map((t,a)=>u.createElement(t.tag,A({key:a},t.attr),X(t.child)))}function Oe(e){return t=>u.createElement(Pe,$({attr:A({},e.attr)},t),X(e.child))}function Pe(e){var t=a=>{var{attr:s,size:o,title:l}=e,h=ke(e,je),b=o||a.size||"1em",d;return a.className&&(d=a.className),e.className&&(d=(d?d+" ":"")+e.className),u.createElement("svg",$({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},a.attr,s,h,{className:d,style:A(A({color:e.color||a.color},a.style),e.style),height:b,width:b,xmlns:"http://www.w3.org/2000/svg"}),l&&u.createElement("title",null,l),e.children)};return U!==void 0?u.createElement(U.Consumer,null,a=>t(a)):t(q)}function Se(e){return Oe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}const Te={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1},exit:{opacity:0,scale:.9}},$e={hidden:{opacity:0},visible:{opacity:1}},Ae="backdrop-blur-lg shadow-lg";function Re(e){const{isOpen:t,children:a,onClose:s,title:o}=e;let l="bg-white/80 ";return n.jsx(c.AnimatePresence,{children:t&&n.jsx(c.motion.div,{variants:$e,initial:"hidden",animate:"visible",exit:"hidden",className:"fixed inset-0 text-black bg-black/10 backdrop-blur-sm flex items-center justify-center z-50 p-4",onClick:s,children:n.jsxs(c.motion.div,{variants:Te,className:`${Ae} rounded-3xl w-full max-w-md overflow-hidden`,onClick:b=>b.stopPropagation(),children:[n.jsxs("div",{className:`p-6 border-b border-white/20 flex justify-between items-center ${l}`,children:[n.jsx("h3",{className:"text-xl font-bold",children:o}),n.jsx(S,{onPress:s,isIconOnly:!0,children:n.jsx(Se,{})})]}),n.jsx("div",{className:`${l} p-6`,children:a}),n.jsxs("div",{className:`${l} p-4 flex justify-end space-x-3`,children:[n.jsx(S,{onPress:s,color:"default",variant:"solid",children:"キャンセル"}),n.jsx(S,{onPress:s,color:"primary",variant:"solid",children:"OK"})]})]})})})}function De(e){const{children:t}=e;return n.jsx("div",{className:"flex space-x-2 p-2 bg-white/10 rounded-full",children:t})}const Ie="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function ze(){const e=[{label:"ホーム",icon:n.jsx(me,{size:16})},{label:"製品",icon:null},{label:"カテゴリA",icon:null}];return n.jsx("nav",{className:`${Ie} rounded-full px-4 py-2`,children:n.jsx("ol",{className:"flex items-center space-x-2",children:e.map((t,a)=>n.jsxs("li",{className:"flex items-center space-x-2 text-white/80",children:[n.jsxs(c.motion.a,{href:"#",className:"flex items-center space-x-1 hover:text-white",whileHover:{scale:1.05},children:[t.icon,n.jsx("span",{className:"text-sm",children:t.label})]}),a<e.length-1&&n.jsx(P,{size:16,className:"text-white/50"})]},t.label))})})}const Ye="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function Fe(e){const{children:t,className:a}=e;return n.jsx(c.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`
99
+ ${Ye}
100
+ rounded-3xl
101
+ overflow-hidden
102
+ w-full
103
+ max-w-sm
104
+ ${a}
105
+ `,children:t})}function Le(e){const{children:t}=e;return n.jsx("div",{className:"p-6 border-b border-white/20",children:t})}function Be(e){const{children:t}=e;return n.jsx("div",{className:"p-6",children:t})}function He(e){const{children:t}=e;return n.jsx("div",{className:"p-6 bg-black/10",children:t})}const We="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function Ve(e){const{children:t,className:a}=e;return n.jsx(c.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:`
106
+ ${We}
107
+ rounded-full
108
+ px-4
109
+ py-1.5
110
+ text-sm
111
+ text-white
112
+ font-medium
113
+ ${a}
114
+ `,children:t})}const Ge="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function qe(e){const{label:t,onRemove:a}=e;return n.jsxs(c.motion.div,{layout:!0,initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.8,opacity:0},className:`
115
+ ${Ge}
116
+ rounded-full
117
+ px-4
118
+ py-1.5
119
+ text-sm
120
+ text-white
121
+ font-medium
122
+ flex
123
+ items-center
124
+ space-x-2`,children:[n.jsx("span",{children:t}),a&&n.jsx(c.motion.button,{whileHover:{scale:1.2},whileTap:{scale:.8},onClick:a,children:n.jsx(G,{size:14,className:"text-white/70 hover:text-white"})})]})}const Ue="bg-white/10 backdrop-blur-md border border-white/20 shadow-inner";function Je(e){const{children:t}=e;return n.jsx("pre",{className:`${Ue} p-4 rounded-xl overflow-x-auto`,children:n.jsx("code",{className:"text-sm text-white/90 font-mono",children:t})})}const Xe={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1},exit:{opacity:0,scale:.9}},Ze="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function Z(e){const{onDateSelect:t}=e;function a(m){t&&t(m)}const[s,o]=u.useState(new Date),l=new Date(s.getFullYear(),s.getMonth()+1,0).getDate(),h=new Date(s.getFullYear(),s.getMonth(),1).getDay(),b=new Date,d=u.useMemo(()=>Array.from({length:l},(m,x)=>x+1).map(m=>{const x=new Date(s.getFullYear(),s.getMonth(),m),y=x.toDateString()===b.toDateString();return n.jsx(c.motion.div,{whileHover:{scale:1.1},whileTap:{scale:.9},onClick:()=>a(x),className:`w-10 h-10 flex items-center justify-center rounded-full cursor-pointer transition-colors ${y?"bg-blue-500/50 text-white font-bold":"text-white/80 hover:bg-white/20"}`,children:m},m)}),[s,l,h,t,b]),w=m=>o(x=>new Date(x.getFullYear(),x.getMonth()+m,1));return n.jsxs(c.motion.div,{variants:Xe,initial:"hidden",animate:"visible",exit:"exit",className:`${Ze} p-6 rounded-3xl w-full max-w-xs`,children:[n.jsxs("div",{className:"flex items-center justify-between mb-4 text-white",children:[n.jsx(c.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>w(-1),className:"p-2 rounded-full hover:bg-white/20",children:n.jsx(P,{className:"rotate-180",size:20})}),n.jsxs("h3",{className:"font-bold text-lg",children:[s.toLocaleString("default",{month:"long"})," ",s.getFullYear()]}),n.jsx(c.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>w(1),className:"p-2 rounded-full hover:bg-white/20",children:n.jsx(P,{size:20})})]}),n.jsx("div",{className:"grid grid-cols-7 gap-2 text-center text-white/60 text-sm mb-2",children:["日","月","火","水","木","金","土"].map(m=>n.jsx("div",{children:m},m))}),n.jsxs("div",{className:"grid grid-cols-7 gap-y-2",children:[Array.from({length:h}).map((m,x)=>n.jsx("div",{},`empty-${x}`)),d]})]})}const Ke="bg-white/10 backdrop-blur-md border border-white/20 shadow-inner",Qe=e=>n.jsx("input",{...e,className:`${Ke} w-full px-4 py-3 rounded-full text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-white/50 ${e.className}`});function Me(){const[e,t]=u.useState(null),[a,s]=u.useState(!1),o=u.useRef(null);u.useEffect(()=>{const h=b=>{o.current&&!o.current.contains(b.target)&&s(!1)};return document.addEventListener("mousedown",h),()=>document.removeEventListener("mousedown",h)},[]);const l=h=>{t(h),s(!1)};return n.jsxs("div",{className:"relative",ref:o,children:[n.jsx(Qe,{readOnly:!0,value:e?e.toLocaleDateString("ja-JP"):"",onClick:()=>s(!a),placeholder:"日付を選択"}),n.jsx(c.AnimatePresence,{children:a&&n.jsx("div",{className:"absolute top-full mt-2 z-20",children:n.jsx(Z,{onDateSelect:l})})})]})}const et="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function tt(){const[e,t]=u.useState(!1),a=["プロフィール","設定","ヘルプ","ログアウト"];return n.jsxs("div",{className:"relative",children:[n.jsxs(S,{onPress:()=>t(!e),className:"flex items-center space-x-2",children:[n.jsx("span",{children:"メニュー"}),n.jsx(c.motion.div,{animate:{rotate:e?180:0},children:n.jsx(fe,{size:20})})]}),n.jsx(c.AnimatePresence,{children:e&&n.jsx(c.motion.ul,{initial:{opacity:0,y:-10},animate:{opacity:1,y:10},exit:{opacity:0,y:-10},className:`${et} absolute top-full mt-2 w-48 rounded-2xl p-2 z-10`,children:a.map(s=>n.jsx("li",{className:"text-white/80 hover:bg-white/20 hover:text-white p-2 rounded-lg cursor-pointer transition-colors",onClick:()=>t(!1),children:s},s))})})]})}function rt(e){const{defaultPage:t,totalPages:a,onPageChange:s}=e,o=Array.from({length:a},(d,w)=>w+1),[l,h]=u.useState(t);function b(d){h(d),s&&s(d)}return n.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[n.jsx(c.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},disabled:l===1,onClick:()=>b(l-1),className:"p-2 rounded-full disabled:opacity-50 disabled:cursor-not-allowed hover:bg-white/20",children:n.jsx(P,{className:"rotate-180"})}),o.map(d=>n.jsx(c.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>b(d),className:`w-10 h-10 rounded-full transition-colors ${l===d?"bg-blue-500/50":"hover:bg-white/20"}`,children:d},d)),n.jsx(c.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},disabled:l===a,onClick:()=>b(l+1),className:"p-2 rounded-full disabled:opacity-50 disabled:cursor-not-allowed hover:bg-white/20",children:n.jsx(P,{})})]})}const nt="bg-white/10 backdrop-blur-md border border-white/20 shadow-inner";function at(e){const{label:t,value:a,selected:s,onChange:o}=e;return n.jsxs("label",{className:"flex items-center space-x-3 cursor-pointer text-white",onClick:()=>o(a),children:[n.jsx("div",{className:`
125
+ ${nt}
126
+ w-6
127
+ h-6
128
+ rounded-full
129
+ flex
130
+ items-center
131
+ justify-center
132
+ transition-colors
133
+ `,children:n.jsx(c.AnimatePresence,{children:s===a&&n.jsx(c.motion.div,{initial:{scale:0},animate:{scale:1},exit:{scale:0},className:"w-3 h-3 bg-blue-400 rounded-full"})})}),n.jsx("span",{children:t})]})}f.Alert=we,f.Badge=Ve,f.Breadcrumbs=ze,f.Button=S,f.ButtonGroup=De,f.Calendar=Z,f.Card=Fe,f.CardBody=Be,f.CardFooter=He,f.CardHeader=Le,f.Checkbox=ye,f.Chip=qe,f.Code=Je,f.DatePicker=Me,f.Dropdown=tt,f.Modal=Re,f.Pagination=rt,f.Radio=at,Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})});
package/dist/main.d.ts ADDED
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAIA,OAAO,sBAAsB,CAAA"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "liquid-glass-for-react",
3
3
  "private": false,
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
5
5
  "type": "module",
6
6
  "main": "./dist/liquid-glass-for-react.umd.js",
7
7
  "module": "./dist/liquid-glass-for-react.es.js",
8
- "types": "./dist/liquid-glass-for-react.es.d.ts",
8
+ "types": "./dist/index.d.ts",
9
9
  "files": [
10
10
  "dist"
11
11
  ],
@@ -13,40 +13,39 @@
13
13
  ".": {
14
14
  "import": "./dist/liquid-glass-for-react.es.js",
15
15
  "require": "./dist/liquid-glass-for-react.umd.js",
16
- "types": "./dist/liquid-glass-for-react.es.d.ts"
16
+ "types": "./dist/index.d.ts"
17
17
  }
18
18
  },
19
19
  "scripts": {
20
20
  "dev": "vite",
21
- "build": "tsc && vite build",
21
+ "build": "vite build",
22
22
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
23
23
  "preview": "vite preview"
24
24
  },
25
25
  "dependencies": {
26
- "@tailwindcss/cli": "^4.1.11",
27
- "@vitejs/plugin-react": "^4.6.0",
28
26
  "framer-motion": "^12.23.0",
29
27
  "lucide-react": "^0.525.0",
30
- "react": "^19.1.0",
31
- "react-dom": "^19.1.0",
32
28
  "react-icons": "^5.5.0"
33
29
  },
30
+ "peerDependencies": {
31
+ "react": "^18.2.0 || ^19.0.0",
32
+ "react-dom": "^18.2.0 || ^19.0.0"
33
+ },
34
34
  "devDependencies": {
35
- "@eslint/js": "^9.29.0",
36
- "@types/node": "^24.0.10",
37
- "@types/react": "^19.1.8",
38
- "@types/react-dom": "^19.1.6",
39
- "@vitejs/plugin-react-swc": "^3.10.2",
40
- "autoprefixer": "^10.4.21",
41
- "eslint": "^9.29.0",
42
- "eslint-plugin-react-hooks": "^5.2.0",
43
- "eslint-plugin-react-refresh": "^0.4.20",
44
- "globals": "^16.2.0",
45
- "postcss": "^8.5.6",
46
- "tailwindcss": "^3.4.17",
47
- "typescript": "~5.8.3",
48
- "typescript-eslint": "^8.34.1",
49
- "vite": "^7.0.0",
35
+ "@types/node": "^20.14.2",
36
+ "@types/react": "^18.3.3",
37
+ "@types/react-dom": "^18.3.0",
38
+ "@vitejs/plugin-react-swc": "^3.5.0",
39
+ "autoprefixer": "^10.4.19",
40
+ "eslint": "^8.57.0",
41
+ "eslint-plugin-react-hooks": "^4.6.2",
42
+ "eslint-plugin-react-refresh": "^0.4.7",
43
+ "postcss": "^8.4.38",
44
+ "react": "^19.1.0",
45
+ "react-dom": "^19.1.0",
46
+ "tailwindcss": "^3.4.4",
47
+ "typescript": "^5.4.5",
48
+ "vite": "^6.3.5",
50
49
  "vite-plugin-dts": "^4.5.4"
51
50
  }
52
51
  }
@@ -1,282 +0,0 @@
1
- import ee from "react";
2
- import "framer-motion";
3
- var T = { exports: {} }, R = {};
4
- /**
5
- * @license React
6
- * react-jsx-runtime.production.js
7
- *
8
- * Copyright (c) Meta Platforms, Inc. and affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var F;
14
- function re() {
15
- if (F) return R;
16
- F = 1;
17
- var l = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
18
- function f(m, a, s) {
19
- var d = null;
20
- if (s !== void 0 && (d = "" + s), a.key !== void 0 && (d = "" + a.key), "key" in a) {
21
- s = {};
22
- for (var E in a)
23
- E !== "key" && (s[E] = a[E]);
24
- } else s = a;
25
- return a = s.ref, {
26
- $$typeof: l,
27
- type: m,
28
- key: d,
29
- ref: a !== void 0 ? a : null,
30
- props: s
31
- };
32
- }
33
- return R.Fragment = _, R.jsx = f, R.jsxs = f, R;
34
- }
35
- var b = {};
36
- /**
37
- * @license React
38
- * react-jsx-runtime.development.js
39
- *
40
- * Copyright (c) Meta Platforms, Inc. and affiliates.
41
- *
42
- * This source code is licensed under the MIT license found in the
43
- * LICENSE file in the root directory of this source tree.
44
- */
45
- var $;
46
- function te() {
47
- return $ || ($ = 1, process.env.NODE_ENV !== "production" && function() {
48
- function l(e) {
49
- if (e == null) return null;
50
- if (typeof e == "function")
51
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
52
- if (typeof e == "string") return e;
53
- switch (e) {
54
- case p:
55
- return "Fragment";
56
- case J:
57
- return "Profiler";
58
- case U:
59
- return "StrictMode";
60
- case G:
61
- return "Suspense";
62
- case X:
63
- return "SuspenseList";
64
- case H:
65
- return "Activity";
66
- }
67
- if (typeof e == "object")
68
- switch (typeof e.tag == "number" && console.error(
69
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
70
- ), e.$$typeof) {
71
- case W:
72
- return "Portal";
73
- case z:
74
- return (e.displayName || "Context") + ".Provider";
75
- case q:
76
- return (e._context.displayName || "Context") + ".Consumer";
77
- case V:
78
- var r = e.render;
79
- return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
80
- case B:
81
- return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
82
- case h:
83
- r = e._payload, e = e._init;
84
- try {
85
- return l(e(r));
86
- } catch {
87
- }
88
- }
89
- return null;
90
- }
91
- function _(e) {
92
- return "" + e;
93
- }
94
- function f(e) {
95
- try {
96
- _(e);
97
- var r = !1;
98
- } catch {
99
- r = !0;
100
- }
101
- if (r) {
102
- r = console;
103
- var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
104
- return t.call(
105
- r,
106
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
107
- n
108
- ), _(e);
109
- }
110
- }
111
- function m(e) {
112
- if (e === p) return "<>";
113
- if (typeof e == "object" && e !== null && e.$$typeof === h)
114
- return "<...>";
115
- try {
116
- var r = l(e);
117
- return r ? "<" + r + ">" : "<...>";
118
- } catch {
119
- return "<...>";
120
- }
121
- }
122
- function a() {
123
- var e = k.A;
124
- return e === null ? null : e.getOwner();
125
- }
126
- function s() {
127
- return Error("react-stack-top-frame");
128
- }
129
- function d(e) {
130
- if (x.call(e, "key")) {
131
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
132
- if (r && r.isReactWarning) return !1;
133
- }
134
- return e.key !== void 0;
135
- }
136
- function E(e, r) {
137
- function t() {
138
- y || (y = !0, console.error(
139
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
140
- r
141
- ));
142
- }
143
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
144
- get: t,
145
- configurable: !0
146
- });
147
- }
148
- function L() {
149
- var e = l(this.type);
150
- return N[e] || (N[e] = !0, console.error(
151
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
152
- )), e = this.props.ref, e !== void 0 ? e : null;
153
- }
154
- function M(e, r, t, n, c, u, A, S) {
155
- return t = u.ref, e = {
156
- $$typeof: g,
157
- type: e,
158
- key: r,
159
- props: u,
160
- _owner: c
161
- }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
162
- enumerable: !1,
163
- get: L
164
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
165
- configurable: !1,
166
- enumerable: !1,
167
- writable: !0,
168
- value: 0
169
- }), Object.defineProperty(e, "_debugInfo", {
170
- configurable: !1,
171
- enumerable: !1,
172
- writable: !0,
173
- value: null
174
- }), Object.defineProperty(e, "_debugStack", {
175
- configurable: !1,
176
- enumerable: !1,
177
- writable: !0,
178
- value: A
179
- }), Object.defineProperty(e, "_debugTask", {
180
- configurable: !1,
181
- enumerable: !1,
182
- writable: !0,
183
- value: S
184
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
185
- }
186
- function w(e, r, t, n, c, u, A, S) {
187
- var o = r.children;
188
- if (o !== void 0)
189
- if (n)
190
- if (Q(o)) {
191
- for (n = 0; n < o.length; n++)
192
- j(o[n]);
193
- Object.freeze && Object.freeze(o);
194
- } else
195
- console.error(
196
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
197
- );
198
- else j(o);
199
- if (x.call(r, "key")) {
200
- o = l(e);
201
- var i = Object.keys(r).filter(function(K) {
202
- return K !== "key";
203
- });
204
- n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
205
- `A props object containing a "key" prop is being spread into JSX:
206
- let props = %s;
207
- <%s {...props} />
208
- React keys must be passed directly to JSX without using spread:
209
- let props = %s;
210
- <%s key={someKey} {...props} />`,
211
- n,
212
- o,
213
- i,
214
- o
215
- ), I[o + n] = !0);
216
- }
217
- if (o = null, t !== void 0 && (f(t), o = "" + t), d(r) && (f(r.key), o = "" + r.key), "key" in r) {
218
- t = {};
219
- for (var P in r)
220
- P !== "key" && (t[P] = r[P]);
221
- } else t = r;
222
- return o && E(
223
- t,
224
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
225
- ), M(
226
- e,
227
- o,
228
- u,
229
- c,
230
- a(),
231
- t,
232
- A,
233
- S
234
- );
235
- }
236
- function j(e) {
237
- typeof e == "object" && e !== null && e.$$typeof === g && e._store && (e._store.validated = 1);
238
- }
239
- var v = ee, g = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
240
- return null;
241
- };
242
- v = {
243
- "react-stack-bottom-frame": function(e) {
244
- return e();
245
- }
246
- };
247
- var y, N = {}, C = v["react-stack-bottom-frame"].bind(
248
- v,
249
- s
250
- )(), Y = O(m(s)), I = {};
251
- b.Fragment = p, b.jsx = function(e, r, t, n, c) {
252
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
253
- return w(
254
- e,
255
- r,
256
- t,
257
- !1,
258
- n,
259
- c,
260
- u ? Error("react-stack-top-frame") : C,
261
- u ? O(m(e)) : Y
262
- );
263
- }, b.jsxs = function(e, r, t, n, c) {
264
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
265
- return w(
266
- e,
267
- r,
268
- t,
269
- !0,
270
- n,
271
- c,
272
- u ? Error("react-stack-top-frame") : C,
273
- u ? O(m(e)) : Y
274
- );
275
- };
276
- }()), b;
277
- }
278
- var D;
279
- function ne() {
280
- return D || (D = 1, process.env.NODE_ENV === "production" ? T.exports = re() : T.exports = te()), T.exports;
281
- }
282
- ne();
@@ -1,22 +0,0 @@
1
- (function(d,c){typeof exports=="object"&&typeof module<"u"?c(require("react"),require("framer-motion")):typeof define=="function"&&define.amd?define(["react","framer-motion"],c):(d=typeof globalThis<"u"?globalThis:d||self,c(d.React))})(this,function(d){"use strict";var c={exports:{}},m={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and 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 h;function M(){if(h)return m;h=1;var i=Symbol.for("react.transitional.element"),v=Symbol.for("react.fragment");function R(b,a,s){var _=null;if(s!==void 0&&(_=""+s),a.key!==void 0&&(_=""+a.key),"key"in a){s={};for(var T in a)T!=="key"&&(s[T]=a[T])}else s=a;return a=s.ref,{$$typeof:i,type:b,key:_,ref:a!==void 0?a:null,props:s}}return m.Fragment=v,m.jsx=R,m.jsxs=R,m}var E={};/**
10
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var j;function W(){return j||(j=1,process.env.NODE_ENV!=="production"&&function(){function i(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===re?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case G:return"Profiler";case V:return"StrictMode";case Z:return"Suspense";case Q:return"SuspenseList";case ee:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case z:return"Portal";case B:return(e.displayName||"Context")+".Provider";case X:return(e._context.displayName||"Context")+".Consumer";case H:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return r=e.displayName||null,r!==null?r:i(e.type)||"Memo";case C:r=e._payload,e=e._init;try{return i(e(r))}catch{}}return null}function v(e){return""+e}function R(e){try{v(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),v(e)}}function b(e){if(e===k)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===C)return"<...>";try{var r=i(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function a(){var e=O.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function _(e){if(Y.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function T(e,r){function t(){I||(I=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function q(){var e=i(this.type);return F[e]||(F[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function J(e,r,t,n,l,u,S,P){return t=u.ref,e={$$typeof:N,type:e,key:r,props:u,_owner:l},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:q}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:S}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:P}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,r,t,n,l,u,S,P){var o=r.children;if(o!==void 0)if(n)if(te(o)){for(n=0;n<o.length;n++)y(o[n]);Object.freeze&&Object.freeze(o)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else y(o);if(Y.call(r,"key")){o=i(e);var f=Object.keys(r).filter(function(ne){return ne!=="key"});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",L[o+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
- let props = %s;
19
- <%s {...props} />
20
- React keys must be passed directly to JSX without using spread:
21
- let props = %s;
22
- <%s key={someKey} {...props} />`,n,o,f,o),L[o+n]=!0)}if(o=null,t!==void 0&&(R(t),o=""+t),_(r)&&(R(r.key),o=""+r.key),"key"in r){t={};for(var w in r)w!=="key"&&(t[w]=r[w])}else t=r;return o&&T(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),J(e,o,u,l,a(),t,S,P)}function y(e){typeof e=="object"&&e!==null&&e.$$typeof===N&&e._store&&(e._store.validated=1)}var p=d,N=Symbol.for("react.transitional.element"),z=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),B=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),re=Symbol.for("react.client.reference"),O=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.prototype.hasOwnProperty,te=Array.isArray,A=console.createTask?console.createTask:function(){return null};p={"react-stack-bottom-frame":function(e){return e()}};var I,F={},$=p["react-stack-bottom-frame"].bind(p,s)(),D=A(b(s)),L={};E.Fragment=k,E.jsx=function(e,r,t,n,l){var u=1e4>O.recentlyCreatedOwnerStacks++;return x(e,r,t,!1,n,l,u?Error("react-stack-top-frame"):$,u?A(b(e)):D)},E.jsxs=function(e,r,t,n,l){var u=1e4>O.recentlyCreatedOwnerStacks++;return x(e,r,t,!0,n,l,u?Error("react-stack-top-frame"):$,u?A(b(e)):D)}}()),E}var g;function U(){return g||(g=1,process.env.NODE_ENV==="production"?c.exports=M():c.exports=W()),c.exports}U()});