@myissue/vue-website-page-builder 3.2.85 → 3.2.90

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.
Files changed (58) hide show
  1. package/README.md +116 -16
  2. package/dist/vue-website-page-builder.css +1 -1
  3. package/dist/vue-website-page-builder.js +9217 -9022
  4. package/dist/vue-website-page-builder.umd.cjs +38 -38
  5. package/package.json +2 -2
  6. package/src/Components/Homepage/Footer.vue +9 -7
  7. package/src/Components/Homepage/Navbar.vue +6 -4
  8. package/src/Components/Layouts/FullWidthElement.vue +6 -6
  9. package/src/Components/Modals/BuilderComponents.vue +12 -6
  10. package/src/Components/Modals/DynamicModalBuilder.vue +39 -47
  11. package/src/Components/Modals/MediaLibraryModal.vue +2 -2
  12. package/src/Components/Modals/ModalBuilder.vue +23 -19
  13. package/src/Components/PageBuilder/DefaultComponents/DefaultBuilderComponents.vue +29 -17
  14. package/src/Components/PageBuilder/DefaultComponents/DefaultMediaLibraryComponent.vue +2 -2
  15. package/src/Components/PageBuilder/EditorMenu/Editables/BackgroundColorEditor.vue +22 -20
  16. package/src/Components/PageBuilder/EditorMenu/Editables/BorderRadius.vue +17 -17
  17. package/src/Components/PageBuilder/EditorMenu/Editables/Borders.vue +28 -26
  18. package/src/Components/PageBuilder/EditorMenu/Editables/ClassEditor.vue +13 -11
  19. package/src/Components/PageBuilder/EditorMenu/Editables/ComponentTopMenu.vue +5 -5
  20. package/src/Components/PageBuilder/EditorMenu/Editables/DeleteElement.vue +4 -4
  21. package/src/Components/PageBuilder/EditorMenu/Editables/EditGetElement.vue +22 -19
  22. package/src/Components/PageBuilder/EditorMenu/Editables/ElementEditor.vue +11 -11
  23. package/src/Components/PageBuilder/EditorMenu/Editables/ImageEditor.vue +4 -4
  24. package/src/Components/PageBuilder/EditorMenu/Editables/LinkEditor.vue +74 -66
  25. package/src/Components/PageBuilder/EditorMenu/Editables/ManageBackgroundOpacity.vue +26 -21
  26. package/src/Components/PageBuilder/EditorMenu/Editables/ManageOpacity.vue +26 -21
  27. package/src/Components/PageBuilder/EditorMenu/Editables/Margin.vue +101 -0
  28. package/src/Components/PageBuilder/EditorMenu/Editables/OpacityEditor.vue +2 -3
  29. package/src/Components/PageBuilder/EditorMenu/Editables/{PaddingPlusMargin.vue → Padding.vue} +8 -41
  30. package/src/Components/PageBuilder/EditorMenu/Editables/TextColorEditor.vue +22 -20
  31. package/src/Components/PageBuilder/EditorMenu/Editables/Typography.vue +63 -58
  32. package/src/Components/PageBuilder/EditorMenu/EditorAccordion.vue +7 -4
  33. package/src/Components/PageBuilder/EditorMenu/RightSidebarEditor.vue +24 -19
  34. package/src/Components/PageBuilder/Settings/AdvancedPageBuilderSettings.vue +132 -98
  35. package/src/Components/PageBuilder/Settings/PageBuilderSettings.vue +216 -146
  36. package/src/Components/PageBuilder/ToolbarOption/ToolbarOption.vue +14 -14
  37. package/src/Components/TipTap/TipTap.vue +4 -4
  38. package/src/Components/TipTap/TipTapInput.vue +39 -33
  39. package/src/DemoComponents/DemoBuilderComponents.vue +1 -1
  40. package/src/DemoComponents/DemoUnsplash.vue +79 -56
  41. package/src/DemoComponents/HomeSection.vue +20 -16
  42. package/src/PageBuilder/PageBuilder.vue +62 -57
  43. package/src/PageBuilder/Preview.vue +4 -20
  44. package/src/composables/PageBuilderClass.ts +66 -120
  45. package/src/css/app.css +161 -448
  46. package/src/css/dev-global.css +137 -0
  47. package/src/main.ts +1 -0
  48. package/src/tailwind-safelist.html +1 -1
  49. package/src/utils/builder/tailwaind-colors.ts +488 -488
  50. package/src/utils/builder/tailwind-border-radius.ts +40 -40
  51. package/src/utils/builder/tailwind-border-style-width-color.ts +231 -231
  52. package/src/utils/builder/tailwind-font-sizes.ts +56 -57
  53. package/src/utils/builder/tailwind-font-styles.ts +44 -11
  54. package/src/utils/builder/tailwind-opacities.ts +30 -30
  55. package/src/utils/builder/tailwind-padding-margin.ts +136 -136
  56. package/dist/components.json +0 -36
  57. package/src/Components/Loaders/FullScreenSpinner.vue +0 -9
  58. package/src/Components/Loaders/SmallUniversalSpinner.vue +0 -26
package/src/css/app.css CHANGED
@@ -3,7 +3,6 @@
3
3
  @import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');
4
4
  @import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');
5
5
 
6
- @tailwind base;
7
6
  @tailwind components;
8
7
  @tailwind utilities;
9
8
  @layer components {
@@ -12,8 +11,8 @@
12
11
  | Widgets
13
12
  |--------------------------------------------------------------------------
14
13
  */
15
- .myPrimaryWidget {
16
- @apply py-8 px-4 border border-myPrimaryLightGrayColor rounded-md bg-white;
14
+ .pbx-myPrimaryWidget {
15
+ @apply pbx-py-8 pbx-px-4 pbx-border pbx-border-myPrimaryLightGrayColor pbx-rounded-md pbx-bg-white;
17
16
  }
18
17
 
19
18
  /*
@@ -21,22 +20,21 @@
21
20
  | Modules
22
21
  |--------------------------------------------------------------------------
23
22
  */
24
-
25
- .myModulePyMargin {
26
- @apply md:mb-0 mb-0;
23
+ .pbx-myModulePyMargin {
24
+ @apply md:pbx-mb-0 pbx-mb-0;
27
25
  }
28
- .myModulePadding {
29
- @apply md:py-28 py-16;
26
+ .pbx-myModulePadding {
27
+ @apply md:pbx-py-28 pbx-py-16;
30
28
  }
31
29
 
32
- .myPrimaryWidthScreenModule {
33
- @apply myModulePyMargin myModulePadding;
30
+ .pbx-myPrimaryWidthScreenModule {
31
+ @apply pbx-myModulePyMargin pbx-myModulePadding;
34
32
  }
35
- .myPrimaryModule {
36
- @apply max-w-7xl mx-auto myModulePyMargin myModulePadding;
33
+ .pbx-myPrimaryModule {
34
+ @apply pbx-max-w-7xl pbx-mx-auto pbx-myModulePyMargin pbx-myModulePadding;
37
35
  }
38
- .myPrimaryContentSection {
39
- @apply max-w-7xl mx-auto md:px-4 px-4 lg:pb-10 md:pb-8 pb-6;
36
+ .pbx-myPrimaryContentSection {
37
+ @apply pbx-max-w-7xl pbx-mx-auto md:pbx-px-4 pbx-px-4 lg:pbx-pb-10 md:pbx-pb-8 pbx-pb-6;
40
38
  }
41
39
 
42
40
  /*
@@ -44,18 +42,18 @@
44
42
  | Helpers
45
43
  |--------------------------------------------------------------------------
46
44
  */
47
- .myPrimarySection {
48
- @apply lg:pb-8 lg:pt-20 md:py-8 py-8;
45
+ .pbx-myPrimarySection {
46
+ @apply lg:pbx-pb-8 lg:pbx-pt-20 md:pbx-py-8 pbx-py-8;
49
47
  }
50
48
 
51
- .myPrimaryWarningAlertMessage {
52
- @apply myPrimarySection myTertiaryHeader text-yellow-400 text-center;
49
+ .pbx-myPrimaryWarningAlertMessage {
50
+ @apply pbx-myPrimarySection pbx-myTertiaryHeader pbx-text-yellow-400 pbx-text-center;
53
51
  }
54
- .myFocus {
55
- @apply focus-within:border-2 focus-within:border-myPrimaryBrandColor;
52
+ .pbx-myFocus {
53
+ @apply focus-within:pbx-border-2 focus-within:pbx-border-myPrimaryBrandColor;
56
54
  }
57
- .myActiveLinkColor {
58
- @apply text-myPrimaryBrandColor;
55
+ .pbx-myActiveLinkColor {
56
+ @apply pbx-text-myPrimaryBrandColor;
59
57
  }
60
58
 
61
59
  /*
@@ -63,36 +61,36 @@
63
61
  | Tags
64
62
  |--------------------------------------------------------------------------
65
63
  */
66
- .myPrimaryTag {
67
- @apply min-h-[3rem] my-2 px-3 py-2
68
- text-xs break-all
69
- inline-flex gap-1 items-center justify-center
70
- rounded-full border border-transparent
71
- text-myPrimaryDarkGrayColor bg-myPrimaryLightMediumGrayColor
72
- sm:w-auto shadow-sm hover:shadow;
64
+ .pbx-myPrimaryTag {
65
+ @apply pbx-min-h-[3rem] pbx-my-2 pbx-px-3 pbx-py-2
66
+ pbx-text-xs pbx-break-all
67
+ pbx-inline-flex pbx-gap-1 pbx-items-center pbx-justify-center
68
+ pbx-rounded-full pbx-border pbx-border-transparent
69
+ pbx-text-myPrimaryDarkGrayColor pbx-bg-myPrimaryLightMediumGrayColor
70
+ sm:pbx-w-auto pbx-shadow-sm hover:pbx-shadow;
73
71
  }
74
72
  /*
75
73
  |--------------------------------------------------------------------------
76
74
  | Thumbnail
77
75
  |--------------------------------------------------------------------------
78
76
  */
79
- .myPrimarythumbnailLogo {
80
- @apply mx-auto block mt-2 mb-6 w-40 transition-all rounded-md object-cover cursor-pointer;
77
+ .pbx-myPrimarythumbnailLogo {
78
+ @apply pbx-mx-auto pbx-block pbx-mt-2 pbx-mb-6 pbx-w-40 pbx-transition-all pbx-rounded-md pbx-object-cover pbx-cursor-pointer;
81
79
  }
82
- .myPrimarythumbnailInsertPreview {
83
- @apply block md:h-16 md:w-16 h-16 w-16 hover:shadow-sm transition-all cursor-pointer rounded-full object-cover;
80
+ .pbx-myPrimarythumbnailInsertPreview {
81
+ @apply pbx-block md:pbx-h-16 md:pbx-w-16 pbx-h-16 pbx-w-16 hover:pbx-shadow-sm pbx-transition-all pbx-cursor-pointer pbx-rounded-full pbx-object-cover;
84
82
  }
85
83
  /*
86
84
  |--------------------------------------------------------------------------
87
85
  | Primary paragraphs
88
86
  |--------------------------------------------------------------------------
89
87
  */
90
- .myPrimaryParagraph {
91
- @apply font-normal text-myPrimaryDarkGrayColor lg:text-base text-sm;
88
+ .pbx-myPrimaryParagraph {
89
+ @apply pbx-font-normal pbx-text-myPrimaryDarkGrayColor lg:pbx-text-base pbx-text-sm;
92
90
  }
93
91
 
94
- .myPrimaryParagraphError {
95
- @apply myPrimaryParagraph mt-1 italic text-myPrimaryErrorColor;
92
+ .pbx-myPrimaryParagraphError {
93
+ @apply pbx-myPrimaryParagraph pbx-mt-1 pbx-italic pbx-text-myPrimaryErrorColor;
96
94
  }
97
95
 
98
96
  /*
@@ -100,42 +98,20 @@
100
98
  | Headers
101
99
  |--------------------------------------------------------------------------
102
100
  */
103
-
104
- .myPrimaryHeader {
105
- @apply lg:text-7xl md:text-6xl text-5xl font-medium break-words lg:mb-8 md:mb-4 mb-2 text-myPrimaryDarkGrayColor;
106
- }
107
-
108
- .mySecondaryHeader {
109
- @apply font-['Cormorant'] font-medium break-words lg:text-5xl md:text-4xl text-3xl lg:mb-8 md:mb-4 mb-2 text-myPrimaryDarkGrayColor;
110
- }
111
-
112
- .myTertiaryHeader {
113
- @apply font-medium break-words lg:text-3xl md:text-2xl text-2xl lg:mb-8 md:mb-4 mb-2 text-myPrimaryDarkGrayColor;
101
+ .pbx-myPrimaryHeader {
102
+ @apply lg:pbx-text-7xl md:pbx-text-6xl pbx-text-5xl pbx-font-medium pbx-break-words lg:pbx-mb-8 md:pbx-mb-4 pbx-mb-2 pbx-text-myPrimaryDarkGrayColor;
114
103
  }
115
104
 
116
- .myQuaternaryHeader {
117
- @apply font-medium break-words lg:text-xl md:text-lg text-base lg:mb-4 md:mb-2 mb-2 text-myPrimaryDarkGrayColor;
105
+ .pbx-mySecondaryHeader {
106
+ @apply pbx-font-['Cormorant'] pbx-font-medium pbx-break-words lg:pbx-text-5xl md:pbx-text-4xl pbx-text-3xl lg:pbx-mb-8 md:pbx-mb-4 pbx-mb-2 pbx-text-myPrimaryDarkGrayColor;
118
107
  }
119
108
 
120
- .video-background {
121
- position: absolute;
122
- top: 0;
123
- left: 0;
124
- width: 100%;
125
- height: 100%;
126
- overflow: hidden;
127
- z-index: -1;
109
+ .pbx-myTertiaryHeader {
110
+ @apply pbx-font-medium pbx-break-words lg:pbx-text-3xl md:pbx-text-2xl pbx-text-2xl lg:pbx-mb-8 md:pbx-mb-4 pbx-mb-2 pbx-text-myPrimaryDarkGrayColor;
128
111
  }
129
112
 
130
- .video-background video {
131
- min-width: 100%;
132
- min-height: 100%;
133
- width: auto;
134
- height: auto;
135
- position: absolute;
136
- top: 50%;
137
- left: 50%;
138
- transform: translate(-50%, -50%);
113
+ .pbx-myQuaternaryHeader {
114
+ @apply pbx-font-medium pbx-break-words lg:pbx-text-xl md:pbx-text-lg pbx-text-base lg:pbx-mb-4 md:pbx-mb-2 pbx-mb-2 pbx-text-myPrimaryDarkGrayColor;
139
115
  }
140
116
 
141
117
  /*
@@ -143,18 +119,18 @@
143
119
  | Links
144
120
  |--------------------------------------------------------------------------
145
121
  */
146
- .myPrimaryLink {
147
- @apply text-myPrimaryLinkColor
148
- focus:outline-none
149
- focus:ring-0 focus:ring-myPrimaryLinkColor
150
- focus-visible:ring-0 focus-visible:ring-myPrimaryLinkColor cursor-pointer;
122
+ .pbx-myPrimaryLink {
123
+ @apply pbx-text-myPrimaryLinkColor
124
+ focus:pbx-outline-none
125
+ focus:pbx-ring-0 focus:pbx-ring-myPrimaryLinkColor
126
+ focus-visible:pbx-ring-0 focus-visible:pbx-ring-myPrimaryLinkColor pbx-cursor-pointer;
151
127
  }
152
128
 
153
- .myPrimaryActiveLink {
154
- @apply text-red-600 text-sm
155
- focus:outline-none
156
- focus:ring-0 focus:ring-red-500
157
- focus-visible:ring-0 focus-visible:ring-red-500;
129
+ .pbx-myPrimaryActiveLink {
130
+ @apply pbx-text-red-600 pbx-text-sm
131
+ focus:pbx-outline-none
132
+ focus:pbx-ring-0 focus:pbx-ring-red-500
133
+ focus-visible:pbx-ring-0 focus-visible:pbx-ring-red-500;
158
134
  }
159
135
 
160
136
  /*
@@ -162,52 +138,50 @@
162
138
  | Buttons
163
139
  |--------------------------------------------------------------------------
164
140
  */
165
-
166
- .myPrimaryMenuTextButton {
167
- @apply lg:flex lg:gap-2 lg:items-center focus:outline-none cursor-pointer rounded-full px-1.5 py-1.5 font-medium;
141
+ .pbx-myPrimaryMenuTextButton {
142
+ @apply lg:pbx-flex lg:pbx-gap-2 lg:pbx-items-center focus:pbx-outline-none pbx-cursor-pointer pbx-rounded-full pbx-px-1.5 pbx-py-1.5 pbx-font-medium;
168
143
  }
169
- .myRadio {
170
- @apply w-5 h-5 text-myPrimaryBrandColor bg-myPrimaryLightGrayColor border-gray-300 focus:ring-myPrimaryBrandColor dark:focus:ring-myPrimaryBrandColor dark:ring-offset-gray-800 focus:ring-2 dark:bg-myPrimaryDarkGrayColor dark:border-gray-600;
144
+ .pbx-myRadio {
145
+ @apply pbx-w-5 pbx-h-5 pbx-text-myPrimaryBrandColor pbx-bg-myPrimaryLightGrayColor pbx-border-gray-300 focus:pbx-ring-myPrimaryBrandColor dark:focus:pbx-ring-myPrimaryBrandColor dark:pbx-ring-offset-gray-800 focus:pbx-ring-2 dark:pbx-bg-myPrimaryDarkGrayColor dark:pbx-border-gray-600;
171
146
  }
172
147
 
173
- .myPrimaryButton {
174
- @apply min-h-[3rem] lg:px-4 lg:py-3 px-3 py-3
175
- sm:text-sm text-xs whitespace-nowrap break-keep font-medium inline-flex gap-1 items-center justify-center rounded-full border border-transparent bg-myPrimaryLinkColor text-white shadow-sm hover:bg-myPrimaryLinkColor sm:w-auto
176
- focus:outline-none focus:ring-2 focus:ring-myPrimaryLinkColor focus:ring-offset-2
177
- focus-visible:ring-2 focus-visible:ring-myPrimaryLinkColor;
148
+ .pbx-myPrimaryButton {
149
+ @apply pbx-min-h-[3rem] lg:pbx-px-4 lg:pbx-py-3 pbx-px-3 pbx-py-3
150
+ sm:pbx-text-sm pbx-text-xs pbx-whitespace-nowrap pbx-break-keep pbx-font-medium pbx-inline-flex pbx-gap-1 pbx-items-center pbx-justify-center pbx-rounded-full pbx-border pbx-border-transparent pbx-bg-myPrimaryLinkColor pbx-text-white pbx-shadow-sm hover:pbx-bg-myPrimaryLinkColor sm:pbx-w-auto
151
+ focus:pbx-outline-none focus:pbx-ring-2 focus:pbx-ring-myPrimaryLinkColor focus:pbx-ring-offset-2
152
+ focus-visible:pbx-ring-2 focus-visible:pbx-ring-myPrimaryLinkColor;
178
153
  }
179
154
 
180
- .mySecondaryButton {
181
- @apply myPrimaryButton bg-myPrimaryLightMediumGrayColor hover:bg-myPrimaryLightMediumGrayColor hover:bg-opacity-90 focus:ring-myPrimaryLightGrayColor text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor shadow-sm;
155
+ .pbx-mySecondaryButton {
156
+ @apply pbx-myPrimaryButton pbx-bg-myPrimaryLightMediumGrayColor hover:pbx-bg-myPrimaryLightMediumGrayColor hover:pbx-bg-opacity-90 focus:pbx-ring-myPrimaryLightGrayColor pbx-text-myPrimaryDarkGrayColor hover:pbx-text-myPrimaryDarkGrayColor pbx-shadow-sm;
182
157
  }
183
158
 
184
- .myPrimaryDeleteButton {
185
- @apply myPrimaryButton bg-myPrimaryErrorColor hover:bg-myPrimaryErrorColor focus:ring-myPrimaryErrorColor;
159
+ .pbx-myPrimaryDeleteButton {
160
+ @apply pbx-myPrimaryButton pbx-bg-myPrimaryErrorColor hover:pbx-bg-myPrimaryErrorColor focus:pbx-ring-myPrimaryErrorColor;
186
161
  }
187
162
 
188
- .myPrimaryToggleButton {
189
- @apply w-full inline-flex items-center justify-center px-4 py-2 sm:text-sm text-sm font-semibold text-myPrimaryDarkGrayColor shadow-sm focus:outline-none focus:ring-2 focus:ring-myPrimaryBrandColor focus:ring-offset-2 bg-myPrimaryLightGrayColor hover:bg-myPrimaryBrandColor hover:text-white;
163
+ .pbx-myPrimaryToggleButton {
164
+ @apply pbx-w-full pbx-inline-flex pbx-items-center pbx-justify-center pbx-px-4 pbx-py-2 sm:pbx-text-sm pbx-text-sm pbx-font-semibold pbx-text-myPrimaryDarkGrayColor pbx-shadow-sm focus:pbx-outline-none focus:pbx-ring-2 focus:pbx-ring-myPrimaryBrandColor focus:pbx-ring-offset-2 pbx-bg-myPrimaryLightGrayColor hover:pbx-bg-myPrimaryBrandColor hover:pbx-text-white;
190
165
  }
191
166
  /*
192
167
  |--------------------------------------------------------------------------
193
168
  | Buttons With no background
194
169
  |--------------------------------------------------------------------------
195
170
  */
196
-
197
- .myPrimaryButtonNoBackground {
198
- @apply myPrimaryParagraph font-medium text-myPrimaryBrandColor
199
- focus:outline-none cursor-pointer;
171
+ .pbx-myPrimaryButtonNoBackground {
172
+ @apply pbx-myPrimaryParagraph pbx-font-medium pbx-text-myPrimaryBrandColor
173
+ focus:pbx-outline-none pbx-cursor-pointer;
200
174
  }
201
175
  /*
202
176
  |--------------------------------------------------------------------------
203
177
  | Icons
204
178
  |--------------------------------------------------------------------------
205
179
  */
206
- .mySmallIcon {
207
- @apply shrink-0 h-4 w-4 m-2 stroke-[1.5px] flex justify-center items-center;
180
+ .pbx-mySmallIcon {
181
+ @apply pbx-shrink-0 pbx-h-4 pbx-w-4 pbx-m-2 pbx-stroke-[1.5px] pbx-flex pbx-justify-center pbx-items-center;
208
182
  }
209
- .myMediumIcon {
210
- @apply shrink-0 h-6 w-6 stroke-[1.5px] flex justify-center items-center;
183
+ .pbx-myMediumIcon {
184
+ @apply pbx-shrink-0 pbx-h-6 pbx-w-6 pbx-stroke-[1.5px] pbx-flex pbx-justify-center pbx-items-center;
211
185
  }
212
186
 
213
187
  /*
@@ -215,45 +189,44 @@
215
189
  | Tables
216
190
  |--------------------------------------------------------------------------
217
191
  */
218
-
219
- .myTableContainerPlusScrollButton {
220
- @apply relative p-2 border-gray-400 border rounded;
192
+ .pbx-myTableContainerPlusScrollButton {
193
+ @apply pbx-relative pbx-p-2 pbx-border-gray-400 pbx-border pbx-rounded;
221
194
  }
222
- .myScrollButtonContainer {
223
- @apply sticky z-10 h-12 top-16 left-0 right-0 flex items-center justify-center myPrimaryGap bg-myPrimaryLightGrayColor bg-opacity-50;
195
+ .pbx-myScrollButtonContainer {
196
+ @apply pbx-sticky pbx-z-10 pbx-h-12 pbx-top-16 pbx-left-0 pbx-right-0 pbx-flex pbx-items-center pbx-justify-center pbx-myPrimaryGap pbx-bg-myPrimaryLightGrayColor pbx-bg-opacity-50;
224
197
  }
225
- .myTableContainer {
226
- @apply overflow-x-auto myPrimarySection py-0 px-0;
198
+ .pbx-myTableContainer {
199
+ @apply pbx-overflow-x-auto pbx-myPrimarySection pbx-py-0 pbx-px-0;
227
200
  }
228
- .myTableSubContainer {
229
- @apply min-w-full align-middle;
201
+ .pbx-myTableSubContainer {
202
+ @apply pbx-min-w-full pbx-align-middle;
230
203
  }
231
- .myPrimaryTable {
232
- @apply text-sm divide-y divide-myPrimaryLightGrayColor table-fixed min-w-full text-left mb-20;
204
+ .pbx-myPrimaryTable {
205
+ @apply pbx-text-sm pbx-divide-y pbx-divide-myPrimaryLightGrayColor pbx-table-fixed pbx-min-w-full pbx-text-left pbx-mb-20;
233
206
  }
234
- .myPrimaryTableCaption {
235
- @apply bg-white myPrimaryParagraph py-4;
207
+ .pbx-myPrimaryTableCaption {
208
+ @apply pbx-bg-white pbx-myPrimaryParagraph pbx-py-4;
236
209
  }
237
- .myPrimaryTableTHead {
238
- @apply bg-gray-50;
210
+ .pbx-myPrimaryTableTHead {
211
+ @apply pbx-bg-gray-50;
239
212
  }
240
- .myPrimaryTableTr {
241
- @apply divide-x divide-gray-300;
213
+ .pbx-myPrimaryTableTr {
214
+ @apply pbx-divide-x pbx-divide-gray-300;
242
215
  }
243
- .myPrimaryTableTh {
244
- @apply px-6 py-4 font-normal text-gray-900;
216
+ .pbx-myPrimaryTableTh {
217
+ @apply pbx-px-6 pbx-py-4 pbx-font-normal pbx-text-gray-900;
245
218
  }
246
- .myPrimaryTableTBody {
247
- @apply divide-y divide-gray-100 border-t border-gray-100 bg-white;
219
+ .pbx-myPrimaryTableTBody {
220
+ @apply pbx-divide-y pbx-divide-gray-100 pbx-border-t pbx-border-gray-100 pbx-bg-white;
248
221
  }
249
- .myPrimaryTableTBodyTr {
250
- @apply divide-x myPrimaryParagraph bg-white hover:bg-red-50;
222
+ .pbx-myPrimaryTableTBodyTr {
223
+ @apply pbx-divide-x pbx-myPrimaryParagraph pbx-bg-white hover:pbx-bg-red-50;
251
224
  }
252
- .myPrimaryTableTBodyTd {
253
- @apply px-6 py-4 whitespace-pre myPrimaryParagraph;
225
+ .pbx-myPrimaryTableTBodyTd {
226
+ @apply pbx-px-6 pbx-py-4 pbx-whitespace-pre pbx-myPrimaryParagraph;
254
227
  }
255
- .myPrimaryResourceTableBodyTdTitle {
256
- @apply whitespace-normal;
228
+ .pbx-myPrimaryResourceTableBodyTdTitle {
229
+ @apply pbx-whitespace-normal;
257
230
  }
258
231
 
259
232
  /*
@@ -261,8 +234,8 @@
261
234
  | Grid
262
235
  |--------------------------------------------------------------------------
263
236
  */
264
- .myPrimaryGap {
265
- @apply gap-4;
237
+ .pbx-myPrimaryGap {
238
+ @apply pbx-gap-4;
266
239
  }
267
240
 
268
241
  /*
@@ -270,9 +243,8 @@
270
243
  | Breadcrumbs
271
244
  |--------------------------------------------------------------------------
272
245
  */
273
-
274
- .myBreadcrumbsContainer {
275
- @apply flex items-center justify-start gap-1 py-2 pl-4 pr-2 font-medium;
246
+ .pbx-myBreadcrumbsContainer {
247
+ @apply pbx-flex pbx-items-center pbx-justify-start pbx-gap-1 pbx-py-2 pbx-pl-4 pbx-pr-2 pbx-font-medium;
276
248
  }
277
249
 
278
250
  /*
@@ -280,17 +252,16 @@
280
252
  | Search Bars
281
253
  |--------------------------------------------------------------------------
282
254
  */
283
-
284
- .mysearchBarWithOptions {
285
- @apply flex gap-2 pl-4 rounded-full border border-gray-200 bg-myPrimaryLightGrayColor;
255
+ .pbx-mysearchBarWithOptions {
256
+ @apply pbx-flex pbx-gap-2 pbx-pl-4 pbx-rounded-full pbx-border pbx-border-gray-200 pbx-bg-myPrimaryLightGrayColor;
286
257
  }
287
258
 
288
- .myPrimarySearchInput {
289
- @apply myPrimaryInput text-sm py-4 border-none outline-none pl-10 h-full bg-transparent focus:ring-0 focus:ring-offset-0 focus:border-none focus:bg-transparent focus:outline-none shadow-none;
259
+ .pbx-myPrimarySearchInput {
260
+ @apply pbx-myPrimaryInput pbx-text-sm pbx-py-4 pbx-border-none pbx-outline-none pbx-pl-10 pbx-h-full pbx-bg-transparent focus:pbx-ring-0 focus:pbx-ring-offset-0 focus:pbx-border-none focus:pbx-bg-transparent focus:pbx-outline-none pbx-shadow-none;
290
261
  }
291
262
 
292
- .myPrimarySearchButton {
293
- @apply rounded-r-full text-sm lg:pl-8 lg:pr-10 pl-4 pr-4 text-center border-l border-gray-300 font-medium hover:bg-gray-200;
263
+ .pbx-myPrimarySearchButton {
264
+ @apply pbx-rounded-r-full pbx-text-sm lg:pbx-pl-8 lg:pbx-pr-10 pbx-pl-4 pbx-pr-4 pbx-text-center pbx-border-l pbx-border-gray-300 pbx-font-medium hover:pbx-bg-gray-200;
294
265
  }
295
266
 
296
267
  /*
@@ -298,349 +269,91 @@
298
269
  | Forms
299
270
  |--------------------------------------------------------------------------
300
271
  */
301
- .myPrimaryFormWithActions {
302
- @apply flex flex-col myPrimaryGap md:pb-4 px-2 rounded;
272
+ .pbx-myPrimaryFormWithActions {
273
+ @apply pbx-flex pbx-flex-col pbx-myPrimaryGap pbx-px-2 pbx-rounded md:pbx-pb-4;
303
274
  }
304
- .myPrimaryContentLayout {
305
- @apply md:flex md:flex-row flex flex-col myPrimaryGap;
275
+ .pbx-myPrimaryContentLayout {
276
+ @apply pbx-flex pbx-flex-col pbx-myPrimaryGap md:pbx-flex md:pbx-flex-row;
306
277
  }
307
-
308
- .myPrimaryFormTitleDescription {
309
- @apply flex flex-col w-full;
278
+ .pbx-myPrimaryFormTitleDescription {
279
+ @apply pbx-flex pbx-flex-col pbx-w-full;
310
280
  }
311
-
312
- .myPrimaryFormMain {
313
- @apply md:w-8/12 flex flex-col myPrimaryGap;
281
+ .pbx-myPrimaryFormMain {
282
+ @apply pbx-flex pbx-flex-col pbx-myPrimaryGap md:pbx-w-8/12;
314
283
  }
315
- .myPrimaryFormSidebar {
316
- @apply md:w-4/12 flex flex-col myPrimaryGap;
284
+ .pbx-myPrimaryFormSidebar {
285
+ @apply pbx-flex pbx-flex-col pbx-myPrimaryGap md:pbx-w-4/12;
317
286
  }
318
- .myPrimaryActions {
319
- @apply px-4 py-6 rounded bg-myPrimaryLightGrayColor shadow-sm;
287
+ .pbx-myPrimaryActions {
288
+ @apply pbx-px-4 pbx-py-6 pbx-rounded pbx-bg-myPrimaryLightGrayColor pbx-shadow-sm;
320
289
  }
321
290
 
322
- .myInputsOrganization {
323
- @apply px-4 pt-4 pb-4 bg-white rounded-lg border border-gray-200;
291
+ .pbx-myInputsOrganization {
292
+ @apply pbx-px-4 pbx-pt-4 pbx-pb-4 pbx-bg-white pbx-rounded-lg pbx-border pbx-border-gray-200;
324
293
  }
325
294
 
326
- .myPrimaryFormOrganizationHeaderDescriptionSection {
327
- @apply mb-4;
295
+ .pbx-myPrimaryFormOrganizationHeaderDescriptionSection {
296
+ @apply pbx-mb-4;
328
297
  }
329
- .myPrimaryFormOrganizationHeader {
330
- @apply myQuaternaryHeader m-0 pt-4;
298
+ .pbx-myPrimaryFormOrganizationHeader {
299
+ @apply pbx-myQuaternaryHeader pbx-m-0 pbx-pt-4;
331
300
  }
332
301
 
333
- .myInputsFamily {
334
- @apply flex items-center myPrimaryGap;
302
+ .pbx-myInputsFamily {
303
+ @apply pbx-flex pbx-items-center pbx-myPrimaryGap;
335
304
  }
336
305
 
337
- .myInputGroup {
338
- @apply w-full self-start mb-2 px-2;
306
+ .pbx-myInputGroup {
307
+ @apply pbx-w-full pbx-self-start pbx-mb-2 pbx-px-2;
339
308
  }
340
- .myDoActionButtonSection {
341
- @apply px-4 py-4 border border-myPrimaryLightGrayColor rounded sm:px-6 text-right mt-1 bg-gray-50;
309
+ .pbx-myDoActionButtonSection {
310
+ @apply pbx-px-4 pbx-py-4 pbx-border pbx-border-myPrimaryLightGrayColor pbx-rounded sm:pbx-px-6 pbx-text-right pbx-mt-1 pbx-bg-gray-50;
342
311
  }
343
312
 
344
- .myPrimaryInputLabel {
345
- @apply my-0 block text-sm font-normal text-myPrimaryDarkGrayColor text-left mb-2;
313
+ .pbx-myPrimaryInputLabel {
314
+ @apply pbx-my-0 pbx-block pbx-text-sm pbx-font-normal pbx-text-myPrimaryDarkGrayColor pbx-text-left pbx-mb-2;
346
315
  }
347
316
 
348
- .myPrimaryFormFocus {
349
- @apply focus:ring-2 focus:ring-myPrimaryLinkColor focus:ring-offset-2 focus:border focus:border-gray-200;
317
+ .pbx-myPrimaryFormFocus {
318
+ @apply focus:pbx-ring-2 focus:pbx-ring-myPrimaryLinkColor focus:pbx-ring-offset-2 focus:pbx-border focus:pbx-border-gray-200;
350
319
  }
351
- .myPrimaryInput {
352
- @apply block pr-8 text-left bg-white w-full sm:text-sm font-normal text-myPrimaryDarkGrayColor placeholder:font-normal placeholder:accent-gray-300 focus:bg-white rounded-md py-3 px-3 border border-gray-300 shadow-sm focus:outline-none myPrimaryFormFocus h-full;
320
+ .pbx-myPrimaryInput {
321
+ @apply pbx-block pbx-pr-8 pbx-text-left pbx-bg-white pbx-w-full sm:pbx-text-sm pbx-font-normal pbx-text-myPrimaryDarkGrayColor placeholder:pbx-font-normal placeholder:pbx-accent-gray-300 focus:pbx-bg-white pbx-rounded-md pbx-py-3 pbx-px-3 pbx-border pbx-border-gray-300 pbx-shadow-sm focus:pbx-outline-none pbx-myPrimaryFormFocus pbx-h-full;
353
322
  }
354
- .myPrimaryInputNoBorder {
355
- @apply myPrimaryInput placeholder:accent-gray-300 focus:bg-none rounded-md py-3 px-3 border-none focus:outline-none focus:ring-0 focus:ring-offset-0 focus:border-none shadow-none;
323
+ .pbx-myPrimaryInputNoBorder {
324
+ @apply pbx-myPrimaryInput pbx-placeholder:accent-gray-300 focus:pbx-bg-none pbx-rounded-md pbx-py-3 pbx-px-3 pbx-border-none focus:pbx-outline-none focus:pbx-ring-0 focus:pbx-ring-offset-0 focus:pbx-border-none pbx-shadow-none;
356
325
  }
357
- .myPrimaryInputReadonly {
358
- @apply myPrimaryInput bg-gray-50 focus:ring-0 focus:bg-myPrimaryLightGrayColor focus:border-myPrimaryMediumGrayColor;
326
+ .pbx-myPrimaryInputReadonly {
327
+ @apply pbx-myPrimaryInput pbx-bg-gray-50 focus:pbx-ring-0 focus:pbx-bg-myPrimaryLightGrayColor focus:pbx-border-myPrimaryMediumGrayColor;
359
328
  }
360
329
 
361
- .myPrimaryInputError {
362
- @apply mt-1 myPrimaryParagraph block font-normal text-myPrimaryErrorColor text-left;
330
+ .pbx-myPrimaryInputError {
331
+ @apply pbx-mt-1 pbx-myPrimaryParagraph pbx-block pbx-font-normal pbx-text-myPrimaryErrorColor pbx-text-left;
363
332
  }
364
333
 
365
- .myPrimaryHiddenInputField {
366
- @apply px-0;
334
+ .pbx-myPrimaryHiddenInputField {
335
+ @apply pbx-px-0;
367
336
  }
368
337
 
369
- .myPrimaryTextArea {
370
- @apply block w-full sm:text-sm font-normal text-myPrimaryDarkGrayColor placeholder:font-normal placeholder:accent-gray-400 bg-gray-50 focus:bg-white rounded-md py-3 px-3 border border-gray-300 shadow-sm focus:outline-none focus:ring-2 focus:ring-myPrimaryLinkColor focus:border-transparent;
338
+ .pbx-myPrimaryTextArea {
339
+ @apply pbx-block pbx-w-full sm:pbx-text-sm pbx-font-normal pbx-text-myPrimaryDarkGrayColor pbx-placeholder:font-normal pbx-placeholder:accent-gray-400 pbx-bg-gray-50 focus:pbx-bg-white pbx-rounded-md pbx-py-3 pbx-px-3 pbx-border pbx-border-gray-300 pbx-shadow-sm focus:pbx-outline-none focus:pbx-ring-2 focus:pbx-ring-myPrimaryLinkColor focus:pbx-border-transparent;
371
340
  }
372
341
 
373
- .myPrimaryCheckbox {
374
- @apply focus:ring-myPrimaryBrandColor h-5 w-5 text-myPrimaryBrandColor border-gray-400 rounded-md;
342
+ .pbx-myPrimaryCheckbox {
343
+ @apply focus:pbx-ring-myPrimaryBrandColor pbx-h-5 pbx-w-5 pbx-text-myPrimaryBrandColor pbx-border-gray-400 pbx-rounded-md;
375
344
  }
376
345
 
377
- .myPrimarySelect {
378
- @apply relative myPrimaryInput w-full;
346
+ .pbx-myPrimarySelect {
347
+ @apply pbx-relative pbx-myPrimaryInput pbx-w-full;
379
348
  }
380
- .myPrimaryFakeSelect {
381
- @apply hover:ring-myPrimaryLinkColor border border-gray-300 flex flex-row justify-between items-center myPrimaryGap py-2.5 pl-3 pr-1 cursor-pointer hover:border-transparent hover:ring-2 rounded-md;
349
+ .pbx-myPrimaryFakeSelect {
350
+ @apply hover:pbx-ring-myPrimaryLinkColor pbx-border pbx-border-gray-300 pbx-flex pbx-flex-row pbx-justify-between pbx-items-center pbx-myPrimaryGap pbx-py-2.5 pbx-pl-3 pbx-pr-1 pbx-cursor-pointer hover:pbx-border-transparent hover:pbx-ring-2 pbx-rounded-md;
382
351
  }
383
- .myPrimaryFakeSelectNoHover {
384
- @apply myPrimaryFakeSelect focus:outline-none focus:border-transparent hover:border-transparent;
352
+ .pbx-myPrimaryFakeSelectNoHover {
353
+ @apply pbx-myPrimaryFakeSelect focus:pbx-outline-none focus:pbx-border-transparent hover:pbx-border-transparent;
385
354
  }
386
355
 
387
- .myPrimaryColorPreview {
388
- @apply aspect-square border border-gray-200 cursor-pointer min-h-[1.5rem] rounded-sm;
356
+ .pbx-myPrimaryColorPreview {
357
+ @apply pbx-aspect-square pbx-border pbx-border-gray-200 pbx-cursor-pointer pbx-min-h-[1.5rem] pbx-rounded-sm;
389
358
  }
390
359
  }
391
-
392
- /* CSS styles for VueQuill - start */
393
- .ql-toolbar.ql-snow {
394
- border-top-right-radius: 10px 10px;
395
- border-top-left-radius: 10px 10px;
396
- }
397
-
398
- .ql-editor {
399
- min-height: 200px;
400
- }
401
-
402
- /* example 1 */
403
- /* table transitions */
404
- .table-enter-active,
405
- .table-leave-active {
406
- transition: opacity 0.3s ease;
407
- }
408
-
409
- .table-enter-from,
410
- .table-leave-to {
411
- opacity: 0;
412
- }
413
-
414
- /* example 2 */
415
- /* tags transitions */
416
- .tags-enter-from {
417
- opacity: 0.6;
418
- transform: translateX(10px);
419
- }
420
-
421
- .tags-enter-active {
422
- /*animation: wobble 0.5s ease;*/
423
- transition: all 0.2s ease;
424
- }
425
-
426
- .tags-leave-to {
427
- opacity: 0.1;
428
- transform: translateX(5px);
429
- }
430
-
431
- .tags-leave-active {
432
- transition: all 0.1s ease;
433
- position: absolute; /* for move transition after item leaves */
434
- }
435
-
436
- .tags-move {
437
- transition: all 0.1s ease;
438
- }
439
-
440
- /* Scrollbar Styles - start */
441
- /* Firefox */
442
- * {
443
- scrollbar-width: thin;
444
- scrollbar-color: black transparent;
445
- }
446
-
447
- *::-webkit-scrollbar-track {
448
- background: transparent;
449
- border-radius: 25px;
450
- }
451
-
452
- /* Chrome, Edge, and Safari */
453
- *::-webkit-scrollbar {
454
- width: 6px;
455
- height: 6px; /* Add height for horizontal scrollbar */
456
- }
457
-
458
- *::-webkit-scrollbar-thumb {
459
- background-color: black;
460
- border-radius: 25px;
461
- border: none;
462
- }
463
-
464
- /* Add overflow-x property to enable horizontal scrollbar */
465
- .scrollable {
466
- overflow-x: auto;
467
- overflow-y: auto;
468
- /* Add any other desired styles for the scrollable element */
469
- }
470
- /* Scrollbar Styles - end */
471
-
472
- .tailwind-pagination-package {
473
- box-shadow: none !important;
474
- display: flex;
475
- flex-direction: row;
476
- flex-wrap: wrap;
477
- gap: 6px 0px;
478
- justify-content: center;
479
- }
480
- .tailwind-pagination-package > :first-child,
481
- .tailwind-pagination-package > :last-child {
482
- border-radius: 100%;
483
- }
484
-
485
- .smooth-transition {
486
- transition: opacity 0.3s ease-in-out;
487
- }
488
-
489
- /* Manage P, Link, H1, H2 # start */
490
- p {
491
- @apply font-normal lg:text-base text-base;
492
- }
493
-
494
- a {
495
- @apply text-myPrimaryLinkColor;
496
- }
497
-
498
- h2 {
499
- @apply text-3xl mt-4 mb-3 font-medium;
500
- }
501
- h3 {
502
- @apply text-2xl mt-4 mb-3 font-medium;
503
- }
504
- /* Manage P, Link, H1, H2 # end */
505
-
506
- /* CSS for content inside page builder # start */
507
- #pagebuilder a {
508
- pointer-events: none;
509
- }
510
- /* CSS for content inside page builder # start */
511
- #page-builder-editor .tiptap {
512
- background: #fff;
513
- min-height: 25rem;
514
- }
515
-
516
- #pagebuilder #youtube-video::before {
517
- content: 'Select Video Element';
518
- font-family: 'Jost';
519
- background: #16a34a !important;
520
- color: white;
521
- text-decoration: none;
522
- margin-right: 8px;
523
- vertical-align: middle;
524
- min-height: 3rem;
525
- padding: 0.75rem 0.75rem;
526
- white-space: nowrap;
527
- word-break: keep-all;
528
- font-weight: 500;
529
- display: inline-flex;
530
- gap: 0.25rem;
531
- align-items: center;
532
- justify-content: center;
533
- border-radius: 9999px;
534
- border: 1px solid transparent;
535
- margin-bottom: 20px;
536
- font-size: 0.8rem !important;
537
- }
538
-
539
- @media (min-width: 640px) {
540
- #pagebuilder #youtube-video::before {
541
- font-size: 0.9rem !important;
542
- width: auto;
543
- }
544
- }
545
-
546
- #pagebuilder #youtube-video:hover::before {
547
- text-decoration: none;
548
- cursor: pointer;
549
- }
550
-
551
- #page-builder-editor a,
552
- #pagebuilder a {
553
- text-decoration: underline;
554
- }
555
-
556
- #page-builder-editor #linktree p,
557
- #pagebuilder #linktree p {
558
- width: 100%;
559
- }
560
-
561
- #page-builder-editor #linktree a,
562
- #pagebuilder #linktree a {
563
- @apply py-4 px-2 block w-full;
564
- }
565
-
566
- #page-builder-editor #linktree a,
567
- #pagebuilder #linktree a {
568
- text-decoration: none;
569
- font-weight: 500;
570
- color: inherit !important;
571
- width: 100%;
572
- cursor: pointer;
573
- }
574
- #page-builder-editor strong,
575
- #pagebuilder strong {
576
- font-weight: 500;
577
- }
578
-
579
- #page-builder-editor ol,
580
- #pagebuilder ol,
581
- #page-builder-editor ul,
582
- #pagebuilder ul {
583
- list-style: disc !important;
584
- padding: 1rem 0rem;
585
- }
586
-
587
- #page-builder-editor li,
588
- #pagebuilder li {
589
- line-height: 2.2rem;
590
- margin-left: 1.5em; /* Adjust this value as needed */
591
- }
592
- /* CSS for content inside page builder #end*/
593
-
594
- /* CSS for Vue datepicker # start */
595
- :root {
596
- /*General*/
597
- --dp-border-radius: 40px; /*Configurable border-radius*/
598
- --dp-cell-border-radius: 4px; /*Specific border radius for the calendar cell*/
599
- --dp-common-transition: all 0.1s ease-in; /*Generic transition applied on buttons and calendar cells*/
600
- }
601
-
602
- #builder-container {
603
- }
604
-
605
- .dp__action_row {
606
- display: flex !important;
607
- align-items: center !important;
608
- justify-content: center;
609
- margin: 0 0 10px 0;
610
- }
611
- .dp__today {
612
- background: transparent !important;
613
- border: 2px solid #ff5252 !important;
614
- color: #ff5252 !important;
615
- border-radius: 100% !important;
616
- }
617
-
618
- .dp__active_date {
619
- background: #ff5252 !important;
620
- border: #ff5252 !important;
621
- color: #fff !important;
622
- border-radius: 100% !important;
623
- }
624
-
625
- .dp__date_hover:hover {
626
- background: #f1f1f1 !important;
627
- border: #f1f1f1 !important;
628
- color: #000 !important;
629
- border-radius: 100% !important;
630
- }
631
-
632
- .dp__action_button {
633
- background: #ff5252 !important;
634
- border: #000 !important;
635
- color: #fff !important;
636
- border-radius: 8px !important;
637
- padding: 1rem 1rem !important;
638
- font-weight: 500;
639
- }
640
- .dp__overlay_cell_active {
641
- background: #ff5252 !important;
642
- border: #000 !important;
643
- color: #fff !important;
644
- }
645
-
646
- /* CSS for Vue datepicker # end */