File tree 18 files changed +42
-101
lines changed
18 files changed +42
-101
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,8 @@ The required styles should be imported from `@carbon/charts-angular/dist/styles.
43
43
44
44
## <picture ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: dark) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg " ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: light) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ><img height =" 20 " width =" 20 " alt =" IBM Telemetry " src =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ></picture > IBM Telemetry
45
45
46
- This package uses IBM Telemetry to collect de-identified and anonymized metrics
47
- data. By installing this package as a dependency you are agreeing to telemetry
48
- collection. To opt out, see
46
+ This package uses IBM Telemetry to collect de-identified and anonymized metrics data. By installing
47
+ this package as a dependency you are agreeing to telemetry collection. To opt out, see
49
48
[ Opting out of IBM Telemetry data collection] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection ) .
50
49
51
50
For more information on the data being collected, please see the
Original file line number Diff line number Diff line change @@ -40,19 +40,15 @@ export {
40
40
CardNodeLabelComponent ,
41
41
CardNodeSubtitleComponent ,
42
42
CardNodeTitleComponent ,
43
- CardNodeModule , // <-- Module
44
43
EdgeComponent ,
45
- EdgeModule , // <-- Module
46
44
MarkerArrowLeftComponent ,
47
45
MarkerArrowRightComponent ,
48
46
MarkerComponent ,
49
47
MarkerDiamondComponent ,
50
- MarkerModule , // <-- Module
51
48
MarkerShapeNodeComponent ,
52
49
MarkerSquareComponent ,
53
50
MarkerTeeComponent ,
54
- ShapeNodeComponent ,
55
- ShapeNodeModule // <-- Module
51
+ ShapeNodeComponent
56
52
} from './lib'
57
53
58
54
// Republish essential types from core so it's not a required dependency
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,19 +5,15 @@ export {
5
5
MarkerShapeNodeComponent ,
6
6
MarkerDiamondComponent ,
7
7
MarkerSquareComponent ,
8
- MarkerTeeComponent ,
9
- MarkerModule
10
- } from './edges/marker/marker.module'
8
+ MarkerTeeComponent
9
+ } from './edges/marker/marker.component'
11
10
12
- export { EdgeComponent , EdgeModule } from './edges/edge.module '
11
+ export { EdgeComponent } from './edges/edge.component '
13
12
14
- export {
15
- CardNodeComponent ,
16
- CardNodeColumnComponent ,
17
- CardNodeLabelComponent ,
18
- CardNodeSubtitleComponent ,
19
- CardNodeTitleComponent ,
20
- CardNodeModule
21
- } from './nodes/cards/card-node.module'
13
+ export { CardNodeComponent } from './nodes/cards/card-node.component'
14
+ export { CardNodeColumnComponent } from './nodes/cards/card-node-column.component'
15
+ export { CardNodeLabelComponent } from './nodes/cards/card-node-label.component'
16
+ export { CardNodeTitleComponent } from './nodes/cards/card-node-title.component'
17
+ export { CardNodeSubtitleComponent } from './nodes/cards/card-node-subtitle.component'
22
18
23
- export { ShapeNodeComponent , ShapeNodeModule } from './nodes/shape/shape-node.module '
19
+ export { ShapeNodeComponent } from './nodes/shape/shape-node.component '
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,17 +34,13 @@ export {
34
34
CardNodeLabelComponent ,
35
35
CardNodeSubtitleComponent ,
36
36
CardNodeTitleComponent ,
37
- CardNodeModule ,
38
37
EdgeComponent ,
39
- EdgeModule ,
40
38
MarkerArrowLeftComponent ,
41
39
MarkerArrowRightComponent ,
42
40
MarkerComponent ,
43
41
MarkerDiamondComponent ,
44
- MarkerModule ,
45
42
MarkerShapeNodeComponent ,
46
43
MarkerSquareComponent ,
47
44
MarkerTeeComponent ,
48
- ShapeNodeComponent ,
49
- ShapeNodeModule
45
+ ShapeNodeComponent
50
46
} from './diagrams'
Original file line number Diff line number Diff line change @@ -37,9 +37,8 @@ The required styles should be imported from `@carbon/charts/dist/styles.css`.
37
37
38
38
## <picture ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: dark) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg " ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: light) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ><img height =" 20 " width =" 20 " alt =" IBM Telemetry " src =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ></picture > IBM Telemetry
39
39
40
- This package uses IBM Telemetry to collect de-identified and anonymized metrics
41
- data. By installing this package as a dependency you are agreeing to telemetry
42
- collection. To opt out, see
40
+ This package uses IBM Telemetry to collect de-identified and anonymized metrics data. By installing
41
+ this package as a dependency you are agreeing to telemetry collection. To opt out, see
43
42
[ Opting out of IBM Telemetry data collection] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection ) .
44
43
For more information on the data being collected, please see the
45
44
[ IBM Telemetry documentation] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics ) .
Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ export class Highlight extends Component {
39
39
} )
40
40
41
41
// Grab container SVG
42
- const svg = this . getComponentContainer ( {
42
+ const svg = this . getComponentContainer ( {
43
43
ariaLabel : 'highlight areas' ,
44
- withinChartClip : true } )
44
+ withinChartClip : true
45
+ } )
45
46
46
47
// Update data on all axis highlight groups
47
48
const highlightAxisGroups = svg
Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ export class GroupedBar extends Bar {
36
36
this . setGroupScale ( )
37
37
38
38
// Grab container SVG
39
- const svg = this . getComponentContainer ( { ariaLabel : 'grouped bar graphs' , withinChartClip : true } )
39
+ const svg = this . getComponentContainer ( {
40
+ ariaLabel : 'grouped bar graphs' ,
41
+ withinChartClip : true
42
+ } )
40
43
41
44
const allDataLabels = uniq (
42
45
displayData . map ( ( datum : any ) => {
Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ export class StackedBar extends Bar {
21
21
22
22
render ( animate : boolean ) {
23
23
// Grab container SVG
24
- const svg = this . getComponentContainer ( { ariaLabel : 'stacked bar graphs' , withinChartClip : true } )
24
+ const svg = this . getComponentContainer ( {
25
+ ariaLabel : 'stacked bar graphs' ,
26
+ withinChartClip : true
27
+ } )
25
28
26
29
// Chart options mixed with the internal configurations
27
30
const options = this . getOptions ( )
Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ export class Gauge extends Component {
82
82
render ( animate = true ) {
83
83
const svg = this . getComponentContainer ( {
84
84
ariaLabel : 'gauge graph'
85
- } ) . attr ( 'width' , '100%' ) . attr ( 'height' , '100%' )
85
+ } )
86
+ . attr ( 'width' , '100%' )
87
+ . attr ( 'height' , '100%' )
86
88
const options = this . getOptions ( )
87
89
88
90
const value = this . getValue ( )
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class Treemap extends Component {
61
61
62
62
render ( animate = true ) {
63
63
const svg = this . getComponentContainer ( {
64
- ariaLabel : 'treemap' ,
64
+ ariaLabel : 'treemap'
65
65
} )
66
66
67
67
this . model . getData ( )
Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ export class WordCloud extends Component {
23
23
const self = this
24
24
const svg = this . getComponentContainer ( {
25
25
ariaLabel : 'word cloud'
26
- } ) . attr ( 'width' , '100%' ) . attr ( 'height' , '100%' )
26
+ } )
27
+ . attr ( 'width' , '100%' )
28
+ . attr ( 'height' , '100%' )
27
29
28
30
const displayData = this . model . getDisplayData ( )
29
31
const fontSizeScale = this . getFontSizeScale ( displayData )
Original file line number Diff line number Diff line change @@ -131,7 +131,9 @@ export class LayoutComponent extends Component {
131
131
132
132
// if parent is missing aria-label, set it to the title of the parent
133
133
if ( isRenderingSVG && ! selection . select ( 'svg.layout-svg-wrapper' ) . attr ( 'aria-label' ) ) {
134
- selection . select ( 'svg.layout-svg-wrapper' ) . attr ( 'aria-label' , options ?. accessibility ?. svgAriaLabel || options ?. title )
134
+ selection
135
+ . select ( 'svg.layout-svg-wrapper' )
136
+ . attr ( 'aria-label' , options ?. accessibility ?. svgAriaLabel || options ?. title )
135
137
}
136
138
137
139
// Render preffered & fixed items
Original file line number Diff line number Diff line change @@ -37,9 +37,8 @@ The required styles should be imported from `@carbon/charts-react/dist/styles.cs
37
37
38
38
## <picture ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: dark) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg " ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: light) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ><img height =" 20 " width =" 20 " alt =" IBM Telemetry " src =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ></picture > IBM Telemetry
39
39
40
- This package uses IBM Telemetry to collect de-identified and anonymized metrics
41
- data. By installing this package as a dependency you are agreeing to telemetry
42
- collection. To opt out, see
40
+ This package uses IBM Telemetry to collect de-identified and anonymized metrics data. By installing
41
+ this package as a dependency you are agreeing to telemetry collection. To opt out, see
43
42
[ Opting out of IBM Telemetry data collection] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection ) .
44
43
For more information on the data being collected, please see the
45
44
[ IBM Telemetry documentation] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics ) .
Original file line number Diff line number Diff line change @@ -262,9 +262,8 @@ let chart: ChartProps['chart'] = null
262
262
263
263
## <picture ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: dark) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg " ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: light) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ><img height =" 20 " width =" 20 " alt =" IBM Telemetry " src =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ></picture > IBM Telemetry
264
264
265
- This package uses IBM Telemetry to collect de-identified and anonymized metrics
266
- data. By installing this package as a dependency you are agreeing to telemetry
267
- collection. To opt out, see
265
+ This package uses IBM Telemetry to collect de-identified and anonymized metrics data. By installing
266
+ this package as a dependency you are agreeing to telemetry collection. To opt out, see
268
267
[ Opting out of IBM Telemetry data collection] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection ) .
269
268
For more information on the data being collected, please see the
270
269
[ IBM Telemetry documentation] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics ) .
Original file line number Diff line number Diff line change @@ -43,9 +43,8 @@ The required styles should be imported from `@carbon/charts-vue/styles.css`.
43
43
44
44
## <picture ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: dark) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg " ><source height =" 20 " width =" 20 " media =" (prefers-color-scheme: light) " srcset =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ><img height =" 20 " width =" 20 " alt =" IBM Telemetry " src =" https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg " ></picture > IBM Telemetry
45
45
46
- This package uses IBM Telemetry to collect de-identified and anonymized metrics
47
- data. By installing this package as a dependency you are agreeing to telemetry
48
- collection. To opt out, see
46
+ This package uses IBM Telemetry to collect de-identified and anonymized metrics data. By installing
47
+ this package as a dependency you are agreeing to telemetry collection. To opt out, see
49
48
[ Opting out of IBM Telemetry data collection] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection ) .
50
49
For more information on the data being collected, please see the
51
50
[ IBM Telemetry documentation] ( https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics ) .
You can’t perform that action at this time.
0 commit comments