Remove with Text
Remove GetEngineeringSpcReview Better error message EnforceCodeStyleInBuild NginxFileSystem Remove Reactors and Working Directory AppSettings Delete self contained Thunder Tests Back to .net8.0 api/v4/InfinityQS ApiExplorerSettings Wafer Counter
This commit is contained in:
21
Server/wwwroot/package/dist/esm/ifx-status.entry.js
vendored
Normal file
21
Server/wwwroot/package/dist/esm/ifx-status.entry.js
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
import { r as registerInstance, h } from './index-38bfff87.js';
|
||||
|
||||
const statusCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-block}.container{display:flex;min-height:1.25em;align-items:center;padding:0 8px;border-radius:9999px;font-family:var(--ifx-font-family)}.container.no-border{padding:0}.container.border-orange{border:1px solid #E16B25}.container.border-ocean{border:1px solid #0A8276}.container.border-grey{border:1px solid #575352}.container.border-light-grey{border:1px solid #BFBBBB}.container.border-red{border:1px solid #CD002F}.container.border-green{border:1px solid #4CA460}.container.border-berry{border:1px solid #9C216E}.text{margin:0;padding-left:4px;font-style:normal;font-weight:600;font-size:1rem;line-height:1.25rem;display:inline;color:#1D1D1D}.dot{display:inline-block;width:8px;height:8px;border-radius:9999px}.dot.orange{background-color:#E16B25}.dot.ocean{background-color:#0A8276}.dot.grey{background-color:#575352}.dot.light-grey{background-color:#BFBBBB}.dot.red{background-color:#CD002F}.dot.green{background-color:#4CA460}.dot.berry{background-color:#9C216E}";
|
||||
|
||||
const Status = class {
|
||||
constructor(hostRef) {
|
||||
registerInstance(this, hostRef);
|
||||
this.label = undefined;
|
||||
this.border = false;
|
||||
this.color = 'orange';
|
||||
}
|
||||
render() {
|
||||
const containerClass = this.border ? `container border-${this.color}` : 'container no-border';
|
||||
return (h("div", { "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { class: `dot ${this.color}` }), h("p", { class: "text" }, this.label)));
|
||||
}
|
||||
};
|
||||
Status.style = statusCss;
|
||||
|
||||
export { Status as ifx_status };
|
||||
|
||||
//# sourceMappingURL=ifx-status.entry.js.map
|
Reference in New Issue
Block a user