@carbon/vue 2.38.1 → 2.38.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.38.2
4
+
5
+ fix: modal primary button and storybook usage.
6
+
3
7
  ## 2.38.1
4
8
 
5
9
  fix: correct secondary button on modal to raise a 'secondary-click'
@@ -21479,7 +21479,7 @@ var component = Object(componentNormalizer["a" /* default */])(
21479
21479
  // ESM COMPAT FLAG
21480
21480
  __webpack_require__.r(__webpack_exports__);
21481
21481
 
21482
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"382f667e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cv-modal/cv-modal.vue?vue&type=template&id=2b6fe6a2&
21482
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"382f667e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cv-modal/cv-modal.vue?vue&type=template&id=3b487462&
21483
21483
  var render = function () {
21484
21484
  var _obj, _obj$1, _obj$2, _obj$3;
21485
21485
  var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
@@ -21490,11 +21490,11 @@ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{
21490
21490
  (_vm.carbonPrefix + "--modal-container"),
21491
21491
  ( _obj$1 = {}, _obj$1[(_vm.carbonPrefix + "--modal-container--" + _vm.internalSize)] = _vm.internalSize, _obj$1 ) ]},'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",[_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"), ( _obj$2 = {}, _obj$2[(_vm.carbonPrefix + "--modal-content--with-form")] = _vm.hasFormContent, _obj$2 )],attrs:{"tabindex":_vm.scrollable ? 0 : undefined}},[_vm._t("content")],2),(_vm.hasFooter)?_c('cv-button-set',{class:[
21492
21492
  (_vm.carbonPrefix + "--modal-footer"),
21493
- ( _obj$3 = {}, _obj$3[(_vm.carbonPrefix + "--modal-footer--three-button")] = _vm.hasPrimary && _vm.hasSecondary && _vm.hasOtherBtn, _obj$3 ) ]},[(_vm.hasOtherBtn)?_c('cv-button',{ref:"otherBtn",attrs:{"type":"button","kind":"secondary"},on:{"click":_vm.onOtherBtnClick}},[_vm._t("other-button",[_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",[_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":function () { return _vm.onPrimaryClick; }}},[_vm._t("primary-button",[_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)])}
21493
+ ( _obj$3 = {}, _obj$3[(_vm.carbonPrefix + "--modal-footer--three-button")] = _vm.hasPrimary && _vm.hasSecondary && _vm.hasOtherBtn, _obj$3 ) ]},[(_vm.hasOtherBtn)?_c('cv-button',{ref:"otherBtn",attrs:{"type":"button","kind":"secondary"},on:{"click":_vm.onOtherBtnClick}},[_vm._t("other-button",[_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",[_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",[_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)])}
21494
21494
  var staticRenderFns = []
21495
21495
 
21496
21496
 
21497
- // CONCATENATED MODULE: ./src/components/cv-modal/cv-modal.vue?vue&type=template&id=2b6fe6a2&
21497
+ // CONCATENATED MODULE: ./src/components/cv-modal/cv-modal.vue?vue&type=template&id=3b487462&
21498
21498
 
21499
21499
  // EXTERNAL MODULE: ./src/components/cv-button/cv-button.vue + 4 modules
21500
21500
  var cv_button = __webpack_require__("cea0");