@ds-mo/ui 13.17.0 → 13.18.1
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 +2 -2
- package/dist/agent.json +274 -25
- package/dist/angular/ds-filter-menu.d.ts +44 -0
- package/dist/angular/ds-filter-menu.js +57 -0
- package/dist/angular/ds-select.d.ts +12 -1
- package/dist/angular/ds-select.js +10 -4
- package/dist/angular/ds-table.d.ts +1 -4
- package/dist/angular/ds-table.js +2 -5
- 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-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-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-chart-legend.js +1 -1
- package/dist/components/ds-chart.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +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.d.ts +11 -0
- package/dist/components/ds-filter-menu.js +2 -0
- package/dist/components/ds-filter-menu.js.map +1 -0
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-input.js.map +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-bubble.js +1 -1
- package/dist/components/ds-message-composer.js +1 -1
- package/dist/components/ds-message-scroller.js +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-modal.js.map +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-tool-header.js +1 -1
- package/dist/components/ds-panel-tool-search.js +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-scroll-overlay.js +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-select.js.map +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-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.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-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/p-B-CVaYE6.js +2 -0
- package/dist/components/{p-D9FdOR_m.js.map → p-B-CVaYE6.js.map} +1 -1
- package/dist/components/p-BAgjMUt3.js +2 -0
- package/dist/components/p-BAgjMUt3.js.map +1 -0
- package/dist/components/{p-CdKz-QT2.js → p-BCfgU8Fh.js} +2 -2
- package/dist/components/{p-CsXC1cHI.js → p-BDsAON4I.js} +2 -2
- package/dist/components/{p-GWUTrIlk.js → p-BOCrvs-v.js} +2 -2
- package/dist/components/{p-B69Re7HW.js → p-BOjGzd5N.js} +2 -2
- package/dist/components/{p-BAAjiAIF.js → p-BQkZ8FIl.js} +2 -2
- package/dist/components/p-BUAJ5TD7.js +2 -0
- package/dist/components/p-BUAJ5TD7.js.map +1 -0
- package/dist/components/p-BaiGt_o6.js +2 -0
- package/dist/components/{p-D4jQy3Ps.js.map → p-BaiGt_o6.js.map} +1 -1
- package/dist/components/p-BhOjnMLG.js +2 -0
- package/dist/components/p-BhOjnMLG.js.map +1 -0
- package/dist/components/p-BqFKxWVl.js +2 -0
- package/dist/components/p-BqFKxWVl.js.map +1 -0
- package/dist/components/p-ByNAXs5X.js +2 -0
- package/dist/components/p-ByNAXs5X.js.map +1 -0
- package/dist/components/p-C25Nmifd.js +2 -0
- package/dist/components/{p-m5CSrx_s.js.map → p-C25Nmifd.js.map} +1 -1
- package/dist/components/{p-00or0yGw.js → p-C7ywYAzN.js} +2 -2
- package/dist/components/p-CBTGKnIy.js +2 -0
- package/dist/components/{p-B94M62Tx.js.map → p-CBTGKnIy.js.map} +1 -1
- package/dist/components/{p-Dbobj7DI.js → p-CXYjqJwC.js} +2 -2
- package/dist/components/{p-D4j0deyd.js → p-C_tqXl5P.js} +2 -2
- package/dist/components/{p-CnIvWEVm.js → p-Ca0npbVt.js} +2 -2
- package/dist/components/p-ChGkNsWu.js +2 -0
- package/dist/components/p-ChGkNsWu.js.map +1 -0
- package/dist/components/p-CswBI711.js +2 -0
- package/dist/components/{p-CnUq7E8S.js.map → p-CswBI711.js.map} +1 -1
- package/dist/components/p-CtSxm6PI.js +2 -0
- package/dist/components/{p-DyqLVdJp.js.map → p-CtSxm6PI.js.map} +1 -1
- package/dist/components/p-D0-VdNjl.js +2 -0
- package/dist/components/{p-BMAZWEDa.js.map → p-D0-VdNjl.js.map} +1 -1
- package/dist/components/{p-dEouiXJ8.js → p-D8nnhQNJ.js} +2 -2
- package/dist/components/{p-D4AfoIu6.js → p-DGhSz9Fo.js} +2 -2
- package/dist/components/{p-DStd98dM.js → p-DGvAZk-D.js} +2 -2
- package/dist/components/p-DGvAZk-D.js.map +1 -0
- package/dist/components/p-DQK2ZH60.js +2 -0
- package/dist/components/{p-D5sIwLjA.js.map → p-DQK2ZH60.js.map} +1 -1
- package/dist/components/p-DTMxwYQj.js +2 -0
- package/dist/components/{p-B2SoinWf.js.map → p-DTMxwYQj.js.map} +1 -1
- package/dist/components/{p-C891ueIx.js → p-DYoCb_sj.js} +2 -2
- package/dist/components/{p-Dhx_3_tf.js → p-DZFilC--.js} +2 -2
- package/dist/components/p-DZFilC--.js.map +1 -0
- package/dist/components/{p-GbTasczF.js → p-Dcnd5ZX5.js} +2 -2
- package/dist/components/{p-BRze4tRe.js → p-DeBto13S.js} +2 -2
- package/dist/components/p-NdahPypA.js +2 -0
- package/dist/components/p-NdahPypA.js.map +1 -0
- package/dist/components/{p-CqDJRVT8.js → p-NzOcZg8r.js} +2 -2
- package/dist/components/p-PzI11fs8.js +2 -0
- package/dist/components/p-PzI11fs8.js.map +1 -0
- package/dist/components/{p-Cohb8T7G.js → p-QdI17bl-.js} +2 -2
- package/dist/components/{p-chA2WA5x.js → p-Qzh-wyTg.js} +2 -2
- package/dist/components/{p-DrvEhJhO.js → p-eu5AZEuT.js} +2 -2
- package/dist/components/{p-Qf-os3lG.js → p-oyZjjoYV.js} +2 -2
- package/dist/components/p-tR8INOIN.js +2 -0
- package/dist/components/p-tR8INOIN.js.map +1 -0
- package/dist/docs/components.json +1294 -114
- package/dist/lib/utils/choice-list.d.ts +10 -0
- package/dist/lib/utils/index.js +4 -1
- package/dist/lib/utils/index.js.map +2 -2
- package/dist/lib/utils/token-defaults.d.ts +2 -0
- package/dist/mcp-data/registry/agent-source-list.json +2 -2
- package/dist/mcp-data/registry/bar-nav.json +2 -2
- package/dist/mcp-data/registry/breadcrumb.json +2 -2
- package/dist/mcp-data/registry/button-unfilled.json +6 -6
- package/dist/mcp-data/registry/filter-menu.json +644 -0
- package/dist/mcp-data/registry/menu.json +11 -8
- package/dist/mcp-data/registry/modal.json +3 -3
- package/dist/mcp-data/registry/panel-tool-header.json +1 -1
- package/dist/mcp-data/registry/registry.json +276 -24
- package/dist/mcp-data/registry/select.json +132 -7
- package/dist/mcp-data/registry/shell-app.json +1 -1
- package/dist/mcp-data/registry/shell-tools.json +1 -1
- package/dist/mcp-data/registry/table.json +12 -26
- package/dist/mcp-data/registry/text.json +2 -2
- package/dist/react/components.d.ts +1 -0
- package/dist/react/components.js +1 -0
- package/dist/react/ds-filter-menu.d.ts +17 -0
- package/dist/react/ds-filter-menu.js +19 -0
- package/dist/react/ds-select.d.ts +3 -1
- package/dist/react/ds-select.js +3 -1
- package/dist/react/ds-table.d.ts +1 -2
- package/dist/react/ds-table.js +0 -1
- package/dist/styles/prose.css +19 -3
- package/dist/styles/table.css +7 -5
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +2 -2
- package/dist/types/components/FilterMenu/FilterMenu.d.ts +137 -0
- package/dist/types/components/Menu/Menu.d.ts +1 -1
- package/dist/types/components/Menu/menu-types.d.ts +9 -0
- package/dist/types/components/Modal/Modal.d.ts +1 -0
- package/dist/types/components/Select/Select.d.ts +34 -0
- package/dist/types/components/Table/Table.d.ts +2 -3
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Table/table-model.d.ts +1 -2
- package/dist/types/components/Table/table-types.d.ts +1 -4
- package/dist/types/components.d.ts +374 -10
- package/dist/types/utils/choice-list-parts.d.ts +17 -0
- package/dist/types/utils/choice-list.d.ts +10 -0
- package/dist/types/utils/select-controller.d.ts +2 -0
- package/dist/types/utils/token-defaults.d.ts +2 -0
- package/package.json +2 -1
- package/dist/components/p-B2SoinWf.js +0 -2
- package/dist/components/p-B53Vpuqq.js +0 -2
- package/dist/components/p-B53Vpuqq.js.map +0 -1
- package/dist/components/p-B94M62Tx.js +0 -2
- package/dist/components/p-BMAZWEDa.js +0 -2
- package/dist/components/p-BtUgncSJ.js +0 -2
- package/dist/components/p-BtUgncSJ.js.map +0 -1
- package/dist/components/p-CMbcRN92.js +0 -2
- package/dist/components/p-CMbcRN92.js.map +0 -1
- package/dist/components/p-CXduurfd.js +0 -2
- package/dist/components/p-CXduurfd.js.map +0 -1
- package/dist/components/p-CnUq7E8S.js +0 -2
- package/dist/components/p-D4jQy3Ps.js +0 -2
- package/dist/components/p-D5sIwLjA.js +0 -2
- package/dist/components/p-D9CDoQBx.js +0 -2
- package/dist/components/p-D9CDoQBx.js.map +0 -1
- package/dist/components/p-D9FdOR_m.js +0 -2
- package/dist/components/p-DO5-fplZ.js +0 -2
- package/dist/components/p-DO5-fplZ.js.map +0 -1
- package/dist/components/p-DStd98dM.js.map +0 -1
- package/dist/components/p-Dhx_3_tf.js.map +0 -1
- package/dist/components/p-DyqLVdJp.js +0 -2
- package/dist/components/p-NQOI5gN1.js +0 -2
- package/dist/components/p-NQOI5gN1.js.map +0 -1
- package/dist/components/p-m5CSrx_s.js +0 -2
- package/dist/components/p-ymtdhOU5.js +0 -2
- package/dist/components/p-ymtdhOU5.js.map +0 -1
- /package/dist/components/{p-CdKz-QT2.js.map → p-BCfgU8Fh.js.map} +0 -0
- /package/dist/components/{p-CsXC1cHI.js.map → p-BDsAON4I.js.map} +0 -0
- /package/dist/components/{p-GWUTrIlk.js.map → p-BOCrvs-v.js.map} +0 -0
- /package/dist/components/{p-B69Re7HW.js.map → p-BOjGzd5N.js.map} +0 -0
- /package/dist/components/{p-BAAjiAIF.js.map → p-BQkZ8FIl.js.map} +0 -0
- /package/dist/components/{p-00or0yGw.js.map → p-C7ywYAzN.js.map} +0 -0
- /package/dist/components/{p-Dbobj7DI.js.map → p-CXYjqJwC.js.map} +0 -0
- /package/dist/components/{p-D4j0deyd.js.map → p-C_tqXl5P.js.map} +0 -0
- /package/dist/components/{p-CnIvWEVm.js.map → p-Ca0npbVt.js.map} +0 -0
- /package/dist/components/{p-dEouiXJ8.js.map → p-D8nnhQNJ.js.map} +0 -0
- /package/dist/components/{p-D4AfoIu6.js.map → p-DGhSz9Fo.js.map} +0 -0
- /package/dist/components/{p-C891ueIx.js.map → p-DYoCb_sj.js.map} +0 -0
- /package/dist/components/{p-GbTasczF.js.map → p-Dcnd5ZX5.js.map} +0 -0
- /package/dist/components/{p-BRze4tRe.js.map → p-DeBto13S.js.map} +0 -0
- /package/dist/components/{p-CqDJRVT8.js.map → p-NzOcZg8r.js.map} +0 -0
- /package/dist/components/{p-Cohb8T7G.js.map → p-QdI17bl-.js.map} +0 -0
- /package/dist/components/{p-chA2WA5x.js.map → p-Qzh-wyTg.js.map} +0 -0
- /package/dist/components/{p-DrvEhJhO.js.map → p-eu5AZEuT.js.map} +0 -0
- /package/dist/components/{p-Qf-os3lG.js.map → p-oyZjjoYV.js.map} +0 -0
|
@@ -30,6 +30,8 @@ import { CheckboxSize } from "./components/Checkbox/Checkbox";
|
|
|
30
30
|
import { ChipSize, ChipState } from "./components/Chip/Chip";
|
|
31
31
|
import { ConversationListActionLayout } from "./components/ConversationList/ConversationList";
|
|
32
32
|
import { DividerBackground, DividerInset, DividerLength, DividerOrientation } from "./components/Divider/Divider";
|
|
33
|
+
import { FilterMenuChangeDetail, FilterMenuFilter, FilterMenuSize, FilterMenuValues, FilterMenuWidth } from "./components/FilterMenu/FilterMenu";
|
|
34
|
+
import { AnchoredAlign, AnchoredSide } from "./utils/anchored-position";
|
|
33
35
|
import { IconColor as IconColor1, IconSize } from "./components/Icon/Icon";
|
|
34
36
|
import { InputSize, InputType, InputWidth } from "./components/Input/Input";
|
|
35
37
|
import { LoaderColor, LoaderSize } from "./components/Loader/Loader";
|
|
@@ -51,7 +53,7 @@ import { PanelSubNavBackground } from "./components/PanelSubNav/PanelSubNav";
|
|
|
51
53
|
import { PanelToolsHeaderAction, PanelToolsHeaders, PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
|
|
52
54
|
import { RadioOption, RadioSize } from "./components/Radio/Radio";
|
|
53
55
|
import { ScrollOverlayScrollDetail } from "./components/ScrollOverlay/ScrollOverlay";
|
|
54
|
-
import { SelectBackground, SelectOption, SelectSection, SelectSize, SelectValue, SelectWidth } from "./components/Select/Select";
|
|
56
|
+
import { SelectBackground, SelectOption, SelectOptionActionDetail, SelectPopupAlign, SelectSection, SelectSize, SelectValue, SelectWidth } from "./components/Select/Select";
|
|
55
57
|
import { ShellAppComposition, ShellNavigationConfig, ShellPageChromeConfig, ShellToolsConfig } from "./components/ShellApp/shell-app-types";
|
|
56
58
|
import { ShellGradientPreset } from "./shell/shell-gradient-presets";
|
|
57
59
|
import { ShellPageCapacity, ShellPageContentInset, ShellPageContentSurface, ShellPageHeaderPresentation } from "./components/ShellPage/shell-page-types";
|
|
@@ -61,7 +63,7 @@ import { SliderOrientation, SliderSize, SliderThumbAlignment, SliderValue } from
|
|
|
61
63
|
import { SwatchPickerOption, SwatchPickerSection } from "./components/SwatchPicker/swatch-picker-types";
|
|
62
64
|
import { SwitchSize } from "./components/Switch/Switch";
|
|
63
65
|
import { TabBackground, TabGroupSize as TabGroupSize1 } from "./components/TabGroup/TabGroup";
|
|
64
|
-
import { TableCaptionVisibility, TableCellActionDetail, TableColumn, TableGroup, TableGroupCollapseChangeDetail,
|
|
66
|
+
import { TableCaptionVisibility, TableCellActionDetail, TableColumn, TableGroup, TableGroupCollapseChangeDetail, TableGroupingState, TableLoadMoreDetail, TableLoadMoreMode, TableRow, TableRowActivateDetail, TableSelectionChangeDetail, TableSelectionMode, TableSortChangeDetail, TableSortState } from "./components/Table/table-types";
|
|
65
67
|
import { TagContrast, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
66
68
|
import { ToastActionEventDetail, ToastCloseEventDetail, ToastEventDetail, ToastManager, ToastSwipeDirection } from "./toast";
|
|
67
69
|
import { TooltipAlign, TooltipSide, TooltipSize } from "./components/Tooltip/Tooltip";
|
|
@@ -91,6 +93,8 @@ export { CheckboxSize } from "./components/Checkbox/Checkbox";
|
|
|
91
93
|
export { ChipSize, ChipState } from "./components/Chip/Chip";
|
|
92
94
|
export { ConversationListActionLayout } from "./components/ConversationList/ConversationList";
|
|
93
95
|
export { DividerBackground, DividerInset, DividerLength, DividerOrientation } from "./components/Divider/Divider";
|
|
96
|
+
export { FilterMenuChangeDetail, FilterMenuFilter, FilterMenuSize, FilterMenuValues, FilterMenuWidth } from "./components/FilterMenu/FilterMenu";
|
|
97
|
+
export { AnchoredAlign, AnchoredSide } from "./utils/anchored-position";
|
|
94
98
|
export { IconColor as IconColor1, IconSize } from "./components/Icon/Icon";
|
|
95
99
|
export { InputSize, InputType, InputWidth } from "./components/Input/Input";
|
|
96
100
|
export { LoaderColor, LoaderSize } from "./components/Loader/Loader";
|
|
@@ -112,7 +116,7 @@ export { PanelSubNavBackground } from "./components/PanelSubNav/PanelSubNav";
|
|
|
112
116
|
export { PanelToolsHeaderAction, PanelToolsHeaders, PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
|
|
113
117
|
export { RadioOption, RadioSize } from "./components/Radio/Radio";
|
|
114
118
|
export { ScrollOverlayScrollDetail } from "./components/ScrollOverlay/ScrollOverlay";
|
|
115
|
-
export { SelectBackground, SelectOption, SelectSection, SelectSize, SelectValue, SelectWidth } from "./components/Select/Select";
|
|
119
|
+
export { SelectBackground, SelectOption, SelectOptionActionDetail, SelectPopupAlign, SelectSection, SelectSize, SelectValue, SelectWidth } from "./components/Select/Select";
|
|
116
120
|
export { ShellAppComposition, ShellNavigationConfig, ShellPageChromeConfig, ShellToolsConfig } from "./components/ShellApp/shell-app-types";
|
|
117
121
|
export { ShellGradientPreset } from "./shell/shell-gradient-presets";
|
|
118
122
|
export { ShellPageCapacity, ShellPageContentInset, ShellPageContentSurface, ShellPageHeaderPresentation } from "./components/ShellPage/shell-page-types";
|
|
@@ -122,7 +126,7 @@ export { SliderOrientation, SliderSize, SliderThumbAlignment, SliderValue } from
|
|
|
122
126
|
export { SwatchPickerOption, SwatchPickerSection } from "./components/SwatchPicker/swatch-picker-types";
|
|
123
127
|
export { SwitchSize } from "./components/Switch/Switch";
|
|
124
128
|
export { TabBackground, TabGroupSize as TabGroupSize1 } from "./components/TabGroup/TabGroup";
|
|
125
|
-
export { TableCaptionVisibility, TableCellActionDetail, TableColumn, TableGroup, TableGroupCollapseChangeDetail,
|
|
129
|
+
export { TableCaptionVisibility, TableCellActionDetail, TableColumn, TableGroup, TableGroupCollapseChangeDetail, TableGroupingState, TableLoadMoreDetail, TableLoadMoreMode, TableRow, TableRowActivateDetail, TableSelectionChangeDetail, TableSelectionMode, TableSortChangeDetail, TableSortState } from "./components/Table/table-types";
|
|
126
130
|
export { TagContrast, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
127
131
|
export { ToastActionEventDetail, ToastCloseEventDetail, ToastEventDetail, ToastManager, ToastSwipeDirection } from "./toast";
|
|
128
132
|
export { TooltipAlign, TooltipSide, TooltipSize } from "./components/Tooltip/Tooltip";
|
|
@@ -649,7 +653,7 @@ export namespace Components {
|
|
|
649
653
|
*/
|
|
650
654
|
"dot": boolean;
|
|
651
655
|
/**
|
|
652
|
-
* Controlled disclosure or popup state forwarded to `aria-expanded`. Popup triggers hold
|
|
656
|
+
* Controlled disclosure or popup state forwarded to `aria-expanded`. Popup triggers hold only the pressed wash while open; their resting foreground is unchanged. Ordinary disclosures remain visually neutral.
|
|
653
657
|
*/
|
|
654
658
|
"expanded": boolean | undefined;
|
|
655
659
|
/**
|
|
@@ -1147,6 +1151,119 @@ export namespace Components {
|
|
|
1147
1151
|
*/
|
|
1148
1152
|
"label": string;
|
|
1149
1153
|
}
|
|
1154
|
+
interface DsFilterMenu {
|
|
1155
|
+
/**
|
|
1156
|
+
* Show selected interaction fill when one or more criteria are active.
|
|
1157
|
+
* @default false
|
|
1158
|
+
*/
|
|
1159
|
+
"activeFill": boolean;
|
|
1160
|
+
/**
|
|
1161
|
+
* Controlled category shown in the option pane.
|
|
1162
|
+
*/
|
|
1163
|
+
"activeFilterId": string | undefined;
|
|
1164
|
+
/**
|
|
1165
|
+
* Cross-axis alignment against the trigger.
|
|
1166
|
+
* @default 'end'
|
|
1167
|
+
*/
|
|
1168
|
+
"align": AnchoredAlign;
|
|
1169
|
+
/**
|
|
1170
|
+
* Cross-axis offset — number in px or a TokoMo length.
|
|
1171
|
+
* @default 0
|
|
1172
|
+
*/
|
|
1173
|
+
"alignOffset": number | string;
|
|
1174
|
+
/**
|
|
1175
|
+
* External trigger element to position against.
|
|
1176
|
+
*/
|
|
1177
|
+
"anchor": HTMLElement | undefined;
|
|
1178
|
+
/**
|
|
1179
|
+
* ID of the external trigger element used for positioning and focus return.
|
|
1180
|
+
*/
|
|
1181
|
+
"anchorId": string | undefined;
|
|
1182
|
+
/**
|
|
1183
|
+
* Direct accessible name for the internal select trigger.
|
|
1184
|
+
* @default null
|
|
1185
|
+
*/
|
|
1186
|
+
"ariaLabel": string | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Accessible name for the category tab list.
|
|
1189
|
+
* @default 'Filter categories'
|
|
1190
|
+
*/
|
|
1191
|
+
"categoriesLabel": string;
|
|
1192
|
+
/**
|
|
1193
|
+
* Footer action and date-clear accessible label.
|
|
1194
|
+
* @default 'Clear'
|
|
1195
|
+
*/
|
|
1196
|
+
"clearLabel": string;
|
|
1197
|
+
/**
|
|
1198
|
+
* Product-owned filter categories and option definitions.
|
|
1199
|
+
* @default []
|
|
1200
|
+
*/
|
|
1201
|
+
"filters": FilterMenuFilter[];
|
|
1202
|
+
/**
|
|
1203
|
+
* Show the surface-aware inset border around the select trigger.
|
|
1204
|
+
* @default true
|
|
1205
|
+
*/
|
|
1206
|
+
"hasBorder": boolean;
|
|
1207
|
+
/**
|
|
1208
|
+
* Optional select trigger prefix icon name.
|
|
1209
|
+
* @default 'Filters'
|
|
1210
|
+
*/
|
|
1211
|
+
"icon": string | undefined;
|
|
1212
|
+
/**
|
|
1213
|
+
* Show a visible focus ring on initial entry after keyboard activation.
|
|
1214
|
+
* @default false
|
|
1215
|
+
*/
|
|
1216
|
+
"initialFocusVisible": boolean;
|
|
1217
|
+
/**
|
|
1218
|
+
* ID applied to the internal select trigger.
|
|
1219
|
+
*/
|
|
1220
|
+
"inputId": string | undefined;
|
|
1221
|
+
/**
|
|
1222
|
+
* Accessible name for the non-modal filter dialog.
|
|
1223
|
+
* @default 'Filters'
|
|
1224
|
+
*/
|
|
1225
|
+
"menuLabel": string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Popup width. It remains clamped to the viewport by the component recipe.
|
|
1228
|
+
* @default TOKEN_CSS_LENGTHS.menuWidthLg
|
|
1229
|
+
*/
|
|
1230
|
+
"menuWidth": string;
|
|
1231
|
+
/**
|
|
1232
|
+
* Controlled popup visibility.
|
|
1233
|
+
* @default false
|
|
1234
|
+
*/
|
|
1235
|
+
"open": boolean;
|
|
1236
|
+
/**
|
|
1237
|
+
* Preferred popup side; collision handling may flip it.
|
|
1238
|
+
* @default 'bottom'
|
|
1239
|
+
*/
|
|
1240
|
+
"side": AnchoredSide;
|
|
1241
|
+
/**
|
|
1242
|
+
* Gap between trigger and popup — number in px or a TokoMo length.
|
|
1243
|
+
* @default TOKEN_CSS_LENGTHS.space050
|
|
1244
|
+
*/
|
|
1245
|
+
"sideOffset": number | string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Select trigger density.
|
|
1248
|
+
* @default 'md'
|
|
1249
|
+
*/
|
|
1250
|
+
"size": FilterMenuSize;
|
|
1251
|
+
/**
|
|
1252
|
+
* Select trigger text. The selected count is appended automatically.
|
|
1253
|
+
* @default 'Filters'
|
|
1254
|
+
*/
|
|
1255
|
+
"triggerLabel": string;
|
|
1256
|
+
/**
|
|
1257
|
+
* Controlled values keyed by filter id.
|
|
1258
|
+
* @default {}
|
|
1259
|
+
*/
|
|
1260
|
+
"values": FilterMenuValues;
|
|
1261
|
+
/**
|
|
1262
|
+
* Select trigger width fit.
|
|
1263
|
+
* @default 'hug'
|
|
1264
|
+
*/
|
|
1265
|
+
"width": FilterMenuWidth;
|
|
1266
|
+
}
|
|
1150
1267
|
interface DsIcon {
|
|
1151
1268
|
/**
|
|
1152
1269
|
* Semantic foreground color token, or a raw CSS var reference. `tertiary` and the still-fainter `quaternary` are restricted to icons inside genuinely inactive/disabled UI or to purely decorative icons; informative icons must retain sufficient contrast.
|
|
@@ -2061,6 +2178,11 @@ export namespace Components {
|
|
|
2061
2178
|
* @default false
|
|
2062
2179
|
*/
|
|
2063
2180
|
"disabled": boolean;
|
|
2181
|
+
/**
|
|
2182
|
+
* Show a supplemental notification dot beside the trigger label.
|
|
2183
|
+
* @default false
|
|
2184
|
+
*/
|
|
2185
|
+
"dot": boolean;
|
|
2064
2186
|
/**
|
|
2065
2187
|
* Show invalid visual state.
|
|
2066
2188
|
* @default false
|
|
@@ -2070,6 +2192,10 @@ export namespace Components {
|
|
|
2070
2192
|
* Error text rendered below the trigger when error is true.
|
|
2071
2193
|
*/
|
|
2072
2194
|
"errorMessage": string | undefined;
|
|
2195
|
+
/**
|
|
2196
|
+
* Optional text action shown in the popup footer instead of the clear action.
|
|
2197
|
+
*/
|
|
2198
|
+
"footerActionLabel": string | undefined;
|
|
2073
2199
|
/**
|
|
2074
2200
|
* Show the surface-aware inset border, including focused and invalid strokes.
|
|
2075
2201
|
* @default true
|
|
@@ -2127,6 +2253,11 @@ export namespace Components {
|
|
|
2127
2253
|
* @default 'Select'
|
|
2128
2254
|
*/
|
|
2129
2255
|
"placeholder": string;
|
|
2256
|
+
/**
|
|
2257
|
+
* Align the popup's choice edge to the trigger start or end edge.
|
|
2258
|
+
* @default 'start'
|
|
2259
|
+
*/
|
|
2260
|
+
"popupAlign": SelectPopupAlign;
|
|
2130
2261
|
/**
|
|
2131
2262
|
* Require one valid selected value.
|
|
2132
2263
|
* @default false
|
|
@@ -2163,6 +2294,15 @@ export namespace Components {
|
|
|
2163
2294
|
* @default 'md'
|
|
2164
2295
|
*/
|
|
2165
2296
|
"size": SelectSize;
|
|
2297
|
+
/**
|
|
2298
|
+
* Optional scalar-mode trigger text that does not change the selected option label.
|
|
2299
|
+
*/
|
|
2300
|
+
"triggerLabel": string | undefined;
|
|
2301
|
+
/**
|
|
2302
|
+
* Present triggerLabel with placeholder emphasis while preserving the selected value.
|
|
2303
|
+
* @default false
|
|
2304
|
+
*/
|
|
2305
|
+
"triggerLabelPlaceholder": boolean;
|
|
2166
2306
|
/**
|
|
2167
2307
|
* Selected scalar or array value according to `multiple`.
|
|
2168
2308
|
* @default ''
|
|
@@ -2649,7 +2789,7 @@ export namespace Components {
|
|
|
2649
2789
|
*/
|
|
2650
2790
|
"fitViewport": boolean;
|
|
2651
2791
|
/**
|
|
2652
|
-
* Controlled grouping column
|
|
2792
|
+
* Controlled grouping column. Applications supply groups in their final fixed order.
|
|
2653
2793
|
* @default null
|
|
2654
2794
|
*/
|
|
2655
2795
|
"grouping": TableGroupingState | null;
|
|
@@ -3077,6 +3217,10 @@ export interface DsConversationListItemCustomEvent<T> extends CustomEvent<T> {
|
|
|
3077
3217
|
detail: T;
|
|
3078
3218
|
target: HTMLDsConversationListItemElement;
|
|
3079
3219
|
}
|
|
3220
|
+
export interface DsFilterMenuCustomEvent<T> extends CustomEvent<T> {
|
|
3221
|
+
detail: T;
|
|
3222
|
+
target: HTMLDsFilterMenuElement;
|
|
3223
|
+
}
|
|
3080
3224
|
export interface DsInputCustomEvent<T> extends CustomEvent<T> {
|
|
3081
3225
|
detail: T;
|
|
3082
3226
|
target: HTMLDsInputElement;
|
|
@@ -3583,6 +3727,28 @@ declare global {
|
|
|
3583
3727
|
prototype: HTMLDsFieldElement;
|
|
3584
3728
|
new (): HTMLDsFieldElement;
|
|
3585
3729
|
};
|
|
3730
|
+
interface HTMLDsFilterMenuElementEventMap {
|
|
3731
|
+
"dsChange": FilterMenuChangeDetail;
|
|
3732
|
+
"dsClear": void;
|
|
3733
|
+
"dsActiveFilterChange": string;
|
|
3734
|
+
"dsClose": void;
|
|
3735
|
+
"dsOpenChange": boolean;
|
|
3736
|
+
"dsAfterClose": void;
|
|
3737
|
+
}
|
|
3738
|
+
interface HTMLDsFilterMenuElement extends Components.DsFilterMenu, HTMLStencilElement {
|
|
3739
|
+
addEventListener<K extends keyof HTMLDsFilterMenuElementEventMap>(type: K, listener: (this: HTMLDsFilterMenuElement, ev: DsFilterMenuCustomEvent<HTMLDsFilterMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3740
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3741
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3742
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3743
|
+
removeEventListener<K extends keyof HTMLDsFilterMenuElementEventMap>(type: K, listener: (this: HTMLDsFilterMenuElement, ev: DsFilterMenuCustomEvent<HTMLDsFilterMenuElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3744
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3745
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3746
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3747
|
+
}
|
|
3748
|
+
var HTMLDsFilterMenuElement: {
|
|
3749
|
+
prototype: HTMLDsFilterMenuElement;
|
|
3750
|
+
new (): HTMLDsFilterMenuElement;
|
|
3751
|
+
};
|
|
3586
3752
|
interface HTMLDsIconElement extends Components.DsIcon, HTMLStencilElement {
|
|
3587
3753
|
}
|
|
3588
3754
|
var HTMLDsIconElement: {
|
|
@@ -3942,6 +4108,8 @@ declare global {
|
|
|
3942
4108
|
"dsChange": SelectValue;
|
|
3943
4109
|
"dsClear": void;
|
|
3944
4110
|
"dsOpenChange": boolean;
|
|
4111
|
+
"dsFooterAction": void;
|
|
4112
|
+
"dsOptionAction": SelectOptionActionDetail;
|
|
3945
4113
|
}
|
|
3946
4114
|
interface HTMLDsSelectElement extends Components.DsSelect, HTMLStencilElement {
|
|
3947
4115
|
addEventListener<K extends keyof HTMLDsSelectElementEventMap>(type: K, listener: (this: HTMLDsSelectElement, ev: DsSelectCustomEvent<HTMLDsSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4100,7 +4268,6 @@ declare global {
|
|
|
4100
4268
|
};
|
|
4101
4269
|
interface HTMLDsTableElementEventMap {
|
|
4102
4270
|
"dsSortChange": TableSortChangeDetail;
|
|
4103
|
-
"dsGroupingChange": TableGroupingChangeDetail;
|
|
4104
4271
|
"dsGroupCollapseChange": TableGroupCollapseChangeDetail;
|
|
4105
4272
|
"dsSelectionChange": TableSelectionChangeDetail;
|
|
4106
4273
|
"dsLoadMore": TableLoadMoreDetail;
|
|
@@ -4231,6 +4398,7 @@ declare global {
|
|
|
4231
4398
|
"ds-divider": HTMLDsDividerElement;
|
|
4232
4399
|
"ds-empty-state": HTMLDsEmptyStateElement;
|
|
4233
4400
|
"ds-field": HTMLDsFieldElement;
|
|
4401
|
+
"ds-filter-menu": HTMLDsFilterMenuElement;
|
|
4234
4402
|
"ds-icon": HTMLDsIconElement;
|
|
4235
4403
|
"ds-input": HTMLDsInputElement;
|
|
4236
4404
|
"ds-loader": HTMLDsLoaderElement;
|
|
@@ -4842,7 +5010,7 @@ declare namespace LocalJSX {
|
|
|
4842
5010
|
*/
|
|
4843
5011
|
"dot"?: boolean;
|
|
4844
5012
|
/**
|
|
4845
|
-
* Controlled disclosure or popup state forwarded to `aria-expanded`. Popup triggers hold
|
|
5013
|
+
* Controlled disclosure or popup state forwarded to `aria-expanded`. Popup triggers hold only the pressed wash while open; their resting foreground is unchanged. Ordinary disclosures remain visually neutral.
|
|
4846
5014
|
*/
|
|
4847
5015
|
"expanded"?: boolean | undefined;
|
|
4848
5016
|
/**
|
|
@@ -5378,6 +5546,143 @@ declare namespace LocalJSX {
|
|
|
5378
5546
|
*/
|
|
5379
5547
|
"label": string;
|
|
5380
5548
|
}
|
|
5549
|
+
interface DsFilterMenu {
|
|
5550
|
+
/**
|
|
5551
|
+
* Show selected interaction fill when one or more criteria are active.
|
|
5552
|
+
* @default false
|
|
5553
|
+
*/
|
|
5554
|
+
"activeFill"?: boolean;
|
|
5555
|
+
/**
|
|
5556
|
+
* Controlled category shown in the option pane.
|
|
5557
|
+
*/
|
|
5558
|
+
"activeFilterId"?: string | undefined;
|
|
5559
|
+
/**
|
|
5560
|
+
* Cross-axis alignment against the trigger.
|
|
5561
|
+
* @default 'end'
|
|
5562
|
+
*/
|
|
5563
|
+
"align"?: AnchoredAlign;
|
|
5564
|
+
/**
|
|
5565
|
+
* Cross-axis offset — number in px or a TokoMo length.
|
|
5566
|
+
* @default 0
|
|
5567
|
+
*/
|
|
5568
|
+
"alignOffset"?: number | string;
|
|
5569
|
+
/**
|
|
5570
|
+
* External trigger element to position against.
|
|
5571
|
+
*/
|
|
5572
|
+
"anchor"?: HTMLElement | undefined;
|
|
5573
|
+
/**
|
|
5574
|
+
* ID of the external trigger element used for positioning and focus return.
|
|
5575
|
+
*/
|
|
5576
|
+
"anchorId"?: string | undefined;
|
|
5577
|
+
/**
|
|
5578
|
+
* Direct accessible name for the internal select trigger.
|
|
5579
|
+
* @default null
|
|
5580
|
+
*/
|
|
5581
|
+
"ariaLabel"?: string | null;
|
|
5582
|
+
/**
|
|
5583
|
+
* Accessible name for the category tab list.
|
|
5584
|
+
* @default 'Filter categories'
|
|
5585
|
+
*/
|
|
5586
|
+
"categoriesLabel"?: string;
|
|
5587
|
+
/**
|
|
5588
|
+
* Footer action and date-clear accessible label.
|
|
5589
|
+
* @default 'Clear'
|
|
5590
|
+
*/
|
|
5591
|
+
"clearLabel"?: string;
|
|
5592
|
+
/**
|
|
5593
|
+
* Product-owned filter categories and option definitions.
|
|
5594
|
+
* @default []
|
|
5595
|
+
*/
|
|
5596
|
+
"filters"?: FilterMenuFilter[];
|
|
5597
|
+
/**
|
|
5598
|
+
* Show the surface-aware inset border around the select trigger.
|
|
5599
|
+
* @default true
|
|
5600
|
+
*/
|
|
5601
|
+
"hasBorder"?: boolean;
|
|
5602
|
+
/**
|
|
5603
|
+
* Optional select trigger prefix icon name.
|
|
5604
|
+
* @default 'Filters'
|
|
5605
|
+
*/
|
|
5606
|
+
"icon"?: string | undefined;
|
|
5607
|
+
/**
|
|
5608
|
+
* Show a visible focus ring on initial entry after keyboard activation.
|
|
5609
|
+
* @default false
|
|
5610
|
+
*/
|
|
5611
|
+
"initialFocusVisible"?: boolean;
|
|
5612
|
+
/**
|
|
5613
|
+
* ID applied to the internal select trigger.
|
|
5614
|
+
*/
|
|
5615
|
+
"inputId"?: string | undefined;
|
|
5616
|
+
/**
|
|
5617
|
+
* Accessible name for the non-modal filter dialog.
|
|
5618
|
+
* @default 'Filters'
|
|
5619
|
+
*/
|
|
5620
|
+
"menuLabel"?: string;
|
|
5621
|
+
/**
|
|
5622
|
+
* Popup width. It remains clamped to the viewport by the component recipe.
|
|
5623
|
+
* @default TOKEN_CSS_LENGTHS.menuWidthLg
|
|
5624
|
+
*/
|
|
5625
|
+
"menuWidth"?: string;
|
|
5626
|
+
/**
|
|
5627
|
+
* Requests a controlled active-category replacement.
|
|
5628
|
+
*/
|
|
5629
|
+
"onDsActiveFilterChange"?: (event: DsFilterMenuCustomEvent<string>) => void;
|
|
5630
|
+
/**
|
|
5631
|
+
* Emitted after exit motion and rendered popup removal complete.
|
|
5632
|
+
*/
|
|
5633
|
+
"onDsAfterClose"?: (event: DsFilterMenuCustomEvent<void>) => void;
|
|
5634
|
+
/**
|
|
5635
|
+
* Requests a controlled value replacement without closing the popup.
|
|
5636
|
+
*/
|
|
5637
|
+
"onDsChange"?: (event: DsFilterMenuCustomEvent<FilterMenuChangeDetail>) => void;
|
|
5638
|
+
/**
|
|
5639
|
+
* Requests that the consumer clear every filter value.
|
|
5640
|
+
*/
|
|
5641
|
+
"onDsClear"?: (event: DsFilterMenuCustomEvent<void>) => void;
|
|
5642
|
+
/**
|
|
5643
|
+
* Requests that the controlled popup close.
|
|
5644
|
+
*/
|
|
5645
|
+
"onDsClose"?: (event: DsFilterMenuCustomEvent<void>) => void;
|
|
5646
|
+
/**
|
|
5647
|
+
* Emitted whenever internal select-trigger activation changes popup visibility.
|
|
5648
|
+
*/
|
|
5649
|
+
"onDsOpenChange"?: (event: DsFilterMenuCustomEvent<boolean>) => void;
|
|
5650
|
+
/**
|
|
5651
|
+
* Controlled popup visibility.
|
|
5652
|
+
* @default false
|
|
5653
|
+
*/
|
|
5654
|
+
"open"?: boolean;
|
|
5655
|
+
/**
|
|
5656
|
+
* Preferred popup side; collision handling may flip it.
|
|
5657
|
+
* @default 'bottom'
|
|
5658
|
+
*/
|
|
5659
|
+
"side"?: AnchoredSide;
|
|
5660
|
+
/**
|
|
5661
|
+
* Gap between trigger and popup — number in px or a TokoMo length.
|
|
5662
|
+
* @default TOKEN_CSS_LENGTHS.space050
|
|
5663
|
+
*/
|
|
5664
|
+
"sideOffset"?: number | string;
|
|
5665
|
+
/**
|
|
5666
|
+
* Select trigger density.
|
|
5667
|
+
* @default 'md'
|
|
5668
|
+
*/
|
|
5669
|
+
"size"?: FilterMenuSize;
|
|
5670
|
+
/**
|
|
5671
|
+
* Select trigger text. The selected count is appended automatically.
|
|
5672
|
+
* @default 'Filters'
|
|
5673
|
+
*/
|
|
5674
|
+
"triggerLabel"?: string;
|
|
5675
|
+
/**
|
|
5676
|
+
* Controlled values keyed by filter id.
|
|
5677
|
+
* @default {}
|
|
5678
|
+
*/
|
|
5679
|
+
"values"?: FilterMenuValues;
|
|
5680
|
+
/**
|
|
5681
|
+
* Select trigger width fit.
|
|
5682
|
+
* @default 'hug'
|
|
5683
|
+
*/
|
|
5684
|
+
"width"?: FilterMenuWidth;
|
|
5685
|
+
}
|
|
5381
5686
|
interface DsIcon {
|
|
5382
5687
|
/**
|
|
5383
5688
|
* Semantic foreground color token, or a raw CSS var reference. `tertiary` and the still-fainter `quaternary` are restricted to icons inside genuinely inactive/disabled UI or to purely decorative icons; informative icons must retain sufficient contrast.
|
|
@@ -6361,6 +6666,11 @@ declare namespace LocalJSX {
|
|
|
6361
6666
|
* @default false
|
|
6362
6667
|
*/
|
|
6363
6668
|
"disabled"?: boolean;
|
|
6669
|
+
/**
|
|
6670
|
+
* Show a supplemental notification dot beside the trigger label.
|
|
6671
|
+
* @default false
|
|
6672
|
+
*/
|
|
6673
|
+
"dot"?: boolean;
|
|
6364
6674
|
/**
|
|
6365
6675
|
* Show invalid visual state.
|
|
6366
6676
|
* @default false
|
|
@@ -6370,6 +6680,10 @@ declare namespace LocalJSX {
|
|
|
6370
6680
|
* Error text rendered below the trigger when error is true.
|
|
6371
6681
|
*/
|
|
6372
6682
|
"errorMessage"?: string | undefined;
|
|
6683
|
+
/**
|
|
6684
|
+
* Optional text action shown in the popup footer instead of the clear action.
|
|
6685
|
+
*/
|
|
6686
|
+
"footerActionLabel"?: string | undefined;
|
|
6373
6687
|
/**
|
|
6374
6688
|
* The `id` of a `<form>` element to associate this element with.
|
|
6375
6689
|
*/
|
|
@@ -6424,10 +6738,18 @@ declare namespace LocalJSX {
|
|
|
6424
6738
|
* Emitted after the footer clear action.
|
|
6425
6739
|
*/
|
|
6426
6740
|
"onDsClear"?: (event: DsSelectCustomEvent<void>) => void;
|
|
6741
|
+
/**
|
|
6742
|
+
* Emitted when the optional popup footer action is activated.
|
|
6743
|
+
*/
|
|
6744
|
+
"onDsFooterAction"?: (event: DsSelectCustomEvent<void>) => void;
|
|
6427
6745
|
/**
|
|
6428
6746
|
* Emitted whenever popup visibility changes.
|
|
6429
6747
|
*/
|
|
6430
6748
|
"onDsOpenChange"?: (event: DsSelectCustomEvent<boolean>) => void;
|
|
6749
|
+
/**
|
|
6750
|
+
* Emitted when an option's contextual ellipsis action is activated.
|
|
6751
|
+
*/
|
|
6752
|
+
"onDsOptionAction"?: (event: DsSelectCustomEvent<SelectOptionActionDetail>) => void;
|
|
6431
6753
|
/**
|
|
6432
6754
|
* Controlled popup visibility.
|
|
6433
6755
|
* @default false
|
|
@@ -6443,6 +6765,11 @@ declare namespace LocalJSX {
|
|
|
6443
6765
|
* @default 'Select'
|
|
6444
6766
|
*/
|
|
6445
6767
|
"placeholder"?: string;
|
|
6768
|
+
/**
|
|
6769
|
+
* Align the popup's choice edge to the trigger start or end edge.
|
|
6770
|
+
* @default 'start'
|
|
6771
|
+
*/
|
|
6772
|
+
"popupAlign"?: SelectPopupAlign;
|
|
6446
6773
|
/**
|
|
6447
6774
|
* Require one valid selected value.
|
|
6448
6775
|
* @default false
|
|
@@ -6478,6 +6805,15 @@ declare namespace LocalJSX {
|
|
|
6478
6805
|
* @default 'md'
|
|
6479
6806
|
*/
|
|
6480
6807
|
"size"?: SelectSize;
|
|
6808
|
+
/**
|
|
6809
|
+
* Optional scalar-mode trigger text that does not change the selected option label.
|
|
6810
|
+
*/
|
|
6811
|
+
"triggerLabel"?: string | undefined;
|
|
6812
|
+
/**
|
|
6813
|
+
* Present triggerLabel with placeholder emphasis while preserving the selected value.
|
|
6814
|
+
* @default false
|
|
6815
|
+
*/
|
|
6816
|
+
"triggerLabelPlaceholder"?: boolean;
|
|
6481
6817
|
/**
|
|
6482
6818
|
* Selected scalar or array value according to `multiple`.
|
|
6483
6819
|
* @default ''
|
|
@@ -7020,7 +7356,7 @@ declare namespace LocalJSX {
|
|
|
7020
7356
|
*/
|
|
7021
7357
|
"fitViewport"?: boolean;
|
|
7022
7358
|
/**
|
|
7023
|
-
* Controlled grouping column
|
|
7359
|
+
* Controlled grouping column. Applications supply groups in their final fixed order.
|
|
7024
7360
|
* @default null
|
|
7025
7361
|
*/
|
|
7026
7362
|
"grouping"?: TableGroupingState | null;
|
|
@@ -7080,7 +7416,6 @@ declare namespace LocalJSX {
|
|
|
7080
7416
|
"maxHeight"?: string | number | undefined;
|
|
7081
7417
|
"onDsCellAction"?: (event: DsTableCustomEvent<TableCellActionDetail>) => void;
|
|
7082
7418
|
"onDsGroupCollapseChange"?: (event: DsTableCustomEvent<TableGroupCollapseChangeDetail>) => void;
|
|
7083
|
-
"onDsGroupingChange"?: (event: DsTableCustomEvent<TableGroupingChangeDetail>) => void;
|
|
7084
7419
|
"onDsLoadMore"?: (event: DsTableCustomEvent<TableLoadMoreDetail>) => void;
|
|
7085
7420
|
"onDsRowActivate"?: (event: DsTableCustomEvent<TableRowActivateDetail>) => void;
|
|
7086
7421
|
"onDsSelectionChange"?: (event: DsTableCustomEvent<TableSelectionChangeDetail>) => void;
|
|
@@ -7641,6 +7976,28 @@ declare namespace LocalJSX {
|
|
|
7641
7976
|
"error": boolean;
|
|
7642
7977
|
"errorMessage": string | undefined;
|
|
7643
7978
|
}
|
|
7979
|
+
interface DsFilterMenuAttributes {
|
|
7980
|
+
"open": boolean;
|
|
7981
|
+
"triggerLabel": string;
|
|
7982
|
+
"icon": string | undefined;
|
|
7983
|
+
"size": FilterMenuSize;
|
|
7984
|
+
"width": FilterMenuWidth;
|
|
7985
|
+
"hasBorder": boolean;
|
|
7986
|
+
"activeFill": boolean;
|
|
7987
|
+
"inputId": string | undefined;
|
|
7988
|
+
"ariaLabel": string | null;
|
|
7989
|
+
"activeFilterId": string | undefined;
|
|
7990
|
+
"anchorId": string | undefined;
|
|
7991
|
+
"side": AnchoredSide;
|
|
7992
|
+
"align": AnchoredAlign;
|
|
7993
|
+
"sideOffset": string;
|
|
7994
|
+
"alignOffset": string;
|
|
7995
|
+
"menuWidth": string;
|
|
7996
|
+
"menuLabel": string;
|
|
7997
|
+
"categoriesLabel": string;
|
|
7998
|
+
"clearLabel": string;
|
|
7999
|
+
"initialFocusVisible": boolean;
|
|
8000
|
+
}
|
|
7644
8001
|
interface DsIconAttributes {
|
|
7645
8002
|
"name": string;
|
|
7646
8003
|
"size": IconSize;
|
|
@@ -7866,8 +8223,12 @@ declare namespace LocalJSX {
|
|
|
7866
8223
|
"required": boolean;
|
|
7867
8224
|
"requiredMessage": string;
|
|
7868
8225
|
"placeholder": string;
|
|
8226
|
+
"triggerLabel": string | undefined;
|
|
8227
|
+
"triggerLabelPlaceholder": boolean;
|
|
8228
|
+
"dot": boolean;
|
|
7869
8229
|
"size": SelectSize;
|
|
7870
8230
|
"width": SelectWidth;
|
|
8231
|
+
"popupAlign": SelectPopupAlign;
|
|
7871
8232
|
"isInactive": boolean;
|
|
7872
8233
|
"isLoading": boolean;
|
|
7873
8234
|
"activeFill": boolean;
|
|
@@ -7876,6 +8237,7 @@ declare namespace LocalJSX {
|
|
|
7876
8237
|
"allowClear": boolean;
|
|
7877
8238
|
"clearLabel": string;
|
|
7878
8239
|
"selectedLabel": string;
|
|
8240
|
+
"footerActionLabel": string | undefined;
|
|
7879
8241
|
"searchable": boolean;
|
|
7880
8242
|
"searchPlaceholder": string;
|
|
7881
8243
|
"noResultsText": string;
|
|
@@ -8107,6 +8469,7 @@ declare namespace LocalJSX {
|
|
|
8107
8469
|
"ds-divider": Omit<DsDivider, keyof DsDividerAttributes> & { [K in keyof DsDivider & keyof DsDividerAttributes]?: DsDivider[K] } & { [K in keyof DsDivider & keyof DsDividerAttributes as `attr:${K}`]?: DsDividerAttributes[K] } & { [K in keyof DsDivider & keyof DsDividerAttributes as `prop:${K}`]?: DsDivider[K] };
|
|
8108
8470
|
"ds-empty-state": Omit<DsEmptyState, keyof DsEmptyStateAttributes> & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes]?: DsEmptyState[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `attr:${K}`]?: DsEmptyStateAttributes[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `prop:${K}`]?: DsEmptyState[K] };
|
|
8109
8471
|
"ds-field": Omit<DsField, keyof DsFieldAttributes> & { [K in keyof DsField & keyof DsFieldAttributes]?: DsField[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `attr:${K}`]?: DsFieldAttributes[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `prop:${K}`]?: DsField[K] } & OneOf<"label", DsField["label"], DsFieldAttributes["label"]>;
|
|
8472
|
+
"ds-filter-menu": Omit<DsFilterMenu, keyof DsFilterMenuAttributes> & { [K in keyof DsFilterMenu & keyof DsFilterMenuAttributes]?: DsFilterMenu[K] } & { [K in keyof DsFilterMenu & keyof DsFilterMenuAttributes as `attr:${K}`]?: DsFilterMenuAttributes[K] } & { [K in keyof DsFilterMenu & keyof DsFilterMenuAttributes as `prop:${K}`]?: DsFilterMenu[K] };
|
|
8110
8473
|
"ds-icon": Omit<DsIcon, keyof DsIconAttributes> & { [K in keyof DsIcon & keyof DsIconAttributes]?: DsIcon[K] } & { [K in keyof DsIcon & keyof DsIconAttributes as `attr:${K}`]?: DsIconAttributes[K] } & { [K in keyof DsIcon & keyof DsIconAttributes as `prop:${K}`]?: DsIcon[K] };
|
|
8111
8474
|
"ds-input": Omit<DsInput, keyof DsInputAttributes> & { [K in keyof DsInput & keyof DsInputAttributes]?: DsInput[K] } & { [K in keyof DsInput & keyof DsInputAttributes as `attr:${K}`]?: DsInputAttributes[K] } & { [K in keyof DsInput & keyof DsInputAttributes as `prop:${K}`]?: DsInput[K] };
|
|
8112
8475
|
"ds-loader": Omit<DsLoader, keyof DsLoaderAttributes> & { [K in keyof DsLoader & keyof DsLoaderAttributes]?: DsLoader[K] } & { [K in keyof DsLoader & keyof DsLoaderAttributes as `attr:${K}`]?: DsLoaderAttributes[K] } & { [K in keyof DsLoader & keyof DsLoaderAttributes as `prop:${K}`]?: DsLoader[K] };
|
|
@@ -8196,6 +8559,7 @@ declare module "@stencil/core" {
|
|
|
8196
8559
|
"ds-divider": LocalJSX.IntrinsicElements["ds-divider"] & JSXBase.HTMLAttributes<HTMLDsDividerElement>;
|
|
8197
8560
|
"ds-empty-state": LocalJSX.IntrinsicElements["ds-empty-state"] & JSXBase.HTMLAttributes<HTMLDsEmptyStateElement>;
|
|
8198
8561
|
"ds-field": LocalJSX.IntrinsicElements["ds-field"] & JSXBase.HTMLAttributes<HTMLDsFieldElement>;
|
|
8562
|
+
"ds-filter-menu": LocalJSX.IntrinsicElements["ds-filter-menu"] & JSXBase.HTMLAttributes<HTMLDsFilterMenuElement>;
|
|
8199
8563
|
"ds-icon": LocalJSX.IntrinsicElements["ds-icon"] & JSXBase.HTMLAttributes<HTMLDsIconElement>;
|
|
8200
8564
|
"ds-input": LocalJSX.IntrinsicElements["ds-input"] & JSXBase.HTMLAttributes<HTMLDsInputElement>;
|
|
8201
8565
|
"ds-loader": LocalJSX.IntrinsicElements["ds-loader"] & JSXBase.HTMLAttributes<HTMLDsLoaderElement>;
|
|
@@ -20,9 +20,20 @@ interface ChoiceFooterProps {
|
|
|
20
20
|
size?: ControlSize;
|
|
21
21
|
clearLabel: string;
|
|
22
22
|
summary?: string;
|
|
23
|
+
compactSummary?: string;
|
|
24
|
+
useCompactSummary?: boolean;
|
|
25
|
+
contentRef?: (element: HTMLDivElement | null) => void;
|
|
26
|
+
summaryMeasureRef?: (element: HTMLElement | null) => void;
|
|
27
|
+
clearRef?: (element: HTMLButtonElement | null) => void;
|
|
23
28
|
onClear: (event: MouseEvent) => void;
|
|
24
29
|
}
|
|
25
30
|
export declare const ChoiceFooter: FunctionalComponent<ChoiceFooterProps>;
|
|
31
|
+
interface ChoiceActionFooterProps {
|
|
32
|
+
size?: ControlSize;
|
|
33
|
+
label: string;
|
|
34
|
+
onAction: (event: MouseEvent) => void;
|
|
35
|
+
}
|
|
36
|
+
export declare const ChoiceActionFooter: FunctionalComponent<ChoiceActionFooterProps>;
|
|
26
37
|
interface ChoiceOptionRowProps {
|
|
27
38
|
size?: ControlSize;
|
|
28
39
|
id: string;
|
|
@@ -32,6 +43,12 @@ interface ChoiceOptionRowProps {
|
|
|
32
43
|
focusRingVisible: boolean;
|
|
33
44
|
usesSubtext: boolean;
|
|
34
45
|
leading?: VNode;
|
|
46
|
+
action?: VNode;
|
|
47
|
+
actionOpen?: boolean;
|
|
48
|
+
popupRole?: 'listbox' | 'grid';
|
|
49
|
+
tabIndex?: number;
|
|
50
|
+
onFocus?: () => void;
|
|
51
|
+
onKeyDown?: (event: KeyboardEvent) => void;
|
|
35
52
|
onHover: () => void;
|
|
36
53
|
onSelect: () => void;
|
|
37
54
|
}
|
|
@@ -5,6 +5,16 @@ export interface ChoiceOption {
|
|
|
5
5
|
/** Rendered only when every option in the complete list supplies an icon. */
|
|
6
6
|
icon?: string;
|
|
7
7
|
isInactive?: boolean;
|
|
8
|
+
/** Optional contextual action shown at the trailing edge of this option. */
|
|
9
|
+
action?: ChoiceOptionAction;
|
|
10
|
+
}
|
|
11
|
+
export interface ChoiceOptionAction {
|
|
12
|
+
/** Accessible name for the fixed ellipsis action. */
|
|
13
|
+
label: string;
|
|
14
|
+
/** ID of the popup controlled by the action. */
|
|
15
|
+
controls?: string;
|
|
16
|
+
/** Keep the action visible and expose its controlled popup state. */
|
|
17
|
+
expanded?: boolean;
|
|
8
18
|
}
|
|
9
19
|
export interface ChoiceSection {
|
|
10
20
|
header?: string;
|
|
@@ -11,6 +11,7 @@ export interface SelectControllerState<T extends ChoiceOption> {
|
|
|
11
11
|
readonly isLoading: boolean;
|
|
12
12
|
readonly isDisabled: boolean;
|
|
13
13
|
readonly preferredIndex: number;
|
|
14
|
+
readonly popupAlign: 'start' | 'end';
|
|
14
15
|
open: boolean;
|
|
15
16
|
activeIndex: number;
|
|
16
17
|
searchTerm: string;
|
|
@@ -46,6 +47,7 @@ export declare class SelectController<T extends ChoiceOption> {
|
|
|
46
47
|
setFocus(): void;
|
|
47
48
|
optionsChanged(): void;
|
|
48
49
|
loadingChanged(): void;
|
|
50
|
+
positionChanged(): void;
|
|
49
51
|
openChanged(open: boolean): void;
|
|
50
52
|
searchChanged(): void;
|
|
51
53
|
activeIndexChanged(): void;
|