@carbon/vue 2.45.0 → 2.45.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.
- package/dist/carbon-vue.common.js +4 -4
- package/dist/carbon-vue.common.js.map +1 -1
- package/dist/carbon-vue.umd.js +4 -4
- package/dist/carbon-vue.umd.js.map +1 -1
- package/dist/carbon-vue.umd.min.js +1 -1
- package/dist/carbon-vue.umd.min.js.map +1 -1
- package/package.json +2 -2
- package/src/components/cv-modal/cv-modal.vue +6 -2
|
@@ -19475,7 +19475,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
19475
19475
|
// ESM COMPAT FLAG
|
|
19476
19476
|
__webpack_require__.r(__webpack_exports__);
|
|
19477
19477
|
|
|
19478
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"36fdd4c7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cv-modal/cv-modal.vue?vue&type=template&id=
|
|
19478
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"36fdd4c7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cv-modal/cv-modal.vue?vue&type=template&id=073ec65a&
|
|
19479
19479
|
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:[
|
|
19480
19480
|
`cv-modal ${_vm.carbonPrefix}--modal`,
|
|
19481
19481
|
{
|
|
@@ -19485,15 +19485,15 @@ var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{cla
|
|
|
19485
19485
|
],attrs:{"data-modal":"","id":_vm.uid,"tabindex":"-1"},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"]))return null;$event.preventDefault();return _vm.onEsc.apply(null, arguments)},"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.onExternalClick.apply(null, arguments)}}},[_c('div',_vm._b({ref:"modalDialog",class:[
|
|
19486
19486
|
`${_vm.carbonPrefix}--modal-container`,
|
|
19487
19487
|
{ [`${_vm.carbonPrefix}--modal-container--${_vm.internalSize}`]: _vm.internalSize },
|
|
19488
|
-
]},'div',_vm.dialogAttrs,false),[_c('div',{ref:"beforeContent",staticClass:"cv-modal__before-content",staticStyle:{"position":"absolute","height":"1px","width":"1px","left":"-9999px"},attrs:{"tabindex":"0"},on:{"focus":_vm.focusBeforeContent}}),_c('div',{class:`${_vm.carbonPrefix}--modal-header`},[_c('p',{class:`${_vm.carbonPrefix}--modal-header__label`},[_vm._t("label")],2),_c('p',{class:`${_vm.carbonPrefix}--modal-header__heading`},[_vm._t("title",function(){return [_vm._v("Modal Title")]})],2),_c('button',{ref:"close",class:`${_vm.carbonPrefix}--modal-close`,attrs:{"type":"button","aria-label":_vm.closeAriaLabel},on:{"click":_vm.onClose}},[_c('Close16',{class:`${_vm.carbonPrefix}--modal-close__icon`})],1)]),_c('div',{ref:"content",class:[`${_vm.carbonPrefix}--modal-content`, { [`${_vm.carbonPrefix}--modal-content--with-form`]: _vm.hasFormContent }],attrs:{"tabindex":_vm.scrollable ? 0 : undefined}},[_vm._t("content")],2),(_vm.hasFooter)?_c('cv-button-set',{class:[
|
|
19488
|
+
]},'div',_vm.dialogAttrs,false),[_c('div',{ref:"beforeContent",staticClass:"cv-modal__before-content",staticStyle:{"position":"absolute","height":"1px","width":"1px","left":"-9999px"},attrs:{"tabindex":"0","role":"separator","aria-valuenow":"0"},on:{"focus":_vm.focusBeforeContent}}),_c('div',{class:`${_vm.carbonPrefix}--modal-header`},[_c('p',{class:`${_vm.carbonPrefix}--modal-header__label`},[_vm._t("label")],2),_c('p',{class:`${_vm.carbonPrefix}--modal-header__heading`},[_vm._t("title",function(){return [_vm._v("Modal Title")]})],2),_c('button',{ref:"close",class:`${_vm.carbonPrefix}--modal-close`,attrs:{"type":"button","aria-label":_vm.closeAriaLabel},on:{"click":_vm.onClose}},[_c('Close16',{class:`${_vm.carbonPrefix}--modal-close__icon`})],1)]),_c('div',{ref:"content",class:[`${_vm.carbonPrefix}--modal-content`, { [`${_vm.carbonPrefix}--modal-content--with-form`]: _vm.hasFormContent }],attrs:{"tabindex":_vm.scrollable ? 0 : undefined}},[_vm._t("content")],2),(_vm.hasFooter)?_c('cv-button-set',{class:[
|
|
19489
19489
|
`${_vm.carbonPrefix}--modal-footer`,
|
|
19490
19490
|
{ [`${_vm.carbonPrefix}--modal-footer--three-button`]: _vm.hasPrimary && _vm.hasSecondary && _vm.hasOtherBtn },
|
|
19491
|
-
]},[(_vm.hasOtherBtn)?_c('cv-button',{ref:"otherBtn",attrs:{"type":"button","kind":"secondary"},on:{"click":_vm.onOtherBtnClick}},[_vm._t("other-button",function(){return [_vm._v("Other button")]})],2):_vm._e(),(_vm.hasSecondary)?_c('cv-button',{ref:"secondary",attrs:{"type":"button","kind":"secondary"},on:{"click":_vm.onSecondaryClick}},[_vm._t("secondary-button",function(){return [_vm._v("Secondary button")]})],2):_vm._e(),(_vm.hasPrimary)?_c('cv-button',{ref:"primary",attrs:{"disabled":_vm.primaryButtonDisabled,"type":"button","kind":_vm.primaryKind},on:{"click":_vm.onPrimaryClick}},[_vm._t("primary-button",function(){return [_vm._v("Primary button")]})],2):_vm._e()],1):_vm._e(),_c('div',{ref:"afterContent",staticClass:"cv-modal__after-content",staticStyle:{"position":"absolute","height":"1px","width":"1px","left":"-9999px"},attrs:{"tabindex":"0"},on:{"focus":_vm.focusAfterContent}})],1)])
|
|
19491
|
+
]},[(_vm.hasOtherBtn)?_c('cv-button',{ref:"otherBtn",attrs:{"type":"button","kind":"secondary"},on:{"click":_vm.onOtherBtnClick}},[_vm._t("other-button",function(){return [_vm._v("Other button")]})],2):_vm._e(),(_vm.hasSecondary)?_c('cv-button',{ref:"secondary",attrs:{"type":"button","kind":"secondary"},on:{"click":_vm.onSecondaryClick}},[_vm._t("secondary-button",function(){return [_vm._v("Secondary button")]})],2):_vm._e(),(_vm.hasPrimary)?_c('cv-button',{ref:"primary",attrs:{"disabled":_vm.primaryButtonDisabled,"type":"button","kind":_vm.primaryKind},on:{"click":_vm.onPrimaryClick}},[_vm._t("primary-button",function(){return [_vm._v("Primary button")]})],2):_vm._e()],1):_vm._e(),_c('div',{ref:"afterContent",staticClass:"cv-modal__after-content",staticStyle:{"position":"absolute","height":"1px","width":"1px","left":"-9999px"},attrs:{"tabindex":"0","role":"separator","aria-valuenow":"1"},on:{"focus":_vm.focusAfterContent}})],1)])
|
|
19492
19492
|
}
|
|
19493
19493
|
var staticRenderFns = []
|
|
19494
19494
|
|
|
19495
19495
|
|
|
19496
|
-
// CONCATENATED MODULE: ./src/components/cv-modal/cv-modal.vue?vue&type=template&id=
|
|
19496
|
+
// CONCATENATED MODULE: ./src/components/cv-modal/cv-modal.vue?vue&type=template&id=073ec65a&
|
|
19497
19497
|
|
|
19498
19498
|
// EXTERNAL MODULE: ./src/components/cv-button/cv-button.vue + 4 modules
|
|
19499
19499
|
var cv_button = __webpack_require__("cea0");
|