@spectrum-web-components/status-light 0.11.0-devmode.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/sp-status-light.dev.js +1 -0
- package/sp-status-light.dev.js.map +1 -1
- package/sp-status-light.js +1 -2
- package/sp-status-light.js.map +2 -2
- package/src/StatusLight.dev.js +1 -0
- package/src/StatusLight.dev.js.map +1 -1
- package/src/StatusLight.js +2 -48
- package/src/StatusLight.js.map +2 -2
- package/src/index.dev.js +1 -0
- package/src/index.dev.js.map +1 -1
- package/src/index.js +1 -1
- package/src/index.js.map +1 -1
- package/src/spectrum-status-light.css.dev.js +178 -113
- package/src/spectrum-status-light.css.dev.js.map +2 -2
- package/src/spectrum-status-light.css.js +179 -117
- package/src/spectrum-status-light.css.js.map +3 -3
- package/src/status-light.css.dev.js +178 -113
- package/src/status-light.css.dev.js.map +2 -2
- package/src/status-light.css.js +179 -117
- package/src/status-light.css.js.map +3 -3
- package/stories/status-light.stories.js +1 -0
- package/stories/status-light.stories.js.map +1 -1
- package/test/status-light.test-vrt.js +1 -0
- package/test/status-light.test-vrt.js.map +1 -1
- package/test/status-light.test.js +9 -4
- package/test/status-light.test.js.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/status-light",
|
3
|
-
"version": "0.11.
|
3
|
+
"version": "0.11.1",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -57,11 +57,11 @@
|
|
57
57
|
"lit-html"
|
58
58
|
],
|
59
59
|
"dependencies": {
|
60
|
-
"@spectrum-web-components/base": "^0.
|
60
|
+
"@spectrum-web-components/base": "^0.7.0",
|
61
61
|
"tslib": "^2.0.0"
|
62
62
|
},
|
63
63
|
"devDependencies": {
|
64
|
-
"@spectrum-css/statuslight": "^
|
64
|
+
"@spectrum-css/statuslight": "^5.0.0"
|
65
65
|
},
|
66
66
|
"types": "./src/index.d.ts",
|
67
67
|
"customElements": "custom-elements.json",
|
@@ -69,5 +69,5 @@
|
|
69
69
|
"./sp-*.js",
|
70
70
|
"./**/*.dev.js"
|
71
71
|
],
|
72
|
-
"gitHead": "
|
72
|
+
"gitHead": "15588c72c774b17cfac605b20ac52a27d123bd03"
|
73
73
|
}
|
package/sp-status-light.dev.js
CHANGED
@@ -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;
|
5
|
+
"mappings": ";AAWA,SAAS,mBAAmB;AAE5B,eAAe,OAAO,mBAAmB,WAAW;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/sp-status-light.js
CHANGED
package/sp-status-light.js.map
CHANGED
@@ -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": "
|
6
|
-
"names": []
|
5
|
+
"mappings": "aAWA,OAAS,eAAAA,MAAmB,uBAE5B,eAAe,OAAO,kBAAmBA,CAAW",
|
6
|
+
"names": ["StatusLight"]
|
7
7
|
}
|
package/src/StatusLight.dev.js
CHANGED
@@ -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": "
|
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
|
}
|
package/src/StatusLight.js
CHANGED
@@ -1,50 +1,4 @@
|
|
1
|
-
var
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
4
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
5
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
6
|
-
if (decorator = decorators[i])
|
7
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
8
|
-
if (kind && result)
|
9
|
-
__defProp(target, key, result);
|
10
|
-
return result;
|
11
|
-
};
|
12
|
-
import {
|
13
|
-
html,
|
14
|
-
SizedMixin,
|
15
|
-
SpectrumElement
|
16
|
-
} from "@spectrum-web-components/base";
|
17
|
-
import { property } from "@spectrum-web-components/base/src/decorators.js";
|
18
|
-
import statusLightStyles from "./status-light.css.js";
|
19
|
-
export class StatusLight extends SizedMixin(SpectrumElement) {
|
20
|
-
constructor() {
|
21
|
-
super(...arguments);
|
22
|
-
this.disabled = false;
|
23
|
-
this.variant = "info";
|
24
|
-
}
|
25
|
-
static get styles() {
|
26
|
-
return [statusLightStyles];
|
27
|
-
}
|
28
|
-
render() {
|
29
|
-
return html`
|
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`
|
30
2
|
<slot></slot>
|
31
|
-
|
32
|
-
}
|
33
|
-
updated(changes) {
|
34
|
-
super.updated(changes);
|
35
|
-
if (changes.has("disabled")) {
|
36
|
-
if (this.disabled) {
|
37
|
-
this.setAttribute("aria-disabled", "true");
|
38
|
-
} else {
|
39
|
-
this.removeAttribute("aria-disabled");
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|
44
|
-
__decorateClass([
|
45
|
-
property({ type: Boolean, reflect: true })
|
46
|
-
], StatusLight.prototype, "disabled", 2);
|
47
|
-
__decorateClass([
|
48
|
-
property({ reflect: true })
|
49
|
-
], 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);
|
50
4
|
//# sourceMappingURL=StatusLight.js.map
|
package/src/StatusLight.js.map
CHANGED
@@ -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": "
|
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
package/src/index.dev.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.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
|
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": "
|
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([
|
4
|
-
--spectrum-
|
5
|
-
);--spectrum-statuslight-
|
6
|
-
--spectrum-
|
7
|
-
);--spectrum-statuslight-
|
8
|
-
--spectrum-
|
9
|
-
);--spectrum-statuslight-
|
10
|
-
--spectrum-
|
11
|
-
);--spectrum-statuslight-
|
12
|
-
--spectrum-
|
13
|
-
);--spectrum-statuslight-
|
14
|
-
--spectrum-
|
15
|
-
);--spectrum-statuslight-
|
16
|
-
--spectrum-
|
17
|
-
);--spectrum-statuslight-
|
18
|
-
--spectrum-
|
19
|
-
);--spectrum-statuslight-
|
20
|
-
--spectrum-
|
21
|
-
);--spectrum-statuslight-
|
22
|
-
--spectrum-
|
23
|
-
)
|
24
|
-
--spectrum-
|
25
|
-
);--spectrum-statuslight-
|
26
|
-
--spectrum-
|
27
|
-
);--spectrum-statuslight-
|
28
|
-
--spectrum-
|
29
|
-
);--spectrum-statuslight-
|
30
|
-
--spectrum-
|
31
|
-
);--spectrum-statuslight-
|
32
|
-
--spectrum-
|
33
|
-
);--spectrum-statuslight-
|
34
|
-
--spectrum-
|
35
|
-
);--spectrum-statuslight-
|
36
|
-
--spectrum-
|
37
|
-
);--spectrum-statuslight-
|
38
|
-
--spectrum-
|
39
|
-
);--spectrum-statuslight-
|
40
|
-
--spectrum-
|
41
|
-
);--spectrum-statuslight-
|
42
|
-
--spectrum-
|
43
|
-
)
|
44
|
-
--spectrum-
|
45
|
-
);--spectrum-statuslight-
|
46
|
-
--spectrum-
|
47
|
-
);--spectrum-statuslight-
|
48
|
-
--spectrum-
|
49
|
-
);--spectrum-statuslight-
|
50
|
-
--spectrum-
|
51
|
-
);--spectrum-statuslight-
|
52
|
-
--spectrum-
|
53
|
-
);--spectrum-statuslight-
|
54
|
-
--spectrum-
|
55
|
-
);--spectrum-statuslight-
|
56
|
-
--spectrum-
|
57
|
-
)
|
58
|
-
--spectrum-
|
59
|
-
);--spectrum-statuslight-
|
60
|
-
--spectrum-
|
61
|
-
);--spectrum-statuslight-
|
62
|
-
--spectrum-
|
63
|
-
)
|
64
|
-
--spectrum-
|
65
|
-
);--spectrum-statuslight-
|
66
|
-
--spectrum-
|
67
|
-
);--spectrum-statuslight-
|
68
|
-
--spectrum-
|
69
|
-
)
|
70
|
-
--spectrum-
|
71
|
-
);--spectrum-statuslight-
|
72
|
-
--spectrum-
|
73
|
-
);--spectrum-statuslight-
|
74
|
-
--spectrum-
|
75
|
-
);--spectrum-statuslight-
|
76
|
-
--spectrum-
|
77
|
-
);--spectrum-statuslight-
|
78
|
-
--spectrum-
|
79
|
-
);--spectrum-statuslight-
|
80
|
-
--spectrum-
|
81
|
-
)
|
82
|
-
--spectrum-
|
83
|
-
)
|
84
|
-
--spectrum-
|
85
|
-
)
|
86
|
-
--spectrum-
|
87
|
-
)
|
88
|
-
--spectrum-
|
89
|
-
)
|
90
|
-
--spectrum-
|
91
|
-
)
|
92
|
-
--spectrum-
|
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
|
-
--
|
153
|
+
--mod-statuslight-semantic-negative-color,var(--spectrum-statuslight-semantic-negative-color)
|
95
154
|
)}:host([variant=notice]):before{background-color:var(
|
96
|
-
--
|
155
|
+
--mod-statuslight-semantic-notice-color,var(--spectrum-statuslight-semantic-notice-color)
|
97
156
|
)}:host([variant=positive]):before{background-color:var(
|
98
|
-
--
|
99
|
-
)}:
|
100
|
-
--
|
101
|
-
)}:
|
102
|
-
--
|
103
|
-
)}:
|
104
|
-
--
|
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
|
-
--
|
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
|
-
--
|
117
|
-
)}:host([variant=
|
118
|
-
--
|
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
|
-
--
|
121
|
-
)}
|
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;
|
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
|
}
|