@splendidlabz/styles 4.6.8 → 4.7.1

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": "@splendidlabz/styles",
3
- "version": "4.6.8",
3
+ "version": "4.7.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "homepage": "https://splendidlabz.com/docs/styles",
@@ -30,6 +30,38 @@
30
30
  }
31
31
  }
32
32
 
33
+ @utility tablist-top {
34
+ --placement: top;
35
+ max-width: 100%;
36
+ }
37
+
38
+ @utility tablist-left {
39
+ --placement: left;
40
+ }
41
+
42
+ @utility tablist-right {
43
+ --placement: right;
44
+ order: 2;
45
+ }
46
+
47
+ @layer components {
48
+ /*********************
49
+ * Tab placements *
50
+ *********************/
51
+
52
+ /* Top */
53
+
54
+ /* Left and Right */
55
+ :is(.tablist-left, .tablist-right) {
56
+ display: flex;
57
+ flex-flow: column nowrap;
58
+
59
+ :where(.tab) {
60
+ align-self: stretch;
61
+ }
62
+ }
63
+ }
64
+
33
65
  /*********************
34
66
  * Variations *
35
67
  *********************/
@@ -116,8 +148,6 @@
116
148
 
117
149
  &.tablist-left,
118
150
  &.tablist-right {
119
- background: red !important;
120
-
121
151
  :where(.tab) {
122
152
  border-width: 0;
123
153
  border-radius: 0;
@@ -139,31 +169,3 @@
139
169
  }
140
170
  }
141
171
  }
142
-
143
- @utility tablist-top {
144
- --scrollbar-width: none;
145
- --scrollbar-size: 0px;
146
- max-width: 100%;
147
- }
148
-
149
- @layer components {
150
- /*********************
151
- * Tab placements *
152
- *********************/
153
-
154
- /* Top */
155
-
156
- /* Left and Right */
157
- :is(.tablist-left, .tablist-right) {
158
- display: flex;
159
- flex-flow: column nowrap;
160
-
161
- :where(.tab) {
162
- align-self: stretch;
163
- }
164
- }
165
-
166
- .tablist-right {
167
- order: 2;
168
- }
169
- }