@ds-mo/ui 14.15.0 → 14.16.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/dist/.package-ready.json +1 -1
- package/dist/agent-patterns.json +3 -3
- package/dist/agent.json +161 -24
- package/dist/angular/ds-button-unfilled.d.ts +1 -1
- package/dist/angular/ds-button-unfilled.js +3 -3
- package/dist/angular/ds-filter-menu.d.ts +1 -1
- package/dist/angular/ds-filter-menu.js +3 -3
- package/dist/angular/ds-select.d.ts +1 -1
- package/dist/angular/ds-select.js +3 -3
- package/dist/angular/ds-table-sort.d.ts +16 -0
- package/dist/angular/ds-table-sort.js +43 -0
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +1 -0
- package/dist/angular/proxies.d.ts +1 -0
- package/dist/angular/proxies.js +1 -0
- package/dist/components/ds-agent-activity.js +1 -1
- package/dist/components/ds-agent-questionnaire.js +1 -1
- package/dist/components/ds-agent-response.js +1 -1
- package/dist/components/ds-agent-source-list.js +1 -1
- package/dist/components/ds-agent-tool-call.js +1 -1
- package/dist/components/ds-attachment-list.js +1 -1
- package/dist/components/ds-badge.js +1 -1
- package/dist/components/ds-banner.js +1 -1
- package/dist/components/ds-banner.js.map +1 -1
- package/dist/components/ds-bar-action.js +1 -1
- package/dist/components/ds-bar-action.js.map +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-title.js +1 -1
- package/dist/components/ds-bar-workflow.js +1 -1
- package/dist/components/ds-bar-workflow.js.map +1 -1
- package/dist/components/ds-breadcrumb.js +1 -1
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/ds-button-unfilled.js +1 -1
- package/dist/components/ds-card-chart.js +1 -1
- package/dist/components/ds-card-chart.js.map +1 -1
- package/dist/components/ds-card-overview.js +1 -1
- package/dist/components/ds-card-overview.js.map +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card-setting.js.map +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart-legend.js.map +1 -1
- package/dist/components/ds-chart.js +1 -1
- package/dist/components/ds-chart.js.map +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-chip.js.map +1 -1
- package/dist/components/ds-code-block.js +1 -1
- package/dist/components/ds-conversation-list-item.js +1 -1
- package/dist/components/ds-conversation-list-item.js.map +1 -1
- package/dist/components/ds-conversation-list-section.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-filter-menu.js +1 -1
- package/dist/components/ds-filter-menu.js.map +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-loader.js +1 -1
- package/dist/components/ds-markdown.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-message-actions.js +1 -1
- package/dist/components/ds-message-actions.js.map +1 -1
- package/dist/components/ds-message-composer.js +1 -1
- package/dist/components/ds-message-composer.js.map +1 -1
- package/dist/components/ds-message-scroller.js +1 -1
- package/dist/components/ds-message-scroller.js.map +1 -1
- package/dist/components/ds-message.js +1 -1
- package/dist/components/ds-mobile-bar-nav.js +1 -1
- package/dist/components/ds-mobile-header.js +1 -1
- package/dist/components/ds-mobile-section-switcher.js +1 -1
- package/dist/components/ds-mobile-sheet-nav.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-pagination.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-sub-nav.js +1 -1
- package/dist/components/ds-panel-sub-nav.js.map +1 -1
- package/dist/components/ds-panel-tool-header.js +1 -1
- package/dist/components/ds-panel-tool-search.js +1 -1
- package/dist/components/ds-panel-tool-search.js.map +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-paper-texture.js +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-scroll-overlay.js +1 -1
- package/dist/components/ds-scroll-overlay.js.map +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-shell-app.js +1 -1
- package/dist/components/ds-shell-app.js.map +1 -1
- package/dist/components/ds-shell-page.js +1 -1
- package/dist/components/ds-shell-tools.js +1 -1
- package/dist/components/ds-skeleton.js +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-slider.js.map +1 -1
- package/dist/components/ds-swatch-picker.js +1 -1
- package/dist/components/ds-switch.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-table-saved-views.js +1 -1
- package/dist/components/ds-table-saved-views.js.map +1 -1
- package/dist/components/ds-table-sort.d.ts +11 -0
- package/dist/components/ds-table-sort.js +2 -0
- package/dist/components/ds-table-sort.js.map +1 -0
- package/dist/components/ds-table-toolbar.js +1 -1
- package/dist/components/ds-table-toolbar.js.map +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast.js +1 -1
- package/dist/components/ds-toast.js.map +1 -1
- package/dist/components/ds-tooltip-chart.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-typing-indicator.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-CjgnFGd6.js → p-0IbKxhqM.js} +2 -2
- package/dist/components/{p-CjgnFGd6.js.map → p-0IbKxhqM.js.map} +1 -1
- package/dist/components/p-23u3lIr1.js +2 -0
- package/dist/components/{p-DLkNcCY0.js.map → p-23u3lIr1.js.map} +1 -1
- package/dist/components/{p-DfyfrfHL.js → p-3dYwA4i_.js} +2 -2
- package/dist/components/{p-DfyfrfHL.js.map → p-3dYwA4i_.js.map} +1 -1
- package/dist/components/{p-C1q-tq3U.js → p-7tZx4ukz.js} +2 -2
- package/dist/components/{p-C5TrNd31.js → p-B0PEg5RF.js} +2 -2
- package/dist/components/{p-C5TrNd31.js.map → p-B0PEg5RF.js.map} +1 -1
- package/dist/components/{p-DZFilC--.js → p-BGXqFq2C.js} +2 -2
- package/dist/components/{p-Rfpd5mWO.js → p-BHDkJmrC.js} +2 -2
- package/dist/components/{p-Rfpd5mWO.js.map → p-BHDkJmrC.js.map} +1 -1
- package/dist/components/{p-BXPQmp7q.js → p-BK-JjdoN.js} +2 -2
- package/dist/components/p-BUhShHfb.js +2 -0
- package/dist/components/{p-URdgCwEs.js.map → p-BUhShHfb.js.map} +1 -1
- package/dist/components/{p-CKY989vF.js → p-BUrbVZJU.js} +2 -2
- package/dist/components/{p-CKY989vF.js.map → p-BUrbVZJU.js.map} +1 -1
- package/dist/components/{p-V2ywPfsR.js → p-BVlfQ8xZ.js} +2 -2
- package/dist/components/{p-V2ywPfsR.js.map → p-BVlfQ8xZ.js.map} +1 -1
- package/dist/components/p-BdnQv7Zl.js +2 -0
- package/dist/components/p-BdnQv7Zl.js.map +1 -0
- package/dist/components/{p-Btxwp4lJ.js → p-BhYWdbEp.js} +2 -2
- package/dist/components/{p-Btxwp4lJ.js.map → p-BhYWdbEp.js.map} +1 -1
- package/dist/components/{p-B80NfEqc.js → p-C0X2zKbB.js} +2 -2
- package/dist/components/{p-Cyw9odJX.js → p-C4p2i59V.js} +2 -2
- package/dist/components/{p-Cyw9odJX.js.map → p-C4p2i59V.js.map} +1 -1
- package/dist/components/p-C91izpHV.js +2 -0
- package/dist/components/{p-CnWC0QvG.js.map → p-C91izpHV.js.map} +1 -1
- package/dist/components/p-COVcyUAA.js +2 -0
- package/dist/components/p-COVcyUAA.js.map +1 -0
- package/dist/components/{p-D1Nqlrrl.js → p-C_TOgX82.js} +2 -2
- package/dist/components/{p-D1Nqlrrl.js.map → p-C_TOgX82.js.map} +1 -1
- package/dist/components/{p-Ct-m0I6U.js → p-CaAZ-D08.js} +2 -2
- package/dist/components/p-Cr2VT5zv.js +2 -0
- package/dist/components/{p-M9DPfXbP.js.map → p-Cr2VT5zv.js.map} +1 -1
- package/dist/components/{p-Dsn1RCS5.js → p-Ct2GVdSI.js} +2 -2
- package/dist/components/{p-Dsn1RCS5.js.map → p-Ct2GVdSI.js.map} +1 -1
- package/dist/components/p-CwkcFMMe.js +2 -0
- package/dist/components/{p-CWDmHPJC.js.map → p-CwkcFMMe.js.map} +1 -1
- package/dist/components/p-CxBE3l74.js +2 -0
- package/dist/components/{p-CKJzHclc.js.map → p-CxBE3l74.js.map} +1 -1
- package/dist/components/{p-PzI11fs8.js → p-CzcWZiH-.js} +2 -2
- package/dist/components/{p-PzI11fs8.js.map → p-CzcWZiH-.js.map} +1 -1
- package/dist/components/{p-BagXfn1G.js → p-D1YhYulL.js} +2 -2
- package/dist/components/{p-BzObtSlo.js → p-D2z2DgtX.js} +2 -2
- package/dist/components/{p-BzObtSlo.js.map → p-D2z2DgtX.js.map} +1 -1
- package/dist/components/{p-DcPVSNDr.js → p-D8Qd6gkf.js} +2 -2
- package/dist/components/{p-DcPVSNDr.js.map → p-D8Qd6gkf.js.map} +1 -1
- package/dist/components/p-DAV32g35.js +2 -0
- package/dist/components/p-DAV32g35.js.map +1 -0
- package/dist/components/{p-BHjw0x3L.js → p-DAqSoyd4.js} +2 -2
- package/dist/components/{p-BHjw0x3L.js.map → p-DAqSoyd4.js.map} +1 -1
- package/dist/components/{p-Bf_D3crn.js → p-DNJTN_s0.js} +2 -2
- package/dist/components/{p-DL_5VENG.js → p-DQqOzDEq.js} +2 -2
- package/dist/components/{p-C5eosu67.js → p-DRBTr6TS.js} +2 -2
- package/dist/components/{p-C5eosu67.js.map → p-DRBTr6TS.js.map} +1 -1
- package/dist/components/{p-D-kWb8cF.js → p-DSIOINBK.js} +2 -2
- package/dist/components/{p-QdI17bl-.js → p-Dg9qiMDa.js} +2 -2
- package/dist/components/{p-DTMxwYQj.js → p-EWI6ccs-.js} +2 -2
- package/dist/components/p-JPTkZ3Ji.js +2 -0
- package/dist/components/p-JPTkZ3Ji.js.map +1 -0
- package/dist/components/p-MxptXwlW.js +2 -0
- package/dist/components/{p-C2n8A8NA.js.map → p-MxptXwlW.js.map} +1 -1
- package/dist/components/{p-B7Hf86NF.js → p-PD1Vfg0t.js} +2 -2
- package/dist/components/{p-B7Hf86NF.js.map → p-PD1Vfg0t.js.map} +1 -1
- package/dist/components/{p-BxqBiVbH.js → p-U8JIZzI2.js} +2 -2
- package/dist/components/{p-BxqBiVbH.js.map → p-U8JIZzI2.js.map} +1 -1
- package/dist/components/{p-Ck_VRQYi.js → p-WGZWqh-B.js} +2 -2
- package/dist/components/{p-Ck_VRQYi.js.map → p-WGZWqh-B.js.map} +1 -1
- package/dist/components/{p-vWK5faWZ.js → p-a6qP60zb.js} +2 -2
- package/dist/components/p-vzxD117T.js +2 -0
- package/dist/components/{p-BzLnSwG9.js.map → p-vzxD117T.js.map} +1 -1
- package/dist/components/{p-jMCRaxQW.js → p-y4jhIkRc.js} +2 -2
- package/dist/components/{p-jMCRaxQW.js.map → p-y4jhIkRc.js.map} +1 -1
- package/dist/docs/components.json +326 -11
- package/dist/mcp-data/registry/button-unfilled.json +26 -7
- package/dist/mcp-data/registry/filter-menu.json +25 -6
- package/dist/mcp-data/registry/loader.json +1 -1
- package/dist/mcp-data/registry/registry.json +163 -23
- package/dist/mcp-data/registry/select.json +22 -3
- package/dist/mcp-data/registry/shell-app.json +3 -3
- package/dist/mcp-data/registry/table-saved-views.json +4 -4
- package/dist/mcp-data/registry/table-sort.json +229 -0
- package/dist/mcp-data/registry/table-toolbar.json +19 -12
- package/dist/mcp-data/registry/table.json +16 -9
- package/dist/react/components.d.ts +1 -0
- package/dist/react/components.js +1 -0
- package/dist/react/ds-table-sort.d.ts +12 -0
- package/dist/react/ds-table-sort.js +12 -0
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +16 -1
- package/dist/types/components/FilterMenu/FilterMenu.d.ts +11 -0
- package/dist/types/components/Select/Select.d.ts +11 -0
- package/dist/types/components/Table/Table.d.ts +5 -0
- package/dist/types/components/Table/table-column-customizer.d.ts +2 -0
- package/dist/types/components/Table/table-pagination-shortcut.d.ts +16 -0
- package/dist/types/components/TableSort/TableSort.d.ts +24 -0
- package/dist/types/components/TableSort/table-sort-menu.d.ts +15 -0
- package/dist/types/components/TableToolbar/TableToolbar.d.ts +6 -0
- package/dist/types/components.d.ts +102 -6
- package/dist/types/utils/table-caption-compact.d.ts +6 -0
- package/dist/vue/components.d.ts +1 -0
- package/dist/vue/components.js +1 -0
- package/dist/vue/ds-button-unfilled.js +1 -0
- package/dist/vue/ds-filter-menu.js +1 -0
- package/dist/vue/ds-select.js +1 -0
- package/dist/vue/ds-table-sort.d.ts +3 -0
- package/dist/vue/ds-table-sort.js +13 -0
- package/package.json +1 -1
- package/dist/components/p-BzLnSwG9.js +0 -2
- package/dist/components/p-C2n8A8NA.js +0 -2
- package/dist/components/p-C7rzVotG.js +0 -2
- package/dist/components/p-C7rzVotG.js.map +0 -1
- package/dist/components/p-CKJzHclc.js +0 -2
- package/dist/components/p-CWDmHPJC.js +0 -2
- package/dist/components/p-Ca-I2UnB.js +0 -2
- package/dist/components/p-Ca-I2UnB.js.map +0 -1
- package/dist/components/p-CnWC0QvG.js +0 -2
- package/dist/components/p-CooNucm0.js +0 -2
- package/dist/components/p-CooNucm0.js.map +0 -1
- package/dist/components/p-DLkNcCY0.js +0 -2
- package/dist/components/p-M9DPfXbP.js +0 -2
- package/dist/components/p-URdgCwEs.js +0 -2
- /package/dist/components/{p-C1q-tq3U.js.map → p-7tZx4ukz.js.map} +0 -0
- /package/dist/components/{p-DZFilC--.js.map → p-BGXqFq2C.js.map} +0 -0
- /package/dist/components/{p-BXPQmp7q.js.map → p-BK-JjdoN.js.map} +0 -0
- /package/dist/components/{p-B80NfEqc.js.map → p-C0X2zKbB.js.map} +0 -0
- /package/dist/components/{p-Ct-m0I6U.js.map → p-CaAZ-D08.js.map} +0 -0
- /package/dist/components/{p-BagXfn1G.js.map → p-D1YhYulL.js.map} +0 -0
- /package/dist/components/{p-Bf_D3crn.js.map → p-DNJTN_s0.js.map} +0 -0
- /package/dist/components/{p-DL_5VENG.js.map → p-DQqOzDEq.js.map} +0 -0
- /package/dist/components/{p-D-kWb8cF.js.map → p-DSIOINBK.js.map} +0 -0
- /package/dist/components/{p-QdI17bl-.js.map → p-Dg9qiMDa.js.map} +0 -0
- /package/dist/components/{p-DTMxwYQj.js.map → p-EWI6ccs-.js.map} +0 -0
- /package/dist/components/{p-vWK5faWZ.js.map → p-a6qP60zb.js.map} +0 -0
|
@@ -67,6 +67,7 @@ export { DsSwatchPicker } from "./ds-swatch-picker.js";
|
|
|
67
67
|
export { DsSwitch } from "./ds-switch.js";
|
|
68
68
|
export { DsTabGroup } from "./ds-tab-group.js";
|
|
69
69
|
export { DsTableSavedViews } from "./ds-table-saved-views.js";
|
|
70
|
+
export { DsTableSort } from "./ds-table-sort.js";
|
|
70
71
|
export { DsTableToolbar } from "./ds-table-toolbar.js";
|
|
71
72
|
export { DsTable } from "./ds-table.js";
|
|
72
73
|
export { DsTag } from "./ds-tag.js";
|
package/dist/react/components.js
CHANGED
|
@@ -68,6 +68,7 @@ export { DsSwatchPicker } from "./ds-swatch-picker.js";
|
|
|
68
68
|
export { DsSwitch } from "./ds-switch.js";
|
|
69
69
|
export { DsTabGroup } from "./ds-tab-group.js";
|
|
70
70
|
export { DsTableSavedViews } from "./ds-table-saved-views.js";
|
|
71
|
+
export { DsTableSort } from "./ds-table-sort.js";
|
|
71
72
|
export { DsTableToolbar } from "./ds-table-toolbar.js";
|
|
72
73
|
export { DsTable } from "./ds-table.js";
|
|
73
74
|
export { DsTag } from "./ds-tag.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { EventName, StencilReactComponent } from './react-runtime.js';
|
|
6
|
+
import { type DsTableSortCustomEvent, type TableSortChangeDetail } from "@ds-mo/ui";
|
|
7
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
|
+
import { DsTableSort as DsTableSortElement } from "@ds-mo/ui/dist/components/ds-table-sort.js";
|
|
9
|
+
export type DsTableSortEvents = {
|
|
10
|
+
onDsSortChange: EventName<DsTableSortCustomEvent<TableSortChangeDetail>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const DsTableSort: StencilReactComponent<DsTableSortElement, DsTableSortEvents, Components.DsTableSort>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from './react-runtime.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsTableSort as DsTableSortElement, defineCustomElement as defineDsTableSort } from "@ds-mo/ui/dist/components/ds-table-sort.js";
|
|
5
|
+
export const DsTableSort = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-table-sort',
|
|
7
|
+
elementClass: DsTableSortElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: { onDsSortChange: 'dsSortChange' },
|
|
11
|
+
defineCustomElement: defineDsTableSort
|
|
12
|
+
});
|
|
@@ -70,6 +70,12 @@ export declare class ButtonUnfilled {
|
|
|
70
70
|
* active styling, and makes activation emit dsChange with the requested state.
|
|
71
71
|
*/
|
|
72
72
|
pressed: boolean | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Collapse the visible label and chevron to an icon-only control when the
|
|
75
|
+
* owning `ds-table` caption is narrower than 900px. The trigger omits those
|
|
76
|
+
* parts rather than clipping them.
|
|
77
|
+
*/
|
|
78
|
+
collapseLabel: boolean;
|
|
73
79
|
/**
|
|
74
80
|
* Mark the button as a Menu trigger. Implies `aria-haspopup="menu"` and covers
|
|
75
81
|
* both menu-button shapes:
|
|
@@ -79,7 +85,7 @@ export declare class ButtonUnfilled {
|
|
|
79
85
|
* - `icon` — the button *is* a menu. No chevron is added, so the glyph must
|
|
80
86
|
* convey the menu on its own. Use `Ellipses` for generic more-options;
|
|
81
87
|
* use a specific icon when the menu has a named purpose, such as
|
|
82
|
-
* `
|
|
88
|
+
* `Table` for Customize table.
|
|
83
89
|
*
|
|
84
90
|
* Use `haspopup` directly for non-menu popups.
|
|
85
91
|
*/
|
|
@@ -91,10 +97,19 @@ export declare class ButtonUnfilled {
|
|
|
91
97
|
focusTabIndex?: number;
|
|
92
98
|
dsClick: EventEmitter<MouseEvent>;
|
|
93
99
|
dsChange: EventEmitter<boolean>;
|
|
100
|
+
private captionCompact;
|
|
94
101
|
private buttonEl;
|
|
102
|
+
private captionCompactDisconnect;
|
|
103
|
+
componentDidLoad(): void;
|
|
104
|
+
disconnectedCallback(): void;
|
|
105
|
+
onCollapseLabelChange(): void;
|
|
95
106
|
setFocus(): Promise<void>;
|
|
96
107
|
private handleClick;
|
|
108
|
+
private get captionIconOnly();
|
|
109
|
+
private get visualVariant();
|
|
97
110
|
private get showDot();
|
|
111
|
+
private syncCaptionCompactObserver;
|
|
112
|
+
private disconnectCaptionCompactObserver;
|
|
98
113
|
private get resolvedHaspopup();
|
|
99
114
|
private get doubleInset();
|
|
100
115
|
/** Only popup triggers hold a pressed visual while expanded. */
|
|
@@ -42,6 +42,11 @@ export declare class FilterMenu {
|
|
|
42
42
|
hasBorder: boolean;
|
|
43
43
|
/** Show selected interaction fill when one or more criteria are active. */
|
|
44
44
|
activeFill: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Opt into table-caption icon-only chrome below 900px. The trigger omits its
|
|
47
|
+
* visible label and chevron; keep an accessible name via aria-label.
|
|
48
|
+
*/
|
|
49
|
+
collapseLabel: boolean;
|
|
45
50
|
/** ID applied to the internal select trigger. */
|
|
46
51
|
inputId: string | undefined;
|
|
47
52
|
/** Direct accessible name for the internal select trigger. */
|
|
@@ -80,6 +85,7 @@ export declare class FilterMenu {
|
|
|
80
85
|
private pos;
|
|
81
86
|
private focusRingVisible;
|
|
82
87
|
private activeOptionIndex;
|
|
88
|
+
private captionCompact;
|
|
83
89
|
/** Requests a controlled value replacement without closing the popup. */
|
|
84
90
|
dsChange: EventEmitter<FilterMenuChangeDetail>;
|
|
85
91
|
/** Requests that the consumer clear every filter value. */
|
|
@@ -97,10 +103,12 @@ export declare class FilterMenu {
|
|
|
97
103
|
private triggerElement;
|
|
98
104
|
private pendingInitialFocusVisible;
|
|
99
105
|
private closeTimer;
|
|
106
|
+
private captionCompactDisconnect;
|
|
100
107
|
private closingSnapshot;
|
|
101
108
|
private readonly position;
|
|
102
109
|
componentDidLoad(): void;
|
|
103
110
|
disconnectedCallback(): void;
|
|
111
|
+
onCollapseLabelChange(): void;
|
|
104
112
|
onOpenChange(isOpen: boolean): void;
|
|
105
113
|
onPositionInputChange(): void;
|
|
106
114
|
handleKeyDown(event: KeyboardEvent): void;
|
|
@@ -132,6 +140,9 @@ export declare class FilterMenu {
|
|
|
132
140
|
private toggleMultiple;
|
|
133
141
|
private selectOption;
|
|
134
142
|
private renderOptions;
|
|
143
|
+
private get captionIconOnly();
|
|
144
|
+
private syncCaptionCompactObserver;
|
|
145
|
+
private disconnectCaptionCompactObserver;
|
|
135
146
|
render(): any;
|
|
136
147
|
}
|
|
137
148
|
//# sourceMappingURL=FilterMenu.d.ts.map
|
|
@@ -60,6 +60,11 @@ export declare class Select {
|
|
|
60
60
|
isLoading: boolean;
|
|
61
61
|
/** Show the selected interaction fill when a valid value exists. */
|
|
62
62
|
activeFill: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Opt into table-caption icon-only chrome below 900px. The trigger omits its
|
|
65
|
+
* visible label and chevron; keep an accessible name via aria-label.
|
|
66
|
+
*/
|
|
67
|
+
collapseLabel: boolean;
|
|
63
68
|
/** Show the surface-aware inset border, including focused and invalid strokes. */
|
|
64
69
|
hasBorder: boolean;
|
|
65
70
|
/** Optional trigger prefix icon name. */
|
|
@@ -115,6 +120,7 @@ export declare class Select {
|
|
|
115
120
|
private positionReady;
|
|
116
121
|
private focusRingVisible;
|
|
117
122
|
private compactFooterSummary;
|
|
123
|
+
private captionCompact;
|
|
118
124
|
private readonly generatedId;
|
|
119
125
|
private readonly listboxId;
|
|
120
126
|
private readonly errorId;
|
|
@@ -126,11 +132,13 @@ export declare class Select {
|
|
|
126
132
|
private footerResizeObserver?;
|
|
127
133
|
private observedFooterContentElement?;
|
|
128
134
|
private footerMeasurementFrame?;
|
|
135
|
+
private captionCompactDisconnect;
|
|
129
136
|
private createController;
|
|
130
137
|
componentWillLoad(): void;
|
|
131
138
|
componentDidLoad(): void;
|
|
132
139
|
componentDidRender(): void;
|
|
133
140
|
disconnectedCallback(): void;
|
|
141
|
+
onCollapseLabelChange(): void;
|
|
134
142
|
syncFormValue(): void;
|
|
135
143
|
onLoadingChange(): void;
|
|
136
144
|
onPopupAlignChange(): void;
|
|
@@ -164,6 +172,9 @@ export declare class Select {
|
|
|
164
172
|
private readonly handleListKeyDown;
|
|
165
173
|
private readonly handleTriggerKeyDown;
|
|
166
174
|
private renderOption;
|
|
175
|
+
private get captionIconOnly();
|
|
176
|
+
private syncCaptionCompactObserver;
|
|
177
|
+
private disconnectCaptionCompactObserver;
|
|
167
178
|
render(): any;
|
|
168
179
|
}
|
|
169
180
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -128,6 +128,7 @@ export declare class Table {
|
|
|
128
128
|
private actionMenu;
|
|
129
129
|
private actionMenuInitialFocusVisible;
|
|
130
130
|
private truncateTooltipLabel;
|
|
131
|
+
private captionCompact;
|
|
131
132
|
private columnCustomizerOpen;
|
|
132
133
|
private columnCustomizerInitialFocusVisible;
|
|
133
134
|
private dataModeSwitcherOpen;
|
|
@@ -163,6 +164,7 @@ export declare class Table {
|
|
|
163
164
|
private stickyGroupConnected;
|
|
164
165
|
private headerSlotObserver;
|
|
165
166
|
private footerSlotObserver;
|
|
167
|
+
private captionCompactDisconnect;
|
|
166
168
|
private fitResizeObserver;
|
|
167
169
|
private fitObservedViewport;
|
|
168
170
|
private fitObservedTable;
|
|
@@ -212,7 +214,10 @@ export declare class Table {
|
|
|
212
214
|
private get containedScroll();
|
|
213
215
|
private connectFitObserver;
|
|
214
216
|
private disconnectFitObserver;
|
|
217
|
+
private connectCaptionCompactObserver;
|
|
218
|
+
private disconnectCaptionCompactObserver;
|
|
215
219
|
private readonly syncFitPageSize;
|
|
220
|
+
handleWindowPaginationKeyDown(event: KeyboardEvent): void;
|
|
216
221
|
private handlePaginationKeyDown;
|
|
217
222
|
private currentLoadedRows;
|
|
218
223
|
private currentLoadedRowCount;
|
|
@@ -11,6 +11,8 @@ export declare function resolveTableColumnOrder(columns: TableColumn[], columnOr
|
|
|
11
11
|
* column remains visible when the catalog has any data columns.
|
|
12
12
|
*/
|
|
13
13
|
export declare function resolveTableHiddenColumnIds(columns: TableColumn[], hiddenColumnIds: string[] | undefined): string[];
|
|
14
|
+
/** True when hidden ids or data-column order differ from the catalog default. */
|
|
15
|
+
export declare function isTableColumnsCustomized(columns: TableColumn[], hiddenColumnIds: string[] | undefined, columnOrder: string[] | undefined): boolean;
|
|
14
16
|
export declare function resolveTableVisibleColumns(columns: TableColumn[], options?: {
|
|
15
17
|
columnCustomizer?: boolean;
|
|
16
18
|
hiddenColumnIds?: string[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** True when Left/Right should stay with an editable or choice control. */
|
|
2
|
+
export declare function paginationShortcutBlockedByPath(path: readonly unknown[]): boolean;
|
|
3
|
+
export declare function isDocumentRootNode(node: unknown): boolean;
|
|
4
|
+
/** True when `ancestor` contains `descendant` in the composed tree, including slots. */
|
|
5
|
+
export declare function composedContains(ancestor: unknown, descendant: unknown): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Window-level pagination arrows apply when focus is inside the table or on a
|
|
8
|
+
* containing page scroller (for example ShellApp's routed-content region).
|
|
9
|
+
* Document body stays with the host app so it can forward a single event.
|
|
10
|
+
*/
|
|
11
|
+
export declare function shouldHandleContainingPagePaginationShortcut(input: {
|
|
12
|
+
origin: unknown;
|
|
13
|
+
table: unknown;
|
|
14
|
+
eventPath: readonly unknown[];
|
|
15
|
+
}): boolean;
|
|
16
|
+
//# sourceMappingURL=table-pagination-shortcut.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { TableColumn, TableSortChangeDetail, TableSortState } from '../Table/table-types';
|
|
3
|
+
export declare class TableSort {
|
|
4
|
+
private el;
|
|
5
|
+
/** Catalog used to derive sortable fields, including compound header segments. */
|
|
6
|
+
columns: TableColumn[];
|
|
7
|
+
/** Controlled table sort. Header sorting and this menu share the same value. */
|
|
8
|
+
sort: TableSortState | null;
|
|
9
|
+
/** Accessible name for the trigger and menu. */
|
|
10
|
+
ariaLabel: string | null;
|
|
11
|
+
dsSortChange: EventEmitter<TableSortChangeDetail>;
|
|
12
|
+
private menuOpen;
|
|
13
|
+
private initialFocusVisible;
|
|
14
|
+
private readonly componentId;
|
|
15
|
+
private readonly triggerId;
|
|
16
|
+
private readonly menuId;
|
|
17
|
+
setFocus(): Promise<void>;
|
|
18
|
+
render(): any;
|
|
19
|
+
private toggle;
|
|
20
|
+
private open;
|
|
21
|
+
private close;
|
|
22
|
+
private handleSelect;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=TableSort.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { MenuItemData, MenuSection } from '../Menu/menu-types';
|
|
2
|
+
import type { TableColumn, TableSortState } from '../Table/table-types';
|
|
3
|
+
export declare const TABLE_SORT_DIRECTION_ASC = "direction:asc";
|
|
4
|
+
export declare const TABLE_SORT_DIRECTION_DESC = "direction:desc";
|
|
5
|
+
export interface TableSortField {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
/** Sortable data fields from the catalog, including compound header segments. */
|
|
10
|
+
export declare function tableSortFields(columns: readonly TableColumn[]): TableSortField[];
|
|
11
|
+
export declare function tableSortMenuSections(columns: readonly TableColumn[], sort: TableSortState | null | undefined): MenuSection[];
|
|
12
|
+
export declare function tableSortStatesEqual(left: TableSortState | null | undefined, right: TableSortState | null | undefined): boolean;
|
|
13
|
+
/** Next controlled sort from a Sort menu selection. Does not toggle like a header click. */
|
|
14
|
+
export declare function nextTableSortStateFromMenuItem(columns: readonly TableColumn[], current: TableSortState | null | undefined, item: MenuItemData): TableSortState | null;
|
|
15
|
+
//# sourceMappingURL=table-sort-menu.d.ts.map
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export declare class TableToolbar {
|
|
2
|
+
private el;
|
|
2
3
|
/** Accessible name for the grouped table controls. */
|
|
3
4
|
label: string;
|
|
5
|
+
private captionControlObserver;
|
|
6
|
+
componentDidLoad(): void;
|
|
7
|
+
disconnectedCallback(): void;
|
|
4
8
|
render(): any;
|
|
9
|
+
private connectCaptionControlObserver;
|
|
10
|
+
private syncCaptionControls;
|
|
5
11
|
}
|
|
6
12
|
//# sourceMappingURL=TableToolbar.d.ts.map
|
|
@@ -674,6 +674,11 @@ export namespace Components {
|
|
|
674
674
|
* Actual parent surface context. Omit on primary and secondary surfaces.
|
|
675
675
|
*/
|
|
676
676
|
"background": ButtonUnfilledBackground | undefined;
|
|
677
|
+
/**
|
|
678
|
+
* Collapse the visible label and chevron to an icon-only control when the owning `ds-table` caption is narrower than 900px. The trigger omits those parts rather than clipping them.
|
|
679
|
+
* @default false
|
|
680
|
+
*/
|
|
681
|
+
"collapseLabel": boolean;
|
|
677
682
|
"controls": string | undefined;
|
|
678
683
|
/**
|
|
679
684
|
* Show a notification dot at the top-right of the icon zone (icon variant only).
|
|
@@ -694,7 +699,7 @@ export namespace Components {
|
|
|
694
699
|
*/
|
|
695
700
|
"hasBorder": boolean;
|
|
696
701
|
/**
|
|
697
|
-
* Mark the button as a Menu trigger. Implies `aria-haspopup="menu"` and covers both menu-button shapes: - `label` / `icon-label` — the action *has* a menu; a trailing chevron carries the affordance. - `icon` — the button *is* a menu. No chevron is added, so the glyph must convey the menu on its own. Use `Ellipses` for generic more-options; use a specific icon when the menu has a named purpose, such as `
|
|
702
|
+
* Mark the button as a Menu trigger. Implies `aria-haspopup="menu"` and covers both menu-button shapes: - `label` / `icon-label` — the action *has* a menu; a trailing chevron carries the affordance. - `icon` — the button *is* a menu. No chevron is added, so the glyph must convey the menu on its own. Use `Ellipses` for generic more-options; use a specific icon when the menu has a named purpose, such as `Table` for Customize table. Use `haspopup` directly for non-menu popups.
|
|
698
703
|
* @default false
|
|
699
704
|
*/
|
|
700
705
|
"hasMenu": boolean;
|
|
@@ -1222,6 +1227,11 @@ export namespace Components {
|
|
|
1222
1227
|
* @default 'Clear'
|
|
1223
1228
|
*/
|
|
1224
1229
|
"clearLabel": string;
|
|
1230
|
+
/**
|
|
1231
|
+
* Opt into table-caption icon-only chrome below 900px. The trigger omits its visible label and chevron; keep an accessible name via aria-label.
|
|
1232
|
+
* @default false
|
|
1233
|
+
*/
|
|
1234
|
+
"collapseLabel": boolean;
|
|
1225
1235
|
/**
|
|
1226
1236
|
* Product-owned filter categories and option definitions.
|
|
1227
1237
|
* @default []
|
|
@@ -1248,7 +1258,7 @@ export namespace Components {
|
|
|
1248
1258
|
"inputId": string | undefined;
|
|
1249
1259
|
/**
|
|
1250
1260
|
* Accessible name for the non-modal filter dialog.
|
|
1251
|
-
* @default '
|
|
1261
|
+
* @default 'Filter'
|
|
1252
1262
|
*/
|
|
1253
1263
|
"menuLabel": string;
|
|
1254
1264
|
/**
|
|
@@ -1278,7 +1288,7 @@ export namespace Components {
|
|
|
1278
1288
|
"size": FilterMenuSize;
|
|
1279
1289
|
/**
|
|
1280
1290
|
* Select trigger text. The selected count is appended automatically.
|
|
1281
|
-
* @default '
|
|
1291
|
+
* @default 'Filter'
|
|
1282
1292
|
*/
|
|
1283
1293
|
"triggerLabel": string;
|
|
1284
1294
|
/**
|
|
@@ -2305,6 +2315,11 @@ export namespace Components {
|
|
|
2305
2315
|
* @default 'Clear'
|
|
2306
2316
|
*/
|
|
2307
2317
|
"clearLabel": string;
|
|
2318
|
+
/**
|
|
2319
|
+
* Opt into table-caption icon-only chrome below 900px. The trigger omits its visible label and chevron; keep an accessible name via aria-label.
|
|
2320
|
+
* @default false
|
|
2321
|
+
*/
|
|
2322
|
+
"collapseLabel": boolean;
|
|
2308
2323
|
/**
|
|
2309
2324
|
* Native disabled state.
|
|
2310
2325
|
* @default false
|
|
@@ -3177,6 +3192,24 @@ export namespace Components {
|
|
|
3177
3192
|
*/
|
|
3178
3193
|
"views": TableSavedView[];
|
|
3179
3194
|
}
|
|
3195
|
+
interface DsTableSort {
|
|
3196
|
+
/**
|
|
3197
|
+
* Accessible name for the trigger and menu.
|
|
3198
|
+
* @default null
|
|
3199
|
+
*/
|
|
3200
|
+
"ariaLabel": string | null;
|
|
3201
|
+
/**
|
|
3202
|
+
* Catalog used to derive sortable fields, including compound header segments.
|
|
3203
|
+
* @default []
|
|
3204
|
+
*/
|
|
3205
|
+
"columns": TableColumn[];
|
|
3206
|
+
"setFocus": () => Promise<void>;
|
|
3207
|
+
/**
|
|
3208
|
+
* Controlled table sort. Header sorting and this menu share the same value.
|
|
3209
|
+
* @default null
|
|
3210
|
+
*/
|
|
3211
|
+
"sort": TableSortState | null;
|
|
3212
|
+
}
|
|
3180
3213
|
interface DsTableToolbar {
|
|
3181
3214
|
/**
|
|
3182
3215
|
* Accessible name for the grouped table controls.
|
|
@@ -3631,6 +3664,10 @@ export interface DsTableSavedViewsCustomEvent<T> extends CustomEvent<T> {
|
|
|
3631
3664
|
detail: T;
|
|
3632
3665
|
target: HTMLDsTableSavedViewsElement;
|
|
3633
3666
|
}
|
|
3667
|
+
export interface DsTableSortCustomEvent<T> extends CustomEvent<T> {
|
|
3668
|
+
detail: T;
|
|
3669
|
+
target: HTMLDsTableSortElement;
|
|
3670
|
+
}
|
|
3634
3671
|
export interface DsTagCustomEvent<T> extends CustomEvent<T> {
|
|
3635
3672
|
detail: T;
|
|
3636
3673
|
target: HTMLDsTagElement;
|
|
@@ -4666,6 +4703,23 @@ declare global {
|
|
|
4666
4703
|
prototype: HTMLDsTableSavedViewsElement;
|
|
4667
4704
|
new (): HTMLDsTableSavedViewsElement;
|
|
4668
4705
|
};
|
|
4706
|
+
interface HTMLDsTableSortElementEventMap {
|
|
4707
|
+
"dsSortChange": TableSortChangeDetail;
|
|
4708
|
+
}
|
|
4709
|
+
interface HTMLDsTableSortElement extends Components.DsTableSort, HTMLStencilElement {
|
|
4710
|
+
addEventListener<K extends keyof HTMLDsTableSortElementEventMap>(type: K, listener: (this: HTMLDsTableSortElement, ev: DsTableSortCustomEvent<HTMLDsTableSortElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4711
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4712
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4713
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4714
|
+
removeEventListener<K extends keyof HTMLDsTableSortElementEventMap>(type: K, listener: (this: HTMLDsTableSortElement, ev: DsTableSortCustomEvent<HTMLDsTableSortElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4715
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4716
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4717
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4718
|
+
}
|
|
4719
|
+
var HTMLDsTableSortElement: {
|
|
4720
|
+
prototype: HTMLDsTableSortElement;
|
|
4721
|
+
new (): HTMLDsTableSortElement;
|
|
4722
|
+
};
|
|
4669
4723
|
interface HTMLDsTableToolbarElement extends Components.DsTableToolbar, HTMLStencilElement {
|
|
4670
4724
|
}
|
|
4671
4725
|
var HTMLDsTableToolbarElement: {
|
|
@@ -4819,6 +4873,7 @@ declare global {
|
|
|
4819
4873
|
"ds-tab-group": HTMLDsTabGroupElement;
|
|
4820
4874
|
"ds-table": HTMLDsTableElement;
|
|
4821
4875
|
"ds-table-saved-views": HTMLDsTableSavedViewsElement;
|
|
4876
|
+
"ds-table-sort": HTMLDsTableSortElement;
|
|
4822
4877
|
"ds-table-toolbar": HTMLDsTableToolbarElement;
|
|
4823
4878
|
"ds-tag": HTMLDsTagElement;
|
|
4824
4879
|
"ds-text": HTMLDsTextElement;
|
|
@@ -5418,6 +5473,11 @@ declare namespace LocalJSX {
|
|
|
5418
5473
|
* Actual parent surface context. Omit on primary and secondary surfaces.
|
|
5419
5474
|
*/
|
|
5420
5475
|
"background"?: ButtonUnfilledBackground | undefined;
|
|
5476
|
+
/**
|
|
5477
|
+
* Collapse the visible label and chevron to an icon-only control when the owning `ds-table` caption is narrower than 900px. The trigger omits those parts rather than clipping them.
|
|
5478
|
+
* @default false
|
|
5479
|
+
*/
|
|
5480
|
+
"collapseLabel"?: boolean;
|
|
5421
5481
|
"controls"?: string | undefined;
|
|
5422
5482
|
/**
|
|
5423
5483
|
* Show a notification dot at the top-right of the icon zone (icon variant only).
|
|
@@ -5438,7 +5498,7 @@ declare namespace LocalJSX {
|
|
|
5438
5498
|
*/
|
|
5439
5499
|
"hasBorder"?: boolean;
|
|
5440
5500
|
/**
|
|
5441
|
-
* Mark the button as a Menu trigger. Implies `aria-haspopup="menu"` and covers both menu-button shapes: - `label` / `icon-label` — the action *has* a menu; a trailing chevron carries the affordance. - `icon` — the button *is* a menu. No chevron is added, so the glyph must convey the menu on its own. Use `Ellipses` for generic more-options; use a specific icon when the menu has a named purpose, such as `
|
|
5501
|
+
* Mark the button as a Menu trigger. Implies `aria-haspopup="menu"` and covers both menu-button shapes: - `label` / `icon-label` — the action *has* a menu; a trailing chevron carries the affordance. - `icon` — the button *is* a menu. No chevron is added, so the glyph must convey the menu on its own. Use `Ellipses` for generic more-options; use a specific icon when the menu has a named purpose, such as `Table` for Customize table. Use `haspopup` directly for non-menu popups.
|
|
5442
5502
|
* @default false
|
|
5443
5503
|
*/
|
|
5444
5504
|
"hasMenu"?: boolean;
|
|
@@ -6004,6 +6064,11 @@ declare namespace LocalJSX {
|
|
|
6004
6064
|
* @default 'Clear'
|
|
6005
6065
|
*/
|
|
6006
6066
|
"clearLabel"?: string;
|
|
6067
|
+
/**
|
|
6068
|
+
* Opt into table-caption icon-only chrome below 900px. The trigger omits its visible label and chevron; keep an accessible name via aria-label.
|
|
6069
|
+
* @default false
|
|
6070
|
+
*/
|
|
6071
|
+
"collapseLabel"?: boolean;
|
|
6007
6072
|
/**
|
|
6008
6073
|
* Product-owned filter categories and option definitions.
|
|
6009
6074
|
* @default []
|
|
@@ -6030,7 +6095,7 @@ declare namespace LocalJSX {
|
|
|
6030
6095
|
"inputId"?: string | undefined;
|
|
6031
6096
|
/**
|
|
6032
6097
|
* Accessible name for the non-modal filter dialog.
|
|
6033
|
-
* @default '
|
|
6098
|
+
* @default 'Filter'
|
|
6034
6099
|
*/
|
|
6035
6100
|
"menuLabel"?: string;
|
|
6036
6101
|
/**
|
|
@@ -6084,7 +6149,7 @@ declare namespace LocalJSX {
|
|
|
6084
6149
|
"size"?: FilterMenuSize;
|
|
6085
6150
|
/**
|
|
6086
6151
|
* Select trigger text. The selected count is appended automatically.
|
|
6087
|
-
* @default '
|
|
6152
|
+
* @default 'Filter'
|
|
6088
6153
|
*/
|
|
6089
6154
|
"triggerLabel"?: string;
|
|
6090
6155
|
/**
|
|
@@ -7188,6 +7253,11 @@ declare namespace LocalJSX {
|
|
|
7188
7253
|
* @default 'Clear'
|
|
7189
7254
|
*/
|
|
7190
7255
|
"clearLabel"?: string;
|
|
7256
|
+
/**
|
|
7257
|
+
* Opt into table-caption icon-only chrome below 900px. The trigger omits its visible label and chevron; keep an accessible name via aria-label.
|
|
7258
|
+
* @default false
|
|
7259
|
+
*/
|
|
7260
|
+
"collapseLabel"?: boolean;
|
|
7191
7261
|
/**
|
|
7192
7262
|
* Native disabled state.
|
|
7193
7263
|
* @default false
|
|
@@ -8177,6 +8247,24 @@ declare namespace LocalJSX {
|
|
|
8177
8247
|
*/
|
|
8178
8248
|
"views"?: TableSavedView[];
|
|
8179
8249
|
}
|
|
8250
|
+
interface DsTableSort {
|
|
8251
|
+
/**
|
|
8252
|
+
* Accessible name for the trigger and menu.
|
|
8253
|
+
* @default null
|
|
8254
|
+
*/
|
|
8255
|
+
"ariaLabel"?: string | null;
|
|
8256
|
+
/**
|
|
8257
|
+
* Catalog used to derive sortable fields, including compound header segments.
|
|
8258
|
+
* @default []
|
|
8259
|
+
*/
|
|
8260
|
+
"columns"?: TableColumn[];
|
|
8261
|
+
"onDsSortChange"?: (event: DsTableSortCustomEvent<TableSortChangeDetail>) => void;
|
|
8262
|
+
/**
|
|
8263
|
+
* Controlled table sort. Header sorting and this menu share the same value.
|
|
8264
|
+
* @default null
|
|
8265
|
+
*/
|
|
8266
|
+
"sort"?: TableSortState | null;
|
|
8267
|
+
}
|
|
8180
8268
|
interface DsTableToolbar {
|
|
8181
8269
|
/**
|
|
8182
8270
|
* Accessible name for the grouped table controls.
|
|
@@ -8589,6 +8677,7 @@ declare namespace LocalJSX {
|
|
|
8589
8677
|
"expanded": boolean | undefined;
|
|
8590
8678
|
"haspopup": ButtonUnfilledPopup | undefined;
|
|
8591
8679
|
"pressed": boolean | undefined;
|
|
8680
|
+
"collapseLabel": boolean;
|
|
8592
8681
|
"hasMenu": boolean;
|
|
8593
8682
|
"focusTabIndex": number;
|
|
8594
8683
|
}
|
|
@@ -8707,6 +8796,7 @@ declare namespace LocalJSX {
|
|
|
8707
8796
|
"width": FilterMenuWidth;
|
|
8708
8797
|
"hasBorder": boolean;
|
|
8709
8798
|
"activeFill": boolean;
|
|
8799
|
+
"collapseLabel": boolean;
|
|
8710
8800
|
"inputId": string | undefined;
|
|
8711
8801
|
"ariaLabel": string | null;
|
|
8712
8802
|
"activeFilterId": string | undefined;
|
|
@@ -8976,6 +9066,7 @@ declare namespace LocalJSX {
|
|
|
8976
9066
|
"isInactive": boolean;
|
|
8977
9067
|
"isLoading": boolean;
|
|
8978
9068
|
"activeFill": boolean;
|
|
9069
|
+
"collapseLabel": boolean;
|
|
8979
9070
|
"hasBorder": boolean;
|
|
8980
9071
|
"icon": string | undefined;
|
|
8981
9072
|
"indicator": SelectIndicator;
|
|
@@ -9149,6 +9240,9 @@ declare namespace LocalJSX {
|
|
|
9149
9240
|
"triggerLabel": string;
|
|
9150
9241
|
"createLabel": string;
|
|
9151
9242
|
}
|
|
9243
|
+
interface DsTableSortAttributes {
|
|
9244
|
+
"ariaLabel": string | null;
|
|
9245
|
+
}
|
|
9152
9246
|
interface DsTableToolbarAttributes {
|
|
9153
9247
|
"label": string;
|
|
9154
9248
|
}
|
|
@@ -9281,6 +9375,7 @@ declare namespace LocalJSX {
|
|
|
9281
9375
|
"ds-tab-group": Omit<DsTabGroup, keyof DsTabGroupAttributes> & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes]?: DsTabGroup[K] } & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes as `attr:${K}`]?: DsTabGroupAttributes[K] } & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes as `prop:${K}`]?: DsTabGroup[K] };
|
|
9282
9376
|
"ds-table": Omit<DsTable, keyof DsTableAttributes> & { [K in keyof DsTable & keyof DsTableAttributes]?: DsTable[K] } & { [K in keyof DsTable & keyof DsTableAttributes as `attr:${K}`]?: DsTableAttributes[K] } & { [K in keyof DsTable & keyof DsTableAttributes as `prop:${K}`]?: DsTable[K] } & OneOf<"caption", DsTable["caption"], DsTableAttributes["caption"]>;
|
|
9283
9377
|
"ds-table-saved-views": Omit<DsTableSavedViews, keyof DsTableSavedViewsAttributes> & { [K in keyof DsTableSavedViews & keyof DsTableSavedViewsAttributes]?: DsTableSavedViews[K] } & { [K in keyof DsTableSavedViews & keyof DsTableSavedViewsAttributes as `attr:${K}`]?: DsTableSavedViewsAttributes[K] } & { [K in keyof DsTableSavedViews & keyof DsTableSavedViewsAttributes as `prop:${K}`]?: DsTableSavedViews[K] };
|
|
9378
|
+
"ds-table-sort": Omit<DsTableSort, keyof DsTableSortAttributes> & { [K in keyof DsTableSort & keyof DsTableSortAttributes]?: DsTableSort[K] } & { [K in keyof DsTableSort & keyof DsTableSortAttributes as `attr:${K}`]?: DsTableSortAttributes[K] } & { [K in keyof DsTableSort & keyof DsTableSortAttributes as `prop:${K}`]?: DsTableSort[K] };
|
|
9284
9379
|
"ds-table-toolbar": Omit<DsTableToolbar, keyof DsTableToolbarAttributes> & { [K in keyof DsTableToolbar & keyof DsTableToolbarAttributes]?: DsTableToolbar[K] } & { [K in keyof DsTableToolbar & keyof DsTableToolbarAttributes as `attr:${K}`]?: DsTableToolbarAttributes[K] } & { [K in keyof DsTableToolbar & keyof DsTableToolbarAttributes as `prop:${K}`]?: DsTableToolbar[K] };
|
|
9285
9380
|
"ds-tag": Omit<DsTag, keyof DsTagAttributes> & { [K in keyof DsTag & keyof DsTagAttributes]?: DsTag[K] } & { [K in keyof DsTag & keyof DsTagAttributes as `attr:${K}`]?: DsTagAttributes[K] } & { [K in keyof DsTag & keyof DsTagAttributes as `prop:${K}`]?: DsTag[K] } & OneOf<"label", DsTag["label"], DsTagAttributes["label"]>;
|
|
9286
9381
|
"ds-text": Omit<DsText, keyof DsTextAttributes> & { [K in keyof DsText & keyof DsTextAttributes]?: DsText[K] } & { [K in keyof DsText & keyof DsTextAttributes as `attr:${K}`]?: DsTextAttributes[K] } & { [K in keyof DsText & keyof DsTextAttributes as `prop:${K}`]?: DsText[K] };
|
|
@@ -9376,6 +9471,7 @@ declare module "@stencil/core" {
|
|
|
9376
9471
|
"ds-tab-group": LocalJSX.IntrinsicElements["ds-tab-group"] & JSXBase.HTMLAttributes<HTMLDsTabGroupElement>;
|
|
9377
9472
|
"ds-table": LocalJSX.IntrinsicElements["ds-table"] & JSXBase.HTMLAttributes<HTMLDsTableElement>;
|
|
9378
9473
|
"ds-table-saved-views": LocalJSX.IntrinsicElements["ds-table-saved-views"] & JSXBase.HTMLAttributes<HTMLDsTableSavedViewsElement>;
|
|
9474
|
+
"ds-table-sort": LocalJSX.IntrinsicElements["ds-table-sort"] & JSXBase.HTMLAttributes<HTMLDsTableSortElement>;
|
|
9379
9475
|
"ds-table-toolbar": LocalJSX.IntrinsicElements["ds-table-toolbar"] & JSXBase.HTMLAttributes<HTMLDsTableToolbarElement>;
|
|
9380
9476
|
"ds-tag": LocalJSX.IntrinsicElements["ds-tag"] & JSXBase.HTMLAttributes<HTMLDsTagElement>;
|
|
9381
9477
|
"ds-text": LocalJSX.IntrinsicElements["ds-text"] & JSXBase.HTMLAttributes<HTMLDsTextElement>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Matches `@container ds-table (max-width: 899px)` on caption Filter/Group/Sort. */
|
|
2
|
+
export declare const TABLE_CAPTION_COMPACT_MAX_PX = 899;
|
|
3
|
+
export declare function isTableCaptionCompact(width: number): boolean;
|
|
4
|
+
export declare function tableCaptionInlineSize(entry: ResizeObserverEntry): number;
|
|
5
|
+
export declare function observeTableCaptionCompact(host: HTMLElement, onChange: (compact: boolean) => void): () => void;
|
|
6
|
+
//# sourceMappingURL=table-caption-compact.d.ts.map
|
package/dist/vue/components.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ export { DsSwitch } from './ds-switch.js';
|
|
|
68
68
|
export { DsTabGroup } from './ds-tab-group.js';
|
|
69
69
|
export { DsTable } from './ds-table.js';
|
|
70
70
|
export { DsTableSavedViews } from './ds-table-saved-views.js';
|
|
71
|
+
export { DsTableSort } from './ds-table-sort.js';
|
|
71
72
|
export { DsTableToolbar } from './ds-table-toolbar.js';
|
|
72
73
|
export { DsTag } from './ds-tag.js';
|
|
73
74
|
export { DsText } from './ds-text.js';
|
package/dist/vue/components.js
CHANGED
|
@@ -70,6 +70,7 @@ export { DsSwitch } from './ds-switch.js';
|
|
|
70
70
|
export { DsTabGroup } from './ds-tab-group.js';
|
|
71
71
|
export { DsTable } from './ds-table.js';
|
|
72
72
|
export { DsTableSavedViews } from './ds-table-saved-views.js';
|
|
73
|
+
export { DsTableSort } from './ds-table-sort.js';
|
|
73
74
|
export { DsTableToolbar } from './ds-table-toolbar.js';
|
|
74
75
|
export { DsTag } from './ds-tag.js';
|
|
75
76
|
export { DsText } from './ds-text.js';
|
package/dist/vue/ds-select.js
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* auto-generated vue proxies */
|
|
4
|
+
import { defineContainer } from './vue-runtime.js';
|
|
5
|
+
import { defineCustomElement as defineDsTableSort } from '@ds-mo/ui/components/ds-table-sort.js';
|
|
6
|
+
export const DsTableSort = /*@__PURE__*/ defineContainer('ds-table-sort', defineDsTableSort, [
|
|
7
|
+
'columns',
|
|
8
|
+
'sort',
|
|
9
|
+
'ariaLabel',
|
|
10
|
+
'dsSortChange'
|
|
11
|
+
], [
|
|
12
|
+
'dsSortChange'
|
|
13
|
+
]);
|