@react-spectrum/button 3.0.0-nightly.2541 → 3.0.0-nightly.2545
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/import.mjs +141 -183
- package/dist/main.js +139 -181
- package/dist/main.js.map +1 -1
- package/dist/module.js +141 -183
- package/dist/module.js.map +1 -1
- package/package.json +17 -17
package/dist/import.mjs
CHANGED
@@ -14,163 +14,13 @@ import $d7FTw$spectrumiconsuiCrossSmall from "@spectrum-icons/ui/CrossSmall";
|
|
14
14
|
import {useToggleState as $d7FTw$useToggleState} from "@react-stately/toggle";
|
15
15
|
|
16
16
|
|
17
|
-
function $parcel$export(e, n, v, s) {
|
18
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
19
|
-
}
|
20
|
-
|
21
17
|
function $parcel$interopDefault(a) {
|
22
18
|
return a && a.__esModule ? a.default : a;
|
23
19
|
}
|
24
20
|
|
25
|
-
|
26
|
-
|
27
|
-
var $parcel$modules = {};
|
28
|
-
var $parcel$inits = {};
|
29
|
-
|
30
|
-
var parcelRequire = $parcel$global["parcelRequire7f0c"];
|
31
|
-
|
32
|
-
if (parcelRequire == null) {
|
33
|
-
parcelRequire = function(id) {
|
34
|
-
if (id in $parcel$modules) {
|
35
|
-
return $parcel$modules[id].exports;
|
36
|
-
}
|
37
|
-
if (id in $parcel$inits) {
|
38
|
-
var init = $parcel$inits[id];
|
39
|
-
delete $parcel$inits[id];
|
40
|
-
var module = {id: id, exports: {}};
|
41
|
-
$parcel$modules[id] = module;
|
42
|
-
init.call(module.exports, module, module.exports);
|
43
|
-
return module.exports;
|
44
|
-
}
|
45
|
-
var err = new Error("Cannot find module '" + id + "'");
|
46
|
-
err.code = 'MODULE_NOT_FOUND';
|
47
|
-
throw err;
|
48
|
-
};
|
49
|
-
|
50
|
-
parcelRequire.register = function register(id, init) {
|
51
|
-
$parcel$inits[id] = init;
|
52
|
-
};
|
53
|
-
|
54
|
-
$parcel$global["parcelRequire7f0c"] = parcelRequire;
|
21
|
+
function $parcel$export(e, n, v, s) {
|
22
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
55
23
|
}
|
56
|
-
|
57
|
-
var parcelRegister = parcelRequire.register;
|
58
|
-
parcelRegister("ISKnZ", function(module, exports) {
|
59
|
-
|
60
|
-
$parcel$export(module.exports, "focus-ring", () => $086e93d2352a4536$export$f39a09f249340e2a, (v) => $086e93d2352a4536$export$f39a09f249340e2a = v);
|
61
|
-
$parcel$export(module.exports, "i18nFontFamily", () => $086e93d2352a4536$export$8c4ee2c50c22c514, (v) => $086e93d2352a4536$export$8c4ee2c50c22c514 = v);
|
62
|
-
$parcel$export(module.exports, "is-active", () => $086e93d2352a4536$export$20fd0f7cd4e6112f, (v) => $086e93d2352a4536$export$20fd0f7cd4e6112f = v);
|
63
|
-
$parcel$export(module.exports, "is-disabled", () => $086e93d2352a4536$export$d35bc1e505d1ebbf, (v) => $086e93d2352a4536$export$d35bc1e505d1ebbf = v);
|
64
|
-
$parcel$export(module.exports, "is-focused", () => $086e93d2352a4536$export$e7dc768d35940237, (v) => $086e93d2352a4536$export$e7dc768d35940237 = v);
|
65
|
-
$parcel$export(module.exports, "is-hovered", () => $086e93d2352a4536$export$b8813cd5d7824ce7, (v) => $086e93d2352a4536$export$b8813cd5d7824ce7 = v);
|
66
|
-
$parcel$export(module.exports, "is-open", () => $086e93d2352a4536$export$a9781837241c946d, (v) => $086e93d2352a4536$export$a9781837241c946d = v);
|
67
|
-
$parcel$export(module.exports, "is-placeholder", () => $086e93d2352a4536$export$e5b2f5233e4e5194, (v) => $086e93d2352a4536$export$e5b2f5233e4e5194 = v);
|
68
|
-
$parcel$export(module.exports, "is-selected", () => $086e93d2352a4536$export$1e0fb04f31d3c22a, (v) => $086e93d2352a4536$export$1e0fb04f31d3c22a = v);
|
69
|
-
$parcel$export(module.exports, "spectrum-BaseButton", () => $086e93d2352a4536$export$f7b415378ab4f839, (v) => $086e93d2352a4536$export$f7b415378ab4f839 = v);
|
70
|
-
$parcel$export(module.exports, "spectrum-FocusRing-ring", () => $086e93d2352a4536$export$4109102f950813a6, (v) => $086e93d2352a4536$export$4109102f950813a6 = v);
|
71
|
-
$parcel$export(module.exports, "spectrum-FocusRing", () => $086e93d2352a4536$export$24c7f46a6e3605dd, (v) => $086e93d2352a4536$export$24c7f46a6e3605dd = v);
|
72
|
-
$parcel$export(module.exports, "spectrum-ActionButton", () => $086e93d2352a4536$export$53da69f51b770d3, (v) => $086e93d2352a4536$export$53da69f51b770d3 = v);
|
73
|
-
$parcel$export(module.exports, "spectrum-ActionButton--emphasized", () => $086e93d2352a4536$export$5aabb61a966e266f, (v) => $086e93d2352a4536$export$5aabb61a966e266f = v);
|
74
|
-
$parcel$export(module.exports, "spectrum-ActionButton--quiet", () => $086e93d2352a4536$export$40e1f009544bacf3, (v) => $086e93d2352a4536$export$40e1f009544bacf3 = v);
|
75
|
-
$parcel$export(module.exports, "spectrum-ActionButton--staticBlack", () => $086e93d2352a4536$export$8f7c9db66978d20f, (v) => $086e93d2352a4536$export$8f7c9db66978d20f = v);
|
76
|
-
$parcel$export(module.exports, "spectrum-ActionButton--staticColor", () => $086e93d2352a4536$export$29b7b5d6a5a497c5, (v) => $086e93d2352a4536$export$29b7b5d6a5a497c5 = v);
|
77
|
-
$parcel$export(module.exports, "spectrum-ActionButton--staticWhite", () => $086e93d2352a4536$export$ccc536e1adbdc059, (v) => $086e93d2352a4536$export$ccc536e1adbdc059 = v);
|
78
|
-
$parcel$export(module.exports, "spectrum-ActionButton-hold", () => $086e93d2352a4536$export$4a4f01c443eff992, (v) => $086e93d2352a4536$export$4a4f01c443eff992 = v);
|
79
|
-
$parcel$export(module.exports, "spectrum-ActionButton-label", () => $086e93d2352a4536$export$ebb4635c66bacdb9, (v) => $086e93d2352a4536$export$ebb4635c66bacdb9 = v);
|
80
|
-
$parcel$export(module.exports, "spectrum-Button", () => $086e93d2352a4536$export$1db4cca5b4ade39a, (v) => $086e93d2352a4536$export$1db4cca5b4ade39a = v);
|
81
|
-
$parcel$export(module.exports, "spectrum-Button--iconOnly", () => $086e93d2352a4536$export$c1d306ec0fae3838, (v) => $086e93d2352a4536$export$c1d306ec0fae3838 = v);
|
82
|
-
$parcel$export(module.exports, "spectrum-Button--overBackground", () => $086e93d2352a4536$export$5cda1128f9112d2e, (v) => $086e93d2352a4536$export$5cda1128f9112d2e = v);
|
83
|
-
$parcel$export(module.exports, "spectrum-Button--pending", () => $086e93d2352a4536$export$54592d0984f245d5, (v) => $086e93d2352a4536$export$54592d0984f245d5 = v);
|
84
|
-
$parcel$export(module.exports, "spectrum-Button-circleLoader", () => $086e93d2352a4536$export$76d4531f0342bbe0, (v) => $086e93d2352a4536$export$76d4531f0342bbe0 = v);
|
85
|
-
$parcel$export(module.exports, "spectrum-Button-label", () => $086e93d2352a4536$export$c081ba562e204942, (v) => $086e93d2352a4536$export$c081ba562e204942 = v);
|
86
|
-
$parcel$export(module.exports, "spectrum-ClearButton", () => $086e93d2352a4536$export$b752ce409e5660c, (v) => $086e93d2352a4536$export$b752ce409e5660c = v);
|
87
|
-
$parcel$export(module.exports, "spectrum-ClearButton--overBackground", () => $086e93d2352a4536$export$116f2fccf941d34d, (v) => $086e93d2352a4536$export$116f2fccf941d34d = v);
|
88
|
-
$parcel$export(module.exports, "spectrum-ClearButton--small", () => $086e93d2352a4536$export$49280ffa5236ba8b, (v) => $086e93d2352a4536$export$49280ffa5236ba8b = v);
|
89
|
-
$parcel$export(module.exports, "spectrum-FieldButton", () => $086e93d2352a4536$export$a024c99ecf6b5741, (v) => $086e93d2352a4536$export$a024c99ecf6b5741 = v);
|
90
|
-
$parcel$export(module.exports, "spectrum-FieldButton--invalid", () => $086e93d2352a4536$export$c9f503f672e8a3c1, (v) => $086e93d2352a4536$export$c9f503f672e8a3c1 = v);
|
91
|
-
$parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $086e93d2352a4536$export$2927016961429360, (v) => $086e93d2352a4536$export$2927016961429360 = v);
|
92
|
-
$parcel$export(module.exports, "spectrum-FieldButton--quiet", () => $086e93d2352a4536$export$5ca7b274e4fff9fc, (v) => $086e93d2352a4536$export$5ca7b274e4fff9fc = v);
|
93
|
-
$parcel$export(module.exports, "spectrum-Icon", () => $086e93d2352a4536$export$d374b04f30360026, (v) => $086e93d2352a4536$export$d374b04f30360026 = v);
|
94
|
-
$parcel$export(module.exports, "spectrum-LogicButton", () => $086e93d2352a4536$export$36ae67a131730482, (v) => $086e93d2352a4536$export$36ae67a131730482 = v);
|
95
|
-
$parcel$export(module.exports, "spectrum-LogicButton--and", () => $086e93d2352a4536$export$e52daab43a62c528, (v) => $086e93d2352a4536$export$e52daab43a62c528 = v);
|
96
|
-
$parcel$export(module.exports, "spectrum-LogicButton--or", () => $086e93d2352a4536$export$da76be6126aaa633, (v) => $086e93d2352a4536$export$da76be6126aaa633 = v);
|
97
|
-
var $086e93d2352a4536$export$f39a09f249340e2a;
|
98
|
-
var $086e93d2352a4536$export$8c4ee2c50c22c514;
|
99
|
-
var $086e93d2352a4536$export$20fd0f7cd4e6112f;
|
100
|
-
var $086e93d2352a4536$export$d35bc1e505d1ebbf;
|
101
|
-
var $086e93d2352a4536$export$e7dc768d35940237;
|
102
|
-
var $086e93d2352a4536$export$b8813cd5d7824ce7;
|
103
|
-
var $086e93d2352a4536$export$a9781837241c946d;
|
104
|
-
var $086e93d2352a4536$export$e5b2f5233e4e5194;
|
105
|
-
var $086e93d2352a4536$export$1e0fb04f31d3c22a;
|
106
|
-
var $086e93d2352a4536$export$f7b415378ab4f839;
|
107
|
-
var $086e93d2352a4536$export$4109102f950813a6;
|
108
|
-
var $086e93d2352a4536$export$24c7f46a6e3605dd;
|
109
|
-
var $086e93d2352a4536$export$53da69f51b770d3;
|
110
|
-
var $086e93d2352a4536$export$5aabb61a966e266f;
|
111
|
-
var $086e93d2352a4536$export$40e1f009544bacf3;
|
112
|
-
var $086e93d2352a4536$export$8f7c9db66978d20f;
|
113
|
-
var $086e93d2352a4536$export$29b7b5d6a5a497c5;
|
114
|
-
var $086e93d2352a4536$export$ccc536e1adbdc059;
|
115
|
-
var $086e93d2352a4536$export$4a4f01c443eff992;
|
116
|
-
var $086e93d2352a4536$export$ebb4635c66bacdb9;
|
117
|
-
var $086e93d2352a4536$export$1db4cca5b4ade39a;
|
118
|
-
var $086e93d2352a4536$export$c1d306ec0fae3838;
|
119
|
-
var $086e93d2352a4536$export$5cda1128f9112d2e;
|
120
|
-
var $086e93d2352a4536$export$54592d0984f245d5;
|
121
|
-
var $086e93d2352a4536$export$76d4531f0342bbe0;
|
122
|
-
var $086e93d2352a4536$export$c081ba562e204942;
|
123
|
-
var $086e93d2352a4536$export$b752ce409e5660c;
|
124
|
-
var $086e93d2352a4536$export$116f2fccf941d34d;
|
125
|
-
var $086e93d2352a4536$export$49280ffa5236ba8b;
|
126
|
-
var $086e93d2352a4536$export$a024c99ecf6b5741;
|
127
|
-
var $086e93d2352a4536$export$c9f503f672e8a3c1;
|
128
|
-
var $086e93d2352a4536$export$2927016961429360;
|
129
|
-
var $086e93d2352a4536$export$5ca7b274e4fff9fc;
|
130
|
-
var $086e93d2352a4536$export$d374b04f30360026;
|
131
|
-
var $086e93d2352a4536$export$36ae67a131730482;
|
132
|
-
var $086e93d2352a4536$export$e52daab43a62c528;
|
133
|
-
var $086e93d2352a4536$export$da76be6126aaa633;
|
134
|
-
$086e93d2352a4536$export$f39a09f249340e2a = `Dniwja_focus-ring`;
|
135
|
-
$086e93d2352a4536$export$8c4ee2c50c22c514 = `Dniwja_i18nFontFamily`;
|
136
|
-
$086e93d2352a4536$export$20fd0f7cd4e6112f = `Dniwja_is-active`;
|
137
|
-
$086e93d2352a4536$export$d35bc1e505d1ebbf = `Dniwja_is-disabled`;
|
138
|
-
$086e93d2352a4536$export$e7dc768d35940237 = `Dniwja_is-focused`;
|
139
|
-
$086e93d2352a4536$export$b8813cd5d7824ce7 = `Dniwja_is-hovered`;
|
140
|
-
$086e93d2352a4536$export$a9781837241c946d = `Dniwja_is-open`;
|
141
|
-
$086e93d2352a4536$export$e5b2f5233e4e5194 = `Dniwja_is-placeholder`;
|
142
|
-
$086e93d2352a4536$export$1e0fb04f31d3c22a = `Dniwja_is-selected`;
|
143
|
-
$086e93d2352a4536$export$f7b415378ab4f839 = `Dniwja_spectrum-BaseButton ${$086e93d2352a4536$export$8c4ee2c50c22c514}`;
|
144
|
-
$086e93d2352a4536$export$4109102f950813a6 = `Dniwja_spectrum-FocusRing-ring`;
|
145
|
-
$086e93d2352a4536$export$24c7f46a6e3605dd = `Dniwja_spectrum-FocusRing ${$086e93d2352a4536$export$4109102f950813a6}`;
|
146
|
-
$086e93d2352a4536$export$53da69f51b770d3 = `Dniwja_spectrum-ActionButton ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
147
|
-
$086e93d2352a4536$export$5aabb61a966e266f = `Dniwja_spectrum-ActionButton--emphasized`;
|
148
|
-
$086e93d2352a4536$export$40e1f009544bacf3 = `Dniwja_spectrum-ActionButton--quiet`;
|
149
|
-
$086e93d2352a4536$export$8f7c9db66978d20f = `Dniwja_spectrum-ActionButton--staticBlack`;
|
150
|
-
$086e93d2352a4536$export$29b7b5d6a5a497c5 = `Dniwja_spectrum-ActionButton--staticColor`;
|
151
|
-
$086e93d2352a4536$export$ccc536e1adbdc059 = `Dniwja_spectrum-ActionButton--staticWhite`;
|
152
|
-
$086e93d2352a4536$export$4a4f01c443eff992 = `Dniwja_spectrum-ActionButton-hold`;
|
153
|
-
$086e93d2352a4536$export$ebb4635c66bacdb9 = `Dniwja_spectrum-ActionButton-label`;
|
154
|
-
$086e93d2352a4536$export$1db4cca5b4ade39a = `Dniwja_spectrum-Button ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
155
|
-
$086e93d2352a4536$export$c1d306ec0fae3838 = `Dniwja_spectrum-Button--iconOnly`;
|
156
|
-
$086e93d2352a4536$export$5cda1128f9112d2e = `Dniwja_spectrum-Button--overBackground`;
|
157
|
-
$086e93d2352a4536$export$54592d0984f245d5 = `Dniwja_spectrum-Button--pending`;
|
158
|
-
$086e93d2352a4536$export$76d4531f0342bbe0 = `Dniwja_spectrum-Button-circleLoader`;
|
159
|
-
$086e93d2352a4536$export$c081ba562e204942 = `Dniwja_spectrum-Button-label`;
|
160
|
-
$086e93d2352a4536$export$b752ce409e5660c = `Dniwja_spectrum-ClearButton ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
161
|
-
$086e93d2352a4536$export$116f2fccf941d34d = `Dniwja_spectrum-ClearButton--overBackground`;
|
162
|
-
$086e93d2352a4536$export$49280ffa5236ba8b = `Dniwja_spectrum-ClearButton--small`;
|
163
|
-
$086e93d2352a4536$export$a024c99ecf6b5741 = `Dniwja_spectrum-FieldButton ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
164
|
-
$086e93d2352a4536$export$c9f503f672e8a3c1 = `Dniwja_spectrum-FieldButton--invalid`;
|
165
|
-
$086e93d2352a4536$export$2927016961429360 = `Dniwja_spectrum-FocusRing--quiet`;
|
166
|
-
$086e93d2352a4536$export$5ca7b274e4fff9fc = `Dniwja_spectrum-FieldButton--quiet ${$086e93d2352a4536$export$2927016961429360}`;
|
167
|
-
$086e93d2352a4536$export$d374b04f30360026 = `Dniwja_spectrum-Icon`;
|
168
|
-
$086e93d2352a4536$export$36ae67a131730482 = `Dniwja_spectrum-LogicButton ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
169
|
-
$086e93d2352a4536$export$e52daab43a62c528 = `Dniwja_spectrum-LogicButton--and`;
|
170
|
-
$086e93d2352a4536$export$da76be6126aaa633 = `Dniwja_spectrum-LogicButton--or`;
|
171
|
-
|
172
|
-
});
|
173
|
-
|
174
24
|
/*
|
175
25
|
* Copyright 2020 Adobe. All rights reserved.
|
176
26
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
@@ -440,8 +290,121 @@ $94fed84ca44dbd5b$exports = {
|
|
440
290
|
|
441
291
|
|
442
292
|
|
293
|
+
var $086e93d2352a4536$exports = {};
|
294
|
+
|
295
|
+
$parcel$export($086e93d2352a4536$exports, "focus-ring", () => $086e93d2352a4536$export$f39a09f249340e2a, (v) => $086e93d2352a4536$export$f39a09f249340e2a = v);
|
296
|
+
$parcel$export($086e93d2352a4536$exports, "i18nFontFamily", () => $086e93d2352a4536$export$8c4ee2c50c22c514, (v) => $086e93d2352a4536$export$8c4ee2c50c22c514 = v);
|
297
|
+
$parcel$export($086e93d2352a4536$exports, "is-active", () => $086e93d2352a4536$export$20fd0f7cd4e6112f, (v) => $086e93d2352a4536$export$20fd0f7cd4e6112f = v);
|
298
|
+
$parcel$export($086e93d2352a4536$exports, "is-disabled", () => $086e93d2352a4536$export$d35bc1e505d1ebbf, (v) => $086e93d2352a4536$export$d35bc1e505d1ebbf = v);
|
299
|
+
$parcel$export($086e93d2352a4536$exports, "is-focused", () => $086e93d2352a4536$export$e7dc768d35940237, (v) => $086e93d2352a4536$export$e7dc768d35940237 = v);
|
300
|
+
$parcel$export($086e93d2352a4536$exports, "is-hovered", () => $086e93d2352a4536$export$b8813cd5d7824ce7, (v) => $086e93d2352a4536$export$b8813cd5d7824ce7 = v);
|
301
|
+
$parcel$export($086e93d2352a4536$exports, "is-open", () => $086e93d2352a4536$export$a9781837241c946d, (v) => $086e93d2352a4536$export$a9781837241c946d = v);
|
302
|
+
$parcel$export($086e93d2352a4536$exports, "is-placeholder", () => $086e93d2352a4536$export$e5b2f5233e4e5194, (v) => $086e93d2352a4536$export$e5b2f5233e4e5194 = v);
|
303
|
+
$parcel$export($086e93d2352a4536$exports, "is-selected", () => $086e93d2352a4536$export$1e0fb04f31d3c22a, (v) => $086e93d2352a4536$export$1e0fb04f31d3c22a = v);
|
304
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-BaseButton", () => $086e93d2352a4536$export$f7b415378ab4f839, (v) => $086e93d2352a4536$export$f7b415378ab4f839 = v);
|
305
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-FocusRing-ring", () => $086e93d2352a4536$export$4109102f950813a6, (v) => $086e93d2352a4536$export$4109102f950813a6 = v);
|
306
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-FocusRing", () => $086e93d2352a4536$export$24c7f46a6e3605dd, (v) => $086e93d2352a4536$export$24c7f46a6e3605dd = v);
|
307
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ActionButton", () => $086e93d2352a4536$export$53da69f51b770d3, (v) => $086e93d2352a4536$export$53da69f51b770d3 = v);
|
308
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ActionButton--emphasized", () => $086e93d2352a4536$export$5aabb61a966e266f, (v) => $086e93d2352a4536$export$5aabb61a966e266f = v);
|
309
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ActionButton--quiet", () => $086e93d2352a4536$export$40e1f009544bacf3, (v) => $086e93d2352a4536$export$40e1f009544bacf3 = v);
|
310
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ActionButton--staticBlack", () => $086e93d2352a4536$export$8f7c9db66978d20f, (v) => $086e93d2352a4536$export$8f7c9db66978d20f = v);
|
311
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ActionButton--staticColor", () => $086e93d2352a4536$export$29b7b5d6a5a497c5, (v) => $086e93d2352a4536$export$29b7b5d6a5a497c5 = v);
|
312
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ActionButton--staticWhite", () => $086e93d2352a4536$export$ccc536e1adbdc059, (v) => $086e93d2352a4536$export$ccc536e1adbdc059 = v);
|
313
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ActionButton-hold", () => $086e93d2352a4536$export$4a4f01c443eff992, (v) => $086e93d2352a4536$export$4a4f01c443eff992 = v);
|
314
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ActionButton-label", () => $086e93d2352a4536$export$ebb4635c66bacdb9, (v) => $086e93d2352a4536$export$ebb4635c66bacdb9 = v);
|
315
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-Button", () => $086e93d2352a4536$export$1db4cca5b4ade39a, (v) => $086e93d2352a4536$export$1db4cca5b4ade39a = v);
|
316
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-Button--iconOnly", () => $086e93d2352a4536$export$c1d306ec0fae3838, (v) => $086e93d2352a4536$export$c1d306ec0fae3838 = v);
|
317
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-Button--overBackground", () => $086e93d2352a4536$export$5cda1128f9112d2e, (v) => $086e93d2352a4536$export$5cda1128f9112d2e = v);
|
318
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-Button--pending", () => $086e93d2352a4536$export$54592d0984f245d5, (v) => $086e93d2352a4536$export$54592d0984f245d5 = v);
|
319
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-Button-circleLoader", () => $086e93d2352a4536$export$76d4531f0342bbe0, (v) => $086e93d2352a4536$export$76d4531f0342bbe0 = v);
|
320
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-Button-label", () => $086e93d2352a4536$export$c081ba562e204942, (v) => $086e93d2352a4536$export$c081ba562e204942 = v);
|
321
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ClearButton", () => $086e93d2352a4536$export$b752ce409e5660c, (v) => $086e93d2352a4536$export$b752ce409e5660c = v);
|
322
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ClearButton--overBackground", () => $086e93d2352a4536$export$116f2fccf941d34d, (v) => $086e93d2352a4536$export$116f2fccf941d34d = v);
|
323
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-ClearButton--small", () => $086e93d2352a4536$export$49280ffa5236ba8b, (v) => $086e93d2352a4536$export$49280ffa5236ba8b = v);
|
324
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-FieldButton", () => $086e93d2352a4536$export$a024c99ecf6b5741, (v) => $086e93d2352a4536$export$a024c99ecf6b5741 = v);
|
325
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-FieldButton--invalid", () => $086e93d2352a4536$export$c9f503f672e8a3c1, (v) => $086e93d2352a4536$export$c9f503f672e8a3c1 = v);
|
326
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-FocusRing--quiet", () => $086e93d2352a4536$export$2927016961429360, (v) => $086e93d2352a4536$export$2927016961429360 = v);
|
327
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-FieldButton--quiet", () => $086e93d2352a4536$export$5ca7b274e4fff9fc, (v) => $086e93d2352a4536$export$5ca7b274e4fff9fc = v);
|
328
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-Icon", () => $086e93d2352a4536$export$d374b04f30360026, (v) => $086e93d2352a4536$export$d374b04f30360026 = v);
|
329
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-LogicButton", () => $086e93d2352a4536$export$36ae67a131730482, (v) => $086e93d2352a4536$export$36ae67a131730482 = v);
|
330
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-LogicButton--and", () => $086e93d2352a4536$export$e52daab43a62c528, (v) => $086e93d2352a4536$export$e52daab43a62c528 = v);
|
331
|
+
$parcel$export($086e93d2352a4536$exports, "spectrum-LogicButton--or", () => $086e93d2352a4536$export$da76be6126aaa633, (v) => $086e93d2352a4536$export$da76be6126aaa633 = v);
|
332
|
+
var $086e93d2352a4536$export$f39a09f249340e2a;
|
333
|
+
var $086e93d2352a4536$export$8c4ee2c50c22c514;
|
334
|
+
var $086e93d2352a4536$export$20fd0f7cd4e6112f;
|
335
|
+
var $086e93d2352a4536$export$d35bc1e505d1ebbf;
|
336
|
+
var $086e93d2352a4536$export$e7dc768d35940237;
|
337
|
+
var $086e93d2352a4536$export$b8813cd5d7824ce7;
|
338
|
+
var $086e93d2352a4536$export$a9781837241c946d;
|
339
|
+
var $086e93d2352a4536$export$e5b2f5233e4e5194;
|
340
|
+
var $086e93d2352a4536$export$1e0fb04f31d3c22a;
|
341
|
+
var $086e93d2352a4536$export$f7b415378ab4f839;
|
342
|
+
var $086e93d2352a4536$export$4109102f950813a6;
|
343
|
+
var $086e93d2352a4536$export$24c7f46a6e3605dd;
|
344
|
+
var $086e93d2352a4536$export$53da69f51b770d3;
|
345
|
+
var $086e93d2352a4536$export$5aabb61a966e266f;
|
346
|
+
var $086e93d2352a4536$export$40e1f009544bacf3;
|
347
|
+
var $086e93d2352a4536$export$8f7c9db66978d20f;
|
348
|
+
var $086e93d2352a4536$export$29b7b5d6a5a497c5;
|
349
|
+
var $086e93d2352a4536$export$ccc536e1adbdc059;
|
350
|
+
var $086e93d2352a4536$export$4a4f01c443eff992;
|
351
|
+
var $086e93d2352a4536$export$ebb4635c66bacdb9;
|
352
|
+
var $086e93d2352a4536$export$1db4cca5b4ade39a;
|
353
|
+
var $086e93d2352a4536$export$c1d306ec0fae3838;
|
354
|
+
var $086e93d2352a4536$export$5cda1128f9112d2e;
|
355
|
+
var $086e93d2352a4536$export$54592d0984f245d5;
|
356
|
+
var $086e93d2352a4536$export$76d4531f0342bbe0;
|
357
|
+
var $086e93d2352a4536$export$c081ba562e204942;
|
358
|
+
var $086e93d2352a4536$export$b752ce409e5660c;
|
359
|
+
var $086e93d2352a4536$export$116f2fccf941d34d;
|
360
|
+
var $086e93d2352a4536$export$49280ffa5236ba8b;
|
361
|
+
var $086e93d2352a4536$export$a024c99ecf6b5741;
|
362
|
+
var $086e93d2352a4536$export$c9f503f672e8a3c1;
|
363
|
+
var $086e93d2352a4536$export$2927016961429360;
|
364
|
+
var $086e93d2352a4536$export$5ca7b274e4fff9fc;
|
365
|
+
var $086e93d2352a4536$export$d374b04f30360026;
|
366
|
+
var $086e93d2352a4536$export$36ae67a131730482;
|
367
|
+
var $086e93d2352a4536$export$e52daab43a62c528;
|
368
|
+
var $086e93d2352a4536$export$da76be6126aaa633;
|
369
|
+
$086e93d2352a4536$export$f39a09f249340e2a = `Dniwja_focus-ring`;
|
370
|
+
$086e93d2352a4536$export$8c4ee2c50c22c514 = `Dniwja_i18nFontFamily`;
|
371
|
+
$086e93d2352a4536$export$20fd0f7cd4e6112f = `Dniwja_is-active`;
|
372
|
+
$086e93d2352a4536$export$d35bc1e505d1ebbf = `Dniwja_is-disabled`;
|
373
|
+
$086e93d2352a4536$export$e7dc768d35940237 = `Dniwja_is-focused`;
|
374
|
+
$086e93d2352a4536$export$b8813cd5d7824ce7 = `Dniwja_is-hovered`;
|
375
|
+
$086e93d2352a4536$export$a9781837241c946d = `Dniwja_is-open`;
|
376
|
+
$086e93d2352a4536$export$e5b2f5233e4e5194 = `Dniwja_is-placeholder`;
|
377
|
+
$086e93d2352a4536$export$1e0fb04f31d3c22a = `Dniwja_is-selected`;
|
378
|
+
$086e93d2352a4536$export$f7b415378ab4f839 = `Dniwja_spectrum-BaseButton ${$086e93d2352a4536$export$8c4ee2c50c22c514}`;
|
379
|
+
$086e93d2352a4536$export$4109102f950813a6 = `Dniwja_spectrum-FocusRing-ring`;
|
380
|
+
$086e93d2352a4536$export$24c7f46a6e3605dd = `Dniwja_spectrum-FocusRing ${$086e93d2352a4536$export$4109102f950813a6}`;
|
381
|
+
$086e93d2352a4536$export$53da69f51b770d3 = `Dniwja_spectrum-ActionButton ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
382
|
+
$086e93d2352a4536$export$5aabb61a966e266f = `Dniwja_spectrum-ActionButton--emphasized`;
|
383
|
+
$086e93d2352a4536$export$40e1f009544bacf3 = `Dniwja_spectrum-ActionButton--quiet`;
|
384
|
+
$086e93d2352a4536$export$8f7c9db66978d20f = `Dniwja_spectrum-ActionButton--staticBlack`;
|
385
|
+
$086e93d2352a4536$export$29b7b5d6a5a497c5 = `Dniwja_spectrum-ActionButton--staticColor`;
|
386
|
+
$086e93d2352a4536$export$ccc536e1adbdc059 = `Dniwja_spectrum-ActionButton--staticWhite`;
|
387
|
+
$086e93d2352a4536$export$4a4f01c443eff992 = `Dniwja_spectrum-ActionButton-hold`;
|
388
|
+
$086e93d2352a4536$export$ebb4635c66bacdb9 = `Dniwja_spectrum-ActionButton-label`;
|
389
|
+
$086e93d2352a4536$export$1db4cca5b4ade39a = `Dniwja_spectrum-Button ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
390
|
+
$086e93d2352a4536$export$c1d306ec0fae3838 = `Dniwja_spectrum-Button--iconOnly`;
|
391
|
+
$086e93d2352a4536$export$5cda1128f9112d2e = `Dniwja_spectrum-Button--overBackground`;
|
392
|
+
$086e93d2352a4536$export$54592d0984f245d5 = `Dniwja_spectrum-Button--pending`;
|
393
|
+
$086e93d2352a4536$export$76d4531f0342bbe0 = `Dniwja_spectrum-Button-circleLoader`;
|
394
|
+
$086e93d2352a4536$export$c081ba562e204942 = `Dniwja_spectrum-Button-label`;
|
395
|
+
$086e93d2352a4536$export$b752ce409e5660c = `Dniwja_spectrum-ClearButton ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
396
|
+
$086e93d2352a4536$export$116f2fccf941d34d = `Dniwja_spectrum-ClearButton--overBackground`;
|
397
|
+
$086e93d2352a4536$export$49280ffa5236ba8b = `Dniwja_spectrum-ClearButton--small`;
|
398
|
+
$086e93d2352a4536$export$a024c99ecf6b5741 = `Dniwja_spectrum-FieldButton ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
399
|
+
$086e93d2352a4536$export$c9f503f672e8a3c1 = `Dniwja_spectrum-FieldButton--invalid`;
|
400
|
+
$086e93d2352a4536$export$2927016961429360 = `Dniwja_spectrum-FocusRing--quiet`;
|
401
|
+
$086e93d2352a4536$export$5ca7b274e4fff9fc = `Dniwja_spectrum-FieldButton--quiet ${$086e93d2352a4536$export$2927016961429360}`;
|
402
|
+
$086e93d2352a4536$export$d374b04f30360026 = `Dniwja_spectrum-Icon`;
|
403
|
+
$086e93d2352a4536$export$36ae67a131730482 = `Dniwja_spectrum-LogicButton ${$086e93d2352a4536$export$f7b415378ab4f839} ${$086e93d2352a4536$export$24c7f46a6e3605dd}`;
|
404
|
+
$086e93d2352a4536$export$e52daab43a62c528 = `Dniwja_spectrum-LogicButton--and`;
|
405
|
+
$086e93d2352a4536$export$da76be6126aaa633 = `Dniwja_spectrum-LogicButton--or`;
|
406
|
+
|
443
407
|
|
444
|
-
var $ISKnZ = parcelRequire("ISKnZ");
|
445
408
|
|
446
409
|
|
447
410
|
|
@@ -474,8 +437,8 @@ function $b865a6f0049e2d66$var$Button(props, ref) {
|
|
474
437
|
});
|
475
438
|
let stringFormatter = (0, $d7FTw$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($94fed84ca44dbd5b$exports))));
|
476
439
|
let { styleProps: styleProps } = (0, $d7FTw$useStyleProps)(otherProps);
|
477
|
-
let hasLabel = (0, $d7FTw$useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($
|
478
|
-
let hasIcon = (0, $d7FTw$useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($
|
440
|
+
let hasLabel = (0, $d7FTw$useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports)))["spectrum-Button-label"]}`, domRef);
|
441
|
+
let hasIcon = (0, $d7FTw$useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports)))["spectrum-Icon"]}`, domRef);
|
479
442
|
let [isProgressVisible, setIsProgressVisible] = (0, $d7FTw$useState)(false);
|
480
443
|
(0, $d7FTw$useEffect)(()=>{
|
481
444
|
let timeout;
|
@@ -498,7 +461,7 @@ function $b865a6f0049e2d66$var$Button(props, ref) {
|
|
498
461
|
staticColor = "white";
|
499
462
|
}
|
500
463
|
return /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$FocusRing), {
|
501
|
-
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
464
|
+
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "focus-ring"),
|
502
465
|
autoFocus: autoFocus
|
503
466
|
}, /*#__PURE__*/ (0, $d7FTw$react).createElement(Element, {
|
504
467
|
...styleProps,
|
@@ -509,7 +472,7 @@ function $b865a6f0049e2d66$var$Button(props, ref) {
|
|
509
472
|
"data-static-color": staticColor || undefined,
|
510
473
|
"aria-disabled": isPending || undefined,
|
511
474
|
"aria-live": isPending ? "polite" : undefined,
|
512
|
-
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
475
|
+
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-Button", {
|
513
476
|
"spectrum-Button--iconOnly": hasIcon && !hasLabel,
|
514
477
|
"is-disabled": isDisabled || isProgressVisible,
|
515
478
|
"is-active": isPressed,
|
@@ -520,17 +483,17 @@ function $b865a6f0049e2d66$var$Button(props, ref) {
|
|
520
483
|
slots: {
|
521
484
|
icon: {
|
522
485
|
size: "S",
|
523
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
486
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-Icon")
|
524
487
|
},
|
525
488
|
text: {
|
526
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
489
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-Button-label")
|
527
490
|
}
|
528
491
|
}
|
529
492
|
}, isProgressVisible && /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$ProgressCircle), {
|
530
493
|
"aria-label": stringFormatter.format("loading"),
|
531
494
|
isIndeterminate: true,
|
532
495
|
size: "S",
|
533
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
496
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-Button-circleLoader"),
|
534
497
|
staticColor: staticColor
|
535
498
|
}), typeof children === "string" ? /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$Text), null, children) : children)));
|
536
499
|
}
|
@@ -557,7 +520,6 @@ function $b865a6f0049e2d66$var$Button(props, ref) {
|
|
557
520
|
|
558
521
|
|
559
522
|
|
560
|
-
var $ISKnZ = parcelRequire("ISKnZ");
|
561
523
|
|
562
524
|
|
563
525
|
|
@@ -575,13 +537,13 @@ function $042ad0b3a4a55b33$var$ActionButton(props, ref) {
|
|
575
537
|
let { styleProps: styleProps } = (0, $d7FTw$useStyleProps)(otherProps);
|
576
538
|
let isTextOnly = (0, $d7FTw$react).Children.toArray(props.children).every((c)=>!/*#__PURE__*/ (0, $d7FTw$react).isValidElement(c));
|
577
539
|
return /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$FocusRing), {
|
578
|
-
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
540
|
+
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "focus-ring"),
|
579
541
|
autoFocus: autoFocus
|
580
542
|
}, /*#__PURE__*/ (0, $d7FTw$react).createElement("button", {
|
581
543
|
...styleProps,
|
582
544
|
...(0, $d7FTw$mergeProps)(buttonProps, hoverProps),
|
583
545
|
ref: domRef,
|
584
|
-
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
546
|
+
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-ActionButton", {
|
585
547
|
"spectrum-ActionButton--quiet": isQuiet,
|
586
548
|
"spectrum-ActionButton--staticColor": !!staticColor,
|
587
549
|
"spectrum-ActionButton--staticWhite": staticColor === "white",
|
@@ -591,15 +553,15 @@ function $042ad0b3a4a55b33$var$ActionButton(props, ref) {
|
|
591
553
|
"is-hovered": isHovered
|
592
554
|
}, styleProps.className)
|
593
555
|
}, holdAffordance && /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$spectrumiconsuiCornerTriangle), {
|
594
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
556
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-ActionButton-hold")
|
595
557
|
}), /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$SlotProvider), {
|
596
558
|
slots: {
|
597
559
|
icon: {
|
598
560
|
size: "S",
|
599
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
561
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-Icon")
|
600
562
|
},
|
601
563
|
text: {
|
602
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
564
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-ActionButton-label")
|
603
565
|
}
|
604
566
|
}
|
605
567
|
}, typeof children === "string" || isTextOnly ? /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$Text), null, children) : children)));
|
@@ -625,7 +587,6 @@ function $042ad0b3a4a55b33$var$ActionButton(props, ref) {
|
|
625
587
|
|
626
588
|
|
627
589
|
|
628
|
-
var $ISKnZ = parcelRequire("ISKnZ");
|
629
590
|
|
630
591
|
|
631
592
|
// @private
|
@@ -639,12 +600,12 @@ function $b43bd559b476d0c4$var$FieldButton(props, ref) {
|
|
639
600
|
});
|
640
601
|
let { styleProps: styleProps } = (0, $d7FTw$useStyleProps)(otherProps);
|
641
602
|
return /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$FocusRing), {
|
642
|
-
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
603
|
+
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "focus-ring", focusRingClass),
|
643
604
|
autoFocus: autoFocus
|
644
605
|
}, /*#__PURE__*/ (0, $d7FTw$react).createElement("button", {
|
645
606
|
...(0, $d7FTw$mergeProps)(buttonProps, hoverProps),
|
646
607
|
ref: domRef,
|
647
|
-
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
608
|
+
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-FieldButton", {
|
648
609
|
"spectrum-FieldButton--quiet": isQuiet,
|
649
610
|
"is-active": isActive || isPressed,
|
650
611
|
"is-disabled": isDisabled,
|
@@ -655,7 +616,7 @@ function $b43bd559b476d0c4$var$FieldButton(props, ref) {
|
|
655
616
|
slots: {
|
656
617
|
icon: {
|
657
618
|
size: "S",
|
658
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
619
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-Icon")
|
659
620
|
}
|
660
621
|
}
|
661
622
|
}, children)));
|
@@ -678,7 +639,6 @@ let $b43bd559b476d0c4$export$47dc48f595b075da = /*#__PURE__*/ (0, $d7FTw$react).
|
|
678
639
|
|
679
640
|
|
680
641
|
|
681
|
-
var $ISKnZ = parcelRequire("ISKnZ");
|
682
642
|
|
683
643
|
|
684
644
|
|
@@ -692,20 +652,20 @@ function $45108e3c482ee88b$var$LogicButton(props, ref) {
|
|
692
652
|
});
|
693
653
|
let { styleProps: styleProps } = (0, $d7FTw$useStyleProps)(otherProps);
|
694
654
|
return /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$FocusRing), {
|
695
|
-
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
655
|
+
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "focus-ring"),
|
696
656
|
autoFocus: autoFocus
|
697
657
|
}, /*#__PURE__*/ (0, $d7FTw$react).createElement("button", {
|
698
658
|
...styleProps,
|
699
659
|
...(0, $d7FTw$mergeProps)(buttonProps, hoverProps),
|
700
660
|
ref: domRef,
|
701
|
-
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
661
|
+
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-LogicButton", {
|
702
662
|
[`spectrum-LogicButton--${variant}`]: variant,
|
703
663
|
"is-disabled": isDisabled,
|
704
664
|
"is-active": isPressed,
|
705
665
|
"is-hovered": isHovered
|
706
666
|
}, styleProps.className)
|
707
667
|
}, /*#__PURE__*/ (0, $d7FTw$react).createElement("span", {
|
708
|
-
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
668
|
+
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-Button-label")
|
709
669
|
}, children)));
|
710
670
|
}
|
711
671
|
/**
|
@@ -729,12 +689,11 @@ function $45108e3c482ee88b$var$LogicButton(props, ref) {
|
|
729
689
|
|
730
690
|
|
731
691
|
|
732
|
-
var $ISKnZ = parcelRequire("ISKnZ");
|
733
692
|
|
734
693
|
|
735
694
|
function $dd24e555a16de2ae$var$ClearButton(props, ref) {
|
736
695
|
let { children: children = /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$spectrumiconsuiCrossSmall), {
|
737
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
696
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports)))["spectrum-Icon"]
|
738
697
|
}), focusClassName: focusClassName, variant: variant, autoFocus: autoFocus, isDisabled: isDisabled, preventFocus: preventFocus, elementType: elementType = preventFocus ? "div" : "button", ...otherProps } = props;
|
739
698
|
let domRef = (0, $d7FTw$useFocusableRef)(ref);
|
740
699
|
let { buttonProps: buttonProps, isPressed: isPressed } = (0, $d7FTw$useButton)({
|
@@ -751,13 +710,13 @@ function $dd24e555a16de2ae$var$ClearButton(props, ref) {
|
|
751
710
|
if (preventFocus) delete buttonProps.tabIndex;
|
752
711
|
let ElementType = elementType;
|
753
712
|
return /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$FocusRing), {
|
754
|
-
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
713
|
+
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "focus-ring", focusClassName),
|
755
714
|
autoFocus: autoFocus
|
756
715
|
}, /*#__PURE__*/ (0, $d7FTw$react).createElement(ElementType, {
|
757
716
|
...styleProps,
|
758
717
|
...(0, $d7FTw$mergeProps)(buttonProps, hoverProps),
|
759
718
|
ref: domRef,
|
760
|
-
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
719
|
+
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-ClearButton", {
|
761
720
|
[`spectrum-ClearButton--${variant}`]: variant,
|
762
721
|
"is-disabled": isDisabled,
|
763
722
|
"is-active": isPressed,
|
@@ -783,7 +742,6 @@ let $dd24e555a16de2ae$export$13ec83e50bf04290 = /*#__PURE__*/ (0, $d7FTw$react).
|
|
783
742
|
|
784
743
|
|
785
744
|
|
786
|
-
var $ISKnZ = parcelRequire("ISKnZ");
|
787
745
|
|
788
746
|
|
789
747
|
|
@@ -801,13 +759,13 @@ function $3979c7c23b0bd270$var$ToggleButton(props, ref) {
|
|
801
759
|
let { styleProps: styleProps } = (0, $d7FTw$useStyleProps)(otherProps);
|
802
760
|
let isTextOnly = (0, $d7FTw$react).Children.toArray(props.children).every((c)=>!/*#__PURE__*/ (0, $d7FTw$react).isValidElement(c));
|
803
761
|
return /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$FocusRing), {
|
804
|
-
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
762
|
+
focusRingClass: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "focus-ring"),
|
805
763
|
autoFocus: autoFocus
|
806
764
|
}, /*#__PURE__*/ (0, $d7FTw$react).createElement("button", {
|
807
765
|
...styleProps,
|
808
766
|
...(0, $d7FTw$mergeProps)(buttonProps, hoverProps),
|
809
767
|
ref: domRef,
|
810
|
-
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
768
|
+
className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-ActionButton", {
|
811
769
|
"spectrum-ActionButton--quiet": isQuiet,
|
812
770
|
"spectrum-ActionButton--emphasized": isEmphasized,
|
813
771
|
"spectrum-ActionButton--staticColor": !!staticColor,
|
@@ -822,10 +780,10 @@ function $3979c7c23b0bd270$var$ToggleButton(props, ref) {
|
|
822
780
|
slots: {
|
823
781
|
icon: {
|
824
782
|
size: "S",
|
825
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
783
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-Icon")
|
826
784
|
},
|
827
785
|
text: {
|
828
|
-
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
786
|
+
UNSAFE_className: (0, $d7FTw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($086e93d2352a4536$exports))), "spectrum-ActionButton-label")
|
829
787
|
}
|
830
788
|
}
|
831
789
|
}, typeof children === "string" || isTextOnly ? /*#__PURE__*/ (0, $d7FTw$react).createElement((0, $d7FTw$Text), null, children) : children)));
|