druxt-entity 0.27.0 → 0.27.1

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.
@@ -293,7 +293,7 @@ export default {
293
293
  // File: View.
294
294
  if (this.isFile && schemaType === 'view') {
295
295
  return h('DruxtEntity', {
296
- attrs,
296
+ attrs: { ...attrs, ...self.$attrs },
297
297
  props: {
298
298
  langcode: this.lang,
299
299
  type: item.type,
@@ -311,7 +311,7 @@ export default {
311
311
  // Image: View
312
312
  if (this.isImage && schemaType === 'view') {
313
313
  return h('DruxtEntity', {
314
- attrs,
314
+ attrs: { ...attrs, ...self.$attrs },
315
315
  props: {
316
316
  langcode: this.lang,
317
317
  type: item.type,
@@ -353,7 +353,7 @@ export default {
353
353
  // Relationship: View.
354
354
  if (this.relationship && (item || {}).id && schemaType === 'view') {
355
355
  return h('DruxtEntity', {
356
- attrs,
356
+ attrs: { ...attrs, ...self.$attrs },
357
357
  props: {
358
358
  langcode: this.lang,
359
359
  mode: this.schema.settings.display.view_mode || 'default',
@@ -366,7 +366,7 @@ export default {
366
366
  // Relationship: Form.
367
367
  if (this.relationship && (item || {}).id && schemaType === 'form') {
368
368
  return h('details', [h('DruxtEntityForm', {
369
- attrs,
369
+ attrs: { ...attrs, ...self.$attrs },
370
370
  props: {
371
371
  langcode: this.lang,
372
372
  mode: this.schema.settings.display.view_mode || 'default',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt-entity",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "description": "Drupal Display Mode powered Entity, Form and Field Druxt components.",
5
5
  "keywords": [
6
6
  "cms",