@ids-group-ltd/ids-design-system 0.14.5 → 0.14.6
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 +161 -12
- package/components.md +21 -19
- package/design-system.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +1 -0
- package/docs/agent/charts/ds-column-chart.md +1 -0
- package/docs/agent/charts/ds-config.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +1 -1
- package/docs/agent/forms/ds-autocomplete.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/filter-item-directive.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/global-helper-classes.md +2 -2
- package/docs/agent/foundations/grid.md +8 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +6 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +169 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +261 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +16 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +22 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +9 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +7 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +16 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +16 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +3 -0
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/migrations/0.14.5.json +3 -3
- package/migrations/0.14.6.json +176 -0
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +29 -16
- package/styles/_chart-frame.scss +1 -50
- package/styles/_field-state.scss +13 -1
- package/styles/_focus.scss +45 -33
- package/styles/_link.scss +12 -0
- package/styles/_press.scss +1 -1
- package/styles/_tokens-charts.scss +1 -1
- package/styles/_tokens.scss +2 -0
- package/styles/ds.scss +2 -0
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +64 -3
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +35 -2
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +2 -3
- package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-page-header.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-core.d.ts +3 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.14.
|
|
2
|
+
"version": "0.14.6",
|
|
3
3
|
"tokens": [
|
|
4
4
|
"--ds-accordion-body-padding",
|
|
5
5
|
"--ds-accordion-body-text-color",
|
|
@@ -129,6 +129,7 @@
|
|
|
129
129
|
"--ds-bottom-sheet-radius",
|
|
130
130
|
"--ds-bottom-sheet-scrim-color",
|
|
131
131
|
"--ds-bottom-sheet-title-text-color",
|
|
132
|
+
"--ds-breadcrumbs-bg-color-hover",
|
|
132
133
|
"--ds-breadcrumbs-current-label-color",
|
|
133
134
|
"--ds-breadcrumbs-current-label-font-weight",
|
|
134
135
|
"--ds-breadcrumbs-current-label-max-width",
|
|
@@ -138,6 +139,8 @@
|
|
|
138
139
|
"--ds-breadcrumbs-label-color",
|
|
139
140
|
"--ds-breadcrumbs-label-color-hover",
|
|
140
141
|
"--ds-breadcrumbs-label-max-width",
|
|
142
|
+
"--ds-breadcrumbs-padding",
|
|
143
|
+
"--ds-breadcrumbs-radius",
|
|
141
144
|
"--ds-breadcrumbs-separator-icon-color",
|
|
142
145
|
"--ds-button-bg-color",
|
|
143
146
|
"--ds-button-bg-color-active",
|
|
@@ -383,6 +386,8 @@
|
|
|
383
386
|
"--ds-field-border-color-hover",
|
|
384
387
|
"--ds-field-focus-shadow",
|
|
385
388
|
"--ds-field-focus-shadow-error",
|
|
389
|
+
"--ds-field-focus-shadow-success",
|
|
390
|
+
"--ds-field-focus-shadow-warning",
|
|
386
391
|
"--ds-field-font-size",
|
|
387
392
|
"--ds-field-group-bg-color",
|
|
388
393
|
"--ds-field-group-border-color",
|
|
@@ -1107,6 +1112,7 @@
|
|
|
1107
1112
|
"a-icon",
|
|
1108
1113
|
"a-title",
|
|
1109
1114
|
"alert",
|
|
1115
|
+
"disabled",
|
|
1110
1116
|
"error",
|
|
1111
1117
|
"is-disabled",
|
|
1112
1118
|
"neutral",
|
|
@@ -1188,6 +1194,7 @@
|
|
|
1188
1194
|
"body",
|
|
1189
1195
|
"close",
|
|
1190
1196
|
"compact",
|
|
1197
|
+
"disabled",
|
|
1191
1198
|
"error",
|
|
1192
1199
|
"icon",
|
|
1193
1200
|
"is-disabled",
|
|
@@ -1210,7 +1217,6 @@
|
|
|
1210
1217
|
"data-table",
|
|
1211
1218
|
"detail",
|
|
1212
1219
|
"dims-others",
|
|
1213
|
-
"empty",
|
|
1214
1220
|
"empty-text",
|
|
1215
1221
|
"fill",
|
|
1216
1222
|
"framed",
|
|
@@ -1224,7 +1230,6 @@
|
|
|
1224
1230
|
"mark-leave",
|
|
1225
1231
|
"percent",
|
|
1226
1232
|
"pin-marker",
|
|
1227
|
-
"pin-reset",
|
|
1228
1233
|
"pins",
|
|
1229
1234
|
"row",
|
|
1230
1235
|
"rows",
|
|
@@ -1318,6 +1323,7 @@
|
|
|
1318
1323
|
"is-nested"
|
|
1319
1324
|
],
|
|
1320
1325
|
"ds-chart-legend": [
|
|
1326
|
+
"disabled",
|
|
1321
1327
|
"is-disabled",
|
|
1322
1328
|
"is-hidden",
|
|
1323
1329
|
"legend",
|
|
@@ -1340,6 +1346,9 @@
|
|
|
1340
1346
|
"swatch",
|
|
1341
1347
|
"value"
|
|
1342
1348
|
],
|
|
1349
|
+
"ds-chart-unpin": [
|
|
1350
|
+
"pin-reset"
|
|
1351
|
+
],
|
|
1343
1352
|
"ds-chart": [
|
|
1344
1353
|
"axis-label",
|
|
1345
1354
|
"axis-line",
|
|
@@ -1347,13 +1356,13 @@
|
|
|
1347
1356
|
"canvas",
|
|
1348
1357
|
"category-band",
|
|
1349
1358
|
"category-label",
|
|
1359
|
+
"category-stop",
|
|
1350
1360
|
"chart",
|
|
1351
1361
|
"cursor",
|
|
1352
1362
|
"cursor-in",
|
|
1353
1363
|
"cursor-line",
|
|
1354
1364
|
"cursor-out",
|
|
1355
1365
|
"data-table",
|
|
1356
|
-
"empty",
|
|
1357
1366
|
"empty-text",
|
|
1358
1367
|
"framed",
|
|
1359
1368
|
"grid-line",
|
|
@@ -1371,6 +1380,7 @@
|
|
|
1371
1380
|
"checkbox-field",
|
|
1372
1381
|
"control-line",
|
|
1373
1382
|
"control-text",
|
|
1383
|
+
"disabled",
|
|
1374
1384
|
"is-disabled",
|
|
1375
1385
|
"req",
|
|
1376
1386
|
"size-lg",
|
|
@@ -1399,11 +1409,9 @@
|
|
|
1399
1409
|
"ds-column-chart": [
|
|
1400
1410
|
"column-chart",
|
|
1401
1411
|
"data-table",
|
|
1402
|
-
"empty",
|
|
1403
1412
|
"empty-text",
|
|
1404
1413
|
"framed",
|
|
1405
1414
|
"is-error",
|
|
1406
|
-
"pin-reset",
|
|
1407
1415
|
"skeleton",
|
|
1408
1416
|
"stage-table"
|
|
1409
1417
|
],
|
|
@@ -1470,6 +1478,7 @@
|
|
|
1470
1478
|
"bottom",
|
|
1471
1479
|
"close",
|
|
1472
1480
|
"closing",
|
|
1481
|
+
"disabled",
|
|
1473
1482
|
"drawer",
|
|
1474
1483
|
"drawer-root",
|
|
1475
1484
|
"drawer-scrim",
|
|
@@ -1546,7 +1555,6 @@
|
|
|
1546
1555
|
"category-label",
|
|
1547
1556
|
"data-table",
|
|
1548
1557
|
"dims-others",
|
|
1549
|
-
"empty",
|
|
1550
1558
|
"empty-text",
|
|
1551
1559
|
"framed",
|
|
1552
1560
|
"funnel-chart",
|
|
@@ -1558,7 +1566,6 @@
|
|
|
1558
1566
|
"is-pinned",
|
|
1559
1567
|
"mark-leave",
|
|
1560
1568
|
"pin-marker",
|
|
1561
|
-
"pin-reset",
|
|
1562
1569
|
"pins",
|
|
1563
1570
|
"shape",
|
|
1564
1571
|
"skeleton",
|
|
@@ -1574,7 +1581,6 @@
|
|
|
1574
1581
|
"column-label",
|
|
1575
1582
|
"data-table",
|
|
1576
1583
|
"dims-others",
|
|
1577
|
-
"empty",
|
|
1578
1584
|
"empty-text",
|
|
1579
1585
|
"framed",
|
|
1580
1586
|
"grid",
|
|
@@ -1588,7 +1594,6 @@
|
|
|
1588
1594
|
"is-pinned",
|
|
1589
1595
|
"mark-leave",
|
|
1590
1596
|
"pin-marker",
|
|
1591
|
-
"pin-reset",
|
|
1592
1597
|
"pins",
|
|
1593
1598
|
"row-label",
|
|
1594
1599
|
"scale",
|
|
@@ -1653,7 +1658,6 @@
|
|
|
1653
1658
|
"grid-line",
|
|
1654
1659
|
"is-error",
|
|
1655
1660
|
"line-chart",
|
|
1656
|
-
"pin-reset",
|
|
1657
1661
|
"skeleton",
|
|
1658
1662
|
"skeleton-legend",
|
|
1659
1663
|
"stage-table"
|
|
@@ -1700,6 +1704,7 @@
|
|
|
1700
1704
|
"body",
|
|
1701
1705
|
"close",
|
|
1702
1706
|
"closing",
|
|
1707
|
+
"disabled",
|
|
1703
1708
|
"error",
|
|
1704
1709
|
"eyebrow",
|
|
1705
1710
|
"fullscreen",
|
|
@@ -1730,6 +1735,7 @@
|
|
|
1730
1735
|
"body",
|
|
1731
1736
|
"close",
|
|
1732
1737
|
"closing",
|
|
1738
|
+
"disabled",
|
|
1733
1739
|
"error",
|
|
1734
1740
|
"eyebrow",
|
|
1735
1741
|
"fullscreen",
|
|
@@ -1837,6 +1843,7 @@
|
|
|
1837
1843
|
],
|
|
1838
1844
|
"ds-pagination": [
|
|
1839
1845
|
"active",
|
|
1846
|
+
"disabled",
|
|
1840
1847
|
"ellipsis",
|
|
1841
1848
|
"is-disabled",
|
|
1842
1849
|
"label",
|
|
@@ -1885,7 +1892,6 @@
|
|
|
1885
1892
|
"mark-leave",
|
|
1886
1893
|
"pie-chart",
|
|
1887
1894
|
"pin-marker",
|
|
1888
|
-
"pin-reset",
|
|
1889
1895
|
"pins",
|
|
1890
1896
|
"ring",
|
|
1891
1897
|
"ring-outline",
|
|
@@ -1903,6 +1909,7 @@
|
|
|
1903
1909
|
"ds-radio": [
|
|
1904
1910
|
"control-line",
|
|
1905
1911
|
"control-text",
|
|
1912
|
+
"disabled",
|
|
1906
1913
|
"is-disabled",
|
|
1907
1914
|
"radio",
|
|
1908
1915
|
"radio-field",
|
|
@@ -1921,7 +1928,6 @@
|
|
|
1921
1928
|
"canvas",
|
|
1922
1929
|
"data-table",
|
|
1923
1930
|
"dims-others",
|
|
1924
|
-
"empty",
|
|
1925
1931
|
"empty-text",
|
|
1926
1932
|
"framed",
|
|
1927
1933
|
"grid-line",
|
|
@@ -1932,7 +1938,6 @@
|
|
|
1932
1938
|
"is-horizontal",
|
|
1933
1939
|
"is-pinned",
|
|
1934
1940
|
"mark-leave",
|
|
1935
|
-
"pin-reset",
|
|
1936
1941
|
"pins",
|
|
1937
1942
|
"plot-bg",
|
|
1938
1943
|
"point",
|
|
@@ -1941,6 +1946,7 @@
|
|
|
1941
1946
|
"thinned"
|
|
1942
1947
|
],
|
|
1943
1948
|
"ds-search": [
|
|
1949
|
+
"disabled",
|
|
1944
1950
|
"icon",
|
|
1945
1951
|
"in-group",
|
|
1946
1952
|
"is-disabled",
|
|
@@ -1954,6 +1960,7 @@
|
|
|
1954
1960
|
"sm"
|
|
1955
1961
|
],
|
|
1956
1962
|
"ds-segmented": [
|
|
1963
|
+
"disabled",
|
|
1957
1964
|
"is-disabled",
|
|
1958
1965
|
"joined",
|
|
1959
1966
|
"label",
|
|
@@ -2112,6 +2119,7 @@
|
|
|
2112
2119
|
"ds-switch": [
|
|
2113
2120
|
"control-line",
|
|
2114
2121
|
"control-text",
|
|
2122
|
+
"disabled",
|
|
2115
2123
|
"error",
|
|
2116
2124
|
"is-disabled",
|
|
2117
2125
|
"req",
|
|
@@ -2133,6 +2141,7 @@
|
|
|
2133
2141
|
"col-picker-option",
|
|
2134
2142
|
"col-picker-row",
|
|
2135
2143
|
"col-reset",
|
|
2144
|
+
"disabled",
|
|
2136
2145
|
"is-disabled"
|
|
2137
2146
|
],
|
|
2138
2147
|
"ds-table-columns-trigger": [
|
|
@@ -2164,6 +2173,7 @@
|
|
|
2164
2173
|
"col-width-btn",
|
|
2165
2174
|
"compact",
|
|
2166
2175
|
"count",
|
|
2176
|
+
"disabled",
|
|
2167
2177
|
"editable-cell",
|
|
2168
2178
|
"empty",
|
|
2169
2179
|
"expand-btn",
|
|
@@ -2172,6 +2182,7 @@
|
|
|
2172
2182
|
"expand-panel-cell",
|
|
2173
2183
|
"expand-panel-content",
|
|
2174
2184
|
"expand-panel-inner",
|
|
2185
|
+
"expand-panel-row",
|
|
2175
2186
|
"expandable",
|
|
2176
2187
|
"fit-content",
|
|
2177
2188
|
"hscroll-hidden",
|
|
@@ -2181,6 +2192,7 @@
|
|
|
2181
2192
|
"interactive-cell",
|
|
2182
2193
|
"is-disabled",
|
|
2183
2194
|
"is-expanded",
|
|
2195
|
+
"is-leaving",
|
|
2184
2196
|
"loading-space",
|
|
2185
2197
|
"numeric",
|
|
2186
2198
|
"pagination-footer",
|
|
@@ -2233,6 +2245,7 @@
|
|
|
2233
2245
|
"ds-tag": [
|
|
2234
2246
|
"closable",
|
|
2235
2247
|
"close",
|
|
2248
|
+
"disabled",
|
|
2236
2249
|
"interactive",
|
|
2237
2250
|
"is-active",
|
|
2238
2251
|
"is-disabled",
|
|
@@ -2300,6 +2313,7 @@
|
|
|
2300
2313
|
"actions",
|
|
2301
2314
|
"body",
|
|
2302
2315
|
"close",
|
|
2316
|
+
"disabled",
|
|
2303
2317
|
"error",
|
|
2304
2318
|
"icon",
|
|
2305
2319
|
"info",
|
|
@@ -2318,6 +2332,7 @@
|
|
|
2318
2332
|
],
|
|
2319
2333
|
"ds-toggle-button": [
|
|
2320
2334
|
"button-toggle",
|
|
2335
|
+
"disabled",
|
|
2321
2336
|
"is-disabled"
|
|
2322
2337
|
],
|
|
2323
2338
|
"ds-tooltip-panel": [
|
|
@@ -2350,11 +2365,9 @@
|
|
|
2350
2365
|
],
|
|
2351
2366
|
"ds-waterfall-chart": [
|
|
2352
2367
|
"data-table",
|
|
2353
|
-
"empty",
|
|
2354
2368
|
"empty-text",
|
|
2355
2369
|
"framed",
|
|
2356
2370
|
"is-error",
|
|
2357
|
-
"pin-reset",
|
|
2358
2371
|
"skeleton",
|
|
2359
2372
|
"stage-table",
|
|
2360
2373
|
"waterfall-chart"
|
package/styles/_chart-frame.scss
CHANGED
|
@@ -21,14 +21,6 @@
|
|
|
21
21
|
user-select: text;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
figcaption {
|
|
25
|
-
margin-block-end: var(--space-3);
|
|
26
|
-
color: var(--text-primary);
|
|
27
|
-
font-weight: var(--font-weight-semibold);
|
|
28
|
-
user-select: text;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.empty.is-error,
|
|
32
24
|
.empty-text.is-error {
|
|
33
25
|
color: var(--error);
|
|
34
26
|
}
|
|
@@ -74,7 +66,7 @@
|
|
|
74
66
|
}
|
|
75
67
|
}
|
|
76
68
|
|
|
77
|
-
// Keeps the plot's height in
|
|
69
|
+
// Keeps the plot's height for a message a chart draws in its own body. `$axes` keeps the L of axis lines.
|
|
78
70
|
@mixin message-box($height, $axes: false) {
|
|
79
71
|
.empty {
|
|
80
72
|
display: grid;
|
|
@@ -99,47 +91,6 @@
|
|
|
99
91
|
:host(.framed) {
|
|
100
92
|
--_chart-pin-reset-inset: var(--ds-chart-frame-padding);
|
|
101
93
|
}
|
|
102
|
-
|
|
103
|
-
// ponytail: a fixed room fits `Unpin`; a translation longer than about ten characters overlaps
|
|
104
|
-
// the caption's end, measure the control if one ever does.
|
|
105
|
-
:host:has(.pin-reset) figure > figcaption {
|
|
106
|
-
padding-inline-end: calc(5rem + var(--space-2));
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/* Top end: the bottom carries axis labels, legend and table. The 44px touch target is the ::before. */
|
|
110
|
-
.pin-reset {
|
|
111
|
-
position: absolute;
|
|
112
|
-
inset-block-start: var(--_chart-pin-reset-inset, 0);
|
|
113
|
-
inset-inline-end: var(--_chart-pin-reset-inset, 0);
|
|
114
|
-
z-index: 1;
|
|
115
|
-
display: inline-flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
gap: var(--space-1);
|
|
118
|
-
block-size: var(--space-6);
|
|
119
|
-
padding: 0 var(--space-2-5);
|
|
120
|
-
border: var(--border-width-default) solid var(--border-divider);
|
|
121
|
-
border-radius: var(--radius-pill);
|
|
122
|
-
background: var(--surface-default);
|
|
123
|
-
color: var(--text-secondary);
|
|
124
|
-
font-size: var(--font-size-xs);
|
|
125
|
-
line-height: 1;
|
|
126
|
-
box-shadow: var(--shadow-1);
|
|
127
|
-
cursor: pointer;
|
|
128
|
-
|
|
129
|
-
&::before {
|
|
130
|
-
position: absolute;
|
|
131
|
-
inset: 50% auto auto 50%;
|
|
132
|
-
inline-size: max(100%, var(--hit-comfy));
|
|
133
|
-
block-size: var(--hit-comfy);
|
|
134
|
-
transform: translate(-50%, -50%);
|
|
135
|
-
content: '';
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&:hover {
|
|
139
|
-
color: var(--text-primary);
|
|
140
|
-
border-color: var(--border-strong);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
94
|
}
|
|
144
95
|
|
|
145
96
|
/* A state, not a target: no pointer events, no tab stop. */
|
package/styles/_field-state.scss
CHANGED
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
$error-bg: var(--error-subtitle),
|
|
8
8
|
$error-focus-shadow: var(--ds-field-focus-shadow-error),
|
|
9
9
|
$warning-border: var(--warning-text),
|
|
10
|
-
$success-border: var(--success)
|
|
10
|
+
$success-border: var(--success),
|
|
11
|
+
$warning-focus-shadow: var(--ds-field-focus-shadow-warning),
|
|
12
|
+
$success-focus-shadow: var(--ds-field-focus-shadow-success)
|
|
11
13
|
) {
|
|
12
14
|
// `:not(.in-group)`: a segment ties `.in-group` at (0,3,0) and this mixin is included last, so the fill
|
|
13
15
|
// would repaint one segment mid-row. `:not(.disabled)`: state is (0,3,0) against (0,2,0) and would
|
|
@@ -25,9 +27,19 @@
|
|
|
25
27
|
// --warning is 1.47:1 against a white field (WCAG 1.4.11 asks 3:1); --warning-text is the first ramp rung that clears it, at 4.59:1.
|
|
26
28
|
:host([data-field-state='warning']:not(.in-group)) #{$box}:not(.disabled):not(:disabled) {
|
|
27
29
|
border-color: #{$warning-border};
|
|
30
|
+
|
|
31
|
+
&:focus-within,
|
|
32
|
+
&:focus-visible {
|
|
33
|
+
box-shadow: #{$warning-focus-shadow};
|
|
34
|
+
}
|
|
28
35
|
}
|
|
29
36
|
|
|
30
37
|
:host([data-field-state='success']:not(.in-group)) #{$box}:not(.disabled):not(:disabled) {
|
|
31
38
|
border-color: #{$success-border};
|
|
39
|
+
|
|
40
|
+
&:focus-within,
|
|
41
|
+
&:focus-visible {
|
|
42
|
+
box-shadow: #{$success-focus-shadow};
|
|
43
|
+
}
|
|
32
44
|
}
|
|
33
45
|
}
|
package/styles/_focus.scss
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// painting its own shadow must yield, see `state-shadow`.
|
|
6
6
|
// An outline follows the element's border-radius: a shell that only carries the ring takes `--focus-ring-radius`.
|
|
7
7
|
// Include inside `&:focus-visible`, never on the element itself, or every instance is ringed at all times.
|
|
8
|
-
// Usually include nothing: `:where(:focus-visible)`
|
|
8
|
+
// Usually include nothing: `:where(:focus-visible)` in `emit-rules` rings anything focusable that styles nothing itself.
|
|
9
9
|
// Pass a negative offset where an ancestor clips.
|
|
10
10
|
@mixin ring($offset: var(--focus-ring-offset)) {
|
|
11
11
|
outline: var(--focus-ring-width) solid var(--focus-ring-color);
|
|
@@ -15,18 +15,6 @@
|
|
|
15
15
|
animation: ds-focus-ring-in var(--duration-fast) var(--ease-standard);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
// Catches anything focusable that styles nothing itself; a shell ringing on `:focus-within`
|
|
19
|
-
// silences its control with `owns-the-focus-ring` to avoid a second ring.
|
|
20
|
-
:where(:focus-visible) {
|
|
21
|
-
@include ring;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@keyframes ds-focus-ring-in {
|
|
25
|
-
from {
|
|
26
|
-
outline-color: transparent;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
18
|
// A shell that rings on its control's behalf and silences $control in the same call.
|
|
31
19
|
// `:has(:focus-visible)`, not `:focus-within`: a clicked checkbox is not `:focus-visible` but matches
|
|
32
20
|
// `:focus-within`, so it would keep its ring. Field shells use `:focus-within` (a text input does grant `:focus-visible`).
|
|
@@ -60,28 +48,52 @@
|
|
|
60
48
|
}
|
|
61
49
|
}
|
|
62
50
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
51
|
+
// The global focus rules. Call from exactly one global stylesheet: `styles/ds` does. A rule here,
|
|
52
|
+
// emitted at the top level instead, would be copied into every component stylesheet that uses a mixin.
|
|
53
|
+
@mixin emit-rules {
|
|
54
|
+
// Catches anything focusable that styles nothing itself; a shell ringing on `:focus-within`
|
|
55
|
+
// silences its control with `owns-the-focus-ring` to avoid a second ring.
|
|
56
|
+
:where(:focus-visible) {
|
|
57
|
+
@include ring;
|
|
58
|
+
}
|
|
67
59
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
60
|
+
@keyframes ds-focus-ring-in {
|
|
61
|
+
from {
|
|
62
|
+
outline-color: transparent;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
73
65
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
--ds-field-focus-shadow: var(--focus-ring-inset);
|
|
78
|
-
--ds-field-focus-shadow-error: var(--focus-ring-inset-error);
|
|
79
|
-
}
|
|
66
|
+
:root[data-focus='ring'] {
|
|
67
|
+
--ds-field-focus-shadow: var(--focus-ring);
|
|
68
|
+
--ds-field-focus-shadow-error: var(--focus-ring-error);
|
|
80
69
|
|
|
81
|
-
//
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
70
|
+
// `--warning-text`, not `--focus-ring-warning`: the bright warning hue is 1.47:1 on white, too faint for a ring.
|
|
71
|
+
--ds-field-focus-shadow-warning: 0 0 0 2px var(--focus-ring-inner), 0 0 0 4px var(--warning-text);
|
|
72
|
+
--ds-field-focus-shadow-success: var(--focus-ring-success);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:root[data-focus='edge'] {
|
|
76
|
+
--focus-ring-offset: 0px;
|
|
77
|
+
--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);
|
|
78
|
+
--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error);
|
|
79
|
+
--ds-field-focus-shadow-warning: 0 0 0 var(--border-width-default) var(--warning-text);
|
|
80
|
+
--ds-field-focus-shadow-success: 0 0 0 var(--border-width-default) var(--success);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Not pinned to :root: set it on a clipping element and everything inside keeps an indicator.
|
|
84
|
+
[data-focus='inset'] {
|
|
85
|
+
--focus-ring-offset: calc(-1 * var(--focus-ring-width));
|
|
86
|
+
--ds-field-focus-shadow: var(--focus-ring-inset);
|
|
87
|
+
--ds-field-focus-shadow-error: var(--focus-ring-inset-error);
|
|
88
|
+
--ds-field-focus-shadow-warning: inset 0 0 0 2px var(--focus-ring-inner), inset 0 0 0 4px var(--warning-text);
|
|
89
|
+
--ds-field-focus-shadow-success: inset 0 0 0 2px var(--focus-ring-inner), inset 0 0 0 4px var(--success);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Applies under every style: forced colours drops box-shadow, so the field halo vanishes.
|
|
93
|
+
@media (forced-colors: active) {
|
|
94
|
+
:where(:focus-visible) {
|
|
95
|
+
outline: var(--focus-ring-width) solid CanvasText;
|
|
96
|
+
outline-offset: var(--focus-ring-offset);
|
|
97
|
+
}
|
|
86
98
|
}
|
|
87
99
|
}
|
package/styles/_link.scss
CHANGED
|
@@ -80,6 +80,18 @@
|
|
|
80
80
|
font-weight: var(--font-weight-bold);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
/* Underlined on hover and keyboard focus only: for a link that stands on its own, such as a row action
|
|
84
|
+
or a list of links. A link inside running text keeps its underline, the cue that sets it apart from
|
|
85
|
+
the words around it without relying on colour. */
|
|
86
|
+
&.plain {
|
|
87
|
+
text-decoration-line: none;
|
|
88
|
+
|
|
89
|
+
&:hover,
|
|
90
|
+
&:focus-visible {
|
|
91
|
+
text-decoration-line: underline;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
83
95
|
&.xs { font-size: var(--font-size-xs); }
|
|
84
96
|
&.sm { font-size: var(--font-size-s); }
|
|
85
97
|
&.lg { font-size: var(--font-size-l); }
|
package/styles/_press.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// Declares no `transition`, which would clobber the host's own; add `filter`/`transform` to yours for an eased release.
|
|
7
7
|
|
|
8
8
|
@mixin feedback {
|
|
9
|
-
&:active:not(:disabled, [disabled], .is-disabled) {
|
|
9
|
+
&:active:not(:disabled, [disabled], .is-disabled, .disabled, [aria-disabled='true']) {
|
|
10
10
|
filter: brightness(var(--ds-press-brightness, 0.9));
|
|
11
11
|
transform: scale(var(--ds-press-scale, 0.97));
|
|
12
12
|
}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
from it on :root would ignore one set on a single chart. */
|
|
68
68
|
--chart-bg-color: var(--surface-default);
|
|
69
69
|
|
|
70
|
-
/* FRAME: inside a card
|
|
70
|
+
/* FRAME: inside a card use frame="none" / DS_CONFIG.chart.frame; these tokens size the frame when it is on. */
|
|
71
71
|
--chart-frame-border-color: var(--border-default);
|
|
72
72
|
--chart-frame-border-width: var(--border-width-default);
|
|
73
73
|
--chart-frame-radius: var(--radius-lg);
|
package/styles/_tokens.scss
CHANGED
|
@@ -241,6 +241,8 @@
|
|
|
241
241
|
declared, so a ds-color zone could never reach it. */
|
|
242
242
|
--ds-field-focus-shadow: var(--focus-field);
|
|
243
243
|
--ds-field-focus-shadow-error: var(--focus-field-error);
|
|
244
|
+
--ds-field-focus-shadow-warning: var(--focus-field-warning);
|
|
245
|
+
--ds-field-focus-shadow-success: var(--focus-field-success);
|
|
244
246
|
--ds-control-focus-shadow: var(--focus-ring);
|
|
245
247
|
--ds-control-focus-shadow-error: var(--focus-ring-error);
|
|
246
248
|
|
package/styles/ds.scss
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// @use 'themes/base-palette'; @use 'styles/theme-activation'; @use 'styles/tokens';
|
|
7
7
|
|
|
8
8
|
@use 'breakpoints' as bp-emit;
|
|
9
|
+
@use 'focus' as focus-emit;
|
|
9
10
|
@forward '../themes/base-palette';
|
|
10
11
|
@forward 'theme-activation';
|
|
11
12
|
@forward 'tokens';
|
|
@@ -27,3 +28,4 @@
|
|
|
27
28
|
@forward 'overlay-motion';
|
|
28
29
|
@forward 'skeleton-shimmer';
|
|
29
30
|
@include bp-emit.emit-vars;
|
|
31
|
+
@include focus-emit.emit-rules;
|
|
@@ -141,8 +141,10 @@ declare class AppLayoutComponent {
|
|
|
141
141
|
* PUT IT ON THE FOCUSABLE CONTROL, not on a wrapper: on `<ds-icon-button>` the
|
|
142
142
|
* host is the wrapper, not the inner `<button>`. With a DS button, skip this
|
|
143
143
|
* directive and bind its forwarding inputs instead:
|
|
144
|
-
* `[ariaExpanded]="layout.railOverlay() ? layout.railOpen() : null"
|
|
145
|
-
* `[ariaControls]="layout.
|
|
144
|
+
* `[ariaExpanded]="layout.railOverlay() ? layout.railOpen() : null"`,
|
|
145
|
+
* `[ariaControls]="layout.railOverlay() ? layout.railId : null"` and
|
|
146
|
+
* `(pressed)="layout.railOpen.set(!layout.railOpen())"` off a
|
|
147
|
+
* `<ds-app-layout #layout>` template ref.
|
|
146
148
|
*
|
|
147
149
|
* Both attributes are dropped while the rail is NOT an overlay, since
|
|
148
150
|
* `aria-expanded="false"` would misstate a permanently visible rail.
|
|
@@ -45,9 +45,9 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
45
45
|
/** How `routerLinkActive` decides the `active` class; prefix by default. It also bounds the
|
|
46
46
|
* announcement: with `{ exact: true }` a prefix match announces nothing rather than `true`.
|
|
47
47
|
* Pass `ariaCurrent` alongside to keep one. */
|
|
48
|
-
readonly routerLinkActiveOptions: _angular_core.InputSignal<
|
|
48
|
+
readonly routerLinkActiveOptions: _angular_core.InputSignal<{
|
|
49
49
|
exact: boolean;
|
|
50
|
-
}>;
|
|
50
|
+
} | IsActiveMatchOptions>;
|
|
51
51
|
/** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
|
|
52
52
|
* `true`; `null` announces nothing; use `step` or `location` when the link is not a page. */
|
|
53
53
|
readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, Signal } from '@angular/core';
|
|
2
|
+
import { TemplateRef, Signal, InjectionToken } from '@angular/core';
|
|
3
3
|
import { SafeHtml } from '@angular/platform-browser';
|
|
4
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
4
5
|
|
|
5
6
|
/** Which mark a chart's tooltip answers for. `'item'` is the mark under the pointer;
|
|
6
7
|
* `'axis'` is every series at the category under the pointer (line charts). */
|
|
@@ -52,6 +53,7 @@ declare class ChartTooltipDirective {
|
|
|
52
53
|
private panelRef;
|
|
53
54
|
private detachScrollReposition;
|
|
54
55
|
private detachEscape;
|
|
56
|
+
private detachOffscreen;
|
|
55
57
|
private glide;
|
|
56
58
|
constructor();
|
|
57
59
|
private open;
|
|
@@ -119,5 +121,64 @@ declare class ChartPinMarkerComponent {
|
|
|
119
121
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartPinMarkerComponent, "g[dsChartPinMarker]", never, {}, {}, never, never, true, never>;
|
|
120
122
|
}
|
|
121
123
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
/**
|
|
125
|
+
* Provided by a chart that wraps `ds-chart` and draws the Unpin control for its cursor itself,
|
|
126
|
+
* on its own caption line; the wrapped `ds-chart` then draws none.
|
|
127
|
+
*
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
declare const CHART_UNPIN_DRAWN_BY_HOST: InjectionToken<true>;
|
|
131
|
+
/**
|
|
132
|
+
* The control that releases a held mark or category, at the top end of the chart. Every chart
|
|
133
|
+
* draws this one; the chart's own stylesheet makes room for it through `chart-frame.pin-reset`.
|
|
134
|
+
*
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
declare class ChartUnpinComponent {
|
|
138
|
+
readonly pinned: _angular_core.InputSignal<boolean>;
|
|
139
|
+
readonly release: _angular_core.OutputEmitterRef<void>;
|
|
140
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
141
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartUnpinComponent, never>;
|
|
142
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartUnpinComponent, "ds-chart-unpin", never, { "pinned": { "alias": "pinned"; "required": true; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Context of a chart's own `message` template: the text, and whether it reports an error.
|
|
147
|
+
*
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
interface ChartStatesMessageContext {
|
|
151
|
+
readonly $implicit: string;
|
|
152
|
+
readonly error: boolean;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* The Unpin control, caption and error / loading / empty states every chart draws, then `body`.
|
|
156
|
+
* It sits on the chart's own `<figure>` so the caption stays the figure's direct child, which is
|
|
157
|
+
* what names the figure. `skeleton`, `body` and `message` are declared in the chart's template
|
|
158
|
+
* and keep its styles; the message box takes its height from an inherited
|
|
159
|
+
* `--_chart-message-height`.
|
|
160
|
+
*
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
163
|
+
declare class ChartStatesComponent {
|
|
164
|
+
readonly unpin: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
165
|
+
readonly pinned: _angular_core.InputSignal<boolean>;
|
|
166
|
+
readonly release: _angular_core.OutputEmitterRef<void>;
|
|
167
|
+
readonly caption: _angular_core.InputSignal<string | null>;
|
|
168
|
+
readonly error: _angular_core.InputSignal<boolean>;
|
|
169
|
+
readonly errorText: _angular_core.InputSignal<string>;
|
|
170
|
+
readonly pending: _angular_core.InputSignal<boolean>;
|
|
171
|
+
readonly empty: _angular_core.InputSignal<boolean>;
|
|
172
|
+
readonly emptyText: _angular_core.InputSignal<string>;
|
|
173
|
+
/** Draws the axis L along the message box's start and bottom edges. */
|
|
174
|
+
readonly messageAxes: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
175
|
+
readonly skeleton: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
176
|
+
readonly body: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
177
|
+
/** Replaces the default error and empty paragraph. */
|
|
178
|
+
readonly message: _angular_core.InputSignal<TemplateRef<ChartStatesMessageContext> | null>;
|
|
179
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartStatesComponent, never>;
|
|
180
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartStatesComponent, "figure[dsChartStates]", never, { "unpin": { "alias": "unpin"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "messageAxes": { "alias": "messageAxes"; "required": false; "isSignal": true; }; "skeleton": { "alias": "skeleton"; "required": true; "isSignal": true; }; "body": { "alias": "body"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export { CHART_PIN_GAP, CHART_PIN_RADIUS, CHART_UNPIN_DRAWN_BY_HOST, ChartPinMarkerComponent, ChartStatesComponent, ChartTooltipDirective, ChartUnpinComponent, chartActiveMark };
|
|
184
|
+
export type { ChartActiveMark, ChartItemTooltipTrigger, ChartStatesMessageContext, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger };
|