@ds-mo/ui 14.32.1 → 14.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.package-ready.json +1 -1
- package/dist/agent-patterns.json +1 -1
- package/dist/agent.json +117 -2
- package/dist/angular/ds-card-action-center.d.ts +20 -0
- package/dist/angular/ds-card-action-center.js +42 -0
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +1 -0
- package/dist/angular/proxies.d.ts +1 -0
- package/dist/angular/proxies.js +1 -0
- package/dist/components/ds-agent-activity.js +1 -1
- package/dist/components/ds-agent-questionnaire.js +1 -1
- package/dist/components/ds-agent-response.js +1 -1
- package/dist/components/ds-agent-source-list.js +1 -1
- package/dist/components/ds-agent-tool-call.js +1 -1
- package/dist/components/ds-attachment-list.js +1 -1
- package/dist/components/ds-badge.js +1 -1
- package/dist/components/ds-banner.js +1 -1
- package/dist/components/ds-bar-action.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-page-title.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-breadcrumb.js +1 -1
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/ds-button-unfilled.js +1 -1
- package/dist/components/ds-card-action-center.d.ts +11 -0
- package/dist/components/ds-card-action-center.js +2 -0
- package/dist/components/ds-card-action-center.js.map +1 -0
- package/dist/components/ds-card-chart.js +1 -1
- package/dist/components/ds-card-navigation.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-card-settings-scope.js +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-code-block.js +1 -1
- package/dist/components/ds-conversation-list-item.js +1 -1
- package/dist/components/ds-conversation-list-section.js +1 -1
- package/dist/components/ds-conversation-list.js +1 -1
- package/dist/components/ds-divider.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-filter-menu.js +1 -1
- package/dist/components/ds-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-actions.js.map +1 -1
- package/dist/components/ds-message-bubble.js +1 -1
- package/dist/components/ds-message-bubble.js.map +1 -1
- package/dist/components/ds-message-composer.js +1 -1
- package/dist/components/ds-message-scroller.js +1 -1
- package/dist/components/ds-message.js +1 -1
- package/dist/components/ds-mobile-bar-nav.js +1 -1
- package/dist/components/ds-mobile-header.js +1 -1
- package/dist/components/ds-mobile-section-switcher.js +1 -1
- package/dist/components/ds-mobile-sheet-nav.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-pagination.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-sub-nav.js +1 -1
- package/dist/components/ds-panel-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-paper-texture.js +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-score.js +1 -1
- package/dist/components/ds-scroll-overlay.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-app.js.map +1 -1
- package/dist/components/ds-shell-page.js +1 -1
- package/dist/components/ds-shell-tools.js +1 -1
- package/dist/components/ds-skeleton.js +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-swatch-picker.js +1 -1
- package/dist/components/ds-switch.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-table-filter.js +1 -1
- package/dist/components/ds-table-group.js +1 -1
- package/dist/components/ds-table-saved-views.js +1 -1
- package/dist/components/ds-table-search.js +1 -1
- package/dist/components/ds-table-sort.js +1 -1
- package/dist/components/ds-table-toolbar.js +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-textarea.js +1 -1
- package/dist/components/ds-toast.js +1 -1
- package/dist/components/ds-tooltip-chart.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-typing-indicator.js +1 -1
- package/dist/components/{p-P60MGUqZ.js → p-4DNyCYKM.js} +2 -2
- package/dist/components/{p-B9oadFSC.js → p-AkSwrAKR.js} +2 -2
- package/dist/components/{p-DPPM5T7q.js → p-B5QVra1K.js} +2 -2
- package/dist/components/{p-DwxKwC5i.js → p-B_nPct4G.js} +2 -2
- package/dist/components/{p-B5W_r4vV.js → p-BlWNMytv.js} +2 -2
- package/dist/components/{p-9rzbZP-F.js → p-BqGdNrVl.js} +2 -2
- package/dist/components/{p-CakRq92x.js → p-Br0dx2uP.js} +2 -2
- package/dist/components/{p-gR6G5azA.js → p-BwsS_Hyr.js} +2 -2
- package/dist/components/{p-CN3roaMg.js → p-ByoywoBH.js} +2 -2
- package/dist/components/{p-BPTqn5zL.js → p-C1QHxVvP.js} +2 -2
- package/dist/components/{p-CumGY3uN.js → p-C51ytXM6.js} +2 -2
- package/dist/components/{p-DJHshyyC.js → p-C8XJgV1n.js} +2 -2
- package/dist/components/{p-oFbI_M5B.js → p-CBQzTgvI.js} +2 -2
- package/dist/components/p-CHBuzAYH.js +2 -0
- package/dist/components/{p-DzHXk0IG.js.map → p-CHBuzAYH.js.map} +1 -1
- package/dist/components/p-CHUdAW1Q.js +2 -0
- package/dist/components/{p-skVhQk9d.js.map → p-CHUdAW1Q.js.map} +1 -1
- package/dist/components/p-CIYJhyKt.js +2 -0
- package/dist/components/{p--VKxPUoV.js.map → p-CIYJhyKt.js.map} +1 -1
- package/dist/components/{p-DFWJmuaR.js → p-CIoeHcCk.js} +2 -2
- package/dist/components/{p-BG_n-zQT.js → p-CK2S28gU.js} +2 -2
- package/dist/components/{p-DC69DgAR.js → p-CKo2nySr.js} +2 -2
- package/dist/components/{p-BGGIEmQj.js → p-CMq-jKEI.js} +2 -2
- package/dist/components/{p-r5td84fg.js → p-CNDTHTf6.js} +2 -2
- package/dist/components/{p-ZG1KTkZw.js → p-CQqZgTYk.js} +2 -2
- package/dist/components/{p-BnWxbhFP.js → p-CXAa9TUM.js} +2 -2
- package/dist/components/{p-14sMoeTr.js → p-CnK36Be0.js} +2 -2
- package/dist/components/{p-DEuu954R.js → p-CoE7yza3.js} +2 -2
- package/dist/components/{p-BonnrRtE.js → p-CqeMumqy.js} +2 -2
- package/dist/components/{p-zunBF381.js → p-CvplapTD.js} +2 -2
- package/dist/components/{p-DGQUm3WL.js → p-Cw_npFwN.js} +2 -2
- package/dist/components/{p-BYVydAx2.js → p-CweS0FfJ.js} +2 -2
- package/dist/components/{p-B5OP31eo.js → p-DBZwI7HY.js} +2 -2
- package/dist/components/{p-B9WwU5vu.js → p-DEyvEIYL.js} +2 -2
- package/dist/components/{p-D59xX7JN.js → p-DVWOUQfT.js} +2 -2
- package/dist/components/{p-DQpw21HO.js → p-Da9VpZX2.js} +2 -2
- package/dist/components/{p-DVRL3oem.js → p-Dj296RmE.js} +2 -2
- package/dist/components/{p-z7Zj26BA.js → p-DjCnGxSd.js} +2 -2
- package/dist/components/{p-BFd18avA.js → p-DrjY8Mpy.js} +2 -2
- package/dist/components/{p-B66JqjpI.js → p-Dx7WcWW1.js} +2 -2
- package/dist/components/{p-DceM6xWR.js → p-DyyfWSLB.js} +2 -2
- package/dist/components/{p-UxIgD24y.js → p-DzbEJN1A.js} +2 -2
- package/dist/components/{p-BCRPg1Xs.js → p-LZ8F08Fj.js} +2 -2
- package/dist/components/{p-YFrD62Ml.js → p-OxdAzO4v.js} +2 -2
- package/dist/components/{p-uqsR98po.js → p-eo_pmPqp.js} +2 -2
- package/dist/components/{p-CR7G2BI6.js → p-lv4YQEsa.js} +2 -2
- package/dist/components/{p-OHT7lQVt.js → p-xxuHxP3u.js} +2 -2
- package/dist/components/{p-CD9AbaHQ.js → p-ya8A_SMw.js} +2 -2
- package/dist/components/p-zZuAAiiI.js +2 -0
- package/dist/components/p-zZuAAiiI.js.map +1 -0
- package/dist/docs/components.json +166 -22
- package/dist/mcp-data/registry/card-action-center.json +206 -0
- package/dist/mcp-data/registry/panel-tools.json +5 -5
- package/dist/mcp-data/registry/registry.json +119 -1
- package/dist/mcp-data/registry/shell-app.json +1 -1
- package/dist/react/components.d.ts +1 -0
- package/dist/react/components.js +1 -0
- package/dist/react/ds-card-action-center.d.ts +12 -0
- package/dist/react/ds-card-action-center.js +12 -0
- package/dist/types/components/CardActionCenter/CardActionCenter.d.ts +45 -0
- package/dist/types/components/CardActionCenter/index.d.ts +2 -0
- package/dist/types/components/PanelTools/PanelTools.d.ts +1 -1
- package/dist/types/components.d.ts +59 -2
- package/dist/vue/components.d.ts +1 -0
- package/dist/vue/components.js +1 -0
- package/dist/vue/ds-card-action-center.d.ts +3 -0
- package/dist/vue/ds-card-action-center.js +12 -0
- package/package.json +1 -1
- package/dist/components/p--VKxPUoV.js +0 -2
- package/dist/components/p-BINlT3xz.js +0 -2
- package/dist/components/p-BINlT3xz.js.map +0 -1
- package/dist/components/p-DzHXk0IG.js +0 -2
- package/dist/components/p-skVhQk9d.js +0 -2
- /package/dist/components/{p-P60MGUqZ.js.map → p-4DNyCYKM.js.map} +0 -0
- /package/dist/components/{p-B9oadFSC.js.map → p-AkSwrAKR.js.map} +0 -0
- /package/dist/components/{p-DPPM5T7q.js.map → p-B5QVra1K.js.map} +0 -0
- /package/dist/components/{p-DwxKwC5i.js.map → p-B_nPct4G.js.map} +0 -0
- /package/dist/components/{p-B5W_r4vV.js.map → p-BlWNMytv.js.map} +0 -0
- /package/dist/components/{p-9rzbZP-F.js.map → p-BqGdNrVl.js.map} +0 -0
- /package/dist/components/{p-CakRq92x.js.map → p-Br0dx2uP.js.map} +0 -0
- /package/dist/components/{p-gR6G5azA.js.map → p-BwsS_Hyr.js.map} +0 -0
- /package/dist/components/{p-CN3roaMg.js.map → p-ByoywoBH.js.map} +0 -0
- /package/dist/components/{p-BPTqn5zL.js.map → p-C1QHxVvP.js.map} +0 -0
- /package/dist/components/{p-CumGY3uN.js.map → p-C51ytXM6.js.map} +0 -0
- /package/dist/components/{p-DJHshyyC.js.map → p-C8XJgV1n.js.map} +0 -0
- /package/dist/components/{p-oFbI_M5B.js.map → p-CBQzTgvI.js.map} +0 -0
- /package/dist/components/{p-DFWJmuaR.js.map → p-CIoeHcCk.js.map} +0 -0
- /package/dist/components/{p-BG_n-zQT.js.map → p-CK2S28gU.js.map} +0 -0
- /package/dist/components/{p-DC69DgAR.js.map → p-CKo2nySr.js.map} +0 -0
- /package/dist/components/{p-BGGIEmQj.js.map → p-CMq-jKEI.js.map} +0 -0
- /package/dist/components/{p-r5td84fg.js.map → p-CNDTHTf6.js.map} +0 -0
- /package/dist/components/{p-ZG1KTkZw.js.map → p-CQqZgTYk.js.map} +0 -0
- /package/dist/components/{p-BnWxbhFP.js.map → p-CXAa9TUM.js.map} +0 -0
- /package/dist/components/{p-14sMoeTr.js.map → p-CnK36Be0.js.map} +0 -0
- /package/dist/components/{p-DEuu954R.js.map → p-CoE7yza3.js.map} +0 -0
- /package/dist/components/{p-BonnrRtE.js.map → p-CqeMumqy.js.map} +0 -0
- /package/dist/components/{p-zunBF381.js.map → p-CvplapTD.js.map} +0 -0
- /package/dist/components/{p-DGQUm3WL.js.map → p-Cw_npFwN.js.map} +0 -0
- /package/dist/components/{p-BYVydAx2.js.map → p-CweS0FfJ.js.map} +0 -0
- /package/dist/components/{p-B5OP31eo.js.map → p-DBZwI7HY.js.map} +0 -0
- /package/dist/components/{p-B9WwU5vu.js.map → p-DEyvEIYL.js.map} +0 -0
- /package/dist/components/{p-D59xX7JN.js.map → p-DVWOUQfT.js.map} +0 -0
- /package/dist/components/{p-DQpw21HO.js.map → p-Da9VpZX2.js.map} +0 -0
- /package/dist/components/{p-DVRL3oem.js.map → p-Dj296RmE.js.map} +0 -0
- /package/dist/components/{p-z7Zj26BA.js.map → p-DjCnGxSd.js.map} +0 -0
- /package/dist/components/{p-BFd18avA.js.map → p-DrjY8Mpy.js.map} +0 -0
- /package/dist/components/{p-B66JqjpI.js.map → p-Dx7WcWW1.js.map} +0 -0
- /package/dist/components/{p-DceM6xWR.js.map → p-DyyfWSLB.js.map} +0 -0
- /package/dist/components/{p-UxIgD24y.js.map → p-DzbEJN1A.js.map} +0 -0
- /package/dist/components/{p-BCRPg1Xs.js.map → p-LZ8F08Fj.js.map} +0 -0
- /package/dist/components/{p-YFrD62Ml.js.map → p-OxdAzO4v.js.map} +0 -0
- /package/dist/components/{p-uqsR98po.js.map → p-eo_pmPqp.js.map} +0 -0
- /package/dist/components/{p-CR7G2BI6.js.map → p-lv4YQEsa.js.map} +0 -0
- /package/dist/components/{p-OHT7lQVt.js.map → p-xxuHxP3u.js.map} +0 -0
- /package/dist/components/{p-CD9AbaHQ.js.map → p-ya8A_SMw.js.map} +0 -0
|
@@ -2497,6 +2497,124 @@
|
|
|
2497
2497
|
"tooltip"
|
|
2498
2498
|
]
|
|
2499
2499
|
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "card-action-center",
|
|
2502
|
+
"title": "CardActionCenter",
|
|
2503
|
+
"description": "Compact bordered card that groups overview-page actions, optional values or status tags, and native destinations into named sections.",
|
|
2504
|
+
"type": "registry:ui",
|
|
2505
|
+
"meta": {
|
|
2506
|
+
"library": "@ds-mo/ui",
|
|
2507
|
+
"distribution": "npm",
|
|
2508
|
+
"storybook": "https://zainadeel.github.io/compomo/?path=/story/card-action-center",
|
|
2509
|
+
"source": "src/wc/components/CardActionCenter/CardActionCenter.tsx",
|
|
2510
|
+
"intentStatus": "complete",
|
|
2511
|
+
"intent": {
|
|
2512
|
+
"audience": "general",
|
|
2513
|
+
"status": "experimental",
|
|
2514
|
+
"summary": "Compact bordered card that groups overview-page actions, optional values or status tags, and native destinations into named sections.",
|
|
2515
|
+
"useWhen": [
|
|
2516
|
+
"An overview rail needs a compact action center with multiple named groups.",
|
|
2517
|
+
"Action rows need optional counts or short values aligned at the trailing edge.",
|
|
2518
|
+
"Related reports or resource destinations belong beside attention items in one bounded surface."
|
|
2519
|
+
],
|
|
2520
|
+
"avoidWhen": [
|
|
2521
|
+
"The complete card leads to one destination; use CardNavigation.",
|
|
2522
|
+
"The surface edits settings in place; use CardSetting.",
|
|
2523
|
+
"The content is a chart, legend, metric visualization, or other data-visualization composition; use CardChart or CardOverview.",
|
|
2524
|
+
"Rows require descriptions, nested controls, menus, or selection state instead of one direct action."
|
|
2525
|
+
],
|
|
2526
|
+
"alternatives": [
|
|
2527
|
+
{
|
|
2528
|
+
"when": "The entire surface represents one destination.",
|
|
2529
|
+
"component": "component:ds-card-navigation",
|
|
2530
|
+
"reason": "CardNavigation provides the single native-link card contract."
|
|
2531
|
+
},
|
|
2532
|
+
{
|
|
2533
|
+
"when": "The card presents page-level score and metric summaries.",
|
|
2534
|
+
"component": "component:ds-card-overview",
|
|
2535
|
+
"reason": "CardOverview owns summary metrics, comparison periods, and selectable metric cells."
|
|
2536
|
+
}
|
|
2537
|
+
],
|
|
2538
|
+
"commonlyComposedWith": [
|
|
2539
|
+
"component:ds-tag",
|
|
2540
|
+
"component:ds-text"
|
|
2541
|
+
],
|
|
2542
|
+
"accessibility": [
|
|
2543
|
+
"Each non-empty group is a section labelled by an h2 heading, and each row is a native button or link.",
|
|
2544
|
+
"Use href for real destinations so link context menus, modified clicks, and native browser semantics remain available.",
|
|
2545
|
+
"Prevent the cancelable dsAction event only when an application router takes ownership of the same link activation.",
|
|
2546
|
+
"Inactive items become disabled buttons and are removed from keyboard navigation rather than exposing a false destination.",
|
|
2547
|
+
"Keep item labels concise; a visible trailing value participates in the action's accessible name."
|
|
2548
|
+
],
|
|
2549
|
+
"states": [
|
|
2550
|
+
"Rows expose distinct rest, hover, pressed, keyboard-focus, and inactive states.",
|
|
2551
|
+
"An empty sections array or groups with no items render the configured empty message.",
|
|
2552
|
+
"The application owns loading, error, permission, routing, and post-activation consequences and reflects availability through the supplied item data."
|
|
2553
|
+
],
|
|
2554
|
+
"responsiveBehavior": [
|
|
2555
|
+
"The card fills its parent width and never establishes a product breakpoint.",
|
|
2556
|
+
"Long labels wrap while trailing values remain visible; the page owns rail width and movement below primary content.",
|
|
2557
|
+
"Groups retain their order when the parent layout moves the complete card between desktop and mobile regions."
|
|
2558
|
+
],
|
|
2559
|
+
"frameworkCaveats": {
|
|
2560
|
+
"customElements": [
|
|
2561
|
+
"Assign sections as a JavaScript property; complex arrays are not supported as string attributes.",
|
|
2562
|
+
"Listen for dsAction and inspect sectionId, itemId, item, and the original pointer event."
|
|
2563
|
+
],
|
|
2564
|
+
"react": [
|
|
2565
|
+
"Pass sections as an array and handle onDsAction for product actions or client-side routing.",
|
|
2566
|
+
"Prevent the event only when replacing native navigation for an item with href."
|
|
2567
|
+
],
|
|
2568
|
+
"angular": [
|
|
2569
|
+
"Bind [sections] through the generated standalone adapter and inspect $event.detail from (dsAction).",
|
|
2570
|
+
"Keep product data and activation consequences in the Angular owner rather than embedding them in the component contract."
|
|
2571
|
+
]
|
|
2572
|
+
},
|
|
2573
|
+
"references": [
|
|
2574
|
+
{
|
|
2575
|
+
"label": "Storybook grouped, value, and empty examples",
|
|
2576
|
+
"path": "src/wc/components/CardActionCenter/CardActionCenter.stories.ts"
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"label": "Rendered semantics, interaction, and geometry coverage",
|
|
2580
|
+
"path": "tests/e2e/card-action-center.spec.ts"
|
|
2581
|
+
}
|
|
2582
|
+
]
|
|
2583
|
+
},
|
|
2584
|
+
"props": {
|
|
2585
|
+
"emptyMessage": {
|
|
2586
|
+
"type": "string",
|
|
2587
|
+
"required": false
|
|
2588
|
+
},
|
|
2589
|
+
"sections": {
|
|
2590
|
+
"type": "ReadonlyArray<CardActionCenterSection>",
|
|
2591
|
+
"required": false
|
|
2592
|
+
}
|
|
2593
|
+
},
|
|
2594
|
+
"events": [
|
|
2595
|
+
{
|
|
2596
|
+
"name": "dsAction",
|
|
2597
|
+
"detail": "CardActionCenterActionDetail"
|
|
2598
|
+
}
|
|
2599
|
+
],
|
|
2600
|
+
"slots": [],
|
|
2601
|
+
"exports": {
|
|
2602
|
+
"customElement": "ds-card-action-center",
|
|
2603
|
+
"react": "DsCardActionCenter",
|
|
2604
|
+
"vue": "DsCardActionCenter",
|
|
2605
|
+
"angular": "DsCardActionCenter"
|
|
2606
|
+
}
|
|
2607
|
+
},
|
|
2608
|
+
"dependencies": [
|
|
2609
|
+
"@ds-mo/ui",
|
|
2610
|
+
"@ds-mo/tokens"
|
|
2611
|
+
],
|
|
2612
|
+
"registryDependencies": [
|
|
2613
|
+
"divider",
|
|
2614
|
+
"tag",
|
|
2615
|
+
"text"
|
|
2616
|
+
]
|
|
2617
|
+
},
|
|
2500
2618
|
{
|
|
2501
2619
|
"name": "card-chart",
|
|
2502
2620
|
"title": "CardChart",
|
|
@@ -7634,7 +7752,7 @@
|
|
|
7634
7752
|
"Use isInactive only for a temporarily unavailable visible tool; omit tools the user is not authorized to access.",
|
|
7635
7753
|
"Rail actions disable physical press scaling so notification-dot halos remain aligned to the shell gradient; hover and pressed washes continue to paint above the dot and halo.",
|
|
7636
7754
|
"Rail tooltips are shell-owned and position against the viewport so the narrow tools-lane collision boundary cannot clamp them beyond the viewport edge.",
|
|
7637
|
-
"The PanelTools host is the composed-tree overlay collision owner for menus and filter popups inside tool views. Drawer presentation keeps that rectangle on the rail-and-drawer column. Fullscreen presentation uses the
|
|
7755
|
+
"The PanelTools host is the composed-tree overlay collision owner for menus and filter popups inside tool views. Drawer presentation keeps that rectangle on the rail-and-drawer column. Fullscreen presentation uses the available ShellApp stage below its banner as the collision surface, so history-pane and header menus stay next to their triggers.",
|
|
7638
7756
|
"ds-menu and ds-filter-menu remain on the native popover top layer. Applications must not set boundary=viewport or position those popups to work around fullscreen collision.",
|
|
7639
7757
|
"The application owns slotted tool products and data while PanelTools owns rail ordering, drawer selection, open state, motion, and shell events.",
|
|
7640
7758
|
"Opening and closing clip an already-rendered fixed-width surface. Header and tool content remain fully opaque and retained during width motion; transition completion is accepted only at the measured terminal clip width, after which the closed surface becomes inert and paint-skipped.",
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
"files": [
|
|
695
695
|
{
|
|
696
696
|
"path": "src/wc/components/ShellApp/ShellApp.css",
|
|
697
|
-
"content": ":host {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n overflow: hidden;\n overscroll-behavior: none;\n font-family: var(--typography-font-family-ui, system-ui);\n --ds-shell-panel-tools-width: var(--dimension-panel-width-xs);\n --ds-shell-gradient-context: flat;\n}\n\n:host {\n --_shell-chrome-bg: var(--color-background-secondary);\n}\n\n:host(.shell-app--gradient) {\n --ds-shell-gradient-context: gradient;\n}\n\n.shell-app__row {\n display: flex;\n flex: 1 1 0;\n min-height: 0;\n position: relative;\n}\n\n.shell-app__banner {\n --_shell-banner-edge-display: none;\n flex: 0 0 auto;\n min-width: 0;\n position: relative;\n z-index: 5;\n}\n\n.shell-app__banner ::slotted(ds-banner) {\n display: grid;\n width: 100%;\n}\n\n/*\n * One chrome layer behind the shell row. Wash uses background-attachment: fixed\n * so the pattern is locked to the viewport — panel/tools collapse only changes the\n * transparent window, not the pattern phase. JS sets wash background-size from\n * readShellViewportDimensions(), not the shell element box.\n */\n.shell-app__chrome {\n position: absolute;\n inset: 0;\n pointer-events: none;\n z-index: 0;\n overflow: hidden;\n background-color: var(--_shell-chrome-bg);\n}\n\n:host(.shell-app--gradient) .shell-app__chrome::before {\n content: '';\n position: absolute;\n inset: 0;\n pointer-events: none;\n background-position: 0 0;\n background-attachment: fixed;\n z-index: 1;\n opacity: var(--ds-shell-gradient-opacity, 1);\n background-image: var(--ds-shell-gradient-image, none);\n background-size: var(--ds-shell-gradient-size, auto);\n background-repeat: no-repeat;\n}\n\n.shell-app__paper-texture {\n z-index: 2;\n}\n\n.shell-app__panel {\n flex: 0 0 auto;\n min-height: 0;\n height: 100%;\n position: relative;\n /* Above main so resize handle line can paint over the workspace edge */\n z-index: 2;\n}\n\n.shell-app__panel ::slotted(ds-panel-nav) {\n display: block;\n height: 100%;\n}\n\n.shell-app__panel > ds-panel-nav {\n display: block;\n height: 100%;\n}\n\n.shell-app__main {\n flex: 1 1 auto;\n min-width: 0;\n min-height: 0;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n grid-template-rows: auto minmax(0, 1fr);\n grid-template-areas:\n 'bar tools'\n 'content tools';\n position: relative;\n z-index: 1;\n}\n\n.shell-app__mobile-sheet-nav,\n.shell-app__mobile-bar-nav {\n display: none;\n}\n\n.shell-app__bar {\n grid-area: bar;\n flex: 0 0 auto;\n min-width: 0;\n}\n\n.shell-app__bar ::slotted(ds-bar-nav) {\n display: block;\n}\n\n.shell-app__bar ::slotted(ds-bar-title),\n.shell-app__bar ::slotted(ds-bar-page-title) {\n display: block;\n}\n\n.shell-app__bar > ds-bar-nav {\n display: block;\n}\n\n.shell-app__bar > ds-bar-title,\n.shell-app__bar > ds-bar-page-title {\n display: block;\n}\n\n.shell-app__content {\n grid-area: content;\n flex: 1 1 auto;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n overscroll-behavior: none;\n /* Limit reflow to the page column — not on __main (breaks tools flex shrink). */\n contain: layout;\n}\n\n/* Layout scroller, not a control: keep it keyboard-focusable without a page-sized ring. */\n.shell-app__content:focus,\n.shell-app__content:focus-visible {\n outline: none;\n}\n\n/* Opaque page surface — masks the fixed chrome layer in the content column. */\n.shell-app__content {\n position: relative;\n z-index: 1;\n background-color: var(--color-background-primary);\n}\n\n.shell-app__tools {\n grid-area: tools;\n flex: 0 0 auto;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n position: relative;\n z-index: 0;\n overflow: hidden;\n}\n\n.shell-app__tools ::slotted(ds-panel-tools) {\n display: block;\n height: 100%;\n min-height: 0;\n}\n\n.shell-app__tools ::slotted(ds-shell-tools) {\n display: block;\n height: 100%;\n min-height: 0;\n}\n\n.shell-app__tools > ds-shell-tools {\n display: block;\n height: 100%;\n min-height: 0;\n}\n\n.shell-app__tool-slot-proxy {\n display: block;\n width: 100%;\n height: 100%;\n min-width: 0;\n min-height: 0;\n}\n\n.shell-app__content > ds-shell-page {\n display: block;\n min-height: 100%;\n}\n\n:host(.shell-app--tools-fullscreen) .shell-app__panel,\n:host(.shell-app--tools-fullscreen) .shell-app__bar,\n:host(.shell-app--tools-fullscreen) .shell-app__content {\n visibility: hidden;\n}\n\n:host(.shell-app--mobile) {\n --_shell-chrome-bg: var(--color-background-primary);\n padding-block-start: env(safe-area-inset-top);\n background: var(--ds-shell-safe-area-background, var(--color-background-primary));\n}\n\n:host(.shell-app--mobile) .shell-app__banner {\n --_shell-banner-edge-display: block;\n}\n\n/* Refresh the Mobile WebKit stage layer without remounting app content. */\n:host(.shell-app--mobile.shell-app--foreground-refresh) .shell-app__main {\n transform: translateZ(0);\n}\n\n:host(.shell-app--mobile) .shell-app__chrome,\n:host(.shell-app--mobile) .shell-app__panel,\n:host(.shell-app--mobile) .shell-app__bar {\n display: none;\n}\n\n:host(.shell-app--mobile) .shell-app__main {\n width: 100%;\n box-sizing: border-box;\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: minmax(0, 1fr) auto;\n grid-template-areas:\n 'stage'\n 'mobile-bar-nav';\n background: var(--color-background-primary);\n}\n\n:host(.shell-app--mobile) .shell-app__content,\n:host(.shell-app--mobile) .shell-app__tools,\n:host(.shell-app--mobile) .shell-app__mobile-sheet-nav {\n grid-area: stage;\n min-width: 0;\n min-height: 0;\n height: 100%;\n position: relative;\n}\n\n:host(.shell-app--mobile) .shell-app__content {\n z-index: 1;\n overflow: auto;\n}\n\n:host(.shell-app--mobile) .shell-app__tools {\n z-index: 2;\n width: 100%;\n overflow: hidden;\n background: var(--color-background-primary);\n}\n\n:host(.shell-app--mobile) .shell-app__mobile-sheet-nav {\n display: block;\n z-index: 3;\n overflow: hidden;\n background: var(--color-background-primary);\n}\n\n:host(.shell-app--mobile) .shell-app__mobile-bar-nav {\n grid-area: mobile-bar-nav;\n display: block;\n min-width: 0;\n position: relative;\n z-index: 4;\n}\n\n:host(.shell-app--mobile) .shell-app__tools[hidden],\n:host(.shell-app--mobile) .shell-app__mobile-sheet-nav[hidden],\n:host(.shell-app--mobile) .shell-app__mobile-bar-nav[hidden] {\n display: none;\n}\n\n:host(.shell-app--mobile-tool-active) .shell-app__content,\n:host(.shell-app--mobile-sheet-nav-open) .shell-app__content,\n:host(.shell-app--mobile-sheet-nav-open) .shell-app__tools {\n visibility: hidden;\n}\n",
|
|
697
|
+
"content": ":host {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n overflow: hidden;\n overscroll-behavior: none;\n font-family: var(--typography-font-family-ui, system-ui);\n --ds-shell-panel-tools-width: var(--dimension-panel-width-xs);\n --ds-shell-gradient-context: flat;\n}\n\n:host {\n --_shell-chrome-bg: var(--color-background-secondary);\n}\n\n:host(.shell-app--gradient) {\n --ds-shell-gradient-context: gradient;\n}\n\n.shell-app__row {\n display: flex;\n flex: 1 1 0;\n min-height: 0;\n position: relative;\n}\n\n.shell-app__banner {\n --_shell-banner-edge-display: none;\n flex: 0 0 auto;\n min-width: 0;\n position: relative;\n z-index: 5;\n}\n\n.shell-app__banner ::slotted(ds-banner) {\n display: grid;\n width: 100%;\n}\n\n/*\n * One chrome layer behind the shell row. Wash uses background-attachment: fixed\n * so the pattern is locked to the viewport — panel/tools collapse only changes the\n * transparent window, not the pattern phase. JS sets wash background-size from\n * readShellViewportDimensions(), not the shell element box.\n */\n.shell-app__chrome {\n position: absolute;\n inset: 0;\n pointer-events: none;\n z-index: 0;\n overflow: hidden;\n background-color: var(--_shell-chrome-bg);\n}\n\n:host(.shell-app--gradient) .shell-app__chrome::before {\n content: '';\n position: absolute;\n inset: 0;\n pointer-events: none;\n background-position: 0 0;\n background-attachment: fixed;\n z-index: 1;\n opacity: var(--ds-shell-gradient-opacity, 1);\n background-image: var(--ds-shell-gradient-image, none);\n background-size: var(--ds-shell-gradient-size, auto);\n background-repeat: no-repeat;\n}\n\n.shell-app__paper-texture {\n z-index: 2;\n}\n\n.shell-app__panel {\n flex: 0 0 auto;\n min-height: 0;\n height: 100%;\n position: relative;\n /* Above main so resize handle line can paint over the workspace edge */\n z-index: 2;\n}\n\n.shell-app__panel ::slotted(ds-panel-nav) {\n display: block;\n height: 100%;\n}\n\n.shell-app__panel > ds-panel-nav {\n display: block;\n height: 100%;\n}\n\n.shell-app__main {\n flex: 1 1 auto;\n min-width: 0;\n min-height: 0;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n grid-template-rows: auto minmax(0, 1fr);\n grid-template-areas:\n 'bar tools'\n 'content tools';\n position: relative;\n z-index: 1;\n}\n\n.shell-app__mobile-sheet-nav,\n.shell-app__mobile-bar-nav {\n display: none;\n}\n\n.shell-app__bar {\n grid-area: bar;\n flex: 0 0 auto;\n min-width: 0;\n}\n\n.shell-app__bar ::slotted(ds-bar-nav) {\n display: block;\n}\n\n.shell-app__bar ::slotted(ds-bar-title),\n.shell-app__bar ::slotted(ds-bar-page-title) {\n display: block;\n}\n\n.shell-app__bar > ds-bar-nav {\n display: block;\n}\n\n.shell-app__bar > ds-bar-title,\n.shell-app__bar > ds-bar-page-title {\n display: block;\n}\n\n.shell-app__content {\n grid-area: content;\n flex: 1 1 auto;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n overscroll-behavior: none;\n /* Limit reflow to the page column — not on __main (breaks tools flex shrink). */\n contain: layout;\n}\n\n/* Layout scroller, not a control: keep it keyboard-focusable without a page-sized ring. */\n.shell-app__content:focus,\n.shell-app__content:focus-visible {\n outline: none;\n}\n\n/* Opaque page surface — masks the fixed chrome layer in the content column. */\n.shell-app__content {\n position: relative;\n z-index: 1;\n background-color: var(--color-background-primary);\n}\n\n.shell-app__tools {\n grid-area: tools;\n flex: 0 0 auto;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n position: relative;\n z-index: 0;\n overflow: hidden;\n}\n\n.shell-app__tools ::slotted(ds-panel-tools) {\n display: block;\n height: 100%;\n min-height: 0;\n}\n\n.shell-app__tools ::slotted(ds-shell-tools) {\n display: block;\n height: 100%;\n min-height: 0;\n}\n\n.shell-app__tools > ds-shell-tools {\n display: block;\n height: 100%;\n min-height: 0;\n}\n\n.shell-app__tool-slot-proxy {\n display: block;\n width: 100%;\n height: 100%;\n min-width: 0;\n min-height: 0;\n}\n\n.shell-app__content > ds-shell-page {\n display: block;\n min-height: 100%;\n}\n\n:host(.shell-app--tools-fullscreen) .shell-app__row {\n /* Anchor fixed fullscreen tools to the available stage below the banner. */\n contain: layout;\n}\n\n:host(.shell-app--tools-fullscreen) .shell-app__main {\n /* Above panel chrome while remaining below the global banner layer. */\n z-index: 3;\n}\n\n:host(.shell-app--tools-fullscreen) .shell-app__tools {\n /* Fullscreen tools must outrank retained page-owned overlays in content. */\n z-index: 2;\n}\n\n:host(.shell-app--tools-fullscreen) .shell-app__panel,\n:host(.shell-app--tools-fullscreen) .shell-app__bar,\n:host(.shell-app--tools-fullscreen) .shell-app__content {\n visibility: hidden;\n /* Descendants can override visibility, but must not paint through tools. */\n content-visibility: hidden;\n}\n\n:host(.shell-app--mobile) {\n --_shell-chrome-bg: var(--color-background-primary);\n padding-block-start: env(safe-area-inset-top);\n background: var(--ds-shell-safe-area-background, var(--color-background-primary));\n}\n\n:host(.shell-app--mobile) .shell-app__banner {\n --_shell-banner-edge-display: block;\n}\n\n/* Refresh the Mobile WebKit stage layer without remounting app content. */\n:host(.shell-app--mobile.shell-app--foreground-refresh) .shell-app__main {\n transform: translateZ(0);\n}\n\n:host(.shell-app--mobile) .shell-app__chrome,\n:host(.shell-app--mobile) .shell-app__panel,\n:host(.shell-app--mobile) .shell-app__bar {\n display: none;\n}\n\n:host(.shell-app--mobile) .shell-app__main {\n width: 100%;\n box-sizing: border-box;\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: minmax(0, 1fr) auto;\n grid-template-areas:\n 'stage'\n 'mobile-bar-nav';\n background: var(--color-background-primary);\n}\n\n:host(.shell-app--mobile) .shell-app__content,\n:host(.shell-app--mobile) .shell-app__tools,\n:host(.shell-app--mobile) .shell-app__mobile-sheet-nav {\n grid-area: stage;\n min-width: 0;\n min-height: 0;\n height: 100%;\n position: relative;\n}\n\n:host(.shell-app--mobile) .shell-app__content {\n z-index: 1;\n overflow: auto;\n}\n\n:host(.shell-app--mobile) .shell-app__tools {\n z-index: 2;\n width: 100%;\n overflow: hidden;\n background: var(--color-background-primary);\n}\n\n:host(.shell-app--mobile) .shell-app__mobile-sheet-nav {\n display: block;\n z-index: 3;\n overflow: hidden;\n background: var(--color-background-primary);\n}\n\n:host(.shell-app--mobile) .shell-app__mobile-bar-nav {\n grid-area: mobile-bar-nav;\n display: block;\n min-width: 0;\n position: relative;\n z-index: 4;\n}\n\n:host(.shell-app--mobile) .shell-app__tools[hidden],\n:host(.shell-app--mobile) .shell-app__mobile-sheet-nav[hidden],\n:host(.shell-app--mobile) .shell-app__mobile-bar-nav[hidden] {\n display: none;\n}\n\n:host(.shell-app--mobile-tool-active) .shell-app__content,\n:host(.shell-app--mobile-sheet-nav-open) .shell-app__content,\n:host(.shell-app--mobile-sheet-nav-open) .shell-app__tools {\n visibility: hidden;\n}\n",
|
|
698
698
|
"type": "registry:ui"
|
|
699
699
|
},
|
|
700
700
|
{
|
|
@@ -19,6 +19,7 @@ export { DsBarWorkflow } from "./ds-bar-workflow.js";
|
|
|
19
19
|
export { DsBreadcrumb } from "./ds-breadcrumb.js";
|
|
20
20
|
export { DsButtonFilled } from "./ds-button-filled.js";
|
|
21
21
|
export { DsButtonUnfilled } from "./ds-button-unfilled.js";
|
|
22
|
+
export { DsCardActionCenter } from "./ds-card-action-center.js";
|
|
22
23
|
export { DsCardChart } from "./ds-card-chart.js";
|
|
23
24
|
export { DsCardNavigation } from "./ds-card-navigation.js";
|
|
24
25
|
export { DsCardOverview } from "./ds-card-overview.js";
|
package/dist/react/components.js
CHANGED
|
@@ -20,6 +20,7 @@ export { DsBarWorkflow } from "./ds-bar-workflow.js";
|
|
|
20
20
|
export { DsBreadcrumb } from "./ds-breadcrumb.js";
|
|
21
21
|
export { DsButtonFilled } from "./ds-button-filled.js";
|
|
22
22
|
export { DsButtonUnfilled } from "./ds-button-unfilled.js";
|
|
23
|
+
export { DsCardActionCenter } from "./ds-card-action-center.js";
|
|
23
24
|
export { DsCardChart } from "./ds-card-chart.js";
|
|
24
25
|
export { DsCardNavigation } from "./ds-card-navigation.js";
|
|
25
26
|
export { DsCardOverview } from "./ds-card-overview.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { EventName, StencilReactComponent } from './react-runtime.js';
|
|
6
|
+
import { type CardActionCenterActionDetail, type DsCardActionCenterCustomEvent } from "@ds-mo/ui";
|
|
7
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
|
+
import { DsCardActionCenter as DsCardActionCenterElement } from "@ds-mo/ui/dist/components/ds-card-action-center.js";
|
|
9
|
+
export type DsCardActionCenterEvents = {
|
|
10
|
+
onDsAction: EventName<DsCardActionCenterCustomEvent<CardActionCenterActionDetail>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const DsCardActionCenter: StencilReactComponent<DsCardActionCenterElement, DsCardActionCenterEvents, Components.DsCardActionCenter>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from './react-runtime.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsCardActionCenter as DsCardActionCenterElement, defineCustomElement as defineDsCardActionCenter } from "@ds-mo/ui/dist/components/ds-card-action-center.js";
|
|
5
|
+
export const DsCardActionCenter = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-card-action-center',
|
|
7
|
+
elementClass: DsCardActionCenterElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: { onDsAction: 'dsAction' },
|
|
11
|
+
defineCustomElement: defineDsCardActionCenter
|
|
12
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { TagContrast, TagIntent } from '../Tag/Tag';
|
|
3
|
+
export interface CardActionCenterTag {
|
|
4
|
+
intent?: TagIntent;
|
|
5
|
+
contrast?: TagContrast;
|
|
6
|
+
}
|
|
7
|
+
export interface CardActionCenterItem {
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
value?: string | number;
|
|
11
|
+
tag?: CardActionCenterTag;
|
|
12
|
+
href?: string;
|
|
13
|
+
isInactive?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface CardActionCenterSection {
|
|
16
|
+
id: string;
|
|
17
|
+
heading: string;
|
|
18
|
+
items: ReadonlyArray<CardActionCenterItem>;
|
|
19
|
+
}
|
|
20
|
+
export interface CardActionCenterActionDetail {
|
|
21
|
+
sectionId: string;
|
|
22
|
+
itemId: string;
|
|
23
|
+
item: CardActionCenterItem;
|
|
24
|
+
href?: string;
|
|
25
|
+
originalEvent: MouseEvent;
|
|
26
|
+
}
|
|
27
|
+
export declare class CardActionCenter {
|
|
28
|
+
/** Ordered groups of actions rendered in the card. Empty groups are omitted. */
|
|
29
|
+
sections: ReadonlyArray<CardActionCenterSection>;
|
|
30
|
+
/** Copy shown when no section contains an action. */
|
|
31
|
+
emptyMessage: string;
|
|
32
|
+
/**
|
|
33
|
+
* Emitted when an available row is activated. When a row has an `href`,
|
|
34
|
+
* prevent this event to take over navigation with an application router.
|
|
35
|
+
*/
|
|
36
|
+
dsAction: EventEmitter<CardActionCenterActionDetail>;
|
|
37
|
+
private readonly instanceId;
|
|
38
|
+
private get visibleSections();
|
|
39
|
+
private headingId;
|
|
40
|
+
private handleAction;
|
|
41
|
+
private renderValue;
|
|
42
|
+
private renderItem;
|
|
43
|
+
render(): any;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=CardActionCenter.d.ts.map
|
|
@@ -5,7 +5,7 @@ export declare class PanelTools {
|
|
|
5
5
|
el: HTMLElement;
|
|
6
6
|
/** When false, only the icon rail is shown. */
|
|
7
7
|
open: boolean;
|
|
8
|
-
/** Drawer presentation or
|
|
8
|
+
/** Drawer presentation or presentation covering the shell stage for the active tool. */
|
|
9
9
|
presentation: 'drawer' | 'fullscreen';
|
|
10
10
|
/** Let a fullscreen product supply independent master/detail headers inside its view. */
|
|
11
11
|
fullscreenHeaderMode: 'shared' | 'split';
|
|
@@ -19,6 +19,7 @@ import { MobileDestination, ShellResponsiveMode } from "./shell/shell-responsive
|
|
|
19
19
|
import { ButtonFilledBackground, ButtonFilledContrast, ButtonFilledIntent, ButtonFilledPopup, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
20
20
|
import { ControlInsetDepth, ControlSize } from "./utils/control-text";
|
|
21
21
|
import { ButtonUnfilledBackground, ButtonUnfilledPopup, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
22
|
+
import { CardActionCenterActionDetail, CardActionCenterSection } from "./components/CardActionCenter/CardActionCenter";
|
|
22
23
|
import { CardChartVariant, CardChartWidth } from "./components/CardChart/CardChart";
|
|
23
24
|
import { CardNavigationDetail, CardNavigationVariant, CardNavigationWidth } from "./components/CardNavigation/CardNavigation";
|
|
24
25
|
import { CardOverviewLayout, CardOverviewVariant, OverviewMetric, OverviewScore } from "./components/CardOverview/card-overview-types";
|
|
@@ -93,6 +94,7 @@ export { MobileDestination, ShellResponsiveMode } from "./shell/shell-responsive
|
|
|
93
94
|
export { ButtonFilledBackground, ButtonFilledContrast, ButtonFilledIntent, ButtonFilledPopup, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
94
95
|
export { ControlInsetDepth, ControlSize } from "./utils/control-text";
|
|
95
96
|
export { ButtonUnfilledBackground, ButtonUnfilledPopup, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
97
|
+
export { CardActionCenterActionDetail, CardActionCenterSection } from "./components/CardActionCenter/CardActionCenter";
|
|
96
98
|
export { CardChartVariant, CardChartWidth } from "./components/CardChart/CardChart";
|
|
97
99
|
export { CardNavigationDetail, CardNavigationVariant, CardNavigationWidth } from "./components/CardNavigation/CardNavigation";
|
|
98
100
|
export { CardOverviewLayout, CardOverviewVariant, OverviewMetric, OverviewScore } from "./components/CardOverview/card-overview-types";
|
|
@@ -896,6 +898,18 @@ export namespace Components {
|
|
|
896
898
|
*/
|
|
897
899
|
"width": ButtonUnfilledWidth;
|
|
898
900
|
}
|
|
901
|
+
interface DsCardActionCenter {
|
|
902
|
+
/**
|
|
903
|
+
* Copy shown when no section contains an action.
|
|
904
|
+
* @default 'No actions available'
|
|
905
|
+
*/
|
|
906
|
+
"emptyMessage": string;
|
|
907
|
+
/**
|
|
908
|
+
* Ordered groups of actions rendered in the card. Empty groups are omitted.
|
|
909
|
+
* @default []
|
|
910
|
+
*/
|
|
911
|
+
"sections": ReadonlyArray<CardActionCenterSection>;
|
|
912
|
+
}
|
|
899
913
|
/**
|
|
900
914
|
* Standard chart card chrome and composition. The variant owns
|
|
901
915
|
* only the chart/legend relationship; applications continue to own data.
|
|
@@ -2512,7 +2526,7 @@ export namespace Components {
|
|
|
2512
2526
|
*/
|
|
2513
2527
|
"open": boolean;
|
|
2514
2528
|
/**
|
|
2515
|
-
* Drawer presentation or
|
|
2529
|
+
* Drawer presentation or presentation covering the shell stage for the active tool.
|
|
2516
2530
|
* @default 'drawer'
|
|
2517
2531
|
*/
|
|
2518
2532
|
"presentation": 'drawer' | 'fullscreen';
|
|
@@ -4171,6 +4185,10 @@ export interface DsButtonUnfilledCustomEvent<T> extends CustomEvent<T> {
|
|
|
4171
4185
|
detail: T;
|
|
4172
4186
|
target: HTMLDsButtonUnfilledElement;
|
|
4173
4187
|
}
|
|
4188
|
+
export interface DsCardActionCenterCustomEvent<T> extends CustomEvent<T> {
|
|
4189
|
+
detail: T;
|
|
4190
|
+
target: HTMLDsCardActionCenterElement;
|
|
4191
|
+
}
|
|
4174
4192
|
export interface DsCardChartCustomEvent<T> extends CustomEvent<T> {
|
|
4175
4193
|
detail: T;
|
|
4176
4194
|
target: HTMLDsCardChartElement;
|
|
@@ -4598,6 +4616,23 @@ declare global {
|
|
|
4598
4616
|
prototype: HTMLDsButtonUnfilledElement;
|
|
4599
4617
|
new (): HTMLDsButtonUnfilledElement;
|
|
4600
4618
|
};
|
|
4619
|
+
interface HTMLDsCardActionCenterElementEventMap {
|
|
4620
|
+
"dsAction": CardActionCenterActionDetail;
|
|
4621
|
+
}
|
|
4622
|
+
interface HTMLDsCardActionCenterElement extends Components.DsCardActionCenter, HTMLStencilElement {
|
|
4623
|
+
addEventListener<K extends keyof HTMLDsCardActionCenterElementEventMap>(type: K, listener: (this: HTMLDsCardActionCenterElement, ev: DsCardActionCenterCustomEvent<HTMLDsCardActionCenterElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4624
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4625
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4626
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4627
|
+
removeEventListener<K extends keyof HTMLDsCardActionCenterElementEventMap>(type: K, listener: (this: HTMLDsCardActionCenterElement, ev: DsCardActionCenterCustomEvent<HTMLDsCardActionCenterElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4628
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4629
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4630
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4631
|
+
}
|
|
4632
|
+
var HTMLDsCardActionCenterElement: {
|
|
4633
|
+
prototype: HTMLDsCardActionCenterElement;
|
|
4634
|
+
new (): HTMLDsCardActionCenterElement;
|
|
4635
|
+
};
|
|
4601
4636
|
interface HTMLDsCardChartElementEventMap {
|
|
4602
4637
|
"dsFilterClick": void;
|
|
4603
4638
|
}
|
|
@@ -5642,6 +5677,7 @@ declare global {
|
|
|
5642
5677
|
"ds-breadcrumb": HTMLDsBreadcrumbElement;
|
|
5643
5678
|
"ds-button-filled": HTMLDsButtonFilledElement;
|
|
5644
5679
|
"ds-button-unfilled": HTMLDsButtonUnfilledElement;
|
|
5680
|
+
"ds-card-action-center": HTMLDsCardActionCenterElement;
|
|
5645
5681
|
"ds-card-chart": HTMLDsCardChartElement;
|
|
5646
5682
|
"ds-card-navigation": HTMLDsCardNavigationElement;
|
|
5647
5683
|
"ds-card-overview": HTMLDsCardOverviewElement;
|
|
@@ -6520,6 +6556,22 @@ declare namespace LocalJSX {
|
|
|
6520
6556
|
*/
|
|
6521
6557
|
"width"?: ButtonUnfilledWidth;
|
|
6522
6558
|
}
|
|
6559
|
+
interface DsCardActionCenter {
|
|
6560
|
+
/**
|
|
6561
|
+
* Copy shown when no section contains an action.
|
|
6562
|
+
* @default 'No actions available'
|
|
6563
|
+
*/
|
|
6564
|
+
"emptyMessage"?: string;
|
|
6565
|
+
/**
|
|
6566
|
+
* Emitted when an available row is activated. When a row has an `href`, prevent this event to take over navigation with an application router.
|
|
6567
|
+
*/
|
|
6568
|
+
"onDsAction"?: (event: DsCardActionCenterCustomEvent<CardActionCenterActionDetail>) => void;
|
|
6569
|
+
/**
|
|
6570
|
+
* Ordered groups of actions rendered in the card. Empty groups are omitted.
|
|
6571
|
+
* @default []
|
|
6572
|
+
*/
|
|
6573
|
+
"sections"?: ReadonlyArray<CardActionCenterSection>;
|
|
6574
|
+
}
|
|
6523
6575
|
/**
|
|
6524
6576
|
* Standard chart card chrome and composition. The variant owns
|
|
6525
6577
|
* only the chart/legend relationship; applications continue to own data.
|
|
@@ -8303,7 +8355,7 @@ declare namespace LocalJSX {
|
|
|
8303
8355
|
*/
|
|
8304
8356
|
"open"?: boolean;
|
|
8305
8357
|
/**
|
|
8306
|
-
* Drawer presentation or
|
|
8358
|
+
* Drawer presentation or presentation covering the shell stage for the active tool.
|
|
8307
8359
|
* @default 'drawer'
|
|
8308
8360
|
*/
|
|
8309
8361
|
"presentation"?: 'drawer' | 'fullscreen';
|
|
@@ -10239,6 +10291,9 @@ declare namespace LocalJSX {
|
|
|
10239
10291
|
"hasMenu": boolean;
|
|
10240
10292
|
"focusTabIndex": number;
|
|
10241
10293
|
}
|
|
10294
|
+
interface DsCardActionCenterAttributes {
|
|
10295
|
+
"emptyMessage": string;
|
|
10296
|
+
}
|
|
10242
10297
|
interface DsCardChartAttributes {
|
|
10243
10298
|
"heading": string;
|
|
10244
10299
|
"variant": CardChartVariant;
|
|
@@ -10996,6 +11051,7 @@ declare namespace LocalJSX {
|
|
|
10996
11051
|
"ds-breadcrumb": Omit<DsBreadcrumb, keyof DsBreadcrumbAttributes> & { [K in keyof DsBreadcrumb & keyof DsBreadcrumbAttributes]?: DsBreadcrumb[K] } & { [K in keyof DsBreadcrumb & keyof DsBreadcrumbAttributes as `attr:${K}`]?: DsBreadcrumbAttributes[K] } & { [K in keyof DsBreadcrumb & keyof DsBreadcrumbAttributes as `prop:${K}`]?: DsBreadcrumb[K] };
|
|
10997
11052
|
"ds-button-filled": Omit<DsButtonFilled, keyof DsButtonFilledAttributes> & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes]?: DsButtonFilled[K] } & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes as `attr:${K}`]?: DsButtonFilledAttributes[K] } & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes as `prop:${K}`]?: DsButtonFilled[K] };
|
|
10998
11053
|
"ds-button-unfilled": Omit<DsButtonUnfilled, keyof DsButtonUnfilledAttributes> & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes]?: DsButtonUnfilled[K] } & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes as `attr:${K}`]?: DsButtonUnfilledAttributes[K] } & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes as `prop:${K}`]?: DsButtonUnfilled[K] };
|
|
11054
|
+
"ds-card-action-center": Omit<DsCardActionCenter, keyof DsCardActionCenterAttributes> & { [K in keyof DsCardActionCenter & keyof DsCardActionCenterAttributes]?: DsCardActionCenter[K] } & { [K in keyof DsCardActionCenter & keyof DsCardActionCenterAttributes as `attr:${K}`]?: DsCardActionCenterAttributes[K] } & { [K in keyof DsCardActionCenter & keyof DsCardActionCenterAttributes as `prop:${K}`]?: DsCardActionCenter[K] };
|
|
10999
11055
|
"ds-card-chart": Omit<DsCardChart, keyof DsCardChartAttributes> & { [K in keyof DsCardChart & keyof DsCardChartAttributes]?: DsCardChart[K] } & { [K in keyof DsCardChart & keyof DsCardChartAttributes as `attr:${K}`]?: DsCardChartAttributes[K] } & { [K in keyof DsCardChart & keyof DsCardChartAttributes as `prop:${K}`]?: DsCardChart[K] } & OneOf<"heading", DsCardChart["heading"], DsCardChartAttributes["heading"]>;
|
|
11000
11056
|
"ds-card-navigation": Omit<DsCardNavigation, keyof DsCardNavigationAttributes> & { [K in keyof DsCardNavigation & keyof DsCardNavigationAttributes]?: DsCardNavigation[K] } & { [K in keyof DsCardNavigation & keyof DsCardNavigationAttributes as `attr:${K}`]?: DsCardNavigationAttributes[K] } & { [K in keyof DsCardNavigation & keyof DsCardNavigationAttributes as `prop:${K}`]?: DsCardNavigation[K] } & OneOf<"href", DsCardNavigation["href"], DsCardNavigationAttributes["href"]> & OneOf<"heading", DsCardNavigation["heading"], DsCardNavigationAttributes["heading"]>;
|
|
11001
11057
|
"ds-card-overview": Omit<DsCardOverview, keyof DsCardOverviewAttributes> & { [K in keyof DsCardOverview & keyof DsCardOverviewAttributes]?: DsCardOverview[K] } & { [K in keyof DsCardOverview & keyof DsCardOverviewAttributes as `attr:${K}`]?: DsCardOverviewAttributes[K] } & { [K in keyof DsCardOverview & keyof DsCardOverviewAttributes as `prop:${K}`]?: DsCardOverview[K] };
|
|
@@ -11084,6 +11140,7 @@ declare module "@stencil/core" {
|
|
|
11084
11140
|
"ds-breadcrumb": LocalJSX.IntrinsicElements["ds-breadcrumb"] & JSXBase.HTMLAttributes<HTMLDsBreadcrumbElement>;
|
|
11085
11141
|
"ds-button-filled": LocalJSX.IntrinsicElements["ds-button-filled"] & JSXBase.HTMLAttributes<HTMLDsButtonFilledElement>;
|
|
11086
11142
|
"ds-button-unfilled": LocalJSX.IntrinsicElements["ds-button-unfilled"] & JSXBase.HTMLAttributes<HTMLDsButtonUnfilledElement>;
|
|
11143
|
+
"ds-card-action-center": LocalJSX.IntrinsicElements["ds-card-action-center"] & JSXBase.HTMLAttributes<HTMLDsCardActionCenterElement>;
|
|
11087
11144
|
/**
|
|
11088
11145
|
* Standard chart card chrome and composition. The variant owns
|
|
11089
11146
|
* only the chart/legend relationship; applications continue to own data.
|
package/dist/vue/components.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { DsBarWorkflow } from './ds-bar-workflow.js';
|
|
|
19
19
|
export { DsBreadcrumb } from './ds-breadcrumb.js';
|
|
20
20
|
export { DsButtonFilled } from './ds-button-filled.js';
|
|
21
21
|
export { DsButtonUnfilled } from './ds-button-unfilled.js';
|
|
22
|
+
export { DsCardActionCenter } from './ds-card-action-center.js';
|
|
22
23
|
export { DsCardChart } from './ds-card-chart.js';
|
|
23
24
|
export { DsCardNavigation } from './ds-card-navigation.js';
|
|
24
25
|
export { DsCardOverview } from './ds-card-overview.js';
|
package/dist/vue/components.js
CHANGED
|
@@ -21,6 +21,7 @@ export { DsBarWorkflow } from './ds-bar-workflow.js';
|
|
|
21
21
|
export { DsBreadcrumb } from './ds-breadcrumb.js';
|
|
22
22
|
export { DsButtonFilled } from './ds-button-filled.js';
|
|
23
23
|
export { DsButtonUnfilled } from './ds-button-unfilled.js';
|
|
24
|
+
export { DsCardActionCenter } from './ds-card-action-center.js';
|
|
24
25
|
export { DsCardChart } from './ds-card-chart.js';
|
|
25
26
|
export { DsCardNavigation } from './ds-card-navigation.js';
|
|
26
27
|
export { DsCardOverview } from './ds-card-overview.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* auto-generated vue proxies */
|
|
4
|
+
import { defineContainer } from './vue-runtime.js';
|
|
5
|
+
import { defineCustomElement as defineDsCardActionCenter } from '@ds-mo/ui/components/ds-card-action-center.js';
|
|
6
|
+
export const DsCardActionCenter = /*@__PURE__*/ defineContainer('ds-card-action-center', defineDsCardActionCenter, [
|
|
7
|
+
'sections',
|
|
8
|
+
'emptyMessage',
|
|
9
|
+
'dsAction'
|
|
10
|
+
], [
|
|
11
|
+
'dsAction'
|
|
12
|
+
]);
|