@aceshooting/lyra-ui 7.0.0 → 7.2.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.
- package/CHANGELOG.md +33 -0
- package/README.md +12 -4
- package/custom-elements.json +885 -40
- package/dist/components/charts/chart/chart.class.d.ts +9 -3
- package/dist/components/charts/chart/chart.class.d.ts.map +1 -1
- package/dist/components/charts/chart/chart.class.js +31 -3
- package/dist/components/charts/chart/chart.class.js.map +1 -1
- package/dist/components/charts/chart/lite-chart.class.d.ts +24 -1
- package/dist/components/charts/chart/lite-chart.class.d.ts.map +1 -1
- package/dist/components/charts/chart/lite-chart.class.js +53 -3
- package/dist/components/charts/chart/lite-chart.class.js.map +1 -1
- package/dist/components/forms/button/button.class.d.ts +10 -4
- package/dist/components/forms/button/button.class.d.ts.map +1 -1
- package/dist/components/forms/button/button.class.js +21 -5
- package/dist/components/forms/button/button.class.js.map +1 -1
- package/dist/components/forms/checkbox/checkbox.class.d.ts +5 -3
- package/dist/components/forms/checkbox/checkbox.class.d.ts.map +1 -1
- package/dist/components/forms/checkbox/checkbox.class.js +13 -3
- package/dist/components/forms/checkbox/checkbox.class.js.map +1 -1
- package/dist/components/forms/icon-button/icon-button.class.d.ts +11 -4
- package/dist/components/forms/icon-button/icon-button.class.d.ts.map +1 -1
- package/dist/components/forms/icon-button/icon-button.class.js +21 -5
- package/dist/components/forms/icon-button/icon-button.class.js.map +1 -1
- package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
- package/dist/components/layout/menu/menu.class.d.ts +4 -1
- package/dist/components/layout/menu/menu.class.d.ts.map +1 -1
- package/dist/components/layout/menu/menu.class.js +4 -1
- package/dist/components/layout/menu/menu.class.js.map +1 -1
- package/dist/components/media/map/map-loader.d.ts +2 -2
- package/dist/components/media/map/map-loader.js +2 -2
- package/dist/components/media/map/map.class.d.ts +2 -2
- package/dist/components/media/map/map.class.js +2 -2
- package/dist/components/overlays/overlay/popover.class.d.ts +7 -0
- package/dist/components/overlays/overlay/popover.class.d.ts.map +1 -1
- package/dist/components/overlays/overlay/popover.class.js +13 -2
- package/dist/components/overlays/overlay/popover.class.js.map +1 -1
- package/dist/components/overlays/overlay/tooltip.class.d.ts +9 -0
- package/dist/components/overlays/overlay/tooltip.class.d.ts.map +1 -1
- package/dist/components/overlays/overlay/tooltip.class.js +43 -3
- package/dist/components/overlays/overlay/tooltip.class.js.map +1 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +10 -2
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts.map +1 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +7 -2
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js.map +1 -1
- package/dist/internal/aria-controls.d.ts +11 -2
- package/dist/internal/aria-controls.d.ts.map +1 -1
- package/dist/internal/aria-controls.js +35 -11
- package/dist/internal/aria-controls.js.map +1 -1
- package/dist/internal/localization.d.ts +1 -1
- package/dist/internal/localization.d.ts.map +1 -1
- package/dist/internal/localization.js +4 -0
- package/dist/internal/localization.js.map +1 -1
- package/dist/localization.d.ts +9 -0
- package/dist/localization.d.ts.map +1 -0
- package/dist/localization.js +8 -0
- package/dist/localization.js.map +1 -0
- package/dist/lyra.d.ts +3 -3
- package/dist/lyra.d.ts.map +1 -1
- package/dist/lyra.js +1 -1
- package/dist/lyra.js.map +1 -1
- package/llms/components/lr-button.md +7 -4
- package/llms/components/lr-chart.md +8 -5
- package/llms/components/lr-checkbox.md +6 -3
- package/llms/components/lr-dropdown-item.md +10 -1
- package/llms/components/lr-dropdown.md +2 -0
- package/llms/components/lr-geojson-view.md +4 -3
- package/llms/components/lr-icon-button.md +11 -6
- package/llms/components/lr-knowledge-graph-explorer.md +5 -0
- package/llms/components/lr-lite-chart.md +12 -0
- package/llms/components/lr-map.md +5 -4
- package/llms/components/lr-menu-item.md +10 -1
- package/llms/components/lr-menu.md +10 -1
- package/llms/components/lr-popover.md +7 -0
- package/llms/components/lr-tooltip.md +8 -0
- package/llms/peers.md +1 -1
- package/llms/shared.md +15 -8
- package/llms-full.txt +99 -33
- package/package.json +4 -3
- package/vscode-css-data.json +7 -0
- package/vscode-html-data.json +40 -19
- package/web-types.json +41 -20
package/custom-elements.json
CHANGED
|
@@ -25917,7 +25917,7 @@
|
|
|
25917
25917
|
"text": "boolean"
|
|
25918
25918
|
},
|
|
25919
25919
|
"default": "false",
|
|
25920
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
25920
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
25921
25921
|
"attribute": "stack-totals",
|
|
25922
25922
|
"inheritedFrom": {
|
|
25923
25923
|
"name": "LyraChart",
|
|
@@ -25995,7 +25995,7 @@
|
|
|
25995
25995
|
"type": {
|
|
25996
25996
|
"text": "LyraChartValueFormatter | undefined"
|
|
25997
25997
|
},
|
|
25998
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
25998
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
25999
25999
|
"inheritedFrom": {
|
|
26000
26000
|
"name": "LyraChart",
|
|
26001
26001
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -26553,6 +26553,28 @@
|
|
|
26553
26553
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
26554
26554
|
}
|
|
26555
26555
|
},
|
|
26556
|
+
{
|
|
26557
|
+
"kind": "method",
|
|
26558
|
+
"name": "formatTableValue",
|
|
26559
|
+
"privacy": "private",
|
|
26560
|
+
"return": {
|
|
26561
|
+
"type": {
|
|
26562
|
+
"text": "string"
|
|
26563
|
+
}
|
|
26564
|
+
},
|
|
26565
|
+
"parameters": [
|
|
26566
|
+
{
|
|
26567
|
+
"name": "value",
|
|
26568
|
+
"type": {
|
|
26569
|
+
"text": "number"
|
|
26570
|
+
}
|
|
26571
|
+
}
|
|
26572
|
+
],
|
|
26573
|
+
"inheritedFrom": {
|
|
26574
|
+
"name": "LyraChart",
|
|
26575
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
26576
|
+
}
|
|
26577
|
+
},
|
|
26556
26578
|
{
|
|
26557
26579
|
"kind": "method",
|
|
26558
26580
|
"name": "formatValue",
|
|
@@ -26960,6 +26982,48 @@
|
|
|
26960
26982
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
26961
26983
|
}
|
|
26962
26984
|
},
|
|
26985
|
+
{
|
|
26986
|
+
"kind": "method",
|
|
26987
|
+
"name": "tableStackAxes",
|
|
26988
|
+
"privacy": "private",
|
|
26989
|
+
"return": {
|
|
26990
|
+
"type": {
|
|
26991
|
+
"text": "('y' | 'y2')[]"
|
|
26992
|
+
}
|
|
26993
|
+
},
|
|
26994
|
+
"inheritedFrom": {
|
|
26995
|
+
"name": "LyraChart",
|
|
26996
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
26997
|
+
}
|
|
26998
|
+
},
|
|
26999
|
+
{
|
|
27000
|
+
"kind": "method",
|
|
27001
|
+
"name": "tableStackTotalLabel",
|
|
27002
|
+
"privacy": "private",
|
|
27003
|
+
"return": {
|
|
27004
|
+
"type": {
|
|
27005
|
+
"text": "string"
|
|
27006
|
+
}
|
|
27007
|
+
},
|
|
27008
|
+
"parameters": [
|
|
27009
|
+
{
|
|
27010
|
+
"name": "axis",
|
|
27011
|
+
"type": {
|
|
27012
|
+
"text": "'y' | 'y2'"
|
|
27013
|
+
}
|
|
27014
|
+
},
|
|
27015
|
+
{
|
|
27016
|
+
"name": "axisCount",
|
|
27017
|
+
"type": {
|
|
27018
|
+
"text": "number"
|
|
27019
|
+
}
|
|
27020
|
+
}
|
|
27021
|
+
],
|
|
27022
|
+
"inheritedFrom": {
|
|
27023
|
+
"name": "LyraChart",
|
|
27024
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
27025
|
+
}
|
|
27026
|
+
},
|
|
26963
27027
|
{
|
|
26964
27028
|
"kind": "method",
|
|
26965
27029
|
"name": "themeColors",
|
|
@@ -27348,7 +27412,7 @@
|
|
|
27348
27412
|
"text": "boolean"
|
|
27349
27413
|
},
|
|
27350
27414
|
"default": "false",
|
|
27351
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
27415
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
27352
27416
|
"fieldName": "stackTotals",
|
|
27353
27417
|
"inheritedFrom": {
|
|
27354
27418
|
"name": "LyraChart",
|
|
@@ -28772,7 +28836,7 @@
|
|
|
28772
28836
|
"text": "boolean"
|
|
28773
28837
|
},
|
|
28774
28838
|
"default": "false",
|
|
28775
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
28839
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
28776
28840
|
"attribute": "stack-totals",
|
|
28777
28841
|
"inheritedFrom": {
|
|
28778
28842
|
"name": "LyraChart",
|
|
@@ -28850,7 +28914,7 @@
|
|
|
28850
28914
|
"type": {
|
|
28851
28915
|
"text": "LyraChartValueFormatter | undefined"
|
|
28852
28916
|
},
|
|
28853
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
28917
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
28854
28918
|
"inheritedFrom": {
|
|
28855
28919
|
"name": "LyraChart",
|
|
28856
28920
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -29408,6 +29472,28 @@
|
|
|
29408
29472
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
29409
29473
|
}
|
|
29410
29474
|
},
|
|
29475
|
+
{
|
|
29476
|
+
"kind": "method",
|
|
29477
|
+
"name": "formatTableValue",
|
|
29478
|
+
"privacy": "private",
|
|
29479
|
+
"return": {
|
|
29480
|
+
"type": {
|
|
29481
|
+
"text": "string"
|
|
29482
|
+
}
|
|
29483
|
+
},
|
|
29484
|
+
"parameters": [
|
|
29485
|
+
{
|
|
29486
|
+
"name": "value",
|
|
29487
|
+
"type": {
|
|
29488
|
+
"text": "number"
|
|
29489
|
+
}
|
|
29490
|
+
}
|
|
29491
|
+
],
|
|
29492
|
+
"inheritedFrom": {
|
|
29493
|
+
"name": "LyraChart",
|
|
29494
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
29495
|
+
}
|
|
29496
|
+
},
|
|
29411
29497
|
{
|
|
29412
29498
|
"kind": "method",
|
|
29413
29499
|
"name": "formatValue",
|
|
@@ -29815,6 +29901,48 @@
|
|
|
29815
29901
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
29816
29902
|
}
|
|
29817
29903
|
},
|
|
29904
|
+
{
|
|
29905
|
+
"kind": "method",
|
|
29906
|
+
"name": "tableStackAxes",
|
|
29907
|
+
"privacy": "private",
|
|
29908
|
+
"return": {
|
|
29909
|
+
"type": {
|
|
29910
|
+
"text": "('y' | 'y2')[]"
|
|
29911
|
+
}
|
|
29912
|
+
},
|
|
29913
|
+
"inheritedFrom": {
|
|
29914
|
+
"name": "LyraChart",
|
|
29915
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
29916
|
+
}
|
|
29917
|
+
},
|
|
29918
|
+
{
|
|
29919
|
+
"kind": "method",
|
|
29920
|
+
"name": "tableStackTotalLabel",
|
|
29921
|
+
"privacy": "private",
|
|
29922
|
+
"return": {
|
|
29923
|
+
"type": {
|
|
29924
|
+
"text": "string"
|
|
29925
|
+
}
|
|
29926
|
+
},
|
|
29927
|
+
"parameters": [
|
|
29928
|
+
{
|
|
29929
|
+
"name": "axis",
|
|
29930
|
+
"type": {
|
|
29931
|
+
"text": "'y' | 'y2'"
|
|
29932
|
+
}
|
|
29933
|
+
},
|
|
29934
|
+
{
|
|
29935
|
+
"name": "axisCount",
|
|
29936
|
+
"type": {
|
|
29937
|
+
"text": "number"
|
|
29938
|
+
}
|
|
29939
|
+
}
|
|
29940
|
+
],
|
|
29941
|
+
"inheritedFrom": {
|
|
29942
|
+
"name": "LyraChart",
|
|
29943
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
29944
|
+
}
|
|
29945
|
+
},
|
|
29818
29946
|
{
|
|
29819
29947
|
"kind": "method",
|
|
29820
29948
|
"name": "themeColors",
|
|
@@ -30203,7 +30331,7 @@
|
|
|
30203
30331
|
"text": "boolean"
|
|
30204
30332
|
},
|
|
30205
30333
|
"default": "false",
|
|
30206
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
30334
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
30207
30335
|
"fieldName": "stackTotals",
|
|
30208
30336
|
"inheritedFrom": {
|
|
30209
30337
|
"name": "LyraChart",
|
|
@@ -31063,7 +31191,7 @@
|
|
|
31063
31191
|
"text": "boolean"
|
|
31064
31192
|
},
|
|
31065
31193
|
"default": "false",
|
|
31066
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
31194
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
31067
31195
|
"attribute": "stack-totals"
|
|
31068
31196
|
},
|
|
31069
31197
|
{
|
|
@@ -31125,7 +31253,7 @@
|
|
|
31125
31253
|
"type": {
|
|
31126
31254
|
"text": "LyraChartValueFormatter | undefined"
|
|
31127
31255
|
},
|
|
31128
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
31256
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis."
|
|
31129
31257
|
},
|
|
31130
31258
|
{
|
|
31131
31259
|
"kind": "field",
|
|
@@ -31583,6 +31711,24 @@
|
|
|
31583
31711
|
}
|
|
31584
31712
|
]
|
|
31585
31713
|
},
|
|
31714
|
+
{
|
|
31715
|
+
"kind": "method",
|
|
31716
|
+
"name": "formatTableValue",
|
|
31717
|
+
"privacy": "private",
|
|
31718
|
+
"return": {
|
|
31719
|
+
"type": {
|
|
31720
|
+
"text": "string"
|
|
31721
|
+
}
|
|
31722
|
+
},
|
|
31723
|
+
"parameters": [
|
|
31724
|
+
{
|
|
31725
|
+
"name": "value",
|
|
31726
|
+
"type": {
|
|
31727
|
+
"text": "number"
|
|
31728
|
+
}
|
|
31729
|
+
}
|
|
31730
|
+
]
|
|
31731
|
+
},
|
|
31586
31732
|
{
|
|
31587
31733
|
"kind": "method",
|
|
31588
31734
|
"name": "formatValue",
|
|
@@ -31930,6 +32076,40 @@
|
|
|
31930
32076
|
}
|
|
31931
32077
|
]
|
|
31932
32078
|
},
|
|
32079
|
+
{
|
|
32080
|
+
"kind": "method",
|
|
32081
|
+
"name": "tableStackAxes",
|
|
32082
|
+
"privacy": "private",
|
|
32083
|
+
"return": {
|
|
32084
|
+
"type": {
|
|
32085
|
+
"text": "('y' | 'y2')[]"
|
|
32086
|
+
}
|
|
32087
|
+
}
|
|
32088
|
+
},
|
|
32089
|
+
{
|
|
32090
|
+
"kind": "method",
|
|
32091
|
+
"name": "tableStackTotalLabel",
|
|
32092
|
+
"privacy": "private",
|
|
32093
|
+
"return": {
|
|
32094
|
+
"type": {
|
|
32095
|
+
"text": "string"
|
|
32096
|
+
}
|
|
32097
|
+
},
|
|
32098
|
+
"parameters": [
|
|
32099
|
+
{
|
|
32100
|
+
"name": "axis",
|
|
32101
|
+
"type": {
|
|
32102
|
+
"text": "'y' | 'y2'"
|
|
32103
|
+
}
|
|
32104
|
+
},
|
|
32105
|
+
{
|
|
32106
|
+
"name": "axisCount",
|
|
32107
|
+
"type": {
|
|
32108
|
+
"text": "number"
|
|
32109
|
+
}
|
|
32110
|
+
}
|
|
32111
|
+
]
|
|
32112
|
+
},
|
|
31933
32113
|
{
|
|
31934
32114
|
"kind": "method",
|
|
31935
32115
|
"name": "themeColors",
|
|
@@ -32130,7 +32310,7 @@
|
|
|
32130
32310
|
"text": "boolean"
|
|
32131
32311
|
},
|
|
32132
32312
|
"default": "false",
|
|
32133
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
32313
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
32134
32314
|
"fieldName": "stackTotals"
|
|
32135
32315
|
},
|
|
32136
32316
|
{
|
|
@@ -32815,7 +32995,7 @@
|
|
|
32815
32995
|
"text": "boolean"
|
|
32816
32996
|
},
|
|
32817
32997
|
"default": "false",
|
|
32818
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
32998
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
32819
32999
|
"attribute": "stack-totals",
|
|
32820
33000
|
"inheritedFrom": {
|
|
32821
33001
|
"name": "LyraChart",
|
|
@@ -32893,7 +33073,7 @@
|
|
|
32893
33073
|
"type": {
|
|
32894
33074
|
"text": "LyraChartValueFormatter | undefined"
|
|
32895
33075
|
},
|
|
32896
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
33076
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
32897
33077
|
"inheritedFrom": {
|
|
32898
33078
|
"name": "LyraChart",
|
|
32899
33079
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -33451,6 +33631,28 @@
|
|
|
33451
33631
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
33452
33632
|
}
|
|
33453
33633
|
},
|
|
33634
|
+
{
|
|
33635
|
+
"kind": "method",
|
|
33636
|
+
"name": "formatTableValue",
|
|
33637
|
+
"privacy": "private",
|
|
33638
|
+
"return": {
|
|
33639
|
+
"type": {
|
|
33640
|
+
"text": "string"
|
|
33641
|
+
}
|
|
33642
|
+
},
|
|
33643
|
+
"parameters": [
|
|
33644
|
+
{
|
|
33645
|
+
"name": "value",
|
|
33646
|
+
"type": {
|
|
33647
|
+
"text": "number"
|
|
33648
|
+
}
|
|
33649
|
+
}
|
|
33650
|
+
],
|
|
33651
|
+
"inheritedFrom": {
|
|
33652
|
+
"name": "LyraChart",
|
|
33653
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
33654
|
+
}
|
|
33655
|
+
},
|
|
33454
33656
|
{
|
|
33455
33657
|
"kind": "method",
|
|
33456
33658
|
"name": "formatValue",
|
|
@@ -33858,6 +34060,48 @@
|
|
|
33858
34060
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
33859
34061
|
}
|
|
33860
34062
|
},
|
|
34063
|
+
{
|
|
34064
|
+
"kind": "method",
|
|
34065
|
+
"name": "tableStackAxes",
|
|
34066
|
+
"privacy": "private",
|
|
34067
|
+
"return": {
|
|
34068
|
+
"type": {
|
|
34069
|
+
"text": "('y' | 'y2')[]"
|
|
34070
|
+
}
|
|
34071
|
+
},
|
|
34072
|
+
"inheritedFrom": {
|
|
34073
|
+
"name": "LyraChart",
|
|
34074
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
34075
|
+
}
|
|
34076
|
+
},
|
|
34077
|
+
{
|
|
34078
|
+
"kind": "method",
|
|
34079
|
+
"name": "tableStackTotalLabel",
|
|
34080
|
+
"privacy": "private",
|
|
34081
|
+
"return": {
|
|
34082
|
+
"type": {
|
|
34083
|
+
"text": "string"
|
|
34084
|
+
}
|
|
34085
|
+
},
|
|
34086
|
+
"parameters": [
|
|
34087
|
+
{
|
|
34088
|
+
"name": "axis",
|
|
34089
|
+
"type": {
|
|
34090
|
+
"text": "'y' | 'y2'"
|
|
34091
|
+
}
|
|
34092
|
+
},
|
|
34093
|
+
{
|
|
34094
|
+
"name": "axisCount",
|
|
34095
|
+
"type": {
|
|
34096
|
+
"text": "number"
|
|
34097
|
+
}
|
|
34098
|
+
}
|
|
34099
|
+
],
|
|
34100
|
+
"inheritedFrom": {
|
|
34101
|
+
"name": "LyraChart",
|
|
34102
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
34103
|
+
}
|
|
34104
|
+
},
|
|
33861
34105
|
{
|
|
33862
34106
|
"kind": "method",
|
|
33863
34107
|
"name": "themeColors",
|
|
@@ -34246,7 +34490,7 @@
|
|
|
34246
34490
|
"text": "boolean"
|
|
34247
34491
|
},
|
|
34248
34492
|
"default": "false",
|
|
34249
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
34493
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
34250
34494
|
"fieldName": "stackTotals",
|
|
34251
34495
|
"inheritedFrom": {
|
|
34252
34496
|
"name": "LyraChart",
|
|
@@ -35028,7 +35272,7 @@
|
|
|
35028
35272
|
"text": "boolean"
|
|
35029
35273
|
},
|
|
35030
35274
|
"default": "false",
|
|
35031
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
35275
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
35032
35276
|
"attribute": "stack-totals",
|
|
35033
35277
|
"inheritedFrom": {
|
|
35034
35278
|
"name": "LyraChart",
|
|
@@ -35106,7 +35350,7 @@
|
|
|
35106
35350
|
"type": {
|
|
35107
35351
|
"text": "LyraChartValueFormatter | undefined"
|
|
35108
35352
|
},
|
|
35109
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
35353
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
35110
35354
|
"inheritedFrom": {
|
|
35111
35355
|
"name": "LyraChart",
|
|
35112
35356
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -35672,6 +35916,28 @@
|
|
|
35672
35916
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
35673
35917
|
}
|
|
35674
35918
|
},
|
|
35919
|
+
{
|
|
35920
|
+
"kind": "method",
|
|
35921
|
+
"name": "formatTableValue",
|
|
35922
|
+
"privacy": "private",
|
|
35923
|
+
"return": {
|
|
35924
|
+
"type": {
|
|
35925
|
+
"text": "string"
|
|
35926
|
+
}
|
|
35927
|
+
},
|
|
35928
|
+
"parameters": [
|
|
35929
|
+
{
|
|
35930
|
+
"name": "value",
|
|
35931
|
+
"type": {
|
|
35932
|
+
"text": "number"
|
|
35933
|
+
}
|
|
35934
|
+
}
|
|
35935
|
+
],
|
|
35936
|
+
"inheritedFrom": {
|
|
35937
|
+
"name": "LyraChart",
|
|
35938
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
35939
|
+
}
|
|
35940
|
+
},
|
|
35675
35941
|
{
|
|
35676
35942
|
"kind": "method",
|
|
35677
35943
|
"name": "formatValue",
|
|
@@ -36079,6 +36345,48 @@
|
|
|
36079
36345
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
36080
36346
|
}
|
|
36081
36347
|
},
|
|
36348
|
+
{
|
|
36349
|
+
"kind": "method",
|
|
36350
|
+
"name": "tableStackAxes",
|
|
36351
|
+
"privacy": "private",
|
|
36352
|
+
"return": {
|
|
36353
|
+
"type": {
|
|
36354
|
+
"text": "('y' | 'y2')[]"
|
|
36355
|
+
}
|
|
36356
|
+
},
|
|
36357
|
+
"inheritedFrom": {
|
|
36358
|
+
"name": "LyraChart",
|
|
36359
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
36360
|
+
}
|
|
36361
|
+
},
|
|
36362
|
+
{
|
|
36363
|
+
"kind": "method",
|
|
36364
|
+
"name": "tableStackTotalLabel",
|
|
36365
|
+
"privacy": "private",
|
|
36366
|
+
"return": {
|
|
36367
|
+
"type": {
|
|
36368
|
+
"text": "string"
|
|
36369
|
+
}
|
|
36370
|
+
},
|
|
36371
|
+
"parameters": [
|
|
36372
|
+
{
|
|
36373
|
+
"name": "axis",
|
|
36374
|
+
"type": {
|
|
36375
|
+
"text": "'y' | 'y2'"
|
|
36376
|
+
}
|
|
36377
|
+
},
|
|
36378
|
+
{
|
|
36379
|
+
"name": "axisCount",
|
|
36380
|
+
"type": {
|
|
36381
|
+
"text": "number"
|
|
36382
|
+
}
|
|
36383
|
+
}
|
|
36384
|
+
],
|
|
36385
|
+
"inheritedFrom": {
|
|
36386
|
+
"name": "LyraChart",
|
|
36387
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
36388
|
+
}
|
|
36389
|
+
},
|
|
36082
36390
|
{
|
|
36083
36391
|
"kind": "method",
|
|
36084
36392
|
"name": "themeColors",
|
|
@@ -36346,7 +36654,7 @@
|
|
|
36346
36654
|
"text": "boolean"
|
|
36347
36655
|
},
|
|
36348
36656
|
"default": "false",
|
|
36349
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
36657
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
36350
36658
|
"fieldName": "stackTotals",
|
|
36351
36659
|
"inheritedFrom": {
|
|
36352
36660
|
"name": "LyraChart",
|
|
@@ -37183,7 +37491,7 @@
|
|
|
37183
37491
|
"text": "boolean"
|
|
37184
37492
|
},
|
|
37185
37493
|
"default": "false",
|
|
37186
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
37494
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
37187
37495
|
"attribute": "stack-totals",
|
|
37188
37496
|
"inheritedFrom": {
|
|
37189
37497
|
"name": "LyraChart",
|
|
@@ -37261,7 +37569,7 @@
|
|
|
37261
37569
|
"type": {
|
|
37262
37570
|
"text": "LyraChartValueFormatter | undefined"
|
|
37263
37571
|
},
|
|
37264
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
37572
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
37265
37573
|
"inheritedFrom": {
|
|
37266
37574
|
"name": "LyraChart",
|
|
37267
37575
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -37819,6 +38127,28 @@
|
|
|
37819
38127
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
37820
38128
|
}
|
|
37821
38129
|
},
|
|
38130
|
+
{
|
|
38131
|
+
"kind": "method",
|
|
38132
|
+
"name": "formatTableValue",
|
|
38133
|
+
"privacy": "private",
|
|
38134
|
+
"return": {
|
|
38135
|
+
"type": {
|
|
38136
|
+
"text": "string"
|
|
38137
|
+
}
|
|
38138
|
+
},
|
|
38139
|
+
"parameters": [
|
|
38140
|
+
{
|
|
38141
|
+
"name": "value",
|
|
38142
|
+
"type": {
|
|
38143
|
+
"text": "number"
|
|
38144
|
+
}
|
|
38145
|
+
}
|
|
38146
|
+
],
|
|
38147
|
+
"inheritedFrom": {
|
|
38148
|
+
"name": "LyraChart",
|
|
38149
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
38150
|
+
}
|
|
38151
|
+
},
|
|
37822
38152
|
{
|
|
37823
38153
|
"kind": "method",
|
|
37824
38154
|
"name": "formatValue",
|
|
@@ -38226,6 +38556,48 @@
|
|
|
38226
38556
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
38227
38557
|
}
|
|
38228
38558
|
},
|
|
38559
|
+
{
|
|
38560
|
+
"kind": "method",
|
|
38561
|
+
"name": "tableStackAxes",
|
|
38562
|
+
"privacy": "private",
|
|
38563
|
+
"return": {
|
|
38564
|
+
"type": {
|
|
38565
|
+
"text": "('y' | 'y2')[]"
|
|
38566
|
+
}
|
|
38567
|
+
},
|
|
38568
|
+
"inheritedFrom": {
|
|
38569
|
+
"name": "LyraChart",
|
|
38570
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
38571
|
+
}
|
|
38572
|
+
},
|
|
38573
|
+
{
|
|
38574
|
+
"kind": "method",
|
|
38575
|
+
"name": "tableStackTotalLabel",
|
|
38576
|
+
"privacy": "private",
|
|
38577
|
+
"return": {
|
|
38578
|
+
"type": {
|
|
38579
|
+
"text": "string"
|
|
38580
|
+
}
|
|
38581
|
+
},
|
|
38582
|
+
"parameters": [
|
|
38583
|
+
{
|
|
38584
|
+
"name": "axis",
|
|
38585
|
+
"type": {
|
|
38586
|
+
"text": "'y' | 'y2'"
|
|
38587
|
+
}
|
|
38588
|
+
},
|
|
38589
|
+
{
|
|
38590
|
+
"name": "axisCount",
|
|
38591
|
+
"type": {
|
|
38592
|
+
"text": "number"
|
|
38593
|
+
}
|
|
38594
|
+
}
|
|
38595
|
+
],
|
|
38596
|
+
"inheritedFrom": {
|
|
38597
|
+
"name": "LyraChart",
|
|
38598
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
38599
|
+
}
|
|
38600
|
+
},
|
|
38229
38601
|
{
|
|
38230
38602
|
"kind": "method",
|
|
38231
38603
|
"name": "themeColors",
|
|
@@ -38614,7 +38986,7 @@
|
|
|
38614
38986
|
"text": "boolean"
|
|
38615
38987
|
},
|
|
38616
38988
|
"default": "false",
|
|
38617
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
38989
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
38618
38990
|
"fieldName": "stackTotals",
|
|
38619
38991
|
"inheritedFrom": {
|
|
38620
38992
|
"name": "LyraChart",
|
|
@@ -38755,7 +39127,7 @@
|
|
|
38755
39127
|
"declarations": [
|
|
38756
39128
|
{
|
|
38757
39129
|
"kind": "class",
|
|
38758
|
-
"description": "`<lr-lite-chart>` — a dependency-free bar/line chart, plain SVG/DOM\nrendering with zero peer dependencies (unlike `lr-chart`, which wraps\n`chart.js`). For a project whose architecture forbids a charting\ndependency outright, this covers the common bar/line case: grouped or\nstacked bars, multi-series lines, per-point click, and hover tooltips\n(native SVG `<title>`, no positioning JS needed) — not a full `lr-chart`\nreplacement (no zoom/pan, no pie/doughnut/radar/scatter/bubble types, no\nhorizontal/dual-y-axis, no raw-config passthrough).\n\nBecause this renders real DOM (not canvas), it reuses `lr-chart`'s\n`--lr-chart-*` theme tokens directly via CSS `var()` — no\n`getComputedStyle()`-based re-theming step is needed the way `chart.ts`\nneeds one for its canvas.\n\nBy default (`layout=\"fit\"`) the plot always squeezes to the measured host\nwidth. Three independent, opt-in escape hatches for dense/aligned data:\n`layout=\"scroll\"` (+ `barWidth`) gives every bar a fixed pixel width and\nlets the plot overflow the host horizontally (scrollable) instead of\nsqueezing; `maxLabels` decimates which x-axis text labels render (bars\nalways still render) once there are more categories than that; and\n`barX` lets a consumer hand in its own per-category x-coordinate function\n— e.g. to pixel-align this chart's bars with a sibling `lr-heatmap`'s\ncalendar columns — overriding the internal slot math for both bars and\ntheir labels. All three are additive and no-ops when left unset.\n\nSeven further additive, opt-in properties: `pointText` overrides the\nper-bar/per-point `<title>`/`aria-label` tooltip text (mirrors\n`lr-heatmap`'s `cellText` hook), falling back to the built-in raw-value\ntemplate when unset; `roundedBars` draws bars as a rounded-top path\ninstead of a square-cornered rect; `skipZero` omits a bar entirely (not\njust zero-height) for an exactly-`0` value; `padLeft`/`barGapRatio`\noverride the internal `PAD_LEFT`/`BAR_GROUP_GAP` layout constants; `scale`\n(`type=\"bar\"` only) switches the bar-height mapping from the default\nlinear `niceDomain` fraction to a `Math.sqrt(value / domainMax)`\ncompression (mirroring `lr-heatmap`'s matrix-mode `sqrt` scale) so a\nskewed dataset's smaller bars don't get washed out by one dominant value\n— gridlines/tick labels stay on the linear domain regardless, only the bar\nmarks' own height changes, and `type=\"line\"` ignores `scale` entirely; and\n`hideAxis` suppresses `renderGrid()`'s gridlines/tick labels altogether\n(x-axis category labels, rendered separately, are unaffected). An eighth,\n`legendText`, appends a formatter-supplied string after each series' label in the\nbuilt-in legend row (e.g. a value or share) — no-op while `legend` is unset, matching the same\nfallback-to-unchanged convention as every other hook here
|
|
39130
|
+
"description": "`<lr-lite-chart>` — a dependency-free bar/line chart, plain SVG/DOM\nrendering with zero peer dependencies (unlike `lr-chart`, which wraps\n`chart.js`). For a project whose architecture forbids a charting\ndependency outright, this covers the common bar/line case: grouped or\nstacked bars, multi-series lines, per-point click, and hover tooltips\n(native SVG `<title>`, no positioning JS needed) — not a full `lr-chart`\nreplacement (no zoom/pan, no pie/doughnut/radar/scatter/bubble types, no\nhorizontal/dual-y-axis, no raw-config passthrough).\n\nBecause this renders real DOM (not canvas), it reuses `lr-chart`'s\n`--lr-chart-*` theme tokens directly via CSS `var()` — no\n`getComputedStyle()`-based re-theming step is needed the way `chart.ts`\nneeds one for its canvas.\n\nBy default (`layout=\"fit\"`) the plot always squeezes to the measured host\nwidth. Three independent, opt-in escape hatches for dense/aligned data:\n`layout=\"scroll\"` (+ `barWidth`) gives every bar a fixed pixel width and\nlets the plot overflow the host horizontally (scrollable) instead of\nsqueezing; `maxLabels` decimates which x-axis text labels render (bars\nalways still render) once there are more categories than that; and\n`barX` lets a consumer hand in its own per-category x-coordinate function\n— e.g. to pixel-align this chart's bars with a sibling `lr-heatmap`'s\ncalendar columns — overriding the internal slot math for both bars and\ntheir labels. All three are additive and no-ops when left unset.\n\nSeven further additive, opt-in properties: `pointText` overrides the\nper-bar/per-point `<title>`/`aria-label` tooltip text (mirrors\n`lr-heatmap`'s `cellText` hook), falling back to the built-in raw-value\ntemplate when unset; `roundedBars` draws bars as a rounded-top path\ninstead of a square-cornered rect; `skipZero` omits a bar entirely (not\njust zero-height) for an exactly-`0` value; `padLeft`/`barGapRatio`\noverride the internal `PAD_LEFT`/`BAR_GROUP_GAP` layout constants; `scale`\n(`type=\"bar\"` only) switches the bar-height mapping from the default\nlinear `niceDomain` fraction to a `Math.sqrt(value / domainMax)`\ncompression (mirroring `lr-heatmap`'s matrix-mode `sqrt` scale) so a\nskewed dataset's smaller bars don't get washed out by one dominant value\n— gridlines/tick labels stay on the linear domain regardless, only the bar\nmarks' own height changes, and `type=\"line\"` ignores `scale` entirely; and\n`hideAxis` suppresses `renderGrid()`'s gridlines/tick labels altogether\n(x-axis category labels, rendered separately, are unaffected). An eighth,\n`legendText`, appends a formatter-supplied string after each series' label in the\nbuilt-in legend row (e.g. a value or share) — no-op while `legend` is unset, matching the same\nfallback-to-unchanged convention as every other hook here. The built-in multi-series accessible\ntable can independently format its finite numeric cells through `tableCellFormatter`; for a\nstacked bar chart, `tableTotals` adds an opt-in localized total column. Both are no-ops when\nunset.",
|
|
38759
39131
|
"name": "LyraLiteChart",
|
|
38760
39132
|
"cssProperties": [
|
|
38761
39133
|
{
|
|
@@ -39202,6 +39574,24 @@
|
|
|
39202
39574
|
},
|
|
39203
39575
|
"privacy": "private"
|
|
39204
39576
|
},
|
|
39577
|
+
{
|
|
39578
|
+
"kind": "field",
|
|
39579
|
+
"name": "tableCellFormatter",
|
|
39580
|
+
"type": {
|
|
39581
|
+
"text": "LyraLiteChartTableCellFormatter | undefined"
|
|
39582
|
+
},
|
|
39583
|
+
"description": "Formats finite numeric cells in the built-in multi-series accessible table, including its\nopt-in total cells. Unset preserves locale-aware number formatting."
|
|
39584
|
+
},
|
|
39585
|
+
{
|
|
39586
|
+
"kind": "field",
|
|
39587
|
+
"name": "tableTotals",
|
|
39588
|
+
"type": {
|
|
39589
|
+
"text": "boolean"
|
|
39590
|
+
},
|
|
39591
|
+
"default": "false",
|
|
39592
|
+
"description": "Adds a localized total column to the built-in multi-series accessible table for a stacked\nbar chart. Ignored for grouped bars and line charts.",
|
|
39593
|
+
"attribute": "table-totals"
|
|
39594
|
+
},
|
|
39205
39595
|
{
|
|
39206
39596
|
"kind": "field",
|
|
39207
39597
|
"name": "tickFormat",
|
|
@@ -39494,6 +39884,36 @@
|
|
|
39494
39884
|
}
|
|
39495
39885
|
]
|
|
39496
39886
|
},
|
|
39887
|
+
{
|
|
39888
|
+
"kind": "method",
|
|
39889
|
+
"name": "formatTableCell",
|
|
39890
|
+
"privacy": "private",
|
|
39891
|
+
"return": {
|
|
39892
|
+
"type": {
|
|
39893
|
+
"text": "string"
|
|
39894
|
+
}
|
|
39895
|
+
},
|
|
39896
|
+
"parameters": [
|
|
39897
|
+
{
|
|
39898
|
+
"name": "value",
|
|
39899
|
+
"type": {
|
|
39900
|
+
"text": "number"
|
|
39901
|
+
}
|
|
39902
|
+
},
|
|
39903
|
+
{
|
|
39904
|
+
"name": "context",
|
|
39905
|
+
"type": {
|
|
39906
|
+
"text": "LyraLiteChartTableCellContext"
|
|
39907
|
+
}
|
|
39908
|
+
},
|
|
39909
|
+
{
|
|
39910
|
+
"name": "numberFormat",
|
|
39911
|
+
"type": {
|
|
39912
|
+
"text": "Intl.NumberFormat"
|
|
39913
|
+
}
|
|
39914
|
+
}
|
|
39915
|
+
]
|
|
39916
|
+
},
|
|
39497
39917
|
{
|
|
39498
39918
|
"kind": "method",
|
|
39499
39919
|
"name": "interactiveMarks",
|
|
@@ -39929,6 +40349,24 @@
|
|
|
39929
40349
|
"module": "src/internal/lyra-element.ts"
|
|
39930
40350
|
}
|
|
39931
40351
|
},
|
|
40352
|
+
{
|
|
40353
|
+
"kind": "method",
|
|
40354
|
+
"name": "tableTotalAt",
|
|
40355
|
+
"privacy": "private",
|
|
40356
|
+
"return": {
|
|
40357
|
+
"type": {
|
|
40358
|
+
"text": "number | null"
|
|
40359
|
+
}
|
|
40360
|
+
},
|
|
40361
|
+
"parameters": [
|
|
40362
|
+
{
|
|
40363
|
+
"name": "index",
|
|
40364
|
+
"type": {
|
|
40365
|
+
"text": "number"
|
|
40366
|
+
}
|
|
40367
|
+
}
|
|
40368
|
+
]
|
|
40369
|
+
},
|
|
39932
40370
|
{
|
|
39933
40371
|
"kind": "method",
|
|
39934
40372
|
"name": "visibleLabelIndexes",
|
|
@@ -40096,6 +40534,15 @@
|
|
|
40096
40534
|
"description": "Stacks each category's bars into one segmented bar. Ignored for `type=\"line\"`.",
|
|
40097
40535
|
"fieldName": "stacked"
|
|
40098
40536
|
},
|
|
40537
|
+
{
|
|
40538
|
+
"name": "table-totals",
|
|
40539
|
+
"type": {
|
|
40540
|
+
"text": "boolean"
|
|
40541
|
+
},
|
|
40542
|
+
"default": "false",
|
|
40543
|
+
"description": "Adds a localized total column to the built-in multi-series accessible table for a stacked\nbar chart. Ignored for grouped bars and line charts.",
|
|
40544
|
+
"fieldName": "tableTotals"
|
|
40545
|
+
},
|
|
40099
40546
|
{
|
|
40100
40547
|
"name": "type",
|
|
40101
40548
|
"type": {
|
|
@@ -40702,7 +41149,7 @@
|
|
|
40702
41149
|
"text": "boolean"
|
|
40703
41150
|
},
|
|
40704
41151
|
"default": "false",
|
|
40705
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
41152
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
40706
41153
|
"attribute": "stack-totals",
|
|
40707
41154
|
"inheritedFrom": {
|
|
40708
41155
|
"name": "LyraChart",
|
|
@@ -40780,7 +41227,7 @@
|
|
|
40780
41227
|
"type": {
|
|
40781
41228
|
"text": "LyraChartValueFormatter | undefined"
|
|
40782
41229
|
},
|
|
40783
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
41230
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
40784
41231
|
"inheritedFrom": {
|
|
40785
41232
|
"name": "LyraChart",
|
|
40786
41233
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -41338,6 +41785,28 @@
|
|
|
41338
41785
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
41339
41786
|
}
|
|
41340
41787
|
},
|
|
41788
|
+
{
|
|
41789
|
+
"kind": "method",
|
|
41790
|
+
"name": "formatTableValue",
|
|
41791
|
+
"privacy": "private",
|
|
41792
|
+
"return": {
|
|
41793
|
+
"type": {
|
|
41794
|
+
"text": "string"
|
|
41795
|
+
}
|
|
41796
|
+
},
|
|
41797
|
+
"parameters": [
|
|
41798
|
+
{
|
|
41799
|
+
"name": "value",
|
|
41800
|
+
"type": {
|
|
41801
|
+
"text": "number"
|
|
41802
|
+
}
|
|
41803
|
+
}
|
|
41804
|
+
],
|
|
41805
|
+
"inheritedFrom": {
|
|
41806
|
+
"name": "LyraChart",
|
|
41807
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
41808
|
+
}
|
|
41809
|
+
},
|
|
41341
41810
|
{
|
|
41342
41811
|
"kind": "method",
|
|
41343
41812
|
"name": "formatValue",
|
|
@@ -41745,6 +42214,48 @@
|
|
|
41745
42214
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
41746
42215
|
}
|
|
41747
42216
|
},
|
|
42217
|
+
{
|
|
42218
|
+
"kind": "method",
|
|
42219
|
+
"name": "tableStackAxes",
|
|
42220
|
+
"privacy": "private",
|
|
42221
|
+
"return": {
|
|
42222
|
+
"type": {
|
|
42223
|
+
"text": "('y' | 'y2')[]"
|
|
42224
|
+
}
|
|
42225
|
+
},
|
|
42226
|
+
"inheritedFrom": {
|
|
42227
|
+
"name": "LyraChart",
|
|
42228
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
42229
|
+
}
|
|
42230
|
+
},
|
|
42231
|
+
{
|
|
42232
|
+
"kind": "method",
|
|
42233
|
+
"name": "tableStackTotalLabel",
|
|
42234
|
+
"privacy": "private",
|
|
42235
|
+
"return": {
|
|
42236
|
+
"type": {
|
|
42237
|
+
"text": "string"
|
|
42238
|
+
}
|
|
42239
|
+
},
|
|
42240
|
+
"parameters": [
|
|
42241
|
+
{
|
|
42242
|
+
"name": "axis",
|
|
42243
|
+
"type": {
|
|
42244
|
+
"text": "'y' | 'y2'"
|
|
42245
|
+
}
|
|
42246
|
+
},
|
|
42247
|
+
{
|
|
42248
|
+
"name": "axisCount",
|
|
42249
|
+
"type": {
|
|
42250
|
+
"text": "number"
|
|
42251
|
+
}
|
|
42252
|
+
}
|
|
42253
|
+
],
|
|
42254
|
+
"inheritedFrom": {
|
|
42255
|
+
"name": "LyraChart",
|
|
42256
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
42257
|
+
}
|
|
42258
|
+
},
|
|
41748
42259
|
{
|
|
41749
42260
|
"kind": "method",
|
|
41750
42261
|
"name": "themeColors",
|
|
@@ -42133,7 +42644,7 @@
|
|
|
42133
42644
|
"text": "boolean"
|
|
42134
42645
|
},
|
|
42135
42646
|
"default": "false",
|
|
42136
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
42647
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
42137
42648
|
"fieldName": "stackTotals",
|
|
42138
42649
|
"inheritedFrom": {
|
|
42139
42650
|
"name": "LyraChart",
|
|
@@ -42807,7 +43318,7 @@
|
|
|
42807
43318
|
"text": "boolean"
|
|
42808
43319
|
},
|
|
42809
43320
|
"default": "false",
|
|
42810
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
43321
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
42811
43322
|
"attribute": "stack-totals",
|
|
42812
43323
|
"inheritedFrom": {
|
|
42813
43324
|
"name": "LyraChart",
|
|
@@ -42885,7 +43396,7 @@
|
|
|
42885
43396
|
"type": {
|
|
42886
43397
|
"text": "LyraChartValueFormatter | undefined"
|
|
42887
43398
|
},
|
|
42888
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
43399
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
42889
43400
|
"inheritedFrom": {
|
|
42890
43401
|
"name": "LyraChart",
|
|
42891
43402
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -43443,6 +43954,28 @@
|
|
|
43443
43954
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
43444
43955
|
}
|
|
43445
43956
|
},
|
|
43957
|
+
{
|
|
43958
|
+
"kind": "method",
|
|
43959
|
+
"name": "formatTableValue",
|
|
43960
|
+
"privacy": "private",
|
|
43961
|
+
"return": {
|
|
43962
|
+
"type": {
|
|
43963
|
+
"text": "string"
|
|
43964
|
+
}
|
|
43965
|
+
},
|
|
43966
|
+
"parameters": [
|
|
43967
|
+
{
|
|
43968
|
+
"name": "value",
|
|
43969
|
+
"type": {
|
|
43970
|
+
"text": "number"
|
|
43971
|
+
}
|
|
43972
|
+
}
|
|
43973
|
+
],
|
|
43974
|
+
"inheritedFrom": {
|
|
43975
|
+
"name": "LyraChart",
|
|
43976
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
43977
|
+
}
|
|
43978
|
+
},
|
|
43446
43979
|
{
|
|
43447
43980
|
"kind": "method",
|
|
43448
43981
|
"name": "formatValue",
|
|
@@ -43850,6 +44383,48 @@
|
|
|
43850
44383
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
43851
44384
|
}
|
|
43852
44385
|
},
|
|
44386
|
+
{
|
|
44387
|
+
"kind": "method",
|
|
44388
|
+
"name": "tableStackAxes",
|
|
44389
|
+
"privacy": "private",
|
|
44390
|
+
"return": {
|
|
44391
|
+
"type": {
|
|
44392
|
+
"text": "('y' | 'y2')[]"
|
|
44393
|
+
}
|
|
44394
|
+
},
|
|
44395
|
+
"inheritedFrom": {
|
|
44396
|
+
"name": "LyraChart",
|
|
44397
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
44398
|
+
}
|
|
44399
|
+
},
|
|
44400
|
+
{
|
|
44401
|
+
"kind": "method",
|
|
44402
|
+
"name": "tableStackTotalLabel",
|
|
44403
|
+
"privacy": "private",
|
|
44404
|
+
"return": {
|
|
44405
|
+
"type": {
|
|
44406
|
+
"text": "string"
|
|
44407
|
+
}
|
|
44408
|
+
},
|
|
44409
|
+
"parameters": [
|
|
44410
|
+
{
|
|
44411
|
+
"name": "axis",
|
|
44412
|
+
"type": {
|
|
44413
|
+
"text": "'y' | 'y2'"
|
|
44414
|
+
}
|
|
44415
|
+
},
|
|
44416
|
+
{
|
|
44417
|
+
"name": "axisCount",
|
|
44418
|
+
"type": {
|
|
44419
|
+
"text": "number"
|
|
44420
|
+
}
|
|
44421
|
+
}
|
|
44422
|
+
],
|
|
44423
|
+
"inheritedFrom": {
|
|
44424
|
+
"name": "LyraChart",
|
|
44425
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
44426
|
+
}
|
|
44427
|
+
},
|
|
43853
44428
|
{
|
|
43854
44429
|
"kind": "method",
|
|
43855
44430
|
"name": "themeColors",
|
|
@@ -44238,7 +44813,7 @@
|
|
|
44238
44813
|
"text": "boolean"
|
|
44239
44814
|
},
|
|
44240
44815
|
"default": "false",
|
|
44241
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
44816
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
44242
44817
|
"fieldName": "stackTotals",
|
|
44243
44818
|
"inheritedFrom": {
|
|
44244
44819
|
"name": "LyraChart",
|
|
@@ -44912,7 +45487,7 @@
|
|
|
44912
45487
|
"text": "boolean"
|
|
44913
45488
|
},
|
|
44914
45489
|
"default": "false",
|
|
44915
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
45490
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
44916
45491
|
"attribute": "stack-totals",
|
|
44917
45492
|
"inheritedFrom": {
|
|
44918
45493
|
"name": "LyraChart",
|
|
@@ -44990,7 +45565,7 @@
|
|
|
44990
45565
|
"type": {
|
|
44991
45566
|
"text": "LyraChartValueFormatter | undefined"
|
|
44992
45567
|
},
|
|
44993
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
45568
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
44994
45569
|
"inheritedFrom": {
|
|
44995
45570
|
"name": "LyraChart",
|
|
44996
45571
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -45548,6 +46123,28 @@
|
|
|
45548
46123
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
45549
46124
|
}
|
|
45550
46125
|
},
|
|
46126
|
+
{
|
|
46127
|
+
"kind": "method",
|
|
46128
|
+
"name": "formatTableValue",
|
|
46129
|
+
"privacy": "private",
|
|
46130
|
+
"return": {
|
|
46131
|
+
"type": {
|
|
46132
|
+
"text": "string"
|
|
46133
|
+
}
|
|
46134
|
+
},
|
|
46135
|
+
"parameters": [
|
|
46136
|
+
{
|
|
46137
|
+
"name": "value",
|
|
46138
|
+
"type": {
|
|
46139
|
+
"text": "number"
|
|
46140
|
+
}
|
|
46141
|
+
}
|
|
46142
|
+
],
|
|
46143
|
+
"inheritedFrom": {
|
|
46144
|
+
"name": "LyraChart",
|
|
46145
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
46146
|
+
}
|
|
46147
|
+
},
|
|
45551
46148
|
{
|
|
45552
46149
|
"kind": "method",
|
|
45553
46150
|
"name": "formatValue",
|
|
@@ -45955,6 +46552,48 @@
|
|
|
45955
46552
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
45956
46553
|
}
|
|
45957
46554
|
},
|
|
46555
|
+
{
|
|
46556
|
+
"kind": "method",
|
|
46557
|
+
"name": "tableStackAxes",
|
|
46558
|
+
"privacy": "private",
|
|
46559
|
+
"return": {
|
|
46560
|
+
"type": {
|
|
46561
|
+
"text": "('y' | 'y2')[]"
|
|
46562
|
+
}
|
|
46563
|
+
},
|
|
46564
|
+
"inheritedFrom": {
|
|
46565
|
+
"name": "LyraChart",
|
|
46566
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
46567
|
+
}
|
|
46568
|
+
},
|
|
46569
|
+
{
|
|
46570
|
+
"kind": "method",
|
|
46571
|
+
"name": "tableStackTotalLabel",
|
|
46572
|
+
"privacy": "private",
|
|
46573
|
+
"return": {
|
|
46574
|
+
"type": {
|
|
46575
|
+
"text": "string"
|
|
46576
|
+
}
|
|
46577
|
+
},
|
|
46578
|
+
"parameters": [
|
|
46579
|
+
{
|
|
46580
|
+
"name": "axis",
|
|
46581
|
+
"type": {
|
|
46582
|
+
"text": "'y' | 'y2'"
|
|
46583
|
+
}
|
|
46584
|
+
},
|
|
46585
|
+
{
|
|
46586
|
+
"name": "axisCount",
|
|
46587
|
+
"type": {
|
|
46588
|
+
"text": "number"
|
|
46589
|
+
}
|
|
46590
|
+
}
|
|
46591
|
+
],
|
|
46592
|
+
"inheritedFrom": {
|
|
46593
|
+
"name": "LyraChart",
|
|
46594
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
46595
|
+
}
|
|
46596
|
+
},
|
|
45958
46597
|
{
|
|
45959
46598
|
"kind": "method",
|
|
45960
46599
|
"name": "themeColors",
|
|
@@ -46343,7 +46982,7 @@
|
|
|
46343
46982
|
"text": "boolean"
|
|
46344
46983
|
},
|
|
46345
46984
|
"default": "false",
|
|
46346
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
46985
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
46347
46986
|
"fieldName": "stackTotals",
|
|
46348
46987
|
"inheritedFrom": {
|
|
46349
46988
|
"name": "LyraChart",
|
|
@@ -47017,7 +47656,7 @@
|
|
|
47017
47656
|
"text": "boolean"
|
|
47018
47657
|
},
|
|
47019
47658
|
"default": "false",
|
|
47020
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
47659
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
47021
47660
|
"attribute": "stack-totals",
|
|
47022
47661
|
"inheritedFrom": {
|
|
47023
47662
|
"name": "LyraChart",
|
|
@@ -47095,7 +47734,7 @@
|
|
|
47095
47734
|
"type": {
|
|
47096
47735
|
"text": "LyraChartValueFormatter | undefined"
|
|
47097
47736
|
},
|
|
47098
|
-
"description": "Formats numeric (value-axis) ticks, tooltip values,
|
|
47737
|
+
"description": "Formats numeric (value-axis) ticks, tooltip values, legend values, and generated accessible\ntable cells from one callback.\nNever runs against the categorical x-axis's own labels (line/bar's `labels` strings) —\nChart.js's category scale passes the tick index to `ticks.callback`, not the label text,\nso formatting it would corrupt the axis.",
|
|
47099
47738
|
"inheritedFrom": {
|
|
47100
47739
|
"name": "LyraChart",
|
|
47101
47740
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
@@ -47653,6 +48292,28 @@
|
|
|
47653
48292
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
47654
48293
|
}
|
|
47655
48294
|
},
|
|
48295
|
+
{
|
|
48296
|
+
"kind": "method",
|
|
48297
|
+
"name": "formatTableValue",
|
|
48298
|
+
"privacy": "private",
|
|
48299
|
+
"return": {
|
|
48300
|
+
"type": {
|
|
48301
|
+
"text": "string"
|
|
48302
|
+
}
|
|
48303
|
+
},
|
|
48304
|
+
"parameters": [
|
|
48305
|
+
{
|
|
48306
|
+
"name": "value",
|
|
48307
|
+
"type": {
|
|
48308
|
+
"text": "number"
|
|
48309
|
+
}
|
|
48310
|
+
}
|
|
48311
|
+
],
|
|
48312
|
+
"inheritedFrom": {
|
|
48313
|
+
"name": "LyraChart",
|
|
48314
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
48315
|
+
}
|
|
48316
|
+
},
|
|
47656
48317
|
{
|
|
47657
48318
|
"kind": "method",
|
|
47658
48319
|
"name": "formatValue",
|
|
@@ -48060,6 +48721,48 @@
|
|
|
48060
48721
|
"module": "src/components/charts/chart/chart.class.ts"
|
|
48061
48722
|
}
|
|
48062
48723
|
},
|
|
48724
|
+
{
|
|
48725
|
+
"kind": "method",
|
|
48726
|
+
"name": "tableStackAxes",
|
|
48727
|
+
"privacy": "private",
|
|
48728
|
+
"return": {
|
|
48729
|
+
"type": {
|
|
48730
|
+
"text": "('y' | 'y2')[]"
|
|
48731
|
+
}
|
|
48732
|
+
},
|
|
48733
|
+
"inheritedFrom": {
|
|
48734
|
+
"name": "LyraChart",
|
|
48735
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
48736
|
+
}
|
|
48737
|
+
},
|
|
48738
|
+
{
|
|
48739
|
+
"kind": "method",
|
|
48740
|
+
"name": "tableStackTotalLabel",
|
|
48741
|
+
"privacy": "private",
|
|
48742
|
+
"return": {
|
|
48743
|
+
"type": {
|
|
48744
|
+
"text": "string"
|
|
48745
|
+
}
|
|
48746
|
+
},
|
|
48747
|
+
"parameters": [
|
|
48748
|
+
{
|
|
48749
|
+
"name": "axis",
|
|
48750
|
+
"type": {
|
|
48751
|
+
"text": "'y' | 'y2'"
|
|
48752
|
+
}
|
|
48753
|
+
},
|
|
48754
|
+
{
|
|
48755
|
+
"name": "axisCount",
|
|
48756
|
+
"type": {
|
|
48757
|
+
"text": "number"
|
|
48758
|
+
}
|
|
48759
|
+
}
|
|
48760
|
+
],
|
|
48761
|
+
"inheritedFrom": {
|
|
48762
|
+
"name": "LyraChart",
|
|
48763
|
+
"module": "src/components/charts/chart/chart.class.ts"
|
|
48764
|
+
}
|
|
48765
|
+
},
|
|
48063
48766
|
{
|
|
48064
48767
|
"kind": "method",
|
|
48065
48768
|
"name": "themeColors",
|
|
@@ -48448,7 +49151,7 @@
|
|
|
48448
49151
|
"text": "boolean"
|
|
48449
49152
|
},
|
|
48450
49153
|
"default": "false",
|
|
48451
|
-
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. Unset (the
|
|
49154
|
+
"description": "When the chart is `stacked` (bar/line only), draws the per-category stack\ntotal above each stack, via the same optional `chartjs-plugin-datalabels`\npeer as `data-labels`. Null/undefined points are skipped; a category whose\nevery value is null shows no total. The generated accessible data table\nreceives the same formatted total column (one per value axis). Unset (the\ndefault) draws and adds nothing.",
|
|
48452
49155
|
"fieldName": "stackTotals",
|
|
48453
49156
|
"inheritedFrom": {
|
|
48454
49157
|
"name": "LyraChart",
|
|
@@ -100165,7 +100868,7 @@
|
|
|
100165
100868
|
"declarations": [
|
|
100166
100869
|
{
|
|
100167
100870
|
"kind": "class",
|
|
100168
|
-
"description": "`<lr-button>` — a generic action-button primitive. Renders an internal native\n`<button part=\"base\">`. `type=\"submit\"`/`type=\"reset\"`\nare handled by this component itself via the host's own `closest('form')` — a shadow-internal\nnative `<button type=\"submit\">` does not participate in an ancestor light-DOM form's submission\non its own, since form-submitter semantics don't cross the shadow boundary.\n\nWhen `href` is set to a safe link URL (`http:`/`https:`/`blob:`/`mailto:`/relative — see\n`safeLinkHref`, or `safeDownloadHref` which drops `mailto:` when `download` is set) the root\nrenders as a real `<a part=\"base\" href=…>` instead — for a link styled\nas a button (e.g. a CTA). Native navigation is then the anchor's own activation, so the\nsubmit/reset click handler and `type` (submit/reset) have no effect in that mode. When the\nbutton is disabled (its own `disabled` or an ancestor `<fieldset disabled>`) the anchor renders\nwith `aria-disabled=\"true\"` and **no `href`** — an href-less anchor is not focusable or\nnavigable, so a disabled link button genuinely cannot be activated (unlike a bare\n`aria-disabled` on a still-navigable link). An unsafe/unparseable `href` falls back to the\nnative `<button>`.\n\n`accessibleLabel` (attribute `aria-label`) is forwarded reactively to the internal button/anchor\nas a literal string (for an icon-only button with no visible label)
|
|
100871
|
+
"description": "`<lr-button>` — a generic action-button primitive. Renders an internal native\n`<button part=\"base\">`. `type=\"submit\"`/`type=\"reset\"`\nare handled by this component itself via the host's own `closest('form')` — a shadow-internal\nnative `<button type=\"submit\">` does not participate in an ancestor light-DOM form's submission\non its own, since form-submitter semantics don't cross the shadow boundary.\n\nWhen `href` is set to a safe link URL (`http:`/`https:`/`blob:`/`mailto:`/relative — see\n`safeLinkHref`, or `safeDownloadHref` which drops `mailto:` when `download` is set) the root\nrenders as a real `<a part=\"base\" href=…>` instead — for a link styled\nas a button (e.g. a CTA). Native navigation is then the anchor's own activation, so the\nsubmit/reset click handler and `type` (submit/reset) have no effect in that mode. When the\nbutton is disabled (its own `disabled` or an ancestor `<fieldset disabled>`) the anchor renders\nwith `aria-disabled=\"true\"` and **no `href`** — an href-less anchor is not focusable or\nnavigable, so a disabled link button genuinely cannot be activated (unlike a bare\n`aria-disabled` on a still-navigable link). An unsafe/unparseable `href` falls back to the\nnative `<button>`.\n\n`accessibleLabel` (attribute `aria-label`) is forwarded reactively to the internal button/anchor\nas a literal string (for an icon-only button with no visible label). Host `aria-describedby`\nIDREFs are resolved through `ariaDescribedByElements`; external `aria-labelledby` is not copied\nacross the shadow boundary.\nHost `aria-haspopup` and `aria-expanded` values are likewise forwarded to the internal semantic\ncontrol. When host `aria-controls` names elements in the host's own root, the controls\nrelationship is resolved onto the internal control through the reflected element-reference API\nso it remains valid across this component's shadow boundary. Assigning that relationship\nintentionally clears the serialized `aria-controls` value; read `ariaControlsElements` in a\nsupporting browser. Browsers without that API retain the forwarded string attribute as a\nbest-effort fallback.",
|
|
100169
100872
|
"name": "LyraButton",
|
|
100170
100873
|
"cssProperties": [
|
|
100171
100874
|
{
|
|
@@ -100487,6 +101190,15 @@
|
|
|
100487
101190
|
"default": "false",
|
|
100488
101191
|
"description": "Whether the `start`/`end` slots have assigned content. Drives `?hidden` on the adornment\nwrappers so an unslotted wrapper collapses to `display: none` instead of contributing a dead\n`--lr-button-gap` of inline space (a bare `<slot>` is an element child, so a `:empty` rule\ncould never match it). Seeded synchronously in `willUpdate` before the first paint, then kept\ncurrent by each slot's `slotchange` — mirrors `<lr-input>`'s identical pattern."
|
|
100489
101192
|
},
|
|
101193
|
+
{
|
|
101194
|
+
"kind": "field",
|
|
101195
|
+
"name": "hasSyncedDescribedByElements",
|
|
101196
|
+
"type": {
|
|
101197
|
+
"text": "boolean"
|
|
101198
|
+
},
|
|
101199
|
+
"privacy": "private",
|
|
101200
|
+
"default": "false"
|
|
101201
|
+
},
|
|
100490
101202
|
{
|
|
100491
101203
|
"kind": "field",
|
|
100492
101204
|
"name": "href",
|
|
@@ -100629,6 +101341,16 @@
|
|
|
100629
101341
|
"default": "null",
|
|
100630
101342
|
"attribute": "aria-controls"
|
|
100631
101343
|
},
|
|
101344
|
+
{
|
|
101345
|
+
"kind": "field",
|
|
101346
|
+
"name": "triggerDescribedBy",
|
|
101347
|
+
"type": {
|
|
101348
|
+
"text": "string | null"
|
|
101349
|
+
},
|
|
101350
|
+
"privacy": "private",
|
|
101351
|
+
"default": "null",
|
|
101352
|
+
"attribute": "aria-describedby"
|
|
101353
|
+
},
|
|
100632
101354
|
{
|
|
100633
101355
|
"kind": "field",
|
|
100634
101356
|
"name": "triggerExpanded",
|
|
@@ -100918,6 +101640,16 @@
|
|
|
100918
101640
|
"name": "LyraElement",
|
|
100919
101641
|
"module": "src/internal/lyra-element.ts"
|
|
100920
101642
|
}
|
|
101643
|
+
},
|
|
101644
|
+
{
|
|
101645
|
+
"kind": "method",
|
|
101646
|
+
"name": "syncDescribedByElements",
|
|
101647
|
+
"privacy": "private",
|
|
101648
|
+
"return": {
|
|
101649
|
+
"type": {
|
|
101650
|
+
"text": "void"
|
|
101651
|
+
}
|
|
101652
|
+
}
|
|
100921
101653
|
}
|
|
100922
101654
|
],
|
|
100923
101655
|
"attributes": [
|
|
@@ -100938,6 +101670,14 @@
|
|
|
100938
101670
|
"default": "null",
|
|
100939
101671
|
"fieldName": "triggerControls"
|
|
100940
101672
|
},
|
|
101673
|
+
{
|
|
101674
|
+
"name": "aria-describedby",
|
|
101675
|
+
"type": {
|
|
101676
|
+
"text": "string | null"
|
|
101677
|
+
},
|
|
101678
|
+
"default": "null",
|
|
101679
|
+
"fieldName": "triggerDescribedBy"
|
|
101680
|
+
},
|
|
100941
101681
|
{
|
|
100942
101682
|
"name": "aria-expanded",
|
|
100943
101683
|
"type": {
|
|
@@ -102084,7 +102824,7 @@
|
|
|
102084
102824
|
],
|
|
102085
102825
|
"slots": [
|
|
102086
102826
|
{
|
|
102087
|
-
"description": "Label text, rendered next to the box. Clicking it toggles the checkbox, the same as clicking a native checkbox's associated `<label>`. If left empty, set `aria-label` on the host so the control still has an accessible name. A host `aria-describedby` attribute is
|
|
102827
|
+
"description": "Label text, rendered next to the box. Clicking it toggles the checkbox, the same as clicking a native checkbox's associated `<label>`. If left empty, set `aria-label` on the host so the control still has an accessible name. A host `aria-describedby` attribute is resolved onto the internal `role=\"checkbox\"` through `ariaDescribedByElements` so externally-owned descriptions remain valid across the shadow boundary.",
|
|
102088
102828
|
"name": ""
|
|
102089
102829
|
}
|
|
102090
102830
|
],
|
|
@@ -102274,6 +103014,15 @@
|
|
|
102274
103014
|
"privacy": "private",
|
|
102275
103015
|
"default": "false"
|
|
102276
103016
|
},
|
|
103017
|
+
{
|
|
103018
|
+
"kind": "field",
|
|
103019
|
+
"name": "hasSyncedDescribedByElements",
|
|
103020
|
+
"type": {
|
|
103021
|
+
"text": "boolean"
|
|
103022
|
+
},
|
|
103023
|
+
"privacy": "private",
|
|
103024
|
+
"default": "false"
|
|
103025
|
+
},
|
|
102277
103026
|
{
|
|
102278
103027
|
"kind": "field",
|
|
102279
103028
|
"name": "indeterminate",
|
|
@@ -111918,7 +112667,7 @@
|
|
|
111918
112667
|
"declarations": [
|
|
111919
112668
|
{
|
|
111920
112669
|
"kind": "class",
|
|
111921
|
-
"description": "`<lr-icon-button>` — an accessible icon-only action button.\n\nSet `icon` for one of `<lr-icon>`'s named glyphs, or slot your own content instead. Slotted\ncontent is a **sibling** of the built-in glyph rather than being piped through `<lr-icon>`, so\nany complete element — an `<svg>`, an `<img>`, an `<lr-flag>` — renders at its own natural\naspect ratio instead of being forced into a 1:1 box. Bare SVG geometry (`<path>`, `<circle>`,\nand a handful of other raw primitives) with no enclosing `<svg>` of its own is detected and\ncloned into a real, internal SVG-namespaced element so it still paints — the same fallback\n`<lr-icon>`'s own custom-content slot uses, but narrowly scoped so a custom element (e.g. a\nslotted `<lr-flag>`) is never run through it.\n\nHost `aria-haspopup` and `aria-expanded` values are forwarded reactively to the shadow-internal\nnative button.
|
|
112670
|
+
"description": "`<lr-icon-button>` — an accessible icon-only action button.\n\nSet `icon` for one of `<lr-icon>`'s named glyphs, or slot your own content instead. Slotted\ncontent is a **sibling** of the built-in glyph rather than being piped through `<lr-icon>`, so\nany complete element — an `<svg>`, an `<img>`, an `<lr-flag>` — renders at its own natural\naspect ratio instead of being forced into a 1:1 box. Bare SVG geometry (`<path>`, `<circle>`,\nand a handful of other raw primitives) with no enclosing `<svg>` of its own is detected and\ncloned into a real, internal SVG-namespaced element so it still paints — the same fallback\n`<lr-icon>`'s own custom-content slot uses, but narrowly scoped so a custom element (e.g. a\nslotted `<lr-flag>`) is never run through it.\n\nHost `aria-haspopup` and `aria-expanded` values are forwarded reactively to the shadow-internal\nnative button. Host `aria-describedby` IDREFs are resolved through `ariaDescribedByElements`.\nWhen host `aria-controls` names elements in the host's own root, the controls relationship is\nresolved onto that focused control through the reflected element-reference API so it remains\nvalid across this component's shadow boundary. Assigning that relationship intentionally clears\nthe serialized `aria-controls` value; read `ariaControlsElements` in a supporting browser.\nBrowsers without that API retain the forwarded string attribute as a best-effort fallback.\n\nForm-associated (mirroring `<lr-button>`'s identical shape): discoverable through\n`form.elements`, and `type=\"submit\"`/`type=\"reset\"` are handled by this component itself via\nthe host's own `closest('form')` — a shadow-internal native `<button type=\"submit\">` does not\nparticipate in an ancestor light-DOM form's submission on its own, since form-submitter\nsemantics don't cross the shadow boundary.",
|
|
111922
112671
|
"name": "LyraIconButton",
|
|
111923
112672
|
"cssProperties": [
|
|
111924
112673
|
{
|
|
@@ -111955,6 +112704,11 @@
|
|
|
111955
112704
|
"description": "Complete border shorthand of the native button.",
|
|
111956
112705
|
"name": "--lr-icon-button-border",
|
|
111957
112706
|
"default": "0"
|
|
112707
|
+
},
|
|
112708
|
+
{
|
|
112709
|
+
"description": "Complete border shorthand on hover.",
|
|
112710
|
+
"name": "--lr-icon-button-border-hover",
|
|
112711
|
+
"default": "var(--lr-icon-button-border, 0)"
|
|
111958
112712
|
}
|
|
111959
112713
|
],
|
|
111960
112714
|
"cssParts": [
|
|
@@ -112095,6 +112849,15 @@
|
|
|
112095
112849
|
"default": "false",
|
|
112096
112850
|
"description": "Only ever true when `icon` is unset and at least one top-level slotted element is bare SVG\ngeometry with no SVG parent of its own -- see `needsSvgNamespaceFallback`. Mounts the internal\n`[part=\"fallback\"]` SVG, which `updated()` then populates via `syncFallbackGeometry()`."
|
|
112097
112851
|
},
|
|
112852
|
+
{
|
|
112853
|
+
"kind": "field",
|
|
112854
|
+
"name": "hasSyncedDescribedByElements",
|
|
112855
|
+
"type": {
|
|
112856
|
+
"text": "boolean"
|
|
112857
|
+
},
|
|
112858
|
+
"privacy": "private",
|
|
112859
|
+
"default": "false"
|
|
112860
|
+
},
|
|
112098
112861
|
{
|
|
112099
112862
|
"kind": "field",
|
|
112100
112863
|
"name": "icon",
|
|
@@ -112218,6 +112981,16 @@
|
|
|
112218
112981
|
"default": "null",
|
|
112219
112982
|
"attribute": "aria-controls"
|
|
112220
112983
|
},
|
|
112984
|
+
{
|
|
112985
|
+
"kind": "field",
|
|
112986
|
+
"name": "triggerDescribedBy",
|
|
112987
|
+
"type": {
|
|
112988
|
+
"text": "string | null"
|
|
112989
|
+
},
|
|
112990
|
+
"privacy": "private",
|
|
112991
|
+
"default": "null",
|
|
112992
|
+
"attribute": "aria-describedby"
|
|
112993
|
+
},
|
|
112221
112994
|
{
|
|
112222
112995
|
"kind": "field",
|
|
112223
112996
|
"name": "triggerExpanded",
|
|
@@ -112496,6 +113269,16 @@
|
|
|
112496
113269
|
"module": "src/internal/lyra-element.ts"
|
|
112497
113270
|
}
|
|
112498
113271
|
},
|
|
113272
|
+
{
|
|
113273
|
+
"kind": "method",
|
|
113274
|
+
"name": "syncDescribedByElements",
|
|
113275
|
+
"privacy": "private",
|
|
113276
|
+
"return": {
|
|
113277
|
+
"type": {
|
|
113278
|
+
"text": "void"
|
|
113279
|
+
}
|
|
113280
|
+
}
|
|
113281
|
+
},
|
|
112499
113282
|
{
|
|
112500
113283
|
"kind": "method",
|
|
112501
113284
|
"name": "syncFallbackGeometry",
|
|
@@ -112517,6 +113300,14 @@
|
|
|
112517
113300
|
"default": "null",
|
|
112518
113301
|
"fieldName": "triggerControls"
|
|
112519
113302
|
},
|
|
113303
|
+
{
|
|
113304
|
+
"name": "aria-describedby",
|
|
113305
|
+
"type": {
|
|
113306
|
+
"text": "string | null"
|
|
113307
|
+
},
|
|
113308
|
+
"default": "null",
|
|
113309
|
+
"fieldName": "triggerDescribedBy"
|
|
113310
|
+
},
|
|
112520
113311
|
{
|
|
112521
113312
|
"name": "aria-expanded",
|
|
112522
113313
|
"type": {
|
|
@@ -141836,7 +142627,7 @@
|
|
|
141836
142627
|
"declarations": [
|
|
141837
142628
|
{
|
|
141838
142629
|
"kind": "class",
|
|
141839
|
-
"description": "`<lr-menu>` — an anchored dropdown of `<lr-menu-item>` actions, opened\nfrom a consumer-supplied trigger (typically an icon button). A close, drop-\nin-shaped replacement for reaching outside this library for a third-party\ndropdown to build a gear menu, an avatar menu, or a history row's overflow\nmenu: click the trigger, a positioned menu appears, clicking an item both\nperforms the action *and* closes the menu.\n\n**ARIA pattern — `role=\"menu\"`/`role=\"menuitem\"` with real roving DOM\nfocus, not a listbox.** Two coherent, mutually-exclusive shapes were\navailable here: (a) `role=\"listbox\"`/`role=\"option\"` with\n`aria-activedescendant`, the pattern `<lr-select>`'s trigger-button +\npopup listbox uses, where DOM focus never leaves the trigger; or (b)\n`role=\"menu\"`/`role=\"menuitem\"` with real focus moving between actual\nfocusable rows, the WAI-ARIA \"menu button\" pattern. This picks (b):\n`<lr-menu-item>` rows are real, independently-focusable elements (see\nthat class's own doc), which is the more natural fit for a menu\nspecifically — unlike a listbox's rows, a menu's rows are conventionally\nbutton-/link-shaped, and every well-known native/OS menu (and this\nfamily's own `<lr-tree>`/`<lr-tree-node>` pair, which this component's\nroving-tabindex plumbing directly mirrors) already moves real focus rather\nthan merely a virtual `aria-activedescendant` pointer. `role`/`tabIndex`\nare consistently the menu-button shape throughout — never mixed with\nlistbox/option.\n\nInteraction contract (mirrors the WAI-ARIA APG \"menu button\" pattern):\n- Click the trigger (or Enter/Space on it, via the trigger's own native\n `click` activation) toggles the menu, moving focus to the first\n non-disabled item on open.\n- ArrowDown/ArrowUp on the trigger while closed also open it, focusing the\n first/last non-disabled item respectively.\n- Once open, ArrowDown/ArrowUp move the roving focus among non-disabled\n items (wrapping past either end — the recommended, and more common,\n menu-widget behavior, unlike `<lr-select>`'s clamped listbox nav).\n Home/End jump to the first/last non-disabled item. Enter/Space activate\n the focused item. Escape closes and returns focus to the trigger. A\n printable keypress runs type-ahead: roving focus jumps to the next\n non-disabled item whose text starts with the accumulated buffer, cycling\n from just after the active item (mirrors `<lr-select>`'s identical\n listbox type-ahead). All of the above (except Escape and Tab) only\n respond to keydowns from a real `<lr-menu-item>` target, so a slotted\n non-item control (e.g. a date input) keeps its own full default keyboard\n behavior.\n- Tab never traps focus and never calls `preventDefault()` — the browser's\n own Tab navigation always proceeds untouched. It closes the menu only\n when focus is on its way *out* of the popup: with a focusable in the\n `header`/`footer` region on the far side of the keypress, the menu stays\n open so native Tab can carry focus there instead. With neither region\n filled, Tab closes exactly as it always has. Tabbing past the popup's\n last focusable in either direction closes it too, including from slotted\n non-item content — which previously left the menu open while focus\n walked away.\n- Escape from `header`/`footer` content closes the menu and refocuses the\n trigger unconditionally, mirroring `<lr-popover>`'s handling of arbitrary\n popup content. `closeOnEscapeAnywhere` governs only the *legacy* shape —\n non-item content slotted into the **default** slot — and defaults to\n `false`, so existing consumers keep today's behavior unchanged.\n- A click outside both the trigger and the open popup closes it (mirrors\n `<lr-select>`'s `onDocPointer` exactly) — this does *not* refocus the\n trigger, since the outside click itself already moved focus somewhere\n the user chose; Escape and a committed selection *do* refocus the\n trigger, since those are dismissals with nowhere else for focus to go.\n\n`show(focus?)` and `hide(options?)` are the public imperative pair, for the cases the trigger\ncan't express: a slotted \"Apply\"/\"Done\" button inside the menu, a keyboard shortcut, a parent\nrestoring UI state. `hide({ focusTrigger: true })` is the one that also returns DOM focus to the\ntrigger — use it whenever the interaction that closed the menu hasn't already put focus\nsomewhere the user chose. Writing `open` directly still works and is fully equivalent apart from\nthe focus moves: the roving-tabindex reset is centralized in `updated()`, so `el.open = false`\nnever leaves a stale `tabindex=\"0\"` tab stop on the last active item.\n\nThe trigger element itself is read from the `trigger` slot's assigned element (first one, if\nseveral are assigned) and enhanced imperatively with\n`aria-haspopup=\"menu\"`/`aria-expanded`/`aria-controls` — the same \"reach into a consumer-owned\nlight-DOM element to complete its a11y wiring\" approach `<lr-dialog>` documents for its own\nheading detection. `aria-controls` targets this menu host (which receives a stable generated\n`id` only when the consumer did not supply one), rather than a shadow-private popup id, so the\nrelationship is resolvable from the trigger's root. `<lr-button>` and `<lr-icon-button>` observe\nthose attributes, forward the popup/expanded values to their shadow-internal native controls,\nand resolve the controls element-reference onto that focused control.\n\nThe popup is always rendered (never `display:none`) so `.focus()` calls on\nits content work synchronously the instant it opens — visually hidden via\n`visibility`/`opacity` instead (identical to `<lr-select>`'s own\n`[part=\"listbox\"]`). `visibility` is an inherited CSS property that\npierces the `<slot>` projection boundary, so every closed-state\n`<lr-menu-item>` is automatically excluded from sequential (Tab-key)\nnavigation with no separate JS bookkeeping.",
|
|
142630
|
+
"description": "`<lr-menu>` — an anchored dropdown of `<lr-menu-item>` actions, opened\nfrom a consumer-supplied trigger (typically an icon button). A close, drop-\nin-shaped replacement for reaching outside this library for a third-party\ndropdown to build a gear menu, an avatar menu, or a history row's overflow\nmenu: click the trigger, a positioned menu appears, clicking an item both\nperforms the action *and* closes the menu.\n\n**ARIA pattern — `role=\"menu\"`/`role=\"menuitem\"` with real roving DOM\nfocus, not a listbox.** Two coherent, mutually-exclusive shapes were\navailable here: (a) `role=\"listbox\"`/`role=\"option\"` with\n`aria-activedescendant`, the pattern `<lr-select>`'s trigger-button +\npopup listbox uses, where DOM focus never leaves the trigger; or (b)\n`role=\"menu\"`/`role=\"menuitem\"` with real focus moving between actual\nfocusable rows, the WAI-ARIA \"menu button\" pattern. This picks (b):\n`<lr-menu-item>` rows are real, independently-focusable elements (see\nthat class's own doc), which is the more natural fit for a menu\nspecifically — unlike a listbox's rows, a menu's rows are conventionally\nbutton-/link-shaped, and every well-known native/OS menu (and this\nfamily's own `<lr-tree>`/`<lr-tree-node>` pair, which this component's\nroving-tabindex plumbing directly mirrors) already moves real focus rather\nthan merely a virtual `aria-activedescendant` pointer. `role`/`tabIndex`\nare consistently the menu-button shape throughout — never mixed with\nlistbox/option.\n\nInteraction contract (mirrors the WAI-ARIA APG \"menu button\" pattern):\n- Click the trigger (or Enter/Space on it, via the trigger's own native\n `click` activation) toggles the menu, moving focus to the first\n non-disabled item on open.\n- ArrowDown/ArrowUp on the trigger while closed also open it, focusing the\n first/last non-disabled item respectively.\n- Once open, ArrowDown/ArrowUp move the roving focus among non-disabled\n items (wrapping past either end — the recommended, and more common,\n menu-widget behavior, unlike `<lr-select>`'s clamped listbox nav).\n Home/End jump to the first/last non-disabled item. Enter/Space activate\n the focused item. Escape closes and returns focus to the trigger. A\n printable keypress runs type-ahead: roving focus jumps to the next\n non-disabled item whose text starts with the accumulated buffer, cycling\n from just after the active item (mirrors `<lr-select>`'s identical\n listbox type-ahead). All of the above (except Escape and Tab) only\n respond to keydowns from a real `<lr-menu-item>` target, so a slotted\n non-item control (e.g. a date input) keeps its own full default keyboard\n behavior.\n- Tab never traps focus and never calls `preventDefault()` — the browser's\n own Tab navigation always proceeds untouched. It closes the menu only\n when focus is on its way *out* of the popup: with a focusable in the\n `header`/`footer` region on the far side of the keypress, the menu stays\n open so native Tab can carry focus there instead. With neither region\n filled, Tab closes exactly as it always has. Tabbing past the popup's\n last focusable in either direction closes it too, including from slotted\n non-item content — which previously left the menu open while focus\n walked away.\n- Escape from `header`/`footer` content closes the menu and refocuses the\n trigger unconditionally, mirroring `<lr-popover>`'s handling of arbitrary\n popup content. `closeOnEscapeAnywhere` governs only the *legacy* shape —\n non-item content slotted into the **default** slot — and defaults to\n `false`, so existing consumers keep today's behavior unchanged.\n- A click outside both the trigger and the open popup closes it (mirrors\n `<lr-select>`'s `onDocPointer` exactly) — this does *not* refocus the\n trigger, since the outside click itself already moved focus somewhere\n the user chose; Escape and a committed selection *do* refocus the\n trigger, since those are dismissals with nowhere else for focus to go.\n\n`show(focus?)` and `hide(options?)` are the public imperative pair, for the cases the trigger\ncan't express: a slotted \"Apply\"/\"Done\" button inside the menu, a keyboard shortcut, a parent\nrestoring UI state. `hide({ focusTrigger: true })` is the one that also returns DOM focus to the\ntrigger — use it whenever the interaction that closed the menu hasn't already put focus\nsomewhere the user chose. Writing `open` directly still works and is fully equivalent apart from\nthe focus moves: the roving-tabindex reset is centralized in `updated()`, so `el.open = false`\nnever leaves a stale `tabindex=\"0\"` tab stop on the last active item.\n\nThe trigger element itself is read from the `trigger` slot's assigned element (first one, if\nseveral are assigned) and enhanced imperatively with\n`aria-haspopup=\"menu\"`/`aria-expanded`/`aria-controls` — the same \"reach into a consumer-owned\nlight-DOM element to complete its a11y wiring\" approach `<lr-dialog>` documents for its own\nheading detection. `aria-controls` targets this menu host (which receives a stable generated\n`id` only when the consumer did not supply one), rather than a shadow-private popup id, so the\nrelationship is resolvable from the trigger's root. `<lr-button>` and `<lr-icon-button>` observe\nthose attributes, forward the popup/expanded values to their shadow-internal native controls,\nand resolve the controls element-reference onto that focused control. In supporting browsers,\nassigning the element reference intentionally clears the internal control's serialized\n`aria-controls` value; `ariaControlsElements` is the relationship's source of truth. Browsers\nwithout the reflected element-reference API retain the string as a best-effort fallback.\n\nThe popup is always rendered (never `display:none`) so `.focus()` calls on\nits content work synchronously the instant it opens — visually hidden via\n`visibility`/`opacity` instead (identical to `<lr-select>`'s own\n`[part=\"listbox\"]`). `visibility` is an inherited CSS property that\npierces the `<slot>` projection boundary, so every closed-state\n`<lr-menu-item>` is automatically excluded from sequential (Tab-key)\nnavigation with no separate JS bookkeeping.",
|
|
141840
142631
|
"name": "LyraMenu",
|
|
141841
142632
|
"cssParts": [
|
|
141842
142633
|
{
|
|
@@ -161378,7 +162169,7 @@
|
|
|
161378
162169
|
"text": "Promise<MaplibreModule | null>"
|
|
161379
162170
|
}
|
|
161380
162171
|
},
|
|
161381
|
-
"description": "Lazily loads the optional peer dependency `maplibre-gl` once per page.\nResolves to `null` (with a one-time warning) if it isn't installed —\nmirrors `<lr-flag>`'s peer-dependency pattern. Consumers must separately\nimport `maplibre-gl/dist/maplibre-gl.css
|
|
162172
|
+
"description": "Lazily loads the optional peer dependency `maplibre-gl` once per page.\nResolves to `null` (with a one-time warning) if it isn't installed —\nmirrors `<lr-flag>`'s peer-dependency pattern. Consumers must separately\nimport `maplibre-gl/dist/maplibre-gl.css`. MapLibre v6 consumers also configure its module-worker\nURL for their bundler once they install the peer; v5's standard build includes its worker."
|
|
161382
162173
|
}
|
|
161383
162174
|
],
|
|
161384
162175
|
"exports": [
|
|
@@ -161398,7 +162189,7 @@
|
|
|
161398
162189
|
"declarations": [
|
|
161399
162190
|
{
|
|
161400
162191
|
"kind": "class",
|
|
161401
|
-
"description": "`<lr-map>` — a maplibre-gl wrapper with a declarative legend, choropleth\nGeoJSON layer, markers, and additive `dataLayers` GeoJSON overlays\n(arbitrary shapes rendered as a source plus fill/line/circle layers,\nindependent of `choropleth`'s field/stops color-interpolation), plus a raw\n`map` escape hatch. Requires the optional peer dep `maplibre-gl`\
|
|
162192
|
+
"description": "`<lr-map>` — a maplibre-gl wrapper with a declarative legend, choropleth\nGeoJSON layer, markers, and additive `dataLayers` GeoJSON overlays\n(arbitrary shapes rendered as a source plus fill/line/circle layers,\nindependent of `choropleth`'s field/stops color-interpolation), plus a raw\n`map` escape hatch. Requires the optional peer dep `maplibre-gl`\nv5 or v6 (consumers also import its CSS). MapLibre v6 is ESM-only, requires WebGL2, and needs\nits module-worker URL configured once; v5's standard build includes its worker.\n\nThe underlying `maplibregl.Map` — and the WebGL context it opens — isn't\nconstructed until this element is first visible in the viewport (tracked\nvia `IntersectionObserver`), even once the `maplibre-gl` peer dependency\nhas finished loading. Browsers hard-cap concurrent WebGL contexts per\npage, so a grid/dashboard of many `<lr-map>` instances only constructs\nthe ones actually on-screen instead of racing to exhaust that budget the\ninstant each one mounts. `map` stays `undefined` (and `lr-map-load`\ndoesn't fire) until construction actually happens.",
|
|
161402
162193
|
"name": "LyraMap",
|
|
161403
162194
|
"cssParts": [
|
|
161404
162195
|
{
|
|
@@ -170644,6 +171435,16 @@
|
|
|
170644
171435
|
"module": "src/components/overlays/overlay/popover.class.ts"
|
|
170645
171436
|
}
|
|
170646
171437
|
},
|
|
171438
|
+
{
|
|
171439
|
+
"kind": "field",
|
|
171440
|
+
"name": "generatedHostId",
|
|
171441
|
+
"privacy": "private",
|
|
171442
|
+
"readonly": true,
|
|
171443
|
+
"inheritedFrom": {
|
|
171444
|
+
"name": "LyraPopover",
|
|
171445
|
+
"module": "src/components/overlays/overlay/popover.class.ts"
|
|
171446
|
+
}
|
|
171447
|
+
},
|
|
170647
171448
|
{
|
|
170648
171449
|
"kind": "field",
|
|
170649
171450
|
"name": "inheritedContextObserver",
|
|
@@ -171402,7 +172203,7 @@
|
|
|
171402
172203
|
"declarations": [
|
|
171403
172204
|
{
|
|
171404
172205
|
"kind": "class",
|
|
171405
|
-
"description": "`<lr-popover>` — a click-triggered, light-dismiss floating surface.",
|
|
172206
|
+
"description": "`<lr-popover>` — a click-triggered, light-dismiss floating surface.\n\nThe slotted trigger receives `aria-haspopup`, `aria-expanded`, and `aria-controls`.\n`aria-controls` targets this public host (which receives a stable generated `id` when the\nconsumer did not supply one), not the shadow-private popup. That keeps the relationship\nresolvable for native triggers and lets `<lr-button>`/`<lr-icon-button>` reflect the host onto\ntheir focused shadow-internal controls through `ariaControlsElements`.",
|
|
171406
172207
|
"name": "LyraPopover",
|
|
171407
172208
|
"cssProperties": [
|
|
171408
172209
|
{
|
|
@@ -171529,6 +172330,12 @@
|
|
|
171529
172330
|
"privacy": "private",
|
|
171530
172331
|
"readonly": true
|
|
171531
172332
|
},
|
|
172333
|
+
{
|
|
172334
|
+
"kind": "field",
|
|
172335
|
+
"name": "generatedHostId",
|
|
172336
|
+
"privacy": "private",
|
|
172337
|
+
"readonly": true
|
|
172338
|
+
},
|
|
171532
172339
|
{
|
|
171533
172340
|
"kind": "field",
|
|
171534
172341
|
"name": "inheritedContextObserver",
|
|
@@ -172145,7 +172952,7 @@
|
|
|
172145
172952
|
"declarations": [
|
|
172146
172953
|
{
|
|
172147
172954
|
"kind": "class",
|
|
172148
|
-
"description": "`<lr-tooltip>` — a localized, hover/focus tooltip for a consumer-owned trigger.\nPlain content uses tooltip semantics. When the default slot contains an actionable descendant,\nthe popup promotes to a named dialog and remains open while pointer or focus is inside so its\ncontrols can be reached. Prefer `<lr-popover>` when click-to-open ownership is desired.",
|
|
172955
|
+
"description": "`<lr-tooltip>` — a localized, hover/focus tooltip for a consumer-owned trigger.\nPlain content uses tooltip semantics. When the default slot contains an actionable descendant,\nthe popup promotes to a named dialog and remains open while pointer or focus is inside so its\ncontrols can be reached. Prefer `<lr-popover>` when click-to-open ownership is desired.\n\nWhile open, the trigger's `aria-describedby` targets a hidden text proxy in this component's\nlight DOM rather than the shadow-private popup. Native triggers can resolve that ID directly;\n`<lr-button>` and `<lr-icon-button>` reflect it onto their focused internal controls through\n`ariaDescribedByElements`, where the serialized internal attribute is intentionally empty.",
|
|
172149
172956
|
"name": "LyraTooltip",
|
|
172150
172957
|
"cssProperties": [
|
|
172151
172958
|
{
|
|
@@ -172247,6 +173054,20 @@
|
|
|
172247
173054
|
"text": "number"
|
|
172248
173055
|
}
|
|
172249
173056
|
},
|
|
173057
|
+
{
|
|
173058
|
+
"kind": "field",
|
|
173059
|
+
"name": "descriptionId",
|
|
173060
|
+
"privacy": "private",
|
|
173061
|
+
"readonly": true
|
|
173062
|
+
},
|
|
173063
|
+
{
|
|
173064
|
+
"kind": "field",
|
|
173065
|
+
"name": "descriptionProxy",
|
|
173066
|
+
"type": {
|
|
173067
|
+
"text": "HTMLSpanElement | undefined"
|
|
173068
|
+
},
|
|
173069
|
+
"privacy": "private"
|
|
173070
|
+
},
|
|
172250
173071
|
{
|
|
172251
173072
|
"kind": "field",
|
|
172252
173073
|
"name": "distance",
|
|
@@ -172628,6 +173449,16 @@
|
|
|
172628
173449
|
"module": "src/internal/lyra-element.ts"
|
|
172629
173450
|
}
|
|
172630
173451
|
},
|
|
173452
|
+
{
|
|
173453
|
+
"kind": "method",
|
|
173454
|
+
"name": "ensureDescriptionProxy",
|
|
173455
|
+
"privacy": "private",
|
|
173456
|
+
"return": {
|
|
173457
|
+
"type": {
|
|
173458
|
+
"text": "void"
|
|
173459
|
+
}
|
|
173460
|
+
}
|
|
173461
|
+
},
|
|
172631
173462
|
{
|
|
172632
173463
|
"kind": "method",
|
|
172633
173464
|
"name": "isPopupTarget",
|
|
@@ -172873,6 +173704,16 @@
|
|
|
172873
173704
|
}
|
|
172874
173705
|
]
|
|
172875
173706
|
},
|
|
173707
|
+
{
|
|
173708
|
+
"kind": "method",
|
|
173709
|
+
"name": "updateDescriptionProxy",
|
|
173710
|
+
"privacy": "private",
|
|
173711
|
+
"return": {
|
|
173712
|
+
"type": {
|
|
173713
|
+
"text": "void"
|
|
173714
|
+
}
|
|
173715
|
+
}
|
|
173716
|
+
},
|
|
172876
173717
|
{
|
|
172877
173718
|
"kind": "method",
|
|
172878
173719
|
"name": "updateInteractiveContent",
|
|
@@ -188366,7 +189207,7 @@
|
|
|
188366
189207
|
"declarations": [
|
|
188367
189208
|
{
|
|
188368
189209
|
"kind": "class",
|
|
188369
|
-
"description": "`<lr-knowledge-graph-explorer>` — an orchestration-level surface for exploring a knowledge\ngraph: the `lr-graph` canvas plus entity search, type filters, neighborhood expansion, pinned\nnodes, path finding between pins, node selection, and a details overlay. Composes existing\nprimitives rather than re-implementing graph rendering: `lr-graph` (canvas/pan-zoom/selection),\n`lr-graph-legend` (type filters), `lr-entity-card` (the details popover's default content),\n`lr-neighbor-list` (the selected entity's relationships), `lr-path-strip` (a found path), and\n`lr-popover.showAt()` (the details overlay itself).\n\n**How the details popover finds its viewport position.** `lr-graph.getNodePosition()` and the\n`lr-node-click` event's `{ x, y }` are in the graph's own *local drawing space* (pre pan/zoom),\nnever viewport pixels -- passing them straight to `showAt()` would anchor the popover at the\nwrong place as soon as the graph has panned or zoomed even once. A direct node click resolves\nthe correct viewport rect the way this library's own documented `lr-graph` + `lr-popover.showAt()`\ncomposition does: for `renderer=\"svg\"` (the default), `event.composedPath()` (the native `click`\nthat bubbles out of `lr-graph`'s shadow root) locates the actual clicked `[part=\"node\"]` element,\nwhose `getBoundingClientRect()` is already viewport-relative; for `renderer=\"canvas\"` (no\nper-node DOM element to find), the click event's own `clientX`/`clientY` are used directly, since\ncanvas hit-testing already treats those as viewport coordinates internally. While the popover\nstays open after an `renderer=\"svg\"` click, this component re-reads that same resolved node\nelement's `getBoundingClientRect()` and re-calls `showAt()` every time the composed `lr-graph`\nemits its own `lr-viewport-change` (a frame-coalesced pan/zoom/simulation-tick signal) --\nschedules no `requestAnimationFrame` loop of its own, unlike an idle popover polling the DOM on\nevery frame regardless of whether anything actually moved. Selecting a node any other\nway -- a search result, a neighbor row, a path-strip element, keyboard Enter/Space on a graph\nnode (which never dispatches a native `click`) -- has no click event to read a rect from, so it\ninstead calls the public `lr-graph.focusNode(id)` (which centers that node in the viewport) and\nthen anchors the popover at the graph element's own `getBoundingClientRect()` center once that\nsettles; no continuous tracking applies to that path.\n\n**Controlled vs. self-managed state.** `nodes`/`links`/`nodeTypes`/`communities`/`entityDetails`/\n`path` are purely host-supplied data, rendered as given. `hiddenTypes`/`selectedNodeId`/\n`searchQuery`/`pinnedNodeIds` are this component's own genuinely new contribution: it wires them\ninto `lr-graph`'s existing controlled props (`hiddenTypes`, `selectedNodeIds`, `dimmedNodeIds`,\n`dimmedLinkIds`) itself, toggling its own copy on interaction (the same self-toggle-then-emit\ncontract `lr-graph-legend` already uses) so every feature works with zero host wiring, while\nstill being presettable/observable properties and emitting events (`lr-
|
|
189210
|
+
"description": "`<lr-knowledge-graph-explorer>` — an orchestration-level surface for exploring a knowledge\ngraph: the `lr-graph` canvas plus entity search, type filters, neighborhood expansion, pinned\nnodes, path finding between pins, node selection, and a details overlay. Composes existing\nprimitives rather than re-implementing graph rendering: `lr-graph` (canvas/pan-zoom/selection),\n`lr-graph-legend` (type filters), `lr-entity-card` (the details popover's default content),\n`lr-neighbor-list` (the selected entity's relationships), `lr-path-strip` (a found path), and\n`lr-popover.showAt()` (the details overlay itself).\n\n**How the details popover finds its viewport position.** `lr-graph.getNodePosition()` and the\n`lr-node-click` event's `{ x, y }` are in the graph's own *local drawing space* (pre pan/zoom),\nnever viewport pixels -- passing them straight to `showAt()` would anchor the popover at the\nwrong place as soon as the graph has panned or zoomed even once. A direct node click resolves\nthe correct viewport rect the way this library's own documented `lr-graph` + `lr-popover.showAt()`\ncomposition does: for `renderer=\"svg\"` (the default), `event.composedPath()` (the native `click`\nthat bubbles out of `lr-graph`'s shadow root) locates the actual clicked `[part=\"node\"]` element,\nwhose `getBoundingClientRect()` is already viewport-relative; for `renderer=\"canvas\"` (no\nper-node DOM element to find), the click event's own `clientX`/`clientY` are used directly, since\ncanvas hit-testing already treats those as viewport coordinates internally. While the popover\nstays open after an `renderer=\"svg\"` click, this component re-reads that same resolved node\nelement's `getBoundingClientRect()` and re-calls `showAt()` every time the composed `lr-graph`\nemits its own `lr-viewport-change` (a frame-coalesced pan/zoom/simulation-tick signal) --\nschedules no `requestAnimationFrame` loop of its own, unlike an idle popover polling the DOM on\nevery frame regardless of whether anything actually moved. Selecting a node any other\nway -- a search result, a neighbor row, a path-strip element, keyboard Enter/Space on a graph\nnode (which never dispatches a native `click`) -- has no click event to read a rect from, so it\ninstead calls the public `lr-graph.focusNode(id)` (which centers that node in the viewport) and\nthen anchors the popover at the graph element's own `getBoundingClientRect()` center once that\nsettles; no continuous tracking applies to that path.\n\n**Controlled vs. self-managed state.** `nodes`/`links`/`nodeTypes`/`communities`/`entityDetails`/\n`path` are purely host-supplied data, rendered as given. `hiddenTypes`/`selectedNodeId`/\n`searchQuery`/`pinnedNodeIds` are this component's own genuinely new contribution: it wires them\ninto `lr-graph`'s existing controlled props (`hiddenTypes`, `selectedNodeIds`, `dimmedNodeIds`,\n`dimmedLinkIds`) itself, toggling its own copy on interaction (the same self-toggle-then-emit\ncontract `lr-graph-legend` already uses) so every feature works with zero host wiring, while\nstill being presettable/observable properties and emitting events (`lr-selection-change`,\n`lr-pin-change`, `lr-path-request`, plus every composed primitive's own event bubbling straight through\nunmodified) for a host that wants to persist or react to them.\n\n`highlight` controls what drives that dimming, on top of the always-active search-match\ndimming: `'selection'` (the default) dims by the selected node's immediate neighborhood;\n`'hover'` also dims by whichever node is currently pointer-hovered (falling back to the selected\nnode's neighborhood while nothing is hovered); `'none'` turns this component's own dimming off\nentirely, forwarding empty `dimmedNodeIds`/`dimmedLinkIds` regardless of search/selection state\n-- for a host that wants to drive `lr-graph`'s dimming through a different composition instead.",
|
|
188370
189211
|
"name": "LyraKnowledgeGraphExplorer",
|
|
188371
189212
|
"cssParts": [
|
|
188372
189213
|
{
|
|
@@ -189368,6 +190209,10 @@
|
|
|
189368
190209
|
{
|
|
189369
190210
|
"description": "Bubbles straight through from the composed `lr-path-strip`, unmodified.",
|
|
189370
190211
|
"name": "lr-relation-activate"
|
|
190212
|
+
},
|
|
190213
|
+
{
|
|
190214
|
+
"description": "The explorer changed its self-managed selection. `detail: { selectedNodeId: string | null }`. Direct host assignments do not emit.",
|
|
190215
|
+
"name": "lr-selection-change"
|
|
189371
190216
|
}
|
|
189372
190217
|
],
|
|
189373
190218
|
"attributes": [
|