sprintify-ui 0.0.73 → 0.0.75
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/sprintify-ui.es.js
CHANGED
|
@@ -5388,13 +5388,15 @@ const su = { class: "flex items-center" }, iu = {
|
|
|
5388
5388
|
onClick: d
|
|
5389
5389
|
}, {
|
|
5390
5390
|
default: H(({ active: x }) => [
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5391
|
+
Q(l.$slots, "item", { item: i }, () => [
|
|
5392
|
+
U(nn, {
|
|
5393
|
+
label: i.label,
|
|
5394
|
+
count: i.count,
|
|
5395
|
+
icon: i.icon,
|
|
5396
|
+
color: i.color,
|
|
5397
|
+
active: x
|
|
5398
|
+
}, null, 8, ["label", "count", "icon", "color", "active"])
|
|
5399
|
+
])
|
|
5398
5400
|
]),
|
|
5399
5401
|
_: 2
|
|
5400
5402
|
}, 1032, ["href", "onClick"])
|
|
@@ -5406,13 +5408,15 @@ const su = { class: "flex items-center" }, iu = {
|
|
|
5406
5408
|
href: i.href
|
|
5407
5409
|
}, {
|
|
5408
5410
|
default: H(({ active: p }) => [
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5411
|
+
Q(l.$slots, "item", { item: i }, () => [
|
|
5412
|
+
U(nn, {
|
|
5413
|
+
label: i.label,
|
|
5414
|
+
count: i.count,
|
|
5415
|
+
icon: i.icon,
|
|
5416
|
+
color: i.color,
|
|
5417
|
+
active: p
|
|
5418
|
+
}, null, 8, ["label", "count", "icon", "color", "active"])
|
|
5419
|
+
])
|
|
5416
5420
|
]),
|
|
5417
5421
|
_: 2
|
|
5418
5422
|
}, 1032, ["href"])) : i.action ? (w(), ee(h(Bt), {
|
|
@@ -5423,13 +5427,15 @@ const su = { class: "flex items-center" }, iu = {
|
|
|
5423
5427
|
onClick: i.action
|
|
5424
5428
|
}, {
|
|
5425
5429
|
default: H(({ active: p }) => [
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5430
|
+
Q(l.$slots, "item", { item: i }, () => [
|
|
5431
|
+
U(nn, {
|
|
5432
|
+
label: i.label,
|
|
5433
|
+
count: i.count,
|
|
5434
|
+
icon: i.icon,
|
|
5435
|
+
color: i.color,
|
|
5436
|
+
active: p
|
|
5437
|
+
}, null, 8, ["label", "count", "icon", "color", "active"])
|
|
5438
|
+
])
|
|
5433
5439
|
]),
|
|
5434
5440
|
_: 2
|
|
5435
5441
|
}, 1032, ["onClick"])) : G("", !0)
|
|
@@ -7777,7 +7783,7 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
|
|
|
7777
7783
|
disabled: e.disabled,
|
|
7778
7784
|
placeholder: e.placeholder,
|
|
7779
7785
|
required: h(o),
|
|
7780
|
-
class: q(["w-full border-none bg-
|
|
7786
|
+
class: q(["w-full border-none bg-white outline-none focus:z-[1] focus:ring-2 focus:ring-primary-600 focus:ring-offset-1 disabled:cursor-not-allowed disabled:text-slate-300", {
|
|
7781
7787
|
"rounded-l": !e.iconLeft && !e.prefix,
|
|
7782
7788
|
"rounded-r": !e.iconRight && !e.suffix
|
|
7783
7789
|
}]),
|
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
:disabled="disabled"
|
|
31
31
|
:placeholder="placeholder"
|
|
32
32
|
:required="requiredInternal"
|
|
33
|
-
class="w-full border-none bg-
|
|
33
|
+
class="w-full border-none bg-white outline-none focus:z-[1] focus:ring-2 focus:ring-primary-600 focus:ring-offset-1 disabled:cursor-not-allowed disabled:text-slate-300"
|
|
34
34
|
:class="{
|
|
35
35
|
'rounded-l': !iconLeft && !prefix,
|
|
36
36
|
'rounded-r': !iconRight && !suffix,
|
|
@@ -39,13 +39,15 @@
|
|
|
39
39
|
:href="href"
|
|
40
40
|
@click="navigate"
|
|
41
41
|
>
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
<slot name="item" :item="item">
|
|
43
|
+
<BaseMenuItem
|
|
44
|
+
:label="item.label"
|
|
45
|
+
:count="item.count"
|
|
46
|
+
:icon="item.icon"
|
|
47
|
+
:color="item.color"
|
|
48
|
+
:active="active"
|
|
49
|
+
/>
|
|
50
|
+
</slot>
|
|
49
51
|
</MenuItem>
|
|
50
52
|
</router-link>
|
|
51
53
|
|
|
@@ -55,13 +57,15 @@
|
|
|
55
57
|
as="a"
|
|
56
58
|
:href="item.href"
|
|
57
59
|
>
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
<slot name="item" :item="item">
|
|
61
|
+
<BaseMenuItem
|
|
62
|
+
:label="item.label"
|
|
63
|
+
:count="item.count"
|
|
64
|
+
:icon="item.icon"
|
|
65
|
+
:color="item.color"
|
|
66
|
+
:active="active"
|
|
67
|
+
/>
|
|
68
|
+
</slot>
|
|
65
69
|
</MenuItem>
|
|
66
70
|
|
|
67
71
|
<MenuItem
|
|
@@ -72,13 +76,15 @@
|
|
|
72
76
|
class="w-full"
|
|
73
77
|
@click="item.action"
|
|
74
78
|
>
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
<slot name="item" :item="item">
|
|
80
|
+
<BaseMenuItem
|
|
81
|
+
:label="item.label"
|
|
82
|
+
:count="item.count"
|
|
83
|
+
:icon="item.icon"
|
|
84
|
+
:color="item.color"
|
|
85
|
+
:active="active"
|
|
86
|
+
/>
|
|
87
|
+
</slot>
|
|
82
88
|
</MenuItem>
|
|
83
89
|
</template>
|
|
84
90
|
</slot>
|