@splendidlabz/styles 4.7.1 → 4.8.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": "@splendidlabz/styles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://splendidlabz.com/docs/styles",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"@splendidlabz/utils": "*"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@splendidlabz/stylelint-config": "3.1.
|
|
33
|
-
"@tailwindcss/cli": "^4.
|
|
34
|
-
"lightningcss-cli": "^1.
|
|
35
|
-
"tailwindcss": "^4.
|
|
36
|
-
"turbowatch": "^2.
|
|
32
|
+
"@splendidlabz/stylelint-config": "3.1.2",
|
|
33
|
+
"@tailwindcss/cli": "^4.2.2",
|
|
34
|
+
"lightningcss-cli": "^1.32.0",
|
|
35
|
+
"tailwindcss": "^4.2.2",
|
|
36
|
+
"turbowatch": "^2.30.0"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
@utility tablist {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
gap: 0.5lh;
|
|
5
|
-
}
|
|
2
|
+
display: flex;
|
|
3
|
+
gap: 0.5lh;
|
|
6
4
|
}
|
|
7
5
|
|
|
8
6
|
@utility tab {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
text-align: left;
|
|
13
|
-
}
|
|
7
|
+
align-items: start;
|
|
8
|
+
padding: 0.25rlh 0.5rlh;
|
|
9
|
+
text-align: left;
|
|
14
10
|
|
|
15
11
|
&[aria-selected] {
|
|
16
12
|
z-index: 2;
|
|
@@ -18,10 +14,8 @@
|
|
|
18
14
|
}
|
|
19
15
|
|
|
20
16
|
@utility tabpanels {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
position: relative;
|
|
24
|
-
}
|
|
17
|
+
@apply border-scaffold;
|
|
18
|
+
position: relative;
|
|
25
19
|
}
|
|
26
20
|
|
|
27
21
|
@utility tabpanel {
|
|
@@ -37,28 +31,24 @@
|
|
|
37
31
|
|
|
38
32
|
@utility tablist-left {
|
|
39
33
|
--placement: left;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-flow: column nowrap;
|
|
36
|
+
|
|
37
|
+
:where(.tab) {
|
|
38
|
+
align-self: stretch;
|
|
39
|
+
justify-content: left;
|
|
40
|
+
}
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
@utility tablist-right {
|
|
43
44
|
--placement: right;
|
|
44
45
|
order: 2;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
@layer components {
|
|
48
|
-
/*********************
|
|
49
|
-
* Tab placements *
|
|
50
|
-
*********************/
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-flow: column nowrap;
|
|
51
48
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
:is(.tablist-left, .tablist-right) {
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-flow: column nowrap;
|
|
58
|
-
|
|
59
|
-
:where(.tab) {
|
|
60
|
-
align-self: stretch;
|
|
61
|
-
}
|
|
49
|
+
:where(.tab) {
|
|
50
|
+
align-self: stretch;
|
|
51
|
+
justify-content: left;
|
|
62
52
|
}
|
|
63
53
|
}
|
|
64
54
|
|
|
@@ -115,12 +105,10 @@
|
|
|
115
105
|
}
|
|
116
106
|
|
|
117
107
|
@utility tablist-card-divided {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
padding: 0;
|
|
123
|
-
}
|
|
108
|
+
@apply border-scaffold;
|
|
109
|
+
position: relative;
|
|
110
|
+
gap: 0;
|
|
111
|
+
padding: 0;
|
|
124
112
|
|
|
125
113
|
&:where(.tablist-top) {
|
|
126
114
|
:where(.tab) {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@theme inline {
|
|
2
|
+
--spacing-section: 2rlh;
|
|
3
|
+
--spacing-section-mini: calc(var(--spacing-section) * 0.5);
|
|
4
|
+
--spacing-section-cont: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@utility section {
|
|
8
|
+
padding-block: var(--spacing-section);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@utility section-mini {
|
|
12
|
+
padding-block: var(--spacing-section-mini);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@utility section-cont {
|
|
16
|
+
@apply section;
|
|
17
|
+
|
|
18
|
+
.section + &,
|
|
19
|
+
& + & {
|
|
20
|
+
padding-block-start: var(--spacing-section-cont);
|
|
21
|
+
}
|
|
22
|
+
}
|