@spectrum-web-components/color-handle 0.50.0-beta.1 → 0.50.0-beta.10

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/color-handle",
3
- "version": "0.50.0-beta.1",
3
+ "version": "0.50.0-beta.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,6 +29,7 @@
29
29
  "development": "./src/ColorHandle.dev.js",
30
30
  "default": "./src/ColorHandle.js"
31
31
  },
32
+ "./src/color-handle-overrides.css.js": "./src/color-handle-overrides.css.js",
32
33
  "./src/color-handle.css.js": "./src/color-handle.css.js",
33
34
  "./src/index.js": {
34
35
  "development": "./src/index.dev.js",
@@ -57,12 +58,12 @@
57
58
  "lit-html"
58
59
  ],
59
60
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.50.0-beta.1",
61
- "@spectrum-web-components/color-loupe": "^0.50.0-beta.1",
62
- "@spectrum-web-components/opacity-checkerboard": "^0.50.0-beta.1"
61
+ "@spectrum-web-components/base": "^0.50.0-beta.10",
62
+ "@spectrum-web-components/color-loupe": "^0.50.0-beta.10",
63
+ "@spectrum-web-components/opacity-checkerboard": "^0.50.0-beta.10"
63
64
  },
64
65
  "devDependencies": {
65
- "@spectrum-css/colorhandle": "^8.1.0"
66
+ "@spectrum-css/colorhandle": "^9.0.0-s2-foundations.16"
66
67
  },
67
68
  "types": "./src/index.d.ts",
68
69
  "customElements": "custom-elements.json",
@@ -70,5 +71,5 @@
70
71
  "./sp-*.js",
71
72
  "./**/*.dev.js"
72
73
  ],
73
- "gitHead": "b0ffab750c03ed7c7ad4436954c437b82235b403"
74
+ "gitHead": "395073bbb2a7fc859d54f59cd0d93d80cc3c60a7"
74
75
  }
@@ -0,0 +1,2 @@
1
+ declare const styles: import("@spectrum-web-components/base").CSSResult;
2
+ export default styles;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ import { css } from "@spectrum-web-components/base";
3
+ const styles = css`
4
+ :host{--spectrum-colorhandle-size:var(--system-color-handle-size);--spectrum-colorhandle-focused-size:var(--system-color-handle-focused-size);--spectrum-colorhandle-hitarea-size:var(--system-color-handle-hitarea-size);--spectrum-colorhandle-animation-duration:var(--system-color-handle-animation-duration);--spectrum-colorhandle-animation-easing:var(--system-color-handle-animation-easing);--spectrum-colorhandle-outer-border-color:var(--system-color-handle-outer-border-color);--spectrum-colorhandle-outer-border-width:var(--system-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:var(--system-color-handle-inner-border-color);--spectrum-colorhandle-inner-border-width:var(--system-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--system-color-handle-border-width);--spectrum-colorhandle-border-color:var(--system-color-handle-border-color);--spectrum-colorhandle-border-color-disabled:var(--system-color-handle-border-color-disabled);--spectrum-colorhandle-fill-color-disabled:var(--system-color-handle-fill-color-disabled)}
5
+ `;
6
+ export default styles;
7
+ //# sourceMappingURL=color-handle-overrides.css.dev.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["color-handle-overrides.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(--system-color-handle-size);--spectrum-colorhandle-focused-size:var(--system-color-handle-focused-size);--spectrum-colorhandle-hitarea-size:var(--system-color-handle-hitarea-size);--spectrum-colorhandle-animation-duration:var(--system-color-handle-animation-duration);--spectrum-colorhandle-animation-easing:var(--system-color-handle-animation-easing);--spectrum-colorhandle-outer-border-color:var(--system-color-handle-outer-border-color);--spectrum-colorhandle-outer-border-width:var(--system-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:var(--system-color-handle-inner-border-color);--spectrum-colorhandle-inner-border-width:var(--system-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--system-color-handle-border-width);--spectrum-colorhandle-border-color:var(--system-color-handle-border-color);--spectrum-colorhandle-border-color-disabled:var(--system-color-handle-border-color-disabled);--spectrum-colorhandle-fill-color-disabled:var(--system-color-handle-fill-color-disabled)}\n`;\nexport default styles;"],
5
+ "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
6
+ "names": []
7
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";import{css as r}from"@spectrum-web-components/base";const o=r`
2
+ :host{--spectrum-colorhandle-size:var(--system-color-handle-size);--spectrum-colorhandle-focused-size:var(--system-color-handle-focused-size);--spectrum-colorhandle-hitarea-size:var(--system-color-handle-hitarea-size);--spectrum-colorhandle-animation-duration:var(--system-color-handle-animation-duration);--spectrum-colorhandle-animation-easing:var(--system-color-handle-animation-easing);--spectrum-colorhandle-outer-border-color:var(--system-color-handle-outer-border-color);--spectrum-colorhandle-outer-border-width:var(--system-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:var(--system-color-handle-inner-border-color);--spectrum-colorhandle-inner-border-width:var(--system-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--system-color-handle-border-width);--spectrum-colorhandle-border-color:var(--system-color-handle-border-color);--spectrum-colorhandle-border-color-disabled:var(--system-color-handle-border-color-disabled);--spectrum-colorhandle-fill-color-disabled:var(--system-color-handle-fill-color-disabled)}
3
+ `;export default o;
4
+ //# sourceMappingURL=color-handle-overrides.css.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["color-handle-overrides.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(--system-color-handle-size);--spectrum-colorhandle-focused-size:var(--system-color-handle-focused-size);--spectrum-colorhandle-hitarea-size:var(--system-color-handle-hitarea-size);--spectrum-colorhandle-animation-duration:var(--system-color-handle-animation-duration);--spectrum-colorhandle-animation-easing:var(--system-color-handle-animation-easing);--spectrum-colorhandle-outer-border-color:var(--system-color-handle-outer-border-color);--spectrum-colorhandle-outer-border-width:var(--system-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:var(--system-color-handle-inner-border-color);--spectrum-colorhandle-inner-border-width:var(--system-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--system-color-handle-border-width);--spectrum-colorhandle-border-color:var(--system-color-handle-border-color);--spectrum-colorhandle-border-color-disabled:var(--system-color-handle-border-color-disabled);--spectrum-colorhandle-fill-color-disabled:var(--system-color-handle-fill-color-disabled)}\n`;\nexport default styles;"],
5
+ "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
6
+ "names": ["css", "styles"]
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{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}
4
+ :host{--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}:host,:host:after{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%)}: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{--spectrum-colorhandle-size:var(--system-color-handle-size);--spectrum-colorhandle-focused-size:var(--system-color-handle-focused-size);--spectrum-colorhandle-hitarea-size:var(--system-color-handle-hitarea-size);--spectrum-colorhandle-animation-duration:var(--system-color-handle-animation-duration);--spectrum-colorhandle-animation-easing:var(--system-color-handle-animation-easing);--spectrum-colorhandle-outer-border-color:var(--system-color-handle-outer-border-color);--spectrum-colorhandle-outer-border-width:var(--system-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:var(--system-color-handle-inner-border-color);--spectrum-colorhandle-inner-border-width:var(--system-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--system-color-handle-border-width);--spectrum-colorhandle-border-color:var(--system-color-handle-border-color);--spectrum-colorhandle-border-color-disabled:var(--system-color-handle-border-color-disabled);--spectrum-colorhandle-fill-color-disabled:var(--system-color-handle-fill-color-disabled)}: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{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;"],
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{--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}:host,:host:after{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%)}: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{--spectrum-colorhandle-size:var(--system-color-handle-size);--spectrum-colorhandle-focused-size:var(--system-color-handle-focused-size);--spectrum-colorhandle-hitarea-size:var(--system-color-handle-hitarea-size);--spectrum-colorhandle-animation-duration:var(--system-color-handle-animation-duration);--spectrum-colorhandle-animation-easing:var(--system-color-handle-animation-easing);--spectrum-colorhandle-outer-border-color:var(--system-color-handle-outer-border-color);--spectrum-colorhandle-outer-border-width:var(--system-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:var(--system-color-handle-inner-border-color);--spectrum-colorhandle-inner-border-width:var(--system-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--system-color-handle-border-width);--spectrum-colorhandle-border-color:var(--system-color-handle-border-color);--spectrum-colorhandle-border-color-disabled:var(--system-color-handle-border-color-disabled);--spectrum-colorhandle-fill-color-disabled:var(--system-color-handle-fill-color-disabled)}: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
  }
@@ -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{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}
2
+ :host{--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}:host,:host:after{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%)}: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{--spectrum-colorhandle-size:var(--system-color-handle-size);--spectrum-colorhandle-focused-size:var(--system-color-handle-focused-size);--spectrum-colorhandle-hitarea-size:var(--system-color-handle-hitarea-size);--spectrum-colorhandle-animation-duration:var(--system-color-handle-animation-duration);--spectrum-colorhandle-animation-easing:var(--system-color-handle-animation-easing);--spectrum-colorhandle-outer-border-color:var(--system-color-handle-outer-border-color);--spectrum-colorhandle-outer-border-width:var(--system-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:var(--system-color-handle-inner-border-color);--spectrum-colorhandle-inner-border-width:var(--system-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--system-color-handle-border-width);--spectrum-colorhandle-border-color:var(--system-color-handle-border-color);--spectrum-colorhandle-border-color-disabled:var(--system-color-handle-border-color-disabled);--spectrum-colorhandle-fill-color-disabled:var(--system-color-handle-fill-color-disabled)}: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{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;"],
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{--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}:host,:host:after{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%)}: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{--spectrum-colorhandle-size:var(--system-color-handle-size);--spectrum-colorhandle-focused-size:var(--system-color-handle-focused-size);--spectrum-colorhandle-hitarea-size:var(--system-color-handle-hitarea-size);--spectrum-colorhandle-animation-duration:var(--system-color-handle-animation-duration);--spectrum-colorhandle-animation-easing:var(--system-color-handle-animation-easing);--spectrum-colorhandle-outer-border-color:var(--system-color-handle-outer-border-color);--spectrum-colorhandle-outer-border-width:var(--system-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:var(--system-color-handle-inner-border-color);--spectrum-colorhandle-inner-border-width:var(--system-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--system-color-handle-border-width);--spectrum-colorhandle-border-color:var(--system-color-handle-border-color);--spectrum-colorhandle-border-color-disabled:var(--system-color-handle-border-color-disabled);--spectrum-colorhandle-fill-color-disabled:var(--system-color-handle-fill-color-disabled)}: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{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}}
4
+ :host{--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}:host,:host:after{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%)}: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{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;"],
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{--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}:host,:host:after{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%)}: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
- "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{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
- `;export default o;
1
+ "use strict";import{css as o}from"@spectrum-web-components/base";const r=o`
2
+ :host{--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}:host,:host:after{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%)}: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
+ `;export default r;
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{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;"],
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{--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}:host,:host:after{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%)}: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
  }