@ds-mo/ui 14.5.0 → 14.7.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 +6 -6
- package/dist/agent.json +80 -26
- package/dist/angular/ds-menu.d.ts +7 -1
- package/dist/angular/ds-menu.js +5 -2
- package/dist/angular/ds-table.d.ts +4 -1
- package/dist/angular/ds-table.js +7 -4
- package/dist/angular/ds-tooltip.d.ts +1 -1
- package/dist/angular/ds-tooltip.js +4 -3
- package/dist/components/ds-agent-questionnaire.js +1 -1
- package/dist/components/ds-agent-response.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-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-setting.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-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-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-composer.js +1 -1
- package/dist/components/ds-message-scroller.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-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-select.js +1 -1
- package/dist/components/ds-shell-app.js +1 -1
- package/dist/components/ds-shell-tools.js +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-toast.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/{p-w64TmQd-.js → p--VFa9x3k.js} +2 -2
- package/dist/components/{p-o1v7Choa.js → p-B5um-ps9.js} +2 -2
- package/dist/components/{p-BiIdszv1.js → p-BAebDW3a.js} +2 -2
- package/dist/components/p-BKWgofxz.js +2 -0
- package/dist/components/p-BKWgofxz.js.map +1 -0
- package/dist/components/p-BXPQmp7q.js +2 -0
- package/dist/components/p-BXPQmp7q.js.map +1 -0
- package/dist/components/{p-CXqVVdW2.js → p-BmqfTAXM.js} +2 -2
- package/dist/components/{p-B2hqUkg-.js → p-C-L4InQ0.js} +2 -2
- package/dist/components/{p-BGGm1NB1.js → p-C1jsgfeh.js} +2 -2
- package/dist/components/{p-nImbYpwo.js → p-CoQSB3tl.js} +2 -2
- package/dist/components/{p-BXNLaPbw.js → p-CvwtYbmh.js} +2 -2
- package/dist/components/{p-ohWEVGHg.js → p-D5VglrfF.js} +2 -2
- package/dist/components/{p-DkPNCBA8.js → p-D5bPuNiF.js} +2 -2
- package/dist/components/{p-Ba1l3Yot.js → p-DOC4RaAy.js} +2 -2
- package/dist/components/{p-CvpsV-jC.js → p-DQUxg6Si.js} +2 -2
- package/dist/components/{p-Dkkid-rh.js → p-bQm3gfr1.js} +2 -2
- package/dist/components/{p-CTTDiW33.js → p-c_5SXjwx.js} +2 -2
- package/dist/components/p-c_5SXjwx.js.map +1 -0
- package/dist/components/p-mLRtp5A4.js +2 -0
- package/dist/components/{p-CRLRjtsc.js.map → p-mLRtp5A4.js.map} +1 -1
- package/dist/docs/components.json +315 -16
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/lib/utils/index.js +8 -0
- package/dist/lib/utils/index.js.map +3 -3
- package/dist/lib/utils/is-element-truncated.d.ts +6 -0
- package/dist/mcp-data/registry/button-unfilled.json +6 -6
- package/dist/mcp-data/registry/menu.json +40 -12
- package/dist/mcp-data/registry/registry.json +79 -25
- package/dist/mcp-data/registry/table.json +110 -15
- package/dist/mcp-data/registry/tooltip.json +68 -7
- package/dist/react/ds-menu.d.ts +2 -1
- package/dist/react/ds-menu.js +2 -1
- package/dist/react/ds-table.d.ts +2 -1
- package/dist/react/ds-table.js +2 -1
- package/dist/styles/table.css +81 -2
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +4 -2
- package/dist/types/components/Menu/Menu.d.ts +19 -1
- package/dist/types/components/Menu/menu-reorder.d.ts +21 -0
- package/dist/types/components/Menu/menu-types.d.ts +12 -0
- package/dist/types/components/Table/Table.d.ts +50 -1
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Table/table-action-menu.d.ts +15 -0
- package/dist/types/components/Table/table-cell-model.d.ts +16 -1
- package/dist/types/components/Table/table-column-customizer.d.ts +33 -0
- package/dist/types/components/Table/table-truncate.d.ts +6 -0
- package/dist/types/components/Table/table-types.d.ts +44 -2
- package/dist/types/components/Tooltip/Tooltip.d.ts +15 -0
- package/dist/types/components.d.ts +74 -6
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/is-element-truncated.d.ts +7 -0
- package/package.json +1 -1
- package/dist/components/p-CRLRjtsc.js +0 -2
- package/dist/components/p-CTTDiW33.js.map +0 -1
- package/dist/components/p-Ccq1RmOb.js +0 -2
- package/dist/components/p-Ccq1RmOb.js.map +0 -1
- package/dist/components/p-CtOK5oZ1.js +0 -2
- package/dist/components/p-CtOK5oZ1.js.map +0 -1
- /package/dist/components/{p-w64TmQd-.js.map → p--VFa9x3k.js.map} +0 -0
- /package/dist/components/{p-o1v7Choa.js.map → p-B5um-ps9.js.map} +0 -0
- /package/dist/components/{p-BiIdszv1.js.map → p-BAebDW3a.js.map} +0 -0
- /package/dist/components/{p-CXqVVdW2.js.map → p-BmqfTAXM.js.map} +0 -0
- /package/dist/components/{p-B2hqUkg-.js.map → p-C-L4InQ0.js.map} +0 -0
- /package/dist/components/{p-BGGm1NB1.js.map → p-C1jsgfeh.js.map} +0 -0
- /package/dist/components/{p-nImbYpwo.js.map → p-CoQSB3tl.js.map} +0 -0
- /package/dist/components/{p-BXNLaPbw.js.map → p-CvwtYbmh.js.map} +0 -0
- /package/dist/components/{p-ohWEVGHg.js.map → p-D5VglrfF.js.map} +0 -0
- /package/dist/components/{p-DkPNCBA8.js.map → p-D5bPuNiF.js.map} +0 -0
- /package/dist/components/{p-Ba1l3Yot.js.map → p-DOC4RaAy.js.map} +0 -0
- /package/dist/components/{p-CvpsV-jC.js.map → p-DQUxg6Si.js.map} +0 -0
- /package/dist/components/{p-Dkkid-rh.js.map → p-bQm3gfr1.js.map} +0 -0
package/dist/.package-ready.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":1,"package":"@ds-mo/ui","version":"14.
|
|
1
|
+
{"schemaVersion":1,"package":"@ds-mo/ui","version":"14.7.0","components":70,"digest":"4d1976acb1ef3f2b1b320e810a04676eabe2f5a21144b751a7e6c5a6d98db08d","completedAt":"2026-08-20T23:50:41.765Z"}
|
package/dist/agent-patterns.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"package": "@ds-mo/ui",
|
|
4
|
-
"packageVersion": "14.
|
|
4
|
+
"packageVersion": "14.7.0",
|
|
5
5
|
"kind": "patterns",
|
|
6
6
|
"entries": [
|
|
7
7
|
{
|
|
@@ -451,16 +451,16 @@
|
|
|
451
451
|
"The application synchronizes one open boolean to the trigger's expanded prop and Menu.open.",
|
|
452
452
|
"An open popup is a transient pressed state, not a selected one. The trigger holds only its pressed wash for the popup's rendered lifecycle from expanded alone, without changing foreground, so never also set isActive to represent an open menu.",
|
|
453
453
|
"Menu owns popup placement and keyboard navigation; the application never calculates popup coordinates or applies positional CSS.",
|
|
454
|
-
"On dsSelect, update the selected value, close the Menu, and restore focus to the trigger.",
|
|
454
|
+
"On dsSelect from a command or single-selection row, update the selected value, close the Menu, and restore focus to the trigger.",
|
|
455
|
+
"Switch rows and reorderable rows report dsSelect or dsReorder without closing; replace the items array from those events.",
|
|
455
456
|
"On dsClose, synchronize the application open state to false."
|
|
456
457
|
],
|
|
457
458
|
"accessibility": [
|
|
458
459
|
"A button either has a menu or is a menu, and the trigger's variant selects between the two shapes.",
|
|
459
460
|
"Has a menu: a label or icon-label action that opens a menu. Set hasMenu, which implies aria-haspopup of menu and renders the trailing chevron that communicates the popup. Both button primitives support this shape.",
|
|
460
|
-
"Is a menu: an icon-only
|
|
461
|
-
"Never pair hasMenu with an icon-only glyph that does not read as a menu on its own; there is no chevron to fall back on.",
|
|
461
|
+
"Is a menu: an icon-only control. Set hasMenu, which adds no chevron, so the glyph must convey the menu alone. Use Ellipses for generic more-options or overflow. Use a specific icon when the menu has a named purpose, such as Preferences for Customize table. Only ButtonUnfilled carries this shape, because the role is chrome rather than a primary action.",
|
|
462
462
|
"Set controls to the Menu id and expanded from the same open state passed to Menu.",
|
|
463
|
-
"Give an icon-only trigger an accessible name that states the role, such as More options, because no visible label or chevron carries it.",
|
|
463
|
+
"Give an icon-only trigger an accessible name that states the role, such as More options or Customize table, because no visible label or chevron carries it.",
|
|
464
464
|
"Use haspopup directly instead of hasMenu for a non-menu popup such as a listbox or dialog; those cases get no chevron.",
|
|
465
465
|
"Give Menu a concise menuLabel describing the available commands or views.",
|
|
466
466
|
"Set Menu.initialFocusVisible only when the trigger MouseEvent detail is zero, indicating keyboard activation.",
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
{
|
|
485
485
|
"path": "view-menu.html",
|
|
486
486
|
"language": "html",
|
|
487
|
-
"content": "<ds-button-unfilled\n id=\"view-menu-trigger\"\n label=\"View · Overview\"\n has-menu\n controls=\"view-menu\"\n></ds-button-unfilled>\n<ds-menu\n id=\"view-menu\"\n anchor-id=\"view-menu-trigger\"\n menu-label=\"Choose view\"\n></ds-menu>\n\n<!-- Overflow shape:
|
|
487
|
+
"content": "<ds-button-unfilled\n id=\"view-menu-trigger\"\n label=\"View · Overview\"\n has-menu\n controls=\"view-menu\"\n></ds-button-unfilled>\n<ds-menu\n id=\"view-menu\"\n anchor-id=\"view-menu-trigger\"\n menu-label=\"Choose view\"\n></ds-menu>\n\n<!-- Overflow shape: Ellipses means more options, so no chevron is added. -->\n<ds-button-unfilled\n id=\"row-menu-trigger\"\n variant=\"icon\"\n icon=\"Ellipses\"\n aria-label=\"More options\"\n has-menu\n controls=\"row-menu\"\n></ds-button-unfilled>\n<ds-menu\n id=\"row-menu\"\n anchor-id=\"row-menu-trigger\"\n menu-label=\"More options\"\n align=\"end\"\n></ds-menu>\n\n<!-- Named menu: a specific glyph when the menu is not generic overflow. -->\n<ds-button-unfilled\n id=\"customize-menu-trigger\"\n variant=\"icon\"\n icon=\"Preferences\"\n aria-label=\"Customize table\"\n has-menu\n controls=\"customize-menu\"\n></ds-button-unfilled>\n<ds-menu\n id=\"customize-menu\"\n anchor-id=\"customize-menu-trigger\"\n menu-label=\"Customize table\"\n align=\"end\"\n></ds-menu>"
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
490
|
"path": "view-menu.ts",
|
package/dist/agent.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"package": "@ds-mo/ui",
|
|
4
|
-
"packageVersion": "14.
|
|
4
|
+
"packageVersion": "14.7.0",
|
|
5
5
|
"kind": "components",
|
|
6
6
|
"entries": [
|
|
7
7
|
{
|
|
@@ -1950,7 +1950,7 @@
|
|
|
1950
1950
|
"accessibility": [
|
|
1951
1951
|
"Provide an explicit accessible name for every icon-only action.",
|
|
1952
1952
|
"Set hasMenu when the button triggers a Menu; it implies aria-haspopup of menu. Pass controls with the Menu id and expanded from the same open state given to Menu. Expanded popup triggers hold only the pressed wash while open, without changing their resting foreground; expanded disclosure controls without popup semantics retain the normal resting appearance.",
|
|
1953
|
-
"Give an icon-only menu button an accessible name that states the role, such as More options, because no visible label or chevron carries it.",
|
|
1953
|
+
"Give an icon-only menu button an accessible name that states the role, such as More options or Customize table, because no visible label or chevron carries it.",
|
|
1954
1954
|
"Use haspopup directly for a non-menu popup such as a listbox or dialog; those cases get no chevron.",
|
|
1955
1955
|
"Use pressed only for a genuine toggle button; it supplies aria-pressed and dsChange intent. Use isActive only for owner-controlled visual emphasis inside a composite whose selection semantics live on the owner.",
|
|
1956
1956
|
"Treat notification dots as supplemental unread or status information; never use a dot as the sole state, meaning, or accessible name.",
|
|
@@ -1970,8 +1970,8 @@
|
|
|
1970
1970
|
"Rounded changes only the control radius to the half-radius treatment; it does not change hierarchy, size, variant, or interaction semantics.",
|
|
1971
1971
|
"Physical press scaling is on by default. Disable it only when an owning composite must keep child or background geometry fixed; hover and pressed interaction washes remain available.",
|
|
1972
1972
|
"Icon and icon-label loading replace the icon in place. Label-only loading centers the loader while preserving the button's measured width.",
|
|
1973
|
-
"hasMenu covers two distinct menu-button shapes and the variant selects between them. With label or icon-label the action has a menu, and a trailing chevron carries the affordance. With icon the button is a menu
|
|
1974
|
-
"Because the icon-only shape has no chevron, its glyph must convey the menu on its own
|
|
1973
|
+
"hasMenu covers two distinct menu-button shapes and the variant selects between them. With label or icon-label the action has a menu, and a trailing chevron carries the affordance. With icon the button is a menu and no chevron is added.",
|
|
1974
|
+
"Because the icon-only shape has no chevron, its glyph must convey the menu on its own. Use Ellipses for a generic more-options or overflow control. Use a specific icon when the menu has a named purpose, such as Preferences for Customize table.",
|
|
1975
1975
|
"An open popup is a transient pressed state rather than a selected one. While expanded is true and haspopup or hasMenu identifies a popup, the pressed wash is held for the popup's complete rendered lifecycle and survives hover without promoting foreground or selected fill, including when chrome opts out of selected fills with activeFill set to false. Expanded disclosure buttons without popup semantics remain visually neutral."
|
|
1976
1976
|
],
|
|
1977
1977
|
"responsiveBehavior": [
|
|
@@ -4486,15 +4486,15 @@
|
|
|
4486
4486
|
"tag": "ds-menu",
|
|
4487
4487
|
"name": "menu",
|
|
4488
4488
|
"title": "Menu",
|
|
4489
|
-
"summary": "Anchored action menu with flat commands, grouped sections, single-selection choices, supplemental notification dots or trailing tags, switches, and destructive actions.",
|
|
4489
|
+
"summary": "Anchored action menu with flat commands, grouped sections, single-selection choices, supplemental notification dots or trailing tags, prefix icons, reorderable rows, switches, and destructive actions.",
|
|
4490
4490
|
"intentStatus": "complete",
|
|
4491
4491
|
"intent": {
|
|
4492
4492
|
"audience": "general",
|
|
4493
4493
|
"status": "stable",
|
|
4494
|
-
"summary": "Anchored action menu with flat commands, grouped sections, single-selection choices, supplemental notification dots or trailing tags, switches, and destructive actions.",
|
|
4494
|
+
"summary": "Anchored action menu with flat commands, grouped sections, single-selection choices, supplemental notification dots or trailing tags, prefix icons, reorderable rows, switches, and destructive actions.",
|
|
4495
4495
|
"useWhen": [
|
|
4496
4496
|
"A trigger reveals a short contextual list of commands or state-changing actions.",
|
|
4497
|
-
"Actions need grouping, mutually exclusive selected state, supplemental notification dots or trailing tags, switch rows, or destructive treatment."
|
|
4497
|
+
"Actions need grouping, mutually exclusive selected state, supplemental notification dots or trailing tags, prefix icons, reorderable switch or command rows, or destructive treatment."
|
|
4498
4498
|
],
|
|
4499
4499
|
"avoidWhen": [
|
|
4500
4500
|
"The user is selecting a value for a form field.",
|
|
@@ -4535,17 +4535,21 @@
|
|
|
4535
4535
|
"Single-selection menus use menuitemradio semantics and aria-checked on each row, but render no nested radio control; selected interaction fill and primary foreground provide the visual state.",
|
|
4536
4536
|
"A swatch-picker section changes the popup to a non-modal dialog so its radio group and ordinary preference buttons keep valid nested semantics; Tab moves between its controls, then leaves and closes at the popup boundary.",
|
|
4537
4537
|
"Use notification dots only as supplemental status and not as the sole indication of important information.",
|
|
4538
|
-
"Trailing tags are non-interactive supplemental content; their visible label remains part of the menu item's accessible name."
|
|
4538
|
+
"Trailing tags are non-interactive supplemental content; their visible label remains part of the menu item's accessible name.",
|
|
4539
|
+
"Reorderable rows keep a presentation Drag handle. Pointer drag on the handle and Alt+Arrow Up or Down emit dsReorder without closing. Pointer cancellation abandons the pending move. Hide-locked reorderable rows expose aria-disabled for the unavailable toggle but stay focusable so they can move; fully locked rows stay out of the contiguous reorderable run.",
|
|
4540
|
+
"Announce the new position through a polite live region that is a sibling of the role=menu popup, so the menu retains only permitted descendants."
|
|
4539
4541
|
],
|
|
4540
4542
|
"states": [
|
|
4541
4543
|
"The host owns open state and responds to selection and close events.",
|
|
4542
4544
|
"Use either flat items or sections, not both.",
|
|
4543
4545
|
"After dsSelect from a switch row, replace the items or sections array with updated switchValue data so the controlled indicator reflects the new state.",
|
|
4546
|
+
"After dsReorder, replace items or the affected section with the emitted items array. Menu never mutates order and does not close.",
|
|
4544
4547
|
"For selectionMode single, keep exactly one item isSelected and replace the items or sections array after dsSelect; Menu never mutates consumer-owned selection data.",
|
|
4545
4548
|
"Arrays, objects, and element anchors must be assigned as JavaScript properties.",
|
|
4546
4549
|
"Use a swatch-picker section for a small curated visual preference and apply dsSwatchSelect immediately without closing the popup.",
|
|
4547
4550
|
"Ordinary rows, section headings, and supporting text consume the Menu size. At xs, both the primary label and supporting text use caption metrics.",
|
|
4548
|
-
"A trailing tag resolves one density smaller than its menu row so it nests without changing row height. Do not combine tag, dot, and switch suffixes on one item."
|
|
4551
|
+
"A trailing tag resolves one density smaller than its menu row and uses the inset recipe so it nests without changing row height. Do not combine tag, dot, and switch suffixes on one item.",
|
|
4552
|
+
"Reorderable rows use the Drag prefix and ignore icon. Prefix and drag-handle icons inherit the choice-popup secondary foreground, matching Select. When any row in a section has an icon or is reorderable, the remaining rows get a spacer so labels align."
|
|
4549
4553
|
],
|
|
4550
4554
|
"responsiveBehavior": [
|
|
4551
4555
|
"Keep the default choice-cell anchor alignment so the first or last interactive row edge aligns with its trigger, matching Select; use popup-frame only for deliberate custom frame geometry.",
|
|
@@ -4554,13 +4558,14 @@
|
|
|
4554
4558
|
],
|
|
4555
4559
|
"frameworkCaveats": {
|
|
4556
4560
|
"customElements": [
|
|
4557
|
-
"Assign items, sections, and HTMLElement anchors as properties after the element is defined."
|
|
4561
|
+
"Assign items, sections, and HTMLElement anchors as properties after the element is defined.",
|
|
4562
|
+
"Handle dsReorder by replacing the items or section items with the emitted items array; Menu never mutates order."
|
|
4558
4563
|
],
|
|
4559
4564
|
"react": [
|
|
4560
|
-
"Pass arrays and objects as wrapper props and handle generated onDsSelect and onDsClose event props."
|
|
4565
|
+
"Pass arrays and objects as wrapper props and handle generated onDsSelect, onDsReorder, and onDsClose event props."
|
|
4561
4566
|
],
|
|
4562
4567
|
"angular": [
|
|
4563
|
-
"Use property bindings for arrays, objects, and anchors and event bindings for dsSelect and dsClose."
|
|
4568
|
+
"Use property bindings for arrays, objects, and anchors and event bindings for dsSelect, dsReorder, and dsClose."
|
|
4564
4569
|
]
|
|
4565
4570
|
},
|
|
4566
4571
|
"references": [
|
|
@@ -4650,6 +4655,10 @@
|
|
|
4650
4655
|
"name": "dsClose",
|
|
4651
4656
|
"detail": "void"
|
|
4652
4657
|
},
|
|
4658
|
+
{
|
|
4659
|
+
"name": "dsReorder",
|
|
4660
|
+
"detail": "MenuReorderDetail"
|
|
4661
|
+
},
|
|
4653
4662
|
{
|
|
4654
4663
|
"name": "dsSelect",
|
|
4655
4664
|
"detail": "MenuItemData"
|
|
@@ -4668,10 +4677,12 @@
|
|
|
4668
4677
|
},
|
|
4669
4678
|
"dependencies": [
|
|
4670
4679
|
"@ds-mo/ui",
|
|
4671
|
-
"@ds-mo/tokens"
|
|
4680
|
+
"@ds-mo/tokens",
|
|
4681
|
+
"@ds-mo/icons"
|
|
4672
4682
|
],
|
|
4673
4683
|
"componentDependencies": [
|
|
4674
4684
|
"badge",
|
|
4685
|
+
"icon",
|
|
4675
4686
|
"swatch-picker",
|
|
4676
4687
|
"switch",
|
|
4677
4688
|
"tag",
|
|
@@ -8622,7 +8633,7 @@
|
|
|
8622
8633
|
"summary": "Semantic, controlled data table with durable visual primitives for cell geometry, grouping, sorting, multi-selection, sticky overflow, incremental loading, and top-level pagination.",
|
|
8623
8634
|
"useWhen": [
|
|
8624
8635
|
"A structured dataset needs native row and column relationships, optional one-level grouping, or comparable values across records.",
|
|
8625
|
-
"An application needs controlled sorting, loaded-row selection, infinite loading, or
|
|
8636
|
+
"An application needs controlled sorting, loaded-row selection, infinite loading, pagination, or an opted-in table-owned column customizer while retaining ownership of the data query, catalog, and persistence.",
|
|
8626
8637
|
"A product table needs a token-backed recipe whose individual header, group, row, cell, selection, state, and load-more layers remain easy to restyle."
|
|
8627
8638
|
],
|
|
8628
8639
|
"avoidWhen": [
|
|
@@ -8638,21 +8649,28 @@
|
|
|
8638
8649
|
"component:ds-pagination",
|
|
8639
8650
|
"component:ds-bar-action",
|
|
8640
8651
|
"component:ds-button-unfilled",
|
|
8652
|
+
"component:ds-menu",
|
|
8653
|
+
"component:ds-tooltip",
|
|
8641
8654
|
"component:ds-tag",
|
|
8642
8655
|
"component:ds-icon"
|
|
8643
8656
|
],
|
|
8657
|
+
"patterns": [
|
|
8658
|
+
"pattern:menu-trigger"
|
|
8659
|
+
],
|
|
8644
8660
|
"accessibility": [
|
|
8645
|
-
"The rendered structure uses a native table, caption, column headers, row groups, and data cells; keep the caption non-empty. The native caption remains visually hidden as the table's accessible name. When caption visibility is enabled, a 48px header bar renders as component chrome outside the horizontal scrollport. It defaults to a presentational caption title that does not duplicate the accessible name. Application-owned labeled controls supplied through the single named header slot replace that fallback and
|
|
8661
|
+
"The rendered structure uses a native table, caption, column headers, row groups, and data cells; keep the caption non-empty. The native caption remains visually hidden as the table's accessible name. When caption visibility is enabled, a 48px header bar renders as component chrome outside the horizontal scrollport. It defaults to a presentational caption title that does not duplicate the accessible name. Application-owned labeled controls supplied through the single named header slot replace that fallback and occupy the leading content width inside the component-owned 8px inset. When columnCustomizer is enabled, the table adds a trailing Preferences control named Customize table; otherwise the header slot receives the complete content width.",
|
|
8662
|
+
"The column customizer is the shared Menu of switch rows, not a table-owned dialog. Data columns can be shown, hidden, and reordered. Locked action columns stay visible, inactive, and last. The selection checkbox is not a column and never appears. The last remaining visible data column cannot be hidden, but it stays focusable so it can still be reordered. Escape and outside click restore focus to the trigger. Persistence stays in the application.",
|
|
8646
8663
|
"Sorting controls remain buttons inside column headers and expose the table's one controlled member-row sort through aria-sort. Grouping never adds a second sort indicator or header control; the application supplies groups in its fixed product order.",
|
|
8647
8664
|
"Selection controls expose checkbox semantics and explicit row names; select-all affects selectable loaded rows only and preserves selected identities outside the loaded window. When grouping is active with multi-selection, each group section header also exposes a checkbox that selects or clears that group's selectable loaded rows.",
|
|
8648
|
-
"Interactive rows are focusable as native rows, activate with Enter or Space, and do not steal activation from their nested selection, action, or primary-text link controls.",
|
|
8665
|
+
"Interactive rows are focusable as native rows, activate with Enter or Space, and do not steal activation from their nested selection, action, overflow-menu, or primary-text link controls.",
|
|
8649
8666
|
"Scrollable table regions become keyboard focusable and named only when overflow exists.",
|
|
8650
8667
|
"Incremental loading, newly appended row counts, failures, and end-of-results transitions are announced through a polite status region without replacing visible state. In grouped tables, announcements name the independently loading group.",
|
|
8651
8668
|
"Static and infinite tables may show an optional result summary footer when displayedCount and totalCount are finite. Pagination mode instead renders a named Pagination control with a compact selected-size total, vertical divider, and page position; range changes are announced independently with complete phrasing. While focus is anywhere inside a paginated table, unmodified Left and Right Arrow request the adjacent page; editable fields, choice controls, sliders, and modified key combinations retain their own keyboard behavior. The footer slot can replace summary copy, while footer-leading and footer-trailing remain available in the same compact-bar anatomy."
|
|
8652
8669
|
],
|
|
8653
8670
|
"states": [
|
|
8654
|
-
"Columns, rows, groups, grouping, sorting, selected row IDs, collapsed group IDs, dataMode, pagination, displayedCount, totalCount, and incremental-loading state are controlled inputs. Events communicate intent and never mutate those inputs. The optional header is one
|
|
8671
|
+
"Columns, rows, groups, grouping, sorting, selected row IDs, collapsed group IDs, hiddenColumnIds, columnOrder, dataMode, pagination, displayedCount, totalCount, and incremental-loading state are controlled inputs. Events communicate intent and never mutate those inputs. The optional header is one composable table-local surface: the component owns its 48px chrome, 8px inset on every side, and sticky placement while the application owns the leading slot's internal layout, controls, labels, filtering behavior, and action handling. Opting into columnCustomizer adds a trailing Customize table Menu trigger and requires caption visibility. The footer retains its compact-bar composition: application-owned leading status sits left while a controlled result summary or Pagination aligns right, before any trailing action. Content-sized tables remain natural for sparse or fixed-count results. height bounds the complete header, frame, and footer composition. fitViewport reserves the compact-state composition height in the nearest vertical scrollport while growing the visible table into that reservation as surrounding page chrome collapses.",
|
|
8655
8672
|
"Grouping supports one level. The application supplies groups in a fixed product-defined order and supplies ordered member rows independently. Group section headers show an emphasized text-body-medium label followed by a middle dot and plain secondary loaded progress, for example Critical · 50 of 166. The loaded value comes from the supplied member rows and the total comes from totalCount. A localized countLabel total phrase remains available for the complete assistive progress announcement. Groups may declare an optional intent (brand, neutral, negative, warning, caution, positive) that paints an LTR gradient from the faint intent surface at the label edge into faint neutral at the trailing edge, plus a bold intent title color. Neutral groups remain solid faint neutral. Section separators are painted inside that viewport-width surface so translucent border tokens composite with each intent background. Internal sections keep their separators; a collapsed or empty section header yields its separator only when it is the table's final rendered item. A trailing visually neutral icon-only ButtonUnfilled uses the 24px md double-inset action recipe and toggles controlled collapsedGroupIds, showing ChevronUp while expanded and ChevronDown while collapsed. While any group is expanded, a ChevronDownUp action uses the xs sort-control recipe widened to a table-owned 24px lane and collapses every group. It appears at the inline-end edge of the trailing column declared with kind action when one exists; otherwise a button-hugging 24px by 16px medium-elevation surface floats at the visible scrollport's header edge so the action remains reachable while member columns scroll beneath it. With stickyHeader enabled, each contained section uses its one real section row as a native sticky header inside its real row-group boundary. The browser therefore owns pinning, push-off, scrolling, and resize layout in one pass without a duplicated lane, active-section state, transforms, or scroll-time geometry. Shared grid tracks retain exact header and member-cell alignment. The section surface also stays pinned to the visible horizontal scrollport and spans the smaller of the visible viewport or table width.",
|
|
8673
|
+
"When columnCustomizer is false, columns render in catalog order. When it is true, columns remains the catalog: hiddenColumnIds and columnOrder control visibility and data-column sequence, action columns stay last and cannot be hidden, and dsColumnsConfigChange reports the next hidden ids and data-column order without mutating those inputs. The customizer Menu live-applies show/hide and data-column reorder. The table does not persist preferences.",
|
|
8656
8674
|
"An active member sort toggles only between ascending and descending; activating a different sortable label moves the one sorting state to that key. Applications may still clear the controlled sort state explicitly. Grouping does not introduce another interactive direction.",
|
|
8657
8675
|
"Compound headers can expose multiple related labels with independent sort keys. Each label owns only its content-width interaction target while the active direction remains in the column's alignment-aware sort lane.",
|
|
8658
8676
|
"Initial loading defaults to ten row-shaped skeletons and preserves row dividers, column dividers, selection lanes, and sticky boundaries. A selectable table renders a checkbox-sized control skeleton in its selection lane so loading geometry matches the real checkbox instead of a generic icon. Each column may declare representative text, multiline text, image, Tag, icon, icon-and-text, action, or intentionally blank loading geometry; the table applies the matching resolved-cell padding and track anatomy so the placeholder row has the same height and rhythm as its data row. Columns without a declaration use one text line, while action columns infer an icon action placeholder. Empty, initial error, load-more, retry, loading-more, and terminal bands remain fixed to the visible table width while data columns scroll horizontally beneath them. Incremental loading retains existing rows and supports automatic sentinel, manual load-more, retry, and terminal states. When grouping is active, each expanded group owns its load band at the end of its member rows; internal group load bands keep their bottom divider, while a terminal group load band yields it to the table edge or footer. The global bottom-of-table loader is not rendered.",
|
|
@@ -8660,7 +8678,7 @@
|
|
|
8660
8678
|
"When pagination enables Fit to page on a bounded table, the table proposes the number of complete top-level rows that fit below its column header. Grouped tables count group headers only; member rows never affect capacity. Selecting Fit captures that numeric snapshot. A changed fitIdentity requests one fresh snapshot for a new query shape, while viewport resizing alone does not change the active controlled page size.",
|
|
8661
8679
|
"Rows opt into complete-row activation with interactive and emit dsRowActivate without owning navigation. Selection paints through the shared selected ::before layer; interactive hover and press paint through the shared ::after layer.",
|
|
8662
8680
|
"Row selection owns the single sticky start lane. One explicitly sized application column can own the sticky end lane, or the start lane when selection is absent. Each sticky boundary owns one fixed divider and a row-clipped directional shadow that paints into the adjacent scrolling columns only while more inline content remains beyond that edge.",
|
|
8663
|
-
"Cells accept scalar content, standard primary-and-secondary or dual-primary text primitives, declarative Tag, icon-only, icon-and-text, 16:9 Image, or ButtonUnfilled Action content, or explicit Empty and Blank absence values. Text objects may declare an optional href (and target) on the primary track only; the table renders a native anchor with the shared brand text-action treatment when the URL is safe, and leaves scalars unlinked. Standard secondary copy defaults to the secondary foreground and may declare a semantic Text color when the application data carries intent; an optional tertiary track uses the same subdued body-small recipe as secondary. Secondary and tertiary may also be a short list of colorable runs, rendered on one line with the table's middle-dot separator. Dual-primary copy keeps both tracks primary unless explicitly colored and does not gain a tertiary track. Body data cells share 8px outer padding; header and group rows keep their own geometry. Text tracks, including Empty, keep 4px inline padding so copy lines up with column-header labels; Tag and icon-only tracks stay on the 8px cell chrome alone. Icon-and-text cells (`kind: 'icon-text'`) place one md prefix icon beside the same copy stack as a text cell. The icon slot takes 2px padding on every side, then a 2px flex gap before the copy; text-track padding stays on the copy. Omit iconLabel when the glyph is decorative. 20px content (body-medium text, md icon, and the row checkbox) sits in a 24px track so it stays optically aligned with 24px Tag and Action content. Single-track text, selection, tag-only, icon-only, icon-and-text, Action, Empty, Blank, and 1-track Image cells resolve a 40px base contract while two-track cells grow to 62px and three-track cells grow to 84px. Tracks stack with a 2px gap. Keep the same track count in every row of a table or group when those rows should share one height. Tag cells use the inset Tag recipe: md double-inset is a 24px control for tag-only and tag-with-text, while text-with-tag uses sm single-inset at 20px so the second-track pill fills the body-small slot. Action cells primarily use an icon-only Ellipses treatment, render a 24px small ButtonUnfilled, default to unbordered, and emit row, column, and action identities through dsCellAction. Image cells declare tracks 1, 2, or 3 so the 16:9 bordered preview fills that body-row content box (cell height minus 8px padding) and the column hugs the resulting width; omit tracks for the 1-track recipe, and keep image tracks aligned with the other cells in the table or group. Image cells fall back to an accessible placeholder when no source is supplied. Empty means the data applies but has no value and renders an em dash with localized assistive text; Blank means the data is not applicable and renders no content. Nullish values remain backward-compatible Empty values. Stable type and variant hooks keep every cell family independently styleable.",
|
|
8681
|
+
"Cells accept scalar content, standard primary-and-secondary or dual-primary text primitives, declarative Tag, icon-only, icon-and-text, 16:9 Image, or ButtonUnfilled Action content, or explicit Empty and Blank absence values. Text objects may declare an optional href (and target) on the primary track only; the table renders a native anchor with the shared brand text-action treatment when the URL is safe, and leaves scalars unlinked. Standard secondary copy defaults to the secondary foreground and may declare a semantic Text color when the application data carries intent; an optional tertiary track uses the same subdued body-small recipe as secondary. Secondary and tertiary may also be a short list of colorable runs, rendered on one line with the table's middle-dot separator. Dual-primary copy keeps both tracks primary unless explicitly colored and does not gain a tertiary track. Body data cells share 8px outer padding; header and group rows keep their own geometry. Text tracks, including Empty, keep 4px inline padding so copy lines up with column-header labels; Tag and icon-only tracks stay on the 8px cell chrome alone. Icon-and-text cells (`kind: 'icon-text'`) place one md prefix icon beside the same copy stack as a text cell. The icon slot takes 2px padding on every side, then a 2px flex gap before the copy; text-track padding stays on the copy. Omit iconLabel when the glyph is decorative. 20px content (body-medium text, md icon, and the row checkbox) sits in a 24px track so it stays optically aligned with 24px Tag and Action content. Single-track text, selection, tag-only, icon-only, icon-and-text, Action, Empty, Blank, and 1-track Image cells resolve a 40px base contract while two-track cells grow to 62px and three-track cells grow to 84px. Tracks stack with a 2px gap. Wrapping primary on a 1-track cell uses that same rhythm: two wrapped lines share the 62px row and three wrapped lines share the 84px row. Wrapping secondary keeps primary on the first track and consumes later tracks: two secondary lines share the 84px row and three secondary lines share a 106px fourth track. Keep the same track count in every row of a table or group when those rows should share one height. Tag cells use the inset Tag recipe: md double-inset is a 24px control for tag-only and tag-with-text, while text-with-tag uses sm single-inset at 20px so the second-track pill fills the body-small slot. Action cells primarily use an icon-only Ellipses treatment, render a 24px small ButtonUnfilled, default to unbordered, and emit row, column, and action identities through dsCellAction. When an action cell declares items, that Ellipses trigger opens the shared ds-menu for commands, dividers, inactive rows, and destructive rows instead of emitting on click; choosing a command emits dsCellAction with that item's actionId. Omit items to keep a single-shot control. Image cells declare tracks 1, 2, or 3 so the 16:9 bordered preview fills that body-row content box (cell height minus 8px padding) and the column hugs the resulting width; omit tracks for the 1-track recipe, and keep image tracks aligned with the other cells in the table or group. Image cells fall back to an accessible placeholder when no source is supplied. Empty means the data applies but has no value and renders an em dash with localized assistive text; Blank means the data is not applicable and renders no content. Nullish values remain backward-compatible Empty values. Stable type and variant hooks keep every cell family independently styleable.",
|
|
8664
8682
|
"The public @ds-mo/ui/table.css export is the authoritative zero-specificity visual recipe. Override its --ds-table-* properties or target its stable element classes for product-specific styling."
|
|
8665
8683
|
],
|
|
8666
8684
|
"responsiveBehavior": [
|
|
@@ -8671,16 +8689,19 @@
|
|
|
8671
8689
|
"Explicit column sizes establish the horizontal overflow width; unsized columns share remaining space.",
|
|
8672
8690
|
"Prefer the named xs through xl column sizes, which resolve through TokoMo's table-column width tokens; numeric pixel sizes remain an escape hatch for exceptional application-owned widths.",
|
|
8673
8691
|
"Column headers use one 32px geometry. Body rows use a 40px single-track minimum with shared 8px cell padding; additional tracks grow downward. Image previews fill the same content box as their declared track count. The second text track and the third text track share one subdued body-small recipe so line 3 lines up with line 2.",
|
|
8674
|
-
"Long content truncates by default
|
|
8692
|
+
"Long content truncates to one line by default. Hover (or keyboard-focus a primary link) shows the omitted value in one table-owned tooltip when that track overflows. maxLines 2 or 3 wrap onto the named 2-track and 3-track row heights, then ellipsize with the same tooltip. wrap: true remains unlimited and does not show a truncation tooltip. Wrapping 1-track primary occupies the named 2-track and 3-track row heights instead of a private line-height scale. Wrapping secondary on a 2-track cell occupies the named 3-track row and a 106px fourth track for three lines."
|
|
8675
8693
|
],
|
|
8676
8694
|
"frameworkCaveats": {
|
|
8677
8695
|
"customElements": [
|
|
8678
|
-
"Assign columns, rows, groups, grouping, sort, selectedRowIds, collapsedGroupIds, pagination, displayedCount, and totalCount through JavaScript properties rather than HTML attribute strings.",
|
|
8679
|
-
"
|
|
8696
|
+
"Assign columns, rows, groups, grouping, sort, selectedRowIds, collapsedGroupIds, hiddenColumnIds, columnOrder, pagination, displayedCount, and totalCount through JavaScript properties rather than HTML attribute strings.",
|
|
8697
|
+
"When an action cell supplies items, the table opens one shared ds-menu from the Ellipses trigger; dsCellAction fires for the selected command, not for opening or closing the menu.",
|
|
8698
|
+
"When columnCustomizer is enabled, the Preferences trigger opens the same shared ds-menu of reorderable switch rows; toggling a switch or reordering a row emits dsColumnsConfigChange and does not close the menu.",
|
|
8699
|
+
"Overflowing text tracks present one shared ds-tooltip with the omitted value. Unlimited wrapping tracks and disabled rows never show it. The tooltip is not linked with aria-describedby because the full string remains in the cell.",
|
|
8700
|
+
"Replace controlled property values in response to dsSortChange, dsGroupCollapseChange, dsSelectionChange, dsLoadMore, dsGroupLoadMore, dsPaginationChange, and dsColumnsConfigChange; route dsRowActivate in the application owner. When columnCustomizer is enabled, keep columns as the full catalog and replace hiddenColumnIds and columnOrder from that event."
|
|
8680
8701
|
],
|
|
8681
8702
|
"react": [
|
|
8682
8703
|
"Pass new array and state-object references when the controlled data or query state changes.",
|
|
8683
|
-
"Apply emitted sort, collapse, selection, action, pagination, or global/group loading detail to application state and perform data transformations in the owning layer."
|
|
8704
|
+
"Apply emitted sort, collapse, selection, action, pagination, column-customizer, or global/group loading detail to application state and perform data transformations in the owning layer."
|
|
8684
8705
|
],
|
|
8685
8706
|
"angular": [
|
|
8686
8707
|
"Bind complex table inputs as properties and update the controlled values from the corresponding output events.",
|
|
@@ -8695,6 +8716,10 @@
|
|
|
8695
8716
|
{
|
|
8696
8717
|
"label": "Public visual recipe",
|
|
8697
8718
|
"path": "src/wc/styles/table.css"
|
|
8719
|
+
},
|
|
8720
|
+
{
|
|
8721
|
+
"label": "Menu trigger composition",
|
|
8722
|
+
"path": "agent/patterns/menu-trigger/pattern.agent.json"
|
|
8698
8723
|
}
|
|
8699
8724
|
]
|
|
8700
8725
|
},
|
|
@@ -8712,6 +8737,14 @@
|
|
|
8712
8737
|
"type": "string[]",
|
|
8713
8738
|
"required": false
|
|
8714
8739
|
},
|
|
8740
|
+
"columnCustomizer": {
|
|
8741
|
+
"type": "boolean",
|
|
8742
|
+
"required": false
|
|
8743
|
+
},
|
|
8744
|
+
"columnOrder": {
|
|
8745
|
+
"type": "string[]",
|
|
8746
|
+
"required": false
|
|
8747
|
+
},
|
|
8715
8748
|
"columns": {
|
|
8716
8749
|
"type": "TableColumn[]",
|
|
8717
8750
|
"required": false
|
|
@@ -8796,6 +8829,10 @@
|
|
|
8796
8829
|
"type": "string | number | undefined",
|
|
8797
8830
|
"required": false
|
|
8798
8831
|
},
|
|
8832
|
+
"hiddenColumnIds": {
|
|
8833
|
+
"type": "string[]",
|
|
8834
|
+
"required": false
|
|
8835
|
+
},
|
|
8799
8836
|
"loadIdentity": {
|
|
8800
8837
|
"type": "string | number",
|
|
8801
8838
|
"required": false
|
|
@@ -8894,6 +8931,10 @@
|
|
|
8894
8931
|
"name": "dsCellAction",
|
|
8895
8932
|
"detail": "TableCellActionDetail"
|
|
8896
8933
|
},
|
|
8934
|
+
{
|
|
8935
|
+
"name": "dsColumnsConfigChange",
|
|
8936
|
+
"detail": "TableColumnsConfigChangeDetail"
|
|
8937
|
+
},
|
|
8897
8938
|
{
|
|
8898
8939
|
"name": "dsGroupCollapseChange",
|
|
8899
8940
|
"detail": "TableGroupCollapseChangeDetail"
|
|
@@ -8941,10 +8982,12 @@
|
|
|
8941
8982
|
"empty-state",
|
|
8942
8983
|
"icon",
|
|
8943
8984
|
"loader",
|
|
8985
|
+
"menu",
|
|
8944
8986
|
"pagination",
|
|
8945
8987
|
"skeleton",
|
|
8946
8988
|
"tag",
|
|
8947
|
-
"text"
|
|
8989
|
+
"text",
|
|
8990
|
+
"tooltip"
|
|
8948
8991
|
]
|
|
8949
8992
|
},
|
|
8950
8993
|
{
|
|
@@ -9474,12 +9517,13 @@
|
|
|
9474
9517
|
"component:ds-button-filled",
|
|
9475
9518
|
"component:ds-button-unfilled",
|
|
9476
9519
|
"component:ds-panel-nav",
|
|
9477
|
-
"component:ds-panel-tools"
|
|
9520
|
+
"component:ds-panel-tools",
|
|
9521
|
+
"component:ds-table"
|
|
9478
9522
|
],
|
|
9479
9523
|
"accessibility": [
|
|
9480
9524
|
"The slotted trigger must have its own accessible name, usually an aria-label that closely matches the visual tooltip label.",
|
|
9481
9525
|
"Tooltip content is supplementary and non-essential; touch input intentionally does not open it.",
|
|
9482
|
-
"While open, the trigger is linked to the role=tooltip popup with aria-describedby; the relationship is removed when the popup leaves the DOM without disturbing consumer description IDs.",
|
|
9526
|
+
"While open, the trigger is linked to the role=tooltip popup with aria-describedby by default; the relationship is removed when the popup leaves the DOM without disturbing consumer description IDs. Hosts that already expose the full string, such as a truncated table cell, disable that relationship.",
|
|
9483
9527
|
"Keyboard focus opens the tooltip and Escape dismisses it without moving focus."
|
|
9484
9528
|
],
|
|
9485
9529
|
"states": [
|
|
@@ -9487,18 +9531,20 @@
|
|
|
9487
9531
|
"An empty or whitespace-only label suppresses the popup while preserving the wrapper.",
|
|
9488
9532
|
"Only one tooltip remains active globally; warm handoff removes the previous popup before showing the next.",
|
|
9489
9533
|
"Disconnecting and reinserting the tooltip host rebinds the current slotted trigger.",
|
|
9534
|
+
"A host may present the popup against an external anchor it already owns, without wrapping that trigger or binding hover on it.",
|
|
9490
9535
|
"The preferred side flips when it cannot fit, then alignment is clamped to viewport padding.",
|
|
9491
9536
|
"Reduced motion removes enter and exit fades while retaining the final visible or hidden state."
|
|
9492
9537
|
],
|
|
9493
9538
|
"responsiveBehavior": [
|
|
9494
9539
|
"The portaled popup follows trigger and popup resize, viewport resize, and nested scrolling while open.",
|
|
9495
9540
|
"Touch users rely on the trigger's accessible and visible context rather than tooltip disclosure.",
|
|
9496
|
-
"Keep labels concise and non-wrapping
|
|
9541
|
+
"Keep labels concise and non-wrapping by default; omitted table cell values may wrap at panel-xs."
|
|
9497
9542
|
],
|
|
9498
9543
|
"frameworkCaveats": {
|
|
9499
9544
|
"customElements": [
|
|
9500
9545
|
"Place exactly one trigger element as the component's light-DOM child.",
|
|
9501
9546
|
"Replacing the slotted trigger rebinds pointer and focus behavior automatically.",
|
|
9547
|
+
"A table or similar host can present the popup against an overflowing text node instead of wrapping that node.",
|
|
9502
9548
|
"sideOffset, alignOffset, and delay accept numbers or TokoMo CSS values."
|
|
9503
9549
|
],
|
|
9504
9550
|
"react": [
|
|
@@ -9537,6 +9583,10 @@
|
|
|
9537
9583
|
"type": "number | string",
|
|
9538
9584
|
"required": false
|
|
9539
9585
|
},
|
|
9586
|
+
"describedBy": {
|
|
9587
|
+
"type": "boolean",
|
|
9588
|
+
"required": false
|
|
9589
|
+
},
|
|
9540
9590
|
"label": {
|
|
9541
9591
|
"type": "string",
|
|
9542
9592
|
"required": true
|
|
@@ -9560,6 +9610,10 @@
|
|
|
9560
9610
|
"size": {
|
|
9561
9611
|
"type": "TooltipSize",
|
|
9562
9612
|
"required": false
|
|
9613
|
+
},
|
|
9614
|
+
"wrapLabel": {
|
|
9615
|
+
"type": "boolean",
|
|
9616
|
+
"required": false
|
|
9563
9617
|
}
|
|
9564
9618
|
},
|
|
9565
9619
|
"events": [],
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, ElementRef, NgZone, EventEmitter } from '@angular/co
|
|
|
2
2
|
import type { Components } from '@ds-mo/ui/components';
|
|
3
3
|
import type { DsMenuCustomEvent } from '@ds-mo/ui/components';
|
|
4
4
|
import type { MenuItemData as IDsMenuMenuItemData } from '@ds-mo/ui/components';
|
|
5
|
+
import type { MenuReorderDetail as IDsMenuMenuReorderDetail } from '@ds-mo/ui/components';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class DsMenu {
|
|
7
8
|
protected z: NgZone;
|
|
@@ -10,9 +11,10 @@ export declare class DsMenu {
|
|
|
10
11
|
dsAfterClose: EventEmitter<DsMenuCustomEvent<void>>;
|
|
11
12
|
dsSelect: EventEmitter<DsMenuCustomEvent<IDsMenuMenuItemData>>;
|
|
12
13
|
dsSwatchSelect: EventEmitter<DsMenuCustomEvent<string>>;
|
|
14
|
+
dsReorder: EventEmitter<DsMenuCustomEvent<IDsMenuMenuReorderDetail>>;
|
|
13
15
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DsMenu, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DsMenu, "ds-menu", never, { "align": { "alias": "align"; "required": false; }; "alignOffset": { "alias": "alignOffset"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; "anchorAlignment": { "alias": "anchorAlignment"; "required": false; }; "anchorId": { "alias": "anchorId"; "required": false; }; "initialFocusVisible": { "alias": "initialFocusVisible"; "required": false; }; "items": { "alias": "items"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "menuWidth": { "alias": "menuWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "open": { "alias": "open"; "required": false; }; "sections": { "alias": "sections"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "side": { "alias": "side"; "required": false; }; "sideOffset": { "alias": "sideOffset"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "dsClose": "dsClose"; "dsAfterClose": "dsAfterClose"; "dsSelect": "dsSelect"; "dsSwatchSelect": "dsSwatchSelect"; }, never, ["*"], true, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DsMenu, "ds-menu", never, { "align": { "alias": "align"; "required": false; }; "alignOffset": { "alias": "alignOffset"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; "anchorAlignment": { "alias": "anchorAlignment"; "required": false; }; "anchorId": { "alias": "anchorId"; "required": false; }; "initialFocusVisible": { "alias": "initialFocusVisible"; "required": false; }; "items": { "alias": "items"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "menuWidth": { "alias": "menuWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "open": { "alias": "open"; "required": false; }; "sections": { "alias": "sections"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "side": { "alias": "side"; "required": false; }; "sideOffset": { "alias": "sideOffset"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "dsClose": "dsClose"; "dsAfterClose": "dsAfterClose"; "dsSelect": "dsSelect"; "dsSwatchSelect": "dsSwatchSelect"; "dsReorder": "dsReorder"; }, never, ["*"], true, never>;
|
|
16
18
|
}
|
|
17
19
|
export declare interface DsMenu extends Components.DsMenu {
|
|
18
20
|
dsClose: EventEmitter<DsMenuCustomEvent<void>>;
|
|
@@ -25,4 +27,8 @@ export declare interface DsMenu extends Components.DsMenu {
|
|
|
25
27
|
* Emitted when a generic `swatch-picker` section option is chosen.
|
|
26
28
|
*/
|
|
27
29
|
dsSwatchSelect: EventEmitter<DsMenuCustomEvent<string>>;
|
|
30
|
+
/**
|
|
31
|
+
* Emitted after a pointer drop or keyboard move; Menu never mutates item order.
|
|
32
|
+
*/
|
|
33
|
+
dsReorder: EventEmitter<DsMenuCustomEvent<IDsMenuMenuReorderDetail>>;
|
|
28
34
|
}
|
package/dist/angular/ds-menu.js
CHANGED
|
@@ -17,11 +17,12 @@ let DsMenu = class DsMenu {
|
|
|
17
17
|
this.dsAfterClose = new EventEmitter();
|
|
18
18
|
this.dsSelect = new EventEmitter();
|
|
19
19
|
this.dsSwatchSelect = new EventEmitter();
|
|
20
|
+
this.dsReorder = new EventEmitter();
|
|
20
21
|
c.detach();
|
|
21
22
|
this.el = r.nativeElement;
|
|
22
23
|
}
|
|
23
24
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: DsMenu, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: DsMenu, isStandalone: true, selector: "ds-menu", inputs: { align: "align", alignOffset: "alignOffset", anchor: "anchor", anchorAlignment: "anchorAlignment", anchorId: "anchorId", initialFocusVisible: "initialFocusVisible", items: "items", menuLabel: "menuLabel", menuWidth: "menuWidth", minWidth: "minWidth", open: "open", sections: "sections", selectionMode: "selectionMode", side: "side", sideOffset: "sideOffset", size: "size" }, outputs: { dsClose: "dsClose", dsAfterClose: "dsAfterClose", dsSelect: "dsSelect", dsSwatchSelect: "dsSwatchSelect" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: DsMenu, isStandalone: true, selector: "ds-menu", inputs: { align: "align", alignOffset: "alignOffset", anchor: "anchor", anchorAlignment: "anchorAlignment", anchorId: "anchorId", initialFocusVisible: "initialFocusVisible", items: "items", menuLabel: "menuLabel", menuWidth: "menuWidth", minWidth: "minWidth", open: "open", sections: "sections", selectionMode: "selectionMode", side: "side", sideOffset: "sideOffset", size: "size" }, outputs: { dsClose: "dsClose", dsAfterClose: "dsAfterClose", dsSelect: "dsSelect", dsSwatchSelect: "dsSwatchSelect", dsReorder: "dsReorder" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
26
|
};
|
|
26
27
|
DsMenu = __decorate([
|
|
27
28
|
ProxyCmp({
|
|
@@ -38,7 +39,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
38
39
|
template: '<ng-content></ng-content>',
|
|
39
40
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
40
41
|
inputs: ['align', 'alignOffset', 'anchor', 'anchorAlignment', 'anchorId', 'initialFocusVisible', 'items', 'menuLabel', 'menuWidth', 'minWidth', 'open', 'sections', 'selectionMode', 'side', 'sideOffset', 'size'],
|
|
41
|
-
outputs: ['dsClose', 'dsAfterClose', 'dsSelect', 'dsSwatchSelect'],
|
|
42
|
+
outputs: ['dsClose', 'dsAfterClose', 'dsSelect', 'dsSwatchSelect', 'dsReorder'],
|
|
42
43
|
}]
|
|
43
44
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dsClose: [{
|
|
44
45
|
type: Output
|
|
@@ -48,4 +49,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
48
49
|
type: Output
|
|
49
50
|
}], dsSwatchSelect: [{
|
|
50
51
|
type: Output
|
|
52
|
+
}], dsReorder: [{
|
|
53
|
+
type: Output
|
|
51
54
|
}] } });
|
|
@@ -9,6 +9,7 @@ import type { TableGroupLoadMoreDetail as IDsTableTableGroupLoadMoreDetail } fro
|
|
|
9
9
|
import type { PaginationChangeDetail as IDsTablePaginationChangeDetail } from '@ds-mo/ui/components';
|
|
10
10
|
import type { TableCellActionDetail as IDsTableTableCellActionDetail } from '@ds-mo/ui/components';
|
|
11
11
|
import type { TableRowActivateDetail as IDsTableTableRowActivateDetail } from '@ds-mo/ui/components';
|
|
12
|
+
import type { TableColumnsConfigChangeDetail as IDsTableTableColumnsConfigChangeDetail } from '@ds-mo/ui/components';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class DsTable {
|
|
14
15
|
protected z: NgZone;
|
|
@@ -21,9 +22,10 @@ export declare class DsTable {
|
|
|
21
22
|
dsPaginationChange: EventEmitter<DsTableCustomEvent<IDsTablePaginationChangeDetail>>;
|
|
22
23
|
dsCellAction: EventEmitter<DsTableCustomEvent<IDsTableTableCellActionDetail>>;
|
|
23
24
|
dsRowActivate: EventEmitter<DsTableCustomEvent<IDsTableTableRowActivateDetail>>;
|
|
25
|
+
dsColumnsConfigChange: EventEmitter<DsTableCustomEvent<IDsTableTableColumnsConfigChangeDetail>>;
|
|
24
26
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<DsTable, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DsTable, "ds-table", never, { "caption": { "alias": "caption"; "required": true; }; "captionVisibility": { "alias": "captionVisibility"; "required": false; }; "collapsedGroupIds": { "alias": "collapsedGroupIds"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "dataMode": { "alias": "dataMode"; "required": false; }; "displayedCount": { "alias": "displayedCount"; "required": false; }; "emptyBody": { "alias": "emptyBody"; "required": false; }; "emptyCellLabel": { "alias": "emptyCellLabel"; "required": false; }; "emptyHeading": { "alias": "emptyHeading"; "required": false; }; "endOfResultsLabel": { "alias": "endOfResultsLabel"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorBody": { "alias": "errorBody"; "required": false; }; "errorHeading": { "alias": "errorHeading"; "required": false; }; "fitViewport": { "alias": "fitViewport"; "required": false; }; "groupEndOfResultsLabel": { "alias": "groupEndOfResultsLabel"; "required": false; }; "groupLoadMoreAriaLabel": { "alias": "groupLoadMoreAriaLabel"; "required": false; }; "groupLoadMoreLabel": { "alias": "groupLoadMoreLabel"; "required": false; }; "groupLoadingMoreLabel": { "alias": "groupLoadingMoreLabel"; "required": false; }; "groupRetryLabel": { "alias": "groupRetryLabel"; "required": false; }; "groupRowsLoadedLabel": { "alias": "groupRowsLoadedLabel"; "required": false; }; "grouping": { "alias": "grouping"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "hasMore": { "alias": "hasMore"; "required": false; }; "height": { "alias": "height"; "required": false; }; "loadIdentity": { "alias": "loadIdentity"; "required": false; }; "loadMoreError": { "alias": "loadMoreError"; "required": false; }; "loadMoreLabel": { "alias": "loadMoreLabel"; "required": false; }; "loadMoreMode": { "alias": "loadMoreMode"; "required": false; }; "loadMoreThreshold": { "alias": "loadMoreThreshold"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingMore": { "alias": "loadingMore"; "required": false; }; "loadingMoreLabel": { "alias": "loadingMoreLabel"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "resultSummaryLabel": { "alias": "resultSummaryLabel"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsLoadedLabel": { "alias": "rowsLoadedLabel"; "required": false; }; "scrollLabel": { "alias": "scrollLabel"; "required": false; }; "selectedRowIds": { "alias": "selectedRowIds"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "totalCount": { "alias": "totalCount"; "required": false; }; "viewportInsetBlockEnd": { "alias": "viewportInsetBlockEnd"; "required": false; }; "viewportInsetBlockStart": { "alias": "viewportInsetBlockStart"; "required": false; }; }, { "dsSortChange": "dsSortChange"; "dsGroupCollapseChange": "dsGroupCollapseChange"; "dsSelectionChange": "dsSelectionChange"; "dsLoadMore": "dsLoadMore"; "dsGroupLoadMore": "dsGroupLoadMore"; "dsPaginationChange": "dsPaginationChange"; "dsCellAction": "dsCellAction"; "dsRowActivate": "dsRowActivate"; }, never, ["*"], true, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DsTable, "ds-table", never, { "caption": { "alias": "caption"; "required": true; }; "captionVisibility": { "alias": "captionVisibility"; "required": false; }; "collapsedGroupIds": { "alias": "collapsedGroupIds"; "required": false; }; "columnCustomizer": { "alias": "columnCustomizer"; "required": false; }; "columnOrder": { "alias": "columnOrder"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "dataMode": { "alias": "dataMode"; "required": false; }; "displayedCount": { "alias": "displayedCount"; "required": false; }; "emptyBody": { "alias": "emptyBody"; "required": false; }; "emptyCellLabel": { "alias": "emptyCellLabel"; "required": false; }; "emptyHeading": { "alias": "emptyHeading"; "required": false; }; "endOfResultsLabel": { "alias": "endOfResultsLabel"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorBody": { "alias": "errorBody"; "required": false; }; "errorHeading": { "alias": "errorHeading"; "required": false; }; "fitViewport": { "alias": "fitViewport"; "required": false; }; "groupEndOfResultsLabel": { "alias": "groupEndOfResultsLabel"; "required": false; }; "groupLoadMoreAriaLabel": { "alias": "groupLoadMoreAriaLabel"; "required": false; }; "groupLoadMoreLabel": { "alias": "groupLoadMoreLabel"; "required": false; }; "groupLoadingMoreLabel": { "alias": "groupLoadingMoreLabel"; "required": false; }; "groupRetryLabel": { "alias": "groupRetryLabel"; "required": false; }; "groupRowsLoadedLabel": { "alias": "groupRowsLoadedLabel"; "required": false; }; "grouping": { "alias": "grouping"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "hasMore": { "alias": "hasMore"; "required": false; }; "height": { "alias": "height"; "required": false; }; "hiddenColumnIds": { "alias": "hiddenColumnIds"; "required": false; }; "loadIdentity": { "alias": "loadIdentity"; "required": false; }; "loadMoreError": { "alias": "loadMoreError"; "required": false; }; "loadMoreLabel": { "alias": "loadMoreLabel"; "required": false; }; "loadMoreMode": { "alias": "loadMoreMode"; "required": false; }; "loadMoreThreshold": { "alias": "loadMoreThreshold"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingMore": { "alias": "loadingMore"; "required": false; }; "loadingMoreLabel": { "alias": "loadingMoreLabel"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "resultSummaryLabel": { "alias": "resultSummaryLabel"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsLoadedLabel": { "alias": "rowsLoadedLabel"; "required": false; }; "scrollLabel": { "alias": "scrollLabel"; "required": false; }; "selectedRowIds": { "alias": "selectedRowIds"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "totalCount": { "alias": "totalCount"; "required": false; }; "viewportInsetBlockEnd": { "alias": "viewportInsetBlockEnd"; "required": false; }; "viewportInsetBlockStart": { "alias": "viewportInsetBlockStart"; "required": false; }; }, { "dsSortChange": "dsSortChange"; "dsGroupCollapseChange": "dsGroupCollapseChange"; "dsSelectionChange": "dsSelectionChange"; "dsLoadMore": "dsLoadMore"; "dsGroupLoadMore": "dsGroupLoadMore"; "dsPaginationChange": "dsPaginationChange"; "dsCellAction": "dsCellAction"; "dsRowActivate": "dsRowActivate"; "dsColumnsConfigChange": "dsColumnsConfigChange"; }, never, ["*"], true, never>;
|
|
27
29
|
}
|
|
28
30
|
export declare interface DsTable extends Components.DsTable {
|
|
29
31
|
dsSortChange: EventEmitter<DsTableCustomEvent<IDsTableTableSortChangeDetail>>;
|
|
@@ -34,4 +36,5 @@ export declare interface DsTable extends Components.DsTable {
|
|
|
34
36
|
dsPaginationChange: EventEmitter<DsTableCustomEvent<IDsTablePaginationChangeDetail>>;
|
|
35
37
|
dsCellAction: EventEmitter<DsTableCustomEvent<IDsTableTableCellActionDetail>>;
|
|
36
38
|
dsRowActivate: EventEmitter<DsTableCustomEvent<IDsTableTableRowActivateDetail>>;
|
|
39
|
+
dsColumnsConfigChange: EventEmitter<DsTableCustomEvent<IDsTableTableColumnsConfigChangeDetail>>;
|
|
37
40
|
}
|
package/dist/angular/ds-table.js
CHANGED
|
@@ -21,16 +21,17 @@ let DsTable = class DsTable {
|
|
|
21
21
|
this.dsPaginationChange = new EventEmitter();
|
|
22
22
|
this.dsCellAction = new EventEmitter();
|
|
23
23
|
this.dsRowActivate = new EventEmitter();
|
|
24
|
+
this.dsColumnsConfigChange = new EventEmitter();
|
|
24
25
|
c.detach();
|
|
25
26
|
this.el = r.nativeElement;
|
|
26
27
|
}
|
|
27
28
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: DsTable, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: DsTable, isStandalone: true, selector: "ds-table", inputs: { caption: "caption", captionVisibility: "captionVisibility", collapsedGroupIds: "collapsedGroupIds", columns: "columns", dataMode: "dataMode", displayedCount: "displayedCount", emptyBody: "emptyBody", emptyCellLabel: "emptyCellLabel", emptyHeading: "emptyHeading", endOfResultsLabel: "endOfResultsLabel", error: "error", errorBody: "errorBody", errorHeading: "errorHeading", fitViewport: "fitViewport", groupEndOfResultsLabel: "groupEndOfResultsLabel", groupLoadMoreAriaLabel: "groupLoadMoreAriaLabel", groupLoadMoreLabel: "groupLoadMoreLabel", groupLoadingMoreLabel: "groupLoadingMoreLabel", groupRetryLabel: "groupRetryLabel", groupRowsLoadedLabel: "groupRowsLoadedLabel", grouping: "grouping", groups: "groups", hasMore: "hasMore", height: "height", loadIdentity: "loadIdentity", loadMoreError: "loadMoreError", loadMoreLabel: "loadMoreLabel", loadMoreMode: "loadMoreMode", loadMoreThreshold: "loadMoreThreshold", loading: "loading", loadingMore: "loadingMore", loadingMoreLabel: "loadingMoreLabel", maxHeight: "maxHeight", pagination: "pagination", resultSummaryLabel: "resultSummaryLabel", retryLabel: "retryLabel", rows: "rows", rowsLoadedLabel: "rowsLoadedLabel", scrollLabel: "scrollLabel", selectedRowIds: "selectedRowIds", selectionMode: "selectionMode", skeletonRows: "skeletonRows", sort: "sort", stickyHeader: "stickyHeader", totalCount: "totalCount", viewportInsetBlockEnd: "viewportInsetBlockEnd", viewportInsetBlockStart: "viewportInsetBlockStart" }, outputs: { dsSortChange: "dsSortChange", dsGroupCollapseChange: "dsGroupCollapseChange", dsSelectionChange: "dsSelectionChange", dsLoadMore: "dsLoadMore", dsGroupLoadMore: "dsGroupLoadMore", dsPaginationChange: "dsPaginationChange", dsCellAction: "dsCellAction", dsRowActivate: "dsRowActivate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: DsTable, isStandalone: true, selector: "ds-table", inputs: { caption: "caption", captionVisibility: "captionVisibility", collapsedGroupIds: "collapsedGroupIds", columnCustomizer: "columnCustomizer", columnOrder: "columnOrder", columns: "columns", dataMode: "dataMode", displayedCount: "displayedCount", emptyBody: "emptyBody", emptyCellLabel: "emptyCellLabel", emptyHeading: "emptyHeading", endOfResultsLabel: "endOfResultsLabel", error: "error", errorBody: "errorBody", errorHeading: "errorHeading", fitViewport: "fitViewport", groupEndOfResultsLabel: "groupEndOfResultsLabel", groupLoadMoreAriaLabel: "groupLoadMoreAriaLabel", groupLoadMoreLabel: "groupLoadMoreLabel", groupLoadingMoreLabel: "groupLoadingMoreLabel", groupRetryLabel: "groupRetryLabel", groupRowsLoadedLabel: "groupRowsLoadedLabel", grouping: "grouping", groups: "groups", hasMore: "hasMore", height: "height", hiddenColumnIds: "hiddenColumnIds", loadIdentity: "loadIdentity", loadMoreError: "loadMoreError", loadMoreLabel: "loadMoreLabel", loadMoreMode: "loadMoreMode", loadMoreThreshold: "loadMoreThreshold", loading: "loading", loadingMore: "loadingMore", loadingMoreLabel: "loadingMoreLabel", maxHeight: "maxHeight", pagination: "pagination", resultSummaryLabel: "resultSummaryLabel", retryLabel: "retryLabel", rows: "rows", rowsLoadedLabel: "rowsLoadedLabel", scrollLabel: "scrollLabel", selectedRowIds: "selectedRowIds", selectionMode: "selectionMode", skeletonRows: "skeletonRows", sort: "sort", stickyHeader: "stickyHeader", totalCount: "totalCount", viewportInsetBlockEnd: "viewportInsetBlockEnd", viewportInsetBlockStart: "viewportInsetBlockStart" }, outputs: { dsSortChange: "dsSortChange", dsGroupCollapseChange: "dsGroupCollapseChange", dsSelectionChange: "dsSelectionChange", dsLoadMore: "dsLoadMore", dsGroupLoadMore: "dsGroupLoadMore", dsPaginationChange: "dsPaginationChange", dsCellAction: "dsCellAction", dsRowActivate: "dsRowActivate", dsColumnsConfigChange: "dsColumnsConfigChange" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
30
|
};
|
|
30
31
|
DsTable = __decorate([
|
|
31
32
|
ProxyCmp({
|
|
32
33
|
defineCustomElementFn: defineDsTable,
|
|
33
|
-
inputs: ['caption', 'captionVisibility', 'collapsedGroupIds', 'columns', 'dataMode', 'displayedCount', 'emptyBody', 'emptyCellLabel', 'emptyHeading', 'endOfResultsLabel', 'error', 'errorBody', 'errorHeading', 'fitViewport', 'groupEndOfResultsLabel', 'groupLoadMoreAriaLabel', 'groupLoadMoreLabel', 'groupLoadingMoreLabel', 'groupRetryLabel', 'groupRowsLoadedLabel', 'grouping', 'groups', 'hasMore', 'height', 'loadIdentity', 'loadMoreError', 'loadMoreLabel', 'loadMoreMode', 'loadMoreThreshold', 'loading', 'loadingMore', 'loadingMoreLabel', 'maxHeight', 'pagination', 'resultSummaryLabel', 'retryLabel', 'rows', 'rowsLoadedLabel', 'scrollLabel', 'selectedRowIds', 'selectionMode', 'skeletonRows', 'sort', 'stickyHeader', 'totalCount', 'viewportInsetBlockEnd', 'viewportInsetBlockStart']
|
|
34
|
+
inputs: ['caption', 'captionVisibility', 'collapsedGroupIds', 'columnCustomizer', 'columnOrder', 'columns', 'dataMode', 'displayedCount', 'emptyBody', 'emptyCellLabel', 'emptyHeading', 'endOfResultsLabel', 'error', 'errorBody', 'errorHeading', 'fitViewport', 'groupEndOfResultsLabel', 'groupLoadMoreAriaLabel', 'groupLoadMoreLabel', 'groupLoadingMoreLabel', 'groupRetryLabel', 'groupRowsLoadedLabel', 'grouping', 'groups', 'hasMore', 'height', 'hiddenColumnIds', 'loadIdentity', 'loadMoreError', 'loadMoreLabel', 'loadMoreMode', 'loadMoreThreshold', 'loading', 'loadingMore', 'loadingMoreLabel', 'maxHeight', 'pagination', 'resultSummaryLabel', 'retryLabel', 'rows', 'rowsLoadedLabel', 'scrollLabel', 'selectedRowIds', 'selectionMode', 'skeletonRows', 'sort', 'stickyHeader', 'totalCount', 'viewportInsetBlockEnd', 'viewportInsetBlockStart']
|
|
34
35
|
})
|
|
35
36
|
], DsTable);
|
|
36
37
|
export { DsTable };
|
|
@@ -41,8 +42,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
41
42
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
42
43
|
template: '<ng-content></ng-content>',
|
|
43
44
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
44
|
-
inputs: [{ name: 'caption', required: true }, 'captionVisibility', 'collapsedGroupIds', 'columns', 'dataMode', 'displayedCount', 'emptyBody', 'emptyCellLabel', 'emptyHeading', 'endOfResultsLabel', 'error', 'errorBody', 'errorHeading', 'fitViewport', 'groupEndOfResultsLabel', 'groupLoadMoreAriaLabel', 'groupLoadMoreLabel', 'groupLoadingMoreLabel', 'groupRetryLabel', 'groupRowsLoadedLabel', 'grouping', 'groups', 'hasMore', 'height', 'loadIdentity', 'loadMoreError', 'loadMoreLabel', 'loadMoreMode', 'loadMoreThreshold', 'loading', 'loadingMore', 'loadingMoreLabel', 'maxHeight', 'pagination', 'resultSummaryLabel', 'retryLabel', 'rows', 'rowsLoadedLabel', 'scrollLabel', 'selectedRowIds', 'selectionMode', 'skeletonRows', 'sort', 'stickyHeader', 'totalCount', 'viewportInsetBlockEnd', 'viewportInsetBlockStart'],
|
|
45
|
-
outputs: ['dsSortChange', 'dsGroupCollapseChange', 'dsSelectionChange', 'dsLoadMore', 'dsGroupLoadMore', 'dsPaginationChange', 'dsCellAction', 'dsRowActivate'],
|
|
45
|
+
inputs: [{ name: 'caption', required: true }, 'captionVisibility', 'collapsedGroupIds', 'columnCustomizer', 'columnOrder', 'columns', 'dataMode', 'displayedCount', 'emptyBody', 'emptyCellLabel', 'emptyHeading', 'endOfResultsLabel', 'error', 'errorBody', 'errorHeading', 'fitViewport', 'groupEndOfResultsLabel', 'groupLoadMoreAriaLabel', 'groupLoadMoreLabel', 'groupLoadingMoreLabel', 'groupRetryLabel', 'groupRowsLoadedLabel', 'grouping', 'groups', 'hasMore', 'height', 'hiddenColumnIds', 'loadIdentity', 'loadMoreError', 'loadMoreLabel', 'loadMoreMode', 'loadMoreThreshold', 'loading', 'loadingMore', 'loadingMoreLabel', 'maxHeight', 'pagination', 'resultSummaryLabel', 'retryLabel', 'rows', 'rowsLoadedLabel', 'scrollLabel', 'selectedRowIds', 'selectionMode', 'skeletonRows', 'sort', 'stickyHeader', 'totalCount', 'viewportInsetBlockEnd', 'viewportInsetBlockStart'],
|
|
46
|
+
outputs: ['dsSortChange', 'dsGroupCollapseChange', 'dsSelectionChange', 'dsLoadMore', 'dsGroupLoadMore', 'dsPaginationChange', 'dsCellAction', 'dsRowActivate', 'dsColumnsConfigChange'],
|
|
46
47
|
}]
|
|
47
48
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dsSortChange: [{
|
|
48
49
|
type: Output
|
|
@@ -60,4 +61,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
60
61
|
type: Output
|
|
61
62
|
}], dsRowActivate: [{
|
|
62
63
|
type: Output
|
|
64
|
+
}], dsColumnsConfigChange: [{
|
|
65
|
+
type: Output
|
|
63
66
|
}] } });
|
|
@@ -6,7 +6,7 @@ export declare class DsTooltip {
|
|
|
6
6
|
protected el: HTMLDsTooltipElement;
|
|
7
7
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DsTooltip, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DsTooltip, "ds-tooltip", never, { "align": { "alias": "align"; "required": false; }; "alignOffset": { "alias": "alignOffset"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "label": { "alias": "label"; "required": true; }; "shortcutKey": { "alias": "shortcutKey"; "required": false; }; "shortcutKeyPosition": { "alias": "shortcutKeyPosition"; "required": false; }; "side": { "alias": "side"; "required": false; }; "sideOffset": { "alias": "sideOffset"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DsTooltip, "ds-tooltip", never, { "align": { "alias": "align"; "required": false; }; "alignOffset": { "alias": "alignOffset"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "describedBy": { "alias": "describedBy"; "required": false; }; "label": { "alias": "label"; "required": true; }; "shortcutKey": { "alias": "shortcutKey"; "required": false; }; "shortcutKeyPosition": { "alias": "shortcutKeyPosition"; "required": false; }; "side": { "alias": "side"; "required": false; }; "sideOffset": { "alias": "sideOffset"; "required": false; }; "size": { "alias": "size"; "required": false; }; "wrapLabel": { "alias": "wrapLabel"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
10
10
|
}
|
|
11
11
|
export declare interface DsTooltip extends Components.DsTooltip {
|
|
12
12
|
}
|