@spectrum-web-components/status-light 0.39.2 → 0.39.4
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/src/spectrum-status-light.css.dev.js +1 -1
- package/src/spectrum-status-light.css.dev.js.map +1 -1
- package/src/spectrum-status-light.css.js +1 -1
- package/src/spectrum-status-light.css.js.map +1 -1
- package/src/status-light.css.dev.js +1 -1
- package/src/status-light.css.dev.js.map +1 -1
- package/src/status-light.css.js +1 -1
- package/src/status-light.css.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.39.
|
3
|
+
"version": "0.39.4",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -57,10 +57,10 @@
|
|
57
57
|
"lit-html"
|
58
58
|
],
|
59
59
|
"dependencies": {
|
60
|
-
"@spectrum-web-components/base": "^0.39.
|
60
|
+
"@spectrum-web-components/base": "^0.39.4"
|
61
61
|
},
|
62
62
|
"devDependencies": {
|
63
|
-
"@spectrum-css/statuslight": "^6.0.
|
63
|
+
"@spectrum-css/statuslight": "^6.0.57"
|
64
64
|
},
|
65
65
|
"types": "./src/index.d.ts",
|
66
66
|
"customElements": "custom-elements.json",
|
@@ -68,5 +68,5 @@
|
|
68
68
|
"./sp-*.js",
|
69
69
|
"./**/*.dev.js"
|
70
70
|
],
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "f745c90e8e9ea85ff10be025e058b14cc925ec9f"
|
72
72
|
}
|
@@ -107,7 +107,7 @@ const styles = css`
|
|
107
107
|
--mod-statuslight-font-weight,var(--spectrum-statuslight-font-weight)
|
108
108
|
);line-height:var(
|
109
109
|
--mod-statuslight-line-height,var(--spectrum-statuslight-line-height)
|
110
|
-
);min-
|
110
|
+
);min-block-size:var(
|
111
111
|
--mod-statuslight-height,var(--spectrum-statuslight-height)
|
112
112
|
);padding-block-end:var(
|
113
113
|
--mod-statuslight-spacing-bottom-to-label,var(--spectrum-statuslight-spacing-bottom-to-label)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["spectrum-status-light.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2023 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(--spectrum-component-height-75);--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{--spectrum-statuslight-height:var(--spectrum-component-height-100);--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(--spectrum-component-height-200);--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(--spectrum-component-height-300);--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,var(--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--mod-statuslight-line-height-cjk,var(--spectrum-statuslight-line-height-cjk)\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;"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2023 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(--spectrum-component-height-75);--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{--spectrum-statuslight-height:var(--spectrum-component-height-100);--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(--spectrum-component-height-200);--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(--spectrum-component-height-300);--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,var(--spectrum-statuslight-line-height)\n);min-block-size: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--mod-statuslight-line-height-cjk,var(--spectrum-statuslight-line-height-cjk)\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
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;AA+Kf,eAAe;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -105,7 +105,7 @@
|
|
105
105
|
--mod-statuslight-font-weight,var(--spectrum-statuslight-font-weight)
|
106
106
|
);line-height:var(
|
107
107
|
--mod-statuslight-line-height,var(--spectrum-statuslight-line-height)
|
108
|
-
);min-
|
108
|
+
);min-block-size:var(
|
109
109
|
--mod-statuslight-height,var(--spectrum-statuslight-height)
|
110
110
|
);padding-block-end:var(
|
111
111
|
--mod-statuslight-spacing-bottom-to-label,var(--spectrum-statuslight-spacing-bottom-to-label)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["spectrum-status-light.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2023 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(--spectrum-component-height-75);--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{--spectrum-statuslight-height:var(--spectrum-component-height-100);--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(--spectrum-component-height-200);--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(--spectrum-component-height-300);--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,var(--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--mod-statuslight-line-height-cjk,var(--spectrum-statuslight-line-height-cjk)\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;"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2023 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(--spectrum-component-height-75);--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{--spectrum-statuslight-height:var(--spectrum-component-height-100);--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(--spectrum-component-height-200);--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(--spectrum-component-height-300);--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,var(--spectrum-statuslight-line-height)\n);min-block-size: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--mod-statuslight-line-height-cjk,var(--spectrum-statuslight-line-height-cjk)\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
5
|
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA+Kf,eAAeC",
|
6
6
|
"names": ["css", "styles"]
|
7
7
|
}
|
@@ -107,7 +107,7 @@ const styles = css`
|
|
107
107
|
--mod-statuslight-font-weight,var(--spectrum-statuslight-font-weight)
|
108
108
|
);line-height:var(
|
109
109
|
--mod-statuslight-line-height,var(--spectrum-statuslight-line-height)
|
110
|
-
);min-
|
110
|
+
);min-block-size:var(
|
111
111
|
--mod-statuslight-height,var(--spectrum-statuslight-height)
|
112
112
|
);padding-block-end:var(
|
113
113
|
--mod-statuslight-spacing-bottom-to-label,var(--spectrum-statuslight-spacing-bottom-to-label)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["status-light.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2023 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(--spectrum-component-height-75);--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{--spectrum-statuslight-height:var(--spectrum-component-height-100);--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(--spectrum-component-height-200);--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(--spectrum-component-height-300);--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,var(--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--mod-statuslight-line-height-cjk,var(--spectrum-statuslight-line-height-cjk)\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)}:host([disabled]):before{background-color:var(\n--spectrum-statuslight-dot-color-disabled,var(--spectrum-global-color-gray-400)\n)}\n`;\nexport default styles;"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2023 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(--spectrum-component-height-75);--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{--spectrum-statuslight-height:var(--spectrum-component-height-100);--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(--spectrum-component-height-200);--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(--spectrum-component-height-300);--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,var(--spectrum-statuslight-line-height)\n);min-block-size: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--mod-statuslight-line-height-cjk,var(--spectrum-statuslight-line-height-cjk)\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)}:host([disabled]):before{background-color:var(\n--spectrum-statuslight-dot-color-disabled,var(--spectrum-global-color-gray-400)\n)}\n`;\nexport default styles;"],
|
5
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;AAiLf,eAAe;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/src/status-light.css.js
CHANGED
@@ -105,7 +105,7 @@
|
|
105
105
|
--mod-statuslight-font-weight,var(--spectrum-statuslight-font-weight)
|
106
106
|
);line-height:var(
|
107
107
|
--mod-statuslight-line-height,var(--spectrum-statuslight-line-height)
|
108
|
-
);min-
|
108
|
+
);min-block-size:var(
|
109
109
|
--mod-statuslight-height,var(--spectrum-statuslight-height)
|
110
110
|
);padding-block-end:var(
|
111
111
|
--mod-statuslight-spacing-bottom-to-label,var(--spectrum-statuslight-spacing-bottom-to-label)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["status-light.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2023 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(--spectrum-component-height-75);--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{--spectrum-statuslight-height:var(--spectrum-component-height-100);--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(--spectrum-component-height-200);--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(--spectrum-component-height-300);--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,var(--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--mod-statuslight-line-height-cjk,var(--spectrum-statuslight-line-height-cjk)\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)}:host([disabled]):before{background-color:var(\n--spectrum-statuslight-dot-color-disabled,var(--spectrum-global-color-gray-400)\n)}\n`;\nexport default styles;"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2023 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(--spectrum-component-height-75);--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{--spectrum-statuslight-height:var(--spectrum-component-height-100);--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(--spectrum-component-height-200);--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(--spectrum-component-height-300);--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,var(--spectrum-statuslight-line-height)\n);min-block-size: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--mod-statuslight-line-height-cjk,var(--spectrum-statuslight-line-height-cjk)\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)}:host([disabled]):before{background-color:var(\n--spectrum-statuslight-dot-color-disabled,var(--spectrum-global-color-gray-400)\n)}\n`;\nexport default styles;"],
|
5
5
|
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAiLf,eAAeC",
|
6
6
|
"names": ["css", "styles"]
|
7
7
|
}
|