@neovici/cosmoz-tabs 8.6.1 → 8.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-tabs",
3
- "version": "8.6.1",
3
+ "version": "8.7.0",
4
4
  "description": "A multi views container element that allow navigation between the views using tabs or an accordion.",
5
5
  "keywords": [
6
6
  "web-components"
@@ -56,7 +56,7 @@ const CosmozTabCard = (host) => {
56
56
  >
57
57
  <slot name="collapse-icon">${collapseIcon}</slot>
58
58
  </div>
59
- `,
59
+ `
60
60
  )}
61
61
  <h1 class="heading" @click=${toggleCollapsed} part="heading">
62
62
  ${heading}<slot name="after-title"></slot>
@@ -76,7 +76,7 @@ const style = css`
76
76
  display: block;
77
77
  position: relative;
78
78
  box-sizing: border-box;
79
- background-color: #fff;
79
+ background-color: var(--cosmoz-tab-card-bg-color, white);
80
80
  border-radius: 3px;
81
81
  margin: 15px;
82
82
  align-self: flex-start;
@@ -104,7 +104,7 @@ const style = css`
104
104
  display: flex;
105
105
  align-items: center;
106
106
  gap: 8px;
107
- background-color: #fff;
107
+ background-color: var(--cosmoz-tab-card-bg-color, white);
108
108
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
109
109
  }
110
110
 
@@ -137,5 +137,5 @@ customElements.define(
137
137
  component(CosmozTabCard, {
138
138
  observedAttributes: ['heading', 'collapsable', 'collapsed'],
139
139
  styleSheets: [style],
140
- }),
140
+ })
141
141
  );