@monospaced/set-core 0.19.1 → 0.20.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monospaced/set-core",
3
- "version": "0.19.1",
3
+ "version": "0.20.1",
4
4
  "description": "SSR-first component library for Set. Native HTML output via custom elements, with a co-located CSS contract.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "./styles.css": "./dist/core.css"
23
23
  },
24
24
  "dependencies": {
25
- "tdesign-icons-svg": "^0.4.5"
25
+ "@monospaced/set-icons": "0.20.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@testing-library/dom": "^10.4.1",
@@ -35,14 +35,14 @@
35
35
  "typescript": "^5.9.3",
36
36
  "vite": "^7.3.2",
37
37
  "vitest": "^4.1.6",
38
- "@monospaced/set-markdown": "0.19.1",
39
- "@monospaced/set-config": "0.19.1",
40
- "@monospaced/set-system": "0.19.1"
38
+ "@monospaced/set-config": "0.20.1",
39
+ "@monospaced/set-markdown": "0.20.1",
40
+ "@monospaced/set-system": "0.20.1"
41
41
  },
42
42
  "scripts": {
43
+ "prebuild": "pnpm --filter @monospaced/set-icons run build",
43
44
  "build": "vite build && pnpm run build:types",
44
45
  "build:types": "tsc -p tsconfig.build.json",
45
- "generate:icons": "node scripts/generate-icons.mjs",
46
46
  "test": "vitest run",
47
47
  "test:watch": "vitest",
48
48
  "typecheck": "tsc --noEmit"
@@ -1,10 +0,0 @@
1
- export declare const SET_ICON_CUSTOM: {
2
- "panel-left": {
3
- tag: string;
4
- attrs: {
5
- d: string;
6
- "stroke-linecap": string;
7
- };
8
- }[];
9
- };
10
- //# sourceMappingURL=icons-custom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons-custom.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icons-custom.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,eAAe;;;;;;;;CAQU,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const TDESIGN_ICON_NAMES: readonly ["adjustment", "arrow-down", "arrow-left-right-1", "arrow-left", "arrow-right", "arrow-up-down-1", "arrow-up", "check", "check-circle", "chevron-down", "chevron-right", "circle", "city-6", "close", "copy", "download", "enter", "error-circle", "error-triangle", "horizontal", "image", "info-circle", "jump", "layers", "link", "member", "moon", "pantone", "play", "rectangle", "refresh", "robot-1", "search", "setting-1", "sticky-note", "sunny", "swap", "user-1", "view-list"];
2
- //# sourceMappingURL=icons-tdesign.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons-tdesign.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icons-tdesign.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,kBAAkB,qeAwCrB,CAAC"}
@@ -1,7 +0,0 @@
1
- export interface IconNode {
2
- tag: string;
3
- attrs: Record<string, string>;
4
- children?: IconNode[];
5
- }
6
- export declare const ICON_NODES: Record<string, IconNode[]>;
7
- //# sourceMappingURL=icons.generated.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.generated.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icons.generated.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,CA2tBjD,CAAC"}