@neovici/cosmoz-tabs 8.6.0 → 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.0",
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;
@@ -90,6 +90,7 @@ const style = css`
90
90
 
91
91
  .collapse {
92
92
  display: flex;
93
+ flex-direction: column;
93
94
  flex: auto;
94
95
  }
95
96
 
@@ -103,7 +104,7 @@ const style = css`
103
104
  display: flex;
104
105
  align-items: center;
105
106
  gap: 8px;
106
- background-color: #fff;
107
+ background-color: var(--cosmoz-tab-card-bg-color, white);
107
108
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
108
109
  }
109
110
 
@@ -136,5 +137,5 @@ customElements.define(
136
137
  component(CosmozTabCard, {
137
138
  observedAttributes: ['heading', 'collapsable', 'collapsed'],
138
139
  styleSheets: [style],
139
- }),
140
+ })
140
141
  );