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:
2024-04-15 13:13:55 -07:00
parent 7e16ee7f98
commit 5c9f0d1aff
974 changed files with 205399 additions and 1385 deletions

View File

@ -0,0 +1,81 @@
: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;
}

View File

@ -0,0 +1,36 @@
import { newE2EPage } from "@stencil/core/testing";
describe('ifx-status', () => {
it('renders with default props', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-status></ifx-status>');
const container = await page.find('ifx-status');
const dotElement = await page.find('ifx-status >>> .dot');
const textElement = await page.find('ifx-status >>> .text');
const borderClass = await container.getProperty('className');
expect(dotElement).not.toBeNull();
expect(textElement).not.toBeNull();
expect(borderClass).not.toContain('border-');
});
it('renders with custom label', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-status label="Custom Label"></ifx-status>');
const textElement = await page.find('ifx-status >>> .text');
const labelText = await textElement.getProperty('textContent');
expect(labelText).toBe('Custom Label');
});
it('renders with border when border prop is true', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-status border=true></ifx-status>');
const wrapper = await page.find('ifx-status >>> .container');
const borderClass = await wrapper.getProperty('className');
expect(borderClass).toContain('border-');
});
it('renders with custom color', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-status color="green"></ifx-status>');
const dotElement = await page.find('ifx-status >>> .dot');
const dotClass = await dotElement.getProperty('className');
expect(dotClass).toContain('green');
});
});
//# sourceMappingURL=status.e2e.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"status.e2e.js","sourceRoot":"","sources":["../../../src/components/status/status.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE;EAC1B,EAAE,CAAC,4BAA4B,EAAE,KAAK,IAAI,EAAE;IAC1C,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;IAChC,MAAM,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;IAEnD,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAChD,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAC1D,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAC5D,MAAM,WAAW,GAAG,MAAM,SAAS,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAE7D,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;IAClC,MAAM,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,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,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;EACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from '@stencil/core/testing';\n\ndescribe('ifx-status', () => {\n it('renders with default props', async () => {\n const page = await newE2EPage();\n await page.setContent('<ifx-status></ifx-status>');\n\n const container = await page.find('ifx-status');\n const dotElement = await page.find('ifx-status >>> .dot');\n const textElement = await page.find('ifx-status >>> .text');\n const borderClass = await container.getProperty('className');\n\n expect(dotElement).not.toBeNull();\n expect(textElement).not.toBeNull();\n expect(borderClass).not.toContain('border-');\n });\n\n it('renders with custom label', async () => {\n const page = await newE2EPage();\n await page.setContent('<ifx-status label=\"Custom Label\"></ifx-status>');\n\n const textElement = await page.find('ifx-status >>> .text');\n const labelText = await textElement.getProperty('textContent');\n\n expect(labelText).toBe('Custom Label');\n });\n\n it('renders with border when border prop is true', async () => {\n const page = await newE2EPage();\n await page.setContent('<ifx-status border=true></ifx-status>');\n\n const wrapper = await page.find('ifx-status >>> .container');\n\n\n const borderClass = await wrapper.getProperty('className');\n\n\n expect(borderClass).toContain('border-');\n });\n\n\n it('renders with custom color', async () => {\n const page = await newE2EPage();\n await page.setContent('<ifx-status color=\"green\"></ifx-status>');\n\n const dotElement = await page.find('ifx-status >>> .dot');\n const dotClass = await dotElement.getProperty('className');\n\n expect(dotClass).toContain('green');\n });\n});\n"]}

View File

@ -0,0 +1,82 @@
import { h } from "@stencil/core";
export class Status {
constructor() {
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)));
}
static get is() { return "ifx-status"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["status.scss"]
};
}
static get styleUrls() {
return {
"$": ["status.css"]
};
}
static get properties() {
return {
"label": {
"type": "string",
"mutable": false,
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "label",
"reflect": false
},
"border": {
"type": "boolean",
"mutable": false,
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "border",
"reflect": false,
"defaultValue": "false"
},
"color": {
"type": "string",
"mutable": false,
"complexType": {
"original": "'orange' | 'ocean' | 'grey' | 'light-grey' | 'red' | 'green' | 'berry'",
"resolved": "\"berry\" | \"green\" | \"grey\" | \"light-grey\" | \"ocean\" | \"orange\" | \"red\"",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "color",
"reflect": false,
"defaultValue": "'orange'"
}
};
}
}
//# sourceMappingURL=status.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../src/components/status/status.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQnD,MAAM,OAAO,MAAM;;;kBAES,KAAK;iBACyD,QAAQ;;EAEhG,MAAM;IACJ,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,oBAAoB,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,qBAAqB,CAAC;IAE9F,OAAO,CACL,yBAAgB,oBAAoB,gBAAa,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,cAAc;MAChF,YAAM,KAAK,EAAE,OAAO,IAAI,CAAC,KAAK,EAAE,GAAS;MACzC,SAAG,KAAK,EAAC,MAAM,IAAE,IAAI,CAAC,KAAK,CAAK,CAC5B,CACP,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ifx-status',\n styleUrl: 'status.scss',\n shadow: true\n})\n\nexport class Status {\n @Prop() label: string;\n @Prop() border: boolean = false;\n @Prop() color: 'orange' | 'ocean' | 'grey' | 'light-grey' | 'red' | 'green' | 'berry' = 'orange';\n\n render() {\n const containerClass = this.border ? `container border-${this.color}` : 'container no-border';\n\n return (\n <div aria-label=\"a status indicator\" aria-value={this.label} class={containerClass}>\n <span class={`dot ${this.color}`}></span>\n <p class=\"text\">{this.label}</p>\n </div>\n );\n }\n}"]}

View File

@ -0,0 +1,23 @@
export default {
title: 'Components/Status',
tags: ['autodocs'],
args: {
label: "text",
color: "orange",
border: true,
},
argTypes: {
border: {
control: 'boolean',
attr: 'border',
},
color: {
options: ['orange', 'ocean', 'grey', 'light-grey', 'red', 'green', 'berry'],
control: { type: 'radio' },
},
},
};
const DefaultTemplate = (args) => `<ifx-status label="${args.label}" color="${args.color}" border="${args.border}"/>`;
export const Default = DefaultTemplate.bind({});
Default.argTypes = {};
//# sourceMappingURL=status.stories.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"status.stories.js","sourceRoot":"","sources":["../../../src/components/status/status.stories.ts"],"names":[],"mappings":"AAAA,eAAe;EACb,KAAK,EAAE,mBAAmB;EAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;EAElB,IAAI,EAAE;IACJ,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,IAAI;GACb;EACD,QAAQ,EAAE;IAER,MAAM,EAAE;MACN,OAAO,EAAE,SAAS;MAClB,IAAI,EAAE,QAAQ;KACf;IACD,KAAK,EAAE;MACL,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC;MAC3E,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;KAC3B;GACF;CACF,CAAA;AAED,MAAM,eAAe,GAAG,CAAC,IAAI,EAAE,EAAE,CAC/B,sBAAsB,IAAI,CAAC,KAAK,YAAY,IAAI,CAAC,KAAK,aAAa,IAAI,CAAC,MAAM,KAAK,CAAC;AAEtF,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,OAAO,CAAC,QAAQ,GAAG,EAElB,CAAA","sourcesContent":["export default {\n title: 'Components/Status',\n tags: ['autodocs'],\n\n args: {\n label: \"text\",\n color: \"orange\",\n border: true,\n },\n argTypes: {\n\n border: {\n control: 'boolean',\n attr: 'border',\n },\n color: {\n options: ['orange', 'ocean', 'grey', 'light-grey', 'red', 'green', 'berry'],\n control: { type: 'radio' },\n },\n },\n}\n\nconst DefaultTemplate = (args) =>\n `<ifx-status label=\"${args.label}\" color=\"${args.color}\" border=\"${args.border}\"/>`;\n\nexport const Default = DefaultTemplate.bind({});\nDefault.argTypes = {\n\n}\n"]}