@sveltia/ui 0.1.1 → 0.1.2
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.
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
align-items: center;
|
|
44
44
|
border-color: var(--control-border-color);
|
|
45
45
|
}
|
|
46
|
-
.tab-list
|
|
46
|
+
.tab-list[aria-orientation=horizontal] {
|
|
47
47
|
gap: 16px;
|
|
48
48
|
margin: 0 0 32px;
|
|
49
49
|
border-width: 0 0 1px;
|
|
50
50
|
padding: 0 16px;
|
|
51
51
|
}
|
|
52
|
-
.tab-list
|
|
52
|
+
.tab-list[aria-orientation=horizontal] :global(button) {
|
|
53
53
|
border-width: 0 0 2px 0;
|
|
54
54
|
}
|
|
55
|
-
.tab-list
|
|
55
|
+
.tab-list[aria-orientation=vertical] {
|
|
56
56
|
gap: 8px;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
margin: 0 32px 0 0;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
padding: 8px 0;
|
|
61
61
|
width: 240px;
|
|
62
62
|
}
|
|
63
|
-
.tab-list
|
|
63
|
+
.tab-list[aria-orientation=vertical] :global(button) {
|
|
64
64
|
border-width: 0 2px 0 0;
|
|
65
65
|
width: 100%;
|
|
66
66
|
}
|
|
@@ -137,10 +137,10 @@ button > :global(*) {
|
|
|
137
137
|
button:global(:not(:disabled):focus-visible) {
|
|
138
138
|
z-index: 1;
|
|
139
139
|
}
|
|
140
|
-
button
|
|
140
|
+
button[hidden] {
|
|
141
141
|
display: none !important;
|
|
142
142
|
}
|
|
143
|
-
button
|
|
143
|
+
button[disabled] {
|
|
144
144
|
opacity: 0.4;
|
|
145
145
|
cursor: default;
|
|
146
146
|
pointer-events: none;
|
|
@@ -172,14 +172,14 @@ button:global(.secondary) {
|
|
|
172
172
|
color: var(--highlight-foreground-color);
|
|
173
173
|
background-color: var(--ternary-background-color);
|
|
174
174
|
}
|
|
175
|
-
button:global(.secondary)
|
|
175
|
+
button:global(.secondary)[aria-pressed=true] {
|
|
176
176
|
background-color: var(--primary-accent-color);
|
|
177
177
|
}
|
|
178
178
|
button:global(.ternary) {
|
|
179
179
|
color: var(--primary-foreground-color);
|
|
180
180
|
padding: 0 8px;
|
|
181
181
|
}
|
|
182
|
-
button:global(.ternary)
|
|
182
|
+
button:global(.ternary)[aria-pressed=true] {
|
|
183
183
|
background-color: var(--highlight-background-color);
|
|
184
184
|
}
|
|
185
185
|
button:global(.danger) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"svelte": "^3.55.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@babel/core": "^7.21.
|
|
28
|
-
"@babel/eslint-parser": "^7.
|
|
27
|
+
"@babel/core": "^7.21.3",
|
|
28
|
+
"@babel/eslint-parser": "^7.21.3",
|
|
29
29
|
"@playwright/test": "^1.31.2",
|
|
30
30
|
"@sveltejs/adapter-auto": "2.0.0",
|
|
31
|
-
"@sveltejs/kit": "1.
|
|
31
|
+
"@sveltejs/kit": "1.11.0",
|
|
32
32
|
"@sveltejs/package": "^2.0.2",
|
|
33
|
-
"cspell": "^6.
|
|
34
|
-
"eslint": "^8.
|
|
33
|
+
"cspell": "^6.29.3",
|
|
34
|
+
"eslint": "^8.36.0",
|
|
35
35
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
36
36
|
"eslint-config-prettier": "^8.7.0",
|
|
37
37
|
"eslint-plugin-import": "^2.27.5",
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
"postcss-html": "^1.5.0",
|
|
42
42
|
"prettier": "^2.8.4",
|
|
43
43
|
"prettier-plugin-svelte": "^2.9.0",
|
|
44
|
-
"sass": "^1.
|
|
44
|
+
"sass": "^1.59.3",
|
|
45
45
|
"stylelint": "^15.2.0",
|
|
46
46
|
"stylelint-config-recommended-scss": "^9.0.1",
|
|
47
|
-
"stylelint-scss": "^4.
|
|
48
|
-
"svelte-check": "^3.
|
|
47
|
+
"stylelint-scss": "^4.5.0",
|
|
48
|
+
"svelte-check": "^3.1.4",
|
|
49
49
|
"svelte-i18n": "^3.6.0",
|
|
50
50
|
"svelte-migrate": "^1.1.3",
|
|
51
|
-
"svelte-preprocess": "^5.0.
|
|
51
|
+
"svelte-preprocess": "^5.0.2",
|
|
52
52
|
"tslib": "^2.5.0",
|
|
53
|
-
"vite": "^4.
|
|
54
|
-
"vitest": "^0.29.
|
|
53
|
+
"vite": "^4.2.0",
|
|
54
|
+
"vitest": "^0.29.3"
|
|
55
55
|
},
|
|
56
56
|
"exports": {
|
|
57
57
|
"./package.json": "./package.json",
|