@react-spectrum/label 3.0.0-nightly-641446f65-240905

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 (217) hide show
  1. package/README.md +3 -0
  2. package/dist/Field.main.js +118 -0
  3. package/dist/Field.main.js.map +1 -0
  4. package/dist/Field.mjs +113 -0
  5. package/dist/Field.module.js +113 -0
  6. package/dist/Field.module.js.map +1 -0
  7. package/dist/HelpText.main.js +57 -0
  8. package/dist/HelpText.main.js.map +1 -0
  9. package/dist/HelpText.mjs +52 -0
  10. package/dist/HelpText.module.js +52 -0
  11. package/dist/HelpText.module.js.map +1 -0
  12. package/dist/Label.main.js +68 -0
  13. package/dist/Label.main.js.map +1 -0
  14. package/dist/Label.mjs +63 -0
  15. package/dist/Label.module.js +63 -0
  16. package/dist/Label.module.js.map +1 -0
  17. package/dist/ar-AE.main.js +7 -0
  18. package/dist/ar-AE.main.js.map +1 -0
  19. package/dist/ar-AE.mjs +9 -0
  20. package/dist/ar-AE.module.js +9 -0
  21. package/dist/ar-AE.module.js.map +1 -0
  22. package/dist/bg-BG.main.js +7 -0
  23. package/dist/bg-BG.main.js.map +1 -0
  24. package/dist/bg-BG.mjs +9 -0
  25. package/dist/bg-BG.module.js +9 -0
  26. package/dist/bg-BG.module.js.map +1 -0
  27. package/dist/cs-CZ.main.js +7 -0
  28. package/dist/cs-CZ.main.js.map +1 -0
  29. package/dist/cs-CZ.mjs +9 -0
  30. package/dist/cs-CZ.module.js +9 -0
  31. package/dist/cs-CZ.module.js.map +1 -0
  32. package/dist/da-DK.main.js +7 -0
  33. package/dist/da-DK.main.js.map +1 -0
  34. package/dist/da-DK.mjs +9 -0
  35. package/dist/da-DK.module.js +9 -0
  36. package/dist/da-DK.module.js.map +1 -0
  37. package/dist/de-DE.main.js +7 -0
  38. package/dist/de-DE.main.js.map +1 -0
  39. package/dist/de-DE.mjs +9 -0
  40. package/dist/de-DE.module.js +9 -0
  41. package/dist/de-DE.module.js.map +1 -0
  42. package/dist/el-GR.main.js +7 -0
  43. package/dist/el-GR.main.js.map +1 -0
  44. package/dist/el-GR.mjs +9 -0
  45. package/dist/el-GR.module.js +9 -0
  46. package/dist/el-GR.module.js.map +1 -0
  47. package/dist/en-US.main.js +7 -0
  48. package/dist/en-US.main.js.map +1 -0
  49. package/dist/en-US.mjs +9 -0
  50. package/dist/en-US.module.js +9 -0
  51. package/dist/en-US.module.js.map +1 -0
  52. package/dist/es-ES.main.js +7 -0
  53. package/dist/es-ES.main.js.map +1 -0
  54. package/dist/es-ES.mjs +9 -0
  55. package/dist/es-ES.module.js +9 -0
  56. package/dist/es-ES.module.js.map +1 -0
  57. package/dist/et-EE.main.js +7 -0
  58. package/dist/et-EE.main.js.map +1 -0
  59. package/dist/et-EE.mjs +9 -0
  60. package/dist/et-EE.module.js +9 -0
  61. package/dist/et-EE.module.js.map +1 -0
  62. package/dist/fi-FI.main.js +7 -0
  63. package/dist/fi-FI.main.js.map +1 -0
  64. package/dist/fi-FI.mjs +9 -0
  65. package/dist/fi-FI.module.js +9 -0
  66. package/dist/fi-FI.module.js.map +1 -0
  67. package/dist/fieldlabel_vars_css.main.js +95 -0
  68. package/dist/fieldlabel_vars_css.main.js.map +1 -0
  69. package/dist/fieldlabel_vars_css.mjs +97 -0
  70. package/dist/fieldlabel_vars_css.module.js +97 -0
  71. package/dist/fieldlabel_vars_css.module.js.map +1 -0
  72. package/dist/fr-FR.main.js +7 -0
  73. package/dist/fr-FR.main.js.map +1 -0
  74. package/dist/fr-FR.mjs +9 -0
  75. package/dist/fr-FR.module.js +9 -0
  76. package/dist/fr-FR.module.js.map +1 -0
  77. package/dist/he-IL.main.js +7 -0
  78. package/dist/he-IL.main.js.map +1 -0
  79. package/dist/he-IL.mjs +9 -0
  80. package/dist/he-IL.module.js +9 -0
  81. package/dist/he-IL.module.js.map +1 -0
  82. package/dist/helptext_vars_css.main.js +41 -0
  83. package/dist/helptext_vars_css.main.js.map +1 -0
  84. package/dist/helptext_vars_css.mjs +43 -0
  85. package/dist/helptext_vars_css.module.js +43 -0
  86. package/dist/helptext_vars_css.module.js.map +1 -0
  87. package/dist/hr-HR.main.js +7 -0
  88. package/dist/hr-HR.main.js.map +1 -0
  89. package/dist/hr-HR.mjs +9 -0
  90. package/dist/hr-HR.module.js +9 -0
  91. package/dist/hr-HR.module.js.map +1 -0
  92. package/dist/hu-HU.main.js +7 -0
  93. package/dist/hu-HU.main.js.map +1 -0
  94. package/dist/hu-HU.mjs +9 -0
  95. package/dist/hu-HU.module.js +9 -0
  96. package/dist/hu-HU.module.js.map +1 -0
  97. package/dist/import.mjs +22 -0
  98. package/dist/intlStrings.main.js +108 -0
  99. package/dist/intlStrings.main.js.map +1 -0
  100. package/dist/intlStrings.mjs +110 -0
  101. package/dist/intlStrings.module.js +110 -0
  102. package/dist/intlStrings.module.js.map +1 -0
  103. package/dist/it-IT.main.js +7 -0
  104. package/dist/it-IT.main.js.map +1 -0
  105. package/dist/it-IT.mjs +9 -0
  106. package/dist/it-IT.module.js +9 -0
  107. package/dist/it-IT.module.js.map +1 -0
  108. package/dist/ja-JP.main.js +7 -0
  109. package/dist/ja-JP.main.js.map +1 -0
  110. package/dist/ja-JP.mjs +9 -0
  111. package/dist/ja-JP.module.js +9 -0
  112. package/dist/ja-JP.module.js.map +1 -0
  113. package/dist/ko-KR.main.js +7 -0
  114. package/dist/ko-KR.main.js.map +1 -0
  115. package/dist/ko-KR.mjs +9 -0
  116. package/dist/ko-KR.module.js +9 -0
  117. package/dist/ko-KR.module.js.map +1 -0
  118. package/dist/lt-LT.main.js +7 -0
  119. package/dist/lt-LT.main.js.map +1 -0
  120. package/dist/lt-LT.mjs +9 -0
  121. package/dist/lt-LT.module.js +9 -0
  122. package/dist/lt-LT.module.js.map +1 -0
  123. package/dist/lv-LV.main.js +7 -0
  124. package/dist/lv-LV.main.js.map +1 -0
  125. package/dist/lv-LV.mjs +9 -0
  126. package/dist/lv-LV.module.js +9 -0
  127. package/dist/lv-LV.module.js.map +1 -0
  128. package/dist/main.js +29 -0
  129. package/dist/main.js.map +1 -0
  130. package/dist/module.js +22 -0
  131. package/dist/module.js.map +1 -0
  132. package/dist/nb-NO.main.js +7 -0
  133. package/dist/nb-NO.main.js.map +1 -0
  134. package/dist/nb-NO.mjs +9 -0
  135. package/dist/nb-NO.module.js +9 -0
  136. package/dist/nb-NO.module.js.map +1 -0
  137. package/dist/nl-NL.main.js +7 -0
  138. package/dist/nl-NL.main.js.map +1 -0
  139. package/dist/nl-NL.mjs +9 -0
  140. package/dist/nl-NL.module.js +9 -0
  141. package/dist/nl-NL.module.js.map +1 -0
  142. package/dist/pl-PL.main.js +7 -0
  143. package/dist/pl-PL.main.js.map +1 -0
  144. package/dist/pl-PL.mjs +9 -0
  145. package/dist/pl-PL.module.js +9 -0
  146. package/dist/pl-PL.module.js.map +1 -0
  147. package/dist/pt-BR.main.js +7 -0
  148. package/dist/pt-BR.main.js.map +1 -0
  149. package/dist/pt-BR.mjs +9 -0
  150. package/dist/pt-BR.module.js +9 -0
  151. package/dist/pt-BR.module.js.map +1 -0
  152. package/dist/pt-PT.main.js +7 -0
  153. package/dist/pt-PT.main.js.map +1 -0
  154. package/dist/pt-PT.mjs +9 -0
  155. package/dist/pt-PT.module.js +9 -0
  156. package/dist/pt-PT.module.js.map +1 -0
  157. package/dist/ro-RO.main.js +7 -0
  158. package/dist/ro-RO.main.js.map +1 -0
  159. package/dist/ro-RO.mjs +9 -0
  160. package/dist/ro-RO.module.js +9 -0
  161. package/dist/ro-RO.module.js.map +1 -0
  162. package/dist/ru-RU.main.js +7 -0
  163. package/dist/ru-RU.main.js.map +1 -0
  164. package/dist/ru-RU.mjs +9 -0
  165. package/dist/ru-RU.module.js +9 -0
  166. package/dist/ru-RU.module.js.map +1 -0
  167. package/dist/sk-SK.main.js +7 -0
  168. package/dist/sk-SK.main.js.map +1 -0
  169. package/dist/sk-SK.mjs +9 -0
  170. package/dist/sk-SK.module.js +9 -0
  171. package/dist/sk-SK.module.js.map +1 -0
  172. package/dist/sl-SI.main.js +7 -0
  173. package/dist/sl-SI.main.js.map +1 -0
  174. package/dist/sl-SI.mjs +9 -0
  175. package/dist/sl-SI.module.js +9 -0
  176. package/dist/sl-SI.module.js.map +1 -0
  177. package/dist/sr-SP.main.js +7 -0
  178. package/dist/sr-SP.main.js.map +1 -0
  179. package/dist/sr-SP.mjs +9 -0
  180. package/dist/sr-SP.module.js +9 -0
  181. package/dist/sr-SP.module.js.map +1 -0
  182. package/dist/sv-SE.main.js +7 -0
  183. package/dist/sv-SE.main.js.map +1 -0
  184. package/dist/sv-SE.mjs +9 -0
  185. package/dist/sv-SE.module.js +9 -0
  186. package/dist/sv-SE.module.js.map +1 -0
  187. package/dist/tr-TR.main.js +7 -0
  188. package/dist/tr-TR.main.js.map +1 -0
  189. package/dist/tr-TR.mjs +9 -0
  190. package/dist/tr-TR.module.js +9 -0
  191. package/dist/tr-TR.module.js.map +1 -0
  192. package/dist/types.d.ts +19 -0
  193. package/dist/types.d.ts.map +1 -0
  194. package/dist/uk-UA.main.js +7 -0
  195. package/dist/uk-UA.main.js.map +1 -0
  196. package/dist/uk-UA.mjs +9 -0
  197. package/dist/uk-UA.module.js +9 -0
  198. package/dist/uk-UA.module.js.map +1 -0
  199. package/dist/vars.0af2d804.css +117 -0
  200. package/dist/vars.0af2d804.css.map +1 -0
  201. package/dist/vars.d58685ae.css +271 -0
  202. package/dist/vars.d58685ae.css.map +1 -0
  203. package/dist/zh-CN.main.js +7 -0
  204. package/dist/zh-CN.main.js.map +1 -0
  205. package/dist/zh-CN.mjs +9 -0
  206. package/dist/zh-CN.module.js +9 -0
  207. package/dist/zh-CN.module.js.map +1 -0
  208. package/dist/zh-TW.main.js +7 -0
  209. package/dist/zh-TW.main.js.map +1 -0
  210. package/dist/zh-TW.mjs +9 -0
  211. package/dist/zh-TW.module.js +9 -0
  212. package/dist/zh-TW.module.js.map +1 -0
  213. package/package.json +60 -0
  214. package/src/Field.tsx +180 -0
  215. package/src/HelpText.tsx +74 -0
  216. package/src/Label.tsx +82 -0
  217. package/src/index.ts +17 -0
@@ -0,0 +1,68 @@
1
+ var $503911526ad50850$exports = require("./intlStrings.main.js");
2
+ require("./vars.d58685ae.css");
3
+ var $eb2fc0ee655eff6b$exports = require("./fieldlabel_vars_css.main.js");
4
+ var $cF5V3$spectrumiconsuiAsterisk = require("@spectrum-icons/ui/Asterisk");
5
+ var $cF5V3$reactspectrumutils = require("@react-spectrum/utils");
6
+ var $cF5V3$reactariautils = require("@react-aria/utils");
7
+ var $cF5V3$react = require("react");
8
+ var $cF5V3$reactariai18n = require("@react-aria/i18n");
9
+ var $cF5V3$reactspectrumprovider = require("@react-spectrum/provider");
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+
16
+ function $parcel$export(e, n, v, s) {
17
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
18
+ }
19
+
20
+ $parcel$export(module.exports, "Label", () => $38a9afbd39356629$export$b04be29aa201d4f5);
21
+ /*
22
+ * Copyright 2020 Adobe. All rights reserved.
23
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
24
+ * you may not use this file except in compliance with the License. You may obtain a copy
25
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
26
+ *
27
+ * Unless required by applicable law or agreed to in writing, software distributed under
28
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
29
+ * OF ANY KIND, either express or implied. See the License for the specific language
30
+ * governing permissions and limitations under the License.
31
+ */
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ function $38a9afbd39356629$var$Label(props, ref) {
40
+ props = (0, $cF5V3$reactspectrumprovider.useProviderProps)(props);
41
+ 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;
42
+ let domRef = (0, $cF5V3$reactspectrumutils.useDOMRef)(ref);
43
+ let { styleProps: styleProps } = (0, $cF5V3$reactspectrumutils.useStyleProps)(otherProps);
44
+ let stringFormatter = (0, $cF5V3$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($503911526ad50850$exports))), '@react-spectrum/label');
45
+ let necessityLabel = isRequired ? stringFormatter.format('(required)') : stringFormatter.format('(optional)');
46
+ let icon = /*#__PURE__*/ (0, ($parcel$interopDefault($cF5V3$react))).createElement((0, ($parcel$interopDefault($cF5V3$spectrumiconsuiAsterisk))), {
47
+ UNSAFE_className: (0, $cF5V3$reactspectrumutils.classNames)((0, ($parcel$interopDefault($eb2fc0ee655eff6b$exports))), 'spectrum-FieldLabel-requiredIcon'),
48
+ "aria-label": includeNecessityIndicatorInAccessibilityName ? stringFormatter.format('(required)') : undefined
49
+ });
50
+ let labelClassNames = (0, $cF5V3$reactspectrumutils.classNames)((0, ($parcel$interopDefault($eb2fc0ee655eff6b$exports))), 'spectrum-FieldLabel', {
51
+ 'spectrum-FieldLabel--positionSide': labelPosition === 'side',
52
+ 'spectrum-FieldLabel--alignEnd': labelAlign === 'end'
53
+ }, styleProps.className);
54
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($cF5V3$react))).createElement(ElementType, {
55
+ ...(0, $cF5V3$reactariautils.filterDOMProps)(otherProps),
56
+ ...styleProps,
57
+ onClick: onClick,
58
+ ref: domRef,
59
+ className: labelClassNames,
60
+ htmlFor: ElementType === 'label' ? labelFor || htmlFor : undefined
61
+ }, children, (necessityIndicator === 'label' || necessityIndicator === 'icon' && isRequired) && ' \u200b', necessityIndicator === 'label' && /*#__PURE__*/ (0, ($parcel$interopDefault($cF5V3$react))).createElement("span", {
62
+ "aria-hidden": !includeNecessityIndicatorInAccessibilityName ? isRequired : undefined
63
+ }, necessityLabel), necessityIndicator === 'icon' && isRequired && icon);
64
+ }
65
+ let $38a9afbd39356629$export$b04be29aa201d4f5 = /*#__PURE__*/ (0, ($parcel$interopDefault($cF5V3$react))).forwardRef($38a9afbd39356629$var$Label);
66
+
67
+
68
+ //# sourceMappingURL=Label.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;AAcD,SAAS,4BAAM,KAAyB,EAAE,GAA6B;IACrE,QAAQ,CAAA,GAAA,6CAAe,EAAE;IACzB,IAAI,YACF,QAAQ,iBACR,gBAAgB,mBAChB,aAAa,kBAAkB,SAAS,UAAU,kBAClD,UAAU,sBACV,qBAAqB,cAAc,OAAO,SAAS,oDACnD,+CAA+C,gBAC/C,OAAO,EACP,KAAK,QAAQ,EACb,aAAa,cAAc,OAAO,WAClC,OAAO,EACP,GAAG,YACJ,GAAG;IAEJ,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IAEjC,IAAI,kBAAkB,CAAA,GAAA,gDAA0B,EAAE,CAAA,GAAA,mDAAW,GAAG;IAChE,IAAI,iBAAiB,aAAa,gBAAgB,MAAM,CAAC,gBAAgB,gBAAgB,MAAM,CAAC;IAChG,IAAI,qBACF,0DAAC,CAAA,GAAA,wDAAO;QACN,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;QACrC,cAAY,+CAA+C,gBAAgB,MAAM,CAAC,gBAAgB;;IAGtG,IAAI,kBAAkB,CAAA,GAAA,oCAAS,EAC7B,CAAA,GAAA,mDAAK,GACL,uBACA;QACE,qCAAqC,kBAAkB;QACvD,iCAAiC,eAAe;IAClD,GACA,WAAW,SAAS;IAGtB,qBACE,0DAAC;QACE,GAAG,CAAA,GAAA,oCAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;QACd,SAAS;QACT,KAAK;QACL,WAAW;QACX,SAAS,gBAAgB,UAAU,YAAY,UAAU;OACxD,UACA,AAAC,CAAA,uBAAuB,WAAY,uBAAuB,UAAU,UAAU,KAAM,WAIrF,uBAAuB,yBAAW,0DAAC;QAAK,eAAa,CAAC,+CAA+C,aAAa;OAAY,iBAC9H,uBAAuB,UAAU,cAAc;AAGtD;AAEA,IAAI,0DAAS,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC","sources":["packages/@react-spectrum/label/src/Label.tsx"],"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\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"],"names":[],"version":3,"file":"Label.main.js.map"}
package/dist/Label.mjs ADDED
@@ -0,0 +1,63 @@
1
+ import $fTVpI$intlStringsmodulejs from "./intlStrings.mjs";
2
+ import "./vars.d58685ae.css";
3
+ import $fTVpI$fieldlabel_vars_cssmodulejs from "./fieldlabel_vars_css.mjs";
4
+ import $fTVpI$spectrumiconsuiAsterisk from "@spectrum-icons/ui/Asterisk";
5
+ import {useDOMRef as $fTVpI$useDOMRef, useStyleProps as $fTVpI$useStyleProps, classNames as $fTVpI$classNames} from "@react-spectrum/utils";
6
+ import {filterDOMProps as $fTVpI$filterDOMProps} from "@react-aria/utils";
7
+ import $fTVpI$react from "react";
8
+ import {useLocalizedStringFormatter as $fTVpI$useLocalizedStringFormatter} from "@react-aria/i18n";
9
+ import {useProviderProps as $fTVpI$useProviderProps} from "@react-spectrum/provider";
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ function $00af9ba397a66f43$var$Label(props, ref) {
34
+ props = (0, $fTVpI$useProviderProps)(props);
35
+ 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;
36
+ let domRef = (0, $fTVpI$useDOMRef)(ref);
37
+ let { styleProps: styleProps } = (0, $fTVpI$useStyleProps)(otherProps);
38
+ let stringFormatter = (0, $fTVpI$useLocalizedStringFormatter)((0, ($parcel$interopDefault($fTVpI$intlStringsmodulejs))), '@react-spectrum/label');
39
+ let necessityLabel = isRequired ? stringFormatter.format('(required)') : stringFormatter.format('(optional)');
40
+ let icon = /*#__PURE__*/ (0, $fTVpI$react).createElement((0, $fTVpI$spectrumiconsuiAsterisk), {
41
+ UNSAFE_className: (0, $fTVpI$classNames)((0, ($parcel$interopDefault($fTVpI$fieldlabel_vars_cssmodulejs))), 'spectrum-FieldLabel-requiredIcon'),
42
+ "aria-label": includeNecessityIndicatorInAccessibilityName ? stringFormatter.format('(required)') : undefined
43
+ });
44
+ let labelClassNames = (0, $fTVpI$classNames)((0, ($parcel$interopDefault($fTVpI$fieldlabel_vars_cssmodulejs))), 'spectrum-FieldLabel', {
45
+ 'spectrum-FieldLabel--positionSide': labelPosition === 'side',
46
+ 'spectrum-FieldLabel--alignEnd': labelAlign === 'end'
47
+ }, styleProps.className);
48
+ return /*#__PURE__*/ (0, $fTVpI$react).createElement(ElementType, {
49
+ ...(0, $fTVpI$filterDOMProps)(otherProps),
50
+ ...styleProps,
51
+ onClick: onClick,
52
+ ref: domRef,
53
+ className: labelClassNames,
54
+ htmlFor: ElementType === 'label' ? labelFor || htmlFor : undefined
55
+ }, children, (necessityIndicator === 'label' || necessityIndicator === 'icon' && isRequired) && ' \u200b', necessityIndicator === 'label' && /*#__PURE__*/ (0, $fTVpI$react).createElement("span", {
56
+ "aria-hidden": !includeNecessityIndicatorInAccessibilityName ? isRequired : undefined
57
+ }, necessityLabel), necessityIndicator === 'icon' && isRequired && icon);
58
+ }
59
+ let $00af9ba397a66f43$export$b04be29aa201d4f5 = /*#__PURE__*/ (0, $fTVpI$react).forwardRef($00af9ba397a66f43$var$Label);
60
+
61
+
62
+ export {$00af9ba397a66f43$export$b04be29aa201d4f5 as Label};
63
+ //# sourceMappingURL=Label.module.js.map
@@ -0,0 +1,63 @@
1
+ import $fTVpI$intlStringsmodulejs from "./intlStrings.module.js";
2
+ import "./vars.d58685ae.css";
3
+ import $fTVpI$fieldlabel_vars_cssmodulejs from "./fieldlabel_vars_css.module.js";
4
+ import $fTVpI$spectrumiconsuiAsterisk from "@spectrum-icons/ui/Asterisk";
5
+ import {useDOMRef as $fTVpI$useDOMRef, useStyleProps as $fTVpI$useStyleProps, classNames as $fTVpI$classNames} from "@react-spectrum/utils";
6
+ import {filterDOMProps as $fTVpI$filterDOMProps} from "@react-aria/utils";
7
+ import $fTVpI$react from "react";
8
+ import {useLocalizedStringFormatter as $fTVpI$useLocalizedStringFormatter} from "@react-aria/i18n";
9
+ import {useProviderProps as $fTVpI$useProviderProps} from "@react-spectrum/provider";
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ function $00af9ba397a66f43$var$Label(props, ref) {
34
+ props = (0, $fTVpI$useProviderProps)(props);
35
+ 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;
36
+ let domRef = (0, $fTVpI$useDOMRef)(ref);
37
+ let { styleProps: styleProps } = (0, $fTVpI$useStyleProps)(otherProps);
38
+ let stringFormatter = (0, $fTVpI$useLocalizedStringFormatter)((0, ($parcel$interopDefault($fTVpI$intlStringsmodulejs))), '@react-spectrum/label');
39
+ let necessityLabel = isRequired ? stringFormatter.format('(required)') : stringFormatter.format('(optional)');
40
+ let icon = /*#__PURE__*/ (0, $fTVpI$react).createElement((0, $fTVpI$spectrumiconsuiAsterisk), {
41
+ UNSAFE_className: (0, $fTVpI$classNames)((0, ($parcel$interopDefault($fTVpI$fieldlabel_vars_cssmodulejs))), 'spectrum-FieldLabel-requiredIcon'),
42
+ "aria-label": includeNecessityIndicatorInAccessibilityName ? stringFormatter.format('(required)') : undefined
43
+ });
44
+ let labelClassNames = (0, $fTVpI$classNames)((0, ($parcel$interopDefault($fTVpI$fieldlabel_vars_cssmodulejs))), 'spectrum-FieldLabel', {
45
+ 'spectrum-FieldLabel--positionSide': labelPosition === 'side',
46
+ 'spectrum-FieldLabel--alignEnd': labelAlign === 'end'
47
+ }, styleProps.className);
48
+ return /*#__PURE__*/ (0, $fTVpI$react).createElement(ElementType, {
49
+ ...(0, $fTVpI$filterDOMProps)(otherProps),
50
+ ...styleProps,
51
+ onClick: onClick,
52
+ ref: domRef,
53
+ className: labelClassNames,
54
+ htmlFor: ElementType === 'label' ? labelFor || htmlFor : undefined
55
+ }, children, (necessityIndicator === 'label' || necessityIndicator === 'icon' && isRequired) && ' \u200b', necessityIndicator === 'label' && /*#__PURE__*/ (0, $fTVpI$react).createElement("span", {
56
+ "aria-hidden": !includeNecessityIndicatorInAccessibilityName ? isRequired : undefined
57
+ }, necessityLabel), necessityIndicator === 'icon' && isRequired && icon);
58
+ }
59
+ let $00af9ba397a66f43$export$b04be29aa201d4f5 = /*#__PURE__*/ (0, $fTVpI$react).forwardRef($00af9ba397a66f43$var$Label);
60
+
61
+
62
+ export {$00af9ba397a66f43$export$b04be29aa201d4f5 as Label};
63
+ //# sourceMappingURL=Label.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;AAcD,SAAS,4BAAM,KAAyB,EAAE,GAA6B;IACrE,QAAQ,CAAA,GAAA,uBAAe,EAAE;IACzB,IAAI,YACF,QAAQ,iBACR,gBAAgB,mBAChB,aAAa,kBAAkB,SAAS,UAAU,kBAClD,UAAU,sBACV,qBAAqB,cAAc,OAAO,SAAS,oDACnD,+CAA+C,gBAC/C,OAAO,EACP,KAAK,QAAQ,EACb,aAAa,cAAc,OAAO,WAClC,OAAO,EACP,GAAG,YACJ,GAAG;IAEJ,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IAEjC,IAAI,kBAAkB,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,oDAAW,GAAG;IAChE,IAAI,iBAAiB,aAAa,gBAAgB,MAAM,CAAC,gBAAgB,gBAAgB,MAAM,CAAC;IAChG,IAAI,qBACF,gCAAC,CAAA,GAAA,8BAAO;QACN,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,4DAAK,GAAG;QACrC,cAAY,+CAA+C,gBAAgB,MAAM,CAAC,gBAAgB;;IAGtG,IAAI,kBAAkB,CAAA,GAAA,iBAAS,EAC7B,CAAA,GAAA,4DAAK,GACL,uBACA;QACE,qCAAqC,kBAAkB;QACvD,iCAAiC,eAAe;IAClD,GACA,WAAW,SAAS;IAGtB,qBACE,gCAAC;QACE,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;QACd,SAAS;QACT,KAAK;QACL,WAAW;QACX,SAAS,gBAAgB,UAAU,YAAY,UAAU;OACxD,UACA,AAAC,CAAA,uBAAuB,WAAY,uBAAuB,UAAU,UAAU,KAAM,WAIrF,uBAAuB,yBAAW,gCAAC;QAAK,eAAa,CAAC,+CAA+C,aAAa;OAAY,iBAC9H,uBAAuB,UAAU,cAAc;AAGtD;AAEA,IAAI,0DAAS,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC","sources":["packages/@react-spectrum/label/src/Label.tsx"],"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\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"],"names":[],"version":3,"file":"Label.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(\u{627}\u{62E}\u{62A}\u{64A}\u{627}\u{631}\u{64A})`,
3
+ "(required)": `(\u{645}\u{637}\u{644}\u{648}\u{628})`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=ar-AE.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,mDAAS,CAAC;IAC3C,cAAc,CAAC,qCAAO,CAAC;AACzB","sources":["packages/@react-spectrum/label/intl/ar-AE.json"],"sourcesContent":["{\n \"(optional)\": \"(اختياري)\",\n \"(required)\": \"(مطلوب)\"\n}\n"],"names":[],"version":3,"file":"ar-AE.main.js.map"}
package/dist/ar-AE.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $dfe96401c0c81db3$exports = {};
2
+ $dfe96401c0c81db3$exports = {
3
+ "(optional)": `(\u{627}\u{62E}\u{62A}\u{64A}\u{627}\u{631}\u{64A})`,
4
+ "(required)": `(\u{645}\u{637}\u{644}\u{648}\u{628})`
5
+ };
6
+
7
+
8
+ export {$dfe96401c0c81db3$exports as default};
9
+ //# sourceMappingURL=ar-AE.module.js.map
@@ -0,0 +1,9 @@
1
+ var $dfe96401c0c81db3$exports = {};
2
+ $dfe96401c0c81db3$exports = {
3
+ "(optional)": `(\u{627}\u{62E}\u{62A}\u{64A}\u{627}\u{631}\u{64A})`,
4
+ "(required)": `(\u{645}\u{637}\u{644}\u{648}\u{628})`
5
+ };
6
+
7
+
8
+ export {$dfe96401c0c81db3$exports as default};
9
+ //# sourceMappingURL=ar-AE.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,mDAAS,CAAC;IAC3C,cAAc,CAAC,qCAAO,CAAC;AACzB","sources":["packages/@react-spectrum/label/intl/ar-AE.json"],"sourcesContent":["{\n \"(optional)\": \"(اختياري)\",\n \"(required)\": \"(مطلوب)\"\n}\n"],"names":[],"version":3,"file":"ar-AE.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(\u{43D}\u{435}\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`,
3
+ "(required)": `(\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=bg-BG.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,oGAAgB,CAAC;IAClD,cAAc,CAAC,sFAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/bg-BG.json"],"sourcesContent":["{\n \"(optional)\": \"(незадължително)\",\n \"(required)\": \"(задължително)\"\n}\n"],"names":[],"version":3,"file":"bg-BG.main.js.map"}
package/dist/bg-BG.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $f504605657ece833$exports = {};
2
+ $f504605657ece833$exports = {
3
+ "(optional)": `(\u{43D}\u{435}\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`,
4
+ "(required)": `(\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`
5
+ };
6
+
7
+
8
+ export {$f504605657ece833$exports as default};
9
+ //# sourceMappingURL=bg-BG.module.js.map
@@ -0,0 +1,9 @@
1
+ var $f504605657ece833$exports = {};
2
+ $f504605657ece833$exports = {
3
+ "(optional)": `(\u{43D}\u{435}\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`,
4
+ "(required)": `(\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`
5
+ };
6
+
7
+
8
+ export {$f504605657ece833$exports as default};
9
+ //# sourceMappingURL=bg-BG.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,oGAAgB,CAAC;IAClD,cAAc,CAAC,sFAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/bg-BG.json"],"sourcesContent":["{\n \"(optional)\": \"(незадължително)\",\n \"(required)\": \"(задължително)\"\n}\n"],"names":[],"version":3,"file":"bg-BG.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(voliteln\u{11B})`,
3
+ "(required)": `(po\u{17E}adov\xe1no)`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=cs-CZ.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,iBAAW,CAAC;IAC7C,cAAc,CAAC,qBAAY,CAAC;AAC9B","sources":["packages/@react-spectrum/label/intl/cs-CZ.json"],"sourcesContent":["{\n \"(optional)\": \"(volitelně)\",\n \"(required)\": \"(požadováno)\"\n}\n"],"names":[],"version":3,"file":"cs-CZ.main.js.map"}
package/dist/cs-CZ.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $ed0ab9e7c53f9351$exports = {};
2
+ $ed0ab9e7c53f9351$exports = {
3
+ "(optional)": `(voliteln\u{11B})`,
4
+ "(required)": `(po\u{17E}adov\xe1no)`
5
+ };
6
+
7
+
8
+ export {$ed0ab9e7c53f9351$exports as default};
9
+ //# sourceMappingURL=cs-CZ.module.js.map
@@ -0,0 +1,9 @@
1
+ var $ed0ab9e7c53f9351$exports = {};
2
+ $ed0ab9e7c53f9351$exports = {
3
+ "(optional)": `(voliteln\u{11B})`,
4
+ "(required)": `(po\u{17E}adov\xe1no)`
5
+ };
6
+
7
+
8
+ export {$ed0ab9e7c53f9351$exports as default};
9
+ //# sourceMappingURL=cs-CZ.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,iBAAW,CAAC;IAC7C,cAAc,CAAC,qBAAY,CAAC;AAC9B","sources":["packages/@react-spectrum/label/intl/cs-CZ.json"],"sourcesContent":["{\n \"(optional)\": \"(volitelně)\",\n \"(required)\": \"(požadováno)\"\n}\n"],"names":[],"version":3,"file":"cs-CZ.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(valgfrit)`,
3
+ "(required)": `(obligatorisk)`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=da-DK.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,cAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/da-DK.json"],"sourcesContent":["{\n \"(optional)\": \"(valgfrit)\",\n \"(required)\": \"(obligatorisk)\"\n}\n"],"names":[],"version":3,"file":"da-DK.main.js.map"}
package/dist/da-DK.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $59d9df99e04ee555$exports = {};
2
+ $59d9df99e04ee555$exports = {
3
+ "(optional)": `(valgfrit)`,
4
+ "(required)": `(obligatorisk)`
5
+ };
6
+
7
+
8
+ export {$59d9df99e04ee555$exports as default};
9
+ //# sourceMappingURL=da-DK.module.js.map
@@ -0,0 +1,9 @@
1
+ var $59d9df99e04ee555$exports = {};
2
+ $59d9df99e04ee555$exports = {
3
+ "(optional)": `(valgfrit)`,
4
+ "(required)": `(obligatorisk)`
5
+ };
6
+
7
+
8
+ export {$59d9df99e04ee555$exports as default};
9
+ //# sourceMappingURL=da-DK.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,cAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/da-DK.json"],"sourcesContent":["{\n \"(optional)\": \"(valgfrit)\",\n \"(required)\": \"(obligatorisk)\"\n}\n"],"names":[],"version":3,"file":"da-DK.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(optional)`,
3
+ "(required)": `(erforderlich)`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=de-DE.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,cAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/de-DE.json"],"sourcesContent":["{\n \"(optional)\": \"(optional)\",\n \"(required)\": \"(erforderlich)\"\n}\n"],"names":[],"version":3,"file":"de-DE.main.js.map"}
package/dist/de-DE.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $c5df0169c370d169$exports = {};
2
+ $c5df0169c370d169$exports = {
3
+ "(optional)": `(optional)`,
4
+ "(required)": `(erforderlich)`
5
+ };
6
+
7
+
8
+ export {$c5df0169c370d169$exports as default};
9
+ //# sourceMappingURL=de-DE.module.js.map
@@ -0,0 +1,9 @@
1
+ var $c5df0169c370d169$exports = {};
2
+ $c5df0169c370d169$exports = {
3
+ "(optional)": `(optional)`,
4
+ "(required)": `(erforderlich)`
5
+ };
6
+
7
+
8
+ export {$c5df0169c370d169$exports as default};
9
+ //# sourceMappingURL=de-DE.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,cAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/de-DE.json"],"sourcesContent":["{\n \"(optional)\": \"(optional)\",\n \"(required)\": \"(erforderlich)\"\n}\n"],"names":[],"version":3,"file":"de-DE.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(\u{3C0}\u{3C1}\u{3BF}\u{3B1}\u{3B9}\u{3C1}\u{3B5}\u{3C4}\u{3B9}\u{3BA}\u{3CC})`,
3
+ "(required)": `(\u{3B1}\u{3C0}\u{3B1}\u{3B9}\u{3C4}\u{3B5}\u{3AF}\u{3C4}\u{3B1}\u{3B9})`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=el-GR.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,+EAAa,CAAC;IAC/C,cAAc,CAAC,wEAAY,CAAC;AAC9B","sources":["packages/@react-spectrum/label/intl/el-GR.json"],"sourcesContent":["{\n \"(optional)\": \"(προαιρετικό)\",\n \"(required)\": \"(απαιτείται)\"\n}\n"],"names":[],"version":3,"file":"el-GR.main.js.map"}
package/dist/el-GR.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $3c9af509a01a8d08$exports = {};
2
+ $3c9af509a01a8d08$exports = {
3
+ "(optional)": `(\u{3C0}\u{3C1}\u{3BF}\u{3B1}\u{3B9}\u{3C1}\u{3B5}\u{3C4}\u{3B9}\u{3BA}\u{3CC})`,
4
+ "(required)": `(\u{3B1}\u{3C0}\u{3B1}\u{3B9}\u{3C4}\u{3B5}\u{3AF}\u{3C4}\u{3B1}\u{3B9})`
5
+ };
6
+
7
+
8
+ export {$3c9af509a01a8d08$exports as default};
9
+ //# sourceMappingURL=el-GR.module.js.map
@@ -0,0 +1,9 @@
1
+ var $3c9af509a01a8d08$exports = {};
2
+ $3c9af509a01a8d08$exports = {
3
+ "(optional)": `(\u{3C0}\u{3C1}\u{3BF}\u{3B1}\u{3B9}\u{3C1}\u{3B5}\u{3C4}\u{3B9}\u{3BA}\u{3CC})`,
4
+ "(required)": `(\u{3B1}\u{3C0}\u{3B1}\u{3B9}\u{3C4}\u{3B5}\u{3AF}\u{3C4}\u{3B1}\u{3B9})`
5
+ };
6
+
7
+
8
+ export {$3c9af509a01a8d08$exports as default};
9
+ //# sourceMappingURL=el-GR.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,+EAAa,CAAC;IAC/C,cAAc,CAAC,wEAAY,CAAC;AAC9B","sources":["packages/@react-spectrum/label/intl/el-GR.json"],"sourcesContent":["{\n \"(optional)\": \"(προαιρετικό)\",\n \"(required)\": \"(απαιτείται)\"\n}\n"],"names":[],"version":3,"file":"el-GR.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(required)": `(required)`,
3
+ "(optional)": `(optional)`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=en-US.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,UAAU,CAAC;AAC5B","sources":["packages/@react-spectrum/label/intl/en-US.json"],"sourcesContent":["{\n \"(required)\": \"(required)\",\n \"(optional)\": \"(optional)\"\n}\n"],"names":[],"version":3,"file":"en-US.main.js.map"}
package/dist/en-US.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $aa36476f91664a08$exports = {};
2
+ $aa36476f91664a08$exports = {
3
+ "(required)": `(required)`,
4
+ "(optional)": `(optional)`
5
+ };
6
+
7
+
8
+ export {$aa36476f91664a08$exports as default};
9
+ //# sourceMappingURL=en-US.module.js.map
@@ -0,0 +1,9 @@
1
+ var $aa36476f91664a08$exports = {};
2
+ $aa36476f91664a08$exports = {
3
+ "(required)": `(required)`,
4
+ "(optional)": `(optional)`
5
+ };
6
+
7
+
8
+ export {$aa36476f91664a08$exports as default};
9
+ //# sourceMappingURL=en-US.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,UAAU,CAAC;AAC5B","sources":["packages/@react-spectrum/label/intl/en-US.json"],"sourcesContent":["{\n \"(required)\": \"(required)\",\n \"(optional)\": \"(optional)\"\n}\n"],"names":[],"version":3,"file":"en-US.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(opcional)`,
3
+ "(required)": `(obligatorio)`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=es-ES.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,aAAa,CAAC;AAC/B","sources":["packages/@react-spectrum/label/intl/es-ES.json"],"sourcesContent":["{\n \"(optional)\": \"(opcional)\",\n \"(required)\": \"(obligatorio)\"\n}\n"],"names":[],"version":3,"file":"es-ES.main.js.map"}
package/dist/es-ES.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $d96f2251ced25e45$exports = {};
2
+ $d96f2251ced25e45$exports = {
3
+ "(optional)": `(opcional)`,
4
+ "(required)": `(obligatorio)`
5
+ };
6
+
7
+
8
+ export {$d96f2251ced25e45$exports as default};
9
+ //# sourceMappingURL=es-ES.module.js.map
@@ -0,0 +1,9 @@
1
+ var $d96f2251ced25e45$exports = {};
2
+ $d96f2251ced25e45$exports = {
3
+ "(optional)": `(opcional)`,
4
+ "(required)": `(obligatorio)`
5
+ };
6
+
7
+
8
+ export {$d96f2251ced25e45$exports as default};
9
+ //# sourceMappingURL=es-ES.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,aAAa,CAAC;AAC/B","sources":["packages/@react-spectrum/label/intl/es-ES.json"],"sourcesContent":["{\n \"(optional)\": \"(opcional)\",\n \"(required)\": \"(obligatorio)\"\n}\n"],"names":[],"version":3,"file":"es-ES.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(valikuline)`,
3
+ "(required)": `(n\xf5utav)`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=et-EE.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,YAAY,CAAC;IAC9C,cAAc,CAAC,WAAQ,CAAC;AAC1B","sources":["packages/@react-spectrum/label/intl/et-EE.json"],"sourcesContent":["{\n \"(optional)\": \"(valikuline)\",\n \"(required)\": \"(nõutav)\"\n}\n"],"names":[],"version":3,"file":"et-EE.main.js.map"}
package/dist/et-EE.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $16ec4ffbd4b2ca4b$exports = {};
2
+ $16ec4ffbd4b2ca4b$exports = {
3
+ "(optional)": `(valikuline)`,
4
+ "(required)": `(n\xf5utav)`
5
+ };
6
+
7
+
8
+ export {$16ec4ffbd4b2ca4b$exports as default};
9
+ //# sourceMappingURL=et-EE.module.js.map
@@ -0,0 +1,9 @@
1
+ var $16ec4ffbd4b2ca4b$exports = {};
2
+ $16ec4ffbd4b2ca4b$exports = {
3
+ "(optional)": `(valikuline)`,
4
+ "(required)": `(n\xf5utav)`
5
+ };
6
+
7
+
8
+ export {$16ec4ffbd4b2ca4b$exports as default};
9
+ //# sourceMappingURL=et-EE.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,YAAY,CAAC;IAC9C,cAAc,CAAC,WAAQ,CAAC;AAC1B","sources":["packages/@react-spectrum/label/intl/et-EE.json"],"sourcesContent":["{\n \"(optional)\": \"(valikuline)\",\n \"(required)\": \"(nõutav)\"\n}\n"],"names":[],"version":3,"file":"et-EE.module.js.map"}
@@ -0,0 +1,7 @@
1
+ module.exports = {
2
+ "(optional)": `(valinnainen)`,
3
+ "(required)": `(pakollinen)`
4
+ };
5
+
6
+
7
+ //# sourceMappingURL=fi-FI.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,aAAa,CAAC;IAC/C,cAAc,CAAC,YAAY,CAAC;AAC9B","sources":["packages/@react-spectrum/label/intl/fi-FI.json"],"sourcesContent":["{\n \"(optional)\": \"(valinnainen)\",\n \"(required)\": \"(pakollinen)\"\n}\n"],"names":[],"version":3,"file":"fi-FI.main.js.map"}
package/dist/fi-FI.mjs ADDED
@@ -0,0 +1,9 @@
1
+ var $60f372f660e937e4$exports = {};
2
+ $60f372f660e937e4$exports = {
3
+ "(optional)": `(valinnainen)`,
4
+ "(required)": `(pakollinen)`
5
+ };
6
+
7
+
8
+ export {$60f372f660e937e4$exports as default};
9
+ //# sourceMappingURL=fi-FI.module.js.map
@@ -0,0 +1,9 @@
1
+ var $60f372f660e937e4$exports = {};
2
+ $60f372f660e937e4$exports = {
3
+ "(optional)": `(valinnainen)`,
4
+ "(required)": `(pakollinen)`
5
+ };
6
+
7
+
8
+ export {$60f372f660e937e4$exports as default};
9
+ //# sourceMappingURL=fi-FI.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,aAAa,CAAC;IAC/C,cAAc,CAAC,YAAY,CAAC;AAC9B","sources":["packages/@react-spectrum/label/intl/fi-FI.json"],"sourcesContent":["{\n \"(optional)\": \"(valinnainen)\",\n \"(required)\": \"(pakollinen)\"\n}\n"],"names":[],"version":3,"file":"fi-FI.module.js.map"}