@myissue/vue-website-page-builder 3.0.20 → 3.0.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myissue/vue-website-page-builder",
3
- "version": "v3.0.20",
3
+ "version": "v3.0.21",
4
4
  "description": "🚧 DEVELOPMENT VERSION - Vue.js page builder component with drag & drop functionality. Not ready for production use.",
5
5
  "type": "module",
6
6
  "main": "./dist/vue-website-page-builder.umd.cjs",
@@ -1,9 +1,9 @@
1
1
  <script setup>
2
- import Modal from '@/Components/Modals/Modal.vue';
3
- import {} from '@headlessui/vue';
2
+ import Modal from '@/Components/Modals/Modal.vue'
3
+ import {} from '@headlessui/vue'
4
4
 
5
5
  defineProps({
6
- show: {
6
+ showDynamicModal: {
7
7
  type: Boolean,
8
8
  default: false,
9
9
  required: true,
@@ -52,35 +52,31 @@ defineProps({
52
52
  thirdButtonText: {
53
53
  type: String,
54
54
  },
55
- });
55
+ })
56
56
 
57
57
  const emit = defineEmits([
58
58
  'firstModalButtonFunction',
59
59
  'secondModalButtonFunction',
60
60
  'thirdModalButtonFunction',
61
- ]);
61
+ ])
62
62
 
63
63
  // first button function
64
64
  const firstButton = function () {
65
- emit('firstModalButtonFunction');
66
- };
65
+ emit('firstModalButtonFunction')
66
+ }
67
67
  // second button function
68
68
  const secondButton = function () {
69
- emit('secondModalButtonFunction');
70
- };
69
+ emit('secondModalButtonFunction')
70
+ }
71
71
 
72
72
  // third button function
73
73
  const thirdButton = function () {
74
- emit('thirdModalButtonFunction');
75
- };
74
+ emit('thirdModalButtonFunction')
75
+ }
76
76
  </script>
77
77
 
78
78
  <template>
79
- <Modal
80
- :show="show"
81
- @close="firstButton"
82
- :maxWidth="maxWidth"
83
- >
79
+ <Modal :show="showDynamicModal" @close="firstButton" :maxWidth="maxWidth">
84
80
  <slot name="content" />
85
81
 
86
82
  <div
@@ -103,9 +99,7 @@ const thirdButton = function () {
103
99
  v-if="type === 'warning'"
104
100
  class="h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryErrorColor hover:text-white"
105
101
  >
106
- <span class="material-symbols-outlined">
107
- notification_important
108
- </span>
102
+ <span class="material-symbols-outlined"> notification_important </span>
109
103
  </div>
110
104
 
111
105
  <div
@@ -122,10 +116,7 @@ const thirdButton = function () {
122
116
  <span class="material-symbols-outlined"> warning </span>
123
117
  </div>
124
118
 
125
- <h3
126
- as="h3"
127
- class="myQuaternaryHeader my-0 py-0"
128
- >
119
+ <h3 as="h3" class="myQuaternaryHeader my-0 py-0">
129
120
  {{ title }}
130
121
  </h3>
131
122
  </div>
@@ -142,10 +133,7 @@ const thirdButton = function () {
142
133
 
143
134
  <div :class="{ 'p-4': simpleModal !== true }">
144
135
  <template v-if="simpleModal !== true">
145
- <div
146
- v-html="description"
147
- class="myPrimaryParagraph mb-6"
148
- ></div>
136
+ <div v-html="description" class="myPrimaryParagraph mb-6"></div>
149
137
  </template>
150
138
 
151
139
  <slot name="header"></slot>
@@ -188,10 +176,7 @@ const thirdButton = function () {
188
176
  >
189
177
  <div>
190
178
  <Transition name="bounce">
191
- <div
192
- role="status"
193
- class="flex items-center"
194
- >
179
+ <div role="status" class="flex items-center">
195
180
  <svg
196
181
  aria-hidden="true"
197
182
  class="w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center"
@@ -240,10 +225,7 @@ const thirdButton = function () {
240
225
  >
241
226
  <div>
242
227
  <Transition name="bounce">
243
- <div
244
- role="status"
245
- class="flex items-center"
246
- >
228
+ <div role="status" class="flex items-center">
247
229
  <svg
248
230
  aria-hidden="true"
249
231
  class="w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center"
@@ -290,10 +272,7 @@ const thirdButton = function () {
290
272
  >
291
273
  <div>
292
274
  <Transition name="bounce">
293
- <div
294
- role="status"
295
- class="flex items-center"
296
- >
275
+ <div role="status" class="flex items-center">
297
276
  <svg
298
277
  aria-hidden="true"
299
278
  class="w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center"
@@ -341,10 +320,7 @@ const thirdButton = function () {
341
320
  >
342
321
  <div>
343
322
  <Transition name="bounce">
344
- <div
345
- role="status"
346
- class="flex items-center"
347
- >
323
+ <div role="status" class="flex items-center">
348
324
  <svg
349
325
  aria-hidden="true"
350
326
  class="w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center"
@@ -392,10 +368,7 @@ const thirdButton = function () {
392
368
  >
393
369
  <div>
394
370
  <Transition name="bounce">
395
- <div
396
- role="status"
397
- class="flex items-center"
398
- >
371
+ <div role="status" class="flex items-center">
399
372
  <svg
400
373
  aria-hidden="true"
401
374
  class="w-4 h-4 animate-spin text-white-600 fill-gray-800 flex items-center"
@@ -104,7 +104,7 @@ const settingsSlideOverButton = function () {
104
104
  <PageBuilderSettings> </PageBuilderSettings>
105
105
  </SlideOverRight>
106
106
  <DynamicModal
107
- :show="showModalDeleteAllComponents"
107
+ :showDynamicModal="showModalDeleteAllComponents"
108
108
  :type="typeModal"
109
109
  :gridColumnAmount="gridColumnModal"
110
110
  :title="titleModal"
@@ -51,7 +51,7 @@ const deleteComponent = function (e) {
51
51
 
52
52
  <template>
53
53
  <DynamicModal
54
- :show="showModalDeleteComponent"
54
+ :showDynamicModal="showModalDeleteComponent"
55
55
  :type="typeModal"
56
56
  :gridColumnAmount="gridColumnModal"
57
57
  :title="titleModal"
@@ -205,7 +205,7 @@ const handleModalIframeSrc = function () {
205
205
  <template>
206
206
  <div>
207
207
  <DynamicModal
208
- :show="showModalIframeSrc"
208
+ :showDynamicModal="showModalIframeSrc"
209
209
  maxWidth="2xl"
210
210
  :type="typeModal"
211
211
  :gridColumnAmount="gridColumnModal"
@@ -237,7 +237,7 @@ const handleModalIframeSrc = function () {
237
237
  </DynamicModal>
238
238
  <DynamicModal
239
239
  :simpleModal="true"
240
- :show="getShowModalTipTap"
240
+ :showDynamicModal="getShowModalTipTap"
241
241
  maxWidth="5xl"
242
242
  :type="typeModal"
243
243
  :gridColumnAmount="gridColumnModal"
@@ -181,7 +181,7 @@ onMounted(() => {
181
181
  <template>
182
182
  <div>
183
183
  <DynamicModal
184
- :show="showModalUrl"
184
+ :showDynamicModal="showModalUrl"
185
185
  :type="typeModal"
186
186
  :gridColumnAmount="gridColumnModal"
187
187
  :title="titleModal"
@@ -435,7 +435,7 @@ onMounted(async () => {
435
435
  @click="pageBuilderStateStore.setMenuRight(true)"
436
436
  class="h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"
437
437
  >
438
- <span class="material-symbols-outlined"> gesture </span>
438
+ <span class="material-symbols-outlined"> palette </span>
439
439
  </button>
440
440
  </div>
441
441
  </div>
package/src/css/app.css CHANGED
@@ -1,3 +1,6 @@
1
+ /* Google Material Icons - Auto-loaded for vue-website-page-builder */
2
+ @import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');
3
+
1
4
  @tailwind base;
2
5
  @tailwind components;
3
6
  @tailwind utilities;
@@ -563,8 +566,9 @@ h3 {
563
566
  /* CSS for Vue datepicker # start */
564
567
  :root {
565
568
  /*General*/
566
- --dp-font-family: 'Jost', blinkmacsystemfont, 'Segoe UI', roboto, oxygen,
567
- ubuntu, cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
569
+ --dp-font-family:
570
+ 'Jost', blinkmacsystemfont, 'Segoe UI', roboto, oxygen, ubuntu, cantarell, 'Open Sans',
571
+ 'Helvetica Neue', sans-serif !important;
568
572
  --dp-border-radius: 40px; /*Configurable border-radius*/
569
573
  --dp-cell-border-radius: 4px; /*Specific border radius for the calendar cell*/
570
574
  --dp-common-transition: all 0.1s ease-in; /*Generic transition applied on buttons and calendar cells*/