@dcodegroup-au/page-builder 0.7.5 → 0.7.6

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.
@@ -733,9 +733,6 @@ select {
733
733
  .left-1\/2 {
734
734
  left: 50%;
735
735
  }
736
- .left-5 {
737
- left: 1.25rem;
738
- }
739
736
  .left-\[70\%\] {
740
737
  left: 70%;
741
738
  }
@@ -778,9 +775,6 @@ select {
778
775
  .z-10 {
779
776
  z-index: 10;
780
777
  }
781
- .z-20 {
782
- z-index: 20;
783
- }
784
778
  .z-50 {
785
779
  z-index: 50;
786
780
  }
@@ -831,8 +825,8 @@ select {
831
825
  .-mb-\[140px\] {
832
826
  margin-bottom: -140px;
833
827
  }
834
- .-mt-12 {
835
- margin-top: -3rem;
828
+ .-mt-6 {
829
+ margin-top: -1.5rem;
836
830
  }
837
831
  .mb-1 {
838
832
  margin-bottom: 0.25rem;
@@ -909,9 +903,6 @@ select {
909
903
  .mt-8 {
910
904
  margin-top: 2rem;
911
905
  }
912
- .mt-\[100px\] {
913
- margin-top: 100px;
914
- }
915
906
  .mt-\[3px\] {
916
907
  margin-top: 3px;
917
908
  }
@@ -930,6 +921,12 @@ select {
930
921
  -webkit-box-orient: vertical;
931
922
  -webkit-line-clamp: 4;
932
923
  }
924
+ .line-clamp-6 {
925
+ overflow: hidden;
926
+ display: -webkit-box;
927
+ -webkit-box-orient: vertical;
928
+ -webkit-line-clamp: 6;
929
+ }
933
930
  .\!block {
934
931
  display: block !important;
935
932
  }
@@ -981,9 +978,6 @@ select {
981
978
  .h-8 {
982
979
  height: 2rem;
983
980
  }
984
- .h-9 {
985
- height: 2.25rem;
986
- }
987
981
  .h-\[100vh\] {
988
982
  height: 100vh;
989
983
  }
@@ -1035,12 +1029,12 @@ select {
1035
1029
  .h-\[56px\] {
1036
1030
  height: 56px;
1037
1031
  }
1032
+ .h-\[614px\] {
1033
+ height: 614px;
1034
+ }
1038
1035
  .h-\[674px\] {
1039
1036
  height: 674px;
1040
1037
  }
1041
- .h-\[708px\] {
1042
- height: 708px;
1043
- }
1044
1038
  .h-\[96px\] {
1045
1039
  height: 96px;
1046
1040
  }
@@ -1066,9 +1060,6 @@ select {
1066
1060
  .max-h-screen {
1067
1061
  max-height: 100vh;
1068
1062
  }
1069
- .min-h-\[136px\] {
1070
- min-height: 136px;
1071
- }
1072
1063
  .min-h-\[260px\] {
1073
1064
  min-height: 260px;
1074
1065
  }
@@ -1388,13 +1379,6 @@ select {
1388
1379
  -moz-column-gap: 100px;
1389
1380
  column-gap: 100px;
1390
1381
  }
1391
- .gap-x-\[60px\] {
1392
- -moz-column-gap: 60px;
1393
- column-gap: 60px;
1394
- }
1395
- .gap-y-2 {
1396
- row-gap: 0.5rem;
1397
- }
1398
1382
  .divide-y > :not([hidden]) ~ :not([hidden]) {
1399
1383
  --tw-divide-y-reverse: 0;
1400
1384
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
@@ -1888,15 +1872,12 @@ select {
1888
1872
  .pr-5 {
1889
1873
  padding-right: 1.25rem;
1890
1874
  }
1891
- .pr-8 {
1892
- padding-right: 2rem;
1875
+ .pt-12 {
1876
+ padding-top: 3rem;
1893
1877
  }
1894
1878
  .pt-16 {
1895
1879
  padding-top: 4rem;
1896
1880
  }
1897
- .pt-20 {
1898
- padding-top: 5rem;
1899
- }
1900
1881
  .pt-4 {
1901
1882
  padding-top: 1rem;
1902
1883
  }
@@ -1958,9 +1939,6 @@ select {
1958
1939
  .text-\[36px\] {
1959
1940
  font-size: 36px;
1960
1941
  }
1961
- .text-\[40px\] {
1962
- font-size: 40px;
1963
- }
1964
1942
  .text-base {
1965
1943
  font-size: 1rem;
1966
1944
  line-height: 1.5rem;
@@ -3012,9 +2990,25 @@ select {
3012
2990
 
3013
2991
  @media not all and (min-width: 1024px) {
3014
2992
 
2993
+ .max-lg\:hidden {
2994
+ display: none;
2995
+ }
2996
+
3015
2997
  .max-lg\:flex-col {
3016
2998
  flex-direction: column;
3017
2999
  }
3000
+
3001
+ .max-lg\:flex-col-reverse {
3002
+ flex-direction: column-reverse;
3003
+ }
3004
+
3005
+ .max-lg\:\!pb-0 {
3006
+ padding-bottom: 0px !important;
3007
+ }
3008
+
3009
+ .max-lg\:pb-6 {
3010
+ padding-bottom: 1.5rem;
3011
+ }
3018
3012
  }
3019
3013
 
3020
3014
  @media not all and (min-width: 768px) {
@@ -3028,6 +3022,10 @@ select {
3028
3022
  width: 100%;
3029
3023
  }
3030
3024
 
3025
+ .max-md\:flex-1 {
3026
+ flex: 1 1 0%;
3027
+ }
3028
+
3031
3029
  .max-md\:flex-col {
3032
3030
  flex-direction: column;
3033
3031
  }
@@ -3037,21 +3035,43 @@ select {
3037
3035
  padding-right: 1rem;
3038
3036
  }
3039
3037
 
3040
- .max-md\:\!pb-0 {
3041
- padding-bottom: 0px !important;
3042
- }
3043
-
3044
3038
  .max-md\:\!pt-4 {
3045
3039
  padding-top: 1rem !important;
3046
3040
  }
3041
+ }
3047
3042
 
3048
- .max-md\:pb-4 {
3043
+ @media not all and (min-width: 640px) {
3044
+
3045
+ .max-sm\:flex-col {
3046
+ flex-direction: column;
3047
+ }
3048
+
3049
+ .max-sm\:pb-4 {
3049
3050
  padding-bottom: 1rem;
3050
3051
  }
3051
3052
  }
3052
3053
 
3053
3054
  @media (min-width: 640px) {
3054
3055
 
3056
+ .sm\:mt-14 {
3057
+ margin-top: 3.5rem;
3058
+ }
3059
+
3060
+ .sm\:line-clamp-3 {
3061
+ overflow: hidden;
3062
+ display: -webkit-box;
3063
+ -webkit-box-orient: vertical;
3064
+ -webkit-line-clamp: 3;
3065
+ }
3066
+
3067
+ .sm\:h-\[240px\] {
3068
+ height: 240px;
3069
+ }
3070
+
3071
+ .sm\:h-\[550px\] {
3072
+ height: 550px;
3073
+ }
3074
+
3055
3075
  .sm\:min-h-\[320px\] {
3056
3076
  min-height: 320px;
3057
3077
  }
@@ -3073,6 +3093,10 @@ select {
3073
3093
  padding-left: 1rem;
3074
3094
  padding-right: 1rem;
3075
3095
  }
3096
+
3097
+ .sm\:pt-10 {
3098
+ padding-top: 2.5rem;
3099
+ }
3076
3100
  }
3077
3101
 
3078
3102
  @media (min-width: 768px) {
@@ -3081,10 +3105,22 @@ select {
3081
3105
  right: 120px;
3082
3106
  }
3083
3107
 
3108
+ .md\:mt-8 {
3109
+ margin-top: 2rem;
3110
+ }
3111
+
3084
3112
  .md\:h-5 {
3085
3113
  height: 1.25rem;
3086
3114
  }
3087
3115
 
3116
+ .md\:h-\[480px\] {
3117
+ height: 480px;
3118
+ }
3119
+
3120
+ .md\:h-\[806px\] {
3121
+ height: 806px;
3122
+ }
3123
+
3088
3124
  .md\:max-h-\[387px\] {
3089
3125
  max-height: 387px;
3090
3126
  }
@@ -3141,11 +3177,6 @@ select {
3141
3177
  border-radius: 60px;
3142
3178
  }
3143
3179
 
3144
- .md\:rounded-b-\[48px\] {
3145
- border-bottom-right-radius: 48px;
3146
- border-bottom-left-radius: 48px;
3147
- }
3148
-
3149
3180
  .md\:\!p-8 {
3150
3181
  padding: 2rem !important;
3151
3182
  }
@@ -3218,8 +3249,8 @@ select {
3218
3249
 
3219
3250
  @media (min-width: 1024px) {
3220
3251
 
3221
- .lg\:relative {
3222
- position: relative;
3252
+ .lg\:-mt-12 {
3253
+ margin-top: -3rem;
3223
3254
  }
3224
3255
 
3225
3256
  .lg\:mt-\[218px\] {
@@ -3242,10 +3273,18 @@ select {
3242
3273
  height: 480px;
3243
3274
  }
3244
3275
 
3276
+ .lg\:h-\[674px\] {
3277
+ height: 674px;
3278
+ }
3279
+
3245
3280
  .lg\:h-\[872px\] {
3246
3281
  height: 872px;
3247
3282
  }
3248
3283
 
3284
+ .lg\:min-h-\[136px\] {
3285
+ min-height: 136px;
3286
+ }
3287
+
3249
3288
  .lg\:w-1\/2 {
3250
3289
  width: 50%;
3251
3290
  }
@@ -3266,6 +3305,10 @@ select {
3266
3305
  max-width: 33.3%;
3267
3306
  }
3268
3307
 
3308
+ .lg\:max-w-\[882px\] {
3309
+ max-width: 882px;
3310
+ }
3311
+
3269
3312
  .lg\:grid-cols-2 {
3270
3313
  grid-template-columns: repeat(2, minmax(0, 1fr));
3271
3314
  }
@@ -3294,6 +3337,24 @@ select {
3294
3337
  gap: 2rem;
3295
3338
  }
3296
3339
 
3340
+ .lg\:gap-x-\[60px\] {
3341
+ -moz-column-gap: 60px;
3342
+ column-gap: 60px;
3343
+ }
3344
+
3345
+ .lg\:gap-y-2 {
3346
+ row-gap: 0.5rem;
3347
+ }
3348
+
3349
+ .lg\:rounded-\[48px\] {
3350
+ border-radius: 48px;
3351
+ }
3352
+
3353
+ .lg\:rounded-b-\[48px\] {
3354
+ border-bottom-right-radius: 48px;
3355
+ border-bottom-left-radius: 48px;
3356
+ }
3357
+
3297
3358
  .lg\:p-8 {
3298
3359
  padding: 2rem;
3299
3360
  }
@@ -3328,6 +3389,11 @@ select {
3328
3389
  font-size: 48px;
3329
3390
  }
3330
3391
 
3392
+ .lg\:text-lg {
3393
+ font-size: 1.125rem;
3394
+ line-height: 1.75rem;
3395
+ }
3396
+
3331
3397
  .lg\:leading-\[60px\] {
3332
3398
  line-height: 60px;
3333
3399
  }
@@ -3710,8 +3776,14 @@ select {
3710
3776
  }
3711
3777
 
3712
3778
 
3713
- .carousel[data-v-15563c74] {
3779
+ .carousel[data-v-29ca6047] {
3714
3780
  margin: 1rem 0;
3781
+ flex-direction: column;
3782
+ }
3783
+ @media not all and (min-width: 1024px) {
3784
+ [data-v-29ca6047] .carousel__slide {
3785
+ flex-direction: column;
3786
+ }
3715
3787
  }
3716
3788
 
3717
3789
  .fade-enter-active[data-v-ef885607], .fade-leave-active[data-v-ef885607] {
@@ -449,7 +449,7 @@ const _hoisted_9$n = { class: "font-semibold text-gray-900" };
449
449
  const _hoisted_10$i = { class: "text-sm text-gray-600" };
450
450
  const _hoisted_11$g = ["disabled"];
451
451
  const _hoisted_12$d = { class: "flex flex-col gap-3" };
452
- const _hoisted_13$a = ["onClick"];
452
+ const _hoisted_13$b = ["onClick"];
453
453
  const _hoisted_14$9 = ["onClick"];
454
454
  const _hoisted_15$7 = { class: "text-xs text-gray-600" };
455
455
  const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
@@ -549,7 +549,7 @@ const _sfc_main$Q = {
549
549
  "enable-edit": true,
550
550
  onEditItem: ($event) => edit(item, index)
551
551
  }, null, 8, ["onRemoveItem", "onEditItem"])
552
- ], 8, _hoisted_13$a)
552
+ ], 8, _hoisted_13$b)
553
553
  ], 2);
554
554
  }), 256))
555
555
  ])
@@ -45228,7 +45228,7 @@ const _hoisted_12$b = {
45228
45228
  key: 0,
45229
45229
  class: "flex gap-4"
45230
45230
  };
45231
- const _hoisted_13$9 = { class: "flex items-center gap-2 cursor-pointer" };
45231
+ const _hoisted_13$a = { class: "flex items-center gap-2 cursor-pointer" };
45232
45232
  const _hoisted_14$8 = ["name", "value", "onUpdate:modelValue", "onChange"];
45233
45233
  const _hoisted_15$6 = {
45234
45234
  key: 1,
@@ -45366,7 +45366,7 @@ const _sfc_main$C = {
45366
45366
  createElementVNode("div", _hoisted_11$e, [
45367
45367
  !((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (openBlock(), createElementBlock("div", _hoisted_12$b, [
45368
45368
  (openBlock(), createElementBlock(Fragment, null, renderList(options, (option) => {
45369
- return createElementVNode("label", _hoisted_13$9, [
45369
+ return createElementVNode("label", _hoisted_13$a, [
45370
45370
  withDirectives(createElementVNode("input", {
45371
45371
  name: `content_type${index}`,
45372
45372
  type: "radio",
@@ -46165,7 +46165,7 @@ const _hoisted_9$h = {
46165
46165
  const _hoisted_10$c = ["onClick"];
46166
46166
  const _hoisted_11$b = { class: "flex flex-col" };
46167
46167
  const _hoisted_12$9 = { class: "text-sm font-medium text-gray-900" };
46168
- const _hoisted_13$8 = { class: "flex items-center justify-between gap-3 px-[10px]" };
46168
+ const _hoisted_13$9 = { class: "flex items-center justify-between gap-3 px-[10px]" };
46169
46169
  const _hoisted_14$7 = { class: "flex h-full flex-1 flex-col mb-20" };
46170
46170
  const _hoisted_15$5 = {
46171
46171
  key: 0,
@@ -46302,7 +46302,7 @@ const _sfc_main$t = {
46302
46302
  _cache[1] || (_cache[1] = createElementVNode("div", { class: "text-xs text-gray-600" }, "Sub-module", -1)),
46303
46303
  createElementVNode("div", _hoisted_12$9, toDisplayString(component.name), 1)
46304
46304
  ]),
46305
- createElementVNode("div", _hoisted_13$8, [
46305
+ createElementVNode("div", _hoisted_13$9, [
46306
46306
  createVNode(unref(ChevronRight), { class: "h-5 w-5" })
46307
46307
  ])
46308
46308
  ], 10, _hoisted_10$c);
@@ -47826,20 +47826,21 @@ const Slide = defineComponent({
47826
47826
  };
47827
47827
  }
47828
47828
  });
47829
- const _hoisted_1$M = { class: "flex h-[708px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl md:rounded-[48px] z-10" };
47830
- const _hoisted_2$m = { class: "lg:p-8 p-4 flex relative w-full" };
47831
- const _hoisted_3$j = { class: "lg:w-1/2 lg:pl-8 lg:pr-16 pl-4 pr-8 flex flex-col lg:mt-[218px] mt-[100px] absolute top-0 left-5 lg:relative z-20" };
47829
+ const _hoisted_1$M = { class: "flex h-[614px] sm:h-[550px] md:h-[806px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl lg:rounded-[48px] z-10" };
47830
+ const _hoisted_2$m = { class: "flex-1 lg:p-8 px-4 lg:py-4 flex max-lg:flex-col-reverse relative w-full" };
47831
+ const _hoisted_3$j = { class: "flex-1 lg:w-1/2 lg:pl-8 lg:pr-16 flex flex-col mt-8 sm:mt-14 lg:mt-[218px]" };
47832
47832
  const _hoisted_4$j = { class: "gap-2 flex z-10 mb-4" };
47833
47833
  const _hoisted_5$i = ["onClick"];
47834
- const _hoisted_6$i = { class: "lg:text-[48px] text-[40px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" };
47835
- const _hoisted_7$h = ["innerHTML"];
47836
- const _hoisted_8$g = { class: "flex gap-3 mt-8 flex-col lg:flex-row" };
47837
- const _hoisted_9$g = ["href", "target"];
47834
+ const _hoisted_6$i = { class: "text-[30px] lg:text-[48px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" };
47835
+ const _hoisted_7$h = { class: "max-md:flex-1" };
47836
+ const _hoisted_8$g = ["innerHTML"];
47837
+ const _hoisted_9$g = { class: "flex gap-3 md:mt-8 max-sm:flex-col" };
47838
47838
  const _hoisted_10$b = ["href", "target"];
47839
- const _hoisted_11$a = ["src"];
47840
- const _hoisted_12$8 = {
47839
+ const _hoisted_11$a = ["href", "target"];
47840
+ const _hoisted_12$8 = ["src"];
47841
+ const _hoisted_13$8 = {
47841
47842
  key: 1,
47842
- class: "rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
47843
+ class: "rounded-[20px] lg:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
47843
47844
  src: _imports_0
47844
47845
  };
47845
47846
  const _sfc_main$s = {
@@ -47880,11 +47881,13 @@ const _sfc_main$s = {
47880
47881
  }), 256)) : createCommentVNode("", true)
47881
47882
  ]),
47882
47883
  createElementVNode("h3", _hoisted_6$i, toDisplayString(slide == null ? void 0 : slide.title), 1),
47883
- createElementVNode("p", {
47884
- class: "text-lg font-normal text-navy-50",
47885
- innerHTML: slide == null ? void 0 : slide.description
47886
- }, null, 8, _hoisted_7$h),
47887
- createElementVNode("div", _hoisted_8$g, [
47884
+ createElementVNode("div", _hoisted_7$h, [
47885
+ createElementVNode("p", {
47886
+ class: "lg:text-lg font-normal text-navy-50 overflow-hidden line-clamp-6 sm:line-clamp-3",
47887
+ innerHTML: slide == null ? void 0 : slide.description
47888
+ }, null, 8, _hoisted_8$g)
47889
+ ]),
47890
+ createElementVNode("div", _hoisted_9$g, [
47888
47891
  slide.secondary_button.show ? (openBlock(), createElementBlock("a", {
47889
47892
  key: 0,
47890
47893
  class: "text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60",
@@ -47892,7 +47895,7 @@ const _sfc_main$s = {
47892
47895
  target: slide.secondary_button.open_in_new_tab ? "_blank" : ""
47893
47896
  }, [
47894
47897
  createElementVNode("span", null, toDisplayString(slide.secondary_button.label), 1)
47895
- ], 8, _hoisted_9$g)) : createCommentVNode("", true),
47898
+ ], 8, _hoisted_10$b)) : createCommentVNode("", true),
47896
47899
  slide.primary_button.show ? (openBlock(), createElementBlock("a", {
47897
47900
  key: 1,
47898
47901
  class: "flex items-center gap-2 text-navy-800 bg-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-50",
@@ -47901,17 +47904,17 @@ const _sfc_main$s = {
47901
47904
  }, [
47902
47905
  createTextVNode(toDisplayString(slide.primary_button.label) + " ", 1),
47903
47906
  createVNode(unref(ArrowUpRight), { class: "w-5 h-5" })
47904
- ], 8, _hoisted_10$b)) : createCommentVNode("", true)
47907
+ ], 8, _hoisted_11$a)) : createCommentVNode("", true)
47905
47908
  ])
47906
47909
  ]),
47907
47910
  slide.featured_image ? (openBlock(), createElementBlock("img", {
47908
47911
  key: 0,
47909
47912
  src: slide.featured_image,
47910
47913
  alt: "Slide Image",
47911
- class: "rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover"
47912
- }, null, 8, _hoisted_11$a)) : (openBlock(), createElementBlock("img", _hoisted_12$8)),
47913
- _cache[1] || (_cache[1] = createElementVNode("div", { class: "absolute inset-0 lg:hidden z-10 p-4" }, [
47914
- createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl md:rounded-[48px] h-full" })
47914
+ class: "rounded-[20px] lg:rounded-[48px] h-[200px] sm:h-[240px] md:h-[480px] lg:h-[674px] lg:max-w-[882px] lg:w-1/2 w-full object-cover"
47915
+ }, null, 8, _hoisted_12$8)) : (openBlock(), createElementBlock("img", _hoisted_13$8)),
47916
+ _cache[1] || (_cache[1] = createElementVNode("div", { class: "max-lg:hidden absolute inset-0 lg:hidden z-10 p-4" }, [
47917
+ createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl lg:rounded-[48px] h-full" })
47915
47918
  ], -1))
47916
47919
  ])
47917
47920
  ]),
@@ -47925,7 +47928,7 @@ const _sfc_main$s = {
47925
47928
  };
47926
47929
  }
47927
47930
  };
47928
- const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-15563c74"]]);
47931
+ const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-29ca6047"]]);
47929
47932
  const _hoisted_1$L = ["target", "href"];
47930
47933
  const _sfc_main$r = {
47931
47934
  __name: "LinkPresenter",
@@ -47941,7 +47944,7 @@ const _sfc_main$r = {
47941
47944
  const isLinkGrid = component.value.type === "link_grid";
47942
47945
  return (_ctx, _cache) => {
47943
47946
  return openBlock(), createElementBlock("div", {
47944
- class: normalizeClass(["flex flex-wrap justify-center min-h-[136px] w-full relative rounded-b-3xl md:rounded-b-[48px] bg-navy-600 -mt-12 pt-20 md:pt-12 max-md:pb-4 px-4 gap-y-2 gap-x-[60px]", { "bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-md:!pb-0 max-md:!pt-4": isLinkGrid }])
47947
+ class: normalizeClass(["flex flex-wrap justify-center lg:min-h-[136px] w-full relative rounded-b-3xl lg:rounded-b-[48px] bg-navy-600 -mt-6 lg:-mt-12 pt-12 sm:pt-10 md:pt-12 max-sm:pb-4 max-lg:pb-6 px-4 gap-8 lg:gap-y-2 lg:gap-x-[60px]", { "bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-lg:!pb-0 max-md:!pt-4": isLinkGrid }])
47945
47948
  }, [
47946
47949
  (openBlock(true), createElementBlock(Fragment, null, renderList(component.value.data, (link) => {
47947
47950
  return openBlock(), createElementBlock("div", {
@@ -47950,7 +47953,7 @@ const _sfc_main$r = {
47950
47953
  createElementVNode("a", {
47951
47954
  target: link.open_in_new_tab ? "_blank" : "",
47952
47955
  href: link.url.startsWith("http") ? link.url : `//${link.url}`,
47953
- class: normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300 h-9", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100": isLinkGrid }])
47956
+ class: normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100": isLinkGrid }])
47954
47957
  }, [
47955
47958
  createElementVNode("span", null, toDisplayString(link.title), 1),
47956
47959
  createVNode(unref(ArrowUpRight), { class: "shrink-0 w-5 h-5" })
@@ -49041,7 +49044,7 @@ const _sfc_main$e = {
49041
49044
  }
49042
49045
  };
49043
49046
  const _hoisted_1$q = { class: "overflow-hidden" };
49044
- const _hoisted_2$c = { class: "pb-container mt-4 px-4" };
49047
+ const _hoisted_2$c = { class: "pb-container mt-4" };
49045
49048
  const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49046
49049
  const _hoisted_4$c = ["innerHTML"];
49047
49050
  const _hoisted_5$c = {
@@ -452,7 +452,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
452
452
  const _hoisted_10$i = { class: "text-sm text-gray-600" };
453
453
  const _hoisted_11$g = ["disabled"];
454
454
  const _hoisted_12$d = { class: "flex flex-col gap-3" };
455
- const _hoisted_13$a = ["onClick"];
455
+ const _hoisted_13$b = ["onClick"];
456
456
  const _hoisted_14$9 = ["onClick"];
457
457
  const _hoisted_15$7 = { class: "text-xs text-gray-600" };
458
458
  const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
@@ -552,7 +552,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
552
552
  "enable-edit": true,
553
553
  onEditItem: ($event) => edit(item, index)
554
554
  }, null, 8, ["onRemoveItem", "onEditItem"])
555
- ], 8, _hoisted_13$a)
555
+ ], 8, _hoisted_13$b)
556
556
  ], 2);
557
557
  }), 256))
558
558
  ])
@@ -45231,7 +45231,7 @@ ${escapeText(this.code(index, length))}
45231
45231
  key: 0,
45232
45232
  class: "flex gap-4"
45233
45233
  };
45234
- const _hoisted_13$9 = { class: "flex items-center gap-2 cursor-pointer" };
45234
+ const _hoisted_13$a = { class: "flex items-center gap-2 cursor-pointer" };
45235
45235
  const _hoisted_14$8 = ["name", "value", "onUpdate:modelValue", "onChange"];
45236
45236
  const _hoisted_15$6 = {
45237
45237
  key: 1,
@@ -45369,7 +45369,7 @@ ${escapeText(this.code(index, length))}
45369
45369
  vue.createElementVNode("div", _hoisted_11$e, [
45370
45370
  !((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$b, [
45371
45371
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(options, (option) => {
45372
- return vue.createElementVNode("label", _hoisted_13$9, [
45372
+ return vue.createElementVNode("label", _hoisted_13$a, [
45373
45373
  vue.withDirectives(vue.createElementVNode("input", {
45374
45374
  name: `content_type${index}`,
45375
45375
  type: "radio",
@@ -46168,7 +46168,7 @@ ${escapeText(this.code(index, length))}
46168
46168
  const _hoisted_10$c = ["onClick"];
46169
46169
  const _hoisted_11$b = { class: "flex flex-col" };
46170
46170
  const _hoisted_12$9 = { class: "text-sm font-medium text-gray-900" };
46171
- const _hoisted_13$8 = { class: "flex items-center justify-between gap-3 px-[10px]" };
46171
+ const _hoisted_13$9 = { class: "flex items-center justify-between gap-3 px-[10px]" };
46172
46172
  const _hoisted_14$7 = { class: "flex h-full flex-1 flex-col mb-20" };
46173
46173
  const _hoisted_15$5 = {
46174
46174
  key: 0,
@@ -46305,7 +46305,7 @@ ${escapeText(this.code(index, length))}
46305
46305
  _cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "text-xs text-gray-600" }, "Sub-module", -1)),
46306
46306
  vue.createElementVNode("div", _hoisted_12$9, vue.toDisplayString(component.name), 1)
46307
46307
  ]),
46308
- vue.createElementVNode("div", _hoisted_13$8, [
46308
+ vue.createElementVNode("div", _hoisted_13$9, [
46309
46309
  vue.createVNode(vue.unref(ChevronRight), { class: "h-5 w-5" })
46310
46310
  ])
46311
46311
  ], 10, _hoisted_10$c);
@@ -47829,20 +47829,21 @@ ${escapeText(this.code(index, length))}
47829
47829
  };
47830
47830
  }
47831
47831
  });
47832
- const _hoisted_1$M = { class: "flex h-[708px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl md:rounded-[48px] z-10" };
47833
- const _hoisted_2$m = { class: "lg:p-8 p-4 flex relative w-full" };
47834
- const _hoisted_3$j = { class: "lg:w-1/2 lg:pl-8 lg:pr-16 pl-4 pr-8 flex flex-col lg:mt-[218px] mt-[100px] absolute top-0 left-5 lg:relative z-20" };
47832
+ const _hoisted_1$M = { class: "flex h-[614px] sm:h-[550px] md:h-[806px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl lg:rounded-[48px] z-10" };
47833
+ const _hoisted_2$m = { class: "flex-1 lg:p-8 px-4 lg:py-4 flex max-lg:flex-col-reverse relative w-full" };
47834
+ const _hoisted_3$j = { class: "flex-1 lg:w-1/2 lg:pl-8 lg:pr-16 flex flex-col mt-8 sm:mt-14 lg:mt-[218px]" };
47835
47835
  const _hoisted_4$j = { class: "gap-2 flex z-10 mb-4" };
47836
47836
  const _hoisted_5$i = ["onClick"];
47837
- const _hoisted_6$i = { class: "lg:text-[48px] text-[40px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" };
47838
- const _hoisted_7$h = ["innerHTML"];
47839
- const _hoisted_8$g = { class: "flex gap-3 mt-8 flex-col lg:flex-row" };
47840
- const _hoisted_9$g = ["href", "target"];
47837
+ const _hoisted_6$i = { class: "text-[30px] lg:text-[48px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" };
47838
+ const _hoisted_7$h = { class: "max-md:flex-1" };
47839
+ const _hoisted_8$g = ["innerHTML"];
47840
+ const _hoisted_9$g = { class: "flex gap-3 md:mt-8 max-sm:flex-col" };
47841
47841
  const _hoisted_10$b = ["href", "target"];
47842
- const _hoisted_11$a = ["src"];
47843
- const _hoisted_12$8 = {
47842
+ const _hoisted_11$a = ["href", "target"];
47843
+ const _hoisted_12$8 = ["src"];
47844
+ const _hoisted_13$8 = {
47844
47845
  key: 1,
47845
- class: "rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
47846
+ class: "rounded-[20px] lg:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
47846
47847
  src: _imports_0
47847
47848
  };
47848
47849
  const _sfc_main$s = {
@@ -47883,11 +47884,13 @@ ${escapeText(this.code(index, length))}
47883
47884
  }), 256)) : vue.createCommentVNode("", true)
47884
47885
  ]),
47885
47886
  vue.createElementVNode("h3", _hoisted_6$i, vue.toDisplayString(slide == null ? void 0 : slide.title), 1),
47886
- vue.createElementVNode("p", {
47887
- class: "text-lg font-normal text-navy-50",
47888
- innerHTML: slide == null ? void 0 : slide.description
47889
- }, null, 8, _hoisted_7$h),
47890
- vue.createElementVNode("div", _hoisted_8$g, [
47887
+ vue.createElementVNode("div", _hoisted_7$h, [
47888
+ vue.createElementVNode("p", {
47889
+ class: "lg:text-lg font-normal text-navy-50 overflow-hidden line-clamp-6 sm:line-clamp-3",
47890
+ innerHTML: slide == null ? void 0 : slide.description
47891
+ }, null, 8, _hoisted_8$g)
47892
+ ]),
47893
+ vue.createElementVNode("div", _hoisted_9$g, [
47891
47894
  slide.secondary_button.show ? (vue.openBlock(), vue.createElementBlock("a", {
47892
47895
  key: 0,
47893
47896
  class: "text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60",
@@ -47895,7 +47898,7 @@ ${escapeText(this.code(index, length))}
47895
47898
  target: slide.secondary_button.open_in_new_tab ? "_blank" : ""
47896
47899
  }, [
47897
47900
  vue.createElementVNode("span", null, vue.toDisplayString(slide.secondary_button.label), 1)
47898
- ], 8, _hoisted_9$g)) : vue.createCommentVNode("", true),
47901
+ ], 8, _hoisted_10$b)) : vue.createCommentVNode("", true),
47899
47902
  slide.primary_button.show ? (vue.openBlock(), vue.createElementBlock("a", {
47900
47903
  key: 1,
47901
47904
  class: "flex items-center gap-2 text-navy-800 bg-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-50",
@@ -47904,17 +47907,17 @@ ${escapeText(this.code(index, length))}
47904
47907
  }, [
47905
47908
  vue.createTextVNode(vue.toDisplayString(slide.primary_button.label) + " ", 1),
47906
47909
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
47907
- ], 8, _hoisted_10$b)) : vue.createCommentVNode("", true)
47910
+ ], 8, _hoisted_11$a)) : vue.createCommentVNode("", true)
47908
47911
  ])
47909
47912
  ]),
47910
47913
  slide.featured_image ? (vue.openBlock(), vue.createElementBlock("img", {
47911
47914
  key: 0,
47912
47915
  src: slide.featured_image,
47913
47916
  alt: "Slide Image",
47914
- class: "rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover"
47915
- }, null, 8, _hoisted_11$a)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_12$8)),
47916
- _cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "absolute inset-0 lg:hidden z-10 p-4" }, [
47917
- vue.createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl md:rounded-[48px] h-full" })
47917
+ class: "rounded-[20px] lg:rounded-[48px] h-[200px] sm:h-[240px] md:h-[480px] lg:h-[674px] lg:max-w-[882px] lg:w-1/2 w-full object-cover"
47918
+ }, null, 8, _hoisted_12$8)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_13$8)),
47919
+ _cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "max-lg:hidden absolute inset-0 lg:hidden z-10 p-4" }, [
47920
+ vue.createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl lg:rounded-[48px] h-full" })
47918
47921
  ], -1))
47919
47922
  ])
47920
47923
  ]),
@@ -47928,7 +47931,7 @@ ${escapeText(this.code(index, length))}
47928
47931
  };
47929
47932
  }
47930
47933
  };
47931
- const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-15563c74"]]);
47934
+ const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-29ca6047"]]);
47932
47935
  const _hoisted_1$L = ["target", "href"];
47933
47936
  const _sfc_main$r = {
47934
47937
  __name: "LinkPresenter",
@@ -47944,7 +47947,7 @@ ${escapeText(this.code(index, length))}
47944
47947
  const isLinkGrid = component.value.type === "link_grid";
47945
47948
  return (_ctx, _cache) => {
47946
47949
  return vue.openBlock(), vue.createElementBlock("div", {
47947
- class: vue.normalizeClass(["flex flex-wrap justify-center min-h-[136px] w-full relative rounded-b-3xl md:rounded-b-[48px] bg-navy-600 -mt-12 pt-20 md:pt-12 max-md:pb-4 px-4 gap-y-2 gap-x-[60px]", { "bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-md:!pb-0 max-md:!pt-4": isLinkGrid }])
47950
+ class: vue.normalizeClass(["flex flex-wrap justify-center lg:min-h-[136px] w-full relative rounded-b-3xl lg:rounded-b-[48px] bg-navy-600 -mt-6 lg:-mt-12 pt-12 sm:pt-10 md:pt-12 max-sm:pb-4 max-lg:pb-6 px-4 gap-8 lg:gap-y-2 lg:gap-x-[60px]", { "bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-lg:!pb-0 max-md:!pt-4": isLinkGrid }])
47948
47951
  }, [
47949
47952
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(component.value.data, (link) => {
47950
47953
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -47953,7 +47956,7 @@ ${escapeText(this.code(index, length))}
47953
47956
  vue.createElementVNode("a", {
47954
47957
  target: link.open_in_new_tab ? "_blank" : "",
47955
47958
  href: link.url.startsWith("http") ? link.url : `//${link.url}`,
47956
- class: vue.normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300 h-9", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100": isLinkGrid }])
47959
+ class: vue.normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100": isLinkGrid }])
47957
47960
  }, [
47958
47961
  vue.createElementVNode("span", null, vue.toDisplayString(link.title), 1),
47959
47962
  vue.createVNode(vue.unref(ArrowUpRight), { class: "shrink-0 w-5 h-5" })
@@ -49044,7 +49047,7 @@ ${escapeText(this.code(index, length))}
49044
49047
  }
49045
49048
  };
49046
49049
  const _hoisted_1$q = { class: "overflow-hidden" };
49047
- const _hoisted_2$c = { class: "pb-container mt-4 px-4" };
49050
+ const _hoisted_2$c = { class: "pb-container mt-4" };
49048
49051
  const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49049
49052
  const _hoisted_4$c = ["innerHTML"];
49050
49053
  const _hoisted_5$c = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcodegroup-au/page-builder",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/page-builder.es.js"
@@ -1,10 +1,13 @@
1
1
  <template>
2
- <div class="flex flex-wrap justify-center min-h-[136px] w-full relative rounded-b-3xl md:rounded-b-[48px] bg-navy-600 -mt-12 pt-20 md:pt-12 max-md:pb-4 px-4 gap-y-2 gap-x-[60px]" :class="{'bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-md:!pb-0 max-md:!pt-4': isLinkGrid}">
2
+ <div class="flex flex-wrap justify-center lg:min-h-[136px] w-full relative rounded-b-3xl lg:rounded-b-[48px] bg-navy-600
3
+ -mt-6 lg:-mt-12 pt-12 sm:pt-10 md:pt-12 max-sm:pb-4 max-lg:pb-6 px-4 gap-8 lg:gap-y-2 lg:gap-x-[60px]"
4
+ :class="{'bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-lg:!pb-0 max-md:!pt-4': isLinkGrid}"
5
+ >
3
6
  <div class="flex justify-center items-center max-w-full" :class="{'!block': isLinkGrid}" v-for="link in component.data">
4
7
  <a
5
8
  :target="link.open_in_new_tab ? '_blank' : ''"
6
9
  :href="link.url.startsWith('http') ? link.url : `//${link.url}`"
7
- class="text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300 h-9"
10
+ class="text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300"
8
11
  :class="{'bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100': isLinkGrid}"
9
12
  >
10
13
  <span>{{ link.title }}</span><ArrowUpRight class="shrink-0 w-5 h-5"></ArrowUpRight>
@@ -1,18 +1,20 @@
1
1
  <template>
2
- <div class="flex h-[708px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl md:rounded-[48px] z-10">
2
+ <div class="flex h-[614px] sm:h-[550px] md:h-[806px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl lg:rounded-[48px] z-10">
3
3
  <Carousel :items-to-show="1" v-model="currentSlide" :autoplay="5000" class="carousel w-full" :wrap-around="true">
4
4
  <Slide v-for="(slide, index) in slides" :key="index">
5
- <div class="lg:p-8 p-4 flex relative w-full">
6
- <div class="lg:w-1/2 lg:pl-8 lg:pr-16 pl-4 pr-8 flex flex-col lg:mt-[218px] mt-[100px] absolute top-0 left-5 lg:relative z-20">
5
+ <div class="flex-1 lg:p-8 px-4 lg:py-4 flex max-lg:flex-col-reverse relative w-full">
6
+ <div class="flex-1 lg:w-1/2 lg:pl-8 lg:pr-16 flex flex-col mt-8 sm:mt-14 lg:mt-[218px]">
7
7
  <div class="gap-2 flex z-10 mb-4">
8
8
  <a v-if="slides.length > 1"
9
9
  v-for="(slide, index) in slides"
10
10
  @click="currentSlide = index" class="w-4 h-1 bg-navy-400 rounded-full cursor-pointer" :class="{'!w-12 !bg-white' : currentSlide === index}"
11
11
  ></a>
12
12
  </div>
13
- <h3 class="lg:text-[48px] text-[40px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]">{{ slide?.title }}</h3>
14
- <p class="text-lg font-normal text-navy-50" v-html="slide?.description"></p>
15
- <div class="flex gap-3 mt-8 flex-col lg:flex-row">
13
+ <h3 class="text-[30px] lg:text-[48px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]">{{ slide?.title }}</h3>
14
+ <div class="max-md:flex-1">
15
+ <p class="lg:text-lg font-normal text-navy-50 overflow-hidden line-clamp-6 sm:line-clamp-3" v-html="slide?.description"></p>
16
+ </div>
17
+ <div class="flex gap-3 md:mt-8 max-sm:flex-col">
16
18
  <a class="text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60"
17
19
  :href="formatUrl(slide.secondary_button.url)"
18
20
  v-if="slide.secondary_button.show"
@@ -32,9 +34,9 @@
32
34
  v-if="slide.featured_image"
33
35
  :src="slide.featured_image"
34
36
  alt="Slide Image"
35
- class="rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover"/>
36
- <img v-else class="rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover" src="@/assets/img/no_image_available.jpeg">
37
- <div class="absolute inset-0 lg:hidden z-10 p-4"><div class="bg-black opacity-60 rounded-3xl md:rounded-[48px] h-full"></div></div>
37
+ class="rounded-[20px] lg:rounded-[48px] h-[200px] sm:h-[240px] md:h-[480px] lg:h-[674px] lg:max-w-[882px] lg:w-1/2 w-full object-cover"/>
38
+ <img v-else class="rounded-[20px] lg:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover" src="@/assets/img/no_image_available.jpeg">
39
+ <div class="max-lg:hidden absolute inset-0 lg:hidden z-10 p-4"><div class="bg-black opacity-60 rounded-3xl lg:rounded-[48px] h-full"></div></div>
38
40
  </div>
39
41
  </Slide>
40
42
  </Carousel>
@@ -63,5 +65,10 @@ const slides = componentData.value.data.filter((o) => o.public);
63
65
  <style scoped>
64
66
  .carousel {
65
67
  margin: 1rem 0;
68
+ flex-direction: column;
69
+ }
70
+
71
+ :deep(.carousel__slide) {
72
+ @apply max-lg:flex-col;
66
73
  }
67
74
  </style>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="overflow-hidden">
3
- <div class="pb-container mt-4 px-4">
3
+ <div class="pb-container mt-4">
4
4
  <div class="grid gap-1.5 lg:gap-4"
5
5
  :style="innerWidth >= 1024 ? 'grid-template-columns: 33% auto;' : ''"
6
6
  v-if="paragraphComponent">