@spectrum-web-components/color-handle 0.44.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +5 -5
- package/src/color-handle.css.dev.js +1 -1
- package/src/color-handle.css.dev.js.map +1 -1
- package/src/color-handle.css.js +1 -1
- package/src/color-handle.css.js.map +1 -1
- package/src/spectrum-color-handle.css.dev.js +1 -1
- package/src/spectrum-color-handle.css.dev.js.map +1 -1
- package/src/spectrum-color-handle.css.js +1 -1
- package/src/spectrum-color-handle.css.js.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/color-handle",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.46.0",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -57,9 +57,9 @@
|
|
57
57
|
"lit-html"
|
58
58
|
],
|
59
59
|
"dependencies": {
|
60
|
-
"@spectrum-web-components/base": "^0.
|
61
|
-
"@spectrum-web-components/color-loupe": "^0.
|
62
|
-
"@spectrum-web-components/opacity-checkerboard": "^0.
|
60
|
+
"@spectrum-web-components/base": "^0.46.0",
|
61
|
+
"@spectrum-web-components/color-loupe": "^0.46.0",
|
62
|
+
"@spectrum-web-components/opacity-checkerboard": "^0.46.0"
|
63
63
|
},
|
64
64
|
"devDependencies": {
|
65
65
|
"@spectrum-css/colorhandle": "^8.1.0"
|
@@ -70,5 +70,5 @@
|
|
70
70
|
"./sp-*.js",
|
71
71
|
"./**/*.dev.js"
|
72
72
|
],
|
73
|
-
"gitHead": "
|
73
|
+
"gitHead": "ab84b447210de593649b086a1605abf1be1d64f2"
|
74
74
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
import { css } from "@spectrum-web-components/base";
|
3
3
|
const styles = css`
|
4
|
-
:host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100
|
4
|
+
:host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}:host{touch-action:none;transition:inline-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),block-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),border-width var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-inline var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-block var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}:host(:focus){outline:none}
|
5
5
|
`;
|
6
6
|
export default styles;
|
7
7
|
//# sourceMappingURL=color-handle.css.dev.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["color-handle.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:\"\";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:\"\";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}:host{touch-action:none;transition:inline-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),block-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),border-width var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-inline var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-block var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}:host(:focus){outline:none}\n`;\nexport default styles;"],
|
5
5
|
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/src/color-handle.css.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";import{css as o}from"@spectrum-web-components/base";const r=o`
|
2
|
-
:host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100
|
2
|
+
:host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}:host{touch-action:none;transition:inline-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),block-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),border-width var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-inline var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-block var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}:host(:focus){outline:none}
|
3
3
|
`;export default r;
|
4
4
|
//# sourceMappingURL=color-handle.css.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["color-handle.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:\"\";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:\"\";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}:host{touch-action:none;transition:inline-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),block-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),border-width var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-inline var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-block var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}:host(:focus){outline:none}\n`;\nexport default styles;"],
|
5
5
|
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
|
6
6
|
"names": ["css", "styles"]
|
7
7
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
import { css } from "@spectrum-web-components/base";
|
3
3
|
const styles = css`
|
4
|
-
:host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100
|
4
|
+
:host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}
|
5
5
|
`;
|
6
6
|
export default styles;
|
7
7
|
//# sourceMappingURL=spectrum-color-handle.css.dev.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["spectrum-color-handle.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:\"\";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:\"\";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}\n`;\nexport default styles;"],
|
5
5
|
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";import{css as r}from"@spectrum-web-components/base";const o=r`
|
2
|
-
:host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100
|
2
|
+
:host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}
|
3
3
|
`;export default o;
|
4
4
|
//# sourceMappingURL=spectrum-color-handle.css.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["spectrum-color-handle.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:\"\";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:\"\";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{inline-size:100%;block-size:100%;box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}\n`;\nexport default styles;"],
|
5
5
|
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
|
6
6
|
"names": ["css", "styles"]
|
7
7
|
}
|