@spectrum-web-components/close-button 0.41.1 → 0.42.0

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/close-button",
3
- "version": "0.41.1",
3
+ "version": "0.42.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,10 +42,10 @@
42
42
  "lit-html"
43
43
  ],
44
44
  "dependencies": {
45
- "@spectrum-web-components/base": "^0.41.1"
45
+ "@spectrum-web-components/base": "^0.42.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@spectrum-css/closebutton": "^4.2.1"
48
+ "@spectrum-css/closebutton": "^4.2.4"
49
49
  },
50
50
  "types": "./src/index.d.ts",
51
51
  "customElements": "custom-elements.json",
@@ -53,5 +53,5 @@
53
53
  "./sp-*.js",
54
54
  "./**/*.dev.js"
55
55
  ],
56
- "gitHead": "1eded35d98d01973b40990486b86840ba464a2da"
56
+ "gitHead": "9b3bd55ff8e8f9438817255976e77fd456b19d72"
57
57
  }
@@ -1,197 +1,7 @@
1
1
  "use strict";
2
2
  import { css } from "@spectrum-web-components/base";
3
3
  const styles = css`
4
- :host{-webkit-appearance:button;box-sizing:border-box;cursor:pointer;font-family:var(
5
- --mod-button-font-family,var(
6
- --mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)
7
- )
8
- );line-height:var(
9
- --mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100))
10
- );text-transform:none;transition:background var(
11
- --mod-button-animation-duration,var(
12
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
13
- )
14
- ) ease-out,border-color var(
15
- --mod-button-animation-duration,var(
16
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
17
- )
18
- ) ease-out,color var(
19
- --mod-button-animation-duration,var(
20
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
21
- )
22
- ) ease-out,box-shadow var(
23
- --mod-button-animation-duration,var(
24
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
25
- )
26
- ) ease-out;-webkit-user-select:none;user-select:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;overflow:visible;-webkit-text-decoration:none;text-decoration:none}:host(:focus){outline:none}:host([disabled]){cursor:default}:host a{-webkit-appearance:none;-webkit-user-select:none;user-select:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(
27
- --spectrum-neutral-content-color-default
28
- );--spectrum-closebutton-icon-color-hover:var(
29
- --spectrum-neutral-content-color-hover
30
- );--spectrum-closebutton-icon-color-down:var(
31
- --spectrum-neutral-content-color-down
32
- );--spectrum-closebutton-icon-color-focus:var(
33
- --spectrum-neutral-content-color-key-focus
34
- );--spectrum-closebutton-icon-color-disabled:var(
35
- --spectrum-disabled-content-color
36
- );--spectrum-closebutton-focus-indicator-thickness:var(
37
- --spectrum-focus-indicator-thickness
38
- );--spectrum-closebutton-focus-indicator-gap:var(
39
- --spectrum-focus-indicator-gap
40
- );--spectrum-closebutton-focus-indicator-color:var(
41
- --spectrum-focus-indicator-color
42
- );--spectrum-closebutton-animation-duration:var(
43
- --spectrum-animation-duration-100
44
- )}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(
45
- --spectrum-transparent-white-300
46
- );--spectrum-closebutton-static-background-color-down:var(
47
- --spectrum-transparent-white-400
48
- );--spectrum-closebutton-static-background-color-focus:var(
49
- --spectrum-transparent-white-300
50
- );--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(
51
- --spectrum-disabled-static-white-content-color
52
- );--spectrum-closebutton-focus-indicator-color:var(
53
- --spectrum-static-white-focus-indicator-color
54
- )}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(
55
- --spectrum-transparent-black-300
56
- );--spectrum-closebutton-static-background-color-down:var(
57
- --spectrum-transparent-black-400
58
- );--spectrum-closebutton-static-background-color-focus:var(
59
- --spectrum-transparent-black-300
60
- );--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(
61
- --spectrum-disabled-static-black-content-color
62
- );--spectrum-closebutton-focus-indicator-color:var(
63
- --spectrum-static-black-focus-indicator-color
64
- )}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(.focus-visible):after{forced-color-adjust:none;margin:var(
65
- --mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)
66
- );transition:opacity var(
67
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
68
- ) ease-out,margin var(
69
- --mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)
70
- ) ease-out}:host(:focus-visible):after{forced-color-adjust:none;margin:var(
71
- --mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)
72
- );transition:opacity var(
73
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
74
- ) ease-out,margin var(
75
- --mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)
76
- ) ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{align-items:center;align-self:var(--mod-closebutton-align-self);block-size:var(
77
- --mod-closebutton-height,var(--spectrum-closebutton-height)
78
- );border-color:#0000;border-radius:var(
79
- --mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius)
80
- );border-width:0;color:inherit;display:inline-flex;flex-direction:row;inline-size:var(
81
- --mod-closebutton-width,var(--spectrum-closebutton-width)
82
- );justify-content:center;margin-block-start:var(--mod-closebutton-margin-top);margin-inline:var(--mod-closebutton-margin-inline);padding:0;position:relative;transition:border-color var(
83
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
84
- ) ease-in-out}:host:after{border-radius:calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(
85
- --mod-closebutton-focus-indicator-gap,
86
- var(--spectrum-closebutton-focus-indicator-gap)
87
- ));content:"";inset-block:0;inset-inline:0;margin:calc(var(
88
- --mod-closebutton-focus-indicator-gap,
89
- var(--spectrum-closebutton-focus-indicator-gap)
90
- )*-1);pointer-events:none;position:absolute;transition:box-shadow var(
91
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
92
- ) ease-in-out}:host(.focus-visible){box-shadow:none;outline:none}:host(:focus-visible){box-shadow:none;outline:none}:host(.focus-visible):after{box-shadow:0 0 0 var(
93
- --mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)
94
- ) var(
95
- --highcontrast-closebutton-focus-indicator-color,var(
96
- --mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)
97
- )
98
- )}:host(:focus-visible):after{box-shadow:0 0 0 var(
99
- --mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)
100
- ) var(
101
- --highcontrast-closebutton-focus-indicator-color,var(
102
- --mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)
103
- )
104
- )}:host(:not([disabled])){background-color:var(
105
- --highcontrast-closebutton-background-color-default,var(
106
- --mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)
107
- )
108
- )}:host(:not([disabled])[active]){background-color:var(
109
- --mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down)
110
- )}:host(:not([disabled])[active]) .icon{color:var(
111
- --highcontrast-closebutton-icon-color-down,var(
112
- --mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)
113
- )
114
- )}:host(:not([disabled]).focus-visible),:host(:not([disabled])[focused]){background-color:var(
115
- --mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)
116
- )}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(
117
- --mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)
118
- )}:host(:not([disabled]).focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(
119
- --highcontrast-closebutton-icon-color-focus,var(
120
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
121
- )
122
- )}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(
123
- --highcontrast-closebutton-icon-color-focus,var(
124
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
125
- )
126
- )}:host(:not([disabled])) .icon{color:var(
127
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
128
- )}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(
129
- --highcontrast-closebutton-icon-color-focus,var(
130
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
131
- )
132
- )}:host([disabled]){background-color:var(
133
- --mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)
134
- )}:host([disabled]) .icon{color:var(
135
- --highcontrast-closebutton-icon-color-disabled,var(
136
- --mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)
137
- )
138
- )}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(
139
- --highcontrast-closebutton-static-background-color-default,var(
140
- --mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)
141
- )
142
- )}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(
143
- --highcontrast-closebutton-icon-color-hover,var(
144
- --mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)
145
- )
146
- )}:host(:not([disabled]):hover){background-color:var(
147
- --mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover)
148
- )}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(
149
- --highcontrast-closebutton-static-background-color-hover,var(
150
- --mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)
151
- )
152
- )}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(
153
- --highcontrast-closebutton-icon-color-default,var(
154
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
155
- )
156
- )}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(
157
- --highcontrast-closebutton-static-background-color-down,var(
158
- --mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)
159
- )
160
- )}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(
161
- --highcontrast-closebutton-icon-color-default,var(
162
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
163
- )
164
- )}:host([static=black]:not([disabled]).focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]).focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(
165
- --highcontrast-closebutton-static-background-color-focus,var(
166
- --mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)
167
- )
168
- )}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(
169
- --highcontrast-closebutton-static-background-color-focus,var(
170
- --mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)
171
- )
172
- )}:host([static=black]:not([disabled]).focus-visible) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]).focus-visible) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(
173
- --highcontrast-closebutton-icon-color-default,var(
174
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
175
- )
176
- )}:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(
177
- --highcontrast-closebutton-icon-color-default,var(
178
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
179
- )
180
- )}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(
181
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
182
- )}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(
183
- --highcontrast-closebutton-icon-disabled,var(
184
- --mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)
185
- )
186
- )}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(
187
- --system-spectrum-closebutton-background-color-default
188
- );--spectrum-closebutton-background-color-hover:var(
189
- --system-spectrum-closebutton-background-color-hover
190
- );--spectrum-closebutton-background-color-down:var(
191
- --system-spectrum-closebutton-background-color-down
192
- );--spectrum-closebutton-background-color-focus:var(
193
- --system-spectrum-closebutton-background-color-focus
194
- )}
4
+ :host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex;position:relative;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:"";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled])[active]){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}
195
5
  `;
196
6
  export default styles;
197
7
  //# sourceMappingURL=close-button.css.dev.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["close-button.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{-webkit-appearance:button;box-sizing:border-box;cursor:pointer;font-family:var(\n--mod-button-font-family,var(\n--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)\n)\n);line-height:var(\n--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100))\n);text-transform:none;transition:background var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,border-color var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,color var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,box-shadow var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out;-webkit-user-select:none;user-select:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;overflow:visible;-webkit-text-decoration:none;text-decoration:none}:host(:focus){outline:none}:host([disabled]){cursor:default}:host a{-webkit-appearance:none;-webkit-user-select:none;user-select:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(\n--spectrum-neutral-content-color-default\n);--spectrum-closebutton-icon-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--spectrum-closebutton-icon-color-down:var(\n--spectrum-neutral-content-color-down\n);--spectrum-closebutton-icon-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-content-color\n);--spectrum-closebutton-focus-indicator-thickness:var(\n--spectrum-focus-indicator-thickness\n);--spectrum-closebutton-focus-indicator-gap:var(\n--spectrum-focus-indicator-gap\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-focus-indicator-color\n);--spectrum-closebutton-animation-duration:var(\n--spectrum-animation-duration-100\n)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(\n--spectrum-transparent-white-300\n);--spectrum-closebutton-static-background-color-down:var(\n--spectrum-transparent-white-400\n);--spectrum-closebutton-static-background-color-focus:var(\n--spectrum-transparent-white-300\n);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(\n--spectrum-transparent-black-300\n);--spectrum-closebutton-static-background-color-down:var(\n--spectrum-transparent-black-400\n);--spectrum-closebutton-static-background-color-focus:var(\n--spectrum-transparent-black-300\n);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(.focus-visible):after{forced-color-adjust:none;margin:var(\n--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)\n);transition:opacity var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-out,margin var(\n--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)\n) ease-out}:host(:focus-visible):after{forced-color-adjust:none;margin:var(\n--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)\n);transition:opacity var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-out,margin var(\n--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)\n) ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{align-items:center;align-self:var(--mod-closebutton-align-self);block-size:var(\n--mod-closebutton-height,var(--spectrum-closebutton-height)\n);border-color:#0000;border-radius:var(\n--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius)\n);border-width:0;color:inherit;display:inline-flex;flex-direction:row;inline-size:var(\n--mod-closebutton-width,var(--spectrum-closebutton-width)\n);justify-content:center;margin-block-start:var(--mod-closebutton-margin-top);margin-inline:var(--mod-closebutton-margin-inline);padding:0;position:relative;transition:border-color var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-in-out}:host:after{border-radius:calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(\n--mod-closebutton-focus-indicator-gap,\nvar(--spectrum-closebutton-focus-indicator-gap)\n));content:\"\";inset-block:0;inset-inline:0;margin:calc(var(\n--mod-closebutton-focus-indicator-gap,\nvar(--spectrum-closebutton-focus-indicator-gap)\n)*-1);pointer-events:none;position:absolute;transition:box-shadow var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-in-out}:host(.focus-visible){box-shadow:none;outline:none}:host(:focus-visible){box-shadow:none;outline:none}:host(.focus-visible):after{box-shadow:0 0 0 var(\n--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)\n) var(\n--highcontrast-closebutton-focus-indicator-color,var(\n--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)\n)\n)}:host(:focus-visible):after{box-shadow:0 0 0 var(\n--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)\n) var(\n--highcontrast-closebutton-focus-indicator-color,var(\n--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)\n)\n)}:host(:not([disabled])){background-color:var(\n--highcontrast-closebutton-background-color-default,var(\n--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)\n)\n)}:host(:not([disabled])[active]){background-color:var(\n--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down)\n)}:host(:not([disabled])[active]) .icon{color:var(\n--highcontrast-closebutton-icon-color-down,var(\n--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)\n)\n)}:host(:not([disabled]).focus-visible),:host(:not([disabled])[focused]){background-color:var(\n--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)\n)}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(\n--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)\n)}:host(:not([disabled]).focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host(:not([disabled])) .icon{color:var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host([disabled]){background-color:var(\n--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)\n)}:host([disabled]) .icon{color:var(\n--highcontrast-closebutton-icon-color-disabled,var(\n--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)\n)\n)}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(\n--highcontrast-closebutton-static-background-color-default,var(\n--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)\n)\n)}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(\n--highcontrast-closebutton-icon-color-hover,var(\n--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)\n)\n)}:host(:not([disabled]):hover){background-color:var(\n--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover)\n)}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(\n--highcontrast-closebutton-static-background-color-hover,var(\n--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)\n)\n)}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(\n--highcontrast-closebutton-static-background-color-down,var(\n--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)\n)\n)}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled]).focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]).focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(\n--highcontrast-closebutton-static-background-color-focus,var(\n--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)\n)\n)}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(\n--highcontrast-closebutton-static-background-color-focus,var(\n--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)\n)\n)}:host([static=black]:not([disabled]).focus-visible) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]).focus-visible) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(\n--highcontrast-closebutton-icon-disabled,var(\n--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)\n)\n)}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(\n--system-spectrum-closebutton-background-color-default\n);--spectrum-closebutton-background-color-hover:var(\n--system-spectrum-closebutton-background-color-hover\n);--spectrum-closebutton-background-color-down:var(\n--system-spectrum-closebutton-background-color-down\n);--spectrum-closebutton-background-color-focus:var(\n--system-spectrum-closebutton-background-color-focus\n)}\n`;\nexport default styles;"],
5
- "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiMf,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{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex;position:relative;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:\"\";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled])[active]){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}\n`;\nexport default styles;"],
5
+ "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
6
6
  "names": []
7
7
  }
@@ -1,194 +1,4 @@
1
1
  "use strict";import{css as o}from"@spectrum-web-components/base";const t=o`
2
- :host{-webkit-appearance:button;box-sizing:border-box;cursor:pointer;font-family:var(
3
- --mod-button-font-family,var(
4
- --mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)
5
- )
6
- );line-height:var(
7
- --mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100))
8
- );text-transform:none;transition:background var(
9
- --mod-button-animation-duration,var(
10
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
11
- )
12
- ) ease-out,border-color var(
13
- --mod-button-animation-duration,var(
14
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
15
- )
16
- ) ease-out,color var(
17
- --mod-button-animation-duration,var(
18
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
19
- )
20
- ) ease-out,box-shadow var(
21
- --mod-button-animation-duration,var(
22
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
23
- )
24
- ) ease-out;-webkit-user-select:none;user-select:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;overflow:visible;-webkit-text-decoration:none;text-decoration:none}:host(:focus){outline:none}:host([disabled]){cursor:default}:host a{-webkit-appearance:none;-webkit-user-select:none;user-select:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(
25
- --spectrum-neutral-content-color-default
26
- );--spectrum-closebutton-icon-color-hover:var(
27
- --spectrum-neutral-content-color-hover
28
- );--spectrum-closebutton-icon-color-down:var(
29
- --spectrum-neutral-content-color-down
30
- );--spectrum-closebutton-icon-color-focus:var(
31
- --spectrum-neutral-content-color-key-focus
32
- );--spectrum-closebutton-icon-color-disabled:var(
33
- --spectrum-disabled-content-color
34
- );--spectrum-closebutton-focus-indicator-thickness:var(
35
- --spectrum-focus-indicator-thickness
36
- );--spectrum-closebutton-focus-indicator-gap:var(
37
- --spectrum-focus-indicator-gap
38
- );--spectrum-closebutton-focus-indicator-color:var(
39
- --spectrum-focus-indicator-color
40
- );--spectrum-closebutton-animation-duration:var(
41
- --spectrum-animation-duration-100
42
- )}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(
43
- --spectrum-transparent-white-300
44
- );--spectrum-closebutton-static-background-color-down:var(
45
- --spectrum-transparent-white-400
46
- );--spectrum-closebutton-static-background-color-focus:var(
47
- --spectrum-transparent-white-300
48
- );--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(
49
- --spectrum-disabled-static-white-content-color
50
- );--spectrum-closebutton-focus-indicator-color:var(
51
- --spectrum-static-white-focus-indicator-color
52
- )}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(
53
- --spectrum-transparent-black-300
54
- );--spectrum-closebutton-static-background-color-down:var(
55
- --spectrum-transparent-black-400
56
- );--spectrum-closebutton-static-background-color-focus:var(
57
- --spectrum-transparent-black-300
58
- );--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(
59
- --spectrum-disabled-static-black-content-color
60
- );--spectrum-closebutton-focus-indicator-color:var(
61
- --spectrum-static-black-focus-indicator-color
62
- )}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(.focus-visible):after{forced-color-adjust:none;margin:var(
63
- --mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)
64
- );transition:opacity var(
65
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
66
- ) ease-out,margin var(
67
- --mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)
68
- ) ease-out}:host(:focus-visible):after{forced-color-adjust:none;margin:var(
69
- --mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)
70
- );transition:opacity var(
71
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
72
- ) ease-out,margin var(
73
- --mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)
74
- ) ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{align-items:center;align-self:var(--mod-closebutton-align-self);block-size:var(
75
- --mod-closebutton-height,var(--spectrum-closebutton-height)
76
- );border-color:#0000;border-radius:var(
77
- --mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius)
78
- );border-width:0;color:inherit;display:inline-flex;flex-direction:row;inline-size:var(
79
- --mod-closebutton-width,var(--spectrum-closebutton-width)
80
- );justify-content:center;margin-block-start:var(--mod-closebutton-margin-top);margin-inline:var(--mod-closebutton-margin-inline);padding:0;position:relative;transition:border-color var(
81
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
82
- ) ease-in-out}:host:after{border-radius:calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(
83
- --mod-closebutton-focus-indicator-gap,
84
- var(--spectrum-closebutton-focus-indicator-gap)
85
- ));content:"";inset-block:0;inset-inline:0;margin:calc(var(
86
- --mod-closebutton-focus-indicator-gap,
87
- var(--spectrum-closebutton-focus-indicator-gap)
88
- )*-1);pointer-events:none;position:absolute;transition:box-shadow var(
89
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
90
- ) ease-in-out}:host(.focus-visible){box-shadow:none;outline:none}:host(:focus-visible){box-shadow:none;outline:none}:host(.focus-visible):after{box-shadow:0 0 0 var(
91
- --mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)
92
- ) var(
93
- --highcontrast-closebutton-focus-indicator-color,var(
94
- --mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)
95
- )
96
- )}:host(:focus-visible):after{box-shadow:0 0 0 var(
97
- --mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)
98
- ) var(
99
- --highcontrast-closebutton-focus-indicator-color,var(
100
- --mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)
101
- )
102
- )}:host(:not([disabled])){background-color:var(
103
- --highcontrast-closebutton-background-color-default,var(
104
- --mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)
105
- )
106
- )}:host(:not([disabled])[active]){background-color:var(
107
- --mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down)
108
- )}:host(:not([disabled])[active]) .icon{color:var(
109
- --highcontrast-closebutton-icon-color-down,var(
110
- --mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)
111
- )
112
- )}:host(:not([disabled]).focus-visible),:host(:not([disabled])[focused]){background-color:var(
113
- --mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)
114
- )}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(
115
- --mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)
116
- )}:host(:not([disabled]).focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(
117
- --highcontrast-closebutton-icon-color-focus,var(
118
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
119
- )
120
- )}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(
121
- --highcontrast-closebutton-icon-color-focus,var(
122
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
123
- )
124
- )}:host(:not([disabled])) .icon{color:var(
125
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
126
- )}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(
127
- --highcontrast-closebutton-icon-color-focus,var(
128
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
129
- )
130
- )}:host([disabled]){background-color:var(
131
- --mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)
132
- )}:host([disabled]) .icon{color:var(
133
- --highcontrast-closebutton-icon-color-disabled,var(
134
- --mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)
135
- )
136
- )}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(
137
- --highcontrast-closebutton-static-background-color-default,var(
138
- --mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)
139
- )
140
- )}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(
141
- --highcontrast-closebutton-icon-color-hover,var(
142
- --mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)
143
- )
144
- )}:host(:not([disabled]):hover){background-color:var(
145
- --mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover)
146
- )}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(
147
- --highcontrast-closebutton-static-background-color-hover,var(
148
- --mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)
149
- )
150
- )}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(
151
- --highcontrast-closebutton-icon-color-default,var(
152
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
153
- )
154
- )}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(
155
- --highcontrast-closebutton-static-background-color-down,var(
156
- --mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)
157
- )
158
- )}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(
159
- --highcontrast-closebutton-icon-color-default,var(
160
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
161
- )
162
- )}:host([static=black]:not([disabled]).focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]).focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(
163
- --highcontrast-closebutton-static-background-color-focus,var(
164
- --mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)
165
- )
166
- )}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(
167
- --highcontrast-closebutton-static-background-color-focus,var(
168
- --mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)
169
- )
170
- )}:host([static=black]:not([disabled]).focus-visible) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]).focus-visible) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(
171
- --highcontrast-closebutton-icon-color-default,var(
172
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
173
- )
174
- )}:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(
175
- --highcontrast-closebutton-icon-color-default,var(
176
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
177
- )
178
- )}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(
179
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
180
- )}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(
181
- --highcontrast-closebutton-icon-disabled,var(
182
- --mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)
183
- )
184
- )}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(
185
- --system-spectrum-closebutton-background-color-default
186
- );--spectrum-closebutton-background-color-hover:var(
187
- --system-spectrum-closebutton-background-color-hover
188
- );--spectrum-closebutton-background-color-down:var(
189
- --system-spectrum-closebutton-background-color-down
190
- );--spectrum-closebutton-background-color-focus:var(
191
- --system-spectrum-closebutton-background-color-focus
192
- )}
2
+ :host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex;position:relative;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:"";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled])[active]){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}
193
3
  `;export default t;
194
4
  //# sourceMappingURL=close-button.css.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["close-button.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{-webkit-appearance:button;box-sizing:border-box;cursor:pointer;font-family:var(\n--mod-button-font-family,var(\n--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)\n)\n);line-height:var(\n--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100))\n);text-transform:none;transition:background var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,border-color var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,color var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,box-shadow var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out;-webkit-user-select:none;user-select:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;overflow:visible;-webkit-text-decoration:none;text-decoration:none}:host(:focus){outline:none}:host([disabled]){cursor:default}:host a{-webkit-appearance:none;-webkit-user-select:none;user-select:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(\n--spectrum-neutral-content-color-default\n);--spectrum-closebutton-icon-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--spectrum-closebutton-icon-color-down:var(\n--spectrum-neutral-content-color-down\n);--spectrum-closebutton-icon-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-content-color\n);--spectrum-closebutton-focus-indicator-thickness:var(\n--spectrum-focus-indicator-thickness\n);--spectrum-closebutton-focus-indicator-gap:var(\n--spectrum-focus-indicator-gap\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-focus-indicator-color\n);--spectrum-closebutton-animation-duration:var(\n--spectrum-animation-duration-100\n)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(\n--spectrum-transparent-white-300\n);--spectrum-closebutton-static-background-color-down:var(\n--spectrum-transparent-white-400\n);--spectrum-closebutton-static-background-color-focus:var(\n--spectrum-transparent-white-300\n);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(\n--spectrum-transparent-black-300\n);--spectrum-closebutton-static-background-color-down:var(\n--spectrum-transparent-black-400\n);--spectrum-closebutton-static-background-color-focus:var(\n--spectrum-transparent-black-300\n);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(.focus-visible):after{forced-color-adjust:none;margin:var(\n--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)\n);transition:opacity var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-out,margin var(\n--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)\n) ease-out}:host(:focus-visible):after{forced-color-adjust:none;margin:var(\n--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)\n);transition:opacity var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-out,margin var(\n--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)\n) ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{align-items:center;align-self:var(--mod-closebutton-align-self);block-size:var(\n--mod-closebutton-height,var(--spectrum-closebutton-height)\n);border-color:#0000;border-radius:var(\n--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius)\n);border-width:0;color:inherit;display:inline-flex;flex-direction:row;inline-size:var(\n--mod-closebutton-width,var(--spectrum-closebutton-width)\n);justify-content:center;margin-block-start:var(--mod-closebutton-margin-top);margin-inline:var(--mod-closebutton-margin-inline);padding:0;position:relative;transition:border-color var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-in-out}:host:after{border-radius:calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(\n--mod-closebutton-focus-indicator-gap,\nvar(--spectrum-closebutton-focus-indicator-gap)\n));content:\"\";inset-block:0;inset-inline:0;margin:calc(var(\n--mod-closebutton-focus-indicator-gap,\nvar(--spectrum-closebutton-focus-indicator-gap)\n)*-1);pointer-events:none;position:absolute;transition:box-shadow var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-in-out}:host(.focus-visible){box-shadow:none;outline:none}:host(:focus-visible){box-shadow:none;outline:none}:host(.focus-visible):after{box-shadow:0 0 0 var(\n--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)\n) var(\n--highcontrast-closebutton-focus-indicator-color,var(\n--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)\n)\n)}:host(:focus-visible):after{box-shadow:0 0 0 var(\n--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)\n) var(\n--highcontrast-closebutton-focus-indicator-color,var(\n--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)\n)\n)}:host(:not([disabled])){background-color:var(\n--highcontrast-closebutton-background-color-default,var(\n--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)\n)\n)}:host(:not([disabled])[active]){background-color:var(\n--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down)\n)}:host(:not([disabled])[active]) .icon{color:var(\n--highcontrast-closebutton-icon-color-down,var(\n--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)\n)\n)}:host(:not([disabled]).focus-visible),:host(:not([disabled])[focused]){background-color:var(\n--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)\n)}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(\n--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)\n)}:host(:not([disabled]).focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host(:not([disabled])) .icon{color:var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host([disabled]){background-color:var(\n--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)\n)}:host([disabled]) .icon{color:var(\n--highcontrast-closebutton-icon-color-disabled,var(\n--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)\n)\n)}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(\n--highcontrast-closebutton-static-background-color-default,var(\n--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)\n)\n)}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(\n--highcontrast-closebutton-icon-color-hover,var(\n--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)\n)\n)}:host(:not([disabled]):hover){background-color:var(\n--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover)\n)}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(\n--highcontrast-closebutton-static-background-color-hover,var(\n--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)\n)\n)}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(\n--highcontrast-closebutton-static-background-color-down,var(\n--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)\n)\n)}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled]).focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]).focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(\n--highcontrast-closebutton-static-background-color-focus,var(\n--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)\n)\n)}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(\n--highcontrast-closebutton-static-background-color-focus,var(\n--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)\n)\n)}:host([static=black]:not([disabled]).focus-visible) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]).focus-visible) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(\n--highcontrast-closebutton-icon-disabled,var(\n--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)\n)\n)}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(\n--system-spectrum-closebutton-background-color-default\n);--spectrum-closebutton-background-color-hover:var(\n--system-spectrum-closebutton-background-color-hover\n);--spectrum-closebutton-background-color-down:var(\n--system-spectrum-closebutton-background-color-down\n);--spectrum-closebutton-background-color-focus:var(\n--system-spectrum-closebutton-background-color-focus\n)}\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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAiMf,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{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex;position:relative;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:\"\";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled])[active]){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}\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,197 +1,7 @@
1
1
  "use strict";
2
2
  import { css } from "@spectrum-web-components/base";
3
3
  const styles = css`
4
- :host{-webkit-appearance:button;box-sizing:border-box;cursor:pointer;font-family:var(
5
- --mod-button-font-family,var(
6
- --mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)
7
- )
8
- );line-height:var(
9
- --mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100))
10
- );text-transform:none;transition:background var(
11
- --mod-button-animation-duration,var(
12
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
13
- )
14
- ) ease-out,border-color var(
15
- --mod-button-animation-duration,var(
16
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
17
- )
18
- ) ease-out,color var(
19
- --mod-button-animation-duration,var(
20
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
21
- )
22
- ) ease-out,box-shadow var(
23
- --mod-button-animation-duration,var(
24
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
25
- )
26
- ) ease-out;-webkit-user-select:none;user-select:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;overflow:visible;-webkit-text-decoration:none;text-decoration:none}:host(:focus){outline:none}:host([disabled]){cursor:default}:host a{-webkit-appearance:none;-webkit-user-select:none;user-select:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(
27
- --spectrum-neutral-content-color-default
28
- );--spectrum-closebutton-icon-color-hover:var(
29
- --spectrum-neutral-content-color-hover
30
- );--spectrum-closebutton-icon-color-down:var(
31
- --spectrum-neutral-content-color-down
32
- );--spectrum-closebutton-icon-color-focus:var(
33
- --spectrum-neutral-content-color-key-focus
34
- );--spectrum-closebutton-icon-color-disabled:var(
35
- --spectrum-disabled-content-color
36
- );--spectrum-closebutton-focus-indicator-thickness:var(
37
- --spectrum-focus-indicator-thickness
38
- );--spectrum-closebutton-focus-indicator-gap:var(
39
- --spectrum-focus-indicator-gap
40
- );--spectrum-closebutton-focus-indicator-color:var(
41
- --spectrum-focus-indicator-color
42
- );--spectrum-closebutton-animation-duration:var(
43
- --spectrum-animation-duration-100
44
- )}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(
45
- --spectrum-transparent-white-300
46
- );--spectrum-closebutton-static-background-color-down:var(
47
- --spectrum-transparent-white-400
48
- );--spectrum-closebutton-static-background-color-focus:var(
49
- --spectrum-transparent-white-300
50
- );--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(
51
- --spectrum-disabled-static-white-content-color
52
- );--spectrum-closebutton-focus-indicator-color:var(
53
- --spectrum-static-white-focus-indicator-color
54
- )}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(
55
- --spectrum-transparent-black-300
56
- );--spectrum-closebutton-static-background-color-down:var(
57
- --spectrum-transparent-black-400
58
- );--spectrum-closebutton-static-background-color-focus:var(
59
- --spectrum-transparent-black-300
60
- );--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(
61
- --spectrum-disabled-static-black-content-color
62
- );--spectrum-closebutton-focus-indicator-color:var(
63
- --spectrum-static-black-focus-indicator-color
64
- )}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(.focus-visible):after{forced-color-adjust:none;margin:var(
65
- --mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)
66
- );transition:opacity var(
67
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
68
- ) ease-out,margin var(
69
- --mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)
70
- ) ease-out}:host(:focus-visible):after{forced-color-adjust:none;margin:var(
71
- --mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)
72
- );transition:opacity var(
73
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
74
- ) ease-out,margin var(
75
- --mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)
76
- ) ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{align-items:center;align-self:var(--mod-closebutton-align-self);block-size:var(
77
- --mod-closebutton-height,var(--spectrum-closebutton-height)
78
- );border-color:#0000;border-radius:var(
79
- --mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius)
80
- );border-width:0;color:inherit;display:inline-flex;flex-direction:row;inline-size:var(
81
- --mod-closebutton-width,var(--spectrum-closebutton-width)
82
- );justify-content:center;margin-block-start:var(--mod-closebutton-margin-top);margin-inline:var(--mod-closebutton-margin-inline);padding:0;position:relative;transition:border-color var(
83
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
84
- ) ease-in-out}:host:after{border-radius:calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(
85
- --mod-closebutton-focus-indicator-gap,
86
- var(--spectrum-closebutton-focus-indicator-gap)
87
- ));content:"";inset-block:0;inset-inline:0;margin:calc(var(
88
- --mod-closebutton-focus-indicator-gap,
89
- var(--spectrum-closebutton-focus-indicator-gap)
90
- )*-1);pointer-events:none;position:absolute;transition:box-shadow var(
91
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
92
- ) ease-in-out}:host(.focus-visible){box-shadow:none;outline:none}:host(:focus-visible){box-shadow:none;outline:none}:host(.focus-visible):after{box-shadow:0 0 0 var(
93
- --mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)
94
- ) var(
95
- --highcontrast-closebutton-focus-indicator-color,var(
96
- --mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)
97
- )
98
- )}:host(:focus-visible):after{box-shadow:0 0 0 var(
99
- --mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)
100
- ) var(
101
- --highcontrast-closebutton-focus-indicator-color,var(
102
- --mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)
103
- )
104
- )}:host(:not([disabled])){background-color:var(
105
- --highcontrast-closebutton-background-color-default,var(
106
- --mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)
107
- )
108
- )}:host(:not([disabled])[active]){background-color:var(
109
- --mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down)
110
- )}:host(:not([disabled])[active]) .icon{color:var(
111
- --highcontrast-closebutton-icon-color-down,var(
112
- --mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)
113
- )
114
- )}:host(:not([disabled]).focus-visible),:host(:not([disabled])[focused]){background-color:var(
115
- --mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)
116
- )}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(
117
- --mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)
118
- )}:host(:not([disabled]).focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(
119
- --highcontrast-closebutton-icon-color-focus,var(
120
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
121
- )
122
- )}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(
123
- --highcontrast-closebutton-icon-color-focus,var(
124
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
125
- )
126
- )}:host(:not([disabled])) .icon{color:var(
127
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
128
- )}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(
129
- --highcontrast-closebutton-icon-color-focus,var(
130
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
131
- )
132
- )}:host([disabled]){background-color:var(
133
- --mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)
134
- )}:host([disabled]) .icon{color:var(
135
- --highcontrast-closebutton-icon-color-disabled,var(
136
- --mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)
137
- )
138
- )}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(
139
- --highcontrast-closebutton-static-background-color-default,var(
140
- --mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)
141
- )
142
- )}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(
143
- --highcontrast-closebutton-icon-color-hover,var(
144
- --mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)
145
- )
146
- )}:host(:not([disabled]):hover){background-color:var(
147
- --mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover)
148
- )}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(
149
- --highcontrast-closebutton-static-background-color-hover,var(
150
- --mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)
151
- )
152
- )}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(
153
- --highcontrast-closebutton-icon-color-default,var(
154
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
155
- )
156
- )}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(
157
- --highcontrast-closebutton-static-background-color-down,var(
158
- --mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)
159
- )
160
- )}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(
161
- --highcontrast-closebutton-icon-color-default,var(
162
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
163
- )
164
- )}:host([static=black]:not([disabled]).focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]).focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(
165
- --highcontrast-closebutton-static-background-color-focus,var(
166
- --mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)
167
- )
168
- )}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(
169
- --highcontrast-closebutton-static-background-color-focus,var(
170
- --mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)
171
- )
172
- )}:host([static=black]:not([disabled]).focus-visible) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]).focus-visible) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(
173
- --highcontrast-closebutton-icon-color-default,var(
174
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
175
- )
176
- )}:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(
177
- --highcontrast-closebutton-icon-color-default,var(
178
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
179
- )
180
- )}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(
181
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
182
- )}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(
183
- --highcontrast-closebutton-icon-disabled,var(
184
- --mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)
185
- )
186
- )}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(
187
- --system-spectrum-closebutton-background-color-default
188
- );--spectrum-closebutton-background-color-hover:var(
189
- --system-spectrum-closebutton-background-color-hover
190
- );--spectrum-closebutton-background-color-down:var(
191
- --system-spectrum-closebutton-background-color-down
192
- );--spectrum-closebutton-background-color-focus:var(
193
- --system-spectrum-closebutton-background-color-focus
194
- )}
4
+ :host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex;position:relative;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:"";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled])[active]){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}
195
5
  `;
196
6
  export default styles;
197
7
  //# sourceMappingURL=spectrum-close-button.css.dev.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["spectrum-close-button.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{-webkit-appearance:button;box-sizing:border-box;cursor:pointer;font-family:var(\n--mod-button-font-family,var(\n--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)\n)\n);line-height:var(\n--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100))\n);text-transform:none;transition:background var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,border-color var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,color var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,box-shadow var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out;-webkit-user-select:none;user-select:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;overflow:visible;-webkit-text-decoration:none;text-decoration:none}:host(:focus){outline:none}:host([disabled]){cursor:default}:host a{-webkit-appearance:none;-webkit-user-select:none;user-select:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(\n--spectrum-neutral-content-color-default\n);--spectrum-closebutton-icon-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--spectrum-closebutton-icon-color-down:var(\n--spectrum-neutral-content-color-down\n);--spectrum-closebutton-icon-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-content-color\n);--spectrum-closebutton-focus-indicator-thickness:var(\n--spectrum-focus-indicator-thickness\n);--spectrum-closebutton-focus-indicator-gap:var(\n--spectrum-focus-indicator-gap\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-focus-indicator-color\n);--spectrum-closebutton-animation-duration:var(\n--spectrum-animation-duration-100\n)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(\n--spectrum-transparent-white-300\n);--spectrum-closebutton-static-background-color-down:var(\n--spectrum-transparent-white-400\n);--spectrum-closebutton-static-background-color-focus:var(\n--spectrum-transparent-white-300\n);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(\n--spectrum-transparent-black-300\n);--spectrum-closebutton-static-background-color-down:var(\n--spectrum-transparent-black-400\n);--spectrum-closebutton-static-background-color-focus:var(\n--spectrum-transparent-black-300\n);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(.focus-visible):after{forced-color-adjust:none;margin:var(\n--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)\n);transition:opacity var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-out,margin var(\n--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)\n) ease-out}:host(:focus-visible):after{forced-color-adjust:none;margin:var(\n--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)\n);transition:opacity var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-out,margin var(\n--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)\n) ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{align-items:center;align-self:var(--mod-closebutton-align-self);block-size:var(\n--mod-closebutton-height,var(--spectrum-closebutton-height)\n);border-color:#0000;border-radius:var(\n--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius)\n);border-width:0;color:inherit;display:inline-flex;flex-direction:row;inline-size:var(\n--mod-closebutton-width,var(--spectrum-closebutton-width)\n);justify-content:center;margin-block-start:var(--mod-closebutton-margin-top);margin-inline:var(--mod-closebutton-margin-inline);padding:0;position:relative;transition:border-color var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-in-out}:host:after{border-radius:calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(\n--mod-closebutton-focus-indicator-gap,\nvar(--spectrum-closebutton-focus-indicator-gap)\n));content:\"\";inset-block:0;inset-inline:0;margin:calc(var(\n--mod-closebutton-focus-indicator-gap,\nvar(--spectrum-closebutton-focus-indicator-gap)\n)*-1);pointer-events:none;position:absolute;transition:box-shadow var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-in-out}:host(.focus-visible){box-shadow:none;outline:none}:host(:focus-visible){box-shadow:none;outline:none}:host(.focus-visible):after{box-shadow:0 0 0 var(\n--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)\n) var(\n--highcontrast-closebutton-focus-indicator-color,var(\n--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)\n)\n)}:host(:focus-visible):after{box-shadow:0 0 0 var(\n--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)\n) var(\n--highcontrast-closebutton-focus-indicator-color,var(\n--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)\n)\n)}:host(:not([disabled])){background-color:var(\n--highcontrast-closebutton-background-color-default,var(\n--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)\n)\n)}:host(:not([disabled])[active]){background-color:var(\n--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down)\n)}:host(:not([disabled])[active]) .icon{color:var(\n--highcontrast-closebutton-icon-color-down,var(\n--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)\n)\n)}:host(:not([disabled]).focus-visible),:host(:not([disabled])[focused]){background-color:var(\n--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)\n)}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(\n--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)\n)}:host(:not([disabled]).focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host(:not([disabled])) .icon{color:var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host([disabled]){background-color:var(\n--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)\n)}:host([disabled]) .icon{color:var(\n--highcontrast-closebutton-icon-color-disabled,var(\n--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)\n)\n)}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(\n--highcontrast-closebutton-static-background-color-default,var(\n--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)\n)\n)}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(\n--highcontrast-closebutton-icon-color-hover,var(\n--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)\n)\n)}:host(:not([disabled]):hover){background-color:var(\n--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover)\n)}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(\n--highcontrast-closebutton-static-background-color-hover,var(\n--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)\n)\n)}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(\n--highcontrast-closebutton-static-background-color-down,var(\n--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)\n)\n)}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled]).focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]).focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(\n--highcontrast-closebutton-static-background-color-focus,var(\n--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)\n)\n)}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(\n--highcontrast-closebutton-static-background-color-focus,var(\n--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)\n)\n)}:host([static=black]:not([disabled]).focus-visible) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]).focus-visible) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(\n--highcontrast-closebutton-icon-disabled,var(\n--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)\n)\n)}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(\n--system-spectrum-closebutton-background-color-default\n);--spectrum-closebutton-background-color-hover:var(\n--system-spectrum-closebutton-background-color-hover\n);--spectrum-closebutton-background-color-down:var(\n--system-spectrum-closebutton-background-color-down\n);--spectrum-closebutton-background-color-focus:var(\n--system-spectrum-closebutton-background-color-focus\n)}\n`;\nexport default styles;"],
5
- "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiMf,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{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex;position:relative;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:\"\";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled])[active]){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}\n`;\nexport default styles;"],
5
+ "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
6
6
  "names": []
7
7
  }
@@ -1,194 +1,4 @@
1
1
  "use strict";import{css as o}from"@spectrum-web-components/base";const t=o`
2
- :host{-webkit-appearance:button;box-sizing:border-box;cursor:pointer;font-family:var(
3
- --mod-button-font-family,var(
4
- --mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)
5
- )
6
- );line-height:var(
7
- --mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100))
8
- );text-transform:none;transition:background var(
9
- --mod-button-animation-duration,var(
10
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
11
- )
12
- ) ease-out,border-color var(
13
- --mod-button-animation-duration,var(
14
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
15
- )
16
- ) ease-out,color var(
17
- --mod-button-animation-duration,var(
18
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
19
- )
20
- ) ease-out,box-shadow var(
21
- --mod-button-animation-duration,var(
22
- --mod-animation-duration-100,var(--spectrum-animation-duration-100)
23
- )
24
- ) ease-out;-webkit-user-select:none;user-select:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;overflow:visible;-webkit-text-decoration:none;text-decoration:none}:host(:focus){outline:none}:host([disabled]){cursor:default}:host a{-webkit-appearance:none;-webkit-user-select:none;user-select:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(
25
- --spectrum-neutral-content-color-default
26
- );--spectrum-closebutton-icon-color-hover:var(
27
- --spectrum-neutral-content-color-hover
28
- );--spectrum-closebutton-icon-color-down:var(
29
- --spectrum-neutral-content-color-down
30
- );--spectrum-closebutton-icon-color-focus:var(
31
- --spectrum-neutral-content-color-key-focus
32
- );--spectrum-closebutton-icon-color-disabled:var(
33
- --spectrum-disabled-content-color
34
- );--spectrum-closebutton-focus-indicator-thickness:var(
35
- --spectrum-focus-indicator-thickness
36
- );--spectrum-closebutton-focus-indicator-gap:var(
37
- --spectrum-focus-indicator-gap
38
- );--spectrum-closebutton-focus-indicator-color:var(
39
- --spectrum-focus-indicator-color
40
- );--spectrum-closebutton-animation-duration:var(
41
- --spectrum-animation-duration-100
42
- )}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(
43
- --spectrum-transparent-white-300
44
- );--spectrum-closebutton-static-background-color-down:var(
45
- --spectrum-transparent-white-400
46
- );--spectrum-closebutton-static-background-color-focus:var(
47
- --spectrum-transparent-white-300
48
- );--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(
49
- --spectrum-disabled-static-white-content-color
50
- );--spectrum-closebutton-focus-indicator-color:var(
51
- --spectrum-static-white-focus-indicator-color
52
- )}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(
53
- --spectrum-transparent-black-300
54
- );--spectrum-closebutton-static-background-color-down:var(
55
- --spectrum-transparent-black-400
56
- );--spectrum-closebutton-static-background-color-focus:var(
57
- --spectrum-transparent-black-300
58
- );--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(
59
- --spectrum-disabled-static-black-content-color
60
- );--spectrum-closebutton-focus-indicator-color:var(
61
- --spectrum-static-black-focus-indicator-color
62
- )}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(.focus-visible):after{forced-color-adjust:none;margin:var(
63
- --mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)
64
- );transition:opacity var(
65
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
66
- ) ease-out,margin var(
67
- --mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)
68
- ) ease-out}:host(:focus-visible):after{forced-color-adjust:none;margin:var(
69
- --mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)
70
- );transition:opacity var(
71
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
72
- ) ease-out,margin var(
73
- --mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)
74
- ) ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{align-items:center;align-self:var(--mod-closebutton-align-self);block-size:var(
75
- --mod-closebutton-height,var(--spectrum-closebutton-height)
76
- );border-color:#0000;border-radius:var(
77
- --mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius)
78
- );border-width:0;color:inherit;display:inline-flex;flex-direction:row;inline-size:var(
79
- --mod-closebutton-width,var(--spectrum-closebutton-width)
80
- );justify-content:center;margin-block-start:var(--mod-closebutton-margin-top);margin-inline:var(--mod-closebutton-margin-inline);padding:0;position:relative;transition:border-color var(
81
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
82
- ) ease-in-out}:host:after{border-radius:calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(
83
- --mod-closebutton-focus-indicator-gap,
84
- var(--spectrum-closebutton-focus-indicator-gap)
85
- ));content:"";inset-block:0;inset-inline:0;margin:calc(var(
86
- --mod-closebutton-focus-indicator-gap,
87
- var(--spectrum-closebutton-focus-indicator-gap)
88
- )*-1);pointer-events:none;position:absolute;transition:box-shadow var(
89
- --mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)
90
- ) ease-in-out}:host(.focus-visible){box-shadow:none;outline:none}:host(:focus-visible){box-shadow:none;outline:none}:host(.focus-visible):after{box-shadow:0 0 0 var(
91
- --mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)
92
- ) var(
93
- --highcontrast-closebutton-focus-indicator-color,var(
94
- --mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)
95
- )
96
- )}:host(:focus-visible):after{box-shadow:0 0 0 var(
97
- --mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)
98
- ) var(
99
- --highcontrast-closebutton-focus-indicator-color,var(
100
- --mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)
101
- )
102
- )}:host(:not([disabled])){background-color:var(
103
- --highcontrast-closebutton-background-color-default,var(
104
- --mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)
105
- )
106
- )}:host(:not([disabled])[active]){background-color:var(
107
- --mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down)
108
- )}:host(:not([disabled])[active]) .icon{color:var(
109
- --highcontrast-closebutton-icon-color-down,var(
110
- --mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)
111
- )
112
- )}:host(:not([disabled]).focus-visible),:host(:not([disabled])[focused]){background-color:var(
113
- --mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)
114
- )}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(
115
- --mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)
116
- )}:host(:not([disabled]).focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(
117
- --highcontrast-closebutton-icon-color-focus,var(
118
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
119
- )
120
- )}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(
121
- --highcontrast-closebutton-icon-color-focus,var(
122
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
123
- )
124
- )}:host(:not([disabled])) .icon{color:var(
125
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
126
- )}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(
127
- --highcontrast-closebutton-icon-color-focus,var(
128
- --mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)
129
- )
130
- )}:host([disabled]){background-color:var(
131
- --mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)
132
- )}:host([disabled]) .icon{color:var(
133
- --highcontrast-closebutton-icon-color-disabled,var(
134
- --mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)
135
- )
136
- )}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(
137
- --highcontrast-closebutton-static-background-color-default,var(
138
- --mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)
139
- )
140
- )}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(
141
- --highcontrast-closebutton-icon-color-hover,var(
142
- --mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)
143
- )
144
- )}:host(:not([disabled]):hover){background-color:var(
145
- --mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover)
146
- )}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(
147
- --highcontrast-closebutton-static-background-color-hover,var(
148
- --mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)
149
- )
150
- )}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(
151
- --highcontrast-closebutton-icon-color-default,var(
152
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
153
- )
154
- )}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(
155
- --highcontrast-closebutton-static-background-color-down,var(
156
- --mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)
157
- )
158
- )}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(
159
- --highcontrast-closebutton-icon-color-default,var(
160
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
161
- )
162
- )}:host([static=black]:not([disabled]).focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]).focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(
163
- --highcontrast-closebutton-static-background-color-focus,var(
164
- --mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)
165
- )
166
- )}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(
167
- --highcontrast-closebutton-static-background-color-focus,var(
168
- --mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)
169
- )
170
- )}:host([static=black]:not([disabled]).focus-visible) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]).focus-visible) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(
171
- --highcontrast-closebutton-icon-color-default,var(
172
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
173
- )
174
- )}:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(
175
- --highcontrast-closebutton-icon-color-default,var(
176
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
177
- )
178
- )}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(
179
- --mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)
180
- )}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(
181
- --highcontrast-closebutton-icon-disabled,var(
182
- --mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)
183
- )
184
- )}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(
185
- --system-spectrum-closebutton-background-color-default
186
- );--spectrum-closebutton-background-color-hover:var(
187
- --system-spectrum-closebutton-background-color-hover
188
- );--spectrum-closebutton-background-color-down:var(
189
- --system-spectrum-closebutton-background-color-down
190
- );--spectrum-closebutton-background-color-focus:var(
191
- --system-spectrum-closebutton-background-color-focus
192
- )}
2
+ :host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex;position:relative;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:"";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled])[active]){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}
193
3
  `;export default t;
194
4
  //# sourceMappingURL=spectrum-close-button.css.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["spectrum-close-button.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{-webkit-appearance:button;box-sizing:border-box;cursor:pointer;font-family:var(\n--mod-button-font-family,var(\n--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)\n)\n);line-height:var(\n--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100))\n);text-transform:none;transition:background var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,border-color var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,color var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out,box-shadow var(\n--mod-button-animation-duration,var(\n--mod-animation-duration-100,var(--spectrum-animation-duration-100)\n)\n) ease-out;-webkit-user-select:none;user-select:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;overflow:visible;-webkit-text-decoration:none;text-decoration:none}:host(:focus){outline:none}:host([disabled]){cursor:default}:host a{-webkit-appearance:none;-webkit-user-select:none;user-select:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(\n--spectrum-neutral-content-color-default\n);--spectrum-closebutton-icon-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--spectrum-closebutton-icon-color-down:var(\n--spectrum-neutral-content-color-down\n);--spectrum-closebutton-icon-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-content-color\n);--spectrum-closebutton-focus-indicator-thickness:var(\n--spectrum-focus-indicator-thickness\n);--spectrum-closebutton-focus-indicator-gap:var(\n--spectrum-focus-indicator-gap\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-focus-indicator-color\n);--spectrum-closebutton-animation-duration:var(\n--spectrum-animation-duration-100\n)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(\n--spectrum-transparent-white-300\n);--spectrum-closebutton-static-background-color-down:var(\n--spectrum-transparent-white-400\n);--spectrum-closebutton-static-background-color-focus:var(\n--spectrum-transparent-white-300\n);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(\n--spectrum-transparent-black-300\n);--spectrum-closebutton-static-background-color-down:var(\n--spectrum-transparent-black-400\n);--spectrum-closebutton-static-background-color-focus:var(\n--spectrum-transparent-black-300\n);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n);--spectrum-closebutton-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(.focus-visible):after{forced-color-adjust:none;margin:var(\n--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)\n);transition:opacity var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-out,margin var(\n--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)\n) ease-out}:host(:focus-visible):after{forced-color-adjust:none;margin:var(\n--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)\n);transition:opacity var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-out,margin var(\n--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration)\n) ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{align-items:center;align-self:var(--mod-closebutton-align-self);block-size:var(\n--mod-closebutton-height,var(--spectrum-closebutton-height)\n);border-color:#0000;border-radius:var(\n--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius)\n);border-width:0;color:inherit;display:inline-flex;flex-direction:row;inline-size:var(\n--mod-closebutton-width,var(--spectrum-closebutton-width)\n);justify-content:center;margin-block-start:var(--mod-closebutton-margin-top);margin-inline:var(--mod-closebutton-margin-inline);padding:0;position:relative;transition:border-color var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-in-out}:host:after{border-radius:calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(\n--mod-closebutton-focus-indicator-gap,\nvar(--spectrum-closebutton-focus-indicator-gap)\n));content:\"\";inset-block:0;inset-inline:0;margin:calc(var(\n--mod-closebutton-focus-indicator-gap,\nvar(--spectrum-closebutton-focus-indicator-gap)\n)*-1);pointer-events:none;position:absolute;transition:box-shadow var(\n--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration)\n) ease-in-out}:host(.focus-visible){box-shadow:none;outline:none}:host(:focus-visible){box-shadow:none;outline:none}:host(.focus-visible):after{box-shadow:0 0 0 var(\n--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)\n) var(\n--highcontrast-closebutton-focus-indicator-color,var(\n--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)\n)\n)}:host(:focus-visible):after{box-shadow:0 0 0 var(\n--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness)\n) var(\n--highcontrast-closebutton-focus-indicator-color,var(\n--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)\n)\n)}:host(:not([disabled])){background-color:var(\n--highcontrast-closebutton-background-color-default,var(\n--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)\n)\n)}:host(:not([disabled])[active]){background-color:var(\n--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down)\n)}:host(:not([disabled])[active]) .icon{color:var(\n--highcontrast-closebutton-icon-color-down,var(\n--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)\n)\n)}:host(:not([disabled]).focus-visible),:host(:not([disabled])[focused]){background-color:var(\n--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)\n)}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(\n--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus)\n)}:host(:not([disabled]).focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host(:not([disabled])) .icon{color:var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-focus,var(\n--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)\n)\n)}:host([disabled]){background-color:var(\n--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)\n)}:host([disabled]) .icon{color:var(\n--highcontrast-closebutton-icon-color-disabled,var(\n--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)\n)\n)}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(\n--highcontrast-closebutton-static-background-color-default,var(\n--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)\n)\n)}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(\n--highcontrast-closebutton-icon-color-hover,var(\n--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)\n)\n)}:host(:not([disabled]):hover){background-color:var(\n--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover)\n)}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(\n--highcontrast-closebutton-static-background-color-hover,var(\n--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)\n)\n)}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(\n--highcontrast-closebutton-static-background-color-down,var(\n--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)\n)\n)}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled]).focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]).focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(\n--highcontrast-closebutton-static-background-color-focus,var(\n--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)\n)\n)}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(\n--highcontrast-closebutton-static-background-color-focus,var(\n--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)\n)\n)}:host([static=black]:not([disabled]).focus-visible) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]).focus-visible) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(\n--highcontrast-closebutton-icon-color-default,var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)\n)}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(\n--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)\n)}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(\n--highcontrast-closebutton-icon-disabled,var(\n--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)\n)\n)}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(\n--system-spectrum-closebutton-background-color-default\n);--spectrum-closebutton-background-color-hover:var(\n--system-spectrum-closebutton-background-color-hover\n);--spectrum-closebutton-background-color-down:var(\n--system-spectrum-closebutton-background-color-down\n);--spectrum-closebutton-background-color-focus:var(\n--system-spectrum-closebutton-background-color-focus\n)}\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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAiMf,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{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex;position:relative;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:\"\";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled])[active]){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host(:not([disabled]):focus-visible),:host(:not([disabled])[focused]){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host(:not([disabled]):focus-visible) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host(:not([disabled]):focus) .icon,:host(:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled])[active]),:host([static=white]:not([disabled])[active]){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled])[active]) .icon,:host([static=white]:not([disabled])[active]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled]):focus-visible),:host([static=black]:not([disabled])[focused]),:host([static=white]:not([disabled]):focus-visible),:host([static=white]:not([disabled])[focused]){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus-visible) .icon,:host([static=white]:not([disabled])[focused]) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled])[focused]) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled])[focused]) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}\n`;\nexport default styles;"],
5
+ "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
6
6
  "names": ["css", "styles"]
7
7
  }