@react-spectrum/numberfield 3.9.0 → 3.9.2
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/NumberField.main.js +149 -0
- package/dist/NumberField.main.js.map +1 -0
- package/dist/NumberField.mjs +144 -0
- package/dist/NumberField.module.js +144 -0
- package/dist/NumberField.module.js.map +1 -0
- package/dist/StepButton.main.js +90 -0
- package/dist/StepButton.main.js.map +1 -0
- package/dist/StepButton.mjs +85 -0
- package/dist/StepButton.module.js +85 -0
- package/dist/StepButton.module.js.map +1 -0
- package/dist/import.mjs +1 -346
- package/dist/main.js +2 -343
- package/dist/main.js.map +1 -1
- package/dist/module.js +1 -346
- package/dist/module.js.map +1 -1
- package/dist/stepper_vars_css.main.js +143 -0
- package/dist/stepper_vars_css.main.js.map +1 -0
- package/dist/stepper_vars_css.mjs +145 -0
- package/dist/stepper_vars_css.module.js +145 -0
- package/dist/stepper_vars_css.module.js.map +1 -0
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/vars.07bdf9be.css +840 -0
- package/dist/vars.07bdf9be.css.map +1 -0
- package/package.json +19 -19
- package/dist/main.css +0 -1
package/dist/module.js
CHANGED
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {useStyleProps as $k6K00$useStyleProps, useFocusableRef as $k6K00$useFocusableRef, classNames as $k6K00$classNames} from "@react-spectrum/utils";
|
|
3
|
-
import {Field as $k6K00$Field} from "@react-spectrum/label";
|
|
4
|
-
import {FocusRing as $k6K00$FocusRing} from "@react-aria/focus";
|
|
5
|
-
import {mergeProps as $k6K00$mergeProps} from "@react-aria/utils";
|
|
6
|
-
import {useNumberFieldState as $k6K00$useNumberFieldState} from "@react-stately/numberfield";
|
|
7
|
-
import $k6K00$react, {useRef as $k6K00$useRef} from "react";
|
|
8
|
-
import {TextFieldBase as $k6K00$TextFieldBase} from "@react-spectrum/textfield";
|
|
9
|
-
import {useFormProps as $k6K00$useFormProps} from "@react-spectrum/form";
|
|
10
|
-
import {useHover as $k6K00$useHover} from "@react-aria/interactions";
|
|
11
|
-
import {useLocale as $k6K00$useLocale} from "@react-aria/i18n";
|
|
12
|
-
import {useNumberField as $k6K00$useNumberField} from "@react-aria/numberfield";
|
|
13
|
-
import {useProviderProps as $k6K00$useProviderProps, useProvider as $k6K00$useProvider} from "@react-spectrum/provider";
|
|
14
|
-
import $k6K00$spectrumiconsworkflowAdd from "@spectrum-icons/workflow/Add";
|
|
15
|
-
import $k6K00$spectrumiconsuiChevronDownSmall from "@spectrum-icons/ui/ChevronDownSmall";
|
|
16
|
-
import $k6K00$spectrumiconsuiChevronUpSmall from "@spectrum-icons/ui/ChevronUpSmall";
|
|
17
|
-
import $k6K00$spectrumiconsworkflowRemove from "@spectrum-icons/workflow/Remove";
|
|
18
|
-
import {useButton as $k6K00$useButton} from "@react-aria/button";
|
|
1
|
+
import {NumberField as $48b879bdd771eb85$export$63c5fa0b2fdccd2e} from "./NumberField.module.js";
|
|
19
2
|
|
|
20
|
-
|
|
21
|
-
function $parcel$interopDefault(a) {
|
|
22
|
-
return a && a.__esModule ? a.default : a;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function $parcel$export(e, n, v, s) {
|
|
26
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
27
|
-
}
|
|
28
3
|
/*
|
|
29
4
|
* Copyright 2020 Adobe. All rights reserved.
|
|
30
5
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -36,326 +11,6 @@ function $parcel$export(e, n, v, s) {
|
|
|
36
11
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
37
12
|
* governing permissions and limitations under the License.
|
|
38
13
|
*/ /// <reference types="css-module-types" />
|
|
39
|
-
/*
|
|
40
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
41
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
42
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
43
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
44
|
-
*
|
|
45
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
46
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
47
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
48
|
-
* governing permissions and limitations under the License.
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
/*
|
|
56
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
57
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
58
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
59
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
60
|
-
*
|
|
61
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
62
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
63
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
64
|
-
* governing permissions and limitations under the License.
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
var $ba58a329f3e1a776$exports = {};
|
|
74
|
-
|
|
75
|
-
$parcel$export($ba58a329f3e1a776$exports, "decrement", () => $ba58a329f3e1a776$export$8f85cc9753f280aa, (v) => $ba58a329f3e1a776$export$8f85cc9753f280aa = v);
|
|
76
|
-
$parcel$export($ba58a329f3e1a776$exports, "field", () => $ba58a329f3e1a776$export$e0f35d825088c098, (v) => $ba58a329f3e1a776$export$e0f35d825088c098 = v);
|
|
77
|
-
$parcel$export($ba58a329f3e1a776$exports, "focus-ring", () => $ba58a329f3e1a776$export$f39a09f249340e2a, (v) => $ba58a329f3e1a776$export$f39a09f249340e2a = v);
|
|
78
|
-
$parcel$export($ba58a329f3e1a776$exports, "i18nFontFamily", () => $ba58a329f3e1a776$export$8c4ee2c50c22c514, (v) => $ba58a329f3e1a776$export$8c4ee2c50c22c514 = v);
|
|
79
|
-
$parcel$export($ba58a329f3e1a776$exports, "increment", () => $ba58a329f3e1a776$export$a2647aa13413c947, (v) => $ba58a329f3e1a776$export$a2647aa13413c947 = v);
|
|
80
|
-
$parcel$export($ba58a329f3e1a776$exports, "is-active", () => $ba58a329f3e1a776$export$20fd0f7cd4e6112f, (v) => $ba58a329f3e1a776$export$20fd0f7cd4e6112f = v);
|
|
81
|
-
$parcel$export($ba58a329f3e1a776$exports, "is-disabled", () => $ba58a329f3e1a776$export$d35bc1e505d1ebbf, (v) => $ba58a329f3e1a776$export$d35bc1e505d1ebbf = v);
|
|
82
|
-
$parcel$export($ba58a329f3e1a776$exports, "is-focused", () => $ba58a329f3e1a776$export$e7dc768d35940237, (v) => $ba58a329f3e1a776$export$e7dc768d35940237 = v);
|
|
83
|
-
$parcel$export($ba58a329f3e1a776$exports, "is-hovered", () => $ba58a329f3e1a776$export$b8813cd5d7824ce7, (v) => $ba58a329f3e1a776$export$b8813cd5d7824ce7 = v);
|
|
84
|
-
$parcel$export($ba58a329f3e1a776$exports, "is-invalid", () => $ba58a329f3e1a776$export$14a30de2866685fa, (v) => $ba58a329f3e1a776$export$14a30de2866685fa = v);
|
|
85
|
-
$parcel$export($ba58a329f3e1a776$exports, "is-open", () => $ba58a329f3e1a776$export$a9781837241c946d, (v) => $ba58a329f3e1a776$export$a9781837241c946d = v);
|
|
86
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-BaseButton", () => $ba58a329f3e1a776$export$f7b415378ab4f839, (v) => $ba58a329f3e1a776$export$f7b415378ab4f839 = v);
|
|
87
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-FocusRing-ring", () => $ba58a329f3e1a776$export$4109102f950813a6, (v) => $ba58a329f3e1a776$export$4109102f950813a6 = v);
|
|
88
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-FocusRing", () => $ba58a329f3e1a776$export$24c7f46a6e3605dd, (v) => $ba58a329f3e1a776$export$24c7f46a6e3605dd = v);
|
|
89
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-ActionButton", () => $ba58a329f3e1a776$export$53da69f51b770d3, (v) => $ba58a329f3e1a776$export$53da69f51b770d3 = v);
|
|
90
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-ActionButton--quiet", () => $ba58a329f3e1a776$export$40e1f009544bacf3, (v) => $ba58a329f3e1a776$export$40e1f009544bacf3 = v);
|
|
91
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-ActionButton-hold", () => $ba58a329f3e1a776$export$4a4f01c443eff992, (v) => $ba58a329f3e1a776$export$4a4f01c443eff992 = v);
|
|
92
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-ActionButton-label", () => $ba58a329f3e1a776$export$ebb4635c66bacdb9, (v) => $ba58a329f3e1a776$export$ebb4635c66bacdb9 = v);
|
|
93
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Button", () => $ba58a329f3e1a776$export$1db4cca5b4ade39a, (v) => $ba58a329f3e1a776$export$1db4cca5b4ade39a = v);
|
|
94
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Button--iconOnly", () => $ba58a329f3e1a776$export$c1d306ec0fae3838, (v) => $ba58a329f3e1a776$export$c1d306ec0fae3838 = v);
|
|
95
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Button--pending", () => $ba58a329f3e1a776$export$54592d0984f245d5, (v) => $ba58a329f3e1a776$export$54592d0984f245d5 = v);
|
|
96
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Button-circleLoader", () => $ba58a329f3e1a776$export$76d4531f0342bbe0, (v) => $ba58a329f3e1a776$export$76d4531f0342bbe0 = v);
|
|
97
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Button-label", () => $ba58a329f3e1a776$export$c081ba562e204942, (v) => $ba58a329f3e1a776$export$c081ba562e204942 = v);
|
|
98
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-ClearButton", () => $ba58a329f3e1a776$export$b752ce409e5660c, (v) => $ba58a329f3e1a776$export$b752ce409e5660c = v);
|
|
99
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-ClearButton--small", () => $ba58a329f3e1a776$export$49280ffa5236ba8b, (v) => $ba58a329f3e1a776$export$49280ffa5236ba8b = v);
|
|
100
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-FieldButton", () => $ba58a329f3e1a776$export$a024c99ecf6b5741, (v) => $ba58a329f3e1a776$export$a024c99ecf6b5741 = v);
|
|
101
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-FocusRing--quiet", () => $ba58a329f3e1a776$export$2927016961429360, (v) => $ba58a329f3e1a776$export$2927016961429360 = v);
|
|
102
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-FieldButton--quiet", () => $ba58a329f3e1a776$export$5ca7b274e4fff9fc, (v) => $ba58a329f3e1a776$export$5ca7b274e4fff9fc = v);
|
|
103
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Icon", () => $ba58a329f3e1a776$export$d374b04f30360026, (v) => $ba58a329f3e1a776$export$d374b04f30360026 = v);
|
|
104
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-LogicButton", () => $ba58a329f3e1a776$export$36ae67a131730482, (v) => $ba58a329f3e1a776$export$36ae67a131730482 = v);
|
|
105
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper", () => $ba58a329f3e1a776$export$f49c123746e1fb8, (v) => $ba58a329f3e1a776$export$f49c123746e1fb8 = v);
|
|
106
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper--isMobile", () => $ba58a329f3e1a776$export$75e6f9c4d1d95421, (v) => $ba58a329f3e1a776$export$75e6f9c4d1d95421 = v);
|
|
107
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper--isQuiet", () => $ba58a329f3e1a776$export$70ed0eb2ba7512f8, (v) => $ba58a329f3e1a776$export$70ed0eb2ba7512f8 = v);
|
|
108
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper--readonly", () => $ba58a329f3e1a776$export$ba8faf273ff0a970, (v) => $ba58a329f3e1a776$export$ba8faf273ff0a970 = v);
|
|
109
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper--showStepper", () => $ba58a329f3e1a776$export$a4e366275982a12f, (v) => $ba58a329f3e1a776$export$a4e366275982a12f = v);
|
|
110
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-button", () => $ba58a329f3e1a776$export$4e11596482f95f63, (v) => $ba58a329f3e1a776$export$4e11596482f95f63 = v);
|
|
111
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-button--stepDown", () => $ba58a329f3e1a776$export$e4ad52f6ba4e317b, (v) => $ba58a329f3e1a776$export$e4ad52f6ba4e317b = v);
|
|
112
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-button--stepUp", () => $ba58a329f3e1a776$export$6c76d609d604c6e5, (v) => $ba58a329f3e1a776$export$6c76d609d604c6e5 = v);
|
|
113
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-button-icon", () => $ba58a329f3e1a776$export$7d7cb0c4055e98ab, (v) => $ba58a329f3e1a776$export$7d7cb0c4055e98ab = v);
|
|
114
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-container", () => $ba58a329f3e1a776$export$f49a6eb8460c3f93, (v) => $ba58a329f3e1a776$export$f49a6eb8460c3f93 = v);
|
|
115
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-container--isMobile", () => $ba58a329f3e1a776$export$3486d98f7bb904b1, (v) => $ba58a329f3e1a776$export$3486d98f7bb904b1 = v);
|
|
116
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-field", () => $ba58a329f3e1a776$export$faac6573b15f75d6, (v) => $ba58a329f3e1a776$export$faac6573b15f75d6 = v);
|
|
117
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-icon", () => $ba58a329f3e1a776$export$639c56ba6082b615, (v) => $ba58a329f3e1a776$export$639c56ba6082b615 = v);
|
|
118
|
-
$parcel$export($ba58a329f3e1a776$exports, "spectrum-Stepper-input", () => $ba58a329f3e1a776$export$8273fb931edd57d4, (v) => $ba58a329f3e1a776$export$8273fb931edd57d4 = v);
|
|
119
|
-
var $ba58a329f3e1a776$export$8f85cc9753f280aa;
|
|
120
|
-
var $ba58a329f3e1a776$export$e0f35d825088c098;
|
|
121
|
-
var $ba58a329f3e1a776$export$f39a09f249340e2a;
|
|
122
|
-
var $ba58a329f3e1a776$export$8c4ee2c50c22c514;
|
|
123
|
-
var $ba58a329f3e1a776$export$a2647aa13413c947;
|
|
124
|
-
var $ba58a329f3e1a776$export$20fd0f7cd4e6112f;
|
|
125
|
-
var $ba58a329f3e1a776$export$d35bc1e505d1ebbf;
|
|
126
|
-
var $ba58a329f3e1a776$export$e7dc768d35940237;
|
|
127
|
-
var $ba58a329f3e1a776$export$b8813cd5d7824ce7;
|
|
128
|
-
var $ba58a329f3e1a776$export$14a30de2866685fa;
|
|
129
|
-
var $ba58a329f3e1a776$export$a9781837241c946d;
|
|
130
|
-
var $ba58a329f3e1a776$export$f7b415378ab4f839;
|
|
131
|
-
var $ba58a329f3e1a776$export$4109102f950813a6;
|
|
132
|
-
var $ba58a329f3e1a776$export$24c7f46a6e3605dd;
|
|
133
|
-
var $ba58a329f3e1a776$export$53da69f51b770d3;
|
|
134
|
-
var $ba58a329f3e1a776$export$40e1f009544bacf3;
|
|
135
|
-
var $ba58a329f3e1a776$export$4a4f01c443eff992;
|
|
136
|
-
var $ba58a329f3e1a776$export$ebb4635c66bacdb9;
|
|
137
|
-
var $ba58a329f3e1a776$export$1db4cca5b4ade39a;
|
|
138
|
-
var $ba58a329f3e1a776$export$c1d306ec0fae3838;
|
|
139
|
-
var $ba58a329f3e1a776$export$54592d0984f245d5;
|
|
140
|
-
var $ba58a329f3e1a776$export$76d4531f0342bbe0;
|
|
141
|
-
var $ba58a329f3e1a776$export$c081ba562e204942;
|
|
142
|
-
var $ba58a329f3e1a776$export$b752ce409e5660c;
|
|
143
|
-
var $ba58a329f3e1a776$export$49280ffa5236ba8b;
|
|
144
|
-
var $ba58a329f3e1a776$export$a024c99ecf6b5741;
|
|
145
|
-
var $ba58a329f3e1a776$export$2927016961429360;
|
|
146
|
-
var $ba58a329f3e1a776$export$5ca7b274e4fff9fc;
|
|
147
|
-
var $ba58a329f3e1a776$export$d374b04f30360026;
|
|
148
|
-
var $ba58a329f3e1a776$export$36ae67a131730482;
|
|
149
|
-
var $ba58a329f3e1a776$export$f49c123746e1fb8;
|
|
150
|
-
var $ba58a329f3e1a776$export$75e6f9c4d1d95421;
|
|
151
|
-
var $ba58a329f3e1a776$export$70ed0eb2ba7512f8;
|
|
152
|
-
var $ba58a329f3e1a776$export$ba8faf273ff0a970;
|
|
153
|
-
var $ba58a329f3e1a776$export$a4e366275982a12f;
|
|
154
|
-
var $ba58a329f3e1a776$export$4e11596482f95f63;
|
|
155
|
-
var $ba58a329f3e1a776$export$e4ad52f6ba4e317b;
|
|
156
|
-
var $ba58a329f3e1a776$export$6c76d609d604c6e5;
|
|
157
|
-
var $ba58a329f3e1a776$export$7d7cb0c4055e98ab;
|
|
158
|
-
var $ba58a329f3e1a776$export$f49a6eb8460c3f93;
|
|
159
|
-
var $ba58a329f3e1a776$export$3486d98f7bb904b1;
|
|
160
|
-
var $ba58a329f3e1a776$export$faac6573b15f75d6;
|
|
161
|
-
var $ba58a329f3e1a776$export$639c56ba6082b615;
|
|
162
|
-
var $ba58a329f3e1a776$export$8273fb931edd57d4;
|
|
163
|
-
$ba58a329f3e1a776$export$8f85cc9753f280aa = `Ug6T-W_decrement`;
|
|
164
|
-
$ba58a329f3e1a776$export$e0f35d825088c098 = `Ug6T-W_field`;
|
|
165
|
-
$ba58a329f3e1a776$export$f39a09f249340e2a = `Ug6T-W_focus-ring`;
|
|
166
|
-
$ba58a329f3e1a776$export$8c4ee2c50c22c514 = `Ug6T-W_i18nFontFamily`;
|
|
167
|
-
$ba58a329f3e1a776$export$a2647aa13413c947 = `Ug6T-W_increment`;
|
|
168
|
-
$ba58a329f3e1a776$export$20fd0f7cd4e6112f = `Ug6T-W_is-active`;
|
|
169
|
-
$ba58a329f3e1a776$export$d35bc1e505d1ebbf = `Ug6T-W_is-disabled`;
|
|
170
|
-
$ba58a329f3e1a776$export$e7dc768d35940237 = `Ug6T-W_is-focused`;
|
|
171
|
-
$ba58a329f3e1a776$export$b8813cd5d7824ce7 = `Ug6T-W_is-hovered`;
|
|
172
|
-
$ba58a329f3e1a776$export$14a30de2866685fa = `Ug6T-W_is-invalid`;
|
|
173
|
-
$ba58a329f3e1a776$export$a9781837241c946d = `Ug6T-W_is-open`;
|
|
174
|
-
$ba58a329f3e1a776$export$f7b415378ab4f839 = `Ug6T-W_spectrum-BaseButton ${$ba58a329f3e1a776$export$8c4ee2c50c22c514}`;
|
|
175
|
-
$ba58a329f3e1a776$export$4109102f950813a6 = `Ug6T-W_spectrum-FocusRing-ring`;
|
|
176
|
-
$ba58a329f3e1a776$export$24c7f46a6e3605dd = `Ug6T-W_spectrum-FocusRing ${$ba58a329f3e1a776$export$4109102f950813a6}`;
|
|
177
|
-
$ba58a329f3e1a776$export$53da69f51b770d3 = `Ug6T-W_spectrum-ActionButton ${$ba58a329f3e1a776$export$f7b415378ab4f839} ${$ba58a329f3e1a776$export$24c7f46a6e3605dd}`;
|
|
178
|
-
$ba58a329f3e1a776$export$40e1f009544bacf3 = `Ug6T-W_spectrum-ActionButton--quiet`;
|
|
179
|
-
$ba58a329f3e1a776$export$4a4f01c443eff992 = `Ug6T-W_spectrum-ActionButton-hold`;
|
|
180
|
-
$ba58a329f3e1a776$export$ebb4635c66bacdb9 = `Ug6T-W_spectrum-ActionButton-label`;
|
|
181
|
-
$ba58a329f3e1a776$export$1db4cca5b4ade39a = `Ug6T-W_spectrum-Button ${$ba58a329f3e1a776$export$f7b415378ab4f839} ${$ba58a329f3e1a776$export$24c7f46a6e3605dd}`;
|
|
182
|
-
$ba58a329f3e1a776$export$c1d306ec0fae3838 = `Ug6T-W_spectrum-Button--iconOnly`;
|
|
183
|
-
$ba58a329f3e1a776$export$54592d0984f245d5 = `Ug6T-W_spectrum-Button--pending`;
|
|
184
|
-
$ba58a329f3e1a776$export$76d4531f0342bbe0 = `Ug6T-W_spectrum-Button-circleLoader`;
|
|
185
|
-
$ba58a329f3e1a776$export$c081ba562e204942 = `Ug6T-W_spectrum-Button-label`;
|
|
186
|
-
$ba58a329f3e1a776$export$b752ce409e5660c = `Ug6T-W_spectrum-ClearButton ${$ba58a329f3e1a776$export$f7b415378ab4f839} ${$ba58a329f3e1a776$export$24c7f46a6e3605dd}`;
|
|
187
|
-
$ba58a329f3e1a776$export$49280ffa5236ba8b = `Ug6T-W_spectrum-ClearButton--small`;
|
|
188
|
-
$ba58a329f3e1a776$export$a024c99ecf6b5741 = `Ug6T-W_spectrum-FieldButton ${$ba58a329f3e1a776$export$f7b415378ab4f839} ${$ba58a329f3e1a776$export$24c7f46a6e3605dd}`;
|
|
189
|
-
$ba58a329f3e1a776$export$2927016961429360 = `Ug6T-W_spectrum-FocusRing--quiet`;
|
|
190
|
-
$ba58a329f3e1a776$export$5ca7b274e4fff9fc = `Ug6T-W_spectrum-FieldButton--quiet ${$ba58a329f3e1a776$export$2927016961429360}`;
|
|
191
|
-
$ba58a329f3e1a776$export$d374b04f30360026 = `Ug6T-W_spectrum-Icon`;
|
|
192
|
-
$ba58a329f3e1a776$export$36ae67a131730482 = `Ug6T-W_spectrum-LogicButton ${$ba58a329f3e1a776$export$f7b415378ab4f839} ${$ba58a329f3e1a776$export$24c7f46a6e3605dd}`;
|
|
193
|
-
$ba58a329f3e1a776$export$f49c123746e1fb8 = `Ug6T-W_spectrum-Stepper ${$ba58a329f3e1a776$export$24c7f46a6e3605dd}`;
|
|
194
|
-
$ba58a329f3e1a776$export$75e6f9c4d1d95421 = `Ug6T-W_spectrum-Stepper--isMobile`;
|
|
195
|
-
$ba58a329f3e1a776$export$70ed0eb2ba7512f8 = `Ug6T-W_spectrum-Stepper--isQuiet ${$ba58a329f3e1a776$export$2927016961429360}`;
|
|
196
|
-
$ba58a329f3e1a776$export$ba8faf273ff0a970 = `Ug6T-W_spectrum-Stepper--readonly`;
|
|
197
|
-
$ba58a329f3e1a776$export$a4e366275982a12f = `Ug6T-W_spectrum-Stepper--showStepper`;
|
|
198
|
-
$ba58a329f3e1a776$export$4e11596482f95f63 = `Ug6T-W_spectrum-Stepper-button ${$ba58a329f3e1a776$export$f7b415378ab4f839}`;
|
|
199
|
-
$ba58a329f3e1a776$export$e4ad52f6ba4e317b = `Ug6T-W_spectrum-Stepper-button--stepDown`;
|
|
200
|
-
$ba58a329f3e1a776$export$6c76d609d604c6e5 = `Ug6T-W_spectrum-Stepper-button--stepUp`;
|
|
201
|
-
$ba58a329f3e1a776$export$7d7cb0c4055e98ab = `Ug6T-W_spectrum-Stepper-button-icon`;
|
|
202
|
-
$ba58a329f3e1a776$export$f49a6eb8460c3f93 = `Ug6T-W_spectrum-Stepper-container`;
|
|
203
|
-
$ba58a329f3e1a776$export$3486d98f7bb904b1 = `Ug6T-W_spectrum-Stepper-container--isMobile`;
|
|
204
|
-
$ba58a329f3e1a776$export$faac6573b15f75d6 = `Ug6T-W_spectrum-Stepper-field`;
|
|
205
|
-
$ba58a329f3e1a776$export$639c56ba6082b615 = `Ug6T-W_spectrum-Stepper-icon`;
|
|
206
|
-
$ba58a329f3e1a776$export$8273fb931edd57d4 = `Ug6T-W_spectrum-Stepper-input`;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
function $7f00b388e0d3b2f6$var$StepButton(props, ref) {
|
|
213
|
-
props = (0, $k6K00$useProviderProps)(props);
|
|
214
|
-
let { scale: scale } = (0, $k6K00$useProvider)();
|
|
215
|
-
let { direction: direction, isDisabled: isDisabled, isQuiet: isQuiet } = props;
|
|
216
|
-
let domRef = (0, $k6K00$useFocusableRef)(ref);
|
|
217
|
-
/**
|
|
218
|
-
* Must use div for now because Safari pointer event bugs on disabled form elements.
|
|
219
|
-
* Link https://bugs.webkit.org/show_bug.cgi?id=219188.
|
|
220
|
-
*/ let { buttonProps: buttonProps, isPressed: isPressed } = (0, $k6K00$useButton)({
|
|
221
|
-
...props,
|
|
222
|
-
elementType: "div"
|
|
223
|
-
}, domRef);
|
|
224
|
-
let { hoverProps: hoverProps, isHovered: isHovered } = (0, $k6K00$useHover)(props);
|
|
225
|
-
return /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$FocusRing), {
|
|
226
|
-
focusRingClass: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "focus-ring")
|
|
227
|
-
}, /*#__PURE__*/ (0, $k6K00$react).createElement("div", {
|
|
228
|
-
className: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-button", {
|
|
229
|
-
"spectrum-Stepper-button--stepUp": direction === "up",
|
|
230
|
-
"spectrum-Stepper-button--stepDown": direction === "down",
|
|
231
|
-
"spectrum-Stepper-button--isQuiet": isQuiet,
|
|
232
|
-
"is-hovered": isHovered,
|
|
233
|
-
"is-active": isPressed,
|
|
234
|
-
"is-disabled": isDisabled
|
|
235
|
-
}),
|
|
236
|
-
...(0, $k6K00$mergeProps)(hoverProps, buttonProps),
|
|
237
|
-
ref: domRef
|
|
238
|
-
}, direction === "up" && scale === "large" && /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$spectrumiconsworkflowAdd), {
|
|
239
|
-
UNSAFE_className: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-button-icon", "spectrum-Stepper-stepUpIcon"),
|
|
240
|
-
size: "S"
|
|
241
|
-
}), direction === "up" && scale === "medium" && /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$spectrumiconsuiChevronUpSmall), {
|
|
242
|
-
UNSAFE_className: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-button-icon", "spectrum-Stepper-stepUpIcon")
|
|
243
|
-
}), direction === "down" && scale === "large" && /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$spectrumiconsworkflowRemove), {
|
|
244
|
-
UNSAFE_className: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-button-icon", "spectrum-Stepper-stepDownIcon"),
|
|
245
|
-
size: "S"
|
|
246
|
-
}), direction === "down" && scale === "medium" && /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$spectrumiconsuiChevronDownSmall), {
|
|
247
|
-
UNSAFE_className: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-button-icon", "spectrum-Stepper-stepDownIcon")
|
|
248
|
-
})));
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* Buttons for NumberField.
|
|
252
|
-
*/ let $7f00b388e0d3b2f6$export$b2f6b60c1d32d6aa = /*#__PURE__*/ (0, $k6K00$react).forwardRef($7f00b388e0d3b2f6$var$StepButton);
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
function $48b879bdd771eb85$var$NumberField(props, ref) {
|
|
263
|
-
props = (0, $k6K00$useProviderProps)(props);
|
|
264
|
-
props = (0, $k6K00$useFormProps)(props);
|
|
265
|
-
let provider = (0, $k6K00$useProvider)();
|
|
266
|
-
let { isQuiet: isQuiet, isReadOnly: isReadOnly, isDisabled: isDisabled, hideStepper: hideStepper } = props;
|
|
267
|
-
let { styleProps: style } = (0, $k6K00$useStyleProps)(props);
|
|
268
|
-
let { locale: locale } = (0, $k6K00$useLocale)();
|
|
269
|
-
let state = (0, $k6K00$useNumberFieldState)({
|
|
270
|
-
...props,
|
|
271
|
-
locale: locale
|
|
272
|
-
});
|
|
273
|
-
let inputRef = (0, $k6K00$useRef)(null);
|
|
274
|
-
let domRef = (0, $k6K00$useFocusableRef)(ref, inputRef);
|
|
275
|
-
let { groupProps: groupProps, labelProps: labelProps, inputProps: inputProps, incrementButtonProps: incrementButtonProps, decrementButtonProps: decrementButtonProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = (0, $k6K00$useNumberField)(props, state, inputRef);
|
|
276
|
-
let isMobile = provider.scale === "large";
|
|
277
|
-
let showStepper = !hideStepper;
|
|
278
|
-
let { isHovered: isHovered, hoverProps: hoverProps } = (0, $k6K00$useHover)({
|
|
279
|
-
isDisabled: isDisabled
|
|
280
|
-
});
|
|
281
|
-
let validationState = props.validationState || (isInvalid ? "invalid" : undefined);
|
|
282
|
-
let className = (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper", // because FocusRing won't pass along the className from Field, we have to handle that ourselves
|
|
283
|
-
!props.label && style.className ? style.className : "", {
|
|
284
|
-
"spectrum-Stepper--isQuiet": isQuiet,
|
|
285
|
-
"is-disabled": isDisabled,
|
|
286
|
-
"spectrum-Stepper--readonly": isReadOnly,
|
|
287
|
-
"is-invalid": validationState === "invalid" && !isDisabled,
|
|
288
|
-
"spectrum-Stepper--showStepper": showStepper,
|
|
289
|
-
"spectrum-Stepper--isMobile": isMobile,
|
|
290
|
-
"is-hovered": isHovered
|
|
291
|
-
});
|
|
292
|
-
return /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$Field), {
|
|
293
|
-
...props,
|
|
294
|
-
descriptionProps: descriptionProps,
|
|
295
|
-
errorMessageProps: errorMessageProps,
|
|
296
|
-
isInvalid: isInvalid,
|
|
297
|
-
validationErrors: validationErrors,
|
|
298
|
-
validationDetails: validationDetails,
|
|
299
|
-
labelProps: labelProps,
|
|
300
|
-
ref: domRef,
|
|
301
|
-
wrapperClassName: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-container", {
|
|
302
|
-
"spectrum-Stepper-container--isMobile": isMobile
|
|
303
|
-
})
|
|
304
|
-
}, /*#__PURE__*/ (0, $k6K00$react).createElement($48b879bdd771eb85$var$NumberFieldInput, {
|
|
305
|
-
...props,
|
|
306
|
-
groupProps: (0, $k6K00$mergeProps)(groupProps, hoverProps),
|
|
307
|
-
inputProps: inputProps,
|
|
308
|
-
inputRef: inputRef,
|
|
309
|
-
incrementProps: incrementButtonProps,
|
|
310
|
-
decrementProps: decrementButtonProps,
|
|
311
|
-
className: className,
|
|
312
|
-
style: style,
|
|
313
|
-
state: state,
|
|
314
|
-
validationState: validationState
|
|
315
|
-
}));
|
|
316
|
-
}
|
|
317
|
-
const $48b879bdd771eb85$var$NumberFieldInput = /*#__PURE__*/ (0, $k6K00$react).forwardRef(function NumberFieldInput(props, ref) {
|
|
318
|
-
let { groupProps: groupProps, inputProps: inputProps, inputRef: inputRef, incrementProps: incrementProps, decrementProps: decrementProps, className: className, style: style, autoFocus: autoFocus, isQuiet: isQuiet, isDisabled: isDisabled, hideStepper: hideStepper, validationState: validationState, name: name, state: state } = props;
|
|
319
|
-
let showStepper = !hideStepper;
|
|
320
|
-
return /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$FocusRing), {
|
|
321
|
-
within: true,
|
|
322
|
-
isTextInput: true,
|
|
323
|
-
focusClass: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "is-focused"),
|
|
324
|
-
focusRingClass: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "focus-ring"),
|
|
325
|
-
autoFocus: autoFocus
|
|
326
|
-
}, /*#__PURE__*/ (0, $k6K00$react).createElement("div", {
|
|
327
|
-
...groupProps,
|
|
328
|
-
ref: ref,
|
|
329
|
-
style: style,
|
|
330
|
-
className: className
|
|
331
|
-
}, /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$TextFieldBase), {
|
|
332
|
-
UNSAFE_className: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-field"),
|
|
333
|
-
inputClassName: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-input"),
|
|
334
|
-
validationIconClassName: (0, $k6K00$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ba58a329f3e1a776$exports))), "spectrum-Stepper-icon"),
|
|
335
|
-
isQuiet: isQuiet,
|
|
336
|
-
inputRef: inputRef,
|
|
337
|
-
validationState: validationState,
|
|
338
|
-
inputProps: inputProps,
|
|
339
|
-
isDisabled: isDisabled,
|
|
340
|
-
disableFocusRing: true
|
|
341
|
-
}), showStepper && /*#__PURE__*/ (0, $k6K00$react).createElement((0, $k6K00$react).Fragment, null, /*#__PURE__*/ (0, $k6K00$react).createElement((0, $7f00b388e0d3b2f6$export$b2f6b60c1d32d6aa), {
|
|
342
|
-
direction: "up",
|
|
343
|
-
isQuiet: isQuiet,
|
|
344
|
-
...incrementProps
|
|
345
|
-
}), /*#__PURE__*/ (0, $k6K00$react).createElement((0, $7f00b388e0d3b2f6$export$b2f6b60c1d32d6aa), {
|
|
346
|
-
direction: "down",
|
|
347
|
-
isQuiet: isQuiet,
|
|
348
|
-
...decrementProps
|
|
349
|
-
})), name && /*#__PURE__*/ (0, $k6K00$react).createElement("input", {
|
|
350
|
-
type: "hidden",
|
|
351
|
-
name: name,
|
|
352
|
-
value: isNaN(state.numberValue) ? "" : state.numberValue
|
|
353
|
-
})));
|
|
354
|
-
});
|
|
355
|
-
/**
|
|
356
|
-
* NumberFields allow users to enter a number, and increment or decrement the value using stepper buttons.
|
|
357
|
-
*/ let $48b879bdd771eb85$export$63c5fa0b2fdccd2e = /*#__PURE__*/ (0, $k6K00$react).forwardRef($48b879bdd771eb85$var$NumberField);
|
|
358
|
-
|
|
359
14
|
|
|
360
15
|
|
|
361
16
|
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;ACVD;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AA3CA,4CAA8B,CAAC,gBAAgB,CAAC;AAChD,4CAA0B,CAAC,YAAY,CAAC;AACxC,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA8B,CAAC,gBAAgB,CAAC;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AAI,SACJ,KAAK,EACN,GAAG;IACJ,IAAI,cAAc,CAAC;IAEnB,qBACE,gCAAC,CAAA,GAAA,gBAAQ;QACP,QAAA;QACA,aAAA;QACA,YAAY,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAW,GAAG;QACrC,gBAAgB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAW,GAAG;QACzC,WAAW;qBACX,gCAAC;QACE,GAAG,UAAU;QACd,KAAK;QACL,OAAO;QACP,WAAW;qBACX,gCAAC,CAAA,GAAA,oBAAY;QACX,kBACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAW,GACX;QAGJ,gBACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAW,GACX;QAGJ,yBACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAW,GACX;QAGJ,SAAS;QACT,UAAU;QACV,iBAAiB;QACjB,YAAY;QACZ,YAAY;QACZ,kBAAA;QACD,6BACD,gFACE,gCAAC,CAAA,GAAA,yCAAS;QAAE,WAAU;QAAK,SAAS;QAAU,GAAG,cAAc;sBAC/D,gCAAC,CAAA,GAAA,yCAAS;QAAE,WAAU;QAAO,SAAS;QAAU,GAAG,cAAc;SAGlE,sBAAQ,gCAAC;QAAM,MAAK;QAAS,MAAM;QAAM,OAAO,MAAM,MAAM,WAAW,IAAI,KAAK,MAAM,WAAW;;AAI1G;AAEA;;CAEC,GACD,IAAI,0DAAe,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/numberfield/src/index.ts","packages/@react-spectrum/numberfield/src/NumberField.tsx","packages/@react-spectrum/numberfield/src/StepButton.tsx","packages/@adobe/spectrum-css-temp/components/stepper/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {NumberField} from './NumberField';\nexport type {SpectrumNumberFieldProps} from '@react-types/numberfield';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaButtonProps} from '@react-types/button';\nimport {classNames, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport {Field} from '@react-spectrum/label';\nimport {FocusableRef} from '@react-types/shared';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport {NumberFieldState, useNumberFieldState} from '@react-stately/numberfield';\nimport React, {HTMLAttributes, InputHTMLAttributes, Ref, RefObject, useRef} from 'react';\nimport {SpectrumNumberFieldProps} from '@react-types/numberfield';\nimport {StepButton} from './StepButton';\nimport stepperStyle from '@adobe/spectrum-css-temp/components/stepper/vars.css';\nimport {TextFieldBase} from '@react-spectrum/textfield';\nimport {useFormProps} from '@react-spectrum/form';\nimport {useHover} from '@react-aria/interactions';\nimport {useLocale} from '@react-aria/i18n';\nimport {useNumberField} from '@react-aria/numberfield';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\n\nfunction NumberField(props: SpectrumNumberFieldProps, ref: FocusableRef<HTMLElement>) {\n props = useProviderProps(props);\n props = useFormProps(props);\n let provider = useProvider();\n let {\n isQuiet,\n isReadOnly,\n isDisabled,\n hideStepper\n } = props;\n\n let {styleProps: style} = useStyleProps(props);\n\n let {locale} = useLocale();\n let state = useNumberFieldState({...props, locale});\n let inputRef = useRef<HTMLInputElement>(null);\n let domRef = useFocusableRef<HTMLElement>(ref, inputRef);\n let {\n groupProps,\n labelProps,\n inputProps,\n incrementButtonProps,\n decrementButtonProps,\n descriptionProps,\n errorMessageProps,\n isInvalid,\n validationErrors,\n validationDetails\n } = useNumberField(props, state, inputRef);\n let isMobile = provider.scale === 'large';\n let showStepper = !hideStepper;\n\n let {isHovered, hoverProps} = useHover({isDisabled});\n\n let validationState = props.validationState || (isInvalid ? 'invalid' : undefined);\n let className =\n classNames(\n stepperStyle,\n 'spectrum-Stepper',\n // because FocusRing won't pass along the className from Field, we have to handle that ourselves\n !props.label && style.className ? style.className : '',\n {\n 'spectrum-Stepper--isQuiet': isQuiet,\n 'is-disabled': isDisabled,\n 'spectrum-Stepper--readonly': isReadOnly,\n 'is-invalid': validationState === 'invalid' && !isDisabled,\n 'spectrum-Stepper--showStepper': showStepper,\n 'spectrum-Stepper--isMobile': isMobile,\n 'is-hovered': isHovered\n }\n );\n\n return (\n <Field\n {...props as Omit<SpectrumNumberFieldProps, 'onChange'>}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n isInvalid={isInvalid}\n validationErrors={validationErrors}\n validationDetails={validationDetails}\n labelProps={labelProps}\n ref={domRef}\n wrapperClassName={classNames(\n stepperStyle,\n 'spectrum-Stepper-container',\n {\n 'spectrum-Stepper-container--isMobile': isMobile\n }\n )}>\n <NumberFieldInput\n {...props}\n groupProps={mergeProps(groupProps, hoverProps)}\n inputProps={inputProps}\n inputRef={inputRef}\n incrementProps={incrementButtonProps}\n decrementProps={decrementButtonProps}\n className={className}\n style={style}\n state={state}\n validationState={validationState} />\n </Field>\n );\n}\n\n\ninterface NumberFieldInputProps extends SpectrumNumberFieldProps {\n groupProps: HTMLAttributes<HTMLDivElement>,\n inputProps: InputHTMLAttributes<HTMLInputElement>,\n inputRef: RefObject<HTMLInputElement | HTMLTextAreaElement>,\n incrementProps: AriaButtonProps,\n decrementProps: AriaButtonProps,\n className?: string,\n style?: React.CSSProperties,\n state: NumberFieldState\n}\n\nconst NumberFieldInput = React.forwardRef(function NumberFieldInput(props: NumberFieldInputProps, ref: Ref<HTMLDivElement>) {\n let {\n groupProps,\n inputProps,\n inputRef,\n incrementProps,\n decrementProps,\n className,\n style,\n autoFocus,\n isQuiet,\n isDisabled,\n hideStepper,\n validationState,\n name,\n state\n } = props;\n let showStepper = !hideStepper;\n\n return (\n <FocusRing\n within\n isTextInput\n focusClass={classNames(stepperStyle, 'is-focused')}\n focusRingClass={classNames(stepperStyle, 'focus-ring')}\n autoFocus={autoFocus}>\n <div\n {...groupProps}\n ref={ref}\n style={style}\n className={className}>\n <TextFieldBase\n UNSAFE_className={\n classNames(\n stepperStyle,\n 'spectrum-Stepper-field'\n )\n }\n inputClassName={\n classNames(\n stepperStyle,\n 'spectrum-Stepper-input'\n )\n }\n validationIconClassName={\n classNames(\n stepperStyle,\n 'spectrum-Stepper-icon'\n )\n }\n isQuiet={isQuiet}\n inputRef={inputRef}\n validationState={validationState}\n inputProps={inputProps}\n isDisabled={isDisabled}\n disableFocusRing />\n {showStepper &&\n <>\n <StepButton direction=\"up\" isQuiet={isQuiet} {...incrementProps} />\n <StepButton direction=\"down\" isQuiet={isQuiet} {...decrementProps} />\n </>\n }\n {name && <input type=\"hidden\" name={name} value={isNaN(state.numberValue) ? '' : state.numberValue} />}\n </div>\n </FocusRing>\n );\n});\n\n/**\n * NumberFields allow users to enter a number, and increment or decrement the value using stepper buttons.\n */\nlet _NumberField = React.forwardRef(NumberField);\nexport {_NumberField as NumberField};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport Add from '@spectrum-icons/workflow/Add';\nimport {AriaButtonProps} from '@react-types/button';\nimport ChevronDownSmall from '@spectrum-icons/ui/ChevronDownSmall';\nimport ChevronUpSmall from '@spectrum-icons/ui/ChevronUpSmall';\nimport {classNames, useFocusableRef} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport Remove from '@spectrum-icons/workflow/Remove';\nimport stepperStyle from '@adobe/spectrum-css-temp/components/stepper/vars.css';\nimport {useButton} from '@react-aria/button';\nimport {useHover} from '@react-aria/interactions';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\n\ninterface StepButtonProps extends AriaButtonProps {\n isQuiet?: boolean,\n direction: 'up' | 'down'\n}\n\nfunction StepButton(props: StepButtonProps, ref: FocusableRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {scale} = useProvider();\n let {direction, isDisabled, isQuiet} = props;\n let domRef = useFocusableRef(ref);\n /**\n * Must use div for now because Safari pointer event bugs on disabled form elements.\n * Link https://bugs.webkit.org/show_bug.cgi?id=219188.\n */\n let {buttonProps, isPressed} = useButton({...props, elementType: 'div'}, domRef);\n let {hoverProps, isHovered} = useHover(props);\n return (\n <FocusRing focusRingClass={classNames(stepperStyle, 'focus-ring')}>\n <div\n className={\n classNames(\n stepperStyle,\n 'spectrum-Stepper-button',\n {\n 'spectrum-Stepper-button--stepUp': direction === 'up',\n 'spectrum-Stepper-button--stepDown': direction === 'down',\n 'spectrum-Stepper-button--isQuiet': isQuiet,\n 'is-hovered': isHovered,\n 'is-active': isPressed,\n 'is-disabled': isDisabled\n }\n )\n }\n {...mergeProps(hoverProps, buttonProps)}\n ref={domRef}>\n {direction === 'up' && scale === 'large' &&\n <Add UNSAFE_className={classNames(stepperStyle, 'spectrum-Stepper-button-icon', 'spectrum-Stepper-stepUpIcon')} size=\"S\" />\n }\n {direction === 'up' && scale === 'medium' &&\n <ChevronUpSmall UNSAFE_className={classNames(stepperStyle, 'spectrum-Stepper-button-icon', 'spectrum-Stepper-stepUpIcon')} />\n }\n {direction === 'down' && scale === 'large' &&\n <Remove UNSAFE_className={classNames(stepperStyle, 'spectrum-Stepper-button-icon', 'spectrum-Stepper-stepDownIcon')} size=\"S\" />\n }\n {direction === 'down' && scale === 'medium' &&\n <ChevronDownSmall UNSAFE_className={classNames(stepperStyle, 'spectrum-Stepper-button-icon', 'spectrum-Stepper-stepDownIcon')} />\n }\n </div>\n </FocusRing>\n );\n}\n\n/**\n * Buttons for NumberField.\n */\nlet _StepButton = React.forwardRef(StepButton) as (props: StepButtonProps & {ref?: FocusableRef<HTMLDivElement>}) => ReactElement;\nexport {_StepButton as StepButton};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
1
|
+
{"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/numberfield/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {NumberField} from './NumberField';\nexport type {SpectrumNumberFieldProps} from '@react-types/numberfield';\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
|
|
2
|
+
function $parcel$export(e, n, v, s) {
|
|
3
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
$parcel$export(module.exports, "decrement", () => $3649bcbba015c4d7$export$8f85cc9753f280aa, (v) => $3649bcbba015c4d7$export$8f85cc9753f280aa = v);
|
|
7
|
+
$parcel$export(module.exports, "field", () => $3649bcbba015c4d7$export$e0f35d825088c098, (v) => $3649bcbba015c4d7$export$e0f35d825088c098 = v);
|
|
8
|
+
$parcel$export(module.exports, "focus-ring", () => $3649bcbba015c4d7$export$f39a09f249340e2a, (v) => $3649bcbba015c4d7$export$f39a09f249340e2a = v);
|
|
9
|
+
$parcel$export(module.exports, "i18nFontFamily", () => $3649bcbba015c4d7$export$8c4ee2c50c22c514, (v) => $3649bcbba015c4d7$export$8c4ee2c50c22c514 = v);
|
|
10
|
+
$parcel$export(module.exports, "increment", () => $3649bcbba015c4d7$export$a2647aa13413c947, (v) => $3649bcbba015c4d7$export$a2647aa13413c947 = v);
|
|
11
|
+
$parcel$export(module.exports, "is-active", () => $3649bcbba015c4d7$export$20fd0f7cd4e6112f, (v) => $3649bcbba015c4d7$export$20fd0f7cd4e6112f = v);
|
|
12
|
+
$parcel$export(module.exports, "is-disabled", () => $3649bcbba015c4d7$export$d35bc1e505d1ebbf, (v) => $3649bcbba015c4d7$export$d35bc1e505d1ebbf = v);
|
|
13
|
+
$parcel$export(module.exports, "is-focused", () => $3649bcbba015c4d7$export$e7dc768d35940237, (v) => $3649bcbba015c4d7$export$e7dc768d35940237 = v);
|
|
14
|
+
$parcel$export(module.exports, "is-hovered", () => $3649bcbba015c4d7$export$b8813cd5d7824ce7, (v) => $3649bcbba015c4d7$export$b8813cd5d7824ce7 = v);
|
|
15
|
+
$parcel$export(module.exports, "is-invalid", () => $3649bcbba015c4d7$export$14a30de2866685fa, (v) => $3649bcbba015c4d7$export$14a30de2866685fa = v);
|
|
16
|
+
$parcel$export(module.exports, "is-open", () => $3649bcbba015c4d7$export$a9781837241c946d, (v) => $3649bcbba015c4d7$export$a9781837241c946d = v);
|
|
17
|
+
$parcel$export(module.exports, "spectrum-BaseButton", () => $3649bcbba015c4d7$export$f7b415378ab4f839, (v) => $3649bcbba015c4d7$export$f7b415378ab4f839 = v);
|
|
18
|
+
$parcel$export(module.exports, "spectrum-FocusRing-ring", () => $3649bcbba015c4d7$export$4109102f950813a6, (v) => $3649bcbba015c4d7$export$4109102f950813a6 = v);
|
|
19
|
+
$parcel$export(module.exports, "spectrum-FocusRing", () => $3649bcbba015c4d7$export$24c7f46a6e3605dd, (v) => $3649bcbba015c4d7$export$24c7f46a6e3605dd = v);
|
|
20
|
+
$parcel$export(module.exports, "spectrum-ActionButton", () => $3649bcbba015c4d7$export$53da69f51b770d3, (v) => $3649bcbba015c4d7$export$53da69f51b770d3 = v);
|
|
21
|
+
$parcel$export(module.exports, "spectrum-ActionButton--quiet", () => $3649bcbba015c4d7$export$40e1f009544bacf3, (v) => $3649bcbba015c4d7$export$40e1f009544bacf3 = v);
|
|
22
|
+
$parcel$export(module.exports, "spectrum-ActionButton-hold", () => $3649bcbba015c4d7$export$4a4f01c443eff992, (v) => $3649bcbba015c4d7$export$4a4f01c443eff992 = v);
|
|
23
|
+
$parcel$export(module.exports, "spectrum-ActionButton-label", () => $3649bcbba015c4d7$export$ebb4635c66bacdb9, (v) => $3649bcbba015c4d7$export$ebb4635c66bacdb9 = v);
|
|
24
|
+
$parcel$export(module.exports, "spectrum-ActionGroup-itemIcon", () => $3649bcbba015c4d7$export$dbcf6b70bcfd6e69, (v) => $3649bcbba015c4d7$export$dbcf6b70bcfd6e69 = v);
|
|
25
|
+
$parcel$export(module.exports, "spectrum-Button", () => $3649bcbba015c4d7$export$1db4cca5b4ade39a, (v) => $3649bcbba015c4d7$export$1db4cca5b4ade39a = v);
|
|
26
|
+
$parcel$export(module.exports, "spectrum-Button--iconOnly", () => $3649bcbba015c4d7$export$c1d306ec0fae3838, (v) => $3649bcbba015c4d7$export$c1d306ec0fae3838 = v);
|
|
27
|
+
$parcel$export(module.exports, "spectrum-Button--pending", () => $3649bcbba015c4d7$export$54592d0984f245d5, (v) => $3649bcbba015c4d7$export$54592d0984f245d5 = v);
|
|
28
|
+
$parcel$export(module.exports, "spectrum-Button-circleLoader", () => $3649bcbba015c4d7$export$76d4531f0342bbe0, (v) => $3649bcbba015c4d7$export$76d4531f0342bbe0 = v);
|
|
29
|
+
$parcel$export(module.exports, "spectrum-Button-label", () => $3649bcbba015c4d7$export$c081ba562e204942, (v) => $3649bcbba015c4d7$export$c081ba562e204942 = v);
|
|
30
|
+
$parcel$export(module.exports, "spectrum-ClearButton", () => $3649bcbba015c4d7$export$b752ce409e5660c, (v) => $3649bcbba015c4d7$export$b752ce409e5660c = v);
|
|
31
|
+
$parcel$export(module.exports, "spectrum-ClearButton--small", () => $3649bcbba015c4d7$export$49280ffa5236ba8b, (v) => $3649bcbba015c4d7$export$49280ffa5236ba8b = v);
|
|
32
|
+
$parcel$export(module.exports, "spectrum-FieldButton", () => $3649bcbba015c4d7$export$a024c99ecf6b5741, (v) => $3649bcbba015c4d7$export$a024c99ecf6b5741 = v);
|
|
33
|
+
$parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $3649bcbba015c4d7$export$2927016961429360, (v) => $3649bcbba015c4d7$export$2927016961429360 = v);
|
|
34
|
+
$parcel$export(module.exports, "spectrum-FieldButton--quiet", () => $3649bcbba015c4d7$export$5ca7b274e4fff9fc, (v) => $3649bcbba015c4d7$export$5ca7b274e4fff9fc = v);
|
|
35
|
+
$parcel$export(module.exports, "spectrum-Icon", () => $3649bcbba015c4d7$export$d374b04f30360026, (v) => $3649bcbba015c4d7$export$d374b04f30360026 = v);
|
|
36
|
+
$parcel$export(module.exports, "spectrum-LogicButton", () => $3649bcbba015c4d7$export$36ae67a131730482, (v) => $3649bcbba015c4d7$export$36ae67a131730482 = v);
|
|
37
|
+
$parcel$export(module.exports, "spectrum-Stepper", () => $3649bcbba015c4d7$export$f49c123746e1fb8, (v) => $3649bcbba015c4d7$export$f49c123746e1fb8 = v);
|
|
38
|
+
$parcel$export(module.exports, "spectrum-Stepper--isMobile", () => $3649bcbba015c4d7$export$75e6f9c4d1d95421, (v) => $3649bcbba015c4d7$export$75e6f9c4d1d95421 = v);
|
|
39
|
+
$parcel$export(module.exports, "spectrum-Stepper--isQuiet", () => $3649bcbba015c4d7$export$70ed0eb2ba7512f8, (v) => $3649bcbba015c4d7$export$70ed0eb2ba7512f8 = v);
|
|
40
|
+
$parcel$export(module.exports, "spectrum-Stepper--readonly", () => $3649bcbba015c4d7$export$ba8faf273ff0a970, (v) => $3649bcbba015c4d7$export$ba8faf273ff0a970 = v);
|
|
41
|
+
$parcel$export(module.exports, "spectrum-Stepper--showStepper", () => $3649bcbba015c4d7$export$a4e366275982a12f, (v) => $3649bcbba015c4d7$export$a4e366275982a12f = v);
|
|
42
|
+
$parcel$export(module.exports, "spectrum-Stepper-button", () => $3649bcbba015c4d7$export$4e11596482f95f63, (v) => $3649bcbba015c4d7$export$4e11596482f95f63 = v);
|
|
43
|
+
$parcel$export(module.exports, "spectrum-Stepper-button--stepDown", () => $3649bcbba015c4d7$export$e4ad52f6ba4e317b, (v) => $3649bcbba015c4d7$export$e4ad52f6ba4e317b = v);
|
|
44
|
+
$parcel$export(module.exports, "spectrum-Stepper-button--stepUp", () => $3649bcbba015c4d7$export$6c76d609d604c6e5, (v) => $3649bcbba015c4d7$export$6c76d609d604c6e5 = v);
|
|
45
|
+
$parcel$export(module.exports, "spectrum-Stepper-button-icon", () => $3649bcbba015c4d7$export$7d7cb0c4055e98ab, (v) => $3649bcbba015c4d7$export$7d7cb0c4055e98ab = v);
|
|
46
|
+
$parcel$export(module.exports, "spectrum-Stepper-container", () => $3649bcbba015c4d7$export$f49a6eb8460c3f93, (v) => $3649bcbba015c4d7$export$f49a6eb8460c3f93 = v);
|
|
47
|
+
$parcel$export(module.exports, "spectrum-Stepper-container--isMobile", () => $3649bcbba015c4d7$export$3486d98f7bb904b1, (v) => $3649bcbba015c4d7$export$3486d98f7bb904b1 = v);
|
|
48
|
+
$parcel$export(module.exports, "spectrum-Stepper-field", () => $3649bcbba015c4d7$export$faac6573b15f75d6, (v) => $3649bcbba015c4d7$export$faac6573b15f75d6 = v);
|
|
49
|
+
$parcel$export(module.exports, "spectrum-Stepper-icon", () => $3649bcbba015c4d7$export$639c56ba6082b615, (v) => $3649bcbba015c4d7$export$639c56ba6082b615 = v);
|
|
50
|
+
$parcel$export(module.exports, "spectrum-Stepper-input", () => $3649bcbba015c4d7$export$8273fb931edd57d4, (v) => $3649bcbba015c4d7$export$8273fb931edd57d4 = v);
|
|
51
|
+
var $3649bcbba015c4d7$export$8f85cc9753f280aa;
|
|
52
|
+
var $3649bcbba015c4d7$export$e0f35d825088c098;
|
|
53
|
+
var $3649bcbba015c4d7$export$f39a09f249340e2a;
|
|
54
|
+
var $3649bcbba015c4d7$export$8c4ee2c50c22c514;
|
|
55
|
+
var $3649bcbba015c4d7$export$a2647aa13413c947;
|
|
56
|
+
var $3649bcbba015c4d7$export$20fd0f7cd4e6112f;
|
|
57
|
+
var $3649bcbba015c4d7$export$d35bc1e505d1ebbf;
|
|
58
|
+
var $3649bcbba015c4d7$export$e7dc768d35940237;
|
|
59
|
+
var $3649bcbba015c4d7$export$b8813cd5d7824ce7;
|
|
60
|
+
var $3649bcbba015c4d7$export$14a30de2866685fa;
|
|
61
|
+
var $3649bcbba015c4d7$export$a9781837241c946d;
|
|
62
|
+
var $3649bcbba015c4d7$export$f7b415378ab4f839;
|
|
63
|
+
var $3649bcbba015c4d7$export$4109102f950813a6;
|
|
64
|
+
var $3649bcbba015c4d7$export$24c7f46a6e3605dd;
|
|
65
|
+
var $3649bcbba015c4d7$export$53da69f51b770d3;
|
|
66
|
+
var $3649bcbba015c4d7$export$40e1f009544bacf3;
|
|
67
|
+
var $3649bcbba015c4d7$export$4a4f01c443eff992;
|
|
68
|
+
var $3649bcbba015c4d7$export$ebb4635c66bacdb9;
|
|
69
|
+
var $3649bcbba015c4d7$export$dbcf6b70bcfd6e69;
|
|
70
|
+
var $3649bcbba015c4d7$export$1db4cca5b4ade39a;
|
|
71
|
+
var $3649bcbba015c4d7$export$c1d306ec0fae3838;
|
|
72
|
+
var $3649bcbba015c4d7$export$54592d0984f245d5;
|
|
73
|
+
var $3649bcbba015c4d7$export$76d4531f0342bbe0;
|
|
74
|
+
var $3649bcbba015c4d7$export$c081ba562e204942;
|
|
75
|
+
var $3649bcbba015c4d7$export$b752ce409e5660c;
|
|
76
|
+
var $3649bcbba015c4d7$export$49280ffa5236ba8b;
|
|
77
|
+
var $3649bcbba015c4d7$export$a024c99ecf6b5741;
|
|
78
|
+
var $3649bcbba015c4d7$export$2927016961429360;
|
|
79
|
+
var $3649bcbba015c4d7$export$5ca7b274e4fff9fc;
|
|
80
|
+
var $3649bcbba015c4d7$export$d374b04f30360026;
|
|
81
|
+
var $3649bcbba015c4d7$export$36ae67a131730482;
|
|
82
|
+
var $3649bcbba015c4d7$export$f49c123746e1fb8;
|
|
83
|
+
var $3649bcbba015c4d7$export$75e6f9c4d1d95421;
|
|
84
|
+
var $3649bcbba015c4d7$export$70ed0eb2ba7512f8;
|
|
85
|
+
var $3649bcbba015c4d7$export$ba8faf273ff0a970;
|
|
86
|
+
var $3649bcbba015c4d7$export$a4e366275982a12f;
|
|
87
|
+
var $3649bcbba015c4d7$export$4e11596482f95f63;
|
|
88
|
+
var $3649bcbba015c4d7$export$e4ad52f6ba4e317b;
|
|
89
|
+
var $3649bcbba015c4d7$export$6c76d609d604c6e5;
|
|
90
|
+
var $3649bcbba015c4d7$export$7d7cb0c4055e98ab;
|
|
91
|
+
var $3649bcbba015c4d7$export$f49a6eb8460c3f93;
|
|
92
|
+
var $3649bcbba015c4d7$export$3486d98f7bb904b1;
|
|
93
|
+
var $3649bcbba015c4d7$export$faac6573b15f75d6;
|
|
94
|
+
var $3649bcbba015c4d7$export$639c56ba6082b615;
|
|
95
|
+
var $3649bcbba015c4d7$export$8273fb931edd57d4;
|
|
96
|
+
$3649bcbba015c4d7$export$8f85cc9753f280aa = `Ug6T-W_decrement`;
|
|
97
|
+
$3649bcbba015c4d7$export$e0f35d825088c098 = `Ug6T-W_field`;
|
|
98
|
+
$3649bcbba015c4d7$export$f39a09f249340e2a = `Ug6T-W_focus-ring`;
|
|
99
|
+
$3649bcbba015c4d7$export$8c4ee2c50c22c514 = `Ug6T-W_i18nFontFamily`;
|
|
100
|
+
$3649bcbba015c4d7$export$a2647aa13413c947 = `Ug6T-W_increment`;
|
|
101
|
+
$3649bcbba015c4d7$export$20fd0f7cd4e6112f = `Ug6T-W_is-active`;
|
|
102
|
+
$3649bcbba015c4d7$export$d35bc1e505d1ebbf = `Ug6T-W_is-disabled`;
|
|
103
|
+
$3649bcbba015c4d7$export$e7dc768d35940237 = `Ug6T-W_is-focused`;
|
|
104
|
+
$3649bcbba015c4d7$export$b8813cd5d7824ce7 = `Ug6T-W_is-hovered`;
|
|
105
|
+
$3649bcbba015c4d7$export$14a30de2866685fa = `Ug6T-W_is-invalid`;
|
|
106
|
+
$3649bcbba015c4d7$export$a9781837241c946d = `Ug6T-W_is-open`;
|
|
107
|
+
$3649bcbba015c4d7$export$f7b415378ab4f839 = `Ug6T-W_spectrum-BaseButton ${$3649bcbba015c4d7$export$8c4ee2c50c22c514}`;
|
|
108
|
+
$3649bcbba015c4d7$export$4109102f950813a6 = `Ug6T-W_spectrum-FocusRing-ring`;
|
|
109
|
+
$3649bcbba015c4d7$export$24c7f46a6e3605dd = `Ug6T-W_spectrum-FocusRing ${$3649bcbba015c4d7$export$4109102f950813a6}`;
|
|
110
|
+
$3649bcbba015c4d7$export$53da69f51b770d3 = `Ug6T-W_spectrum-ActionButton ${$3649bcbba015c4d7$export$f7b415378ab4f839} ${$3649bcbba015c4d7$export$24c7f46a6e3605dd}`;
|
|
111
|
+
$3649bcbba015c4d7$export$40e1f009544bacf3 = `Ug6T-W_spectrum-ActionButton--quiet`;
|
|
112
|
+
$3649bcbba015c4d7$export$4a4f01c443eff992 = `Ug6T-W_spectrum-ActionButton-hold`;
|
|
113
|
+
$3649bcbba015c4d7$export$ebb4635c66bacdb9 = `Ug6T-W_spectrum-ActionButton-label`;
|
|
114
|
+
$3649bcbba015c4d7$export$dbcf6b70bcfd6e69 = `Ug6T-W_spectrum-ActionGroup-itemIcon`;
|
|
115
|
+
$3649bcbba015c4d7$export$1db4cca5b4ade39a = `Ug6T-W_spectrum-Button ${$3649bcbba015c4d7$export$f7b415378ab4f839} ${$3649bcbba015c4d7$export$24c7f46a6e3605dd}`;
|
|
116
|
+
$3649bcbba015c4d7$export$c1d306ec0fae3838 = `Ug6T-W_spectrum-Button--iconOnly`;
|
|
117
|
+
$3649bcbba015c4d7$export$54592d0984f245d5 = `Ug6T-W_spectrum-Button--pending`;
|
|
118
|
+
$3649bcbba015c4d7$export$76d4531f0342bbe0 = `Ug6T-W_spectrum-Button-circleLoader`;
|
|
119
|
+
$3649bcbba015c4d7$export$c081ba562e204942 = `Ug6T-W_spectrum-Button-label`;
|
|
120
|
+
$3649bcbba015c4d7$export$b752ce409e5660c = `Ug6T-W_spectrum-ClearButton ${$3649bcbba015c4d7$export$f7b415378ab4f839} ${$3649bcbba015c4d7$export$24c7f46a6e3605dd}`;
|
|
121
|
+
$3649bcbba015c4d7$export$49280ffa5236ba8b = `Ug6T-W_spectrum-ClearButton--small`;
|
|
122
|
+
$3649bcbba015c4d7$export$a024c99ecf6b5741 = `Ug6T-W_spectrum-FieldButton ${$3649bcbba015c4d7$export$f7b415378ab4f839} ${$3649bcbba015c4d7$export$24c7f46a6e3605dd}`;
|
|
123
|
+
$3649bcbba015c4d7$export$2927016961429360 = `Ug6T-W_spectrum-FocusRing--quiet`;
|
|
124
|
+
$3649bcbba015c4d7$export$5ca7b274e4fff9fc = `Ug6T-W_spectrum-FieldButton--quiet ${$3649bcbba015c4d7$export$2927016961429360}`;
|
|
125
|
+
$3649bcbba015c4d7$export$d374b04f30360026 = `Ug6T-W_spectrum-Icon`;
|
|
126
|
+
$3649bcbba015c4d7$export$36ae67a131730482 = `Ug6T-W_spectrum-LogicButton ${$3649bcbba015c4d7$export$f7b415378ab4f839} ${$3649bcbba015c4d7$export$24c7f46a6e3605dd}`;
|
|
127
|
+
$3649bcbba015c4d7$export$f49c123746e1fb8 = `Ug6T-W_spectrum-Stepper ${$3649bcbba015c4d7$export$24c7f46a6e3605dd}`;
|
|
128
|
+
$3649bcbba015c4d7$export$75e6f9c4d1d95421 = `Ug6T-W_spectrum-Stepper--isMobile`;
|
|
129
|
+
$3649bcbba015c4d7$export$70ed0eb2ba7512f8 = `Ug6T-W_spectrum-Stepper--isQuiet ${$3649bcbba015c4d7$export$2927016961429360}`;
|
|
130
|
+
$3649bcbba015c4d7$export$ba8faf273ff0a970 = `Ug6T-W_spectrum-Stepper--readonly`;
|
|
131
|
+
$3649bcbba015c4d7$export$a4e366275982a12f = `Ug6T-W_spectrum-Stepper--showStepper`;
|
|
132
|
+
$3649bcbba015c4d7$export$4e11596482f95f63 = `Ug6T-W_spectrum-Stepper-button ${$3649bcbba015c4d7$export$f7b415378ab4f839}`;
|
|
133
|
+
$3649bcbba015c4d7$export$e4ad52f6ba4e317b = `Ug6T-W_spectrum-Stepper-button--stepDown`;
|
|
134
|
+
$3649bcbba015c4d7$export$6c76d609d604c6e5 = `Ug6T-W_spectrum-Stepper-button--stepUp`;
|
|
135
|
+
$3649bcbba015c4d7$export$7d7cb0c4055e98ab = `Ug6T-W_spectrum-Stepper-button-icon`;
|
|
136
|
+
$3649bcbba015c4d7$export$f49a6eb8460c3f93 = `Ug6T-W_spectrum-Stepper-container`;
|
|
137
|
+
$3649bcbba015c4d7$export$3486d98f7bb904b1 = `Ug6T-W_spectrum-Stepper-container--isMobile`;
|
|
138
|
+
$3649bcbba015c4d7$export$faac6573b15f75d6 = `Ug6T-W_spectrum-Stepper-field`;
|
|
139
|
+
$3649bcbba015c4d7$export$639c56ba6082b615 = `Ug6T-W_spectrum-Stepper-icon`;
|
|
140
|
+
$3649bcbba015c4d7$export$8273fb931edd57d4 = `Ug6T-W_spectrum-Stepper-input`;
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
//# sourceMappingURL=stepper_vars_css.main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AA5CA,4CAA8B,CAAC,gBAAgB,CAAC;AAChD,4CAA0B,CAAC,YAAY,CAAC;AACxC,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA8B,CAAC,gBAAgB,CAAC;AAChD,4CAA8B,CAAC,gBAAgB,CAAC;AAChD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;A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AACxF,4CAA4C,CAAC,+BAA+B,EAAE,0CAAsC,CAAC;AACrH,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E,4CAA0C,CAAC,4BAA4B,CAAC;AACxE,4CAA2C,CAAC,6BAA6B,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/stepper/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"stepper_vars_css.main.js.map"}
|