@chtc/web-components 1.0.24 → 2.0.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.
@@ -0,0 +1,5 @@
1
+ export { default as BigNumber, type BigNumberProps } from "../BigNumber";
2
+ export * from "../BigNumber";
3
+ export { default as PieChart, type PieChartData } from "../PieChart";
4
+ export * from "../PieChart";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/charts/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACzE,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AACrE,cAAc,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { default as BigNumber } from "../BigNumber";
2
+ export * from "../BigNumber";
3
+ export { default as PieChart } from "../PieChart";
4
+ export * from "../PieChart";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/charts/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAuB,MAAM,cAAc,CAAC;AACzE,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAqB,MAAM,aAAa,CAAC;AACrE,cAAc,aAAa,CAAC"}
@@ -0,0 +1,12 @@
1
+ export { default as Article } from "../Article";
2
+ export * from "../Article";
3
+ export { default as ArticleCard } from "../ArticleCard";
4
+ export * from "../ArticleCard";
5
+ export { default as HorizontalArticleCard } from "../HorizontalArticleCard";
6
+ export * from "../HorizontalArticleCard";
7
+ export { default as Presentation } from "../Presentation";
8
+ export * from "../Presentation";
9
+ export { default as PresentationCard } from "../PresentationCard";
10
+ export * from "../PresentationCard";
11
+ export * from "../utils";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/content/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,YAAY,CAAC;AAChD,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,cAAc,gBAAgB,CAAC;AAE/B,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC1D,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClE,cAAc,qBAAqB,CAAC;AAEpC,cAAc,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ export { default as Article } from "../Article";
2
+ export * from "../Article";
3
+ export { default as ArticleCard } from "../ArticleCard";
4
+ export * from "../ArticleCard";
5
+ export { default as HorizontalArticleCard } from "../HorizontalArticleCard";
6
+ export * from "../HorizontalArticleCard";
7
+ export { default as Presentation } from "../Presentation";
8
+ export * from "../Presentation";
9
+ export { default as PresentationCard } from "../PresentationCard";
10
+ export * from "../PresentationCard";
11
+ export * from "../utils";
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/content/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,YAAY,CAAC;AAChD,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,cAAc,gBAAgB,CAAC;AAE/B,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC1D,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClE,cAAc,qBAAqB,CAAC;AAEpC,cAAc,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chtc/web-components",
3
- "version": "1.0.24",
3
+ "version": "2.0.1",
4
4
  "homepage": "https://path-cc.io/web-components/",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,25 @@
9
9
  "description": "CHTC Web Components",
10
10
  "main": "index.js",
11
11
  "types": "index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./index.d.ts",
15
+ "default": "./index.js"
16
+ },
17
+ "./charts": {
18
+ "types": "./charts/index.d.ts",
19
+ "default": "./charts/index.js"
20
+ },
21
+ "./content": {
22
+ "types": "./content/index.d.ts",
23
+ "default": "./content/index.js"
24
+ },
25
+ "./themes": {
26
+ "types": "./themes/index.d.ts",
27
+ "default": "./themes/index.js"
28
+ },
29
+ "./package.json": "./package.json"
30
+ },
12
31
  "files": [
13
32
  "*"
14
33
  ],
@@ -24,22 +43,45 @@
24
43
  "author": "",
25
44
  "license": "Apache-2.0",
26
45
  "dependencies": {
27
- "@emotion/react": "^11.14.0",
28
- "@emotion/styled": "^11.14.1",
29
- "@mui/icons-material": "^7.0.0",
30
- "@mui/material": "^7.0.0",
31
- "chart.js": "^4.4.7",
32
- "chartjs-adapter-luxon": "^1.3.1",
33
46
  "colorjs.io": "^0.5.2",
34
47
  "gray-matter": "^4.0.3",
35
- "luxon": "^3.7.2",
36
- "react-chartjs-2": "^5.3.0",
37
- "react-markdown": "^9.0.1",
38
- "react-wrap-balancer": "^1.1.1",
39
- "rehype-raw": "^7.0.0"
48
+ "react-wrap-balancer": "^1.1.1"
40
49
  },
41
50
  "peerDependencies": {
51
+ "@emotion/react": "^11.0.0",
52
+ "@emotion/styled": "^11.0.0",
53
+ "@mui/icons-material": "^7.0.0",
54
+ "@mui/material": "^7.0.0",
55
+ "chart.js": "^4.4.0",
56
+ "chartjs-adapter-luxon": "^1.3.0",
57
+ "luxon": "^3.0.0",
42
58
  "react": "^18.0.0 || ^19.0.0",
43
- "react-dom": "^18.0.0 || ^19.0.0"
59
+ "react-chartjs-2": "^5.0.0",
60
+ "react-dom": "^18.0.0 || ^19.0.0",
61
+ "react-markdown": "^9.0.0",
62
+ "rehype-raw": "^7.0.0"
63
+ },
64
+ "peerDependenciesMeta": {
65
+ "@mui/icons-material": {
66
+ "optional": true
67
+ },
68
+ "chart.js": {
69
+ "optional": true
70
+ },
71
+ "chartjs-adapter-luxon": {
72
+ "optional": true
73
+ },
74
+ "luxon": {
75
+ "optional": true
76
+ },
77
+ "react-chartjs-2": {
78
+ "optional": true
79
+ },
80
+ "react-markdown": {
81
+ "optional": true
82
+ },
83
+ "rehype-raw": {
84
+ "optional": true
85
+ }
44
86
  }
45
87
  }
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/types.ts"],"version":"5.8.3"}
1
+ {"root":["../src/index.ts","../src/types.ts","../src/charts/index.ts","../src/content/index.ts"],"version":"5.8.3"}