@myissue/vue-website-page-builder 3.3.99 → 3.4.1
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/style.css +1 -1
- package/dist/vue-website-page-builder.js +19 -19
- package/dist/vue-website-page-builder.umd.cjs +6 -6
- package/package.json +1 -1
- package/src/Components/PageBuilder/EditorMenu/Editables/BackgroundColorEditor.vue +4 -4
- package/src/Components/PageBuilder/EditorMenu/Editables/EditGetElement.vue +5 -5
- package/src/Components/PageBuilder/EditorMenu/Editables/TextColorEditor.vue +4 -4
- package/src/Components/PageBuilder/ToolbarOption/ToolbarOption.vue +1 -1
- package/src/Components/TipTap/TipTapInput.vue +1 -1
- package/src/PageBuilder/PageBuilder.vue +2 -2
- package/src/css/style.css +12 -0
- package/src/tests/DefaultComponents/DefaultBuilderComponents.vue +1 -1
package/package.json
CHANGED
|
@@ -46,11 +46,11 @@ watch(
|
|
|
46
46
|
>
|
|
47
47
|
<ListboxButton
|
|
48
48
|
v-if="globalPageLayout"
|
|
49
|
-
class="pbx-flex pbx-flex-row pbx-justify-between pbx-items-center pbx-pl-3 pbx-pr-3 pbx-py-5 pbx-cursor-pointer pbx-duration-200 hover:pbx-bg-myPrimaryLightGrayColor"
|
|
49
|
+
class="pbx-flex pbx-flex-row pbx-justify-between pbx-items-center pbx-pl-3 pbx-pr-3 pbx-py-5 pbx-cursor-pointer pbx-duration-200 hover:pbx-bg-myPrimaryLightGrayColor pbx-bg-white hover:pbx-text-black pbx-text-black pbx-font-sans pbx-font-medium"
|
|
50
50
|
>
|
|
51
51
|
<div class="pbx-flex pbx-justify-start pbx-items-center pbx-gap-2">
|
|
52
52
|
<div
|
|
53
|
-
class="pbx-aspect-square pbx-w-6 pbx-h-6 pbx-border pbx-border-gray-
|
|
53
|
+
class="pbx-aspect-square pbx-w-6 pbx-h-6 pbx-border pbx-border-gray-600 pbx-rounded-sm pbx-bg-none pbx-border-solid"
|
|
54
54
|
:class="`pbx-bg-${backgroundColor?.replace('pbx-bg-', '')}`"
|
|
55
55
|
></div>
|
|
56
56
|
<div>{{ translate('Background Color') }}</div>
|
|
@@ -61,7 +61,7 @@ watch(
|
|
|
61
61
|
|
|
62
62
|
<ListboxButton
|
|
63
63
|
v-if="!globalPageLayout"
|
|
64
|
-
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0"
|
|
64
|
+
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0 pbx-text-myPrimaryDarkGrayColor"
|
|
65
65
|
>
|
|
66
66
|
<div class="pbx-flex pbx-flex-col">
|
|
67
67
|
<div class="pbx-flex pbx-gap-2 pbx-items-center">
|
|
@@ -83,7 +83,7 @@ watch(
|
|
|
83
83
|
leave-to-class="pbx-opacity-0"
|
|
84
84
|
>
|
|
85
85
|
<ListboxOptions
|
|
86
|
-
class="pbx-absolute pbx-min-w-[12rem] pbx-z-40 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-gray-50 pbx-py-1 pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm"
|
|
86
|
+
class="pbx-headless-dropdown pbx-absolute pbx-min-w-[12rem] pbx-z-40 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-gray-50 pbx-py-1 pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm"
|
|
87
87
|
>
|
|
88
88
|
<ListboxOption
|
|
89
89
|
as="template"
|
|
@@ -268,7 +268,7 @@ const handleModalIframeSrc = function () {
|
|
|
268
268
|
<button
|
|
269
269
|
@click="handleModalIframeSrc"
|
|
270
270
|
type="button"
|
|
271
|
-
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0"
|
|
271
|
+
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0 pbx-text-myPrimaryDarkGrayColor"
|
|
272
272
|
>
|
|
273
273
|
<span class="material-symbols-outlined"> play_circle </span>
|
|
274
274
|
</button>
|
|
@@ -285,7 +285,7 @@ const handleModalIframeSrc = function () {
|
|
|
285
285
|
<button
|
|
286
286
|
@click="handleModalPreviewTiptap"
|
|
287
287
|
type="button"
|
|
288
|
-
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0"
|
|
288
|
+
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0 pbx-text-myPrimaryDarkGrayColor"
|
|
289
289
|
>
|
|
290
290
|
<span class="material-symbols-outlined"> edit </span>
|
|
291
291
|
</button>
|
|
@@ -305,7 +305,7 @@ const handleModalIframeSrc = function () {
|
|
|
305
305
|
<button
|
|
306
306
|
@click="handleAddImage"
|
|
307
307
|
type="button"
|
|
308
|
-
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0"
|
|
308
|
+
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0 pbx-text-myPrimaryDarkGrayColor"
|
|
309
309
|
>
|
|
310
310
|
<span class="material-symbols-outlined"> add_photo_alternate </span>
|
|
311
311
|
</button>
|
|
@@ -327,7 +327,7 @@ const handleModalIframeSrc = function () {
|
|
|
327
327
|
<button
|
|
328
328
|
@click="pageBuilderService.deleteElementFromDOM"
|
|
329
329
|
type="button"
|
|
330
|
-
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0"
|
|
330
|
+
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0 pbx-text-myPrimaryDarkGrayColor"
|
|
331
331
|
>
|
|
332
332
|
<span class="material-symbols-outlined"> delete </span>
|
|
333
333
|
</button>
|
|
@@ -335,7 +335,7 @@ const handleModalIframeSrc = function () {
|
|
|
335
335
|
|
|
336
336
|
<div
|
|
337
337
|
v-if="getElement && getComponent"
|
|
338
|
-
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0"
|
|
338
|
+
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0 pbx-text-myPrimaryDarkGrayColor"
|
|
339
339
|
@click="pageBuilderService.clearHtmlSelection()"
|
|
340
340
|
>
|
|
341
341
|
<span class="material-symbols-outlined"> close</span>
|
|
@@ -46,11 +46,11 @@ watch(
|
|
|
46
46
|
>
|
|
47
47
|
<ListboxButton
|
|
48
48
|
v-if="globalPageLayout"
|
|
49
|
-
class="pbx-flex pbx-flex-row pbx-justify-between pbx-items-center pbx-pl-3 pbx-pr-3 pbx-py-5 pbx-cursor-pointer pbx-duration-200 hover:pbx-bg-myPrimaryLightGrayColor"
|
|
49
|
+
class="pbx-flex pbx-flex-row pbx-justify-between pbx-items-center pbx-pl-3 pbx-pr-3 pbx-py-5 pbx-cursor-pointer pbx-duration-200 hover:pbx-bg-myPrimaryLightGrayColor pbx-bg-white hover:pbx-text-black pbx-text-black pbx-font-sans pbx-font-medium"
|
|
50
50
|
>
|
|
51
51
|
<div class="pbx-flex pbx-justify-start pbx-items-center pbx-gap-2">
|
|
52
52
|
<div
|
|
53
|
-
class="pbx-aspect-square pbx-w-6 pbx-h-6 pbx-border pbx-border-gray-
|
|
53
|
+
class="pbx-aspect-square pbx-w-6 pbx-h-6 pbx-border pbx-border-gray-600 pbx-rounded-sm pbx-bg-none pbx-border-solid"
|
|
54
54
|
:class="`pbx-bg-${textColor?.replace('pbx-text-', '')}`"
|
|
55
55
|
></div>
|
|
56
56
|
<div>
|
|
@@ -63,7 +63,7 @@ watch(
|
|
|
63
63
|
|
|
64
64
|
<ListboxButton
|
|
65
65
|
v-if="!globalPageLayout"
|
|
66
|
-
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0"
|
|
66
|
+
class="pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-200 pbx-aspect-square hover:pbx-bg-gray-100 hover:pbx-fill-white focus-visible:pbx-ring-0 pbx-text-myPrimaryDarkGrayColor"
|
|
67
67
|
>
|
|
68
68
|
<div class="pbx-flex pbx-flex-col">
|
|
69
69
|
<div class="pbx-flex pbx-gap-2 pbx-items-center">
|
|
@@ -85,7 +85,7 @@ watch(
|
|
|
85
85
|
leave-to-class="pbx-opacity-0"
|
|
86
86
|
>
|
|
87
87
|
<ListboxOptions
|
|
88
|
-
class="pbx-absolute pbx-min-w-[12rem] pbx-z-40 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-gray-50 pbx-py-1 pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm"
|
|
88
|
+
class="pbx-headless-dropdown pbx-absolute pbx-min-w-[12rem] pbx-z-40 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-gray-50 pbx-py-1 pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm"
|
|
89
89
|
>
|
|
90
90
|
<ListboxOption
|
|
91
91
|
as="template"
|
|
@@ -97,7 +97,7 @@ const openHTMLSettings = function () {
|
|
|
97
97
|
<div class="pbx-mr-2">
|
|
98
98
|
<!-- User No image Start-->
|
|
99
99
|
<div
|
|
100
|
-
class="pbx-flex pbx-items-center pbx-myPrimaryTag pbx-whitespace-nowrap pbx-py-0"
|
|
100
|
+
class="pbx-flex pbx-items-center pbx-myPrimaryTag pbx-whitespace-nowrap pbx-py-0 pbx-gap-2"
|
|
101
101
|
v-if="
|
|
102
102
|
getPageBuilderConfig &&
|
|
103
103
|
getPageBuilderConfig.userForPageBuilder &&
|
|
@@ -224,7 +224,7 @@ onMounted(() => {
|
|
|
224
224
|
<div v-if="pageBuilderService.isSelectedElementValidText() && editor">
|
|
225
225
|
<div class="pbx-relative pbx-rounded-lg">
|
|
226
226
|
<div
|
|
227
|
-
class="pbx-flex pbx-justify-between pbx-myPrimaryGap pbx-items-center pbx-
|
|
227
|
+
class="pbx-flex pbx-justify-between pbx-myPrimaryGap pbx-items-center pbx-pb-2 pbx-mb-2 pbx-px-4 pbx-overflow-x-auto pbx-border-0 pbx-border-b pbx-border-solid pbx-border-gray-200"
|
|
228
228
|
>
|
|
229
229
|
<div>
|
|
230
230
|
<div>
|
|
@@ -761,7 +761,7 @@ onMounted(async () => {
|
|
|
761
761
|
>
|
|
762
762
|
<select
|
|
763
763
|
id="pbx-lang"
|
|
764
|
-
class="pbx-myPrimarySelect pbx-min-w-
|
|
764
|
+
class="pbx-myPrimarySelect pbx-min-w-24"
|
|
765
765
|
v-model="languageSelction"
|
|
766
766
|
>
|
|
767
767
|
<template
|
|
@@ -1003,7 +1003,7 @@ onMounted(async () => {
|
|
|
1003
1003
|
box-shadow: none !important;
|
|
1004
1004
|
background: #fff;
|
|
1005
1005
|
min-height: 25rem;
|
|
1006
|
-
border-bottom: 1px solid #
|
|
1006
|
+
border-bottom: 1px solid #f1f1f1;
|
|
1007
1007
|
padding: 0px 0px 10px 16px;
|
|
1008
1008
|
margin-bottom: 20px;
|
|
1009
1009
|
padding-bottom: 100px;
|
package/src/css/style.css
CHANGED
|
@@ -478,6 +478,13 @@
|
|
|
478
478
|
|
|
479
479
|
.pbx-myPrimaryInput,
|
|
480
480
|
.pbx-myPrimarySelect {
|
|
481
|
+
appearance: none;
|
|
482
|
+
-webkit-appearance: none;
|
|
483
|
+
-moz-appearance: none;
|
|
484
|
+
|
|
485
|
+
background-repeat: no-repeat;
|
|
486
|
+
background-size: 1rem;
|
|
487
|
+
padding-right: 1rem;
|
|
481
488
|
}
|
|
482
489
|
|
|
483
490
|
.pbx-myPrimaryInput:focus,
|
|
@@ -534,3 +541,8 @@
|
|
|
534
541
|
padding: 1rem 0 0 1rem;
|
|
535
542
|
line-height: 1.2;
|
|
536
543
|
}
|
|
544
|
+
|
|
545
|
+
.pbx-headless-dropdown {
|
|
546
|
+
list-style: none;
|
|
547
|
+
padding: 0;
|
|
548
|
+
}
|
|
@@ -163,7 +163,7 @@ const getSvgPreview = (title: string) => {
|
|
|
163
163
|
@click="handleDropComponent(convertToComponentObject(comp))"
|
|
164
164
|
>
|
|
165
165
|
<div
|
|
166
|
-
class="pbx-overflow-hidden pbx-whitespace-pre-line pbx-flex-1 pbx-h-auto pbx-border-solid pbx-border-b pbx-border-gray-200 lg:pbx-py-10 pbx-py-8 pbx-px-2"
|
|
166
|
+
class="pbx-overflow-hidden pbx-whitespace-pre-line pbx-flex-1 pbx-h-auto pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 lg:pbx-py-10 pbx-py-8 pbx-px-2"
|
|
167
167
|
>
|
|
168
168
|
<!-- Use SVG preview instead of external images -->
|
|
169
169
|
<div
|