vira 31.6.1 → 31.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.
@@ -65,17 +65,18 @@ export const ViraTabs = defineViraElement()({
65
65
  styles: ({ hostClasses, cssVars }) => {
66
66
  return css `
67
67
  :host {
68
- display: inline-flex;
68
+ display: flex;
69
69
  box-sizing: border-box;
70
70
  ${noUserSelect};
71
- max-width: 100%;
72
- max-height: 100%;
71
+ width: 100%;
72
+ height: 100%;
73
73
  }
74
74
 
75
75
  .tabs-container {
76
76
  display: flex;
77
77
  position: relative;
78
78
  list-style: none;
79
+ overflow: hidden;
79
80
  margin: 0;
80
81
  padding: 0;
81
82
  }
@@ -100,7 +101,6 @@ export const ViraTabs = defineViraElement()({
100
101
  display: flex;
101
102
  align-items: center;
102
103
  justify-content: center;
103
- padding: 8px 16px;
104
104
  position: relative;
105
105
  color: ${cssVars['vira-tabs-inactive-color'].value};
106
106
  font-size: ${viraFormCssVars['vira-form-medium-text-size'].value};
@@ -135,6 +135,11 @@ export const ViraTabs = defineViraElement()({
135
135
  }
136
136
 
137
137
  ${hostClasses['vira-tabs-bar-bottom'].selector} {
138
+ & .tabs-container {
139
+ border-bottom: 1px solid
140
+ ${viraTheme.colors['vira-grey-foreground-decoration'].foreground.value};
141
+ }
142
+
138
143
  & li::after {
139
144
  bottom: 0;
140
145
  left: 0;
@@ -146,6 +151,11 @@ export const ViraTabs = defineViraElement()({
146
151
  }
147
152
 
148
153
  ${hostClasses['vira-tabs-bar-top'].selector} {
154
+ & .tabs-container {
155
+ border-top: 1px solid
156
+ ${viraTheme.colors['vira-grey-foreground-decoration'].foreground.value};
157
+ }
158
+
149
159
  & li::after {
150
160
  top: 0;
151
161
  left: 0;
@@ -157,6 +167,11 @@ export const ViraTabs = defineViraElement()({
157
167
  }
158
168
 
159
169
  ${hostClasses['vira-tabs-bar-left'].selector} {
170
+ & .tabs-container {
171
+ border-left: 1px solid
172
+ ${viraTheme.colors['vira-grey-foreground-decoration'].foreground.value};
173
+ }
174
+
160
175
  & li::after {
161
176
  top: 0;
162
177
  bottom: 0;
@@ -168,6 +183,11 @@ export const ViraTabs = defineViraElement()({
168
183
  }
169
184
 
170
185
  ${hostClasses['vira-tabs-bar-right'].selector} {
186
+ & .tabs-container {
187
+ border-right: 1px solid
188
+ ${viraTheme.colors['vira-grey-foreground-decoration'].foreground.value};
189
+ }
190
+
171
191
  & li::after {
172
192
  top: 0;
173
193
  bottom: 0;
@@ -210,6 +230,11 @@ export const ViraTabs = defineViraElement()({
210
230
  ${ViraLink} {
211
231
  text-decoration: none;
212
232
  }
233
+
234
+ .tabs-container ${ViraLink} {
235
+ display: flex;
236
+ padding: 8px 16px;
237
+ }
213
238
  `;
214
239
  },
215
240
  render({ inputs }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "31.6.1",
3
+ "version": "31.7.0",
4
4
  "description": "A simple and highly versatile design system using element-vir.",
5
5
  "keywords": [
6
6
  "design",