druxt-site 0.12.1 → 0.13.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
  },
@@ -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.13.0",
4
4
  "description": "Out of the box Decoupled Drupal sites with Druxt.",
5
5
  "keywords": [
6
6
  "cms",
@@ -43,14 +43,14 @@
43
43
  ],
44
44
  "dependencies": {
45
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",
46
+ "druxt": "^0.20.0",
47
+ "druxt-blocks": "^0.16.3",
48
+ "druxt-breadcrumb": "^0.16.0",
49
+ "druxt-entity": "^0.26.0",
50
+ "druxt-menu": "^0.18.0",
51
+ "druxt-router": "^0.28.0",
52
+ "druxt-schema": "^0.11.0",
53
+ "druxt-views": "^0.20.0",
54
54
  "md5": "^2.3.0"
55
55
  },
56
56
  "optionalDependencies": {
@@ -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',