@pitcher/canvas-ui 2025.12.11-120315-beta → 2025.12.11-120517-beta
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/canvas-ui.css +17 -17
- package/canvas-ui.js +11 -4
- package/canvas-ui.js.map +1 -1
- package/lib/types/canvases.d.ts +0 -1
- package/package.json +1 -1
package/canvas-ui.css
CHANGED
|
@@ -551,13 +551,13 @@ swiper-container::part(pagination) {
|
|
|
551
551
|
line-height: 20px;
|
|
552
552
|
letter-spacing: 0.25px;
|
|
553
553
|
color: var(--ad430d74);
|
|
554
|
-
}[data-v-
|
|
554
|
+
}[data-v-106887cb] .ais-SearchBox {
|
|
555
555
|
margin: 0;
|
|
556
556
|
}
|
|
557
|
-
[data-v-
|
|
557
|
+
[data-v-106887cb] .ais-SearchBox-submit,[data-v-106887cb] .ais-SearchBox-reset {
|
|
558
558
|
display: none;
|
|
559
559
|
}
|
|
560
|
-
.admin-search[data-v-
|
|
560
|
+
.admin-search[data-v-106887cb] .ais-SearchBox-reset {
|
|
561
561
|
display: block !important;
|
|
562
562
|
position: absolute !important;
|
|
563
563
|
right: 12px !important;
|
|
@@ -571,17 +571,17 @@ swiper-container::part(pagination) {
|
|
|
571
571
|
font-size: 16px !important;
|
|
572
572
|
z-index: 10 !important;
|
|
573
573
|
}
|
|
574
|
-
.admin-search[data-v-
|
|
574
|
+
.admin-search[data-v-106887cb] .ais-SearchBox-reset:hover {
|
|
575
575
|
color: var(--p-text2) !important;
|
|
576
576
|
}
|
|
577
|
-
.admin-search[data-v-
|
|
577
|
+
.admin-search[data-v-106887cb] .ais-SearchBox-reset:focus {
|
|
578
578
|
outline: none !important;
|
|
579
579
|
color: var(--p-primary) !important;
|
|
580
580
|
}
|
|
581
|
-
.admin-search[data-v-
|
|
581
|
+
.admin-search[data-v-106887cb] .ais-SearchBox-input {
|
|
582
582
|
padding-right: 40px !important;
|
|
583
583
|
}
|
|
584
|
-
[data-v-
|
|
584
|
+
[data-v-106887cb] .ais-SearchBox-input {
|
|
585
585
|
width: 100%;
|
|
586
586
|
padding: 12px 16px 12px 40px;
|
|
587
587
|
border: 1px solid var(--p-primary4);
|
|
@@ -590,39 +590,39 @@ swiper-container::part(pagination) {
|
|
|
590
590
|
background-color: var(--p-base);
|
|
591
591
|
transition: border-color 0.2s ease;
|
|
592
592
|
}
|
|
593
|
-
[data-v-
|
|
593
|
+
[data-v-106887cb] .ais-SearchBox-input:focus {
|
|
594
594
|
outline: none;
|
|
595
595
|
border-color: var(--p-primary);
|
|
596
596
|
box-shadow: 0 0 0 3px var(--p-primary5);
|
|
597
597
|
}
|
|
598
|
-
[data-v-
|
|
598
|
+
[data-v-106887cb] .ais-SearchBox-input::placeholder {
|
|
599
599
|
color: var(--p-text3);
|
|
600
600
|
font-size: 14px;
|
|
601
601
|
}
|
|
602
|
-
.overflow-y-auto[data-v-
|
|
602
|
+
.overflow-y-auto[data-v-106887cb] {
|
|
603
603
|
scrollbar-width: thin;
|
|
604
604
|
scrollbar-color: var(--p-border2) var(--p-surface2);
|
|
605
605
|
}
|
|
606
|
-
.overflow-y-auto[data-v-
|
|
606
|
+
.overflow-y-auto[data-v-106887cb]::-webkit-scrollbar {
|
|
607
607
|
width: 6px;
|
|
608
608
|
}
|
|
609
|
-
.overflow-y-auto[data-v-
|
|
609
|
+
.overflow-y-auto[data-v-106887cb]::-webkit-scrollbar-track {
|
|
610
610
|
background: var(--p-surface2);
|
|
611
611
|
}
|
|
612
|
-
.overflow-y-auto[data-v-
|
|
612
|
+
.overflow-y-auto[data-v-106887cb]::-webkit-scrollbar-thumb {
|
|
613
613
|
background-color: var(--p-border2);
|
|
614
614
|
border-radius: 3px;
|
|
615
615
|
}
|
|
616
|
-
.overflow-y-auto[data-v-
|
|
616
|
+
.overflow-y-auto[data-v-106887cb]::-webkit-scrollbar-thumb:hover {
|
|
617
617
|
background-color: var(--p-text3);
|
|
618
618
|
}
|
|
619
|
-
button[data-v-
|
|
619
|
+
button[data-v-106887cb]:hover {
|
|
620
620
|
transition: all 0.2s ease;
|
|
621
621
|
}
|
|
622
|
-
button[data-v-
|
|
622
|
+
button[data-v-106887cb]:focus {
|
|
623
623
|
outline: none;
|
|
624
624
|
}
|
|
625
|
-
[data-v-
|
|
625
|
+
[data-v-106887cb] mark,[data-v-106887cb] em {
|
|
626
626
|
font-weight: bold;
|
|
627
627
|
font-style: normal;
|
|
628
628
|
}
|
package/canvas-ui.js
CHANGED
|
@@ -88061,8 +88061,6 @@ const defaultSkipKeys = [
|
|
|
88061
88061
|
"id__in",
|
|
88062
88062
|
"tags__in",
|
|
88063
88063
|
"tags__not_in",
|
|
88064
|
-
"template__id",
|
|
88065
|
-
"template__id__in",
|
|
88066
88064
|
"modified_at__gtr",
|
|
88067
88065
|
"created_at__gtr",
|
|
88068
88066
|
"end_at__lt",
|
|
@@ -95236,7 +95234,16 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
95236
95234
|
if (nameMatched) {
|
|
95237
95235
|
return "";
|
|
95238
95236
|
}
|
|
95239
|
-
|
|
95237
|
+
const highlightValue = item._highlightResult?.searchable_content?.value;
|
|
95238
|
+
if (!highlightValue) return "";
|
|
95239
|
+
const emIndex = highlightValue.indexOf("<em>");
|
|
95240
|
+
if (emIndex === -1) return "";
|
|
95241
|
+
const startChar = Math.max(0, emIndex - 100);
|
|
95242
|
+
const endChar = Math.min(highlightValue.length, emIndex + 100);
|
|
95243
|
+
let truncated = highlightValue.substring(startChar, endChar);
|
|
95244
|
+
if (startChar > 0) truncated = "..." + truncated;
|
|
95245
|
+
if (endChar < highlightValue.length) truncated = truncated + "...";
|
|
95246
|
+
return sanitizeHtml(truncated);
|
|
95240
95247
|
};
|
|
95241
95248
|
const toggleCanvasFilter = (filterType) => {
|
|
95242
95249
|
if (selectedCanvasFilters.value.includes(filterType)) {
|
|
@@ -96037,7 +96044,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96037
96044
|
}
|
|
96038
96045
|
});
|
|
96039
96046
|
|
|
96040
|
-
const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5K, [["__scopeId", "data-v-
|
|
96047
|
+
const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5K, [["__scopeId", "data-v-106887cb"]]);
|
|
96041
96048
|
|
|
96042
96049
|
const BulletListExtended = BulletList.extend({
|
|
96043
96050
|
addOptions() {
|