@react-spectrum/contextualhelp 3.1.2-nightly.3368 → 3.1.2-nightly.3373

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -37,139 +37,241 @@ $c1b48b060a7ea3d2$export$d901bc3fa82b87a6 = "react-spectrum-ContextualHelp-foote
37
37
 
38
38
  var $07f833820f7957d4$exports = {};
39
39
  var $acb7f58c98e2cf06$exports = {};
40
- $acb7f58c98e2cf06$exports = JSON.parse("{\"help\":\"مساعدة\",\"info\":\"معلومات\"}");
40
+ $acb7f58c98e2cf06$exports = {
41
+ "help": `مساعدة`,
42
+ "info": `معلومات`
43
+ };
41
44
 
42
45
 
43
46
  var $2bbfbfd282c7ac2e$exports = {};
44
- $2bbfbfd282c7ac2e$exports = JSON.parse("{\"help\":\"Помощ\",\"info\":\"Информация\"}");
47
+ $2bbfbfd282c7ac2e$exports = {
48
+ "help": `Помощ`,
49
+ "info": `Информация`
50
+ };
45
51
 
46
52
 
47
53
  var $fb114849c2cd165d$exports = {};
48
- $fb114849c2cd165d$exports = JSON.parse("{\"help\":\"Nápověda\",\"info\":\"Informace\"}");
54
+ $fb114849c2cd165d$exports = {
55
+ "help": `Nápověda`,
56
+ "info": `Informace`
57
+ };
49
58
 
50
59
 
51
60
  var $d915a218ab0c9e80$exports = {};
52
- $d915a218ab0c9e80$exports = JSON.parse("{\"help\":\"Hjælp\",\"info\":\"Oplysninger\"}");
61
+ $d915a218ab0c9e80$exports = {
62
+ "help": `Hjælp`,
63
+ "info": `Oplysninger`
64
+ };
53
65
 
54
66
 
55
67
  var $b967195fa197fdf6$exports = {};
56
- $b967195fa197fdf6$exports = JSON.parse("{\"help\":\"Hilfe\",\"info\":\"Informationen\"}");
68
+ $b967195fa197fdf6$exports = {
69
+ "help": `Hilfe`,
70
+ "info": `Informationen`
71
+ };
57
72
 
58
73
 
59
74
  var $2e327399cfbbb22c$exports = {};
60
- $2e327399cfbbb22c$exports = JSON.parse("{\"help\":\"Βοήθεια\",\"info\":\"Πληροφορίες\"}");
75
+ $2e327399cfbbb22c$exports = {
76
+ "help": `Βοήθεια`,
77
+ "info": `Πληροφορίες`
78
+ };
61
79
 
62
80
 
63
81
  var $76d69c9d92b7631c$exports = {};
64
- $76d69c9d92b7631c$exports = JSON.parse("{\"info\":\"Information\",\"help\":\"Help\"}");
82
+ $76d69c9d92b7631c$exports = {
83
+ "info": `Information`,
84
+ "help": `Help`
85
+ };
65
86
 
66
87
 
67
88
  var $f16d20dee3bf2650$exports = {};
68
- $f16d20dee3bf2650$exports = JSON.parse("{\"help\":\"Ayuda\",\"info\":\"Información\"}");
89
+ $f16d20dee3bf2650$exports = {
90
+ "help": `Ayuda`,
91
+ "info": `Información`
92
+ };
69
93
 
70
94
 
71
95
  var $681c6c332d3324fe$exports = {};
72
- $681c6c332d3324fe$exports = JSON.parse("{\"help\":\"Spikker\",\"info\":\"Teave\"}");
96
+ $681c6c332d3324fe$exports = {
97
+ "help": `Spikker`,
98
+ "info": `Teave`
99
+ };
73
100
 
74
101
 
75
102
  var $aaae4f968feee6a5$exports = {};
76
- $aaae4f968feee6a5$exports = JSON.parse("{\"help\":\"Ohje\",\"info\":\"Tiedot\"}");
103
+ $aaae4f968feee6a5$exports = {
104
+ "help": `Ohje`,
105
+ "info": `Tiedot`
106
+ };
77
107
 
78
108
 
79
109
  var $6ca7aa54fe17b013$exports = {};
80
- $6ca7aa54fe17b013$exports = JSON.parse("{\"help\":\"Aide\",\"info\":\"Informations\"}");
110
+ $6ca7aa54fe17b013$exports = {
111
+ "help": `Aide`,
112
+ "info": `Informations`
113
+ };
81
114
 
82
115
 
83
116
  var $eead079849c849a8$exports = {};
84
- $eead079849c849a8$exports = JSON.parse("{\"help\":\"עזרה\",\"info\":\"מידע\"}");
117
+ $eead079849c849a8$exports = {
118
+ "help": `עזרה`,
119
+ "info": `מידע`
120
+ };
85
121
 
86
122
 
87
123
  var $c595ccd23af366f1$exports = {};
88
- $c595ccd23af366f1$exports = JSON.parse("{\"help\":\"Pomoć\",\"info\":\"Informacije\"}");
124
+ $c595ccd23af366f1$exports = {
125
+ "help": `Pomoć`,
126
+ "info": `Informacije`
127
+ };
89
128
 
90
129
 
91
130
  var $13646d03ad3676f9$exports = {};
92
- $13646d03ad3676f9$exports = JSON.parse("{\"help\":\"Súgó\",\"info\":\"Információ\"}");
131
+ $13646d03ad3676f9$exports = {
132
+ "help": `Súgó`,
133
+ "info": `Információ`
134
+ };
93
135
 
94
136
 
95
137
  var $d288177f1ed0c023$exports = {};
96
- $d288177f1ed0c023$exports = JSON.parse("{\"help\":\"Aiuto\",\"info\":\"Informazioni\"}");
138
+ $d288177f1ed0c023$exports = {
139
+ "help": `Aiuto`,
140
+ "info": `Informazioni`
141
+ };
97
142
 
98
143
 
99
144
  var $97fad5409bb5ac4b$exports = {};
100
- $97fad5409bb5ac4b$exports = JSON.parse("{\"help\":\"ヘルプ\",\"info\":\"情報\"}");
145
+ $97fad5409bb5ac4b$exports = {
146
+ "help": `ヘルプ`,
147
+ "info": `情報`
148
+ };
101
149
 
102
150
 
103
151
  var $8c367af4c98bf9ef$exports = {};
104
- $8c367af4c98bf9ef$exports = JSON.parse("{\"help\":\"도움말\",\"info\":\"정보\"}");
152
+ $8c367af4c98bf9ef$exports = {
153
+ "help": `도움말`,
154
+ "info": `정보`
155
+ };
105
156
 
106
157
 
107
158
  var $ff404be8bf7c1541$exports = {};
108
- $ff404be8bf7c1541$exports = JSON.parse("{\"help\":\"Žinynas\",\"info\":\"Informacija\"}");
159
+ $ff404be8bf7c1541$exports = {
160
+ "help": `Žinynas`,
161
+ "info": `Informacija`
162
+ };
109
163
 
110
164
 
111
165
  var $8f9381b231c1b1e7$exports = {};
112
- $8f9381b231c1b1e7$exports = JSON.parse("{\"help\":\"Palīdzība\",\"info\":\"Informācija\"}");
166
+ $8f9381b231c1b1e7$exports = {
167
+ "help": `Palīdzība`,
168
+ "info": `Informācija`
169
+ };
113
170
 
114
171
 
115
172
  var $66586c79322de90c$exports = {};
116
- $66586c79322de90c$exports = JSON.parse("{\"help\":\"Hjelp\",\"info\":\"Informasjon\"}");
173
+ $66586c79322de90c$exports = {
174
+ "help": `Hjelp`,
175
+ "info": `Informasjon`
176
+ };
117
177
 
118
178
 
119
179
  var $2707c2e216fd1fb0$exports = {};
120
- $2707c2e216fd1fb0$exports = JSON.parse("{\"help\":\"Help\",\"info\":\"Informatie\"}");
180
+ $2707c2e216fd1fb0$exports = {
181
+ "help": `Help`,
182
+ "info": `Informatie`
183
+ };
121
184
 
122
185
 
123
186
  var $1b8a6c42bf8a93cf$exports = {};
124
- $1b8a6c42bf8a93cf$exports = JSON.parse("{\"help\":\"Pomoc\",\"info\":\"Informacja\"}");
187
+ $1b8a6c42bf8a93cf$exports = {
188
+ "help": `Pomoc`,
189
+ "info": `Informacja`
190
+ };
125
191
 
126
192
 
127
193
  var $21519e2cdfbf2418$exports = {};
128
- $21519e2cdfbf2418$exports = JSON.parse("{\"help\":\"Ajuda\",\"info\":\"Informações\"}");
194
+ $21519e2cdfbf2418$exports = {
195
+ "help": `Ajuda`,
196
+ "info": `Informações`
197
+ };
129
198
 
130
199
 
131
200
  var $af034b95fde6a053$exports = {};
132
- $af034b95fde6a053$exports = JSON.parse("{\"help\":\"Ajuda\",\"info\":\"Informação\"}");
201
+ $af034b95fde6a053$exports = {
202
+ "help": `Ajuda`,
203
+ "info": `Informação`
204
+ };
133
205
 
134
206
 
135
207
  var $4881897691d95dcd$exports = {};
136
- $4881897691d95dcd$exports = JSON.parse("{\"help\":\"Ajutor\",\"info\":\"Informaţii\"}");
208
+ $4881897691d95dcd$exports = {
209
+ "help": `Ajutor`,
210
+ "info": `Informaţii`
211
+ };
137
212
 
138
213
 
139
214
  var $697e58aab1351cb6$exports = {};
140
- $697e58aab1351cb6$exports = JSON.parse("{\"help\":\"Справка\",\"info\":\"Информация\"}");
215
+ $697e58aab1351cb6$exports = {
216
+ "help": `Справка`,
217
+ "info": `Информация`
218
+ };
141
219
 
142
220
 
143
221
  var $18d1df2cd1fd4664$exports = {};
144
- $18d1df2cd1fd4664$exports = JSON.parse("{\"help\":\"Pomoc\",\"info\":\"Informácie\"}");
222
+ $18d1df2cd1fd4664$exports = {
223
+ "help": `Pomoc`,
224
+ "info": `Informácie`
225
+ };
145
226
 
146
227
 
147
228
  var $5923d5e92381fe28$exports = {};
148
- $5923d5e92381fe28$exports = JSON.parse("{\"help\":\"Pomoč\",\"info\":\"Informacije\"}");
229
+ $5923d5e92381fe28$exports = {
230
+ "help": `Pomoč`,
231
+ "info": `Informacije`
232
+ };
149
233
 
150
234
 
151
235
  var $0ef592839a88ef41$exports = {};
152
- $0ef592839a88ef41$exports = JSON.parse("{\"help\":\"Pomoć\",\"info\":\"Informacije\"}");
236
+ $0ef592839a88ef41$exports = {
237
+ "help": `Pomoć`,
238
+ "info": `Informacije`
239
+ };
153
240
 
154
241
 
155
242
  var $c254a7ac0f4821d7$exports = {};
156
- $c254a7ac0f4821d7$exports = JSON.parse("{\"help\":\"Hjälp\",\"info\":\"Information\"}");
243
+ $c254a7ac0f4821d7$exports = {
244
+ "help": `Hjälp`,
245
+ "info": `Information`
246
+ };
157
247
 
158
248
 
159
249
  var $a520943f16b6160a$exports = {};
160
- $a520943f16b6160a$exports = JSON.parse("{\"help\":\"Yardım\",\"info\":\"Bilgiler\"}");
250
+ $a520943f16b6160a$exports = {
251
+ "help": `Yardım`,
252
+ "info": `Bilgiler`
253
+ };
161
254
 
162
255
 
163
256
  var $679d794c1ece5065$exports = {};
164
- $679d794c1ece5065$exports = JSON.parse("{\"help\":\"Довідка\",\"info\":\"Інформація\"}");
257
+ $679d794c1ece5065$exports = {
258
+ "help": `Довідка`,
259
+ "info": `Інформація`
260
+ };
165
261
 
166
262
 
167
263
  var $a531570c7a651d45$exports = {};
168
- $a531570c7a651d45$exports = JSON.parse("{\"help\":\"帮助\",\"info\":\"信息\"}");
264
+ $a531570c7a651d45$exports = {
265
+ "help": `帮助`,
266
+ "info": `信息`
267
+ };
169
268
 
170
269
 
171
270
  var $487db55c4b552587$exports = {};
172
- $487db55c4b552587$exports = JSON.parse("{\"help\":\"說明\",\"info\":\"資訊\"}");
271
+ $487db55c4b552587$exports = {
272
+ "help": `說明`,
273
+ "info": `資訊`
274
+ };
173
275
 
174
276
 
175
277
  $07f833820f7957d4$exports = {
@@ -215,7 +317,7 @@ $07f833820f7957d4$exports = {
215
317
 
216
318
  function $05e6407aa891f27c$var$ContextualHelp(props, ref) {
217
319
  let { variant: variant = 'help' , placement: placement = 'bottom start' , children: children , ...otherProps } = props;
218
- let formatMessage = $ST3N8$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($07f833820f7957d4$exports)));
320
+ let stringFormatter = $ST3N8$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($07f833820f7957d4$exports)));
219
321
  let icon = variant === 'info' ? /*#__PURE__*/ ($parcel$interopDefault($ST3N8$react)).createElement(($parcel$interopDefault($ST3N8$spectrumiconsworkflowInfoOutline)), null) : /*#__PURE__*/ ($parcel$interopDefault($ST3N8$react)).createElement(($parcel$interopDefault($ST3N8$spectrumiconsworkflowHelpOutline)), null);
220
322
  let slots = {
221
323
  content: {
@@ -226,7 +328,7 @@ function $05e6407aa891f27c$var$ContextualHelp(props, ref) {
226
328
  }
227
329
  };
228
330
  let ariaLabel = otherProps['aria-label'];
229
- if (!ariaLabel && !otherProps['aria-labelledby']) ariaLabel = formatMessage(variant);
331
+ if (!ariaLabel && !otherProps['aria-labelledby']) ariaLabel = stringFormatter.format(variant);
230
332
  return(/*#__PURE__*/ ($parcel$interopDefault($ST3N8$react)).createElement($ST3N8$reactspectrumdialog.DialogTrigger, {
231
333
  ...otherProps,
232
334
  type: "popover",
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAAsD;AACtD,GAAsD;AACtD,GAAuD;AACvD,GAAsD;AAHt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AgB,EAAE,gEAAU,CAAC,CAAsC;QACnE,OAAO,EAAP,IAAO;QACP,CAAU,aAAE,SAAS;OACpB,IAAI,sEAEN,sCAAY;QAAC,KAAK,EAAE,KAAK;0EACvB,iCAAM;QAAC,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;OACxE,QAAQ;AAKnB,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,GAAG,CAAC,yCAAe,iBAAG,sCAAK,CAAC,UAAU,CAAC,oCAAc","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@react-spectrum/contextualhelp/src/contextualhelp.css","packages/@react-spectrum/contextualhelp/intl/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\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\nexport {ContextualHelp} from './ContextualHelp';\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 {ActionButton} from '@react-spectrum/button';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from './contextualhelp.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SlotProvider} from '@react-spectrum/utils';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useMessageFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let formatMessage = useMessageFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let ariaLabel = otherProps['aria-label'];\n if (!ariaLabel && !otherProps['aria-labelledby']) {\n ariaLabel = formatMessage(variant);\n }\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...otherProps}\n ref={ref}\n UNSAFE_className={helpStyles['react-spectrum-ContextualHelp-button']}\n isQuiet\n aria-label={ariaLabel}>\n {icon}\n </ActionButton>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={helpStyles['react-spectrum-ContextualHelp-dialog']}>\n {children}\n </Dialog>\n </SlotProvider>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\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:root {\n --spectrum-contextualhelp-button-size: var(--spectrum-global-dimension-size-250);\n --spectrum-contextualhelp-icon-size: var(--spectrum-global-dimension-size-175);\n --spectrum-contexualhelp-dialog-width: 250px;\n --spectrum-contextualhelp-dialog-padding: var(--spectrum-global-dimension-static-size-300);\n}\n\n.react-spectrum-ContextualHelp-button {\n --spectrum-button-primary-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-min-width: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-icon-padding-x: var(--spectrum-global-dimension-size-40);\n\n svg {\n block-size: var(--spectrum-contextualhelp-icon-size);\n inline-size: var(--spectrum-contextualhelp-icon-size);\n }\n\n}\n\n.react-spectrum-ContextualHelp-dialog.react-spectrum-ContextualHelp-dialog {\n width: var(--spectrum-contexualhelp-dialog-width);\n --spectrum-dialog-padding-x: var(--spectrum-contextualhelp-dialog-padding);\n --spectrum-dialog-padding-y: var(--spectrum-contextualhelp-dialog-padding);\n\n .react-spectrum-ContextualHelp-content {\n margin-top: var(--spectrum-global-dimension-static-size-100);\n }\n\n .react-spectrum-ContextualHelp-footer {\n padding-top: var(--spectrum-global-dimension-static-size-100);\n }\n}\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./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 \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAAsD;AACtD,GAAsD;AACtD,GAAuD;AACvD,GAAsD;AAHtD,yCAAsD,GAAG,CAA6C;AACtG,yCAAsD,GAAG,CAA6C;AACtG,wCAAuD,GAAG,CAA8C;AACxG,yCAAsD,GAAG,CAA6C;;;;;;AEHtG,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,YAAM;IAC3B,CAAA,QAAG,cAAO;AAClB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,UAAK;IAC3B,CAAC,QAAG,oBAAU;AACrB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,UAAQ;IACnC,CAAM,QAAG,SAAS;AACpB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,MAAK;IAChC,CAAM,QAAG,WAAW;AACtB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,KAAK;IAChC,CAAM,QAAG,aAAa;AACxB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,cAAO;IAC3B,CAAD,QAAG,sBAAW;AACtB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,WAAW;IACtC,CAAM,QAAG,IAAI;AACf,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,KAAK;IAChC,CAAM,QAAG,YAAW;AACtB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,OAAO;IAClC,CAAM,QAAG,KAAK;AAChB,CAAC;;;;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AS,KAAK,UAAU,CAAC,CAAiB,mBAC7C,SAAS,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO;IAG5C,MAAM,oEACH,wCAAa;WAAK,UAAU;QAAE,IAAI,EAAC,CAAS;QAAC,SAAS,EAAE,SAAS;QAAE,SAAS,EAAT,IAAS;0EAC1E,uCAAY;WACP,UAAU;QACd,GAAG,EAAE,GAAG;QACR,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;QACnE,OAAO,EAAP,IAAO;QACP,CAAU,aAAE,SAAS;OACpB,IAAI,sEAEN,sCAAY;QAAC,KAAK,EAAE,KAAK;0EACvB,iCAAM;QAAC,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;OACxE,QAAQ;AAKnB,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,GAAG,CAAC,yCAAe,iBAAG,sCAAK,CAAC,UAAU,CAAC,oCAAc","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@react-spectrum/contextualhelp/src/contextualhelp.css","packages/@react-spectrum/contextualhelp/intl/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\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\nexport {ContextualHelp} from './ContextualHelp';\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 {ActionButton} from '@react-spectrum/button';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from './contextualhelp.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SlotProvider} from '@react-spectrum/utils';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let ariaLabel = otherProps['aria-label'];\n if (!ariaLabel && !otherProps['aria-labelledby']) {\n ariaLabel = stringFormatter.format(variant);\n }\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...otherProps}\n ref={ref}\n UNSAFE_className={helpStyles['react-spectrum-ContextualHelp-button']}\n isQuiet\n aria-label={ariaLabel}>\n {icon}\n </ActionButton>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={helpStyles['react-spectrum-ContextualHelp-dialog']}>\n {children}\n </Dialog>\n </SlotProvider>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\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:root {\n --spectrum-contextualhelp-button-size: var(--spectrum-global-dimension-size-250);\n --spectrum-contextualhelp-icon-size: var(--spectrum-global-dimension-size-175);\n --spectrum-contexualhelp-dialog-width: 250px;\n --spectrum-contextualhelp-dialog-padding: var(--spectrum-global-dimension-static-size-300);\n}\n\n.react-spectrum-ContextualHelp-button {\n --spectrum-button-primary-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-min-width: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-icon-padding-x: var(--spectrum-global-dimension-size-40);\n\n svg {\n block-size: var(--spectrum-contextualhelp-icon-size);\n inline-size: var(--spectrum-contextualhelp-icon-size);\n }\n\n}\n\n.react-spectrum-ContextualHelp-dialog.react-spectrum-ContextualHelp-dialog {\n width: var(--spectrum-contexualhelp-dialog-width);\n --spectrum-dialog-padding-x: var(--spectrum-contextualhelp-dialog-padding);\n --spectrum-dialog-padding-y: var(--spectrum-contextualhelp-dialog-padding);\n\n .react-spectrum-ContextualHelp-content {\n margin-top: var(--spectrum-global-dimension-static-size-100);\n }\n\n .react-spectrum-ContextualHelp-footer {\n padding-top: var(--spectrum-global-dimension-static-size-100);\n }\n}\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./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 \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -5,7 +5,7 @@ import $2FtBM$spectrumiconsworkflowHelpOutline from "@spectrum-icons/workflow/He
5
5
  import $2FtBM$spectrumiconsworkflowInfoOutline from "@spectrum-icons/workflow/InfoOutline";
6
6
  import $2FtBM$react from "react";
7
7
  import {SlotProvider as $2FtBM$SlotProvider} from "@react-spectrum/utils";
8
- import {useMessageFormatter as $2FtBM$useMessageFormatter} from "@react-aria/i18n";
8
+ import {useLocalizedStringFormatter as $2FtBM$useLocalizedStringFormatter} from "@react-aria/i18n";
9
9
 
10
10
  function $parcel$interopDefault(a) {
11
11
  return a && a.__esModule ? a.default : a;
@@ -35,139 +35,241 @@ $d69bde6495703df1$export$d901bc3fa82b87a6 = "react-spectrum-ContextualHelp-foote
35
35
 
36
36
  var $7c93b3220be85068$exports = {};
37
37
  var $9cc8b85ee8327c05$exports = {};
38
- $9cc8b85ee8327c05$exports = JSON.parse("{\"help\":\"مساعدة\",\"info\":\"معلومات\"}");
38
+ $9cc8b85ee8327c05$exports = {
39
+ "help": `مساعدة`,
40
+ "info": `معلومات`
41
+ };
39
42
 
40
43
 
41
44
  var $56f7d9be41e5dc75$exports = {};
42
- $56f7d9be41e5dc75$exports = JSON.parse("{\"help\":\"Помощ\",\"info\":\"Информация\"}");
45
+ $56f7d9be41e5dc75$exports = {
46
+ "help": `Помощ`,
47
+ "info": `Информация`
48
+ };
43
49
 
44
50
 
45
51
  var $c427e4a9ab6700b2$exports = {};
46
- $c427e4a9ab6700b2$exports = JSON.parse("{\"help\":\"Nápověda\",\"info\":\"Informace\"}");
52
+ $c427e4a9ab6700b2$exports = {
53
+ "help": `Nápověda`,
54
+ "info": `Informace`
55
+ };
47
56
 
48
57
 
49
58
  var $ee2212e66656667f$exports = {};
50
- $ee2212e66656667f$exports = JSON.parse("{\"help\":\"Hjælp\",\"info\":\"Oplysninger\"}");
59
+ $ee2212e66656667f$exports = {
60
+ "help": `Hjælp`,
61
+ "info": `Oplysninger`
62
+ };
51
63
 
52
64
 
53
65
  var $112e467ad7137275$exports = {};
54
- $112e467ad7137275$exports = JSON.parse("{\"help\":\"Hilfe\",\"info\":\"Informationen\"}");
66
+ $112e467ad7137275$exports = {
67
+ "help": `Hilfe`,
68
+ "info": `Informationen`
69
+ };
55
70
 
56
71
 
57
72
  var $7ad0d6a9c54bdc43$exports = {};
58
- $7ad0d6a9c54bdc43$exports = JSON.parse("{\"help\":\"Βοήθεια\",\"info\":\"Πληροφορίες\"}");
73
+ $7ad0d6a9c54bdc43$exports = {
74
+ "help": `Βοήθεια`,
75
+ "info": `Πληροφορίες`
76
+ };
59
77
 
60
78
 
61
79
  var $704e90e35332a9cb$exports = {};
62
- $704e90e35332a9cb$exports = JSON.parse("{\"info\":\"Information\",\"help\":\"Help\"}");
80
+ $704e90e35332a9cb$exports = {
81
+ "info": `Information`,
82
+ "help": `Help`
83
+ };
63
84
 
64
85
 
65
86
  var $f2e0410dbb606550$exports = {};
66
- $f2e0410dbb606550$exports = JSON.parse("{\"help\":\"Ayuda\",\"info\":\"Información\"}");
87
+ $f2e0410dbb606550$exports = {
88
+ "help": `Ayuda`,
89
+ "info": `Información`
90
+ };
67
91
 
68
92
 
69
93
  var $f4852a97714b8951$exports = {};
70
- $f4852a97714b8951$exports = JSON.parse("{\"help\":\"Spikker\",\"info\":\"Teave\"}");
94
+ $f4852a97714b8951$exports = {
95
+ "help": `Spikker`,
96
+ "info": `Teave`
97
+ };
71
98
 
72
99
 
73
100
  var $fb4baf837c8a96f6$exports = {};
74
- $fb4baf837c8a96f6$exports = JSON.parse("{\"help\":\"Ohje\",\"info\":\"Tiedot\"}");
101
+ $fb4baf837c8a96f6$exports = {
102
+ "help": `Ohje`,
103
+ "info": `Tiedot`
104
+ };
75
105
 
76
106
 
77
107
  var $28b0fbf00803a68f$exports = {};
78
- $28b0fbf00803a68f$exports = JSON.parse("{\"help\":\"Aide\",\"info\":\"Informations\"}");
108
+ $28b0fbf00803a68f$exports = {
109
+ "help": `Aide`,
110
+ "info": `Informations`
111
+ };
79
112
 
80
113
 
81
114
  var $77110a8f3000e559$exports = {};
82
- $77110a8f3000e559$exports = JSON.parse("{\"help\":\"עזרה\",\"info\":\"מידע\"}");
115
+ $77110a8f3000e559$exports = {
116
+ "help": `עזרה`,
117
+ "info": `מידע`
118
+ };
83
119
 
84
120
 
85
121
  var $dcc3492993669fc3$exports = {};
86
- $dcc3492993669fc3$exports = JSON.parse("{\"help\":\"Pomoć\",\"info\":\"Informacije\"}");
122
+ $dcc3492993669fc3$exports = {
123
+ "help": `Pomoć`,
124
+ "info": `Informacije`
125
+ };
87
126
 
88
127
 
89
128
  var $d376dd5b16d08137$exports = {};
90
- $d376dd5b16d08137$exports = JSON.parse("{\"help\":\"Súgó\",\"info\":\"Információ\"}");
129
+ $d376dd5b16d08137$exports = {
130
+ "help": `Súgó`,
131
+ "info": `Információ`
132
+ };
91
133
 
92
134
 
93
135
  var $45f88f0321bb5a8f$exports = {};
94
- $45f88f0321bb5a8f$exports = JSON.parse("{\"help\":\"Aiuto\",\"info\":\"Informazioni\"}");
136
+ $45f88f0321bb5a8f$exports = {
137
+ "help": `Aiuto`,
138
+ "info": `Informazioni`
139
+ };
95
140
 
96
141
 
97
142
  var $8f643aac2e9e9e26$exports = {};
98
- $8f643aac2e9e9e26$exports = JSON.parse("{\"help\":\"ヘルプ\",\"info\":\"情報\"}");
143
+ $8f643aac2e9e9e26$exports = {
144
+ "help": `ヘルプ`,
145
+ "info": `情報`
146
+ };
99
147
 
100
148
 
101
149
  var $784ec4e789b99a71$exports = {};
102
- $784ec4e789b99a71$exports = JSON.parse("{\"help\":\"도움말\",\"info\":\"정보\"}");
150
+ $784ec4e789b99a71$exports = {
151
+ "help": `도움말`,
152
+ "info": `정보`
153
+ };
103
154
 
104
155
 
105
156
  var $fcda0e0582088650$exports = {};
106
- $fcda0e0582088650$exports = JSON.parse("{\"help\":\"Žinynas\",\"info\":\"Informacija\"}");
157
+ $fcda0e0582088650$exports = {
158
+ "help": `Žinynas`,
159
+ "info": `Informacija`
160
+ };
107
161
 
108
162
 
109
163
  var $9c3b35ecd7c5e348$exports = {};
110
- $9c3b35ecd7c5e348$exports = JSON.parse("{\"help\":\"Palīdzība\",\"info\":\"Informācija\"}");
164
+ $9c3b35ecd7c5e348$exports = {
165
+ "help": `Palīdzība`,
166
+ "info": `Informācija`
167
+ };
111
168
 
112
169
 
113
170
  var $b6518647ee722bc3$exports = {};
114
- $b6518647ee722bc3$exports = JSON.parse("{\"help\":\"Hjelp\",\"info\":\"Informasjon\"}");
171
+ $b6518647ee722bc3$exports = {
172
+ "help": `Hjelp`,
173
+ "info": `Informasjon`
174
+ };
115
175
 
116
176
 
117
177
  var $5cb1939fecdd5f1a$exports = {};
118
- $5cb1939fecdd5f1a$exports = JSON.parse("{\"help\":\"Help\",\"info\":\"Informatie\"}");
178
+ $5cb1939fecdd5f1a$exports = {
179
+ "help": `Help`,
180
+ "info": `Informatie`
181
+ };
119
182
 
120
183
 
121
184
  var $3ed876b500650109$exports = {};
122
- $3ed876b500650109$exports = JSON.parse("{\"help\":\"Pomoc\",\"info\":\"Informacja\"}");
185
+ $3ed876b500650109$exports = {
186
+ "help": `Pomoc`,
187
+ "info": `Informacja`
188
+ };
123
189
 
124
190
 
125
191
  var $999b0348d4f9e0ae$exports = {};
126
- $999b0348d4f9e0ae$exports = JSON.parse("{\"help\":\"Ajuda\",\"info\":\"Informações\"}");
192
+ $999b0348d4f9e0ae$exports = {
193
+ "help": `Ajuda`,
194
+ "info": `Informações`
195
+ };
127
196
 
128
197
 
129
198
  var $01e38e0d24e067b8$exports = {};
130
- $01e38e0d24e067b8$exports = JSON.parse("{\"help\":\"Ajuda\",\"info\":\"Informação\"}");
199
+ $01e38e0d24e067b8$exports = {
200
+ "help": `Ajuda`,
201
+ "info": `Informação`
202
+ };
131
203
 
132
204
 
133
205
  var $130ce4093fe216d5$exports = {};
134
- $130ce4093fe216d5$exports = JSON.parse("{\"help\":\"Ajutor\",\"info\":\"Informaţii\"}");
206
+ $130ce4093fe216d5$exports = {
207
+ "help": `Ajutor`,
208
+ "info": `Informaţii`
209
+ };
135
210
 
136
211
 
137
212
  var $3b25696a80a9bfd8$exports = {};
138
- $3b25696a80a9bfd8$exports = JSON.parse("{\"help\":\"Справка\",\"info\":\"Информация\"}");
213
+ $3b25696a80a9bfd8$exports = {
214
+ "help": `Справка`,
215
+ "info": `Информация`
216
+ };
139
217
 
140
218
 
141
219
  var $70037a741b152768$exports = {};
142
- $70037a741b152768$exports = JSON.parse("{\"help\":\"Pomoc\",\"info\":\"Informácie\"}");
220
+ $70037a741b152768$exports = {
221
+ "help": `Pomoc`,
222
+ "info": `Informácie`
223
+ };
143
224
 
144
225
 
145
226
  var $4ce06844b60c40b5$exports = {};
146
- $4ce06844b60c40b5$exports = JSON.parse("{\"help\":\"Pomoč\",\"info\":\"Informacije\"}");
227
+ $4ce06844b60c40b5$exports = {
228
+ "help": `Pomoč`,
229
+ "info": `Informacije`
230
+ };
147
231
 
148
232
 
149
233
  var $78c0c0c4796561ef$exports = {};
150
- $78c0c0c4796561ef$exports = JSON.parse("{\"help\":\"Pomoć\",\"info\":\"Informacije\"}");
234
+ $78c0c0c4796561ef$exports = {
235
+ "help": `Pomoć`,
236
+ "info": `Informacije`
237
+ };
151
238
 
152
239
 
153
240
  var $a701758f24293d53$exports = {};
154
- $a701758f24293d53$exports = JSON.parse("{\"help\":\"Hjälp\",\"info\":\"Information\"}");
241
+ $a701758f24293d53$exports = {
242
+ "help": `Hjälp`,
243
+ "info": `Information`
244
+ };
155
245
 
156
246
 
157
247
  var $ac0041dae2f30090$exports = {};
158
- $ac0041dae2f30090$exports = JSON.parse("{\"help\":\"Yardım\",\"info\":\"Bilgiler\"}");
248
+ $ac0041dae2f30090$exports = {
249
+ "help": `Yardım`,
250
+ "info": `Bilgiler`
251
+ };
159
252
 
160
253
 
161
254
  var $e3e68b40fcb16018$exports = {};
162
- $e3e68b40fcb16018$exports = JSON.parse("{\"help\":\"Довідка\",\"info\":\"Інформація\"}");
255
+ $e3e68b40fcb16018$exports = {
256
+ "help": `Довідка`,
257
+ "info": `Інформація`
258
+ };
163
259
 
164
260
 
165
261
  var $befba97b83d35197$exports = {};
166
- $befba97b83d35197$exports = JSON.parse("{\"help\":\"帮助\",\"info\":\"信息\"}");
262
+ $befba97b83d35197$exports = {
263
+ "help": `帮助`,
264
+ "info": `信息`
265
+ };
167
266
 
168
267
 
169
268
  var $6051e1035ff73e7b$exports = {};
170
- $6051e1035ff73e7b$exports = JSON.parse("{\"help\":\"說明\",\"info\":\"資訊\"}");
269
+ $6051e1035ff73e7b$exports = {
270
+ "help": `說明`,
271
+ "info": `資訊`
272
+ };
171
273
 
172
274
 
173
275
  $7c93b3220be85068$exports = {
@@ -213,7 +315,7 @@ $7c93b3220be85068$exports = {
213
315
 
214
316
  function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
215
317
  let { variant: variant = 'help' , placement: placement = 'bottom start' , children: children , ...otherProps } = props;
216
- let formatMessage = $2FtBM$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($7c93b3220be85068$exports)));
318
+ let stringFormatter = $2FtBM$useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($7c93b3220be85068$exports)));
217
319
  let icon = variant === 'info' ? /*#__PURE__*/ $2FtBM$react.createElement($2FtBM$spectrumiconsworkflowInfoOutline, null) : /*#__PURE__*/ $2FtBM$react.createElement($2FtBM$spectrumiconsworkflowHelpOutline, null);
218
320
  let slots = {
219
321
  content: {
@@ -224,7 +326,7 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
224
326
  }
225
327
  };
226
328
  let ariaLabel = otherProps['aria-label'];
227
- if (!ariaLabel && !otherProps['aria-labelledby']) ariaLabel = formatMessage(variant);
329
+ if (!ariaLabel && !otherProps['aria-labelledby']) ariaLabel = stringFormatter.format(variant);
228
330
  return(/*#__PURE__*/ $2FtBM$react.createElement($2FtBM$DialogTrigger, {
229
331
  ...otherProps,
230
332
  type: "popover",
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAAsD;AACtD,GAAsD;AACtD,GAAuD;AACvD,GAAsD;AAHtD,yCAAsD,GAAG,CAA6C;AACtG,yCAAsD,GAAG,CAA6C;AACtG,wCAAuD,GAAG,CAA8C;AACxG,yCAAsD,GAAG,CAA6C;;;;;;AEHtG,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA4C;;;;ACAxE,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA8C;;;;ACA1E,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAgD;;;;ACA5E,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA+C;;;;ACA3E,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAiD;;;;ACA7E,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAiD;;;;ACA7E,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA8C;;;;ACA1E,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA+C;;;;ACA3E,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA2C;;;;ACAvE,yBAAc,GAAG,IAAI,CAAC,KAAK,CAA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D,GAAG,CAAC,IAAI,GAAG,OAAO,KAAK,CAAM,iDAAI,uCAAW,mDAAO,uCAAW;IAE9D,GAAG,CAAC,KAAK,GAAG,CAAC;QACX,OAAO,EAAE,CAAC;YAAA,gBAAgB,EAAE,gEAAU,CAAC,CAAuC;QAAC,CAAC;QAChF,MAAM,EAAE,CAAC;YAAA,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;QAAC,CAAC;IAChF,CAAC;IAED,GAAG,CAAC,SAAS,GAAG,UAAU,CAAC,CAAY;IACvC,EAAE,GAAG,SAAS,KAAK,UAAU,CAAC,CAAiB,mBAC7C,SAAS,GAAG,aAAa,CAAC,OAAO;IAGnC,MAAM,0CACH,oBAAa;WAAK,UAAU;QAAE,IAAI,EAAC,CAAS;QAAC,SAAS,EAAE,SAAS;QAAE,SAAS,EAAT,IAAS;gDAC1E,mBAAY;WACP,UAAU;QACd,GAAG,EAAE,GAAG;QACR,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;QACnE,OAAO,EAAP,IAAO;QACP,CAAU,aAAE,SAAS;OACpB,IAAI,4CAEN,mBAAY;QAAC,KAAK,EAAE,KAAK;gDACvB,aAAM;QAAC,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;OACxE,QAAQ;AAKnB,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,GAAG,CAAC,yCAAe,iBAAG,YAAK,CAAC,UAAU,CAAC,oCAAc","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@react-spectrum/contextualhelp/src/contextualhelp.css","packages/@react-spectrum/contextualhelp/intl/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\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\nexport {ContextualHelp} from './ContextualHelp';\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 {ActionButton} from '@react-spectrum/button';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from './contextualhelp.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SlotProvider} from '@react-spectrum/utils';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useMessageFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let formatMessage = useMessageFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let ariaLabel = otherProps['aria-label'];\n if (!ariaLabel && !otherProps['aria-labelledby']) {\n ariaLabel = formatMessage(variant);\n }\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...otherProps}\n ref={ref}\n UNSAFE_className={helpStyles['react-spectrum-ContextualHelp-button']}\n isQuiet\n aria-label={ariaLabel}>\n {icon}\n </ActionButton>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={helpStyles['react-spectrum-ContextualHelp-dialog']}>\n {children}\n </Dialog>\n </SlotProvider>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\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:root {\n --spectrum-contextualhelp-button-size: var(--spectrum-global-dimension-size-250);\n --spectrum-contextualhelp-icon-size: var(--spectrum-global-dimension-size-175);\n --spectrum-contexualhelp-dialog-width: 250px;\n --spectrum-contextualhelp-dialog-padding: var(--spectrum-global-dimension-static-size-300);\n}\n\n.react-spectrum-ContextualHelp-button {\n --spectrum-button-primary-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-min-width: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-icon-padding-x: var(--spectrum-global-dimension-size-40);\n\n svg {\n block-size: var(--spectrum-contextualhelp-icon-size);\n inline-size: var(--spectrum-contextualhelp-icon-size);\n }\n\n}\n\n.react-spectrum-ContextualHelp-dialog.react-spectrum-ContextualHelp-dialog {\n width: var(--spectrum-contexualhelp-dialog-width);\n --spectrum-dialog-padding-x: var(--spectrum-contextualhelp-dialog-padding);\n --spectrum-dialog-padding-y: var(--spectrum-contextualhelp-dialog-padding);\n\n .react-spectrum-ContextualHelp-content {\n margin-top: var(--spectrum-global-dimension-static-size-100);\n }\n\n .react-spectrum-ContextualHelp-footer {\n padding-top: var(--spectrum-global-dimension-static-size-100);\n }\n}\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./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 \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAAsD;AACtD,GAAsD;AACtD,GAAuD;AACvD,GAAsD;AAHtD,yCAAsD,GAAG,CAA6C;AACtG,yCAAsD,GAAG,CAA6C;AACtG,wCAAuD,GAAG,CAA8C;AACxG,yCAAsD,GAAG,CAA6C;;;;;;AEHtG,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,YAAM;IAC3B,CAAA,QAAG,cAAO;AAClB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,UAAK;IAC3B,CAAC,QAAG,oBAAU;AACrB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAM,QAAG,UAAQ;IAC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SF5CQ,oCAAc,CAAC,KAAkC,EAAE,GAAoC,EAAE,CAAC;IACjG,GAAG,CAAC,CAAC,UACH,OAAO,GAAG,CAAM,mBAChB,SAAS,GAAG,CAAc,0BAC1B,QAAQ,MACL,UAAU,CACf,CAAC,GAAG,KAAK;IAET,GAAG,CAAC,eAAe,GAAG,kCAA2B,CAAC,gEAAY;IAE9D,GAAG,CAAC,IAAI,GAAG,OAAO,KAAK,CAAM,iDAAI,uCAAW,mDAAO,uCAAW;IAE9D,GAAG,CAAC,KAAK,GAAG,CAAC;QACX,OAAO,EAAE,CAAC;YAAA,gBAAgB,EAAE,gEAAU,CAAC,CAAuC;QAAC,CAAC;QAChF,MAAM,EAAE,CAAC;YAAA,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;QAAC,CAAC;IAChF,CAAC;IAED,GAAG,CAAC,SAAS,GAAG,UAAU,CAAC,CAAY;IACvC,EAAE,GAAG,SAAS,KAAK,UAAU,CAAC,CAAiB,mBAC7C,SAAS,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO;IAG5C,MAAM,0CACH,oBAAa;WAAK,UAAU;QAAE,IAAI,EAAC,CAAS;QAAC,SAAS,EAAE,SAAS;QAAE,SAAS,EAAT,IAAS;gDAC1E,mBAAY;WACP,UAAU;QACd,GAAG,EAAE,GAAG;QACR,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;QACnE,OAAO,EAAP,IAAO;QACP,CAAU,aAAE,SAAS;OACpB,IAAI,4CAEN,mBAAY;QAAC,KAAK,EAAE,KAAK;gDACvB,aAAM;QAAC,gBAAgB,EAAE,gEAAU,CAAC,CAAsC;OACxE,QAAQ;AAKnB,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,GAAG,CAAC,yCAAe,iBAAG,YAAK,CAAC,UAAU,CAAC,oCAAc","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@react-spectrum/contextualhelp/src/contextualhelp.css","packages/@react-spectrum/contextualhelp/intl/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\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\nexport {ContextualHelp} from './ContextualHelp';\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 {ActionButton} from '@react-spectrum/button';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from './contextualhelp.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SlotProvider} from '@react-spectrum/utils';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let ariaLabel = otherProps['aria-label'];\n if (!ariaLabel && !otherProps['aria-labelledby']) {\n ariaLabel = stringFormatter.format(variant);\n }\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...otherProps}\n ref={ref}\n UNSAFE_className={helpStyles['react-spectrum-ContextualHelp-button']}\n isQuiet\n aria-label={ariaLabel}>\n {icon}\n </ActionButton>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={helpStyles['react-spectrum-ContextualHelp-dialog']}>\n {children}\n </Dialog>\n </SlotProvider>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\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:root {\n --spectrum-contextualhelp-button-size: var(--spectrum-global-dimension-size-250);\n --spectrum-contextualhelp-icon-size: var(--spectrum-global-dimension-size-175);\n --spectrum-contexualhelp-dialog-width: 250px;\n --spectrum-contextualhelp-dialog-padding: var(--spectrum-global-dimension-static-size-300);\n}\n\n.react-spectrum-ContextualHelp-button {\n --spectrum-button-primary-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-min-width: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-icon-padding-x: var(--spectrum-global-dimension-size-40);\n\n svg {\n block-size: var(--spectrum-contextualhelp-icon-size);\n inline-size: var(--spectrum-contextualhelp-icon-size);\n }\n\n}\n\n.react-spectrum-ContextualHelp-dialog.react-spectrum-ContextualHelp-dialog {\n width: var(--spectrum-contexualhelp-dialog-width);\n --spectrum-dialog-padding-x: var(--spectrum-contextualhelp-dialog-padding);\n --spectrum-dialog-padding-y: var(--spectrum-contextualhelp-dialog-padding);\n\n .react-spectrum-ContextualHelp-content {\n margin-top: var(--spectrum-global-dimension-static-size-100);\n }\n\n .react-spectrum-ContextualHelp-footer {\n padding-top: var(--spectrum-global-dimension-static-size-100);\n }\n}\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./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 \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"module.js.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/contextualhelp",
3
- "version": "3.1.2-nightly.3368+bc1e8f829",
3
+ "version": "3.1.2-nightly.3373+8defd74c9",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -32,18 +32,18 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.6.2",
35
- "@react-aria/i18n": "3.0.0-nightly.1668+bc1e8f829",
36
- "@react-spectrum/button": "3.0.0-nightly.1668+bc1e8f829",
37
- "@react-spectrum/dialog": "3.0.0-nightly.1668+bc1e8f829",
38
- "@react-spectrum/utils": "3.0.0-nightly.1668+bc1e8f829",
39
- "@react-types/contextualhelp": "3.1.2-nightly.3368+bc1e8f829",
40
- "@react-types/shared": "3.0.0-nightly.1668+bc1e8f829",
41
- "@spectrum-icons/workflow": "3.0.0-nightly.1668+bc1e8f829"
35
+ "@react-aria/i18n": "3.0.0-nightly.1673+8defd74c9",
36
+ "@react-spectrum/button": "3.0.0-nightly.1673+8defd74c9",
37
+ "@react-spectrum/dialog": "3.0.0-nightly.1673+8defd74c9",
38
+ "@react-spectrum/utils": "3.0.0-nightly.1673+8defd74c9",
39
+ "@react-types/contextualhelp": "3.1.2-nightly.3373+8defd74c9",
40
+ "@react-types/shared": "3.0.0-nightly.1673+8defd74c9",
41
+ "@spectrum-icons/workflow": "3.0.0-nightly.1673+8defd74c9"
42
42
  },
43
43
  "devDependencies": {
44
- "@adobe/spectrum-css-temp": "3.0.0-nightly.1668+bc1e8f829",
45
- "@react-spectrum/link": "3.0.0-nightly.1668+bc1e8f829",
46
- "@react-spectrum/view": "3.0.0-nightly.1668+bc1e8f829"
44
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.1673+8defd74c9",
45
+ "@react-spectrum/link": "3.0.0-nightly.1673+8defd74c9",
46
+ "@react-spectrum/view": "3.0.0-nightly.1673+8defd74c9"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@react-spectrum/provider": "^3.0.0",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "bc1e8f82922ee0e7d52602efa30ff76dbc4e4708"
55
+ "gitHead": "8defd74c9698b4dda32fd20bcfc579b123cd98e7"
56
56
  }
@@ -21,7 +21,7 @@ import intlMessages from '../intl/*.json';
21
21
  import React from 'react';
22
22
  import {SlotProvider} from '@react-spectrum/utils';
23
23
  import {SpectrumContextualHelpProps} from '@react-types/contextualhelp';
24
- import {useMessageFormatter} from '@react-aria/i18n';
24
+ import {useLocalizedStringFormatter} from '@react-aria/i18n';
25
25
 
26
26
  function ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {
27
27
  let {
@@ -31,7 +31,7 @@ function ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HT
31
31
  ...otherProps
32
32
  } = props;
33
33
 
34
- let formatMessage = useMessageFormatter(intlMessages);
34
+ let stringFormatter = useLocalizedStringFormatter(intlMessages);
35
35
 
36
36
  let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;
37
37
 
@@ -42,7 +42,7 @@ function ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HT
42
42
 
43
43
  let ariaLabel = otherProps['aria-label'];
44
44
  if (!ariaLabel && !otherProps['aria-labelledby']) {
45
- ariaLabel = formatMessage(variant);
45
+ ariaLabel = stringFormatter.format(variant);
46
46
  }
47
47
 
48
48
  return (