prisma-goat 0.0.0
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/LICENSE +21 -0
- package/README.md +5 -0
- package/dist/prisma-goat.css +1 -0
- package/dist/prisma-goat.d.ts +22 -0
- package/dist/prisma-goat.js +247 -0
- package/dist/prisma-goat.umd.cjs +1 -0
- package/package.json +69 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Jesus Cabrita
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.inline-flex{display:inline-flex}.h-5{height:1.25rem}.w-5{width:1.25rem}.w-full{width:100%}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border-2{border-width:2px}.border-\[\#1F2937\]{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.border-t-transparent{border-top-color:transparent}.bg-\[\#047857\]{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.bg-\[\#1F2937\]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-\[\#350053\]{--tw-bg-opacity: 1;background-color:rgb(53 0 83 / var(--tw-bg-opacity, 1))}.bg-\[\#770069\]{--tw-bg-opacity: 1;background-color:rgb(119 0 105 / var(--tw-bg-opacity, 1))}.bg-\[\#b91c1c\]{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.bg-\[\#f59e0b\]{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-\[\#ff0145\]{--tw-bg-opacity: 1;background-color:rgb(255 1 69 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-\[\#1F2937\]{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-20{opacity:.2}.opacity-60{opacity:.6}.hover\:border-\[\#374151\]:hover{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.hover\:bg-\[\#065f46\]:hover{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#2c003f\]:hover{--tw-bg-opacity: 1;background-color:rgb(44 0 63 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#374151\]:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#66005c\]:hover{--tw-bg-opacity: 1;background-color:rgb(102 0 92 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#9b1c1c\]:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#d97706\]:hover{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#e6003f\]:hover{--tw-bg-opacity: 1;background-color:rgb(230 0 63 / var(--tw-bg-opacity, 1))}.focus\:border-\[\#047857\]:focus{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity, 1))}.focus\:border-\[\#1F2937\]:focus{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.focus\:border-\[\#350053\]:focus{--tw-border-opacity: 1;border-color:rgb(53 0 83 / var(--tw-border-opacity, 1))}.focus\:border-\[\#770069\]:focus{--tw-border-opacity: 1;border-color:rgb(119 0 105 / var(--tw-border-opacity, 1))}.focus\:border-\[\#b91c1c\]:focus{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity, 1))}.focus\:border-\[\#f59e0b\]:focus{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.focus\:border-\[\#ff0145\]:focus{--tw-border-opacity: 1;border-color:rgb(255 1 69 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-\[\#047857\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(4 120 87 / var(--tw-ring-opacity, 1))}.focus\:ring-\[\#1F2937\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity, 1))}.focus\:ring-\[\#350053\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(53 0 83 / var(--tw-ring-opacity, 1))}.focus\:ring-\[\#770069\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 0 105 / var(--tw-ring-opacity, 1))}.focus\:ring-\[\#b91c1c\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(185 28 28 / var(--tw-ring-opacity, 1))}.focus\:ring-\[\#f59e0b\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity, 1))}.focus\:ring-\[\#ff0145\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 1 69 / var(--tw-ring-opacity, 1))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
import { default as default_2 } from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const Button: default_2.ForwardRefExoticComponent<{
|
|
6
|
+
variant?: "primary" | "secondary" | "vividPink" | "darkMagenta" | "veryDarkViolet" | "danger" | "warning" | "success";
|
|
7
|
+
size?: "small" | "medium" | "large";
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
loadingPosition?: "left" | "right";
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
isSubmit?: boolean;
|
|
12
|
+
icon?: ComponentType<{
|
|
13
|
+
className?: string;
|
|
14
|
+
}> | default_2.ReactNode;
|
|
15
|
+
iconPosition?: "left" | "right";
|
|
16
|
+
iconType?: "home" | "Left" | "save" | "more" | "right" | "update" | "attach" | "send" | "delete" | "edit" | "login" | "reset" | "add" | "exit" | "off" | "calculator" | "list" | "futbol";
|
|
17
|
+
label?: string;
|
|
18
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
19
|
+
children?: default_2.ReactNode | undefined;
|
|
20
|
+
} & default_2.RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
|
|
22
|
+
export { }
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { jsx as c, jsxs as P } from "react/jsx-runtime";
|
|
2
|
+
import h, { forwardRef as F } from "react";
|
|
3
|
+
function z(t) {
|
|
4
|
+
var r, a, e = "";
|
|
5
|
+
if (typeof t == "string" || typeof t == "number") e += t;
|
|
6
|
+
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
7
|
+
var i = t.length;
|
|
8
|
+
for (r = 0; r < i; r++) t[r] && (a = z(t[r])) && (e && (e += " "), e += a);
|
|
9
|
+
} else for (a in t) t[a] && (e && (e += " "), e += a);
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
12
|
+
function b() {
|
|
13
|
+
for (var t, r, a = 0, e = "", i = arguments.length; a < i; a++) (t = arguments[a]) && (r = z(t)) && (e && (e += " "), e += r);
|
|
14
|
+
return e;
|
|
15
|
+
}
|
|
16
|
+
var M = {
|
|
17
|
+
color: void 0,
|
|
18
|
+
size: void 0,
|
|
19
|
+
className: void 0,
|
|
20
|
+
style: void 0,
|
|
21
|
+
attr: void 0
|
|
22
|
+
}, p = h.createContext && /* @__PURE__ */ h.createContext(M), A = ["attr", "size", "title"];
|
|
23
|
+
function E(t, r) {
|
|
24
|
+
if (t == null) return {};
|
|
25
|
+
var a = S(t, r), e, i;
|
|
26
|
+
if (Object.getOwnPropertySymbols) {
|
|
27
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
28
|
+
for (i = 0; i < o.length; i++)
|
|
29
|
+
e = o[i], !(r.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(t, e) && (a[e] = t[e]);
|
|
30
|
+
}
|
|
31
|
+
return a;
|
|
32
|
+
}
|
|
33
|
+
function S(t, r) {
|
|
34
|
+
if (t == null) return {};
|
|
35
|
+
var a = {};
|
|
36
|
+
for (var e in t)
|
|
37
|
+
if (Object.prototype.hasOwnProperty.call(t, e)) {
|
|
38
|
+
if (r.indexOf(e) >= 0) continue;
|
|
39
|
+
a[e] = t[e];
|
|
40
|
+
}
|
|
41
|
+
return a;
|
|
42
|
+
}
|
|
43
|
+
function u() {
|
|
44
|
+
return u = Object.assign ? Object.assign.bind() : function(t) {
|
|
45
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
46
|
+
var a = arguments[r];
|
|
47
|
+
for (var e in a)
|
|
48
|
+
Object.prototype.hasOwnProperty.call(a, e) && (t[e] = a[e]);
|
|
49
|
+
}
|
|
50
|
+
return t;
|
|
51
|
+
}, u.apply(this, arguments);
|
|
52
|
+
}
|
|
53
|
+
function w(t, r) {
|
|
54
|
+
var a = Object.keys(t);
|
|
55
|
+
if (Object.getOwnPropertySymbols) {
|
|
56
|
+
var e = Object.getOwnPropertySymbols(t);
|
|
57
|
+
r && (e = e.filter(function(i) {
|
|
58
|
+
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
59
|
+
})), a.push.apply(a, e);
|
|
60
|
+
}
|
|
61
|
+
return a;
|
|
62
|
+
}
|
|
63
|
+
function f(t) {
|
|
64
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
65
|
+
var a = arguments[r] != null ? arguments[r] : {};
|
|
66
|
+
r % 2 ? w(Object(a), !0).forEach(function(e) {
|
|
67
|
+
I(t, e, a[e]);
|
|
68
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(a)) : w(Object(a)).forEach(function(e) {
|
|
69
|
+
Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(a, e));
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return t;
|
|
73
|
+
}
|
|
74
|
+
function I(t, r, a) {
|
|
75
|
+
return r = _(r), r in t ? Object.defineProperty(t, r, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = a, t;
|
|
76
|
+
}
|
|
77
|
+
function _(t) {
|
|
78
|
+
var r = D(t, "string");
|
|
79
|
+
return typeof r == "symbol" ? r : r + "";
|
|
80
|
+
}
|
|
81
|
+
function D(t, r) {
|
|
82
|
+
if (typeof t != "object" || !t) return t;
|
|
83
|
+
var a = t[Symbol.toPrimitive];
|
|
84
|
+
if (a !== void 0) {
|
|
85
|
+
var e = a.call(t, r || "default");
|
|
86
|
+
if (typeof e != "object") return e;
|
|
87
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
88
|
+
}
|
|
89
|
+
return (r === "string" ? String : Number)(t);
|
|
90
|
+
}
|
|
91
|
+
function x(t) {
|
|
92
|
+
return t && t.map((r, a) => /* @__PURE__ */ h.createElement(r.tag, f({
|
|
93
|
+
key: a
|
|
94
|
+
}, r.attr), x(r.child)));
|
|
95
|
+
}
|
|
96
|
+
function n(t) {
|
|
97
|
+
return (r) => /* @__PURE__ */ h.createElement(R, u({
|
|
98
|
+
attr: f({}, t.attr)
|
|
99
|
+
}, r), x(t.child));
|
|
100
|
+
}
|
|
101
|
+
function R(t) {
|
|
102
|
+
var r = (a) => {
|
|
103
|
+
var {
|
|
104
|
+
attr: e,
|
|
105
|
+
size: i,
|
|
106
|
+
title: o
|
|
107
|
+
} = t, g = E(t, A), d = i || a.size || "1em", s;
|
|
108
|
+
return a.className && (s = a.className), t.className && (s = (s ? s + " " : "") + t.className), /* @__PURE__ */ h.createElement("svg", u({
|
|
109
|
+
stroke: "currentColor",
|
|
110
|
+
fill: "currentColor",
|
|
111
|
+
strokeWidth: "0"
|
|
112
|
+
}, a.attr, e, g, {
|
|
113
|
+
className: s,
|
|
114
|
+
style: f(f({
|
|
115
|
+
color: t.color || a.color
|
|
116
|
+
}, a.style), t.style),
|
|
117
|
+
height: d,
|
|
118
|
+
width: d,
|
|
119
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
120
|
+
}), o && /* @__PURE__ */ h.createElement("title", null, o), t.children);
|
|
121
|
+
};
|
|
122
|
+
return p !== void 0 ? /* @__PURE__ */ h.createElement(p.Consumer, null, (a) => r(a)) : r(M);
|
|
123
|
+
}
|
|
124
|
+
function W(t) {
|
|
125
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 0 1-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z" }, child: [] }] })(t);
|
|
126
|
+
}
|
|
127
|
+
function Z(t) {
|
|
128
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" }, child: [] }] })(t);
|
|
129
|
+
}
|
|
130
|
+
function G(t) {
|
|
131
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M9.586 4l-6.586 6.586a2 2 0 0 0 0 2.828l6.586 6.586a2 2 0 0 0 2.18 .434l.145 -.068a2 2 0 0 0 1.089 -1.78v-2.586h2a1 1 0 0 0 1 -1v-6l-.007 -.117a1 1 0 0 0 -.993 -.883l-2 -.001v-2.585a2 2 0 0 0 -3.414 -1.414z" }, child: [] }, { tag: "path", attr: { d: "M21 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z" }, child: [] }, { tag: "path", attr: { d: "M18 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z" }, child: [] }] })(t);
|
|
132
|
+
}
|
|
133
|
+
function k(t) {
|
|
134
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M12.089 3.634a2 2 0 0 0 -1.089 1.78l-.001 2.585l-1.999 .001a1 1 0 0 0 -1 1v6l.007 .117a1 1 0 0 0 .993 .883l1.999 -.001l.001 2.587a2 2 0 0 0 3.414 1.414l6.586 -6.586a2 2 0 0 0 0 -2.828l-6.586 -6.586a2 2 0 0 0 -2.18 -.434l-.145 .068z" }, child: [] }, { tag: "path", attr: { d: "M3 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z" }, child: [] }, { tag: "path", attr: { d: "M6 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z" }, child: [] }] })(t);
|
|
135
|
+
}
|
|
136
|
+
function q(t) {
|
|
137
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z" }, child: [] }] })(t);
|
|
138
|
+
}
|
|
139
|
+
function K(t) {
|
|
140
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M400 54.1c63 45 104 118.6 104 201.9 0 136.8-110.8 247.7-247.5 248C120 504.3 8.2 393 8 256.4 7.9 173.1 48.9 99.3 111.8 54.2c11.7-8.3 28-4.8 35 7.7L162.6 90c5.9 10.5 3.1 23.8-6.6 31-41.5 30.8-68 79.6-68 134.9-.1 92.3 74.5 168.1 168 168.1 91.6 0 168.6-74.2 168-169.1-.3-51.8-24.7-101.8-68.1-134-9.7-7.2-12.4-20.5-6.5-30.9l15.8-28.1c7-12.4 23.2-16.1 34.8-7.8zM296 264V24c0-13.3-10.7-24-24-24h-32c-13.3 0-24 10.7-24 24v240c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24z" }, child: [] }] })(t);
|
|
141
|
+
}
|
|
142
|
+
function U(t) {
|
|
143
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z" }, child: [] }] })(t);
|
|
144
|
+
}
|
|
145
|
+
function J(t) {
|
|
146
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z" }, child: [] }] })(t);
|
|
147
|
+
}
|
|
148
|
+
function Q(t) {
|
|
149
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7 17V9.93L13.93 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8.93L14.07 17H7z" }, child: [] }, { tag: "path", attr: { d: "M9 15h4.24l7.2-7.2-4.24-4.24-7.2 7.2zM22.91 2.49 21.5 1.08c-.78-.78-2.05-.78-2.83 0l-1.06 1.06 4.24 4.24 1.06-1.06c.79-.78.79-2.05 0-2.83z" }, child: [] }] })(t);
|
|
150
|
+
}
|
|
151
|
+
function X(t) {
|
|
152
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7c-1.9 0-3.62-.76-4.88-1.99L6.7 18.42A8.982 8.982 0 0 0 13 21a9 9 0 0 0 0-18zm2 8v-1c0-1.1-.9-2-2-2s-2 .9-2 2v1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm-1 0h-2v-1c0-.55.45-1 1-1s1 .45 1 1v1z" }, child: [] }] })(t);
|
|
153
|
+
}
|
|
154
|
+
function Y(t) {
|
|
155
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M10 8v6l4.7 2.9.8-1.2-4-2.4V8z" }, child: [] }, { tag: "path", attr: { d: "M17.92 12A6.957 6.957 0 0 1 11 20c-3.9 0-7-3.1-7-7s3.1-7 7-7c.7 0 1.37.1 2 .29V4.23c-.64-.15-1.31-.23-2-.23-5 0-9 4-9 9s4 9 9 9a8.963 8.963 0 0 0 8.94-10h-2.02z" }, child: [] }, { tag: "path", attr: { d: "M20 5V2h-2v3h-3v2h3v3h2V7h3V5z" }, child: [] }] })(t);
|
|
156
|
+
}
|
|
157
|
+
function $(t) {
|
|
158
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm3 5.5h-2.5V21h-1v-2.5H15v-1h2.5V15h1v2.5H21v1zM7 5h13v2H7z" }, child: [] }, { tag: "circle", attr: { cx: "3.5", cy: "18", r: "1.5" }, child: [] }, { tag: "path", attr: { d: "M18 11H7v2h6.11c1.26-1.24 2.99-2 4.89-2zM7 17v2h4.08c-.05-.33-.08-.66-.08-1s.03-.67.08-1H7z" }, child: [] }, { tag: "circle", attr: { cx: "3.5", cy: "6", r: "1.5" }, child: [] }, { tag: "circle", attr: { cx: "3.5", cy: "12", r: "1.5" }, child: [] }] })(t);
|
|
159
|
+
}
|
|
160
|
+
function T(t) {
|
|
161
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M11 8v5l4.25 2.52.77-1.28-3.52-2.09V8H11zm10 2V3l-2.64 2.64A8.937 8.937 0 0 0 12 3a9 9 0 1 0 9 9h-2c0 3.86-3.14 7-7 7s-7-3.14-7-7 3.14-7 7-7c1.93 0 3.68.79 4.95 2.05L14 10h7z" }, child: [] }] })(t);
|
|
162
|
+
}
|
|
163
|
+
function t1(t) {
|
|
164
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M341.334 128v234.666C341.334 409.604 302.938 448 256 448c-46.937 0-85.333-38.396-85.333-85.334V117.334C170.667 87.469 194.135 64 224 64c29.864 0 53.333 23.469 53.333 53.334v245.333c0 11.729-9.605 21.333-21.334 21.333s-21.333-9.604-21.333-21.333V160h-32v202.667C202.667 392.531 226.135 416 256 416c29.865 0 53.334-23.469 53.334-53.333V117.334C309.334 70.401 270.938 32 224 32s-85.334 38.401-85.334 85.334v245.332C138.667 427.729 190.938 480 256 480c65.062 0 117.334-52.271 117.334-117.334V128h-32z" }, child: [] }] })(t);
|
|
165
|
+
}
|
|
166
|
+
function r1(t) {
|
|
167
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", strokeWidth: "2", d: "M22,3 L2,11 L20.5,19 L22,3 Z M10,20.5 L13,16 M15.5,9.5 L9,14 L9.85884537,20.0119176 C9.93680292,20.5576204 10.0751625,20.5490248 10.1651297,20.009222 L11,15 L15.5,9.5 Z" }, child: [] }] })(t);
|
|
168
|
+
}
|
|
169
|
+
function e1(t) {
|
|
170
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: { id: "Login" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { d: "M20.944,18.432a2.577,2.577,0,0,1-2.729,2.5c-2.153.012-4.307,0-6.46,0a.5.5,0,0,1,0-1c2.2,0,4.4.032,6.6,0,1.107-.016,1.589-.848,1.589-1.838V5.63a1.545,1.545,0,0,0-.969-1.471,3.027,3.027,0,0,0-1.061-.095H11.755a.5.5,0,0,1,0-1c2.225,0,4.465-.085,6.688,0a2.566,2.566,0,0,1,2.5,2.67Z" }, child: [] }, { tag: "path", attr: { d: "M15.794,12.354a.459.459,0,0,0,.138-.312A.3.3,0,0,0,15.938,12a.29.29,0,0,0-.006-.041.455.455,0,0,0-.138-.313L12.125,7.978a.5.5,0,0,0-.707.707L14.234,11.5H3.492a.5.5,0,0,0,0,1H14.234l-2.816,2.815a.5.5,0,0,0,.707.707Z" }, child: [] }] }] }] })(t);
|
|
171
|
+
}
|
|
172
|
+
function a1(t) {
|
|
173
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M336 376V272H191a16 16 0 0 1 0-32h145V136a56.06 56.06 0 0 0-56-56H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h192a56.06 56.06 0 0 0 56-56zm89.37-104-52.68 52.69a16 16 0 0 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62l-80-80a16 16 0 0 0-22.62 22.62L425.37 240H336v32z" }, child: [] }] })(t);
|
|
174
|
+
}
|
|
175
|
+
function c1(t) {
|
|
176
|
+
return n({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M192 0c-41.8 0-77.4 26.7-90.5 64L64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64l-37.5 0C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM72 272a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm104-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zM72 368a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm88 0c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16z" }, child: [] }] })(t);
|
|
177
|
+
}
|
|
178
|
+
const l1 = F(
|
|
179
|
+
({
|
|
180
|
+
children: t,
|
|
181
|
+
variant: r = "primary",
|
|
182
|
+
size: a = "medium",
|
|
183
|
+
isLoading: e = !1,
|
|
184
|
+
loadingPosition: i = "left",
|
|
185
|
+
disabled: o = !1,
|
|
186
|
+
isSubmit: g = !1,
|
|
187
|
+
icon: d,
|
|
188
|
+
iconPosition: s = "left",
|
|
189
|
+
iconType: l,
|
|
190
|
+
label: H,
|
|
191
|
+
className: L,
|
|
192
|
+
...y
|
|
193
|
+
}, V) => {
|
|
194
|
+
const N = "inline-flex items-center justify-center rounded-lg font-bold text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 w-full", O = {
|
|
195
|
+
primary: "bg-[#1F2937] hover:bg-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",
|
|
196
|
+
secondary: "bg-transparent border-2 border-[#1F2937] text-[#1F2937] hover:border-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",
|
|
197
|
+
vividPink: "bg-[#ff0145] hover:bg-[#e6003f] focus:ring-[#ff0145] focus:border-[#ff0145]",
|
|
198
|
+
darkMagenta: "bg-[#770069] hover:bg-[#66005c] focus:ring-[#770069] focus:border-[#770069]",
|
|
199
|
+
veryDarkViolet: "bg-[#350053] hover:bg-[#2c003f] focus:ring-[#350053] focus:border-[#350053]",
|
|
200
|
+
danger: "bg-[#b91c1c] hover:bg-[#9b1c1c] focus:ring-[#b91c1c] focus:border-[#b91c1c]",
|
|
201
|
+
warning: "bg-[#f59e0b] hover:bg-[#d97706] focus:ring-[#f59e0b] focus:border-[#f59e0b]",
|
|
202
|
+
success: "bg-[#047857] hover:bg-[#065f46] focus:ring-[#047857] focus:border-[#047857]"
|
|
203
|
+
}, j = {
|
|
204
|
+
small: "px-4 py-1.5 text-xs",
|
|
205
|
+
medium: "px-6 py-2.5 text-base",
|
|
206
|
+
large: "px-8 py-3 text-lg"
|
|
207
|
+
}, B = () => l === "home" ? /* @__PURE__ */ c(Z, { className: "w-5 h-5" }) : l === "Left" ? /* @__PURE__ */ c(G, { className: "w-5 h-5" }) : l === "right" ? /* @__PURE__ */ c(k, { className: "w-5 h-5" }) : l === "save" ? /* @__PURE__ */ c(U, { className: "w-5 h-5" }) : l === "more" ? /* @__PURE__ */ c(Y, { className: "w-5 h-5" }) : l === "update" ? /* @__PURE__ */ c(T, { className: "w-5 h-5" }) : l === "attach" ? /* @__PURE__ */ c(t1, { className: "w-5 h-5" }) : l === "send" ? /* @__PURE__ */ c(r1, { className: "w-5 h-5" }) : l === "delete" ? /* @__PURE__ */ c(J, { className: "w-5 h-5" }) : l === "edit" ? /* @__PURE__ */ c(Q, { className: "w-5 h-5" }) : l === "login" ? /* @__PURE__ */ c(e1, { className: "w-5 h-5" }) : l === "reset" ? /* @__PURE__ */ c(X, { className: "w-5 h-5" }) : l === "add" ? /* @__PURE__ */ c($, { className: "w-5 h-5" }) : l === "exit" ? /* @__PURE__ */ c(a1, { className: "w-5 h-5" }) : l === "off" ? /* @__PURE__ */ c(K, { className: "w-5 h-5" }) : l === "calculator" ? /* @__PURE__ */ c(W, { className: "w-5 h-5" }) : l === "list" ? /* @__PURE__ */ c(c1, { className: "w-5 h-5" }) : l === "futbol" ? /* @__PURE__ */ c(q, { className: "w-5 h-5" }) : null, v = /* @__PURE__ */ c(
|
|
208
|
+
"div",
|
|
209
|
+
{
|
|
210
|
+
className: b(
|
|
211
|
+
"w-5 h-5 animate-spin border-2 border-t-transparent rounded-full",
|
|
212
|
+
r === "secondary" ? "border-[#1F2937]" : "border-white"
|
|
213
|
+
)
|
|
214
|
+
}
|
|
215
|
+
), m = () => h.isValidElement(d) ? h.cloneElement(d, { className: "w-5 h-5" }) : B(), C = H || t;
|
|
216
|
+
return /* @__PURE__ */ P(
|
|
217
|
+
"button",
|
|
218
|
+
{
|
|
219
|
+
ref: V,
|
|
220
|
+
className: b(
|
|
221
|
+
N,
|
|
222
|
+
O[r],
|
|
223
|
+
j[a],
|
|
224
|
+
{
|
|
225
|
+
"opacity-60 cursor-not-allowed": e,
|
|
226
|
+
"opacity-20 cursor-not-allowed": o && !e
|
|
227
|
+
},
|
|
228
|
+
L
|
|
229
|
+
),
|
|
230
|
+
disabled: e || o,
|
|
231
|
+
type: g ? "submit" : "button",
|
|
232
|
+
...y,
|
|
233
|
+
children: [
|
|
234
|
+
e && i === "left" && /* @__PURE__ */ c("span", { className: "mr-2", children: v }),
|
|
235
|
+
s === "left" && /* @__PURE__ */ c("span", { className: "mr-2", children: m() }),
|
|
236
|
+
C,
|
|
237
|
+
s === "right" && /* @__PURE__ */ c("span", { className: "ml-2", children: m() }),
|
|
238
|
+
e && i === "right" && /* @__PURE__ */ c("span", { className: "ml-2", children: v })
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
);
|
|
242
|
+
}
|
|
243
|
+
);
|
|
244
|
+
l1.displayName = "Button";
|
|
245
|
+
export {
|
|
246
|
+
l1 as Button
|
|
247
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(s,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],c):(s=typeof globalThis<"u"?globalThis:s||self,c(s["prisma-goat"]={},s["react/jsx-runtime"],s.React))})(this,function(s,c,o){"use strict";function m(t){var r,a,e="";if(typeof t=="string"||typeof t=="number")e+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(a=m(t[r]))&&(e&&(e+=" "),e+=a)}else for(a in t)t[a]&&(e&&(e+=" "),e+=a);return e}function b(){for(var t,r,a=0,e="",i=arguments.length;a<i;a++)(t=arguments[a])&&(r=m(t))&&(e&&(e+=" "),e+=r);return e}var p={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},w=o.createContext&&o.createContext(p),L=["attr","size","title"];function O(t,r){if(t==null)return{};var a=V(t,r),e,i;if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(t);for(i=0;i<h.length;i++)e=h[i],!(r.indexOf(e)>=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}function V(t,r){if(t==null)return{};var a={};for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)){if(r.indexOf(e)>=0)continue;a[e]=t[e]}return a}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e])}return t},u.apply(this,arguments)}function z(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,e)}return a}function g(t){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{};r%2?z(Object(a),!0).forEach(function(e){N(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):z(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}function N(t,r,a){return r=j(r),r in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function j(t){var r=B(t,"string");return typeof r=="symbol"?r:r+""}function B(t,r){if(typeof t!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var e=a.call(t,r||"default");if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function M(t){return t&&t.map((r,a)=>o.createElement(r.tag,g({key:a},r.attr),M(r.child)))}function l(t){return r=>o.createElement(C,u({attr:g({},t.attr)},r),M(t.child))}function C(t){var r=a=>{var{attr:e,size:i,title:h}=t,v=O(t,L),f=i||a.size||"1em",d;return a.className&&(d=a.className),t.className&&(d=(d?d+" ":"")+t.className),o.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},a.attr,e,v,{className:d,style:g(g({color:t.color||a.color},a.style),t.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),h&&o.createElement("title",null,h),t.children)};return w!==void 0?o.createElement(w.Consumer,null,a=>r(a)):r(p)}function P(t){return l({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 0 1-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z"},child:[]}]})(t)}function F(t){return l({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"},child:[]}]})(t)}function S(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M9.586 4l-6.586 6.586a2 2 0 0 0 0 2.828l6.586 6.586a2 2 0 0 0 2.18 .434l.145 -.068a2 2 0 0 0 1.089 -1.78v-2.586h2a1 1 0 0 0 1 -1v-6l-.007 -.117a1 1 0 0 0 -.993 -.883l-2 -.001v-2.585a2 2 0 0 0 -3.414 -1.414z"},child:[]},{tag:"path",attr:{d:"M21 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z"},child:[]},{tag:"path",attr:{d:"M18 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z"},child:[]}]})(t)}function A(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12.089 3.634a2 2 0 0 0 -1.089 1.78l-.001 2.585l-1.999 .001a1 1 0 0 0 -1 1v6l.007 .117a1 1 0 0 0 .993 .883l1.999 -.001l.001 2.587a2 2 0 0 0 3.414 1.414l6.586 -6.586a2 2 0 0 0 0 -2.828l-6.586 -6.586a2 2 0 0 0 -2.18 -.434l-.145 .068z"},child:[]},{tag:"path",attr:{d:"M3 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z"},child:[]},{tag:"path",attr:{d:"M6 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z"},child:[]}]})(t)}function E(t){return l({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z"},child:[]}]})(t)}function I(t){return l({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M400 54.1c63 45 104 118.6 104 201.9 0 136.8-110.8 247.7-247.5 248C120 504.3 8.2 393 8 256.4 7.9 173.1 48.9 99.3 111.8 54.2c11.7-8.3 28-4.8 35 7.7L162.6 90c5.9 10.5 3.1 23.8-6.6 31-41.5 30.8-68 79.6-68 134.9-.1 92.3 74.5 168.1 168 168.1 91.6 0 168.6-74.2 168-169.1-.3-51.8-24.7-101.8-68.1-134-9.7-7.2-12.4-20.5-6.5-30.9l15.8-28.1c7-12.4 23.2-16.1 34.8-7.8zM296 264V24c0-13.3-10.7-24-24-24h-32c-13.3 0-24 10.7-24 24v240c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24z"},child:[]}]})(t)}function _(t){return l({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"},child:[]}]})(t)}function D(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"},child:[]}]})(t)}function W(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M7 17V9.93L13.93 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8.93L14.07 17H7z"},child:[]},{tag:"path",attr:{d:"M9 15h4.24l7.2-7.2-4.24-4.24-7.2 7.2zM22.91 2.49 21.5 1.08c-.78-.78-2.05-.78-2.83 0l-1.06 1.06 4.24 4.24 1.06-1.06c.79-.78.79-2.05 0-2.83z"},child:[]}]})(t)}function Z(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7c-1.9 0-3.62-.76-4.88-1.99L6.7 18.42A8.982 8.982 0 0 0 13 21a9 9 0 0 0 0-18zm2 8v-1c0-1.1-.9-2-2-2s-2 .9-2 2v1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm-1 0h-2v-1c0-.55.45-1 1-1s1 .45 1 1v1z"},child:[]}]})(t)}function q(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 8v6l4.7 2.9.8-1.2-4-2.4V8z"},child:[]},{tag:"path",attr:{d:"M17.92 12A6.957 6.957 0 0 1 11 20c-3.9 0-7-3.1-7-7s3.1-7 7-7c.7 0 1.37.1 2 .29V4.23c-.64-.15-1.31-.23-2-.23-5 0-9 4-9 9s4 9 9 9a8.963 8.963 0 0 0 8.94-10h-2.02z"},child:[]},{tag:"path",attr:{d:"M20 5V2h-2v3h-3v2h3v3h2V7h3V5z"},child:[]}]})(t)}function G(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm3 5.5h-2.5V21h-1v-2.5H15v-1h2.5V15h1v2.5H21v1zM7 5h13v2H7z"},child:[]},{tag:"circle",attr:{cx:"3.5",cy:"18",r:"1.5"},child:[]},{tag:"path",attr:{d:"M18 11H7v2h6.11c1.26-1.24 2.99-2 4.89-2zM7 17v2h4.08c-.05-.33-.08-.66-.08-1s.03-.67.08-1H7z"},child:[]},{tag:"circle",attr:{cx:"3.5",cy:"6",r:"1.5"},child:[]},{tag:"circle",attr:{cx:"3.5",cy:"12",r:"1.5"},child:[]}]})(t)}function k(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 8v5l4.25 2.52.77-1.28-3.52-2.09V8H11zm10 2V3l-2.64 2.64A8.937 8.937 0 0 0 12 3a9 9 0 1 0 9 9h-2c0 3.86-3.14 7-7 7s-7-3.14-7-7 3.14-7 7-7c1.93 0 3.68.79 4.95 2.05L14 10h7z"},child:[]}]})(t)}function K(t){return l({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M341.334 128v234.666C341.334 409.604 302.938 448 256 448c-46.937 0-85.333-38.396-85.333-85.334V117.334C170.667 87.469 194.135 64 224 64c29.864 0 53.333 23.469 53.333 53.334v245.333c0 11.729-9.605 21.333-21.334 21.333s-21.333-9.604-21.333-21.333V160h-32v202.667C202.667 392.531 226.135 416 256 416c29.865 0 53.334-23.469 53.334-53.333V117.334C309.334 70.401 270.938 32 224 32s-85.334 38.401-85.334 85.334v245.332C138.667 427.729 190.938 480 256 480c65.062 0 117.334-52.271 117.334-117.334V128h-32z"},child:[]}]})(t)}function U(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M22,3 L2,11 L20.5,19 L22,3 Z M10,20.5 L13,16 M15.5,9.5 L9,14 L9.85884537,20.0119176 C9.93680292,20.5576204 10.0751625,20.5490248 10.1651297,20.009222 L11,15 L15.5,9.5 Z"},child:[]}]})(t)}function J(t){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Login"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M20.944,18.432a2.577,2.577,0,0,1-2.729,2.5c-2.153.012-4.307,0-6.46,0a.5.5,0,0,1,0-1c2.2,0,4.4.032,6.6,0,1.107-.016,1.589-.848,1.589-1.838V5.63a1.545,1.545,0,0,0-.969-1.471,3.027,3.027,0,0,0-1.061-.095H11.755a.5.5,0,0,1,0-1c2.225,0,4.465-.085,6.688,0a2.566,2.566,0,0,1,2.5,2.67Z"},child:[]},{tag:"path",attr:{d:"M15.794,12.354a.459.459,0,0,0,.138-.312A.3.3,0,0,0,15.938,12a.29.29,0,0,0-.006-.041.455.455,0,0,0-.138-.313L12.125,7.978a.5.5,0,0,0-.707.707L14.234,11.5H3.492a.5.5,0,0,0,0,1H14.234l-2.816,2.815a.5.5,0,0,0,.707.707Z"},child:[]}]}]}]})(t)}function Q(t){return l({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M336 376V272H191a16 16 0 0 1 0-32h145V136a56.06 56.06 0 0 0-56-56H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h192a56.06 56.06 0 0 0 56-56zm89.37-104-52.68 52.69a16 16 0 0 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62l-80-80a16 16 0 0 0-22.62 22.62L425.37 240H336v32z"},child:[]}]})(t)}function X(t){return l({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M192 0c-41.8 0-77.4 26.7-90.5 64L64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64l-37.5 0C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM72 272a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm104-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zM72 368a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm88 0c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16z"},child:[]}]})(t)}const x=o.forwardRef(({children:t,variant:r="primary",size:a="medium",isLoading:e=!1,loadingPosition:i="left",disabled:h=!1,isSubmit:v=!1,icon:f,iconPosition:d="left",iconType:n,label:Y,className:$,...T},R)=>{const t1="inline-flex items-center justify-center rounded-lg font-bold text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 w-full",r1={primary:"bg-[#1F2937] hover:bg-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",secondary:"bg-transparent border-2 border-[#1F2937] text-[#1F2937] hover:border-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",vividPink:"bg-[#ff0145] hover:bg-[#e6003f] focus:ring-[#ff0145] focus:border-[#ff0145]",darkMagenta:"bg-[#770069] hover:bg-[#66005c] focus:ring-[#770069] focus:border-[#770069]",veryDarkViolet:"bg-[#350053] hover:bg-[#2c003f] focus:ring-[#350053] focus:border-[#350053]",danger:"bg-[#b91c1c] hover:bg-[#9b1c1c] focus:ring-[#b91c1c] focus:border-[#b91c1c]",warning:"bg-[#f59e0b] hover:bg-[#d97706] focus:ring-[#f59e0b] focus:border-[#f59e0b]",success:"bg-[#047857] hover:bg-[#065f46] focus:ring-[#047857] focus:border-[#047857]"},e1={small:"px-4 py-1.5 text-xs",medium:"px-6 py-2.5 text-base",large:"px-8 py-3 text-lg"},a1=()=>n==="home"?c.jsx(F,{className:"w-5 h-5"}):n==="Left"?c.jsx(S,{className:"w-5 h-5"}):n==="right"?c.jsx(A,{className:"w-5 h-5"}):n==="save"?c.jsx(_,{className:"w-5 h-5"}):n==="more"?c.jsx(q,{className:"w-5 h-5"}):n==="update"?c.jsx(k,{className:"w-5 h-5"}):n==="attach"?c.jsx(K,{className:"w-5 h-5"}):n==="send"?c.jsx(U,{className:"w-5 h-5"}):n==="delete"?c.jsx(D,{className:"w-5 h-5"}):n==="edit"?c.jsx(W,{className:"w-5 h-5"}):n==="login"?c.jsx(J,{className:"w-5 h-5"}):n==="reset"?c.jsx(Z,{className:"w-5 h-5"}):n==="add"?c.jsx(G,{className:"w-5 h-5"}):n==="exit"?c.jsx(Q,{className:"w-5 h-5"}):n==="off"?c.jsx(I,{className:"w-5 h-5"}):n==="calculator"?c.jsx(P,{className:"w-5 h-5"}):n==="list"?c.jsx(X,{className:"w-5 h-5"}):n==="futbol"?c.jsx(E,{className:"w-5 h-5"}):null,y=c.jsx("div",{className:b("w-5 h-5 animate-spin border-2 border-t-transparent rounded-full",r==="secondary"?"border-[#1F2937]":"border-white")}),H=()=>o.isValidElement(f)?o.cloneElement(f,{className:"w-5 h-5"}):a1(),c1=Y||t;return c.jsxs("button",{ref:R,className:b(t1,r1[r],e1[a],{"opacity-60 cursor-not-allowed":e,"opacity-20 cursor-not-allowed":h&&!e},$),disabled:e||h,type:v?"submit":"button",...T,children:[e&&i==="left"&&c.jsx("span",{className:"mr-2",children:y}),d==="left"&&c.jsx("span",{className:"mr-2",children:H()}),c1,d==="right"&&c.jsx("span",{className:"ml-2",children:H()}),e&&i==="right"&&c.jsx("span",{className:"ml-2",children:y})]})});x.displayName="Button",s.Button=x,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prisma-goat",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"private": false,
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"main": "./dist/prisma-goat.umd.cjs",
|
|
10
|
+
"module": "./dist/prisma-goat.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/prisma-goat.js",
|
|
14
|
+
"require": "./dist/prisma-goat.umd.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./dist/prisma-goat.css": "./dist/prisma-goat.css"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "vite",
|
|
20
|
+
"build": "tsc -b && vite build",
|
|
21
|
+
"lint": "eslint .",
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"storybook": "storybook dev -p 6006",
|
|
24
|
+
"build-storybook": "storybook build"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"react": ">=18 || >=19.0.0-rc",
|
|
28
|
+
"react-dom": ">=18 || >=19.0.0-rc"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@chromatic-com/storybook": "3.2.3",
|
|
32
|
+
"@eslint/js": "^9.17.0",
|
|
33
|
+
"@storybook/addon-essentials": "8.4.7",
|
|
34
|
+
"@storybook/addon-interactions": "8.4.7",
|
|
35
|
+
"@storybook/addon-onboarding": "8.4.7",
|
|
36
|
+
"@storybook/blocks": "8.4.7",
|
|
37
|
+
"@storybook/react": "8.4.7",
|
|
38
|
+
"@storybook/react-vite": "8.4.7",
|
|
39
|
+
"@storybook/test": "8.4.7",
|
|
40
|
+
"@types/node": "^22.10.3",
|
|
41
|
+
"@types/react": "^18.3.18",
|
|
42
|
+
"@types/react-dom": "^18.3.5",
|
|
43
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
44
|
+
"autoprefixer": "^10.4.20",
|
|
45
|
+
"eslint": "^9.17.0",
|
|
46
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
47
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
48
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
49
|
+
"globals": "^15.14.0",
|
|
50
|
+
"postcss": "^8.4.49",
|
|
51
|
+
"react": "^19.0.0",
|
|
52
|
+
"react-dom": "^19.0.0",
|
|
53
|
+
"storybook": "8.4.7",
|
|
54
|
+
"tailwindcss": "^3.4.17",
|
|
55
|
+
"typescript": "~5.6.2",
|
|
56
|
+
"typescript-eslint": "^8.18.2",
|
|
57
|
+
"vite": "^6.0.5",
|
|
58
|
+
"vite-plugin-dts": "^4.4.0"
|
|
59
|
+
},
|
|
60
|
+
"eslintConfig": {
|
|
61
|
+
"extends": [
|
|
62
|
+
"plugin:storybook/recommended"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"clsx": "^2.1.1",
|
|
67
|
+
"react-icons": "^5.4.0"
|
|
68
|
+
}
|
|
69
|
+
}
|