@upstart.gg/style-system 0.0.35 → 0.0.37
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/.turbo/turbo-build.log +7 -0
- package/biome.json +4 -0
- package/dist/colors-d_ljq6nY.js +293 -0
- package/dist/colors-d_ljq6nY.js.map +1 -0
- package/dist/colors.d.ts +291 -250
- package/dist/colors.js +3 -1
- package/dist/system.d.ts +5 -8
- package/dist/system.js +7 -1
- package/dist/twind-config.d.ts +9 -8
- package/dist/twind-config.js +368 -1
- package/dist/twind-config.js.map +1 -0
- package/dist/twind-node.d.ts +2 -1
- package/dist/twind-node.js +3 -1
- package/dist/twind-ssr.d.ts +2 -1
- package/dist/twind-ssr.js +3 -1
- package/dist/twind.d.ts +20 -20
- package/dist/twind.js +31 -1
- package/dist/twind.js.map +1 -0
- package/package.json +23 -11
- package/src/colors.ts +287 -248
- package/src/default-theme.css +7 -203
- package/src/editor.css +189 -0
- package/src/radix.css +4 -3
- package/src/system.ts +19 -3
- package/src/twind-config.ts +188 -346
- package/src/twind.ts +1 -1
- package/tsconfig.json +4 -5
- package/tsdown.config.ts +19 -0
- package/CHANGELOG.md +0 -96
- package/LICENSE +0 -633
- package/dist/metafile-esm.json +0 -1
- package/tsup.config.ts +0 -15
package/src/twind.ts
CHANGED
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
observe as observe$,
|
|
13
13
|
} from "@twind/core";
|
|
14
14
|
import config from "./twind-config.js";
|
|
15
|
-
|
|
16
15
|
export { getSheet, parse, parseValue } from "@twind/core";
|
|
17
16
|
export { default as inline } from "@twind/with-react/inline";
|
|
18
17
|
|
|
@@ -44,6 +43,7 @@ export const tw = /* #__PURE__ */ twind(
|
|
|
44
43
|
);
|
|
45
44
|
|
|
46
45
|
export function setupTwindReact(prod = isProd()) {
|
|
46
|
+
// @ts-ignore
|
|
47
47
|
install(config, prod);
|
|
48
48
|
if (typeof globalThis.addEventListener === "function") {
|
|
49
49
|
globalThis.addEventListener("warning", (event) => {
|
package/tsconfig.json
CHANGED
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
"extends": "../../tsconfig.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"outDir": "dist",
|
|
5
|
-
"types": ["node"],
|
|
6
|
-
"lib": ["dom", "dom.iterable", "
|
|
5
|
+
// "types": ["node"],
|
|
6
|
+
"lib": ["dom", "dom.iterable", "es2023"],
|
|
7
7
|
"experimentalDecorators": true,
|
|
8
8
|
"useDefineForClassFields": false,
|
|
9
|
-
"target": "
|
|
10
|
-
"module": "
|
|
9
|
+
"target": "es2023" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
|
|
10
|
+
"module": "ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
|
|
11
11
|
"strict": true /* Enable all strict type-checking options. */,
|
|
12
12
|
"allowJs": true,
|
|
13
13
|
"jsx": "react-jsx",
|
|
14
|
-
"baseUrl": ".",
|
|
15
14
|
"noEmit": true,
|
|
16
15
|
// "allowImportingTsExtensions": true,
|
|
17
16
|
"isolatedModules": true,
|
package/tsdown.config.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { defineConfig } from "tsdown";
|
|
3
|
+
|
|
4
|
+
export default defineConfig((options) => {
|
|
5
|
+
return {
|
|
6
|
+
entry: ["src/**/*.ts"],
|
|
7
|
+
format: "esm",
|
|
8
|
+
logLevel: "warn",
|
|
9
|
+
dts: true,
|
|
10
|
+
target: "esnext",
|
|
11
|
+
metafile: !!(process.env.CI || process.env.ANALYZE_BUNDLE),
|
|
12
|
+
clean: !options.watch,
|
|
13
|
+
minify: false,
|
|
14
|
+
sourcemap: true,
|
|
15
|
+
external: ["react", "react-dom"],
|
|
16
|
+
fixedExtension: false,
|
|
17
|
+
removeNodeProtocol: false,
|
|
18
|
+
};
|
|
19
|
+
});
|
package/CHANGELOG.md
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
# @upstart.gg/style-system
|
|
2
|
-
|
|
3
|
-
## 0.0.35
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- [#276](https://github.com/upstart-gg/upstart/pull/276) [`df4d16c`](https://github.com/upstart-gg/upstart/commit/df4d16c6677ba578d3f9bb8eae1e4401b5d5130a) Thanks [@mattallty](https://github.com/mattallty)! - Various improvements
|
|
8
|
-
|
|
9
|
-
## 0.0.34
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- [#274](https://github.com/upstart-gg/upstart/pull/274) [`5874303`](https://github.com/upstart-gg/upstart/commit/58743034311b75118dbfcd649bfa4cdd68afde00) Thanks [@mattallty](https://github.com/mattallty)! - ## New features
|
|
14
|
-
|
|
15
|
-
- Panel position switching
|
|
16
|
-
- Tours
|
|
17
|
-
- Basic datarecords (Airtable, Google sheets)
|
|
18
|
-
|
|
19
|
-
## Fixes
|
|
20
|
-
|
|
21
|
-
- Various fiex and improvements
|
|
22
|
-
|
|
23
|
-
## 0.0.33
|
|
24
|
-
|
|
25
|
-
### Patch Changes
|
|
26
|
-
|
|
27
|
-
- [#271](https://github.com/upstart-gg/upstart/pull/271) [`0151491`](https://github.com/upstart-gg/upstart/commit/01514915f2fb8af3cf4179acdf74474e83fed8e3) Thanks [@mattallty](https://github.com/mattallty)! - Various improvements on the editor
|
|
28
|
-
|
|
29
|
-
## 0.0.32
|
|
30
|
-
|
|
31
|
-
### Patch Changes
|
|
32
|
-
|
|
33
|
-
- [#255](https://github.com/upstart-gg/upstart/pull/255) [`f6873d7`](https://github.com/upstart-gg/upstart/commit/f6873d79b4bfdd7e1241a8f54ac332525e4820cd) Thanks [@mattallty](https://github.com/mattallty)! - Update deps
|
|
34
|
-
|
|
35
|
-
## 0.0.31
|
|
36
|
-
|
|
37
|
-
### Patch Changes
|
|
38
|
-
|
|
39
|
-
- [#250](https://github.com/upstart-gg/upstart/pull/250) [`a44cfdc`](https://github.com/upstart-gg/upstart/commit/a44cfdc347f65c6caa12b0b7e4f037a2afef9540) Thanks [@mattallty](https://github.com/mattallty)! - Move things around and specify JSON Schema types
|
|
40
|
-
|
|
41
|
-
## 0.0.30
|
|
42
|
-
|
|
43
|
-
### Patch Changes
|
|
44
|
-
|
|
45
|
-
- [#247](https://github.com/upstart-gg/upstart/pull/247) [`b7eb556`](https://github.com/upstart-gg/upstart/commit/b7eb556abb58cfc4a57ec3e9041c1c2e6ce925a0) Thanks [@mattallty](https://github.com/mattallty)! - Various improvements
|
|
46
|
-
|
|
47
|
-
## 0.0.29
|
|
48
|
-
|
|
49
|
-
### Patch Changes
|
|
50
|
-
|
|
51
|
-
- [#239](https://github.com/upstart-gg/upstart/pull/239) [`2170dc8`](https://github.com/upstart-gg/upstart/commit/2170dc80db3704ad48f92e0ddfe185cf6766855c) Thanks [@mattallty](https://github.com/mattallty)! - Tweek tsup config for style system
|
|
52
|
-
|
|
53
|
-
## 0.0.28
|
|
54
|
-
|
|
55
|
-
### Patch Changes
|
|
56
|
-
|
|
57
|
-
- [#237](https://github.com/upstart-gg/upstart/pull/237) [`09322ce`](https://github.com/upstart-gg/upstart/commit/09322ce2f697f05584cc333ad0c2d1bc2af35440) Thanks [@mattallty](https://github.com/mattallty)! - Fix style system
|
|
58
|
-
|
|
59
|
-
## 0.0.28
|
|
60
|
-
|
|
61
|
-
### Patch Changes
|
|
62
|
-
|
|
63
|
-
- [`7e505d1`](https://github.com/upstart-gg/upstart/commit/7e505d1c9ac7cb57be895feafb5b5e47015ae0a2) Thanks [@mattallty](https://github.com/mattallty)! - twind.config -> twind-config
|
|
64
|
-
|
|
65
|
-
## 0.0.27
|
|
66
|
-
|
|
67
|
-
### Patch Changes
|
|
68
|
-
|
|
69
|
-
- [#234](https://github.com/upstart-gg/upstart/pull/234) [`80bfe1f`](https://github.com/upstart-gg/upstart/commit/80bfe1f4f628ac4baca17bac5f9fd94387d656dc) Thanks [@mattallty](https://github.com/mattallty)! - Rework style system
|
|
70
|
-
|
|
71
|
-
## 0.0.26
|
|
72
|
-
|
|
73
|
-
### Patch Changes
|
|
74
|
-
|
|
75
|
-
- [#225](https://github.com/upstart-gg/upstart/pull/225) [`3eabb54`](https://github.com/upstart-gg/upstart/commit/3eabb545a876dc3a8b3ef927a6f5b9cee70424c4) Thanks [@mattallty](https://github.com/mattallty)! - - Improve bricks lazy loading
|
|
76
|
-
- First analytics functions
|
|
77
|
-
- First draft of datarecords types
|
|
78
|
-
- Fix twind ssr to work on CF workers
|
|
79
|
-
|
|
80
|
-
## 0.0.25
|
|
81
|
-
|
|
82
|
-
### Patch Changes
|
|
83
|
-
|
|
84
|
-
- [`794cee0`](https://github.com/upstart-gg/upstart/commit/794cee00c0f29dceb9bdd47e7eac2581625b1cd2) Thanks [@mattallty](https://github.com/mattallty)! - New GenericPageContext
|
|
85
|
-
|
|
86
|
-
## 0.0.24
|
|
87
|
-
|
|
88
|
-
### Patch Changes
|
|
89
|
-
|
|
90
|
-
- [`b5e6b16`](https://github.com/upstart-gg/upstart/commit/b5e6b169145ad8cb67cdb7c54bb00c1354159016) Thanks [@mattallty](https://github.com/mattallty)! - Fix test-config export
|
|
91
|
-
|
|
92
|
-
## 0.0.23
|
|
93
|
-
|
|
94
|
-
### Patch Changes
|
|
95
|
-
|
|
96
|
-
- [`a3e1952`](https://github.com/upstart-gg/upstart/commit/a3e1952033a46ba3894ae99a99221108f1ca49da) Thanks [@mattallty](https://github.com/mattallty)! - Rename packages
|