druxt-site 0.12.1 → 0.14.0

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.
@@ -93,6 +93,12 @@ export default {
93
93
  regions: ({ model, value }) => model || value || [],
94
94
  },
95
95
 
96
+ watch: {
97
+ theme() {
98
+ this.$fetch()
99
+ }
100
+ },
101
+
96
102
  methods: {
97
103
  ...mapActions({ getCollection: 'druxt/getCollection' }),
98
104
  },
@@ -186,6 +192,13 @@ export default {
186
192
 
187
193
  return scopedSlots
188
194
  },
195
+
196
+ /**
197
+ * Druxt development template tool configuration.
198
+ */
199
+ template: {
200
+ debug: '{ props, regions, theme }',
201
+ }
189
202
  }
190
203
  }
191
204
 
@@ -34,10 +34,6 @@ const DruxtSiteNuxtModule = async function(moduleOptions = {}) {
34
34
  const options = {
35
35
  baseUrl: moduleOptions.baseUrl,
36
36
  ...(this.options || {}).druxt || {},
37
- menu: {
38
- jsonApiMenuItems: true,
39
- ...((this.options || {}).druxt || {}).menu
40
- },
41
37
  proxy: {
42
38
  api: false,
43
39
  files: true,
@@ -38,10 +38,6 @@ const DruxtSiteNuxtModule = async function(moduleOptions = {}) {
38
38
  const options = {
39
39
  baseUrl: moduleOptions.baseUrl,
40
40
  ...(this.options || {}).druxt || {},
41
- menu: {
42
- jsonApiMenuItems: true,
43
- ...((this.options || {}).druxt || {}).menu
44
- },
45
41
  proxy: {
46
42
  api: false,
47
43
  files: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt-site",
3
- "version": "0.12.1",
3
+ "version": "0.14.0",
4
4
  "description": "Out of the box Decoupled Drupal sites with Druxt.",
5
5
  "keywords": [
6
6
  "cms",
@@ -42,19 +42,19 @@
42
42
  "templates"
43
43
  ],
44
44
  "dependencies": {
45
- "drupal-jsonapi-params": "^2.0.0",
46
- "druxt": "^0.19.3",
47
- "druxt-blocks": "^0.16.2",
48
- "druxt-breadcrumb": "^0.15.1",
49
- "druxt-entity": "^0.25.1",
50
- "druxt-menu": "^0.17.1",
51
- "druxt-router": "^0.27.4",
52
- "druxt-schema": "^0.10.4",
53
- "druxt-views": "^0.19.1",
45
+ "drupal-jsonapi-params": "^2.1.0",
46
+ "druxt": "^0.21.0",
47
+ "druxt-blocks": "^0.17.0",
48
+ "druxt-breadcrumb": "^0.17.0",
49
+ "druxt-entity": "^0.27.0",
50
+ "druxt-menu": "^0.19.0",
51
+ "druxt-router": "^0.29.0",
52
+ "druxt-schema": "^0.11.1",
53
+ "druxt-views": "^0.21.0",
54
54
  "md5": "^2.3.0"
55
55
  },
56
56
  "optionalDependencies": {
57
- "vue": "^2.6.14",
57
+ "vue": "^2.7.10",
58
58
  "vuex": "^3.6.2"
59
59
  },
60
60
  "publishConfig": {
@@ -1,4 +1,10 @@
1
1
  import DruxtSite from 'druxt-site/dist/components/DruxtSite.vue'
2
+ import DruxtModule from 'druxt/dist/components/DruxtModule.vue'
3
+
4
+ DruxtSite.__docgenInfo.props = [
5
+ ...DruxtModule.__docgenInfo.props,
6
+ ...DruxtSite.__docgenInfo.props,
7
+ ].sort((a, b) => a.name < b.name ? -1 : 1).filter((o) => o.name !== 'v-model')
2
8
 
3
9
  export default {
4
10
  title: 'Druxt/Site/DruxtSite',