@ds-mo/ui 13.4.0 → 13.6.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 +8 -1
- package/dist/agent.json +187 -26
- package/dist/angular/ds-banner.d.ts +23 -0
- package/dist/angular/ds-banner.js +45 -0
- package/dist/angular/ds-modal.d.ts +1 -1
- package/dist/angular/ds-modal.js +3 -3
- 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-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.d.ts +11 -0
- package/dist/components/ds-banner.js +2 -0
- package/dist/components/ds-banner.js.map +1 -0
- 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-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-data-viz.js +1 -1
- package/dist/components/ds-card-overview.js +1 -1
- package/dist/components/ds-card-overview.js.map +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card-setting.js.map +1 -1
- package/dist/components/ds-chart-bar.js +1 -1
- package/dist/components/ds-chart-donut.js +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart-line.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-input.js +1 -1
- package/dist/components/ds-input.js.map +1 -1
- package/dist/components/ds-markdown.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-message-actions.js +1 -1
- package/dist/components/ds-message-actions.js.map +1 -1
- package/dist/components/ds-message-bubble.js +1 -1
- package/dist/components/ds-message-composer.js +1 -1
- package/dist/components/ds-message-scroller.js +1 -1
- package/dist/components/ds-message.js +1 -1
- package/dist/components/ds-mobile-bar-nav.js +1 -1
- package/dist/components/ds-mobile-header.js +1 -1
- package/dist/components/ds-mobile-section-switcher.js +1 -1
- package/dist/components/ds-mobile-sheet-nav.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-modal.js.map +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-sub-nav.js +1 -1
- package/dist/components/ds-panel-tool-header.js +1 -1
- package/dist/components/ds-panel-tool-search.js +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-scroll-overlay.js +1 -1
- package/dist/components/ds-scroll-overlay.js.map +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-select.js.map +1 -1
- package/dist/components/ds-shell-app.js +1 -1
- package/dist/components/ds-shell-app.js.map +1 -1
- package/dist/components/ds-shell-page.js +1 -1
- package/dist/components/ds-shell-tools.js +1 -1
- package/dist/components/ds-skeleton.js +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-swatch-picker.js +1 -1
- package/dist/components/ds-switch.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast.js +1 -1
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-typing-indicator.js +1 -1
- package/dist/components/{p-BN9FZESH.js → p-1S9AW2MA.js} +2 -2
- package/dist/components/{p-D4bVE7e4.js → p-6B411hQA.js} +2 -2
- package/dist/components/{p-D5PN6zdD.js → p-B-kRByho.js} +2 -2
- package/dist/components/{p-CmUGA_q4.js → p-B4_0Ys4w.js} +2 -2
- package/dist/components/{p-BApNi_xA.js → p-B6RrZQqw.js} +2 -2
- package/dist/components/{p-CQ4vAZ9j.js → p-BBtjABBS.js} +2 -2
- package/dist/components/{p-CmMfRM1s.js → p-BFfHIu6y.js} +2 -2
- package/dist/components/{p-CBiAsFAZ.js → p-BPyymeuR.js} +2 -2
- package/dist/components/{p-Bgh0uG51.js → p-BR_oMaas.js} +2 -2
- package/dist/components/{p-w2kKeG_h.js → p-Bb4f5SuF.js} +2 -2
- package/dist/components/p-Bl6A5AJq.js +2 -0
- package/dist/components/{p-CIgag7g2.js.map → p-Bl6A5AJq.js.map} +1 -1
- package/dist/components/{p-B5snQKiP.js → p-BmNpPyzf.js} +2 -2
- package/dist/components/{p-CWItD0gL.js → p-Bmo4T96l.js} +2 -2
- package/dist/components/{p-DHAuidt1.js → p-Bsfpxto1.js} +2 -2
- package/dist/components/{p-a6cnCKWk.js → p-BtuYufL3.js} +2 -2
- package/dist/components/{p-BxEOlO5k.js → p-CKRJX0Y0.js} +2 -2
- package/dist/components/{p-1moOgMI-.js → p-Ca6s5fLR.js} +2 -2
- package/dist/components/{p-RT1mts9U.js → p-CbjFUpOj.js} +2 -2
- package/dist/components/{p-CqOswTy8.js → p-CuJ3J6OJ.js} +2 -2
- package/dist/components/{p-BQTJ7ePr.js → p-CxgMUvqg.js} +2 -2
- package/dist/components/{p-CWKrq35a.js → p-D0bM3cKj.js} +2 -2
- package/dist/components/{p-UtfErnpX.js → p-D2cjoj2r.js} +2 -2
- package/dist/components/{p-CGwVooB6.js → p-DHF5cLzr.js} +2 -2
- package/dist/components/{p-BgjtMMye.js → p-DVuxzrCC.js} +2 -2
- package/dist/components/p-DX4c3kZ1.js +2 -0
- package/dist/components/p-DX4c3kZ1.js.map +1 -0
- package/dist/components/p-DaqFuVKZ.js +2 -0
- package/dist/components/p-DaqFuVKZ.js.map +1 -0
- package/dist/components/{p-DXGKfXTh.js → p-DfvDNcoq.js} +2 -2
- package/dist/components/p-Di81y9Q2.js +2 -0
- package/dist/components/{p-C_3mZMFK.js → p-Eep5mxtv.js} +2 -2
- package/dist/components/{p-DoNdiEly.js → p-IYy-jODg.js} +2 -2
- package/dist/components/{p-DtV263qO.js → p-iCjUWcp7.js} +2 -2
- package/dist/components/{p-BgASe-BH.js → p-og48Kh2i.js} +2 -2
- package/dist/components/{p-BSocHH2X.js → p-wOOAzVMC.js} +2 -2
- package/dist/docs/components.json +445 -16
- package/dist/mcp-data/registry/agent-activity.json +1 -1
- package/dist/mcp-data/registry/agent-response.json +1 -1
- package/dist/mcp-data/registry/agent-source-list.json +1 -1
- package/dist/mcp-data/registry/agent-tool-call.json +1 -1
- package/dist/mcp-data/registry/attachment-list.json +1 -1
- package/dist/mcp-data/registry/avatar.json +1 -1
- package/dist/mcp-data/registry/badge.json +1 -1
- package/dist/mcp-data/registry/banner.json +333 -0
- package/dist/mcp-data/registry/bar-nav.json +1 -1
- package/dist/mcp-data/registry/bar-title.json +4 -4
- package/dist/mcp-data/registry/bar-workflow.json +1 -1
- package/dist/mcp-data/registry/breadcrumb.json +1 -1
- package/dist/mcp-data/registry/button-filled.json +1 -1
- package/dist/mcp-data/registry/button-unfilled.json +1 -1
- package/dist/mcp-data/registry/card-data-viz.json +1 -1
- package/dist/mcp-data/registry/card-overview.json +33 -35
- package/dist/mcp-data/registry/card-setting.json +1 -1
- package/dist/mcp-data/registry/chart-bar.json +1 -1
- package/dist/mcp-data/registry/chart-donut.json +1 -1
- package/dist/mcp-data/registry/chart-legend.json +1 -1
- package/dist/mcp-data/registry/chart-line.json +1 -1
- package/dist/mcp-data/registry/checkbox.json +1 -1
- package/dist/mcp-data/registry/chip.json +1 -1
- package/dist/mcp-data/registry/code-block.json +1 -1
- package/dist/mcp-data/registry/conversation-list-item.json +1 -1
- package/dist/mcp-data/registry/conversation-list-section.json +1 -1
- package/dist/mcp-data/registry/conversation-list.json +1 -1
- package/dist/mcp-data/registry/divider.json +1 -1
- package/dist/mcp-data/registry/empty-state.json +1 -1
- package/dist/mcp-data/registry/field.json +1 -1
- package/dist/mcp-data/registry/icon.json +1 -1
- package/dist/mcp-data/registry/input.json +6 -6
- package/dist/mcp-data/registry/loader.json +1 -1
- package/dist/mcp-data/registry/markdown.json +1 -1
- package/dist/mcp-data/registry/menu.json +1 -1
- package/dist/mcp-data/registry/message-actions.json +3 -2
- package/dist/mcp-data/registry/message-bubble.json +1 -1
- package/dist/mcp-data/registry/message-composer.json +1 -1
- package/dist/mcp-data/registry/message-scroller.json +1 -1
- package/dist/mcp-data/registry/message.json +1 -1
- package/dist/mcp-data/registry/mobile-bar-nav.json +1 -1
- package/dist/mcp-data/registry/mobile-header.json +1 -1
- package/dist/mcp-data/registry/mobile-section-switcher.json +1 -1
- package/dist/mcp-data/registry/mobile-sheet-nav.json +1 -1
- package/dist/mcp-data/registry/modal.json +26 -6
- package/dist/mcp-data/registry/panel-nav.json +1 -1
- package/dist/mcp-data/registry/panel-sub-nav.json +1 -1
- package/dist/mcp-data/registry/panel-tool-header.json +4 -4
- package/dist/mcp-data/registry/panel-tool-search.json +1 -1
- package/dist/mcp-data/registry/panel-tools.json +4 -3
- package/dist/mcp-data/registry/radio.json +1 -1
- package/dist/mcp-data/registry/registry.json +190 -26
- package/dist/mcp-data/registry/scroll-overlay.json +1 -1
- package/dist/mcp-data/registry/select.json +5 -5
- package/dist/mcp-data/registry/shell-app.json +7 -3
- package/dist/mcp-data/registry/shell-page.json +1 -1
- package/dist/mcp-data/registry/shell-tools.json +1 -1
- package/dist/mcp-data/registry/skeleton.json +1 -1
- package/dist/mcp-data/registry/slider.json +1 -1
- package/dist/mcp-data/registry/swatch-picker.json +1 -1
- package/dist/mcp-data/registry/switch.json +1 -1
- package/dist/mcp-data/registry/tab-group.json +1 -1
- package/dist/mcp-data/registry/tag.json +1 -1
- package/dist/mcp-data/registry/text.json +1 -1
- package/dist/mcp-data/registry/toast.json +1 -1
- package/dist/mcp-data/registry/tooltip-data-viz.json +1 -1
- package/dist/mcp-data/registry/tooltip.json +1 -1
- package/dist/mcp-data/registry/typing-indicator.json +1 -1
- package/dist/react/components.d.ts +1 -0
- package/dist/react/components.js +1 -0
- package/dist/react/ds-banner.d.ts +13 -0
- package/dist/react/ds-banner.js +15 -0
- package/dist/types/components/Banner/Banner.d.ts +50 -0
- package/dist/types/components/CardOverview/CardOverview.d.ts +10 -9
- package/dist/types/components/CardOverview/card-overview-controller.d.ts +13 -1
- package/dist/types/components/CardOverview/card-overview-types.d.ts +8 -2
- package/dist/types/components/CardOverview/index.d.ts +1 -1
- package/dist/types/components/Input/Input.d.ts +1 -1
- package/dist/types/components/Modal/Modal.d.ts +4 -0
- package/dist/types/components/PanelTools/PanelTools.d.ts +7 -0
- package/dist/types/components/Select/Select.d.ts +1 -1
- package/dist/types/components.d.ts +154 -16
- package/package.json +3 -3
- package/dist/components/p-4scN0Mgn.js +0 -2
- package/dist/components/p-B3PdrMP0.js +0 -2
- package/dist/components/p-B3PdrMP0.js.map +0 -1
- package/dist/components/p-CIgag7g2.js +0 -2
- package/dist/components/p-CUSz0JFa.js +0 -2
- package/dist/components/p-CUSz0JFa.js.map +0 -1
- /package/dist/components/{p-BN9FZESH.js.map → p-1S9AW2MA.js.map} +0 -0
- /package/dist/components/{p-D4bVE7e4.js.map → p-6B411hQA.js.map} +0 -0
- /package/dist/components/{p-D5PN6zdD.js.map → p-B-kRByho.js.map} +0 -0
- /package/dist/components/{p-CmUGA_q4.js.map → p-B4_0Ys4w.js.map} +0 -0
- /package/dist/components/{p-BApNi_xA.js.map → p-B6RrZQqw.js.map} +0 -0
- /package/dist/components/{p-CQ4vAZ9j.js.map → p-BBtjABBS.js.map} +0 -0
- /package/dist/components/{p-CmMfRM1s.js.map → p-BFfHIu6y.js.map} +0 -0
- /package/dist/components/{p-CBiAsFAZ.js.map → p-BPyymeuR.js.map} +0 -0
- /package/dist/components/{p-Bgh0uG51.js.map → p-BR_oMaas.js.map} +0 -0
- /package/dist/components/{p-w2kKeG_h.js.map → p-Bb4f5SuF.js.map} +0 -0
- /package/dist/components/{p-B5snQKiP.js.map → p-BmNpPyzf.js.map} +0 -0
- /package/dist/components/{p-CWItD0gL.js.map → p-Bmo4T96l.js.map} +0 -0
- /package/dist/components/{p-DHAuidt1.js.map → p-Bsfpxto1.js.map} +0 -0
- /package/dist/components/{p-a6cnCKWk.js.map → p-BtuYufL3.js.map} +0 -0
- /package/dist/components/{p-BxEOlO5k.js.map → p-CKRJX0Y0.js.map} +0 -0
- /package/dist/components/{p-1moOgMI-.js.map → p-Ca6s5fLR.js.map} +0 -0
- /package/dist/components/{p-RT1mts9U.js.map → p-CbjFUpOj.js.map} +0 -0
- /package/dist/components/{p-CqOswTy8.js.map → p-CuJ3J6OJ.js.map} +0 -0
- /package/dist/components/{p-BQTJ7ePr.js.map → p-CxgMUvqg.js.map} +0 -0
- /package/dist/components/{p-CWKrq35a.js.map → p-D0bM3cKj.js.map} +0 -0
- /package/dist/components/{p-UtfErnpX.js.map → p-D2cjoj2r.js.map} +0 -0
- /package/dist/components/{p-CGwVooB6.js.map → p-DHF5cLzr.js.map} +0 -0
- /package/dist/components/{p-BgjtMMye.js.map → p-DVuxzrCC.js.map} +0 -0
- /package/dist/components/{p-DXGKfXTh.js.map → p-DfvDNcoq.js.map} +0 -0
- /package/dist/components/{p-4scN0Mgn.js.map → p-Di81y9Q2.js.map} +0 -0
- /package/dist/components/{p-C_3mZMFK.js.map → p-Eep5mxtv.js.map} +0 -0
- /package/dist/components/{p-DoNdiEly.js.map → p-IYy-jODg.js.map} +0 -0
- /package/dist/components/{p-DtV263qO.js.map → p-iCjUWcp7.js.map} +0 -0
- /package/dist/components/{p-BgASe-BH.js.map → p-og48Kh2i.js.map} +0 -0
- /package/dist/components/{p-BSocHH2X.js.map → p-wOOAzVMC.js.map} +0 -0
package/dist/react/components.js
CHANGED
|
@@ -10,6 +10,7 @@ export { DsAgentToolCall } from "./ds-agent-tool-call.js";
|
|
|
10
10
|
export { DsAttachmentList } from "./ds-attachment-list.js";
|
|
11
11
|
export { DsAvatar } from "./ds-avatar.js";
|
|
12
12
|
export { DsBadge } from "./ds-badge.js";
|
|
13
|
+
export { DsBanner } from "./ds-banner.js";
|
|
13
14
|
export { DsBarNav } from "./ds-bar-nav.js";
|
|
14
15
|
export { DsBarTitle } from "./ds-bar-title.js";
|
|
15
16
|
export { DsBarWorkflow } from "./ds-bar-workflow.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
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 DsBannerCustomEvent } from "@ds-mo/ui";
|
|
7
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
|
+
import { DsBanner as DsBannerElement } from "@ds-mo/ui/dist/components/ds-banner.js";
|
|
9
|
+
export type DsBannerEvents = {
|
|
10
|
+
onDsClose: EventName<DsBannerCustomEvent<MouseEvent>>;
|
|
11
|
+
onDsAfterClose: EventName<DsBannerCustomEvent<void>>;
|
|
12
|
+
};
|
|
13
|
+
export declare const DsBanner: StencilReactComponent<DsBannerElement, DsBannerEvents, Components.DsBanner, 'description'>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from './react-runtime.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsBanner as DsBannerElement, defineCustomElement as defineDsBanner } from "@ds-mo/ui/dist/components/ds-banner.js";
|
|
5
|
+
export const DsBanner = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-banner',
|
|
7
|
+
elementClass: DsBannerElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: {
|
|
11
|
+
onDsClose: 'dsClose',
|
|
12
|
+
onDsAfterClose: 'dsAfterClose'
|
|
13
|
+
},
|
|
14
|
+
defineCustomElement: defineDsBanner
|
|
15
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BannerIntent = 'neutral' | 'brand' | 'positive' | 'warning' | 'caution' | 'negative';
|
|
3
|
+
export type BannerContrast = 'faint' | 'medium' | 'strong' | 'bold';
|
|
4
|
+
export type BannerAnnouncement = 'none' | 'polite' | 'assertive';
|
|
5
|
+
export type BannerOrientation = 'horizontal' | 'vertical';
|
|
6
|
+
export declare class Banner {
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
/** Required explanatory copy. */
|
|
9
|
+
description: string;
|
|
10
|
+
/** Optional visual heading rendered before the description. */
|
|
11
|
+
heading: string;
|
|
12
|
+
/** Semantic color family. */
|
|
13
|
+
intent: BannerIntent;
|
|
14
|
+
/** Surface fill weight. */
|
|
15
|
+
contrast: BannerContrast;
|
|
16
|
+
/** Copy and action-lane arrangement, selected by the application. */
|
|
17
|
+
orientation: BannerOrientation;
|
|
18
|
+
/** Controlled visibility. Keep the element mounted until dsAfterClose when unmounting. */
|
|
19
|
+
open: boolean;
|
|
20
|
+
/** Localized accessible label for the close control. */
|
|
21
|
+
dismissLabel: string;
|
|
22
|
+
/** Live-region urgency, independent of visual intent. */
|
|
23
|
+
announcement: BannerAnnouncement;
|
|
24
|
+
/** Emitted when the close control requests dismissal. The application controls open. */
|
|
25
|
+
dsClose: EventEmitter<MouseEvent>;
|
|
26
|
+
/** Emitted once after controlled exit motion and layout collapse complete. */
|
|
27
|
+
dsAfterClose: EventEmitter<void>;
|
|
28
|
+
private rendered;
|
|
29
|
+
private phase;
|
|
30
|
+
private hasActions;
|
|
31
|
+
private loaded;
|
|
32
|
+
private transitionTimer;
|
|
33
|
+
private openFrame;
|
|
34
|
+
private closePending;
|
|
35
|
+
componentWillLoad(): void;
|
|
36
|
+
componentDidLoad(): void;
|
|
37
|
+
disconnectedCallback(): void;
|
|
38
|
+
onOpenChange(isOpen: boolean): void;
|
|
39
|
+
private get closeMotionMs();
|
|
40
|
+
private clearTransitionWork;
|
|
41
|
+
private startOpen;
|
|
42
|
+
private startClose;
|
|
43
|
+
private finishClose;
|
|
44
|
+
private updateActionsPresence;
|
|
45
|
+
private requestClose;
|
|
46
|
+
private get role();
|
|
47
|
+
private get ariaLive();
|
|
48
|
+
render(): any;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -6,17 +6,17 @@ export declare class CardOverview {
|
|
|
6
6
|
variant: CardOverviewVariant;
|
|
7
7
|
/** Intrinsic responsive layout, or a page-owned single-column stack. */
|
|
8
8
|
layout: CardOverviewLayout;
|
|
9
|
-
/**
|
|
9
|
+
/** Optional nonselectable safety score rendered as the first grid cell. */
|
|
10
10
|
score: OverviewScore | undefined;
|
|
11
|
-
/**
|
|
11
|
+
/** Fixed current date or range. Replaced by content in the `period` slot. */
|
|
12
12
|
periodLabel: string;
|
|
13
|
-
/**
|
|
13
|
+
/** Copy between the current period and comparison control, usually `vs.`. */
|
|
14
14
|
comparisonLabel: string;
|
|
15
|
-
/** Measures rendered in the responsive grid. Only the first
|
|
15
|
+
/** Measures rendered in the responsive grid. Only the first seven are shown. */
|
|
16
16
|
metrics: OverviewMetric[];
|
|
17
17
|
/**
|
|
18
18
|
* Width a metric cell may shrink to before the grid drops a column. The grid
|
|
19
|
-
*
|
|
19
|
+
* uses this threshold while choosing an evenly distributed column count.
|
|
20
20
|
*/
|
|
21
21
|
metricMinWidth: string;
|
|
22
22
|
/** Replace the score and metrics with skeletons while data resolves. */
|
|
@@ -28,9 +28,8 @@ export declare class CardOverview {
|
|
|
28
28
|
/**
|
|
29
29
|
* Page-controlled visual collapse from the full card (`0`) toward its 48px
|
|
30
30
|
* compact handoff height (`1`). The component preserves its expanded flow
|
|
31
|
-
* height, keeps
|
|
32
|
-
*
|
|
33
|
-
* swap to `variant="compact"`.
|
|
31
|
+
* height, keeps the period bar stationary, and moves/clips the grid beneath
|
|
32
|
+
* it. The page still owns sticky positioning and the final compact handoff.
|
|
34
33
|
*/
|
|
35
34
|
scrollCollapseProgress: number;
|
|
36
35
|
/** Emitted when a metric that is not inactive is activated. */
|
|
@@ -38,16 +37,18 @@ export declare class CardOverview {
|
|
|
38
37
|
/** Roving tab stop across selectable metrics. */
|
|
39
38
|
private focusedMetricIndex;
|
|
40
39
|
private expandedHeight;
|
|
40
|
+
private gridColumns;
|
|
41
41
|
private layoutEl?;
|
|
42
42
|
private layoutResizeObserver;
|
|
43
43
|
componentDidLoad(): void;
|
|
44
44
|
componentDidRender(): void;
|
|
45
45
|
disconnectedCallback(): void;
|
|
46
|
-
private get hasScore();
|
|
47
46
|
private get visibleMetrics();
|
|
47
|
+
private get visibleCellCount();
|
|
48
48
|
private get resolvedScrollCollapseProgress();
|
|
49
49
|
private get scrollCollapseGeometry();
|
|
50
50
|
private observeLayout;
|
|
51
|
+
private updateLayoutGeometry;
|
|
51
52
|
/** Index of the roving tab stop, skipping inactive metrics. */
|
|
52
53
|
private get rovingIndex();
|
|
53
54
|
private selectMetric;
|
|
@@ -1,16 +1,28 @@
|
|
|
1
|
-
import type { CardOverviewVariant, OverviewMetric } from './card-overview-types';
|
|
1
|
+
import type { CardOverviewVariant, OverviewMetric, SafetyScoreLevel } from './card-overview-types';
|
|
2
2
|
export interface CardOverviewCollapseGeometry {
|
|
3
3
|
active: boolean;
|
|
4
4
|
expandedHeight: number;
|
|
5
5
|
offset: number;
|
|
6
6
|
visibleHeight: number;
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* Choose the densest column count that fits without leaving an incomplete row
|
|
10
|
+
* for even cell totals. Odd totals retain the densest fitting layout and may
|
|
11
|
+
* therefore leave an orphan in the final row.
|
|
12
|
+
*/
|
|
13
|
+
export declare function resolveOverviewGridColumns(options: {
|
|
14
|
+
cellCount: number;
|
|
15
|
+
availableWidth: number;
|
|
16
|
+
minCellWidth: number;
|
|
17
|
+
maxColumns?: number;
|
|
18
|
+
}): number;
|
|
8
19
|
export declare function resolveCardOverviewCollapseGeometry(options: {
|
|
9
20
|
variant: CardOverviewVariant;
|
|
10
21
|
progress: number;
|
|
11
22
|
expandedHeight: number;
|
|
12
23
|
compactHeight: number;
|
|
13
24
|
}): CardOverviewCollapseGeometry;
|
|
25
|
+
export declare function resolveSafetyScoreLevel(value: string | number): SafetyScoreLevel | undefined;
|
|
14
26
|
export declare function resolveOverviewRovingIndex(metrics: readonly OverviewMetric[], focusedIndex: number): number;
|
|
15
27
|
export declare function findNextOverviewMetricIndex(metrics: readonly OverviewMetric[], from: number, step: -1 | 1): number;
|
|
16
28
|
//# sourceMappingURL=card-overview-controller.d.ts.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { MetricTrend } from '../../utils/metric-change';
|
|
2
2
|
export type CardOverviewVariant = 'default' | 'compact';
|
|
3
3
|
export type CardOverviewLayout = 'auto' | 'stacked';
|
|
4
|
+
export type SafetyScoreLevel = 'fair' | 'good' | 'excellent';
|
|
4
5
|
/**
|
|
5
6
|
* Leading summary block — the headline figure the rest of the bar contextualises.
|
|
6
7
|
*
|
|
@@ -8,13 +9,18 @@ export type CardOverviewLayout = 'auto' | 'stacked';
|
|
|
8
9
|
* product decision rather than a design-system one.
|
|
9
10
|
*/
|
|
10
11
|
export interface OverviewScore {
|
|
11
|
-
/** Category
|
|
12
|
+
/** Category before the trend and figure, for example `Safety score`. */
|
|
12
13
|
label: string;
|
|
13
14
|
/** Display-ready headline figure. */
|
|
14
15
|
value: string | number;
|
|
15
16
|
/** Change against the comparison period. Omit when there is nothing to report. */
|
|
16
17
|
trend?: MetricTrend;
|
|
17
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Safety score color level. Numeric values from 0–100 infer fair (0–50),
|
|
20
|
+
* good (51–80), or excellent (81–100) when this is omitted.
|
|
21
|
+
*/
|
|
22
|
+
level?: SafetyScoreLevel;
|
|
23
|
+
/** @deprecated Ignored. The redesigned score cell no longer renders a band. */
|
|
18
24
|
band?: string;
|
|
19
25
|
}
|
|
20
26
|
/** One measure in the overview grid. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { CardOverviewLayout, CardOverviewVariant, OverviewMetric, OverviewScore, } from './card-overview-types';
|
|
1
|
+
export type { CardOverviewLayout, CardOverviewVariant, OverviewMetric, OverviewScore, SafetyScoreLevel, } from './card-overview-types';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -29,7 +29,7 @@ export declare class Input {
|
|
|
29
29
|
size: InputSize;
|
|
30
30
|
/** Width fit — fill the parent (default) or hug the available content. */
|
|
31
31
|
width: InputWidth;
|
|
32
|
-
/** Show the standard inset border. */
|
|
32
|
+
/** Show the standard inset border, including focused and invalid strokes. */
|
|
33
33
|
hasBorder: boolean;
|
|
34
34
|
/** Optional leading icon name. */
|
|
35
35
|
icon: string | undefined;
|
|
@@ -9,6 +9,8 @@ export declare class Modal {
|
|
|
9
9
|
el: HTMLElement;
|
|
10
10
|
open: boolean;
|
|
11
11
|
heading: string;
|
|
12
|
+
/** Optional supporting copy shown below the heading. */
|
|
13
|
+
description: string;
|
|
12
14
|
closeAriaLabel: string;
|
|
13
15
|
modalWidth: ModalWidth | string;
|
|
14
16
|
/** Optional id reference for explanatory content in the default slot. */
|
|
@@ -20,6 +22,7 @@ export declare class Modal {
|
|
|
20
22
|
/** Emitted after exit motion completes, the top layer closes, and focus is restored. */
|
|
21
23
|
dsAfterClose: EventEmitter<void>;
|
|
22
24
|
private titleId;
|
|
25
|
+
private descriptionId;
|
|
23
26
|
private dialogEl;
|
|
24
27
|
private previousFocus;
|
|
25
28
|
private closeTimer;
|
|
@@ -34,6 +37,7 @@ export declare class Modal {
|
|
|
34
37
|
private handleBackdropPointerDown;
|
|
35
38
|
private handleKeyDown;
|
|
36
39
|
private get resolvedWidth();
|
|
40
|
+
private get describedBy();
|
|
37
41
|
private get closeAnimationMs();
|
|
38
42
|
private finishClose;
|
|
39
43
|
render(): any;
|
|
@@ -56,6 +56,7 @@ export declare class PanelTools {
|
|
|
56
56
|
private presentationMotionSuppressed;
|
|
57
57
|
private rovingIndex;
|
|
58
58
|
private fullViewToolIds;
|
|
59
|
+
private railBodyScrollable;
|
|
59
60
|
private motionEnableGeneration;
|
|
60
61
|
private presentationMotionGeneration;
|
|
61
62
|
private transitionGeneration;
|
|
@@ -64,6 +65,8 @@ export declare class PanelTools {
|
|
|
64
65
|
private ignoreReplacementTerminal;
|
|
65
66
|
private focusBeforeFullscreen;
|
|
66
67
|
private fullViewObserver;
|
|
68
|
+
private railBodyEl?;
|
|
69
|
+
private railBodyObserver?;
|
|
67
70
|
private get railItems();
|
|
68
71
|
private get orderedRailItems();
|
|
69
72
|
disconnectedCallback(): void;
|
|
@@ -77,6 +80,10 @@ export declare class PanelTools {
|
|
|
77
80
|
activeToolChanged(): void;
|
|
78
81
|
storageKeyChanged(): void;
|
|
79
82
|
componentDidLoad(): void;
|
|
83
|
+
componentDidRender(): void;
|
|
84
|
+
private connectRailBodyObserver;
|
|
85
|
+
private disconnectRailBodyObserver;
|
|
86
|
+
private updateRailBodyScrollable;
|
|
80
87
|
itemsChanged(): void;
|
|
81
88
|
private restoreLastActiveTool;
|
|
82
89
|
private persistLastActiveTool;
|
|
@@ -40,7 +40,7 @@ export declare class Select {
|
|
|
40
40
|
isLoading: boolean;
|
|
41
41
|
/** Show the selected interaction fill when a valid value exists. */
|
|
42
42
|
activeFill: boolean;
|
|
43
|
-
/** Show the surface-aware inset border. */
|
|
43
|
+
/** Show the surface-aware inset border, including focused and invalid strokes. */
|
|
44
44
|
hasBorder: boolean;
|
|
45
45
|
/** Optional trigger prefix icon name. */
|
|
46
46
|
icon: string | undefined;
|
|
@@ -9,6 +9,7 @@ import { AgentActivityItem, AgentResponsePart, AgentSource, AgentToolState, Conv
|
|
|
9
9
|
import { IconColor, IconSize as IconSize1 } from "./components/Icon/Icon";
|
|
10
10
|
import { AvatarSize } from "./components/Avatar/Avatar";
|
|
11
11
|
import { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
12
|
+
import { BannerAnnouncement, BannerContrast, BannerIntent, BannerOrientation } from "./components/Banner/Banner";
|
|
12
13
|
import { NavChromeStyle } from "./shell/nav-chrome";
|
|
13
14
|
import { BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
14
15
|
import { BreadcrumbItem, BreadcrumbSelectDetail } from "./components/Breadcrumb/breadcrumb-types";
|
|
@@ -65,6 +66,7 @@ export { AgentActivityItem, AgentResponsePart, AgentSource, AgentToolState, Conv
|
|
|
65
66
|
export { IconColor, IconSize as IconSize1 } from "./components/Icon/Icon";
|
|
66
67
|
export { AvatarSize } from "./components/Avatar/Avatar";
|
|
67
68
|
export { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
69
|
+
export { BannerAnnouncement, BannerContrast, BannerIntent, BannerOrientation } from "./components/Banner/Banner";
|
|
68
70
|
export { NavChromeStyle } from "./shell/nav-chrome";
|
|
69
71
|
export { BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
70
72
|
export { BreadcrumbItem, BreadcrumbSelectDetail } from "./components/Breadcrumb/breadcrumb-types";
|
|
@@ -269,6 +271,47 @@ export namespace Components {
|
|
|
269
271
|
*/
|
|
270
272
|
"variant": BadgeVariant;
|
|
271
273
|
}
|
|
274
|
+
interface DsBanner {
|
|
275
|
+
/**
|
|
276
|
+
* Live-region urgency, independent of visual intent.
|
|
277
|
+
* @default 'none'
|
|
278
|
+
*/
|
|
279
|
+
"announcement": BannerAnnouncement;
|
|
280
|
+
/**
|
|
281
|
+
* Surface fill weight.
|
|
282
|
+
* @default 'faint'
|
|
283
|
+
*/
|
|
284
|
+
"contrast": BannerContrast;
|
|
285
|
+
/**
|
|
286
|
+
* Required explanatory copy.
|
|
287
|
+
*/
|
|
288
|
+
"description": string;
|
|
289
|
+
/**
|
|
290
|
+
* Localized accessible label for the close control.
|
|
291
|
+
* @default 'Dismiss banner'
|
|
292
|
+
*/
|
|
293
|
+
"dismissLabel": string;
|
|
294
|
+
/**
|
|
295
|
+
* Optional visual heading rendered before the description.
|
|
296
|
+
* @default ''
|
|
297
|
+
*/
|
|
298
|
+
"heading": string;
|
|
299
|
+
/**
|
|
300
|
+
* Semantic color family.
|
|
301
|
+
* @default 'neutral'
|
|
302
|
+
*/
|
|
303
|
+
"intent": BannerIntent;
|
|
304
|
+
/**
|
|
305
|
+
* Controlled visibility. Keep the element mounted until dsAfterClose when unmounting.
|
|
306
|
+
* @default true
|
|
307
|
+
*/
|
|
308
|
+
"open": boolean;
|
|
309
|
+
/**
|
|
310
|
+
* Copy and action-lane arrangement, selected by the application.
|
|
311
|
+
* @default 'horizontal'
|
|
312
|
+
*/
|
|
313
|
+
"orientation": BannerOrientation;
|
|
314
|
+
}
|
|
272
315
|
interface DsBarNav {
|
|
273
316
|
/**
|
|
274
317
|
* Section base path (e.g. `/dashboard/safety`). Used with `currentUrl` to derive `value`.
|
|
@@ -661,7 +704,7 @@ export namespace Components {
|
|
|
661
704
|
}
|
|
662
705
|
interface DsCardOverview {
|
|
663
706
|
/**
|
|
664
|
-
*
|
|
707
|
+
* Copy between the current period and comparison control, usually `vs.`.
|
|
665
708
|
* @default ''
|
|
666
709
|
*/
|
|
667
710
|
"comparisonLabel": string;
|
|
@@ -676,12 +719,12 @@ export namespace Components {
|
|
|
676
719
|
*/
|
|
677
720
|
"layout": CardOverviewLayout;
|
|
678
721
|
/**
|
|
679
|
-
* Width a metric cell may shrink to before the grid drops a column. The grid
|
|
722
|
+
* Width a metric cell may shrink to before the grid drops a column. The grid uses this threshold while choosing an evenly distributed column count.
|
|
680
723
|
* @default 'var(--dimension-menu-width-xs)'
|
|
681
724
|
*/
|
|
682
725
|
"metricMinWidth": string;
|
|
683
726
|
/**
|
|
684
|
-
* Measures rendered in the responsive grid. Only the first
|
|
727
|
+
* Measures rendered in the responsive grid. Only the first seven are shown.
|
|
685
728
|
* @default []
|
|
686
729
|
*/
|
|
687
730
|
"metrics": OverviewMetric[];
|
|
@@ -691,12 +734,12 @@ export namespace Components {
|
|
|
691
734
|
*/
|
|
692
735
|
"overviewLabel": string;
|
|
693
736
|
/**
|
|
694
|
-
*
|
|
737
|
+
* Fixed current date or range. Replaced by content in the `period` slot.
|
|
695
738
|
* @default ''
|
|
696
739
|
*/
|
|
697
740
|
"periodLabel": string;
|
|
698
741
|
/**
|
|
699
|
-
*
|
|
742
|
+
* Optional nonselectable safety score rendered as the first grid cell.
|
|
700
743
|
*/
|
|
701
744
|
"score": OverviewScore | undefined;
|
|
702
745
|
/**
|
|
@@ -704,7 +747,7 @@ export namespace Components {
|
|
|
704
747
|
*/
|
|
705
748
|
"scoreErrorMessage": string | undefined;
|
|
706
749
|
/**
|
|
707
|
-
* Page-controlled visual collapse from the full card (`0`) toward its 48px compact handoff height (`1`). The component preserves its expanded flow height, keeps
|
|
750
|
+
* Page-controlled visual collapse from the full card (`0`) toward its 48px compact handoff height (`1`). The component preserves its expanded flow height, keeps the period bar stationary, and moves/clips the grid beneath it. The page still owns sticky positioning and the final compact handoff.
|
|
708
751
|
* @default 0
|
|
709
752
|
*/
|
|
710
753
|
"scrollCollapseProgress": number;
|
|
@@ -1168,7 +1211,7 @@ export namespace Components {
|
|
|
1168
1211
|
"errorMessage": string | undefined;
|
|
1169
1212
|
"form": string | undefined;
|
|
1170
1213
|
/**
|
|
1171
|
-
* Show the standard inset border.
|
|
1214
|
+
* Show the standard inset border, including focused and invalid strokes.
|
|
1172
1215
|
* @default true
|
|
1173
1216
|
*/
|
|
1174
1217
|
"hasBorder": boolean;
|
|
@@ -1584,6 +1627,11 @@ export namespace Components {
|
|
|
1584
1627
|
* @default 'Close'
|
|
1585
1628
|
*/
|
|
1586
1629
|
"closeAriaLabel": string;
|
|
1630
|
+
/**
|
|
1631
|
+
* Optional supporting copy shown below the heading.
|
|
1632
|
+
* @default ''
|
|
1633
|
+
*/
|
|
1634
|
+
"description": string;
|
|
1587
1635
|
"heading": string;
|
|
1588
1636
|
/**
|
|
1589
1637
|
* @default 'md'
|
|
@@ -2005,7 +2053,7 @@ export namespace Components {
|
|
|
2005
2053
|
*/
|
|
2006
2054
|
"errorMessage": string | undefined;
|
|
2007
2055
|
/**
|
|
2008
|
-
* Show the surface-aware inset border.
|
|
2056
|
+
* Show the surface-aware inset border, including focused and invalid strokes.
|
|
2009
2057
|
* @default true
|
|
2010
2058
|
*/
|
|
2011
2059
|
"hasBorder": boolean;
|
|
@@ -2719,6 +2767,10 @@ export namespace Components {
|
|
|
2719
2767
|
"label": string;
|
|
2720
2768
|
}
|
|
2721
2769
|
}
|
|
2770
|
+
export interface DsBannerCustomEvent<T> extends CustomEvent<T> {
|
|
2771
|
+
detail: T;
|
|
2772
|
+
target: HTMLDsBannerElement;
|
|
2773
|
+
}
|
|
2722
2774
|
export interface DsBarNavCustomEvent<T> extends CustomEvent<T> {
|
|
2723
2775
|
detail: T;
|
|
2724
2776
|
target: HTMLDsBarNavElement;
|
|
@@ -2922,6 +2974,24 @@ declare global {
|
|
|
2922
2974
|
prototype: HTMLDsBadgeElement;
|
|
2923
2975
|
new (): HTMLDsBadgeElement;
|
|
2924
2976
|
};
|
|
2977
|
+
interface HTMLDsBannerElementEventMap {
|
|
2978
|
+
"dsClose": MouseEvent;
|
|
2979
|
+
"dsAfterClose": void;
|
|
2980
|
+
}
|
|
2981
|
+
interface HTMLDsBannerElement extends Components.DsBanner, HTMLStencilElement {
|
|
2982
|
+
addEventListener<K extends keyof HTMLDsBannerElementEventMap>(type: K, listener: (this: HTMLDsBannerElement, ev: DsBannerCustomEvent<HTMLDsBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2983
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2984
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2985
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2986
|
+
removeEventListener<K extends keyof HTMLDsBannerElementEventMap>(type: K, listener: (this: HTMLDsBannerElement, ev: DsBannerCustomEvent<HTMLDsBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2987
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2988
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2989
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2990
|
+
}
|
|
2991
|
+
var HTMLDsBannerElement: {
|
|
2992
|
+
prototype: HTMLDsBannerElement;
|
|
2993
|
+
new (): HTMLDsBannerElement;
|
|
2994
|
+
};
|
|
2925
2995
|
interface HTMLDsBarNavElementEventMap {
|
|
2926
2996
|
"dsTabChange": string;
|
|
2927
2997
|
}
|
|
@@ -3834,6 +3904,7 @@ declare global {
|
|
|
3834
3904
|
"ds-attachment-list": HTMLDsAttachmentListElement;
|
|
3835
3905
|
"ds-avatar": HTMLDsAvatarElement;
|
|
3836
3906
|
"ds-badge": HTMLDsBadgeElement;
|
|
3907
|
+
"ds-banner": HTMLDsBannerElement;
|
|
3837
3908
|
"ds-bar-nav": HTMLDsBarNavElement;
|
|
3838
3909
|
"ds-bar-title": HTMLDsBarTitleElement;
|
|
3839
3910
|
"ds-bar-workflow": HTMLDsBarWorkflowElement;
|
|
@@ -4049,6 +4120,55 @@ declare namespace LocalJSX {
|
|
|
4049
4120
|
*/
|
|
4050
4121
|
"variant"?: BadgeVariant;
|
|
4051
4122
|
}
|
|
4123
|
+
interface DsBanner {
|
|
4124
|
+
/**
|
|
4125
|
+
* Live-region urgency, independent of visual intent.
|
|
4126
|
+
* @default 'none'
|
|
4127
|
+
*/
|
|
4128
|
+
"announcement"?: BannerAnnouncement;
|
|
4129
|
+
/**
|
|
4130
|
+
* Surface fill weight.
|
|
4131
|
+
* @default 'faint'
|
|
4132
|
+
*/
|
|
4133
|
+
"contrast"?: BannerContrast;
|
|
4134
|
+
/**
|
|
4135
|
+
* Required explanatory copy.
|
|
4136
|
+
*/
|
|
4137
|
+
"description": string;
|
|
4138
|
+
/**
|
|
4139
|
+
* Localized accessible label for the close control.
|
|
4140
|
+
* @default 'Dismiss banner'
|
|
4141
|
+
*/
|
|
4142
|
+
"dismissLabel"?: string;
|
|
4143
|
+
/**
|
|
4144
|
+
* Optional visual heading rendered before the description.
|
|
4145
|
+
* @default ''
|
|
4146
|
+
*/
|
|
4147
|
+
"heading"?: string;
|
|
4148
|
+
/**
|
|
4149
|
+
* Semantic color family.
|
|
4150
|
+
* @default 'neutral'
|
|
4151
|
+
*/
|
|
4152
|
+
"intent"?: BannerIntent;
|
|
4153
|
+
/**
|
|
4154
|
+
* Emitted once after controlled exit motion and layout collapse complete.
|
|
4155
|
+
*/
|
|
4156
|
+
"onDsAfterClose"?: (event: DsBannerCustomEvent<void>) => void;
|
|
4157
|
+
/**
|
|
4158
|
+
* Emitted when the close control requests dismissal. The application controls open.
|
|
4159
|
+
*/
|
|
4160
|
+
"onDsClose"?: (event: DsBannerCustomEvent<MouseEvent>) => void;
|
|
4161
|
+
/**
|
|
4162
|
+
* Controlled visibility. Keep the element mounted until dsAfterClose when unmounting.
|
|
4163
|
+
* @default true
|
|
4164
|
+
*/
|
|
4165
|
+
"open"?: boolean;
|
|
4166
|
+
/**
|
|
4167
|
+
* Copy and action-lane arrangement, selected by the application.
|
|
4168
|
+
* @default 'horizontal'
|
|
4169
|
+
*/
|
|
4170
|
+
"orientation"?: BannerOrientation;
|
|
4171
|
+
}
|
|
4052
4172
|
interface DsBarNav {
|
|
4053
4173
|
/**
|
|
4054
4174
|
* Section base path (e.g. `/dashboard/safety`). Used with `currentUrl` to derive `value`.
|
|
@@ -4482,7 +4602,7 @@ declare namespace LocalJSX {
|
|
|
4482
4602
|
}
|
|
4483
4603
|
interface DsCardOverview {
|
|
4484
4604
|
/**
|
|
4485
|
-
*
|
|
4605
|
+
* Copy between the current period and comparison control, usually `vs.`.
|
|
4486
4606
|
* @default ''
|
|
4487
4607
|
*/
|
|
4488
4608
|
"comparisonLabel"?: string;
|
|
@@ -4497,12 +4617,12 @@ declare namespace LocalJSX {
|
|
|
4497
4617
|
*/
|
|
4498
4618
|
"layout"?: CardOverviewLayout;
|
|
4499
4619
|
/**
|
|
4500
|
-
* Width a metric cell may shrink to before the grid drops a column. The grid
|
|
4620
|
+
* Width a metric cell may shrink to before the grid drops a column. The grid uses this threshold while choosing an evenly distributed column count.
|
|
4501
4621
|
* @default 'var(--dimension-menu-width-xs)'
|
|
4502
4622
|
*/
|
|
4503
4623
|
"metricMinWidth"?: string;
|
|
4504
4624
|
/**
|
|
4505
|
-
* Measures rendered in the responsive grid. Only the first
|
|
4625
|
+
* Measures rendered in the responsive grid. Only the first seven are shown.
|
|
4506
4626
|
* @default []
|
|
4507
4627
|
*/
|
|
4508
4628
|
"metrics"?: OverviewMetric[];
|
|
@@ -4516,12 +4636,12 @@ declare namespace LocalJSX {
|
|
|
4516
4636
|
*/
|
|
4517
4637
|
"overviewLabel"?: string;
|
|
4518
4638
|
/**
|
|
4519
|
-
*
|
|
4639
|
+
* Fixed current date or range. Replaced by content in the `period` slot.
|
|
4520
4640
|
* @default ''
|
|
4521
4641
|
*/
|
|
4522
4642
|
"periodLabel"?: string;
|
|
4523
4643
|
/**
|
|
4524
|
-
*
|
|
4644
|
+
* Optional nonselectable safety score rendered as the first grid cell.
|
|
4525
4645
|
*/
|
|
4526
4646
|
"score"?: OverviewScore | undefined;
|
|
4527
4647
|
/**
|
|
@@ -4529,7 +4649,7 @@ declare namespace LocalJSX {
|
|
|
4529
4649
|
*/
|
|
4530
4650
|
"scoreErrorMessage"?: string | undefined;
|
|
4531
4651
|
/**
|
|
4532
|
-
* Page-controlled visual collapse from the full card (`0`) toward its 48px compact handoff height (`1`). The component preserves its expanded flow height, keeps
|
|
4652
|
+
* Page-controlled visual collapse from the full card (`0`) toward its 48px compact handoff height (`1`). The component preserves its expanded flow height, keeps the period bar stationary, and moves/clips the grid beneath it. The page still owns sticky positioning and the final compact handoff.
|
|
4533
4653
|
* @default 0
|
|
4534
4654
|
*/
|
|
4535
4655
|
"scrollCollapseProgress"?: number;
|
|
@@ -5022,7 +5142,7 @@ declare namespace LocalJSX {
|
|
|
5022
5142
|
"errorMessage"?: string | undefined;
|
|
5023
5143
|
"form"?: string | undefined;
|
|
5024
5144
|
/**
|
|
5025
|
-
* Show the standard inset border.
|
|
5145
|
+
* Show the standard inset border, including focused and invalid strokes.
|
|
5026
5146
|
* @default true
|
|
5027
5147
|
*/
|
|
5028
5148
|
"hasBorder"?: boolean;
|
|
@@ -5467,6 +5587,11 @@ declare namespace LocalJSX {
|
|
|
5467
5587
|
* @default 'Close'
|
|
5468
5588
|
*/
|
|
5469
5589
|
"closeAriaLabel"?: string;
|
|
5590
|
+
/**
|
|
5591
|
+
* Optional supporting copy shown below the heading.
|
|
5592
|
+
* @default ''
|
|
5593
|
+
*/
|
|
5594
|
+
"description"?: string;
|
|
5470
5595
|
"heading": string;
|
|
5471
5596
|
/**
|
|
5472
5597
|
* @default 'md'
|
|
@@ -5936,7 +6061,7 @@ declare namespace LocalJSX {
|
|
|
5936
6061
|
*/
|
|
5937
6062
|
"form"?: string;
|
|
5938
6063
|
/**
|
|
5939
|
-
* Show the surface-aware inset border.
|
|
6064
|
+
* Show the surface-aware inset border, including focused and invalid strokes.
|
|
5940
6065
|
* @default true
|
|
5941
6066
|
*/
|
|
5942
6067
|
"hasBorder"?: boolean;
|
|
@@ -6766,6 +6891,16 @@ declare namespace LocalJSX {
|
|
|
6766
6891
|
"gradientBackground": boolean;
|
|
6767
6892
|
"label": string | undefined;
|
|
6768
6893
|
}
|
|
6894
|
+
interface DsBannerAttributes {
|
|
6895
|
+
"description": string;
|
|
6896
|
+
"heading": string;
|
|
6897
|
+
"intent": BannerIntent;
|
|
6898
|
+
"contrast": BannerContrast;
|
|
6899
|
+
"orientation": BannerOrientation;
|
|
6900
|
+
"open": boolean;
|
|
6901
|
+
"dismissLabel": string;
|
|
6902
|
+
"announcement": BannerAnnouncement;
|
|
6903
|
+
}
|
|
6769
6904
|
interface DsBarNavAttributes {
|
|
6770
6905
|
"navStyle": NavChromeStyle;
|
|
6771
6906
|
"value": string;
|
|
@@ -7093,6 +7228,7 @@ declare namespace LocalJSX {
|
|
|
7093
7228
|
interface DsModalAttributes {
|
|
7094
7229
|
"open": boolean;
|
|
7095
7230
|
"heading": string;
|
|
7231
|
+
"description": string;
|
|
7096
7232
|
"closeAriaLabel": string;
|
|
7097
7233
|
"modalWidth": ModalWidth | string;
|
|
7098
7234
|
"ariaDescribedby": string | undefined;
|
|
@@ -7358,6 +7494,7 @@ declare namespace LocalJSX {
|
|
|
7358
7494
|
"ds-attachment-list": Omit<DsAttachmentList, keyof DsAttachmentListAttributes> & { [K in keyof DsAttachmentList & keyof DsAttachmentListAttributes]?: DsAttachmentList[K] } & { [K in keyof DsAttachmentList & keyof DsAttachmentListAttributes as `attr:${K}`]?: DsAttachmentListAttributes[K] } & { [K in keyof DsAttachmentList & keyof DsAttachmentListAttributes as `prop:${K}`]?: DsAttachmentList[K] };
|
|
7359
7495
|
"ds-avatar": Omit<DsAvatar, keyof DsAvatarAttributes> & { [K in keyof DsAvatar & keyof DsAvatarAttributes]?: DsAvatar[K] } & { [K in keyof DsAvatar & keyof DsAvatarAttributes as `attr:${K}`]?: DsAvatarAttributes[K] } & { [K in keyof DsAvatar & keyof DsAvatarAttributes as `prop:${K}`]?: DsAvatar[K] };
|
|
7360
7496
|
"ds-badge": Omit<DsBadge, keyof DsBadgeAttributes> & { [K in keyof DsBadge & keyof DsBadgeAttributes]?: DsBadge[K] } & { [K in keyof DsBadge & keyof DsBadgeAttributes as `attr:${K}`]?: DsBadgeAttributes[K] } & { [K in keyof DsBadge & keyof DsBadgeAttributes as `prop:${K}`]?: DsBadge[K] };
|
|
7497
|
+
"ds-banner": Omit<DsBanner, keyof DsBannerAttributes> & { [K in keyof DsBanner & keyof DsBannerAttributes]?: DsBanner[K] } & { [K in keyof DsBanner & keyof DsBannerAttributes as `attr:${K}`]?: DsBannerAttributes[K] } & { [K in keyof DsBanner & keyof DsBannerAttributes as `prop:${K}`]?: DsBanner[K] } & OneOf<"description", DsBanner["description"], DsBannerAttributes["description"]>;
|
|
7361
7498
|
"ds-bar-nav": Omit<DsBarNav, keyof DsBarNavAttributes> & { [K in keyof DsBarNav & keyof DsBarNavAttributes]?: DsBarNav[K] } & { [K in keyof DsBarNav & keyof DsBarNavAttributes as `attr:${K}`]?: DsBarNavAttributes[K] } & { [K in keyof DsBarNav & keyof DsBarNavAttributes as `prop:${K}`]?: DsBarNav[K] };
|
|
7362
7499
|
"ds-bar-title": Omit<DsBarTitle, keyof DsBarTitleAttributes> & { [K in keyof DsBarTitle & keyof DsBarTitleAttributes]?: DsBarTitle[K] } & { [K in keyof DsBarTitle & keyof DsBarTitleAttributes as `attr:${K}`]?: DsBarTitleAttributes[K] } & { [K in keyof DsBarTitle & keyof DsBarTitleAttributes as `prop:${K}`]?: DsBarTitle[K] } & OneOf<"heading", DsBarTitle["heading"], DsBarTitleAttributes["heading"]>;
|
|
7363
7500
|
"ds-bar-workflow": Omit<DsBarWorkflow, keyof DsBarWorkflowAttributes> & { [K in keyof DsBarWorkflow & keyof DsBarWorkflowAttributes]?: DsBarWorkflow[K] } & { [K in keyof DsBarWorkflow & keyof DsBarWorkflowAttributes as `attr:${K}`]?: DsBarWorkflowAttributes[K] } & { [K in keyof DsBarWorkflow & keyof DsBarWorkflowAttributes as `prop:${K}`]?: DsBarWorkflow[K] } & OneOf<"heading", DsBarWorkflow["heading"], DsBarWorkflowAttributes["heading"]>;
|
|
@@ -7430,6 +7567,7 @@ declare module "@stencil/core" {
|
|
|
7430
7567
|
"ds-attachment-list": LocalJSX.IntrinsicElements["ds-attachment-list"] & JSXBase.HTMLAttributes<HTMLDsAttachmentListElement>;
|
|
7431
7568
|
"ds-avatar": LocalJSX.IntrinsicElements["ds-avatar"] & JSXBase.HTMLAttributes<HTMLDsAvatarElement>;
|
|
7432
7569
|
"ds-badge": LocalJSX.IntrinsicElements["ds-badge"] & JSXBase.HTMLAttributes<HTMLDsBadgeElement>;
|
|
7570
|
+
"ds-banner": LocalJSX.IntrinsicElements["ds-banner"] & JSXBase.HTMLAttributes<HTMLDsBannerElement>;
|
|
7433
7571
|
"ds-bar-nav": LocalJSX.IntrinsicElements["ds-bar-nav"] & JSXBase.HTMLAttributes<HTMLDsBarNavElement>;
|
|
7434
7572
|
"ds-bar-title": LocalJSX.IntrinsicElements["ds-bar-title"] & JSXBase.HTMLAttributes<HTMLDsBarTitleElement>;
|
|
7435
7573
|
"ds-bar-workflow": LocalJSX.IntrinsicElements["ds-bar-workflow"] & JSXBase.HTMLAttributes<HTMLDsBarWorkflowElement>;
|