@ids-group-ltd/ids-design-system 0.12.1 → 0.12.3
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 +394 -0
- package/components.md +3 -1
- package/docs/agent/forms/ds-button.md +3 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +10 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +20 -21
- 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 +57 -40
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +9 -4
- 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 +10 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +13 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.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-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-modal.mjs +5 -5
- 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 +10 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.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-popover.mjs +13 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +12 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +10 -13
- 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 +11 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +9 -4
- 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 +8 -20
- 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-export.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +85 -9
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.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 +10 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.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.mjs +43 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/migrations/0.12.0.json +30 -2
- package/migrations/0.12.1.json +132 -6
- package/migrations/0.12.2.json +291 -0
- package/migrations/0.12.3.json +83 -0
- package/package.json +1 -1
- package/styles/_check-box.scss +7 -0
- package/styles/_clear-button.scss +28 -0
- package/styles/_control-line.scss +45 -0
- package/styles/_field-state.scss +14 -15
- package/styles/_focus.scss +31 -60
- package/styles/_table-controls.scss +66 -0
- package/styles/_tokens.scss +22 -31
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +8 -17
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +26 -29
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +10 -10
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +9 -2
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +18 -1
- package/types/ids-group-ltd-ids-design-system-components.d.ts +37 -2
- package/types/ids-group-ltd-ids-design-system-core.d.ts +5 -0
|
@@ -23,18 +23,23 @@ declare class SwitchComponent extends DsBooleanControlValueAccessor {
|
|
|
23
23
|
/** Inline label rendered beside the track and wired via for/id. Omit to
|
|
24
24
|
* bring your own <label>. */
|
|
25
25
|
readonly label: _angular_core.InputSignal<string>;
|
|
26
|
+
/** Accessible name for a control with no visible label — the row's `<label>` collapses when it
|
|
27
|
+
* is empty, leaving nothing to name it. Set beside a label it OVERRIDES the label, per ARIA. */
|
|
28
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
26
29
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
27
30
|
protected readonly uid: string;
|
|
28
31
|
protected readonly controlId: _angular_core.Signal<string>;
|
|
29
32
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
30
33
|
private readonly fieldMessage;
|
|
31
34
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
35
|
+
/** Only name via aria-label when there is no visible `<label for>` to do it. */
|
|
36
|
+
protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
|
|
32
37
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
33
38
|
protected readonly switchClasses: _angular_core.Signal<string>;
|
|
34
39
|
protected readonly fieldClass: _angular_core.Signal<string>;
|
|
35
40
|
protected onCheckedChange(event: Event): void;
|
|
36
41
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
37
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "ds-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
42
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "ds-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
38
43
|
}
|
|
39
44
|
|
|
40
45
|
export { SwitchComponent };
|
|
@@ -518,6 +518,17 @@ declare class TableComponent<T extends object> {
|
|
|
518
518
|
protected readonly sortModeResolved: _angular_core.Signal<TableSortMode>;
|
|
519
519
|
readonly borderedResolved: _angular_core.Signal<boolean>;
|
|
520
520
|
readonly stickyScrollbarResolved: _angular_core.Signal<boolean>;
|
|
521
|
+
/**
|
|
522
|
+
* Where the sticky horizontal scrollbar comes to rest, as any CSS length.
|
|
523
|
+
*
|
|
524
|
+
* Unset, the table measures its scroll container's bottom padding and cancels it, so the bar
|
|
525
|
+
* sits on the edge the reader can see. Set it for a scrollport whose reachable edge is not its
|
|
526
|
+
* padding edge. Falls back to `DS_CONFIG.table.stickyScrollbarOffset`;
|
|
527
|
+
* `--ds-table-sticky-scrollbar-offset` still wins over both, for a rule that has to reach one
|
|
528
|
+
* table from a stylesheet.
|
|
529
|
+
*/
|
|
530
|
+
readonly stickyScrollbarOffset: _angular_core.InputSignal<string | null>;
|
|
531
|
+
readonly stickyScrollbarOffsetResolved: _angular_core.Signal<string | null>;
|
|
521
532
|
/** Pin the first data column (and the select column) on horizontal scroll. */
|
|
522
533
|
readonly stickyFirstColumn: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
523
534
|
/**
|
|
@@ -619,6 +630,8 @@ declare class TableComponent<T extends object> {
|
|
|
619
630
|
* what a list uses on every read after the first, so suppressing only under
|
|
620
631
|
* `skeleton` paints "No rows yet" under the spinner on a zero-row reload. */
|
|
621
632
|
protected readonly showsEmptyRow: _angular_core.Signal<boolean>;
|
|
633
|
+
/** Loading, nothing to show yet, and not the skeleton mode which draws its own rows. */
|
|
634
|
+
protected readonly showsLoadingSpace: _angular_core.Signal<boolean>;
|
|
622
635
|
protected readonly layout: DsTableLayout<T>;
|
|
623
636
|
private readonly toolbarAnchor;
|
|
624
637
|
private readonly headerUtilityAnchor;
|
|
@@ -633,12 +646,14 @@ declare class TableComponent<T extends object> {
|
|
|
633
646
|
protected readonly hasUtilityColumn: _angular_core.Signal<boolean>;
|
|
634
647
|
private readonly columnFilterPopover;
|
|
635
648
|
/** The column whose filter menu is open — drives the distinct-value list. */
|
|
649
|
+
protected readonly hasAnyColumnFilter: _angular_core.Signal<boolean>;
|
|
636
650
|
protected readonly filterColumn: _angular_core.WritableSignal<TableColumn<T> | null>;
|
|
637
651
|
protected readonly filterSearch: _angular_core.WritableSignal<string>;
|
|
638
652
|
private readonly headerFilters;
|
|
639
653
|
private readonly headerFilterByKey;
|
|
640
654
|
protected headerFilterFor(col: TableColumn<T>): HeaderFilterDirective | undefined;
|
|
641
655
|
protected hasColumnFilter(col: TableColumn<T>): boolean;
|
|
656
|
+
protected isFilterPanelOpen(col: TableColumn<T>): boolean;
|
|
642
657
|
protected isColumnFiltered(col: TableColumn<T>): boolean;
|
|
643
658
|
private optionsFor;
|
|
644
659
|
protected readonly filterValues: _angular_core.Signal<readonly string[]>;
|
|
@@ -751,7 +766,9 @@ declare class TableComponent<T extends object> {
|
|
|
751
766
|
private readonly scrollWrap;
|
|
752
767
|
private readonly hscrollProxy;
|
|
753
768
|
private readonly tableHead;
|
|
769
|
+
private publishHeadHeight;
|
|
754
770
|
private readonly hostElement;
|
|
771
|
+
private scrollAncestor;
|
|
755
772
|
protected readonly hscrollContentWidth: _angular_core.WritableSignal<number>;
|
|
756
773
|
protected readonly hscrollNeeded: _angular_core.WritableSignal<boolean>;
|
|
757
774
|
private readonly scrollTop;
|
|
@@ -808,7 +825,7 @@ declare class TableComponent<T extends object> {
|
|
|
808
825
|
* across re-renders. */
|
|
809
826
|
protected skeletonWidth(col: TableColumn<T>, rowIndex: number): string;
|
|
810
827
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
811
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ds-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "animateHeight": { "alias": "animateHeight"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "sortKey": { "alias": "sortKey"; "required": false; "isSignal": true; }; "sortDir": { "alias": "sortDir"; "required": false; "isSignal": true; }; "sortingOrder": { "alias": "sortingOrder"; "required": false; "isSignal": true; }; "sortAnnouncement": { "alias": "sortAnnouncement"; "required": false; "isSignal": true; }; "rangeAnnouncement": { "alias": "rangeAnnouncement"; "required": false; "isSignal": true; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "rowInteractive": { "alias": "rowInteractive"; "required": false; "isSignal": true; }; "activeRowId": { "alias": "activeRowId"; "required": false; "isSignal": true; }; "filterQuery": { "alias": "filterQuery"; "required": false; "isSignal": true; }; "columnFilters": { "alias": "columnFilters"; "required": false; "isSignal": true; }; "persistLayout": { "alias": "persistLayout"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "stickyScrollbar": { "alias": "stickyScrollbar"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "scrollToTopOnPageChange": { "alias": "scrollToTopOnPageChange"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "columnFilterOptions": { "alias": "columnFilterOptions"; "required": false; "isSignal": true; }; "stickyFirstColumn": { "alias": "stickyFirstColumn"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualRowSize": { "alias": "virtualRowSize"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "cellTemplateMap": { "alias": "cellTemplateMap"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "expandableRows": { "alias": "expandableRows"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "expandMode": { "alias": "expandMode"; "required": false; "isSignal": true; }; "expandAllToggle": { "alias": "expandAllToggle"; "required": false; "isSignal": true; }; "rowExpandTemplate": { "alias": "rowExpandTemplate"; "required": false; "isSignal": true; }; }, { "selectedIds": "selectedIdsChange"; "sortKeyChange": "sortKeyChange"; "sortDirChange": "sortDirChange"; "columnFilters": "columnFiltersChange"; "pageSize": "pageSizeChange"; "page": "pageChange"; "lazyLoad": "lazyLoad"; "rowClicked": "rowClicked"; "sortChange": "sortChange"; "rowActionSelected": "rowActionSelected"; "cellEdited": "cellEdited"; "expandedIds": "expandedIdsChange"; "rowExpanded": "rowExpanded"; "rowCollapsed": "rowCollapsed"; }, ["cellTemplateDirectives", "headerFilters"], ["[toolbar]", "[empty]", "[bulk-actions]"], true, never>;
|
|
828
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ds-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "animateHeight": { "alias": "animateHeight"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "sortKey": { "alias": "sortKey"; "required": false; "isSignal": true; }; "sortDir": { "alias": "sortDir"; "required": false; "isSignal": true; }; "sortingOrder": { "alias": "sortingOrder"; "required": false; "isSignal": true; }; "sortAnnouncement": { "alias": "sortAnnouncement"; "required": false; "isSignal": true; }; "rangeAnnouncement": { "alias": "rangeAnnouncement"; "required": false; "isSignal": true; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "rowInteractive": { "alias": "rowInteractive"; "required": false; "isSignal": true; }; "activeRowId": { "alias": "activeRowId"; "required": false; "isSignal": true; }; "filterQuery": { "alias": "filterQuery"; "required": false; "isSignal": true; }; "columnFilters": { "alias": "columnFilters"; "required": false; "isSignal": true; }; "persistLayout": { "alias": "persistLayout"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "stickyScrollbar": { "alias": "stickyScrollbar"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "scrollToTopOnPageChange": { "alias": "scrollToTopOnPageChange"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "columnFilterOptions": { "alias": "columnFilterOptions"; "required": false; "isSignal": true; }; "stickyScrollbarOffset": { "alias": "stickyScrollbarOffset"; "required": false; "isSignal": true; }; "stickyFirstColumn": { "alias": "stickyFirstColumn"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualRowSize": { "alias": "virtualRowSize"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "cellTemplateMap": { "alias": "cellTemplateMap"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "expandableRows": { "alias": "expandableRows"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "expandMode": { "alias": "expandMode"; "required": false; "isSignal": true; }; "expandAllToggle": { "alias": "expandAllToggle"; "required": false; "isSignal": true; }; "rowExpandTemplate": { "alias": "rowExpandTemplate"; "required": false; "isSignal": true; }; }, { "selectedIds": "selectedIdsChange"; "sortKeyChange": "sortKeyChange"; "sortDirChange": "sortDirChange"; "columnFilters": "columnFiltersChange"; "pageSize": "pageSizeChange"; "page": "pageChange"; "lazyLoad": "lazyLoad"; "rowClicked": "rowClicked"; "sortChange": "sortChange"; "rowActionSelected": "rowActionSelected"; "cellEdited": "cellEdited"; "expandedIds": "expandedIdsChange"; "rowExpanded": "rowExpanded"; "rowCollapsed": "rowCollapsed"; }, ["cellTemplateDirectives", "headerFilters"], ["[toolbar]", "[empty]", "[bulk-actions]"], true, never>;
|
|
812
829
|
}
|
|
813
830
|
|
|
814
831
|
export { CellTemplateDirective, DsTableLayout, HeaderFilterDirective, TableComponent };
|
|
@@ -300,6 +300,16 @@ declare class DsCreateTemplateDirective {
|
|
|
300
300
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DsCreateTemplateDirective, "[dsCreateTemplate]", never, {}, {}, never, never, true, never>;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
+
type DsDestination = 'routerLink' | 'href' | 'button';
|
|
304
|
+
/**
|
|
305
|
+
* No destination is a `<button>`, never an `<a href="#">`: a `#` href navigates, rewriting the URL
|
|
306
|
+
* and discarding the scroll position. Only the decision is shared — each control keeps its own
|
|
307
|
+
* template branches, because a shared one would need a wrapper that changes the control's box.
|
|
308
|
+
*
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
declare function dsDestination(routerLink: Signal<string | readonly unknown[] | null>, href: Signal<string>): Signal<DsDestination>;
|
|
312
|
+
|
|
303
313
|
/**
|
|
304
314
|
* Replaces a picker panel's "no matches" row — an icon, a sentence in the app's
|
|
305
315
|
* own language, a "clear the filter" button.
|
|
@@ -448,6 +458,31 @@ declare function closeOnOutsidePointer(overlayRef: OverlayRef, isInsideTrigger:
|
|
|
448
458
|
* @internal
|
|
449
459
|
*/
|
|
450
460
|
declare function closeOnScroll(overlayRef: OverlayRef, close: () => void): () => void;
|
|
461
|
+
/**
|
|
462
|
+
* Sync a component's "which overlay is mine, and is it open" state when THIS overlay detaches,
|
|
463
|
+
* skipping the write when a newer one has already taken over.
|
|
464
|
+
*
|
|
465
|
+
* `disposeWithLeave` defers the dispose of a dismissed overlay until its exit animation ends, so a
|
|
466
|
+
* dismiss followed by a re-open inside that window makes the OLD overlay's detachment arrive while
|
|
467
|
+
* the NEW one is live. Clearing unconditionally then left that new panel on screen with its
|
|
468
|
+
* component believing it was closed — no `aria-expanded`, and `close()` declining to run because
|
|
469
|
+
* the ref it checks was already null, which is to say the panel could not be dismissed at all.
|
|
470
|
+
* Measured in ds-date-picker, ds-color-picker, ds-time-picker and ds-popover; ds-select,
|
|
471
|
+
* ds-autocomplete and ds-multi-select each carried the check by hand, and the four that did not
|
|
472
|
+
* are why it lives here instead.
|
|
473
|
+
*
|
|
474
|
+
* A detachment of the CURRENT overlay always clears, whatever caused it — so a stray CDK detach
|
|
475
|
+
* still releases a reopen guard that keys off the stored ref rather than wedging it.
|
|
476
|
+
* @internal
|
|
477
|
+
*/
|
|
478
|
+
declare function clearOnDetach(overlayRef: OverlayRef, { current, clear, always, }: {
|
|
479
|
+
/** Reads the ref the component considers live right now. */
|
|
480
|
+
current: () => OverlayRef | null;
|
|
481
|
+
/** Drops the stored ref and marks the component closed. */
|
|
482
|
+
clear: () => void;
|
|
483
|
+
/** Teardown that must run for every detachment, current or superseded. */
|
|
484
|
+
always?: () => void;
|
|
485
|
+
}): void;
|
|
451
486
|
/** True when keyboard focus currently sits inside the overlay pane. Read it
|
|
452
487
|
* BEFORE disposing, to decide whether the close has to refocus the trigger
|
|
453
488
|
* rather than strand focus on `<body>`. An outside-pointer close leaves focus on
|
|
@@ -600,5 +635,5 @@ interface DsTypeAhead {
|
|
|
600
635
|
/** @internal */
|
|
601
636
|
declare function createTypeAhead(): DsTypeAhead;
|
|
602
637
|
|
|
603
|
-
export { DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, chipFit, closeOnOutsidePointer, closeOnScroll, createTypeAhead, disposeWithLeave, dropdownOverlay, focusIsInside, forwardOverlayTokens, nextControlId, overlayPlacementOf, prepareOverlayEnter, resolveBrandValue, resolveFieldMessage, scrollActiveOptionIntoView, trimmedText, valueControlBridge };
|
|
604
|
-
export type { DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsOverlayCloseCause };
|
|
638
|
+
export { DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, disposeWithLeave, dropdownOverlay, dsDestination, focusIsInside, forwardOverlayTokens, nextControlId, overlayPlacementOf, prepareOverlayEnter, resolveBrandValue, resolveFieldMessage, scrollActiveOptionIntoView, trimmedText, valueControlBridge };
|
|
639
|
+
export type { DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsOverlayCloseCause };
|
|
@@ -223,6 +223,11 @@ interface DsConfig {
|
|
|
223
223
|
/** Default for `ds-table`'s `bordered` — the outer border and radius.
|
|
224
224
|
* Default `false`. */
|
|
225
225
|
bordered?: boolean;
|
|
226
|
+
/** Default for `ds-table`'s `stickyScrollbarOffset` — where the sticky horizontal bar comes
|
|
227
|
+
* to rest, as any CSS length. Unset, each table measures its own scroll container's bottom
|
|
228
|
+
* padding and cancels it, which puts the bar on the edge the reader sees; set this for an app
|
|
229
|
+
* whose scrollports end somewhere else, so every table agrees without a binding each. */
|
|
230
|
+
stickyScrollbarOffset?: string;
|
|
226
231
|
};
|
|
227
232
|
icon?: {
|
|
228
233
|
/** Default pixel `size` for `ds-icon`. Default `16`. */
|