@astryxdesign/theme-matcha 0.7.12-canary.d84658f → 0.7.12-canary.dfd75a6

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,2 @@
1
+ import type { IconRegistry } from '@astryxdesign/core/Icon';
2
+ export declare const matchaIconRegistry: IconRegistry;
@@ -0,0 +1 @@
1
+ export declare const matchaTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
@@ -0,0 +1,2 @@
1
+ export { matchaTheme } from './matchaTheme.cjs';
2
+ export { matchaIconRegistry } from './icons.cjs';
package/dist/source.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { matchaTheme } from './matchaTheme';
2
- export { matchaIconRegistry } from './icons';
1
+ export { matchaTheme } from './matchaTheme.js';
2
+ export { matchaIconRegistry } from './icons.js';
3
3
  //# sourceMappingURL=source.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-matcha",
3
- "version": "0.7.12-canary.d84658f",
3
+ "version": "0.7.12-canary.dfd75a6",
4
4
  "private": false,
5
5
  "description": "Earthy greens with a calm, organic feel. Naturalistic and grounded, great for wellness or content-first apps.",
6
6
  "author": "Meta Open Source",
@@ -24,13 +24,19 @@
24
24
  "sideEffects": [
25
25
  "**/*.css"
26
26
  ],
27
- "main": "./dist/source.js",
27
+ "type": "module",
28
+ "main": "./dist/source.cjs",
28
29
  "types": "./dist/source.d.ts",
29
30
  "exports": {
30
31
  ".": {
31
- "types": "./dist/source.d.ts",
32
- "import": "./dist/source.mjs",
33
- "require": "./dist/source.js"
32
+ "import": {
33
+ "types": "./dist/source.d.ts",
34
+ "default": "./dist/source.mjs"
35
+ },
36
+ "require": {
37
+ "types": "./dist/source.d.cts",
38
+ "default": "./dist/source.cjs"
39
+ }
34
40
  },
35
41
  "./built": {
36
42
  "types": "./dist/matcha.d.ts",
@@ -51,6 +57,7 @@
51
57
  "src",
52
58
  "fonts.css",
53
59
  "fonts.css.d.ts",
60
+ "theme.css.d.ts",
54
61
  "palette.config.json",
55
62
  "!**/*.test.*",
56
63
  "!**/*.spec.js",
@@ -70,15 +77,15 @@
70
77
  "lucide-react": "^1.18.0"
71
78
  },
72
79
  "peerDependencies": {
73
- "@astryxdesign/core": "0.7.12-canary.d84658f",
80
+ "@astryxdesign/core": "0.7.12-canary.dfd75a6",
74
81
  "react": ">=19"
75
82
  },
76
83
  "devDependencies": {
77
- "@astryxdesign/cli": "0.7.12-canary.d84658f"
84
+ "@astryxdesign/cli": "0.7.12-canary.dfd75a6"
78
85
  },
79
86
  "module": "./dist/source.mjs",
80
87
  "scripts": {
81
88
  "api:report": "node ../../../scripts/api-report/cli.mjs --package .",
82
- "build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-matcha-palette-refs.mjs --check && astryx theme build src/matchaTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"
89
+ "build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-matcha-palette-refs.mjs --check && astryx theme build src/matchaTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/add-declaration-extensions.mjs && node ../../../scripts/emit-commonjs-declarations.mjs dist/source.d.ts && node ../../../scripts/check-fully-specified.mjs"
83
90
  }
84
91
  }
package/theme.css.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ export {};
File without changes