@marktiderman/genesis 0.5.7 → 0.6.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/README.md CHANGED
@@ -23,19 +23,39 @@ import { tokens } from "@marktiderman/genesis/design-system/tokens";
23
23
  | `.../design-system/theme` | `@marktiderman/genesis-design-system/theme` |
24
24
  | `.../switchboard` | `@marktiderman/genesis-switchboard` |
25
25
  | `.../native` | `@marktiderman/genesis-ui-native` |
26
+ | `.../forms` | `@marktiderman/genesis-forms` |
27
+ | `.../forms/server` | `@marktiderman/genesis-forms/server` |
28
+ | `.../forms/react` | `@marktiderman/genesis-forms-react` |
29
+ | `.../forms/web` | `@marktiderman/genesis-forms-web` |
26
30
 
27
31
  Web bundlers never pull in React Native code unless a consumer explicitly
28
32
  imports `@marktiderman/genesis/native` — `react-native` is an optional peer
29
33
  dependency. Each granular package remains independently installable as an
30
34
  escape hatch for rare subpaths not mirrored here.
31
35
 
36
+ Every umbrella subpath is ESM-only (an `import` condition, no `require`), the
37
+ same as `/ui`. If you need CommonJS for the forms engine, install
38
+ `@marktiderman/genesis-forms` directly: it ships CJS builds of `.`, `/server`
39
+ and `/testing`.
40
+
41
+ The umbrella re-exports code, not stylesheets. To style `/forms/web`, also
42
+ install `@marktiderman/genesis-forms-web` (the version the umbrella pins) and
43
+ import its styles after genesis-ui's, in your Tailwind v4 entry:
44
+
45
+ ```css
46
+ @import "tailwindcss";
47
+ @import "@marktiderman/genesis-ui/styles.css";
48
+ @import "@marktiderman/genesis-forms-web/styles.css";
49
+ ```
50
+
32
51
  ## The Genesis version coordinate
33
52
 
34
53
  `@marktiderman/genesis`'s own version is the single canonical coordinate for
35
54
  the whole Genesis system — the one number that answers "which Genesis am I
36
55
  on?" for a consuming repo. Pin one umbrella version and the entire set is
37
56
  determined: the umbrella depends on `@marktiderman/genesis-{core,ui,
38
- design-system,switchboard,ui-native}` via `workspace:*`, which pnpm replaces
57
+ design-system,switchboard,ui-native,forms,forms-react,forms-web}` via
58
+ `workspace:*`, which pnpm replaces
39
59
  with the **exact** published version at pack time. So `@marktiderman/genesis@X`
40
60
  resolves one reproducible, pinned set — not a caret range that drifts. Each
41
61
  granular package keeps its own independent semver train; the umbrella version
@@ -0,0 +1 @@
1
+ export * from "@marktiderman/genesis-forms-react";
@@ -0,0 +1,3 @@
1
+ export * from '@marktiderman/genesis-forms-react';
2
+ //# sourceMappingURL=forms-react.js.map
3
+ //# sourceMappingURL=forms-react.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"forms-react.js","sourcesContent":[]}
@@ -0,0 +1 @@
1
+ export * from "@marktiderman/genesis-forms/server";
@@ -0,0 +1,3 @@
1
+ export * from '@marktiderman/genesis-forms/server';
2
+ //# sourceMappingURL=forms-server.js.map
3
+ //# sourceMappingURL=forms-server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"forms-server.js","sourcesContent":[]}
@@ -0,0 +1 @@
1
+ export * from "@marktiderman/genesis-forms-web";
@@ -0,0 +1,3 @@
1
+ export * from '@marktiderman/genesis-forms-web';
2
+ //# sourceMappingURL=forms-web.js.map
3
+ //# sourceMappingURL=forms-web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"forms-web.js","sourcesContent":[]}
@@ -0,0 +1 @@
1
+ export * from "@marktiderman/genesis-forms";
package/dist/forms.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from '@marktiderman/genesis-forms';
2
+ //# sourceMappingURL=forms.js.map
3
+ //# sourceMappingURL=forms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"forms.js","sourcesContent":[]}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@marktiderman/genesis",
3
- "version": "0.5.7",
3
+ "version": "0.6.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
- "description": "Genesis — one-install umbrella and single version coordinate for the Genesis system. Re-exports @marktiderman/genesis-core, -ui, -design-system, -switchboard, and -ui-native (as /native) via subpath exports and exact-pins each to a reproducible set. Holds no code of its own; each granular package remains independently installable.",
7
+ "description": "Genesis — one-install umbrella and single version coordinate for the Genesis system. Re-exports @marktiderman/genesis-core, -ui, -design-system, -switchboard, and -ui-native (as /native) and the forms packages (as /forms, /forms/server, /forms/react, /forms/web) via subpath exports and exact-pins each to a reproducible set. Holds no code of its own; each granular package remains independently installable.",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/marktiderman/genesis.git",
@@ -81,6 +81,22 @@
81
81
  "react-native": "./dist/native.js",
82
82
  "import": "./dist/native.js",
83
83
  "default": "./dist/native.js"
84
+ },
85
+ "./forms": {
86
+ "types": "./dist/forms.d.ts",
87
+ "import": "./dist/forms.js"
88
+ },
89
+ "./forms/server": {
90
+ "types": "./dist/forms-server.d.ts",
91
+ "import": "./dist/forms-server.js"
92
+ },
93
+ "./forms/react": {
94
+ "types": "./dist/forms-react.d.ts",
95
+ "import": "./dist/forms-react.js"
96
+ },
97
+ "./forms/web": {
98
+ "types": "./dist/forms-web.d.ts",
99
+ "import": "./dist/forms-web.js"
84
100
  }
85
101
  },
86
102
  "dependencies": {
@@ -88,7 +104,10 @@
88
104
  "@marktiderman/genesis-ui": "2.6.0",
89
105
  "@marktiderman/genesis-design-system": "1.3.1",
90
106
  "@marktiderman/genesis-switchboard": "2.1.0",
91
- "@marktiderman/genesis-ui-native": "2.0.3"
107
+ "@marktiderman/genesis-ui-native": "2.0.3",
108
+ "@marktiderman/genesis-forms": "0.1.1",
109
+ "@marktiderman/genesis-forms-react": "0.1.0",
110
+ "@marktiderman/genesis-forms-web": "0.1.0"
92
111
  },
93
112
  "peerDependencies": {
94
113
  "react": "^19.0.0",