@spectrum-web-components/color-handle 0.41.1 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/color-handle",
3
- "version": "0.41.1",
3
+ "version": "0.41.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,12 +57,12 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.41.1",
61
- "@spectrum-web-components/color-loupe": "^0.41.1",
62
- "@spectrum-web-components/opacity-checkerboard": "^0.41.1"
60
+ "@spectrum-web-components/base": "^0.41.2",
61
+ "@spectrum-web-components/color-loupe": "^0.41.2",
62
+ "@spectrum-web-components/opacity-checkerboard": "^0.41.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@spectrum-css/colorhandle": "^7.1.1"
65
+ "@spectrum-css/colorhandle": "^7.1.2"
66
66
  },
67
67
  "types": "./src/index.d.ts",
68
68
  "customElements": "custom-elements.json",
@@ -70,5 +70,5 @@
70
70
  "./sp-*.js",
71
71
  "./**/*.dev.js"
72
72
  ],
73
- "gitHead": "1eded35d98d01973b40990486b86840ba464a2da"
73
+ "gitHead": "78c3f16b08c9133c9e5ca88d0c9fef5ea7d2ab87"
74
74
  }
@@ -1,87 +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(
5
- --spectrum-color-handle-size-key-focus
6
- );--spectrum-colorhandle-hitarea-size:var(
7
- --spectrum-color-control-track-width
8
- );--spectrum-colorhandle-animation-duration:var(
9
- --spectrum-animation-duration-100
10
- );--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(
11
- --spectrum-color-handle-outer-border-width
12
- );--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(
13
- --spectrum-color-handle-inner-border-width
14
- );--spectrum-colorhandle-border-width:var(
15
- --spectrum-color-handle-border-width
16
- );--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(
17
- --spectrum-disabled-content-color
18
- );--spectrum-colorhandle-fill-color-disabled:var(
19
- --spectrum-disabled-background-color
20
- );--mod-opacity-checkerboard-position:50%;block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));border-color:var(
21
- --highcontrast-colorhandle-border-color,var(
22
- --mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)
23
- )
24
- );border-radius:100%;border-style:solid;border-width:var(
25
- --mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width)
26
- );box-shadow:0 0 0 var(
27
- --mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width)
28
- ) var(
29
- --mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color)
30
- );box-sizing:border-box;display:block;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);position:absolute;z-index:1}:host:after{block-size:var(
31
- --mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)
32
- );border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);content:"";display:block;inline-size:var(
33
- --mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)
34
- );inset-block:calc(50% - var(
35
- --mod-colorhandle-hitarea-size,
36
- var(--spectrum-colorhandle-hitarea-size)
37
- )/2);inset-inline:calc(50% - var(
38
- --mod-colorhandle-hitarea-size,
39
- var(--spectrum-colorhandle-hitarea-size)
40
- )/2);position:absolute}:host{transition:all var(
41
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
42
- ) var(
43
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
44
- )}:host(.focus-visible),:host([focused]){block-size:var(
45
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
46
- );inline-size:var(
47
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
48
- );margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host(:focus-visible),:host([focused]){block-size:var(
49
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
50
- );inline-size:var(
51
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
52
- );margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){background:var(
53
- --highcontrast-colorhandle-fill-color-disabled,var(
54
- --mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)
55
- )
56
- );border-color:var(
57
- --highcontrast-colorhandle-border-color-disabled,var(
58
- --mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)
59
- )
60
- );box-shadow:none;pointer-events:none}:host([disabled]) .inner{display:none}.inner{background-color:var(--spectrum-picked-color);block-size:100%;border-radius:100%;box-shadow:inset 0 0 0 var(
61
- --mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width)
62
- ) var(
63
- --mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color)
64
- );inline-size: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(
65
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
66
- ) var(
67
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
68
- ),block-size var(
69
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
70
- ) var(
71
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
72
- ),border-width var(
73
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
74
- ) var(
75
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
76
- ),margin-inline var(
77
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
78
- ) var(
79
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
80
- ),margin-block var(
81
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
82
- ) var(
83
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
84
- )}:host(:focus){outline:none}
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));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{transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}: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%;block-size:100%;inline-size: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}
85
5
  `;
86
6
  export default styles;
87
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(\n--spectrum-color-handle-size-key-focus\n);--spectrum-colorhandle-hitarea-size:var(\n--spectrum-color-control-track-width\n);--spectrum-colorhandle-animation-duration:var(\n--spectrum-animation-duration-100\n);--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(\n--spectrum-color-handle-outer-border-width\n);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(\n--spectrum-color-handle-inner-border-width\n);--spectrum-colorhandle-border-width:var(\n--spectrum-color-handle-border-width\n);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(\n--spectrum-disabled-content-color\n);--spectrum-colorhandle-fill-color-disabled:var(\n--spectrum-disabled-background-color\n);--mod-opacity-checkerboard-position:50%;block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));border-color:var(\n--highcontrast-colorhandle-border-color,var(\n--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)\n)\n);border-radius:100%;border-style:solid;border-width:var(\n--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width)\n);box-shadow:0 0 0 var(\n--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width)\n) var(\n--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color)\n);box-sizing:border-box;display:block;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);position:absolute;z-index:1}:host:after{block-size:var(\n--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)\n);border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);content:\"\";display:block;inline-size:var(\n--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)\n);inset-block:calc(50% - var(\n--mod-colorhandle-hitarea-size,\nvar(--spectrum-colorhandle-hitarea-size)\n)/2);inset-inline:calc(50% - var(\n--mod-colorhandle-hitarea-size,\nvar(--spectrum-colorhandle-hitarea-size)\n)/2);position:absolute}:host{transition:all var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n)}:host(.focus-visible),:host([focused]){block-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);inline-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host(:focus-visible),:host([focused]){block-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);inline-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){background:var(\n--highcontrast-colorhandle-fill-color-disabled,var(\n--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)\n)\n);border-color:var(\n--highcontrast-colorhandle-border-color-disabled,var(\n--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)\n)\n);box-shadow:none;pointer-events:none}:host([disabled]) .inner{display:none}.inner{background-color:var(--spectrum-picked-color);block-size:100%;border-radius:100%;box-shadow:inset 0 0 0 var(\n--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width)\n) var(\n--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color)\n);inline-size: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(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n),block-size var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n),border-width var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n),margin-inline var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n),margin-block var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n)}:host(:focus){outline:none}\n`;\nexport default styles;"],
5
- "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmFf,eAAe;",
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));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{transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}: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%;block-size:100%;inline-size: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
+ "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
6
6
  "names": []
7
7
  }
@@ -1,84 +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(
3
- --spectrum-color-handle-size-key-focus
4
- );--spectrum-colorhandle-hitarea-size:var(
5
- --spectrum-color-control-track-width
6
- );--spectrum-colorhandle-animation-duration:var(
7
- --spectrum-animation-duration-100
8
- );--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(
9
- --spectrum-color-handle-outer-border-width
10
- );--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(
11
- --spectrum-color-handle-inner-border-width
12
- );--spectrum-colorhandle-border-width:var(
13
- --spectrum-color-handle-border-width
14
- );--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(
15
- --spectrum-disabled-content-color
16
- );--spectrum-colorhandle-fill-color-disabled:var(
17
- --spectrum-disabled-background-color
18
- );--mod-opacity-checkerboard-position:50%;block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));border-color:var(
19
- --highcontrast-colorhandle-border-color,var(
20
- --mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)
21
- )
22
- );border-radius:100%;border-style:solid;border-width:var(
23
- --mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width)
24
- );box-shadow:0 0 0 var(
25
- --mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width)
26
- ) var(
27
- --mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color)
28
- );box-sizing:border-box;display:block;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);position:absolute;z-index:1}:host:after{block-size:var(
29
- --mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)
30
- );border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);content:"";display:block;inline-size:var(
31
- --mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)
32
- );inset-block:calc(50% - var(
33
- --mod-colorhandle-hitarea-size,
34
- var(--spectrum-colorhandle-hitarea-size)
35
- )/2);inset-inline:calc(50% - var(
36
- --mod-colorhandle-hitarea-size,
37
- var(--spectrum-colorhandle-hitarea-size)
38
- )/2);position:absolute}:host{transition:all var(
39
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
40
- ) var(
41
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
42
- )}:host(.focus-visible),:host([focused]){block-size:var(
43
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
44
- );inline-size:var(
45
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
46
- );margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host(:focus-visible),:host([focused]){block-size:var(
47
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
48
- );inline-size:var(
49
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
50
- );margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){background:var(
51
- --highcontrast-colorhandle-fill-color-disabled,var(
52
- --mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)
53
- )
54
- );border-color:var(
55
- --highcontrast-colorhandle-border-color-disabled,var(
56
- --mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)
57
- )
58
- );box-shadow:none;pointer-events:none}:host([disabled]) .inner{display:none}.inner{background-color:var(--spectrum-picked-color);block-size:100%;border-radius:100%;box-shadow:inset 0 0 0 var(
59
- --mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width)
60
- ) var(
61
- --mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color)
62
- );inline-size: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(
63
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
64
- ) var(
65
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
66
- ),block-size var(
67
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
68
- ) var(
69
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
70
- ),border-width var(
71
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
72
- ) var(
73
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
74
- ),margin-inline var(
75
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
76
- ) var(
77
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
78
- ),margin-block var(
79
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
80
- ) var(
81
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
82
- )}:host(:focus){outline:none}
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));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{transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}: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%;block-size:100%;inline-size: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}
83
3
  `;export default r;
84
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(\n--spectrum-color-handle-size-key-focus\n);--spectrum-colorhandle-hitarea-size:var(\n--spectrum-color-control-track-width\n);--spectrum-colorhandle-animation-duration:var(\n--spectrum-animation-duration-100\n);--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(\n--spectrum-color-handle-outer-border-width\n);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(\n--spectrum-color-handle-inner-border-width\n);--spectrum-colorhandle-border-width:var(\n--spectrum-color-handle-border-width\n);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(\n--spectrum-disabled-content-color\n);--spectrum-colorhandle-fill-color-disabled:var(\n--spectrum-disabled-background-color\n);--mod-opacity-checkerboard-position:50%;block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));border-color:var(\n--highcontrast-colorhandle-border-color,var(\n--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)\n)\n);border-radius:100%;border-style:solid;border-width:var(\n--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width)\n);box-shadow:0 0 0 var(\n--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width)\n) var(\n--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color)\n);box-sizing:border-box;display:block;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);position:absolute;z-index:1}:host:after{block-size:var(\n--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)\n);border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);content:\"\";display:block;inline-size:var(\n--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)\n);inset-block:calc(50% - var(\n--mod-colorhandle-hitarea-size,\nvar(--spectrum-colorhandle-hitarea-size)\n)/2);inset-inline:calc(50% - var(\n--mod-colorhandle-hitarea-size,\nvar(--spectrum-colorhandle-hitarea-size)\n)/2);position:absolute}:host{transition:all var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n)}:host(.focus-visible),:host([focused]){block-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);inline-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host(:focus-visible),:host([focused]){block-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);inline-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){background:var(\n--highcontrast-colorhandle-fill-color-disabled,var(\n--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)\n)\n);border-color:var(\n--highcontrast-colorhandle-border-color-disabled,var(\n--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)\n)\n);box-shadow:none;pointer-events:none}:host([disabled]) .inner{display:none}.inner{background-color:var(--spectrum-picked-color);block-size:100%;border-radius:100%;box-shadow:inset 0 0 0 var(\n--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width)\n) var(\n--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color)\n);inline-size: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(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n),block-size var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n),border-width var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n),margin-inline var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n),margin-block var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n)}:host(:focus){outline:none}\n`;\nexport default styles;"],
5
- "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmFf,eAAeC",
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));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{transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}: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%;block-size:100%;inline-size: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
+ "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
6
6
  "names": ["css", "styles"]
7
7
  }
@@ -1,67 +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(
5
- --spectrum-color-handle-size-key-focus
6
- );--spectrum-colorhandle-hitarea-size:var(
7
- --spectrum-color-control-track-width
8
- );--spectrum-colorhandle-animation-duration:var(
9
- --spectrum-animation-duration-100
10
- );--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(
11
- --spectrum-color-handle-outer-border-width
12
- );--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(
13
- --spectrum-color-handle-inner-border-width
14
- );--spectrum-colorhandle-border-width:var(
15
- --spectrum-color-handle-border-width
16
- );--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(
17
- --spectrum-disabled-content-color
18
- );--spectrum-colorhandle-fill-color-disabled:var(
19
- --spectrum-disabled-background-color
20
- );--mod-opacity-checkerboard-position:50%;block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));border-color:var(
21
- --highcontrast-colorhandle-border-color,var(
22
- --mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)
23
- )
24
- );border-radius:100%;border-style:solid;border-width:var(
25
- --mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width)
26
- );box-shadow:0 0 0 var(
27
- --mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width)
28
- ) var(
29
- --mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color)
30
- );box-sizing:border-box;display:block;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);position:absolute;z-index:1}:host:after{block-size:var(
31
- --mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)
32
- );border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);content:"";display:block;inline-size:var(
33
- --mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)
34
- );inset-block:calc(50% - var(
35
- --mod-colorhandle-hitarea-size,
36
- var(--spectrum-colorhandle-hitarea-size)
37
- )/2);inset-inline:calc(50% - var(
38
- --mod-colorhandle-hitarea-size,
39
- var(--spectrum-colorhandle-hitarea-size)
40
- )/2);position:absolute}:host{transition:all var(
41
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
42
- ) var(
43
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
44
- )}:host(.focus-visible),:host([focused]){block-size:var(
45
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
46
- );inline-size:var(
47
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
48
- );margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host(:focus-visible),:host([focused]){block-size:var(
49
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
50
- );inline-size:var(
51
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
52
- );margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){background:var(
53
- --highcontrast-colorhandle-fill-color-disabled,var(
54
- --mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)
55
- )
56
- );border-color:var(
57
- --highcontrast-colorhandle-border-color-disabled,var(
58
- --mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)
59
- )
60
- );box-shadow:none;pointer-events:none}:host([disabled]) .inner{display:none}.inner{background-color:var(--spectrum-picked-color);block-size:100%;border-radius:100%;box-shadow:inset 0 0 0 var(
61
- --mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width)
62
- ) var(
63
- --mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color)
64
- );inline-size: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{--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));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{transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}: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%;block-size:100%;inline-size:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}
65
5
  `;
66
6
  export default styles;
67
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(\n--spectrum-color-handle-size-key-focus\n);--spectrum-colorhandle-hitarea-size:var(\n--spectrum-color-control-track-width\n);--spectrum-colorhandle-animation-duration:var(\n--spectrum-animation-duration-100\n);--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(\n--spectrum-color-handle-outer-border-width\n);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(\n--spectrum-color-handle-inner-border-width\n);--spectrum-colorhandle-border-width:var(\n--spectrum-color-handle-border-width\n);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(\n--spectrum-disabled-content-color\n);--spectrum-colorhandle-fill-color-disabled:var(\n--spectrum-disabled-background-color\n);--mod-opacity-checkerboard-position:50%;block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));border-color:var(\n--highcontrast-colorhandle-border-color,var(\n--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)\n)\n);border-radius:100%;border-style:solid;border-width:var(\n--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width)\n);box-shadow:0 0 0 var(\n--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width)\n) var(\n--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color)\n);box-sizing:border-box;display:block;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);position:absolute;z-index:1}:host:after{block-size:var(\n--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)\n);border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);content:\"\";display:block;inline-size:var(\n--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)\n);inset-block:calc(50% - var(\n--mod-colorhandle-hitarea-size,\nvar(--spectrum-colorhandle-hitarea-size)\n)/2);inset-inline:calc(50% - var(\n--mod-colorhandle-hitarea-size,\nvar(--spectrum-colorhandle-hitarea-size)\n)/2);position:absolute}:host{transition:all var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n)}:host(.focus-visible),:host([focused]){block-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);inline-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host(:focus-visible),:host([focused]){block-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);inline-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){background:var(\n--highcontrast-colorhandle-fill-color-disabled,var(\n--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)\n)\n);border-color:var(\n--highcontrast-colorhandle-border-color-disabled,var(\n--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)\n)\n);box-shadow:none;pointer-events:none}:host([disabled]) .inner{display:none}.inner{background-color:var(--spectrum-picked-color);block-size:100%;border-radius:100%;box-shadow:inset 0 0 0 var(\n--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width)\n) var(\n--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color)\n);inline-size: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
- "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA+Df,eAAe;",
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));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{transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}: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%;block-size:100%;inline-size: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
+ "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
6
6
  "names": []
7
7
  }
@@ -1,64 +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(
3
- --spectrum-color-handle-size-key-focus
4
- );--spectrum-colorhandle-hitarea-size:var(
5
- --spectrum-color-control-track-width
6
- );--spectrum-colorhandle-animation-duration:var(
7
- --spectrum-animation-duration-100
8
- );--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(
9
- --spectrum-color-handle-outer-border-width
10
- );--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(
11
- --spectrum-color-handle-inner-border-width
12
- );--spectrum-colorhandle-border-width:var(
13
- --spectrum-color-handle-border-width
14
- );--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(
15
- --spectrum-disabled-content-color
16
- );--spectrum-colorhandle-fill-color-disabled:var(
17
- --spectrum-disabled-background-color
18
- );--mod-opacity-checkerboard-position:50%;block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));border-color:var(
19
- --highcontrast-colorhandle-border-color,var(
20
- --mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)
21
- )
22
- );border-radius:100%;border-style:solid;border-width:var(
23
- --mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width)
24
- );box-shadow:0 0 0 var(
25
- --mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width)
26
- ) var(
27
- --mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color)
28
- );box-sizing:border-box;display:block;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);position:absolute;z-index:1}:host:after{block-size:var(
29
- --mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)
30
- );border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);content:"";display:block;inline-size:var(
31
- --mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)
32
- );inset-block:calc(50% - var(
33
- --mod-colorhandle-hitarea-size,
34
- var(--spectrum-colorhandle-hitarea-size)
35
- )/2);inset-inline:calc(50% - var(
36
- --mod-colorhandle-hitarea-size,
37
- var(--spectrum-colorhandle-hitarea-size)
38
- )/2);position:absolute}:host{transition:all var(
39
- --mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)
40
- ) var(
41
- --mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)
42
- )}:host(.focus-visible),:host([focused]){block-size:var(
43
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
44
- );inline-size:var(
45
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
46
- );margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host(:focus-visible),:host([focused]){block-size:var(
47
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
48
- );inline-size:var(
49
- --mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)
50
- );margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){background:var(
51
- --highcontrast-colorhandle-fill-color-disabled,var(
52
- --mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)
53
- )
54
- );border-color:var(
55
- --highcontrast-colorhandle-border-color-disabled,var(
56
- --mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)
57
- )
58
- );box-shadow:none;pointer-events:none}:host([disabled]) .inner{display:none}.inner{background-color:var(--spectrum-picked-color);block-size:100%;border-radius:100%;box-shadow:inset 0 0 0 var(
59
- --mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width)
60
- ) var(
61
- --mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color)
62
- );inline-size:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}
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));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{transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}: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%;block-size:100%;inline-size:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}
63
3
  `;export default r;
64
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(\n--spectrum-color-handle-size-key-focus\n);--spectrum-colorhandle-hitarea-size:var(\n--spectrum-color-control-track-width\n);--spectrum-colorhandle-animation-duration:var(\n--spectrum-animation-duration-100\n);--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(\n--spectrum-color-handle-outer-border-width\n);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(\n--spectrum-color-handle-inner-border-width\n);--spectrum-colorhandle-border-width:var(\n--spectrum-color-handle-border-width\n);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(\n--spectrum-disabled-content-color\n);--spectrum-colorhandle-fill-color-disabled:var(\n--spectrum-disabled-background-color\n);--mod-opacity-checkerboard-position:50%;block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));border-color:var(\n--highcontrast-colorhandle-border-color,var(\n--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)\n)\n);border-radius:100%;border-style:solid;border-width:var(\n--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width)\n);box-shadow:0 0 0 var(\n--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width)\n) var(\n--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color)\n);box-sizing:border-box;display:block;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))/2*-1);position:absolute;z-index:1}:host:after{block-size:var(\n--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)\n);border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);content:\"\";display:block;inline-size:var(\n--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size)\n);inset-block:calc(50% - var(\n--mod-colorhandle-hitarea-size,\nvar(--spectrum-colorhandle-hitarea-size)\n)/2);inset-inline:calc(50% - var(\n--mod-colorhandle-hitarea-size,\nvar(--spectrum-colorhandle-hitarea-size)\n)/2);position:absolute}:host{transition:all var(\n--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration)\n) var(\n--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)\n)}:host(.focus-visible),:host([focused]){block-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);inline-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host(:focus-visible),:host([focused]){block-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);inline-size:var(\n--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size)\n);margin-block:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);margin-inline:calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){background:var(\n--highcontrast-colorhandle-fill-color-disabled,var(\n--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)\n)\n);border-color:var(\n--highcontrast-colorhandle-border-color-disabled,var(\n--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)\n)\n);box-shadow:none;pointer-events:none}:host([disabled]) .inner{display:none}.inner{background-color:var(--spectrum-picked-color);block-size:100%;border-radius:100%;box-shadow:inset 0 0 0 var(\n--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width)\n) var(\n--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color)\n);inline-size: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
- "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA+Df,eAAeC",
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));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{transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}: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%;block-size:100%;inline-size: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
+ "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
6
6
  "names": ["css", "styles"]
7
7
  }