@stealthscale/component-screen 0.0.0-stage → 0.0.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.
@@ -0,0 +1,13 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __defProp = Object.defineProperty;
3
+ var __exportAll = (all, no_symbols) => {
4
+ let target = {};
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true
8
+ });
9
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
+ return target;
11
+ };
12
+ //#endregion
13
+ export { __exportAll as t };
@@ -0,0 +1,12 @@
1
+ //#region src/theme.d.ts
2
+ /**
3
+ * Publishes the preset that registers every recipe in this package, for an application's compiler
4
+ * to install.
5
+ *
6
+ * @remarks
7
+ * The list is written by hand. The package's own specification reports a recipe file the list
8
+ * leaves out, so no generator runs here.
9
+ */
10
+ declare const _default: import("@stealthscale/theme/authoring").Preset;
11
+ //#endregion
12
+ export { _default as default };
package/dist/theme.js ADDED
@@ -0,0 +1,27 @@
1
+ import { a as recipe$4, b as recipe, f as recipe$2, i as recipe$5, l as recipe$3, n as recipe$7, p as recipe$1, r as recipe$6, t as recipe$8 } from "./recipe-CRJrRAI8.js";
2
+ import { definePreset } from "@stealthscale/theme/authoring";
3
+ //#region src/theme.ts
4
+ /**
5
+ * Publishes the preset that registers every recipe in this package, for an application's compiler
6
+ * to install.
7
+ *
8
+ * @remarks
9
+ * The list is written by hand. The package's own specification reports a recipe file the list
10
+ * leaves out, so no generator runs here.
11
+ */
12
+ var theme_default = definePreset({
13
+ name: "@stealthscale/component-screen",
14
+ theme: { extend: { slotRecipes: {
15
+ actionBar: recipe,
16
+ appShell: recipe$1,
17
+ floatingPanel: recipe$2,
18
+ page: recipe$3,
19
+ section: recipe$4,
20
+ sidebar: recipe$5,
21
+ splitter: recipe$6,
22
+ switcher: recipe$7,
23
+ toolbar: recipe$8
24
+ } } }
25
+ });
26
+ //#endregion
27
+ export { theme_default as default };
package/package.json CHANGED
@@ -1,6 +1,101 @@
1
1
  {
2
2
  "name": "@stealthscale/component-screen",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.1",
4
+ "description": "Lays an application out on whatever screen it is opened on: the shell, the page, the toolbar and the sidebar, each folding on its own as the screen narrows.",
5
+ "keywords": [
6
+ "components",
7
+ "react",
8
+ "screen",
9
+ "shell"
10
+ ],
11
+ "homepage": "https://github.com/stealth-scale/scale/tree/main/components/screen#readme",
12
+ "bugs": "https://github.com/stealth-scale/scale/issues",
13
+ "license": "MIT",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/stealth-scale/scale.git",
17
+ "directory": "components/screen"
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "LICENSE",
22
+ "README.md"
23
+ ],
24
+ "type": "module",
25
+ "sideEffects": false,
26
+ "imports": {
27
+ "#*": "./src/*"
28
+ },
29
+ "exports": {
30
+ ".": "./dist/index.js",
31
+ "./theme": "./dist/theme.js",
32
+ "./package.json": "./package.json"
33
+ },
34
+ "publishConfig": {
35
+ "access": "public"
36
+ },
37
+ "dependencies": {
38
+ "@zag-js/dom-query": "1.44.0",
39
+ "@zag-js/floating-panel": "1.44.0",
40
+ "@zag-js/react": "1.44.0",
41
+ "@zag-js/splitter": "1.44.0",
42
+ "@zag-js/types": "1.44.0"
43
+ },
44
+ "devDependencies": {
45
+ "@arethetypeswrong/core": "^0.18",
46
+ "@stealthscale/component-a11y": "^0.1.0",
47
+ "@stealthscale/component-actions": "^0.1.0",
48
+ "@stealthscale/component-data": "^0.1.0",
49
+ "@stealthscale/component-disclosure": "^0.1.0",
50
+ "@stealthscale/component-forms": "^0.1.0",
51
+ "@stealthscale/component-layout": "^0.1.0",
52
+ "@stealthscale/component-modals": "^0.0.1",
53
+ "@stealthscale/component-navigation": "^0.1.0",
54
+ "@stealthscale/component-primitives": "^0.1.0",
55
+ "@stealthscale/component-typography": "^0.1.0",
56
+ "@stealthscale/hooks": "^0.1.0",
57
+ "@stealthscale/provider-viewport": "^0.1.0",
58
+ "@stealthscale/theme": "^0.3.0",
59
+ "@stealthscale/vite-config": "^0.6.0",
60
+ "@stealthscale/vite-config-i18n": "^0.1.0",
61
+ "@stealthscale/vite-config-react": "^0.8.0",
62
+ "@stealthscale/vite-config-specimen": "^0.1.0",
63
+ "@stealthscale/vite-config-theme": "^0.1.0",
64
+ "@stealthscale/vite-config-typescript": "^0.3.0",
65
+ "@testing-library/react": "^16.3",
66
+ "@types/react": "^19.3",
67
+ "@types/react-dom": "^19.3",
68
+ "happy-dom": "^20.14",
69
+ "lucide-react": "^1.48",
70
+ "oxc-transform-react": "^0.151",
71
+ "publint": "^0.3",
72
+ "react": "^19.3",
73
+ "react-dom": "^19.3",
74
+ "typescript": "^7.0",
75
+ "vitest": "5.0.1"
76
+ },
77
+ "peerDependencies": {
78
+ "@stealthscale/component-a11y": "^0.1.0",
79
+ "@stealthscale/component-actions": "^0.1.0",
80
+ "@stealthscale/component-data": "^0.1.0",
81
+ "@stealthscale/component-disclosure": "^0.1.0",
82
+ "@stealthscale/component-forms": "^0.1.0",
83
+ "@stealthscale/component-layout": "^0.1.0",
84
+ "@stealthscale/component-modals": "^0.0.1",
85
+ "@stealthscale/component-navigation": "^0.1.0",
86
+ "@stealthscale/component-primitives": "^0.1.0",
87
+ "@stealthscale/component-typography": "^0.1.0",
88
+ "@stealthscale/hooks": "^0.1.0",
89
+ "@stealthscale/provider-viewport": "^0.1.0",
90
+ "@stealthscale/theme": "^0.3.0",
91
+ "react": "^19.3"
92
+ },
93
+ "engines": {
94
+ "node": ">=26.0.0"
95
+ },
96
+ "scripts": {
97
+ "build": "vp pack",
98
+ "check": "vp check",
99
+ "test": "vp test"
100
+ }
6
101
  }