@dcodegroup-au/page-builder 0.2.0 → 0.2.2

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": "@dcodegroup-au/page-builder",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/page-builder.es.js"
@@ -108,7 +108,7 @@
108
108
  </div>
109
109
  </div>
110
110
  <slot>
111
- <div class="flex justify-between space-x-xsSpace pt-xsSpace gap-4 fixed bottom-0 w-full bg-gray-200 py-2 px-6">
111
+ <div class="flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6">
112
112
  <a @click="close"
113
113
  class="w-[200px] py-[9px] bg-white rounded-full border border-gray-300 shadow-xs text-md font-semibold hover:bg-gray-100 text-gray-700 text-center cursor-pointer">
114
114
  Cancel
@@ -50,7 +50,7 @@
50
50
  </div>
51
51
  </div>
52
52
  <slot>
53
- <div class="flex justify-between space-x-xsSpace pt-xsSpace gap-4 fixed bottom-0 w-full bg-gray-200 py-2 px-6">
53
+ <div class="flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6">
54
54
  <a @click="close"
55
55
  class="w-[200px] py-[9px] bg-white rounded-full border border-gray-300 shadow-xs text-md font-semibold hover:bg-gray-100 text-gray-700 text-center cursor-pointer">
56
56
  Cancel
@@ -4,8 +4,8 @@
4
4
  <div class="flex-1 w-full md:w-1/2 flex flex-col">
5
5
  <div v-for="item in publicTabs" :key="item.title">
6
6
  <div
7
- class="flex-col flex gap-1.5 cursor-pointer hover:bg-navy-50 mb-4 group"
8
- :class="{'border-l-4 border-brand-600': selectedItem === item}"
7
+ class="flex-col flex gap-1.5 cursor-pointer mb-4 group"
8
+ :class="{'border-l-4 border-brand-600': selectedItem === item, 'border-l-4 border-gray-100': selectedItem !== item}"
9
9
  @click.prevent="selectItem(item)"
10
10
  >
11
11
  <div class="py-4 pl-4 md:pl-6">
@@ -1,14 +1,17 @@
1
1
  <template>
2
2
  <div class="w-full bg-navy-800 py-10 relative lg:h-[336px]">
3
- <div class="1xl:max-w-[1824px] mx-auto lg:pl-[120px] pl-4 relative z-10">
4
- <div v-for="(component, index) in section.components" class="w-1/2">
5
- <component
6
- :is="currentComponent(component)"
7
- :key="index"
8
- :component="component"
9
- ></component>
3
+ <div class="max-w-[1400px] mx-auto w-full">
4
+ <div class="max-md:mx-[30px] max-1xl:mx-[120px] 1xl:mx-0 relative z-10">
5
+ <div v-for="(component, index) in section.components" class="w-full md:w-3/4">
6
+ <component
7
+ :is="currentComponent(component)"
8
+ :key="index"
9
+ :component="component"
10
+ ></component>
11
+ </div>
10
12
  </div>
11
13
  </div>
14
+
12
15
  <HeaderVector class="absolute right-0 top-0"></HeaderVector>
13
16
  </div>
14
17
  </template>
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <div class="max-w-[1392px] 1xl:max-w-[1824px] mx-auto w-full">
3
- <div class="md:mx-[90px] bg-navy-25 rounded-[48px] p-16">
2
+ <div class="max-w-[1400px] mx-auto w-full">
3
+ <div class="max-md:mx-[30px] max-1xl:mx-[120px] 1xl:mx-0 bg-navy-25 rounded-[48px] p-16">
4
4
  <div v-for="(component, index) in section.components">
5
5
  <component
6
6
  :is="currentComponent(component)"