@penpair/marwes-ui 0.2.0 → 0.3.0
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/dist/build-kit.js +24 -6
- package/dist/commands.d.ts +4 -0
- package/dist/commands.js +500 -94
- package/dist/components.js +375 -74
- package/dist/config.js +53 -16
- package/dist/index.js +21 -3
- package/dist/marwes.js +45 -12
- package/dist/mode-trial.js +325 -75
- package/dist/ownership.js +162 -37
- package/dist/penpot.js +447 -114
- package/dist/reconciliation.js +112 -37
- package/dist/resolved-values.d.ts +3 -8
- package/dist/resolved-values.js +99 -103
- package/dist/snapshot-file.js +255 -50
- package/dist/theme-input.js +12 -4
- package/dist/theme-lint.js +113 -27
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +207 -52
- package/package.json +2 -2
package/dist/build-kit.js
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
/** Recipes refer to library token names, while project-derived constants remain explicit parameters. */
|
|
2
2
|
export const marwesKit = {
|
|
3
|
-
include: "@marwes-kit",
|
|
3
|
+
include: "@marwes-kit",
|
|
4
|
+
requires: [
|
|
5
|
+
"@kit",
|
|
6
|
+
],
|
|
4
7
|
recipes: [
|
|
5
|
-
{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
{
|
|
8
|
+
{
|
|
9
|
+
name: "card",
|
|
10
|
+
description: "Surface/border card; project radius token is explicit",
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: "segmented",
|
|
14
|
+
description: "Token-styled segments with an explicit selected label",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: "progress",
|
|
18
|
+
description: "Labeled bounded progress; explicit pill-radius token",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: "icon-tile",
|
|
22
|
+
description: "Square token-styled icon tile with explicit dimensions",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "stat-tile",
|
|
26
|
+
description: "Card with project content and library typography",
|
|
27
|
+
},
|
|
10
28
|
],
|
|
11
29
|
source: String.raw `// penpair: read
|
|
12
30
|
const mw = (() => {
|
package/dist/commands.d.ts
CHANGED
|
@@ -14,6 +14,10 @@ export declare function computeExpectation(root: string, rawConfig: Record<strin
|
|
|
14
14
|
export interface SnapshotCheck {
|
|
15
15
|
/** The committed snapshot equals what the installed Marwes and the themes give now. */
|
|
16
16
|
current: boolean;
|
|
17
|
+
reasons: {
|
|
18
|
+
code: "missing-snapshot" | "schema-migration" | "missing-ownership" | "content-drift" | "metadata-mismatch" | "package-mismatch";
|
|
19
|
+
message: string;
|
|
20
|
+
}[];
|
|
17
21
|
committed?: TokenSnapshot;
|
|
18
22
|
diff: SnapshotDiff;
|
|
19
23
|
problems: string[];
|