sm-click-library-ui 0.0.9 → 0.0.10
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/sm-click-library-ui.es.js +21 -21
- package/dist/sm-click-library-ui.umd.js +1 -1
- package/dist/styleSmClick.css +23 -400
- package/package.json +1 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentScope as B, onScopeDispose as V, unref as F, watch as W, ref as S, computed as k, openBlock as _, createElementBlock as m, createElementVNode as l, toDisplayString as $, normalizeClass as C, renderSlot as
|
|
1
|
+
import { getCurrentScope as B, onScopeDispose as V, unref as F, watch as W, ref as S, computed as k, openBlock as _, createElementBlock as m, createElementVNode as l, toDisplayString as $, normalizeClass as C, renderSlot as w, createCommentVNode as g, pushScopeId as E, popScopeId as I } from "vue";
|
|
2
2
|
function H(e) {
|
|
3
3
|
return B() ? (V(e), !0) : !1;
|
|
4
4
|
}
|
|
@@ -13,7 +13,7 @@ function G() {
|
|
|
13
13
|
var e, i;
|
|
14
14
|
return z && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((i = window == null ? void 0 : window.navigator) == null ? void 0 : i.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function b(e) {
|
|
17
17
|
var i;
|
|
18
18
|
const n = L(e);
|
|
19
19
|
return (i = n == null ? void 0 : n.$el) != null ? i : n;
|
|
@@ -27,7 +27,7 @@ function x(...e) {
|
|
|
27
27
|
const r = [], p = () => {
|
|
28
28
|
r.forEach((d) => d()), r.length = 0;
|
|
29
29
|
}, f = (d, u, o, t) => (d.addEventListener(u, o, t), () => d.removeEventListener(u, o, t)), v = W(
|
|
30
|
-
() => [
|
|
30
|
+
() => [b(i), L(c)],
|
|
31
31
|
([d, u]) => {
|
|
32
32
|
if (p(), !d)
|
|
33
33
|
return;
|
|
@@ -53,12 +53,12 @@ function q(e, i, n = {}) {
|
|
|
53
53
|
if (typeof t == "string")
|
|
54
54
|
return Array.from(s.document.querySelectorAll(t)).some((a) => a === o.target || o.composedPath().includes(a));
|
|
55
55
|
{
|
|
56
|
-
const a =
|
|
56
|
+
const a = b(t);
|
|
57
57
|
return a && (o.target === a || o.composedPath().includes(a));
|
|
58
58
|
}
|
|
59
59
|
}), d = [
|
|
60
60
|
x(s, "click", (o) => {
|
|
61
|
-
const t =
|
|
61
|
+
const t = b(e);
|
|
62
62
|
if (!(!t || t === o.target || o.composedPath().includes(t))) {
|
|
63
63
|
if (o.detail === 0 && (f = !v(o)), !f) {
|
|
64
64
|
f = !0;
|
|
@@ -68,13 +68,13 @@ function q(e, i, n = {}) {
|
|
|
68
68
|
}
|
|
69
69
|
}, { passive: !0, capture: r }),
|
|
70
70
|
x(s, "pointerdown", (o) => {
|
|
71
|
-
const t =
|
|
71
|
+
const t = b(e);
|
|
72
72
|
f = !v(o) && !!(t && !o.composedPath().includes(t));
|
|
73
73
|
}, { passive: !0 }),
|
|
74
74
|
p && x(s, "blur", (o) => {
|
|
75
75
|
setTimeout(() => {
|
|
76
76
|
var t;
|
|
77
|
-
const a =
|
|
77
|
+
const a = b(e);
|
|
78
78
|
((t = s.document.activeElement) == null ? void 0 : t.tagName) === "IFRAME" && !(a != null && a.contains(s.document.activeElement)) && i(o);
|
|
79
79
|
}, 0);
|
|
80
80
|
})
|
|
@@ -86,7 +86,7 @@ const j = (e, i) => {
|
|
|
86
86
|
for (const [s, c] of i)
|
|
87
87
|
n[s] = c;
|
|
88
88
|
return n;
|
|
89
|
-
}, O = (e) => (E("data-v-
|
|
89
|
+
}, O = (e) => (E("data-v-b5d1c144"), e = e(), I(), e), R = {
|
|
90
90
|
key: 0,
|
|
91
91
|
class: "line-clamp-2 uppercase text-xs truncate text-white"
|
|
92
92
|
}, U = {
|
|
@@ -144,7 +144,7 @@ const j = (e, i) => {
|
|
|
144
144
|
}, [
|
|
145
145
|
l("button", {
|
|
146
146
|
onClick: d,
|
|
147
|
-
class: "bg-base-200 z-10 truncate flex items-center justify-between gap-6 p-2 rounded-md lg:mt-0 w-full shadow-md shadow-base-300"
|
|
147
|
+
class: "bg-lib-base-200 z-10 truncate flex items-center justify-between gap-6 p-2 rounded-md lg:mt-0 w-full shadow-md shadow-lib-base-300"
|
|
148
148
|
}, [
|
|
149
149
|
l("div", null, [
|
|
150
150
|
v.value ? (_(), m("p", R, $(r.value), 1)) : (_(), m("p", U, $(e.titleFreeSlot), 1))
|
|
@@ -160,7 +160,7 @@ const j = (e, i) => {
|
|
|
160
160
|
]),
|
|
161
161
|
c.value ? (_(), m("section", K, [
|
|
162
162
|
h.value ? (_(), m("div", Q, [
|
|
163
|
-
|
|
163
|
+
w(t.$slots, "free-slot", {}, void 0, !0)
|
|
164
164
|
])) : g("", !0),
|
|
165
165
|
v.value ? (_(), m("div", X, [
|
|
166
166
|
l("button", {
|
|
@@ -175,10 +175,10 @@ const j = (e, i) => {
|
|
|
175
175
|
])) : g("", !0)
|
|
176
176
|
], 512)) : g("", !0);
|
|
177
177
|
}
|
|
178
|
-
}, ne = /* @__PURE__ */ j(se, [["__scopeId", "data-v-
|
|
178
|
+
}, ne = /* @__PURE__ */ j(se, [["__scopeId", "data-v-b5d1c144"]]), P = (e) => (E("data-v-606bbd6b"), e = e(), I(), e), le = {
|
|
179
179
|
key: 0,
|
|
180
180
|
class: "modal_head_lib"
|
|
181
|
-
}, ie = /* @__PURE__ */ P(() => /* @__PURE__ */ l("div", { class: "modal-overlay_lib absolute h-full bg-gray-600 w-full opacity-70" }, null, -1)), ce = { class: "modal_responsive_lib" }, ae = { class: "flex min-h-full items-center justify-center text-center sm:p-0" }, re = { class: "modal_size_lib lg:w-2/6" }, de = { class: "modal_background_lib" }, ue = { class: "modal_tittle_lib text-current" }, pe = /* @__PURE__ */ P(() => /* @__PURE__ */ l("svg", {
|
|
181
|
+
}, ie = /* @__PURE__ */ P(() => /* @__PURE__ */ l("div", { class: "modal-overlay_lib absolute h-full bg-gray-600 w-full opacity-70" }, null, -1)), ce = { class: "modal_responsive_lib" }, ae = { class: "flex min-h-full items-center justify-center text-center lib-sm:p-0" }, re = { class: "modal_size_lib lg:w-2/6" }, de = { class: "modal_background_lib" }, ue = { class: "modal_tittle_lib text-current" }, pe = /* @__PURE__ */ P(() => /* @__PURE__ */ l("svg", {
|
|
182
182
|
class: "h-5 w-5",
|
|
183
183
|
fill: "currentColor",
|
|
184
184
|
viewBox: "0 0 20 20",
|
|
@@ -191,7 +191,7 @@ const j = (e, i) => {
|
|
|
191
191
|
})
|
|
192
192
|
], -1)), fe = [
|
|
193
193
|
pe
|
|
194
|
-
], _e = { class: "p-4" }, me = { class: "w-full" }, ve = { class: "block" }, he = { class: "modal_end_button_lib" }, ge = {
|
|
194
|
+
], _e = { class: "p-4" }, me = { class: "w-full" }, ve = { class: "block" }, he = { class: "modal_end_button_lib lib-sm" }, ge = {
|
|
195
195
|
__name: "simple_modal",
|
|
196
196
|
props: {
|
|
197
197
|
isOpen: Boolean,
|
|
@@ -209,7 +209,7 @@ const j = (e, i) => {
|
|
|
209
209
|
l("div", re, [
|
|
210
210
|
l("div", de, [
|
|
211
211
|
l("div", ue, [
|
|
212
|
-
|
|
212
|
+
w(r.$slots, "header", {}, void 0, !0),
|
|
213
213
|
l("button", {
|
|
214
214
|
onClick: c,
|
|
215
215
|
class: "modal_close_button_lib",
|
|
@@ -219,12 +219,12 @@ const j = (e, i) => {
|
|
|
219
219
|
l("div", _e, [
|
|
220
220
|
l("div", me, [
|
|
221
221
|
l("label", ve, [
|
|
222
|
-
|
|
222
|
+
w(r.$slots, "body", {}, void 0, !0)
|
|
223
223
|
])
|
|
224
224
|
])
|
|
225
225
|
]),
|
|
226
226
|
l("div", he, [
|
|
227
|
-
|
|
227
|
+
w(r.$slots, "footer", {}, void 0, !0)
|
|
228
228
|
])
|
|
229
229
|
])
|
|
230
230
|
])
|
|
@@ -232,13 +232,13 @@ const j = (e, i) => {
|
|
|
232
232
|
])
|
|
233
233
|
])) : g("", !0);
|
|
234
234
|
}
|
|
235
|
-
},
|
|
236
|
-
function
|
|
237
|
-
e.component("primarySelect", ne), e.component("simpleModal",
|
|
235
|
+
}, be = /* @__PURE__ */ j(ge, [["__scopeId", "data-v-606bbd6b"]]);
|
|
236
|
+
function we(e) {
|
|
237
|
+
e.component("primarySelect", ne), e.component("simpleModal", be);
|
|
238
238
|
}
|
|
239
|
-
const Se = { install:
|
|
239
|
+
const Se = { install: we };
|
|
240
240
|
export {
|
|
241
241
|
Se as default,
|
|
242
242
|
ne as primarySelect,
|
|
243
|
-
|
|
243
|
+
be as simpleModal
|
|
244
244
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(p,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(p=typeof globalThis<"u"?globalThis:p||self,e(p["sm-click-library-ui"]={},p.Vue))})(this,function(p,e){"use strict";function B(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function E(t){return typeof t=="function"?t():e.unref(t)}const S=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const O=Object.prototype.toString,A=t=>O.call(t)==="[object Object]",
|
|
1
|
+
(function(p,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(p=typeof globalThis<"u"?globalThis:p||self,e(p["sm-click-library-ui"]={},p.Vue))})(this,function(p,e){"use strict";function B(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function E(t){return typeof t=="function"?t():e.unref(t)}const S=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const O=Object.prototype.toString,A=t=>O.call(t)==="[object Object]",b=()=>{},I=M();function M(){var t,c;return S&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((c=window==null?void 0:window.navigator)==null?void 0:c.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function h(t){var c;const s=E(t);return(c=s==null?void 0:s.$el)!=null?c:s}const k=S?window:void 0;function w(...t){let c,s,l,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,l,i]=t,c=k):[c,s,l,i]=t,!c)return b;Array.isArray(s)||(s=[s]),Array.isArray(l)||(l=[l]);const a=[],u=()=>{a.forEach(d=>d()),a.length=0},f=(d,m,n,o)=>(d.addEventListener(m,n,o),()=>d.removeEventListener(m,n,o)),_=e.watch(()=>[h(c),E(i)],([d,m])=>{if(u(),!d)return;const n=A(m)?{...m}:m;a.push(...s.flatMap(o=>l.map(r=>f(d,o,r,n))))},{immediate:!0,flush:"post"}),g=()=>{_(),u()};return B(g),g}let V=!1;function z(t,c,s={}){const{window:l=k,ignore:i=[],capture:a=!0,detectIframe:u=!1}=s;if(!l)return b;I&&!V&&(V=!0,Array.from(l.document.body.children).forEach(n=>n.addEventListener("click",b)),l.document.documentElement.addEventListener("click",b));let f=!0;const _=n=>i.some(o=>{if(typeof o=="string")return Array.from(l.document.querySelectorAll(o)).some(r=>r===n.target||n.composedPath().includes(r));{const r=h(o);return r&&(n.target===r||n.composedPath().includes(r))}}),d=[w(l,"click",n=>{const o=h(t);if(!(!o||o===n.target||n.composedPath().includes(o))){if(n.detail===0&&(f=!_(n)),!f){f=!0;return}c(n)}},{passive:!0,capture:a}),w(l,"pointerdown",n=>{const o=h(t);f=!_(n)&&!!(o&&!n.composedPath().includes(o))},{passive:!0}),u&&w(l,"blur",n=>{setTimeout(()=>{var o;const r=h(t);((o=l.document.activeElement)==null?void 0:o.tagName)==="IFRAME"&&!(r!=null&&r.contains(l.document.activeElement))&&c(n)},0)})].filter(Boolean);return()=>d.forEach(n=>n())}const C=(t,c)=>{const s=t.__vccOpts||t;for(const[l,i]of c)s[l]=i;return s},y=t=>(e.pushScopeId("data-v-b5d1c144"),t=t(),e.popScopeId(),t),v={key:0,class:"line-clamp-2 uppercase text-xs truncate text-white"},L={key:1,class:"line-clamp-2 uppercase text-xs truncate text-white"},j=[y(()=>e.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"},null,-1))],P={key:0,class:"select_widget_lib"},T={key:0},F={key:1,class:"space-y-2 mt-2"},W=[y(()=>e.createElementVNode("p",{class:"line-clamp-2 uppercase text-xs truncate"},"Vertical",-1))],D=[y(()=>e.createElementVNode("p",{class:"line-clamp-2 uppercase text-xs truncate"},"Horizontal",-1))],N=C({__name:"primary_select",props:{titleFreeSlot:{type:String,default:"Free Slot"},selectConfig:{type:Object,default:()=>({chartsConfig:!1,freeSlot:!1})}},emits:["closeSelect"],setup(t,{emit:c}){const s=t,l=c,i=e.ref(!1),a=e.ref("Horizontal"),u=e.ref(null),f=e.computed(()=>s.selectConfig.length>0),_=e.computed(()=>s.selectConfig.some(o=>o.chartsConfig)),g=e.computed(()=>s.selectConfig.some(o=>o.freeSlot)),d=()=>{i.value=!i.value},m=o=>{i.value=!1,a.value=o==="horizontal"?"Vertical":"Horizontal",l("closeSelect",o)};return z(u,()=>{i.value&&(i.value=!1)}),(o,r)=>f.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"target",ref:u,class:"relative w-full"},[e.createElementVNode("button",{onClick:d,class:"bg-lib-base-200 z-10 truncate flex items-center justify-between gap-6 p-2 rounded-md lg:mt-0 w-full shadow-md shadow-lib-base-300"},[e.createElementVNode("div",null,[_.value?(e.openBlock(),e.createElementBlock("p",v,e.toDisplayString(a.value),1)):(e.openBlock(),e.createElementBlock("p",L,e.toDisplayString(t.titleFreeSlot),1))]),e.createElementVNode("div",null,[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass([i.value?"rotate-180 transition-transform ease-in-out":"","w-3 h-3 text-white"]),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},j,2))])]),i.value?(e.openBlock(),e.createElementBlock("section",P,[g.value?(e.openBlock(),e.createElementBlock("div",T,[e.renderSlot(o.$slots,"free-slot",{},void 0,!0)])):e.createCommentVNode("",!0),_.value?(e.openBlock(),e.createElementBlock("div",F,[e.createElementVNode("button",{class:e.normalizeClass([a.value==="Vertical"?"bg-green-500":"","btn_select_widget_lib"]),onClick:r[0]||(r[0]=()=>m("horizontal"))},W,2),e.createElementVNode("button",{class:e.normalizeClass([a.value!=="Vertical"?"bg-green-500":"","btn_select_widget_lib"]),onClick:r[1]||(r[1]=()=>m("vertical"))},D,2)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0)}},[["__scopeId","data-v-b5d1c144"]]),$=t=>(e.pushScopeId("data-v-606bbd6b"),t=t(),e.popScopeId(),t),H={key:0,class:"modal_head_lib"},q=$(()=>e.createElementVNode("div",{class:"modal-overlay_lib absolute h-full bg-gray-600 w-full opacity-70"},null,-1)),G={class:"modal_responsive_lib"},R={class:"flex min-h-full items-center justify-center text-center lib-sm:p-0"},U={class:"modal_size_lib lg:w-2/6"},Z={class:"modal_background_lib"},J={class:"modal_tittle_lib text-current"},K=[$(()=>e.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1))],Q={class:"p-4"},X={class:"w-full"},Y={class:"block"},ee={class:"modal_end_button_lib lib-sm"},x=C({__name:"simple_modal",props:{isOpen:Boolean,default:!1},emits:["update:isOpen"],setup(t,{emit:c}){const s=t,l=c,i=()=>{l("update:isOpen",!s.isOpen)};return(a,u)=>t.isOpen?(e.openBlock(),e.createElementBlock("div",H,[q,e.createElementVNode("div",G,[e.createElementVNode("div",R,[e.createElementVNode("div",U,[e.createElementVNode("div",Z,[e.createElementVNode("div",J,[e.renderSlot(a.$slots,"header",{},void 0,!0),e.createElementVNode("button",{onClick:i,class:"modal_close_button_lib","data-modal-toggle":"editUserModal"},K)]),e.createElementVNode("div",Q,[e.createElementVNode("div",X,[e.createElementVNode("label",Y,[e.renderSlot(a.$slots,"body",{},void 0,!0)])])]),e.createElementVNode("div",ee,[e.renderSlot(a.$slots,"footer",{},void 0,!0)])])])])])])):e.createCommentVNode("",!0)}},[["__scopeId","data-v-606bbd6b"]]);function te(t){t.component("primarySelect",N),t.component("simpleModal",x)}const oe={install:te};p.default=oe,p.primarySelect=N,p.simpleModal=x,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/styleSmClick.css
CHANGED
|
@@ -394,113 +394,6 @@ video {
|
|
|
394
394
|
display: none;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
:root,
|
|
398
|
-
[data-theme] {
|
|
399
|
-
background-color: var(--fallback-b1,oklch(var(--b1)/1));
|
|
400
|
-
color: var(--fallback-bc,oklch(var(--bc)/1));
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
@supports not (color: oklch(0% 0 0)) {
|
|
404
|
-
|
|
405
|
-
:root {
|
|
406
|
-
color-scheme: light;
|
|
407
|
-
--fallback-p: #491eff;
|
|
408
|
-
--fallback-pc: #d4dbff;
|
|
409
|
-
--fallback-s: #ff41c7;
|
|
410
|
-
--fallback-sc: #fff9fc;
|
|
411
|
-
--fallback-a: #00cfbd;
|
|
412
|
-
--fallback-ac: #00100d;
|
|
413
|
-
--fallback-n: #2b3440;
|
|
414
|
-
--fallback-nc: #d7dde4;
|
|
415
|
-
--fallback-b1: #ffffff;
|
|
416
|
-
--fallback-b2: #e5e6e6;
|
|
417
|
-
--fallback-b3: #e5e6e6;
|
|
418
|
-
--fallback-bc: #1f2937;
|
|
419
|
-
--fallback-in: #00b3f0;
|
|
420
|
-
--fallback-inc: #000000;
|
|
421
|
-
--fallback-su: #00ca92;
|
|
422
|
-
--fallback-suc: #000000;
|
|
423
|
-
--fallback-wa: #ffc22d;
|
|
424
|
-
--fallback-wac: #000000;
|
|
425
|
-
--fallback-er: #ff6f70;
|
|
426
|
-
--fallback-erc: #000000;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
@media (prefers-color-scheme: dark) {
|
|
430
|
-
|
|
431
|
-
:root {
|
|
432
|
-
color-scheme: dark;
|
|
433
|
-
--fallback-p: #7582ff;
|
|
434
|
-
--fallback-pc: #050617;
|
|
435
|
-
--fallback-s: #ff71cf;
|
|
436
|
-
--fallback-sc: #190211;
|
|
437
|
-
--fallback-a: #00c7b5;
|
|
438
|
-
--fallback-ac: #000e0c;
|
|
439
|
-
--fallback-n: #2a323c;
|
|
440
|
-
--fallback-nc: #a6adbb;
|
|
441
|
-
--fallback-b1: #1d232a;
|
|
442
|
-
--fallback-b2: #191e24;
|
|
443
|
-
--fallback-b3: #15191e;
|
|
444
|
-
--fallback-bc: #a6adbb;
|
|
445
|
-
--fallback-in: #00b3f0;
|
|
446
|
-
--fallback-inc: #000000;
|
|
447
|
-
--fallback-su: #00ca92;
|
|
448
|
-
--fallback-suc: #000000;
|
|
449
|
-
--fallback-wa: #ffc22d;
|
|
450
|
-
--fallback-wac: #000000;
|
|
451
|
-
--fallback-er: #ff6f70;
|
|
452
|
-
--fallback-erc: #000000;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
html {
|
|
458
|
-
-webkit-tap-highlight-color: transparent;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
* {
|
|
462
|
-
scrollbar-color: color-mix(in oklch, currentColor 35%, transparent) transparent;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
*:hover {
|
|
466
|
-
scrollbar-color: color-mix(in oklch, currentColor 60%, transparent) transparent;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
:root {
|
|
470
|
-
color: #fff;
|
|
471
|
-
--bc: 89.74% 0.007939 239.46702;
|
|
472
|
-
--pc: 14.4549% 0.038401 149.57933;
|
|
473
|
-
--sc: 91.2253% 0.042841 265.315522;
|
|
474
|
-
--ac: 14.4721% 0.035244 350.048739;
|
|
475
|
-
--nc: 88.9107% 0.007489 257.280836;
|
|
476
|
-
--inc: 13.6911% 0.029612 237.25135;
|
|
477
|
-
--suc: 15.6904% 0.026506 181.911977;
|
|
478
|
-
--wac: 16.6486% 0.027912 82.95003;
|
|
479
|
-
--erc: 14.3572% 0.034051 13.11834;
|
|
480
|
-
--rounded-box: 1rem;
|
|
481
|
-
--rounded-btn: 0.5rem;
|
|
482
|
-
--rounded-badge: 1.9rem;
|
|
483
|
-
--animation-btn: 0.25s;
|
|
484
|
-
--animation-input: .2s;
|
|
485
|
-
--btn-focus-scale: 0.95;
|
|
486
|
-
--border-btn: 1px;
|
|
487
|
-
--tab-border: 1px;
|
|
488
|
-
--tab-radius: 0.5rem;
|
|
489
|
-
--p: 72.2746% 0.192007 149.57933;
|
|
490
|
-
primary_alt: #00799e;
|
|
491
|
-
--s: 56.1263% 0.214204 265.315522;
|
|
492
|
-
text_current: #fff;
|
|
493
|
-
--a: 72.3603% 0.176218 350.048739;
|
|
494
|
-
--n: 44.5533% 0.037447 257.280836;
|
|
495
|
-
--b1: 48.7002% 0.039694 239.46702;
|
|
496
|
-
--b2: 31.6361% 0.024663 236.769088;
|
|
497
|
-
--b3: 21.5339% 0.018707 235.125143;
|
|
498
|
-
--in: 68.4553% 0.148062 237.25135;
|
|
499
|
-
--su: 78.452% 0.132529 181.911977;
|
|
500
|
-
--wa: 83.2428% 0.139558 82.95003;
|
|
501
|
-
--er: 71.7858% 0.170255 13.11834;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
397
|
* {
|
|
505
398
|
scrollbar-color: initial;
|
|
506
399
|
scrollbar-width: initial;
|
|
@@ -613,260 +506,6 @@ html {
|
|
|
613
506
|
--tw-contain-paint: ;
|
|
614
507
|
--tw-contain-style: ;
|
|
615
508
|
}
|
|
616
|
-
@media (hover:hover) {
|
|
617
|
-
|
|
618
|
-
.label a:hover {
|
|
619
|
-
--tw-text-opacity: 1;
|
|
620
|
-
color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
.footer {
|
|
624
|
-
display: grid;
|
|
625
|
-
width: 100%;
|
|
626
|
-
grid-auto-flow: row;
|
|
627
|
-
place-items: start;
|
|
628
|
-
-moz-column-gap: 1rem;
|
|
629
|
-
column-gap: 1rem;
|
|
630
|
-
row-gap: 2.5rem;
|
|
631
|
-
font-size: 0.875rem;
|
|
632
|
-
line-height: 1.25rem;
|
|
633
|
-
}
|
|
634
|
-
.footer > * {
|
|
635
|
-
display: grid;
|
|
636
|
-
place-items: start;
|
|
637
|
-
gap: 0.5rem;
|
|
638
|
-
}
|
|
639
|
-
@media (min-width: 48rem) {
|
|
640
|
-
|
|
641
|
-
.footer {
|
|
642
|
-
grid-auto-flow: column;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
.footer-center {
|
|
646
|
-
grid-auto-flow: row dense;
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
.label {
|
|
650
|
-
display: flex;
|
|
651
|
-
-webkit-user-select: none;
|
|
652
|
-
-moz-user-select: none;
|
|
653
|
-
user-select: none;
|
|
654
|
-
align-items: center;
|
|
655
|
-
justify-content: space-between;
|
|
656
|
-
padding-left: 0.25rem;
|
|
657
|
-
padding-right: 0.25rem;
|
|
658
|
-
padding-top: 0.5rem;
|
|
659
|
-
padding-bottom: 0.5rem;
|
|
660
|
-
}
|
|
661
|
-
.link {
|
|
662
|
-
cursor: pointer;
|
|
663
|
-
text-decoration-line: underline;
|
|
664
|
-
}
|
|
665
|
-
.select {
|
|
666
|
-
display: inline-flex;
|
|
667
|
-
cursor: pointer;
|
|
668
|
-
-webkit-user-select: none;
|
|
669
|
-
-moz-user-select: none;
|
|
670
|
-
user-select: none;
|
|
671
|
-
-webkit-appearance: none;
|
|
672
|
-
-moz-appearance: none;
|
|
673
|
-
appearance: none;
|
|
674
|
-
height: 3rem;
|
|
675
|
-
min-height: 3rem;
|
|
676
|
-
padding-inline-start: 1rem;
|
|
677
|
-
padding-inline-end: 2.5rem;
|
|
678
|
-
font-size: 0.875rem;
|
|
679
|
-
line-height: 1.25rem;
|
|
680
|
-
line-height: 2;
|
|
681
|
-
border-radius: var(--rounded-btn, 0.5rem);
|
|
682
|
-
border-width: 1px;
|
|
683
|
-
border-color: transparent;
|
|
684
|
-
--tw-bg-opacity: 1;
|
|
685
|
-
background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
|
|
686
|
-
background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
|
|
687
|
-
linear-gradient(135deg, currentColor 50%, transparent 50%);
|
|
688
|
-
background-position: calc(100% - 20px) calc(1px + 50%),
|
|
689
|
-
calc(100% - 16.1px) calc(1px + 50%);
|
|
690
|
-
background-size: 4px 4px,
|
|
691
|
-
4px 4px;
|
|
692
|
-
background-repeat: no-repeat;
|
|
693
|
-
}
|
|
694
|
-
.select[multiple] {
|
|
695
|
-
height: auto;
|
|
696
|
-
}
|
|
697
|
-
.btm-nav > * .label {
|
|
698
|
-
font-size: 1rem;
|
|
699
|
-
line-height: 1.5rem;
|
|
700
|
-
}
|
|
701
|
-
@keyframes button-pop {
|
|
702
|
-
|
|
703
|
-
0% {
|
|
704
|
-
transform: scale(var(--btn-focus-scale, 0.98));
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
40% {
|
|
708
|
-
transform: scale(1.02);
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
100% {
|
|
712
|
-
transform: scale(1);
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
@keyframes checkmark {
|
|
716
|
-
|
|
717
|
-
0% {
|
|
718
|
-
background-position-y: 5px;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
50% {
|
|
722
|
-
background-position-y: -2px;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
100% {
|
|
726
|
-
background-position-y: 0;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
.link:focus {
|
|
730
|
-
outline: 2px solid transparent;
|
|
731
|
-
outline-offset: 2px;
|
|
732
|
-
}
|
|
733
|
-
.link:focus-visible {
|
|
734
|
-
outline: 2px solid currentColor;
|
|
735
|
-
outline-offset: 2px;
|
|
736
|
-
}
|
|
737
|
-
@keyframes modal-pop {
|
|
738
|
-
|
|
739
|
-
0% {
|
|
740
|
-
opacity: 0;
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
@keyframes progress-loading {
|
|
744
|
-
|
|
745
|
-
50% {
|
|
746
|
-
background-position-x: -115%;
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
@keyframes radiomark {
|
|
750
|
-
|
|
751
|
-
0% {
|
|
752
|
-
box-shadow: 0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset,
|
|
753
|
-
0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
50% {
|
|
757
|
-
box-shadow: 0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset,
|
|
758
|
-
0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
100% {
|
|
762
|
-
box-shadow: 0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset,
|
|
763
|
-
0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset;
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
@keyframes rating-pop {
|
|
767
|
-
|
|
768
|
-
0% {
|
|
769
|
-
transform: translateY(-0.125em);
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
40% {
|
|
773
|
-
transform: translateY(-0.125em);
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
100% {
|
|
777
|
-
transform: translateY(0);
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
.select:focus {
|
|
781
|
-
box-shadow: none;
|
|
782
|
-
border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
|
|
783
|
-
outline-style: solid;
|
|
784
|
-
outline-width: 2px;
|
|
785
|
-
outline-offset: 2px;
|
|
786
|
-
outline-color: var(--fallback-bc,oklch(var(--bc)/0.2));
|
|
787
|
-
}
|
|
788
|
-
.select-disabled,
|
|
789
|
-
.select:disabled,
|
|
790
|
-
.select[disabled] {
|
|
791
|
-
cursor: not-allowed;
|
|
792
|
-
--tw-border-opacity: 1;
|
|
793
|
-
border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
|
|
794
|
-
--tw-bg-opacity: 1;
|
|
795
|
-
background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
|
|
796
|
-
color: var(--fallback-bc,oklch(var(--bc)/0.4));
|
|
797
|
-
}
|
|
798
|
-
.select-disabled::-moz-placeholder, .select:disabled::-moz-placeholder, .select[disabled]::-moz-placeholder {
|
|
799
|
-
color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
|
|
800
|
-
--tw-placeholder-opacity: 0.2;
|
|
801
|
-
}
|
|
802
|
-
.select-disabled::placeholder,
|
|
803
|
-
.select:disabled::placeholder,
|
|
804
|
-
.select[disabled]::placeholder {
|
|
805
|
-
color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
|
|
806
|
-
--tw-placeholder-opacity: 0.2;
|
|
807
|
-
}
|
|
808
|
-
.select-multiple,
|
|
809
|
-
.select[multiple],
|
|
810
|
-
.select[size].select:not([size="1"]) {
|
|
811
|
-
background-image: none;
|
|
812
|
-
padding-right: 1rem;
|
|
813
|
-
}
|
|
814
|
-
[dir="rtl"] .select {
|
|
815
|
-
background-position: calc(0% + 12px) calc(1px + 50%),
|
|
816
|
-
calc(0% + 16px) calc(1px + 50%);
|
|
817
|
-
}
|
|
818
|
-
@keyframes skeleton {
|
|
819
|
-
|
|
820
|
-
from {
|
|
821
|
-
background-position: 150%;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
to {
|
|
825
|
-
background-position: -50%;
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
@keyframes toast-pop {
|
|
829
|
-
|
|
830
|
-
0% {
|
|
831
|
-
transform: scale(0.9);
|
|
832
|
-
opacity: 0;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
100% {
|
|
836
|
-
transform: scale(1);
|
|
837
|
-
opacity: 1;
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
.artboard.phone-1.horizontal,
|
|
841
|
-
.artboard.phone-1.artboard-horizontal {
|
|
842
|
-
width: 568px;
|
|
843
|
-
height: 320px;
|
|
844
|
-
}
|
|
845
|
-
.artboard.phone-2.horizontal,
|
|
846
|
-
.artboard.phone-2.artboard-horizontal {
|
|
847
|
-
width: 667px;
|
|
848
|
-
height: 375px;
|
|
849
|
-
}
|
|
850
|
-
.artboard.phone-3.horizontal,
|
|
851
|
-
.artboard.phone-3.artboard-horizontal {
|
|
852
|
-
width: 736px;
|
|
853
|
-
height: 414px;
|
|
854
|
-
}
|
|
855
|
-
.artboard.phone-4.horizontal,
|
|
856
|
-
.artboard.phone-4.artboard-horizontal {
|
|
857
|
-
width: 812px;
|
|
858
|
-
height: 375px;
|
|
859
|
-
}
|
|
860
|
-
.artboard.phone-5.horizontal,
|
|
861
|
-
.artboard.phone-5.artboard-horizontal {
|
|
862
|
-
width: 896px;
|
|
863
|
-
height: 414px;
|
|
864
|
-
}
|
|
865
|
-
.artboard.phone-6.horizontal,
|
|
866
|
-
.artboard.phone-6.artboard-horizontal {
|
|
867
|
-
width: 1024px;
|
|
868
|
-
height: 320px;
|
|
869
|
-
}
|
|
870
509
|
.fixed {
|
|
871
510
|
position: fixed;
|
|
872
511
|
}
|
|
@@ -996,24 +635,9 @@ html {
|
|
|
996
635
|
border-top-left-radius: 1rem;
|
|
997
636
|
border-top-right-radius: 1rem;
|
|
998
637
|
}
|
|
999
|
-
.border-base-300 {
|
|
638
|
+
.border-lib-base-300 {
|
|
1000
639
|
--tw-border-opacity: 1;
|
|
1001
|
-
border-color:
|
|
1002
|
-
}
|
|
1003
|
-
.bg-base-100 {
|
|
1004
|
-
--tw-bg-opacity: 1;
|
|
1005
|
-
background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
|
|
1006
|
-
}
|
|
1007
|
-
.bg-base-200 {
|
|
1008
|
-
--tw-bg-opacity: 1;
|
|
1009
|
-
background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
|
|
1010
|
-
}
|
|
1011
|
-
.bg-base-200\/40 {
|
|
1012
|
-
background-color: var(--fallback-b2,oklch(var(--b2)/0.4));
|
|
1013
|
-
}
|
|
1014
|
-
.bg-base-300 {
|
|
1015
|
-
--tw-bg-opacity: 1;
|
|
1016
|
-
background-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));
|
|
640
|
+
border-color: rgb(17 27 33 / var(--tw-border-opacity));
|
|
1017
641
|
}
|
|
1018
642
|
.bg-black {
|
|
1019
643
|
--tw-bg-opacity: 1;
|
|
@@ -1031,6 +655,21 @@ html {
|
|
|
1031
655
|
--tw-bg-opacity: 1;
|
|
1032
656
|
background-color: rgb(34 197 94 / var(--tw-bg-opacity));
|
|
1033
657
|
}
|
|
658
|
+
.bg-lib-base-100 {
|
|
659
|
+
--tw-bg-opacity: 1;
|
|
660
|
+
background-color: rgb(75 99 116 / var(--tw-bg-opacity));
|
|
661
|
+
}
|
|
662
|
+
.bg-lib-base-200 {
|
|
663
|
+
--tw-bg-opacity: 1;
|
|
664
|
+
background-color: rgb(38 52 61 / var(--tw-bg-opacity));
|
|
665
|
+
}
|
|
666
|
+
.bg-lib-base-200\/40 {
|
|
667
|
+
background-color: rgb(38 52 61 / 0.4);
|
|
668
|
+
}
|
|
669
|
+
.bg-lib-base-300 {
|
|
670
|
+
--tw-bg-opacity: 1;
|
|
671
|
+
background-color: rgb(17 27 33 / var(--tw-bg-opacity));
|
|
672
|
+
}
|
|
1034
673
|
.p-1 {
|
|
1035
674
|
padding: 0.25rem;
|
|
1036
675
|
}
|
|
@@ -1087,8 +726,8 @@ html {
|
|
|
1087
726
|
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
|
|
1088
727
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1089
728
|
}
|
|
1090
|
-
.shadow-base-300 {
|
|
1091
|
-
--tw-shadow-color:
|
|
729
|
+
.shadow-lib-base-300 {
|
|
730
|
+
--tw-shadow-color: #111B21;
|
|
1092
731
|
--tw-shadow: var(--tw-shadow-colored);
|
|
1093
732
|
}
|
|
1094
733
|
.backdrop-blur-\[2px\] {
|
|
@@ -1164,35 +803,19 @@ html {
|
|
|
1164
803
|
--tw-scale-y: 1.05;
|
|
1165
804
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1166
805
|
}
|
|
1167
|
-
.hover\:bg-base-100:hover {
|
|
806
|
+
.hover\:bg-lib-base-100:hover {
|
|
1168
807
|
--tw-bg-opacity: 1;
|
|
1169
|
-
background-color:
|
|
1170
|
-
}
|
|
1171
|
-
@media (min-width: 640px) {
|
|
1172
|
-
|
|
1173
|
-
.sm\:p-0 {
|
|
1174
|
-
padding: 0px;
|
|
1175
|
-
}
|
|
808
|
+
background-color: rgb(75 99 116 / var(--tw-bg-opacity));
|
|
1176
809
|
}
|
|
1177
810
|
@media (min-width: 864px) {
|
|
1178
811
|
|
|
1179
|
-
.
|
|
812
|
+
.lib_md\:w-1\/2 {
|
|
1180
813
|
width: 50%;
|
|
1181
814
|
}
|
|
1182
815
|
}
|
|
1183
|
-
@media (min-width: 1280px) {
|
|
1184
|
-
|
|
1185
|
-
.lg\:mt-0 {
|
|
1186
|
-
margin-top: 0px;
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
.lg\:w-2\/6 {
|
|
1190
|
-
width: 33.333333%;
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
816
|
@media (min-width: 1512px) {
|
|
1194
817
|
|
|
1195
|
-
.
|
|
818
|
+
.lib_xl\:w-1\/3 {
|
|
1196
819
|
width: 33.333333%;
|
|
1197
820
|
}
|
|
1198
821
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sm-click-library-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"main": "dist/sm-click-library-ui.es.js",
|
|
5
5
|
"module": "dist/sm-click-library-ui.umd.js",
|
|
6
6
|
"private": false,
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@tailwindcss/typography": "^0.5.13",
|
|
13
13
|
"@vueuse/core": "^10.11.0",
|
|
14
|
-
"daisyui": "^4.12.10",
|
|
15
14
|
"tailwind-scrollbar": "^3.1.0",
|
|
16
15
|
"vue": "^3.4.29"
|
|
17
16
|
},
|