@fluentui/chart-web-components 0.0.0-alpha.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +26 -0
  3. package/package.json +119 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # Change Log - @fluentui/chart-web-components
2
+
3
+ This log was last generated on Tue, 14 Jan 2025 04:07:08 GMT and should not be manually modified.
4
+
5
+ <!-- Start content -->
6
+
7
+ ## [0.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/chart-web-components_v0.0.0-alpha.2)
8
+
9
+ Tue, 14 Jan 2025 04:07:08 GMT
10
+
11
+ ### Changes
12
+
13
+ - Create chart web components. Includes donut chart and horizontal bar chart ([PR #33084](https://github.com/microsoft/fluentui/pull/33084) by 98592573+AtishayMsft@users.noreply.github.com)
14
+ - Bump @fluentui/tokens to v1.0.0-alpha.21 ([PR #33084](https://github.com/microsoft/fluentui/pull/33084) by beachball)
15
+ - Bump @fluentui/web-components to v3.0.0-beta.76 ([PR #33084](https://github.com/microsoft/fluentui/pull/33084) by beachball)
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # Fluent UI Chart Web Components
2
+
3
+ Fluent charts is a set of modern, accessible, interactive and highly customizable visualization library representing the Microsoft design system. The library is built using D3 (Data Driven Documents).
4
+
5
+ ## Using the library
6
+
7
+ Examples and code snippets for the chart components to be added.
8
+
9
+ ## Contact
10
+
11
+ The charting project is actively funded by a small feature team. The team responds within 1-2 business days for any queries or doubts.
12
+ You can reach out to the charting team by tagging `@microsoft/charting-team` in [discussion](https://github.com/microsoft/fluentui/discussions) items.
13
+
14
+ You could also create issues under the [charting](https://github.com/microsoft/fluentui/labels/Package:%20charting) tag.
15
+
16
+ ## Contributing
17
+
18
+ [![contributions welcome](https://img.shields.io/badge/contributions-welcome-1EAEDB)]()
19
+
20
+ A comprehensive contributor and developer guide is available in the charts [wiki](https://aka.ms/fluentChartingWiki).
21
+
22
+ ## Accessibility
23
+
24
+ Our charts have elaborate accessibility support. The charts are WCAG 2.1 MAS C compliant for accessibility.
25
+
26
+ More details are covered in the [wiki](https://aka.ms/fluentChartingWiki).
package/package.json ADDED
@@ -0,0 +1,119 @@
1
+ {
2
+ "name": "@fluentui/chart-web-components",
3
+ "description": "A library of Fluent Chart Web Components",
4
+ "version": "0.0.0-alpha.2",
5
+ "author": {
6
+ "name": "Microsoft"
7
+ },
8
+ "license": "MIT",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/microsoft/fluentui/tree/master/packages/charts/chart-web-components"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/Microsoft/fluentui/issues/new/choose"
15
+ },
16
+ "type": "module",
17
+ "main": "dist/esm/index.js",
18
+ "types": "dist/chart-web-components.d.ts",
19
+ "unpkg": "dist/chart-web-components.min.js",
20
+ "files": [
21
+ "*.md",
22
+ "dist/dts/",
23
+ "dist/esm/",
24
+ "dist/*.js",
25
+ "dist/*.d.ts"
26
+ ],
27
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/dts/index.d.ts",
30
+ "default": "./dist/esm/index.js"
31
+ },
32
+ "./utilities.js": {
33
+ "types": "./dist/dts/utils/index.d.ts",
34
+ "default": "./dist/esm/utils/index.js"
35
+ },
36
+ "./*/define.js": {
37
+ "types": "./dist/dts/*/*.define.d.ts",
38
+ "default": "./dist/esm/*/*.define.js"
39
+ },
40
+ "./*/definition.js": {
41
+ "types": "./dist/dts/*/*.definition.d.ts",
42
+ "default": "./dist/esm/*/*.definition.js"
43
+ },
44
+ "./*/options.js": {
45
+ "types": "./dist/dts/*/*.options.d.ts",
46
+ "default": "./dist/esm/*/*.options.js"
47
+ },
48
+ "./*/styles.js": {
49
+ "types": "./dist/dts/*/*.styles.d.ts",
50
+ "default": "./dist/esm/*/*.styles.js"
51
+ },
52
+ "./*/template.js": {
53
+ "types": "./dist/dts/*/*.template.d.ts",
54
+ "default": "./dist/esm/*/*.template.js"
55
+ },
56
+ "./*/index.js": {
57
+ "types": "./dist/dts/*/index.d.ts",
58
+ "default": "./dist/esm/*/index.js"
59
+ },
60
+ "./*.js": {
61
+ "types": "./dist/dts/*/define.d.ts",
62
+ "default": "./dist/esm/*/define.js"
63
+ },
64
+ "./package.json": "./package.json"
65
+ },
66
+ "sideEffects": [
67
+ "./dist/esm/**/define.js",
68
+ "./dist/chart-web-components.js",
69
+ "./dist/chart-web-components.min.js"
70
+ ],
71
+ "scripts": {
72
+ "verify-packaging": "node ./scripts/verify-packaging",
73
+ "type-check": "node ./scripts/type-check",
74
+ "benchmark": "yarn clean && yarn compile:benchmark && yarn compile && node ./scripts/run-benchmarks",
75
+ "compile": "node ./scripts/compile",
76
+ "compile:benchmark": "rollup -c rollup.bench.js",
77
+ "clean": "node ./scripts/clean dist",
78
+ "generate-api": "api-extractor run --local",
79
+ "build": "yarn compile && yarn rollup -c && yarn generate-api",
80
+ "lint": "eslint . --ext .ts",
81
+ "lint:fix": "eslint . --ext .ts --fix",
82
+ "format": "prettier -w src/**/*.{ts,html} --ignore-path ../../.prettierignore",
83
+ "format:check": "yarn format -c",
84
+ "code-style": "yarn format:check && yarn lint",
85
+ "start": "yarn start-storybook -p 6006 --docs",
86
+ "start-storybook": "storybook dev",
87
+ "build-storybook": "storybook build -o ./dist/storybook --docs",
88
+ "e2e": "playwright test",
89
+ "test:dev": "playwright test"
90
+ },
91
+ "devDependencies": {
92
+ "@microsoft/fast-element": "2.0.0",
93
+ "@tensile-perf/web-components": "~0.2.0",
94
+ "@storybook/html": "7.6.20",
95
+ "@storybook/html-webpack5": "7.6.20",
96
+ "chromedriver": "^125.0.0"
97
+ },
98
+ "dependencies": {
99
+ "@microsoft/fast-web-utilities": "^6.0.0",
100
+ "@fluentui/tokens": "^1.0.0-alpha",
101
+ "@fluentui/web-components": "^3.0.0-beta",
102
+ "@types/d3-selection": "^3.0.0",
103
+ "@types/d3-shape": "^3.0.0",
104
+ "d3-selection": "^3.0.0",
105
+ "d3-shape": "^3.0.0",
106
+ "tabbable": "^6.2.0",
107
+ "tslib": "^2.1.0"
108
+ },
109
+ "peerDependencies": {
110
+ "@microsoft/fast-element": "^2.0.0-beta.26 || ^2.0.0"
111
+ },
112
+ "beachball": {
113
+ "disallowedChangeTypes": [
114
+ "major",
115
+ "minor"
116
+ ],
117
+ "tag": "alpha"
118
+ }
119
+ }