DevToolbarAuditListWindow Class — astro Architecture
Architecture documentation for the DevToolbarAuditListWindow class in audit-list-window.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 2820377c_6ad7_088f_76c0_f267b0ec96bf["DevToolbarAuditListWindow"] d310463d_8a0b_dea5_7789_386c15eb1d6e["audit-list-window.ts"] 2820377c_6ad7_088f_76c0_f267b0ec96bf -->|defined in| d310463d_8a0b_dea5_7789_386c15eb1d6e 225486d3_aac2_4be1_1e5c_e4a6baa1ce3e["audits()"] 2820377c_6ad7_088f_76c0_f267b0ec96bf -->|method| 225486d3_aac2_4be1_1e5c_e4a6baa1ce3e fc2a9f53_5444_6ab3_d206_b11bfc963b60["constructor()"] 2820377c_6ad7_088f_76c0_f267b0ec96bf -->|method| fc2a9f53_5444_6ab3_d206_b11bfc963b60 68e1384e_0ac4_9bf9_346d_cbd80d921bd2["connectedCallback()"] 2820377c_6ad7_088f_76c0_f267b0ec96bf -->|method| 68e1384e_0ac4_9bf9_346d_cbd80d921bd2 9736be38_ee05_cbf0_e178_b03c45dfb723["updateAuditList()"] 2820377c_6ad7_088f_76c0_f267b0ec96bf -->|method| 9736be38_ee05_cbf0_e178_b03c45dfb723 32221baa_802a_ebe9_f857_0e416a1da4f4["updateBadgeCounts()"] 2820377c_6ad7_088f_76c0_f267b0ec96bf -->|method| 32221baa_802a_ebe9_f857_0e416a1da4f4 b1f505f4_335a_1bb7_8c09_8beca849d12a["render()"] 2820377c_6ad7_088f_76c0_f267b0ec96bf -->|method| b1f505f4_335a_1bb7_8c09_8beca849d12a
Relationship Graph
Source Code
packages/astro/src/runtime/client/dev-toolbar/apps/audit/ui/audit-list-window.ts lines 35–412
export class DevToolbarAuditListWindow extends HTMLElement {
_audits: Audit[] = [];
shadowRoot: ShadowRoot;
badges: {
[key: string]: {
badge: HTMLElement;
updateCount: (count: number) => void;
};
} = {};
get audits() {
return this._audits;
}
set audits(value) {
this._audits = value;
this.render();
}
constructor() {
super();
this.shadowRoot = this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `<style>
:host {
box-sizing: border-box;
display: flex;
flex-direction: column;
background: linear-gradient(0deg, #13151a, #13151a), linear-gradient(0deg, #343841, #343841);
border: 1px solid rgba(52, 56, 65, 1);
width: min(640px, 100%);
max-height: 480px;
border-radius: 12px;
padding: 24px;
font-family:
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
"Helvetica Neue",
Arial,
"Noto Sans",
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji";
color: rgba(191, 193, 201, 1);
position: fixed;
z-index: 2000000009;
bottom: 72px;
left: 50%;
transform: translateX(-50%);
box-shadow:
0px 0px 0px 0px rgba(19, 21, 26, 0.3),
0px 1px 2px 0px rgba(19, 21, 26, 0.29),
0px 4px 4px 0px rgba(19, 21, 26, 0.26),
0px 10px 6px 0px rgba(19, 21, 26, 0.15),
0px 17px 7px 0px rgba(19, 21, 26, 0.04),
0px 26px 7px 0px rgba(19, 21, 26, 0.01);
}
@media (forced-colors: active) {
:host {
background: white;
}
}
@media (max-width: 640px) {
:host {
border-radius: 0;
}
}
hr,
::slotted(hr) {
border: 1px solid rgba(27, 30, 36, 1);
margin: 1em 0;
}
Domain
Source
Frequently Asked Questions
What is the DevToolbarAuditListWindow class?
DevToolbarAuditListWindow is a class in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/apps/audit/ui/audit-list-window.ts.
Where is DevToolbarAuditListWindow defined?
DevToolbarAuditListWindow is defined in packages/astro/src/runtime/client/dev-toolbar/apps/audit/ui/audit-list-window.ts at line 35.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free