@duro-app/diagrams 0.51.0 → 1.0.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.
@@ -1,15 +1,2 @@
1
- export interface ComponentMeta {
2
- description: string;
3
- whenToUse: string[];
4
- whenNotToUse: string[];
5
- anatomy?: {
6
- required: string[];
7
- optional?: string[];
8
- };
9
- relatedTo?: Array<{
10
- component: string;
11
- relationship: string;
12
- }>;
13
- example: string;
14
- }
1
+ export type { ComponentMeta } from '@duro-app/ui/component-meta';
15
2
  //# sourceMappingURL=component-meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-meta.d.ts","sourceRoot":"","sources":["../src/component-meta.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,OAAO,CAAC,EAAE;QAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;KAAC,CAAA;IACnD,SAAS,CAAC,EAAE,KAAK,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAC,CAAC,CAAA;IAC5D,OAAO,EAAE,MAAM,CAAA;CAChB"}
1
+ {"version":3,"file":"component-meta.d.ts","sourceRoot":"","sources":["../src/component-meta.ts"],"names":[],"mappings":"AAEA,YAAY,EAAC,aAAa,EAAC,MAAM,6BAA6B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duro-app/diagrams",
3
- "version": "0.51.0",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,7 +43,8 @@
43
43
  "typescript": "^5.7.0",
44
44
  "vite": "^6.0.0",
45
45
  "vite-plugin-babel": "^1.5.0",
46
- "vite-plugin-dts": "^4.0.0"
46
+ "vite-plugin-dts": "^4.0.0",
47
+ "@duro-app/ui": "^1.0.0"
47
48
  },
48
49
  "sideEffects": [
49
50
  "**/*.css"
@@ -1,8 +1,3 @@
1
- export interface ComponentMeta {
2
- description: string
3
- whenToUse: string[]
4
- whenNotToUse: string[]
5
- anatomy?: {required: string[]; optional?: string[]}
6
- relatedTo?: Array<{component: string; relationship: string}>
7
- example: string
8
- }
1
+ // Single source of truth lives in @duro-app/ui; this re-export keeps the
2
+ // diagram metas' existing relative imports working.
3
+ export type {ComponentMeta} from '@duro-app/ui/component-meta'