@react-spectrum/label 3.16.5-nightly.4555 → 3.16.5-nightly.4558

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.
Files changed (79) hide show
  1. package/dist/Field.main.js +118 -0
  2. package/dist/Field.main.js.map +1 -0
  3. package/dist/Field.mjs +113 -0
  4. package/dist/Field.module.js +113 -0
  5. package/dist/Field.module.js.map +1 -0
  6. package/dist/HelpText.main.js +57 -0
  7. package/dist/HelpText.main.js.map +1 -0
  8. package/dist/HelpText.mjs +52 -0
  9. package/dist/HelpText.module.js +52 -0
  10. package/dist/HelpText.module.js.map +1 -0
  11. package/dist/Label.main.js +68 -0
  12. package/dist/Label.main.js.map +1 -0
  13. package/dist/Label.mjs +63 -0
  14. package/dist/Label.module.js +63 -0
  15. package/dist/Label.module.js.map +1 -0
  16. package/dist/ar-AE.mjs +1 -1
  17. package/dist/bg-BG.mjs +1 -1
  18. package/dist/cs-CZ.mjs +1 -1
  19. package/dist/da-DK.mjs +1 -1
  20. package/dist/de-DE.mjs +1 -1
  21. package/dist/el-GR.mjs +1 -1
  22. package/dist/en-US.mjs +1 -1
  23. package/dist/es-ES.mjs +1 -1
  24. package/dist/et-EE.mjs +1 -1
  25. package/dist/fi-FI.mjs +1 -1
  26. package/dist/fieldlabel_vars_css.main.js +95 -0
  27. package/dist/fieldlabel_vars_css.main.js.map +1 -0
  28. package/dist/fieldlabel_vars_css.mjs +97 -0
  29. package/dist/fieldlabel_vars_css.module.js +97 -0
  30. package/dist/fieldlabel_vars_css.module.js.map +1 -0
  31. package/dist/fr-FR.mjs +1 -1
  32. package/dist/he-IL.mjs +1 -1
  33. package/dist/helptext_vars_css.main.js +41 -0
  34. package/dist/helptext_vars_css.main.js.map +1 -0
  35. package/dist/helptext_vars_css.mjs +43 -0
  36. package/dist/helptext_vars_css.module.js +43 -0
  37. package/dist/helptext_vars_css.module.js.map +1 -0
  38. package/dist/hr-HR.mjs +1 -1
  39. package/dist/hu-HU.mjs +1 -1
  40. package/dist/import.mjs +3 -431
  41. package/dist/intlStrings.main.js +108 -0
  42. package/dist/intlStrings.main.js.map +1 -0
  43. package/dist/intlStrings.mjs +110 -0
  44. package/dist/intlStrings.module.js +110 -0
  45. package/dist/intlStrings.module.js.map +1 -0
  46. package/dist/it-IT.mjs +1 -1
  47. package/dist/ja-JP.mjs +1 -1
  48. package/dist/ko-KR.mjs +1 -1
  49. package/dist/lt-LT.mjs +1 -1
  50. package/dist/lv-LV.mjs +1 -1
  51. package/dist/main.js +6 -430
  52. package/dist/main.js.map +1 -1
  53. package/dist/module.js +3 -431
  54. package/dist/module.js.map +1 -1
  55. package/dist/nb-NO.mjs +1 -1
  56. package/dist/nl-NL.mjs +1 -1
  57. package/dist/pl-PL.mjs +1 -1
  58. package/dist/pt-BR.mjs +1 -1
  59. package/dist/pt-PT.mjs +1 -1
  60. package/dist/ro-RO.mjs +1 -1
  61. package/dist/ru-RU.mjs +1 -1
  62. package/dist/sk-SK.mjs +1 -1
  63. package/dist/sl-SI.mjs +1 -1
  64. package/dist/sr-SP.mjs +1 -1
  65. package/dist/sv-SE.mjs +1 -1
  66. package/dist/tr-TR.mjs +1 -1
  67. package/dist/types.d.ts +3 -3
  68. package/dist/types.d.ts.map +1 -1
  69. package/dist/uk-UA.mjs +1 -1
  70. package/dist/vars.0af2d804.css +117 -0
  71. package/dist/vars.0af2d804.css.map +1 -0
  72. package/dist/{main.css → vars.d58685ae.css} +1 -118
  73. package/dist/vars.d58685ae.css.map +1 -0
  74. package/dist/zh-CN.mjs +1 -1
  75. package/dist/zh-TW.mjs +1 -1
  76. package/package.json +11 -11
  77. package/dist/main.css.map +0 -1
  78. package/dist/module.css +0 -388
  79. package/dist/module.css.map +0 -1
package/dist/module.js CHANGED
@@ -1,56 +1,7 @@
1
- import $dfe96401c0c81db3$exports from "./ar-AE.module.js";
2
- import $f504605657ece833$exports from "./bg-BG.module.js";
3
- import $ed0ab9e7c53f9351$exports from "./cs-CZ.module.js";
4
- import $59d9df99e04ee555$exports from "./da-DK.module.js";
5
- import $c5df0169c370d169$exports from "./de-DE.module.js";
6
- import $3c9af509a01a8d08$exports from "./el-GR.module.js";
7
- import $aa36476f91664a08$exports from "./en-US.module.js";
8
- import $d96f2251ced25e45$exports from "./es-ES.module.js";
9
- import $16ec4ffbd4b2ca4b$exports from "./et-EE.module.js";
10
- import $60f372f660e937e4$exports from "./fi-FI.module.js";
11
- import $d87c5f1e899f6af1$exports from "./fr-FR.module.js";
12
- import $6899669fa63c7816$exports from "./he-IL.module.js";
13
- import $3597d722a30a8081$exports from "./hr-HR.module.js";
14
- import $3ef905a2ce0921cb$exports from "./hu-HU.module.js";
15
- import $e59d2e4af9ff1c28$exports from "./it-IT.module.js";
16
- import $422a7013ab2cb36d$exports from "./ja-JP.module.js";
17
- import $a58a7ab9570c5a18$exports from "./ko-KR.module.js";
18
- import $24e660c5a5be82af$exports from "./lt-LT.module.js";
19
- import $a222e05de6d8dce8$exports from "./lv-LV.module.js";
20
- import $524caea23ab94ad7$exports from "./nb-NO.module.js";
21
- import $572079ed86210ca9$exports from "./nl-NL.module.js";
22
- import $6a0777ee77a74b18$exports from "./pl-PL.module.js";
23
- import $ea0401974d81b469$exports from "./pt-BR.module.js";
24
- import $701d0854e4f18979$exports from "./pt-PT.module.js";
25
- import $dd9fccd10d0a4be3$exports from "./ro-RO.module.js";
26
- import $3cd1eab3b0ecc980$exports from "./ru-RU.module.js";
27
- import $d109f3d68ba24ffc$exports from "./sk-SK.module.js";
28
- import $6382c2117e9fd1b6$exports from "./sl-SI.module.js";
29
- import $ba796dd79114e2d4$exports from "./sr-SP.module.js";
30
- import $916521e9800ac46c$exports from "./sv-SE.module.js";
31
- import $acd72b88f580fe64$exports from "./tr-TR.module.js";
32
- import $bd065904f1420f31$exports from "./uk-UA.module.js";
33
- import $0128cc194bc107bb$exports from "./zh-CN.module.js";
34
- import $c57738f6094a3d25$exports from "./zh-TW.module.js";
35
- import "./module.css";
36
- import {useStyleProps as $6WzO6$useStyleProps, classNames as $6WzO6$classNames, SlotProvider as $6WzO6$SlotProvider, useDOMRef as $6WzO6$useDOMRef} from "@react-spectrum/utils";
37
- import {Flex as $6WzO6$Flex} from "@react-spectrum/layout";
38
- import {useId as $6WzO6$useId, mergeProps as $6WzO6$mergeProps, filterDOMProps as $6WzO6$filterDOMProps} from "@react-aria/utils";
39
- import $6WzO6$react from "react";
40
- import {useFormProps as $6WzO6$useFormProps} from "@react-spectrum/form";
41
- import $6WzO6$spectrumiconsuiAlertMedium from "@spectrum-icons/ui/AlertMedium";
42
- import $6WzO6$spectrumiconsuiAsterisk from "@spectrum-icons/ui/Asterisk";
43
- import {useLocalizedStringFormatter as $6WzO6$useLocalizedStringFormatter} from "@react-aria/i18n";
44
- import {useProviderProps as $6WzO6$useProviderProps} from "@react-spectrum/provider";
1
+ import {Field as $b7ca5b4454a2009d$export$a455218a85c89869} from "./Field.module.js";
2
+ import {Label as $00af9ba397a66f43$export$b04be29aa201d4f5} from "./Label.module.js";
3
+ import {HelpText as $8e50676506611310$export$a67c0bc59081311a} from "./HelpText.module.js";
45
4
 
46
-
47
- function $parcel$interopDefault(a) {
48
- return a && a.__esModule ? a.default : a;
49
- }
50
-
51
- function $parcel$export(e, n, v, s) {
52
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
53
- }
54
5
  /*
55
6
  * Copyright 2020 Adobe. All rights reserved.
56
7
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -62,385 +13,6 @@ function $parcel$export(e, n, v, s) {
62
13
  * OF ANY KIND, either express or implied. See the License for the specific language
63
14
  * governing permissions and limitations under the License.
64
15
  */ /// <reference types="css-module-types" />
65
- /*
66
- * Copyright 2020 Adobe. All rights reserved.
67
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
68
- * you may not use this file except in compliance with the License. You may obtain a copy
69
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
70
- *
71
- * Unless required by applicable law or agreed to in writing, software distributed under
72
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
73
- * OF ANY KIND, either express or implied. See the License for the specific language
74
- * governing permissions and limitations under the License.
75
- */
76
-
77
- /*
78
- * Copyright 2021 Adobe. All rights reserved.
79
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
80
- * you may not use this file except in compliance with the License. You may obtain a copy
81
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
82
- *
83
- * Unless required by applicable law or agreed to in writing, software distributed under
84
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
85
- * OF ANY KIND, either express or implied. See the License for the specific language
86
- * governing permissions and limitations under the License.
87
- */
88
-
89
-
90
- var $beda4304297005df$exports = {};
91
-
92
- $parcel$export($beda4304297005df$exports, "focus-ring", () => $beda4304297005df$export$f39a09f249340e2a, (v) => $beda4304297005df$export$f39a09f249340e2a = v);
93
- $parcel$export($beda4304297005df$exports, "i18nFontFamily", () => $beda4304297005df$export$8c4ee2c50c22c514, (v) => $beda4304297005df$export$8c4ee2c50c22c514 = v);
94
- $parcel$export($beda4304297005df$exports, "is-disabled", () => $beda4304297005df$export$d35bc1e505d1ebbf, (v) => $beda4304297005df$export$d35bc1e505d1ebbf = v);
95
- $parcel$export($beda4304297005df$exports, "spectrum-FocusRing-ring", () => $beda4304297005df$export$4109102f950813a6, (v) => $beda4304297005df$export$4109102f950813a6 = v);
96
- $parcel$export($beda4304297005df$exports, "spectrum-FocusRing", () => $beda4304297005df$export$24c7f46a6e3605dd, (v) => $beda4304297005df$export$24c7f46a6e3605dd = v);
97
- $parcel$export($beda4304297005df$exports, "spectrum-FocusRing--quiet", () => $beda4304297005df$export$2927016961429360, (v) => $beda4304297005df$export$2927016961429360 = v);
98
- $parcel$export($beda4304297005df$exports, "spectrum-HelpText", () => $beda4304297005df$export$c0875e83c57c7736, (v) => $beda4304297005df$export$c0875e83c57c7736 = v);
99
- $parcel$export($beda4304297005df$exports, "spectrum-HelpText--negative", () => $beda4304297005df$export$d31dd875d69daee0, (v) => $beda4304297005df$export$d31dd875d69daee0 = v);
100
- $parcel$export($beda4304297005df$exports, "spectrum-HelpText--neutral", () => $beda4304297005df$export$6e9351b1ad13c, (v) => $beda4304297005df$export$6e9351b1ad13c = v);
101
- $parcel$export($beda4304297005df$exports, "spectrum-HelpText-text", () => $beda4304297005df$export$a512452beb4231bf, (v) => $beda4304297005df$export$a512452beb4231bf = v);
102
- $parcel$export($beda4304297005df$exports, "spectrum-HelpText-validationIcon", () => $beda4304297005df$export$527776642b333691, (v) => $beda4304297005df$export$527776642b333691 = v);
103
- var $beda4304297005df$export$f39a09f249340e2a;
104
- var $beda4304297005df$export$8c4ee2c50c22c514;
105
- var $beda4304297005df$export$d35bc1e505d1ebbf;
106
- var $beda4304297005df$export$4109102f950813a6;
107
- var $beda4304297005df$export$24c7f46a6e3605dd;
108
- var $beda4304297005df$export$2927016961429360;
109
- var $beda4304297005df$export$c0875e83c57c7736;
110
- var $beda4304297005df$export$d31dd875d69daee0;
111
- var $beda4304297005df$export$6e9351b1ad13c;
112
- var $beda4304297005df$export$a512452beb4231bf;
113
- var $beda4304297005df$export$527776642b333691;
114
- $beda4304297005df$export$f39a09f249340e2a = `a1Qy2q_focus-ring`;
115
- $beda4304297005df$export$8c4ee2c50c22c514 = `a1Qy2q_i18nFontFamily`;
116
- $beda4304297005df$export$d35bc1e505d1ebbf = `a1Qy2q_is-disabled`;
117
- $beda4304297005df$export$4109102f950813a6 = `a1Qy2q_spectrum-FocusRing-ring`;
118
- $beda4304297005df$export$24c7f46a6e3605dd = `a1Qy2q_spectrum-FocusRing ${$beda4304297005df$export$4109102f950813a6}`;
119
- $beda4304297005df$export$2927016961429360 = `a1Qy2q_spectrum-FocusRing--quiet`;
120
- $beda4304297005df$export$c0875e83c57c7736 = `a1Qy2q_spectrum-HelpText`;
121
- $beda4304297005df$export$d31dd875d69daee0 = `a1Qy2q_spectrum-HelpText--negative`;
122
- $beda4304297005df$export$6e9351b1ad13c = `a1Qy2q_spectrum-HelpText--neutral`;
123
- $beda4304297005df$export$a512452beb4231bf = `a1Qy2q_spectrum-HelpText-text`;
124
- $beda4304297005df$export$527776642b333691 = `a1Qy2q_spectrum-HelpText-validationIcon`;
125
-
126
-
127
- function $8e50676506611310$var$HelpText(props, ref) {
128
- let { description: description, errorMessage: errorMessage, validationState: validationState, isInvalid: isInvalid, isDisabled: isDisabled, showErrorIcon: showErrorIcon, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = props;
129
- let domRef = (0, $6WzO6$useDOMRef)(ref);
130
- let isErrorMessage = errorMessage && (isInvalid || validationState === "invalid");
131
- let { styleProps: styleProps } = (0, $6WzO6$useStyleProps)(props);
132
- return /*#__PURE__*/ (0, $6WzO6$react).createElement("div", {
133
- ...styleProps,
134
- className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($beda4304297005df$exports))), "spectrum-HelpText", `spectrum-HelpText--${isErrorMessage ? "negative" : "neutral"}`, {
135
- "is-disabled": isDisabled
136
- }, styleProps.className),
137
- ref: domRef
138
- }, isErrorMessage ? /*#__PURE__*/ (0, $6WzO6$react).createElement((0, $6WzO6$react).Fragment, null, showErrorIcon && /*#__PURE__*/ (0, $6WzO6$react).createElement((0, $6WzO6$spectrumiconsuiAlertMedium), {
139
- UNSAFE_className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($beda4304297005df$exports))), "spectrum-HelpText-validationIcon")
140
- }), /*#__PURE__*/ (0, $6WzO6$react).createElement("div", {
141
- ...errorMessageProps,
142
- className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($beda4304297005df$exports))), "spectrum-HelpText-text")
143
- }, errorMessage)) : /*#__PURE__*/ (0, $6WzO6$react).createElement("div", {
144
- ...descriptionProps,
145
- className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($beda4304297005df$exports))), "spectrum-HelpText-text")
146
- }, description));
147
- }
148
- /**
149
- * Help text provides either an informative description or an error message that gives more context about what a user needs to input. It's commonly used in forms.
150
- */ const $8e50676506611310$export$a67c0bc59081311a = /*#__PURE__*/ (0, $6WzO6$react).forwardRef($8e50676506611310$var$HelpText);
151
-
152
-
153
- /*
154
- * Copyright 2020 Adobe. All rights reserved.
155
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
156
- * you may not use this file except in compliance with the License. You may obtain a copy
157
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
158
- *
159
- * Unless required by applicable law or agreed to in writing, software distributed under
160
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
161
- * OF ANY KIND, either express or implied. See the License for the specific language
162
- * governing permissions and limitations under the License.
163
- */
164
-
165
-
166
- var $42a96ba05489ca64$exports = {};
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
- $42a96ba05489ca64$exports = {
202
- "ar-AE": $dfe96401c0c81db3$exports,
203
- "bg-BG": $f504605657ece833$exports,
204
- "cs-CZ": $ed0ab9e7c53f9351$exports,
205
- "da-DK": $59d9df99e04ee555$exports,
206
- "de-DE": $c5df0169c370d169$exports,
207
- "el-GR": $3c9af509a01a8d08$exports,
208
- "en-US": $aa36476f91664a08$exports,
209
- "es-ES": $d96f2251ced25e45$exports,
210
- "et-EE": $16ec4ffbd4b2ca4b$exports,
211
- "fi-FI": $60f372f660e937e4$exports,
212
- "fr-FR": $d87c5f1e899f6af1$exports,
213
- "he-IL": $6899669fa63c7816$exports,
214
- "hr-HR": $3597d722a30a8081$exports,
215
- "hu-HU": $3ef905a2ce0921cb$exports,
216
- "it-IT": $e59d2e4af9ff1c28$exports,
217
- "ja-JP": $422a7013ab2cb36d$exports,
218
- "ko-KR": $a58a7ab9570c5a18$exports,
219
- "lt-LT": $24e660c5a5be82af$exports,
220
- "lv-LV": $a222e05de6d8dce8$exports,
221
- "nb-NO": $524caea23ab94ad7$exports,
222
- "nl-NL": $572079ed86210ca9$exports,
223
- "pl-PL": $6a0777ee77a74b18$exports,
224
- "pt-BR": $ea0401974d81b469$exports,
225
- "pt-PT": $701d0854e4f18979$exports,
226
- "ro-RO": $dd9fccd10d0a4be3$exports,
227
- "ru-RU": $3cd1eab3b0ecc980$exports,
228
- "sk-SK": $d109f3d68ba24ffc$exports,
229
- "sl-SI": $6382c2117e9fd1b6$exports,
230
- "sr-SP": $ba796dd79114e2d4$exports,
231
- "sv-SE": $916521e9800ac46c$exports,
232
- "tr-TR": $acd72b88f580fe64$exports,
233
- "uk-UA": $bd065904f1420f31$exports,
234
- "zh-CN": $0128cc194bc107bb$exports,
235
- "zh-TW": $c57738f6094a3d25$exports
236
- };
237
-
238
-
239
-
240
- var $cd231e464c886c86$exports = {};
241
-
242
- $parcel$export($cd231e464c886c86$exports, "contextualHelp", () => $cd231e464c886c86$export$4ba534aba1836d, (v) => $cd231e464c886c86$export$4ba534aba1836d = v);
243
- $parcel$export($cd231e464c886c86$exports, "field", () => $cd231e464c886c86$export$e0f35d825088c098, (v) => $cd231e464c886c86$export$e0f35d825088c098 = v);
244
- $parcel$export($cd231e464c886c86$exports, "focus-ring", () => $cd231e464c886c86$export$f39a09f249340e2a, (v) => $cd231e464c886c86$export$f39a09f249340e2a = v);
245
- $parcel$export($cd231e464c886c86$exports, "helpText", () => $cd231e464c886c86$export$431a3b688422af44, (v) => $cd231e464c886c86$export$431a3b688422af44 = v);
246
- $parcel$export($cd231e464c886c86$exports, "i18nFontFamily", () => $cd231e464c886c86$export$8c4ee2c50c22c514, (v) => $cd231e464c886c86$export$8c4ee2c50c22c514 = v);
247
- $parcel$export($cd231e464c886c86$exports, "is-disabled", () => $cd231e464c886c86$export$d35bc1e505d1ebbf, (v) => $cd231e464c886c86$export$d35bc1e505d1ebbf = v);
248
- $parcel$export($cd231e464c886c86$exports, "label", () => $cd231e464c886c86$export$1237798dc640739a, (v) => $cd231e464c886c86$export$1237798dc640739a = v);
249
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field", () => $cd231e464c886c86$export$f6d480ae1e56eba0, (v) => $cd231e464c886c86$export$f6d480ae1e56eba0 = v);
250
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field--alignEnd", () => $cd231e464c886c86$export$5354c9be7ada5f83, (v) => $cd231e464c886c86$export$5354c9be7ada5f83 = v);
251
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field--hasContextualHelp", () => $cd231e464c886c86$export$9ba23707a252cdd4, (v) => $cd231e464c886c86$export$9ba23707a252cdd4 = v);
252
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field--positionSide", () => $cd231e464c886c86$export$2963225c91179589, (v) => $cd231e464c886c86$export$2963225c91179589 = v);
253
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field--positionTop", () => $cd231e464c886c86$export$a4ea780a9064d7f9, (v) => $cd231e464c886c86$export$a4ea780a9064d7f9 = v);
254
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field-contextualHelp", () => $cd231e464c886c86$export$24fb860d16dd2d3f, (v) => $cd231e464c886c86$export$24fb860d16dd2d3f = v);
255
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field-field", () => $cd231e464c886c86$export$3ab8a3dc7f0563d, (v) => $cd231e464c886c86$export$3ab8a3dc7f0563d = v);
256
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field-labelCell", () => $cd231e464c886c86$export$9cde5aecff012641, (v) => $cd231e464c886c86$export$9cde5aecff012641 = v);
257
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field-labelWrapper", () => $cd231e464c886c86$export$a872a8c78b26c9e0, (v) => $cd231e464c886c86$export$a872a8c78b26c9e0 = v);
258
- $parcel$export($cd231e464c886c86$exports, "spectrum-Field-wrapper", () => $cd231e464c886c86$export$127df0b7290eb8ef, (v) => $cd231e464c886c86$export$127df0b7290eb8ef = v);
259
- $parcel$export($cd231e464c886c86$exports, "spectrum-FieldLabel", () => $cd231e464c886c86$export$493d18e796ae054, (v) => $cd231e464c886c86$export$493d18e796ae054 = v);
260
- $parcel$export($cd231e464c886c86$exports, "spectrum-FieldLabel--alignEnd", () => $cd231e464c886c86$export$885efcc08143a987, (v) => $cd231e464c886c86$export$885efcc08143a987 = v);
261
- $parcel$export($cd231e464c886c86$exports, "spectrum-FieldLabel--positionSide", () => $cd231e464c886c86$export$9e6f19dc21f22f2e, (v) => $cd231e464c886c86$export$9e6f19dc21f22f2e = v);
262
- $parcel$export($cd231e464c886c86$exports, "spectrum-FieldLabel-requiredIcon", () => $cd231e464c886c86$export$7c47642c7d46f3c9, (v) => $cd231e464c886c86$export$7c47642c7d46f3c9 = v);
263
- $parcel$export($cd231e464c886c86$exports, "spectrum-FocusRing-ring", () => $cd231e464c886c86$export$4109102f950813a6, (v) => $cd231e464c886c86$export$4109102f950813a6 = v);
264
- $parcel$export($cd231e464c886c86$exports, "spectrum-FocusRing", () => $cd231e464c886c86$export$24c7f46a6e3605dd, (v) => $cd231e464c886c86$export$24c7f46a6e3605dd = v);
265
- $parcel$export($cd231e464c886c86$exports, "spectrum-FocusRing--quiet", () => $cd231e464c886c86$export$2927016961429360, (v) => $cd231e464c886c86$export$2927016961429360 = v);
266
- $parcel$export($cd231e464c886c86$exports, "spectrum-Form", () => $cd231e464c886c86$export$94d2bcc94afabd89, (v) => $cd231e464c886c86$export$94d2bcc94afabd89 = v);
267
- $parcel$export($cd231e464c886c86$exports, "spectrum-Form--positionSide", () => $cd231e464c886c86$export$7f44db659563c8f4, (v) => $cd231e464c886c86$export$7f44db659563c8f4 = v);
268
- $parcel$export($cd231e464c886c86$exports, "spectrum-Form--positionTop", () => $cd231e464c886c86$export$11b8bc81fe551057, (v) => $cd231e464c886c86$export$11b8bc81fe551057 = v);
269
- $parcel$export($cd231e464c886c86$exports, "spectrum-Form-itemLabel", () => $cd231e464c886c86$export$51ec27881a1e3928, (v) => $cd231e464c886c86$export$51ec27881a1e3928 = v);
270
- $parcel$export($cd231e464c886c86$exports, "spectrum-LabeledValue", () => $cd231e464c886c86$export$79f9a5e9dd010c8d, (v) => $cd231e464c886c86$export$79f9a5e9dd010c8d = v);
271
- var $cd231e464c886c86$export$4ba534aba1836d;
272
- var $cd231e464c886c86$export$e0f35d825088c098;
273
- var $cd231e464c886c86$export$f39a09f249340e2a;
274
- var $cd231e464c886c86$export$431a3b688422af44;
275
- var $cd231e464c886c86$export$8c4ee2c50c22c514;
276
- var $cd231e464c886c86$export$d35bc1e505d1ebbf;
277
- var $cd231e464c886c86$export$1237798dc640739a;
278
- var $cd231e464c886c86$export$f6d480ae1e56eba0;
279
- var $cd231e464c886c86$export$5354c9be7ada5f83;
280
- var $cd231e464c886c86$export$9ba23707a252cdd4;
281
- var $cd231e464c886c86$export$2963225c91179589;
282
- var $cd231e464c886c86$export$a4ea780a9064d7f9;
283
- var $cd231e464c886c86$export$24fb860d16dd2d3f;
284
- var $cd231e464c886c86$export$3ab8a3dc7f0563d;
285
- var $cd231e464c886c86$export$9cde5aecff012641;
286
- var $cd231e464c886c86$export$a872a8c78b26c9e0;
287
- var $cd231e464c886c86$export$127df0b7290eb8ef;
288
- var $cd231e464c886c86$export$493d18e796ae054;
289
- var $cd231e464c886c86$export$885efcc08143a987;
290
- var $cd231e464c886c86$export$9e6f19dc21f22f2e;
291
- var $cd231e464c886c86$export$7c47642c7d46f3c9;
292
- var $cd231e464c886c86$export$4109102f950813a6;
293
- var $cd231e464c886c86$export$24c7f46a6e3605dd;
294
- var $cd231e464c886c86$export$2927016961429360;
295
- var $cd231e464c886c86$export$94d2bcc94afabd89;
296
- var $cd231e464c886c86$export$7f44db659563c8f4;
297
- var $cd231e464c886c86$export$11b8bc81fe551057;
298
- var $cd231e464c886c86$export$51ec27881a1e3928;
299
- var $cd231e464c886c86$export$79f9a5e9dd010c8d;
300
- $cd231e464c886c86$export$4ba534aba1836d = `A-HlBa_contextualHelp`;
301
- $cd231e464c886c86$export$e0f35d825088c098 = `A-HlBa_field`;
302
- $cd231e464c886c86$export$f39a09f249340e2a = `A-HlBa_focus-ring`;
303
- $cd231e464c886c86$export$431a3b688422af44 = `A-HlBa_helpText`;
304
- $cd231e464c886c86$export$8c4ee2c50c22c514 = `A-HlBa_i18nFontFamily`;
305
- $cd231e464c886c86$export$d35bc1e505d1ebbf = `A-HlBa_is-disabled`;
306
- $cd231e464c886c86$export$1237798dc640739a = `A-HlBa_label`;
307
- $cd231e464c886c86$export$f6d480ae1e56eba0 = `A-HlBa_spectrum-Field`;
308
- $cd231e464c886c86$export$5354c9be7ada5f83 = `A-HlBa_spectrum-Field--alignEnd`;
309
- $cd231e464c886c86$export$9ba23707a252cdd4 = `A-HlBa_spectrum-Field--hasContextualHelp`;
310
- $cd231e464c886c86$export$2963225c91179589 = `A-HlBa_spectrum-Field--positionSide`;
311
- $cd231e464c886c86$export$a4ea780a9064d7f9 = `A-HlBa_spectrum-Field--positionTop`;
312
- $cd231e464c886c86$export$24fb860d16dd2d3f = `A-HlBa_spectrum-Field-contextualHelp`;
313
- $cd231e464c886c86$export$3ab8a3dc7f0563d = `A-HlBa_spectrum-Field-field`;
314
- $cd231e464c886c86$export$9cde5aecff012641 = `A-HlBa_spectrum-Field-labelCell`;
315
- $cd231e464c886c86$export$a872a8c78b26c9e0 = `A-HlBa_spectrum-Field-labelWrapper`;
316
- $cd231e464c886c86$export$127df0b7290eb8ef = `A-HlBa_spectrum-Field-wrapper`;
317
- $cd231e464c886c86$export$493d18e796ae054 = `A-HlBa_spectrum-FieldLabel`;
318
- $cd231e464c886c86$export$885efcc08143a987 = `A-HlBa_spectrum-FieldLabel--alignEnd`;
319
- $cd231e464c886c86$export$9e6f19dc21f22f2e = `A-HlBa_spectrum-FieldLabel--positionSide`;
320
- $cd231e464c886c86$export$7c47642c7d46f3c9 = `A-HlBa_spectrum-FieldLabel-requiredIcon`;
321
- $cd231e464c886c86$export$4109102f950813a6 = `A-HlBa_spectrum-FocusRing-ring`;
322
- $cd231e464c886c86$export$24c7f46a6e3605dd = `A-HlBa_spectrum-FocusRing ${$cd231e464c886c86$export$4109102f950813a6}`;
323
- $cd231e464c886c86$export$2927016961429360 = `A-HlBa_spectrum-FocusRing--quiet`;
324
- $cd231e464c886c86$export$94d2bcc94afabd89 = `A-HlBa_spectrum-Form`;
325
- $cd231e464c886c86$export$7f44db659563c8f4 = `A-HlBa_spectrum-Form--positionSide`;
326
- $cd231e464c886c86$export$11b8bc81fe551057 = `A-HlBa_spectrum-Form--positionTop`;
327
- $cd231e464c886c86$export$51ec27881a1e3928 = `A-HlBa_spectrum-Form-itemLabel`;
328
- $cd231e464c886c86$export$79f9a5e9dd010c8d = `A-HlBa_spectrum-LabeledValue`;
329
-
330
-
331
-
332
-
333
- function $00af9ba397a66f43$var$Label(props, ref) {
334
- props = (0, $6WzO6$useProviderProps)(props);
335
- let { children: children, labelPosition: labelPosition = "top", labelAlign: labelAlign = labelPosition === "side" ? "start" : null, isRequired: isRequired, necessityIndicator: necessityIndicator = isRequired != null ? "icon" : null, includeNecessityIndicatorInAccessibilityName: includeNecessityIndicatorInAccessibilityName = false, htmlFor: htmlFor, for: labelFor, elementType: ElementType = "label", onClick: onClick, ...otherProps } = props;
336
- let domRef = (0, $6WzO6$useDOMRef)(ref);
337
- let { styleProps: styleProps } = (0, $6WzO6$useStyleProps)(otherProps);
338
- let stringFormatter = (0, $6WzO6$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($42a96ba05489ca64$exports))), "@react-spectrum/label");
339
- let necessityLabel = isRequired ? stringFormatter.format("(required)") : stringFormatter.format("(optional)");
340
- let icon = /*#__PURE__*/ (0, $6WzO6$react).createElement((0, $6WzO6$spectrumiconsuiAsterisk), {
341
- UNSAFE_className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))), "spectrum-FieldLabel-requiredIcon"),
342
- "aria-label": includeNecessityIndicatorInAccessibilityName ? stringFormatter.format("(required)") : undefined
343
- });
344
- let labelClassNames = (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))), "spectrum-FieldLabel", {
345
- "spectrum-FieldLabel--positionSide": labelPosition === "side",
346
- "spectrum-FieldLabel--alignEnd": labelAlign === "end"
347
- }, styleProps.className);
348
- return /*#__PURE__*/ (0, $6WzO6$react).createElement(ElementType, {
349
- ...(0, $6WzO6$filterDOMProps)(otherProps),
350
- ...styleProps,
351
- onClick: onClick,
352
- ref: domRef,
353
- className: labelClassNames,
354
- htmlFor: ElementType === "label" ? labelFor || htmlFor : undefined
355
- }, children, (necessityIndicator === "label" || necessityIndicator === "icon" && isRequired) && " \u200B", necessityIndicator === "label" && /*#__PURE__*/ (0, $6WzO6$react).createElement("span", {
356
- "aria-hidden": !includeNecessityIndicatorInAccessibilityName ? isRequired : undefined
357
- }, necessityLabel), necessityIndicator === "icon" && isRequired && icon);
358
- }
359
- let $00af9ba397a66f43$export$b04be29aa201d4f5 = /*#__PURE__*/ (0, $6WzO6$react).forwardRef($00af9ba397a66f43$var$Label);
360
-
361
-
362
-
363
-
364
-
365
-
366
- function $b7ca5b4454a2009d$var$Field(props, ref) {
367
- let formProps = (0, $6WzO6$useFormProps)(props);
368
- let isInForm = formProps !== props;
369
- props = formProps;
370
- let { label: label, labelPosition: labelPosition = "top", labelAlign: labelAlign, isRequired: isRequired, necessityIndicator: necessityIndicator, includeNecessityIndicatorInAccessibilityName: includeNecessityIndicatorInAccessibilityName, validationState: validationState, isInvalid: isInvalid, description: description, errorMessage: errorMessage = (e)=>e.validationErrors.join(" "), validationErrors: validationErrors, validationDetails: validationDetails, isDisabled: isDisabled, showErrorIcon: showErrorIcon, contextualHelp: contextualHelp, children: children, labelProps: labelProps = {}, descriptionProps: // Not every component that uses <Field> supports help text.
371
- descriptionProps = {}, errorMessageProps: errorMessageProps = {}, elementType: elementType, wrapperClassName: wrapperClassName, wrapperProps: wrapperProps = {}, ...otherProps } = props;
372
- let { styleProps: styleProps } = (0, $6WzO6$useStyleProps)(otherProps);
373
- let errorMessageString = null;
374
- if (typeof errorMessage === "function") errorMessageString = isInvalid != null && validationErrors != null && validationDetails != null ? errorMessage({
375
- isInvalid: isInvalid,
376
- validationErrors: validationErrors,
377
- validationDetails: validationDetails
378
- }) : null;
379
- else errorMessageString = errorMessage;
380
- let hasHelpText = !!description || errorMessageString && (isInvalid || validationState === "invalid");
381
- let contextualHelpId = (0, $6WzO6$useId)();
382
- let fallbackLabelPropsId = (0, $6WzO6$useId)();
383
- if (label && contextualHelp && !labelProps.id) labelProps.id = fallbackLabelPropsId;
384
- let labelWrapperClass = (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))), "spectrum-Field", {
385
- "spectrum-Field--positionTop": labelPosition === "top",
386
- "spectrum-Field--positionSide": labelPosition === "side",
387
- "spectrum-Field--alignEnd": labelAlign === "end",
388
- "spectrum-Field--hasContextualHelp": !!props.contextualHelp
389
- }, styleProps.className, wrapperClassName);
390
- children = /*#__PURE__*/ (0, $6WzO6$react).cloneElement(children, (0, $6WzO6$mergeProps)(children.props, {
391
- className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))), "spectrum-Field-field")
392
- }));
393
- let renderHelpText = ()=>/*#__PURE__*/ (0, $6WzO6$react).createElement((0, $8e50676506611310$export$a67c0bc59081311a), {
394
- descriptionProps: descriptionProps,
395
- errorMessageProps: errorMessageProps,
396
- description: description,
397
- errorMessage: errorMessageString,
398
- validationState: validationState,
399
- isInvalid: isInvalid,
400
- isDisabled: isDisabled,
401
- showErrorIcon: showErrorIcon,
402
- gridArea: (0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))).helpText
403
- });
404
- let renderChildren = ()=>{
405
- if (labelPosition === "side") return /*#__PURE__*/ (0, $6WzO6$react).createElement((0, $6WzO6$Flex), {
406
- direction: "column",
407
- UNSAFE_className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))), "spectrum-Field-wrapper")
408
- }, children, hasHelpText && renderHelpText());
409
- return /*#__PURE__*/ (0, $6WzO6$react).createElement((0, $6WzO6$react).Fragment, null, children, hasHelpText && renderHelpText());
410
- };
411
- let labelAndContextualHelp = /*#__PURE__*/ (0, $6WzO6$react).createElement((0, $6WzO6$react).Fragment, null, label && /*#__PURE__*/ (0, $6WzO6$react).createElement((0, $00af9ba397a66f43$export$b04be29aa201d4f5), {
412
- ...labelProps,
413
- labelPosition: labelPosition,
414
- labelAlign: labelAlign,
415
- isRequired: isRequired,
416
- necessityIndicator: necessityIndicator,
417
- includeNecessityIndicatorInAccessibilityName: includeNecessityIndicatorInAccessibilityName,
418
- elementType: elementType
419
- }, label), label && contextualHelp && /*#__PURE__*/ (0, $6WzO6$react).createElement((0, $6WzO6$SlotProvider), {
420
- slots: {
421
- actionButton: {
422
- UNSAFE_className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))), "spectrum-Field-contextualHelp"),
423
- id: contextualHelpId,
424
- "aria-labelledby": (labelProps === null || labelProps === void 0 ? void 0 : labelProps.id) ? `${labelProps.id} ${contextualHelpId}` : undefined
425
- }
426
- }
427
- }, contextualHelp));
428
- // Need to add an extra wrapper for the label and contextual help if labelPosition is side,
429
- // so that the table layout works inside forms.
430
- if (isInForm && labelPosition === "side" && label && contextualHelp) labelAndContextualHelp = /*#__PURE__*/ (0, $6WzO6$react).createElement("div", {
431
- className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))), "spectrum-Field-labelCell")
432
- }, /*#__PURE__*/ (0, $6WzO6$react).createElement("div", {
433
- className: (0, $6WzO6$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($cd231e464c886c86$exports))), "spectrum-Field-labelWrapper")
434
- }, labelAndContextualHelp));
435
- return /*#__PURE__*/ (0, $6WzO6$react).createElement("div", {
436
- ...styleProps,
437
- ...wrapperProps,
438
- ref: ref,
439
- className: labelWrapperClass
440
- }, labelAndContextualHelp, renderChildren());
441
- }
442
- let $b7ca5b4454a2009d$export$a455218a85c89869 = /*#__PURE__*/ (0, $6WzO6$react).forwardRef($b7ca5b4454a2009d$var$Field);
443
-
444
16
 
445
17
 
446
18
 
@@ -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;AAVA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAsC,CAAC,wBAAwB,CAAC;AAChE,4CAAgD,CAAC,kCAAkC,CAAC;AACpF,yCAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E,4CAAqD,CAAC,uCAAuC,CAAC;;;ADiB9F,SAAS,+BAAS,KAAoB,EAAE,GAA2B;IACjE,IAAI,eACF,WAAW,gBACX,YAAY,mBACZ,eAAe,aACf,SAAS,cACT,UAAU,iBACV,aAAa,oBACb,gBAAgB,qBAChB,iBAAiB,EAClB,GAAG;IACJ,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,iBAAiB,gBAAiB,CAAA,aAAa,oBAAoB,SAAQ;IAC/E,IAAI,cA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,GAAA,gEAAU,GAAG;OACrC;IAMT,qBACE,gCAAC;QACE,GAAG,UAAU;QACb,GAAG,YAAY;QAChB,KAAK;QACL,WAAW;OACV,wBACA;AAGP;AAEA,IAAI,0DAAS,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/label/src/index.ts","packages/@react-spectrum/label/src/Field.tsx","packages/@react-spectrum/label/src/HelpText.tsx","packages/@adobe/spectrum-css-temp/components/helptext/vars.css","packages/@react-spectrum/label/src/Label.tsx","packages/@react-spectrum/label/src/*.js","packages/@adobe/spectrum-css-temp/components/fieldlabel/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 {Field} from './Field';\nexport {Label} from './Label';\nexport {HelpText} from './HelpText';\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 {classNames, SlotProvider, useStyleProps} from '@react-spectrum/utils';\nimport {Flex} from '@react-spectrum/layout';\nimport {HelpText} from './HelpText';\nimport {Label} from './Label';\nimport {LabelPosition} from '@react-types/shared';\nimport labelStyles from '@adobe/spectrum-css-temp/components/fieldlabel/vars.css';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode, Ref, RefObject} from 'react';\nimport {SpectrumFieldProps} from '@react-types/label';\nimport {useFormProps} from '@react-spectrum/form';\n\nfunction Field(props: SpectrumFieldProps, ref: Ref<HTMLElement>) {\n let formProps = useFormProps(props);\n let isInForm = formProps !== props;\n props = formProps;\n let {\n label,\n labelPosition = 'top' as LabelPosition,\n labelAlign,\n isRequired,\n necessityIndicator,\n includeNecessityIndicatorInAccessibilityName,\n validationState,\n isInvalid,\n description,\n errorMessage = e => e.validationErrors.join(' '),\n validationErrors,\n validationDetails,\n isDisabled,\n showErrorIcon,\n contextualHelp,\n children,\n labelProps = {},\n // Not every component that uses <Field> supports help text.\n descriptionProps = {},\n errorMessageProps = {},\n elementType,\n wrapperClassName,\n wrapperProps = {},\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let errorMessageString: ReactNode = null;\n if (typeof errorMessage === 'function') {\n errorMessageString = isInvalid != null && validationErrors != null && validationDetails != null\n ? errorMessage({\n isInvalid,\n validationErrors,\n validationDetails\n })\n : null;\n } else {\n errorMessageString = errorMessage;\n }\n let hasHelpText = !!description || errorMessageString && (isInvalid || validationState === 'invalid');\n let contextualHelpId = useId();\n\n let fallbackLabelPropsId = useId();\n if (label && contextualHelp && !labelProps.id) {\n labelProps.id = fallbackLabelPropsId;\n }\n\n let labelWrapperClass = classNames(\n labelStyles,\n 'spectrum-Field',\n {\n 'spectrum-Field--positionTop': labelPosition === 'top',\n 'spectrum-Field--positionSide': labelPosition === 'side',\n 'spectrum-Field--alignEnd': labelAlign === 'end',\n 'spectrum-Field--hasContextualHelp': !!props.contextualHelp\n },\n styleProps.className,\n wrapperClassName\n );\n\n children = React.cloneElement(children, mergeProps(children.props, {\n className: classNames(\n labelStyles,\n 'spectrum-Field-field'\n )\n }));\n\n let renderHelpText = () => (\n <HelpText\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n description={description}\n errorMessage={errorMessageString}\n validationState={validationState}\n isInvalid={isInvalid}\n isDisabled={isDisabled}\n showErrorIcon={showErrorIcon}\n gridArea={labelStyles.helpText} />\n );\n\n let renderChildren = () => {\n if (labelPosition === 'side') {\n return (\n <Flex direction=\"column\" UNSAFE_className={classNames(labelStyles, 'spectrum-Field-wrapper')}>\n {children}\n {hasHelpText && renderHelpText()}\n </Flex>\n );\n }\n\n return (\n <>\n {children}\n {hasHelpText && renderHelpText()}\n </>\n );\n };\n\n let labelAndContextualHelp = (\n <>\n {label && (\n <Label\n {...labelProps}\n labelPosition={labelPosition}\n labelAlign={labelAlign}\n isRequired={isRequired}\n necessityIndicator={necessityIndicator}\n includeNecessityIndicatorInAccessibilityName={includeNecessityIndicatorInAccessibilityName}\n elementType={elementType}>\n {label}\n </Label>\n )}\n {label && contextualHelp &&\n <SlotProvider\n slots={{\n actionButton: {\n UNSAFE_className: classNames(labelStyles, 'spectrum-Field-contextualHelp'),\n id: contextualHelpId,\n 'aria-labelledby': labelProps?.id ? `${labelProps.id} ${contextualHelpId}` : undefined\n }\n }}>\n {contextualHelp}\n </SlotProvider>\n }\n </>\n );\n\n // Need to add an extra wrapper for the label and contextual help if labelPosition is side,\n // so that the table layout works inside forms.\n if (isInForm && labelPosition === 'side' && label && contextualHelp) {\n labelAndContextualHelp = (\n <div className={classNames(labelStyles, 'spectrum-Field-labelCell')}>\n <div className={classNames(labelStyles, 'spectrum-Field-labelWrapper')}>\n {labelAndContextualHelp}\n </div>\n </div>\n );\n }\n\n return (\n <div\n {...styleProps}\n {...wrapperProps}\n ref={ref as RefObject<HTMLDivElement>}\n className={labelWrapperClass}>\n {labelAndContextualHelp}\n {renderChildren()}\n </div>\n );\n}\n\nlet _Field = React.forwardRef(Field);\nexport {_Field as Field};\n","/*\n * Copyright 2021 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 AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef, SpectrumFieldValidation, SpectrumHelpTextProps, StyleProps, Validation} from '@react-types/shared';\nimport React, {HTMLAttributes, ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/helptext/vars.css';\n\ninterface HelpTextProps extends Omit<SpectrumHelpTextProps, 'errorMessage'>, Omit<Validation<any>, 'validationState'>, SpectrumFieldValidation<any>, StyleProps {\n /** Props for the help text description element. */\n descriptionProps?: HTMLAttributes<HTMLElement>,\n /** Props for the help text error message element. */\n errorMessageProps?: HTMLAttributes<HTMLElement>,\n /** An error message for the field. */\n errorMessage?: ReactNode\n}\n\nfunction HelpText(props: HelpTextProps, ref: DOMRef<HTMLDivElement>) {\n let {\n description,\n errorMessage,\n validationState,\n isInvalid,\n isDisabled,\n showErrorIcon,\n descriptionProps,\n errorMessageProps\n } = props;\n let domRef = useDOMRef(ref);\n let isErrorMessage = errorMessage && (isInvalid || validationState === 'invalid');\n let {styleProps} = useStyleProps(props);\n\n return (\n <div\n {...styleProps}\n className={classNames(\n styles,\n 'spectrum-HelpText',\n `spectrum-HelpText--${isErrorMessage ? 'negative' : 'neutral'}`,\n {'is-disabled': isDisabled},\n styleProps.className\n )}\n ref={domRef}>\n {isErrorMessage ? (\n <>\n {showErrorIcon && <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-HelpText-validationIcon')} />}\n <div {...errorMessageProps} className={classNames(styles, 'spectrum-HelpText-text')}>\n {errorMessage}\n </div>\n </>\n ) : (\n <div {...descriptionProps} className={classNames(styles, 'spectrum-HelpText-text')}>\n {description}\n </div>\n )}\n </div>\n );\n}\n\n/**\n * Help text provides either an informative description or an error message that gives more context about what a user needs to input. It's commonly used in forms.\n */\nconst _HelpText = React.forwardRef(HelpText);\nexport {_HelpText as HelpText};\n","/*\n * Copyright 2021 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","/*\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 Asterisk from '@spectrum-icons/ui/Asterisk';\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SpectrumLabelProps} from '@react-types/label';\nimport styles from '@adobe/spectrum-css-temp/components/fieldlabel/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction Label(props: SpectrumLabelProps, ref: DOMRef<HTMLLabelElement>) {\n props = useProviderProps(props);\n let {\n children,\n labelPosition = 'top',\n labelAlign = labelPosition === 'side' ? 'start' : null,\n isRequired,\n necessityIndicator = isRequired != null ? 'icon' : null,\n includeNecessityIndicatorInAccessibilityName = false,\n htmlFor,\n for: labelFor,\n elementType: ElementType = 'label',\n onClick,\n ...otherProps\n } = props;\n\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/label');\n let necessityLabel = isRequired ? stringFormatter.format('(required)') : stringFormatter.format('(optional)');\n let icon = (\n <Asterisk\n UNSAFE_className={classNames(styles, 'spectrum-FieldLabel-requiredIcon')}\n aria-label={includeNecessityIndicatorInAccessibilityName ? stringFormatter.format('(required)') : undefined} />\n );\n\n let labelClassNames = classNames(\n styles,\n 'spectrum-FieldLabel',\n {\n 'spectrum-FieldLabel--positionSide': labelPosition === 'side',\n 'spectrum-FieldLabel--alignEnd': labelAlign === 'end'\n },\n styleProps.className\n );\n\n return (\n <ElementType\n {...filterDOMProps(otherProps)}\n {...styleProps}\n onClick={onClick}\n ref={domRef}\n className={labelClassNames}\n htmlFor={ElementType === 'label' ? labelFor || htmlFor : undefined}>\n {children}\n {(necessityIndicator === 'label' || (necessityIndicator === 'icon' && isRequired)) && ' \\u200b'}\n {/* necessityLabel is hidden to screen readers if the field is required because\n * aria-required is set on the field in that case. That will already be announced,\n * so no need to duplicate it here. If optional, we do want it to be announced here. */}\n {necessityIndicator === 'label' && <span aria-hidden={!includeNecessityIndicatorInAccessibilityName ? isRequired : undefined}>{necessityLabel}</span>}\n {necessityIndicator === 'icon' && isRequired && icon}\n </ElementType>\n );\n}\n\nlet _Label = React.forwardRef(Label);\nexport {_Label as Label};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\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/label/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 {Field} from './Field';\nexport {Label} from './Label';\nexport {HelpText} from './HelpText';\n"],"names":[],"version":3,"file":"module.js.map"}
package/dist/nb-NO.mjs CHANGED
@@ -6,4 +6,4 @@ $524caea23ab94ad7$exports = {
6
6
 
7
7
 
8
8
  export {$524caea23ab94ad7$exports as default};
9
- //# sourceMappingURL=nb-NO.module.js.map
9
+ //# sourceMappingURL=nb-NO.mjs.map
package/dist/nl-NL.mjs CHANGED
@@ -6,4 +6,4 @@ $572079ed86210ca9$exports = {
6
6
 
7
7
 
8
8
  export {$572079ed86210ca9$exports as default};
9
- //# sourceMappingURL=nl-NL.module.js.map
9
+ //# sourceMappingURL=nl-NL.mjs.map
package/dist/pl-PL.mjs CHANGED
@@ -6,4 +6,4 @@ $6a0777ee77a74b18$exports = {
6
6
 
7
7
 
8
8
  export {$6a0777ee77a74b18$exports as default};
9
- //# sourceMappingURL=pl-PL.module.js.map
9
+ //# sourceMappingURL=pl-PL.mjs.map
package/dist/pt-BR.mjs CHANGED
@@ -6,4 +6,4 @@ $ea0401974d81b469$exports = {
6
6
 
7
7
 
8
8
  export {$ea0401974d81b469$exports as default};
9
- //# sourceMappingURL=pt-BR.module.js.map
9
+ //# sourceMappingURL=pt-BR.mjs.map
package/dist/pt-PT.mjs CHANGED
@@ -6,4 +6,4 @@ $701d0854e4f18979$exports = {
6
6
 
7
7
 
8
8
  export {$701d0854e4f18979$exports as default};
9
- //# sourceMappingURL=pt-PT.module.js.map
9
+ //# sourceMappingURL=pt-PT.mjs.map
package/dist/ro-RO.mjs CHANGED
@@ -6,4 +6,4 @@ $dd9fccd10d0a4be3$exports = {
6
6
 
7
7
 
8
8
  export {$dd9fccd10d0a4be3$exports as default};
9
- //# sourceMappingURL=ro-RO.module.js.map
9
+ //# sourceMappingURL=ro-RO.mjs.map
package/dist/ru-RU.mjs CHANGED
@@ -6,4 +6,4 @@ $3cd1eab3b0ecc980$exports = {
6
6
 
7
7
 
8
8
  export {$3cd1eab3b0ecc980$exports as default};
9
- //# sourceMappingURL=ru-RU.module.js.map
9
+ //# sourceMappingURL=ru-RU.mjs.map
package/dist/sk-SK.mjs CHANGED
@@ -6,4 +6,4 @@ $d109f3d68ba24ffc$exports = {
6
6
 
7
7
 
8
8
  export {$d109f3d68ba24ffc$exports as default};
9
- //# sourceMappingURL=sk-SK.module.js.map
9
+ //# sourceMappingURL=sk-SK.mjs.map
package/dist/sl-SI.mjs CHANGED
@@ -6,4 +6,4 @@ $6382c2117e9fd1b6$exports = {
6
6
 
7
7
 
8
8
  export {$6382c2117e9fd1b6$exports as default};
9
- //# sourceMappingURL=sl-SI.module.js.map
9
+ //# sourceMappingURL=sl-SI.mjs.map
package/dist/sr-SP.mjs CHANGED
@@ -6,4 +6,4 @@ $ba796dd79114e2d4$exports = {
6
6
 
7
7
 
8
8
  export {$ba796dd79114e2d4$exports as default};
9
- //# sourceMappingURL=sr-SP.module.js.map
9
+ //# sourceMappingURL=sr-SP.mjs.map
package/dist/sv-SE.mjs CHANGED
@@ -6,4 +6,4 @@ $916521e9800ac46c$exports = {
6
6
 
7
7
 
8
8
  export {$916521e9800ac46c$exports as default};
9
- //# sourceMappingURL=sv-SE.module.js.map
9
+ //# sourceMappingURL=sv-SE.mjs.map
package/dist/tr-TR.mjs CHANGED
@@ -6,4 +6,4 @@ $acd72b88f580fe64$exports = {
6
6
 
7
7
 
8
8
  export {$acd72b88f580fe64$exports as default};
9
- //# sourceMappingURL=tr-TR.module.js.map
9
+ //# sourceMappingURL=tr-TR.mjs.map
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { SpectrumFieldValidation, SpectrumHelpTextProps, StyleProps, Validation } from "@react-types/shared";
1
+ import { SpectrumFieldValidation, SpectrumHelpTextProps, StyleProps, Validation, DOMRefValue } from "@react-types/shared";
2
2
  import React, { HTMLAttributes, ReactNode } from "react";
3
3
  import { SpectrumLabelProps, SpectrumFieldProps } from "@react-types/label";
4
4
  interface HelpTextProps extends Omit<SpectrumHelpTextProps, 'errorMessage'>, Omit<Validation<any>, 'validationState'>, SpectrumFieldValidation<any>, StyleProps {
@@ -12,8 +12,8 @@ interface HelpTextProps extends Omit<SpectrumHelpTextProps, 'errorMessage'>, Omi
12
12
  /**
13
13
  * Help text provides either an informative description or an error message that gives more context about what a user needs to input. It's commonly used in forms.
14
14
  */
15
- export const HelpText: React.ForwardRefExoticComponent<HelpTextProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLDivElement>>>;
16
- export let Label: React.ForwardRefExoticComponent<SpectrumLabelProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLLabelElement>>>;
15
+ export const HelpText: React.ForwardRefExoticComponent<HelpTextProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
16
+ export let Label: React.ForwardRefExoticComponent<SpectrumLabelProps & React.RefAttributes<DOMRefValue<HTMLLabelElement>>>;
17
17
  export let Field: React.ForwardRefExoticComponent<SpectrumFieldProps & React.RefAttributes<HTMLElement>>;
18
18
 
19
19
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"mappings":";;;AAkBA,uBAAwB,SAAQ,IAAI,CAAC,qBAAqB,EAAE,cAAc,CAAC,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,EAAE,iBAAiB,CAAC,EAAE,wBAAwB,GAAG,CAAC,EAAE,UAAU;IAC7J,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,eAAe,WAAW,CAAC,CAAC;IAC/C,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,eAAe,WAAW,CAAC,CAAC;IAChD,sCAAsC;IACtC,YAAY,CAAC,EAAE,SAAS,CAAA;CACzB;AA4CD;;GAEG;AACH,OAAA,MAAM,yIAAsC,CAAC;ACQ7C,OAAA,IAAI,6IAAgC,CAAC;ACkGrC,OAAA,IAAI,6FAAgC,CAAC","sources":["packages/@react-spectrum/label/src/packages/@react-spectrum/label/src/HelpText.tsx","packages/@react-spectrum/label/src/packages/@react-spectrum/label/src/Label.tsx","packages/@react-spectrum/label/src/packages/@react-spectrum/label/src/Field.tsx","packages/@react-spectrum/label/src/packages/@react-spectrum/label/src/index.ts","packages/@react-spectrum/label/src/index.ts"],"sourcesContent":[null,null,null,null,"/*\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 {Field} from './Field';\nexport {Label} from './Label';\nexport {HelpText} from './HelpText';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;;AAkBA,uBAAwB,SAAQ,IAAI,CAAC,qBAAqB,EAAE,cAAc,CAAC,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,EAAE,iBAAiB,CAAC,EAAE,wBAAwB,GAAG,CAAC,EAAE,UAAU;IAC7J,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,eAAe,WAAW,CAAC,CAAC;IAC/C,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,eAAe,WAAW,CAAC,CAAC;IAChD,sCAAsC;IACtC,YAAY,CAAC,EAAE,SAAS,CAAA;CACzB;AA4CD;;GAEG;AACH,OAAA,MAAM,2GAAsC,CAAC;ACQ7C,OAAA,IAAI,+GAAgC,CAAC;ACkGrC,OAAA,IAAI,6FAAgC,CAAC","sources":["packages/@react-spectrum/label/src/packages/@react-spectrum/label/src/HelpText.tsx","packages/@react-spectrum/label/src/packages/@react-spectrum/label/src/Label.tsx","packages/@react-spectrum/label/src/packages/@react-spectrum/label/src/Field.tsx","packages/@react-spectrum/label/src/packages/@react-spectrum/label/src/index.ts","packages/@react-spectrum/label/src/index.ts"],"sourcesContent":[null,null,null,null,"/*\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 {Field} from './Field';\nexport {Label} from './Label';\nexport {HelpText} from './HelpText';\n"],"names":[],"version":3,"file":"types.d.ts.map"}