@motionmetrics/mmpro-storybook-components-schema 2.0.28 → 2.0.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.
@@ -1,5 +1,2 @@
1
- // Type-definitions-only re-export for Icon component
2
- export {};
3
- if (typeof window !== 'undefined') {
4
- console.warn('@motionmetrics/mmpro-storybook-components-schema is a type-definitions package. Icon components must be imported from the full package.');
5
- }
1
+ // Icon component exports
2
+ export * from './index.d.ts';
@@ -1,5 +1,2 @@
1
- // Type-definitions-only re-export for Schema component
2
- export {};
3
- if (typeof window !== 'undefined') {
4
- console.warn('@motionmetrics/mmpro-storybook-components-schema is a type-definitions package. Schema components must be imported from the full package.');
5
- }
1
+ // Schema component exports
2
+ export * from './index.d.ts';
@@ -0,0 +1,3 @@
1
+ // Main entry point - re-exports Schema and Icon components
2
+ export * from './components/Schema/index.js';
3
+ export * from './components/Icon/index.js';
package/package.json CHANGED
@@ -1,24 +1,38 @@
1
1
  {
2
2
  "name": "@motionmetrics/mmpro-storybook-components-schema",
3
- "version": "2.0.28",
4
- "description": "Schema component type definitions for @motionmetrics/mmpro-frontend-common. React 17-19 compatible.",
5
- "type": "module",
3
+ "version": "2.0.30",
4
+ "description": "Schema component package from @motionmetrics/mmpro-frontend-common. React 17-19 compatible.",
5
+ "main": "./lib/storybook/schema-entry.js",
6
+ "module": "./lib/storybook/schema-entry.js",
6
7
  "types": "./lib/storybook/schema-entry.d.ts",
7
8
  "exports": {
8
9
  ".": {
9
- "types": "./lib/storybook/schema-entry.d.ts"
10
+ "types": "./lib/storybook/schema-entry.d.ts",
11
+ "import": "./lib/storybook/schema-entry.js",
12
+ "require": "./lib/storybook/schema-entry.js",
13
+ "default": "./lib/storybook/schema-entry.js"
10
14
  },
11
15
  "./schema": {
12
- "types": "./lib/storybook/components/Schema/index.d.ts"
16
+ "types": "./lib/storybook/components/Schema/index.d.ts",
17
+ "import": "./lib/storybook/components/Schema/index.js",
18
+ "require": "./lib/storybook/components/Schema/index.js",
19
+ "default": "./lib/storybook/components/Schema/index.js"
13
20
  },
14
21
  "./icon": {
15
- "types": "./lib/storybook/components/Icon/index.d.ts"
22
+ "types": "./lib/storybook/components/Icon/index.d.ts",
23
+ "import": "./lib/storybook/components/Icon/index.js",
24
+ "require": "./lib/storybook/components/Icon/index.js",
25
+ "default": "./lib/storybook/components/Icon/index.js"
16
26
  },
17
27
  "./tokens": {
18
- "types": "./lib/storybook/tokensV2/index.d.ts"
28
+ "types": "./lib/storybook/tokensV2/index.d.ts",
29
+ "import": "./lib/storybook/tokensV2/index.js",
30
+ "require": "./lib/storybook/tokensV2/index.js",
31
+ "default": "./lib/storybook/tokensV2/index.js"
19
32
  }
20
33
  },
21
34
  "files": [
35
+ "lib/storybook/schema-entry.js",
22
36
  "lib/storybook/schema-entry.d.ts",
23
37
  "lib/storybook/components/Schema",
24
38
  "lib/storybook/components/Icon",