@plitzi/sdk-style 0.37.10 → 0.38.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @plitzi/sdk-style
|
|
2
2
|
|
|
3
|
+
## 0.38.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 266e691: ## A shutdown that does not wait on idle connections
|
|
8
|
+
|
|
9
|
+
A server shutting down while it answered a request waited, once the answer was sent, for the client to let go of the
|
|
10
|
+
keep-alive connection it came on — three seconds for Node's own `fetch`, longer for others — before it could stop. The
|
|
11
|
+
connection is now closed as soon as its answer is finished.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [266e691]
|
|
14
|
+
- @plitzi/sdk-plugins@0.38.1
|
|
15
|
+
- @plitzi/sdk-shared@0.38.1
|
|
16
|
+
- @plitzi/sdk-variables@0.38.1
|
|
17
|
+
|
|
18
|
+
## 0.38.0
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- v0.38.0
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
- @plitzi/sdk-plugins@0.38.0
|
|
28
|
+
- @plitzi/sdk-shared@0.38.0
|
|
29
|
+
- @plitzi/sdk-variables@0.38.0
|
|
30
|
+
|
|
3
31
|
## 0.37.10
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -30,7 +30,7 @@ var v = () => {
|
|
|
30
30
|
O,
|
|
31
31
|
C,
|
|
32
32
|
A
|
|
33
|
-
]), N = n(() => b ? Object.
|
|
33
|
+
]), N = n(() => b ? Object.values(b).flatMap((e) => Object.keys(e)).map((e) => ({
|
|
34
34
|
type: "css-token",
|
|
35
35
|
value: e
|
|
36
36
|
})) : [], [b]);
|
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import { StyleVariableCategory as e } from "@plitzi/sdk-shared/types";
|
|
1
|
+
import { StyleVariableCategory as e, isStyleVariableCategory as t } from "@plitzi/sdk-shared/types";
|
|
2
2
|
//#region src/helpers/processSelectorVariables.ts
|
|
3
|
-
var
|
|
4
|
-
let { variables:
|
|
5
|
-
if (!
|
|
6
|
-
let
|
|
3
|
+
var n = (n) => {
|
|
4
|
+
let { variables: r } = n;
|
|
5
|
+
if (!r || !Object.keys(r).length) return;
|
|
6
|
+
let i = {
|
|
7
7
|
default: [],
|
|
8
8
|
light: [],
|
|
9
9
|
dark: []
|
|
10
10
|
};
|
|
11
|
-
return Object.
|
|
12
|
-
|
|
13
|
-
if (i) switch (t) {
|
|
11
|
+
return Object.entries(r).forEach(([n, r]) => {
|
|
12
|
+
switch (t(n) ? n : e.CUSTOM) {
|
|
14
13
|
case e.COLOR:
|
|
15
|
-
Object.keys(
|
|
16
|
-
let t =
|
|
17
|
-
|
|
14
|
+
Object.keys(r).forEach((e) => {
|
|
15
|
+
let t = r[e];
|
|
16
|
+
i.default.push(`--${e}:${t.default};`), t.light && i.light.push(`--${e}:${t.light};`), t.dark && i.dark.push(`--${e}:${t.dark};`);
|
|
18
17
|
});
|
|
19
18
|
break;
|
|
20
19
|
case e.SPACING:
|
|
21
20
|
case e.SHADOW:
|
|
22
21
|
case e.CUSTOM:
|
|
23
|
-
default: Object.keys(
|
|
24
|
-
|
|
22
|
+
default: Object.keys(r).forEach((e) => {
|
|
23
|
+
i.default.push(`--${e}:${r[e]};`);
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
|
-
}),
|
|
26
|
+
}), i;
|
|
28
27
|
};
|
|
29
28
|
//#endregion
|
|
30
|
-
export {
|
|
29
|
+
export { n as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-style",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.1",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -941,18 +941,18 @@
|
|
|
941
941
|
},
|
|
942
942
|
"dependencies": {
|
|
943
943
|
"@plitzi/plitzi-ui": "^1.6.29",
|
|
944
|
-
"@plitzi/sdk-plugins": "0.
|
|
945
|
-
"@plitzi/sdk-shared": "0.
|
|
946
|
-
"@plitzi/sdk-variables": "0.
|
|
944
|
+
"@plitzi/sdk-plugins": "0.38.1",
|
|
945
|
+
"@plitzi/sdk-shared": "0.38.1",
|
|
946
|
+
"@plitzi/sdk-variables": "0.38.1",
|
|
947
947
|
"clsx": "^2.1.1",
|
|
948
|
-
"immer": "^11.1.
|
|
948
|
+
"immer": "^11.1.21",
|
|
949
949
|
"prop-types": "^15.8.1",
|
|
950
950
|
"zod": "^4.6.5"
|
|
951
951
|
},
|
|
952
952
|
"devDependencies": {
|
|
953
953
|
"eslint": "^9.39.5",
|
|
954
954
|
"typescript": "^6.0.3",
|
|
955
|
-
"vite": "^8.3.
|
|
956
|
-
"vitest": "^5.0.
|
|
955
|
+
"vite": "^8.3.2",
|
|
956
|
+
"vitest": "^5.0.3"
|
|
957
957
|
}
|
|
958
958
|
}
|