@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-08-
|
|
2
|
+
"timestamp": "2026-08-20T23:50:18",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.43.5",
|
|
@@ -2896,6 +2896,7 @@
|
|
|
2896
2896
|
"ds-menu": [
|
|
2897
2897
|
"ds-text",
|
|
2898
2898
|
"ds-swatch-picker",
|
|
2899
|
+
"ds-icon",
|
|
2899
2900
|
"ds-tag",
|
|
2900
2901
|
"ds-badge",
|
|
2901
2902
|
"ds-switch"
|
|
@@ -3538,6 +3539,7 @@
|
|
|
3538
3539
|
"ds-menu": [
|
|
3539
3540
|
"ds-text",
|
|
3540
3541
|
"ds-swatch-picker",
|
|
3542
|
+
"ds-icon",
|
|
3541
3543
|
"ds-tag",
|
|
3542
3544
|
"ds-badge",
|
|
3543
3545
|
"ds-switch"
|
|
@@ -3977,6 +3979,7 @@
|
|
|
3977
3979
|
"ds-menu": [
|
|
3978
3980
|
"ds-text",
|
|
3979
3981
|
"ds-swatch-picker",
|
|
3982
|
+
"ds-icon",
|
|
3980
3983
|
"ds-tag",
|
|
3981
3984
|
"ds-badge",
|
|
3982
3985
|
"ds-switch"
|
|
@@ -5272,7 +5275,7 @@
|
|
|
5272
5275
|
"mutable": false,
|
|
5273
5276
|
"attr": "has-menu",
|
|
5274
5277
|
"reflectToAttr": false,
|
|
5275
|
-
"docs": "Mark the button as a Menu trigger. Implies `aria-haspopup=\"menu\"` and covers\nboth menu-button shapes:\n\n- `label` / `icon-label` — the action *has* a menu; a trailing chevron carries\n the affordance.\n- `icon` — the button *is* a menu
|
|
5278
|
+
"docs": "Mark the button as a Menu trigger. Implies `aria-haspopup=\"menu\"` and covers\nboth menu-button shapes:\n\n- `label` / `icon-label` — the action *has* a menu; a trailing chevron carries\n the affordance.\n- `icon` — the button *is* a menu. No chevron is added, so the glyph must\n convey the menu on its own. Use `Ellipses` for generic more-options;\n use a specific icon when the menu has a named purpose, such as\n `Preferences` for Customize table.\n\nUse `haspopup` directly for non-menu popups.",
|
|
5276
5279
|
"docsTags": [
|
|
5277
5280
|
{
|
|
5278
5281
|
"name": "default",
|
|
@@ -10540,6 +10543,7 @@
|
|
|
10540
10543
|
"ds-empty-state",
|
|
10541
10544
|
"ds-filter-menu",
|
|
10542
10545
|
"ds-input",
|
|
10546
|
+
"ds-menu",
|
|
10543
10547
|
"ds-message-composer",
|
|
10544
10548
|
"ds-mobile-bar-nav",
|
|
10545
10549
|
"ds-mobile-sheet-nav",
|
|
@@ -10591,6 +10595,9 @@
|
|
|
10591
10595
|
"ds-input": [
|
|
10592
10596
|
"ds-icon"
|
|
10593
10597
|
],
|
|
10598
|
+
"ds-menu": [
|
|
10599
|
+
"ds-icon"
|
|
10600
|
+
],
|
|
10594
10601
|
"ds-message-composer": [
|
|
10595
10602
|
"ds-icon"
|
|
10596
10603
|
],
|
|
@@ -12513,6 +12520,27 @@
|
|
|
12513
12520
|
"docs": "",
|
|
12514
12521
|
"docsTags": []
|
|
12515
12522
|
},
|
|
12523
|
+
{
|
|
12524
|
+
"event": "dsReorder",
|
|
12525
|
+
"detail": "MenuReorderDetail",
|
|
12526
|
+
"bubbles": true,
|
|
12527
|
+
"complexType": {
|
|
12528
|
+
"original": "MenuReorderDetail",
|
|
12529
|
+
"resolved": "MenuReorderDetail",
|
|
12530
|
+
"references": {
|
|
12531
|
+
"MenuReorderDetail": {
|
|
12532
|
+
"location": "import",
|
|
12533
|
+
"path": "./menu-types",
|
|
12534
|
+
"id": "src/wc/components/Menu/menu-types.ts::MenuReorderDetail",
|
|
12535
|
+
"referenceLocation": "MenuReorderDetail"
|
|
12536
|
+
}
|
|
12537
|
+
}
|
|
12538
|
+
},
|
|
12539
|
+
"cancelable": true,
|
|
12540
|
+
"composed": true,
|
|
12541
|
+
"docs": "Emitted after a pointer drop or keyboard move; Menu never mutates item order.",
|
|
12542
|
+
"docsTags": []
|
|
12543
|
+
},
|
|
12516
12544
|
{
|
|
12517
12545
|
"event": "dsSelect",
|
|
12518
12546
|
"detail": "MenuItemData",
|
|
@@ -12563,11 +12591,13 @@
|
|
|
12563
12591
|
"dependents": [
|
|
12564
12592
|
"ds-bar-nav",
|
|
12565
12593
|
"ds-bar-title",
|
|
12566
|
-
"ds-mobile-section-switcher"
|
|
12594
|
+
"ds-mobile-section-switcher",
|
|
12595
|
+
"ds-table"
|
|
12567
12596
|
],
|
|
12568
12597
|
"dependencies": [
|
|
12569
12598
|
"ds-text",
|
|
12570
12599
|
"ds-swatch-picker",
|
|
12600
|
+
"ds-icon",
|
|
12571
12601
|
"ds-tag",
|
|
12572
12602
|
"ds-badge",
|
|
12573
12603
|
"ds-switch"
|
|
@@ -12576,6 +12606,7 @@
|
|
|
12576
12606
|
"ds-menu": [
|
|
12577
12607
|
"ds-text",
|
|
12578
12608
|
"ds-swatch-picker",
|
|
12609
|
+
"ds-icon",
|
|
12579
12610
|
"ds-tag",
|
|
12580
12611
|
"ds-badge",
|
|
12581
12612
|
"ds-switch"
|
|
@@ -12595,6 +12626,9 @@
|
|
|
12595
12626
|
],
|
|
12596
12627
|
"ds-mobile-section-switcher": [
|
|
12597
12628
|
"ds-menu"
|
|
12629
|
+
],
|
|
12630
|
+
"ds-table": [
|
|
12631
|
+
"ds-menu"
|
|
12598
12632
|
]
|
|
12599
12633
|
}
|
|
12600
12634
|
},
|
|
@@ -14859,6 +14893,7 @@
|
|
|
14859
14893
|
"ds-menu": [
|
|
14860
14894
|
"ds-text",
|
|
14861
14895
|
"ds-swatch-picker",
|
|
14896
|
+
"ds-icon",
|
|
14862
14897
|
"ds-tag",
|
|
14863
14898
|
"ds-badge",
|
|
14864
14899
|
"ds-switch"
|
|
@@ -15017,6 +15052,7 @@
|
|
|
15017
15052
|
"ds-menu": [
|
|
15018
15053
|
"ds-text",
|
|
15019
15054
|
"ds-swatch-picker",
|
|
15055
|
+
"ds-icon",
|
|
15020
15056
|
"ds-tag",
|
|
15021
15057
|
"ds-badge",
|
|
15022
15058
|
"ds-switch"
|
|
@@ -21442,6 +21478,7 @@
|
|
|
21442
21478
|
"ds-menu": [
|
|
21443
21479
|
"ds-text",
|
|
21444
21480
|
"ds-swatch-picker",
|
|
21481
|
+
"ds-icon",
|
|
21445
21482
|
"ds-tag",
|
|
21446
21483
|
"ds-badge",
|
|
21447
21484
|
"ds-switch"
|
|
@@ -22524,6 +22561,7 @@
|
|
|
22524
22561
|
"ds-menu": [
|
|
22525
22562
|
"ds-text",
|
|
22526
22563
|
"ds-swatch-picker",
|
|
22564
|
+
"ds-icon",
|
|
22527
22565
|
"ds-tag",
|
|
22528
22566
|
"ds-badge",
|
|
22529
22567
|
"ds-switch"
|
|
@@ -24883,6 +24921,63 @@
|
|
|
24883
24921
|
"getter": false,
|
|
24884
24922
|
"setter": false
|
|
24885
24923
|
},
|
|
24924
|
+
{
|
|
24925
|
+
"name": "columnCustomizer",
|
|
24926
|
+
"type": "boolean",
|
|
24927
|
+
"complexType": {
|
|
24928
|
+
"original": "boolean",
|
|
24929
|
+
"resolved": "boolean",
|
|
24930
|
+
"references": {}
|
|
24931
|
+
},
|
|
24932
|
+
"mutable": false,
|
|
24933
|
+
"attr": "column-customizer",
|
|
24934
|
+
"reflectToAttr": false,
|
|
24935
|
+
"docs": "Opt in to the table-owned column customizer. The `columns` prop remains the\ncatalog; hidden and ordered columns are controlled separately. The trigger\nopens the shared Menu of live show/hide switch rows.",
|
|
24936
|
+
"docsTags": [
|
|
24937
|
+
{
|
|
24938
|
+
"name": "default",
|
|
24939
|
+
"text": "false"
|
|
24940
|
+
}
|
|
24941
|
+
],
|
|
24942
|
+
"default": "false",
|
|
24943
|
+
"values": [
|
|
24944
|
+
{
|
|
24945
|
+
"type": "boolean"
|
|
24946
|
+
}
|
|
24947
|
+
],
|
|
24948
|
+
"optional": false,
|
|
24949
|
+
"required": false,
|
|
24950
|
+
"getter": false,
|
|
24951
|
+
"setter": false
|
|
24952
|
+
},
|
|
24953
|
+
{
|
|
24954
|
+
"name": "columnOrder",
|
|
24955
|
+
"type": "string[]",
|
|
24956
|
+
"complexType": {
|
|
24957
|
+
"original": "string[]",
|
|
24958
|
+
"resolved": "string[]",
|
|
24959
|
+
"references": {}
|
|
24960
|
+
},
|
|
24961
|
+
"mutable": false,
|
|
24962
|
+
"reflectToAttr": false,
|
|
24963
|
+
"docs": "Controlled data-column identities in display order. Omitted ids append in catalog order.",
|
|
24964
|
+
"docsTags": [
|
|
24965
|
+
{
|
|
24966
|
+
"name": "default",
|
|
24967
|
+
"text": "[]"
|
|
24968
|
+
}
|
|
24969
|
+
],
|
|
24970
|
+
"default": "[]",
|
|
24971
|
+
"values": [
|
|
24972
|
+
{
|
|
24973
|
+
"type": "string[]"
|
|
24974
|
+
}
|
|
24975
|
+
],
|
|
24976
|
+
"optional": false,
|
|
24977
|
+
"required": false,
|
|
24978
|
+
"getter": false,
|
|
24979
|
+
"setter": false
|
|
24980
|
+
},
|
|
24886
24981
|
{
|
|
24887
24982
|
"name": "columns",
|
|
24888
24983
|
"type": "TableColumn[]",
|
|
@@ -25522,6 +25617,34 @@
|
|
|
25522
25617
|
"getter": false,
|
|
25523
25618
|
"setter": false
|
|
25524
25619
|
},
|
|
25620
|
+
{
|
|
25621
|
+
"name": "hiddenColumnIds",
|
|
25622
|
+
"type": "string[]",
|
|
25623
|
+
"complexType": {
|
|
25624
|
+
"original": "string[]",
|
|
25625
|
+
"resolved": "string[]",
|
|
25626
|
+
"references": {}
|
|
25627
|
+
},
|
|
25628
|
+
"mutable": false,
|
|
25629
|
+
"reflectToAttr": false,
|
|
25630
|
+
"docs": "Controlled hidden data-column identities. Action ids are ignored.",
|
|
25631
|
+
"docsTags": [
|
|
25632
|
+
{
|
|
25633
|
+
"name": "default",
|
|
25634
|
+
"text": "[]"
|
|
25635
|
+
}
|
|
25636
|
+
],
|
|
25637
|
+
"default": "[]",
|
|
25638
|
+
"values": [
|
|
25639
|
+
{
|
|
25640
|
+
"type": "string[]"
|
|
25641
|
+
}
|
|
25642
|
+
],
|
|
25643
|
+
"optional": false,
|
|
25644
|
+
"required": false,
|
|
25645
|
+
"getter": false,
|
|
25646
|
+
"setter": false
|
|
25647
|
+
},
|
|
25525
25648
|
{
|
|
25526
25649
|
"name": "loadIdentity",
|
|
25527
25650
|
"type": "number | string",
|
|
@@ -26260,6 +26383,27 @@
|
|
|
26260
26383
|
"docs": "",
|
|
26261
26384
|
"docsTags": []
|
|
26262
26385
|
},
|
|
26386
|
+
{
|
|
26387
|
+
"event": "dsColumnsConfigChange",
|
|
26388
|
+
"detail": "TableColumnsConfigChangeDetail",
|
|
26389
|
+
"bubbles": true,
|
|
26390
|
+
"complexType": {
|
|
26391
|
+
"original": "TableColumnsConfigChangeDetail",
|
|
26392
|
+
"resolved": "TableColumnsConfigChangeDetail",
|
|
26393
|
+
"references": {
|
|
26394
|
+
"TableColumnsConfigChangeDetail": {
|
|
26395
|
+
"location": "import",
|
|
26396
|
+
"path": "./table-types",
|
|
26397
|
+
"id": "src/wc/components/Table/table-types.ts::TableColumnsConfigChangeDetail",
|
|
26398
|
+
"referenceLocation": "TableColumnsConfigChangeDetail"
|
|
26399
|
+
}
|
|
26400
|
+
}
|
|
26401
|
+
},
|
|
26402
|
+
"cancelable": true,
|
|
26403
|
+
"composed": true,
|
|
26404
|
+
"docs": "",
|
|
26405
|
+
"docsTags": []
|
|
26406
|
+
},
|
|
26263
26407
|
{
|
|
26264
26408
|
"event": "dsGroupCollapseChange",
|
|
26265
26409
|
"detail": "TableGroupCollapseChangeDetail",
|
|
@@ -26415,6 +26559,8 @@
|
|
|
26415
26559
|
"states": [],
|
|
26416
26560
|
"dependents": [],
|
|
26417
26561
|
"dependencies": [
|
|
26562
|
+
"ds-menu",
|
|
26563
|
+
"ds-tooltip",
|
|
26418
26564
|
"ds-checkbox",
|
|
26419
26565
|
"ds-button-unfilled",
|
|
26420
26566
|
"ds-text",
|
|
@@ -26427,6 +26573,8 @@
|
|
|
26427
26573
|
],
|
|
26428
26574
|
"dependencyGraph": {
|
|
26429
26575
|
"ds-table": [
|
|
26576
|
+
"ds-menu",
|
|
26577
|
+
"ds-tooltip",
|
|
26430
26578
|
"ds-checkbox",
|
|
26431
26579
|
"ds-button-unfilled",
|
|
26432
26580
|
"ds-text",
|
|
@@ -26437,20 +26585,31 @@
|
|
|
26437
26585
|
"ds-empty-state",
|
|
26438
26586
|
"ds-pagination"
|
|
26439
26587
|
],
|
|
26440
|
-
"ds-
|
|
26441
|
-
"ds-text"
|
|
26442
|
-
|
|
26443
|
-
"ds-button-unfilled": [
|
|
26444
|
-
"ds-loader",
|
|
26588
|
+
"ds-menu": [
|
|
26589
|
+
"ds-text",
|
|
26590
|
+
"ds-swatch-picker",
|
|
26445
26591
|
"ds-icon",
|
|
26592
|
+
"ds-tag",
|
|
26446
26593
|
"ds-badge",
|
|
26594
|
+
"ds-switch"
|
|
26595
|
+
],
|
|
26596
|
+
"ds-tag": [
|
|
26597
|
+
"ds-icon",
|
|
26447
26598
|
"ds-text"
|
|
26448
26599
|
],
|
|
26449
26600
|
"ds-badge": [
|
|
26450
26601
|
"ds-text"
|
|
26451
26602
|
],
|
|
26452
|
-
"ds-
|
|
26603
|
+
"ds-tooltip": [
|
|
26604
|
+
"ds-text"
|
|
26605
|
+
],
|
|
26606
|
+
"ds-checkbox": [
|
|
26607
|
+
"ds-text"
|
|
26608
|
+
],
|
|
26609
|
+
"ds-button-unfilled": [
|
|
26610
|
+
"ds-loader",
|
|
26453
26611
|
"ds-icon",
|
|
26612
|
+
"ds-badge",
|
|
26454
26613
|
"ds-text"
|
|
26455
26614
|
],
|
|
26456
26615
|
"ds-empty-state": [
|
|
@@ -26472,9 +26631,6 @@
|
|
|
26472
26631
|
"ds-text",
|
|
26473
26632
|
"ds-badge",
|
|
26474
26633
|
"ds-empty-state"
|
|
26475
|
-
],
|
|
26476
|
-
"ds-tooltip": [
|
|
26477
|
-
"ds-text"
|
|
26478
26634
|
]
|
|
26479
26635
|
}
|
|
26480
26636
|
},
|
|
@@ -28259,6 +28415,35 @@
|
|
|
28259
28415
|
"getter": false,
|
|
28260
28416
|
"setter": false
|
|
28261
28417
|
},
|
|
28418
|
+
{
|
|
28419
|
+
"name": "describedBy",
|
|
28420
|
+
"type": "boolean",
|
|
28421
|
+
"complexType": {
|
|
28422
|
+
"original": "boolean",
|
|
28423
|
+
"resolved": "boolean",
|
|
28424
|
+
"references": {}
|
|
28425
|
+
},
|
|
28426
|
+
"mutable": false,
|
|
28427
|
+
"attr": "described-by",
|
|
28428
|
+
"reflectToAttr": false,
|
|
28429
|
+
"docs": "Link the trigger with aria-describedby while the popup is open. Disable when\nthe label is already in the DOM, such as a truncated table cell.",
|
|
28430
|
+
"docsTags": [
|
|
28431
|
+
{
|
|
28432
|
+
"name": "default",
|
|
28433
|
+
"text": "true"
|
|
28434
|
+
}
|
|
28435
|
+
],
|
|
28436
|
+
"default": "true",
|
|
28437
|
+
"values": [
|
|
28438
|
+
{
|
|
28439
|
+
"type": "boolean"
|
|
28440
|
+
}
|
|
28441
|
+
],
|
|
28442
|
+
"optional": false,
|
|
28443
|
+
"required": false,
|
|
28444
|
+
"getter": false,
|
|
28445
|
+
"setter": false
|
|
28446
|
+
},
|
|
28262
28447
|
{
|
|
28263
28448
|
"name": "label",
|
|
28264
28449
|
"type": "string",
|
|
@@ -28465,9 +28650,109 @@
|
|
|
28465
28650
|
"required": false,
|
|
28466
28651
|
"getter": false,
|
|
28467
28652
|
"setter": false
|
|
28653
|
+
},
|
|
28654
|
+
{
|
|
28655
|
+
"name": "wrapLabel",
|
|
28656
|
+
"type": "boolean",
|
|
28657
|
+
"complexType": {
|
|
28658
|
+
"original": "boolean",
|
|
28659
|
+
"resolved": "boolean",
|
|
28660
|
+
"references": {}
|
|
28661
|
+
},
|
|
28662
|
+
"mutable": false,
|
|
28663
|
+
"attr": "wrap-label",
|
|
28664
|
+
"reflectToAttr": false,
|
|
28665
|
+
"docs": "Allow the label to wrap at a panel-xs max width instead of a single line.",
|
|
28666
|
+
"docsTags": [
|
|
28667
|
+
{
|
|
28668
|
+
"name": "default",
|
|
28669
|
+
"text": "false"
|
|
28670
|
+
}
|
|
28671
|
+
],
|
|
28672
|
+
"default": "false",
|
|
28673
|
+
"values": [
|
|
28674
|
+
{
|
|
28675
|
+
"type": "boolean"
|
|
28676
|
+
}
|
|
28677
|
+
],
|
|
28678
|
+
"optional": false,
|
|
28679
|
+
"required": false,
|
|
28680
|
+
"getter": false,
|
|
28681
|
+
"setter": false
|
|
28682
|
+
}
|
|
28683
|
+
],
|
|
28684
|
+
"methods": [
|
|
28685
|
+
{
|
|
28686
|
+
"name": "dismiss",
|
|
28687
|
+
"returns": {
|
|
28688
|
+
"type": "Promise<void>",
|
|
28689
|
+
"docs": ""
|
|
28690
|
+
},
|
|
28691
|
+
"complexType": {
|
|
28692
|
+
"signature": "() => Promise<void>",
|
|
28693
|
+
"parameters": [],
|
|
28694
|
+
"references": {
|
|
28695
|
+
"Promise": {
|
|
28696
|
+
"location": "global",
|
|
28697
|
+
"id": "global::Promise"
|
|
28698
|
+
}
|
|
28699
|
+
},
|
|
28700
|
+
"return": "Promise<void>"
|
|
28701
|
+
},
|
|
28702
|
+
"signature": "dismiss() => Promise<void>",
|
|
28703
|
+
"parameters": [],
|
|
28704
|
+
"docs": "Dismiss a popup opened through presentFrom or the slotted trigger.",
|
|
28705
|
+
"docsTags": []
|
|
28706
|
+
},
|
|
28707
|
+
{
|
|
28708
|
+
"name": "presentFrom",
|
|
28709
|
+
"returns": {
|
|
28710
|
+
"type": "Promise<void>",
|
|
28711
|
+
"docs": ""
|
|
28712
|
+
},
|
|
28713
|
+
"complexType": {
|
|
28714
|
+
"signature": "(anchor: HTMLElement, label?: string) => Promise<void>",
|
|
28715
|
+
"parameters": [
|
|
28716
|
+
{
|
|
28717
|
+
"name": "anchor",
|
|
28718
|
+
"type": "HTMLElement",
|
|
28719
|
+
"docs": ""
|
|
28720
|
+
},
|
|
28721
|
+
{
|
|
28722
|
+
"name": "label",
|
|
28723
|
+
"type": "string | undefined",
|
|
28724
|
+
"docs": ""
|
|
28725
|
+
}
|
|
28726
|
+
],
|
|
28727
|
+
"references": {
|
|
28728
|
+
"Promise": {
|
|
28729
|
+
"location": "global",
|
|
28730
|
+
"id": "global::Promise"
|
|
28731
|
+
},
|
|
28732
|
+
"HTMLElement": {
|
|
28733
|
+
"location": "global",
|
|
28734
|
+
"id": "global::HTMLElement"
|
|
28735
|
+
}
|
|
28736
|
+
},
|
|
28737
|
+
"return": "Promise<void>"
|
|
28738
|
+
},
|
|
28739
|
+
"signature": "presentFrom(anchor: HTMLElement, label?: string) => Promise<void>",
|
|
28740
|
+
"parameters": [
|
|
28741
|
+
{
|
|
28742
|
+
"name": "anchor",
|
|
28743
|
+
"type": "HTMLElement",
|
|
28744
|
+
"docs": ""
|
|
28745
|
+
},
|
|
28746
|
+
{
|
|
28747
|
+
"name": "label",
|
|
28748
|
+
"type": "string | undefined",
|
|
28749
|
+
"docs": ""
|
|
28750
|
+
}
|
|
28751
|
+
],
|
|
28752
|
+
"docs": "Present against an external anchor the host already measured.\nDoes not bind hover or focus on that anchor — the owner drives show/hide.",
|
|
28753
|
+
"docsTags": []
|
|
28468
28754
|
}
|
|
28469
28755
|
],
|
|
28470
|
-
"methods": [],
|
|
28471
28756
|
"events": [],
|
|
28472
28757
|
"listeners": [],
|
|
28473
28758
|
"styles": [],
|
|
@@ -28493,7 +28778,8 @@
|
|
|
28493
28778
|
"ds-panel-tools",
|
|
28494
28779
|
"ds-select",
|
|
28495
28780
|
"ds-shell-app",
|
|
28496
|
-
"ds-shell-tools"
|
|
28781
|
+
"ds-shell-tools",
|
|
28782
|
+
"ds-table"
|
|
28497
28783
|
],
|
|
28498
28784
|
"dependencies": [
|
|
28499
28785
|
"ds-text"
|
|
@@ -28558,6 +28844,9 @@
|
|
|
28558
28844
|
],
|
|
28559
28845
|
"ds-shell-tools": [
|
|
28560
28846
|
"ds-tooltip"
|
|
28847
|
+
],
|
|
28848
|
+
"ds-table": [
|
|
28849
|
+
"ds-tooltip"
|
|
28561
28850
|
]
|
|
28562
28851
|
}
|
|
28563
28852
|
},
|
|
@@ -29133,7 +29422,7 @@
|
|
|
29133
29422
|
"path": "src/wc/utils/index.ts"
|
|
29134
29423
|
},
|
|
29135
29424
|
"src/wc/components/Menu/menu-types.ts::MenuItemData": {
|
|
29136
|
-
"declaration": "export interface MenuItemData {\n label: string;\n value?: string;\n subtext?: string;\n /** Show a supplemental brand notification dot. */\n dot?: boolean;\n /** Show a non-interactive tag at the trailing edge of the row. */\n tag?: MenuItemTagData;\n isSelected?: boolean;\n isInactive?: boolean;\n isDestructive?: boolean;\n /** Render a compact switch indicator; the menu row owns interaction. */\n showSwitch?: boolean;\n switchValue?: boolean;\n}",
|
|
29425
|
+
"declaration": "export interface MenuItemData {\n label: string;\n value?: string;\n subtext?: string;\n /** Leading decorative icon. Ignored when `reorderable` is true. */\n icon?: string;\n /** Show a supplemental brand notification dot. */\n dot?: boolean;\n /** Show a non-interactive tag at the trailing edge of the row. */\n tag?: MenuItemTagData;\n isSelected?: boolean;\n isInactive?: boolean;\n isDestructive?: boolean;\n /** Render a compact switch indicator; the menu row owns interaction. */\n showSwitch?: boolean;\n switchValue?: boolean;\n /** Prefix a drag handle and allow pointer and keyboard reorder within the contiguous reorderable run. */\n reorderable?: boolean;\n}",
|
|
29137
29426
|
"docstring": "",
|
|
29138
29427
|
"path": "src/wc/components/Menu/menu-types.ts"
|
|
29139
29428
|
},
|
|
@@ -29167,6 +29456,11 @@
|
|
|
29167
29456
|
"docstring": "",
|
|
29168
29457
|
"path": "src/wc/utils/index.ts"
|
|
29169
29458
|
},
|
|
29459
|
+
"src/wc/components/Menu/menu-types.ts::MenuReorderDetail": {
|
|
29460
|
+
"declaration": "export interface MenuReorderDetail {\n item: MenuItemData;\n fromIndex: number;\n toIndex: number;\n sectionIndex: number;\n items: MenuItemData[];\n}",
|
|
29461
|
+
"docstring": "Next section item order after a pointer or keyboard reorder.",
|
|
29462
|
+
"path": "src/wc/components/Menu/menu-types.ts"
|
|
29463
|
+
},
|
|
29170
29464
|
"src/wc/components/MessageBubble/MessageBubble.tsx::MessageBubbleVariant": {
|
|
29171
29465
|
"declaration": "export type MessageBubbleVariant = 'user' | 'received';",
|
|
29172
29466
|
"docstring": "",
|
|
@@ -29693,7 +29987,7 @@
|
|
|
29693
29987
|
"path": "src/wc/components/SwatchPicker/swatch-picker-types.ts"
|
|
29694
29988
|
},
|
|
29695
29989
|
"src/wc/components/Table/table-types.ts::TableColumn": {
|
|
29696
|
-
"declaration": "export interface TableColumn {\n /** Stable column identity. */\n id: string;\n /** Visible column label. May be empty when headerLabel supplies a non-visual name. */\n header: string;\n /** Screen-reader-only column name for an intentionally blank visual header. */\n headerLabel?: string;\n /** Optional labels for columns that present and sort multiple related data points. */\n headerSegments?: TableHeaderSegment[];\n align?: TableCellAlign;\n sortable?: boolean;\n /** Preferred TokoMo table-column width. Numbers remain available for exceptional custom pixel widths. */\n size?: TableColumnWidth | number;\n /** Minimum accepted preferred width in CSS pixels. */\n minSize?: number;\n /** Maximum accepted preferred width in CSS pixels. */\n maxSize?: number;\n /** Wrap cell text instead of truncating it to one line. */\n wrap?: boolean;\n /** Pin one application column to either inline edge during horizontal scrolling. */\n sticky?: TableColumnSticky;\n /**\n * Declare a trailing application-action lane. Action columns keep fixed\n * geometry and may host grouped table-level controls in their header.\n */\n kind?: 'data' | 'action';\n /** Representative loading geometry for this column. Defaults to one text line. */\n skeleton?: TableCellSkeleton;\n}",
|
|
29990
|
+
"declaration": "export interface TableColumn {\n /** Stable column identity. */\n id: string;\n /** Visible column label. May be empty when headerLabel supplies a non-visual name. */\n header: string;\n /** Screen-reader-only column name for an intentionally blank visual header. */\n headerLabel?: string;\n /** Optional labels for columns that present and sort multiple related data points. */\n headerSegments?: TableHeaderSegment[];\n align?: TableCellAlign;\n sortable?: boolean;\n /** Preferred TokoMo table-column width. Numbers remain available for exceptional custom pixel widths. */\n size?: TableColumnWidth | number;\n /** Minimum accepted preferred width in CSS pixels. */\n minSize?: number;\n /** Maximum accepted preferred width in CSS pixels. */\n maxSize?: number;\n /** Wrap cell text instead of truncating it to one line. */\n wrap?: boolean;\n /** Clamp wrapping text after 1, 2, or 3 lines. Omit with wrap for unlimited wrap. */\n maxLines?: TableCellMaxLines;\n /** Pin one application column to either inline edge during horizontal scrolling. */\n sticky?: TableColumnSticky;\n /**\n * Declare a trailing application-action lane. Action columns keep fixed\n * geometry and may host grouped table-level controls in their header.\n */\n kind?: 'data' | 'action';\n /** Representative loading geometry for this column. Defaults to one text line. */\n skeleton?: TableCellSkeleton;\n}",
|
|
29697
29991
|
"docstring": "",
|
|
29698
29992
|
"path": "src/wc/components/Table/table-types.ts"
|
|
29699
29993
|
},
|
|
@@ -29777,6 +30071,11 @@
|
|
|
29777
30071
|
"docstring": "",
|
|
29778
30072
|
"path": "src/wc/components/Table/table-types.ts"
|
|
29779
30073
|
},
|
|
30074
|
+
"src/wc/components/Table/table-types.ts::TableColumnsConfigChangeDetail": {
|
|
30075
|
+
"declaration": "export interface TableColumnsConfigChangeDetail {\n hiddenColumnIds: string[];\n columnOrder: string[];\n}",
|
|
30076
|
+
"docstring": "Controlled show/hide and data-column order for the table-owned customizer.",
|
|
30077
|
+
"path": "src/wc/components/Table/table-types.ts"
|
|
30078
|
+
},
|
|
29780
30079
|
"src/wc/toast/index.ts::ToastManager": {
|
|
29781
30080
|
"declaration": "any",
|
|
29782
30081
|
"docstring": "",
|
|
@@ -6,6 +6,7 @@ export type { PercentageDecimals } from './format-percentage';
|
|
|
6
6
|
export { computeMetricChange, resolveMetricTrend } from './metric-change';
|
|
7
7
|
export type { MetricChange, MetricTrend, MetricTrendDirection, MetricTrendTone, ResolveMetricTrendOptions, } from './metric-change';
|
|
8
8
|
export { truncateSvgTextToWidth } from './truncate-svg-text';
|
|
9
|
+
export { isElementTruncated } from './is-element-truncated';
|
|
9
10
|
export { parseCssTimeMs, prefersReducedMotion, resolveCssTimeMs, resolveMotionTimeMs, } from './resolve-css-time-ms';
|
|
10
11
|
export { SCROLL_EDGE_FADE_DEFAULT_SIZE, SCROLL_EDGE_FADE_SIZE_VAR, isScrollAtEdge, resolveScrollEdgeFadeSize, scrollEdgeFadeClassMap, scrollEdgeFadeMaskImage, scrollEdgeFadeMaskStyle, scrollEdgeFadeSizeStyle, } from './scroll-edge-fade';
|
|
11
12
|
export type { ScrollEdgeFadeEdge, ScrollEdgeFadeOptions, ScrollEdgeFadeSize, ScrollEdgeFadeSizeToken, } from './scroll-edge-fade';
|
package/dist/lib/utils/index.js
CHANGED
|
@@ -183,6 +183,13 @@ function truncateSvgTextToWidth(el, text, maxWidth) {
|
|
|
183
183
|
return lo > 0 ? `${text.slice(0, lo)}\u2026` : "\u2026";
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
+
// src/wc/utils/is-element-truncated.ts
|
|
187
|
+
var TRUNCATION_EPSILON_PX = 1;
|
|
188
|
+
function isElementTruncated(element) {
|
|
189
|
+
const target = element.querySelector(".ds-text__element") ?? element;
|
|
190
|
+
return target.scrollWidth - target.clientWidth > TRUNCATION_EPSILON_PX || target.scrollHeight - target.clientHeight > TRUNCATION_EPSILON_PX;
|
|
191
|
+
}
|
|
192
|
+
|
|
186
193
|
// src/wc/utils/resolve-css-time-ms.ts
|
|
187
194
|
function parseCssTimeMs(value, fallback) {
|
|
188
195
|
const firstToken = value.trim().split(/\s+/)[0] ?? "";
|
|
@@ -996,6 +1003,7 @@ export {
|
|
|
996
1003
|
dot,
|
|
997
1004
|
formatCompactNumber,
|
|
998
1005
|
formatPercentage,
|
|
1006
|
+
isElementTruncated,
|
|
999
1007
|
isScrollAtEdge,
|
|
1000
1008
|
lineY,
|
|
1001
1009
|
normalizeStack,
|