title | issue | author | author_email | author_github |
---|---|---|---|---|
Add warning state to sw-tabs-item |
NEXT-25231 |
Frederik Schmitt |
fschmtt |
- Added property
hasWarning: Boolean
tosrc/app/component/base/sw-tabs-item/index.js
(defaults tofalse
) - Added property
errorTooltip: String
tosrc/app/component/base/sw-tabs-item/index.js
(defaults toglobal.sw-tabs-item.tooltipTabHasErrors
) - Added property
warningTooltip: String
tosrc/app/component/base/sw-tabs-item/index.js
(defaults toglobal.sw-tabs-item.tooltipTabHasWarnings
) - Changed computed property
tabsItemClasses
insrc/app/component/base/sw-tabs-item/index.js
to add thesw-tabs-item--has-warning
class ifhasWarning
istrue
- Added computed property
activeTabHasWarnings
tosrc/app/component/base/sw-tabs/index.js
- Changed computed property
sliderClasses
insrc/app/component/base/sw-tabs/index.js
to add thehas--warning
class ifactiveTabHasWarnings
istrue
- Added watcher for property
activeTabHasWarnings
insrc/app/component/base/sw-tabs/index.js
to recalculate the slider