@spectrum-web-components/status-light 0.11.0 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/status-light",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,11 +57,10 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.7.0",
61
- "tslib": "^2.0.0"
60
+ "@spectrum-web-components/base": "^0.7.1"
62
61
  },
63
62
  "devDependencies": {
64
- "@spectrum-css/statuslight": "^4.0.14"
63
+ "@spectrum-css/statuslight": "^5.0.1"
65
64
  },
66
65
  "types": "./src/index.d.ts",
67
66
  "customElements": "custom-elements.json",
@@ -69,5 +68,5 @@
69
68
  "./sp-*.js",
70
69
  "./**/*.dev.js"
71
70
  ],
72
- "gitHead": "05c81318844160db3f8156144106e643507fef97"
71
+ "gitHead": "8bd87724e91e23df83dbf63a434bbbe10b8daaa6"
73
72
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import { StatusLight } from "./src/StatusLight.dev.js";
2
3
  customElements.define("sp-status-light", StatusLight);
3
4
  //# sourceMappingURL=sp-status-light.dev.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["sp-status-light.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { StatusLight } from './src/StatusLight.dev.js'\n\ncustomElements.define('sp-status-light', StatusLight);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-status-light': StatusLight;\n }\n}\n"],
5
- "mappings": "AAWA;AAEA,eAAe,OAAO,mBAAmB,WAAW;",
5
+ "mappings": ";AAWA,SAAS,mBAAmB;AAE5B,eAAe,OAAO,mBAAmB,WAAW;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,2 @@
1
- import{StatusLight as t}from"./src/StatusLight.js";customElements.define("sp-status-light",t);
1
+ "use strict";import{StatusLight as t}from"./src/StatusLight.js";customElements.define("sp-status-light",t);
2
2
  //# sourceMappingURL=sp-status-light.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["sp-status-light.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { StatusLight } from './src/StatusLight.js';\n\ncustomElements.define('sp-status-light', StatusLight);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-status-light': StatusLight;\n }\n}\n"],
5
- "mappings": "AAWA,mDAEA,eAAe,OAAO,kBAAmB,CAAW",
6
- "names": []
5
+ "mappings": "aAWA,OAAS,eAAAA,MAAmB,uBAE5B,eAAe,OAAO,kBAAmBA,CAAW",
6
+ "names": ["StatusLight"]
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __decorateClass = (decorators, target, key, kind) => {
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["StatusLight.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport {\n CSSResultArray,\n html,\n PropertyValues,\n SizedMixin,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport statusLightStyles from './status-light.css.js';\n\n/**\n * @element sp-status-light\n *\n * @slot - text label of the Status Light\n */\nexport class StatusLight extends SizedMixin(SpectrumElement) {\n public static override get styles(): CSSResultArray {\n return [statusLightStyles];\n }\n\n /**\n * A status light in a disabled state shows that a status exists, but is not available in that circumstance. This can be used to maintain layout continuity and communicate that a status may become available later.\n */\n @property({ type: Boolean, reflect: true })\n public disabled = false;\n\n /**\n * The visual variant to apply to this status light.\n */\n @property({ reflect: true })\n public variant:\n | 'negative'\n | 'notice'\n | 'positive'\n | 'info'\n | 'neutral'\n | 'yellow'\n | 'fuchsia'\n | 'indigo'\n | 'seafoam'\n | 'chartreuse'\n | 'magenta'\n | 'celery'\n | 'purple' = 'info';\n\n protected override render(): TemplateResult {\n return html`\n <slot></slot>\n `;\n }\n\n protected override updated(changes: PropertyValues): void {\n super.updated(changes);\n if (changes.has('disabled')) {\n if (this.disabled) {\n this.setAttribute('aria-disabled', 'true');\n } else {\n this.removeAttribute('aria-disabled');\n }\n }\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;AAYA;AAAA;AAAA;AAAA;AAAA;AAQA;AACA;AAOO,aAAM,oBAAoB,WAAW,eAAe,EAAE;AAAA,EAAtD;AAAA;AASI,oBAAW;AAMX,mBAaU;AAAA;AAAA,aA3BU,SAAyB;AAChD,WAAO,CAAC,iBAAiB;AAAA,EAC7B;AAAA,EA2BmB,SAAyB;AACxC,WAAO;AAAA;AAAA;AAAA,EAGX;AAAA,EAEmB,QAAQ,SAA+B;AACtD,UAAM,QAAQ,OAAO;AACrB,QAAI,QAAQ,IAAI,UAAU,GAAG;AACzB,UAAI,KAAK,UAAU;AACf,aAAK,aAAa,iBAAiB,MAAM;AAAA,MAC7C,OAAO;AACH,aAAK,gBAAgB,eAAe;AAAA,MACxC;AAAA,IACJ;AAAA,EACJ;AACJ;AArCW;AAAA,EADP,AAAC,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GACnC,AATJ,YASI;AAMA;AAAA,EADP,AAAC,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GACpB,AAfJ,YAeI;",
5
+ "mappings": ";;;;;;;;;;;;AAYA;AAAA,EAEI;AAAA,EAEA;AAAA,EACA;AAAA,OAEG;AACP,SAAS,gBAAgB;AACzB,OAAO,uBAAuB;AAOvB,aAAM,oBAAoB,WAAW,eAAe,EAAE;AAAA,EAAtD;AAAA;AASH,SAAO,WAAW;AAMlB,SAAO,UAaU;AAAA;AAAA,EA3BjB,WAA2B,SAAyB;AAChD,WAAO,CAAC,iBAAiB;AAAA,EAC7B;AAAA,EA2BmB,SAAyB;AACxC,WAAO;AAAA;AAAA;AAAA,EAGX;AAAA,EAEmB,QAAQ,SAA+B;AACtD,UAAM,QAAQ,OAAO;AACrB,QAAI,QAAQ,IAAI,UAAU,GAAG;AACzB,UAAI,KAAK,UAAU;AACf,aAAK,aAAa,iBAAiB,MAAM;AAAA,MAC7C,OAAO;AACH,aAAK,gBAAgB,eAAe;AAAA,MACxC;AAAA,IACJ;AAAA,EACJ;AACJ;AArCW;AAAA,EADN,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GARjC,YASF;AAMA;AAAA,EADN,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GAdlB,YAeF;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- var u=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var o=(i,e,l,r)=>{for(var t=r>1?void 0:r?p(e,l):e,s=i.length-1,a;s>=0;s--)(a=i[s])&&(t=(r?a(e,l,t):a(t))||t);return r&&t&&u(e,l,t),t};import{html as m,SizedMixin as n,SpectrumElement as c}from"@spectrum-web-components/base";import{property as d}from"@spectrum-web-components/base/src/decorators.js";import f from"./status-light.css.js";export class StatusLight extends n(c){constructor(){super(...arguments);this.disabled=!1;this.variant="info"}static get styles(){return[f]}render(){return m`
1
+ "use strict";var u=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var o=(l,r,t,i)=>{for(var e=i>1?void 0:i?p(r,t):r,s=l.length-1,a;s>=0;s--)(a=l[s])&&(e=(i?a(r,t,e):a(e))||e);return i&&e&&u(r,t,e),e};import{html as m,SizedMixin as n,SpectrumElement as c}from"@spectrum-web-components/base";import{property as d}from"@spectrum-web-components/base/src/decorators.js";import f from"./status-light.css.js";export class StatusLight extends n(c){constructor(){super(...arguments);this.disabled=!1;this.variant="info"}static get styles(){return[f]}render(){return m`
2
2
  <slot></slot>
3
- `}updated(e){super.updated(e),e.has("disabled")&&(this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}}o([d({type:Boolean,reflect:!0})],StatusLight.prototype,"disabled",2),o([d({reflect:!0})],StatusLight.prototype,"variant",2);
3
+ `}updated(t){super.updated(t),t.has("disabled")&&(this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}}o([d({type:Boolean,reflect:!0})],StatusLight.prototype,"disabled",2),o([d({reflect:!0})],StatusLight.prototype,"variant",2);
4
4
  //# sourceMappingURL=StatusLight.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["StatusLight.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport {\n CSSResultArray,\n html,\n PropertyValues,\n SizedMixin,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport statusLightStyles from './status-light.css.js';\n\n/**\n * @element sp-status-light\n *\n * @slot - text label of the Status Light\n */\nexport class StatusLight extends SizedMixin(SpectrumElement) {\n public static override get styles(): CSSResultArray {\n return [statusLightStyles];\n }\n\n /**\n * A status light in a disabled state shows that a status exists, but is not available in that circumstance. This can be used to maintain layout continuity and communicate that a status may become available later.\n */\n @property({ type: Boolean, reflect: true })\n public disabled = false;\n\n /**\n * The visual variant to apply to this status light.\n */\n @property({ reflect: true })\n public variant:\n | 'negative'\n | 'notice'\n | 'positive'\n | 'info'\n | 'neutral'\n | 'yellow'\n | 'fuchsia'\n | 'indigo'\n | 'seafoam'\n | 'chartreuse'\n | 'magenta'\n | 'celery'\n | 'purple' = 'info';\n\n protected override render(): TemplateResult {\n return html`\n <slot></slot>\n `;\n }\n\n protected override updated(changes: PropertyValues): void {\n super.updated(changes);\n if (changes.has('disabled')) {\n if (this.disabled) {\n this.setAttribute('aria-disabled', 'true');\n } else {\n this.removeAttribute('aria-disabled');\n }\n }\n }\n}\n"],
5
- "mappings": "wMAYA,0FAQA,2EACA,qCAOO,aAAM,mBAAoB,GAAW,CAAe,CAAE,CAAtD,kCASI,cAAW,GAMX,aAaU,iBA3BU,SAAyB,CAChD,MAAO,CAAC,CAAiB,CAC7B,CA2BmB,QAAyB,CACxC,MAAO;AAAA;AAAA,SAGX,CAEmB,QAAQ,EAA+B,CACtD,MAAM,QAAQ,CAAO,EACjB,EAAQ,IAAI,UAAU,GACtB,CAAI,KAAK,SACL,KAAK,aAAa,gBAAiB,MAAM,EAEzC,KAAK,gBAAgB,eAAe,EAGhD,CACJ,CArCW,GADP,AAAC,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GACnC,AATJ,YASI,wBAMA,GADP,AAAC,EAAS,CAAE,QAAS,EAAK,CAAC,GACpB,AAfJ,YAeI",
6
- "names": []
5
+ "mappings": "qNAYA,OAEI,QAAAA,EAEA,cAAAC,EACA,mBAAAC,MAEG,gCACP,OAAS,YAAAC,MAAgB,kDACzB,OAAOC,MAAuB,wBAOvB,aAAM,oBAAoBH,EAAWC,CAAe,CAAE,CAAtD,kCASH,KAAO,SAAW,GAMlB,KAAO,QAaU,OA3BjB,WAA2B,QAAyB,CAChD,MAAO,CAACE,CAAiB,CAC7B,CA2BmB,QAAyB,CACxC,OAAOJ;AAAA;AAAA,SAGX,CAEmB,QAAQK,EAA+B,CACtD,MAAM,QAAQA,CAAO,EACjBA,EAAQ,IAAI,UAAU,IAClB,KAAK,SACL,KAAK,aAAa,gBAAiB,MAAM,EAEzC,KAAK,gBAAgB,eAAe,EAGhD,CACJ,CArCWC,EAAA,CADNH,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GARjC,YASF,wBAMAG,EAAA,CADNH,EAAS,CAAE,QAAS,EAAK,CAAC,GAdlB,YAeF",
6
+ "names": ["html", "SizedMixin", "SpectrumElement", "property", "statusLightStyles", "changes", "__decorateClass"]
7
7
  }
package/src/index.dev.js CHANGED
@@ -1,2 +1,3 @@
1
+ "use strict";
1
2
  export * from "./StatusLight.dev.js";
2
3
  //# sourceMappingURL=index.dev.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["index.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nexport * from './StatusLight.dev.js'\n"],
5
- "mappings": "AAWA;",
5
+ "mappings": ";AAWA,cAAc;",
6
6
  "names": []
7
7
  }
package/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export*from"./StatusLight.js";
1
+ "use strict";export*from"./StatusLight.js";
2
2
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["index.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nexport * from './StatusLight.js';\n"],
5
- "mappings": "AAWA",
5
+ "mappings": "aAWA,WAAc",
6
6
  "names": []
7
7
  }
@@ -1,124 +1,189 @@
1
+ "use strict";
1
2
  import { css } from "@spectrum-web-components/base";
2
3
  const styles = css`
3
- :host([size=s]){--spectrum-statuslight-info-text-padding-bottom:var(
4
- --spectrum-statuslight-s-info-text-padding-bottom
5
- );--spectrum-statuslight-info-dot-border-radius:var(
6
- --spectrum-statuslight-s-info-dot-border-radius,var(--spectrum-global-dimension-static-percent-50)
7
- );--spectrum-statuslight-info-dot-margin-top:var(
8
- --spectrum-statuslight-s-info-dot-margin-top,var(--spectrum-global-dimension-size-100)
9
- );--spectrum-statuslight-info-dot-size:var(
10
- --spectrum-statuslight-s-info-dot-size,var(--spectrum-global-dimension-static-size-100)
11
- );--spectrum-statuslight-info-text-gap:var(
12
- --spectrum-statuslight-s-info-text-gap,var(--spectrum-global-dimension-size-115)
13
- );--spectrum-statuslight-info-text-size:var(
14
- --spectrum-statuslight-s-info-text-size,var(--spectrum-global-dimension-font-size-75)
15
- );--spectrum-statuslight-info-text-padding-top:var(
16
- --spectrum-statuslight-s-info-text-padding-top,var(--spectrum-global-dimension-static-size-50)
17
- );--spectrum-statuslight-info-text-font-weight:var(
18
- --spectrum-statuslight-s-info-text-font-weight,var(--spectrum-alias-body-text-font-weight)
19
- );--spectrum-statuslight-info-text-line-height:var(
20
- --spectrum-statuslight-s-info-text-line-height,var(--spectrum-alias-component-text-line-height)
21
- );--spectrum-statuslight-info-height:var(
22
- --spectrum-statuslight-s-info-height,var(--spectrum-global-dimension-size-300)
23
- )}:host([size=m]){--spectrum-statuslight-info-dot-border-radius:var(
24
- --spectrum-statuslight-m-info-dot-border-radius,var(--spectrum-global-dimension-static-percent-50)
25
- );--spectrum-statuslight-info-dot-margin-top:var(
26
- --spectrum-statuslight-m-info-dot-margin-top,var(--spectrum-global-dimension-size-130)
27
- );--spectrum-statuslight-info-dot-size:var(
28
- --spectrum-statuslight-m-info-dot-size,var(--spectrum-global-dimension-size-100)
29
- );--spectrum-statuslight-info-text-gap:var(
30
- --spectrum-statuslight-m-info-text-gap,var(--spectrum-global-dimension-size-125)
31
- );--spectrum-statuslight-info-text-size:var(
32
- --spectrum-statuslight-m-info-text-size,var(--spectrum-global-dimension-font-size-100)
33
- );--spectrum-statuslight-info-text-padding-top:var(
34
- --spectrum-statuslight-m-info-text-padding-top,var(--spectrum-global-dimension-size-75)
35
- );--spectrum-statuslight-info-text-padding-bottom:var(
36
- --spectrum-statuslight-m-info-text-padding-bottom,var(--spectrum-global-dimension-size-115)
37
- );--spectrum-statuslight-info-text-font-weight:var(
38
- --spectrum-statuslight-m-info-text-font-weight,var(--spectrum-alias-body-text-font-weight)
39
- );--spectrum-statuslight-info-text-line-height:var(
40
- --spectrum-statuslight-m-info-text-line-height,var(--spectrum-alias-component-text-line-height)
41
- );--spectrum-statuslight-info-height:var(
42
- --spectrum-statuslight-m-info-height,var(--spectrum-global-dimension-size-400)
43
- )}:host([size=l]){--spectrum-statuslight-info-dot-size:var(
44
- --spectrum-statuslight-l-info-dot-size
45
- );--spectrum-statuslight-info-text-padding-top:var(
46
- --spectrum-statuslight-l-info-text-padding-top
47
- );--spectrum-statuslight-info-dot-border-radius:var(
48
- --spectrum-statuslight-l-info-dot-border-radius,var(--spectrum-global-dimension-static-percent-50)
49
- );--spectrum-statuslight-info-dot-margin-top:var(
50
- --spectrum-statuslight-l-info-dot-margin-top,var(--spectrum-global-dimension-size-185)
51
- );--spectrum-statuslight-info-text-gap:var(
52
- --spectrum-statuslight-l-info-text-gap,var(--spectrum-global-dimension-size-130)
53
- );--spectrum-statuslight-info-text-size:var(
54
- --spectrum-statuslight-l-info-text-size,var(--spectrum-global-dimension-font-size-200)
55
- );--spectrum-statuslight-info-text-padding-bottom:var(
56
- --spectrum-statuslight-l-info-text-padding-bottom,var(--spectrum-global-dimension-size-130)
57
- );--spectrum-statuslight-info-text-font-weight:var(
58
- --spectrum-statuslight-l-info-text-font-weight,var(--spectrum-alias-body-text-font-weight)
59
- );--spectrum-statuslight-info-text-line-height:var(
60
- --spectrum-statuslight-l-info-text-line-height,var(--spectrum-alias-component-text-line-height)
61
- );--spectrum-statuslight-info-height:var(
62
- --spectrum-statuslight-l-info-height,var(--spectrum-global-dimension-size-500)
63
- )}:host([size=xl]){--spectrum-statuslight-info-dot-size:var(
64
- --spectrum-statuslight-xl-info-dot-size
65
- );--spectrum-statuslight-info-dot-border-radius:var(
66
- --spectrum-statuslight-xl-info-dot-border-radius,var(--spectrum-global-dimension-static-percent-50)
67
- );--spectrum-statuslight-info-dot-margin-top:var(
68
- --spectrum-statuslight-xl-info-dot-margin-top,var(--spectrum-global-dimension-size-250)
69
- );--spectrum-statuslight-info-text-gap:var(
70
- --spectrum-statuslight-xl-info-text-gap,var(--spectrum-global-dimension-size-160)
71
- );--spectrum-statuslight-info-text-size:var(
72
- --spectrum-statuslight-xl-info-text-size,var(--spectrum-global-dimension-font-size-300)
73
- );--spectrum-statuslight-info-text-padding-top:var(
74
- --spectrum-statuslight-xl-info-text-padding-top,var(--spectrum-global-dimension-size-150)
75
- );--spectrum-statuslight-info-text-padding-bottom:var(
76
- --spectrum-statuslight-xl-info-text-padding-bottom,var(--spectrum-global-dimension-size-175)
77
- );--spectrum-statuslight-info-text-font-weight:var(
78
- --spectrum-statuslight-xl-info-text-font-weight,var(--spectrum-alias-body-text-font-weight)
79
- );--spectrum-statuslight-info-text-line-height:var(
80
- --spectrum-statuslight-xl-info-text-line-height,var(--spectrum-alias-component-text-line-height)
81
- );--spectrum-statuslight-info-height:var(
82
- --spectrum-statuslight-xl-info-height,var(--spectrum-global-dimension-size-600)
83
- )}:host([dir]){--spectrum-statuslight-info-dot-resolved-margin-top:calc(var(--spectrum-statuslight-info-dot-margin-top) - var(--spectrum-statuslight-info-text-padding-top));align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:row;font-size:var(--spectrum-statuslight-info-text-size);font-weight:var(--spectrum-statuslight-info-text-font-weight);line-height:var(--spectrum-statuslight-info-text-line-height);min-height:var(--spectrum-statuslight-info-height);padding-bottom:var(--spectrum-statuslight-info-text-padding-bottom);padding-left:0;padding-right:0;padding-top:var(--spectrum-statuslight-info-text-padding-top)}:host([dir=ltr]):before{margin-left:var(
84
- --spectrum-global-dimension-size-0
85
- );margin-right:var(--spectrum-statuslight-info-text-gap)}:host([dir=rtl]):before{margin-left:var(--spectrum-statuslight-info-text-gap);margin-right:var(
86
- --spectrum-global-dimension-size-0
87
- )}:host:before{-ms-high-contrast-adjust:none;border-radius:var(--spectrum-statuslight-info-dot-border-radius);content:"";display:inline-block;flex-grow:0;flex-shrink:0;forced-color-adjust:none;height:var(--spectrum-statuslight-info-dot-size);margin-bottom:var(--spectrum-global-dimension-size-0);margin-top:var(--spectrum-statuslight-info-dot-resolved-margin-top);width:var(--spectrum-statuslight-info-dot-size)}:host([variant=neutral]){font-style:italic}:host([dir]){color:var(
88
- --spectrum-statuslight-m-info-text-color,var(--spectrum-alias-text-color)
89
- )}:host([disabled]),:host([disabled]){color:var(
90
- --spectrum-statuslight-m-info-text-color-disabled,var(--spectrum-alias-text-color-disabled)
91
- )}:host([disabled]):before,:host([disabled]):before{background-color:var(
92
- --spectrum-statuslight-m-info-dot-color-disabled,var(--spectrum-global-color-gray-400)
4
+ :host([dir]){--spectrum-statuslight-corner-radius:50%;--spectrum-statuslight-font-weight:400;--spectrum-statuslight-border-width:var(--spectrum-border-width-100);--spectrum-statuslight-height:var(--spectrum-component-height-100);--spectrum-statuslight-dot-size:var(
5
+ --spectrum-status-light-dot-size-medium
6
+ );--spectrum-statuslight-line-height:var(--spectrum-line-height-100);--spectrum-statuslight-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-statuslight-font-size:var(--spectrum-font-size-100);--spectrum-statuslight-spacing-dot-to-label:var(
7
+ --spectrum-text-to-visual-100
8
+ );--spectrum-statuslight-spacing-top-to-dot:var(
9
+ --spectrum-status-light-top-to-dot-medium
10
+ );--spectrum-statuslight-spacing-top-to-label:var(
11
+ --spectrum-component-top-to-text-100
12
+ );--spectrum-statuslight-spacing-bottom-to-label:var(
13
+ --spectrum-component-bottom-to-text-100
14
+ );--spectrum-statuslight-content-color-default:var(
15
+ --spectrum-neutral-content-color-default
16
+ );--spectrum-statuslight-subdued-content-color-default:var(
17
+ --spectrum-neutral-subdued-content-color-default
18
+ );--spectrum-statuslight-semantic-neutral-color:var(
19
+ --spectrum-neutral-visual-color
20
+ );--spectrum-statuslight-semantic-accent-color:var(
21
+ --spectrum-accent-visual-color
22
+ );--spectrum-statuslight-semantic-negative-color:var(
23
+ --spectrum-negative-visual-color
24
+ );--spectrum-statuslight-semantic-info-color:var(
25
+ --spectrum-informative-visual-color
26
+ );--spectrum-statuslight-semantic-notice-color:var(
27
+ --spectrum-notice-visual-color
28
+ );--spectrum-statuslight-semantic-positive-color:var(
29
+ --spectrum-positive-visual-color
30
+ );--spectrum-statuslight-nonsemantic-gray-color:var(
31
+ --spectrum-gray-visual-color
32
+ );--spectrum-statuslight-nonsemantic-red-color:var(
33
+ --spectrum-red-visual-color
34
+ );--spectrum-statuslight-nonsemantic-orange-color:var(
35
+ --spectrum-orange-visual-color
36
+ );--spectrum-statuslight-nonsemantic-yellow-color:var(
37
+ --spectrum-yellow-visual-color
38
+ );--spectrum-statuslight-nonsemantic-chartreuse-color:var(
39
+ --spectrum-chartreuse-visual-color
40
+ );--spectrum-statuslight-nonsemantic-celery-color:var(
41
+ --spectrum-celery-visual-color
42
+ );--spectrum-statuslight-nonsemantic-green-color:var(
43
+ --spectrum-green-visual-color
44
+ );--spectrum-statuslight-nonsemantic-seafoam-color:var(
45
+ --spectrum-seafoam-visual-color
46
+ );--spectrum-statuslight-nonsemantic-cyan-color:var(
47
+ --spectrum-cyan-visual-color
48
+ );--spectrum-statuslight-nonsemantic-blue-color:var(
49
+ --spectrum-blue-visual-color
50
+ );--spectrum-statuslight-nonsemantic-indigo-color:var(
51
+ --spectrum-indigo-visual-color
52
+ );--spectrum-statuslight-nonsemantic-purple-color:var(
53
+ --spectrum-purple-visual-color
54
+ );--spectrum-statuslight-nonsemantic-fuchsia-color:var(
55
+ --spectrum-fuchsia-visual-color
56
+ );--spectrum-statuslight-nonsemantic-magenta-color:var(
57
+ --spectrum-magenta-visual-color
58
+ )}:host([size=s]){--spectrum-statuslight-height:var(
59
+ --spectrum-component-height-75
60
+ );--spectrum-statuslight-dot-size:var(
61
+ --spectrum-status-light-dot-size-small
62
+ );--spectrum-statuslight-font-size:var(--spectrum-font-size-75);--spectrum-statuslight-spacing-dot-to-label:var(
63
+ --spectrum-text-to-visual-75
64
+ );--spectrum-statuslight-spacing-top-to-dot:var(
65
+ --spectrum-status-light-top-to-dot-small
66
+ );--spectrum-statuslight-spacing-top-to-label:var(
67
+ --spectrum-component-top-to-text-75
68
+ );--spectrum-statuslight-spacing-bottom-to-label:var(
69
+ --spectrum-component-bottom-to-text-75
70
+ )}:host([size=m]){--spectrum-statuslight-height:var(
71
+ --spectrum-component-height-100
72
+ );--spectrum-statuslight-dot-size:var(
73
+ --spectrum-status-light-dot-size-medium
74
+ );--spectrum-statuslight-font-size:var(--spectrum-font-size-100);--spectrum-statuslight-spacing-dot-to-label:var(
75
+ --spectrum-text-to-visual-100
76
+ );--spectrum-statuslight-spacing-top-to-dot:var(
77
+ --spectrum-status-light-top-to-dot-medium
78
+ );--spectrum-statuslight-spacing-top-to-label:var(
79
+ --spectrum-component-top-to-text-100
80
+ );--spectrum-statuslight-spacing-bottom-to-label:var(
81
+ --spectrum-component-bottom-to-text-100
82
+ )}:host([size=l]){--spectrum-statuslight-height:var(
83
+ --spectrum-component-height-200
84
+ );--spectrum-statuslight-dot-size:var(
85
+ --spectrum-status-light-dot-size-large
86
+ );--spectrum-statuslight-font-size:var(--spectrum-font-size-200);--spectrum-statuslight-spacing-dot-to-label:var(
87
+ --spectrum-text-to-visual-200
88
+ );--spectrum-statuslight-spacing-top-to-dot:var(
89
+ --spectrum-status-light-top-to-dot-large
90
+ );--spectrum-statuslight-spacing-top-to-label:var(
91
+ --spectrum-component-top-to-text-200
92
+ );--spectrum-statuslight-spacing-bottom-to-label:var(
93
+ --spectrum-component-bottom-to-text-200
94
+ )}:host([size=xl]){--spectrum-statuslight-height:var(
95
+ --spectrum-component-height-300
96
+ );--spectrum-statuslight-dot-size:var(
97
+ --spectrum-status-light-dot-size-extra-large
98
+ );--spectrum-statuslight-font-size:var(--spectrum-font-size-300);--spectrum-statuslight-spacing-dot-to-label:var(
99
+ --spectrum-text-to-visual-300
100
+ );--spectrum-statuslight-spacing-top-to-dot:var(
101
+ --spectrum-status-light-top-to-dot-extra-large
102
+ );--spectrum-statuslight-spacing-top-to-label:var(
103
+ --spectrum-component-top-to-text-300
104
+ );--spectrum-statuslight-spacing-bottom-to-label:var(
105
+ --spectrum-component-bottom-to-text-300
106
+ )}@media (forced-colors:active){:host([dir]){--highcontrast-statuslight-content-color-default:CanvasText;--highcontrast-statuslight-subdued-content-color-default:CanvasText;forced-color-adjust:none}:host:before{border:var(
107
+ --mod-statuslight-border-width,var(--spectrum-statuslight-border-width)
108
+ ) solid ButtonText}}:host([dir]){align-items:flex-start;box-sizing:border-box;color:var(
109
+ --highcontrast-statuslight-content-color-default,var(
110
+ --mod-statuslight-content-color-default,var(--spectrum-statuslight-content-color-default)
111
+ )
112
+ );display:flex;flex-direction:row;font-size:var(
113
+ --mod-statuslight-font-size,var(--spectrum-statuslight-font-size)
114
+ );font-weight:var(
115
+ --mod-statuslight-font-weight,var(--spectrum-statuslight-font-weight)
116
+ );line-height:var(
117
+ --mod-statuslight-line-height,--spectrum-statuslight-line-height
118
+ );min-height:var(
119
+ --mod-statuslight-height,var(--spectrum-statuslight-height)
120
+ );padding-block-end:var(
121
+ --mod-statuslight-spacing-bottom-to-label,var(--spectrum-statuslight-spacing-bottom-to-label)
122
+ );padding-block-start:var(
123
+ --mod-statuslight-spacing-top-to-label,var(--spectrum-statuslight-spacing-top-to-label)
124
+ );padding-inline:0}:host(:lang(ja)),:host(:lang(ko)),:host(:lang(zh)){line-height:var(
125
+ --spectrum-statuslight-line-height-cjk,var(
126
+ --mod-statuslight-line-height,var(--spectrum-statuslight-line-height)
127
+ )
128
+ )}:host:before{--spectrum-statuslight-spacing-computed-top-to-dot:calc(var(
129
+ --mod-statuslight-spacing-top-to-dot,
130
+ var(--spectrum-statuslight-spacing-top-to-dot)
131
+ ) - var(
132
+ --mod-statuslight-spacing-top-to-label,
133
+ var(--spectrum-statuslight-spacing-top-to-label)
134
+ ));-ms-high-contrast-adjust:none;block-size:var(
135
+ --mod-statuslight-dot-size,var(--spectrum-statuslight-dot-size)
136
+ );border-radius:var(
137
+ --mod-statuslight-corner-radius,var(--spectrum-statuslight-corner-radius)
138
+ );content:"";display:inline-block;flex-grow:0;flex-shrink:0;forced-color-adjust:none;inline-size:var(
139
+ --mod-statuslight-dot-size,var(--spectrum-statuslight-dot-size)
140
+ );margin-block-start:var(--spectrum-statuslight-spacing-computed-top-to-dot);margin-inline-end:var(
141
+ --mod-statuslight-spacing-dot-to-label,var(--spectrum-statuslight-spacing-dot-to-label)
142
+ )}:host([variant=neutral]){font-style:italic}:host([variant=neutral]){color:var(
143
+ --highcontrast-statuslight-subdued-content-color-default,var(
144
+ --mod-statuslight-subdued-content-color-default,var(--spectrum-statuslight-subdued-content-color-default)
145
+ )
146
+ )}:host([variant=neutral]):before{background-color:var(
147
+ --mod-statuslight-semantic-neutral-color,var(--spectrum-statuslight-semantic-neutral-color)
148
+ )}.spectrum-StatusLight--accent:before{background-color:var(
149
+ --mod-statuslight-semantic-accent-color,var(--spectrum-statuslight-semantic-accent-color)
150
+ )}:host([variant=info]):before{background-color:var(
151
+ --mod-statuslight-semantic-info-color,var(--spectrum-statuslight-semantic-info-color)
93
152
  )}:host([variant=negative]):before{background-color:var(
94
- --spectrum-statuslight-m-negative-dot-color,var(--spectrum-semantic-negative-status-color)
153
+ --mod-statuslight-semantic-negative-color,var(--spectrum-statuslight-semantic-negative-color)
95
154
  )}:host([variant=notice]):before{background-color:var(
96
- --spectrum-statuslight-m-notice-dot-color,var(--spectrum-semantic-notice-status-color)
155
+ --mod-statuslight-semantic-notice-color,var(--spectrum-statuslight-semantic-notice-color)
97
156
  )}:host([variant=positive]):before{background-color:var(
98
- --spectrum-statuslight-m-positive-dot-color,var(--spectrum-semantic-positive-status-color)
99
- )}:host([active]):before,:host([variant=info]):before{background-color:var(
100
- --spectrum-statuslight-m-info-dot-color,var(--spectrum-semantic-informative-status-color)
101
- )}:host([variant=neutral]){color:var(
102
- --spectrum-statuslight-m-neutral-text-color,var(--spectrum-alias-label-text-color)
103
- )}:host([variant=neutral]):before{background-color:var(
104
- --spectrum-statuslight-m-neutral-dot-color,var(--spectrum-global-color-gray-500)
105
- )}:host([variant=celery]):before{background-color:var(
106
- --spectrum-statuslight-m-celery-dot-color,var(--spectrum-global-color-celery-400)
157
+ --mod-statuslight-semantic-positive-color,var(--spectrum-statuslight-semantic-positive-color)
158
+ )}.spectrum-StatusLight--gray:before{background-color:var(
159
+ --mod-statuslight-nonsemantic-gray-color,var(--spectrum-statuslight-nonsemantic-gray-color)
160
+ )}.spectrum-StatusLight--red:before{background-color:var(
161
+ --mod-statuslight-nonsemantic-red-color,var(--spectrum-statuslight-nonsemantic-red-color)
162
+ )}.spectrum-StatusLight--orange:before{background-color:var(
163
+ --mod-statuslight-nonsemantic-orange-color,var(--spectrum-statuslight-nonsemantic-orange-color)
107
164
  )}:host([variant=yellow]):before{background-color:var(
108
- --spectrum-statuslight-m-yellow-dot-color,var(--spectrum-global-color-yellow-400)
109
- )}:host([variant=fuchsia]):before{background-color:var(
110
- --spectrum-statuslight-m-fuchsia-dot-color,var(--spectrum-global-color-fuchsia-400)
111
- )}:host([variant=indigo]):before{background-color:var(
112
- --spectrum-statuslight-m-indigo-dot-color,var(--spectrum-global-color-indigo-400)
113
- )}:host([variant=seafoam]):before{background-color:var(
114
- --spectrum-statuslight-m-seafoam-dot-color,var(--spectrum-global-color-seafoam-400)
165
+ --mod-statuslight-nonsemantic-yellow-color,var(--spectrum-statuslight-nonsemantic-yellow-color)
115
166
  )}:host([variant=chartreuse]):before{background-color:var(
116
- --spectrum-statuslight-m-chartreuse-dot-color,var(--spectrum-global-color-chartreuse-400)
117
- )}:host([variant=magenta]):before{background-color:var(
118
- --spectrum-statuslight-m-magenta-dot-color,var(--spectrum-global-color-magenta-400)
167
+ --mod-statuslight-nonsemantic-chartreuse-color,var(--spectrum-statuslight-nonsemantic-chartreuse-color)
168
+ )}:host([variant=celery]):before{background-color:var(
169
+ --mod-statuslight-nonsemantic-celery-color,var(--spectrum-statuslight-nonsemantic-celery-color)
170
+ )}.spectrum-StatusLight--green:before{background-color:var(
171
+ --mod-statuslight-nonsemantic-green-color,var(--spectrum-statuslight-nonsemantic-green-color)
172
+ )}:host([variant=seafoam]):before{background-color:var(
173
+ --mod-statuslight-nonsemantic-seafoam-color,var(--spectrum-statuslight-nonsemantic-seafoam-color)
174
+ )}.spectrum-StatusLight--cyan:before{background-color:var(
175
+ --mod-statuslight-nonsemantic-cyan-color,var(--spectrum-statuslight-nonsemantic-cyan-color)
176
+ )}.spectrum-StatusLight--blue:before{background-color:var(
177
+ --mod-statuslight-nonsemantic-blue-color,var(--spectrum-statuslight-nonsemantic-blue-color)
178
+ )}:host([variant=indigo]):before{background-color:var(
179
+ --mod-statuslight-nonsemantic-indigo-color,var(--spectrum-statuslight-nonsemantic-indigo-color)
119
180
  )}:host([variant=purple]):before{background-color:var(
120
- --spectrum-statuslight-m-purple-dot-color,var(--spectrum-global-color-purple-400)
121
- )}@media (forced-colors:active){:host([dir]){--spectrum-statuslight-m-info-text-color:CanvasText;--spectrum-statuslight-m-neutral-text-color:CanvasText;--spectrum-statuslight-m-info-text-color-disabled:GrayText;--spectrum-statuslight-m-info-dot-color-disabled:GrayText;forced-color-adjust:none}:host:before{border:1px solid ButtonText}}
181
+ --mod-statuslight-nonsemantic-purple-color,var(--spectrum-statuslight-nonsemantic-purple-color)
182
+ )}:host([variant=fuchsia]):before{background-color:var(
183
+ --mod-statuslight-nonsemantic-fuchsia-color,var(--spectrum-statuslight-nonsemantic-fuchsia-color)
184
+ )}:host([variant=magenta]):before{background-color:var(
185
+ --mod-statuslight-nonsemantic-magenta-color,var(--spectrum-statuslight-nonsemantic-magenta-color)
186
+ )}
122
187
  `;
123
188
  export default styles;
124
189
  //# sourceMappingURL=spectrum-status-light.css.dev.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["spectrum-status-light.css.ts"],
4
- "sourcesContent": ["/*\nCopyright 2022 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host([size=s]){--spectrum-statuslight-info-text-padding-bottom:var(\n--spectrum-statuslight-s-info-text-padding-bottom\n);--spectrum-statuslight-info-dot-border-radius:var(\n--spectrum-statuslight-s-info-dot-border-radius,var(--spectrum-global-dimension-static-percent-50)\n);--spectrum-statuslight-info-dot-margin-top:var(\n--spectrum-statuslight-s-info-dot-margin-top,var(--spectrum-global-dimension-size-100)\n);--spectrum-statuslight-info-dot-size:var(\n--spectrum-statuslight-s-info-dot-size,var(--spectrum-global-dimension-static-size-100)\n);--spectrum-statuslight-info-text-gap:var(\n--spectrum-statuslight-s-info-text-gap,var(--spectrum-global-dimension-size-115)\n);--spectrum-statuslight-info-text-size:var(\n--spectrum-statuslight-s-info-text-size,var(--spectrum-global-dimension-font-size-75)\n);--spectrum-statuslight-info-text-padding-top:var(\n--spectrum-statuslight-s-info-text-padding-top,var(--spectrum-global-dimension-static-size-50)\n);--spectrum-statuslight-info-text-font-weight:var(\n--spectrum-statuslight-s-info-text-font-weight,var(--spectrum-alias-body-text-font-weight)\n);--spectrum-statuslight-info-text-line-height:var(\n--spectrum-statuslight-s-info-text-line-height,var(--spectrum-alias-component-text-line-height)\n);--spectrum-statuslight-info-height:var(\n--spectrum-statuslight-s-info-height,var(--spectrum-global-dimension-size-300)\n)}:host([size=m]){--spectrum-statuslight-info-dot-border-radius:var(\n--spectrum-statuslight-m-info-dot-border-radius,var(--spectrum-global-dimension-static-percent-50)\n);--spectrum-statuslight-info-dot-margin-top:var(\n--spectrum-statuslight-m-info-dot-margin-top,var(--spectrum-global-dimension-size-130)\n);--spectrum-statuslight-info-dot-size:var(\n--spectrum-statuslight-m-info-dot-size,var(--spectrum-global-dimension-size-100)\n);--spectrum-statuslight-info-text-gap:var(\n--spectrum-statuslight-m-info-text-gap,var(--spectrum-global-dimension-size-125)\n);--spectrum-statuslight-info-text-size:var(\n--spectrum-statuslight-m-info-text-size,var(--spectrum-global-dimension-font-size-100)\n);--spectrum-statuslight-info-text-padding-top:var(\n--spectrum-statuslight-m-info-text-padding-top,var(--spectrum-global-dimension-size-75)\n);--spectrum-statuslight-info-text-padding-bottom:var(\n--spectrum-statuslight-m-info-text-padding-bottom,var(--spectrum-global-dimension-size-115)\n);--spectrum-statuslight-info-text-font-weight:var(\n--spectrum-statuslight-m-info-text-font-weight,var(--spectrum-alias-body-text-font-weight)\n);--spectrum-statuslight-info-text-line-height:var(\n--spectrum-statuslight-m-info-text-line-height,var(--spectrum-alias-component-text-line-height)\n);--spectrum-statuslight-info-height:var(\n--spectrum-statuslight-m-info-height,var(--spectrum-global-dimension-size-400)\n)}:host([size=l]){--spectrum-statuslight-info-dot-size:var(\n--spectrum-statuslight-l-info-dot-size\n);--spectrum-statuslight-info-text-padding-top:var(\n--spectrum-statuslight-l-info-text-padding-top\n);--spectrum-statuslight-info-dot-border-radius:var(\n--spectrum-statuslight-l-info-dot-border-radius,var(--spectrum-global-dimension-static-percent-50)\n);--spectrum-statuslight-info-dot-margin-top:var(\n--spectrum-statuslight-l-info-dot-margin-top,var(--spectrum-global-dimension-size-185)\n);--spectrum-statuslight-info-text-gap:var(\n--spectrum-statuslight-l-info-text-gap,var(--spectrum-global-dimension-size-130)\n);--spectrum-statuslight-info-text-size:var(\n--spectrum-statuslight-l-info-text-size,var(--spectrum-global-dimension-font-size-200)\n);--spectrum-statuslight-info-text-padding-bottom:var(\n--spectrum-statuslight-l-info-text-padding-bottom,var(--spectrum-global-dimension-size-130)\n);--spectrum-statuslight-info-text-font-weight:var(\n--spectrum-statuslight-l-info-text-font-weight,var(--spectrum-alias-body-text-font-weight)\n);--spectrum-statuslight-info-text-line-height:var(\n--spectrum-statuslight-l-info-text-line-height,var(--spectrum-alias-component-text-line-height)\n);--spectrum-statuslight-info-height:var(\n--spectrum-statuslight-l-info-height,var(--spectrum-global-dimension-size-500)\n)}:host([size=xl]){--spectrum-statuslight-info-dot-size:var(\n--spectrum-statuslight-xl-info-dot-size\n);--spectrum-statuslight-info-dot-border-radius:var(\n--spectrum-statuslight-xl-info-dot-border-radius,var(--spectrum-global-dimension-static-percent-50)\n);--spectrum-statuslight-info-dot-margin-top:var(\n--spectrum-statuslight-xl-info-dot-margin-top,var(--spectrum-global-dimension-size-250)\n);--spectrum-statuslight-info-text-gap:var(\n--spectrum-statuslight-xl-info-text-gap,var(--spectrum-global-dimension-size-160)\n);--spectrum-statuslight-info-text-size:var(\n--spectrum-statuslight-xl-info-text-size,var(--spectrum-global-dimension-font-size-300)\n);--spectrum-statuslight-info-text-padding-top:var(\n--spectrum-statuslight-xl-info-text-padding-top,var(--spectrum-global-dimension-size-150)\n);--spectrum-statuslight-info-text-padding-bottom:var(\n--spectrum-statuslight-xl-info-text-padding-bottom,var(--spectrum-global-dimension-size-175)\n);--spectrum-statuslight-info-text-font-weight:var(\n--spectrum-statuslight-xl-info-text-font-weight,var(--spectrum-alias-body-text-font-weight)\n);--spectrum-statuslight-info-text-line-height:var(\n--spectrum-statuslight-xl-info-text-line-height,var(--spectrum-alias-component-text-line-height)\n);--spectrum-statuslight-info-height:var(\n--spectrum-statuslight-xl-info-height,var(--spectrum-global-dimension-size-600)\n)}:host([dir]){--spectrum-statuslight-info-dot-resolved-margin-top:calc(var(--spectrum-statuslight-info-dot-margin-top) - var(--spectrum-statuslight-info-text-padding-top));align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:row;font-size:var(--spectrum-statuslight-info-text-size);font-weight:var(--spectrum-statuslight-info-text-font-weight);line-height:var(--spectrum-statuslight-info-text-line-height);min-height:var(--spectrum-statuslight-info-height);padding-bottom:var(--spectrum-statuslight-info-text-padding-bottom);padding-left:0;padding-right:0;padding-top:var(--spectrum-statuslight-info-text-padding-top)}:host([dir=ltr]):before{margin-left:var(\n--spectrum-global-dimension-size-0\n);margin-right:var(--spectrum-statuslight-info-text-gap)}:host([dir=rtl]):before{margin-left:var(--spectrum-statuslight-info-text-gap);margin-right:var(\n--spectrum-global-dimension-size-0\n)}:host:before{-ms-high-contrast-adjust:none;border-radius:var(--spectrum-statuslight-info-dot-border-radius);content:\"\";display:inline-block;flex-grow:0;flex-shrink:0;forced-color-adjust:none;height:var(--spectrum-statuslight-info-dot-size);margin-bottom:var(--spectrum-global-dimension-size-0);margin-top:var(--spectrum-statuslight-info-dot-resolved-margin-top);width:var(--spectrum-statuslight-info-dot-size)}:host([variant=neutral]){font-style:italic}:host([dir]){color:var(\n--spectrum-statuslight-m-info-text-color,var(--spectrum-alias-text-color)\n)}:host([disabled]),:host([disabled]){color:var(\n--spectrum-statuslight-m-info-text-color-disabled,var(--spectrum-alias-text-color-disabled)\n)}:host([disabled]):before,:host([disabled]):before{background-color:var(\n--spectrum-statuslight-m-info-dot-color-disabled,var(--spectrum-global-color-gray-400)\n)}:host([variant=negative]):before{background-color:var(\n--spectrum-statuslight-m-negative-dot-color,var(--spectrum-semantic-negative-status-color)\n)}:host([variant=notice]):before{background-color:var(\n--spectrum-statuslight-m-notice-dot-color,var(--spectrum-semantic-notice-status-color)\n)}:host([variant=positive]):before{background-color:var(\n--spectrum-statuslight-m-positive-dot-color,var(--spectrum-semantic-positive-status-color)\n)}:host([active]):before,:host([variant=info]):before{background-color:var(\n--spectrum-statuslight-m-info-dot-color,var(--spectrum-semantic-informative-status-color)\n)}:host([variant=neutral]){color:var(\n--spectrum-statuslight-m-neutral-text-color,var(--spectrum-alias-label-text-color)\n)}:host([variant=neutral]):before{background-color:var(\n--spectrum-statuslight-m-neutral-dot-color,var(--spectrum-global-color-gray-500)\n)}:host([variant=celery]):before{background-color:var(\n--spectrum-statuslight-m-celery-dot-color,var(--spectrum-global-color-celery-400)\n)}:host([variant=yellow]):before{background-color:var(\n--spectrum-statuslight-m-yellow-dot-color,var(--spectrum-global-color-yellow-400)\n)}:host([variant=fuchsia]):before{background-color:var(\n--spectrum-statuslight-m-fuchsia-dot-color,var(--spectrum-global-color-fuchsia-400)\n)}:host([variant=indigo]):before{background-color:var(\n--spectrum-statuslight-m-indigo-dot-color,var(--spectrum-global-color-indigo-400)\n)}:host([variant=seafoam]):before{background-color:var(\n--spectrum-statuslight-m-seafoam-dot-color,var(--spectrum-global-color-seafoam-400)\n)}:host([variant=chartreuse]):before{background-color:var(\n--spectrum-statuslight-m-chartreuse-dot-color,var(--spectrum-global-color-chartreuse-400)\n)}:host([variant=magenta]):before{background-color:var(\n--spectrum-statuslight-m-magenta-dot-color,var(--spectrum-global-color-magenta-400)\n)}:host([variant=purple]):before{background-color:var(\n--spectrum-statuslight-m-purple-dot-color,var(--spectrum-global-color-purple-400)\n)}@media (forced-colors:active){:host([dir]){--spectrum-statuslight-m-info-text-color:CanvasText;--spectrum-statuslight-m-neutral-text-color:CanvasText;--spectrum-statuslight-m-info-text-color-disabled:GrayText;--spectrum-statuslight-m-info-dot-color-disabled:GrayText;forced-color-adjust:none}:host:before{border:1px solid ButtonText}}\n`;\nexport default styles;"],
5
- "mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyHf,eAAe;",
4
+ "sourcesContent": ["/*\nCopyright 2022 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host([dir]){--spectrum-statuslight-corner-radius:50%;--spectrum-statuslight-font-weight:400;--spectrum-statuslight-border-width:var(--spectrum-border-width-100);--spectrum-statuslight-height:var(--spectrum-component-height-100);--spectrum-statuslight-dot-size:var(\n--spectrum-status-light-dot-size-medium\n);--spectrum-statuslight-line-height:var(--spectrum-line-height-100);--spectrum-statuslight-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-statuslight-font-size:var(--spectrum-font-size-100);--spectrum-statuslight-spacing-dot-to-label:var(\n--spectrum-text-to-visual-100\n);--spectrum-statuslight-spacing-top-to-dot:var(\n--spectrum-status-light-top-to-dot-medium\n);--spectrum-statuslight-spacing-top-to-label:var(\n--spectrum-component-top-to-text-100\n);--spectrum-statuslight-spacing-bottom-to-label:var(\n--spectrum-component-bottom-to-text-100\n);--spectrum-statuslight-content-color-default:var(\n--spectrum-neutral-content-color-default\n);--spectrum-statuslight-subdued-content-color-default:var(\n--spectrum-neutral-subdued-content-color-default\n);--spectrum-statuslight-semantic-neutral-color:var(\n--spectrum-neutral-visual-color\n);--spectrum-statuslight-semantic-accent-color:var(\n--spectrum-accent-visual-color\n);--spectrum-statuslight-semantic-negative-color:var(\n--spectrum-negative-visual-color\n);--spectrum-statuslight-semantic-info-color:var(\n--spectrum-informative-visual-color\n);--spectrum-statuslight-semantic-notice-color:var(\n--spectrum-notice-visual-color\n);--spectrum-statuslight-semantic-positive-color:var(\n--spectrum-positive-visual-color\n);--spectrum-statuslight-nonsemantic-gray-color:var(\n--spectrum-gray-visual-color\n);--spectrum-statuslight-nonsemantic-red-color:var(\n--spectrum-red-visual-color\n);--spectrum-statuslight-nonsemantic-orange-color:var(\n--spectrum-orange-visual-color\n);--spectrum-statuslight-nonsemantic-yellow-color:var(\n--spectrum-yellow-visual-color\n);--spectrum-statuslight-nonsemantic-chartreuse-color:var(\n--spectrum-chartreuse-visual-color\n);--spectrum-statuslight-nonsemantic-celery-color:var(\n--spectrum-celery-visual-color\n);--spectrum-statuslight-nonsemantic-green-color:var(\n--spectrum-green-visual-color\n);--spectrum-statuslight-nonsemantic-seafoam-color:var(\n--spectrum-seafoam-visual-color\n);--spectrum-statuslight-nonsemantic-cyan-color:var(\n--spectrum-cyan-visual-color\n);--spectrum-statuslight-nonsemantic-blue-color:var(\n--spectrum-blue-visual-color\n);--spectrum-statuslight-nonsemantic-indigo-color:var(\n--spectrum-indigo-visual-color\n);--spectrum-statuslight-nonsemantic-purple-color:var(\n--spectrum-purple-visual-color\n);--spectrum-statuslight-nonsemantic-fuchsia-color:var(\n--spectrum-fuchsia-visual-color\n);--spectrum-statuslight-nonsemantic-magenta-color:var(\n--spectrum-magenta-visual-color\n)}:host([size=s]){--spectrum-statuslight-height:var(\n--spectrum-component-height-75\n);--spectrum-statuslight-dot-size:var(\n--spectrum-status-light-dot-size-small\n);--spectrum-statuslight-font-size:var(--spectrum-font-size-75);--spectrum-statuslight-spacing-dot-to-label:var(\n--spectrum-text-to-visual-75\n);--spectrum-statuslight-spacing-top-to-dot:var(\n--spectrum-status-light-top-to-dot-small\n);--spectrum-statuslight-spacing-top-to-label:var(\n--spectrum-component-top-to-text-75\n);--spectrum-statuslight-spacing-bottom-to-label:var(\n--spectrum-component-bottom-to-text-75\n)}:host([size=m]){--spectrum-statuslight-height:var(\n--spectrum-component-height-100\n);--spectrum-statuslight-dot-size:var(\n--spectrum-status-light-dot-size-medium\n);--spectrum-statuslight-font-size:var(--spectrum-font-size-100);--spectrum-statuslight-spacing-dot-to-label:var(\n--spectrum-text-to-visual-100\n);--spectrum-statuslight-spacing-top-to-dot:var(\n--spectrum-status-light-top-to-dot-medium\n);--spectrum-statuslight-spacing-top-to-label:var(\n--spectrum-component-top-to-text-100\n);--spectrum-statuslight-spacing-bottom-to-label:var(\n--spectrum-component-bottom-to-text-100\n)}:host([size=l]){--spectrum-statuslight-height:var(\n--spectrum-component-height-200\n);--spectrum-statuslight-dot-size:var(\n--spectrum-status-light-dot-size-large\n);--spectrum-statuslight-font-size:var(--spectrum-font-size-200);--spectrum-statuslight-spacing-dot-to-label:var(\n--spectrum-text-to-visual-200\n);--spectrum-statuslight-spacing-top-to-dot:var(\n--spectrum-status-light-top-to-dot-large\n);--spectrum-statuslight-spacing-top-to-label:var(\n--spectrum-component-top-to-text-200\n);--spectrum-statuslight-spacing-bottom-to-label:var(\n--spectrum-component-bottom-to-text-200\n)}:host([size=xl]){--spectrum-statuslight-height:var(\n--spectrum-component-height-300\n);--spectrum-statuslight-dot-size:var(\n--spectrum-status-light-dot-size-extra-large\n);--spectrum-statuslight-font-size:var(--spectrum-font-size-300);--spectrum-statuslight-spacing-dot-to-label:var(\n--spectrum-text-to-visual-300\n);--spectrum-statuslight-spacing-top-to-dot:var(\n--spectrum-status-light-top-to-dot-extra-large\n);--spectrum-statuslight-spacing-top-to-label:var(\n--spectrum-component-top-to-text-300\n);--spectrum-statuslight-spacing-bottom-to-label:var(\n--spectrum-component-bottom-to-text-300\n)}@media (forced-colors:active){:host([dir]){--highcontrast-statuslight-content-color-default:CanvasText;--highcontrast-statuslight-subdued-content-color-default:CanvasText;forced-color-adjust:none}:host:before{border:var(\n--mod-statuslight-border-width,var(--spectrum-statuslight-border-width)\n) solid ButtonText}}:host([dir]){align-items:flex-start;box-sizing:border-box;color:var(\n--highcontrast-statuslight-content-color-default,var(\n--mod-statuslight-content-color-default,var(--spectrum-statuslight-content-color-default)\n)\n);display:flex;flex-direction:row;font-size:var(\n--mod-statuslight-font-size,var(--spectrum-statuslight-font-size)\n);font-weight:var(\n--mod-statuslight-font-weight,var(--spectrum-statuslight-font-weight)\n);line-height:var(\n--mod-statuslight-line-height,--spectrum-statuslight-line-height\n);min-height:var(\n--mod-statuslight-height,var(--spectrum-statuslight-height)\n);padding-block-end:var(\n--mod-statuslight-spacing-bottom-to-label,var(--spectrum-statuslight-spacing-bottom-to-label)\n);padding-block-start:var(\n--mod-statuslight-spacing-top-to-label,var(--spectrum-statuslight-spacing-top-to-label)\n);padding-inline:0}:host(:lang(ja)),:host(:lang(ko)),:host(:lang(zh)){line-height:var(\n--spectrum-statuslight-line-height-cjk,var(\n--mod-statuslight-line-height,var(--spectrum-statuslight-line-height)\n)\n)}:host:before{--spectrum-statuslight-spacing-computed-top-to-dot:calc(var(\n--mod-statuslight-spacing-top-to-dot,\nvar(--spectrum-statuslight-spacing-top-to-dot)\n) - var(\n--mod-statuslight-spacing-top-to-label,\nvar(--spectrum-statuslight-spacing-top-to-label)\n));-ms-high-contrast-adjust:none;block-size:var(\n--mod-statuslight-dot-size,var(--spectrum-statuslight-dot-size)\n);border-radius:var(\n--mod-statuslight-corner-radius,var(--spectrum-statuslight-corner-radius)\n);content:\"\";display:inline-block;flex-grow:0;flex-shrink:0;forced-color-adjust:none;inline-size:var(\n--mod-statuslight-dot-size,var(--spectrum-statuslight-dot-size)\n);margin-block-start:var(--spectrum-statuslight-spacing-computed-top-to-dot);margin-inline-end:var(\n--mod-statuslight-spacing-dot-to-label,var(--spectrum-statuslight-spacing-dot-to-label)\n)}:host([variant=neutral]){font-style:italic}:host([variant=neutral]){color:var(\n--highcontrast-statuslight-subdued-content-color-default,var(\n--mod-statuslight-subdued-content-color-default,var(--spectrum-statuslight-subdued-content-color-default)\n)\n)}:host([variant=neutral]):before{background-color:var(\n--mod-statuslight-semantic-neutral-color,var(--spectrum-statuslight-semantic-neutral-color)\n)}.spectrum-StatusLight--accent:before{background-color:var(\n--mod-statuslight-semantic-accent-color,var(--spectrum-statuslight-semantic-accent-color)\n)}:host([variant=info]):before{background-color:var(\n--mod-statuslight-semantic-info-color,var(--spectrum-statuslight-semantic-info-color)\n)}:host([variant=negative]):before{background-color:var(\n--mod-statuslight-semantic-negative-color,var(--spectrum-statuslight-semantic-negative-color)\n)}:host([variant=notice]):before{background-color:var(\n--mod-statuslight-semantic-notice-color,var(--spectrum-statuslight-semantic-notice-color)\n)}:host([variant=positive]):before{background-color:var(\n--mod-statuslight-semantic-positive-color,var(--spectrum-statuslight-semantic-positive-color)\n)}.spectrum-StatusLight--gray:before{background-color:var(\n--mod-statuslight-nonsemantic-gray-color,var(--spectrum-statuslight-nonsemantic-gray-color)\n)}.spectrum-StatusLight--red:before{background-color:var(\n--mod-statuslight-nonsemantic-red-color,var(--spectrum-statuslight-nonsemantic-red-color)\n)}.spectrum-StatusLight--orange:before{background-color:var(\n--mod-statuslight-nonsemantic-orange-color,var(--spectrum-statuslight-nonsemantic-orange-color)\n)}:host([variant=yellow]):before{background-color:var(\n--mod-statuslight-nonsemantic-yellow-color,var(--spectrum-statuslight-nonsemantic-yellow-color)\n)}:host([variant=chartreuse]):before{background-color:var(\n--mod-statuslight-nonsemantic-chartreuse-color,var(--spectrum-statuslight-nonsemantic-chartreuse-color)\n)}:host([variant=celery]):before{background-color:var(\n--mod-statuslight-nonsemantic-celery-color,var(--spectrum-statuslight-nonsemantic-celery-color)\n)}.spectrum-StatusLight--green:before{background-color:var(\n--mod-statuslight-nonsemantic-green-color,var(--spectrum-statuslight-nonsemantic-green-color)\n)}:host([variant=seafoam]):before{background-color:var(\n--mod-statuslight-nonsemantic-seafoam-color,var(--spectrum-statuslight-nonsemantic-seafoam-color)\n)}.spectrum-StatusLight--cyan:before{background-color:var(\n--mod-statuslight-nonsemantic-cyan-color,var(--spectrum-statuslight-nonsemantic-cyan-color)\n)}.spectrum-StatusLight--blue:before{background-color:var(\n--mod-statuslight-nonsemantic-blue-color,var(--spectrum-statuslight-nonsemantic-blue-color)\n)}:host([variant=indigo]):before{background-color:var(\n--mod-statuslight-nonsemantic-indigo-color,var(--spectrum-statuslight-nonsemantic-indigo-color)\n)}:host([variant=purple]):before{background-color:var(\n--mod-statuslight-nonsemantic-purple-color,var(--spectrum-statuslight-nonsemantic-purple-color)\n)}:host([variant=fuchsia]):before{background-color:var(\n--mod-statuslight-nonsemantic-fuchsia-color,var(--spectrum-statuslight-nonsemantic-fuchsia-color)\n)}:host([variant=magenta]):before{background-color:var(\n--mod-statuslight-nonsemantic-magenta-color,var(--spectrum-statuslight-nonsemantic-magenta-color)\n)}\n`;\nexport default styles;"],
5
+ "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyLf,eAAe;",
6
6
  "names": []
7
7
  }