@coreui/vue-pro 4.11.2 → 4.11.3

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/README.md CHANGED
@@ -46,7 +46,7 @@
46
46
 
47
47
  Several quick start options are available:
48
48
 
49
- - [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.9.0.zip)
49
+ - [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.11.3.zip)
50
50
  - Clone the repo: `git clone https://github.com/coreui/coreui-vue-pro.git`
51
51
  - Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue-pro`
52
52
  - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue-pro`
package/dist/index.es.js CHANGED
@@ -12384,6 +12384,7 @@ const CNavbarPlugin = {
12384
12384
 
12385
12385
  const COffcanvas = defineComponent({
12386
12386
  name: 'COffcanvas',
12387
+ inheritAttrs: false,
12387
12388
  props: {
12388
12389
  /**
12389
12390
  * Apply a backdrop on body while offcanvas is open.
@@ -12466,7 +12467,7 @@ const COffcanvas = defineComponent({
12466
12467
  */
12467
12468
  'show',
12468
12469
  ],
12469
- setup(props, { slots, emit }) {
12470
+ setup(props, { attrs, emit, slots }) {
12470
12471
  const offcanvasRef = ref();
12471
12472
  const visible = ref(props.visible);
12472
12473
  watch(() => props.visible, () => {
@@ -12524,11 +12525,13 @@ const COffcanvas = defineComponent({
12524
12525
  onLeave: (el, done) => handleLeave(el, done),
12525
12526
  onAfterLeave: (el) => handleAfterLeave(el),
12526
12527
  }, () => withDirectives(h$1('div', {
12528
+ ...attrs,
12527
12529
  class: [
12528
12530
  {
12529
12531
  [`offcanvas${typeof props.responsive === 'boolean' ? '' : '-' + props.responsive}`]: props.responsive,
12530
12532
  [`offcanvas-${props.placement}`]: props.placement,
12531
12533
  },
12534
+ attrs.class,
12532
12535
  ],
12533
12536
  onKeydown: (event) => handleKeyDown(event),
12534
12537
  ref: offcanvasRef,