veylan-component-library 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fusion-component-library.es.js +18 -18
- package/dist/fusion-component-library.es.js.map +1 -1
- package/dist/fusion-component-library.umd.js +1 -1
- package/dist/fusion-component-library.umd.js.map +1 -1
- package/dist/veylan-component-library.css +1 -1
- package/package.json +1 -1
- package/tailwind.config.js +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as w, createElementBlock as r, createCommentVNode as s, openBlock as a, withModifiers as B, createElementVNode as e, renderSlot as
|
|
1
|
+
import { defineComponent as w, createElementBlock as r, createCommentVNode as s, openBlock as a, withModifiers as B, createElementVNode as e, renderSlot as F, toDisplayString as u, normalizeStyle as N, normalizeClass as _, createBlock as C, createTextVNode as c, Fragment as b, renderList as z, createVNode as M, createStaticVNode as v, ref as S, computed as V, withDirectives as E, vModelText as P } from "vue";
|
|
2
2
|
import { ChevronDown as U, Share2 as G, ArrowRight as O, ArrowLeft as W, MoreHorizontal as R, ToyBrick as Z, MessageSquare as $, Home as Q } from "lucide-vue-next";
|
|
3
3
|
const K = /* @__PURE__ */ w({
|
|
4
4
|
__name: "BaseModal",
|
|
@@ -45,7 +45,7 @@ function ee(n, t, l, o, x, f) {
|
|
|
45
45
|
/* TEXT */
|
|
46
46
|
),
|
|
47
47
|
s(" Content Slot "),
|
|
48
|
-
|
|
48
|
+
F(n.$slots, "default"),
|
|
49
49
|
s(" Action Buttons "),
|
|
50
50
|
e("div", X, [
|
|
51
51
|
e(
|
|
@@ -130,7 +130,7 @@ function se(n, t, l, o, x, f) {
|
|
|
130
130
|
"stroke-width": 1.5
|
|
131
131
|
})) : s("v-if", !0),
|
|
132
132
|
s(" Text Slot "),
|
|
133
|
-
|
|
133
|
+
F(n.$slots, "default", {}, () => [
|
|
134
134
|
t[0] || (t[0] = c(
|
|
135
135
|
"Button",
|
|
136
136
|
-1
|
|
@@ -478,11 +478,11 @@ const Vt = /* @__PURE__ */ h(oe, [["render", ye], ["__file", "/root/app/code/src
|
|
|
478
478
|
key: 0,
|
|
479
479
|
class: "text-black",
|
|
480
480
|
style: { "font-size": "16px", "font-weight": "600", "line-height": "20px" }
|
|
481
|
-
},
|
|
481
|
+
}, qe = {
|
|
482
482
|
key: 1,
|
|
483
483
|
class: "text-black",
|
|
484
484
|
style: { "font-size": "12px", "font-weight": "400", "line-height": "18px" }
|
|
485
|
-
},
|
|
485
|
+
}, Fe = {
|
|
486
486
|
key: 2,
|
|
487
487
|
class: "flex items-end mt-auto",
|
|
488
488
|
style: { padding: "0 16px", gap: "4px" }
|
|
@@ -496,7 +496,7 @@ const Vt = /* @__PURE__ */ h(oe, [["render", ye], ["__file", "/root/app/code/src
|
|
|
496
496
|
}, Ae = {
|
|
497
497
|
class: "absolute left-0 top-0 flex items-center justify-center text-white",
|
|
498
498
|
style: { width: "24px", height: "24px", "font-size": "8px", "font-weight": "500", "line-height": "24px", "letter-spacing": "-0.08px" }
|
|
499
|
-
},
|
|
499
|
+
}, De = {
|
|
500
500
|
style: { width: "12px", height: "12px" },
|
|
501
501
|
viewBox: "0 0 12 12",
|
|
502
502
|
fill: "none",
|
|
@@ -575,14 +575,14 @@ function Te(n, t, l, o, x, f) {
|
|
|
575
575
|
)) : s("v-if", !0),
|
|
576
576
|
l.description ? (a(), r(
|
|
577
577
|
"p",
|
|
578
|
-
|
|
578
|
+
qe,
|
|
579
579
|
u(l.description),
|
|
580
580
|
1
|
|
581
581
|
/* TEXT */
|
|
582
582
|
)) : s("v-if", !0)
|
|
583
583
|
])) : s("v-if", !0),
|
|
584
584
|
s(" Footer Section "),
|
|
585
|
-
l.showFooter ? (a(), r("div",
|
|
585
|
+
l.showFooter ? (a(), r("div", Fe, [
|
|
586
586
|
e("div", Le, [
|
|
587
587
|
s(" Member Avatars "),
|
|
588
588
|
l.showMembers ? (a(), r("div", He, [
|
|
@@ -634,7 +634,7 @@ function Te(n, t, l, o, x, f) {
|
|
|
634
634
|
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-black hover:bg-gray-600 transition-colors",
|
|
635
635
|
style: { width: "24px", height: "24px" }
|
|
636
636
|
}, [
|
|
637
|
-
(a(), r("svg",
|
|
637
|
+
(a(), r("svg", De, t[3] || (t[3] = [
|
|
638
638
|
e(
|
|
639
639
|
"path",
|
|
640
640
|
{
|
|
@@ -681,13 +681,13 @@ const Et = /* @__PURE__ */ h(we, [["render", Te], ["__file", "/root/app/code/src
|
|
|
681
681
|
function Ve(n, t, l, o, x, f) {
|
|
682
682
|
return a(), r("div", Ne, [
|
|
683
683
|
s(" Semantic Colors "),
|
|
684
|
-
t[0] || (t[0] = v('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Color Styles - Semantic</h3><div class="grid grid-cols-2 md:grid-cols-4 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-information"></div><p class="text-xs font-medium text-black">Information</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-information</code><code class="text-xs text-gray-600">#00DADA</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-success"></div><p class="text-xs font-medium text-black">Success</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-success</code><code class="text-xs text-gray-600">#
|
|
684
|
+
t[0] || (t[0] = v('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Color Styles - Semantic</h3><div class="grid grid-cols-2 md:grid-cols-4 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-information"></div><p class="text-xs font-medium text-black">Information</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-information</code><code class="text-xs text-gray-600">#00DADA</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-success"></div><p class="text-xs font-medium text-black">Success</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-success</code><code class="text-xs text-gray-600">#C3FF00</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-warning"></div><p class="text-xs font-medium text-black">Warning</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-warning</code><code class="text-xs text-gray-600">#FFD700</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-error"></div><p class="text-xs font-medium text-black">Error</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-error</code><code class="text-xs text-gray-600">#FF6B35</code></div></div></div>', 1)),
|
|
685
685
|
s(" Base Colors "),
|
|
686
686
|
t[1] || (t[1] = v('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Base Colors</h3><div class="grid grid-cols-2 md:grid-cols-4 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-white border border-gray-200"></div><p class="text-xs font-medium text-black">White</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-white</code><code class="text-xs text-gray-600">#FFFFFF</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-black"></div><p class="text-xs font-medium text-black">Black</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-black</code><code class="text-xs text-gray-600">#000000</code></div></div></div>', 1)),
|
|
687
687
|
s(" Gray Scale "),
|
|
688
|
-
t[2] || (t[2] = v('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Gray Scale</h3><div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-gray-600"></div><p class="text-xs font-medium text-black">Gray 600</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-gray-600</code><code class="text-xs text-gray-600">#
|
|
688
|
+
t[2] || (t[2] = v('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Gray Scale</h3><div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-gray-600"></div><p class="text-xs font-medium text-black">Gray 600</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-gray-600</code><code class="text-xs text-gray-600">#303030</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-gray-500"></div><p class="text-xs font-medium text-black">Gray 500</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-gray-500</code><code class="text-xs text-gray-600">#454545</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-gray-400"></div><p class="text-xs font-medium text-black">Gray 400</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-gray-400</code><code class="text-xs text-gray-600">#5D5D5D</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-gray-300"></div><p class="text-xs font-medium text-black">Gray 300</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-gray-300</code><code class="text-xs text-gray-600">#8F8F8F</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-gray-200"></div><p class="text-xs font-medium text-black">Gray 200</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-gray-200</code><code class="text-xs text-gray-600">#C8C8C8</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-gray-100"></div><p class="text-xs font-medium text-black">Gray 100</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-gray-100</code><code class="text-xs text-gray-600">#E8E8E8</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-gray-50 border border-gray-200"></div><p class="text-xs font-medium text-black">Gray 50</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-gray-50</code><code class="text-xs text-gray-600">#F6F6F6</code></div></div></div>', 1)),
|
|
689
689
|
s(" Eletric Green Palette "),
|
|
690
|
-
t[3] || (t[3] = v('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Eletric Green</h3><div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-green-50"></div><p class="text-xs font-medium text-black">Eletric Green 50</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-green-50</code><code class="text-xs text-gray-600">#
|
|
690
|
+
t[3] || (t[3] = v('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Eletric Green</h3><div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-green-50"></div><p class="text-xs font-medium text-black">Eletric Green 50</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-green-50</code><code class="text-xs text-gray-600">#ECFFAC</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-green"></div><p class="text-xs font-medium text-black">Eletric Green</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-green</code><code class="text-xs text-gray-600">#C3FF00</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-green--25"></div><p class="text-xs font-medium text-black">Eletric Green -25</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-green--25</code><code class="text-xs text-gray-600">#8CB700</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-green--50"></div><p class="text-xs font-medium text-black">Eletric Green -50</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-green--50</code><code class="text-xs text-gray-600">#638100</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-green--75"></div><p class="text-xs font-medium text-black">Eletric Green -75</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-green--75</code><code class="text-xs text-gray-600">#354500</code></div></div></div>', 1)),
|
|
691
691
|
s(" Eletric Blue Palette "),
|
|
692
692
|
t[4] || (t[4] = v('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Eletric Blue</h3><div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-blue-50"></div><p class="text-xs font-medium text-black">Eletric Blue 50</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-blue-50</code><code class="text-xs text-gray-600">#A0F5F5</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-blue"></div><p class="text-xs font-medium text-black">Eletric Blue</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-blue</code><code class="text-xs text-gray-600">#00DADA</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-blue--25"></div><p class="text-xs font-medium text-black">Eletric Blue -25</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-blue--25</code><code class="text-xs text-gray-600">#00BABA</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-blue--50"></div><p class="text-xs font-medium text-black">Eletric Blue -50</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-blue--50</code><code class="text-xs text-gray-600">#009A9A</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-eletric-blue--75"></div><p class="text-xs font-medium text-black">Eletric Blue -75</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-eletric-blue--75</code><code class="text-xs text-gray-600">#007A7A</code></div></div></div>', 1)),
|
|
693
693
|
s(" Usage Examples "),
|
|
@@ -712,7 +712,7 @@ const Pt = /* @__PURE__ */ h(je, [["render", Ve], ["__file", "/root/app/code/src
|
|
|
712
712
|
})), H = (p) => g.value.some((m) => m.email === p.email), A = (p) => {
|
|
713
713
|
const m = g.value.findIndex((y) => y.email === p.email);
|
|
714
714
|
m > -1 ? g.value.splice(m, 1) : g.value.push(p), d.value = "";
|
|
715
|
-
},
|
|
715
|
+
}, D = (p) => {
|
|
716
716
|
const m = g.value.findIndex((y) => y.email === p.email);
|
|
717
717
|
m > -1 && g.value.splice(m, 1);
|
|
718
718
|
}, T = (p) => {
|
|
@@ -720,7 +720,7 @@ const Pt = /* @__PURE__ */ h(je, [["render", Ve], ["__file", "/root/app/code/src
|
|
|
720
720
|
m > -1 && k.value.splice(m, 1);
|
|
721
721
|
}, I = () => {
|
|
722
722
|
f.value?.focus();
|
|
723
|
-
},
|
|
723
|
+
}, q = { props: o, emit: x, hiddenInput: f, showDropdown: i, searchQuery: d, selectedUsers: g, collaborators: k, availableUsers: L, isUserSelected: H, toggleUser: A, removeUser: D, removeCollaborator: T, focusInput: I, toggleDropdown: () => {
|
|
724
724
|
i.value = !i.value, i.value && I();
|
|
725
725
|
}, handleBlur: () => {
|
|
726
726
|
setTimeout(() => {
|
|
@@ -733,7 +733,7 @@ const Pt = /* @__PURE__ */ h(je, [["render", Ve], ["__file", "/root/app/code/src
|
|
|
733
733
|
k.value.some((m) => m.email === p.email) || k.value.push(p);
|
|
734
734
|
}), x("add", g.value, k.value), g.value = [], d.value = "", i.value = !1), x("close");
|
|
735
735
|
} };
|
|
736
|
-
return Object.defineProperty(
|
|
736
|
+
return Object.defineProperty(q, "__isScriptSetup", { enumerable: !1, value: !0 }), q;
|
|
737
737
|
}
|
|
738
738
|
}), Pe = { class: "bg-white rounded-2xl w-full max-w-[630px] p-8 shadow-xl" }, Ue = { class: "relative mb-6" }, Ge = { class: "flex flex-wrap gap-2 flex-1" }, Oe = ["onClick"], We = {
|
|
739
739
|
key: 0,
|
|
@@ -953,7 +953,7 @@ const Ut = /* @__PURE__ */ h(Ee, [["render", tt], ["__scopeId", "data-v-f6014a35
|
|
|
953
953
|
t();
|
|
954
954
|
const o = l, i = { emit: o, handleItemClick: (d) => {
|
|
955
955
|
o("item-click", d);
|
|
956
|
-
}, getIconColor: (d) => d ? "#
|
|
956
|
+
}, getIconColor: (d) => d ? "#C3FF00" : "#FFFFFF", get Home() {
|
|
957
957
|
return Q;
|
|
958
958
|
}, get MessageSquare() {
|
|
959
959
|
return $;
|
|
@@ -1360,7 +1360,7 @@ const $t = /* @__PURE__ */ h(zt, [["render", Bt], ["__file", "/root/app/code/src
|
|
|
1360
1360
|
preserveAspectRatio: "xMidYMid meet",
|
|
1361
1361
|
viewBox: "0 0 24 24"
|
|
1362
1362
|
};
|
|
1363
|
-
function
|
|
1363
|
+
function qt(n, t) {
|
|
1364
1364
|
return a(), r("svg", It, t[0] || (t[0] = [
|
|
1365
1365
|
e(
|
|
1366
1366
|
"path",
|
|
@@ -1374,7 +1374,7 @@ function Dt(n, t) {
|
|
|
1374
1374
|
)
|
|
1375
1375
|
]));
|
|
1376
1376
|
}
|
|
1377
|
-
const Qt = /* @__PURE__ */ h(Mt, [["render",
|
|
1377
|
+
const Qt = /* @__PURE__ */ h(Mt, [["render", qt], ["__file", "/root/app/code/src/components/icons/IconTooling.vue"]]);
|
|
1378
1378
|
export {
|
|
1379
1379
|
jt as BaseModal,
|
|
1380
1380
|
Nt as ButtonComponent,
|