@upstart.gg/style-system 0.1.28 → 0.1.30
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 +1 -1
- package/dist/twind-config.d.ts +5 -5
- package/dist/twind.d.ts +13 -13
- package/dist/twind.d.ts.map +1 -1
- package/dist/twind.js.map +1 -1
- package/package.json +4 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
> @upstart.gg/style-system@0.0.139 build /home/runner/_work/monorepo/monorepo/packages/style-system
|
|
3
3
|
> tsdown
|
|
4
4
|
|
|
5
|
-
[34mℹ[39m
|
|
5
|
+
[34mℹ[39m [34mtsdown v0.22.0[39m powered by [38;2;255;126;23mrolldown v1.0.0[39m
|
|
6
6
|
[34mℹ[39m config file: [4m/home/runner/_work/monorepo/monorepo/packages/style-system/tsdown.config.ts[24m
|
|
7
7
|
[34mℹ[39m Build start
|
|
8
8
|
The `tsgo` option is experimental and may change in the future.
|
package/dist/twind-config.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as _twind_core0 from "@twind/core";
|
|
2
|
-
import * as _twind_preset_container_queries0 from "@twind/preset-container-queries";
|
|
3
|
-
import * as _twind_preset_line_clamp0 from "@twind/preset-line-clamp";
|
|
4
|
-
import * as _twind_preset_tailwind0 from "@twind/preset-tailwind";
|
|
1
|
+
import * as _$_twind_core0 from "@twind/core";
|
|
2
|
+
import * as _$_twind_preset_container_queries0 from "@twind/preset-container-queries";
|
|
3
|
+
import * as _$_twind_preset_line_clamp0 from "@twind/preset-line-clamp";
|
|
4
|
+
import * as _$_twind_preset_tailwind0 from "@twind/preset-tailwind";
|
|
5
5
|
|
|
6
6
|
//#region src/twind-config.d.ts
|
|
7
|
-
declare const _default: _twind_core0.TwindConfig<_twind_core0.BaseTheme & _twind_preset_container_queries0.ContainerQueriesTheme & _twind_preset_line_clamp0.LineClampTheme & _twind_preset_tailwind0.TailwindTheme & {
|
|
7
|
+
declare const _default: _$_twind_core0.TwindConfig<_$_twind_core0.BaseTheme & _$_twind_preset_container_queries0.ContainerQueriesTheme & _$_twind_preset_line_clamp0.LineClampTheme & _$_twind_preset_tailwind0.TailwindTheme & {
|
|
8
8
|
extend: never;
|
|
9
9
|
}>;
|
|
10
10
|
//#endregion
|
package/dist/twind.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import * as _twind_core0 from "@twind/core";
|
|
1
|
+
import * as _$_twind_core0 from "@twind/core";
|
|
2
2
|
import { css as css$1, getSheet, observe as observe$1, parse, parseValue } from "@twind/core";
|
|
3
|
-
import * as _twind_preset_container_queries0 from "@twind/preset-container-queries";
|
|
4
|
-
import * as _twind_preset_line_clamp0 from "@twind/preset-line-clamp";
|
|
5
|
-
import * as _twind_preset_tailwind0 from "@twind/preset-tailwind";
|
|
3
|
+
import * as _$_twind_preset_container_queries0 from "@twind/preset-container-queries";
|
|
4
|
+
import * as _$_twind_preset_line_clamp0 from "@twind/preset-line-clamp";
|
|
5
|
+
import * as _$_twind_preset_tailwind0 from "@twind/preset-tailwind";
|
|
6
6
|
import inline from "@twind/with-react/inline";
|
|
7
7
|
|
|
8
8
|
//#region src/twind.d.ts
|
|
9
9
|
declare const colors: Record<string, Record<50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900, string>>;
|
|
10
|
-
declare const sheet: _twind_core0.Sheet<string[]> | _twind_core0.Sheet<CSSStyleSheet>;
|
|
11
|
-
declare const tw: _twind_core0.Twind<_twind_core0.BaseTheme & _twind_preset_container_queries0.ContainerQueriesTheme & _twind_preset_line_clamp0.LineClampTheme & _twind_preset_tailwind0.TailwindTheme & {
|
|
10
|
+
declare const sheet: _$_twind_core0.Sheet<string[]> | _$_twind_core0.Sheet<CSSStyleSheet>;
|
|
11
|
+
declare const tw: _$_twind_core0.Twind<_$_twind_core0.BaseTheme & _$_twind_preset_container_queries0.ContainerQueriesTheme & _$_twind_preset_line_clamp0.LineClampTheme & _$_twind_preset_tailwind0.TailwindTheme & {
|
|
12
12
|
extend: never;
|
|
13
13
|
}, string[]>;
|
|
14
14
|
declare function setupTwindReact(prod?: any): void;
|
|
15
|
-
declare const tx: _twind_core0.TxFunction;
|
|
15
|
+
declare const tx: _$_twind_core0.TxFunction;
|
|
16
16
|
declare const css: typeof css$1;
|
|
17
|
-
declare const style: _twind_core0.StyleFunction;
|
|
18
|
-
declare const apply: _twind_core0.Nested;
|
|
17
|
+
declare const style: _$_twind_core0.StyleFunction;
|
|
18
|
+
declare const apply: _$_twind_core0.Nested;
|
|
19
19
|
declare const observe: typeof observe$1;
|
|
20
|
-
declare const injectGlobal: _twind_core0.InjectGlobalFunction;
|
|
21
|
-
declare const keyframes: _twind_core0.KeyframesFunction & {
|
|
22
|
-
[label: string]: _twind_core0.KeyframesFunction;
|
|
20
|
+
declare const injectGlobal: _$_twind_core0.InjectGlobalFunction;
|
|
21
|
+
declare const keyframes: _$_twind_core0.KeyframesFunction & {
|
|
22
|
+
[label: string]: _$_twind_core0.KeyframesFunction;
|
|
23
23
|
} & {
|
|
24
|
-
[label: string]: _twind_core0.KeyframesFunction;
|
|
24
|
+
[label: string]: _$_twind_core0.KeyframesFunction;
|
|
25
25
|
};
|
|
26
26
|
//#endregion
|
|
27
27
|
export { apply, colors, css, getSheet, injectGlobal, inline, keyframes, observe, parse, parseValue, setupTwindReact, sheet, style, tw, tx };
|
package/dist/twind.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twind.d.ts","names":[],"sources":["../src/twind.ts"],"mappings":";;;;;;;;cAiBa,MAAA,EAAgC,MAAA,SAE3C,MAAA;AAAA,cAgBW,KAAA,EAAkF,
|
|
1
|
+
{"version":3,"file":"twind.d.ts","names":[],"sources":["../src/twind.ts"],"mappings":";;;;;;;;cAiBa,MAAA,EAAgC,MAAA,SAE3C,MAAA;AAAA,cAgBW,KAAA,EAAkF,cAAA,CAA7E,KAAA,aAAA,cAAA,CAAA,KAAA,CAAA,aAAA;AAAA,cAGL,EAAA,EAAE,cAAA,CAAA,KAAA,CAId,cAAA,CAJc,SAAA,GAAA,kCAAA,CAAA,qBAAA,GAAA,2BAAA,CAAA,cAAA,GAAA,yBAAA,CAAA,aAAA;;;iBAMC,eAAA,CAAgB,IAAA;AAAA,cAcnB,EAAA,EAAiC,cAAA,CAA/B,UAAA;AAAA,cACF,GAAA,SAAG,KAAA;AAAA,cACH,KAAA,EAAuC,cAAA,CAAlC,aAAA;AAAA,cACL,KAAA,EAAuC,cAAA,CAAlC,MAAA;AAAA,cACL,OAAA,SAAO,SAAA;AAAA,cACP,YAAA,EAAqD,cAAA,CAAzC,oBAAA;AAAA,cACZ,SAAA,EAA+C,cAAA,CAAtC,iBAAA;EAAA,iBAAA,cAAA,CAAA,iBAAA;AAAA;EAAA"}
|
package/dist/twind.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twind.js","names":["config"],"sources":["../src/twind.ts"],"sourcesContent":["import install from \"@twind/with-react\";\nimport {\n twind,\n virtual,\n cssom,\n tx as tx$,\n css as css$,\n style as style$,\n apply as apply$,\n injectGlobal as injectGlobal$,\n keyframes as keyframes$,\n observe as observe$,\n} from \"@twind/core\";\nimport config from \"./twind-config.js\";\nexport { getSheet, parse, parseValue } from \"@twind/core\";\nexport { default as inline } from \"@twind/with-react/inline\";\n\nexport const colors = config.theme.colors as Record<\n string,\n Record<50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900, string>\n>;\n\nfunction isProd() {\n //@ts-ignore\n if (typeof import.meta.env !== \"undefined\") {\n //@ts-ignore\n return import.meta.env.PROD ?? false;\n } else if (typeof process !== \"undefined\" && typeof process.env !== \"undefined\") {\n return process.env.NODE_ENV === \"production\";\n }\n return false;\n}\n\n// export default install(config, isProd());\n\nexport const sheet = typeof document === \"undefined\" ? virtual() : cssom(\"style[data-library]\");\n\n// @ts-ignore\nexport const tw = /* #__PURE__ */ twind(\n config,\n // support SSR and use a different selector to not get the twind default style sheet\n sheet,\n);\n\nexport function setupTwindReact(prod = isProd()) {\n // @ts-ignore\n install(config, prod);\n if (typeof globalThis.addEventListener === \"function\") {\n globalThis.addEventListener(\"warning\", (event) => {\n // @ts-ignore\n const warning = event.detail;\n if (warning?.code === \"TWIND_INVALID_CLASS\") {\n event.preventDefault();\n }\n });\n }\n}\n\nexport const tx = /* #__PURE__ */ tx$.bind(tw);\nexport const css = /* #__PURE__ */ css$.bind(tw);\nexport const style = /* #__PURE__ */ style$.bind(tw);\nexport const apply = /* #__PURE__ */ apply$.bind(tw);\nexport const observe = /* #__PURE__ */ observe$.bind(tw);\nexport const injectGlobal = /* #__PURE__ */ injectGlobal$.bind(tw);\nexport const keyframes = /* #__PURE__ */ keyframes$.bind(tw);\n"],"mappings":";;;;;;AAiBA,MAAa,SAASA,qBAAO,MAAM;AAKnC,SAAS,SAAS;
|
|
1
|
+
{"version":3,"file":"twind.js","names":["config"],"sources":["../src/twind.ts"],"sourcesContent":["import install from \"@twind/with-react\";\nimport {\n twind,\n virtual,\n cssom,\n tx as tx$,\n css as css$,\n style as style$,\n apply as apply$,\n injectGlobal as injectGlobal$,\n keyframes as keyframes$,\n observe as observe$,\n} from \"@twind/core\";\nimport config from \"./twind-config.js\";\nexport { getSheet, parse, parseValue } from \"@twind/core\";\nexport { default as inline } from \"@twind/with-react/inline\";\n\nexport const colors = config.theme.colors as Record<\n string,\n Record<50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900, string>\n>;\n\nfunction isProd() {\n //@ts-ignore\n if (typeof import.meta.env !== \"undefined\") {\n //@ts-ignore\n return import.meta.env.PROD ?? false;\n } else if (typeof process !== \"undefined\" && typeof process.env !== \"undefined\") {\n return process.env.NODE_ENV === \"production\";\n }\n return false;\n}\n\n// export default install(config, isProd());\n\nexport const sheet = typeof document === \"undefined\" ? virtual() : cssom(\"style[data-library]\");\n\n// @ts-ignore\nexport const tw = /* #__PURE__ */ twind(\n config,\n // support SSR and use a different selector to not get the twind default style sheet\n sheet,\n);\n\nexport function setupTwindReact(prod = isProd()) {\n // @ts-ignore\n install(config, prod);\n if (typeof globalThis.addEventListener === \"function\") {\n globalThis.addEventListener(\"warning\", (event) => {\n // @ts-ignore\n const warning = event.detail;\n if (warning?.code === \"TWIND_INVALID_CLASS\") {\n event.preventDefault();\n }\n });\n }\n}\n\nexport const tx = /* #__PURE__ */ tx$.bind(tw);\nexport const css = /* #__PURE__ */ css$.bind(tw);\nexport const style = /* #__PURE__ */ style$.bind(tw);\nexport const apply = /* #__PURE__ */ apply$.bind(tw);\nexport const observe = /* #__PURE__ */ observe$.bind(tw);\nexport const injectGlobal = /* #__PURE__ */ injectGlobal$.bind(tw);\nexport const keyframes = /* #__PURE__ */ keyframes$.bind(tw);\n"],"mappings":";;;;;;AAiBA,MAAa,SAASA,qBAAO,MAAM;AAKnC,SAAS,SAAS;CAEhB,IAAI,OAAO,OAAO,KAAK,QAAQ,aAE7B,OAAO,OAAO,KAAK,IAAI,QAAQ;MAC1B,IAAI,OAAO,YAAY,eAAe,OAAO,QAAQ,QAAQ,aAClE,OAAO,QAAQ,IAAI,aAAa;CAElC,OAAO;;AAKT,MAAa,QAAQ,OAAO,aAAa,cAAc,SAAS,GAAG,MAAM,sBAAsB;AAG/F,MAAa,KAAqB,sBAChCA,sBAEA,MACD;AAED,SAAgB,gBAAgB,OAAO,QAAQ,EAAE;CAE/C,QAAQA,sBAAQ,KAAK;CACrB,IAAI,OAAO,WAAW,qBAAqB,YACzC,WAAW,iBAAiB,YAAY,UAAU;EAGhD,IADgB,MAAM,QACT,SAAS,uBACpB,MAAM,gBAAgB;GAExB;;AAIN,MAAa,KAAqB,qBAAI,KAAK,GAAG;AAC9C,MAAa,MAAsB,sBAAK,KAAK,GAAG;AAChD,MAAa,QAAwB,wBAAO,KAAK,GAAG;AACpD,MAAa,QAAwB,wBAAO,KAAK,GAAG;AACpD,MAAa,UAA0B,0BAAS,KAAK,GAAG;AACxD,MAAa,eAA+B,+BAAc,KAAK,GAAG;AAClE,MAAa,YAA4B,4BAAW,KAAK,GAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upstart.gg/style-system",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"description": "Base style system for Upstart projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^24.10.0",
|
|
49
|
-
"tsdown": "
|
|
50
|
-
"@rolldown/binding-linux-arm64-gnu": "1.0.0
|
|
51
|
-
"@rolldown/binding-linux-x64-gnu": "1.0.0
|
|
49
|
+
"tsdown": "0.22.0",
|
|
50
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0",
|
|
51
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|